[Pkg-firebird-general] Building debian package - nano howto

Damyan Ivanov divanov at creditreform.bg
Thu Oct 20 20:10:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

marius popa wrote:
> An small guide for building it from sources (tested it
> on etch and should work on others :unstable, ubuntu breezy)

Thanks. Here's another one, including svn hackery with added bonus that
changes are tracked :-)

get upstream source (.tar.bz2) and repack it:
http://prdownloads.sourceforge.net/firebird/firebird-1.5.2.4731.tar.bz2?download

$ bzcat firebird-1.5.2.4731.tar.bz2 | gzip > firebird2_1.5.2.orig.tar.gz

untar

$ tar xzf firebird2_1.5.2.orig.tar.gz
$ cd firebird-1.5.2.4731

get debian/

$ svn co svn://svn.debian.org/pkg-firebird/trunk/debian

ready... steady... go!

$ debuild -i
or
$ dpkg-buildpackage -i

this shall complain if some build-depends package is missing. install
what needed

build result is in ../
"-i" to debuild/dpkg-buildpackage tells dpkg-source to ignore .svn/ dirs
when generating diff.gz


Now is the funny part. You have something to contribute!
1. Ask to be included to pkg-firebird project on alioth.
2. in the checkout command above replace svn://svn.debian.org with
svn+ssh://svn.debian.org/svn

firebird2 uses dpatch for patch management.

3. read debian/README.dpatch and follow instructions there
4. commit your changes in debian/
5. Nice work!

If stuck, ask on pkg-firebird for a hint :-)


- --
dam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDV/mcHqjlqpcl9jsRAoelAKCjDn/2v2cNjeJj4GiUqYab23GfwwCgkZ0C
aO5zZHOjFwu1hHMLEx9dpcA=
=C/DS
-----END PGP SIGNATURE-----



More information about the Pkg-firebird-general mailing list