One problem with the log files is that if dh_clean is not the last command run, they will be left behind. This is a particular problem on build daemons that use real root. Especially if cdbs is used, since it runs dh_listpackages after clean, thereby leaving behind log files that only root can touch. Avoid this particular special case by inhibiting logging by dh_listpackages.
New v7 mode, which only has one change from v6, and is the new recommended default.
* New v7 mode, which only has one change from v6, and is the new
recommended default.
* dh_install: if --sourcedir is not specified, first look for files in
debian/tmp, and then will look in the current directory. This allows
dh_install to interoperate with dh_auto_install without needing any
special parameters.
dh_auto_install: New program, automates running make install, or using setup.py to install. Supports the PREFIX=/usr special case needed by MakeMaker Makefiles. (Support for cmake and other build systems planned but not yet implemented.)
dh_auto_build: New program, automates building the package by either running make or using setup.py. (Support for cmake and other build systems planned but not yet implemented.)
dh_auto_configure: New program, automates running ./configure, Makefile.PL, and python distutils. Calls them with exactly the same options as cdbs does by default, and allows adding/overriding options.
dh_icons: Support .xpm format icons. Stop looking for .jpg icons, and also, for compleness, support .icon files. This matches the set of extensions supported by gtk-update-icon-cache. Closes: #448094
dh_installman: man --recode transparently uncompresses compressed pages. So when saving the output back, save it to a non-compressed filename (and delete the original, compressed file). Closes: #470913
Joey Hess [Thu, 6 Mar 2008 06:59:44 +0000 (01:59 -0500)]
* dh_lintian: Finally added this since linda is gone and there's only
lintian to worry about supporting. Closes: #109642, #166320, #206765
(Thanks to Steve M. Robbins for the initial implementation.)
Joey Hess [Wed, 27 Feb 2008 21:33:27 +0000 (16:33 -0500)]
* dh_compress: Pass -n to gzip to yeild more reproducible file contents.
The time stamp information need not be contained in the .gz file since the
time stamp is preserved when compressing and decompressing. Closes: #467100
I've attached a patch against git HEAD that recodes all manual pages to
UTF-8 on installation. I've tested this with debconf and it seems to be
doing the right thing. I suspect a small number of packages that have
inconsistently-encoded manual pages will fail to build as a result of
this, but I believe that these are rather few and I contend that they
were buggy anyway (as man would fail to display those pages).
The reason for the slightly baroque installation method (install file,
man --recode to .new, mv back) is that this allows man to guess the
encoding based on the installation directory.
Note that the original (non-.UTF-8) installation directories are
retained, per the latest discussion in #440420.
Joey Hess [Sun, 20 Jan 2008 20:27:55 +0000 (15:27 -0500)]
* dh_shlibdeps: Rather than skipping everything in /usr/lib/debug,
which can include debug libraries that dpkg-shlibdeps should look at,
only skip the subdirectories of it that contain separate debugging
symbols. (Hardcoding the names of those directories is not the best
implementation, but it will do for now.) Closes: #461339
Joey Hess [Fri, 11 Jan 2008 19:15:50 +0000 (14:15 -0500)]
* dh_install{,docs,examples}: Avoid infinite recursion when told to
install a directory ending with "/." (slashdot effect?) when exclusion is
enabled. Emulate the behavior of cp in this case. Closes: #253234
* dh_install: Fix #459426 here too.
Joey Hess [Fri, 11 Jan 2008 18:48:10 +0000 (13:48 -0500)]
* dh_installdocs/examples: Don't unnecessarily use the exclude code path.
* Avoid infiinite recursion when told to install a directory ending with
"/." (slashdot effect?). Indeed, arbitrarily complex paths can be used
now, although there's really no point in using them. Closes: #253234
Joey Hess [Fri, 4 Jan 2008 20:54:29 +0000 (15:54 -0500)]
* dh_shlibdeps: Change "-L pkg" to cause "-Sdebian/pkg" to be passed to
dpkg-shlibdeps. The old behavior of passing -L to dpkg-shlibdeps didn't
affect where it looked for symbols files. Closes: #459224
* Depend on dpkg-dev 1.14.15, the first to support dpkg-shlibdeps -S.
Joey Hess [Fri, 4 Jan 2008 20:41:14 +0000 (15:41 -0500)]
* dh_shlibdeps: Update documentation for -L and -l. dpkg-shlibdeps is now
much smarter, and these options are almost never needed. Closes: #459226
* dh_shlibdeps: If a relative path is specified in -l, don't prepend the pwd
to it, instead just prepend a slash to make it absolute. dpkg-shlibdeps
has changed how it used LD_LIBRARY_PATH, so making it point into the
package build directory won't work.
Joey Hess [Thu, 29 Nov 2007 17:25:32 +0000 (12:25 -0500)]
* dh_makeshlibs: Use new -I flag to specify symbol files, necessary to
properly support includes. Closes: #452717
* Increase dpkg-dev dependency to 1.14.12 to ensure that dh_makeshlibs
isn't used with an old dpkg-gensymbols that doesn't support -I.
Joey Hess [Mon, 19 Nov 2007 19:27:25 +0000 (14:27 -0500)]
* dh_makeshlibs: Support symbols files. Closes: #443978
Packages using this support should build-depend on dpkg-dev (>= 1.14.8).
Symbols files can be downloaded from mole:
http://qa.debian.org/cgi-bin/mole/seedsymbols