pd-l2ork/pd — pull request #8 by agraef (2014-11-15 12:50:49+00:00)
Title: Debian packaging for Launchpad

As promised: These are my files for building a proper Debian source package which can be uploaded to Launchpad. This goes into its own debuild subfolder in the toplevel source directory. It contains a Makefile which automatizes the process, and all the required Debian packaging files in the debian subfolder. (These differ from the Debian packaging that are already in the pd-l2ork sources. In particular, I fixed up the build dependencies in the control file and added a bunch of other files needed to create a proper source package.)

If you want, you're welcome to pull this over to the main repository so that others can use and maybe improve it. That makes it more convenient, but it's by no means necessary. People can also grab the debuild folder from my fork and drop it into the toplevel directory of their own working copy of the pd-l2ork sources.

To use this, you need to set your DEBEMAIL and DEBFULLNAME environment variables as explained in the debchange(1) manual page. These are needed to create changelog entries and in order to sign the Debian packages created with 'make deb' and 'make debsrc'.

You then just cd to the debuild directory and run 'make debchange' to create a new Debian changelog entry, 'make deb' to create a binary package, and 'make debsrc' to create a source package. The latter can then be uploaded to a Launchpad PPA with 'dput', if you have an account there. ('make deb' and 'make debsrc' create signed packages, so you need to have the PGP key for the address given in DEBEMAIL ready to sign the packages. But there are also targets deb-us and debsrc-us if you want to create unsigned packages which can be installed locally for testing purposes.)

More details and instructions can be found in the Makefile. I'd also recommend having a look at the Ubuntu Packaging Guide for an explanation of how Ubuntu's Debian packaging and the Launchpad integration works: http://packaging.ubuntu.com/html/