Firebird News

Friday, October 21, 2005

Building debian package part2 - including svn hackery with added bonus that changes are tracked

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 :-)
--
Damyan Ivanov


..::::..::::..::::..

No comments: