Search found 21 matches

by sharpenedblade
Fri May 30, 2025 3:58 am
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

So it looks for a AddOns dir next to the .app dir? Will copying the .oxp to the normal ManagedAddOns dir do the same thing?
by sharpenedblade
Thu May 29, 2025 11:47 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

Setting -DOO_OXP_VERIFIER_ENABLED=0 (which is implied by DEPLOYMENT_RELEASE_CONFIGURATION=yes) breaks the build with a linking error for me, switching that flag to 1 makes the compile start working again. I used gcc 15.1.1, it might be that the code is broken on newer toolchains. For now I'm just no...
by sharpenedblade
Thu May 29, 2025 9:59 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

You can build using the regular make file, I was just using the GNUMakefile because I wanted to set `strip=no` so flatpak-builder can generate debuginfo files then run strip by itself. I think you edited the wrong file, the manifest is actually at space.oolite.oolite.yml, builddir/ is a temporary ca...
by sharpenedblade
Thu May 29, 2025 12:27 am
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

So far so good. An issue: I built 1.91 flatpack on LinuxMint 21.3. It runs as expected, and the window shows 1.91, however the one line of sed to change the build to 1.91 may need enhancing, as the flatpak is listed as 1.90 using "flatpak list" A request: Is it trivial to tweak this to bu...
by sharpenedblade
Tue May 27, 2025 9:12 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

The error on your system is coming from `org.flatpak.builder`, which is a upstream project that should work. I think what happened is that mint does not configure flathub as a user level remote, so you need to run this, then build as a normal user without using sudo. flatpak remote-add --if-not-exis...
by sharpenedblade
Mon May 26, 2025 9:04 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

This looks like your flatpak is broken, I don't think its related to oolite specifically
by sharpenedblade
Mon May 26, 2025 6:23 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

It's possible to build a .flatpak file with the other linux binaries in the "nightly" CI, should I make a PR to do that? Definitive yes! While I do understand a repository for flatpack prefers only stable releases we need a way to test what would be submitted. So I'd be wondering why the ...
by sharpenedblade
Mon May 26, 2025 6:19 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

shared-modules is a git submodule, you need to run

Code: Select all

git submodule update --init
by sharpenedblade
Sun May 25, 2025 11:09 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

I ran the game quite a few times now, all of the other files are created. Im not sure if its just me, or if its a bug in the flatpak. Can someone run the flatpak and check if the file is created, and also make sure the file is created with the native build. It might be that GNUstep isn't working rig...
by sharpenedblade
Sun May 25, 2025 8:51 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

I couldn't find the file to change the OXP url for 1.90, is the location on the wiki the right one for Linux? It is the same for Linux, Windows and AppleMac. And anything else one can get to play Oolite, I presume! I looked under the directory the wiki says the file should be under and I can only f...
by sharpenedblade
Sun May 25, 2025 8:51 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

And its submitted now https://github.com/flathub/flathub/pull/6544, barring any reviews it should be on flathub soon. Only 1.90 is published since flathub doesn't accept development releases but building 1.91 locally is easy enough. It's possible to build a .flatpak file with the other linux binarie...
by sharpenedblade
Sun May 25, 2025 8:22 pm
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

Re: I packaged the game as a flatpak

You can build and install the flatpak locally by running: git clone --recurse-submodules --branch add-oolite https://github.com/sharpenedblade/flathub cd flathub # Uncomment for 1.91 # sed -i "s/0b1ff49a78653669bfe8e153ae09699ba49cc496/dc597d5c51923e7210b39e83375b156cb08dfb01/g" space.ooli...
by sharpenedblade
Sun May 25, 2025 7:33 am
Forum: Oolite-Linux
Topic: I packaged the game as a flatpak
Replies: 30
Views: 406

I packaged the game as a flatpak

I managed to get the base game (but not OoliteStarter yet) working as a flatpak. The game would not compile on Fedora 42 for me because of incompatible library versions, but works as a flatpak. This also fixes https://github.com/OoliteProject/oolite/issues/471 since the flatpak bundles libgnustep-ba...
by sharpenedblade
Thu Nov 30, 2023 7:59 am
Forum: Oolite-Mac
Topic: Building on modern macos/xcode versions
Replies: 15
Views: 9354

Re: Building on modern macos/xcode versions

The docs for older spidermonkey versions got lost somewhere along the way, so I gave up on porting it. It needs someone with a lot more C/C++ experience. Now I'm trying to build with macos 10.14 in a VM, but im busy with life so im going get back to it over the weekend. I need to make a new macos VM...
by sharpenedblade
Wed Nov 15, 2023 4:57 am
Forum: Oolite-Mac
Topic: Building on modern macos/xcode versions
Replies: 15
Views: 9354

Re: Building on modern macos/xcode versions

I dont think building spidermonkey on windows is that hard anymore, the mozilla docs say its just a few commands (that can be run from make) https://firefox-source-docs.mozilla.org/js/build.html. Actually rewriting the code will probably take a lot of effort, but im going to try updating spidermonke...