Fabian Greffrath wrote: > what I really don't like in debhelper (and this is the reason why I > still prefer cdbs for most of my packages) is, that debhelper does still > need manual modification in order to involve patch management systems > like dpatch or quilt.
dh sequence addons offer all the infrastructure needed to make enabling
a patch management system as simple as adding "--with quilt" to the dh
command line.
However, noone has bothered to write such an addon for any patch system
yet, AFAIK. I've suggested to various people that they do so, but nobody
has bitten yet, and as I don't use patch systems, I'm not the one to do it.
(Though I'm happy to offer technical support to anyone working on it.)
Also, the sequence addons don't really belong in debhelper, but instead
in the patch system packages. (So this bug should probably be
reassigned.)
How to do it:
* Write some simple debhelper commands like dh_quilt_patch and
dh_quilt_unpatch. These would be simple thin wrappers around
quilt commands.
* Add a /usr/share/perl5/Debian/Debhelper/Sequence/quilt.pm that
inserts those commands into the dh command sequence in appropriate
places. Something like this, but where they are inserted may need
to be tweaked:
#!/usr/bin/perl
use warnings;
use strict;
use Debian::Debhelper::Dh_Lib;
insert_before("dh_auto_configure", "dh_quilt_patch");
insert_after("dh_clean", "dh_quilt_unpatch");
1
--
see shy jo
signature.asc
Description: Digital signature

