Steve Langasek [Mon, 17 Jan 2011 09:52:12 +0000 (01:52 -0800)]
dh_installinit: never call init scripts directly, only through invoke-rc.d
Joey Hess [Thu, 13 Jan 2011 22:10:50 +0000 (18:10 -0400)]
update to DEP-5
Joey Hess [Tue, 4 Jan 2011 16:54:03 +0000 (12:54 -0400)]
dh_compress: Ignore objects.inv files, generated by Sphinx documentation. Closes: #608907
Josselin Mouette [Tue, 4 Jan 2011 13:04:41 +0000 (14:04 +0100)]
Ignore objects.inv files, generated by Sphinx documentation
Joey Hess [Wed, 22 Dec 2010 18:49:18 +0000 (14:49 -0400)]
dh_compress: Javascript files are not compressed, as these go with (uncompressed) html files. Closes: #603553
Joey Hess [Tue, 7 Dec 2010 19:53:28 +0000 (15:53 -0400)]
Revert "changelog"
This reverts commit
c91178b5e6d02a057eec471eab4837db1e3a2f6c.
Joey Hess [Tue, 7 Dec 2010 19:53:12 +0000 (15:53 -0400)]
Revert "dh: Add sequence dependencies and satisfy dependencies prior to running sequence"
This reverts commit
c685546d18606fafee2ad9d3a1cb3d90dd7e9d5e.
Caused extra work, and possible FTBFS conditions.
Joey Hess [Tue, 7 Dec 2010 17:50:50 +0000 (13:50 -0400)]
changelog
Roger Leigh [Tue, 23 Nov 2010 18:00:06 +0000 (18:00 +0000)]
dh: Add sequence dependencies and satisfy dependencies prior to running sequence
Add %sequence_deps and invoke recursively prior to examining logs and
running commands in sequence. The supplied dependencies are equivalent
to the following make rules:
build: build-arch build-indep
install: install-arch install-indep
install-arch: build-arch
install-indep: build-indep
binary: binary-arch binary-indep
binary-arch: install-arch
binary-indep: install-indep
In the existing dh command sequences, the binary sequences all included
the corresponding install sequence commands, and in turn the install
sequences all included the corresponding build commands. While this
works, it has a major deficiency. If the "binary" sequence is run, it
will not run the "build" target in debian/rules. This leads to a
situation where building with dpkg-buildpackge, which would typically
invoke "debian/rules build" followed by "debian/rules binary-arch"
and/or "debian/rules debian-indep" may do something different than
just invoking "debian/rules binary" or "dh binary" because the build
target in debian/rules is effectively bypassed. This applies equally
to the -arch and -indep sequence variants.
This change eliminates the duplicated sequence commands, and instead
invokes the appropriate target(s) in debian/rules, as specified in the
%sequence_deps hash. In the common case, the dh sequence by the same
name will be called, so the behaviour is identical. However, this
provides a means to utilise all of the policy-specified targets, plus
the install targets and extend them with additional dependencies and
commands, while still allowing full use of dh and giving identical
behaviour whether dh or debian/rules targets are used.
Signed-off-by: Roger Leigh <rleigh@debian.org>
Roger Leigh [Sat, 27 Nov 2010 11:43:32 +0000 (11:43 +0000)]
dh: Use "architecture independent" rather than "binary independent" for consistency
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Sun, 5 Dec 2010 20:31:06 +0000 (16:31 -0400)]
dh_installdocs: Clarify that debian/README.Debian and debian/TODO are only installed into the first package listed in debian/control. Closes: #606036
Joey Hess [Mon, 22 Nov 2010 23:23:29 +0000 (19:23 -0400)]
dh_listpackages: Do not display warnings if options cause no packages to be listed.
Joey Hess [Mon, 22 Nov 2010 23:03:12 +0000 (19:03 -0400)]
changelog
Roger Leigh [Mon, 22 Nov 2010 20:58:20 +0000 (20:58 +0000)]
dh: Add support for build-arch, build-indep, install-arch and install-indep sequences
The existing binary-arch and binary-indep sequences depend upon these
new sequences, leading to the following possible orders:
binary → install → build
binary-arch → install-arch → build-arch
binary-indep → install-indep → build-indep
This is the logical dependency ordering of the sequences; the actual
order is of course in reverse so that build is followed by install
and binary.
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Mon, 22 Nov 2010 21:54:35 +0000 (17:54 -0400)]
reorder
Joey Hess [Mon, 22 Nov 2010 21:53:22 +0000 (17:53 -0400)]
dh: Improve filtering in dh_listpackages example. Closes: #604561
Roger Leigh [Mon, 22 Nov 2010 21:03:24 +0000 (21:03 +0000)]
dh: Use $(filter) rather than $(findstring)
$(findstring) can match partial strings and so is unreliable when a
package builds several binary packages and one package contains the
name of another package within its name. In these cases,
$(findstring) can return a partial match which leads to problems
(performing unwanted actions which could lead to build failure, for
example).
$(filter) matches the entire string in the wordlist, so is a
reliable replacement for $(findstring).
Signed-off-by: Roger Leigh <rleigh@debian.org>
Joey Hess [Thu, 11 Nov 2010 22:32:58 +0000 (18:32 -0400)]
updated spanish translation after large typography change
Valéry Perrin [Sun, 7 Nov 2010 17:30:24 +0000 (18:30 +0100)]
French translation update after massive man page typography
Signed-off-by: Valéry Perrin <valery.perrin.debian@free.fr>
Joey Hess [Wed, 3 Nov 2010 03:02:16 +0000 (23:02 -0400)]
Fix deprecated command list on translated debhelper(7) man pages. Closes: #601204
Joey Hess [Wed, 3 Nov 2010 02:48:01 +0000 (22:48 -0400)]
dh: Inhibit logging for commands run inside override targets
Note that only the overridden command is inhibited. I wanted to avoid a
behavior change if a rules file runs other debhelper commands inside the
target, and relies on the logging preventing them being run later on in
the sequence.
Joey Hess [Wed, 3 Nov 2010 02:25:18 +0000 (22:25 -0400)]
Explicitly build-depend on a new enough perl-base. Closes: #601188
Joey Hess [Wed, 3 Nov 2010 02:24:24 +0000 (22:24 -0400)]
bugclose
Joey Hess [Wed, 3 Nov 2010 02:24:09 +0000 (22:24 -0400)]
typo
David Prévot [Tue, 19 Oct 2010 22:54:32 +0000 (18:54 -0400)]
Apply manual pages conventions
As advised in man(1), always use: B<bold text> type exactly as shown.
I<italic text> replace with appropriate argument.
s/debian/Debian/ if needed. s/ / / also.
s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
Joey Hess [Wed, 3 Nov 2010 00:10:20 +0000 (20:10 -0400)]
typo
Joey Hess [Tue, 2 Nov 2010 20:24:04 +0000 (16:24 -0400)]
maintscript files
dh_installdeb: Support debian/package.maintscript files, which can contain
dpkg-maintscript-helper commands. This can be used to automate moving or
removing conffiles, or anything added to dpkg-maintscript-helper later on.
Closes: #574443 (Thanks, Colin Watson)
Joey Hess [Wed, 27 Oct 2010 16:49:39 +0000 (12:49 -0400)]
note that the hardcoded arg_max here is obsolete
Joey Hess [Tue, 26 Oct 2010 15:43:22 +0000 (11:43 -0400)]
add file added by recent spanish update
Joey Hess [Thu, 21 Oct 2010 15:10:13 +0000 (11:10 -0400)]
Large update to Spanish man page translations by Omar Campagne. Closes: #600913
Joey Hess [Sun, 17 Oct 2010 23:16:14 +0000 (19:16 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Valéry Perrin [Fri, 15 Oct 2010 15:25:25 +0000 (17:25 +0200)]
Fix french misspelling and strings lenght
Joey Hess [Wed, 29 Sep 2010 20:36:13 +0000 (16:36 -0400)]
Merge branch 'master' of ssh://git.debian.org/git/debhelper/debhelper
Joey Hess [Wed, 29 Sep 2010 20:33:04 +0000 (16:33 -0400)]
stop testing jobserver availability code
Testing this is sensative to what FDs are inherited by the test script.
After the recent fix, it started breaking another way.
Valery Perrin [Sun, 26 Sep 2010 16:40:05 +0000 (18:40 +0200)]
update french translation.
Joey Hess [Mon, 13 Sep 2010 17:04:45 +0000 (13:04 -0400)]
Avoid open fd 5 or 6 breaking buildsystem test suite. Closes: #596679
Joey Hess [Tue, 17 Aug 2010 20:39:28 +0000 (16:39 -0400)]
Man page fixes about what program -u passes params to. Closes: #593342
Joey Hess [Fri, 13 Aug 2010 15:58:25 +0000 (11:58 -0400)]
correct license of dh_installinit
It was GPL 2+ ; Steve added some code and chose to bump the license to GPL 3,
which is his right (and I don't mind), but that code is still mixed with
2+ code, which is now 3+.
Joey Hess [Sat, 7 Aug 2010 15:51:39 +0000 (11:51 -0400)]
python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
(cherry picked from commit
865e6266a5eaae81004bf530bc23da1c3fdc10b1)
Conflicts:
debian/changelog
Joey Hess [Sat, 7 Aug 2010 15:50:07 +0000 (11:50 -0400)]
update
Joey Hess [Sat, 7 Aug 2010 15:49:14 +0000 (11:49 -0400)]
releasing version 8.0.0
Joey Hess [Sat, 7 Aug 2010 15:26:42 +0000 (11:26 -0400)]
Revert "python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759"
This reverts commit
865e6266a5eaae81004bf530bc23da1c3fdc10b1.
Conflicts:
debian/changelog
Too late for 8.0.0 since testing is frozen. Will put back in later.
Joey Hess [Sat, 7 Aug 2010 11:20:20 +0000 (07:20 -0400)]
Finalized v8 mode, which is the new recommended default.
Joey Hess [Sun, 25 Jul 2010 17:40:39 +0000 (13:40 -0400)]
python_distutils: Pass --force to setup.py build, to ensure that when python-dbg is run it does not win and result in scripts having it in the shebang line. Closes: #589759
Carsten Hey [Sun, 18 Jul 2010 20:36:11 +0000 (22:36 +0200)]
Bug#589574: [PATCH] dh_fixperms: Ensure files in /etc/sudoers.d/ are mode 440. Closes: #589574
Signed-off-by: Carsten Hey <carsten@debian.org>
Joey Hess [Wed, 30 Jun 2010 18:44:16 +0000 (14:44 -0400)]
releasing version 7.9.3
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. :)