Joey Hess [Sun, 1 Mar 2009 01:02:00 +0000 (20:02 -0500)]
Merge branch 'dh_overrides'
Conflicts:
debian/changelog
Joey Hess [Sun, 1 Mar 2009 00:58:54 +0000 (19:58 -0500)]
releasing version 7.0.52
Joey Hess [Sun, 1 Mar 2009 00:52:33 +0000 (19:52 -0500)]
dh: Fix make parsing to not be broken by locale settings. Closes: #517617
Joey Hess [Sat, 28 Feb 2009 18:28:24 +0000 (13:28 -0500)]
Merge branch 'dh_overrides'
Conflicts:
debian/changelog
Joey Hess [Sat, 28 Feb 2009 18:25:30 +0000 (13:25 -0500)]
releasing version 7.0.51
Joey Hess [Sat, 28 Feb 2009 18:22:25 +0000 (13:22 -0500)]
dh: Man page typo. Closes: #517549, #517550
Joey Hess [Sat, 28 Feb 2009 18:21:48 +0000 (13:21 -0500)]
dh: Man page typo. Closes: #517549
Joey Hess [Fri, 27 Feb 2009 20:42:01 +0000 (15:42 -0500)]
releasing version 7.2.0
Joey Hess [Fri, 27 Feb 2009 20:29:43 +0000 (15:29 -0500)]
Merge branch 'dh_overrides'
Conflicts:
Debian/Debhelper/Dh_Getopt.pm
debian/changelog
Joey Hess [Fri, 27 Feb 2009 20:25:59 +0000 (15:25 -0500)]
finalize
Joey Hess [Fri, 27 Feb 2009 20:22:34 +0000 (15:22 -0500)]
fix option parsing sideport
Joey Hess [Fri, 27 Feb 2009 20:17:55 +0000 (15:17 -0500)]
add changelog entry
Joey Hess [Thu, 19 Feb 2009 23:40:59 +0000 (18:40 -0500)]
remove -B from examples for now
There is some concern that passing -B to make may violate debian policy.
<eyeroll>
(cherry picked from commit
09090c86ea099008990bc5a9a14e1ac35bb1e584)
Joey Hess [Tue, 17 Feb 2009 18:35:46 +0000 (13:35 -0500)]
use Dh_Lib write_log
(cherry picked from commit
9d700975929417fe72bf46271c694ccb09d1c905)
Joey Hess [Tue, 17 Feb 2009 17:50:42 +0000 (12:50 -0500)]
use -Bf in all examples
(cherry picked from commit
8cdac50db64b2f2d6aacdcfc4683fdcf79cee629)
Joey Hess [Tue, 17 Feb 2009 17:45:58 +0000 (12:45 -0500)]
can use a hyphen here
(cherry picked from commit
057cdfd0ff9f4bc6f7c07cf4968a2ef52a59d0c0)
Joey Hess [Tue, 17 Feb 2009 17:44:58 +0000 (12:44 -0500)]
document how to use python-central
(cherry picked from commit
dc45c6f8c748ed57527d1aeb286f0db571308ec2)
Joey Hess [Tue, 17 Feb 2009 17:33:57 +0000 (12:33 -0500)]
make dh override_dh_* a no-op
This happens if the override target is completly empty.
Make sees it is, and runs the implicit dh target.
(cherry picked from commit
86fbd6038ee5b7222efa774751fcceedeffedfc2)
Joey Hess [Fri, 27 Feb 2009 20:12:58 +0000 (15:12 -0500)]
dh: Support debian/rules calling make with -B
That is useful to avoid issues with phony implicit rules
(see bug #509756).
Apparently make treats the name of the Makfile as an automaticall
set up target, so this causes it to try to build the Makefile
even though it's up-to-date, and the implicit target
makes it run 'dh debian/rules'.
So, make that a no-op.
(cherry picked from commit
378b377ef732119de4c2a08dcb9721500b017da1)
Conflicts:
debian/changelog
dh
Joey Hess [Tue, 17 Feb 2009 05:53:22 +0000 (00:53 -0500)]
misc minor cleanups of patch
(cherry picked from commit
ae4994f07656deb47ffc55b8ebd4668c158b9333)
Modestas Vainius [Mon, 16 Feb 2009 22:56:04 +0000 (00:56 +0200)]
Smart debian/rules parser for dh.
This parser is based on the output which make -p emits. It's a bit
more slower due to the need to run make itself but it is not dumb.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
(cherry picked from commit
3d774a91dd355f8236c63bd81fc4dfe5fa88219d)
Joey Hess [Fri, 27 Feb 2009 20:11:25 +0000 (15:11 -0500)]
dh override targets
* dh: debian/rules override targets can change what is run
for a specific debhelper command in a sequence.
* dh: Redid all the examples to use override targets, since these
eliminate all annoying boilerplate and are much easier to understand
than the old method.
* Remove rules.simple example, there's no need to use explcit targets
with dh anymore.
(cherry picked from commit
0f3f59fe6058edfda4010dc88bd3b8aa3ae70a6d)
Conflicts:
Debian/Debhelper/Dh_Getopt.pm
Debian/Debhelper/Dh_Lib.pm
debian/changelog
dh
Joey Hess [Mon, 16 Feb 2009 02:51:12 +0000 (21:51 -0500)]
Joey Hess [Fri, 27 Feb 2009 20:04:03 +0000 (15:04 -0500)]
update
Joey Hess [Mon, 23 Feb 2009 18:31:11 +0000 (13:31 -0500)]
dh_gencontrol: No longer need to generate the udeb filename when calling dpkg-gencontrol.
* dh_gencontrol: No longer need to generate the udeb filename
when calling dpkg-gencontrol.
* dh_gencontrol: Do not need to tell dpkg-gencontol not to
include the Homepage field in udebs (fixed in dpkg-dev 1.14.17).
Joey Hess [Mon, 23 Feb 2009 18:27:22 +0000 (13:27 -0500)]
Depend on dpkg-dev 1.14.19, the first to support Package-Type fields in dpkg-gencontrol.
Joey Hess [Sun, 22 Feb 2009 02:59:31 +0000 (21:59 -0500)]
Improve error messages when child commands fail.
Joey Hess [Thu, 19 Feb 2009 23:40:59 +0000 (18:40 -0500)]
remove -B from examples for now
There is some concern that passing -B to make may violate debian policy.
<eyeroll>
Joey Hess [Tue, 17 Feb 2009 18:35:46 +0000 (13:35 -0500)]
use Dh_Lib write_log
Joey Hess [Tue, 17 Feb 2009 17:51:14 +0000 (12:51 -0500)]
use -BF here too
Joey Hess [Tue, 17 Feb 2009 17:50:42 +0000 (12:50 -0500)]
use -Bf in all examples
Joey Hess [Tue, 17 Feb 2009 17:45:58 +0000 (12:45 -0500)]
can use a hyphen here
Joey Hess [Tue, 17 Feb 2009 17:44:58 +0000 (12:44 -0500)]
document how to use python-central
Joey Hess [Tue, 17 Feb 2009 17:33:57 +0000 (12:33 -0500)]
make dh override_dh_* a no-op
This happens if the override target is completly empty.
Make sees it is, and runs the implicit dh target.
Joey Hess [Tue, 17 Feb 2009 17:21:01 +0000 (12:21 -0500)]
dh: Support debian/rules calling make with -B
That is useful to avoid issues with phony implicit rules
(see bug #509756).
Apparently make treats the name of the Makfile as an automaticall
set up target, so this causes it to try to build the Makefile
even though it's up-to-date, and the implicit target
makes it run 'dh debian/rules'.
So, make that a no-op.
Joey Hess [Tue, 17 Feb 2009 05:53:22 +0000 (00:53 -0500)]
misc minor cleanups of patch
Modestas Vainius [Mon, 16 Feb 2009 22:56:04 +0000 (00:56 +0200)]
Smart debian/rules parser for dh.
This parser is based on the output which make -p emits. It's a bit
more slower due to the need to run make itself but it is not dumb.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Joey Hess [Mon, 16 Feb 2009 19:55:55 +0000 (14:55 -0500)]
dh override targets
* dh: debian/rules override targets can change what is run
for a specific debhelper command in a sequence.
* dh: Redid all the examples to use override targets, since these
eliminate all annoying boilerplate and are much easier to understand
than the old method.
* Remove rules.simple example, there's no need to use explcit targets
with dh anymore.
Joey Hess [Mon, 16 Feb 2009 02:51:12 +0000 (21:51 -0500)]
wording
Joey Hess [Sun, 15 Feb 2009 19:29:32 +0000 (14:29 -0500)]
no, -V was retained
Joey Hess [Sun, 15 Feb 2009 19:23:05 +0000 (14:23 -0500)]
update
Jan Dittberner [Wed, 4 Feb 2009 06:50:57 +0000 (07:50 +0100)]
fix spelling mistake in dh_prep
Joey Hess [Mon, 2 Feb 2009 18:38:11 +0000 (13:38 -0500)]
dh_gconf: Support mandatory settings. Closes: #513923
Joey Hess [Tue, 30 Dec 2008 18:30:10 +0000 (13:30 -0500)]
debhelper.pod: Fix typo. Closes: #510180
Joey Hess [Thu, 25 Dec 2008 21:27:10 +0000 (16:27 -0500)]
dh: Fix typo. Closes: #509754
Joey Hess [Mon, 15 Dec 2008 04:25:56 +0000 (23:25 -0500)]
releasing version 7.1.1
Joey Hess [Mon, 15 Dec 2008 03:13:32 +0000 (22:13 -0500)]
Ignore unknown options in DH_OPTIONS. Debhelper will always ignore such options, even when unknown command-line options are converted back to an error. This allows (ab)using DH_OPTIONS to pass command-specific options. (Note that getopt will warn about such unknown options. Eliminating this warning without reimplementing much of Getopt::Long wasn't practical.)
Joey Hess [Thu, 4 Dec 2008 17:38:24 +0000 (12:38 -0500)]
Add Vcs-Browser field. Closes: #507804
Joey Hess [Thu, 6 Nov 2008 20:36:34 +0000 (15:36 -0500)]
Fix some docs that refered to --srcdir rather than --sourcedir. Closes: #504742
Joey Hess [Mon, 3 Nov 2008 23:50:44 +0000 (18:50 -0500)]
dh_install(1): Order options alphabetically. Closes:# 503896
Jari Aalto [Wed, 29 Oct 2008 06:41:31 +0000 (08:41 +0200)]
dh_install: Order options alphabetically
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Joey Hess [Fri, 31 Oct 2008 17:19:04 +0000 (13:19 -0400)]
typo
Joey Hess [Tue, 21 Oct 2008 19:02:16 +0000 (15:02 -0400)]
fix wording for when there are multiple options
Joey Hess [Tue, 21 Oct 2008 18:59:59 +0000 (14:59 -0400)]
releasing version 7.1.0
Joey Hess [Tue, 21 Oct 2008 18:51:04 +0000 (14:51 -0400)]
include dh in syntax check
Joey Hess [Tue, 21 Oct 2008 18:50:27 +0000 (14:50 -0400)]
Move many command-specific options to only be accepted by the command that uses them.
Affected options are: -x, -r, -R, -l, -L, -m, --include-conffiles,
--no-restart-on-upgrade, --no-start, --restart-after-upgrade,
--init-script, --filename, --flavor, --autodest, --libpackage, --add-udeb,
--dpkg-shlibdeps-params, --dpkg-gencontrol-params, --update-rcd-params,
--major, --remove-d, --dirs-only, --keep-debug, --version-info,
--list-missing, --fail-missing, --language, --until, --after, --before,
--remaining, --with
* If any third-party debhelper commands use any of the above options,
they will be broken, and need to be changed to pass options to init().
* To avoid breaking rules files that pass options to commands that do not
use them, debhelper will now only warn if it encounters an unknown
option. This will be converted back to an error later.
Joey Hess [Tue, 21 Oct 2008 18:00:09 +0000 (14:00 -0400)]
Allow individual debhelper programs to define their own special options by passing a hash to init(), which is later passed on the Getopt::Long. Closes: #370823
Joey Hess [Wed, 1 Oct 2008 21:32:57 +0000 (17:32 -0400)]
dh: Fix typo in example. Closes: #500836
Joey Hess [Fri, 12 Sep 2008 18:18:03 +0000 (14:18 -0400)]
dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg complaining about it when it's empty. Closes: #498666
Joey Hess [Wed, 10 Sep 2008 17:58:42 +0000 (13:58 -0400)]
dh_installchangelogs: Fall back to looking for changelog files ending with ".txt". Closes: #498460
Joey Hess [Sat, 23 Aug 2008 02:31:58 +0000 (22:31 -0400)]
releasing version 7.0.17
Joey Hess [Sat, 23 Aug 2008 02:18:10 +0000 (22:18 -0400)]
dh_auto_install: Improve check for MakeMaker, to avoid passing PREFIX if the Makefile was generated by Module::Build::Compat. Closes: #496157
Joey Hess [Thu, 31 Jul 2008 16:27:13 +0000 (12:27 -0400)]
typos
Joey Hess [Thu, 31 Jul 2008 16:26:49 +0000 (12:26 -0400)]
Typo. Closes: #493062
Frank Lichtenheld [Thu, 31 Jul 2008 02:39:42 +0000 (04:39 +0200)]
dh_auto_install: Still contained copy&paste doc from dh_auto_clean
740128be21fda69c6ee4653f7dd13bd707aec39e didn't get all the
leftovers.
Joey Hess [Mon, 28 Jul 2008 16:10:13 +0000 (12:10 -0400)]
dh_gencontrol: Drop the Homepage field from udebs. Closes: #492719
Cyril Brulebois [Mon, 28 Jul 2008 03:02:46 +0000 (05:02 +0200)]
Fix typo in French translation, about debian/package.README.Debian files.
Per Olofsson [Wed, 23 Jul 2008 08:59:52 +0000 (10:59 +0200)]
dh_auto_install: Fix man page, was referring to dh_auto_clean.
Joey Hess [Sat, 19 Jul 2008 19:36:32 +0000 (15:36 -0400)]
releasing version 7.0.16
Joey Hess [Tue, 15 Jul 2008 16:29:32 +0000 (12:29 -0400)]
dh_installchangelogs: When searching for changelog in v7 mode, skip empty files. Closes: #490937
Joey Hess [Tue, 15 Jul 2008 00:36:07 +0000 (20:36 -0400)]
dh: Avoid passing --with on to subcommands. Closes: #490886
Joey Hess [Wed, 9 Jul 2008 20:17:14 +0000 (16:17 -0400)]
releasing version 7.0.15
Joey Hess [Tue, 8 Jul 2008 17:51:02 +0000 (13:51 -0400)]
dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918
Joey Hess [Sat, 5 Jul 2008 12:25:05 +0000 (08:25 -0400)]
releasing version 7.0.14
Joey Hess [Sat, 5 Jul 2008 12:23:28 +0000 (08:23 -0400)]
Load python-support sequence file first, to allow ones loaded later to disable it.
Joey Hess [Wed, 25 Jun 2008 16:28:28 +0000 (12:28 -0400)]
dh_auto_install: Rather than looking at the number of binary packages being acted on, look at the total number of binary packages in the source package when deciding whether to install to debian/package or debian/tmp. This avoids inconsistencies when building mixed arch all+any packages using the binary-indep and binary-arch targets. Closes: #487938
Joey Hess [Wed, 25 Jun 2008 07:38:09 +0000 (03:38 -0400)]
releasing version 7.0.12
Joey Hess [Wed, 25 Jun 2008 07:36:50 +0000 (03:36 -0400)]
Correct docs about dh_install and debian/tmp in v7 mode
* Correct docs about dh_install and debian/tmp in v7 mode. It first looks in
the current directory, or whatever is configured with --srcdir. Then it
always falls back to looking in debian/tmp.
* Medium urgency to get this doc fix into testing.
Joey Hess [Thu, 19 Jun 2008 23:18:33 +0000 (19:18 -0400)]
update
Joey Hess [Mon, 16 Jun 2008 23:56:46 +0000 (19:56 -0400)]
releasing version 7.0.11
Joey Hess [Mon, 16 Jun 2008 16:39:20 +0000 (12:39 -0400)]
Typo fix. Closes: #486464
Joey Hess [Mon, 16 Jun 2008 04:11:55 +0000 (00:11 -0400)]
lintian winges
Joey Hess [Mon, 16 Jun 2008 04:06:45 +0000 (00:06 -0400)]
Add a build dependency on file. The rules file now runs dh_strip and dh_shlibdeps, which both use it. (It could be changed not to, but it's good to have it run all the commands as a test.) Closes: #486439
Joey Hess [Sun, 15 Jun 2008 17:31:20 +0000 (13:31 -0400)]
Add stamp files to example rules targets. Closes: #486327
Joey Hess [Sun, 8 Jun 2008 16:22:02 +0000 (12:22 -0400)]
dh: Man page fix. Closes: #485116
Joey Hess [Fri, 6 Jun 2008 15:50:38 +0000 (11:50 -0400)]
releasing version 7.0.10
Joey Hess [Fri, 6 Jun 2008 15:46:30 +0000 (11:46 -0400)]
dh_compress: Do not compress index.sgml files, as generated by gtk-doc. Closes: #484772
Joey Hess [Mon, 19 May 2008 16:51:08 +0000 (12:51 -0400)]
releasing version 7.0.9
Joey Hess [Mon, 19 May 2008 16:44:56 +0000 (12:44 -0400)]
dh_auto_clean: setup.py clean can create pyc files. Remove. Closes: #481899
Joey Hess [Mon, 19 May 2008 16:40:36 +0000 (12:40 -0400)]
type fix
Joey Hess [Mon, 19 May 2008 16:39:02 +0000 (12:39 -0400)]
dh: Add remove_command to the sequence interface.
Joey Hess [Thu, 8 May 2008 18:22:55 +0000 (14:22 -0400)]
dh: Typo fixes. Closes: #480200
Joey Hess [Thu, 8 May 2008 17:19:32 +0000 (13:19 -0400)]
haha, typo
Joey Hess [Thu, 8 May 2008 17:02:19 +0000 (13:02 -0400)]
dh: fix POS error. Closes: #480191
Joey Hess [Thu, 8 May 2008 04:05:30 +0000 (00:05 -0400)]
dh_installinit: Add --restart-after-upgrade, which avoids stopping a daemon in the prerm, and instead restarts it in the postinst, keeping its downtime minimal. Since some daemons could break if files are upgraded while they're running, it's not the default. It might become the default in a future (v8) compatability level. Closes: #471060
Joey Hess [Mon, 5 May 2008 22:53:24 +0000 (18:53 -0400)]
rules.tiny: Typo fix. Closes: #479647
Joey Hess [Sun, 4 May 2008 20:12:55 +0000 (16:12 -0400)]
dh addon interface
* dh: Add an interface that third-party packages providing debhelper commands
can use to insert them into a command sequence.
(See dh(1), "SEQUENCE ADDONS".)
* dh: --with=foo can be used to include such third-party commands.
So, for example, --with=cli could add the dh_cli* commands from
cli-common.
* Moved python-support special case out of dh and into a python-support
sequence addon. --with=python-support is enabled by default to avoid
breaking backwards compatability.
Joey Hess [Sun, 4 May 2008 17:48:52 +0000 (13:48 -0400)]
dh_installxfonts: Fix precidence problem that exposes a new warning message in perl 5.10.
Joey Hess [Sat, 3 May 2008 17:00:03 +0000 (13:00 -0400)]
releasing version 7.0.6
Joey Hess [Sat, 3 May 2008 16:58:49 +0000 (12:58 -0400)]
dh_auto_test: Correct Module::Build tests.