Page 1 of 1

How to build my own Debian Package for OpenRA?

Posted: Mon Oct 17, 2016 6:21 pm
by fusion809
How does one build a Debian package for OpenRA from its source code? I know that Debian package releases are available from https://github.com/OpenRA/OpenRA/releases, but I want to build my own Debian package, how do I do this? I have tried running:

Code: Select all

make dependencies && make core && make tools
to compile the source. Then going to packaging/linux/deb and tried using the buildpackage.sh script, but the syntax is confusing me. What are root-dir and outputdir meant to be?

Posted: Mon Oct 17, 2016 6:27 pm
by Graion Dilach
IMO you should just download everything under your home directory, do make dependencies && make all and call it a day.

That's how I handle my development directories.

Posted: Mon Oct 17, 2016 7:04 pm
by Sleipnir
I suggest instead commenting out the windows and osx sections in package-all.sh, and then execute that as `./packaging/package-all.sh custom-20161017 /full/path/to/where/your/deb/should/be/written`

Posted: Sat Oct 29, 2016 11:44 am
by Matt
You can also take a look at https://github.com/ckorn/PlayDeb/tree/xenial/openra if you want to do it properly.