Search This Blog

Saturday, April 14, 2007

recipe for building texmacs package with pbuilder

As of Fri Apr 13, 2007, the stable branch of Debian (Etch) carries texmacs 1:1.0.6-10, unstable branch of Debian (Sid) carries texmacs 1:1.0.6-11 . Assuming that pbuilder is used for the first time, the following recipe can be used to build the unstable's texmacs packages on a machine running Debian Etch (stable).
$cp /usr/share/doc/pbuilder/examples/pbuilder-distribution.sh ~/bin/pbuilder-sid
$mkdir -p ~/pbuilder/result
$sudo aptitude install cdebootstrap
$pbuilder-sid create # if second time, use 'pbuilder-sid update'
$cd ~/practice/
$wget http://ftp.debian.org/debian/pool/main/t/texmacs/texmacs_1.0.6-11.dsc
$wget http://ftp.debian.org/debian/pool/main/t/texmacs/texmacs_1.0.6.orig.tar.gz
$wget http://ftp.debian.org/debian/pool/main/t/texmacs/texmacs_1.0.6-11.diff.gz
$pbuilder-sid build texmacs_1.0.6-11.dsc
The commands can be changed accordingly for other packages as well as for distributions other than sid. More info can be found at /usr/share/doc/pbuilder/pbuilder-doc.html

Tested on Debian Etch, using pbuilder 0.161

No comments:

Followers