Joey Hess [Mon, 27 Aug 2012 15:53:09 +0000 (11:53 -0400)]
dh_installmime: No longer makes maintainer scripts run update-mime and update-mime-database, that is now handled by triggers. Closes: #684689 Thanks, Charles Plessy
Joey Hess [Thu, 7 Jun 2012 16:00:37 +0000 (12:00 -0400)]
dh: When there's an -indep override target without -arch, or vice versa, avoid acting on packages covered by the override target when running the command for packages not covered by it. Closes: #676462
Hmm, this is technically a behavior change, but hopefully not one anything
could sanely depend on working like it used to.
Joey Hess [Mon, 28 May 2012 17:40:05 +0000 (13:40 -0400)]
dh_installcatalogs: Turn /etc/sgml/$package.cat into conffiles and introduce dependency on trigger-based sgml-base. Closes: #477751 Thanks, Helmut Grohne
Joey Hess [Sun, 13 May 2012 17:09:39 +0000 (13:09 -0400)]
dh_builddeb: Build udebs with xz compression, level 1, extreme strategy.
* dh_builddeb: Build udebs with xz compression, level 1, extreme strategy.
This has been chosen to not need any more memory or cpu when uncompressing,
while yeilding the best compressions for udebs. Thanks, Philipp Kern.
* Depend on a new enough dpkg for above features. Backporters will need
to revert these changes.
dh_installinit: rework upstart handling to comply with new policy proposal; packages will ship both an init script and an upstart job, instead of just an upstart job and a symlink to a compat wrapper. Closes: #577040
Joey Hess [Thu, 22 Mar 2012 21:37:54 +0000 (17:37 -0400)]
Revert avoid expanding shell metacharacters in sed call in autoscript(). It breaks dh_usrlocal and must be considered part of its interface. Added to interface documentation. Closes: #665263
Joey Hess [Sun, 15 Jan 2012 18:22:28 +0000 (14:22 -0400)]
v9 done
* Finalized v9 mode, which is the new recommended default.
(But continuing to use v8 is also fine.)
* It is now deprecated for a package to not specify a compatability
level in debian/compat. Debhelper now warns if this is not done,
and packages without a debian/compat will eventually FTBFS.
Joey Hess [Wed, 7 Dec 2011 18:08:41 +0000 (14:08 -0400)]
executable config files. bleh, argh
Debhelper config files may be made executable programs that output the
desired configuration. No further changes are planned to the config file
format; those needing powerful syntaxes may now use a programming language
of their choice.
In many bugs I see a tendency of users wanting debhelper configuration
files to have their pet feature from some programming language. So I choose
to short-circuit this process by taking it to its logical conclusion, and
without the bother of developing a new language myself.
[ Is this consistent with my boycott/disinterest in integrating features
features first developed in Ubuntu? Yes. Instead of blocking the
issue of multiarch needing variable expansions, I have stepped
back and let anyone make whatever mess they desire while not forcing
that mess on the rest of us. ]
Joey Hess [Wed, 16 Nov 2011 15:54:53 +0000 (11:54 -0400)]
dh: Ensure -a and -i are passed when running override_dh_command-arch and override_dh_command-indep targets. This is needed when the binary target is run, rather than binary-arch/binary-indep. Closes: #648901
Joey Hess [Mon, 7 Nov 2011 17:52:00 +0000 (13:52 -0400)]
dh_strip: In v9, pass --compress-debug-sections to objcopy. Needs a new enough binutils and gdb; debhelper backport may need to disable this. Thanks, Aurelien Jarno and Bastien ROUCARIES. Closes: #631985
Steve Langasek [Wed, 28 Sep 2011 19:37:42 +0000 (12:37 -0700)]
pass dpkg-buildflags to makemaker build system
The standard way to pass build flags to makemaker perl build systems is to
set the OPTIMIZE variable on the commandline; CFLAGS in the environment gets
ignored entirely. So pass the CFLAGS from the environment to Makefile.PL so
makemaker packages can also benefit from dpkg-buildflags.