Creating debian packages from sources

As it was described in the Debian packages section, all the scripts and related files required for generating the Debian packages are included in the source tree, at the /debian directory.

In case you want to create Debian packages for your particular environment, all you have to do after obtaining source code (by uncompressing tarball or downloading it from subversion repository) is to configure the package and run the following command sequence:

$ tar xvjf jaula-X.Y.Z.tar.bz2
$ cd jaula-X.Y.Z
$ ./configure
$ debuild -us -uc -rfakeroot

This will require that your system, besides the Source compilation requirements must satisfy a valid Debian packaging environment consisting of the following packages (when it is specifically required, minimum package level is annotated in brackets) :

  • dpkg
  • devscripts
  • debhelper (>= 4)
  • fakeroot (optional but highly advisable so you don't have to abuse of root privileges for packaging)
  • flex (>= 2.5)
  • doxygen (>= 1.4)
  • texlive-extra-utils

Although doxygen and texlive-extra-utils are not mandatory at source level configuration, this is a requirement that must be satisfied for Debian packaging because the control file attached checks their existence.

Note

Please note that because of the method used for packaging (at control file level), these dependencies must be installed as Debian packages and it is not valid to install them directly from sources.

As in the previous section, in case you detect a problem compiling sources in a particular environment please post a support request at http://sourceforge.net/tracker/?group_id=193555&atid=945883 detailing the environment used and the error report received from the packaging process.


(c) 2007 Kombo Morongo.

Unless otherwise stated for scpecific contents of this site, permission is granted to copy, distribute and/or modify the contents of this site under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation. A copy of the license is included in the section entitled "GNU Free Documentation License".

Powered by Drupal - Modified by Danger4k