Flatpak by +Alexander Larsson
is officially released: http://flatpak.org/press/2016-06-21-flatpak-released.html
The first application I thought about that I wanted as a flatpak was Eclipse. Why?
1. The distributions tend to break it up in 187 small pieces, and you always need around 131 of them, but you don't know which ones... so I always give up on using that. So I end up downloading a tar.gz from eclipse.org
. And that works, but I then have to create desktop launches and stuff to make it integrate in to my desktop. So having a package that just works, would be great here.
2. It is a huge beast of software, so it would feel great to have it sandboxed.
So, I basically took the tar.gz from eclipse.org
and repackaged that in to a flatpak. It is sandboxed to only have access to ~/workspace, ~/.m2 and ~/.eclipse in your home directory. It have network access and read only access to /etc/hosts, and it also have access to some system bus.
The flatpak is based on Eclipse Neon RC3 for Java developers. I use RC3 since the final release would crash on startup. So if someone can get that to work, let me know!
The resulting flatpak kan be downloaded from google drive: https://drive.google.com/file/d/0BzLQBLebD-lOQnNjUzl0M19BVlE/view?usp=sharing
And the script I used to create it is found here: https://drive.google.com/file/d/0BzLQBLebD-lOVERNSjFidXlDMjg/view?usp=sharing
Some installation instructions (basically from https://www.libreoffice.org/download/flatpak/
): First we need the gnome 3.20 runtime which I used as a base
flatpak remote-add --user --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/
flatpak install --user gnome org.gnome.Platform 3.20Then you can install the bundle using the command:
flatpak install --user --bundle eclipse-neon-rc3.flatpakAnd to run it you click on the application launcher in the desktop environment UI, or by the command:
flatpak run org.eclipse.Eclipse