UQM Debian packages - Building from source

I provide packages only for Debian Stable and the current Ubuntu biannual/LTS releases, on i386 and amd64, for now. If you use a different architecture (such as ARM or kfreebsd-foo) or a different distribution (such as Debian Testing, or some Debian derivative), you will need to build your own binaries from the source packages. A short howto:

  1. Install the following packages:
    build-essential debhelper cdbs libsdl1.2-dev libsdl-image1.2-dev zlib1g-dev libogg-dev libvorbis-dev libmikmod2-dev
  2. Download all files under 'Source' from the userfriendly download page (the tool dget(1) from the package devscripts can help with this).
  3. Extract each source package with dpkg-source -x [file.name.here.dsc] (dget does this for you).
  4. Enter each newly unpacked source directory (e.g. uqm-0.7.0) and run dpkg-buildpackage -us -uc.
  5. You now should have one or more .deb packages one level above the source tree, which you can install with dpkg -i [package.deb].
  6. Finally, note that, while you really should build all packages on your distro, you will probably be able to get away with skipping uqm-content and instead using the content .debs available here. If this causes problems, build the packages yourself before complaining :).