Your message dated Mon, 22 Jun 2009 00:17:10 +0000
with message-id <[email protected]>
and subject line Bug#485248: fixed in glob2 0.9.4.1-1
has caused the Debian Bug report #485248,
regarding glob2: 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.)


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

$ apt-get source glob2
$ sed -i -e '/^Source:/ aFormat: 3.0 (quilt)' glob2-0.9.3/debian/control
$ dpkg-source -b glob2-0.9.3
$ dpkg-source -x glob2_0.9.3-2.dsc
$ cd glob2-0.9.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-0.9.3-2 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 glob2, 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 "glob2-0.9.3.orig" and
"b" by "glob2-0.9.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: glob2
Source-Version: 0.9.4.1-1

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

glob2-data_0.9.4.1-1_all.deb
  to pool/main/g/glob2/glob2-data_0.9.4.1-1_all.deb
glob2_0.9.4.1-1.diff.gz
  to pool/main/g/glob2/glob2_0.9.4.1-1.diff.gz
glob2_0.9.4.1-1.dsc
  to pool/main/g/glob2/glob2_0.9.4.1-1.dsc
glob2_0.9.4.1-1_amd64.deb
  to pool/main/g/glob2/glob2_0.9.4.1-1_amd64.deb
glob2_0.9.4.1.orig.tar.gz
  to pool/main/g/glob2/glob2_0.9.4.1.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 Martínez Moreno <[email protected]> (supplier of updated glob2 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: Mon, 22 Jun 2009 01:33:04 +0200
Source: glob2
Binary: glob2 glob2-data
Architecture: source all amd64
Version: 0.9.4.1-1
Distribution: unstable
Urgency: low
Maintainer: David Martínez Moreno <[email protected]>
Changed-By: David Martínez Moreno <[email protected]>
Description: 
 glob2      - innovative state-of-the-art Real Time Strategy (RTS) game
 glob2-data - dataset for Globulation2 (glob2)
Closes: 485248 502067 511143 515227
Changes: 
 glob2 (0.9.4.1-1) unstable; urgency=low
 .
   * New upstream release (closes: #515227).  Main changes are:
     - Balancing of unit and building costs.
     - Ability to CTRL+Click and drag to place a string of the selected
       building (useful for walls).
     - A new Other Options page in Custom Games and YOG pregame setup.
     - New mission objectives system (set in the map editor, with SGSL commands
       to show/hide them).
     - New mission hints system (set in the map editor).
     - Brand new random map generation engine, which will be used eventually to
       make and play random maps on the fly from Custom Game / YOG screens.
     - Added optional implementation of voice chat using port audio.
     - Add new -router code, so people can create a router through which game
       commands are 'routed'. Complete with remote administrative interface.
     - A new map distribution system.
     - A new pregame alliances system where you can set alliances which cannot 
be
       changed ingame.
     - A new "I Am Ready" button to prevent game makers from starting before all
       players are ready.
     - Adjustments to latency system for smoother online gaming
     - New -test-map-gen option, to continuously make maps until the generator
       crashes (used for stability like -test-games[-nox]).
     - Lots of other behind the scenes changes for speed, stability, usability
       and interactivity.
     - Lots of bug fixes.
     - Moved AUTHORS to data/authors.txt so it will get included in distribution
       releases (closes: #502067).
   * debian/glob2.install: Added patch from Andrew Starr-Bochiocchio to install
     a missing menu icon (closes: #511143).  Thanks, Andrew!!
   * debian/patches:
     - Adjusted quilt patches to comply with new source format 3.0 (closes:
       #485248).
     - Removed 02_gcc43_compat as obsolete.
     - Added official Changelog as a separate patch
       (02_upstream_changelog.patch).
   * debian/rules: Activated portaudio.
   * debian/control:
     - Removed an ancient Replaces in glob2-data.
     - Added libboost-math1.38-dev to B-D.
     - Added libportaudio-dev to B-D.
     - Bumped Standards-Version to 3.8.1 (no changes).
     - Made a versioned dependency on DH 6.
   * debian/compat bumped to 6.
Checksums-Sha1: 
 be33a12ffb53a33d5a6bdb363cb72985913cc914 1292 glob2_0.9.4.1-1.dsc
 693b5a2da668800e2ce563b92a0185a360b57d74 11605247 glob2_0.9.4.1.orig.tar.gz
 557564d9c1dc4aca520547ddb8a2d231dd4d67d8 20469 glob2_0.9.4.1-1.diff.gz
 0d4dd75afcd471351c84baa43c4dcf65f5ca9b51 10329844 glob2-data_0.9.4.1-1_all.deb
 a2cd8c77952124e0486c9aaddef364da1cf181c1 1401984 glob2_0.9.4.1-1_amd64.deb
Checksums-Sha256: 
 340fbc38feea5aa04067bcdc9567a7510a3223e86c0af54e5f3819121afdec56 1292 
glob2_0.9.4.1-1.dsc
 7e901e9f791d766832b9093546803e7bd5bda114c2cea333cff9027b32dcfdea 11605247 
glob2_0.9.4.1.orig.tar.gz
 31706837a405e5e2af0f17408deae91307d89e5c2f5f83a087356f86b1188088 20469 
glob2_0.9.4.1-1.diff.gz
 b2bf8665fb4dd79d351d1a3ea44000afc3b90278144a97f6fd105936f035b3dc 10329844 
glob2-data_0.9.4.1-1_all.deb
 b80a1bbd10b64266ad8dd52163304f1ad58e7583f2adb064487e7666e6279985 1401984 
glob2_0.9.4.1-1_amd64.deb
Files: 
 59704242f73fbc8d1762e61d317b1ddf 1292 games optional glob2_0.9.4.1-1.dsc
 d9a15a0c6e3ad7b6271aec3a2f5422ac 11605247 games optional 
glob2_0.9.4.1.orig.tar.gz
 6378555b5146dfbb532111de9dd299ff 20469 games optional glob2_0.9.4.1-1.diff.gz
 1c178223f2e0d4982eff425bcb0418a1 10329844 games optional 
glob2-data_0.9.4.1-1_all.deb
 bf93a82f7f8dd943b2ab3d792fff1f42 1401984 games optional 
glob2_0.9.4.1-1_amd64.deb

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

iEYEARECAAYFAko+xbwACgkQWs/EhA1iABtcpgCeLASCZpd4a8mGZptx7XRh5WiN
kNQAnRk4eDOTrgLoPVDClTUV6Q5T8Ae8
=ks9t
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to