AppImage created using OBS

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderators: Committer, Committer

Post Reply
Message
Author
raptor
Space Squid
Posts: 84
Joined: Sat Jun 02, 2012 11:29 pm

AppImage created using OBS

#1 Post by raptor » Mon Mar 16, 2020 6:30 pm

Hi,

I successfully created an AppImage for freeorion 0.4.9. It uses the Open Build Service (OBS) with its AppImage integration. The AppImage file itself is found here:

https://download.opensuse.org/repositor ... /AppImage/

and the OBS package page is here:

https://build.opensuse.org/package/show ... /freeorion

The OBS build basically uses an old version of openSUSE (42.3 I think) to build the software and then bundles it and runs AppImage packaging commands triggered by the appimage.yml script found on the package page.

Note that the AppImage is linked against a libstdc++ library that uses GLIBCXX_3.4.21 (gcc 5.3) so you need one at least as new.

raptor
Space Squid
Posts: 84
Joined: Sat Jun 02, 2012 11:29 pm

Re: AppImage created using OBS

#2 Post by raptor » Fri Mar 20, 2020 5:47 pm

Turns out this doesn't quite work in some cases and I am trying to tackle the python runtime issues.

Is a full python runtime (executable and all) bundled with freeorion or is it just library API calls? I'm also getting the usual

Code: Select all

ImportError: No module named site
when running, which suggests a $PYTHONPATH problem.

raptor
Space Squid
Posts: 84
Joined: Sat Jun 02, 2012 11:29 pm

Re: AppImage created using OBS

#3 Post by raptor » Mon Mar 23, 2020 4:28 am

I fixed the bundled python issues and the AppImage runs fine on a fresh install of Ubuntu 18.04 now. I noticed a bug with loading some resources that I mention here: https://github.com/freeorion/freeorion/issues/2800

Post Reply