Your message dated Tue, 01 Jul 2008 09:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#485342: fixed in file-roller 2.22.4-1
has caused the Debian Bug report #485342,
regarding file-roller: 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.)


-- 
485342: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485342
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: file-roller
Version: 2.22.3-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, file-roller failed, you can try yourself with those
commands (and dpkg-dev >= 1.14.19 [2]) :

$ apt-get source file-roller
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' file-roller-2.22.3/debian/control
$ dpkg-source -b file-roller-2.22.3
$ dpkg-source -x file-roller_2.22.3-1.dsc
$ cd file-roller-2.22.3 && 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-2.22.3-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 file-roller, 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 "file-roller-2.22.3.orig" and
"b" by "file-roller-2.22.3" 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: file-roller
Source-Version: 2.22.4-1

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

file-roller_2.22.4-1.diff.gz
  to pool/main/f/file-roller/file-roller_2.22.4-1.diff.gz
file-roller_2.22.4-1.dsc
  to pool/main/f/file-roller/file-roller_2.22.4-1.dsc
file-roller_2.22.4-1_i386.deb
  to pool/main/f/file-roller/file-roller_2.22.4-1_i386.deb
file-roller_2.22.4.orig.tar.gz
  to pool/main/f/file-roller/file-roller_2.22.4.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.
Sebastian Dröge <[EMAIL PROTECTED]> (supplier of updated file-roller 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: Tue, 01 Jul 2008 10:51:52 +0200
Source: file-roller
Binary: file-roller
Architecture: source i386
Version: 2.22.4-1
Distribution: unstable
Urgency: low
Maintainer: Clément Stenac <[EMAIL PROTECTED]>
Changed-By: Sebastian Dröge <[EMAIL PROTECTED]>
Description: 
 file-roller - an archive manager for GNOME
Closes: 484033 485342
Changes: 
 file-roller (2.22.4-1) unstable; urgency=low
 .
   [ Josselin Mouette ]
   * 99_ltmain_as-needed.patch: fix to apply with -p1. Closes: #485342.
   * 01_menu_change.patch: remove this patch that causes file-roller not
     show up in the menu, there is really no point in doing so, unlike
     eog or evince. Closes: #484033.
 .
   [ Sebastian Dröge ]
   * New upstream bugfix release.
   * debian/control.in:
     + Update Standards-Version to 3.8.0, no additional changes needed.
Checksums-Sha1: 
 521397adb4dfdfec6d6323e651f214f5fb2fb83d 1598 file-roller_2.22.4-1.dsc
 bd7fbb70eaa0ec7e2fc150b48823090be6f2e8d9 1881595 file-roller_2.22.4.orig.tar.gz
 8a88ba45352ca772e9bfebf7693d14213c4d67b8 13988 file-roller_2.22.4-1.diff.gz
 d75968dfe05b43493d6bfd605e12d3ebe2857e72 1116440 file-roller_2.22.4-1_i386.deb
Checksums-Sha256: 
 77ee51dac43d4875e6f848ed48588509e865d254c044c829f256fe69d66af771 1598 
file-roller_2.22.4-1.dsc
 78a156b919b892e934a12bc4fb7d6dd3f13193699e60e6c711f96aa82484e309 1881595 
file-roller_2.22.4.orig.tar.gz
 53f1f18885e94dfa3dbba03283ef12da003df63f28b14d03ec6844afc2e9c45d 13988 
file-roller_2.22.4-1.diff.gz
 3f286b0dedf530bd1e7087bad913a190f9b3168e52ed417edb2c7ddd75798b14 1116440 
file-roller_2.22.4-1_i386.deb
Files: 
 539c05b798d06936f6c96dcde4e32bcc 1598 gnome optional file-roller_2.22.4-1.dsc
 ec8818fde1a8076708d0dd66e6b800de 1881595 gnome optional 
file-roller_2.22.4.orig.tar.gz
 24a0f88cd0c4880e964931f2935d0ebe 13988 gnome optional 
file-roller_2.22.4-1.diff.gz
 e4892f492017ad7f249a06fd370cad0c 1116440 gnome optional 
file-roller_2.22.4-1_i386.deb

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

iEYEARECAAYFAkhp8gEACgkQBsBdh1vkHyHn2wCcDrv4hzM4udBNsmULghfj7vjG
ENYAnRoWG3vwPIbCUyKSsrS5OdVDtMLx
=0url
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to