Skip to content

Fix system install of package and use ../share/oolite folder for Resources and AddOns#680

Open
mcarans wants to merge 11 commits into
OoliteProject:masterfrom
mcarans:meson_share_resources
Open

Fix system install of package and use ../share/oolite folder for Resources and AddOns#680
mcarans wants to merge 11 commits into
OoliteProject:masterfrom
mcarans:meson_share_resources

Conversation

@mcarans

@mcarans mcarans commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Fix system installation of Oolite with meson - separate assembling folder after compilation (post build) from installation which now has a separate install script
Use ../share/oolite folder for Resources and AddOns for system install, Arch packages, appimage and flatpak (will also help with anyone wanting to make Debian or Fedora packages in future)
Fixes #679

Lower case local variables in scripts
Fixes #678

Note that like Windows, Linux now changes directory to where the executable resides in the ObjC

Main things to test are debug console works, folders are found correctly eg. for addons etc. (worked for me on Linux)

If you've built snapshot, you can do something like the line below to install:

meson install -C build/meson_snapshot --destdir /tmp/test

That would install oolite and run_oolite.sh to /tmp/test/usr/local/bin, and Resources and AddOns to /tmp/test/usr/local/share/oolite (since the default prefix, bindir and datadir of meson are used - these can be overridden).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix system install of package and use ../share/oolite folder for Resources and AddOns Fix naming of local variables in shell scripts to lowercase

1 participant