I recently started exploring immutable operating systems (like Project Atomic) and flatpak as a distribution method. I thought, it would be nice to also play Oolite on Atomic Workstation, so I started investigation ways to package oolite as a flatpak. Since some people asked for a flatpak'ed version of Oolite on github and in the forum, I am happy to share the results of what I have done lately.
Of course, I am still in the early stages, so nothing is as polished as you would expect it to be, yet. I am going to use this thread to report the state and progress of my efforts. You can help by testing the flatpak'ed version and report issues as answer to this post or using the issue tracker on gitlab. Of course, other contributions are welcome, too.
Current state and roadmap
Packaging and distribution
- [X] Build a flatpak of Oolite x86_64
- [X] Automate build of the flatpak'ed version
- [X] Create a repository for the flatpak
- [X] Host the repository somwhere, until the long term strategy has been determined
- [X] GPG-sign the repository
- [X] Add nightlies to the flatpak repo
- [ ] Add x86 version to the flatpak repo
- [X] Add appdata
- [X] Add icon
- [X] Add desktop file
- [X] Add screenshots
- [ ] Determine further requirements of flathub to get oolite in their repo
- [X] Fedora Atomic Workstation
- [ ] EndlessOS
- [X] Fedora 27
- [ ] Fedora 26/28
- [ ] Ubuntu
- [ ] Debian
Known issues
Can't find libGLU.so.1
There seems to be an issue with the org.freedesktop.Platform package. It's under investigation.
Update: this issue has been resolved, please use the latest version
How to use / test
Update Jul-09-2018: Using the flatpakref
This is the easiest variant. To install, just use the following command in a terminal:
flatpak install https://pritter.fedorapeople.org/org.oolite.Oolite.flatpakref
Update Jul-23-2018:
The nightly version can be installed via
flatpak install https://pritter.fedorapeople.org/org.oolite.OoliteNightly.flatpakref
You can then start the game via the launcher in your application menu. Alternatively, you can use this command:
flatpak run org.oolite.Oolite//master
or flatpak run org.oolite.Oolite//nightly
Update Jul-09-2018: Using the repo
The Oolite Flatpak is now available in a repo.
You have to add the flathub repo first. Please refer to their docs on how to do that.
You can then add the repo and install oolite with the following commands:
flatpak remote-add --if-not-exists pritter https://pritter.fedorapeople.org/.flatpakrepo
flatpak install pritter org.oolite.Oolite//master
or flatpak install pritter org.oolite.Oolite//nightly
To start, use the launcher or the command mentioned in the last paragraph.
Manual Installation
Update Jul-09-2018: If you want to use the latest builds, you have to manually install the releases from gitlab. The flatpak file for the stable version can be found here. The nightly build is here
You have to add the flathub repo first. Please refer to their docs on how to do that. You will also need the org.freedesktop.Platform flatpak from flathub (
flatpak install flathub org.freedesktop.Platform
).Note: add
--user
to flatpak install
for a per user installationTo install:
flatpak install oolite.flatpak
or flatpak install oolite-nightly.flatpak
To run:
flatpak run org.oolite.Oolite
or flatpak run org.oolite.OoliteNightly
To uninstall:
flatpak uninstall org.oolite.Oolite
or flatpak uninstall org.oolite.OoliteNightly
If you are adventurous, you can download the repo directory in the linked Results of the automated build process below. The steps to install and run are
flatpak remote-add --no-gpg-verify oolite-repo repo
flatpak install oolite-repo org.oolite.Oolite
or flatpak install oolite-repo org.oolite.OoliteNightly
flatpak run org.oolite.Oolite
or flatpak run org.oolite.OoliteNightly
Links and references
Blog post explaining motivation and technical details
Gitlab repository (issue tracker, code contributions)
Results of the automated build process (stable)
Results of the automated build process (nightly)