Your message dated Tue, 03 Mar 2009 23:47:03 +0000
with message-id <[email protected]>
and subject line Bug#484947: fixed in gtkglarea-sharp 0.0.17-4
has caused the Debian Bug report #484947,
regarding gtkglarea-sharp: FTBFS when converted to new source format 3.0 
(quilt): due to patches that require -p0
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.)


-- 
484947: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484947
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gtkglarea-sharp
Version: 0.0.17-3
Severity: minor
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, gtkglarea-sharp failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source gtkglarea-sharp
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' 
gtkglarea-sharp-0.0.17/debian/control
$ dpkg-source -b gtkglarea-sharp-0.0.17
$ dpkg-source -x gtkglarea-sharp_0.0.17-3.dsc
$ cd gtkglarea-sharp-0.0.17 && 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-0.0.17-3 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 gtkglarea-sharp, 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 "gtkglarea-sharp-0.0.17.orig" and
"b" by "gtkglarea-sharp-0.0.17" 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: gtkglarea-sharp
Source-Version: 0.0.17-4

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

gtkglarea-sharp_0.0.17-4.diff.gz
  to pool/main/g/gtkglarea-sharp/gtkglarea-sharp_0.0.17-4.diff.gz
gtkglarea-sharp_0.0.17-4.dsc
  to pool/main/g/gtkglarea-sharp/gtkglarea-sharp_0.0.17-4.dsc
libgtkglarea-cil-examples_0.0.17-4_all.deb
  to pool/main/g/gtkglarea-sharp/libgtkglarea-cil-examples_0.0.17-4_all.deb
libgtkglarea0.0-cil_0.0.17-4_all.deb
  to pool/main/g/gtkglarea-sharp/libgtkglarea0.0-cil_0.0.17-4_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.
Iain Lane <[email protected]> (supplier of updated gtkglarea-sharp 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: Sat, 28 Feb 2009 22:33:09 +0000
Source: gtkglarea-sharp
Binary: libgtkglarea0.0-cil libgtkglarea-cil-examples
Architecture: source all
Version: 0.0.17-4
Distribution: unstable
Urgency: low
Maintainer: Debian CLI Libraries Team 
<[email protected]>
Changed-By: Iain Lane <[email protected]>
Description: 
 libgtkglarea-cil-examples - gtkglarea-sharp examples
 libgtkglarea0.0-cil - CLI bindings for the GTK OpenGL area widget
Closes: 484947
Changes: 
 gtkglarea-sharp (0.0.17-4) unstable; urgency=low
 .
   [ David Paleino ]
   * debian/patches/:
     + 200_shared_context.diff and series updated to use the default -p1 instead
       of -p0 (Closes: #484947)
 .
   [ Iain Lane ]
   * debian/control, debian/rules: Update build-deps and pass
     MCS=/usr/bin/csc for Mono 2 transition
   * debian/control: Bump s-v to 3.8.0; add Homepage field
   * debian/control: Add Vcs-Browser and Vcs-Svn
   * debian/contro: Add ${misc:Depends} to packages
Checksums-Sha1: 
 d15ddee3335f656fb25a430fc989518c72942f35 1576 gtkglarea-sharp_0.0.17-4.dsc
 70cc7446f346be2dcdcc71d5aeef6c4655005a18 4428 gtkglarea-sharp_0.0.17-4.diff.gz
 54830250e148d1aa8a7ece87c6763dc0dfcd81c5 7602 
libgtkglarea0.0-cil_0.0.17-4_all.deb
 8aaf9ed4f7946765ebfaf4381db5e162953abd95 46782 
libgtkglarea-cil-examples_0.0.17-4_all.deb
Checksums-Sha256: 
 45cf6df790ea7d31de5d21f0c4bef9249a7ca6bcdd0b58969d267b4defbdc701 1576 
gtkglarea-sharp_0.0.17-4.dsc
 919ff3acfc506e6ae4c84c4e5f4162e3f41b99730eee52a68cdd50a8c8b4744e 4428 
gtkglarea-sharp_0.0.17-4.diff.gz
 d70788b7050c9a0cc2da8cc10652fc7f535c8c0f67b47f8f6d77b11cc50b6c33 7602 
libgtkglarea0.0-cil_0.0.17-4_all.deb
 9ad1cf5b8f29912a617da2d399bfbc07a085a64f5a17adb52074f630b90deef8 46782 
libgtkglarea-cil-examples_0.0.17-4_all.deb
Files: 
 eb1741a6617dd3022fde482b19dd0b0a 1576 libs optional 
gtkglarea-sharp_0.0.17-4.dsc
 795dd69a452845e5478deb313ae8bd34 4428 libs optional 
gtkglarea-sharp_0.0.17-4.diff.gz
 08416f4bd66bcc8c997b9bfb38f8d05c 7602 libs optional 
libgtkglarea0.0-cil_0.0.17-4_all.deb
 80b09f012e60f23b3ec49617756fc5b2 46782 libs optional 
libgtkglarea-cil-examples_0.0.17-4_all.deb

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

iJwEAQECAAYFAkmtvx8ACgkQcJWf5zskR2FRNAP+JPxLVKqwsmlaU1JTGtFwlznS
Qy1PTmsoJhJjKjYPWDUBi62vyrveW3WlcZ19nCGQTI2XPfSOIO/Q5kt4iMoRPvoF
/EGqZyRVjM6p7DcoBT/dlrP0kzsHgTE9AocZvgbiA5NQnXbMk2hj4xt3FjJ0YLOe
q42Fe4mnaOWprD8HcFY=
=Shyh
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to