Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOWTO producing Debian/Ubuntu packages #678

Open
wdoekes opened this issue Feb 27, 2022 · 2 comments
Open

HOWTO producing Debian/Ubuntu packages #678

wdoekes opened this issue Feb 27, 2022 · 2 comments

Comments

@wdoekes
Copy link

wdoekes commented Feb 27, 2022

Hi!

I've done an initial attempt at producing .deb files. I got a bit annoyed that the installs on different machines in my house deviated. Beyond the confusion of having both .q3a/baseq3 and "local game directory" ( installed path, having the binary in different locations as well, makes it hard to maintain.

At https://github.com/wdoekes/gtkradiant-deb I have a Dockerfile and some helper scripts to easily (re)build packages for Debian/Ubuntu. Only tested on Ubuntu/Focal for now, but with minimal effort it should work for other Debian and Ubuntu releases.

There is one patch that is needed to make things work:
https://github.com/wdoekes/gtkradiant-deb/blob/main/patches/radiant-paths.patch
( at the time of writing: https://github.com/wdoekes/gtkradiant-deb/blob/fcc9f98ef85552edb2272fb9afd087fd825c0fd8/patches/radiant-paths.patch )
It fixes so arch independent (data) files go in /usr/share/gtkradiant and modules (plugins) go into /usr/lib/XXX/gtkradiant.

(Other patches are not strictly necessary at the moment.)

Feel free to close (or pin). I may come back and file a PR here or there, but no promises. I have some items on my TODO (see readme), but you never know when I'll get to those.

In the mean time, the created .deb files can be found here:
https://github.com/wdoekes/gtkradiant-deb/releases/tag/v1.6.6-0wjd0

Cheers,
Walter

@kungfooman
Copy link

Hey, great work @wdoekes, is this going to allow apt install gtkradiant in future?

@wdoekes
Copy link
Author

wdoekes commented Dec 19, 2022

Not likely -- that would involve Debian or Ubuntu (which I'm not) maintainers to upload these. But you can check back on https://github.com/wdoekes/gtkradiant-deb and see which release I built last.

And if there are fixes that are missing, I'll consider drafting a new release.

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

No branches or pull requests

2 participants