[Debian-med-packaging] [dr at jones.dk: Proper solution for source format 3.0 and git-buildpackage?]
Andreas Tille
andreas at an3as.eu
Wed Sep 15 13:48:09 UTC 2010
Hi,
for those who are using git and git-buildpackage I wanted to foreward an
information which sounds important and is otherwise hard to find if you
are blog-ignorant as I am.
Kind regards
Andreas.
----- Forwarded message from Jonas Smedegaard <dr at jones.dk> -----
Date: Wed, 15 Sep 2010 13:40:56 +0200
From: Jonas Smedegaard <dr at jones.dk>
To: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
Subject: Proper solution for source format 3.0 and git-buildpackage?
Hi,
Just switching to dpkg source format 3.0 does not work nicely with
git-buildpackage: the source format auto-applies patches and leave it as
such after package cleanup, while git-buildpackage expects patches to be
unapplied.
As some may have noticed in past threads, I have not liked the approach of
extending debian/rules to explicitly unapply patches based on e.g. the
existance of the .git directory. I find that a bad hack.
It seems the proper solution is at hand: I noticed at Debian Planet the
following entry:
http://raphaelhertzog.com/2010/09/14/how-to-customize-dpkg-sources-behaviour-in-your-debian-source-package/
In that blog entry, Raphaël mentions the special file
debian/source/local-options which is taken into account during build but
not included into the generated source package.
I hereby propose that we recommend generally switching to source format
3.0 (quilt) - even for packages not currently using patches - and add
the following info to debian/source/local-options:
unapply-patches = True
abort-on-uptream-changes = True
Warning: This is completely untested. Just written based on above blog
entry. ;-)
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers
----- End forwarded message -----
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list