Okay, I got this to build with some adjustments.. This is very brief howto and probably contains some errors
- Add new repository to /etc/apt/sources.list
Code:deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free- Create build directory and get source from debian unstable
Code:mkdir -p ~/packages/xqf cd ~/packages/xqf sudo aptitude update apt-get source xqf- Checkout cvs module
Code:cvs -z3 -d:pserver:anonymous@xqf.cvs.sourceforge.net:/cvsroot/xqf co -P xqf- Prepare for uupdate
Code:mv xqf xqf-1.0.4.1+cvs20060722 #cvs snapshot seems to contain debian package information, but we'll remove it rm -rf xqf-1.0.4.1+cvs20060722/debian tar czvf xqf-1.0.4.1+cvs20060722.tar.gz xqf-1.0.4.1+cvs20060722 rm -rf xqf-1.0.4.1+cvs20060722- Apply old debian package information (diffs)
Code:cd xqf-1.0.4/ uupdate ../xqf-1.0.4.1+cvs20060722.tar.gz 1.0.4.1+cvs20060722 cd ../xqf-1.0.4.1+cvs20060722- Edit debian/rules so that autogen.sh is executed before configure. Bold entries are new stuff
Code:post-patches:: debian/stamp-autogen debian/stamp-autogen: NOCONFIGURE=1 ./autogen.sh touch $@ clean:: rm -f config.h rm -f debian/stamp-autogen- Edit debian/control and add necessary packages for autogen.sh script
Code:Build-Depends: automake1.9, autoconf, intltool, libtool, libglib-dev, libgtk-dev, libgdk-pixbuf-dev Build-Conflicts: automake1.4, autoconf2.13- Modify changelog information. You need devscripts package for this
(Example changelog entry. Bolded part is important)Code:dch -e
Code:xqf (1.0.4.1+cvs20060722-0ubuntu1) dapper; urgency=low * New CVS snapshot -- Firstname Lastname <you@somemail.com> Sat, 22 Jul 2006 19:52:09 +0300- Build the package. I suggest using pbuilder (HOWTO) that automates the dependency install process.
Code:cd .. #generate .dsc and diffs dpkg-source -b xqf-1.0.4.1+cvs20060722 sudo pbuilder build xqf_1.0.4.1+cvs20060722-0ubuntu1.dsc- Alternatively, you may use dpkg-buildpackage. You'll need dpkg-dev package for this
Code:dpkg-buildpackage -rfakeroot -us -uc
Bookmarks