Packaging

Requirements

  • Build-required packages
  • Dput Setup
  • Using makesourcepackage script

Build-required packages

Ubuntu

sudo apt-get install devscripts pbuilder fakeroot gnupg quilt dh-make python-cddb cdbs

Other Distros

I don't know, yet.

Dput Setup

gedit ~/.dput.cf

Official Runewin PPA

If you intend to upload an official version, use these settings

[hardy]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~runewin-team/ppa/ubuntu/hardy
login = anonymous
allow_unsigned_uploads = 0

[intrepid]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~runewin-team/ppa/ubuntu/intrepid
login = anonymous
allow_unsigned_uploads = 0

[jaunty]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~runewin-team/ppa/ubuntu/jaunty
login = anonymous
allow_unsigned_uploads = 0

[karmic]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~runewin-team/ppa/ubuntu/karmic
login = anonymous
allow_unsigned_uploads = 0

[lucid]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~runewin-team/ppa/ubuntu/lucid
login = anonymous
allow_unsigned_uploads = 0

This will make a package for each currently supported version of Ubuntu

+junk PPA

This will output packages for each currently supported version of Ubuntu into your own Launchpad PPA.
You must make sure that you enable your own +junk PPA in Launchpad before you can do this

[hardy]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~YOURNAME/+junk/ubuntu/hardy
login = anonymous
allow_unsigned_uploads = 0

[intrepid]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~YOURNAME/+junk/ubuntu/intrepid
login = anonymous
allow_unsigned_uploads = 0

[jaunty]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~YOURNAME/+junk/ubuntu/jaunty
login = anonymous
allow_unsigned_uploads = 0

[karmic]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~YOURNAME/+junk/ubuntu/karmic
login = anonymous
allow_unsigned_uploads = 0

[lucid]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~YOURNAME/+junk/ubuntu/lucid
login = anonymous
allow_unsigned_uploads = 0

Using makesourcepackage script

./makesourcepackage

It will ask repeatedly for your GPG key password, which it uses to prove it is a trusted source. Once all the uploads are done, you will receive an email for each version it attempts to build.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License