Debian/Ubuntu test packages (2.3 svn snapshot)

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Debian/Ubuntu test packages (2.3 svn snapshot)

Post by cybersphinx »

I've updated the Debian/Ubuntu packaging in the current 2.3 branch. Test packages built on Ubuntu 9.10 for AMD64 (also work on current Debian unstable) are available at https://sourceforge.net/projects/warzon ... uilds/deb/.

Instructions to build the packages:
  • Check out the current 2.3 branch from SVN and go into that folder.
  • "ln -s pkg/dpkg debian"
  • "dpkg-buildpackage -uc -b"
Now you should have three .deb files in the parent folder to install with "dpkg -i ../*.deb". The -music package is not necessary, you only need to install warzone2100 and warzone2100-data.

To build the video package:
  • "cd pkg/dpkg/videos"
  • Put the sequences.wz of your choice into that folder.
  • Run "dpkg-buildpackage -uc -b"
As above, install with "dpkg -i .../*.deb".

These packages will override any distribution packages (on the assumption that you want to keep the version you explicitly installed, and not updated to a random version), if you want the repository packages instead, you need to force a downgrade (except for the video package, that's pretty generic, and you should only need to install it once).

Feedback welcome, especially regarding the packaging and interaction with distribution packages.