Differences between revisions 3 and 4
Revision 3 as of 2011-02-06 14:21:07
Size: 1015
Comment:
Revision 4 as of 2011-02-06 14:22:12
Size: 1015
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Here we takes the example of the package libmpfr1ldbl, whihc exists in Debian Sid, but not in the stable release. We don't need to be root ! Here we takes the example of the package libmpfr1ldbl, which exists in Debian Sid, but not in the stable release. We don't need to be root !
Line 25: Line 25:
===== Build a pacakge properly , without GPG signing the resulting binary and the resulting .changes file ===== ===== Build a package properly , without GPG signing the resulting binary and the resulting .changes file =====

Here we takes the example of the package libmpfr1ldbl, which exists in Debian Sid, but not in the stable release. We don't need to be root !

Download the .dsc file from the sid release

dget http://ftp.de.debian.org/debian/pool/main/m/mpfr/mpfr_2.4.2-3.dsc

Install dependencies as found in debian/control

cd mpfr-2.4.2
grep Build-Depend debian/control
Build-Depends: debhelper (>= 7), libgmp3-dev (>= 4.2.dfsg)
Build-Depends-Indep: texinfo, texlive-latex-base
sudo apt-get install debhelper libgmp3-dev texinfo texlive-latex-base

Test if we can build successfully the package

fakeroot debian/rules binary
....
....
loads of output 
....
....

Build a package properly , without GPG signing the resulting binary and the resulting .changes file

dpkg-buildpackage -us -uc
....
....
loads of output 
....
....

Install and enjoy !

sudo dpkg -i ../libmpfr1ldbl_2.4.2-3_amd64.deb