Your message dated Sun, 06 Sep 2009 11:02:09 +0000
with message-id <[email protected]>
and subject line Bug#485363: fixed in sketch 1:0.2.160-1
has caused the Debian Bug report #485363,
regarding sketch: FTBFS when converted to new source format 3.0 (quilt): 
require -p0 for some patches
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.)


-- 
485363: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485363
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sketch
Version: 1:0.2.89-1
Severity: wishlist
Usertags: 3.0-quilt-by-default

To prepare a possible switch to the new source package format "3.0
(quilt)" [1], I converted all source packages and tried to rebuild them.
Unfortunately, sketch failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source sketch
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' sketch-0.2.89/debian/control
$ dpkg-source -b sketch-0.2.89
$ dpkg-source -x sketch_0.2.89-1.dsc
$ cd sketch-0.2.89 && debuild -us -uc

In this process, if the .diff.gz contains changes to upstream files,
dpkg-source will have created a corresponding patch in
debian/patches/debian-changes-1:0.2.89-1 and will have registered that
patch in a quilt series (debian/patches/series, it is created if needed).
All the patches listed in the "series" file are applied directly during
the extraction (dpkg-source -x). quilt itself is used if available (and
will thus lead to the creation of the .pc directory), otherwise
dpkg-source applies the patches by itself. For more information about the
new source package format see the manual page dpkg-source(1).

In the case of sketch, it already uses quilt but some of the patches
require the '-p0' option of patch to be properly applied and this
option has been hardcoded in the series file. The new source package
format doesn't support this quilt feature and requires patches
to be applicable with the '-p1' option.

You can use the following command to easily update all the patches
that use the '-p0' option:
awk '{ if ($2 == "-p0") print $1 }' debian/patches/series | while read f; do 
perl -pi -e 's|^--- (?:\./)?|--- a/|; s|^\+\+\+ (?:\./)?|+++ b/|;' 
debian/patches/$f ; done

Not that you can replace "a" by "sketch-0.2.89.orig" and
"b" by "sketch-0.2.89" if you prefer.

Then don't forget to strip the "-p0" options from debian/patches/series.

As a side note, you must also pay attention to the following points in your
quilt usage to guarantee compatibility with the new source package
format:
- the patches must be in debian/patches/ together with the "series" file
  (you can use QUILT_PATCHES=debian/patches if needed)
- you should not override QUILT_PC to change the location of quilt's
  internal directory (".pc" by default)
- the patches should not reference absolute filenames (in +++/--- lines)
- your clean target must work even if the patches are already applied
- your build target must work with patches applied even if the clean
  target is supposed to unapply them (because dpkg-source -b might
  have applied them back)

Cheers,

[1] http://lists.debian.org/debian-devel-announce/2008/04/msg00004.html
[2] the upcoming dpkg-dev 1.14.20 is more tolerant with patches, you can
grab it here if you want to try with that version:
http://people.debian.org/~hertzog/packages/dpkg-dev_1.14.20_all.deb
-- 
Raphael Hertzog




--- End Message ---
--- Begin Message ---
Source: sketch
Source-Version: 1:0.2.160-1

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

sketch-doc_0.2.160-1_all.deb
  to pool/main/s/sketch/sketch-doc_0.2.160-1_all.deb
sketch_0.2.160-1.diff.gz
  to pool/main/s/sketch/sketch_0.2.160-1.diff.gz
sketch_0.2.160-1.dsc
  to pool/main/s/sketch/sketch_0.2.160-1.dsc
sketch_0.2.160-1_i386.deb
  to pool/main/s/sketch/sketch_0.2.160-1_i386.deb
sketch_0.2.160.orig.tar.gz
  to pool/main/s/sketch/sketch_0.2.160.orig.tar.gz



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.
David Bremner <[email protected]> (supplier of updated sketch 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: Sun, 10 May 2009 08:17:17 -0300
Source: sketch
Binary: sketch sketch-doc
Architecture: source all i386
Version: 1:0.2.160-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: David Bremner <[email protected]>
Description: 
 sketch     - 3D diagrams for TeX from scene description language
 sketch-doc - Extra documentation for the sketch 3D line drawing system
Closes: 485363
Changes: 
 sketch (1:0.2.160-1) unstable; urgency=low
 .
   * New upstream release
   * Move packaging to topgit (Closes: 485363).
   * Upgrade standards version to 3.8.1: add README.source
   * Set default PsTricks version to 1.15 to match texlive 2007
Checksums-Sha1: 
 643acc6c29ea826d400f40e5dbd2eee1ac185b30 1464 sketch_0.2.160-1.dsc
 90f9b87ca0e951eb6d10ea5e60d71dd36e19cdd9 2869445 sketch_0.2.160.orig.tar.gz
 b223a203818d191b30dfa0c8bbfe2f7c5f09cbfd 14221 sketch_0.2.160-1.diff.gz
 99d619bdbca02641465ecf7f7f3379be0f2b0db1 872432 sketch-doc_0.2.160-1_all.deb
 49c320a0805c73f5a217a5cd2204d0a7a1532d3e 92904 sketch_0.2.160-1_i386.deb
Checksums-Sha256: 
 13b07063ba2d7f0abfe0b9737f4c54334c097673dbf8e23e6d998ac2006f22a6 1464 
sketch_0.2.160-1.dsc
 72d7a54b3e1a9a653f593cb926fb569b8b09500a8fecd9700977c6816915e5ea 2869445 
sketch_0.2.160.orig.tar.gz
 76b33cc40e33a442ca0a3fc54e83ef0f89969b7acf641834859be40d5e43b5e4 14221 
sketch_0.2.160-1.diff.gz
 2f4bcadd2e9e53ef0e2cd92bcad442fa12a932254488c89c73ac9d5cd6897b3b 872432 
sketch-doc_0.2.160-1_all.deb
 5dd4848033d6fea2bacf60d461832dcfb321d7aa310a8aed725e51ceecdd85a8 92904 
sketch_0.2.160-1_i386.deb
Files: 
 4e566e52737f948a86ce5f66d6e42796 1464 graphics optional sketch_0.2.160-1.dsc
 58e15271f1d49509e57b3f85858ba22d 2869445 graphics optional 
sketch_0.2.160.orig.tar.gz
 c214c95188106f6bc80b234113f0d0ae 14221 graphics optional 
sketch_0.2.160-1.diff.gz
 0c9e9613dcd02d9af582bce27dc63cf7 872432 doc optional 
sketch-doc_0.2.160-1_all.deb
 94db8a32aef3f0fc0bc5e88cbf4b3ac8 92904 graphics optional 
sketch_0.2.160-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqjla0ACgkQFShl+2J8z5XGXQCgsS6JRc/re033hgAIVqTa8knI
cFsAoPDOepmK75bTwAwc4QerhnzuMoKc
=r/HZ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to