Joey Hess [Wed, 30 Jun 2010 18:37:50 +0000 (14:37 -0400)]
perl_makemaker: import compat(). Closes: #587654
Joey Hess [Tue, 29 Jun 2010 21:44:23 +0000 (17:44 -0400)]
releasing version 7.9.2
Joey Hess [Thu, 24 Jun 2010 00:40:16 +0000 (20:40 -0400)]
In v8 mode, stop passing packlist=0 in perl_makemaker buildsystem, since perl_build is tried first. Avoids the makemaker warning message introduced by the fix to #527990.
Joey Hess [Wed, 16 Jun 2010 17:51:56 +0000 (13:51 -0400)]
releasing version 7.9.1
Joey Hess [Wed, 16 Jun 2010 16:47:08 +0000 (12:47 -0400)]
postrm-init: Avoid calling the error handler if update-rc.d fails. Closes: #586065
Joey Hess [Sun, 6 Jun 2010 22:21:51 +0000 (18:21 -0400)]
add autotools_dev example
Joey Hess [Fri, 28 May 2010 19:17:50 +0000 (15:17 -0400)]
Joey Hess [Fri, 28 May 2010 19:16:52 +0000 (15:16 -0400)]
Revert "In v8 mode, debhelper only ever acts on packages that can be built for the given architecture, even if -N or -p are used to specify packages specific to other architectures."
This reverts commit
653fb43cfa731d047deaf19b61aef2ebbeb00990.
Oops, I meant to not make this change.. -N was already fixed, and fixing -p
does not seem important.
Joey Hess [Fri, 28 May 2010 19:11:32 +0000 (15:11 -0400)]
update
Joey Hess [Fri, 28 May 2010 19:04:22 +0000 (15:04 -0400)]
In v8 mode, prefer the perl_build buildsystem over perl_makemaker. Closes: #578805
Joey Hess [Fri, 28 May 2010 18:41:58 +0000 (14:41 -0400)]
In v8 mode, debhelper only ever acts on packages that can be built for the given architecture, even if -N or -p are used to specify packages specific to other architectures.
Joey Hess [Fri, 28 May 2010 05:27:31 +0000 (01:27 -0400)]
dh_installchangelogs: Also look for changelog files in doc(s) subdirectories. Closes: #521258
Joey Hess [Fri, 28 May 2010 05:20:49 +0000 (01:20 -0400)]
dh_installchangelogs: Support packages placing their changelog in a file with a name like HISTORY. Closes: #582749
Joey Hess [Fri, 28 May 2010 01:31:21 +0000 (21:31 -0400)]
example
Joey Hess [Fri, 28 May 2010 01:24:09 +0000 (21:24 -0400)]
wording
Joey Hess [Fri, 28 May 2010 01:18:51 +0000 (21:18 -0400)]
consistently use v7 not V7 (etc)
Joey Hess [Fri, 28 May 2010 01:16:26 +0000 (21:16 -0400)]
In v8 mode, dh expects the sequence to run is always its first parameter.
This avoids ambiguities when parsing options to be passed on to debhelper
commands. (See #570039)
In the end, the idea of putting the debhelper command options after --
seemed to need too much knowledge about whether an option like
--buildsystem is a dh option or a command option.
I did consider making no change.. The ambiguities this eliminates are
small. But it seemed worth simplifying dh's option parser, and only about
1/6th of calls to dh in the archive don't put the sequence first already.
(Docs have shown that as the right thing to do for some time.)
Joey Hess [Thu, 27 May 2010 07:02:53 +0000 (03:02 -0400)]
correct outdated comment
Joey Hess [Thu, 27 May 2010 07:00:41 +0000 (03:00 -0400)]
dh_fixperms: Tighten globs used to find library .so files, avoiding incorrectly matching things like "foo.sources". Closes: #583328
Joey Hess [Mon, 24 May 2010 15:12:35 +0000 (11:12 -0400)]
use dpkg-mergechangelog
Joey Hess [Mon, 24 May 2010 00:22:54 +0000 (20:22 -0400)]
update
Joey Hess [Mon, 24 May 2010 00:17:21 +0000 (20:17 -0400)]
clarify
Joey Hess [Mon, 24 May 2010 00:11:25 +0000 (20:11 -0400)]
debian/compress files are now deprecated. Seems only one package (genesis) still uses them.
Joey Hess [Mon, 24 May 2010 00:06:40 +0000 (20:06 -0400)]
update
Joey Hess [Sun, 23 May 2010 23:58:02 +0000 (19:58 -0400)]
dh_testversion: Removed this deprecated command.
2 packages in the archive still use it, but both like this:
ifneq ($(shell dh_testversion '<<' 7.4.10 2>/dev/null && echo old),old)
dh_parallel = --parallel
endif
Happily, the way that was written, if the command doesn't exist,
it does the right thing and enables the behavior for the new debhelper.
Not that it would greatly matter if it did not, since --parallel is not
crucial.
Joey Hess [Sun, 23 May 2010 23:26:41 +0000 (19:26 -0400)]
In v8 mode, dh_makeshlibs will run dpkg-gensymbols on all shared libraries it generates shlibs files for. This means that -X can be used to exclude libraries from processing by dpkg-gensymbols. It also means that libraries in unusual locations, where dpkg-gensymbols does not itself normally look will be passed to it, a behavior change which may break some packages. Closes: #557603
Joey Hess [Sun, 23 May 2010 23:12:50 +0000 (19:12 -0400)]
In v8 mode, do not allow directly passing unknown options to debhelper commands. (Unknown options in DH_OPTIONS still only result in warnings.)
Joey Hess [Sun, 23 May 2010 22:58:22 +0000 (18:58 -0400)]
update Package-Type docs
dpkg supports the field now, so no XC- needed
Joey Hess [Sun, 23 May 2010 22:54:53 +0000 (18:54 -0400)]
Add deprecation warning for dh_clean -k.
Joey Hess [Tue, 18 May 2010 16:30:06 +0000 (12:30 -0400)]
dh_installman: Avoid converting .so links to symlinks if the link target is not present in the same binary package, on advice of Colin Watson. (To support eventual so search paths.)
Joey Hess [Tue, 18 May 2010 00:10:00 +0000 (20:10 -0400)]
dh_installman: Support .so links relative to the current section.
Joey Hess [Thu, 13 May 2010 00:08:50 +0000 (20:08 -0400)]
releasing version 7.4.20
Joey Hess [Wed, 12 May 2010 23:52:24 +0000 (19:52 -0400)]
update
Joey Hess [Tue, 11 May 2010 20:52:16 +0000 (16:52 -0400)]
dh_perl: use debian_abi for XS modules. Closes: #581233
Niko Tyni [Sat, 8 May 2010 10:32:27 +0000 (13:32 +0300)]
Use $Config{debian_abi} to generate the perlapi-* dependency
As per the upcoming policy change discussed in #579457,
perlapi-$Config{debian_abi} is preferred over perlapi-$Config{version}
where available.
Joey Hess [Sun, 9 May 2010 16:44:19 +0000 (12:44 -0400)]
remove now-unnecessary caching
Joey Hess [Sun, 9 May 2010 16:21:12 +0000 (12:21 -0400)]
Further reduce the number of calls to dpkg-architecture to zero, in a typical package with no explicit architecture mentions in control file or debhelper config files.
Joey Hess [Sun, 9 May 2010 16:02:59 +0000 (12:02 -0400)]
typo
Joey Hess [Sun, 9 May 2010 15:48:32 +0000 (11:48 -0400)]
cleanups
Joey Hess [Sun, 9 May 2010 15:45:35 +0000 (11:45 -0400)]
Drop one more call to dpkg-architecture. Closes: #580837 (Raphael Geissert)
Joey Hess [Mon, 26 Apr 2010 23:51:31 +0000 (19:51 -0400)]
releasing version 7.4.19
Joey Hess [Mon, 26 Apr 2010 23:45:04 +0000 (19:45 -0400)]
Memoize architecture comparisons in samearch, and avoid calling dpkg-architecture at all for simple comparisons not involving architecture wildcards. Closes:# 579317
Joey Hess [Mon, 26 Apr 2010 20:32:57 +0000 (16:32 -0400)]
releasing version 7.4.18
Joey Hess [Sat, 10 Apr 2010 17:26:43 +0000 (13:26 -0400)]
changelog
Joey Hess [Sat, 10 Apr 2010 17:24:56 +0000 (13:24 -0400)]
update docs
Josselin Mouette [Sat, 10 Apr 2010 10:36:31 +0000 (12:36 +0200)]
Remove autoscripts for GConf
Starting from 2.28.1-2, the gconf2 package uses triggers which make the
maintainer scripts obsolete.
Joey Hess [Thu, 8 Apr 2010 22:35:25 +0000 (18:35 -0400)]
releasing version 7.4.17
Joey Hess [Thu, 8 Apr 2010 22:23:05 +0000 (18:23 -0400)]
Fix #572077 in one place I missed earlier. (See #576885)
Joey Hess [Thu, 8 Apr 2010 19:38:35 +0000 (15:38 -0400)]
update
Joey Hess [Thu, 8 Apr 2010 19:03:52 +0000 (15:03 -0400)]
fix comment
Joey Hess [Thu, 8 Apr 2010 16:40:21 +0000 (12:40 -0400)]
add semicolon after build targets to avoid implicit target running
Joey Hess [Wed, 7 Apr 2010 02:14:11 +0000 (22:14 -0400)]
releasing version 7.4.16
Joey Hess [Wed, 7 Apr 2010 01:48:48 +0000 (21:48 -0400)]
refactor to pass silly test suite length limit
Joey Hess [Wed, 7 Apr 2010 01:42:08 +0000 (21:42 -0400)]
dh: Improve documentation.
joeyh: debhelper has an undocumented variable with INTERNAL in its name.
People keep trying to use it. Why?
liw: debhelper is magic. magic is power derived from secrets. secrets are
desireable. solution: document it. :)
Joey Hess [Wed, 31 Mar 2010 20:09:47 +0000 (16:09 -0400)]
dh: Allow --list-addons to be used when not in a source package. Closes: #574351
Joey Hess [Wed, 31 Mar 2010 19:58:54 +0000 (15:58 -0400)]
dh_md5sums: Sort to ensure stable, more diffable order. Closes: #573702
Joey Hess [Thu, 4 Mar 2010 20:36:41 +0000 (15:36 -0500)]
add parallel option
Joey Hess [Mon, 1 Mar 2010 21:23:14 +0000 (16:23 -0500)]
minor optimisation
Joey Hess [Mon, 1 Mar 2010 21:05:49 +0000 (16:05 -0500)]
If neither -a or -i are specified, debhelper commands used to default to acting on all packages in the control file, which was a guaranteed failure if the control file listed packages that did not build for the target architecture. After recent optimisations, this default behavior can efficiently be changed to the more sane default of acting on only packages that can be built for the current architecture. This change is mostly useful when using minimal rules files with dh. Closes: #572077
Joey Hess [Sun, 28 Feb 2010 18:10:00 +0000 (13:10 -0500)]
Typo. Closes: #571968
Joey Hess [Sun, 21 Feb 2010 23:11:36 +0000 (18:11 -0500)]
dh_install: Now --list-missing and --fail-missing are useful even when not all packages are acted on (due to architecture limits or flags). Closes: #570373
Joey Hess [Fri, 19 Feb 2010 17:57:27 +0000 (12:57 -0500)]
makefile buildsystem: Chomp output during test for full compatability with debhelper 7.4.11. Closes: #570503
Previously the test used make -s -n | head -n 1 and then chomped the
output. In the case of this bug, root-system's Makefile *always* outputs
something to stdout, even for targets that don't exist, before configure is
run. It accidentially worked before, since the first line it outputs
happens to be empty.
So bring back the chomp to retain compatability with this package that used
to work before, but the test only does the right thing for this package due
to sheer luck, really.
Joey Hess [Thu, 18 Feb 2010 22:53:36 +0000 (17:53 -0500)]
Updated French translation.
Joey Hess [Thu, 18 Feb 2010 21:46:59 +0000 (16:46 -0500)]
releasing version 7.4.15
Joey Hess [Thu, 18 Feb 2010 21:37:31 +0000 (16:37 -0500)]
The fix for #563557 caused some new trouble involving makefile that misbehave when stderr is closed. Reopen it to /dev/null when testing for the existance of a makefile target. Closes: #570443
Joey Hess [Tue, 16 Feb 2010 19:53:16 +0000 (14:53 -0500)]
todo
Joey Hess [Tue, 16 Feb 2010 19:52:06 +0000 (14:52 -0500)]
dh: Disable option bundling to avoid mis-parsing bundled options such as "-Bpython-support". Closes: #570039
Joey Hess [Tue, 2 Feb 2010 17:19:11 +0000 (12:19 -0500)]
releasing version 7.4.13
Joey Hess [Tue, 2 Feb 2010 17:12:03 +0000 (12:12 -0500)]
Fix handling of -O with options specified by commands. Closes: #568081
Joey Hess [Sun, 31 Jan 2010 19:34:51 +0000 (14:34 -0500)]
dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586
Joey Hess [Sun, 31 Jan 2010 01:34:28 +0000 (20:34 -0500)]
releasing version 7.4.12
Joey Hess [Sun, 31 Jan 2010 01:28:24 +0000 (20:28 -0500)]
adjust for new buildsystem
Joey Hess [Sun, 31 Jan 2010 01:22:58 +0000 (20:22 -0500)]
Fix typo in call to abs2rel in --builddir sanitize code. Closes: #567737
Joey Hess [Thu, 28 Jan 2010 05:48:26 +0000 (00:48 -0500)]
update from Kel
Here is yet another revision which sets the PREFIX variable to '/usr' which
seems commonly used by Qt projects. Also removed the -e test discussed
previously.
Joey Hess [Thu, 28 Jan 2010 01:01:27 +0000 (20:01 -0500)]
add --builddirectory example
Joey Hess [Wed, 27 Jan 2010 22:13:37 +0000 (17:13 -0500)]
add qmake to build systems list
(at the end naturally)
Joey Hess [Wed, 27 Jan 2010 22:08:15 +0000 (17:08 -0500)]
qmake: New buildsystem contributed by Kel Modderman. Closes: #566840
Joachim Breitner [Sun, 10 Jan 2010 20:23:03 +0000 (21:23 +0100)]
Fix typo: s/notmally/normally
Joey Hess [Wed, 6 Jan 2010 18:55:53 +0000 (13:55 -0500)]
bring back ignore_unknown_options
Missed that dh still uses it.
Joey Hess [Wed, 6 Jan 2010 18:21:45 +0000 (13:21 -0500)]
fix bad interaction between -O and ignore_unknown_options
Actually, since ignore_unknown_options is only used with
DH_INTERNAL_OPTIONS, which always uses -O for such options, I was able to
remove that complication too.
Joey Hess [Tue, 5 Jan 2010 00:09:14 +0000 (19:09 -0500)]
don't call getopt recursively
That messes with the return value of the outer call.
Joey Hess [Mon, 4 Jan 2010 23:41:51 +0000 (18:41 -0500)]
solve the dh -Bbuild problem
* Add -O option, which can be used to pass options to commands, ignoring
options that they do not support.
* dh: Use -O to pass user-specified options to the commands it runs.
This solves the problem with passing "-Bbuild" to dh, where commands
that do not support -B would see a bogus -u option. Closes: #541773
(It also ensures that the commands dh prints out can really be run.)
Joey Hess [Mon, 4 Jan 2010 21:06:08 +0000 (16:06 -0500)]
Fix warning about unknown options passed to commands in override targets.
dh used DH_OVERRIDE_UNKNOWN_OPTIONS, which was too broad as it affected
commands run via override targets and caused there to be no warning about
unknown options.
Now unknown options are only ignored when parsing DH_INTERNAL_OPTIONS and
dh's own options.
Joey Hess [Sun, 3 Jan 2010 19:51:05 +0000 (14:51 -0500)]
makefile: Support the (asking for trouble) case of MAKE being set to something with a space in it. Closes: #563557
Joey Hess [Fri, 1 Jan 2010 18:00:37 +0000 (13:00 -0500)]
dh_bugfiles: Doc typo. Closes: #563269
Joey Hess [Thu, 31 Dec 2009 16:56:28 +0000 (11:56 -0500)]
releasing version 7.4.11
Joey Hess [Thu, 31 Dec 2009 01:13:00 +0000 (20:13 -0500)]
simplify
Joey Hess [Thu, 31 Dec 2009 01:10:18 +0000 (20:10 -0500)]
changelog
Joey Hess [Thu, 31 Dec 2009 01:00:39 +0000 (20:00 -0500)]
whitespace
Modestas Vainius [Fri, 11 Dec 2009 21:10:01 +0000 (23:10 +0200)]
Do not call make for noop overrides.
1) Detect if target is noop when parsing debian/rules.
2) If override target is noop, do not call make for it.
Joey Hess [Tue, 29 Dec 2009 20:32:58 +0000 (15:32 -0500)]
update
Joey Hess [Tue, 29 Dec 2009 20:27:20 +0000 (15:27 -0500)]
stop trying to handle substvars idempotently
In the beginning, I tried to be careful to have commands that added a
substvar remove it when ran again with different options that caused it
to not be needed. However, now when I look over the code, I see 3 places
that got it right, 1 that was right but I just broke, and a dozen that
don't even try to handle this case.
Also, handling the case is hard; code that adds substvars may be complex
and calculate versioned dependencies. The removal code then has to somehow
also come up with those same exact dependency strings. It's a recipe for
nasty code and maintenance headache even if I went and fixed everything
right now.
Instead, I dropped the whole thing. Many debhelper commands make no
pretense of being idempotent anyway; it's easy and normal to call dh_prep
when starting a binary package build, with the exact purpose of not needing
to worry about idempotency.
I did leave in the delsubstvar function, as well as the option to
addsubstvar that, confusingly, causes an item to be removed. Just for
library compatability reasons.
Joey Hess [Tue, 29 Dec 2009 20:22:33 +0000 (15:22 -0500)]
version misc:Depends if necessary
Joey Hess [Tue, 29 Dec 2009 20:18:34 +0000 (15:18 -0500)]
simplify
Joey Hess [Tue, 29 Dec 2009 20:13:48 +0000 (15:13 -0500)]
consistent indent
Joey Hess [Tue, 29 Dec 2009 20:11:44 +0000 (15:11 -0500)]
dh_installxfonts: Use new update-fonts-alias --include and --exclude options to better handle removal in the case where xfonts-utils is removed before a font package is purged. (#543512; thanks, Theppitak Karoonboonyanan)
Joey Hess [Tue, 29 Dec 2009 20:03:37 +0000 (15:03 -0500)]
typo
Joey Hess [Tue, 15 Dec 2009 21:28:41 +0000 (16:28 -0500)]
dhinstallman: Avoid doubled slashes in path. Closes: #561275
Joey Hess [Tue, 15 Dec 2009 00:36:21 +0000 (19:36 -0500)]
dh(1): Add an example of using an override target to avoid dh running several commands. Closes: #560600
Joey Hess [Tue, 15 Dec 2009 00:23:59 +0000 (19:23 -0500)]
dh(1): Minor rewording of documentation of override commands. Closes: #560421