Since it is now four months later and nothing has happened, I start a new try to follow Nick Richards suggestion to get that manifest and build the R-Studio flatpak myself. I’d like to summarize what I did to successfully start the build of a flatpak for R-Studio, although I did not yet install and test it. The build system I am using is a recently installed Q4OS 64bit (Debian based distro with trinity desktop) on an obsolete Athlon 64 dualcore system equipped with a SSD. Q4OS comes default without developer tools installed, so I had to get these first (make, gcc,autotools-dev, default-jdk, openssh-server, and maybe some more which I do not remember). Then I had to enable the stretch-backports repo in aptitude, otherwise flatpak and flatpak-builder would be installed in outdated versions, which do not understand the yaml manifests provided by Alexander Wilms.
sudo apt-get -t stretch-backports install flatpak-builder
gets them in more recent versions (1.0.1 instead of 0.8.9). Then we need
sudo flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
and (which I found out by trial and error when building RStudio) we have to create and install yet another flathub recipe beforehand, which is also provided by Alexander Wilms, texlive
git clone https://github.com/Alexander-Wilms/flathub.git
but there is no manifest for texlive since the different manifests are in seperate branches of that repo, so we have to
git checkout texlive
to get the manifest, create a working directory
and can build and install it:
flatpak-builder --install-deps-from=flathub --install --force-clean texlive \ org.freedesktop.Sdk.Extension.texlive
then we can switch branches to rstudio
git checkout rstudio
flatpak-builder --install-deps-from=flathub --install --force-clean \
--repo=../my-flathub R-Studio com.rstudio.RStudio.yaml
This is still running and I hope it will finish soon so I can check if it works, but in the moment I am confident.
Update after three weeks:
It somehow finished, but did not install itself, due to the fact that I forced a shutdown through the at demon some 8 hours after leaving the system. When I came back last Monday, I restarted the build process, which got through, asking twice for the root password during installation of the flatpak.
RStudio starts up without any problems.
Yet another update: I successfully created a single file bundle with the following command:
flatppak build-bundle my-flathub rstudio.flatpak com rstudio.RStudio
and this bundle installs and starts under endless.
You can download that bundle for a limited time from ftp://ftp.lrz.de/transfer/flathub/rstudio.flatpak and you are welcome to test it.