Your message dated Fri, 08 May 2009 10:47:11 +0000
with message-id <[email protected]>
and subject line Bug#527255: fixed in quilt 0.46-7
has caused the Debian Bug report #527255,
regarding Please provide a dh sequence addon
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
527255: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527255
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 7.2.9
Severity: wishlist

Hi,

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.

For example, if I want to stay with the tiny debian/rules file and add "include /usr/share/quilt/quilt.make", i still have to manually tell debian/rules to patch the sources before building them and unpatch them before cleaning them (in case you have to run the clean rule on the patched source and unpatch afterwards, it gets even worse). So a typical tiny debian/rules file with patched sources will look like this (and this isn't even the most error-proof version):

        #!/usr/bin/make -f
        include /usr/share/quilt/quilt.make
        %:
                dh $@
        build: $(QUILT_STAMPFN)
        clean: unpatch

Why not get rid of the last two lines?

I mean, /usr/bin/dh checks if there are rules called override_dh_* in debian/rules and act accordingly. In the same way it could check if there is a rule called patch in debian/rules (which is the case when quilt.make is included) and then make the build rule depend on it. The same could be done for the clean rule depending on the unpatch rule (although I think it is considered safer to first run the clean rule and unpatch afterwards).

So on my wishlist a minimal debian/rules would like like this:

        #!/usr/bin/make -f
        include /usr/share/quilt/quilt.make
        %:
                dh $@

with patching and unpatching managed automatically by debhelper based on the autodetection of including quilt.make.

Cheers,
Fabian


--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  [email protected]



--- End Message ---
--- Begin Message ---
Source: quilt
Source-Version: 0.46-7

We believe that the bug you reported is fixed in the latest version of
quilt, which is due to be installed in the Debian FTP archive:

quilt_0.46-7.diff.gz
  to pool/main/q/quilt/quilt_0.46-7.diff.gz
quilt_0.46-7.dsc
  to pool/main/q/quilt/quilt_0.46-7.dsc
quilt_0.46-7_all.deb
  to pool/main/q/quilt/quilt_0.46-7_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphael Hertzog <[email protected]> (supplier of updated quilt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 08 May 2009 12:23:52 +0200
Source: quilt
Binary: quilt
Architecture: source all
Version: 0.46-7
Distribution: unstable
Urgency: low
Maintainer: Martin Quinson <[email protected]>
Changed-By: Raphael Hertzog <[email protected]>
Description: 
 quilt      - Tool to work with series of patches
Closes: 527255
Changes: 
 quilt (0.46-7) unstable; urgency=low
 .
   * Add new dh_quilt_patch and dh_quilt_unpatch commands to be used within
     debhelper. Also add a debhelper addon so that the dh command can do patch
     management with a simple "dh --with quilt $@" in the tiny rules file
     provided by debhelper 7. Closes: #527255
   * Build-Depends on perl for pod2man and man page generation of the new
     dh_* commands.
   * Add Enhances: debhelper in debian/control for the new dh_* commands.
   * Update Standards-Version to 3.8.1: no change needed.
   * Fix misc lintian warnings.
   * Update the copyright file with the few copyright notices that are
     embedded.
   * Add a watch file.
Checksums-Sha1: 
 3c2c6ab68ddf3a535c4e4e56a2ffdabe9d5378fc 1270 quilt_0.46-7.dsc
 33d5cd4aa07ae1aaa8c44f43367c492eed021968 40219 quilt_0.46-7.diff.gz
 893c65210315aa36a2df61b4f9311ffa851970e1 348994 quilt_0.46-7_all.deb
Checksums-Sha256: 
 909a094d76f889c5343b8dadbcc401f9e81415d105829b872da5226d0e7a0572 1270 
quilt_0.46-7.dsc
 854850b38a0c78a531b40493ce597e69f5f09834c9e6459ebd5c9b3ae5f3af80 40219 
quilt_0.46-7.diff.gz
 e76d27db4ba57acf4071416eef6f39950f49cd1c3a37e8cce1ceb366419d18f6 348994 
quilt_0.46-7_all.deb
Files: 
 5888cf16b6cd4ba8d425aad8b3dd38cc 1270 devel optional quilt_0.46-7.dsc
 481cc2012acf518b1ab56c1fa4b3678a 40219 devel optional quilt_0.46-7.diff.gz
 ce901b76130683d8c036cec106eb5c70 348994 devel optional quilt_0.46-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Signed by Raphael Hertzog

iEYEARECAAYFAkoECr8ACgkQvPbGD26BadIR1gCeMIikOSrywsEFa6wOiZ478GDs
rcAAoJa8Uwl/5jDcEUf4UnPJ6N3AnFxn
=YF8v
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to