1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Building from repository
========================
This package uses darcs for managing debian patches. There are, for now, some
quirks involved in preparing Debian diff, since the repository content does not
match that of the orig tarball (which contains generated files).
You will first need the current orig tarball from upstream (http://darcs.net)
to create the diff against (in the parent directory of the repository):
wget http://darcs.net/darcs-2.0.2.tar.gz -O darcs_2.0.2.orig.tar.gz
The procedure is (in a clean repository, after a get or make maintainer-clean):
make config; ./configure && make src/Context.hs
debuild -S -i"(_darcs|release)" -I_darcs -Irelease
You will have a fresh debian source package in parent directory, ready for
building (if you use sbuild):
sbuild -a -S darcs_2.0.2-2.dsc
or maybe
pbuilder --build darcs_2.0.2-2.dsc
Note that in the future, the difficulty in building the package shall be
addressed by automating most these steps and possibly by changing the way
upstream builds their tarballs, so we can reproduce them exactly from our
repository.
Changing source
===============
When you get a copy of the repository, the source tree is in an editable
state. To record changes, you can use
darcs rec
|