diff -Nru debhelper-7.0.17ubuntu4/autoscripts/postinst-desktop debhelper-7.3.15ubuntu3/autoscripts/postinst-desktop --- debhelper-7.0.17ubuntu4/autoscripts/postinst-desktop 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then - update-desktop-database -q -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-doc-base /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-doc-base --- debhelper-7.0.17ubuntu4/autoscripts/postinst-doc-base 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-doc-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then - install-docs -i /usr/share/doc-base/#DOC-ID# -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-gconf-defaults /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-gconf-defaults --- debhelper-7.0.17ubuntu4/autoscripts/postinst-gconf-defaults 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-gconf-defaults 2009-08-11 17:47:39.000000000 +0100 @@ -1,3 +1,3 @@ if [ "$1" = "configure" ] && which update-gconf-defaults >/dev/null 2>&1; then - update-gconf-defaults + update-gconf-defaults #OPT# fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-info /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-info --- debhelper-7.0.17ubuntu4/autoscripts/postinst-info 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-info 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = "configure" ]; then - install-info --quiet #FILE# -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-modules-preserve /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-modules-preserve --- debhelper-7.0.17ubuntu4/autoscripts/postinst-modules-preserve 2009-03-05 11:26:27.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-modules-preserve 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -if [ "$1" = "configure" ]; then - if [ -e "#OLD#" ]; then - echo "Preserving user changes to #NEW# ..." - if [ -e "#NEW#" ]; then - mv -f "#NEW#" "#NEW#.dpkg-new" - fi - mv -f "#OLD#" "#NEW#" - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-moveconffile /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-moveconffile --- debhelper-7.0.17ubuntu4/autoscripts/postinst-moveconffile 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-moveconffile 2009-08-11 17:47:39.000000000 +0100 @@ -0,0 +1,9 @@ +if [ "$1" = configure ]; then + if [ -e "#OLD#" ]; then + echo "Preserving user changes to #NEW# ..." + if [ -e "#NEW#" ]; then + mv -f "#NEW#" "#NEW#.dpkg-new" + fi + mv -f "#OLD#" "#NEW#" + fi +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-reboot-required /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-reboot-required --- debhelper-7.0.17ubuntu4/autoscripts/postinst-reboot-required 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-reboot-required 2009-09-10 13:52:16.000000000 +0100 @@ -0,0 +1,3 @@ +if [ -x /usr/share/update-notifier/notify-reboot-required ]; then + /usr/share/update-notifier/notify-reboot-required || #ERROR_HANDLER# +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-scrollkeeper /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-scrollkeeper --- debhelper-7.0.17ubuntu4/autoscripts/postinst-scrollkeeper 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-scrollkeeper 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = "configure" ] && which scrollkeeper-update >/dev/null 2>&1; then - scrollkeeper-update -q -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-udev /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-udev --- debhelper-7.0.17ubuntu4/autoscripts/postinst-udev 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-udev 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -if [ "$1" = configure ]; then - if [ -e "#OLD#" ]; then - echo "Preserving user changes to #RULE# ..." - if [ -e "#RULE#" ]; then - mv -f "#RULE#" "#RULE#.dpkg-new" - fi - mv -f "#OLD#" "#RULE#" - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-udev-preserve /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-udev-preserve --- debhelper-7.0.17ubuntu4/autoscripts/postinst-udev-preserve 2009-01-06 18:01:53.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-udev-preserve 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -if [ "$1" = configure ]; then - if [ -e "#OLD#" ]; then - echo "Preserving user changes to #RULE# ..." - mv -f "#OLD#" "#RULE#" - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart --- debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart 2009-09-30 21:46:58.000000000 +0100 @@ -0,0 +1,4 @@ +if [ -e "/etc/init/#JOB#.conf" ]; then + # start fails if already running + start #JOB# || : +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart-replace /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart-replace --- debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart-replace 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart-replace 2009-08-27 11:13:42.000000000 +0100 @@ -0,0 +1 @@ +update-rc.d -f #SCRIPT# remove >/dev/null || #ERROR_HANDLER# diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart-restart /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart-restart --- debhelper-7.0.17ubuntu4/autoscripts/postinst-upstart-restart 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/postinst-upstart-restart 2009-09-30 21:44:39.000000000 +0100 @@ -0,0 +1,8 @@ +if [ -x "/etc/init.d/#JOB#" ]; then + if [ -n "$2" ]; then + _dh_action=restart + else + _dh_action=start + fi + invoke-rc.d #JOB# $_dh_action || #ERROR_HANDLER# +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postrm-desktop /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postrm-desktop --- debhelper-7.0.17ubuntu4/autoscripts/postrm-desktop 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postrm-desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then - update-desktop-database -q -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postrm-gconf /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postrm-gconf --- debhelper-7.0.17ubuntu4/autoscripts/postrm-gconf 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postrm-gconf 1970-01-01 01:00:00.000000000 +0100 @@ -1,10 +0,0 @@ -if [ "$1" = purge ]; then - OLD_DIR=/etc/gconf/schemas - SCHEMA_FILES="#SCHEMAS#" - if [ -d $OLD_DIR ]; then - for SCHEMA in $SCHEMA_FILES; do - rm -f $OLD_DIR/$SCHEMA - done - rmdir -p --ignore-fail-on-non-empty $OLD_DIR - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postrm-gconf-defaults /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postrm-gconf-defaults --- debhelper-7.0.17ubuntu4/autoscripts/postrm-gconf-defaults 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postrm-gconf-defaults 2009-08-11 17:47:39.000000000 +0100 @@ -1,3 +1,3 @@ if which update-gconf-defaults >/dev/null 2>&1; then - update-gconf-defaults + update-gconf-defaults #OPT# fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/postrm-scrollkeeper /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/postrm-scrollkeeper --- debhelper-7.0.17ubuntu4/autoscripts/postrm-scrollkeeper 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/postrm-scrollkeeper 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = "remove" ] && which scrollkeeper-update >/dev/null 2>&1; then - scrollkeeper-update -q -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/preinst-modules-preserve /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/preinst-modules-preserve --- debhelper-7.0.17ubuntu4/autoscripts/preinst-modules-preserve 2009-03-05 11:26:22.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/preinst-modules-preserve 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -if [ "$1" = install ] || [ "$1" = upgrade ]; then - if [ -e "#OLD#" ]; then - if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \ - "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD#'s/.* //p\"`" ] - then - rm -f "#OLD#" - fi - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/preinst-moveconffile /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/preinst-moveconffile --- debhelper-7.0.17ubuntu4/autoscripts/preinst-moveconffile 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/preinst-moveconffile 2009-08-11 17:47:39.000000000 +0100 @@ -0,0 +1,9 @@ +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "#OLD#" ]; then + if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \ + "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD# '{s/ obsolete$//;s/.* //p}\"`" ] + then + rm -f "#OLD#" + fi + fi +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/preinst-removeconffile /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/preinst-removeconffile --- debhelper-7.0.17ubuntu4/autoscripts/preinst-removeconffile 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/preinst-removeconffile 2009-09-08 20:03:54.000000000 +0100 @@ -0,0 +1,12 @@ +if [ "$1" = install ] || [ "$1" = upgrade ]; then + if [ -e "#OLD#" ] && [ ! -L "#OLD#" ]; then + if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" != \ + "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD# '{s/ obsolete$//;s/.* //p}\"`" ] + then + echo "Obsolete conffile #OLD# has been modified by you, renaming to .dpkg-bak" + mv -f "#OLD#" "#OLD#.dpkg-bak" + else + rm -f "#OLD#" + fi + fi +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/preinst-udev /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/preinst-udev --- debhelper-7.0.17ubuntu4/autoscripts/preinst-udev 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/preinst-udev 1970-01-01 01:00:00.000000000 +0100 @@ -1,12 +0,0 @@ -if [ "$1" = install ] || [ "$1" = upgrade ]; then - if [ -e "#OLD#" ]; then - if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \ - "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD#'s/.* //p\"`" ] - then - rm -f "#OLD#" - fi - fi - if [ -L "#RULE#" ]; then - rm -f "#RULE#" - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/preinst-udev-preserve /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/preinst-udev-preserve --- debhelper-7.0.17ubuntu4/autoscripts/preinst-udev-preserve 2009-01-06 17:59:07.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/preinst-udev-preserve 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -if [ "$1" = install ] || [ "$1" = upgrade ]; then - if [ -e "#OLD#" ]; then - if [ "`md5sum \"#OLD#\" | sed -e \"s/ .*//\"`" = \ - "`dpkg-query -W -f='${Conffiles}' #PACKAGE# | sed -n -e \"\\\\' #OLD#'s/.* //p\"`" ] - then - rm -f "#OLD#" - fi - fi -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/prerm-doc-base /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/prerm-doc-base --- debhelper-7.0.17ubuntu4/autoscripts/prerm-doc-base 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/prerm-doc-base 1970-01-01 01:00:00.000000000 +0100 @@ -1,4 +0,0 @@ -if [ "$1" = remove ] || [ "$1" = upgrade ] && \ - which install-docs >/dev/null 2>&1; then - install-docs -r #DOC-ID# -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/prerm-info /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/prerm-info --- debhelper-7.0.17ubuntu4/autoscripts/prerm-info 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/autoscripts/prerm-info 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -if [ "$1" = remove ] || [ "$1" = upgrade ]; then - install-info --quiet --remove #FILE# -fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/prerm-upstart /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/prerm-upstart --- debhelper-7.0.17ubuntu4/autoscripts/prerm-upstart 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/prerm-upstart 2009-09-08 20:02:10.000000000 +0100 @@ -0,0 +1,4 @@ +if [ -e "/etc/init/#JOB#.conf" ]; then + # stop fails if not running + stop #JOB# || : +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/autoscripts/prerm-upstart-norestart /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/autoscripts/prerm-upstart-norestart --- debhelper-7.0.17ubuntu4/autoscripts/prerm-upstart-norestart 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/autoscripts/prerm-upstart-norestart 2009-09-08 20:02:19.000000000 +0100 @@ -0,0 +1,4 @@ +if [ -e "/etc/init/#JOB#.conf" ] && [ "$1" = remove ]; then + # stop fails if not running + stop #JOB# || : +fi diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/debhelper.pod /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/debhelper.pod --- debhelper-7.0.17ubuntu4/debhelper.pod 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/debhelper.pod 2009-08-15 01:10:24.000000000 +0100 @@ -62,9 +62,10 @@ file can be found. In some rare cases, you may want to have different versions of these files -for different architectures. If files named debian/package.foo.arch -exist, where "arch" is the same as the output of -"dpkg-architecture -qDEB_HOST_ARCH", +for different architectures or OSes. If files named debian/package.foo.ARCH +or debian/package.foo.OS exist, where "ARCH" and "OS" are the same as the +output of "dpkg-architecture -qDEB_HOST_ARCH" / +"dpkg-architecture -qDEB_HOST_ARCH_OS", then they will be used in preference to other, more general files. In many cases, these config files are used to specify various types of @@ -118,6 +119,14 @@ Do not act on the specified package even if an -a, -i, or -p option lists the package as one that should be acted on. +=item B<--remaining-packages> + +Do not act on the packages which have already been acted on by this debhelper +command earlier (i.e. if the command is present in the package debhelper log). +For example, if you need to call the command with special options only for a +couple of binary packages, pass this option to the last call of the command to +process the rest of packages with default settings. + =item B<--ignore=>I Ignore the specified file. This can be used if debian/ contains a debhelper @@ -165,6 +174,50 @@ =back +=head1 BUILD SYSTEM OPTIONS + +The following command line options are supported by all of the dh_auto_* +debhelper programs. These programs support a variety of build systems, +and normally heuristically determine which to use, and how to use them. +You can use these command line options to override the default behavior. + +=over 4 + +=item B<-S>I, B<--buildsystem=>I + +Force use of the specified I, instead of trying to auto-select +one which might be applicable for the package. + +=item B<-D>I, B<--sourcedirectory=>I + +Assume that the original package source tree is at the specified +I rather than the top level directory of the Debian +source package tree. + +=item B<-B>[I], B<--builddirectory>=[I] + +Enable out of source building and use the specified I as the build +directory. If I parameter is omitted, a default build directory +will chosen. + +If this option is not specified, building will be done in source by default +unless the build system requires or prefers out of source tree building. +In such a case, the default build directory will be used even if +L<--builddirectory> is not specified. + +If the build system prefers out of source tree building but still +allows in source building, the latter can be re-enabled by passing a build +directory path that is the same as the source directory path. + +=item B<--list>, B<-l> + +List all build systems supported by debhelper on this system. The list +includes both default and third party build systems (marked as such). Also +shows which build system would be automatically selected, or which one +is manually specified with the I<--buildsystem> option. + +=back + =head1 NOTES =head2 Multiple binary package support @@ -333,6 +386,8 @@ =back +This mode is deprecated. + =item V5 Changes from V4 are: @@ -366,8 +421,8 @@ =item - -Commands that generate maintainer script fragements will order the -fragements in reverse order for the prerm and postrm scripts. +Commands that generate maintainer script fragments will order the +fragments in reverse order for the prerm and postrm scripts. =item - @@ -400,7 +455,7 @@ dh_install, will fall back to looking for files in debian/tmp if it doesn't find them in the current directory (or wherever you tell it look using ---srcdir). This allows dh_install to interoperate with dh_auto_install, +--sourcedir). This allows dh_install to interoperate with dh_auto_install, which installs to debian/tmp, without needing any special parameters. =item - @@ -477,10 +532,13 @@ =item DH_OPTIONS Anything in this variable will be prepended to the command line arguments -of all debhelper commands. This is useful in some situations, for example, -if you need to pass -p to all debhelper commands that will be run. One good -way to set DH_OPTIONS is by using "Target-specific Variable Values" in your -debian/rules file. See the make documentation for details on doing this. +of all debhelper commands. Command-specific options will be ignored by +commands that do not support them. + +This is useful in some situations, for example, if you need to pass -p to +all debhelper commands that will be run. One good way to set DH_OPTIONS is +by using "Target-specific Variable Values" in your debian/rules file. See +the make documentation for details on doing this. =item DH_ALWAYS_EXCLUDE diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/debian/changelog /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/debian/changelog --- debhelper-7.0.17ubuntu4/debian/changelog 2009-03-09 15:36:39.000000000 +0000 +++ debhelper-7.3.15ubuntu3/debian/changelog 2009-12-12 22:12:10.000000000 +0000 @@ -1,38 +1,549 @@ -debhelper (7.0.17ubuntu4) jaunty; urgency=low +debhelper (7.3.15ubuntu3-xbmc6) jaunty; urgency=high - * dh_auto_install: add "--install-layout=deb" to setup.py install calls. + * Backport debhelper to xbmc build dependencies - -- Michael Bienia Mon, 09 Mar 2009 16:17:31 +0100 + -- Ouattara Oumar Aziz (alias wattazoum) Sat, 12 Dec 2009 23:08:58 +0100 -debhelper (7.0.17ubuntu3) jaunty; urgency=low +debhelper (7.3.15ubuntu3) karmic; urgency=low - * dh_installmodules: Install files to /etc/modprobe.d/*.conf, and move the - file from /etc/modprobe.d/* if it exists and is changed (otherwise - remove before upgrade). + * dh_installinit: + - Create the upstart-job symlink even when --upstart-only is called, + since this simplifies implementation of... + - --restart-after-upgrade: we can't use the upstart 'restart' command here + because this will give wrong behavior if we're adding a new job to an + existing package; instead just use the standard invoke-rc.d snippet, + which (combined with the above) will at least give us compatibility + with policy-rc.d for preventing stopped jobs from starting on upgrade. + (N.B.: prerm scripts could also safely reuse the invoke-rc.d handling + instead of calling 'stop' directly, but leaving this alone for now + because the current behavior is only minorly buggy.) + - Drop unnecessary UPSTART_ONLY check; --upstart-only should never be set + without having an upstart job so this is redundant. + - postinst-reboot-required is never the right snippet to include here. + - Merge in the final changes to the upstartification as accepted into + debhelper upstream, dropping the --onlyscripts-upstart option from + the documentation but mapping it to --onlyscripts for compatibility in + karmic. + * autoscript/postinst-upstart: typo fix. + + -- Steve Langasek Wed, 30 Sep 2009 13:57:14 -0700 + +debhelper (7.3.15ubuntu2) karmic; urgency=low + + FFE LP: #427356. + + * dh_installinit: handle upstart job files in preference over init + scripts, supplying appropriate maintainer scripts to stop, start or + restart the jobs over upgrades. + - currently unlike init scripts, these accept failures because Upstart + considers "start when already running" failure. + * dh_installinit: --upstart-only will not include maintainer script code + to replace an init script with an upstart job, otherwise a compatibilty + symlink to /lib/init/upstart-job is left in its place - -- Scott James Remnant Thu, 05 Mar 2009 11:26:43 +0000 + -- Scott James Remnant Tue, 15 Sep 2009 03:32:13 +0100 -debhelper (7.0.17ubuntu2) jaunty; urgency=low +debhelper (7.3.15ubuntu1) karmic; urgency=low - * dh_installudev: Default priority is now 40 by default, and the target - directory is now /lib/udev/rules.d. Remove files from /etc/udev/rules.d - unless they are user modified; if modified and of default priority, - take care to rename. + * Resynchronise with Debian. Remaining changes: + - dh_installudev: Default priority is now 40 by default. + - dh_installudev: Handle conffile migration from old Ubuntu defaults + (needed until after the next LTS release). + + -- Colin Watson Tue, 25 Aug 2009 11:10:18 +0100 + +debhelper (7.3.15) unstable; urgency=low + + * dh_installudev: Install rules files into new location + /lib/udev/rules.d/ + * dh_installudev: Add code to delete old conffiles unless + they're modified, and in that case, rename them to override + the corresponding file in /lib/udev. (Based on patch by + Martin Pitt.) (Note that this file will not be deleted on purge -- + I can't see a good way to determine when it's appropriate to do + that.) + * dh_installudev: Set default priority to 60; dropping the "z". + If --priority=zNN is passed, treat that as priority NN. + * Above Closes: #491117 + * dh_installudev: Drop code handling move of /etc/udev/foo into + /etc/udev/rules.d/. - -- Scott James Remnant Tue, 06 Jan 2009 18:03:34 +0000 + -- Joey Hess Fri, 21 Aug 2009 17:22:08 -0400 -debhelper (7.0.17ubuntu1) jaunty; urgency=low +debhelper (7.3.14) unstable; urgency=low - * Resynchronise with Debian. Remaining changes: - - dh_installudev: Use priority 50 by default (instead of z60) and '-' - separator (instead of '_'). - - dh_installxfonts: Use versioned dependency for xfonts-utils. This - should be kept until dapper goes out of support, to avoid broken - dapper backports. - * Stop discarding scrollkeeper-update output; this isn't needed now that - we use rarian-compat. + [ Colin Watson ] + * dh: Add --list option to list available addons. Closes: #541302 + + [ Joey Hess ] + * Run pod2man with --utf8. Closes: #541270 + * dh: Display $@ error if addon load fails. Closes: #541845 + * dh_perl: Remove perl minimum dependency per new policy. Closes: #541811 + + -- Joey Hess Mon, 17 Aug 2009 15:55:48 -0400 + +debhelper (7.3.13) unstable; urgency=low + + [ Bernd Zeimetz ] + * python_distutils.pm: Support debhelper backports. + To allow backports of debhelper we don't pass + --install-layout=deb to 'setup.py install` for those Python + versions where the option is ignored by distutils/setuptools. + Thanks to Julian Andres Klode for the bug report. + Closes: #539324 + + -- Joey Hess Fri, 14 Aug 2009 20:10:57 -0400 + +debhelper (7.3.12) unstable; urgency=low + + * dh: Allow creation of new sequences (such as to handle a patch + target for quilt), by adding an add_command function to the + sequence addon interface. See #540124. + + -- Joey Hess Thu, 06 Aug 2009 11:08:53 -0400 + +debhelper (7.3.11) unstable; urgency=low + + * perl_build: Fix Build check to honor source directory setting. + + -- Joey Hess Wed, 05 Aug 2009 13:52:34 -0400 + +debhelper (7.3.10) unstable; urgency=low + + * perl_build: Avoid failing if forced to be used in dh_auto_clean + when Build does not exist (ie due to being run twice in a row). + Closes: #539848 + * dh_builddeb: Fix man page typo. Closes: #539976 + * dh_installdeb: In udeb mode, support the menutest and isinstallable + maintainer scripts. Closes: #540079 Thanks, Colin Watson. + + -- Joey Hess Wed, 05 Aug 2009 11:03:01 -0400 + +debhelper (7.3.9) unstable; urgency=low + + * cmake: Avoid forcing rpath off as this can break some test suites. + It gets stripped by cmake at install time. Closes: #538977 + + -- Joey Hess Sat, 01 Aug 2009 15:59:07 -0400 + +debhelper (7.3.8ubuntu1) karmic; urgency=low + + * Merge with Debian unstable (LP: #404561). Remaining Ubuntu changes: + - dh_installudev: Default priority is now 40 by default, the target + directory is /lib/udev/rules.d, and rules use '-' as separator instead of + '_'. Remove files from /etc/udev/rules.d unless they are user modified; + if modified and of default priority, take care to rename. + This should eventually go to Debian as well, see Debian #491117. + + -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 25 Jul 2009 17:17:24 +0300 + +debhelper (7.3.8) unstable; urgency=low + + * Fix t/override_target to use ./run. Closes: #538315 + + -- Joey Hess Sat, 25 Jul 2009 00:37:45 +0200 + +debhelper (7.3.7) unstable; urgency=low + + * First upload of buildsystems support to unstable. + Summary: Adds --buildsystem (modular, OO buildsystem classes), + --sourcedirectory, --builddirectory, and support for cmake + and ant. + + -- Joey Hess Fri, 24 Jul 2009 12:07:47 +0200 + +debhelper (7.3.6) experimental; urgency=low + + * perl_makemaker: Re-add fix for #496157, lost in rewrite. + + -- Joey Hess Thu, 23 Jul 2009 18:17:45 +0200 + +debhelper (7.3.5) experimental; urgency=low + + [ Bernd Zeimetz ] + * python_distutils buildsystem: Build for all supported Python + versions that are installed. Ensure that correct shebangs are + created by using `python' first during build and install. + Closes: #520834 + Also build with python*-dbg if the package build-depends + on them. + + -- Joey Hess Mon, 20 Jul 2009 20:30:22 +0200 + +debhelper (7.3.4) experimental; urgency=low + + * Merged debhelper 7.2.24. + + -- Joey Hess Wed, 15 Jul 2009 09:50:37 -0400 + +debhelper (7.3.3) experimental; urgency=low + + * Add ant buildsystem support. Closes: #537021 + * Merged debhelper 7.2.22. + + -- Joey Hess Tue, 14 Jul 2009 17:16:28 -0400 + +debhelper (7.3.2) experimental; urgency=low + + * Merged debhelper 7.2.21. + + -- Joey Hess Wed, 08 Jul 2009 21:23:48 -0400 + +debhelper (7.3.1) experimental; urgency=low + + * Merged debhelper 7.2.20. + + -- Joey Hess Thu, 02 Jul 2009 12:28:55 -0400 + +debhelper (7.3.0) experimental; urgency=low + + * Modular object oriented dh_auto_* buildsystem support, + contributed by Modestas Vainius + - dh_auto_* --sourcedirectory can now be used to specify a source + directory if sources and/or the whole buildsystem lives elsewhere + than the top level directory. Closes: #530597 + - dh_auto_* --builddirectory can now be used to specify a build + directory to use for out of source building, for build systems + that support it. Closes: #480577 + - dh_auto_* --buildsystem can now be used to override the autodetected + build system, or force use of a third-party class. + - dh_auto_* --list can be used to list available and selected build + systems. + - Adds support for cmake. + - For the perl_build build system, Build is used consistently + instead of falling back to using the generated Makefile. + Closes: #534332 + - Historical dh_auto_* behavior should be preserved despite these + large changes.. + * Move two more command-specific options to only be accepted by the commands + that use them. The options are: + --sourcedir, --destdir + If any third-party debhelper commands use either of the above options, + they will be broken, and need to be changed to pass options to init(). + * Make dh not complain about unknown, command-specific options passed to it, + and further suppress warnings about such options it passes on to debhelper + commands. This was attempted incompletely before in version 7.2.17. + + -- Joey Hess Wed, 01 Jul 2009 15:31:20 -0400 + +debhelper (7.2.24) unstable; urgency=low + + * dh_install: Add test suite covering the last 5 bugs. + + -- Joey Hess Wed, 15 Jul 2009 09:42:18 -0400 + +debhelper (7.2.23) unstable; urgency=low + + * dh_install: Fix support for the case where debian/tmp is + explicitly specified in filename paths despite being searched by + default. Closes: #537140 + + -- Joey Hess Wed, 15 Jul 2009 09:24:19 -0400 + +debhelper (7.2.22) unstable; urgency=low + + * dh_install: Fix support for the case where --sourcedir=debian/tmp/foo + is used. Perl was not being greedy enough and the 'foo' was not stripped + from the destination directory in this unusual case. Closes: #537017 + + -- Joey Hess Tue, 14 Jul 2009 17:08:25 -0400 + +debhelper (7.2.21) unstable; urgency=low + + * Add a versioned dep on perl-base, to get a version that supports + GetOptionsFromArray. Closes: #536310 + + -- Joey Hess Wed, 08 Jul 2009 21:08:45 -0400 + +debhelper (7.2.20) unstable; urgency=low + + * dh_install: Fix installation of entire top-level directory + from debian/tmp. Closes: #535367 + + -- Joey Hess Thu, 02 Jul 2009 12:17:42 -0400 + +debhelper (7.2.19) unstable; urgency=low + + * dh_install: Handle correctly the case where a glob expands to + a dangling symlink, installing the dangling link as requested. + Closes: #534565 + * dh_install: Fix fallback use of debian/tmp in v7 mode; a bug caused + it to put files inside a debian/tmp directory in the package build + directory, now that prefix is stripped. (See #534565) + + -- Joey Hess Tue, 30 Jun 2009 12:56:52 -0400 + +debhelper (7.2.18) unstable; urgency=low + + * dh_shlibdeps: Ensure DEBIAN directory exists, as dpkg-shlibdeps + prints a confusing warning if it does not. Closes: #534226 + * dh_auto_install: Pass --install-layout=deb to setup.py + to support python 2.6. Closes: #534620 + + -- Joey Hess Mon, 29 Jun 2009 15:35:40 -0400 + +debhelper (7.2.17) unstable; urgency=low + + * Allow command-specific options to be passed to commands + via dh without causing other commands to emit a getopt + warning or deprecation message. + * dh_installinfo: No longer inserts install-info calls into + maintainer scripts, as that is now triggerized. Adds a dependency + via misc:Depends to handle partial upgrades. Note that while + dh_installinfo already required that info files had a INFO-DIR-SECTION, + the new system also requires they have START-INFO-DIR-ENTRY and + END-INFO-DIR-ENTRY for proper registration. I assume there will be + some mass bug filing for any packages that do not have that. + Closes: #534639, #357434 - -- Colin Watson Sun, 02 Nov 2008 21:54:56 +0000 + -- Joey Hess Fri, 26 Jun 2009 09:02:51 -0400 + +debhelper (7.2.16) unstable; urgency=low + + * dh_gconf: Add missed half of postrm fragment removal. Closes: #531035 + + -- Joey Hess Thu, 11 Jun 2009 12:50:33 -0400 + +debhelper (7.2.15) unstable; urgency=low + + * dh_strip, dh_shlibdeps: Add support for OCaml shared libraries. + (Stephane Glondu) Closes: #527272, #532701 + * dh_compress: Avoid compressing .svg and .sgvz files, since these + might be used as images on a html page, and also to avoid needing + to special case the .svgz extension when compressing svg. + Closes: #530253 + * dh_scrollkeeper: Now a deprecated no-op. Closes: #530806 + * dh_gconf: Remove postrm fragment that handled schema migration + from /etc to /usr. Closes: #531035 + + -- Joey Hess Wed, 10 Jun 2009 17:14:07 -0400 + +debhelper (7.2.14) unstable; urgency=low + + * dh: Avoid writing log after override_dh_clean is run. Closes: #529228 + + -- Joey Hess Mon, 18 May 2009 12:49:32 -0400 + +debhelper (7.2.13) unstable; urgency=low + + * dh_auto_configure: Pass --skipdeps safely via PERL_AUTOINSTALL. + Closes: #528235 + + -- Joey Hess Thu, 14 May 2009 15:21:21 -0400 + +debhelper (7.2.12) unstable; urgency=low + + * dh_auto_configure: Revert --skipdeps change + Closes: #528647, reopens: #528235 + + -- Joey Hess Thu, 14 May 2009 14:15:26 -0400 + +debhelper (7.2.11) unstable; urgency=low + + * dh: Support --with addon,addon,... + Closes: #528178 + * dh_auto_configure: Add --skipdeps when running Makefile.PL, + to prevent Module::Install from trying to download dependencies. + Closes: #528235 + * Support debian/foo.os files to suppliment previous debian/foo.arch + file support. Closes: #494914 + (Thanks, Aurelien Jarno) + + -- Joey Hess Tue, 12 May 2009 14:52:18 -0400 + +debhelper (7.2.10) unstable; urgency=low + + * Close COMPAT_IN filehandle. Closes: #527464 + * dh_auto_configure: Clarify man page re adding configure + parameters. Closes: #527256 + * dh_auto_configure: Pass packlist=0 when running Makefile.PL, + in case it is a Build.PL passthru, to avoid it creating + the .packlist file. Closes: #527990 + + -- Joey Hess Sun, 10 May 2009 13:07:08 -0400 + +debhelper (7.2.9) unstable; urgency=low + + * dh_fixperms: Ensure lintian overrides are mode 644. + (Patch from #459548) + * dh_fixperms: Fix permissions of OCaml .cmxs files. Closes: #526221 + * dh: Add --without to allow disabling sequence addons (particularly + useful to disable the default python-support addon). + + -- Joey Hess Mon, 04 May 2009 14:46:53 -0400 + +debhelper (7.2.8) unstable; urgency=low + + * dh_desktop: Now a deprecated no-op, since desktop-file-utils + uses triggers. Closes: #523474 + (also Closes: #521960, #407701 as no longer applicable) + * Move dh sequence documentation to PROGRAMMING. + + -- Joey Hess Mon, 20 Apr 2009 16:15:32 -0400 + +debhelper (7.2.7) unstable; urgency=low + + * Fix calling the same helper for separate packages in the override of dh + binary-indep/binary-arch. Closes: #520567 + * Add --remaining-packages option (Modestas Vainius) + Closes: #520615 + * Pass -L UTF-8 to po4a to work around bug #520942 + * dh_icons: ignore gnome and hicolor themes (will be handled + by triggers). Closes: #521181 + + -- Joey Hess Fri, 27 Mar 2009 14:15:29 -0400 + +debhelper (7.2.6) unstable; urgency=low + + * Examples files updated to add dh_bugfiles, remove obsolete + dh_python. + * dh_auto_test: Support DEB_BUILD_OPTIONS=nocheck. Closes: #519374 + + -- Joey Hess Sun, 15 Mar 2009 17:54:48 -0400 + +debhelper (7.2.5) unstable; urgency=low + + * Set MODULEBUILDRC=/dev/null when running perl Build scripts + to avoid ~/.modulebuildrc influencing the build. Closes: #517423 + * dh_installmenus: Revert removal of update-menus calls. Closes: #518919 + Menu refuses to add unconfigured packages to the menu, and thus + omits packages when triggered, unfortunatly. I hope its behavior will + change. + + -- Joey Hess Mon, 09 Mar 2009 16:20:41 -0400 + +debhelper (7.2.4) unstable; urgency=low + + * dh_makeshlibs: Fix --add-udeb, for real. Closes: #518706 + + -- Joey Hess Sun, 08 Mar 2009 13:14:30 -0400 + +debhelper (7.2.3) unstable; urgency=low + + * dh_installmenus: Now that a triggers capable menu and dpkg are in + stable, menu does not need to be explicitly run in maintainer + scripts, except for packages with menu-methods files. (See #473467) + * dh_installdocs: No longer add maintainer script code to call + doc-base, as it supports triggers in stable. + * dh_bugfiles: New program, contributed by Modestas Vainius. + Closes: #326874 + * dh: Override LC_ALL, not LANG. re-Closes: #517617 + * dh_installchangelogs: Support -X to exclude automatic installation + of specific upstream changelogs. re-Closes: #490937 + * Compat level 4 is now deprecated. + * dh_makeshlibs: Re-add --add-udeb support. Closes: #518655 + * dh_shlibdeps: Remove --add-udeb switch (was accidentially added here). + + -- Joey Hess Sat, 07 Mar 2009 14:52:20 -0500 + +debhelper (7.2.2) unstable; urgency=low + + * dh_installmodules: Give files in /etc/modprobe.d a .conf + syntax, as required by new module-init-tools. + * dh_installmodules: Add preinst and postinst code to handle + cleanly renaming the modprobe.d files on upgrade. + * Two updates to conffile moving code from wiki: + - Support case where the conffile name is a substring of another + conffile's name. + - Support case where dpkg-query says the file is obsolete. + + -- Joey Hess Wed, 04 Mar 2009 19:37:33 -0500 + +debhelper (7.2.1) experimental; urgency=low + + * Merged debhelper 7.0.52. + + -- Joey Hess Sat, 28 Feb 2009 20:01:22 -0500 + +debhelper (7.2.0) experimental; urgency=low + + * Merged debhelper 7.0.50. + * dh: Fix typo. Closes: #509754 + * debhelper.pod: Fix typo. Closes: #510180 + * dh_gconf: Support mandatory settings. Closes: #513923 + * Improve error messages when child commands fail. + * Depend on dpkg-dev 1.14.19, the first to support Package-Type + fields in 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 Thu, 26 Feb 2009 18:33:44 -0500 + +debhelper (7.1.1) experimental; urgency=low + + * dh_install(1): Order options alphabetically. Closes:# 503896 + * Fix some docs that refered to --srcdir rather than --sourcedir. + Closes: #504742 + * Add Vcs-Browser field. Closes: #507804 + * 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 Sun, 14 Dec 2008 23:19:27 -0500 + +debhelper (7.1.0) experimental; urgency=low + + * dh_installchangelogs: Fall back to looking for changelog files ending + with ".txt". Closes: #498460 + * dh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg + complaining about it when it's empty. Closes: #498666 + * dh: Fix typo in example. Closes: #500836 + * 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 + * 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 Wed, 10 Sep 2008 13:58:00 -0400 + +debhelper (7.0.52) unstable; urgency=low + + * dh: Fix make parsing to not be broken by locale settings. + Closes: #517617 + + -- Joey Hess Sat, 28 Feb 2009 19:52:34 -0500 + +debhelper (7.0.51) unstable; urgency=low + + * dh: Man page typos. Closes: #517549, #517550 + + -- Joey Hess Sat, 28 Feb 2009 13:23:30 -0500 + +debhelper (7.0.50) unstable; urgency=low + + * This release is designed to be easily backportable to stable, + to support the new style of rules file that I expect many packages will + use. + * dh: debian/rules override targets can change what is run + for a specific debhelper command in a sequence. + (Thanks Modestas Vainius for the improved makefile parser.) + * 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 little need to use explicit targets + with dh anymore. + * dh: Support debian/rules calling make with -B, + which is useful to avoid issues with phony implicit + rules (see bug #509756). + + -- Joey Hess Fri, 27 Feb 2009 15:25:52 -0500 debhelper (7.0.17) unstable; urgency=low @@ -68,19 +579,6 @@ -- Joey Hess Sat, 05 Jul 2008 08:23:32 -0400 -debhelper (7.0.13ubuntu1) intrepid; urgency=low - - * Merge from Debian unstable, remaining changes: - - autoscripts/postinst-scrollkeeper: Do not show scrollkeeper-update - output. - - dh_installudev: Use priority 50 by default (instead of z60) and '-' - separator (instead of '_'). - - dh_installxfonts: Use versioned dependency for xfonts-utils. This should - be kept until dapper goes out of support, to avoid broken dapper - backports. - - -- Steve Langasek Sat, 28 Jun 2008 00:41:46 +0000 - debhelper (7.0.13) unstable; urgency=low * dh_auto_install: Rather than looking at the number of binary packages @@ -101,19 +599,6 @@ -- Joey Hess Wed, 25 Jun 2008 03:36:50 -0400 -debhelper (7.0.11ubuntu1) intrepid; urgency=low - - * Merge with Debian unstable. Remaining Ubuntu changes: - - autoscripts/postinst-scrollkeeper: Do not show scrollkeeper-update - output. - - dh_installudev: Use priority 50 by default (instead of z60) and '-' - separator (instead of '_'). - - dh_installxfonts: Use versioned dependency for xfonts-utils. This should - be kept until dapper goes out of support, to avoid broken dapper - backports. - - -- Martin Pitt Wed, 18 Jun 2008 10:57:55 +0200 - debhelper (7.0.11) unstable; urgency=low * dh: Man page fix. Closes: #485116 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/debian/control /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/debian/control --- debhelper-7.0.17ubuntu4/debian/control 2008-11-02 21:53:42.000000000 +0000 +++ debhelper-7.3.15ubuntu3/debian/control 2009-08-25 11:10:48.000000000 +0100 @@ -1,16 +1,17 @@ Source: debhelper Section: devel Priority: optional -Maintainer: Ubuntu Core Developers +Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Joey Hess Build-Depends: po4a (>= 0.24), man-db (>= 2.5.1), file (>= 3.23) -Standards-Version: 3.8.0 +Standards-Version: 3.8.3 Vcs-Git: git://git.debian.org/git/debhelper/debhelper.git +Vcs-Browser: http://git.debian.org/?p=debhelper/debhelper.git;a=summary Homepage: http://kitenet.net/~joey/code/debhelper/ Package: debhelper Architecture: all -Depends: ${perl:Depends}, ${misc:Depends}, file (>= 3.23), dpkg-dev (>= 1.14.15), html2text, binutils, po-debconf, man-db (>= 2.5.1-1) +Depends: ${perl:Depends}, ${misc:Depends}, perl-base (>= 5.10), file (>= 3.23), dpkg-dev (>= 1.14.19), html2text, binutils, po-debconf, man-db (>= 2.5.1-1) Suggests: dh-make Conflicts: dpkg-cross (<< 1.18), python-support (<< 0.5.3), python-central (<< 0.5.6) Description: helper programs for debian/rules diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/debian/copyright /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/debian/copyright --- debhelper-7.0.17ubuntu4/debian/copyright 2008-04-30 23:19:36.000000000 +0100 +++ debhelper-7.3.15ubuntu3/debian/copyright 2009-08-26 15:25:36.000000000 +0100 @@ -7,7 +7,7 @@ Files: examples/*, autoscripts/* Copyright: 1997-2008 Joey Hess Licence: other - These files are in are in the public domain. + These files are in the public domain. . Pedants who belive I cannot legally say that code I have written is in the public domain may consider them instead to be licensed as follows: @@ -50,3 +50,15 @@ Files: dh_md5sums Copyright: Charles Briscoe-Smith License: GPL-2+ + +Files: dh_bugfiles +Copyright: Modestas Vainius +License: GPL-2+ + +Files: Debian/Debhelper/Buildsystem*, Debian/Debhelper/Dh_Buildsystems.pm +Copyright: © 2008-2009 Modestas Vainius +License: GPL-2+ + +Files: dh_installinit +Copyright: 1997-2008 Joey Hess , 2009 Canonical Ltd. +License: GPL-3 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/debian/rules /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/debian/rules --- debhelper-7.0.17ubuntu4/debian/rules 2008-06-15 18:30:08.000000000 +0100 +++ debhelper-7.3.15ubuntu3/debian/rules 2009-08-11 17:47:39.000000000 +0100 @@ -5,6 +5,7 @@ # Each debhelper command in this rules file has to be run using ./run, # to ensure that the commands and libraries in the source tree are used, # rather than the installed ones. + %: ./run dh $@ diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/ant.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/ant.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/ant.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/ant.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,37 @@ +# A debhelper build system class for handling Ant based projects. +# +# Copyright: © 2009 Joey Hess +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::ant; + +use strict; +use base 'Debian::Debhelper::Buildsystem'; + +sub DESCRIPTION { + "Ant (build.xml)" +} + +sub check_auto_buildable { + my $this=shift; + return -e $this->get_sourcepath("build.xml"); +} + +sub new { + my $class=shift; + my $this=$class->SUPER::new(@_); + $this->enforce_in_source_building(); + return $this; +} + +sub build { + my $this=shift; + $this->doit_in_sourcedir("ant", @_); +} + +sub clean { + my $this=shift; + $this->doit_in_sourcedir("ant", "clean", @_); +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/autoconf.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/autoconf.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/autoconf.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/autoconf.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,55 @@ +# A debhelper build system class for handling Autoconf based projects +# +# Copyright: © 2008 Joey Hess +# © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::autoconf; + +use strict; +use Debian::Debhelper::Dh_Lib qw(dpkg_architecture_value sourcepackage); +use base 'Debian::Debhelper::Buildsystem::makefile'; + +sub DESCRIPTION { + "GNU Autoconf (configure)" +} + +sub check_auto_buildable { + my $this=shift; + my ($step)=@_; + + # Handle configure; the rest - next class + if ($step eq "configure") { + return -x $this->get_sourcepath("configure"); + } + return 0; +} + +sub configure { + my $this=shift; + + # Standard set of options for configure. + my @opts; + push @opts, "--build=" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); + push @opts, "--prefix=/usr"; + push @opts, "--includedir=\${prefix}/include"; + push @opts, "--mandir=\${prefix}/share/man"; + push @opts, "--infodir=\${prefix}/share/info"; + push @opts, "--sysconfdir=/etc"; + push @opts, "--localstatedir=/var"; + push @opts, "--libexecdir=\${prefix}/lib/" . sourcepackage(); + push @opts, "--disable-maintainer-mode"; + push @opts, "--disable-dependency-tracking"; + # Provide --host only if different from --build, as recommended in + # autotools-dev README.Debian: When provided (even if equal) + # autoconf 2.52+ switches to cross-compiling mode. + if (dpkg_architecture_value("DEB_BUILD_GNU_TYPE") + ne dpkg_architecture_value("DEB_HOST_GNU_TYPE")) { + push @opts, "--host=" . dpkg_architecture_value("DEB_HOST_GNU_TYPE"); + } + + $this->mkdir_builddir(); + $this->doit_in_builddir($this->get_source_rel2builddir("configure"), @opts, @_); +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/cmake.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/cmake.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/cmake.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/cmake.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,43 @@ +# A debhelper build system class for handling CMake based projects. +# It prefers out of source tree building. +# +# Copyright: © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::cmake; + +use strict; +use base 'Debian::Debhelper::Buildsystem::makefile'; + +sub DESCRIPTION { + "CMake (CMakeLists.txt)" +} + +sub check_auto_buildable { + my $this=shift; + my ($step)=@_; + my $ret = -e $this->get_sourcepath("CMakeLists.txt"); + $ret &&= $this->SUPER::check_auto_buildable(@_) if $step ne "configure"; + return $ret; +} + +sub new { + my $class=shift; + my $this=$class->SUPER::new(@_); + $this->prefer_out_of_source_building(@_); + return $this; +} + +sub configure { + my $this=shift; + my @flags; + + # Standard set of cmake flags + push @flags, "-DCMAKE_INSTALL_PREFIX=/usr"; + push @flags, "-DCMAKE_VERBOSE_MAKEFILE=ON"; + + $this->mkdir_builddir(); + $this->doit_in_builddir("cmake", $this->get_source_rel2builddir(), @flags, @_); +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/makefile.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/makefile.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/makefile.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/makefile.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,95 @@ +# A debhelper build system class for handling simple Makefile based projects. +# +# Copyright: © 2008 Joey Hess +# © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::makefile; + +use strict; +use Debian::Debhelper::Dh_Lib qw(escape_shell); +use base 'Debian::Debhelper::Buildsystem'; + +sub get_makecmd_C { + my $this=shift; + my $buildpath = $this->get_buildpath(); + if ($buildpath ne '.') { + return $this->{makecmd} . " -C " . escape_shell($buildpath); + } + return $this->{makecmd}; +} + +sub exists_make_target { + my ($this, $target) = @_; + my $makecmd=$this->get_makecmd_C(); + + # Use make -n to check to see if the target would do + # anything. There's no good way to test if a target exists. + my $ret=`$makecmd -s -n --no-print-directory $target 2>/dev/null`; + chomp $ret; + return length($ret); +} + +sub make_first_existing_target { + my $this=shift; + my $targets=shift; + + foreach my $target (@$targets) { + if ($this->exists_make_target($target)) { + $this->doit_in_builddir($this->{makecmd}, $target, @_); + return $target; + } + } + return undef; +} + +sub DESCRIPTION { + "simple Makefile" +} + +sub new { + my $class=shift; + my $this=$class->SUPER::new(@_); + $this->{makecmd} = (exists $ENV{MAKE}) ? $ENV{MAKE} : "make"; + return $this; +} + +sub check_auto_buildable { + my $this=shift; + my ($step) = @_; + + # Handles build, test, install, clean; configure - next class + if (grep /^\Q$step\E$/, qw{build test install clean}) { + # This is always called in the source directory, but generally + # Makefiles are created (or live) in the the build directory. + return -e $this->get_buildpath("Makefile") || + -e $this->get_buildpath("makefile") || + -e $this->get_buildpath("GNUmakefile"); + } + return 0; +} + +sub build { + my $this=shift; + $this->doit_in_builddir($this->{makecmd}, @_); +} + +sub test { + my $this=shift; + $this->make_first_existing_target(['test', 'check'], @_); +} + +sub install { + my $this=shift; + my $destdir=shift; + $this->make_first_existing_target(['install'], "DESTDIR=$destdir", @_); +} + +sub clean { + my $this=shift; + if (!$this->rmdir_builddir()) { + $this->make_first_existing_target(['distclean', 'realclean', 'clean'], @_); + } +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/perl_build.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/perl_build.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/perl_build.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/perl_build.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,69 @@ +# A build system class for handling Perl Build based projects. +# +# Copyright: © 2008-2009 Joey Hess +# © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::perl_build; + +use strict; +use base 'Debian::Debhelper::Buildsystem'; + +sub DESCRIPTION { + "Perl Module::Build (Build.PL)" +} + +sub check_auto_buildable { + my ($this, $step) = @_; + + # Handles everything + my $ret = -e $this->get_sourcepath("Build.PL"); + if ($step ne "configure") { + $ret &&= -e $this->get_sourcepath("Build"); + } + return $ret; +} + +sub do_perl { + my $this=shift; + $ENV{MODULEBUILDRC} = "/dev/null"; + $this->doit_in_sourcedir("perl", @_); +} + +sub new { + my $class=shift; + my $this= $class->SUPER::new(@_); + $this->enforce_in_source_building(); + return $this; +} + +sub configure { + my $this=shift; + $ENV{PERL_MM_USE_DEFAULT}=1; + $this->do_perl("Build.PL", "installdirs=vendor", @_); +} + +sub build { + my $this=shift; + $this->do_perl("Build", @_); +} + +sub test { + my $this=shift; + $this->do_perl("Build", "test", @_); +} + +sub install { + my $this=shift; + my $destdir=shift; + $this->do_perl("Build", "install", "destdir=$destdir", "create_packlist=0", @_); +} + +sub clean { + my $this=shift; + if (-e $this->get_sourcepath("Build")) { + $this->do_perl("Build", "--allow_mb_mismatch", 1, "distclean", @_); + } +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/perl_makemaker.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/perl_makemaker.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/perl_makemaker.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/perl_makemaker.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,74 @@ +# A debhelper build system class for handling Perl MakeMaker based projects. +# +# Copyright: © 2008-2009 Joey Hess +# © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::perl_makemaker; + +use strict; +use base 'Debian::Debhelper::Buildsystem::makefile'; + +sub DESCRIPTION { + "Perl ExtUtils::MakeMaker (Makefile.PL)" +} + +sub check_auto_buildable { + my $this=shift; + my ($step)=@_; + + # Handles everything if Makefile.PL exists. Otherwise - next class. + if (-e $this->get_sourcepath("Makefile.PL")) { + if ($step eq "install" || $step eq "configure") { + return 1; + } + else { + # This is backwards compatible (with << 7.3) until build, test and + # clean steps are not reimplemented in the backwards compatibility + # breaking way. However, this is absolutely necessary for + # enforce_in_source_building() to work in corner cases in build, + # test and clean steps as the next class (makefile) does not + # enforce it. + return $this->SUPER::check_auto_buildable(@_); + } + } + return 0; +} + +sub new { + my $class=shift; + my $this=$class->SUPER::new(@_); + $this->enforce_in_source_building(); + return $this; +} + +sub configure { + my $this=shift; + # If set to a true value then MakeMaker's prompt function will + # # always return the default without waiting for user input. + $ENV{PERL_MM_USE_DEFAULT}=1; + # This prevents Module::Install from interactive behavior. + $ENV{PERL_AUTOINSTALL}="--skipdeps"; + + $this->doit_in_sourcedir("perl", "Makefile.PL", "INSTALLDIRS=vendor", + "create_packlist=0", + @_); +} + +sub install { + my $this=shift; + my $destdir=shift; + + # Special case for Makefile.PL that uses + # Module::Build::Compat. PREFIX should not be passed + # for those; it already installs into /usr by default. + my $makefile=$this->get_sourcepath("Makefile"); + if (system(qq{grep -q "generated automatically by MakeMaker" $makefile}) != 0) { + $this->SUPER::install($destdir, @_); + } + else { + $this->SUPER::install($destdir, "PREFIX=/usr", @_); + } +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/python_distutils.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/python_distutils.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem/python_distutils.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem/python_distutils.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,190 @@ +# A debhelper build system class for building Python Distutils based +# projects. It prefers out of source tree building. +# +# Copyright: © 2008 Joey Hess +# © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem::python_distutils; + +use strict; +use Cwd (); +use Debian::Debhelper::Dh_Lib qw(error); +use base 'Debian::Debhelper::Buildsystem'; + +sub DESCRIPTION { + "Python Distutils (setup.py)" +} + +sub DEFAULT_BUILD_DIRECTORY { + my $this=shift; + return $this->canonpath($this->get_sourcepath("build")); +} + +sub new { + my $class=shift; + my $this=$class->SUPER::new(@_); + # Out of source tree building is prefered. + $this->prefer_out_of_source_building(@_); + return $this; +} + +sub check_auto_buildable { + my $this=shift; + return -e $this->get_sourcepath("setup.py"); +} + +sub not_our_cfg { + my $this=shift; + my $ret; + if (open(my $cfg, $this->get_buildpath(".pydistutils.cfg"))) { + $ret = not "# Created by dh_auto\n" eq <$cfg>; + close $cfg; + } + return $ret; +} + +sub create_cfg { + my $this=shift; + if (open(my $cfg, ">", $this->get_buildpath(".pydistutils.cfg"))) { + print $cfg "# Created by dh_auto", "\n"; + print $cfg "[build]\nbuild-base=", $this->get_build_rel2sourcedir(), "\n"; + close $cfg; + return 1; + } + return 0; +} + +sub pre_building_step { + my $this=shift; + my $step=shift; + + return unless grep /$step/, qw(build install clean); + + if ($this->get_buildpath() ne $this->DEFAULT_BUILD_DIRECTORY()) { + # --build-base can only be passed to the build command. However, + # it is always read from the config file (really weird design). + # Therefore create such a cfg config file. + # See http://bugs.python.org/issue818201 + # http://bugs.python.org/issue1011113 + not $this->not_our_cfg() or + error("cannot set custom build directory: .pydistutils.cfg is in use"); + $this->mkdir_builddir(); + $this->create_cfg() or + error("cannot set custom build directory: unwritable .pydistutils.cfg"); + # Distutils reads $HOME/.pydistutils.cfg + $ENV{HOME} = Cwd::abs_path($this->get_buildpath()); + } + + $this->SUPER::pre_building_step($step); +} + +sub dbg_build_needed { + my $this=shift; + my $act=shift; + + # Return a list of python-dbg package which are listed + # in the build-dependencies. This is kinda ugly, but building + # dbg extensions without checking if they're supposed to be + # built may result in various FTBFS if the package is not + # built in a clean chroot. + + my @dbg; + open (CONTROL, 'debian/control') || + error("cannot read debian/control: $!\n"); + foreach my $builddeps (join('', ) =~ + /^Build-Depends[^:]*:.*\n(?:^[^\w\n].*\n)*/gmi) { + while ($builddeps =~ /(python[^, ]*-dbg)/g) { + push @dbg, $1; + } + } + + close CONTROL; + return @dbg; + +} + +sub setup_py { + my $this=shift; + my $act=shift; + + # We need to to run setup.py with the default python first + # as distutils/setuptools modifies the shebang lines of scripts. + # This ensures that #!/usr/bin/python is used and not pythonX.Y + # Take into account that the default Python must not be in + # the requested Python versions. + # Then, run setup.py with each available python, to build + # extensions for each. + + my $python_default = `pyversions -d`; + $python_default =~ s/^\s+//; + $python_default =~ s/\s+$//; + my @python_requested = split ' ', `pyversions -r 2>/dev/null`; + if (grep /^\Q$python_default\E/, @python_requested) { + @python_requested = ("python", grep(!/^\Q$python_default\E/, + @python_requested)); + } + + my @python_dbg; + my @dbg_build_needed = $this->dbg_build_needed(); + foreach my $python (map { $_."-dbg" } @python_requested) { + if (grep /^(python-all-dbg|\Q$python\E)/, @dbg_build_needed) { + push @python_dbg, $python; + } + elsif (($python eq "python-dbg") + and (grep /^\Q$python_default\E/, @dbg_build_needed)) { + push @python_dbg, $python_default."-dbg"; + } + } + + foreach my $python (@python_requested, @python_dbg) { + if (-x "/usr/bin/".$python) { + # To allow backports of debhelper we don't pass + # --install-layout=deb to 'setup.py install` for + # those Python versions where the option is + # ignored by distutils/setuptools. + if ( $act eq "install" and not + ( ($python =~ /^python(?:-dbg)?$/ + and $python_default =~ /^python2\.[2345]$/) + or $python =~ /^python2\.[2345](?:-dbg)?$/ )) { + $this->doit_in_sourcedir($python, "setup.py", + $act, @_, "--install-layout=deb"); + } + else { + $this->doit_in_sourcedir($python, "setup.py", + $act, @_); + } + } + } +} + +sub build { + my $this=shift; + $this->setup_py("build", @_); +} + +sub install { + my $this=shift; + my $destdir=shift; + $this->setup_py("install", + "--root=$destdir", + "--no-compile", + "-O0", + @_); +} + +sub clean { + my $this=shift; + $this->setup_py("clean", "-a", @_); + + # Config file will remain if it was created by us + if (!$this->not_our_cfg()) { + unlink($this->get_buildpath(".pydistutils.cfg")); + $this->rmdir_builddir(1); # only if empty + } + # The setup.py might import files, leading to python creating pyc + # files. + $this->doit_in_sourcedir('find', '.', '-name', '*.pyc', '-exec', 'rm', '{}', ';'); +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Buildsystem.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Buildsystem.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,399 @@ +# Defines debhelper build system class interface and implementation +# of common functionality. +# +# Copyright: © 2008-2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Buildsystem; + +use strict; +use warnings; +use Cwd (); +use File::Spec; +use Debian::Debhelper::Dh_Lib; + +# Cache DEB_BUILD_GNU_TYPE value. Performance hit of multiple +# invocations is noticable when listing build systems. +our $DEB_BUILD_GNU_TYPE = dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); + +# Build system name. Defaults to the last component of the class +# name. Do not override this method unless you know what you are +# doing. +sub NAME { + my $this=shift; + my $class = ref($this) || $this; + if ($class =~ m/^.+::([^:]+)$/) { + return $1; + } + else { + error("ınvalid build system class name: $class"); + } +} + +# Description of the build system to be shown to the users. +sub DESCRIPTION { + error("class lacking a DESCRIPTION"); +} + +# Default build directory. Can be overriden in the derived +# class if really needed. +sub DEFAULT_BUILD_DIRECTORY { + "obj-" . $DEB_BUILD_GNU_TYPE; +} + +# Constructs a new build system object. Named parameters: +# - sourcedir- specifies source directory (relative to the current (top) +# directory) where the sources to be built live. If not +# specified or empty, defaults to the current directory. +# - builddir - specifies build directory to use. Path is relative to the +# current (top) directory. If undef or empty, +# DEFAULT_BUILD_DIRECTORY directory will be used. +# Derived class can override the constructor to initialize common object +# parameters. Do NOT use constructor to execute commands or otherwise +# configure/setup build environment. There is absolutely no guarantee the +# constructed object will be used to build something. Use pre_building_step(), +# $build_step() or post_building_step() methods for this. +sub new { + my ($class, %opts)=@_; + + my $this = bless({ sourcedir => '.', + builddir => undef, + cwd => Cwd::getcwd() }, $class); + + if (exists $opts{sourcedir}) { + # Get relative sourcedir abs_path (without symlinks) + my $abspath = Cwd::abs_path($opts{sourcedir}); + if (! -d $abspath || $abspath !~ /^\Q$this->{cwd}\E/) { + error("invalid or non-existing path to the source directory: ".$opts{sourcedir}); + } + $this->{sourcedir} = File::Spec->abs2rel($abspath, $this->{cwd}); + } + if (exists $opts{builddir}) { + $this->_set_builddir($opts{builddir}); + } + return $this; +} + +# Private method to set a build directory. If undef, use default. +# Do $this->{builddir} = undef or pass $this->get_sourcedir() to +# unset the build directory. +sub _set_builddir { + my $this=shift; + my $builddir=shift || $this->DEFAULT_BUILD_DIRECTORY; + + if (defined $builddir) { + $builddir = $this->canonpath($builddir); # Canonicalize + + # Sanitize $builddir + if ($builddir =~ m#^\.\./#) { + # We can't handle those as relative. Make them absolute + $builddir = File::Spec->catdir($this->{cwd}, $builddir); + } + elsif ($builddir =~ /\Q$this->{cwd}\E/) { + $builddir = File::Spec::abs2rel($builddir, $this->{cwd}); + } + + # If build directory ends up the same as source directory, drop it + if ($builddir eq $this->get_sourcedir()) { + $builddir = undef; + } + } + $this->{builddir} = $builddir; + return $builddir; +} + +# This instance method is called to check if the build system is able +# to auto build a source package. Additional argument $step describes +# which operation the caller is going to perform (either configure, +# build, test, install or clean). You must override this method for the +# build system module to be ever picked up automatically. This method is +# used in conjuction with @Dh_Buildsystems::BUILDSYSTEMS. +# +# This method is supposed to be called inside the source root directory. +# Use $this->get_buildpath($path) method to get full path to the files +# in the build directory. +sub check_auto_buildable { + my $this=shift; + my ($step) = @_; + return 0; +} + +# Derived class can call this method in its constructor +# to enforce in source building even if the user requested otherwise. +sub enforce_in_source_building { + my $this=shift; + if ($this->get_builddir()) { + $this->{warn_insource} = 1; + $this->{builddir} = undef; + } +} + +# Derived class can call this method in its constructor to *prefer* +# out of source building. Unless build directory has already been +# specified building will proceed in the DEFAULT_BUILD_DIRECTORY or +# the one specified in the 'builddir' named parameter (which may +# match the source directory). Typically you should pass @_ from +# the constructor to this call. +sub prefer_out_of_source_building { + my $this=shift; + my %args=@_; + if (!defined $this->get_builddir()) { + if (!$this->_set_builddir($args{builddir}) && !$args{builddir}) { + # If we are here, DEFAULT_BUILD_DIRECTORY matches + # the source directory, building might fail. + error("default build directory is the same as the source directory." . + " Please specify a custom build directory"); + } + } +} + +# Enhanced version of File::Spec::canonpath. It collapses .. +# too so it may return invalid path if symlinks are involved. +# On the other hand, it does not need for the path to exist. +sub canonpath { + my ($this, $path)=@_; + my @canon; + my $back=0; + for my $comp (split(m%/+%, $path)) { + if ($comp eq '.') { + next; + } + elsif ($comp eq '..') { + if (@canon > 0) { pop @canon; } else { $back++; } + } + else { + push @canon, $comp; + } + } + return (@canon + $back > 0) ? join('/', ('..')x$back, @canon) : '.'; +} + +# Given both $path and $base are relative to the $root, converts and +# returns path of $path being relative to the $base. If either $path or +# $base is absolute, returns another $path (converted to) absolute. +sub _rel2rel { + my ($this, $path, $base, $root)=@_; + $root = $this->{cwd} unless defined $root; + + if (File::Spec->file_name_is_absolute($path)) { + return $path; + } + elsif (File::Spec->file_name_is_absolute($base)) { + return File::Spec->rel2abs($path, $root); + } + else { + return File::Spec->abs2rel( + File::Spec->rel2abs($path, $root), + File::Spec->rel2abs($base, $root) + ); + } +} + +# Get path to the source directory +# (relative to the current (top) directory) +sub get_sourcedir { + my $this=shift; + return $this->{sourcedir}; +} + +# Convert path relative to the source directory to the path relative +# to the current (top) directory. +sub get_sourcepath { + my ($this, $path)=@_; + return File::Spec->catfile($this->get_sourcedir(), $path); +} + +# Get path to the build directory if it was specified +# (relative to the current (top) directory). undef if the same +# as the source directory. +sub get_builddir { + my $this=shift; + return $this->{builddir}; +} + +# Convert path that is relative to the build directory to the path +# that is relative to the current (top) directory. +# If $path is not specified, always returns build directory path +# relative to the current (top) directory regardless if builddir was +# specified or not. +sub get_buildpath { + my ($this, $path)=@_; + my $builddir = $this->get_builddir() || $this->get_sourcedir(); + if (defined $path) { + return File::Spec->catfile($builddir, $path); + } + return $builddir; +} + +# When given a relative path to the source directory, converts it +# to the path that is relative to the build directory. If $path is +# not given, returns a path to the source directory that is relative +# to the build directory. +sub get_source_rel2builddir { + my $this=shift; + my $path=shift; + + my $dir = '.'; + if ($this->get_builddir()) { + $dir = $this->_rel2rel($this->get_sourcedir(), $this->get_builddir()); + } + if (defined $path) { + return File::Spec->catfile($dir, $path); + } + return $dir; +} + +# When given a relative path to the build directory, converts it +# to the path that is relative to the source directory. If $path is +# not given, returns a path to the build directory that is relative +# to the source directory. +sub get_build_rel2sourcedir { + my $this=shift; + my $path=shift; + + my $dir = '.'; + if ($this->get_builddir()) { + $dir = $this->_rel2rel($this->get_builddir(), $this->get_sourcedir()); + } + if (defined $path) { + return File::Spec->catfile($dir, $path); + } + return $dir; +} + +# Creates a build directory. +sub mkdir_builddir { + my $this=shift; + if ($this->get_builddir()) { + doit("mkdir", "-p", $this->get_builddir()); + } +} + +sub _cd { + my ($this, $dir)=@_; + if (! $dh{NO_ACT}) { + verbose_print("cd $dir"); + chdir $dir or error("error: unable to chdir to $dir"); + } +} + +# Changes working directory to the source directory (if needed), +# calls doit(@_) and changes working directory back to the top +# directory. +sub doit_in_sourcedir { + my $this=shift; + if ($this->get_sourcedir() ne '.') { + my $sourcedir = $this->get_sourcedir(); + $this->_cd($sourcedir); + doit(@_); + $this->_cd($this->_rel2rel($this->{cwd}, $sourcedir)); + } + else { + doit(@_); + } + return 1; +} + +# Changes working directory to the build directory (if needed), +# calls doit(@_) and changes working directory back to the top +# directory. +sub doit_in_builddir { + my $this=shift; + if ($this->get_buildpath() ne '.') { + my $buildpath = $this->get_buildpath(); + $this->_cd($buildpath); + doit(@_); + $this->_cd($this->_rel2rel($this->{cwd}, $buildpath)); + } + else { + doit(@_); + } + return 1; +} + +# In case of out of source tree building, whole build directory +# gets wiped (if it exists) and 1 is returned. If build directory +# had 2 or more levels, empty parent directories are also deleted. +# If build directory does not exist, nothing is done and 0 is returned. +sub rmdir_builddir { + my $this=shift; + my $only_empty=shift; + if ($this->get_builddir()) { + my $buildpath = $this->get_buildpath(); + if (-d $buildpath) { + my @dir = File::Spec->splitdir($this->get_build_rel2sourcedir()); + my $peek; + if (not $only_empty) { + doit("rm", "-rf", $buildpath); + pop @dir; + } + # If build directory is relative and had 2 or more levels, delete + # empty parent directories until the source or top directory level. + if (not File::Spec->file_name_is_absolute($buildpath)) { + while (($peek=pop @dir) && $peek ne '.' && $peek ne '..') { + my $dir = $this->get_sourcepath(File::Spec->catdir(@dir, $peek)); + doit("rmdir", "--ignore-fail-on-non-empty", $dir); + last if -d $dir; + } + } + } + return 1; + } + return 0; +} + +# Instance method that is called before performing any step (see below). +# Action name is passed as an argument. Derived classes overriding this +# method should also call SUPER implementation of it. +sub pre_building_step { + my $this=shift; + my ($step)=@_; + + # Warn if in source building was enforced but build directory was + # specified. See enforce_in_source_building(). + if ($this->{warn_insource}) { + warning("warning: " . $this->NAME() . + " does not support building out of source tree. In source building enforced."); + delete $this->{warn_insource}; + } +} + +# Instance method that is called after performing any step (see below). +# Action name is passed as an argument. Derived classes overriding this +# method should also call SUPER implementation of it. +sub post_building_step { + my $this=shift; + my ($step)=@_; +} + +# The instance methods below provide support for configuring, +# building, testing, install and cleaning source packages. +# In case of failure, the method may just error() out. +# +# These methods should be overriden by derived classes to +# implement build system specific steps needed to build the +# source. Arbitary number of custom step arguments might be +# passed. Default implementations do nothing. +sub configure { + my $this=shift; +} + +sub build { + my $this=shift; +} + +sub test { + my $this=shift; +} + +# destdir parameter specifies where to install files. +sub install { + my $this=shift; + my $destdir=shift; +} + +sub clean { + my $this=shift; +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Buildsystems.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Buildsystems.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Buildsystems.pm 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Buildsystems.pm 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,180 @@ +# A module for loading and managing debhelper build system classes. +# This module is intended to be used by all dh_auto_* programs. +# +# Copyright: © 2009 Modestas Vainius +# License: GPL-2+ + +package Debian::Debhelper::Dh_Buildsystems; + +use strict; +use warnings; +use Debian::Debhelper::Dh_Lib; +use File::Spec; + +use base 'Exporter'; +our @EXPORT=qw(&buildsystems_init &buildsystems_do &load_buildsystem &load_all_buildsystems); + +# Historical order must be kept for backwards compatibility. New +# build systems MUST be added to the END of the list. +our @BUILDSYSTEMS = ( + "autoconf", + "perl_makemaker", + "makefile", + "python_distutils", + "perl_build", + "cmake", + "ant", +); + +my $opt_buildsys; +my $opt_sourcedir; +my $opt_builddir; +my $opt_list; + +sub create_buildsystem_instance { + my $system=shift; + my %bsopts=@_; + my $module = "Debian::Debhelper::Buildsystem::$system"; + + eval "use $module"; + if ($@) { + error("unable to load build system class '$system': $@"); + } + + if (!exists $bsopts{builddir} && defined $opt_builddir) { + $bsopts{builddir} = ($opt_builddir eq "") ? undef : $opt_builddir; + } + if (!exists $bsopts{sourcedir} && defined $opt_sourcedir) { + $bsopts{sourcedir} = ($opt_sourcedir eq "") ? undef : $opt_sourcedir; + } + return $module->new(%bsopts); +} + +# Similar to create_build system_instance(), but it attempts to autoselect +# a build system if none was specified. In case autoselection fails, undef +# is returned. +sub load_buildsystem { + my $system=shift; + my $step=shift; + if (defined $system) { + my $inst = create_buildsystem_instance($system, @_); + return $inst; + } + else { + # Try to determine build system automatically + for $system (@BUILDSYSTEMS) { + my $inst = create_buildsystem_instance($system, @_); + if ($inst->check_auto_buildable($step)) { + return $inst; + } + } + } + return; +} + +sub load_all_buildsystems { + my $incs=shift || \@INC; + my (%buildsystems, @buildsystems); + + for my $inc (@$incs) { + my $path = File::Spec->catdir($inc, "Debian/Debhelper/Buildsystem"); + if (-d $path) { + for my $module_path (glob "$path/*.pm") { + my $name = basename($module_path); + $name =~ s/\.pm$//; + next if exists $buildsystems{$name}; + $buildsystems{$name} = create_buildsystem_instance($name, @_); + } + } + } + + # Standard debhelper build systems first + for my $name (@BUILDSYSTEMS) { + error("standard debhelper build system '$name' could not be found/loaded") + if not exists $buildsystems{$name}; + push @buildsystems, $buildsystems{$name}; + delete $buildsystems{$name}; + } + + # The rest are 3rd party build systems + for my $name (keys %buildsystems) { + my $inst = $buildsystems{$name}; + $inst->{thirdparty} = 1; + push @buildsystems, $inst; + } + + return @buildsystems; +} + +sub buildsystems_init { + my %args=@_; + + # Available command line options + my %options = ( + "D=s" => \$opt_sourcedir, + "sourcedirectory=s" => \$opt_sourcedir, + + "B:s" => \$opt_builddir, + "builddirectory:s" => \$opt_builddir, + + "S=s" => \$opt_buildsys, + "buildsystem=s" => \$opt_buildsys, + + "l" => \$opt_list, + "list" => \$opt_list, + ); + $args{options}{$_} = $options{$_} foreach keys(%options); + Debian::Debhelper::Dh_Lib::init(%args); +} + +sub buildsystems_list { + my $step=shift; + + # List build systems (including auto and specified status) + my ($auto, $specified); + for my $inst (load_all_buildsystems()) { + my $is_specified = defined $opt_buildsys && $opt_buildsys eq $inst->NAME(); + if (! defined $specified && defined $opt_buildsys && $opt_buildsys eq $inst->NAME()) { + $specified = $inst->NAME(); + } + elsif (! defined $auto && ! $inst->{thirdparty} && $inst->check_auto_buildable($step)) { + $auto = $inst->NAME(); + } + printf("%-20s %s", $inst->NAME(), $inst->DESCRIPTION()); + print " [3rd party]" if $inst->{thirdparty}; + print "\n"; + } + print "\n"; + print "Auto-selected: $auto\n" if defined $auto; + print "Specified: $specified\n" if defined $specified; + print "No system auto-selected or specified\n" + if ! defined $auto && ! defined $specified; +} + +sub buildsystems_do { + my $step=shift; + + if (!defined $step) { + $step = basename($0); + $step =~ s/^dh_auto_//; + } + + if (grep(/^\Q$step\E$/, qw{configure build test install clean}) == 0) { + error("unrecognized build step: " . $step); + } + + if ($opt_list) { + buildsystems_list($step); + exit 0; + } + + my $buildsystem = load_buildsystem($opt_buildsys, $step); + if (defined $buildsystem) { + $buildsystem->pre_building_step($step); + $buildsystem->$step(@_, @{$dh{U_PARAMS}}); + $buildsystem->post_building_step($step); + } + return 0; +} + +1 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Getopt.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Getopt.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Getopt.pm 2008-05-07 21:32:05.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Getopt.pm 2009-08-15 01:10:24.000000000 +0100 @@ -9,12 +9,8 @@ use Debian::Debhelper::Dh_Lib; use Getopt::Long; -use Exporter; -#use vars qw{@ISA @EXPORT}; -#@ISA=qw(Exporter); -#@EXPORT=qw(&aparseopts); # FIXME: for some reason, this doesn't work. -my (%options, %exclude_package); +my %exclude_package; sub showhelp { my $prog=basename($0); @@ -29,19 +25,19 @@ # order. sub AddPackage { my($option,$value)=@_; if ($option eq 'i' or $option eq 'indep') { - push @{$options{DOPACKAGES}}, getpackages('indep'); - $options{DOINDEP}=1; + push @{$dh{DOPACKAGES}}, getpackages('indep'); + $dh{DOINDEP}=1; } elsif ($option eq 'a' or $option eq 'arch') { - push @{$options{DOPACKAGES}}, getpackages('arch'); - $options{DOARCH}=1; + push @{$dh{DOPACKAGES}}, getpackages('arch'); + $dh{DOARCH}=1; } elsif ($option eq 'p' or $option eq 'package') { - push @{$options{DOPACKAGES}}, $value; + push @{$dh{DOPACKAGES}}, $value; } elsif ($option eq 's' or $option eq 'same-arch') { - push @{$options{DOPACKAGES}}, getpackages('same'); - $options{DOSAME}=1; + push @{$dh{DOPACKAGES}}, getpackages('same'); + $dh{DOSAME}=1; } else { error("bad option $option - should never happen!\n"); @@ -50,7 +46,7 @@ # Adds packages to the list of debug packages. sub AddDebugPackage { my($option,$value)=@_; - push @{$options{DEBUGPACKAGES}}, $value; + push @{$dh{DEBUGPACKAGES}}, $value; } # Add a package to a list of packages that should not be acted on. @@ -60,31 +56,34 @@ # Add another item to the exclude list. sub AddExclude { my($option,$value)=@_; - push @{$options{EXCLUDE}},$value; + push @{$dh{EXCLUDE}},$value; } # Add a file to the ignore list. sub AddIgnore { my($option,$file)=@_; - $options{IGNORE}->{$file}=1; -} - -# Add an item to the with list. -sub AddWith { my($option,$value)=@_; - push @{$options{WITH}},$value; + $dh{IGNORE}->{$file}=1; } # This collects non-options values. sub NonOption { - push @{$options{ARGV}}, @_; + push @{$dh{ARGV}}, @_; } -# Parse options and return a hash of the values. -sub parseopts { - undef %options; - - my $ret=GetOptions( - "v" => \$options{VERBOSE}, - "verbose" => \$options{VERBOSE}, +sub getoptions { + my $array=shift; + my %options=%{shift()} if ref $_[0]; + + my $oldwarn; + if ($ENV{DH_IGNORE_UNKNOWN_OPTIONS}) { + $oldwarn=$SIG{__WARN__}; + $SIG{__WARN__}=sub {}; + } + + my $ret=Getopt::Long::GetOptionsFromArray($array, + "v" => \$dh{VERBOSE}, + "verbose" => \$dh{VERBOSE}, + + "no-act" => \$dh{NO_ACT}, "i" => \&AddPackage, "indep" => \&AddPackage, @@ -94,124 +93,136 @@ "p=s" => \&AddPackage, "package=s" => \&AddPackage, + + "N=s" => \&ExcludePackage, + "no-package=s" => \&ExcludePackage, + + "remaining-packages" => \$dh{EXCLUDE_LOGGED}, "dbg-package=s" => \&AddDebugPackage, "s" => \&AddPackage, "same-arch" => \&AddPackage, - "N=s" => \&ExcludePackage, - "no-package=s" => \&ExcludePackage, - - "n" => \$options{NOSCRIPTS}, - "noscripts" => \$options{NOSCRIPTS}, - "o" => \$options{ONLYSCRIPTS}, - "onlyscripts" => \$options{ONLYSCRIPTS}, + "n" => \$dh{NOSCRIPTS}, + "noscripts" => \$dh{NOSCRIPTS}, + "o" => \$dh{ONLYSCRIPTS}, + "onlyscripts" => \$dh{ONLYSCRIPTS}, - "x" => \$options{INCLUDE_CONFFILES}, # is -x for some unknown historical reason.. - "include-conffiles" => \$options{INCLUDE_CONFFILES}, - "X=s" => \&AddExclude, "exclude=s" => \&AddExclude, - "ignore=s" => \&AddIgnore, - - "d" => \$options{D_FLAG}, - "remove-d" => \$options{D_FLAG}, - "dirs-only" => \$options{D_FLAG}, - - "r" => \$options{R_FLAG}, - "no-restart-on-upgrade" => \$options{R_FLAG}, - "no-start" => \$options{NO_START}, - "R|restart-after-upgrade" => \$options{RESTART_AFTER_UPGRADE}, + "d" => \$dh{D_FLAG}, - "k" => \$options{K_FLAG}, - "keep" => \$options{K_FLAG}, - "keep-debug" => \$options{K_FLAG}, - - "P=s" => \$options{TMPDIR}, - "tmpdir=s" => \$options{TMPDIR}, - - "u=s", => \$options{U_PARAMS}, - "update-rcd-params=s", => \$options{U_PARAMS}, - "dpkg-shlibdeps-params=s", => \$options{U_PARAMS}, - "dpkg-gencontrol-params=s", => \$options{U_PARAMS}, - - "l=s", => \$options{L_PARAMS}, + "k" => \$dh{K_FLAG}, + "keep" => \$dh{K_FLAG}, - "m=s", => \$options{M_PARAMS}, - "major=s" => \$options{M_PARAMS}, + "P=s" => \$dh{TMPDIR}, + "tmpdir=s" => \$dh{TMPDIR}, - "V:s", => \$options{V_FLAG}, - "version-info:s" => \$options{V_FLAG}, + "u=s", => \$dh{U_PARAMS}, - "A" => \$options{PARAMS_ALL}, - "all" => \$options{PARAMS_ALL}, + "V:s", => \$dh{V_FLAG}, - "no-act" => \$options{NO_ACT}, + "A" => \$dh{PARAMS_ALL}, + "all" => \$dh{PARAMS_ALL}, - "init-script=s" => \$options{INIT_SCRIPT}, + "priority=s" => \$dh{PRIORITY}, - "sourcedir=s" => \$options{SOURCEDIR}, - - "destdir=s" => \$options{DESTDIR}, - - "filename=s" => \$options{FILENAME}, - - "priority=s" => \$options{PRIORITY}, - - "flavor=s" => \$options{FLAVOR}, - - "autodest" => \$options{AUTODEST}, - "h|help" => \&showhelp, - "mainpackage=s" => \$options{MAINPACKAGE}, + "mainpackage=s" => \$dh{MAINPACKAGE}, - "list-missing" => \$options{LIST_MISSING}, + "name=s" => \$dh{NAME}, - "fail-missing" => \$options{FAIL_MISSING}, + "error-handler=s" => \$dh{ERROR_HANDLER}, - "L|libpackage=s" => \$options{LIBPACKAGE}, - - "name=s" => \$options{NAME}, - - "error-handler=s" => \$options{ERROR_HANDLER}, - - "add-udeb=s" => \$options{SHLIBS_UDEB}, - - "language=s" => \$options{LANGUAGE}, + "ignore=s" => \&AddIgnore, - "until=s" => \$options{UNTIL}, - "after=s" => \$options{AFTER}, - "before=s" => \$options{BEFORE}, - "remaining" => \$options{REMAINING}, - "with=s" => \&AddWith, + %options, "<>" => \&NonOption, ); - if (!$ret) { - error("unknown option; aborting"); + if ($ENV{DH_IGNORE_UNKNOWN_OPTIONS}) { + $SIG{__WARN__}=$oldwarn; + return 1; + } + else { + return $ret; + } +} + +sub split_options_string { + my $str=shift; + $str=~s/^\s+//; + return split(/\s+/,$str); +} + +# Parse options and set %dh values. +sub parseopts { + my $options=shift; + + my @ARGV_extra; + + # DH_INTERNAL_OPTIONS is used to pass additional options from + # dh through an override target to a command. + if (defined $ENV{DH_INTERNAL_OPTIONS}) { + @ARGV_extra=split(/\x1e/, $ENV{DH_INTERNAL_OPTIONS}); + getoptions(\@ARGV_extra, $options); + + # Avoid forcing acting on packages specified in + # DH_INTERNAL_OPTIONS. This way, -p can be specified + # at the command line to act on a specific package, and if + # nothing is specified, the excludes will cause the set of + # packages DH_INTERNAL_OPTIONS specifies to be acted on. + if (defined $dh{DOPACKAGES}) { + foreach my $package (getpackages()) { + if (! grep { $_ eq $package } @{$dh{DOPACKAGES}}) { + $exclude_package{$package}=1; + } + } + } + delete $dh{DOPACKAGES}; + delete $dh{DOINDEP}; + delete $dh{DOARCH}; + delete $dh{DOSAME}; } + # DH_OPTIONS can contain additional options + # to be parsed like @ARGV, but with unknown options + # skipped. + if (defined $ENV{DH_OPTIONS}) { + @ARGV_extra=split_options_string($ENV{DH_OPTIONS}); + my $ret=getoptions(\@ARGV_extra, $options); + if (!$ret) { + warning("warning: ignored unknown options in DH_OPTIONS"); + } + } + + my $ret=getoptions(\@ARGV, $options); + if (!$ret) { + warning("warning: unknown options will be a fatal error in a future debhelper release"); + #error("unknown option; aborting"); + } + # Check to see if -V was specified. If so, but no parameters were # passed, the variable will be defined but empty. - if (defined($options{V_FLAG})) { - $options{V_FLAG_SET}=1; + if (defined($dh{V_FLAG})) { + $dh{V_FLAG_SET}=1; } # If we have not been given any packages to act on, assume they # want us to act on them all. Note we have to do this before excluding # packages out, below. - if (! defined $options{DOPACKAGES} || ! @{$options{DOPACKAGES}}) { - if ($options{DOINDEP} || $options{DOARCH} || $options{DOSAME}) { + if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) { + if ($dh{DOINDEP} || $dh{DOARCH} || $dh{DOSAME}) { # User specified that all arch (in)dep package be # built, and there are none of that type. - warning("I have no package to build"); + warning("You asked that all arch in(dep) packages be built, but there are none of that type."); exit(0); } - push @{$options{DOPACKAGES}},getpackages(); + push @{$dh{DOPACKAGES}},getpackages(); } # Remove excluded packages from the list of packages to act on. @@ -220,7 +231,11 @@ my @package_list; my $package; my %packages_seen; - foreach $package (@{$options{DOPACKAGES}}) { + foreach $package (@{$dh{DOPACKAGES}}) { + if (defined($dh{EXCLUDE_LOGGED}) && + grep { $_ eq basename($0) } load_log($package)) { + $exclude_package{$package}=1; + } if (! $exclude_package{$package}) { if (! exists $packages_seen{$package}) { $packages_seen{$package}=1; @@ -228,27 +243,25 @@ } } } - @{$options{DOPACKAGES}}=@package_list; + @{$dh{DOPACKAGES}}=@package_list; - # If there are no packages to act on now, it's an error. - if (! defined $options{DOPACKAGES} || ! @{$options{DOPACKAGES}}) { - error("I have no package to build"); + if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) { + warning("No packages to build."); + exit(0); } - if (defined $options{U_PARAMS}) { + if (defined $dh{U_PARAMS}) { # Split the U_PARAMS up into an array. - my $u=$options{U_PARAMS}; - undef $options{U_PARAMS}; - push @{$options{U_PARAMS}}, split(/\s+/,$u); + my $u=$dh{U_PARAMS}; + undef $dh{U_PARAMS}; + push @{$dh{U_PARAMS}}, split(/\s+/,$u); } # Anything left in @ARGV is options that appeared after a -- # These options are added to the U_PARAMS array, while the # non-option values we collected replace them in @ARGV; - push @{$options{U_PARAMS}}, @ARGV; - @ARGV=@{$options{ARGV}} if exists $options{ARGV}; - - return %options; + push @{$dh{U_PARAMS}}, @ARGV, @ARGV_extra; + @ARGV=@{$dh{ARGV}} if exists $dh{ARGV}; } sub import { diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Lib.pm /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Lib.pm --- debhelper-7.0.17ubuntu4/Debian/Debhelper/Dh_Lib.pm 2008-04-30 23:13:06.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Debian/Debhelper/Dh_Lib.pm 2009-08-15 01:10:24.000000000 +0100 @@ -15,34 +15,24 @@ &filedoublearray &getpackages &basename &dirname &xargs %dh &compat &addsubstvar &delsubstvar &excludefile &package_arch &is_udeb &udeb_filename &debhelper_script_subst &escape_shell - &inhibit_log); + &inhibit_log &load_log &write_log &dpkg_architecture_value + &sourcepackage); my $max_compat=7; sub init { - # If DH_OPTIONS is set, prepend it @ARGV. - if (defined($ENV{DH_OPTIONS})) { - # Ignore leading/trailing whitespace. - $ENV{DH_OPTIONS}=~s/^\s+//; - $ENV{DH_OPTIONS}=~s/\s+$//; - unshift @ARGV,split(/\s+/,$ENV{DH_OPTIONS}); - } + my %params=@_; - # Check to see if an argument on the command line starts with a dash. - # if so, we need to pass this off to the resource intensive + # Check to see if an option line starts with a dash, + # or DH_OPTIONS is set. + # If so, we need to pass this off to the resource intensive # Getopt::Long, which I'd prefer to avoid loading at all if possible. - my $parseopt=undef; - my $arg; - foreach $arg (@ARGV) { - if ($arg=~m/^-/) { - $parseopt=1; - last; - } - } - if ($parseopt) { + if ((defined $ENV{DH_OPTIONS} && length $ENV{DH_OPTIONS}) || + (defined $ENV{DH_INTERNAL_OPTIONS} && length $ENV{DH_INTERNAL_OPTIONS}) || + grep /^-/, @ARGV) { eval "use Debian::Debhelper::Dh_Getopt"; - error($!) if $@; - %dh=Debian::Debhelper::Dh_Getopt::parseopts(); + error($@) if $@; + Debian::Debhelper::Dh_Getopt::parseopts($params{options}); } # Another way to set excludes. @@ -85,9 +75,6 @@ # Check if packages to build have been specified, if not, fall back to # the default, doing them all. if (! defined $dh{DOPACKAGES} || ! @{$dh{DOPACKAGES}}) { - if ($dh{DOINDEP} || $dh{DOARCH} || $dh{DOSAME}) { - error("You asked that all arch in(dep) packages be built, but there are none of that type."); - } push @{$dh{DOPACKAGES}},@allpackages; } @@ -114,14 +101,35 @@ my $write_log=1; sub END { if ($? == 0 && $write_log) { - my $cmd=basename($0); - foreach my $package (@{$dh{DOPACKAGES}}) { - my $ext=pkgext($package); - my $log="debian/${ext}debhelper.log"; - open(LOG, ">>", $log) || error("failed to write to ${log}: $!"); - print LOG $cmd."\n"; - close LOG; - } + write_log(basename($0), @{$dh{DOPACKAGES}}); + } +} + +sub load_log { + my ($package, $db)=@_; + my $ext=pkgext($package); + + my @log; + open(LOG, "<", "debian/${ext}debhelper.log") || return; + while () { + chomp; + push @log, $_; + $db->{$package}{$_}=1 if defined $db; + } + close LOG; + return @log; +} + +sub write_log { + my $cmd=shift; + my @packages=@_; + + foreach my $package (@packages) { + my $ext=pkgext($package); + my $log="debian/${ext}debhelper.log"; + open(LOG, ">>", $log) || error("failed to write to ${log}: $!"); + print LOG $cmd."\n"; + close LOG; } } @@ -167,8 +175,7 @@ verbose_print(escape_shell(@_)); if (! $dh{NO_ACT}) { - my $ret=system(@_); - $ret == 0 || error("command returned error code $ret"); + system(@_) == 0 || _error_exitcode($_[0]); } } @@ -181,11 +188,23 @@ if (! $dh{NO_ACT}) { # The join makes system get a scalar so it forks off a shell. - system(join(" ",@_)) == 0 - || error("command returned error code"); + system(join(" ", @_)) == 0 || _error_exitcode(join(" ", @_)) } } +sub _error_exitcode { + my $command=shift; + if ($? == -1) { + error("$command failed to to execute: $!"); + } + elsif ($? & 127) { + error("$command died with signal ".($? & 127)); + } + else { + error("$command returned exit code ".($? >> 8)); + } +} + # Run a command that may have a huge number of arguments, like xargs does. # Pass in a reference to an array containing the arguments, and then other # parameters that are the command and any parameters that should be passed to @@ -282,6 +301,7 @@ # Try the file.. open (COMPAT_IN, "debian/compat") || error "debian/compat: $!"; my $l=; + close COMPAT_IN; if (! defined $l || ! length $l) { warning("debian/compat is empty, assuming level $c"); } @@ -293,7 +313,7 @@ } if ($c < 4 && ! $warned_compat) { - warning("Compatibility levels before 4 are deprecated."); + warning("Compatibility levels before 5 are deprecated."); $warned_compat=1; } @@ -327,12 +347,15 @@ # # It tries several filenames: # * debian/package.filename.buildarch +# * debian/package.filename.buildos # * debian/package.filename -# * debian/file (if the package is the main package) -# If --name was specified then tonly the first two are tried, and they must -# have the name after the pacage name: +# * debian/filename (if the package is the main package) +# If --name was specified then the files +# must have the name after the package name: # * debian/package.name.filename.buildarch +# * debian/package.name.filename.buildos # * debian/package.name.filename +# * debian/name.filename (if the package is the main package) sub pkgfile { my $package=shift; my $filename=shift; @@ -342,6 +365,7 @@ } my @try=("debian/$package.$filename.".buildarch(), + "debian/$package.$filename.".buildos(), "debian/$package.$filename"); if ($package eq $dh{MAINPACKAGE}) { push @try, "debian/$filename"; @@ -582,19 +606,38 @@ return 0; } +sub dpkg_architecture_value { + my $var = shift; + my $value=`dpkg-architecture -q$var 2>/dev/null` || error("dpkg-architecture failed"); + chomp $value; + return $value; +} + # Returns the build architecture. (Memoized) { my $arch; sub buildarch { - return $arch if defined $arch; - - $arch=`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null` || error("dpkg-architecture failed"); - chomp $arch; + if (!defined $arch) { + $arch=dpkg_architecture_value('DEB_HOST_ARCH'); + } return $arch; } } +# Returns the build OS. (Memoized) +{ + my $os; + + sub buildos { + return $os if defined $os; + + $os=`dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null` || error("dpkg-architecture failed"); + chomp $os; + return $os; + } +} + # Passed an arch and a list of arches to match against, returns true if matched sub samearch { my $arch=shift; @@ -607,6 +650,23 @@ return 0; } +# Returns source package name +sub sourcepackage { + open (CONTROL, 'debian/control') || + error("cannot read debian/control: $!\n"); + while () { + chomp; + s/\s+$//; + if (/^Source:\s*(.*)/) { + close CONTROL; + return $1; + } + } + + close CONTROL; + error("could not find Source: line in control file."); +} + # Returns a list of packages in the control file. # Must pass "arch" or "indep" or "same" to specify arch-dependant or # -independant or same arch packages. If nothing is specified, returns all @@ -621,12 +681,6 @@ %package_arches=(); $type="" if ! defined $type; - - # Look up the build arch if we need to. - my $buildarch=''; - if ($type eq 'same') { - $buildarch=buildarch(); - } my $package=""; my $arch=""; @@ -664,7 +718,8 @@ if ($package && (($type eq 'indep' && $arch eq 'all') || ($type eq 'arch' && $arch ne 'all') || - ($type eq 'same' && ($arch eq 'any' || samearch($buildarch, $arch))) || + ($type eq 'same' && ($arch eq 'any' || + samearch(buildarch(), $arch))) || ! $type)) { push @list, $package; $package=""; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh --- debhelper-7.0.17ubuntu4/dh 2008-07-31 18:33:14.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh 2009-08-16 17:55:22.000000000 +0100 @@ -11,7 +11,7 @@ =head1 SYNOPSIS -B sequence [B<--until> I] [B<--before> I] [B<--after> I] [B<--remaining>] [B<--with> I] [S>] +B sequence [B<--with> I[,I,...]] [B<--list>] [B<--until> I] [B<--before> I] [B<--after> I] [B<--remaining>] [S>] =head1 DESCRIPTION @@ -34,10 +34,34 @@ in the sequence. The B<--until>, B<--before>, B<--after>, and B<--remaining> options can override this behavior. +If debian/rules contains a target with a name like "override_I", +then when it gets to that command in the sequence, dh will run that +target from the rules file, rather than running the actual command. The +override target can then run the command with additional options, or run +entirely different commands instead. (Note that to use this feature, +you should Build-Depend on debhelper 7.0.50 or above.) + =head1 OPTIONS =over 4 +=item B<--with> I[,I,...] + +Add the debhelper commands specified by the given addon to appropriate places +in the sequence of commands that is run. This option can be repeated more +than once, or multiple addons can be listed, separated by commas. +This is used when there is a third-party package that provides +debhelper commands. See the PROGRAMMING file for documentation about +the sequence addon interface. + +=item B<--without> I + +The inverse of --with, disables using the given addon. + +=item B<--list>, B<-l> + +List all available addons. + =item B<--until> I Run commands in the sequence until and including I, then stop. @@ -54,14 +78,6 @@ Run all commands in the sequence that have yet to be run. -=item B<--with> I - -Add the debhelper commands specified by the given addon to appropriate places -in the sequence of commands that is run. This option can be repeated more -than once, and is used when there is a third-party package that provides -debhelper commands. See "SEQUENCE ADDONS" below for documentation about what -such packages should do to be supported by --with. - =back All other options passed to dh are passed on to each command it runs. This @@ -75,28 +91,6 @@ ambiguity. If there are multiple substring matches, the last one in the sequence will be used. -=head1 SEQUENCE ADDONS - -When B<--with> I is used, dh loads the perl module -Debian::Debhelper::Sequence::I. Two functions are provided to let -the module add its commands to sequences: - -=over 4 - -=item Debian::Debhelper::Dh_Lib::insert_before(existing_command, new_command) - -Insert I in sequences before I. - -=item Debian::Debhelper::Dh_Lib::insert_after(existing_command, new_command) - -Insert I in sequences after I. - -=item Debian::Debhelper::Dh_Lib::remove_command(existing_command) - -Remove I from the list of commands to run. - -=back - =cut sub command_pos { @@ -137,90 +131,98 @@ %: dh $@ -This is a simple rules file that is a good starting place for customisation. -(It's also available in F +Often you'll want to pass an option to a specific debhelper command. The +easy way to do with is by adding an override target for that command. + + #!/usr/bin/make -f + %: + dh $@ + + override_dh_strip: + dh_strip -Xfoo + + override_dh_installdocs: + dh_installdocs README TODO + +Sometimes the automated dh_auto_configure and dh_auto_build can't guess +what to do for a strange package. Here's how to avoid running either +and instead run your own commands. #!/usr/bin/make -f + %: + dh $@ - build: build-stamp - dh build - touch build-stamp - - clean: - dh clean - - install: build install-stamp - install-stamp: - dh install - touch install-stamp - - binary-arch: install - dh binary-arch - - binary-indep: install - dh binary-indep - - binary: binary-arch binary-indep - -Often you'll want to pass an option to ./configure. This uses dh to run all -commands before L, then runs that command by hand, -and then finished up by running the rest of the sequence. You could also -run ./configure by hand, instead of bothering with using dh_auto_configure. -And if necessary, you can add commands to run automake, etc here too. - - build: build-stamp - build-stamp: - dh build --before configure - dh_auto_configure -- --kitchen-sink=yes - dh build --after configure - touch build-stamp - -Here's how to skip two automated in a row (configure and build), and -instead run the commands by hand. - - build: build-stamp - build-stamp: - dh build --before configure + override_dh_auto_configure: ./mondoconfig + + override_dh_auto_build: make universe-explode-in-delight - dh build --after build - touch build-stamp -Another common case is wanting to run some code manually after a particular -debhelper command is run. +Another common case is wanting to do something manually before or +after a particular debhelper command is run. + + #!/usr/bin/make -f + %: + dh $@ - install: build install-stamp - install-stamp: - dh install --until dh_fixperms - # dh_fixperms has run, now override it for one program + override_dh_fixperms: + dh_fixperms chmod 4755 debian/foo/usr/bin/foo - # and continue - dh install --after dh_fixperms - touch install-stamp - -It's also fine to run debhelper commands early. Just make sure that at -least dh_prep is run from the sequence first, and be sure to use the -B<--remaining> option to ensure that commands that normally come before -those in the sequence are still run. - - install: build install-stamp - install-stamp: - dh install --until dh_prep - dh_installdocs README TODO - dh_installchangelogs Changes - dh install --remaining - touch install-stamp - - binary-arch: install - dh_strip -X foo - dh binary-arch --remaining + +If your package is a python package, dh will use dh_pysupport by +default. This is how to use dh_pycentral instead. + + #!/usr/bin/make -f + %: + dh --with python-central $@ + +To patch your package using quilt, you can tell dh to use quilt's dh +sequence addons like this: + + #!/usr/bin/make -f + %: + dh --with quilt $@ + +Here is an example of overriding where the dh_auto_* commands find +the package's source, for a package where the source is located in a +subdirectory. It also forces use of perl's Module::Build build system, +which can be necessary if debhelper wrongly detects that the package +uses MakeMaker. + + #!/usr/bin/make -f + %: + dh --sourcedirectory=src --buildsystem=perl_build $@ =cut # Stash this away before init modifies it. my @ARGV_orig=@ARGV; -init(); +# python-support is enabled by default, at least for now +# (and comes first so python-central loads later and can disable it). +unshift @ARGV, "--with=python-support"; + +# Disable complaints about unknown options for both dh and the commands +# it runs. This is done because dh accepts and passes on options that may +# be specific to only some debhelper commands. +$ENV{DH_IGNORE_UNKNOWN_OPTIONS}=1; + +init(options => { + "until=s" => \$dh{UNTIL}, + "after=s" => \$dh{AFTER}, + "before=s" => \$dh{BEFORE}, + "remaining" => \$dh{REMAINING}, + "with=s" => sub { + my ($option,$value)=@_; + push @{$dh{WITH}},split(",", $value); + }, + "without=s" => sub { + my ($option,$value)=@_; + @{$dh{WITH}} = grep { $_ ne $value } @{$dh{WITH}}; + }, + "l" => \$dh{LIST}, + "list" => \$dh{LIST}, +}); inhibit_log(); # Definitions of sequences. @@ -266,12 +268,11 @@ dh_installudev dh_installwm dh_installxfonts + dh_bugfiles dh_lintian - dh_desktop dh_gconf dh_icons dh_perl - dh_scrollkeeper dh_usrlocal dh_link @@ -292,9 +293,6 @@ }, @b]; $sequences{'binary-arch'} = [@{$sequences{binary}}]; -# --with python-support is enabled by default, at least for now -unshift @{$dh{WITH}}, "python-support"; - # sequence addon interface sub _insert { my $offset=shift; @@ -330,12 +328,41 @@ } } +sub add_command { + my $command=shift; + my $sequence=shift; + unshift @{$sequences{$sequence}}, $command; +} + +if ($dh{LIST}) { + my %addons; + + for my $inc (@INC) { + eval q{use File::Spec}; + my $path = File::Spec->catdir($inc, "Debian/Debhelper/Sequence"); + if (-d $path) { + for my $module_path (glob "$path/*.pm") { + my $name = basename($module_path); + $name =~ s/\.pm$//; + $name =~ s/_/-/g; + $addons{$name} = 1; + } + } + } + + for my $name (sort keys %addons) { + print "$name\n"; + } + + exit 0; +} + foreach my $addon (@{$dh{WITH}}) { my $mod="Debian::Debhelper::Sequence::$addon"; $mod=~s/-/_/g; eval "use $mod"; if ($@) { - error("--with $addon not supported or failed to load module $mod"); + error("unable to load addon $addon: $@"); } } @@ -344,8 +371,14 @@ error "specify a sequence to run"; } my $sequence=shift; -if (! exists $sequences{$sequence}) { - error "Unknown sequence $sequence (chose from: ". +if ($sequence eq 'debian/rules' || + $sequence =~ /^override_dh_/) { + # make -B causes the rules file to be run as a target + # and support completly empty override targets + exit 0 +} +elsif (! exists $sequences{$sequence}) { + error "Unknown sequence $sequence (choose from: ". join(" ", sort keys %sequences).")"; } my @sequence=@{$sequences{$sequence}}; @@ -372,11 +405,11 @@ while (@ARGV_orig) { my $opt=shift @ARGV_orig; next if $opt eq $sequence; - if ($opt =~ /^--?(after|until|before|with)$/) { + if ($opt =~ /^--?(after|until|before|with|without)$/) { shift @ARGV_orig; next; } - elsif ($opt =~ /^--?(no-act|remaining|(after|until|before|with)=)/) { + elsif ($opt =~ /^--?(no-act|remaining|(after|until|before|with|without)=)/) { next; } push @options, $opt; @@ -386,7 +419,7 @@ my %logged; my %startpoint; foreach my $package (@packages) { - my @log=loadlog($package); + my @log=load_log($package, \%logged); if ($dh{AFTER}) { # Run commands in the sequence that come after the # specified command. @@ -396,7 +429,7 @@ # no commands remain to run after it, communicating to # future dh instances that the specified command should not # be run again. - writelog($package, $sequence[$startpoint{$package}-1]); + write_log($sequence[$startpoint{$package}-1], $package); } elsif ($dh{REMAINING}) { # Start at the beginning so all remaining commands will get @@ -443,21 +476,32 @@ # Command already done for all packages. next; } - elsif (! @exclude) { - # Run command for all packages. - run($sequence[$i], @options); - } - else { - # Run command for only a subset of packages. - run($sequence[$i], @options, - map { "-N$_" } @exclude); - } + + run($sequence[$i], \@packages, \@exclude, @options); } sub run { my $command=shift; + my @packages=@{shift()}; + my @exclude=@{shift()}; my @options=@_; + # If some packages are excluded, add flags + # to prevent them from being acted on. + push @options, map { "-N$_" } @exclude; + + # Check for override targets in debian/rules and + # run them instead of running the command directly. + my $override_command; + if (rules_explicit_target("override_".$command)) { + $override_command=$command; + # This passes the options through to commands called + # inside the target. + $ENV{DH_INTERNAL_OPTIONS}=join("\x1e", @options); + $command="debian/rules"; + @options="override_".$override_command; + } + # 3 space indent lines the command being run up under the # sequence name after "dh ". print " ".escape_shell($command, @options)."\n"; @@ -470,32 +514,65 @@ elsif ($ret) { exit 1; } + + if (defined $override_command) { + delete $ENV{DH_INTERNAL_OPTIONS}; + # Need to handle logging for overriden commands here, + # because the actual debhelper command may not have + # been run by the rules file target. + # (But avoid logging for dh_clean since it removes + # the log earlier.) + if ($override_command ne 'dh_clean') { + my %packages=map { $_ => 1 } @packages; + map { delete $packages{$_} } @exclude; + write_log($override_command, keys %packages); + } + } } } -sub loadlog { - my $package=shift; - my $ext=pkgext($package); +{ +my %targets; +my $rules_parsed; + +sub rules_explicit_target { + # Checks if a specified target exists as an explicit target + # in debian/rules. + my $target=shift; - my @log; - open(LOG, "<", "debian/${ext}debhelper.log") || return; - while () { - chomp; - push @log, $_; - $logged{$package}{$_}=1; + if (! $rules_parsed) { + my $processing_targets = 0; + my $not_a_target = 0; + open(MAKE, "LC_ALL=C make -Rrnpsf debian/rules debhelper-fail-me 2>/dev/null |"); + while () { + if ($processing_targets) { + if (/^# Not a target:/) { + $not_a_target = 1; + } + else { + if (!$not_a_target && /^([^#:]+)::?/) { + # Target is defined. + # NOTE: if it is a depenency + # of .PHONY it will be + # defined too but that's ok. + $targets{$1} = 1; + } + # "Not a target:" is always followed by + # a target name, so resetting this one + # here is safe. + $not_a_target = 0; + } + } elsif (/^# Files$/) { + $processing_targets = 1; + } + } + close MAKE; + $rules_parsed = 1; } - close LOG; - return @log; + + return exists $targets{$target}; } - -sub writelog { - my $package=shift; - my $cmd=shift; - my $ext=pkgext($package); - - open(LOG, ">>", "debian/${ext}debhelper.log") || error("failed to write to log"); - print LOG $cmd."\n"; - close LOG; + } =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_auto_build /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_auto_build --- debhelper-7.0.17ubuntu4/dh_auto_build 2008-08-23 03:11:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_auto_build 2009-08-15 01:10:24.000000000 +0100 @@ -7,18 +7,19 @@ =cut use strict; -use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Buildsystems; =head1 SYNOPSIS -B [S>] [S I>] +B [S>] [S>] [S I>] =head1 DESCRIPTION -dh_auto_build is a debhelper program that tries to automatically -build a package. If a Makefile is found, this is done by running make (or -MAKE, if the environment variable is set). -If there's a setup.py, or Build.PL, it is run to build the package. +dh_auto_build is a debhelper program that tries to automatically build a +package. It does so by running the appropriate command for the build system +it detects the package uses. For example, if a Makefile is found, this is +done by running make (or MAKE, if the environment variable is set). If +there's a setup.py, or Build.PL, it is run to build the package. This is intended to work for about 90% of packages. If it doesn't work, you're encouraged to skip using dh_auto_build at all, and just run the @@ -26,6 +27,9 @@ =head1 OPTIONS +See L for a list of common build +system selection and control options. + =over 4 =item B<--> I @@ -37,17 +41,8 @@ =cut -init(); - -if (-e "Makefile" || -e "makefile" || -e "GNUmakefile") { - doit(exists $ENV{MAKE} ? $ENV{MAKE} : "make", @{$dh{U_PARAMS}}); -} -elsif (-e "setup.py") { - doit("python", "setup.py", "build", @{$dh{U_PARAMS}}); -} -elsif (-e "Build.PL" && -e "Build") { - doit("perl", "Build", @{$dh{U_PARAMS}}); -} +buildsystems_init(); +buildsystems_do(); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_auto_clean /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_auto_clean --- debhelper-7.0.17ubuntu4/dh_auto_clean 2008-08-23 03:11:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_auto_clean 2009-08-15 01:10:24.000000000 +0100 @@ -7,19 +7,20 @@ =cut use strict; -use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Buildsystems; =head1 SYNOPSIS -B [S>] [S I>] +B [S>] [S>] [S I>] =head1 DESCRIPTION dh_auto_clean is a debhelper program that tries to automatically clean up -after a package build. If there's a Makefile and it contains a "distclean", -"realclean", or "clean" target, then this is done by running make (or MAKE, -if the environment variable is set). If there is a setup.py or Build.PL, it -is run to clean the package. +after a package build. It does so by running the appropriate command for +the build system it detects the package uses. For example, if there's a +Makefile and it contains a "distclean", "realclean", or "clean" target, +then this is done by running make (or MAKE, if the environment variable is +set). If there is a setup.py or Build.PL, it is run to clean the package. This is intended to work for about 90% of packages. If it doesn't work, or tries to use the wrong clean target, you're encouraged to skip using @@ -27,6 +28,9 @@ =head1 OPTIONS +See L for a list of common build +system selection and control options. + =over 4 =item B<--> I @@ -38,30 +42,8 @@ =cut -init(); - -if (-e "Makefile" || -e "makefile" || -e "GNUmakefile") { - $ENV{MAKE}="make" unless exists $ENV{MAKE}; - foreach my $target (qw{distclean realclean clean}) { - # Use make -n to check to see if the target would do - # anything. There's no good way to test if a target exists. - my $ret=`$ENV{MAKE} -s -n $target 2>/dev/null`; - chomp $ret; - if (length $ret) { - doit($ENV{MAKE}, $target, @{$dh{U_PARAMS}}); - last; - } - } -} -elsif (-e "setup.py") { - doit("python", "setup.py", "clean", "-a", @{$dh{U_PARAMS}}); - # The setup.py might import files, leading to python creating pyc - # files. - doit('find', '.', '-name', '*.pyc', '-exec', 'rm', '{}', ';'); -} -elsif (-e "Build.PL" && -e "Build") { - doit("perl", "Build", "--allow_mb_mismatch", 1, "distclean", @{$dh{U_PARAMS}}); -} +buildsystems_init(); +buildsystems_do(); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_auto_configure /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_auto_configure --- debhelper-7.0.17ubuntu4/dh_auto_configure 2008-08-23 03:11:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_auto_configure 2009-08-15 01:10:24.000000000 +0100 @@ -7,19 +7,22 @@ =cut use strict; -use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Buildsystems; =head1 SYNOPSIS -B [S>] [S I>] +B [S>] [S>] [S I>] =head1 DESCRIPTION dh_auto_configure is a debhelper program that tries to automatically -configure a package prior to building. It looks for and runs a ./configure -script, Makefile.PL, or Build.PL. A standard set of parameters is -determined and passed to the program that is run. If no program to run is -found, dh_auto_configure will exit without doing anything. +configure a package prior to building. It does so by running the +appropriate command for the build system it detects the package uses. +For example, it looks for and runs a ./configure script, Makefile.PL, +Build.PL, or cmake. A standard set of parameters is determined and passed +to the program that is run. Some build systems, such as make, do not +need a configure step; for these dh_auto_configure will exit without +doing anything. This is intended to work for about 90% of packages. If it doesn't work, you're encouraged to skip using dh_auto_configure at all, and just run @@ -27,73 +30,25 @@ =head1 OPTIONS +See L for a list of common build +system selection and control options. + =over 4 =item B<--> I -Pass "params" to the program that is run. These can be used to supplement -or override the standard parameters that dh_auto_configure passes. +Pass "params" to the program that is run, after the standard +parameters that dh_auto_configure passes. This can be used to supplement +or override those parameters. For example: + + dh_auto_configure -- --with-foo --enable-bar =back =cut -init(); - -sub dpkg_architecture_value { - my $var=shift; - my $value=`dpkg-architecture -q$var 2>/dev/null` || error("dpkg-architecture failed"); - chomp $value; - return $value; -} - -sub sourcepackage { - open (CONTROL, 'debian/control') || - error("cannot read debian/control: $!\n"); - while () { - chomp; - s/\s+$//; - if (/^Source:\s*(.*)/) { - close CONTROL; - return $1; - } - } - - close CONTROL; - error("could not find Source: line in control file."); -} - -if (-x "configure") { - # Standard set of options for configure. - my @opts; - push @opts, "--build=".dpkg_architecture_value("DEB_BUILD_GNU_TYPE"); - push @opts, "--prefix=/usr"; - push @opts, "--includedir=\${prefix}/include"; - push @opts, "--mandir=\${prefix}/share/man"; - push @opts, "--infodir=\${prefix}/share/info"; - push @opts, "--sysconfdir=/etc"; - push @opts, "--localstatedir=/var"; - push @opts, "--libexecdir=\${prefix}/lib/".sourcepackage(); - push @opts, "--disable-maintainer-mode"; - push @opts, "--disable-dependency-tracking"; - # Provide --host only if different from --build, as recommended in - # autotools-dev README.Debian: When provided (even if equal) autotools - # 2.52+ switches to cross-compiling mode. - if (dpkg_architecture_value("DEB_BUILD_GNU_TYPE") ne dpkg_architecture_value("DEB_HOST_GNU_TYPE")) { - push @opts, "--host=".dpkg_architecture_value("DEB_HOST_GNU_TYPE"); - } - doit("./configure", @opts, @{$dh{U_PARAMS}}); -} -elsif (-e "Makefile.PL") { - # If set to a true value then MakeMaker's prompt function will - # # always return the default without waiting for user input. - $ENV{PERL_MM_USE_DEFAULT}=1; - doit("perl", "Makefile.PL", "INSTALLDIRS=vendor", @{$dh{U_PARAMS}}); -} -elsif (-e "Build.PL") { - $ENV{PERL_MM_USE_DEFAULT}=1; # Module::Build can also use this. - doit("perl", "Build.PL", "installdirs=vendor", @{$dh{U_PARAMS}}); -} +buildsystems_init(); +buildsystems_do(); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_auto_install /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_auto_install --- debhelper-7.0.17ubuntu4/dh_auto_install 2009-03-09 15:36:39.000000000 +0000 +++ debhelper-7.3.15ubuntu3/dh_auto_install 2009-08-15 01:10:24.000000000 +0100 @@ -8,24 +8,27 @@ use strict; use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Buildsystems; use Cwd; =head1 SYNOPSIS -B [S>] [S I>] +B [S>] [S>] [S I>] =head1 DESCRIPTION dh_auto_install is a debhelper program that tries to automatically install -built files. If there's a Makefile and it contains a "install" target, -then this is done by running make (or MAKE, if the environment variable is -set). If there is a setup.py or Build.PL, it is used. +built files. It does so by running the appropriate command for the build +system it detects the package uses. For example, if there's a Makefile and +it contains a "install" target, then this is done by running make (or MAKE, +if the environment variable is set). If there is a setup.py or Build.PL, +it is used. Note that the Ant build system does not support installation, +so dh_auto_install will not install files built using Ant. The files are installed into debian// if there is only one binary package. In the multiple binary package case, the files are instead installed into debian/tmp/, and should be moved from there to the -appropriate package build directory using L or -L. +appropriate package build directory using L. DESTDIR is used to tell make where to install the files. If the Makefile was generated by MakeMaker from a Makefile.PL, it will @@ -37,6 +40,9 @@ =head1 OPTIONS +See L for a list of common build +system selection and control options. + =over 4 =item B<--> I @@ -48,7 +54,7 @@ =cut -init(); +buildsystems_init(); my $destdir; my @allpackages=getpackages(); @@ -60,40 +66,7 @@ } $destdir=cwd()."/".$destdir; -if (-e "Makefile" || -e "makefile" || -e "GNUmakefile") { - $ENV{MAKE}="make" unless exists $ENV{MAKE}; - my @params="DESTDIR=$destdir"; - - # Special case for MakeMaker generated Makefiles. - if (-e "Makefile" && - system('grep -q "generated automatically by MakeMaker" Makefile') == 0) { - push @params, "PREFIX=/usr"; - } - - foreach my $target (qw{install}) { - # Use make -n to check to see if the target would do - # anything. There's no good way to test if a target exists. - my $ret=`$ENV{MAKE} -s -n $target 2>/dev/null`; - chomp $ret; - if (length $ret) { - doit($ENV{MAKE}, $target, - @params, - @{$dh{U_PARAMS}}); - last; - } - } -} -elsif (-e "setup.py") { - doit("python", "setup.py", "install", - "--root=$destdir", - "--no-compile", "-O0", - "--install-layout=deb", - @{$dh{U_PARAMS}}); -} -elsif (-e "Build.PL" && -e "Build") { - doit("perl", "Build", "install", "destdir=$destdir", - "create_packlist=0", @{$dh{U_PARAMS}}); -} +buildsystems_do("install", $destdir); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_auto_test /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_auto_test --- debhelper-7.0.17ubuntu4/dh_auto_test 2008-08-23 03:11:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_auto_test 2009-08-15 01:10:24.000000000 +0100 @@ -7,20 +7,21 @@ =cut use strict; -use Debian::Debhelper::Dh_Lib; +use Debian::Debhelper::Dh_Buildsystems; =head1 SYNOPSIS -B [S>] [S I>] +B [S>] [S>] [S I>] =head1 DESCRIPTION dh_auto_test is a debhelper program that tries to automatically run a -package's test suite. If there's a Makefile and it contains a "test" -or "check" target, then this is done by running make (or MAKE, if the -environment variable is set). If the test suite fails, the command will -exit nonzero. If there's no test suite, it will exit zero without doing -anything. +package's test suite. It does so by running the appropriate command for the +build system it detects the package uses. For example, if there's a +Makefile and it contains a "test" or "check" target, then this is done by +running make (or MAKE, if the environment variable is set). If the test +suite fails, the command will exit nonzero. If there's no test suite, it +will exit zero without doing anything. This is intended to work for about 90% of packages with a test suite. If it doesn't work, you're encouraged to skip using dh_auto_test at all, and @@ -28,6 +29,9 @@ =head1 OPTIONS +See L for a list of common build +system selection and control options. + =over 4 =item B<--> I @@ -37,27 +41,20 @@ =back -=cut +=head1 NOTES -init(); +If the DEB_BUILD_OPTIONS environment variable contains "nocheck", no +tests will be performed. -if (-e "Makefile" || -e "makefile" || -e "GNUmakefile") { - $ENV{MAKE}="make" unless exists $ENV{MAKE}; - foreach my $target (qw{test check}) { - # Use make -n to check to see if the target would do - # anything. There's no good way to test if a target exists. - my $ret=`$ENV{MAKE} -s -n $target 2>/dev/null`; - chomp $ret; - if (length $ret) { - doit($ENV{MAKE}, $target, @{$dh{U_PARAMS}}); - last; - } - } -} -elsif (-e "Build.PL" && -e "Build") { - doit(qw/perl Build test/, @{$dh{U_PARAMS}}); +=cut + +if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nocheck/) { + exit 0; } +buildsystems_init(); +buildsystems_do(); + =head1 SEE ALSO L diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_bugfiles /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_bugfiles --- debhelper-7.0.17ubuntu4/dh_bugfiles 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_bugfiles 2009-08-11 17:47:39.000000000 +0100 @@ -0,0 +1,134 @@ +#!/usr/bin/perl -w + +=head1 NAME + +dh_bugfiles - install bug reporting customization files into package build directories + +=cut + +use strict; +use Debian::Debhelper::Dh_Lib; + +=head1 SYNOPSIS + +B [B<-A>] [S>] + +=head1 DESCRIPTION + +dh_bugfiles is a debhelper program that is responsible for installing +bug reporting customization files (bug scripts and/or bug control files +and/or presubj files) into package build directories. + +This helper program installs the following files if they are found: + +=over 3 + +=item B + +It is the script to be run by the bug reporting program for generating a bug +report template. This file is installed as F in the +package build directory if no other types of bug reporting customization +files are going to be installed for the package in question. Otherwise, +this file is installed as F. Finally, the +installed script is given execute permissions. + +=item B + +It is the bug control file containing some directions for the bug reporting +tool. This file is installed as F in the +package build directory. + +=item B + +The contents of this file are displayed to the user by the bug reporting +tool before allowing the user to write a bug report on the package to the +Debian Bug Tracking System. This file is installed as +F in the package build directory. + +=back + +=head1 OPTIONS + +=over 4 + +=item B<-A>, B<--all> + +Install debian/bug-* files to ALL packages acted on when respective +debian/package.bug-* files do not exist. Normally, debian/bug-* will +be installed to the first package only. + +=back + +=cut + +init(); + +# Types of bug files this debhelper program handles. +# Hash value is the name of the pkgfile of the respective +# type. +my %bugfile_types = ( + "script" => "bug-script", + "control" => "bug-control", + "presubj" => "bug-presubj", +); + +foreach my $package (@{$dh{DOPACKAGES}}) { + next if is_udeb($package); + + my $tmp=tmpdir($package); + my $dir="$tmp/usr/share/bug/$package"; + + # Gather information which bug files are available for the + # package in question + my %bugfiles=(); + while (my ($type, $pkgfilename) = each(%bugfile_types)) { + my $file=pkgfile($package,$pkgfilename); + if ($file) { + $bugfiles{$type}=$file; + } elsif (-f "debian/$pkgfilename" && $dh{PARAMS_ALL}) { + $bugfiles{$type}="debian/$pkgfilename"; + } + } + + # If there is only a bug script to install, install it as + # usr/share/bug/$package (unless this path is a directory) + if (! -d $dir && scalar(keys(%bugfiles)) == 1 && exists $bugfiles{script}) { + doit("install","-D","-p","-m755",$bugfiles{script},$dir); + } + elsif (scalar(keys(%bugfiles)) > 0) { + if (-f $dir) { + # Move usr/share/bug/$package to usr/share/bug/$package/script + doit("mv", $dir, "${dir}.tmp"); + doit("install","-d",$dir); + doit("mv", "${dir}.tmp", "$dir/script"); + } + elsif (! -d $dir) { + doit("install","-d",$dir); + } + while (my ($type, $srcfile) = each(%bugfiles)) { + doit("install","-p","-m644",$srcfile, "$dir/$type"); + } + } + + # Ensure that the bug script is executable + if (-f $dir) { + chmod 0755, $dir; + } + elsif (-f "$dir/script") { + chmod 0755, "$dir/script"; + } +} + +=head1 SEE ALSO + +F + +L + +This program is a part of debhelper. + +=head1 AUTHOR + +Modestas Vainius + +=cut diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_builddeb /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_builddeb --- debhelper-7.0.17ubuntu4/dh_builddeb 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_builddeb 2009-08-15 01:10:24.000000000 +0100 @@ -15,7 +15,7 @@ =head1 DESCRIPTION -dh_builddeb simply calls L to build a debian package or +dh_builddeb simply calls L to build a debian package or packages. =head1 OPTIONS @@ -43,7 +43,10 @@ =cut -init(); +init(options => { + "filename=s" => \$dh{FILENAME}, + "destdir=s" => \$dh{DESTDIR}, +}); # Set the default destination directory. if (! defined $dh{DESTDIR}) { diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_clean /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_clean --- debhelper-7.0.17ubuntu4/dh_clean 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_clean 2009-08-15 01:10:24.000000000 +0100 @@ -25,7 +25,7 @@ The debian/clean file can list other files to be removed. It does not run "make clean" to clean up after the build process. Use -L to do that. +L to do things like that. dh_clean (or "dh clean") should be the last debhelper command run in the clean target in debian/rules. @@ -57,7 +57,9 @@ =cut -init(); +init(options => { + "dirs-only" => \$dh{D_FLAG}, +}); inhibit_log(); if ($dh{K_FLAG}) { diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_compress /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_compress --- debhelper-7.0.17ubuntu4/dh_compress 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_compress 2009-08-15 01:10:24.000000000 +0100 @@ -24,9 +24,10 @@ By default, dh_compress compresses files that debian policy mandates should be compressed, namely all files in usr/share/info, usr/share/man, usr/X11R6/man, files in usr/share/doc that are larger than 4k in size, -(except the copyright file, .html and .css files, and files that appear to be -already compressed based on their extensions), and all changelog files. Plus -PCF fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/ +(except the copyright file, .html and .css files, image files, and files +that appear to be already compressed based on their extensions), and all +changelog files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and +usr/share/fonts/X11/ If a debian/package.compress file exists, the default files are not compressed. Instead, the debian/packages.compress is ran as a shell @@ -42,7 +43,7 @@ =item B<-X>I, B<--exclude=>I Exclude files that contain "item" anywhere in their filename from being -compressed. For example, -X.jpeg will exclude jpeg files from compression. +compressed. For example, -X.tiff will exclude tiff files from compression. You may use this option multiple times to build up a list of things to exclude. You can accomplish the same thing by using a debian/compress file, but this is easier. @@ -102,6 +103,7 @@ ! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\ ! -iname "*-gz" ! -iname "*-z" ! -iname "*_z" \\ ! -iname "*.jar" ! -iname "*.zip" ! -iname "*.css" \\ + ! -iname "*.svg" ! -iname "*.svgz" \\ ! -name "index.sgml" \\ ! -name "copyright" 2>/dev/null || true; find usr/X11R6/lib/X11/fonts usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_desktop /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_desktop --- debhelper-7.0.17ubuntu4/dh_desktop 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_desktop 2009-08-11 17:47:39.000000000 +0100 @@ -2,7 +2,7 @@ =head1 NAME -dh_desktop - Register .desktop files +dh_desktop - deprecated no-op =cut @@ -15,34 +15,14 @@ =head1 DESCRIPTION -dh_desktop is a debhelper program that registers .desktop files. -Currently this program does not handle installation of the files, though it -may do so at a later date. It takes care of adding maintainer script -fragments to call F. - -Note that since F currently only handles mime -types, as an optimisation, desktop files not containing MimeType fields -will currently be ignored by dh_desktop. +dh_desktop was a debhelper program that registers .desktop files. +However, it no longer does anything, and is now deprecated. =cut init(); -foreach my $package (@{$dh{DOPACKAGES}}) { - my $tmp=tmpdir($package); - - if (-d "$tmp/usr/share/applications") { - # Get a list of the desktop files that are in - # usr/share/applications and thus might need - # update-desktop-database be called. Other desktop - # files don't. - my $desktop_files = `find $tmp/usr/share/applications -type f -name \\*.desktop -execdir grep -q "^MimeType" '{}' \\; -printf '%p\n'`; - if ($desktop_files && ! $dh{NOSCRIPTS}) { - autoscript($package,"postinst","postinst-desktop"); - autoscript($package,"postrm","postrm-desktop"); - } - } -} +warning("This program is deprecated, and does nothing anymore."); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_fixperms /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_fixperms --- debhelper-7.0.17ubuntu4/dh_fixperms 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_fixperms 2009-08-15 01:10:24.000000000 +0100 @@ -24,9 +24,9 @@ the permissions of all man pages to mode 644. It makes all files be owned by root, and it removes group and other write permission from all files. It removes execute permissions from any libraries, headers, perl modules, or -desktop files that have it set. It makes all files in bin/ directories, -/usr/games/ and etc/init.d executable (since v4). Finally, it removes the -setuid and setgid bits from all files in the package. +desktop files that have it set. It makes all files in the standard bin and +sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, +it removes the setuid and setgid bits from all files in the package. =head1 OPTIONS @@ -82,6 +82,11 @@ # ..and desktop files .. complex_doit("find $tmp/usr/share/applications -type f $find_options -print0", "2>/dev/null | xargs -0r chmod 644"); + + # ..and OCaml native-code shared objects .. + complex_doit("find $tmp -perm -5 -type f", + "\\( -name '*.cmxs' \\) $find_options -print0", + "2>/dev/null | xargs -0r chmod 644"); # .. and perl modules. complex_doit("find $tmp/usr/lib/perl5 $tmp/usr/share/perl5 -type f", @@ -105,6 +110,13 @@ "-name '*.ali' $find_options -print0", "2>/dev/null | xargs -0r chmod uga-w"); } + + # Lintian overrides should never be executable, too. + if (-d "$tmp/usr/share/lintian") { + complex_doit("find $tmp/usr/share/lintian/overrides", + "-type f $find_options -print0", + "2>/dev/null | xargs -0r chmod 644"); + } } =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_gconf /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_gconf --- debhelper-7.0.17ubuntu4/dh_gconf 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_gconf 2009-08-15 01:10:24.000000000 +0100 @@ -27,6 +27,11 @@ directory, with "package" replaced by the package name. Some postinst and postrm fragments will be generated to launch update-gconf-defaults. +If a file named debian/package.gconf-mandatory exists, then it is +installed into usr/share/gconf/mandatory/10_package in the package build +directory, with "package" replaced by the package name, and similar +postinst and postrm fragments will be generated. + The gconf-schemas and update-gconf-defaults scripts are provided by the gconf2 package. An appropriate dependency will be generated in ${misc:Depends}. @@ -57,13 +62,21 @@ my $tmp=tmpdir($package); my $gconf_dep = 0; + my $mandatory = pkgfile($package, "gconf-mandatory"); + if ($mandatory ne '') { + doit("mkdir","-p","$tmp/usr/share/gconf/mandatory"); + doit("install","-p","-m644",$mandatory,"$tmp/usr/share/gconf/mandatory/${priority}_$package"); + autoscript($package,"postinst","postinst-gconf-defaults","s%#OPT#%--mandatory%"); + addsubstvar($package, "misc:Depends", "gconf2 (>= 2.24.0-5)"); + $gconf_dep = 1; + } my $defaults = pkgfile($package,"gconf-defaults"); if ($defaults ne '') { doit("mkdir","-p","$tmp/usr/share/gconf/defaults"); doit("install","-p","-m644",$defaults,"$tmp/usr/share/gconf/defaults/${priority}_$package"); - autoscript($package,"postinst","postinst-gconf-defaults"); - autoscript($package,"postrm","postrm-gconf-defaults"); - addsubstvar($package, "misc:Depends", "gconf2 (>= 2.12.1-1)"); + autoscript($package,"postinst","postinst-gconf-defaults","s%#OPT#%%"); + autoscript($package,"postrm","postrm-gconf-defaults","s%#OPT#%%"); + addsubstvar($package, "misc:Depends", "gconf2 (>= 2.12.1-1)") unless $gconf_dep; $gconf_dep = 1; } @@ -83,7 +96,6 @@ if ($schemas ne '') { autoscript($package,"postinst","postinst-gconf","s%#SCHEMAS#%$schemas%"); autoscript($package,"prerm","prerm-gconf","s%#SCHEMAS#%$schemas%"); - autoscript($package,"postrm","postrm-gconf","s%#SCHEMAS#%$schemas%"); addsubstvar($package, "misc:Depends", "gconf2 (>= 2.10.1-2)") unless $gconf_dep; } } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_gencontrol /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_gencontrol --- debhelper-7.0.17ubuntu4/dh_gencontrol 2008-07-31 18:33:14.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_gencontrol 2009-08-11 17:47:39.000000000 +0100 @@ -37,11 +37,15 @@ =cut -init(); +init(options => { + "dpkg-gencontrol-params=s", => \$dh{U_PARAMS}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); my $ext=pkgext($package); + + my $substvars="debian/${ext}substvars"; my $changelog=pkgfile($package,'changelog'); if (! $changelog) { @@ -52,16 +56,17 @@ doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN"); } + # avoid gratuitous warning + if (! -e $substvars || system("grep -q '^misc:Depends=' $substvars") != 0) { + complex_doit("echo misc:Depends= >> $substvars"); + } + # Generate and install control file. my @command="dpkg-gencontrol"; if (getpackages() > 1) { push @command, "-p$package"; } - if (is_udeb($package)) { - push @command, "-UHomepage"; - push @command, "-n".udeb_filename($package); - } - doit(@command, "-l$changelog", "-Tdebian/${ext}substvars", + doit(@command, "-l$changelog", "-T$substvars", "-P$tmp",@{$dh{U_PARAMS}}); # This chmod is only necessary if the user sets the umask to diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_icons /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_icons --- debhelper-7.0.17ubuntu4/dh_icons 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_icons 2009-08-11 17:47:39.000000000 +0100 @@ -46,6 +46,8 @@ opendir(DIRHANDLE, $icondir); while (my $subdir = readdir(DIRHANDLE)) { next if $subdir =~ /^\./; + next if $subdir eq "gnome"; + next if $subdir eq "hicolor"; my $needs_cache = 0; find sub { $needs_cache = 1 if -f and (/\.png$/ or /\.svg$/ or /\.xpm$/ or /\.icon$/); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_install /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_install --- debhelper-7.0.17ubuntu4/dh_install 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_install 2009-08-15 01:10:24.000000000 +0100 @@ -42,17 +42,44 @@ From debhelper compatibility level 7 on, dh_install will fall back to looking in debian/tmp for files, if it doesn't find them in the current -directory (or whereever you've told it to look using --srcdir). +directory (or whereever you've told it to look using --sourcedir). =head1 OPTIONS =over 4 +=item B<--list-missing> + +This option makes dh_install keep track of the files it installs, and then at +the end, compare that list with the files in the source directory. If any of +the files (and symlinks) in the source directory were not installed to +somewhere, it will warn on stderr about that. + +This may be useful if you have a large package and want to make sure that +you don't miss installing newly added files in new upstream releases. + +Note that files that are excluded from being moved via the -X option are not +warned about. + +=item B<--fail-missing> + +This option is like --list-missing, except if a file was missed, it will +not only list the missing files, but also fail with a nonzero exit code. + =item B<-Xitem>, B<--exclude=item> Exclude files that contain "item" anywhere in their filename from being installed. +=item B<--sourcedir=dir> + +Look in the specified directory for files to be installed. + +Note that this is not the same as the --sourcedirectory option used +by the dh_auto_* commands. You rarely need to use this option, since +dh_install automatically looks for files in debian/tmp in debhelper +compatibility level 7 and above. + =item B<--autodest> Guess as the destination directory to install things to. If this is @@ -71,35 +98,6 @@ debian/package.install file, with no explicit destination, then dh_install will automatically guess the destination even if this flag is not set. -=item B<--list-missing> - -This option makes dh_install keep track of the files it installs, and then at -the end, compare that list with the files in the source directory. If any of -the files (and symlinks) in the source directory were not installed to -somewhere, it will warn on stderr about that. - -This may be useful if you have a large package and want to make sure that -you don't miss installing newly added files in new upstream releases. - -Note that files that are excluded from being moved via the -X option are not -warned about. - -=item B<--fail-missing> - -This option is like --list-missing, except if a file was missed, it will -not only list the missing files, but also fail with a nonzero exit code. - -=item B<--sourcedir=dir> - -Makes all source files be found under dir. If this is specified, it is -akin to all the source filenames having "dir/" prepended to them. - -To make dh_install behave like the old dh_movefiles, move your -package.files file to package.install and call dh_install with -"--sourcedir=debian/tmp" appended to the command. This will -approximate dh_movefiles behaviour, except it will copy files instead -of moving them. - =item I Lists files (or directories) to install and where to install them to. @@ -109,12 +107,17 @@ =cut -init(); +init(options => { + "autodest" => \$dh{AUTODEST}, + "list-missing" => \$dh{LIST_MISSING}, + "fail-missing" => \$dh{FAIL_MISSING}, + "sourcedir=s" => \$dh{SOURCEDIR}, +}); my @installed; my $srcdir = '.'; -$srcdir = $dh{SOURCEDIR}."/" if defined $dh{SOURCEDIR}; +$srcdir = $dh{SOURCEDIR} if defined $dh{SOURCEDIR}; foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); @@ -148,7 +151,7 @@ my @found = glob "$srcdir/$glob"; if (! compat(6)) { # Fall back to looking in debian/tmp. - if (! @found || ! -e $found[0]) { + if (! @found || ! (-e $found[0] || -l $found[0])) { @found = glob "debian/tmp/$glob"; } } @@ -156,7 +159,6 @@ } if (! compat(4)) { # check added in v5 - # glob now, relative to srcdir if (! @filelist) { error("$package missing files (@$set), aborting"); } @@ -167,12 +169,9 @@ if (! defined $dest) { # Guess at destination directory. $dest=$src; - my $strip=$srcdir; - if ($strip eq '.') { - $strip = "debian/tmp"; - } - $dest=~s/^(.*\/)?\Q$strip\E//; - $dest=dirname($dest); + $dest=~s/^(.*\/)?\Q$srcdir\E\///; + $dest=~s/^(.*\/)?debian\/tmp\///; + $dest=dirname("/".$dest); $tmpdest=1; } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installchangelogs /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installchangelogs --- debhelper-7.0.17ubuntu4/dh_installchangelogs 2008-07-31 18:33:14.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installchangelogs 2009-08-11 17:47:39.000000000 +0100 @@ -11,7 +11,7 @@ =head1 SYNOPSIS -B [S>] [B<-k>] [I] +B [S>] [B<-k>] [B<-X>I] [I] =head1 DESCRIPTION @@ -53,6 +53,11 @@ upstream changelog has an unusual name, or if other documentation in the package refers to the changelog file. +=item B<-Xitem>, B<--exclude=item> + +Exclude upstream changelog files that contain "item" anywhere in their +filename from being installed. + =item I Install this file as the upstream changelog. @@ -68,8 +73,10 @@ if (! defined $upstream) { if (! isnative($dh{MAINPACKAGE}) && !compat(6)) { my @files=sort glob("*"); - foreach my $name (qw{changelog changes}) { - my @matches=grep { lc $_ eq $name && -s $_ } @files; + foreach my $name (qw{changelog changes changelog.txt changes.txt}) { + my @matches=grep { + lc $_ eq $name && -s $_ && ! excludefile($_) + } @files; if (@matches) { $upstream=shift @matches; last; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installdeb /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installdeb --- debhelper-7.0.17ubuntu4/dh_installdeb 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installdeb 2009-08-15 01:10:24.000000000 +0100 @@ -54,10 +54,13 @@ if (is_udeb($package)) { # For udebs, only do the postinst, and no #DEBHELPER#. - my $f=pkgfile($package,"postinst"); - if ($f) { - doit("install", "-o", 0, "-g", 0, "-m", 755, - $f, "$tmp/DEBIAN/postinst"); + # Udebs also support menutest and isinstallable scripts. + foreach my $script (qw{postinst menutest isinstallable}) { + my $f=pkgfile($package,$script); + if ($f) { + doit("install", "-o", 0, "-g", 0, "-m", 755, + $f, "$tmp/DEBIAN/$script"); + } } next; } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installdocs /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installdocs --- debhelper-7.0.17ubuntu4/dh_installdocs 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installdocs 2009-08-11 17:47:39.000000000 +0100 @@ -11,7 +11,7 @@ =head1 SYNOPSIS -B [S>] [B<-A>] [B<-n>] [B<-X>I] [S>] +B [S>] [B<-A>] [B<-X>I] [S>] =head1 DESCRIPTION @@ -40,10 +40,8 @@ Files named debian/package.docs can list other files to be installed. Files named debian/package.doc-base, will be installed as doc-base control -files, and will make this program automatically generate the postinst and -prerm commands needed to interface with the doc-base package. Note that the -doc-id will be determined from the "Document:" entry in the -doc-base control file in question. +files. Note that the doc-id will be determined from the "Document:" entry +in the doc-base control file in question. If your package needs to register more than one document, you need multiple files. To accomplish this, you can use files named debian/package.doc-base.* @@ -57,10 +55,6 @@ Install all files specified by command line parameters in ALL packages acted on. -=item B<-n>, B<--noscripts> - -Do not modify postinst/prerm scripts. - =item B<-Xitem>, B<--exclude=item> Exclude files that contain "item" anywhere in their filename from @@ -223,14 +217,6 @@ foreach my $fn (keys %doc_ids) { doit("install","-g",0,"-o",0,"-m644","-p","debian/$fn", "$tmp/usr/share/doc-base/$doc_ids{$fn}"); - if (! $dh{NOSCRIPTS}) { - autoscript($package,"postinst","postinst-doc-base", - "s/#DOC-ID#/$doc_ids{$fn}/", - ); - autoscript($package,"prerm","prerm-doc-base", - "s/#DOC-ID#/$doc_ids{$fn}/", - ); - } } } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installemacsen /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installemacsen --- debhelper-7.0.17ubuntu4/dh_installemacsen 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installemacsen 2009-08-11 17:47:39.000000000 +0100 @@ -59,7 +59,9 @@ =cut -init(); +init(options => { + "flavor=s" => \$dh{FLAVOR}, +}); if (! defined $dh{PRIORITY}) { $dh{PRIORITY}=50; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installinfo /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installinfo --- debhelper-7.0.17ubuntu4/dh_installinfo 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installinfo 2009-08-15 01:10:24.000000000 +0100 @@ -2,7 +2,7 @@ =head1 NAME -dh_installinfo - install and register info files +dh_installinfo - install info files =cut @@ -11,16 +11,12 @@ =head1 SYNOPSIS -B [S>] [B<-A>] [B<-n>] [S>] +B [S>] [B<-A>] [S>] =head1 DESCRIPTION dh_installinfo is a debhelper program that is responsible for installing -info files and registering the files it installs with install-info. - -Note that install-info determines some information about the info files by -parsing them, in particular, it looks at the INFO-DIR-SECTION line to -determine what section the info file belongs in. +info files into usr/share/info in the package build directory. Any filenames specified as parameters will be installed into the first package dh_installinfo is told to act on. By default, this is the first @@ -29,11 +25,6 @@ Files named debian/package.info can list other files to be installed. -dh_installinfo will automatically generate the postinst and prerm commands -needed to interface with install-info, updating the info dir. These -commands are inserted into the maintainer scripts by dh_installdeb. -See L for an explanation of how this works. - =head1 OPTIONS =over 4 @@ -43,10 +34,6 @@ Install all files specified by command line parameters in ALL packages acted on. -=item B<-n>, B<--noscripts> - -Do not modify postinst/prerm scripts. - =item I Install these info files into the first package acted on. (Or in @@ -54,12 +41,6 @@ =back -=head1 NOTES - -Note that this command is not idempotent. L should be called -between invocations of this command. Otherwise, it may cause multiple -instances of the same text to be added to maintainer scripts. - =cut init(); @@ -85,18 +66,8 @@ doit("cp",@info,"$tmp/usr/share/info"); doit("chmod","-R", "go=rX","$tmp/usr/share/info/"); doit("chmod","-R", "u+rw","$tmp/usr/share/info/"); - } - - foreach $file (@info) { - # Only register with install-info if this is a head file in - # a tree of info files. - if ($file !~ /-\d+$/ && ! $dh{NOSCRIPTS}) { - my $fn="/usr/share/info/".basename($file); - - autoscript($package,"postinst","postinst-info", - "s:#FILE#:$fn:"); - autoscript($package,"prerm","prerm-info", "s:#FILE#:$fn:"); - } + # For transition, could be removed later. + addsubstvar($package, "misc:Depends", "dpkg (>= 1.15.4) | install-info"); } } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installinit /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installinit --- debhelper-7.0.17ubuntu4/dh_installinit 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installinit 2009-09-30 21:42:40.000000000 +0100 @@ -2,7 +2,7 @@ =head1 NAME -dh_installinit - install init scripts into package build directories +dh_installinit - install upstart jobs or init scripts into package build directories =cut @@ -11,24 +11,39 @@ =head1 SYNOPSIS -B [S>] [B<--name=>I] [B<-n>] [B<-R>] [B<-r>] [B<-d>] [S I>] +B [S>] [B<--name=>I] [B<-n>] [B<-R>] [B<-r>] [B<-d>] [B<-O>] [S I>] =head1 DESCRIPTION dh_installinit is a debhelper program that is responsible for installing -init scripts and associated defaults files into package build directories. +upstart job files or init scripts with associated defaults files into package +build directories, and in the former case providing compatibility handling +for non-upstart systems. It also automatically generates the postinst and postrm and prerm commands needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init scripts. -If a file named debian/package.init exists, then it is installed into -etc/init.d/package in the package build directory, with "package" replaced -by the package name. - -If a file named debian/package.default exists, then it is installed into -etc/default/package in the package build directory, with "package" replaced -by the package name. +=head1 FILES + +=over 4 + +=item debian/I.upstart + +If this exists, it is installed into etc/init/I.conf in the package +build directory. + +=item debian/I.init + +Otherwise, if this exists, it is installed +into etc/init.d/I in the package build directory. + +=item debian/I.default + +If this exists, it is installed into etc/default/I in the package +build directory. + +=back =head1 OPTIONS @@ -41,9 +56,14 @@ =item B<-o>, B<--onlyscripts> Only modify postinst/postrm/prerm scripts, do not actually install any init -script or default files. May be useful if the init script is shipped and/or -installed by upstream in a way that doesn't make it easy to let -dh_installinit find it. +script, default files, or upstart job. May be useful if the init script or +upstart job is shipped and/or installed by upstream in a way that doesn't +make it easy to let dh_installinit find it. + +If no upstart job file is installed in the target directory when +dh_installinit --onlyscripts is called, this program will assume that an +init script is being installed and not provide the compatibility symlinks +or upstart dependencies. =item B<-R>, B<--restart-after-upgrade> @@ -68,7 +88,8 @@ =item B<-d>, B<--remove-d> Remove trailing "d" from the name of the package, and use the result for the -filename the init script is installed as in etc/init.d/ , and the default file +filename the upstart job file is installed as in etc/init/ , or for the +filename the init script is installed as in etc/init.d and the default file is installed as in etc/default/ . This may be useful for daemons with names ending in "d". (Note: this takes precedence over the --init-script parameter described below.) @@ -82,11 +103,12 @@ =item B<--name=>I -Install the init script (and default file) using the filename I -instead of the default filename, which is the package name. When this -parameter is used, dh_installinit looks for and installs files named -debian/package.name.init and debian/package.name.default, instead of the -usual debian/package.init and debian/package.default. +Install the upstart job file or the init script (and default file) using the +filename I instead of the default filename, which is the package name. +When this parameter is used, dh_installinit looks for and installs files +named debian/package.name.upstart, debian/package.name.init and +debian/package.name.default, instead of the usual debian/package.upstart, +debian/package.init and debian/package.default. =item B<--init-script=>I @@ -97,7 +119,16 @@ "package.scriptname" and if so will install it as the init script in preference to the files it normally installs. -This parameter is deprecated, use the --name parameter instead. +This parameter is deprecated, use the --name parameter instead. This +parameter will be ignored completely for upstart jobs. + +=item B<--upstart-only> + +Only install an upstart job file, and do not include maintainer script +code to replace an init script with that upstart job. + +This parameter is intended for use when the "package.upstart" file is +new and only to be used on Upstart-based systems. =item B<--error-handler=>I @@ -115,15 +146,27 @@ =cut -init(); +init(options => { + "r" => \$dh{R_FLAG}, + "no-restart-on-upgrade" => \$dh{R_FLAG}, + "no-start" => \$dh{NO_START}, + "R|restart-after-upgrade" => \$dh{RESTART_AFTER_UPGRADE}, + "init-script=s" => \$dh{INIT_SCRIPT}, + "update-rcd-params=s", => \$dh{U_PARAMS}, + "remove-d" => \$dh{D_FLAG}, + "O" => \$dh{ONLYSCRIPTS}, + "onlyscripts-upstart" => \$dh{ONLYSCRIPTS}, + "upstart-only" => \$dh{UPSTART_ONLY}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { my $tmp=tmpdir($package); # Figure out what filename to install it as. my $script; + my $jobfile=$package; if (defined $dh{NAME}) { - $script=$dh{NAME}; + $jobfile=$script=$dh{NAME}; } elsif ($dh{D_FLAG}) { # -d on the command line sets D_FLAG. We will @@ -131,7 +174,7 @@ # use that as the name. $script=$package; if ($script=~m/(.*)d$/) { - $script=$1; + $jobfile=$script=$1; } else { warning("\"$package\" has no final d' in its name, but -d was specified."); @@ -144,9 +187,32 @@ $script=$package; } - my $init=pkgfile($package,$script) || pkgfile($package,"init") || - pkgfile($package,"init.d"); - my $default=pkgfile($package,'default'); + my $job=pkgfile($package,"upstart"); + my ($init,$default) = ('',''); + + if ($job ne '' || ($dh{ONLYSCRIPTS} && -e "$tmp/etc/init/$jobfile.conf")) { + if (! $dh{ONLYSCRIPTS}) { + if (! -d "$tmp/etc/init") { + doit("install","-d","$tmp/etc/init"); + } + + doit("install","-p","-m644",$job,"$tmp/etc/init/$jobfile.conf"); + } + + # ensures that our /etc/init.d/ symlink points to a valid + # implementation + addsubstvar($package, "misc:Depends", "upstart-job"); + + if (! -d "$tmp/etc/init.d") { + doit("install","-d","$tmp/etc/init.d"); + } + doit("ln","-sf","/lib/init/upstart-job","$tmp/etc/init.d/$jobfile"); + } + else { + $init=pkgfile($package,$script) || pkgfile($package,"init") || + pkgfile($package,"init.d"); + $default=pkgfile($package,'default'); + } if ($default ne '' && ! $dh{ONLYSCRIPTS}) { if (! -d "$tmp/etc/default") { @@ -155,15 +221,16 @@ doit("install","-p","-m644",$default,"$tmp/etc/default/$script"); } - if ($init ne '' || $dh{ONLYSCRIPTS}) { - if (! $dh{ONLYSCRIPTS}) { - if (! -d "$tmp/etc/init.d") { - doit("install","-d","$tmp/etc/init.d"); - } - - doit("install","-p","-m755",$init,"$tmp/etc/init.d/$script"); + if ($init ne '' && ! $dh{ONLYSCRIPTS}) { + if (! -d "$tmp/etc/init.d") { + doit("install","-d","$tmp/etc/init.d"); } + doit("install","-p","-m755",$init,"$tmp/etc/init.d/$script"); + } + + if ($init ne '' || ($dh{ONLYSCRIPTS} && ! -e "$tmp/etc/init/$jobfile.conf")) + { # This is set by the -u "foo" command line switch, it's # the parameters to pass to update-rc.d. If not set, # we have to say "defaults". @@ -174,7 +241,7 @@ if ($params eq '') { $params="defaults"; } - + if (! $dh{NOSCRIPTS}) { if (! $dh{NO_START}) { if ($dh{RESTART_AFTER_UPGRADE}) { @@ -211,6 +278,43 @@ "s/#SCRIPT#/$script/;s/#INITPARMS#/$params/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); } } + + if ($job ne '' || ($dh{ONLYSCRIPTS} && -e "$tmp/etc/init/$jobfile.conf")) + { + if (! $dh{NOSCRIPTS}) { + if (! $dh{NO_START}) { + if ($dh{RESTART_AFTER_UPGRADE}) { + # restart (or start if new install) job + autoscript($package,"postinst", "postinst-upstart-restart", + "s/#JOB#/$jobfile/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); + } + else { + # start script + autoscript($package,"postinst", "postinst-upstart", + "s/#JOB#/$jobfile/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); + } + + if ($dh{R_FLAG} || $dh{RESTART_AFTER_UPGRADE}) { + # stops script only on remove + autoscript($package,"prerm","prerm-upstart-norestart", + "s/#JOB#/$jobfile/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); + } + else { + # always stops script + autoscript($package,"prerm","prerm-upstart", + "s/#JOB#/$jobfile/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); + } + } + + if (! $dh{UPSTART_ONLY}) { + $script=$jobfile; + autoscript($package,"preinst", "preinst-removeconffile", + "s!#OLD#!/etc/init.d/$script!g;s!#PACKAGE#!$package!g"); + autoscript($package,"postinst", "postinst-upstart-replace", + "s/#SCRIPT#/$script/;s/#ERROR_HANDLER#/$dh{ERROR_HANDLER}/"); + } + } + } } =head1 SEE ALSO @@ -219,8 +323,10 @@ This program is a part of debhelper. -=head1 AUTHOR +=head1 AUTHORS Joey Hess +Steve Langasek +Scott James Remnant =cut diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installman /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installman --- debhelper-7.0.17ubuntu4/dh_installman 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_installman 2009-08-11 17:47:39.000000000 +0100 @@ -85,7 +85,9 @@ =cut -init(); +init(options => { + "language=s" => \$dh{LANGUAGE}, +}); my @sofiles; my @sodests; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installmodules /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installmodules --- debhelper-7.0.17ubuntu4/dh_installmodules 2009-03-05 11:26:37.000000000 +0000 +++ debhelper-7.3.15ubuntu3/dh_installmodules 2009-08-11 17:47:39.000000000 +0100 @@ -106,16 +106,14 @@ if (! -e "$tmp/etc/modprobe.d") { doit("install","-d","$tmp/etc/modprobe.d"); } - doit("install","-m","0644",$modprobe_file,"$tmp/etc/modprobe.d/".pkgfilename($package).".conf"); + my $old="/etc/modprobe.d/".pkgfilename($package); + my $new=$old.".conf"; + doit("install","-m","0644",$modprobe_file,"$tmp/$new"); + autoscript($package,"preinst","preinst-moveconffile","s!#OLD#!$old!g;s!#PACKAGE#!$package!g"); + autoscript($package,"postinst","postinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$new!g"); } if (! $dh{NOSCRIPTS}) { - my $old="/etc/modprobe.d/".pkgfilename($package); - my $new="/etc/modprobe.d/".pkgfilename($package).".conf"; - - autoscript($package,"preinst","preinst-modules-preserve","s!#OLD#!$old!g;s!#NEW#!$new!g;s!#PACKAGE#!$package!g"); - autoscript($package,"postinst","postinst-modules-preserve","s!#OLD#!$old!g;s!#NEW#!$new!g;s!#PACKAGE#!$package!g"); - foreach my $kvers (find_kernel_modules("$tmp/lib/modules")) { autoscript($package,"postinst","postinst-modules","s/#KVERS#/$kvers/g"); autoscript($package,"postrm","postrm-modules","s/#KVERS#/$kvers/g"); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installudev /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installudev --- debhelper-7.0.17ubuntu4/dh_installudev 2009-01-06 18:13:03.000000000 +0000 +++ debhelper-7.3.15ubuntu3/dh_installudev 2009-08-25 11:37:07.000000000 +0100 @@ -37,8 +37,7 @@ =item B<--priority=>I -Sets the priority string of the filename. Default is 40. -See /lib/udev/rules.d/README to identify the appropriate priority. +Sets the priority string of the rules.d symlink. Default is 40. =item B<-n>, B<--noscripts> @@ -56,13 +55,26 @@ init(); -my $default=0; +# The priority used to look like z60_; +# we need to calculate that old value to handle +# conffile moves correctly. +my $old_priority=$dh{PRIORITY}; +my $old_ubuntu_priority=$dh{PRIORITY}; + +# In case a caller still uses the `z` prefix, remove it. +if (defined $dh{PRIORITY}) { + $dh{PRIORITY}=~s/^z//; +} + if (! defined $dh{PRIORITY}) { $dh{PRIORITY}="40"; - $default=1; + $old_priority="z60"; + $old_ubuntu_priority="50"; } if ($dh{PRIORITY}) { $dh{PRIORITY}.="-"; + $old_priority.="_"; + $old_ubuntu_priority.="-"; } foreach my $package (@{$dh{DOPACKAGES}}) { @@ -78,25 +90,22 @@ if (! -e "$tmp/lib/udev/rules.d") { doit("install","-d","$tmp/lib/udev/rules.d"); } - doit("install","-m","0644",$rules_file,"$tmp/lib/udev/rules.d/$dh{PRIORITY}$filename"); + my $rule="/lib/udev/rules.d/$dh{PRIORITY}$filename"; + doit("install","-m","0644",$rules_file,$tmp.$rule); if (! $dh{NOSCRIPTS}) { - my $old="/etc/udev/$filename"; - my $rule="/lib/udev/rules.d/$dh{PRIORITY}$filename"; - autoscript($package,"preinst","preinst-udev","s!#OLD#!$old!g;s!#RULE#!$rule!g;s!#PACKAGE#!$package!g"); - autoscript($package,"postinst","postinst-udev","s!#OLD#!$old!g;s!#RULE#!$rule!g"); - # Remove old rule from /etc, unless it's modified, - # in which case we leave it (or rename it) - if ($default) { - $old="/etc/udev/rules.d/50-$filename"; - } else { - $old="/etc/udev/rules.d/$dh{PRIORITY}$filename"; - } - $rule="/etc/udev/rules.d/$dh{PRIORITY}$filename"; - - autoscript($package,"preinst","preinst-udev-preserve","s!#OLD#!$old!g;s!#RULE#!$rule!g;s!#PACKAGE#!$package!g"); - if ($default) { - autoscript($package,"postinst","postinst-udev-preserve","s!#OLD#!$old!g;s!#RULE#!$rule!g"); + # in which case we rename it to match the new + # file in /lib, so it will override. + my $old="/etc/udev/rules.d/$old_priority$filename"; + $rule=~s/^\/lib/\/etc/; + autoscript($package,"preinst","preinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g;s!#PACKAGE#!$package!g"); + autoscript($package,"postinst","postinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g"); + if ($old_ubuntu_priority ne $old_priority) { + $old="/etc/udev/rules.d/$old_ubuntu_priority$filename"; + autoscript($package,"preinst","preinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g;s!#PACKAGE#!$package!g"); + if ($old_ubuntu_priority ne $dh{PRIORITY}) { + autoscript($package,"postinst","postinst-moveconffile","s!#OLD#!$old!g;s!#NEW#!$rule!g"); + } } } } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_installxfonts /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_installxfonts --- debhelper-7.0.17ubuntu4/dh_installxfonts 2008-11-02 21:53:43.000000000 +0000 +++ debhelper-7.3.15ubuntu3/dh_installxfonts 2009-08-11 17:47:39.000000000 +0100 @@ -75,11 +75,11 @@ autoscript($package, "postrm", "postrm-xfonts", "s:#CMDS#:".join(";", @cmds).":;"); - addsubstvar($package, "misc:Depends", "xfonts-utils (>= 1:1.0.0-6)"); + addsubstvar($package, "misc:Depends", "xfonts-utils"); } else { # remove - addsubstvar($package, "misc:Depends", "xfonts-utils (>= 1:1.0.0-6)", "", 1); + addsubstvar($package, "misc:Depends", "xfonts-utils", "", 1); } } diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_makeshlibs /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_makeshlibs --- debhelper-7.0.17ubuntu4/dh_makeshlibs 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_makeshlibs 2009-08-11 17:47:39.000000000 +0100 @@ -104,7 +104,12 @@ =cut -init(); +init(options => { + "m=s", => \$dh{M_PARAMS}, + "major=s" => \$dh{M_PARAMS}, + "version-info:s" => \$dh{V_FLAG}, + "add-udeb=s" => \$dh{SHLIBS_UDEB}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { next if is_udeb($package); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_md5sums /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_md5sums --- debhelper-7.0.17ubuntu4/dh_md5sums 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_md5sums 2009-08-11 17:47:39.000000000 +0100 @@ -43,7 +43,10 @@ =cut -init(); +init(options => { + "x" => \$dh{INCLUDE_CONFFILES}, # is -x for some unknown historical reason.. + "include-conffiles" => \$dh{INCLUDE_CONFFILES}, +}); foreach my $package (@{$dh{DOPACKAGES}}) { next if is_udeb($package); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_movefiles /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_movefiles --- debhelper-7.0.17ubuntu4/dh_movefiles 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_movefiles 2009-08-15 01:10:24.000000000 +0100 @@ -67,7 +67,9 @@ =cut -init(); +init(options => { + "sourcedir=s" => \$dh{SOURCEDIR}, +}); my $ret=0; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_perl /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_perl --- debhelper-7.0.17ubuntu4/dh_perl 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_perl 2009-08-17 21:01:13.000000000 +0100 @@ -60,9 +60,9 @@ =head1 CONFORMS TO -Debian policy, version 3.0.1 +Debian policy, version 3.8.3 -Perl policy, version 1.18 +Perl policy, version 1.20 =cut @@ -71,10 +71,6 @@ my $vendorlib = substr $Config{vendorlib}, 1; my $vendorarch = substr $Config{vendorarch}, 1; -# the installation dir for arch-indep modules changed to -# /usr/share/perl5 in this version: -my $min_version = '5.6.0-16'; - # Cleaning the paths given on the command line foreach (@ARGV) { s#/$##; @@ -125,9 +121,6 @@ unless $version; $version = ">= $version"; } - elsif ($deps & PM_MODULE) { - $version = ">= $min_version"; - } # no need to depend on an un-versioned perl-base -- it's # essential diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_prep /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_prep --- debhelper-7.0.17ubuntu4/dh_prep 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_prep 2009-08-11 17:47:39.000000000 +0100 @@ -2,7 +2,7 @@ =head1 NAME -dh_prep - preform cleanups in preparation for building a binary package +dh_prep - perform cleanups in preparation for building a binary package =cut diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_scrollkeeper /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_scrollkeeper --- debhelper-7.0.17ubuntu4/dh_scrollkeeper 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_scrollkeeper 2009-08-15 01:10:24.000000000 +0100 @@ -2,7 +2,7 @@ =head1 NAME -dh_scrollkeeper - generate ScrollKeeper registration scripts +dh_scrollkeeper - deprecated no-op =cut @@ -15,63 +15,15 @@ =head1 DESCRIPTION -B is a debhelper program that handles correctly -registering OMF files that it finds in package build trees with -ScrollKeeper. - -This command automatically adds maintainer script snippets for registering -and unregistering files with ScrollKeeper (unless B<-n> is used). These -snippets are inserted into the maintainer scripts by dh_installdeb. See -L for an explanation of Debhelper maintainer script -snippets. - -It will also change any DTD declarations in the OMF and DocBook files -to refer to local files instead of remote URLs. This change does not -modify the source files, but the files in the package build tree. - -=head1 OPTIONS - -=over 4 - -=item B<-n>, B<--noscripts> - -Do not modify F/F scripts. - -=back - -=head1 NOTES - -Note that this command is not idempotent. L should be -called between invocations of this command. Otherwise, it may cause -multiple instances of the same text to be added to maintainer scripts. +dh_scrollkeeper was a debhelper program that handled +registering OMF files for ScrollKeeper. However, it no longer does +anything, and is now deprecated. =cut init(); -# This is a list of paths where DocBook files might be stored. -my @xml_paths = ( - 'usr/share/gnome/help' # GNOME Help -); - -# Append the remaining command line arguments -push @xml_paths, @ARGV if @ARGV; - -foreach my $package (@{$dh{DOPACKAGES}}) { - my $tmp=tmpdir($package); - - # Only run if there have been OMF files installed - if (-d "$tmp/usr/share/omf") { - # Get a list of the OMF files - my @omf_files = `find $tmp/usr/share/omf -type f -printf '%p\n'`; - if (@omf_files) { - if (! $dh{NOSCRIPTS}) { - autoscript($package,"postinst","postinst-scrollkeeper"); - autoscript($package,"postrm","postrm-scrollkeeper"); - } - } - } -} +warning("This program is deprecated, and does nothing anymore."); =head1 SEE ALSO diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_shlibdeps /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_shlibdeps --- debhelper-7.0.17ubuntu4/dh_shlibdeps 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_shlibdeps 2009-08-15 01:10:24.000000000 +0100 @@ -82,10 +82,14 @@ on libbar1 as follows: dh_shlibdeps -Llibbar1 -l/usr/lib/bar - + =cut -init(); +init(options => { + "L|libpackage=s" => \$dh{LIBPACKAGE}, + "dpkg-shlibdeps-params=s", => \$dh{U_PARAMS}, + "l=s", => \$dh{L_PARAMS}, +}); if ($dh{L_PARAMS}) { my @paths=(); @@ -108,6 +112,11 @@ my $tmp=tmpdir($package); my $ext=pkgext($package); + # dpkg-shlibdeps expects this directory to exist + if (! -d "$tmp/DEBIAN") { + doit("install","-o",0,"-g",0,"-d","$tmp/DEBIAN"); + } + my @filelist; my $ff; @@ -117,7 +126,7 @@ if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') { $find_options="! \\( $dh{EXCLUDE_FIND} \\)"; } - foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" \\) $find_options -print`)) { + foreach my $file (split(/\n/,`find $tmp -type f \\( -perm +111 -or -name "*.so*" -or -name "*.cmxs" \\) $find_options -print`)) { # Prune directories that contain separated debug symbols. next if $file=~m!^\Q$tmp\E/usr/lib/debug/(lib|lib64|usr|bin|sbin|opt|dev|emul)/!; # TODO this is slow, optimize. Ie, file can run once on diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/dh_strip /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/dh_strip --- debhelper-7.0.17ubuntu4/dh_strip 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/dh_strip 2009-08-15 01:10:24.000000000 +0100 @@ -77,7 +77,9 @@ =cut -init(); +init(options => { + "keep-debug" => \$dh{K_FLAG}, +}); # This variable can be used to turn off stripping (see Policy). if (defined $ENV{DEB_BUILD_OPTIONS} && $ENV{DEB_BUILD_OPTIONS} =~ /nostrip/) { @@ -113,7 +115,8 @@ return if $fn=~m/debug\/.*\.so/; # Does its filename look like a shared library? - if (m/.*\.so.*?/) { + # (*.cmxs are OCaml native code shared libraries) + if (m/.*\.(so.*?|cmxs$)/) { # Ok, do the expensive test. my $type=get_file_type($_); if ($type=~m/.*ELF.*shared.*/) { diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/doc/PROGRAMMING /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/doc/PROGRAMMING --- debhelper-7.0.17ubuntu4/doc/PROGRAMMING 2008-04-30 17:53:16.000000000 +0100 +++ debhelper-7.3.15ubuntu3/doc/PROGRAMMING 2009-08-15 01:10:24.000000000 +0100 @@ -46,27 +46,19 @@ There are always exceptions. Just ask me. -Introducing Dh_Lib.pm: ---------------------- +Introducing Dh_Lib: +------------------ -Dh_Lib.pm is the library used by all debhelper programs to parse their +Dh_Lib is the library used by all debhelper programs to parse their arguments and set some useful variables. It's not mandatory that your program use Dh_Lib.pm, but it will make it a lot easier to keep it in sync with the rest of debhelper if it does, so this is highly encouraged. -(There used to be a version of Dh_lib.pm that was a library of functions for -shell scripts. If you want to write a debhelper command that is a shell -script, I can dig up that old library for you. Only the perl one is -supported now, though.) - -Use Dh_Lib.pm like this: +Use Dh_Lib like this: use Debian::Debhelper::Dh_Lib init(); -The BEGIN block is there to make perl look for the module in all the right -places. - The init() function causes Dh_lib to parse the command line and do some other initialization tasks. @@ -77,6 +69,13 @@ -a, and -p. To help you make this work right, Dh_Lib.pm handles argument processing. Just call init(). +You can add support for additional options to your command by passing an +options hash to init(). The hash is then passed on the Getopt::Long to +parse the command line options. For example, to add a --foo option, which +sets $dh{FOO}: + +init(options => { foo => \$dh{FOO} }); + After argument processing, some global variables are used to hold the results; programs can use them later. These variables are elements of the %dh hash. @@ -99,27 +98,19 @@ -X EXCLUDE exclude a something from processing (you decide what this means for your program) (This is an array) - EXCLUDE_FIND same as DH_EXCLUDE, except all items are put +-X EXCLUDE_FIND same as EXCLUDE, except all items are put into a string in a way that they will make find find them. (Use ! in front to negate that, of course) Note that this should only be used inside complex_doit(), not in doit(). --x INCLUDE_CONFFILES - include conffiles. It's -x for obscure - historical reasons. -d D_FLAG you decide what this means to your program --r R_FLAG you decide what this means to your program --k K_FLAG you decide what this means to your program +-k K_FLAG used to turn on keeping of something -P TMPDIR package build directory (implies only one package is being acted on) -u U_PARAMS will be set to a string, that is typically parameters your program passes on to some other program. (This is an array) --m M_PARAMS will be set to a string, you decide what it - means to your program --l L_PARAMS will be set to a string, you decide what it - means to your program -V V_FLAG will be set to a string, you decide what it means to your program -V V_FLAG_SET will be 1 if -V was specified, even if no @@ -129,29 +120,16 @@ those processed here), will apply to all binary packages the program acts on, not just the first ---init-script INIT_SCRIPT will be set to a string, which specifies an - init script name (probably only - dh_installinit will ever use this) ---sourcedir SOURCEDIR will be set to a string (probably only - dh_movefiles will ever use this) ---destdir DESTDIR will be set to a string (probably only - dh_builddeb will ever use this) ---filename FILENAME will be set to a string ---flavor FLAVOR will be set to a string (probably only - dh_installemacsen will ever use this) ---number PRIORITY will be set to a number (deprecated) --priority PRIORITY will be set to a number +--mainpackage MAINPACKAGE controls which package is treated as the + main package to act on --name NAME a name to use for installed files, instead of the package name --error-handler ERROR_HANDLER a function to call on error ---language LANGUAGE specify what language a file is in ---add-udeb SHLIBS_UDEB used by dh_makeshlibs Any additional command line parameters that do not start with "-" will be ignored, and you can access them later just as you normally would. -If you need a new command line option, just ask me, and I will add it. - Global variables: ---------------- @@ -262,5 +240,50 @@ inhibit_log() Prevent logging the program's successful finish to debian/*debhelper.log +load_log($package, $hashref) + Loads the log file for the given package and returns a list of + logged commands. + (Passing a hashref also causes it to populate the hash.) +write_log($cmd, $package ...) + Writes the log files for the specified package(s), adding + the cmd to the end. + +Sequence Addons: +--------------- + +The dh(1) command has a --with parameter that ca be used to load +a sequence addon module named Debian::Debhelper::Sequence::. +These modules can add/remove commands to the dh command sequences, by +calling some functions from Dh_Lib: + +insert_before($existing_command, $new_command) + Insert $new_command in sequences before $existing_command + +insert_after($existing_command, $new_command) + Insert $new_command in sequences after $existing_command + +remove_command($existing_command) + Remove $existing_command from the list of commands to run + in all sequences. + +add_command($new_command, $sequence) + Add $new_command to the beginning of the specified sequence. + If the sequence does not exist, it will be created. + +Buildsystem Classes: +------------------- + +The dh_auto_* commands are frontends that use debhelper buildsystem +classes. These classes have names like Debian::Debhelper::Buildsystem::foo, +and are derived from Debian::Debhelper::Buildsystem, or other, related +classes. + +A buildsystem class needs to inherit or define these methods: DESCRIPTION, +check_auto_buildable, configure, build, test, install, clean. See the comments +inside Debian::Debhelper::Buildsystem for details. Note that this interface +is still subject to change. + +Note that third-party buildsystems will not automatically be used by default, +but can be forced to be used via the --buildsystem parameter. -- Joey Hess diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/doc/TODO /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/doc/TODO --- debhelper-7.0.17ubuntu4/doc/TODO 2008-06-20 00:18:25.000000000 +0100 +++ debhelper-7.3.15ubuntu3/doc/TODO 2009-08-15 01:10:24.000000000 +0100 @@ -3,33 +3,6 @@ Wishlist items: -* All debhelper programs should only accept the options they are documented - to accept (rather than accepting all debhelper options). They should - be able to print brief usage summaries. - - I think this calls for a restructuring. Make a Debhelper.pm class. Each - program subclasses the class. The class provides command line parsing, - useful functions, and so on. Skeleton of a debhelper command would then - be: - - use base qw{Debhelper}; - - sub startup { - # Add initialization stuff here. - } - - sub perpackage { - my $package=shift; - - # Stuff to do for each package here. - } - - sub fini { - # And final stuff here, if any. - } - - This needs more thought. - v8: * escaping in config files (for whitespace)? @@ -39,7 +12,7 @@ Deprecated: -* DH_COMPAT 1, 2, 3. Can be removed once all packages are seen to be using +* DH_COMPAT 1, 2, 3, 4. Can be removed once all packages are seen to be using a newer version. I won't hold my breath. Now with evil warning messages though. * Also, grep the entire archive for all dh_* command lines, @@ -50,9 +23,11 @@ * dh_installmanpages. * dh_testversion. Remove as soon as nothing uses it. * dh_movefiles. I won't hold my breath. -* debconf-mergetemplates support and the debian/template.ll files and the - debconf-utils dependency. * dh_undocumented * dh_installinit --init-script * dh_python * dh_clean -k (make it warn) +* Convert warning about unknown command-line options back to an error. + Need to wait a while (from Oct 2008) to ensure that most rules files + that pass unknown options to commands are fixed. +* dh_desktop, dh_scrollkeeper. Remove eventually.. diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/examples/rules.arch /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/examples/rules.arch --- debhelper-7.0.17ubuntu4/examples/rules.arch 2008-04-29 17:21:49.000000000 +0100 +++ debhelper-7.3.15ubuntu3/examples/rules.arch 2009-08-11 17:47:39.000000000 +0100 @@ -61,6 +61,7 @@ # dh_installwm # dh_installudev # dh_lintian +# dh_bugfiles # dh_undocumented dh_installman dh_link @@ -68,7 +69,6 @@ dh_compress dh_fixperms # dh_perl -# dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/examples/rules.indep /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/examples/rules.indep --- debhelper-7.0.17ubuntu4/examples/rules.indep 2008-04-29 17:21:49.000000000 +0100 +++ debhelper-7.3.15ubuntu3/examples/rules.indep 2009-08-11 17:47:39.000000000 +0100 @@ -56,13 +56,13 @@ # dh_installwm # dh_installudev # dh_lintian +# dh_bugfiles # dh_undocumented dh_installman dh_link dh_compress dh_fixperms # dh_perl -# dh_python dh_installdeb dh_gencontrol dh_md5sums diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/examples/rules.multi /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/examples/rules.multi --- debhelper-7.0.17ubuntu4/examples/rules.multi 2008-04-29 17:21:49.000000000 +0100 +++ debhelper-7.3.15ubuntu3/examples/rules.multi 2009-08-11 17:47:39.000000000 +0100 @@ -61,13 +61,13 @@ # dh_installwm -i # dh_installudev -i # dh_lintian -i +# dh_bugfiles -i # dh_undocumented -i dh_installman -i dh_link -i dh_compress -i dh_fixperms -i # dh_perl -i -# dh_python -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i @@ -93,6 +93,7 @@ # dh_installwm -a # dh_installudev -a # dh_lintian -a +# dh_bugfiles -a # dh_undocumented -a dh_installman -a dh_strip -a @@ -100,7 +101,6 @@ dh_compress -a dh_fixperms -a # dh_perl -a -# dh_python -a # dh_makeshlibs -a dh_installdeb -a dh_shlibdeps -a diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/examples/rules.multi2 /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/examples/rules.multi2 --- debhelper-7.0.17ubuntu4/examples/rules.multi2 2008-04-29 17:21:49.000000000 +0100 +++ debhelper-7.3.15ubuntu3/examples/rules.multi2 2009-08-11 17:47:39.000000000 +0100 @@ -67,13 +67,13 @@ # dh_installwm # dh_installudev # dh_lintian +# dh_bugfiles # dh_undocumented dh_strip dh_link dh_compress dh_fixperms # dh_perl -# dh_python # dh_makeshlibs dh_installdeb dh_shlibdeps diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/examples/rules.simple /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/examples/rules.simple --- debhelper-7.0.17ubuntu4/examples/rules.simple 2008-06-15 18:29:09.000000000 +0100 +++ debhelper-7.3.15ubuntu3/examples/rules.simple 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -#!/usr/bin/make -f - -build: build-stamp -build-stamp: - dh build - touch build-stamp - -clean: - dh clean - -install: build install-stamp -install-stamp: - dh install - touch install-stamp - -binary-arch: install - dh binary-arch - -binary-indep: install - dh binary-indep - -binary: binary-arch binary-indep diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/Makefile /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/Makefile --- debhelper-7.0.17ubuntu4/Makefile 2008-07-31 17:27:07.000000000 +0100 +++ debhelper-7.3.15ubuntu3/Makefile 2009-08-16 17:39:04.000000000 +0100 @@ -25,7 +25,7 @@ PERLLIBDIR=$(shell perl -MConfig -e 'print $$Config{vendorlib}')/Debian/Debhelper -POD2MAN=pod2man -c Debhelper -r "$(VERSION)" +POD2MAN=pod2man --utf8 -c Debhelper -r "$(VERSION)" # l10n to be built is determined from .po files LANGS=$(notdir $(basename $(wildcard man/po4a/po/*.po))) @@ -36,7 +36,7 @@ cat debhelper.pod | \ $(MAKEMANLIST) `find . -maxdepth 1 -type f -perm +100 -name "dh_*" | sort` | \ $(POD2MAN) --name="debhelper" --section=7 > debhelper.7 - po4a man/po4a/po4a.cfg + po4a -L UTF-8 man/po4a/po4a.cfg set -e; \ for lang in $(LANGS); do \ dir=man/$$lang; \ @@ -44,9 +44,11 @@ prog=`basename $$file | sed 's/.pod//'`; \ $(POD2MAN) $$file $$prog.$$lang.1; \ done; \ - cat $$dir/debhelper.pod | \ - $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \ - $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \ + if [ -e $$dir/debhelper.pod ]; then \ + cat $$dir/debhelper.pod | \ + $(MAKEMANLIST) `find $$dir -type f -maxdepth 1 -name "dh_*.pod" | sort` | \ + $(POD2MAN) --name="debhelper" --section=7 > debhelper.$$lang.7; \ + fi; \ done version: @@ -63,13 +65,15 @@ install: install -d $(DESTDIR)/usr/bin \ $(DESTDIR)/usr/share/debhelper/autoscripts \ - $(DESTDIR)$(PERLLIBDIR)/Sequence + $(DESTDIR)$(PERLLIBDIR)/Sequence \ + $(DESTDIR)$(PERLLIBDIR)/Buildsystem install $(shell find -maxdepth 1 -mindepth 1 -name dh\* |grep -v \.1\$$) $(DESTDIR)/usr/bin install -m 0644 autoscripts/* $(DESTDIR)/usr/share/debhelper/autoscripts install -m 0644 Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR) install -m 0644 Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence + install -m 0644 Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem test: version - ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ } @ARGV' t/* + ./run perl -MTest::Harness -e 'runtests grep { ! /CVS/ && ! /\.svn/ && -f && -x } @ARGV' t/* t/buildsystems/* # clean up log etc ./run dh_clean diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/man/po4a/po/debhelper.pot /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/man/po4a/po/debhelper.pot --- debhelper-7.0.17ubuntu4/man/po4a/po/debhelper.pot 2009-03-05 11:27:12.000000000 +0000 +++ debhelper-7.3.15ubuntu3/man/po4a/po/debhelper.pot 2009-09-30 21:57:24.000000000 +0100 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2009-03-05 11:27+0000\n" +"POT-Creation-Date: 2009-09-30 13:57-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,34 +15,34 @@ "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING" -# type: =head1 +#. type: =head1 #: debhelper.pod:1 dh_builddeb:3 dh_clean:3 dh_compress:3 dh_desktop:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdebconf:3 dh_installdeb:3 dh_installdirs:3 dh_installdocs:3 dh_installemacsen:3 dh_installexamples:3 dh_installinfo:3 dh_installinit:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installmanpages:3 dh_installman:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_install:3 dh_installppp:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_python:3 dh_scrollkeeper:3 dh_shlibdeps:3 dh_strip:3 dh_suidregister:3 dh_testdir:3 dh_testroot:3 dh_testversion:3 dh_undocumented:3 dh_usrlocal:3 msgid "NAME" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:3 msgid "debhelper - the debhelper tool suite" msgstr "" -# type: =head1 +#. type: =head1 #: debhelper.pod:5 dh_builddeb:12 dh_clean:12 dh_compress:13 dh_desktop:12 dh_fixperms:12 dh_gconf:12 dh_gencontrol:12 dh_installcatalogs:14 dh_installchangelogs:12 dh_installcron:12 dh_installdebconf:12 dh_installdeb:12 dh_installdirs:12 dh_installdocs:12 dh_installemacsen:12 dh_installexamples:12 dh_installinfo:12 dh_installinit:12 dh_installlogcheck:12 dh_installlogrotate:12 dh_installmanpages:13 dh_installman:13 dh_installmenu:12 dh_installmime:12 dh_installmodules:14 dh_installpam:12 dh_install:13 dh_installppp:12 dh_installwm:12 dh_installxfonts:12 dh_link:13 dh_listpackages:12 dh_makeshlibs:12 dh_md5sums:13 dh_movefiles:12 dh_perl:14 dh_python:13 dh_scrollkeeper:12 dh_shlibdeps:13 dh_strip:13 dh_suidregister:7 dh_testdir:12 dh_testroot:7 dh_testversion:12 dh_undocumented:12 dh_usrlocal:15 msgid "SYNOPSIS" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:7 msgid "" "BI<*> [B<-v>] [B<-a>] [B<-i>] [B<-s>] [B<--no-act>] [B<-ppackage>] " "[B<-Npackage] [-Ptmpdir>]" msgstr "" -# type: =head1 +#. type: =head1 #: debhelper.pod:9 dh_builddeb:16 dh_clean:16 dh_compress:17 dh_desktop:16 dh_fixperms:16 dh_gconf:16 dh_gencontrol:16 dh_installcatalogs:18 dh_installchangelogs:16 dh_installcron:16 dh_installdebconf:16 dh_installdeb:16 dh_installdirs:16 dh_installdocs:16 dh_installemacsen:16 dh_installexamples:16 dh_installinfo:16 dh_installinit:16 dh_installlogcheck:16 dh_installlogrotate:16 dh_installmanpages:17 dh_installman:17 dh_installmenu:16 dh_installmime:16 dh_installmodules:18 dh_installpam:16 dh_install:17 dh_installppp:16 dh_installwm:16 dh_installxfonts:16 dh_link:17 dh_listpackages:16 dh_makeshlibs:16 dh_md5sums:17 dh_movefiles:16 dh_perl:18 dh_python:17 dh_scrollkeeper:16 dh_shlibdeps:17 dh_strip:17 dh_suidregister:11 dh_testdir:16 dh_testroot:11 dh_testversion:16 dh_undocumented:16 dh_usrlocal:19 msgid "DESCRIPTION" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:11 msgid "" "Debhelper is used to help you build a debian package. The philosophy behind " @@ -54,7 +54,7 @@ "new policy." msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:19 msgid "" "A typical debian/rules file that uses debhelper will call several debhelper " @@ -62,7 +62,7 @@ "rules files that use debhelper are in F" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:23 msgid "" "To create a new debian package using debhelper, you can just copy one of the " @@ -72,24 +72,24 @@ "contains a tutorial about making your first package using debhelper." msgstr "" -# type: =head1 +#. type: =head1 #: debhelper.pod:29 msgid "DEBHELPER COMMANDS" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:31 msgid "" "Here is the complete list of available debhelper commands. See their man " "pages for additional documentation." msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:36 msgid "#LIST#" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:40 msgid "" "If a program's name starts with \"dh_\", and the program is not on the above " @@ -97,12 +97,12 @@ "like the other programs described on this page." msgstr "" -# type: =head1 +#. type: =head1 #: debhelper.pod:44 msgid "DEBHELPER CONFIG FILES" msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:46 msgid "" "Many debhelper commands make use of files in F to control what they " @@ -113,7 +113,7 @@ "is replaced with the package that is being acted on)." msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:53 msgid "" "For example, dh_installdocs uses files named debian/package.docs to list the " @@ -124,7 +124,7 @@ "complicated formats." msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:60 msgid "" "Note that if a package is the first (or only) binary package listed in " @@ -132,18 +132,19 @@ "can be found." msgstr "" -# type: textblock +#. type: textblock #: debhelper.pod:64 msgid "" "In some rare cases, you may want to have different versions of these files " -"for different architectures. If files named debian/package.foo.arch exist, " -"where \"arch\" is the same as the output of \"dpkg-architecture " -"-qDEB_HOST_ARCH\", then they will be used in preference to other, more " +"for different architectures or OSes. If files named debian/package.foo.ARCH " +"or debian/package.foo.OS exist, where \"ARCH\" and \"OS\" are the same as " +"the output of \"dpkg-architecture -qDEB_HOST_ARCH\" / \"dpkg-architecture " +"-qDEB_HOST_ARCH_OS\", then they will be used in preference to other, more " "general files." msgstr "" -# type: textblock -#: debhelper.pod:70 +#. type: textblock +#: debhelper.pod:71 msgid "" "In many cases, these config files are used to specify various types of " "files. Documentation or example files to install, files to move, and so on. " @@ -151,84 +152,84 @@ "characters ('?' and '*' and '[..]' character classes) in the files." msgstr "" -# type: textblock -#: debhelper.pod:75 +#. type: textblock +#: debhelper.pod:76 msgid "" "You can also put comments in these files; lines beginning with \"#\" are " "ignored." msgstr "" -# type: =head1 -#: debhelper.pod:78 +#. type: =head1 +#: debhelper.pod:79 msgid "SHARED DEBHELPER OPTIONS" msgstr "" -# type: textblock -#: debhelper.pod:80 +#. type: textblock +#: debhelper.pod:81 msgid "The following command line options are supported by all debhelper programs." msgstr "" -# type: =item -#: debhelper.pod:84 +#. type: =item +#: debhelper.pod:85 msgid "B<-v>, B<--verbose>" msgstr "" -# type: textblock -#: debhelper.pod:86 +#. type: textblock +#: debhelper.pod:87 msgid "Verbose mode: show all commands that modify the package build directory." msgstr "" -# type: =item -#: debhelper.pod:88 +#. type: =item +#: debhelper.pod:89 msgid "B<--no-act>" msgstr "" -# type: textblock -#: debhelper.pod:90 +#. type: textblock +#: debhelper.pod:91 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." msgstr "" -# type: =item -#: debhelper.pod:93 +#. type: =item +#: debhelper.pod:94 msgid "B<-a>, B<--arch>" msgstr "" -# type: textblock -#: debhelper.pod:95 +#. type: textblock +#: debhelper.pod:96 msgid "Act on all architecture dependent packages." msgstr "" -# type: =item -#: debhelper.pod:97 +#. type: =item +#: debhelper.pod:98 msgid "B<-i>, B<--indep>" msgstr "" -# type: textblock -#: debhelper.pod:99 +#. type: textblock +#: debhelper.pod:100 msgid "Act on all architecture independent packages." msgstr "" -# type: =item -#: debhelper.pod:101 +#. type: =item +#: debhelper.pod:102 msgid "B<->I, B<--package=>I" msgstr "" -# type: textblock -#: debhelper.pod:103 +#. type: textblock +#: debhelper.pod:104 msgid "" "Act on the package named \"package\". This option may be specified multiple " "times to make debhelper operate on a given set of packages." msgstr "" -# type: =item -#: debhelper.pod:106 +#. type: =item +#: debhelper.pod:107 msgid "B<-s>, B<--same-arch>" msgstr "" -# type: textblock -#: debhelper.pod:108 +#. type: textblock +#: debhelper.pod:109 msgid "" "This is a smarter version of the -a flag, that is used in some rare " "circumstances. It understands that if the control file lists \"Architecture: " @@ -239,25 +240,40 @@ "command work on all packages that are not architecture independent." msgstr "" -# type: =item -#: debhelper.pod:116 +#. type: =item +#: debhelper.pod:117 msgid "B<-N>I, B<--no-package=>I" msgstr "" -# type: textblock -#: debhelper.pod:118 +#. type: textblock +#: debhelper.pod:119 msgid "" "Do not act on the specified package even if an -a, -i, or -p option lists " "the package as one that should be acted on." msgstr "" -# type: =item -#: debhelper.pod:121 +#. type: =item +#: debhelper.pod:122 +msgid "B<--remaining-packages>" +msgstr "" + +#. type: textblock +#: debhelper.pod:124 +msgid "" +"Do not act on the packages which have already been acted on by this " +"debhelper command earlier (i.e. if the command is present in the package " +"debhelper log). For example, if you need to call the command with special " +"options only for a couple of binary packages, pass this option to the last " +"call of the command to process the rest of packages with default settings." +msgstr "" + +#. type: =item +#: debhelper.pod:130 msgid "B<--ignore=>I" msgstr "" -# type: textblock -#: debhelper.pod:123 +#. type: textblock +#: debhelper.pod:132 msgid "" "Ignore the specified file. This can be used if debian/ contains a debhelper " "config file that a debhelper command should not act on. Note that " @@ -265,30 +281,30 @@ "then, there should never be a reason to ignore those files." msgstr "" -# type: textblock -#: debhelper.pod:128 +#. type: textblock +#: debhelper.pod:137 msgid "" "For example, if upstream ships a debian/init that you don't want " "dh_installinit to install, use --ignore=debian/init" msgstr "" -# type: =item -#: debhelper.pod:131 +#. type: =item +#: debhelper.pod:140 msgid "B<-P>I, B<--tmpdir=>I" msgstr "" -# type: textblock -#: debhelper.pod:133 +#. type: textblock +#: debhelper.pod:142 msgid "Use \"tmpdir\" for package build directory. The default is debian/" msgstr "" -# type: =item -#: debhelper.pod:135 +#. type: =item +#: debhelper.pod:144 msgid "B<--mainpackage=>I" msgstr "" -# type: textblock -#: debhelper.pod:137 +#. type: textblock +#: debhelper.pod:146 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in debian/control, and the " @@ -296,65 +312,148 @@ "debian/package.foo files." msgstr "" -# type: =head1 -#: debhelper.pod:144 +#. type: =head1 +#: debhelper.pod:153 msgid "COMMON DEBHELPER OPTIONS" msgstr "" -# type: textblock -#: debhelper.pod:146 +#. type: textblock +#: debhelper.pod:155 msgid "" "The following command line options are supported by some debhelper " "programs. See the man page of each program for a complete explanation of " "what each option does." msgstr "" -# type: =item -#: debhelper.pod:152 +#. type: =item +#: debhelper.pod:161 msgid "B<-n>" msgstr "" -# type: textblock -#: debhelper.pod:154 +#. type: textblock +#: debhelper.pod:163 msgid "Do not modify postinst/postrm/etc scripts." msgstr "" -# type: =item -#: debhelper.pod:156 dh_compress:42 dh_makeshlibs:66 dh_md5sums:37 dh_shlibdeps:36 dh_strip:39 +#. type: =item +#: debhelper.pod:165 dh_compress:43 dh_makeshlibs:66 dh_md5sums:37 dh_shlibdeps:36 dh_strip:39 msgid "B<-X>I, B<--exclude=>I" msgstr "" -# type: textblock -#: debhelper.pod:158 +#. type: textblock +#: debhelper.pod:167 msgid "" "Exclude an item from processing. This option may be used multiple times, to " "exclude more than one thing." msgstr "" -# type: =item -#: debhelper.pod:161 dh_compress:50 dh_installdirs:32 dh_installdocs:55 dh_installexamples:33 dh_installinfo:41 dh_installman:62 dh_link:52 +#. type: =item +#: debhelper.pod:170 dh_compress:51 dh_installdirs:32 dh_installdocs:53 dh_installexamples:33 dh_installinfo:32 dh_installman:62 dh_link:52 msgid "B<-A>, B<--all>" msgstr "" -# type: textblock -#: debhelper.pod:163 +#. type: textblock +#: debhelper.pod:172 msgid "" "Makes files or other items that are specified on the command line take " "effect in ALL packages acted on, not just the first." msgstr "" -# type: =head1 -#: debhelper.pod:168 dh_installcatalogs:52 dh_installdocs:87 dh_installemacsen:54 dh_installexamples:50 dh_installinfo:57 dh_installinit:110 dh_installman:79 dh_installmime:41 dh_installmodules:60 dh_installwm:53 dh_installxfonts:37 dh_movefiles:58 dh_scrollkeeper:42 dh_strip:68 dh_usrlocal:49 +#. type: =head1 +#: debhelper.pod:177 +msgid "BUILD SYSTEM OPTIONS" +msgstr "" + +#. type: textblock +#: debhelper.pod:179 +msgid "" +"The following command line options are supported by all of the dh_auto_* " +"debhelper programs. These programs support a variety of build systems, and " +"normally heuristically determine which to use, and how to use them. You can " +"use these command line options to override the default behavior." +msgstr "" + +#. type: =item +#: debhelper.pod:186 +msgid "B<-S>I, B<--buildsystem=>I" +msgstr "" + +#. type: textblock +#: debhelper.pod:188 +msgid "" +"Force use of the specified I, instead of trying to auto-select " +"one which might be applicable for the package." +msgstr "" + +#. type: =item +#: debhelper.pod:191 +msgid "B<-D>I, B<--sourcedirectory=>I" +msgstr "" + +#. type: textblock +#: debhelper.pod:193 +msgid "" +"Assume that the original package source tree is at the specified " +"I rather than the top level directory of the Debian source " +"package tree." +msgstr "" + +#. type: =item +#: debhelper.pod:197 +msgid "B<-B>[I], B<--builddirectory>=[I]" +msgstr "" + +#. type: textblock +#: debhelper.pod:199 +msgid "" +"Enable out of source building and use the specified I as the " +"build directory. If I parameter is omitted, a default build " +"directory will chosen." +msgstr "" + +#. type: textblock +#: debhelper.pod:203 +msgid "" +"If this option is not specified, building will be done in source by default " +"unless the build system requires or prefers out of source tree building. In " +"such a case, the default build directory will be used even if " +"L<--builddirectory> is not specified." +msgstr "" + +#. type: textblock +#: debhelper.pod:208 +msgid "" +"If the build system prefers out of source tree building but still allows in " +"source building, the latter can be re-enabled by passing a build directory " +"path that is the same as the source directory path." +msgstr "" + +#. type: =item +#: debhelper.pod:212 +msgid "B<--list>, B<-l>" +msgstr "" + +#. type: textblock +#: debhelper.pod:214 +msgid "" +"List all build systems supported by debhelper on this system. The list " +"includes both default and third party build systems (marked as such). Also " +"shows which build system would be automatically selected, or which one is " +"manually specified with the I<--buildsystem> option." +msgstr "" + +#. type: =head1 +#: debhelper.pod:221 dh_installcatalogs:52 dh_installdocs:81 dh_installemacsen:54 dh_installexamples:50 dh_installinit:141 dh_installman:79 dh_installmime:41 dh_installmodules:60 dh_installwm:53 dh_installxfonts:37 dh_movefiles:58 dh_strip:68 dh_usrlocal:49 msgid "NOTES" msgstr "" -# type: =head2 -#: debhelper.pod:170 +#. type: =head2 +#: debhelper.pod:223 msgid "Multiple binary package support" msgstr "" -# type: textblock -#: debhelper.pod:172 +#. type: textblock +#: debhelper.pod:225 msgid "" "If your source package generates more than one binary package, debhelper " "programs will default to acting on all binary packages when run. If your " @@ -365,8 +464,8 @@ "in the binary-indep debian/rules target." msgstr "" -# type: textblock -#: debhelper.pod:180 +#. type: textblock +#: debhelper.pod:233 msgid "" "To facilitate this, as well as give you more control over which packages are " "acted on by debhelper programs, all debhelper programs accept the B<-a>, " @@ -375,13 +474,13 @@ "in the control file." msgstr "" -# type: =head2 -#: debhelper.pod:186 +#. type: =head2 +#: debhelper.pod:239 msgid "Automatic generation of debian install scripts" msgstr "" -# type: textblock -#: debhelper.pod:188 +#. type: textblock +#: debhelper.pod:241 msgid "" "Some debhelper commands will automatically generate parts of debian " "maintainer scripts. If you want these automatically generated things " @@ -391,22 +490,22 @@ "dh_installdeb." msgstr "" -# type: textblock -#: debhelper.pod:195 +#. type: textblock +#: debhelper.pod:248 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." msgstr "" -# type: textblock -#: debhelper.pod:198 +#. type: textblock +#: debhelper.pod:251 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." msgstr "" -# type: textblock -#: debhelper.pod:201 +#. type: textblock +#: debhelper.pod:254 msgid "" "Note that the inserted code will be shell code, so you cannot directly use " "it in a perl script. If you would like to embed it into a perl script, here " @@ -414,8 +513,8 @@ "the set command):" msgstr "" -# type: verbatim -#: debhelper.pod:206 +#. type: verbatim +#: debhelper.pod:259 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -426,13 +525,13 @@ "\n" msgstr "" -# type: =head2 -#: debhelper.pod:212 +#. type: =head2 +#: debhelper.pod:265 msgid "Automatic generation of miscellaneous dependencies." msgstr "" -# type: textblock -#: debhelper.pod:214 +#. type: textblock +#: debhelper.pod:267 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -443,8 +542,8 @@ "things, so debhelper offers a way to automate it." msgstr "" -# type: textblock -#: debhelper.pod:222 +#. type: textblock +#: debhelper.pod:275 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called " @@ -452,8 +551,8 @@ "will be expanded to the dependencies debhelper figures you need." msgstr "" -# type: textblock -#: debhelper.pod:227 +#. type: textblock +#: debhelper.pod:280 msgid "" "This is entirely independent of the standard ${shlibs:Depends} generated by " "L, and the ${perl:Depends} generated by L. " @@ -461,20 +560,20 @@ "reality." msgstr "" -# type: =head2 -#: debhelper.pod:232 +#. type: =head2 +#: debhelper.pod:285 msgid "Package build directories" msgstr "" -# type: textblock -#: debhelper.pod:234 +#. type: textblock +#: debhelper.pod:287 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/." msgstr "" -# type: textblock -#: debhelper.pod:237 +#. type: textblock +#: debhelper.pod:290 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the -P flag. For example, \"dh_installdocs -Pdebian/tmp\", will " @@ -485,13 +584,13 @@ "act on." msgstr "" -# type: =head2 -#: debhelper.pod:245 +#. type: =head2 +#: debhelper.pod:298 msgid "Debhelper compatibility levels" msgstr "" -# type: textblock -#: debhelper.pod:247 +#. type: textblock +#: debhelper.pod:300 msgid "" "From time to time, major non-backwards-compatible changes need to be made to " "debhelper, to keep it clean and well-designed as needs change and its author " @@ -501,23 +600,23 @@ "behavior in various ways." msgstr "" -# type: textblock -#: debhelper.pod:254 +#. type: textblock +#: debhelper.pod:307 msgid "" "Tell debhelper what compatibility level to use by writing a number to " "debian/compat. For example, to turn on V7 mode:" msgstr "" -# type: verbatim -#: debhelper.pod:257 +#. type: verbatim +#: debhelper.pod:310 #, no-wrap msgid "" " % echo 7 > debian/compat\n" "\n" msgstr "" -# type: textblock -#: debhelper.pod:259 +#. type: textblock +#: debhelper.pod:312 msgid "" "Unless otherwise indicated, all debhelper documentation assumes that you are " "using the most recent compatibility level, and in most cases does not " @@ -527,18 +626,18 @@ "levels." msgstr "" -# type: textblock -#: debhelper.pod:266 +#. type: textblock +#: debhelper.pod:319 msgid "These are the available compatibility levels:" msgstr "" -# type: =item -#: debhelper.pod:270 +#. type: =item +#: debhelper.pod:323 msgid "V1" msgstr "" -# type: textblock -#: debhelper.pod:272 +#. type: textblock +#: debhelper.pod:325 msgid "" "This is the original debhelper compatibility level, and so it is the default " "one. In this mode, debhelper will use debian/tmp as the package tree " @@ -546,210 +645,210 @@ "using debian/ for all other packages listed in the control file." msgstr "" -# type: textblock -#: debhelper.pod:277 debhelper.pod:284 debhelper.pod:307 +#. type: textblock +#: debhelper.pod:330 debhelper.pod:337 debhelper.pod:360 debhelper.pod:389 msgid "This mode is deprecated." msgstr "" -# type: =item -#: debhelper.pod:279 +#. type: =item +#: debhelper.pod:332 msgid "V2" msgstr "" -# type: textblock -#: debhelper.pod:281 +#. type: textblock +#: debhelper.pod:334 msgid "" "In this mode, debhelper will consistently use debian/ as the " "package tree directory for every package that is built." msgstr "" -# type: =item -#: debhelper.pod:286 +#. type: =item +#: debhelper.pod:339 msgid "V3" msgstr "" -# type: textblock -#: debhelper.pod:288 +#. type: textblock +#: debhelper.pod:341 msgid "This mode works like V2, with the following additions:" msgstr "" -# type: =item -#: debhelper.pod:292 debhelper.pod:297 debhelper.pod:301 debhelper.pod:315 debhelper.pod:320 debhelper.pod:325 debhelper.pod:330 debhelper.pod:342 debhelper.pod:346 debhelper.pod:351 debhelper.pod:355 debhelper.pod:367 debhelper.pod:372 debhelper.pod:378 debhelper.pod:384 debhelper.pod:399 debhelper.pod:406 debhelper.pod:410 debhelper.pod:414 +#. type: =item +#: debhelper.pod:345 debhelper.pod:350 debhelper.pod:354 debhelper.pod:368 debhelper.pod:373 debhelper.pod:378 debhelper.pod:383 debhelper.pod:397 debhelper.pod:401 debhelper.pod:406 debhelper.pod:410 debhelper.pod:422 debhelper.pod:427 debhelper.pod:433 debhelper.pod:439 debhelper.pod:454 debhelper.pod:461 debhelper.pod:465 debhelper.pod:469 msgid "-" msgstr "" -# type: textblock -#: debhelper.pod:294 +#. type: textblock +#: debhelper.pod:347 msgid "" "Debhelper config files support globbing via * and ?, when appropriate. To " "turn this off and use those characters raw, just prefix with a backslash." msgstr "" -# type: textblock -#: debhelper.pod:299 +#. type: textblock +#: debhelper.pod:352 msgid "dh_makeshlibs makes the postinst and postrm scripts call ldconfig." msgstr "" -# type: textblock -#: debhelper.pod:303 +#. type: textblock +#: debhelper.pod:356 msgid "Every file in etc/ is automatically flagged as a conffile by dh_installdeb." msgstr "" -# type: =item -#: debhelper.pod:309 +#. type: =item +#: debhelper.pod:362 msgid "V4" msgstr "" -# type: textblock -#: debhelper.pod:311 +#. type: textblock +#: debhelper.pod:364 msgid "Changes from V3 are:" msgstr "" -# type: textblock -#: debhelper.pod:317 +#. type: textblock +#: debhelper.pod:370 msgid "" "dh_makeshlibs -V will not include the debian part of the version number in " "the generated dependency line in the shlibs file." msgstr "" -# type: textblock -#: debhelper.pod:322 +#. type: textblock +#: debhelper.pod:375 msgid "" "You are encouraged to put the new ${misc:Depends} into debian/control to " "supplement the ${shlibs:Depends} field." msgstr "" -# type: textblock -#: debhelper.pod:327 +#. type: textblock +#: debhelper.pod:380 msgid "" "dh_fixperms will make all files in bin/ directories and in etc/init.d " "executable." msgstr "" -# type: textblock -#: debhelper.pod:332 +#. type: textblock +#: debhelper.pod:385 msgid "dh_link will correct existing links to conform with policy." msgstr "" -# type: =item -#: debhelper.pod:336 +#. type: =item +#: debhelper.pod:391 msgid "V5" msgstr "" -# type: textblock -#: debhelper.pod:338 +#. type: textblock +#: debhelper.pod:393 msgid "Changes from V4 are:" msgstr "" -# type: textblock -#: debhelper.pod:344 +#. type: textblock +#: debhelper.pod:399 msgid "Comments are ignored in debhelper config files." msgstr "" -# type: textblock -#: debhelper.pod:348 +#. type: textblock +#: debhelper.pod:403 msgid "" "dh_strip --dbg-package now specifies the name of a package to put debugging " "symbols in, not the packages to take the symbols from." msgstr "" -# type: textblock -#: debhelper.pod:353 +#. type: textblock +#: debhelper.pod:408 msgid "dh_installdocs skips installing empty files." msgstr "" -# type: textblock -#: debhelper.pod:357 +#. type: textblock +#: debhelper.pod:412 msgid "dh_install errors out if wildcards expand to nothing." msgstr "" -# type: =item -#: debhelper.pod:361 +#. type: =item +#: debhelper.pod:416 msgid "V6" msgstr "" -# type: textblock -#: debhelper.pod:363 +#. type: textblock +#: debhelper.pod:418 msgid "Changes from V5 are:" msgstr "" -# type: textblock -#: debhelper.pod:369 +#. type: textblock +#: debhelper.pod:424 msgid "" -"Commands that generate maintainer script fragements will order the " -"fragements in reverse order for the prerm and postrm scripts." +"Commands that generate maintainer script fragments will order the fragments " +"in reverse order for the prerm and postrm scripts." msgstr "" -# type: textblock -#: debhelper.pod:374 +#. type: textblock +#: debhelper.pod:429 msgid "" "dh_installwm will install a slave manpage link for x-window-manager.1.gz, if " "it sees the man page in usr/share/man/man1 in the package build directory." msgstr "" -# type: textblock -#: debhelper.pod:380 +#. type: textblock +#: debhelper.pod:435 msgid "" "dh_builddeb did not previously delete everything matching DH_ALWAYS_EXCLUDE, " "if it was set to a list of things to exclude, such as \"CVS:.svn:.git\". Now " "it does." msgstr "" -# type: textblock -#: debhelper.pod:386 +#. type: textblock +#: debhelper.pod:441 msgid "" "dh_installman allows overwriting existing man pages in the package build " "directory. In previous compatibility levels it silently refuses to do this." msgstr "" -# type: =item -#: debhelper.pod:391 +#. type: =item +#: debhelper.pod:446 msgid "V7" msgstr "" -# type: textblock -#: debhelper.pod:393 +#. type: textblock +#: debhelper.pod:448 msgid "This is the recommended mode of operation." msgstr "" -# type: textblock -#: debhelper.pod:395 +#. type: textblock +#: debhelper.pod:450 msgid "Changes from V6 are:" msgstr "" -# type: textblock -#: debhelper.pod:401 +#. type: textblock +#: debhelper.pod:456 msgid "" "dh_install, will fall back to looking for files in debian/tmp if it doesn't " "find them in the current directory (or wherever you tell it look using " -"--srcdir). This allows dh_install to interoperate with dh_auto_install, " +"--sourcedir). This allows dh_install to interoperate with dh_auto_install, " "which installs to debian/tmp, without needing any special parameters." msgstr "" -# type: textblock -#: debhelper.pod:408 +#. type: textblock +#: debhelper.pod:463 msgid "dh_clean will read debian/clean and delete files listed there." msgstr "" -# type: textblock -#: debhelper.pod:412 +#. type: textblock +#: debhelper.pod:467 msgid "dh_clean will delete toplevel *-stamp files." msgstr "" -# type: textblock -#: debhelper.pod:416 +#. type: textblock +#: debhelper.pod:471 msgid "" "dh_installchangelogs will guess at what file is the upstream changelog if " "none is specified." msgstr "" -# type: =head2 -#: debhelper.pod:423 +#. type: =head2 +#: debhelper.pod:478 msgid "Doc directory symlinks" msgstr "" -# type: textblock -#: debhelper.pod:425 +#. type: textblock +#: debhelper.pod:480 msgid "" "Sometimes it is useful to make a package not contain a " "/usr/share/doc/package directory at all, instead placing just a dangling " @@ -762,13 +861,13 @@ "changelog." msgstr "" -# type: =head2 -#: debhelper.pod:434 +#. type: =head2 +#: debhelper.pod:489 msgid "udebs" msgstr "" -# type: textblock -#: debhelper.pod:436 +#. type: textblock +#: debhelper.pod:491 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"XC-Package-Type: udeb\" to the package's stanza in debian/control, and " @@ -778,13 +877,13 @@ "over preinst, postrm, prerm, and config scripts, etc." msgstr "" -# type: =head2 -#: debhelper.pod:443 +#. type: =head2 +#: debhelper.pod:498 msgid "Other notes" msgstr "" -# type: textblock -#: debhelper.pod:445 +#. type: textblock +#: debhelper.pod:500 msgid "" "In general, if any debhelper program needs a directory to exist under " "debian/, it will create it. I haven't bothered to document this in all the " @@ -794,8 +893,8 @@ "files, etc." msgstr "" -# type: textblock -#: debhelper.pod:451 +#. type: textblock +#: debhelper.pod:506 msgid "" "Once your package uses debhelper to build, be sure to add debhelper to your " "Build-Depends line in debian/control. You should build-depend on a version " @@ -803,83 +902,90 @@ "your package uses. So if your package used compatibility level 7:" msgstr "" -# type: verbatim -#: debhelper.pod:457 +#. type: verbatim +#: debhelper.pod:512 #, no-wrap msgid "" " Build-Depends: debhelper (>= 7)\n" "\n" msgstr "" -# type: =head1 -#: debhelper.pod:459 +#. type: =head1 +#: debhelper.pod:514 msgid "ENVIRONMENT" msgstr "" -# type: =item -#: debhelper.pod:463 +#. type: =item +#: debhelper.pod:518 msgid "DH_VERBOSE" msgstr "" -# type: textblock -#: debhelper.pod:465 +#. type: textblock +#: debhelper.pod:520 msgid "" "Set to 1 to enable verbose mode. Debhelper will output every command it runs " "that modifies files on the build system." msgstr "" -# type: =item -#: debhelper.pod:468 +#. type: =item +#: debhelper.pod:523 msgid "DH_COMPAT" msgstr "" -# type: textblock -#: debhelper.pod:470 +#. type: textblock +#: debhelper.pod:525 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value in debian/compat." msgstr "" -# type: =item -#: debhelper.pod:473 +#. type: =item +#: debhelper.pod:528 msgid "DH_NO_ACT" msgstr "" -# type: textblock -#: debhelper.pod:475 +#. type: textblock +#: debhelper.pod:530 msgid "Set to 1 to enable no-act mode." msgstr "" -# type: =item -#: debhelper.pod:477 +#. type: =item +#: debhelper.pod:532 msgid "DH_OPTIONS" msgstr "" -# type: textblock -#: debhelper.pod:479 +#. type: textblock +#: debhelper.pod:534 msgid "" "Anything in this variable will be prepended to the command line arguments of " -"all debhelper commands. This is useful in some situations, for example, if " -"you need to pass -p to all debhelper commands that will be run. One good way " -"to set DH_OPTIONS is by using \"Target-specific Variable Values\" in your " -"debian/rules file. See the make documentation for details on doing this." +"all debhelper commands. Command-specific options will be ignored by commands " +"that do not support them." msgstr "" -# type: =item -#: debhelper.pod:485 +#. type: textblock +#: debhelper.pod:538 +msgid "" +"This is useful in some situations, for example, if you need to pass -p to " +"all debhelper commands that will be run. One good way to set DH_OPTIONS is " +"by using \"Target-specific Variable Values\" in your debian/rules file. See " +"the make documentation for details on doing this." +msgstr "" + +#. type: =item +#: debhelper.pod:543 msgid "DH_ALWAYS_EXCLUDE" msgstr "" -# type: textblock -#: debhelper.pod:487 +#. type: textblock +#: debhelper.pod:545 msgid "" "If set, this adds the value the variable is set to to the -X options of all " "commands that support the -X option. Moreover, dh_builddeb will rm -rf " "anything that matches the value in your package build tree." msgstr "" -# type: textblock -#: debhelper.pod:491 +#. type: textblock +#: debhelper.pod:549 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting DH_ALWAYS_EXCLUDE=CVS will prevent any CVS directories from " @@ -889,134 +995,134 @@ "package is built." msgstr "" -# type: textblock -#: debhelper.pod:498 +#. type: textblock +#: debhelper.pod:556 msgid "" "Multiple things to exclude can be separated with colons, as in " "DH_ALWAYS_EXCLUDE=CVS:.svn" msgstr "" -# type: =head1 -#: debhelper.pod:503 dh_builddeb:85 dh_clean:128 dh_compress:190 dh_desktop:47 dh_fixperms:110 dh_gconf:92 dh_gencontrol:74 dh_installcatalogs:109 dh_installchangelogs:140 dh_installcron:61 dh_installdebconf:118 dh_installdeb:94 dh_installdirs:83 dh_installdocs:237 dh_installemacsen:109 dh_installexamples:103 dh_installinfo:103 dh_installinit:216 dh_installlogcheck:51 dh_installlogrotate:50 dh_installmanpages:197 dh_installman:249 dh_installmenu:80 dh_installmime:85 dh_installmodules:126 dh_installpam:52 dh_install:268 dh_installppp:56 dh_installwm:107 dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:222 dh_md5sums:86 dh_movefiles:162 dh_perl:152 dh_python:282 dh_scrollkeeper:76 dh_shlibdeps:159 dh_strip:224 dh_suidregister:117 dh_testdir:44 dh_testroot:27 dh_testversion:75 dh_undocumented:28 dh_usrlocal:114 +#. type: =head1 +#: debhelper.pod:561 dh_builddeb:88 dh_clean:130 dh_compress:192 dh_desktop:27 dh_fixperms:122 dh_gconf:104 dh_gencontrol:79 dh_installcatalogs:109 dh_installchangelogs:147 dh_installcron:61 dh_installdebconf:118 dh_installdeb:97 dh_installdirs:83 dh_installdocs:223 dh_installemacsen:111 dh_installexamples:103 dh_installinfo:74 dh_installinit:320 dh_installlogcheck:51 dh_installlogrotate:50 dh_installmanpages:197 dh_installman:251 dh_installmenu:80 dh_installmime:85 dh_installmodules:124 dh_installpam:52 dh_install:267 dh_installppp:56 dh_installwm:107 dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:227 dh_md5sums:89 dh_movefiles:164 dh_perl:145 dh_python:282 dh_scrollkeeper:28 dh_shlibdeps:168 dh_strip:227 dh_suidregister:117 dh_testdir:44 dh_testroot:27 dh_testversion:75 dh_undocumented:28 dh_usrlocal:114 msgid "SEE ALSO" msgstr "" -# type: =item -#: debhelper.pod:507 +#. type: =item +#: debhelper.pod:565 msgid "F" msgstr "" -# type: textblock -#: debhelper.pod:509 +#. type: textblock +#: debhelper.pod:567 msgid "A set of example debian/rules files that use debhelper." msgstr "" -# type: =item -#: debhelper.pod:511 +#. type: =item +#: debhelper.pod:569 msgid "L" msgstr "" -# type: textblock -#: debhelper.pod:513 +#. type: textblock +#: debhelper.pod:571 msgid "Debhelper web site." msgstr "" -# type: =head1 -#: debhelper.pod:517 dh_builddeb:91 dh_clean:134 dh_compress:196 dh_desktop:53 dh_fixperms:116 dh_gconf:98 dh_gencontrol:80 dh_installcatalogs:115 dh_installchangelogs:146 dh_installcron:67 dh_installdebconf:124 dh_installdeb:100 dh_installdirs:89 dh_installdocs:243 dh_installemacsen:115 dh_installexamples:109 dh_installinfo:109 dh_installinit:222 dh_installlogcheck:57 dh_installlogrotate:56 dh_installmanpages:203 dh_installman:255 dh_installmenu:88 dh_installmime:91 dh_installmodules:132 dh_installpam:58 dh_install:274 dh_installppp:62 dh_installwm:113 dh_installxfonts:92 dh_link:229 dh_listpackages:35 dh_makeshlibs:228 dh_md5sums:92 dh_movefiles:168 dh_perl:158 dh_python:288 dh_scrollkeeper:82 dh_shlibdeps:165 dh_strip:230 dh_suidregister:123 dh_testdir:50 dh_testroot:33 dh_testversion:81 dh_undocumented:34 dh_usrlocal:120 +#. type: =head1 +#: debhelper.pod:575 dh_builddeb:94 dh_clean:136 dh_compress:198 dh_desktop:33 dh_fixperms:128 dh_gconf:110 dh_gencontrol:85 dh_installcatalogs:115 dh_installchangelogs:153 dh_installcron:67 dh_installdebconf:124 dh_installdeb:103 dh_installdirs:89 dh_installdocs:229 dh_installemacsen:117 dh_installexamples:109 dh_installinfo:80 dh_installlogcheck:57 dh_installlogrotate:56 dh_installmanpages:203 dh_installman:257 dh_installmenu:88 dh_installmime:91 dh_installmodules:130 dh_installpam:58 dh_install:273 dh_installppp:62 dh_installwm:113 dh_installxfonts:92 dh_link:229 dh_listpackages:35 dh_makeshlibs:233 dh_md5sums:95 dh_movefiles:170 dh_perl:151 dh_python:288 dh_scrollkeeper:34 dh_shlibdeps:174 dh_strip:233 dh_suidregister:123 dh_testdir:50 dh_testroot:33 dh_testversion:81 dh_undocumented:34 dh_usrlocal:120 msgid "AUTHOR" msgstr "" -# type: textblock -#: debhelper.pod:519 dh_builddeb:93 dh_clean:136 dh_compress:198 dh_fixperms:118 dh_gencontrol:82 dh_installchangelogs:148 dh_installcron:69 dh_installdebconf:126 dh_installdeb:102 dh_installdirs:91 dh_installdocs:245 dh_installemacsen:117 dh_installexamples:111 dh_installinfo:111 dh_installinit:224 dh_installlogrotate:58 dh_installmanpages:205 dh_installman:257 dh_installmenu:90 dh_installmime:93 dh_installmodules:134 dh_installpam:60 dh_install:276 dh_installppp:64 dh_installwm:115 dh_installxfonts:94 dh_link:231 dh_listpackages:37 dh_makeshlibs:230 dh_md5sums:94 dh_movefiles:170 dh_shlibdeps:167 dh_strip:232 dh_suidregister:125 dh_testdir:52 dh_testroot:35 dh_testversion:83 dh_undocumented:36 +#. type: textblock +#: debhelper.pod:577 dh_builddeb:96 dh_clean:138 dh_compress:200 dh_fixperms:130 dh_gencontrol:87 dh_installchangelogs:155 dh_installcron:69 dh_installdebconf:126 dh_installdeb:105 dh_installdirs:91 dh_installdocs:231 dh_installemacsen:119 dh_installexamples:111 dh_installinfo:82 dh_installlogrotate:58 dh_installmanpages:205 dh_installman:259 dh_installmenu:90 dh_installmime:93 dh_installmodules:132 dh_installpam:60 dh_install:275 dh_installppp:64 dh_installwm:115 dh_installxfonts:94 dh_link:231 dh_listpackages:37 dh_makeshlibs:235 dh_md5sums:97 dh_movefiles:172 dh_shlibdeps:176 dh_strip:235 dh_suidregister:125 dh_testdir:52 dh_testroot:35 dh_testversion:83 dh_undocumented:36 msgid "Joey Hess " msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:5 msgid "dh_builddeb - build debian binary packages" msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:14 msgid "" "B [S>] [B<--destdir=>I] " "[B<--filename=>I] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:18 msgid "" -"dh_builddeb simply calls L to build a debian package or " +"dh_builddeb simply calls L to build a debian package or " "packages." msgstr "" -# type: =head1 -#: dh_builddeb:21 dh_clean:33 dh_compress:38 dh_fixperms:31 dh_gconf:34 dh_gencontrol:26 dh_installcatalogs:42 dh_installchangelogs:44 dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:51 dh_installemacsen:35 dh_installexamples:29 dh_installinfo:37 dh_installinit:33 dh_installlogrotate:22 dh_installmanpages:40 dh_installman:58 dh_installmenu:34 dh_installmime:31 dh_installmodules:43 dh_installpam:24 dh_install:47 dh_installppp:26 dh_installwm:32 dh_link:48 dh_makeshlibs:28 dh_md5sums:28 dh_movefiles:32 dh_perl:31 dh_python:39 dh_scrollkeeper:32 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_testversion:34 dh_usrlocal:39 +#. type: =head1 +#: dh_builddeb:21 dh_clean:33 dh_compress:39 dh_fixperms:31 dh_gconf:39 dh_gencontrol:26 dh_installcatalogs:42 dh_installchangelogs:44 dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:49 dh_installemacsen:35 dh_installexamples:29 dh_installinfo:28 dh_installinit:48 dh_installlogrotate:22 dh_installmanpages:40 dh_installman:58 dh_installmenu:34 dh_installmime:31 dh_installmodules:43 dh_installpam:24 dh_install:47 dh_installppp:26 dh_installwm:32 dh_link:48 dh_makeshlibs:28 dh_md5sums:28 dh_movefiles:32 dh_perl:31 dh_python:39 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_testversion:34 dh_usrlocal:39 msgid "OPTIONS" msgstr "" -# type: =item +#. type: =item #: dh_builddeb:25 msgid "B<--destdir=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:27 msgid "" "Use this if you want the generated .deb files to be put in a directory other " "than the default of \"..\"" msgstr "" -# type: =item +#. type: =item #: dh_builddeb:30 msgid "B<--filename=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:32 msgid "" "Use this if you want to force the generated .deb file to have a particular " "file name. Does not work well if more than one .deb is generated!" msgstr "" -# type: =item +#. type: =item #: dh_builddeb:35 msgid "B<-u>I" msgstr "" -# type: =item -#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:78 dh_makeshlibs:76 dh_shlibdeps:32 +#. type: =item +#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:99 dh_makeshlibs:76 dh_shlibdeps:32 msgid "B<--> I" msgstr "" -# type: textblock +#. type: textblock #: dh_builddeb:39 msgid "Pass I to L when it is used to build the package." msgstr "" -# type: textblock -#: dh_builddeb:87 dh_clean:130 dh_compress:192 dh_fixperms:112 dh_gconf:94 dh_gencontrol:76 dh_installcatalogs:111 dh_installchangelogs:142 dh_installcron:63 dh_installdebconf:120 dh_installdeb:96 dh_installdirs:85 dh_installdocs:239 dh_installemacsen:111 dh_installexamples:105 dh_installinfo:105 dh_installinit:218 dh_installlogcheck:53 dh_installlogrotate:52 dh_installmanpages:199 dh_installman:251 dh_installmime:87 dh_installmodules:128 dh_installpam:54 dh_install:270 dh_installppp:58 dh_installwm:109 dh_installxfonts:88 dh_link:225 dh_listpackages:31 dh_makeshlibs:224 dh_md5sums:88 dh_movefiles:164 dh_perl:154 dh_python:284 dh_strip:226 dh_suidregister:119 dh_testdir:46 dh_testroot:29 dh_testversion:77 dh_undocumented:30 dh_usrlocal:116 +#. type: textblock +#: dh_builddeb:90 dh_clean:132 dh_compress:194 dh_fixperms:124 dh_gconf:106 dh_gencontrol:81 dh_installcatalogs:111 dh_installchangelogs:149 dh_installcron:63 dh_installdebconf:120 dh_installdeb:99 dh_installdirs:85 dh_installdocs:225 dh_installemacsen:113 dh_installexamples:105 dh_installinfo:76 dh_installinit:322 dh_installlogcheck:53 dh_installlogrotate:52 dh_installmanpages:199 dh_installman:253 dh_installmime:87 dh_installmodules:126 dh_installpam:54 dh_install:269 dh_installppp:58 dh_installwm:109 dh_installxfonts:88 dh_link:225 dh_listpackages:31 dh_makeshlibs:229 dh_md5sums:91 dh_movefiles:166 dh_perl:147 dh_python:284 dh_strip:229 dh_suidregister:119 dh_testdir:46 dh_testroot:29 dh_testversion:77 dh_undocumented:30 dh_usrlocal:116 msgid "L" msgstr "" -# type: textblock -#: dh_builddeb:89 dh_clean:132 dh_compress:194 dh_desktop:51 dh_fixperms:114 dh_gconf:96 dh_gencontrol:78 dh_installchangelogs:144 dh_installcron:65 dh_installdebconf:122 dh_installdeb:98 dh_installdirs:87 dh_installdocs:241 dh_installemacsen:113 dh_installexamples:107 dh_installinfo:107 dh_installinit:220 dh_installlogrotate:54 dh_installmanpages:201 dh_installman:253 dh_installmenu:86 dh_installmime:89 dh_installmodules:130 dh_installpam:56 dh_install:272 dh_installppp:60 dh_installwm:111 dh_installxfonts:90 dh_link:227 dh_listpackages:33 dh_makeshlibs:226 dh_md5sums:90 dh_movefiles:166 dh_perl:156 dh_python:286 dh_scrollkeeper:80 dh_shlibdeps:163 dh_strip:228 dh_suidregister:121 dh_testdir:48 dh_testroot:31 dh_testversion:79 dh_undocumented:32 dh_usrlocal:118 +#. type: textblock +#: dh_builddeb:92 dh_clean:134 dh_compress:196 dh_desktop:31 dh_fixperms:126 dh_gconf:108 dh_gencontrol:83 dh_installchangelogs:151 dh_installcron:65 dh_installdebconf:122 dh_installdeb:101 dh_installdirs:87 dh_installdocs:227 dh_installemacsen:115 dh_installexamples:107 dh_installinfo:78 dh_installinit:324 dh_installlogrotate:54 dh_installmanpages:201 dh_installman:255 dh_installmenu:86 dh_installmime:89 dh_installmodules:128 dh_installpam:56 dh_install:271 dh_installppp:60 dh_installwm:111 dh_installxfonts:90 dh_link:227 dh_listpackages:33 dh_makeshlibs:231 dh_md5sums:93 dh_movefiles:168 dh_perl:149 dh_python:286 dh_scrollkeeper:32 dh_shlibdeps:172 dh_strip:231 dh_suidregister:121 dh_testdir:48 dh_testroot:31 dh_testversion:79 dh_undocumented:32 dh_usrlocal:118 msgid "This program is a part of debhelper." msgstr "" -# type: textblock +#. type: textblock #: dh_clean:5 msgid "dh_clean - clean up package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:14 msgid "" "B [S>] [B<-k>] [B<-d>] [B<-X>I] " "[S>]" msgstr "" -# type: verbatim +#. type: verbatim #: dh_clean:18 #, no-wrap msgid "" @@ -1032,53 +1138,53 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:25 msgid "The debian/clean file can list other files to be removed." msgstr "" -# type: textblock +#. type: textblock #: dh_clean:27 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " -"L to do that." +"L to do things like that." msgstr "" -# type: textblock +#. type: textblock #: dh_clean:30 msgid "" "dh_clean (or \"dh clean\") should be the last debhelper command run in the " "clean target in debian/rules." msgstr "" -# type: =item +#. type: =item #: dh_clean:37 dh_installchangelogs:48 msgid "B<-k>, B<--keep>" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:39 msgid "This is deprecated, use L instead." msgstr "" -# type: =item +#. type: =item #: dh_clean:41 msgid "B<-d>, B<--dirs-only>" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:43 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." msgstr "" -# type: =item +#. type: =item #: dh_clean:46 msgid "B<-X>I B<--exclude=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:48 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -1086,29 +1192,29 @@ "multiple times to build up a list of things to exclude." msgstr "" -# type: =item -#: dh_clean:52 dh_compress:55 dh_installdocs:69 dh_installexamples:38 dh_installinfo:50 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 +#. type: =item +#: dh_clean:52 dh_compress:56 dh_installdocs:63 dh_installexamples:38 dh_installinfo:37 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_clean:54 msgid "Delete these files too." msgstr "" -# type: textblock +#. type: textblock #: dh_compress:5 msgid "dh_compress - compress files and fix symlinks in package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_compress:15 msgid "" "B [S>] [B<-X>I] [B<-A>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_compress:19 msgid "" "dh_compress is a debhelper program that is responsible for compressing the " @@ -1117,20 +1223,20 @@ "new files." msgstr "" -# type: textblock +#. type: textblock #: dh_compress:24 msgid "" "By default, dh_compress compresses files that debian policy mandates should " "be compressed, namely all files in usr/share/info, usr/share/man, " "usr/X11R6/man, files in usr/share/doc that are larger than 4k in size, " -"(except the copyright file, .html and .css files, and files that appear to " -"be already compressed based on their extensions), and all changelog " -"files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and " +"(except the copyright file, .html and .css files, image files, and files " +"that appear to be already compressed based on their extensions), and all " +"changelog files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and " "usr/share/fonts/X11/" msgstr "" -# type: textblock -#: dh_compress:31 +#. type: textblock +#: dh_compress:32 msgid "" "If a debian/package.compress file exists, the default files are not " "compressed. Instead, the debian/packages.compress is ran as a shell script, " @@ -1140,86 +1246,76 @@ "debian/package.compress file if you really need to." msgstr "" -# type: textblock -#: dh_compress:44 +#. type: textblock +#: dh_compress:45 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " -"compressed. For example, -X.jpeg will exclude jpeg files from compression. " +"compressed. For example, -X.tiff will exclude tiff files from compression. " "You may use this option multiple times to build up a list of things to " "exclude. You can accomplish the same thing by using a debian/compress file, " "but this is easier." msgstr "" -# type: textblock -#: dh_compress:52 +#. type: textblock +#: dh_compress:53 msgid "" "Compress all files specified by command line parameters in ALL packages " "acted on." msgstr "" -# type: textblock -#: dh_compress:57 +#. type: textblock +#: dh_compress:58 msgid "Add these files to the list of files to compress." msgstr "" -# type: =head1 -#: dh_compress:61 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 +#. type: =head1 +#: dh_compress:62 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 msgid "CONFORMS TO" msgstr "" -# type: textblock -#: dh_compress:63 +#. type: textblock +#: dh_compress:64 msgid "Debian policy, version 3.0" msgstr "" -# type: textblock +#. type: textblock #: dh_desktop:5 -msgid "dh_desktop - Register .desktop files" +msgid "dh_desktop - deprecated no-op" msgstr "" -# type: textblock +#. type: textblock #: dh_desktop:14 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_desktop:18 msgid "" -"dh_desktop is a debhelper program that registers .desktop files. Currently " -"this program does not handle installation of the files, though it may do so " -"at a later date. It takes care of adding maintainer script fragments to call " -"F." +"dh_desktop was a debhelper program that registers .desktop files. However, " +"it no longer does anything, and is now deprecated." msgstr "" -# type: textblock -#: dh_desktop:23 -msgid "" -"Note that since F currently only handles mime " -"types, as an optimisation, desktop files not containing MimeType fields will " -"currently be ignored by dh_desktop." -msgstr "" - -# type: textblock -#: dh_desktop:49 dh_scrollkeeper:78 +#. type: textblock +#: dh_desktop:29 dh_scrollkeeper:30 msgid "L" msgstr "" -# type: textblock -#: dh_desktop:55 dh_scrollkeeper:84 +#. type: textblock +#: dh_desktop:35 dh_scrollkeeper:36 msgid "Ross Burton " msgstr "" -# type: textblock +#. type: textblock #: dh_fixperms:5 msgid "dh_fixperms - fix permissions of files in package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_fixperms:14 msgid "B [S>] [B<-X>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_fixperms:18 msgid "" "dh_fixperms is a debhelper program that is responsible for setting the " @@ -1227,7 +1323,7 @@ "state -- a state that complies with Debian policy." msgstr "" -# type: textblock +#. type: textblock #: dh_fixperms:22 msgid "" "dh_fixperms makes all files in usr/share/doc in the package build directory " @@ -1235,17 +1331,17 @@ "the permissions of all man pages to mode 644. It makes all files be owned by " "root, and it removes group and other write permission from all files. It " "removes execute permissions from any libraries, headers, perl modules, or " -"desktop files that have it set. It makes all files in bin/ directories, " -"/usr/games/ and etc/init.d executable (since v4). Finally, it removes the " -"setuid and setgid bits from all files in the package." +"desktop files that have it set. It makes all files in the standard bin and " +"sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, " +"it removes the setuid and setgid bits from all files in the package." msgstr "" -# type: =item +#. type: =item #: dh_fixperms:35 msgid "B<-X>I, B<--exclude> I" msgstr "" -# type: textblock +#. type: textblock #: dh_fixperms:37 msgid "" "Exclude files that contain \"item\" anywhere in their filename from having " @@ -1253,24 +1349,24 @@ "up a list of things to exclude." msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:5 msgid "dh_gconf - generate GConf schema registration scripts" msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:14 msgid "B [S>] [B<--priority=>]" msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:18 msgid "" "dh_gconf is a debhelper program that is responsible for registering GConf " "schemas." msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:21 msgid "" "It automatically generates the postinst and prerm fragments needed to " @@ -1278,7 +1374,7 @@ "gconf-schemas." msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:25 msgid "" "If a file named debian/package.gconf-defaults exists, then it is installed " @@ -1287,43 +1383,52 @@ "fragments will be generated to launch update-gconf-defaults." msgstr "" -# type: textblock +#. type: textblock #: dh_gconf:30 msgid "" +"If a file named debian/package.gconf-mandatory exists, then it is installed " +"into usr/share/gconf/mandatory/10_package in the package build directory, " +"with \"package\" replaced by the package name, and similar postinst and " +"postrm fragments will be generated." +msgstr "" + +#. type: textblock +#: dh_gconf:35 +msgid "" "The gconf-schemas and update-gconf-defaults scripts are provided by the " "gconf2 package. An appropriate dependency will be generated in " "${misc:Depends}." msgstr "" -# type: =item -#: dh_gconf:38 +#. type: =item +#: dh_gconf:43 msgid "B<--priority> I" msgstr "" -# type: textblock -#: dh_gconf:40 +#. type: textblock +#: dh_gconf:45 msgid "" "Use I (which should be a 2-digit number) as the defaults priority " "instead of 10. Higher values than ten can be used by derived distributions " "(20), CDD distributions (50), or site-specific packages (90)." msgstr "" -# type: textblock -#: dh_gconf:100 +#. type: textblock +#: dh_gconf:112 msgid "Ross Burton Josselin Mouette " msgstr "" -# type: textblock +#. type: textblock #: dh_gencontrol:5 msgid "dh_gencontrol - generate and install control file" msgstr "" -# type: textblock +#. type: textblock #: dh_gencontrol:14 msgid "B [S>] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_gencontrol:18 msgid "" "dh_gencontrol is a debhelper program that is responsible for generating " @@ -1331,7 +1436,7 @@ "permissions." msgstr "" -# type: textblock +#. type: textblock #: dh_gencontrol:22 msgid "" "This program is merely a wrapper around L, which calls " @@ -1339,34 +1444,34 @@ "useful flags." msgstr "" -# type: =item +#. type: =item #: dh_gencontrol:30 msgid "B<-u>I, B<--dpkg-gencontrol-params>=I" msgstr "" -# type: textblock +#. type: textblock #: dh_gencontrol:34 msgid "Pass \"params\" to L." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:5 msgid "dh_installcatalogs - install and register SGML Catalogs" msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:16 msgid "B [S>] [B<-n>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:20 msgid "" "dh_installcatalogs is a debhelper program that installs and registers SGML " "catalogs. It complies with the Debian XML/SGML policy." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:23 msgid "" "The file F.sgmlcatalogs> contains the catalogs to be " @@ -1377,14 +1482,14 @@ "F." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:30 msgid "" "Catalogs will be registered in a supercatalog, in " "F.cat>." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:33 msgid "" "This command automatically adds maintainer script snippets for registering " @@ -1394,59 +1499,61 @@ "maintainer script snippets." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:39 msgid "" "A dependency on B will be added to C<${misc:Depends}>, so be sure " "your package uses that variable in F." msgstr "" -# type: =item -#: dh_installcatalogs:46 dh_installdebconf:54 dh_installdocs:60 dh_installemacsen:39 dh_installinfo:46 dh_installinit:37 dh_installmenu:38 dh_installmime:35 dh_installmodules:47 dh_installwm:42 dh_makeshlibs:62 dh_python:60 dh_scrollkeeper:36 dh_usrlocal:43 +#. type: =item +#: dh_installcatalogs:46 dh_installdebconf:54 dh_installemacsen:39 dh_installinit:52 dh_installmenu:38 dh_installmime:35 dh_installmodules:47 dh_installwm:42 dh_makeshlibs:62 dh_python:60 dh_usrlocal:43 msgid "B<-n>, B<--noscripts>" msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:48 msgid "Do not modify F/F/F scripts." msgstr "" -# type: textblock -#: dh_installcatalogs:54 dh_installdocs:93 dh_installemacsen:56 dh_installinfo:59 dh_installinit:112 dh_installmime:43 dh_installmodules:62 dh_installwm:55 dh_scrollkeeper:44 dh_usrlocal:51 +#. type: textblock +#: dh_installcatalogs:54 dh_installdocs:87 dh_installemacsen:56 dh_installinit:143 dh_installmime:43 dh_installmodules:62 dh_installwm:55 dh_usrlocal:51 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " "instances of the same text to be added to maintainer scripts." msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:113 msgid "F" msgstr "" -# type: textblock +#. type: textblock #: dh_installcatalogs:117 msgid "Adam Di Carlo " msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:5 msgid "dh_installchangelogs - install changelogs into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:14 -msgid "B [S>] [B<-k>] [I]" +msgid "" +"B [S>] [B<-k>] [B<-X>I] " +"[I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:18 msgid "" "dh_installchangelogs is a debhelper program that is responsible for " "installing changelogs into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:21 msgid "" "dh_installchangelogs determines if the package is a debian native package, " @@ -1457,7 +1564,7 @@ "to debian/changelog.)" msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:28 msgid "" "Parallelling the debian changelog handling, this program also takes care of " @@ -1466,7 +1573,7 @@ "used." msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:33 msgid "" "An upstream changelog file may be specified as an option. If none is " @@ -1474,7 +1581,7 @@ "above.)" msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:37 msgid "" "If there is an upstream changelog file, it will be be installed as " @@ -1485,7 +1592,7 @@ "usr/share/doc/package/changelog." msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:50 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " @@ -1495,27 +1602,39 @@ "package refers to the changelog file." msgstr "" -# type: =item -#: dh_installchangelogs:56 -msgid "I" +#. type: =item +#: dh_installchangelogs:56 dh_installdocs:58 dh_installexamples:43 dh_install:69 dh_link:57 dh_movefiles:44 +msgid "B<-Xitem>, B<--exclude=item>" msgstr "" -# type: textblock +#. type: textblock #: dh_installchangelogs:58 +msgid "" +"Exclude upstream changelog files that contain \"item\" anywhere in their " +"filename from being installed." +msgstr "" + +#. type: =item +#: dh_installchangelogs:61 +msgid "I" +msgstr "" + +#. type: textblock +#: dh_installchangelogs:63 msgid "Install this file as the upstream changelog." msgstr "" -# type: textblock +#. type: textblock #: dh_installcron:5 msgid "dh_installcron - install cron scripts into etc/cron.*" msgstr "" -# type: textblock +#. type: textblock #: dh_installcron:14 msgid "B [S>] [B<--name=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installcron:18 msgid "" "dh_installcron is a debhelper program that is responsible for installing " @@ -1525,12 +1644,12 @@ "debian/package.cron.d are installed." msgstr "" -# type: =item -#: dh_installcron:28 dh_installinit:83 dh_installlogrotate:26 dh_installmodules:51 dh_installpam:28 dh_installppp:30 +#. type: =item +#: dh_installcron:28 dh_installinit:104 dh_installlogrotate:26 dh_installmodules:51 dh_installpam:28 dh_installppp:30 msgid "B<--name=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_installcron:30 msgid "" "Look for files named debian/package.name.cron.* and install them as " @@ -1538,26 +1657,26 @@ "package name." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:5 msgid "" "dh_installdebconf - install files used by debconf in package build " "directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:14 msgid "B [S>] [B<-n>] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:18 msgid "" "dh_installdebconf is a debhelper program that is responsible for installing " "files used by the debconf package into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:21 msgid "" "It also automatically generates the postrm commands needed to interface with " @@ -1565,7 +1684,7 @@ "dh_installdeb. See L for an explanation of how that works." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:26 msgid "" "Files named debian/package.config and debian/package.templates are installed " @@ -1578,14 +1697,14 @@ "programs, and are shell script fragments." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:35 msgid "" "Note that if you use debconf, your package probably needs to depend on it " "(it will be added to ${misc:Depends} by this program)." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:38 msgid "" "Note that for your config script to be called by dpkg, your postinst needs " @@ -1593,12 +1712,12 @@ "statement into postinst automatically as it it too hard to do it right." msgstr "" -# type: =head1 +#. type: =head1 #: dh_installdebconf:43 msgid "LOCALIZED TEMPLATE FILES" msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:45 msgid "" "This program will look to see if you have a debian/po directory and if so " @@ -1607,27 +1726,27 @@ "build-depend on po-debconf." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:56 msgid "Do not modify postrm script." msgstr "" -# type: textblock +#. type: textblock #: dh_installdebconf:60 msgid "Pass the params to po2debconf." msgstr "" -# type: textblock +#. type: textblock #: dh_installdeb:5 msgid "dh_installdeb - install files into the DEBIAN directory" msgstr "" -# type: textblock +#. type: textblock #: dh_installdeb:14 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installdeb:18 msgid "" "dh_installdeb is a debhelper program that is responsible for installing " @@ -1635,7 +1754,7 @@ "correct permissions." msgstr "" -# type: verbatim +#. type: verbatim #: dh_installdeb:22 #, no-wrap msgid "" @@ -1651,7 +1770,7 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_installdeb:32 msgid "" "The postinst, preinst, postrm, and prerm are handled specially: If a " @@ -1664,7 +1783,7 @@ "fragments." msgstr "" -# type: textblock +#. type: textblock #: dh_installdeb:40 msgid "" "In V3 compatibility mode and higher, all files in the etc/ directory in a " @@ -1672,29 +1791,29 @@ "is no need to list them manually in package.conffiles." msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:5 msgid "dh_installdirs - create subdirectories in package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:14 msgid "B [S>] [B<-A>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:18 msgid "" "dh_installdirs is a debhelper program that is responsible for creating " "subdirectories in package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:21 msgid "A file named debian/package.dirs can list directories to be created." msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:23 msgid "" "Any directory names specified as parameters will be created in the package " @@ -1703,45 +1822,45 @@ "-p, -i, or -a flags, it will be the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:34 msgid "" "Create any directories specified by command line parameters in ALL packages " "acted on, not just the first." msgstr "" -# type: =item +#. type: =item #: dh_installdirs:37 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_installdirs:39 msgid "" "Create these directories in the package build directory of the first package " "acted on. (Or in all packages if -A is specified.)" msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:5 msgid "dh_installdocs - install documentation into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:14 msgid "" -"B [S>] [B<-A>] [B<-n>] [B<-X>I] " -"[S>]" +"B [S>] [B<-A>] [B<-X>I] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:18 msgid "" "dh_installdocs is a debhelper program that is responsible for installing " "documentation into usr/share/doc/package in package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:21 msgid "" "dh_installdocs automatically installs debian/copyright if it exists. If " @@ -1751,7 +1870,7 @@ "debian/package.copyright." msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:27 msgid "" "Any filenames specified as parameters will be installed into the first " @@ -1760,7 +1879,7 @@ "flags, it will be the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:32 msgid "" "Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if " @@ -1772,71 +1891,59 @@ "debian/package.TODO can be used to specify files for subpackages." msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:40 msgid "Files named debian/package.docs can list other files to be installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installdocs:42 msgid "" "Files named debian/package.doc-base, will be installed as doc-base control " -"files, and will make this program automatically generate the postinst and " -"prerm commands needed to interface with the doc-base package. Note that the " -"doc-id will be determined from the \"Document:\" entry in the doc-base " -"control file in question." +"files. Note that the doc-id will be determined from the \"Document:\" entry " +"in the doc-base control file in question." msgstr "" -# type: textblock -#: dh_installdocs:48 +#. type: textblock +#: dh_installdocs:46 msgid "" "If your package needs to register more than one document, you need multiple " "files. To accomplish this, you can use files named debian/package.doc-base.*" msgstr "" -# type: textblock -#: dh_installdocs:57 dh_installinfo:43 dh_installman:64 +#. type: textblock +#: dh_installdocs:55 dh_installinfo:34 dh_installman:64 msgid "" "Install all files specified by command line parameters in ALL packages acted " "on." msgstr "" -# type: textblock -#: dh_installdocs:62 dh_installemacsen:41 dh_installinfo:48 -msgid "Do not modify postinst/prerm scripts." -msgstr "" - -# type: =item -#: dh_installdocs:64 dh_installexamples:43 dh_install:51 dh_link:57 dh_movefiles:44 -msgid "B<-Xitem>, B<--exclude=item>" -msgstr "" - -# type: textblock -#: dh_installdocs:66 +#. type: textblock +#: dh_installdocs:60 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "installed. Note that this includes doc-base files." msgstr "" -# type: textblock -#: dh_installdocs:71 +#. type: textblock +#: dh_installdocs:65 msgid "" "Install these files as documentation into the first package acted on. (Or in " "all packages if B<-A> is specified)." msgstr "" -# type: =head1 -#: dh_installdocs:76 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 +#. type: =head1 +#: dh_installdocs:70 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 msgid "EXAMPLES" msgstr "" -# type: textblock -#: dh_installdocs:78 +#. type: textblock +#: dh_installdocs:72 msgid "This is an example of a debian/package.docs file:" msgstr "" -# type: verbatim -#: dh_installdocs:80 +#. type: verbatim +#: dh_installdocs:74 #, no-wrap msgid "" " README\n" @@ -1848,27 +1955,27 @@ "\n" msgstr "" -# type: textblock -#: dh_installdocs:89 +#. type: textblock +#: dh_installdocs:83 msgid "" "Note that dh_installdocs will happily copy entire directory hierarchies if " "you ask it to (similar to cp -a). If it is asked to install a directory, it " "will install the complete contents of the directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:5 msgid "dh_installemacsen - register an emacs add on package" msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " "[B<--flavor=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:18 msgid "" "dh_installemacsen is a debhelper program that is responsible for installing " @@ -1876,7 +1983,7 @@ "directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:22 msgid "" "It also automatically generates the postinst and prerm commands needed to " @@ -1885,7 +1992,7 @@ "explanation of how this works." msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:27 msgid "" "If a file named debian/package.emacsen-install exists, then it is installed " @@ -1896,48 +2003,53 @@ "etc/emacs/site-start.d/50.el (by default)." msgstr "" -# type: =item +#. type: textblock +#: dh_installemacsen:41 +msgid "Do not modify postinst/prerm scripts." +msgstr "" + +#. type: =item #: dh_installemacsen:43 dh_installwm:36 msgid "B<--priority=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:45 msgid "Sets the priority number of a site-start.d file. Default is 50." msgstr "" -# type: =item +#. type: =item #: dh_installemacsen:47 msgid "B<--flavor=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_installemacsen:49 msgid "" "Sets the flavor a site-start.d file will be installed in. Default is " "\"emacs\", alternatives include \"xemacs\" and \"emacs20\"." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:5 msgid "dh_installexamples - install example files into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:14 msgid "" "B [S>] [B<-A>] [B<-X>I] " "[S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:18 msgid "" "dh_installexamples is a debhelper program that is responsible for installing " "examples into usr/share/doc/package/examples in package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:22 msgid "" "Any file names specified as parameters will be installed into the first " @@ -1946,33 +2058,33 @@ "will be the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:27 msgid "Files named debian/package.examples can list other files to be installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:35 msgid "" "Install any files specified by command line parameters in ALL packages acted " "on." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:40 msgid "" "Install these files as examples into the first package acted on. (Or into " "all packages if -A is specified.)" msgstr "" -# type: textblock -#: dh_installexamples:45 dh_install:53 dh_movefiles:46 +#. type: textblock +#: dh_installexamples:45 dh_install:71 dh_movefiles:46 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installexamples:52 msgid "" "Note that dh_installexamples will happily copy entire directory hierarchies " @@ -1980,138 +2092,159 @@ "it will install the complete contents of the directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installinfo:5 -msgid "dh_installinfo - install and register info files" +msgid "dh_installinfo - install info files" msgstr "" -# type: textblock +#. type: textblock #: dh_installinfo:14 -msgid "B [S>] [B<-A>] [B<-n>] [S>]" +msgid "B [S>] [B<-A>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installinfo:18 msgid "" "dh_installinfo is a debhelper program that is responsible for installing " -"info files and registering the files it installs with install-info." +"info files into usr/share/info in the package build directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installinfo:21 msgid "" -"Note that install-info determines some information about the info files by " -"parsing them, in particular, it looks at the INFO-DIR-SECTION line to " -"determine what section the info file belongs in." -msgstr "" - -# type: textblock -#: dh_installinfo:25 -msgid "" "Any filenames specified as parameters will be installed into the first " "package dh_installinfo is told to act on. By default, this is the first " "binary package in debian/control, but if you use -p, -i, or -a flags, it " "will be the first package specified by those flags." msgstr "" -# type: textblock -#: dh_installinfo:30 +#. type: textblock +#: dh_installinfo:26 msgid "Files named debian/package.info can list other files to be installed." msgstr "" -# type: textblock -#: dh_installinfo:32 -msgid "" -"dh_installinfo will automatically generate the postinst and prerm commands " -"needed to interface with install-info, updating the info dir. These commands " -"are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of how this works." -msgstr "" - -# type: textblock -#: dh_installinfo:52 +#. type: textblock +#: dh_installinfo:39 msgid "" "Install these info files into the first package acted on. (Or in all " "packages if -A is specified)." msgstr "" -# type: textblock +#. type: textblock #: dh_installinit:5 -msgid "dh_installinit - install init scripts into package build directories" +msgid "" +"dh_installinit - install upstart jobs or init scripts into package build " +"directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installinit:14 msgid "" "B [S>] [B<--name=>I] [B<-n>] " -"[B<-R>] [B<-r>] [B<-d>] [S I>]" +"[B<-R>] [B<-r>] [B<-d>] [B<-O>] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installinit:18 msgid "" "dh_installinit is a debhelper program that is responsible for installing " -"init scripts and associated defaults files into package build directories." +"upstart job files or init scripts with associated defaults files into " +"package build directories, and in the former case providing compatibility " +"handling for non-upstart systems." msgstr "" -# type: textblock -#: dh_installinit:21 +#. type: textblock +#: dh_installinit:23 msgid "" "It also automatically generates the postinst and postrm and prerm commands " "needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init " "scripts." msgstr "" -# type: textblock -#: dh_installinit:25 +#. type: =head1 +#: dh_installinit:27 +msgid "FILES" +msgstr "" + +#. type: =item +#: dh_installinit:31 +msgid "debian/I.upstart" +msgstr "" + +#. type: textblock +#: dh_installinit:33 msgid "" -"If a file named debian/package.init exists, then it is installed into " -"etc/init.d/package in the package build directory, with \"package\" replaced " -"by the package name." +"If this exists, it is installed into etc/init/I.conf in the package " +"build directory." msgstr "" -# type: textblock -#: dh_installinit:29 +#. type: =item +#: dh_installinit:36 +msgid "debian/I.init" +msgstr "" + +#. type: textblock +#: dh_installinit:38 msgid "" -"If a file named debian/package.default exists, then it is installed into " -"etc/default/package in the package build directory, with \"package\" " -"replaced by the package name." +"Otherwise, if this exists, it is installed into etc/init.d/I in the " +"package build directory." msgstr "" -# type: textblock -#: dh_installinit:39 +#. type: =item +#: dh_installinit:41 +msgid "debian/I.default" +msgstr "" + +#. type: textblock +#: dh_installinit:43 +msgid "" +"If this exists, it is installed into etc/default/I in the package " +"build directory." +msgstr "" + +#. type: textblock +#: dh_installinit:54 msgid "Do not modify postinst/postrm/prerm scripts." msgstr "" -# type: =item -#: dh_installinit:41 +#. type: =item +#: dh_installinit:56 msgid "B<-o>, B<--onlyscripts>" msgstr "" -# type: textblock -#: dh_installinit:43 +#. type: textblock +#: dh_installinit:58 msgid "" "Only modify postinst/postrm/prerm scripts, do not actually install any init " -"script or default files. May be useful if the init script is shipped and/or " -"installed by upstream in a way that doesn't make it easy to let " -"dh_installinit find it." +"script, default files, or upstart job. May be useful if the init script or " +"upstart job is shipped and/or installed by upstream in a way that doesn't " +"make it easy to let dh_installinit find it." msgstr "" -# type: =item -#: dh_installinit:48 +#. type: textblock +#: dh_installinit:63 +msgid "" +"If no upstart job file is installed in the target directory when " +"dh_installinit --onlyscripts is called, this program will assume that an " +"init script is being installed and not provide the compatibility symlinks or " +"upstart dependencies." +msgstr "" + +#. type: =item +#: dh_installinit:68 msgid "B<-R>, B<--restart-after-upgrade>" msgstr "" -# type: textblock -#: dh_installinit:50 +#. type: textblock +#: dh_installinit:70 msgid "" "Do not stop the init script until after the package upgrade has been " "completed. This is different than the default behavior, which stops the " "script in the prerm, and starts it again in the postinst." msgstr "" -# type: textblock -#: dh_installinit:54 +#. type: textblock +#: dh_installinit:74 msgid "" "This can be useful for daemons that should not have a possibly long downtime " "during upgrade. But you should make sure that the daemon will not get " @@ -2119,72 +2252,74 @@ "option." msgstr "" -# type: =item -#: dh_installinit:59 +#. type: =item +#: dh_installinit:79 msgid "B<-r>, B<--no-restart-on-upgrade>" msgstr "" -# type: textblock -#: dh_installinit:61 +#. type: textblock +#: dh_installinit:81 msgid "Do not stop init script on upgrade." msgstr "" -# type: =item -#: dh_installinit:63 +#. type: =item +#: dh_installinit:83 msgid "B<--no-start>" msgstr "" -# type: textblock -#: dh_installinit:65 +#. type: textblock +#: dh_installinit:85 msgid "" "Do not start the init script on install or upgrade, or stop it on removal. " "Only call update-rc.d. Useful for rcS scripts." msgstr "" -# type: =item -#: dh_installinit:68 +#. type: =item +#: dh_installinit:88 msgid "B<-d>, B<--remove-d>" msgstr "" -# type: textblock -#: dh_installinit:70 +#. type: textblock +#: dh_installinit:90 msgid "" "Remove trailing \"d\" from the name of the package, and use the result for " -"the filename the init script is installed as in etc/init.d/ , and the " -"default file is installed as in etc/default/ . This may be useful for " -"daemons with names ending in \"d\". (Note: this takes precedence over the " -"--init-script parameter described below.)" +"the filename the upstart job file is installed as in etc/init/ , or for the " +"filename the init script is installed as in etc/init.d and the default file " +"is installed as in etc/default/ . This may be useful for daemons with names " +"ending in \"d\". (Note: this takes precedence over the --init-script " +"parameter described below.)" msgstr "" -# type: =item -#: dh_installinit:76 +#. type: =item +#: dh_installinit:97 msgid "B<-u>I B<--update-rcd-params=>I" msgstr "" -# type: textblock -#: dh_installinit:80 +#. type: textblock +#: dh_installinit:101 msgid "" "Pass \"params\" to L. If not specified, \"defaults\" will be " "passed to L." msgstr "" -# type: textblock -#: dh_installinit:85 +#. type: textblock +#: dh_installinit:106 msgid "" -"Install the init script (and default file) using the filename I " -"instead of the default filename, which is the package name. When this " -"parameter is used, dh_installinit looks for and installs files named " -"debian/package.name.init and debian/package.name.default, instead of the " -"usual debian/package.init and debian/package.default." +"Install the upstart job file or the init script (and default file) using the " +"filename I instead of the default filename, which is the package " +"name. When this parameter is used, dh_installinit looks for and installs " +"files named debian/package.name.upstart, debian/package.name.init and " +"debian/package.name.default, instead of the usual debian/package.upstart, " +"debian/package.init and debian/package.default." msgstr "" -# type: =item -#: dh_installinit:91 +#. type: =item +#: dh_installinit:113 msgid "B<--init-script=>I" msgstr "" -# type: textblock -#: dh_installinit:93 +#. type: textblock +#: dh_installinit:115 msgid "" "Use \"scriptname\" as the filename the init script is installed as in " "etc/init.d/ (and also use it as the filename for the defaults file, if it is " @@ -2194,35 +2329,68 @@ "normally installs." msgstr "" -# type: textblock -#: dh_installinit:100 -msgid "This parameter is deprecated, use the --name parameter instead." +#. type: textblock +#: dh_installinit:122 +msgid "" +"This parameter is deprecated, use the --name parameter instead. This " +"parameter will be ignored completely for upstart jobs." +msgstr "" + +#. type: =item +#: dh_installinit:125 +msgid "B<--upstart-only>" +msgstr "" + +#. type: textblock +#: dh_installinit:127 +msgid "" +"Only install an upstart job file, and do not include maintainer script code " +"to replace an init script with that upstart job." msgstr "" -# type: =item -#: dh_installinit:102 +#. type: textblock +#: dh_installinit:130 +msgid "" +"This parameter is intended for use when the \"package.upstart\" file is new " +"and only to be used on Upstart-based systems." +msgstr "" + +#. type: =item +#: dh_installinit:133 msgid "B<--error-handler=>I" msgstr "" -# type: textblock -#: dh_installinit:104 +#. type: textblock +#: dh_installinit:135 msgid "" "Call the named shell function if running the init script fails. The function " "should be provided in the prerm and postinst scripts, before the #DEBHELPER# " "token." msgstr "" -# type: textblock +#. type: =head1 +#: dh_installinit:326 +msgid "AUTHORS" +msgstr "" + +#. type: textblock +#: dh_installinit:328 +msgid "" +"Joey Hess Steve Langasek " +"Scott James Remnant " +msgstr "" + +#. type: textblock #: dh_installlogcheck:5 msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/" msgstr "" -# type: textblock +#. type: textblock #: dh_installlogcheck:14 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installlogcheck:18 msgid "" "dh_installlogcheck is a debhelper program that is responsible for installing " @@ -2235,7 +2403,7 @@ "debian/package.logcheck.ignore.paranoid are installed if present." msgstr "" -# type: verbatim +#. type: verbatim #: dh_installlogcheck:55 #, no-wrap msgid "" @@ -2243,22 +2411,22 @@ " \n" msgstr "" -# type: textblock +#. type: textblock #: dh_installlogcheck:59 msgid "Jon Middleton " msgstr "" -# type: textblock +#. type: textblock #: dh_installlogrotate:5 msgid "dh_installlogrotate - install logrotate config files" msgstr "" -# type: textblock +#. type: textblock #: dh_installlogrotate:14 msgid "B [S>] [B<--name=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installlogrotate:18 msgid "" "dh_installlogrotate is a debhelper program that is responsible for " @@ -2266,7 +2434,7 @@ "directories. Files named debian/package.logrotate are installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installlogrotate:28 msgid "" "Look for files named debian/package.name.logrotate and install them as " @@ -2274,17 +2442,17 @@ "as the package name." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:5 msgid "dh_installmanpages - old-style man page installer" msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:15 msgid "B [S>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:19 msgid "" "dh_installmanpages is a debhelper program that is responsible for " @@ -2292,7 +2460,7 @@ "package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:23 msgid "" "This is a DWIM-style program, with an interface unlike the rest of " @@ -2300,7 +2468,7 @@ "L instead." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:27 msgid "" "dh_installmanpages scans the current directory and all subdirectories for " @@ -2310,7 +2478,7 @@ "them into the correct man directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:33 msgid "" "All filenames specified as parameters will be skipped by " @@ -2318,7 +2486,7 @@ "that you do not want to be installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:37 msgid "" "After the man page installation step, dh_installmanpages will check to see " @@ -2326,19 +2494,19 @@ "symlinks." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:46 msgid "" "Do not install these files as man pages, even if they look like valid man " "pages." msgstr "" -# type: =head1 +#. type: =head1 #: dh_installmanpages:51 msgid "BUGS" msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:53 msgid "" "dh_installmanpages will install the man pages it finds into B packages " @@ -2347,29 +2515,29 @@ "or use the much better L program instead)." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:58 msgid "Files ending in I<.man> will be ignored." msgstr "" -# type: textblock +#. type: textblock #: dh_installmanpages:60 msgid "" "Files specified as parameters that contain spaces in their filenames will " "not be processed properly." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:5 msgid "dh_installman - install man pages into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installman:15 msgid "B [S>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installman:19 msgid "" "dh_installman is a debhelper program that handles installing man pages into " @@ -2383,14 +2551,14 @@ "wrong based on the file extension." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:29 msgid "" "It also supports translated man pages, by looking for extensions like .ll.8 " "and .ll_LL.8, or by use of the --language switch." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:32 msgid "" "If dh_installman seems to install a man page into the wrong section or with " @@ -2403,7 +2571,7 @@ "Polish. Use --language=C to avoid this." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:41 msgid "" "Any man page filenames specified as parameters will be installed into the " @@ -2412,14 +2580,14 @@ "will be the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:46 msgid "" "Files named debian/package.manpages can list other man pages to be " "installed." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:49 msgid "" "After the man page installation step, dh_installman will check to see if any " @@ -2427,7 +2595,7 @@ "acting on contain \".so\" links. If so, it changes them to symlinks." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:53 msgid "" "Also, dh_installman will use man to guess the character encoding of each " @@ -2436,31 +2604,31 @@ "details." msgstr "" -# type: =item +#. type: =item #: dh_installman:67 msgid "B<--language>=ll" msgstr "" -# type: textblock +#. type: textblock #: dh_installman:69 msgid "" "Use this to specify that the man pages being acted on are written in the " "specified language." msgstr "" -# type: =item +#. type: =item #: dh_installman:72 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_installman:74 msgid "" "Install these man pages into the first package acted on. (Or in all packages " "if -A is specified)." msgstr "" -# type: textblock +#. type: textblock #: dh_installman:81 msgid "" "An older version of this program, L, is still used by " @@ -2469,24 +2637,24 @@ "program instead." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:5 msgid "dh_installmenu - install debian menu files into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:14 msgid "B [S>] [B<-n>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:18 msgid "" "dh_installmenu is a debhelper program that is responsible for installing " "files used by the debian menu package into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:21 msgid "" "It also automatically generates the postinst and postrm commands needed to " @@ -2495,7 +2663,7 @@ "explanation of how this works." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:26 msgid "" "If a file named debian/package.menu exists, then it is installed into " @@ -2503,7 +2671,7 @@ "file. See L for its format." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:30 msgid "" "If a file named debian/package.menu-method exits, then it is installed into " @@ -2511,34 +2679,34 @@ "menu method file." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:40 dh_installmime:37 dh_installmodules:49 dh_makeshlibs:64 dh_python:62 msgid "Do not modify postinst/postrm scripts." msgstr "" -# type: textblock +#. type: textblock #: dh_installmenu:82 msgid "L L L" msgstr "" -# type: textblock +#. type: textblock #: dh_installmime:5 msgid "dh_installmime - install mime files into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_installmime:14 msgid "B [S>] [B<-n>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installmime:18 msgid "" "dh_installmime is a debhelper program that is responsible for installing " "mime files into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installmime:21 msgid "" "It also automatically generates the postinst and postrm commands needed to " @@ -2547,7 +2715,7 @@ "L for an explanation of how this works." msgstr "" -# type: textblock +#. type: textblock #: dh_installmime:26 msgid "" "If files named debian/package.mime or debian/package.sharedmimeinfo exist, " @@ -2556,24 +2724,24 @@ "directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:5 msgid "dh_installmodules - register modules with modutils" msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:16 msgid "B [S>] [B<-n>] [B<--name=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:20 msgid "" "dh_installmodules is a debhelper program that is responsible for registering " "kernel modules." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:23 msgid "" "Files named debian/package.modprobe will be installed in " @@ -2581,7 +2749,7 @@ "module-init-tools's version of modprobe." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:27 msgid "" "Kernel modules are searched for in the package build directory and if found, " @@ -2591,7 +2759,7 @@ "L for an explanation of how this works." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:33 msgid "" "Previous versions of dh_installmodules installed files named " @@ -2599,7 +2767,7 @@ "the upgrade from the old location." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:37 msgid "" "Previous versions of dh_installmodules also supported files named " @@ -2608,7 +2776,7 @@ "longer in Debian. dh_installmodules will warn about such files now." msgstr "" -# type: textblock +#. type: textblock #: dh_installmodules:53 msgid "" "When this parameter is used, dh_installmodules looks for and installs files " @@ -2616,31 +2784,31 @@ "of the usual debian/package.modules and debian/package.modprobe" msgstr "" -# type: textblock +#. type: textblock #: dh_installpam:5 msgid "dh_installpam - install pam support files" msgstr "" -# type: textblock +#. type: textblock #: dh_installpam:14 msgid "B [S>] [B<--name=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installpam:18 msgid "" "dh_installpam is a debhelper program that is responsible for installing " "files used by PAM into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installpam:21 msgid "" "If a file named debian/package.pam exists, then it is installed into " "etc/pam.d/package in the package build directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installpam:30 msgid "" "Look for files named debian/package.name.pam and install them as " @@ -2648,19 +2816,19 @@ "package name." msgstr "" -# type: textblock +#. type: textblock #: dh_install:5 msgid "dh_install - install files into package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_install:15 msgid "" "B [B<-X>I] [B<--autodest>] [B<--sourcedir=>I] " "[S>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_install:19 msgid "" "dh_install is a debhelper program that handles installing files into package " @@ -2672,7 +2840,7 @@ "needed. It is a replacement for the old dh_movefiles command." msgstr "" -# type: textblock +#. type: textblock #: dh_install:27 msgid "" "Files named debian/package.install list the files to install into each " @@ -2685,7 +2853,7 @@ "(in v3 mode and above)." msgstr "" -# type: textblock +#. type: textblock #: dh_install:36 msgid "" "This program may be used in one of two ways. If you just have a file or two " @@ -2696,54 +2864,21 @@ "directories and files from there into the proper package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_install:43 msgid "" "From debhelper compatibility level 7 on, dh_install will fall back to " "looking in debian/tmp for files, if it doesn't find them in the current " -"directory (or whereever you've told it to look using --srcdir)." -msgstr "" - -# type: =item -#: dh_install:56 -msgid "B<--autodest>" -msgstr "" - -# type: textblock -#: dh_install:58 -msgid "" -"Guess as the destination directory to install things to. If this is " -"specified, you should not list destination directories in " -"debian/package.install files or on the command line. Instead, dh_install " -"will guess as follows:" -msgstr "" - -# type: textblock -#: dh_install:63 -msgid "" -"Strip off debian/tmp (or the sourcedir if one is given) from the front of " -"the filename, if it is present, and install into the dirname of the " -"filename. So if the filename is debian/tmp/usr/bin, then that directory will " -"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " -"it will be copied to debian/package/etc/." +"directory (or whereever you've told it to look using --sourcedir)." msgstr "" -# type: textblock -#: dh_install:69 -msgid "" -"Note that if you list exactly one filename or wildcard-pattern on a line by " -"itself in a debian/package.install file, with no explicit destination, then " -"dh_install will automatically guess the destination even if this flag is not " -"set." -msgstr "" - -# type: =item -#: dh_install:74 +#. type: =item +#: dh_install:51 msgid "B<--list-missing>" msgstr "" -# type: textblock -#: dh_install:76 +#. type: textblock +#: dh_install:53 msgid "" "This option makes dh_install keep track of the files it installs, and then " "at the end, compare that list with the files in the source directory. If any " @@ -2751,72 +2886,103 @@ "somewhere, it will warn on stderr about that." msgstr "" -# type: textblock -#: dh_install:81 +#. type: textblock +#: dh_install:58 msgid "" "This may be useful if you have a large package and want to make sure that " "you don't miss installing newly added files in new upstream releases." msgstr "" -# type: textblock -#: dh_install:84 +#. type: textblock +#: dh_install:61 msgid "" "Note that files that are excluded from being moved via the -X option are not " "warned about." msgstr "" -# type: =item -#: dh_install:87 +#. type: =item +#: dh_install:64 msgid "B<--fail-missing>" msgstr "" -# type: textblock -#: dh_install:89 +#. type: textblock +#: dh_install:66 msgid "" "This option is like --list-missing, except if a file was missed, it will not " "only list the missing files, but also fail with a nonzero exit code." msgstr "" -# type: =item -#: dh_install:92 +#. type: =item +#: dh_install:74 msgid "B<--sourcedir=dir>" msgstr "" -# type: textblock -#: dh_install:94 +#. type: textblock +#: dh_install:76 +msgid "Look in the specified directory for files to be installed." +msgstr "" + +#. type: textblock +#: dh_install:78 msgid "" -"Makes all source files be found under dir. If this is specified, it is akin " -"to all the source filenames having \"dir/\" prepended to them." +"Note that this is not the same as the --sourcedirectory option used by the " +"dh_auto_* commands. You rarely need to use this option, since dh_install " +"automatically looks for files in debian/tmp in debhelper compatibility level " +"7 and above." msgstr "" -# type: textblock -#: dh_install:97 +#. type: =item +#: dh_install:83 +msgid "B<--autodest>" +msgstr "" + +#. type: textblock +#: dh_install:85 msgid "" -"To make dh_install behave like the old dh_movefiles, move your package.files " -"file to package.install and call dh_install with \"--sourcedir=debian/tmp\" " -"appended to the command. This will approximate dh_movefiles behaviour, " -"except it will copy files instead of moving them." +"Guess as the destination directory to install things to. If this is " +"specified, you should not list destination directories in " +"debian/package.install files or on the command line. Instead, dh_install " +"will guess as follows:" msgstr "" -# type: =item -#: dh_install:103 +#. type: textblock +#: dh_install:90 +msgid "" +"Strip off debian/tmp (or the sourcedir if one is given) from the front of " +"the filename, if it is present, and install into the dirname of the " +"filename. So if the filename is debian/tmp/usr/bin, then that directory will " +"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " +"it will be copied to debian/package/etc/." +msgstr "" + +#. type: textblock +#: dh_install:96 +msgid "" +"Note that if you list exactly one filename or wildcard-pattern on a line by " +"itself in a debian/package.install file, with no explicit destination, then " +"dh_install will automatically guess the destination even if this flag is not " +"set." +msgstr "" + +#. type: =item +#: dh_install:101 msgid "I" msgstr "" -# type: textblock -#: dh_install:105 +#. type: textblock +#: dh_install:103 msgid "" "Lists files (or directories) to install and where to install them to. The " "files will be installed into the first package dh_install acts on." msgstr "" -# type: =head1 -#: dh_install:241 +#. type: =head1 +#: dh_install:240 msgid "EXAMPLE" msgstr "" -# type: textblock -#: dh_install:243 +#. type: textblock +#: dh_install:242 msgid "" "Suppose your package's upstream Makefile installs a binary, a man page, and " "a library into appropriate subdirectories of debian/tmp. You want to put the " @@ -2825,8 +2991,8 @@ "contain:" msgstr "" -# type: verbatim -#: dh_install:249 +#. type: verbatim +#: dh_install:248 #, no-wrap msgid "" " usr/bin\n" @@ -2834,28 +3000,28 @@ "\n" msgstr "" -# type: textblock -#: dh_install:252 +#. type: textblock +#: dh_install:251 msgid "While debian/libfoo.install contains:" msgstr "" -# type: verbatim -#: dh_install:254 +#. type: verbatim +#: dh_install:253 #, no-wrap msgid "" " usr/lib/libfoo*.so.*\n" "\n" msgstr "" -# type: textblock -#: dh_install:256 +#. type: textblock +#: dh_install:255 msgid "" "If you want a libfoo-dev package too, debian/libfoo-dev.install might " "contain:" msgstr "" -# type: verbatim -#: dh_install:258 +#. type: verbatim +#: dh_install:257 #, no-wrap msgid "" " usr/include\n" @@ -2864,13 +3030,13 @@ "\n" msgstr "" -# type: =head1 -#: dh_install:262 +#. type: =head1 +#: dh_install:261 msgid "LIMITATIONS" msgstr "" -# type: verbatim -#: dh_install:264 +#. type: verbatim +#: dh_install:263 #, no-wrap msgid "" "dh_install cannot rename files or directories, it can only install them\n" @@ -2879,24 +3045,24 @@ " \n" msgstr "" -# type: textblock +#. type: textblock #: dh_installppp:5 msgid "dh_installppp - install ppp ip-up and ip-down files" msgstr "" -# type: textblock +#. type: textblock #: dh_installppp:14 msgid "B [S>] [B<--name=>I]" msgstr "" -# type: textblock +#. type: textblock #: dh_installppp:18 msgid "" "dh_installppp is a debhelper program that is responsible for installing ppp " "ip-up and ip-down scripts. into package build directories." msgstr "" -# type: textblock +#. type: textblock #: dh_installppp:21 msgid "" "If a file named debian/package.ppp.ip-up exists, then it is installed into " @@ -2904,7 +3070,7 @@ "debian/package.ppp.ip-down are installed to etc/ppp/ip-down.d/package" msgstr "" -# type: textblock +#. type: textblock #: dh_installppp:32 msgid "" "Look for files named debian/package.name.ppp.ip-* and install them as " @@ -2912,19 +3078,19 @@ "the package name." msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:5 msgid "dh_installwm - register a window manager" msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " "[S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:18 msgid "" "dh_installwm is a debhelper program that is responsible for generating the " @@ -2934,7 +3100,7 @@ "usr/share/man/man1/ in the package build directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:24 msgid "" "Any window manager programs specified as parameters will be registered in " @@ -2943,14 +3109,14 @@ "it will be the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:29 msgid "" "Files named debian/package.wm can list other window manager programs to " "register." msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:38 msgid "" "Set the priority of the window manager. Default is 20, which is too low for " @@ -2958,34 +3124,34 @@ "calculating the correct value." msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:44 msgid "Do not modify postinst/postrm scripts. Turns this command into a no-op." msgstr "" -# type: =item +#. type: =item #: dh_installwm:46 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_installwm:48 msgid "" "The commands used to run the window manager or window managers you want to " "register." msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:5 msgid "dh_installxfonts - register X fonts" msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:14 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:18 msgid "" "dh_installxfonts is a debhelper program that is responsible for registering " @@ -2993,7 +3159,7 @@ "rebuilt properly at install time." msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:22 msgid "" "Before calling this program, you should have installed any X fonts provided " @@ -3003,7 +3169,7 @@ "build directory." msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:28 msgid "" "Your package should depend on xfonts-utils so that the update-fonts-* " @@ -3011,7 +3177,7 @@ "${misc:Depends}.)" msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:32 msgid "" "This program automatically generates the postinst and postrm commands needed " @@ -3020,40 +3186,40 @@ "works." msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:39 msgid "" "See L, L, and " "L for more information about X font installation." msgstr "" -# type: textblock +#. type: textblock #: dh_installxfonts:42 msgid "" "See Debian policy, section 11.8.5. for details about doing fonts the Debian " "way." msgstr "" -# type: textblock +#. type: textblock #: dh_link:5 msgid "dh_link - create symlinks in package build directories" msgstr "" -# type: textblock +#. type: textblock #: dh_link:15 msgid "" "B [S>] [B<-A>] [B<-X>I] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_link:19 msgid "" "dh_link is a debhelper program that creates symlinks in package build " "directories." msgstr "" -# type: textblock +#. type: textblock #: dh_link:22 msgid "" "dh_link accepts a list of pairs of source and destination files. The source " @@ -3062,7 +3228,7 @@ "equal number of source and destination files specified." msgstr "" -# type: textblock +#. type: textblock #: dh_link:27 msgid "" "The list can be specified in two ways. A file named debian/package.links can " @@ -3075,7 +3241,7 @@ "the first package specified by those flags." msgstr "" -# type: textblock +#. type: textblock #: dh_link:36 msgid "" "Be sure you B specify the full filename to both the source and " @@ -3083,7 +3249,7 @@ "L)." msgstr "" -# type: textblock +#. type: textblock #: dh_link:40 msgid "" "dh_link will generate symlinks that comply with debian policy - absolute " @@ -3092,33 +3258,33 @@ "the symlinks in." msgstr "" -# type: textblock +#. type: textblock #: dh_link:45 msgid "" "dh_link also scans the package build tree for existing symlinks which do not " "conform to debian policy, and corrects them (v4 or later)." msgstr "" -# type: textblock +#. type: textblock #: dh_link:54 msgid "" "Create any links specified by command line parameters in ALL packages acted " "on, not just the first." msgstr "" -# type: textblock +#. type: textblock #: dh_link:59 msgid "" "Do not correct symlinks that contain \"item\" anywhere in their filename " "from being corrected to comply with debian policy." msgstr "" -# type: =item +#. type: =item #: dh_link:62 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_link:64 msgid "" "Create a file named \"destination\" as a link to a file named \"source\". Do " @@ -3126,7 +3292,7 @@ "all packages if -A is specified.)" msgstr "" -# type: verbatim +#. type: verbatim #: dh_link:72 #, no-wrap msgid "" @@ -3134,12 +3300,12 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_link:74 msgid "Make bar.1 be a symlink to foo.1" msgstr "" -# type: verbatim +#. type: verbatim #: dh_link:76 #, no-wrap msgid "" @@ -3148,24 +3314,24 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_link:79 msgid "" "Make /usr/lib/foo/ be a link to /var/lib/foo/, and bar.1 be a symlink to the " "foo.1" msgstr "" -# type: textblock +#. type: textblock #: dh_listpackages:5 msgid "dh_listpackages - list binary packages debhelper will act on" msgstr "" -# type: textblock +#. type: textblock #: dh_listpackages:14 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_listpackages:18 msgid "" "dh_listpackages is a debhelper program that outputs a list of all binary " @@ -3174,33 +3340,33 @@ "act on if passed the same options." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:5 msgid "dh_makeshlibs - automatically create shlibs file and call dpkg-gensymbols" msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:14 msgid "" "B [S>] [B<-m>I] " "[B<-V>I<[dependencies]>] [B<-n>] [B<-X>I] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:18 msgid "" "dh_makeshlibs is a debhelper program that automatically scans for shared " "libraries, and generates a shlibs file for the libraries it finds." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:21 msgid "" "It also adds a call to ldconfig in the postinst and postrm scripts (in V3 " "mode and above only) to any packages in which it finds shared libraries." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:24 msgid "" "If a L symbol file is found in debian/package.symbols " @@ -3208,12 +3374,12 @@ "and install the symbols file." msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:32 msgid "B<-m>I, B<--major=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:34 msgid "" "Instead of trying to guess the major number of the library with objdump, use " @@ -3222,17 +3388,17 @@ "library filenames rather than using objdump." msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:39 msgid "B<-V>, B<-V>I" msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:41 msgid "B<--version-info>, B<--version-info=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:43 msgid "" "By default, the shlibs file generated by this program does not make packages " @@ -3247,7 +3413,7 @@ "(be sure to include the package name)." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:54 msgid "" "Beware of using -V without any parameters; this is a conservative setting " @@ -3258,19 +3424,19 @@ "with dependencies that are too tight and so find it harder to be upgraded." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:68 msgid "" "Exclude files that contain \"item\" anywhere in their filename or directory " "from being treated as shared libraries." msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:71 msgid "B<--add-udeb=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:73 msgid "" "Create an additional line for udebs in the shlibs file and use \"udeb\" as " @@ -3278,17 +3444,17 @@ "package." msgstr "" -# type: textblock +#. type: textblock #: dh_makeshlibs:78 msgid "Pass \"params\" to L." msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:86 msgid "dh_makeshlibs" msgstr "" -# type: verbatim +#. type: verbatim #: dh_makeshlibs:88 #, no-wrap msgid "" @@ -3298,12 +3464,12 @@ "\n" msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:92 msgid "dh_makeshlibs -V" msgstr "" -# type: verbatim +#. type: verbatim #: dh_makeshlibs:94 #, no-wrap msgid "" @@ -3313,12 +3479,12 @@ "\n" msgstr "" -# type: =item +#. type: =item #: dh_makeshlibs:98 msgid "dh_makeshlibs -V 'libfoobar1 (>= 1.0)'" msgstr "" -# type: verbatim +#. type: verbatim #: dh_makeshlibs:100 #, no-wrap msgid "" @@ -3327,19 +3493,19 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:5 msgid "dh_md5sums - generate DEBIAN/md5sums file" msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:15 msgid "" "B [S>] [B<-x>] [B<-X>I] " "[B<--include-conffiles>]" msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:19 msgid "" "dh_md5sums is a debhelper program that is responsible for generating a " @@ -3347,50 +3513,50 @@ "These files are used by the debsums package." msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:23 msgid "" "All files in DEBIAN/ are omitted from the md5sums file, as are all conffiles " "(unless you use the --include-conffiles switch)." msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:26 msgid "The md5sums file is installed with proper permissions and ownerships." msgstr "" -# type: =item +#. type: =item #: dh_md5sums:32 msgid "B<-x>, B<--include-conffiles>" msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:34 msgid "" "Include conffiles in the md5sums list. Note that this information is " "redundant since it is included elsewhere in debian packages." msgstr "" -# type: textblock +#. type: textblock #: dh_md5sums:39 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "listed in the md5sums file." msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:5 msgid "dh_movefiles - move files out of debian/tmp into subpackages" msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:14 msgid "" "B [S>] [B<--sourcedir=>I] " "[B<-X>I] S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:18 msgid "" "dh_movefiles is a debhelper program that is responsible for moving files out " @@ -3399,7 +3565,7 @@ "everything into debian/tmp, and you need to break that up into subpackages." msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:23 msgid "" "Files named debian/package.files list the files to be moved, separated by " @@ -3409,19 +3575,19 @@ "apply to the first package dh_movefiles is told to act on." msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:29 msgid "" "Note: dh_install is a much better program, and you are recommended to use it " "instead of dh_movefiles." msgstr "" -# type: =item +#. type: =item #: dh_movefiles:36 msgid "B<--sourcedir=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:38 msgid "" "Instead of moving files out of debian/tmp (the default), this option makes " @@ -3431,7 +3597,7 @@ "begin with a `/'." msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:51 msgid "" "Lists files to move. The filenames listed should be relative to " @@ -3440,7 +3606,7 @@ "tell dh_movefiles which subpackage to put them in." msgstr "" -# type: textblock +#. type: textblock #: dh_movefiles:60 msgid "" "Note that files are always moved out of debian/tmp by default (even if you " @@ -3452,24 +3618,24 @@ "by dh_clean later." msgstr "" -# type: textblock +#. type: textblock #: dh_perl:5 msgid "dh_perl - calculates perl dependencies and cleans up after MakeMaker" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:16 msgid "B [S>] [B<-d>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:20 msgid "" "dh_perl is a debhelper program that is responsible for generating the " "${perl:Depends} substitutions and adding them to substvars files." msgstr "" -# type: textblock +#. type: textblock #: dh_perl:23 msgid "" "The program will look at perl scripts and modules in your package, and will " @@ -3478,19 +3644,19 @@ "place the token \"${perl:Depends}\"." msgstr "" -# type: textblock +#. type: textblock #: dh_perl:28 msgid "" "dh_perl also cleans up empty directories that MakeMaker can generate when " "installing perl modules." msgstr "" -# type: =item +#. type: =item #: dh_perl:35 msgid "B<-d>" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:37 msgid "" "In some specific cases you may want to depend on perl-base rather than the " @@ -3499,7 +3665,7 @@ "for some packages that are included in the base system." msgstr "" -# type: textblock +#. type: textblock #: dh_perl:42 msgid "" "Note that this flag may cause no dependency on perl-base to be generated at " @@ -3507,12 +3673,12 @@ "versioned dependency is needed." msgstr "" -# type: =item +#. type: =item #: dh_perl:46 msgid "B<-V>" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:48 msgid "" "By default, scripts and architecture independent modules don't depend on any " @@ -3520,12 +3686,12 @@ "perl (or perl-base with -d) package to be specified." msgstr "" -# type: =item +#. type: =item #: dh_perl:52 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:54 msgid "" "If your package installs perl modules in non-standard directories, you can " @@ -3534,36 +3700,36 @@ "default." msgstr "" -# type: textblock -#: dh_perl:63 dh_strip:76 -msgid "Debian policy, version 3.0.1" +#. type: textblock +#: dh_perl:63 +msgid "Debian policy, version 3.8.3" msgstr "" -# type: textblock +#. type: textblock #: dh_perl:65 -msgid "Perl policy, version 1.18" +msgid "Perl policy, version 1.20" msgstr "" -# type: textblock -#: dh_perl:160 +#. type: textblock +#: dh_perl:153 msgid "Brendan O'Dea " msgstr "" -# type: textblock +#. type: textblock #: dh_python:5 msgid "" "dh_python - calculates python dependencies and adds postinst and prerm " "python scripts" msgstr "" -# type: textblock +#. type: textblock #: dh_python:15 msgid "" "B [S>] [B<-n>] [B<-V> I] " "[S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_python:19 msgid "" "Note: This program is deprecated. You should use dh_pysupport or " @@ -3571,7 +3737,7 @@ "Python-Version control file field exists." msgstr "" -# type: textblock +#. type: textblock #: dh_python:23 msgid "" "dh_python is a debhelper program that is responsible for generating the " @@ -3579,7 +3745,7 @@ "also add a postinst and a prerm script if required." msgstr "" -# type: textblock +#. type: textblock #: dh_python:27 msgid "" "The program will look at python scripts and modules in your package, and " @@ -3589,7 +3755,7 @@ "package's control file wherever you place the token \"${python:Depends}\"." msgstr "" -# type: textblock +#. type: textblock #: dh_python:33 msgid "" "If some modules need to be byte-compiled at install time, appropriate " @@ -3597,17 +3763,17 @@ "modules are found, they are removed." msgstr "" -# type: textblock +#. type: textblock #: dh_python:37 msgid "If you use this program, your package should build-depend on python." msgstr "" -# type: =item +#. type: =item #: dh_python:43 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_python:45 msgid "" "If your package installs python modules in non-standard directories, you can " @@ -3617,19 +3783,19 @@ "/usr/lib/python?.?/site-packages." msgstr "" -# type: textblock +#. type: textblock #: dh_python:51 msgid "" "Note: only /usr/lib/site-python, /usr/lib/python?.?/site-packages and the " "extra names on the command line are searched for binary (.so) modules." msgstr "" -# type: =item +#. type: =item #: dh_python:54 msgid "B<-V> I" msgstr "" -# type: textblock +#. type: textblock #: dh_python:56 msgid "" "If the .py files your package ships are meant to be used by a specific " @@ -3637,86 +3803,64 @@ "such as 2.3. Do not use if you ship modules in /usr/lib/site-python." msgstr "" -# type: textblock +#. type: textblock #: dh_python:68 msgid "Debian policy, version 3.5.7" msgstr "" -# type: textblock +#. type: textblock #: dh_python:70 msgid "Python policy, version 0.3.7" msgstr "" -# type: textblock +#. type: textblock #: dh_python:290 msgid "Josselin Mouette " msgstr "" -# type: textblock +#. type: textblock #: dh_python:292 msgid "most ideas stolen from Brendan O'Dea " msgstr "" -# type: textblock +#. type: textblock #: dh_scrollkeeper:5 -msgid "dh_scrollkeeper - generate ScrollKeeper registration scripts" +msgid "dh_scrollkeeper - deprecated no-op" msgstr "" -# type: textblock +#. type: textblock #: dh_scrollkeeper:14 msgid "B [S>] [B<-n>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_scrollkeeper:18 msgid "" -"B is a debhelper program that handles correctly registering " -"OMF files that it finds in package build trees with ScrollKeeper." +"dh_scrollkeeper was a debhelper program that handled registering OMF files " +"for ScrollKeeper. However, it no longer does anything, and is now " +"deprecated." msgstr "" -# type: textblock -#: dh_scrollkeeper:22 -msgid "" -"This command automatically adds maintainer script snippets for registering " -"and unregistering files with ScrollKeeper (unless B<-n> is used). These " -"snippets are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of Debhelper maintainer script " -"snippets." -msgstr "" - -# type: textblock -#: dh_scrollkeeper:28 -msgid "" -"It will also change any DTD declarations in the OMF and DocBook files to " -"refer to local files instead of remote URLs. This change does not modify the " -"source files, but the files in the package build tree." -msgstr "" - -# type: textblock -#: dh_scrollkeeper:38 -msgid "Do not modify F/F scripts." -msgstr "" - -# type: textblock +#. type: textblock #: dh_shlibdeps:5 msgid "dh_shlibdeps - calculate shared library dependencies" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:15 msgid "" "B [S>] [B<-L>I] " "[B<-l>I] [B<-X>I] [S I>]" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:19 msgid "" "dh_shlibdeps is a debhelper program that is responsible for calculating " "shared library dependencies for packages." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:22 msgid "" "This program is merely a wrapper around L that calls it " @@ -3724,17 +3868,17 @@ "executables and shared libraries it has found." msgstr "" -# type: =item +#. type: =item #: dh_shlibdeps:30 msgid "B<-u>I, B<--dpkg-shlibdeps-params=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:34 msgid "Pass \"params\" to L." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:38 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -3743,17 +3887,17 @@ "may be used more than once to exclude more than one thing." msgstr "" -# type: =item +#. type: =item #: dh_shlibdeps:43 msgid "B<-l>I[:directory:directory:..]" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:45 msgid "With recent versions of dpkg-shlibdeps, this option is generally not needed." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:48 msgid "" "Before dpkg-shlibdeps is run, LD_LIBRARY_PATH will have added to it the " @@ -3764,19 +3908,19 @@ "path." msgstr "" -# type: =item +#. type: =item #: dh_shlibdeps:55 msgid "B<-L>I, B<--libpackage=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:57 msgid "" "With recent versions of dpkg-shlibdeps, this option is generally not needed, " "unless your package builds multiple flavors of the same library." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:60 msgid "" "It tells dpkg-shlibdeps (via its -S parameter) to look first in the package " @@ -3784,7 +3928,7 @@ "symbol files, and shlibs files." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:68 msgid "" "Suppose that your source package produces libfoo1, libfoo-dev, and " @@ -3793,7 +3937,7 @@ "dh_shlibdeps:" msgstr "" -# type: verbatim +#. type: verbatim #: dh_shlibdeps:72 #, no-wrap msgid "" @@ -3802,7 +3946,7 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:75 msgid "" "This will have the effect of generating automatically a shlibs file for " @@ -3811,7 +3955,7 @@ "information." msgstr "" -# type: textblock +#. type: textblock #: dh_shlibdeps:80 msgid "" "If a libbar1 package is also produced, that is an alternate build of libfoo, " @@ -3819,32 +3963,32 @@ "libbar1 as follows:" msgstr "" -# type: verbatim +#. type: verbatim #: dh_shlibdeps:84 #, no-wrap msgid "" "\tdh_shlibdeps -Llibbar1 -l/usr/lib/bar\n" -"\n" +"\t\n" msgstr "" -# type: textblock -#: dh_shlibdeps:161 +#. type: textblock +#: dh_shlibdeps:170 msgid "L, L" msgstr "" -# type: textblock +#. type: textblock #: dh_strip:5 msgid "dh_strip - strip executables, shared libraries, and some static libraries" msgstr "" -# type: textblock +#. type: textblock #: dh_strip:15 msgid "" "B [S>] [B<-X>I] [--dbg-package=package] " "[--keep-debug]" msgstr "" -# type: textblock +#. type: textblock #: dh_strip:19 msgid "" "dh_strip is a debhelper program that is responsible for stripping " @@ -3852,7 +3996,7 @@ "debugging." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:23 msgid "" "This program examines your package build directories and works out what to " @@ -3864,7 +4008,7 @@ "in almost all cases." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:31 msgid "" "Since it is very hard to automatically guess if a file is a module, and hard " @@ -3872,7 +4016,7 @@ "stripping binary modules such as .o files." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:41 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -3880,12 +4024,12 @@ "things to exclude." msgstr "" -# type: =item +#. type: =item #: dh_strip:45 msgid "B<--dbg-package=>I" msgstr "" -# type: textblock +#. type: textblock #: dh_strip:47 msgid "" "Causes dh_strip to save debug symbols stripped from the packages it acts on " @@ -3893,14 +4037,14 @@ "debugging package." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:51 msgid "" "For example, if your packages are libfoo and foo and you want to include a " "foo-dbg package with debugging symbols, use dh_strip --dbg-package=foo-dbg." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:54 msgid "" "Note that this option behaves significantly different in debhelper " @@ -3910,12 +4054,12 @@ "packages with \"-dbg\" added to their name." msgstr "" -# type: =item +#. type: =item #: dh_strip:60 msgid "B<-k>, B<--keep-debug>" msgstr "" -# type: textblock +#. type: textblock #: dh_strip:62 msgid "" "Debug symbols will be retained, but split into an independent file in " @@ -3923,7 +4067,7 @@ "use than this option, but this option is more flexible." msgstr "" -# type: textblock +#. type: textblock #: dh_strip:70 msgid "" "If the DEB_BUILD_OPTIONS environment variable contains \"nostrip\", nothing " @@ -3931,17 +4075,22 @@ "\"Binaries\")." msgstr "" -# type: textblock +#. type: textblock +#: dh_strip:76 +msgid "Debian policy, version 3.0.1" +msgstr "" + +#. type: textblock #: dh_suidregister:5 msgid "dh_suidregister - obsolete suid registration program" msgstr "" -# type: textblock +#. type: textblock #: dh_suidregister:9 dh_undocumented:14 msgid "Do not run!" msgstr "" -# type: textblock +#. type: textblock #: dh_suidregister:13 msgid "" "This program used to register suid and sgid files with L, " @@ -3950,12 +4099,12 @@ "used." msgstr "" -# type: =head1 +#. type: =head1 #: dh_suidregister:18 msgid "CONVERTING TO STATOVERRIDE" msgstr "" -# type: textblock +#. type: textblock #: dh_suidregister:20 msgid "" "Converting a package that uses this program to use the new statoverride " @@ -3964,7 +4113,7 @@ "follows:" msgstr "" -# type: verbatim +#. type: verbatim #: dh_suidregister:25 #, no-wrap msgid "" @@ -3972,7 +4121,7 @@ "\n" msgstr "" -# type: textblock +#. type: textblock #: dh_suidregister:27 msgid "" "The conflicts is only necessary if your package used to register things with " @@ -3980,17 +4129,17 @@ "from your rules file." msgstr "" -# type: textblock +#. type: textblock #: dh_testdir:5 msgid "dh_testdir - test directory before building debian package" msgstr "" -# type: textblock +#. type: textblock #: dh_testdir:14 msgid "B [S>] [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_testdir:18 msgid "" "dh_testdir tries to make sure that you are in the correct directory when " @@ -3999,22 +4148,22 @@ "error." msgstr "" -# type: textblock +#. type: textblock #: dh_testdir:29 msgid "Test for the existence of these files too." msgstr "" -# type: textblock +#. type: textblock #: dh_testroot:5 msgid "dh_testroot - ensure that a package is built as root" msgstr "" -# type: textblock +#. type: textblock #: dh_testroot:9 msgid "B [S>]" msgstr "" -# type: textblock +#. type: textblock #: dh_testroot:13 msgid "" "dh_testroot simply checks to see if you are root. If not, it exits with an " @@ -4022,29 +4171,29 @@ "L" msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:5 msgid "dh_testversion - ensure that the correct version of debhelper is installed" msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:14 msgid "B [S>] [I] [I]" msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:18 msgid "Note: This program is deprecated. You should use build dependencies instead." msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:21 msgid "" "dh_testversion compares the version of debhelper against the version you " "specify, and if the condition is not met, exits with an error message." msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:24 msgid "" "You can use this in your debian/rules files if a new debhelper feature is " @@ -4052,7 +4201,7 @@ "debhelper's changelog to figure out the version you need." msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:28 msgid "" "Be sure not to overuse dh_testversion. If debhelper version 9.5 introduces a " @@ -4062,12 +4211,12 @@ "dh_testversion." msgstr "" -# type: =item +#. type: =item #: dh_testversion:38 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:40 msgid "" "Optional comparison operator used in comparing the versions. If not " @@ -4075,24 +4224,24 @@ "dpkg --help." msgstr "" -# type: =item +#. type: =item #: dh_testversion:44 msgid "I" msgstr "" -# type: textblock +#. type: textblock #: dh_testversion:46 msgid "" "Version number to compare against the current version of debhelper. If not " "specified, dh_testversion does nothing." msgstr "" -# type: textblock +#. type: textblock #: dh_undocumented:5 msgid "dh_undocumented - obsolete undocumented.7 symlink program" msgstr "" -# type: textblock +#. type: textblock #: dh_undocumented:18 msgid "" "This program used to make symlinks to the undocumented.7 man page for man " @@ -4101,24 +4250,24 @@ "used." msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:5 msgid "dh_usrlocal - migrate usr/local directories to maintainer scripts" msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:17 msgid "B [S>] [B<-n>]" msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:21 msgid "" "dh_usrlocal is a debhelper program that can be used for building packages " "that will provide a subdirectory in /usr/local when installed." msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:24 msgid "" "It finds subdirectories of usr/local in the package build directory, and " @@ -4130,7 +4279,7 @@ "snippets." msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:32 msgid "" "If the directories found in the build tree have unusual owners, groups, or " @@ -4141,17 +4290,17 @@ "recommends for directories in /usr/local." msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:45 msgid "Do not modify F/F scripts." msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:57 msgid "Debian policy, version 2.2" msgstr "" -# type: textblock +#. type: textblock #: dh_usrlocal:122 msgid "Andrew Stribblehill " msgstr "" diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/man/po4a/po/es.po /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/man/po4a/po/es.po --- debhelper-7.0.17ubuntu4/man/po4a/po/es.po 2009-03-05 11:27:12.000000000 +0000 +++ debhelper-7.3.15ubuntu3/man/po4a/po/es.po 2009-09-30 21:57:25.000000000 +0100 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2009-03-05 11:27+0000\n" +"POT-Creation-Date: 2009-09-30 13:57-0600\n" "PO-Revision-Date: 2005-09-18 00:11+0200\n" "Last-Translator: Rubén Porras Campo \n" "Language-Team: SPANISH \n" @@ -14,6 +14,7 @@ "Content-Transfer-Encoding: ENCODING\n" # type: =head1 +#. type: =head1 #: debhelper.pod:1 dh_builddeb:3 dh_clean:3 dh_compress:3 dh_desktop:3 #: dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_installcatalogs:3 #: dh_installchangelogs:3 dh_installcron:3 dh_installdebconf:3 dh_installdeb:3 @@ -29,11 +30,13 @@ msgstr "NOMBRE" # type: textblock +#. type: textblock #: debhelper.pod:3 msgid "debhelper - the debhelper tool suite" msgstr "debhelper - El conjunto de herramientas debhelper" # type: =head1 +#. type: =head1 #: debhelper.pod:5 dh_builddeb:12 dh_clean:12 dh_compress:13 dh_desktop:12 #: dh_fixperms:12 dh_gconf:12 dh_gencontrol:12 dh_installcatalogs:14 #: dh_installchangelogs:12 dh_installcron:12 dh_installdebconf:12 @@ -50,6 +53,7 @@ msgstr "SINOPSIS" # type: textblock +#. type: textblock #: debhelper.pod:7 msgid "" "BI<*> [B<-v>] [B<-a>] [B<-i>] [B<-s>] [B<--no-act>] [B<-ppackage>] [B<-" @@ -59,6 +63,7 @@ "Npaquete] [-Ptmpdir>]" # type: =head1 +#. type: =head1 #: debhelper.pod:9 dh_builddeb:16 dh_clean:16 dh_compress:17 dh_desktop:16 #: dh_fixperms:16 dh_gconf:16 dh_gencontrol:16 dh_installcatalogs:18 #: dh_installchangelogs:16 dh_installcron:16 dh_installdebconf:16 @@ -75,6 +80,7 @@ msgstr "DESCRIPCIÓN" # type: textblock +#. type: textblock #: debhelper.pod:11 msgid "" "Debhelper is used to help you build a debian package. The philosophy behind " @@ -94,6 +100,7 @@ "reconstruidos para que se ajusten a la nueva política." # type: textblock +#. type: textblock #: debhelper.pod:19 #, fuzzy msgid "" @@ -107,6 +114,7 @@ "encontrar en F" # type: textblock +#. type: textblock #: debhelper.pod:23 msgid "" "To create a new debian package using debhelper, you can just copy one of the " @@ -124,11 +132,13 @@ "maint-guide-es)" # type: =head1 +#. type: =head1 #: debhelper.pod:29 msgid "DEBHELPER COMMANDS" msgstr "ÓRDENES DE DEBHELPER" # type: textblock +#. type: textblock #: debhelper.pod:31 msgid "" "Here is the complete list of available debhelper commands. See their man " @@ -138,11 +148,13 @@ "para más información consulte sus respectivas páginas del manual." # type: textblock +#. type: textblock #: debhelper.pod:36 msgid "#LIST#" msgstr "#LIST#" # type: textblock +#. type: textblock #: debhelper.pod:40 msgid "" "If a program's name starts with \"dh_\", and the program is not on the above " @@ -154,11 +166,13 @@ "como los programas descritos en está página." # type: =head1 +#. type: =head1 #: debhelper.pod:44 msgid "DEBHELPER CONFIG FILES" msgstr "FICHEROS DE CONFIGURACIÓN DE DEBHELPER" # type: textblock +#. type: textblock #: debhelper.pod:46 msgid "" "Many debhelper commands make use of files in F to control what they " @@ -177,6 +191,7 @@ "reemplazado por el paquete sobre el que se está trabajando)." # type: textblock +#. type: textblock #: debhelper.pod:53 msgid "" "For example, dh_installdocs uses files named debian/package.docs to list the " @@ -195,6 +210,7 @@ "complicado." # type: textblock +#. type: textblock #: debhelper.pod:60 msgid "" "Note that if a package is the first (or only) binary package listed in " @@ -206,13 +222,15 @@ "paquete.tal." # type: textblock +#. type: textblock #: debhelper.pod:64 #, fuzzy msgid "" "In some rare cases, you may want to have different versions of these files " -"for different architectures. If files named debian/package.foo.arch exist, " -"where \"arch\" is the same as the output of \"dpkg-architecture -" -"qDEB_HOST_ARCH\", then they will be used in preference to other, more " +"for different architectures or OSes. If files named debian/package.foo.ARCH " +"or debian/package.foo.OS exist, where \"ARCH\" and \"OS\" are the same as " +"the output of \"dpkg-architecture -qDEB_HOST_ARCH\" / \"dpkg-architecture -" +"qDEB_HOST_ARCH_OS\", then they will be used in preference to other, more " "general files." msgstr "" "En algunos casos raros, puede querer tener diferentes versiones de los " @@ -222,7 +240,8 @@ "generales." # type: textblock -#: debhelper.pod:70 +#. type: textblock +#: debhelper.pod:71 msgid "" "In many cases, these config files are used to specify various types of " "files. Documentation or example files to install, files to move, and so on. " @@ -235,7 +254,8 @@ "puedes usar comodines del shell como ('?' y '*') en estos ficheros." # type: textblock -#: debhelper.pod:75 +#. type: textblock +#: debhelper.pod:76 msgid "" "You can also put comments in these files; lines beginning with \"#\" are " "ignored." @@ -244,12 +264,14 @@ "líneas con el símbolo \"#\"" # type: =head1 -#: debhelper.pod:78 +#. type: =head1 +#: debhelper.pod:79 msgid "SHARED DEBHELPER OPTIONS" msgstr "OPCIONES COMPARTIDAS DE DEBHELPER" # type: textblock -#: debhelper.pod:80 +#. type: textblock +#: debhelper.pod:81 msgid "" "The following command line options are supported by all debhelper programs." msgstr "" @@ -257,12 +279,14 @@ "debhelper." # type: =item -#: debhelper.pod:84 +#. type: =item +#: debhelper.pod:85 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" # type: textblock -#: debhelper.pod:86 +#. type: textblock +#: debhelper.pod:87 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -270,12 +294,14 @@ "construcción del paquete." # type: =item -#: debhelper.pod:88 +#. type: =item +#: debhelper.pod:89 msgid "B<--no-act>" msgstr "B<--no-act>" # type: textblock -#: debhelper.pod:90 +#. type: textblock +#: debhelper.pod:91 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -284,32 +310,38 @@ "hecho." # type: =item -#: debhelper.pod:93 +#. type: =item +#: debhelper.pod:94 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" # type: textblock -#: debhelper.pod:95 +#. type: textblock +#: debhelper.pod:96 msgid "Act on all architecture dependent packages." msgstr "Actuar en todos los paquetes dependientes de la arquitectura." # type: =item -#: debhelper.pod:97 +#. type: =item +#: debhelper.pod:98 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" # type: textblock -#: debhelper.pod:99 +#. type: textblock +#: debhelper.pod:100 msgid "Act on all architecture independent packages." msgstr "Actuar en todos los paquetes independientes de la arquitectura." # type: =item -#: debhelper.pod:101 +#. type: =item +#: debhelper.pod:102 msgid "B<->I, B<--package=>I" msgstr "B<->I, B<--package=>I" # type: textblock -#: debhelper.pod:103 +#. type: textblock +#: debhelper.pod:104 msgid "" "Act on the package named \"package\". This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -319,12 +351,14 @@ "paquetes." # type: =item -#: debhelper.pod:106 +#. type: =item +#: debhelper.pod:107 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" # type: textblock -#: debhelper.pod:108 +#. type: textblock +#: debhelper.pod:109 msgid "" "This is a smarter version of the -a flag, that is used in some rare " "circumstances. It understands that if the control file lists \"Architecture: " @@ -344,12 +378,14 @@ "dependientes de la arquitectura." # type: =item -#: debhelper.pod:116 +#. type: =item +#: debhelper.pod:117 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" # type: textblock -#: debhelper.pod:118 +#. type: textblock +#: debhelper.pod:119 msgid "" "Do not act on the specified package even if an -a, -i, or -p option lists " "the package as one that should be acted on." @@ -358,13 +394,32 @@ "listan este paquete como uno sobre los que se debe actuar." # type: =item -#: debhelper.pod:121 +#. type: =item +#: debhelper.pod:122 +#, fuzzy +msgid "B<--remaining-packages>" +msgstr "B<--mainpackage=>I" + +#. type: textblock +#: debhelper.pod:124 +msgid "" +"Do not act on the packages which have already been acted on by this " +"debhelper command earlier (i.e. if the command is present in the package " +"debhelper log). For example, if you need to call the command with special " +"options only for a couple of binary packages, pass this option to the last " +"call of the command to process the rest of packages with default settings." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:130 #, fuzzy msgid "B<--ignore=>I" msgstr "B<--name=>I" # type: textblock -#: debhelper.pod:123 +#. type: textblock +#: debhelper.pod:132 msgid "" "Ignore the specified file. This can be used if debian/ contains a debhelper " "config file that a debhelper command should not act on. Note that debian/" @@ -373,19 +428,22 @@ msgstr "" # type: textblock -#: debhelper.pod:128 +#. type: textblock +#: debhelper.pod:137 msgid "" "For example, if upstream ships a debian/init that you don't want " "dh_installinit to install, use --ignore=debian/init" msgstr "" # type: =item -#: debhelper.pod:131 +#. type: =item +#: debhelper.pod:140 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" # type: textblock -#: debhelper.pod:133 +#. type: textblock +#: debhelper.pod:142 msgid "" "Use \"tmpdir\" for package build directory. The default is debian/" msgstr "" @@ -393,12 +451,14 @@ "debian/." # type: =item -#: debhelper.pod:135 +#. type: =item +#: debhelper.pod:144 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" # type: textblock -#: debhelper.pod:137 +#. type: textblock +#: debhelper.pod:146 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in debian/control, and the " @@ -411,12 +471,14 @@ "debian/package.tal." # type: =head1 -#: debhelper.pod:144 +#. type: =head1 +#: debhelper.pod:153 msgid "COMMON DEBHELPER OPTIONS" msgstr "OPCIONES COMUNES DE DEBHELPER" # type: textblock -#: debhelper.pod:146 +#. type: textblock +#: debhelper.pod:155 msgid "" "The following command line options are supported by some debhelper " "programs. See the man page of each program for a complete explanation of " @@ -427,23 +489,27 @@ "lo que hace cada una." # type: =item -#: debhelper.pod:152 +#. type: =item +#: debhelper.pod:161 msgid "B<-n>" msgstr "B<-n>" # type: textblock -#: debhelper.pod:154 +#. type: textblock +#: debhelper.pod:163 msgid "Do not modify postinst/postrm/etc scripts." msgstr "No modificar los scripts postinst/postrm/etc." # type: =item -#: debhelper.pod:156 dh_compress:42 dh_makeshlibs:66 dh_md5sums:37 +#. type: =item +#: debhelper.pod:165 dh_compress:43 dh_makeshlibs:66 dh_md5sums:37 #: dh_shlibdeps:36 dh_strip:39 msgid "B<-X>I, B<--exclude=>I" msgstr "B<-X>I, B<--exclude=>I" # type: textblock -#: debhelper.pod:158 +#. type: textblock +#: debhelper.pod:167 msgid "" "Exclude an item from processing. This option may be used multiple times, to " "exclude more than one thing." @@ -452,13 +518,15 @@ "excluir distintos elementos." # type: =item -#: debhelper.pod:161 dh_compress:50 dh_installdirs:32 dh_installdocs:55 -#: dh_installexamples:33 dh_installinfo:41 dh_installman:62 dh_link:52 +#. type: =item +#: debhelper.pod:170 dh_compress:51 dh_installdirs:32 dh_installdocs:53 +#: dh_installexamples:33 dh_installinfo:32 dh_installman:62 dh_link:52 msgid "B<-A>, B<--all>" msgstr "B<-A>, B<--all>" # type: textblock -#: debhelper.pod:163 +#. type: textblock +#: debhelper.pod:172 msgid "" "Makes files or other items that are specified on the command line take " "effect in ALL packages acted on, not just the first." @@ -466,22 +534,115 @@ "Hace que los archivos o elementos especificados en la línea de órdenes " "tengan efecto en TODOS los paquetes sobre los que actúa, no sólo el primero." +#. type: =head1 +#: debhelper.pod:177 +msgid "BUILD SYSTEM OPTIONS" +msgstr "" + +#. type: textblock +#: debhelper.pod:179 +msgid "" +"The following command line options are supported by all of the dh_auto_* " +"debhelper programs. These programs support a variety of build systems, and " +"normally heuristically determine which to use, and how to use them. You can " +"use these command line options to override the default behavior." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:186 +#, fuzzy +msgid "B<-S>I, B<--buildsystem=>I" +msgstr "B<-X>I, B<--exclude=>I" + +#. type: textblock +#: debhelper.pod:188 +msgid "" +"Force use of the specified I, instead of trying to auto-select " +"one which might be applicable for the package." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:191 +#, fuzzy +msgid "B<-D>I, B<--sourcedirectory=>I" +msgstr "B<-l>I[:directorio:directorio:..]" + +#. type: textblock +#: debhelper.pod:193 +msgid "" +"Assume that the original package source tree is at the specified " +"I rather than the top level directory of the Debian source " +"package tree." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:197 +#, fuzzy +msgid "B<-B>[I], B<--builddirectory>=[I]" +msgstr "B<-l>I[:directorio:directorio:..]" + +#. type: textblock +#: debhelper.pod:199 +msgid "" +"Enable out of source building and use the specified I as the " +"build directory. If I parameter is omitted, a default build " +"directory will chosen." +msgstr "" + +#. type: textblock +#: debhelper.pod:203 +msgid "" +"If this option is not specified, building will be done in source by default " +"unless the build system requires or prefers out of source tree building. In " +"such a case, the default build directory will be used even if L<--" +"builddirectory> is not specified." +msgstr "" + +#. type: textblock +#: debhelper.pod:208 +msgid "" +"If the build system prefers out of source tree building but still allows in " +"source building, the latter can be re-enabled by passing a build directory " +"path that is the same as the source directory path." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:212 +#, fuzzy +msgid "B<--list>, B<-l>" +msgstr "B<-A>, B<--all>" + +#. type: textblock +#: debhelper.pod:214 +msgid "" +"List all build systems supported by debhelper on this system. The list " +"includes both default and third party build systems (marked as such). Also " +"shows which build system would be automatically selected, or which one is " +"manually specified with the I<--buildsystem> option." +msgstr "" + # type: =head1 -#: debhelper.pod:168 dh_installcatalogs:52 dh_installdocs:87 -#: dh_installemacsen:54 dh_installexamples:50 dh_installinfo:57 -#: dh_installinit:110 dh_installman:79 dh_installmime:41 dh_installmodules:60 -#: dh_installwm:53 dh_installxfonts:37 dh_movefiles:58 dh_scrollkeeper:42 -#: dh_strip:68 dh_usrlocal:49 +#. type: =head1 +#: debhelper.pod:221 dh_installcatalogs:52 dh_installdocs:81 +#: dh_installemacsen:54 dh_installexamples:50 dh_installinit:141 +#: dh_installman:79 dh_installmime:41 dh_installmodules:60 dh_installwm:53 +#: dh_installxfonts:37 dh_movefiles:58 dh_strip:68 dh_usrlocal:49 msgid "NOTES" msgstr "NOTAS" # type: =head2 -#: debhelper.pod:170 +#. type: =head2 +#: debhelper.pod:223 msgid "Multiple binary package support" msgstr "Soporte para varios paquetes binarios" # type: textblock -#: debhelper.pod:172 +#. type: textblock +#: debhelper.pod:225 msgid "" "If your source package generates more than one binary package, debhelper " "programs will default to acting on all binary packages when run. If your " @@ -500,7 +661,8 @@ "arquitectura en el objetivo binary-indep de debian/rules." # type: textblock -#: debhelper.pod:180 +#. type: textblock +#: debhelper.pod:233 msgid "" "To facilitate this, as well as give you more control over which packages are " "acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-" @@ -515,12 +677,14 @@ "los paquetes listados en el fichero de control." # type: =head2 -#: debhelper.pod:186 +#. type: =head2 +#: debhelper.pod:239 msgid "Automatic generation of debian install scripts" msgstr "Generación automática de los scripts de instalación de debian" # type: textblock -#: debhelper.pod:188 +#. type: textblock +#: debhelper.pod:241 msgid "" "Some debhelper commands will automatically generate parts of debian " "maintainer scripts. If you want these automatically generated things " @@ -537,7 +701,8 @@ "cualquier código auto-generado cuando ejecutes dh_installdeb." # type: textblock -#: debhelper.pod:195 +#. type: textblock +#: debhelper.pod:248 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." @@ -546,7 +711,8 @@ "pueden deshabilitar con el parámetro -n (ver arriba)." # type: textblock -#: debhelper.pod:198 +#. type: textblock +#: debhelper.pod:251 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." @@ -555,7 +721,8 @@ "estamanera se pueden deshabilitar con el parámetro -n (ver arriba)." # type: textblock -#: debhelper.pod:201 +#. type: textblock +#: debhelper.pod:254 msgid "" "Note that the inserted code will be shell code, so you cannot directly use " "it in a perl script. If you would like to embed it into a perl script, here " @@ -568,7 +735,8 @@ "$1, $2, etc están establecidas con la orden set):" # type: verbatim -#: debhelper.pod:206 +#. type: verbatim +#: debhelper.pod:259 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -586,12 +754,14 @@ "\n" # type: =head2 -#: debhelper.pod:212 +#. type: =head2 +#: debhelper.pod:265 msgid "Automatic generation of miscellaneous dependencies." msgstr "Generación automática de diversas dependencias." # type: textblock -#: debhelper.pod:214 +#. type: textblock +#: debhelper.pod:267 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -610,7 +780,8 @@ "automatizarlo." # type: textblock -#: debhelper.pod:222 +#. type: textblock +#: debhelper.pod:275 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called " @@ -624,7 +795,8 @@ "debhelper crea oportunas." # type: textblock -#: debhelper.pod:227 +#. type: textblock +#: debhelper.pod:280 msgid "" "This is entirely independent of the standard ${shlibs:Depends} generated by " "L, and the ${perl:Depends} generated by L. " @@ -637,12 +809,14 @@ "estas variables no son correctas." # type: =head2 -#: debhelper.pod:232 +#. type: =head2 +#: debhelper.pod:285 msgid "Package build directories" msgstr "Directorios de construcción del paquete" # type: textblock -#: debhelper.pod:234 +#. type: textblock +#: debhelper.pod:287 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/." @@ -652,7 +826,8 @@ "." # type: textblock -#: debhelper.pod:237 +#. type: textblock +#: debhelper.pod:290 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the -P flag. For example, \"dh_installdocs -Pdebian/tmp\", will " @@ -671,12 +846,14 @@ "binario sobre el que debhelper actuará." # type: =head2 -#: debhelper.pod:245 +#. type: =head2 +#: debhelper.pod:298 msgid "Debhelper compatibility levels" msgstr "Niveles de compatibilidad de debhelper" # type: textblock -#: debhelper.pod:247 +#. type: textblock +#: debhelper.pod:300 msgid "" "From time to time, major non-backwards-compatible changes need to be made to " "debhelper, to keep it clean and well-designed as needs change and its author " @@ -694,7 +871,8 @@ "maneras." # type: textblock -#: debhelper.pod:254 +#. type: textblock +#: debhelper.pod:307 #, fuzzy msgid "" "Tell debhelper what compatibility level to use by writing a number to debian/" @@ -704,7 +882,8 @@ "debian/compat. Por ejemplo, para activar el modo V4:" # type: verbatim -#: debhelper.pod:257 +#. type: verbatim +#: debhelper.pod:310 #, fuzzy, no-wrap msgid "" " % echo 7 > debian/compat\n" @@ -714,7 +893,8 @@ "\n" # type: textblock -#: debhelper.pod:259 +#. type: textblock +#: debhelper.pod:312 msgid "" "Unless otherwise indicated, all debhelper documentation assumes that you are " "using the most recent compatibility level, and in most cases does not " @@ -724,17 +904,20 @@ msgstr "" # type: textblock -#: debhelper.pod:266 +#. type: textblock +#: debhelper.pod:319 msgid "These are the available compatibility levels:" msgstr "Los niveles de compatibilidad disponibles son:" # type: =item -#: debhelper.pod:270 +#. type: =item +#: debhelper.pod:323 msgid "V1" msgstr "V1" # type: textblock -#: debhelper.pod:272 +#. type: textblock +#: debhelper.pod:325 msgid "" "This is the original debhelper compatibility level, and so it is the default " "one. In this mode, debhelper will use debian/tmp as the package tree " @@ -747,17 +930,20 @@ "fichero de control. Se desaconseja su uso." # type: textblock -#: debhelper.pod:277 debhelper.pod:284 debhelper.pod:307 +#. type: textblock +#: debhelper.pod:330 debhelper.pod:337 debhelper.pod:360 debhelper.pod:389 msgid "This mode is deprecated." msgstr "Este modo está desaconsejado." # type: =item -#: debhelper.pod:279 +#. type: =item +#: debhelper.pod:332 msgid "V2" msgstr "V2" # type: textblock -#: debhelper.pod:281 +#. type: textblock +#: debhelper.pod:334 msgid "" "In this mode, debhelper will consistently use debian/ as the " "package tree directory for every package that is built." @@ -766,26 +952,30 @@ "árbol de directorios para cada paquete que se construya." # type: =item -#: debhelper.pod:286 +#. type: =item +#: debhelper.pod:339 msgid "V3" msgstr "V3" # type: textblock -#: debhelper.pod:288 +#. type: textblock +#: debhelper.pod:341 msgid "This mode works like V2, with the following additions:" msgstr "Este modo funciona como el V2 con los siguientes añadidos:" # type: =item -#: debhelper.pod:292 debhelper.pod:297 debhelper.pod:301 debhelper.pod:315 -#: debhelper.pod:320 debhelper.pod:325 debhelper.pod:330 debhelper.pod:342 -#: debhelper.pod:346 debhelper.pod:351 debhelper.pod:355 debhelper.pod:367 -#: debhelper.pod:372 debhelper.pod:378 debhelper.pod:384 debhelper.pod:399 -#: debhelper.pod:406 debhelper.pod:410 debhelper.pod:414 +#. type: =item +#: debhelper.pod:345 debhelper.pod:350 debhelper.pod:354 debhelper.pod:368 +#: debhelper.pod:373 debhelper.pod:378 debhelper.pod:383 debhelper.pod:397 +#: debhelper.pod:401 debhelper.pod:406 debhelper.pod:410 debhelper.pod:422 +#: debhelper.pod:427 debhelper.pod:433 debhelper.pod:439 debhelper.pod:454 +#: debhelper.pod:461 debhelper.pod:465 debhelper.pod:469 msgid "-" msgstr "-" # type: textblock -#: debhelper.pod:294 +#. type: textblock +#: debhelper.pod:347 msgid "" "Debhelper config files support globbing via * and ?, when appropriate. To " "turn this off and use those characters raw, just prefix with a backslash." @@ -795,13 +985,15 @@ "prefijo una barra invertida." # type: textblock -#: debhelper.pod:299 +#. type: textblock +#: debhelper.pod:352 msgid "dh_makeshlibs makes the postinst and postrm scripts call ldconfig." msgstr "" "dh_makeshlibs hace que los scripts postinst y postrm ejecuten ldconfig." # type: textblock -#: debhelper.pod:303 +#. type: textblock +#: debhelper.pod:356 msgid "" "Every file in etc/ is automatically flagged as a conffile by dh_installdeb." msgstr "" @@ -809,17 +1001,20 @@ "conffiles." # type: =item -#: debhelper.pod:309 +#. type: =item +#: debhelper.pod:362 msgid "V4" msgstr "V4" # type: textblock -#: debhelper.pod:311 +#. type: textblock +#: debhelper.pod:364 msgid "Changes from V3 are:" msgstr "" # type: textblock -#: debhelper.pod:317 +#. type: textblock +#: debhelper.pod:370 msgid "" "dh_makeshlibs -V will not include the debian part of the version number in " "the generated dependency line in the shlibs file." @@ -828,7 +1023,8 @@ "generado en la línea de dependencias del fichero shlibs." # type: textblock -#: debhelper.pod:322 +#. type: textblock +#: debhelper.pod:375 msgid "" "You are encouraged to put the new ${misc:Depends} into debian/control to " "supplement the ${shlibs:Depends} field." @@ -837,7 +1033,8 @@ "reemplazar el campo ${shlibs:Depends}." # type: textblock -#: debhelper.pod:327 +#. type: textblock +#: debhelper.pod:380 msgid "" "dh_fixperms will make all files in bin/ directories and in etc/init.d " "executable." @@ -846,30 +1043,35 @@ "etc/init.d." # type: textblock -#: debhelper.pod:332 +#. type: textblock +#: debhelper.pod:385 msgid "dh_link will correct existing links to conform with policy." msgstr "" "dh_link corregirá los enlaces existentes para ajustarse a la política de " "debian." # type: =item -#: debhelper.pod:336 +#. type: =item +#: debhelper.pod:391 msgid "V5" msgstr "V5" # type: textblock -#: debhelper.pod:338 +#. type: textblock +#: debhelper.pod:393 msgid "Changes from V4 are:" msgstr "" # type: textblock -#: debhelper.pod:344 +#. type: textblock +#: debhelper.pod:399 msgid "Comments are ignored in debhelper config files." msgstr "" "Se ignoran los comentarios en los ficheros de configuración de debhelper." # type: textblock -#: debhelper.pod:348 +#. type: textblock +#: debhelper.pod:403 msgid "" "dh_strip --dbg-package now specifies the name of a package to put debugging " "symbols in, not the packages to take the symbols from." @@ -879,34 +1081,40 @@ "los símbolos." # type: textblock -#: debhelper.pod:353 +#. type: textblock +#: debhelper.pod:408 msgid "dh_installdocs skips installing empty files." msgstr "dh_installdocs no instala ficheros vacíos." # type: textblock -#: debhelper.pod:357 +#. type: textblock +#: debhelper.pod:412 msgid "dh_install errors out if wildcards expand to nothing." msgstr "" # type: =item -#: debhelper.pod:361 +#. type: =item +#: debhelper.pod:416 msgid "V6" msgstr "" # type: textblock -#: debhelper.pod:363 +#. type: textblock +#: debhelper.pod:418 msgid "Changes from V5 are:" msgstr "" # type: textblock -#: debhelper.pod:369 +#. type: textblock +#: debhelper.pod:424 msgid "" -"Commands that generate maintainer script fragements will order the " -"fragements in reverse order for the prerm and postrm scripts." +"Commands that generate maintainer script fragments will order the fragments " +"in reverse order for the prerm and postrm scripts." msgstr "" # type: textblock -#: debhelper.pod:374 +#. type: textblock +#: debhelper.pod:429 #, fuzzy msgid "" "dh_installwm will install a slave manpage link for x-window-manager.1.gz, if " @@ -914,7 +1122,8 @@ msgstr "dh_installwm - registra un gestor de ventanas" # type: textblock -#: debhelper.pod:380 +#. type: textblock +#: debhelper.pod:435 msgid "" "dh_builddeb did not previously delete everything matching DH_ALWAYS_EXCLUDE, " "if it was set to a list of things to exclude, such as \"CVS:.svn:.git\". Now " @@ -922,62 +1131,72 @@ msgstr "" # type: textblock -#: debhelper.pod:386 +#. type: textblock +#: debhelper.pod:441 msgid "" "dh_installman allows overwriting existing man pages in the package build " "directory. In previous compatibility levels it silently refuses to do this." msgstr "" # type: =item -#: debhelper.pod:391 +#. type: =item +#: debhelper.pod:446 msgid "V7" msgstr "" # type: textblock -#: debhelper.pod:393 +#. type: textblock +#: debhelper.pod:448 #, fuzzy msgid "This is the recommended mode of operation." msgstr "" "Este es el modo de operación aconsejado. Hace lo mismo que V3 y además:" # type: textblock -#: debhelper.pod:395 +#. type: textblock +#: debhelper.pod:450 msgid "Changes from V6 are:" msgstr "" # type: textblock -#: debhelper.pod:401 +#. type: textblock +#: debhelper.pod:456 msgid "" "dh_install, will fall back to looking for files in debian/tmp if it doesn't " "find them in the current directory (or wherever you tell it look using --" -"srcdir). This allows dh_install to interoperate with dh_auto_install, which " -"installs to debian/tmp, without needing any special parameters." +"sourcedir). This allows dh_install to interoperate with dh_auto_install, " +"which installs to debian/tmp, without needing any special parameters." msgstr "" # type: textblock -#: debhelper.pod:408 +#. type: textblock +#: debhelper.pod:463 msgid "dh_clean will read debian/clean and delete files listed there." msgstr "" # type: textblock -#: debhelper.pod:412 +#. type: textblock +#: debhelper.pod:467 msgid "dh_clean will delete toplevel *-stamp files." msgstr "" # type: textblock -#: debhelper.pod:416 +#. type: textblock +#: debhelper.pod:471 msgid "" "dh_installchangelogs will guess at what file is the upstream changelog if " "none is specified." msgstr "" # type: =head2 -#: debhelper.pod:423 +#. type: =head2 +#: debhelper.pod:478 msgid "Doc directory symlinks" msgstr "Enlaces a los directorios Doc" # type: textblock -#: debhelper.pod:425 +#. type: textblock +#: debhelper.pod:480 msgid "" "Sometimes it is useful to make a package not contain a /usr/share/doc/" "package directory at all, instead placing just a dangling symlink in the " @@ -999,12 +1218,14 @@ "colgante y no tratará de instalar un fichero de copyright o changelog." # type: =head2 -#: debhelper.pod:434 +#. type: =head2 +#: debhelper.pod:489 msgid "udebs" msgstr "udebs" # type: textblock -#: debhelper.pod:436 +#. type: textblock +#: debhelper.pod:491 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"XC-Package-Type: udeb\" to the package's stanza in debian/control, and " @@ -1022,12 +1243,14 @@ "preinst, postrm, prerm, y de configuración, etc." # type: =head2 -#: debhelper.pod:443 +#. type: =head2 +#: debhelper.pod:498 msgid "Other notes" msgstr "Otras notas" # type: textblock -#: debhelper.pod:445 +#. type: textblock +#: debhelper.pod:500 msgid "" "In general, if any debhelper program needs a directory to exist under " "debian/, it will create it. I haven't bothered to document this in all the " @@ -1043,7 +1266,8 @@ "archivos del menú, etc." # type: textblock -#: debhelper.pod:451 +#. type: textblock +#: debhelper.pod:506 #, fuzzy msgid "" "Once your package uses debhelper to build, be sure to add debhelper to your " @@ -1058,7 +1282,8 @@ "paquete usa el nivel de compatibilidad 4:" # type: verbatim -#: debhelper.pod:457 +#. type: verbatim +#: debhelper.pod:512 #, fuzzy, no-wrap msgid "" " Build-Depends: debhelper (>= 7)\n" @@ -1068,17 +1293,20 @@ "\n" # type: =head1 -#: debhelper.pod:459 +#. type: =head1 +#: debhelper.pod:514 msgid "ENVIRONMENT" msgstr "ENTORNO" # type: =item -#: debhelper.pod:463 +#. type: =item +#: debhelper.pod:518 msgid "DH_VERBOSE" msgstr "DH_VERBOSE" # type: textblock -#: debhelper.pod:465 +#. type: textblock +#: debhelper.pod:520 msgid "" "Set to 1 to enable verbose mode. Debhelper will output every command it runs " "that modifies files on the build system." @@ -1088,12 +1316,14 @@ "construcción." # type: =item -#: debhelper.pod:468 +#. type: =item +#: debhelper.pod:523 msgid "DH_COMPAT" msgstr "DH_COMPAT" # type: textblock -#: debhelper.pod:470 +#. type: textblock +#: debhelper.pod:525 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value in debian/compat." @@ -1102,28 +1332,41 @@ "debhelper, ignorando cualquier valor en debian/compat." # type: =item -#: debhelper.pod:473 +#. type: =item +#: debhelper.pod:528 msgid "DH_NO_ACT" msgstr "DH_NO_ACT" # type: textblock -#: debhelper.pod:475 +#. type: textblock +#: debhelper.pod:530 msgid "Set to 1 to enable no-act mode." msgstr "Poner a 1 para habilitar el modo no-act." # type: =item -#: debhelper.pod:477 +#. type: =item +#: debhelper.pod:532 msgid "DH_OPTIONS" msgstr "DH_OPTIONS" # type: textblock -#: debhelper.pod:479 +#. type: textblock +#: debhelper.pod:534 msgid "" "Anything in this variable will be prepended to the command line arguments of " -"all debhelper commands. This is useful in some situations, for example, if " -"you need to pass -p to all debhelper commands that will be run. One good way " -"to set DH_OPTIONS is by using \"Target-specific Variable Values\" in your " -"debian/rules file. See the make documentation for details on doing this." +"all debhelper commands. Command-specific options will be ignored by commands " +"that do not support them." +msgstr "" + +# type: textblock +#. type: textblock +#: debhelper.pod:538 +#, fuzzy +msgid "" +"This is useful in some situations, for example, if you need to pass -p to " +"all debhelper commands that will be run. One good way to set DH_OPTIONS is " +"by using \"Target-specific Variable Values\" in your debian/rules file. See " +"the make documentation for details on doing this." msgstr "" "Todo lo que halla en esta variable se antepondrá a los argumentos en la " "línea de órdenes de todas las órdenes de debhelper. Esto es útil en algunas " @@ -1133,12 +1376,14 @@ "Lea la documentación de make para los detalles sobre como hacer esto." # type: =item -#: debhelper.pod:485 +#. type: =item +#: debhelper.pod:543 msgid "DH_ALWAYS_EXCLUDE" msgstr "DH_ALWAYS_EXCLUDE" # type: textblock -#: debhelper.pod:487 +#. type: textblock +#: debhelper.pod:545 msgid "" "If set, this adds the value the variable is set to to the -X options of all " "commands that support the -X option. Moreover, dh_builddeb will rm -rf " @@ -1149,7 +1394,8 @@ "coincida con el valor en el árbol de construcción." # type: textblock -#: debhelper.pod:491 +#. type: textblock +#: debhelper.pod:549 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting DH_ALWAYS_EXCLUDE=CVS will prevent any CVS directories from " @@ -1166,7 +1412,8 @@ "sitio donde se construya el paquete." # type: textblock -#: debhelper.pod:498 +#. type: textblock +#: debhelper.pod:556 msgid "" "Multiple things to exclude can be separated with colons, as in " "DH_ALWAYS_EXCLUDE=CVS:.svn" @@ -1175,80 +1422,88 @@ "puntos, p. ej.: DH_ALWAYS_EXCLUDE=CVS:.svn" # type: =head1 -#: debhelper.pod:503 dh_builddeb:85 dh_clean:128 dh_compress:190 dh_desktop:47 -#: dh_fixperms:110 dh_gconf:92 dh_gencontrol:74 dh_installcatalogs:109 -#: dh_installchangelogs:140 dh_installcron:61 dh_installdebconf:118 -#: dh_installdeb:94 dh_installdirs:83 dh_installdocs:237 dh_installemacsen:109 -#: dh_installexamples:103 dh_installinfo:103 dh_installinit:216 +#. type: =head1 +#: debhelper.pod:561 dh_builddeb:88 dh_clean:130 dh_compress:192 dh_desktop:27 +#: dh_fixperms:122 dh_gconf:104 dh_gencontrol:79 dh_installcatalogs:109 +#: dh_installchangelogs:147 dh_installcron:61 dh_installdebconf:118 +#: dh_installdeb:97 dh_installdirs:83 dh_installdocs:223 dh_installemacsen:111 +#: dh_installexamples:103 dh_installinfo:74 dh_installinit:320 #: dh_installlogcheck:51 dh_installlogrotate:50 dh_installmanpages:197 -#: dh_installman:249 dh_installmenu:80 dh_installmime:85 dh_installmodules:126 -#: dh_installpam:52 dh_install:268 dh_installppp:56 dh_installwm:107 -#: dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:222 -#: dh_md5sums:86 dh_movefiles:162 dh_perl:152 dh_python:282 dh_scrollkeeper:76 -#: dh_shlibdeps:159 dh_strip:224 dh_suidregister:117 dh_testdir:44 +#: dh_installman:251 dh_installmenu:80 dh_installmime:85 dh_installmodules:124 +#: dh_installpam:52 dh_install:267 dh_installppp:56 dh_installwm:107 +#: dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:227 +#: dh_md5sums:89 dh_movefiles:164 dh_perl:145 dh_python:282 dh_scrollkeeper:28 +#: dh_shlibdeps:168 dh_strip:227 dh_suidregister:117 dh_testdir:44 #: dh_testroot:27 dh_testversion:75 dh_undocumented:28 dh_usrlocal:114 msgid "SEE ALSO" msgstr "VÉASE ADEMÁS" # type: =item -#: debhelper.pod:507 +#. type: =item +#: debhelper.pod:565 msgid "F" msgstr "F" # type: textblock -#: debhelper.pod:509 +#. type: textblock +#: debhelper.pod:567 msgid "A set of example debian/rules files that use debhelper." msgstr "Varios ficheros de ejemplo debian/rules que usan debhelper." # type: =item -#: debhelper.pod:511 +#. type: =item +#: debhelper.pod:569 msgid "L" msgstr "L" # type: textblock -#: debhelper.pod:513 +#. type: textblock +#: debhelper.pod:571 msgid "Debhelper web site." msgstr "Web de Debhelper." # type: =head1 -#: debhelper.pod:517 dh_builddeb:91 dh_clean:134 dh_compress:196 dh_desktop:53 -#: dh_fixperms:116 dh_gconf:98 dh_gencontrol:80 dh_installcatalogs:115 -#: dh_installchangelogs:146 dh_installcron:67 dh_installdebconf:124 -#: dh_installdeb:100 dh_installdirs:89 dh_installdocs:243 -#: dh_installemacsen:115 dh_installexamples:109 dh_installinfo:109 -#: dh_installinit:222 dh_installlogcheck:57 dh_installlogrotate:56 -#: dh_installmanpages:203 dh_installman:255 dh_installmenu:88 -#: dh_installmime:91 dh_installmodules:132 dh_installpam:58 dh_install:274 -#: dh_installppp:62 dh_installwm:113 dh_installxfonts:92 dh_link:229 -#: dh_listpackages:35 dh_makeshlibs:228 dh_md5sums:92 dh_movefiles:168 -#: dh_perl:158 dh_python:288 dh_scrollkeeper:82 dh_shlibdeps:165 dh_strip:230 -#: dh_suidregister:123 dh_testdir:50 dh_testroot:33 dh_testversion:81 -#: dh_undocumented:34 dh_usrlocal:120 +#. type: =head1 +#: debhelper.pod:575 dh_builddeb:94 dh_clean:136 dh_compress:198 dh_desktop:33 +#: dh_fixperms:128 dh_gconf:110 dh_gencontrol:85 dh_installcatalogs:115 +#: dh_installchangelogs:153 dh_installcron:67 dh_installdebconf:124 +#: dh_installdeb:103 dh_installdirs:89 dh_installdocs:229 +#: dh_installemacsen:117 dh_installexamples:109 dh_installinfo:80 +#: dh_installlogcheck:57 dh_installlogrotate:56 dh_installmanpages:203 +#: dh_installman:257 dh_installmenu:88 dh_installmime:91 dh_installmodules:130 +#: dh_installpam:58 dh_install:273 dh_installppp:62 dh_installwm:113 +#: dh_installxfonts:92 dh_link:229 dh_listpackages:35 dh_makeshlibs:233 +#: dh_md5sums:95 dh_movefiles:170 dh_perl:151 dh_python:288 dh_scrollkeeper:34 +#: dh_shlibdeps:174 dh_strip:233 dh_suidregister:123 dh_testdir:50 +#: dh_testroot:33 dh_testversion:81 dh_undocumented:34 dh_usrlocal:120 msgid "AUTHOR" msgstr "AUTOR" # type: textblock -#: debhelper.pod:519 dh_builddeb:93 dh_clean:136 dh_compress:198 -#: dh_fixperms:118 dh_gencontrol:82 dh_installchangelogs:148 dh_installcron:69 -#: dh_installdebconf:126 dh_installdeb:102 dh_installdirs:91 -#: dh_installdocs:245 dh_installemacsen:117 dh_installexamples:111 -#: dh_installinfo:111 dh_installinit:224 dh_installlogrotate:58 -#: dh_installmanpages:205 dh_installman:257 dh_installmenu:90 -#: dh_installmime:93 dh_installmodules:134 dh_installpam:60 dh_install:276 -#: dh_installppp:64 dh_installwm:115 dh_installxfonts:94 dh_link:231 -#: dh_listpackages:37 dh_makeshlibs:230 dh_md5sums:94 dh_movefiles:170 -#: dh_shlibdeps:167 dh_strip:232 dh_suidregister:125 dh_testdir:52 -#: dh_testroot:35 dh_testversion:83 dh_undocumented:36 +#. type: textblock +#: debhelper.pod:577 dh_builddeb:96 dh_clean:138 dh_compress:200 +#: dh_fixperms:130 dh_gencontrol:87 dh_installchangelogs:155 dh_installcron:69 +#: dh_installdebconf:126 dh_installdeb:105 dh_installdirs:91 +#: dh_installdocs:231 dh_installemacsen:119 dh_installexamples:111 +#: dh_installinfo:82 dh_installlogrotate:58 dh_installmanpages:205 +#: dh_installman:259 dh_installmenu:90 dh_installmime:93 dh_installmodules:132 +#: dh_installpam:60 dh_install:275 dh_installppp:64 dh_installwm:115 +#: dh_installxfonts:94 dh_link:231 dh_listpackages:37 dh_makeshlibs:235 +#: dh_md5sums:97 dh_movefiles:172 dh_shlibdeps:176 dh_strip:235 +#: dh_suidregister:125 dh_testdir:52 dh_testroot:35 dh_testversion:83 +#: dh_undocumented:36 msgid "Joey Hess " msgstr "Joey Hess " # type: textblock +#. type: textblock #: dh_builddeb:5 #, fuzzy msgid "dh_builddeb - build debian binary packages" msgstr "dh_builddeb - construye paquetes debian" # type: textblock +#. type: textblock #: dh_builddeb:14 msgid "" "B [S>] [B<--destdir=>I] [B<--" @@ -1258,34 +1513,38 @@ "filename=>I] [S I>]" # type: textblock +#. type: textblock #: dh_builddeb:18 +#, fuzzy msgid "" -"dh_builddeb simply calls L to build a debian package or " +"dh_builddeb simply calls L to build a debian package or " "packages." msgstr "" "dh_builddeb simplemente llama a L para construir el paquete o " "paquetes Debian." # type: =head1 -#: dh_builddeb:21 dh_clean:33 dh_compress:38 dh_fixperms:31 dh_gconf:34 +#. type: =head1 +#: dh_builddeb:21 dh_clean:33 dh_compress:39 dh_fixperms:31 dh_gconf:39 #: dh_gencontrol:26 dh_installcatalogs:42 dh_installchangelogs:44 -#: dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:51 -#: dh_installemacsen:35 dh_installexamples:29 dh_installinfo:37 -#: dh_installinit:33 dh_installlogrotate:22 dh_installmanpages:40 +#: dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:49 +#: dh_installemacsen:35 dh_installexamples:29 dh_installinfo:28 +#: dh_installinit:48 dh_installlogrotate:22 dh_installmanpages:40 #: dh_installman:58 dh_installmenu:34 dh_installmime:31 dh_installmodules:43 #: dh_installpam:24 dh_install:47 dh_installppp:26 dh_installwm:32 dh_link:48 #: dh_makeshlibs:28 dh_md5sums:28 dh_movefiles:32 dh_perl:31 dh_python:39 -#: dh_scrollkeeper:32 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 -#: dh_testversion:34 dh_usrlocal:39 +#: dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_testversion:34 dh_usrlocal:39 msgid "OPTIONS" msgstr "OPCIONES" # type: =item +#. type: =item #: dh_builddeb:25 msgid "B<--destdir=>I" msgstr "B<--destdir=>I" # type: textblock +#. type: textblock #: dh_builddeb:27 msgid "" "Use this if you want the generated .deb files to be put in a directory other " @@ -1295,11 +1554,13 @@ "directorio distinto de \"..\"" # type: =item +#. type: =item #: dh_builddeb:30 msgid "B<--filename=>I" msgstr "B<--filename=>I" # type: textblock +#. type: textblock #: dh_builddeb:32 msgid "" "Use this if you want to force the generated .deb file to have a particular " @@ -1309,57 +1570,65 @@ "¡No funciona bien si se genera más de un .deb!" # type: =item +#. type: =item #: dh_builddeb:35 msgid "B<-u>I" msgstr "B<-u>I" # type: =item -#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:78 +#. type: =item +#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:99 #: dh_makeshlibs:76 dh_shlibdeps:32 msgid "B<--> I" msgstr "B<--> I" # type: textblock +#. type: textblock #: dh_builddeb:39 msgid "Pass I to L when it is used to build the package." msgstr "Pasa I a L cuando se construye el paquete." # type: textblock -#: dh_builddeb:87 dh_clean:130 dh_compress:192 dh_fixperms:112 dh_gconf:94 -#: dh_gencontrol:76 dh_installcatalogs:111 dh_installchangelogs:142 -#: dh_installcron:63 dh_installdebconf:120 dh_installdeb:96 dh_installdirs:85 -#: dh_installdocs:239 dh_installemacsen:111 dh_installexamples:105 -#: dh_installinfo:105 dh_installinit:218 dh_installlogcheck:53 -#: dh_installlogrotate:52 dh_installmanpages:199 dh_installman:251 -#: dh_installmime:87 dh_installmodules:128 dh_installpam:54 dh_install:270 +#. type: textblock +#: dh_builddeb:90 dh_clean:132 dh_compress:194 dh_fixperms:124 dh_gconf:106 +#: dh_gencontrol:81 dh_installcatalogs:111 dh_installchangelogs:149 +#: dh_installcron:63 dh_installdebconf:120 dh_installdeb:99 dh_installdirs:85 +#: dh_installdocs:225 dh_installemacsen:113 dh_installexamples:105 +#: dh_installinfo:76 dh_installinit:322 dh_installlogcheck:53 +#: dh_installlogrotate:52 dh_installmanpages:199 dh_installman:253 +#: dh_installmime:87 dh_installmodules:126 dh_installpam:54 dh_install:269 #: dh_installppp:58 dh_installwm:109 dh_installxfonts:88 dh_link:225 -#: dh_listpackages:31 dh_makeshlibs:224 dh_md5sums:88 dh_movefiles:164 -#: dh_perl:154 dh_python:284 dh_strip:226 dh_suidregister:119 dh_testdir:46 +#: dh_listpackages:31 dh_makeshlibs:229 dh_md5sums:91 dh_movefiles:166 +#: dh_perl:147 dh_python:284 dh_strip:229 dh_suidregister:119 dh_testdir:46 #: dh_testroot:29 dh_testversion:77 dh_undocumented:30 dh_usrlocal:116 msgid "L" msgstr "L" # type: textblock -#: dh_builddeb:89 dh_clean:132 dh_compress:194 dh_desktop:51 dh_fixperms:114 -#: dh_gconf:96 dh_gencontrol:78 dh_installchangelogs:144 dh_installcron:65 -#: dh_installdebconf:122 dh_installdeb:98 dh_installdirs:87 dh_installdocs:241 -#: dh_installemacsen:113 dh_installexamples:107 dh_installinfo:107 -#: dh_installinit:220 dh_installlogrotate:54 dh_installmanpages:201 -#: dh_installman:253 dh_installmenu:86 dh_installmime:89 dh_installmodules:130 -#: dh_installpam:56 dh_install:272 dh_installppp:60 dh_installwm:111 -#: dh_installxfonts:90 dh_link:227 dh_listpackages:33 dh_makeshlibs:226 -#: dh_md5sums:90 dh_movefiles:166 dh_perl:156 dh_python:286 dh_scrollkeeper:80 -#: dh_shlibdeps:163 dh_strip:228 dh_suidregister:121 dh_testdir:48 -#: dh_testroot:31 dh_testversion:79 dh_undocumented:32 dh_usrlocal:118 +#. type: textblock +#: dh_builddeb:92 dh_clean:134 dh_compress:196 dh_desktop:31 dh_fixperms:126 +#: dh_gconf:108 dh_gencontrol:83 dh_installchangelogs:151 dh_installcron:65 +#: dh_installdebconf:122 dh_installdeb:101 dh_installdirs:87 +#: dh_installdocs:227 dh_installemacsen:115 dh_installexamples:107 +#: dh_installinfo:78 dh_installinit:324 dh_installlogrotate:54 +#: dh_installmanpages:201 dh_installman:255 dh_installmenu:86 +#: dh_installmime:89 dh_installmodules:128 dh_installpam:56 dh_install:271 +#: dh_installppp:60 dh_installwm:111 dh_installxfonts:90 dh_link:227 +#: dh_listpackages:33 dh_makeshlibs:231 dh_md5sums:93 dh_movefiles:168 +#: dh_perl:149 dh_python:286 dh_scrollkeeper:32 dh_shlibdeps:172 dh_strip:231 +#: dh_suidregister:121 dh_testdir:48 dh_testroot:31 dh_testversion:79 +#: dh_undocumented:32 dh_usrlocal:118 msgid "This program is a part of debhelper." msgstr "Este programa es parte de debhelper." # type: textblock +#. type: textblock #: dh_clean:5 msgid "dh_clean - clean up package build directories" msgstr "dh_clean - limpia los directorios de construcción de los paquetes" # type: textblock +#. type: textblock #: dh_clean:14 msgid "" "B [S>] [B<-k>] [B<-d>] [B<-X>I] " @@ -1369,6 +1638,7 @@ "[S>]" # type: verbatim +#. type: verbatim #: dh_clean:18 #, fuzzy, no-wrap msgid "" @@ -1389,6 +1659,7 @@ "\n" # type: textblock +#. type: textblock #: dh_clean:25 #, fuzzy msgid "The debian/clean file can list other files to be removed." @@ -1396,14 +1667,15 @@ "Ficheros llamados debian/paquete.info pueden listar otros ficheros a " "instalar." -# type: textblock +#. type: textblock #: dh_clean:27 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " -"L to do that." +"L to do things like that." msgstr "" # type: textblock +#. type: textblock #: dh_clean:30 msgid "" "dh_clean (or \"dh clean\") should be the last debhelper command run in the " @@ -1411,22 +1683,26 @@ msgstr "" # type: =item +#. type: =item #: dh_clean:37 dh_installchangelogs:48 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" # type: textblock +#. type: textblock #: dh_clean:39 #, fuzzy msgid "This is deprecated, use L instead." msgstr "Se desaconseja el uso de esta opción, use --name en su lugar." # type: =item +#. type: =item #: dh_clean:41 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" # type: textblock +#. type: textblock #: dh_clean:43 msgid "" "Only clean the package build directories, do not clean up any other files at " @@ -1436,11 +1712,13 @@ "otro tipo de ficheros en absoluto." # type: =item +#. type: =item #: dh_clean:46 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I B<--exclude=>I" # type: textblock +#. type: textblock #: dh_clean:48 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -1452,17 +1730,20 @@ "opción si quiere excluir una lista de ficheros." # type: =item -#: dh_clean:52 dh_compress:55 dh_installdocs:69 dh_installexamples:38 -#: dh_installinfo:50 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 +#. type: =item +#: dh_clean:52 dh_compress:56 dh_installdocs:63 dh_installexamples:38 +#: dh_installinfo:37 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_clean:54 msgid "Delete these files too." msgstr "Borra también estos ficheros." # type: textblock +#. type: textblock #: dh_compress:5 msgid "" "dh_compress - compress files and fix symlinks in package build directories" @@ -1471,6 +1752,7 @@ "directorios de contrucción de los paquetes." # type: textblock +#. type: textblock #: dh_compress:15 msgid "" "B [S>] [B<-X>I] [B<-A>] [S>]" # type: textblock +#. type: textblock #: dh_compress:19 msgid "" "dh_compress is a debhelper program that is responsible for compressing the " @@ -1493,15 +1776,16 @@ "comprimidos es actualizado para apuntar a los nuevos ficheros." # type: textblock +#. type: textblock #: dh_compress:24 #, fuzzy msgid "" "By default, dh_compress compresses files that debian policy mandates should " "be compressed, namely all files in usr/share/info, usr/share/man, usr/X11R6/" "man, files in usr/share/doc that are larger than 4k in size, (except the " -"copyright file, .html and .css files, and files that appear to be already " -"compressed based on their extensions), and all changelog files. Plus PCF " -"fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/" +"copyright file, .html and .css files, image files, and files that appear to " +"be already compressed based on their extensions), and all changelog files. " +"Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/" msgstr "" "Por omisión, dh_compress comprime los ficheros que las normas de Debian " "obligan a comprimir, es decir, todos los ficheros en usr/share/info, usr/" @@ -1512,7 +1796,8 @@ "lib/X11/fonts/" # type: textblock -#: dh_compress:31 +#. type: textblock +#: dh_compress:32 #, fuzzy msgid "" "If a debian/package.compress file exists, the default files are not " @@ -1530,10 +1815,12 @@ "debian/package.compress cuando sea realmente necesario" # type: textblock -#: dh_compress:44 +#. type: textblock +#: dh_compress:45 +#, fuzzy msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " -"compressed. For example, -X.jpeg will exclude jpeg files from compression. " +"compressed. For example, -X.tiff will exclude tiff files from compression. " "You may use this option multiple times to build up a list of things to " "exclude. You can accomplish the same thing by using a debian/compress file, " "but this is easier." @@ -1544,7 +1831,8 @@ "el fichero debian/compress para realizarlo, pero esto es más sencillo." # type: textblock -#: dh_compress:52 +#. type: textblock +#: dh_compress:53 msgid "" "Compress all files specified by command line parameters in ALL packages " "acted on." @@ -1553,63 +1841,56 @@ "órdenesen TODOS los paquetes sobre los que se actúa." # type: textblock -#: dh_compress:57 +#. type: textblock +#: dh_compress:58 msgid "Add these files to the list of files to compress." msgstr "Añade estos ficheros a la lista de ficheros a comprimir." # type: =head1 -#: dh_compress:61 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 +#. type: =head1 +#: dh_compress:62 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 msgid "CONFORMS TO" msgstr "CONFORME A" # type: textblock -#: dh_compress:63 +#. type: textblock +#: dh_compress:64 msgid "Debian policy, version 3.0" msgstr "Normas de Debian, versión 3.0" -# type: textblock +#. type: textblock #: dh_desktop:5 -msgid "dh_desktop - Register .desktop files" -msgstr "dh_desktop - Registra ficheros .desktop" +msgid "dh_desktop - deprecated no-op" +msgstr "" # type: textblock +#. type: textblock #: dh_desktop:14 #, fuzzy msgid "B [S>]" msgstr "B [S>]" -# type: textblock +#. type: textblock #: dh_desktop:18 msgid "" -"dh_desktop is a debhelper program that registers .desktop files. Currently " -"this program does not handle installation of the files, though it may do so " -"at a later date. It takes care of adding maintainer script fragments to call " -"F." +"dh_desktop was a debhelper program that registers .desktop files. However, " +"it no longer does anything, and is now deprecated." msgstr "" -"dh_desktop es un programa de debhelper que registra ficheros .desktop. En " -"la actualidad no gestiona la instalación de los ficheros, aunque puede que " -"lo haga en un futuro. Se preocupa de añadir los fragmentos necesario para " -"llamar a F en los scripts del desarrollador." # type: textblock -#: dh_desktop:23 -msgid "" -"Note that since F currently only handles mime " -"types, as an optimisation, desktop files not containing MimeType fields will " -"currently be ignored by dh_desktop." -msgstr "" - -# type: textblock -#: dh_desktop:49 dh_scrollkeeper:78 +#. type: textblock +#: dh_desktop:29 dh_scrollkeeper:30 msgid "L" msgstr "L" # type: textblock -#: dh_desktop:55 dh_scrollkeeper:84 +#. type: textblock +#: dh_desktop:35 dh_scrollkeeper:36 msgid "Ross Burton " msgstr "Ross Burton " # type: textblock +#. type: textblock #: dh_fixperms:5 msgid "dh_fixperms - fix permissions of files in package build directories" msgstr "" @@ -1617,11 +1898,13 @@ "construcción." # type: textblock +#. type: textblock #: dh_fixperms:14 msgid "B [S>] [B<-X>I]" msgstr "B [S>] [B<-X>I]" # type: textblock +#. type: textblock #: dh_fixperms:18 msgid "" "dh_fixperms is a debhelper program that is responsible for setting the " @@ -1633,6 +1916,7 @@ "ficheros y directorios de los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_fixperms:22 #, fuzzy msgid "" @@ -1641,9 +1925,9 @@ "the permissions of all man pages to mode 644. It makes all files be owned by " "root, and it removes group and other write permission from all files. It " "removes execute permissions from any libraries, headers, perl modules, or " -"desktop files that have it set. It makes all files in bin/ directories, /usr/" -"games/ and etc/init.d executable (since v4). Finally, it removes the setuid " -"and setgid bits from all files in the package." +"desktop files that have it set. It makes all files in the standard bin and " +"sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, " +"it removes the setuid and setgid bits from all files in the package." msgstr "" "dh_fixperms hace que el modo de todos los ficheros en usr/share/doc en el " "directorio de construcción del paquete (excluyendo los ficheros en el " @@ -1655,11 +1939,13 @@ "setuid y setgid de todos los ficheros en el paquete." # type: =item +#. type: =item #: dh_fixperms:35 msgid "B<-X>I, B<--exclude> I" msgstr "B<-X>I, B<--exclude> I" # type: textblock +#. type: textblock #: dh_fixperms:37 msgid "" "Exclude files that contain \"item\" anywhere in their filename from having " @@ -1671,17 +1957,20 @@ "ficheros a excluir." # type: textblock +#. type: textblock #: dh_gconf:5 msgid "dh_gconf - generate GConf schema registration scripts" msgstr "dh_gconf - genera scripts para registrar esquemas de GConf" # type: textblock +#. type: textblock #: dh_gconf:14 #, fuzzy msgid "B [S>] [B<--priority=>]" msgstr "B [S>] [B<-p>]" # type: textblock +#. type: textblock #: dh_gconf:18 msgid "" "dh_gconf is a debhelper program that is responsible for registering GConf " @@ -1689,6 +1978,7 @@ msgstr "dh_gconf es un programa de debhelper que registra esquemas de GConf." # type: textblock +#. type: textblock #: dh_gconf:21 #, fuzzy msgid "" @@ -1702,6 +1992,7 @@ "depender de gconf2. Este programa añadirá una dependencia a ${misc:Depends}." # type: textblock +#. type: textblock #: dh_gconf:25 #, fuzzy msgid "" @@ -1715,7 +2006,22 @@ "\" reemplazado por el nombre del paquete." # type: textblock +#. type: textblock #: dh_gconf:30 +#, fuzzy +msgid "" +"If a file named debian/package.gconf-mandatory exists, then it is installed " +"into usr/share/gconf/mandatory/10_package in the package build directory, " +"with \"package\" replaced by the package name, and similar postinst and " +"postrm fragments will be generated." +msgstr "" +"Si existe un fichero llamado debian/paquete.default, se instala en etc/" +"default/paquete en el directorio de construcción del paquete, con \"paquete" +"\" reemplazado por el nombre del paquete." + +# type: textblock +#. type: textblock +#: dh_gconf:35 msgid "" "The gconf-schemas and update-gconf-defaults scripts are provided by the " "gconf2 package. An appropriate dependency will be generated in ${misc:" @@ -1723,13 +2029,15 @@ msgstr "" # type: =item -#: dh_gconf:38 +#. type: =item +#: dh_gconf:43 #, fuzzy msgid "B<--priority> I" msgstr "B<--priority=>I" # type: textblock -#: dh_gconf:40 +#. type: textblock +#: dh_gconf:45 msgid "" "Use I (which should be a 2-digit number) as the defaults priority " "instead of 10. Higher values than ten can be used by derived distributions " @@ -1737,22 +2045,26 @@ msgstr "" # type: textblock -#: dh_gconf:100 +#. type: textblock +#: dh_gconf:112 #, fuzzy msgid "Ross Burton Josselin Mouette " msgstr "Josselin Mouette " # type: textblock +#. type: textblock #: dh_gencontrol:5 msgid "dh_gencontrol - generate and install control file" msgstr "dh_gencontrol - genera e instala el fichero de control" # type: textblock +#. type: textblock #: dh_gencontrol:14 msgid "B [S>] [S I>]" msgstr "B [S>] [S I>]" # type: textblock +#. type: textblock #: dh_gencontrol:18 msgid "" "dh_gencontrol is a debhelper program that is responsible for generating " @@ -1763,6 +2075,7 @@ "control, y los instala en el directorio DEBIAN con los permisos correctos." # type: textblock +#. type: textblock #: dh_gencontrol:22 #, fuzzy msgid "" @@ -1775,27 +2088,32 @@ "opciones adicionales útiles, incluyendo \"-isp\"." # type: =item +#. type: =item #: dh_gencontrol:30 #, fuzzy msgid "B<-u>I, B<--dpkg-gencontrol-params>=I" msgstr "B<-u>I, B<--dpkg-gencontrol-params>I" # type: textblock +#. type: textblock #: dh_gencontrol:34 msgid "Pass \"params\" to L." msgstr "Pasa \"parámetros\" a L." # type: textblock +#. type: textblock #: dh_installcatalogs:5 msgid "dh_installcatalogs - install and register SGML Catalogs" msgstr "dh_installcatalogs - instala y registra catálogos SGML" # type: textblock +#. type: textblock #: dh_installcatalogs:16 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installcatalogs:20 #, fuzzy msgid "" @@ -1808,6 +2126,7 @@ "se refiere." # type: textblock +#. type: textblock #: dh_installcatalogs:23 msgid "" "The file F.sgmlcatalogs> contains the catalogs to be " @@ -1824,6 +2143,7 @@ "share/sgml/>." # type: textblock +#. type: textblock #: dh_installcatalogs:30 msgid "" "Catalogs will be registered in a supercatalog, in F." @@ -1833,6 +2153,7 @@ "I.cat>." # type: textblock +#. type: textblock #: dh_installcatalogs:33 #, fuzzy msgid "" @@ -1851,6 +2172,7 @@ "desarrollador." # type: textblock +#. type: textblock #: dh_installcatalogs:39 msgid "" "A dependency on B will be added to C<${misc:Depends}>, so be sure " @@ -1858,22 +2180,24 @@ msgstr "" # type: =item -#: dh_installcatalogs:46 dh_installdebconf:54 dh_installdocs:60 -#: dh_installemacsen:39 dh_installinfo:46 dh_installinit:37 dh_installmenu:38 -#: dh_installmime:35 dh_installmodules:47 dh_installwm:42 dh_makeshlibs:62 -#: dh_python:60 dh_scrollkeeper:36 dh_usrlocal:43 +#. type: =item +#: dh_installcatalogs:46 dh_installdebconf:54 dh_installemacsen:39 +#: dh_installinit:52 dh_installmenu:38 dh_installmime:35 dh_installmodules:47 +#: dh_installwm:42 dh_makeshlibs:62 dh_python:60 dh_usrlocal:43 msgid "B<-n>, B<--noscripts>" msgstr "B<-n>, B<--noscripts>" # type: textblock +#. type: textblock #: dh_installcatalogs:48 msgid "Do not modify F/F/F scripts." msgstr "No modifica los scripts de F/F/F." # type: textblock -#: dh_installcatalogs:54 dh_installdocs:93 dh_installemacsen:56 -#: dh_installinfo:59 dh_installinit:112 dh_installmime:43 dh_installmodules:62 -#: dh_installwm:55 dh_scrollkeeper:44 dh_usrlocal:51 +#. type: textblock +#: dh_installcatalogs:54 dh_installdocs:87 dh_installemacsen:56 +#: dh_installinit:143 dh_installmime:43 dh_installmodules:62 dh_installwm:55 +#: dh_usrlocal:51 #, fuzzy msgid "" "Note that this command is not idempotent. L should be called " @@ -1885,16 +2209,19 @@ "mantenimiento contengan partes duplicadas." # type: textblock +#. type: textblock #: dh_installcatalogs:113 msgid "F" msgstr "F" # type: textblock +#. type: textblock #: dh_installcatalogs:117 msgid "Adam Di Carlo " msgstr "Adam Di Carlo " # type: textblock +#. type: textblock #: dh_installchangelogs:5 msgid "" "dh_installchangelogs - install changelogs into package build directories" @@ -1903,13 +2230,17 @@ "construcción" # type: textblock +#. type: textblock #: dh_installchangelogs:14 #, fuzzy -msgid "B [S>] [B<-k>] [I]" +msgid "" +"B [S>] [B<-k>] [B<-X>I] " +"[I]" msgstr "" "B [>] [B<-k>] [I]" # type: textblock +#. type: textblock #: dh_installchangelogs:18 msgid "" "dh_installchangelogs is a debhelper program that is responsible for " @@ -1919,6 +2250,7 @@ "ficheros de cambios en los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installchangelogs:21 msgid "" "dh_installchangelogs determines if the package is a debian native package, " @@ -1936,6 +2268,7 @@ "changelog, se usarán preferentemente en vez de debian/changelog.)" # type: textblock +#. type: textblock #: dh_installchangelogs:28 msgid "" "Parallelling the debian changelog handling, this program also takes care of " @@ -1948,6 +2281,7 @@ "debian/paquete.NEWS." # type: textblock +#. type: textblock #: dh_installchangelogs:33 msgid "" "An upstream changelog file may be specified as an option. If none is " @@ -1956,6 +2290,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installchangelogs:37 #, fuzzy msgid "" @@ -1974,6 +2309,7 @@ "changelog." # type: textblock +#. type: textblock #: dh_installchangelogs:50 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " @@ -1991,27 +2327,50 @@ "cambios." # type: =item -#: dh_installchangelogs:56 +#. type: =item +#: dh_installchangelogs:56 dh_installdocs:58 dh_installexamples:43 +#: dh_install:69 dh_link:57 dh_movefiles:44 +msgid "B<-Xitem>, B<--exclude=item>" +msgstr "B<-Xelemento>, B<--exclude=elemento>" + +# type: textblock +#. type: textblock +#: dh_installchangelogs:58 +#, fuzzy +msgid "" +"Exclude upstream changelog files that contain \"item\" anywhere in their " +"filename from being installed." +msgstr "" +"Los ficheros que contengan \"elemento\" en alguna parte de su nombre no se " +"instalarán." + +# type: =item +#. type: =item +#: dh_installchangelogs:61 msgid "I" msgstr "I" # type: textblock -#: dh_installchangelogs:58 +#. type: textblock +#: dh_installchangelogs:63 msgid "Install this file as the upstream changelog." msgstr "" "Instala este fichero como el fichero de cambios del desarrollador principal." # type: textblock +#. type: textblock #: dh_installcron:5 msgid "dh_installcron - install cron scripts into etc/cron.*" msgstr "dh_installcron - instala scripts para cron en etc/cron.*" # type: textblock +#. type: textblock #: dh_installcron:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installcron:18 msgid "" "dh_installcron is a debhelper program that is responsible for installing " @@ -2026,12 +2385,14 @@ "cron.d." # type: =item -#: dh_installcron:28 dh_installinit:83 dh_installlogrotate:26 +#. type: =item +#: dh_installcron:28 dh_installinit:104 dh_installlogrotate:26 #: dh_installmodules:51 dh_installpam:28 dh_installppp:30 msgid "B<--name=>I" msgstr "B<--name=>I" # type: textblock +#. type: textblock #: dh_installcron:30 msgid "" "Look for files named debian/package.name.cron.* and install them as etc/cron." @@ -2043,6 +2404,7 @@ "nombre del paquete." # type: textblock +#. type: textblock #: dh_installdebconf:5 msgid "" "dh_installdebconf - install files used by debconf in package build " @@ -2052,6 +2414,7 @@ "de construcción" # type: textblock +#. type: textblock #: dh_installdebconf:14 msgid "" "B [S>] [B<-n>] [S I>]" @@ -2060,6 +2423,7 @@ "I>]" # type: textblock +#. type: textblock #: dh_installdebconf:18 msgid "" "dh_installdebconf is a debhelper program that is responsible for installing " @@ -2070,6 +2434,7 @@ "del paquete." # type: textblock +#. type: textblock #: dh_installdebconf:21 #, fuzzy msgid "" @@ -2082,6 +2447,7 @@ "acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installdebconf:26 msgid "" "Files named debian/package.config and debian/package.templates are installed " @@ -2104,6 +2470,7 @@ "scripts línea de órdenes." # type: textblock +#. type: textblock #: dh_installdebconf:35 msgid "" "Note that if you use debconf, your package probably needs to depend on it " @@ -2113,6 +2480,7 @@ "(será añadido a ${misc:Depends} por este programa)." # type: textblock +#. type: textblock #: dh_installdebconf:38 msgid "" "Note that for your config script to be called by dpkg, your postinst needs " @@ -2125,11 +2493,13 @@ "automáticamente porque es demasiado difícil hacerlo bien." # type: =head1 +#. type: =head1 #: dh_installdebconf:43 msgid "LOCALIZED TEMPLATE FILES" msgstr "FICHEROS DE PLANTILLAS TRADUCIDOS" # type: textblock +#. type: textblock #: dh_installdebconf:45 #, fuzzy msgid "" @@ -2144,27 +2514,32 @@ "antiguo L para juntarlos." # type: textblock +#. type: textblock #: dh_installdebconf:56 msgid "Do not modify postrm script." msgstr "No modifica el script de postrm." # type: textblock +#. type: textblock #: dh_installdebconf:60 #, fuzzy msgid "Pass the params to po2debconf." msgstr "Pasa \"parámetros\" a L." # type: textblock +#. type: textblock #: dh_installdeb:5 msgid "dh_installdeb - install files into the DEBIAN directory" msgstr "dh_installdeb - instala ficheros en el directorio DEBIAN" # type: textblock +#. type: textblock #: dh_installdeb:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installdeb:18 msgid "" "dh_installdeb is a debhelper program that is responsible for installing " @@ -2176,6 +2551,7 @@ "los permisos correctos." # type: verbatim +#. type: verbatim #: dh_installdeb:22 #, fuzzy, no-wrap msgid "" @@ -2201,6 +2577,7 @@ "\n" # type: textblock +#. type: textblock #: dh_installdeb:32 msgid "" "The postinst, preinst, postrm, and prerm are handled specially: If a " @@ -2222,6 +2599,7 @@ "L, y son fragmentos de scripts de shell." # type: textblock +#. type: textblock #: dh_installdeb:40 msgid "" "In V3 compatibility mode and higher, all files in the etc/ directory in a " @@ -2234,17 +2612,20 @@ "conffiles." # type: textblock +#. type: textblock #: dh_installdirs:5 msgid "dh_installdirs - create subdirectories in package build directories" msgstr "" "dh_installdirs - crea subdirectorios en los directorios de construcción" # type: textblock +#. type: textblock #: dh_installdirs:14 msgid "B [S>] [B<-A>] [S>]" msgstr "B [S>] [B<-A>] [S>]" # type: textblock +#. type: textblock #: dh_installdirs:18 msgid "" "dh_installdirs is a debhelper program that is responsible for creating " @@ -2254,6 +2635,7 @@ "subdirectorios en los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installdirs:21 #, fuzzy msgid "A file named debian/package.dirs can list directories to be created." @@ -2261,6 +2643,7 @@ "Los ficheros debian/paquete.docs pueden listar otros ficheros a instalar." # type: textblock +#. type: textblock #: dh_installdirs:23 msgid "" "Any directory names specified as parameters will be created in the package " @@ -2275,6 +2658,7 @@ "por esas opciones." # type: textblock +#. type: textblock #: dh_installdirs:34 msgid "" "Create any directories specified by command line parameters in ALL packages " @@ -2284,11 +2668,13 @@ "de órdenes en TODOS los paquetes sobre los que actúe, no sólo en el primero." # type: =item +#. type: =item #: dh_installdirs:37 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installdirs:39 msgid "" "Create these directories in the package build directory of the first package " @@ -2298,21 +2684,25 @@ "sobre el que se actúe. (O en todos los paquetes si se especifica -A)." # type: textblock +#. type: textblock #: dh_installdocs:5 msgid "dh_installdocs - install documentation into package build directories" msgstr "" "dh_installdocs - instala documentación en los directorios de construcción" # type: textblock +#. type: textblock #: dh_installdocs:14 +#, fuzzy msgid "" -"B [S>] [B<-A>] [B<-n>] [B<-X>I] " +"B [S>] [B<-A>] [B<-X>I] " "[S>]" msgstr "" "B [S>] [B<-A>] [B<-n>] [B<-" "X>I] [S>]" # type: textblock +#. type: textblock #: dh_installdocs:18 msgid "" "dh_installdocs is a debhelper program that is responsible for installing " @@ -2323,6 +2713,7 @@ "del paquete." # type: textblock +#. type: textblock #: dh_installdocs:21 msgid "" "dh_installdocs automatically installs debian/copyright if it exists. If " @@ -2338,6 +2729,7 @@ "paquete.copyright." # type: textblock +#. type: textblock #: dh_installdocs:27 msgid "" "Any filenames specified as parameters will be installed into the first " @@ -2351,6 +2743,7 @@ "B<-i>, o B<-a>, será el primer paquete especificado por estas." # type: textblock +#. type: textblock #: dh_installdocs:32 msgid "" "Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if " @@ -2370,19 +2763,20 @@ "paquete.TODO pueden usarse para especificar ficheros para subpaquetes." # type: textblock +#. type: textblock #: dh_installdocs:40 msgid "Files named debian/package.docs can list other files to be installed." msgstr "" "Los ficheros debian/paquete.docs pueden listar otros ficheros a instalar." # type: textblock +#. type: textblock #: dh_installdocs:42 +#, fuzzy msgid "" "Files named debian/package.doc-base, will be installed as doc-base control " -"files, and will make this program automatically generate the postinst and " -"prerm commands needed to interface with the doc-base package. Note that the " -"doc-id will be determined from the \"Document:\" entry in the doc-base " -"control file in question." +"files. Note that the doc-id will be determined from the \"Document:\" entry " +"in the doc-base control file in question." msgstr "" "Los ficheros debian/paquete.doc-base, se instalarán como ficheros de control " "de doc-base, y hará que el programa genere automáticamente las órdenes de " @@ -2391,7 +2785,8 @@ "control de doc-base en cuestión." # type: textblock -#: dh_installdocs:48 +#. type: textblock +#: dh_installdocs:46 msgid "" "If your package needs to register more than one document, you need multiple " "files. To accomplish this, you can use files named debian/package.doc-base.*" @@ -2400,7 +2795,8 @@ "ficheros. Para esto puede usar ficheros llamados debian/paquete.doc-base.*" # type: textblock -#: dh_installdocs:57 dh_installinfo:43 dh_installman:64 +#. type: textblock +#: dh_installdocs:55 dh_installinfo:34 dh_installman:64 msgid "" "Install all files specified by command line parameters in ALL packages acted " "on." @@ -2409,18 +2805,8 @@ "órdenes en TODOS los paquetes sobre los que actúe." # type: textblock -#: dh_installdocs:62 dh_installemacsen:41 dh_installinfo:48 -msgid "Do not modify postinst/prerm scripts." -msgstr "No modifica los scripts de postinst/prerm." - -# type: =item -#: dh_installdocs:64 dh_installexamples:43 dh_install:51 dh_link:57 -#: dh_movefiles:44 -msgid "B<-Xitem>, B<--exclude=item>" -msgstr "B<-Xelemento>, B<--exclude=elemento>" - -# type: textblock -#: dh_installdocs:66 +#. type: textblock +#: dh_installdocs:60 #, fuzzy msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -2430,7 +2816,8 @@ "de ser listados en el fichero md5sums." # type: textblock -#: dh_installdocs:71 +#. type: textblock +#: dh_installdocs:65 msgid "" "Install these files as documentation into the first package acted on. (Or in " "all packages if B<-A> is specified)." @@ -2439,18 +2826,21 @@ "actúe. (O en todos si se especifica B<-A>)." # type: =head1 -#: dh_installdocs:76 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 +#. type: =head1 +#: dh_installdocs:70 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 msgid "EXAMPLES" msgstr "EJEMPLOS" # type: textblock -#: dh_installdocs:78 +#. type: textblock +#: dh_installdocs:72 msgid "This is an example of a debian/package.docs file:" msgstr "" "A continuación se muestra un ejemplo de un fichero debian/paquete.docs:" # type: verbatim -#: dh_installdocs:80 +#. type: verbatim +#: dh_installdocs:74 #, no-wrap msgid "" " README\n" @@ -2470,7 +2860,8 @@ "\n" # type: textblock -#: dh_installdocs:89 +#. type: textblock +#: dh_installdocs:83 msgid "" "Note that dh_installdocs will happily copy entire directory hierarchies if " "you ask it to (similar to cp -a). If it is asked to install a directory, it " @@ -2481,11 +2872,13 @@ "un directorio instalará todos sus contenidos." # type: textblock +#. type: textblock #: dh_installemacsen:5 msgid "dh_installemacsen - register an emacs add on package" msgstr "dh_installemacsen - registra un paquete añadido para emacs" # type: textblock +#. type: textblock #: dh_installemacsen:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " @@ -2495,6 +2888,7 @@ "[B<--flavor=>I]" # type: textblock +#. type: textblock #: dh_installemacsen:18 msgid "" "dh_installemacsen is a debhelper program that is responsible for installing " @@ -2506,6 +2900,7 @@ "de construcción del paquete." # type: textblock +#. type: textblock #: dh_installemacsen:22 #, fuzzy msgid "" @@ -2519,6 +2914,7 @@ "> para una explicación acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installemacsen:27 msgid "" "If a file named debian/package.emacsen-install exists, then it is installed " @@ -2535,12 +2931,20 @@ "paquete.emacsen-startup se instala en etc/emacs/site-start.d/50.el " "(por omisión)." +# type: textblock +#. type: textblock +#: dh_installemacsen:41 +msgid "Do not modify postinst/prerm scripts." +msgstr "No modifica los scripts de postinst/prerm." + # type: =item +#. type: =item #: dh_installemacsen:43 dh_installwm:36 msgid "B<--priority=>I" msgstr "B<--priority=>I" # type: textblock +#. type: textblock #: dh_installemacsen:45 msgid "Sets the priority number of a site-start.d file. Default is 50." msgstr "" @@ -2548,11 +2952,13 @@ "predeterminado." # type: =item +#. type: =item #: dh_installemacsen:47 msgid "B<--flavor=>I" msgstr "B<--flavor=>I" # type: textblock +#. type: textblock #: dh_installemacsen:49 msgid "" "Sets the flavor a site-start.d file will be installed in. Default is \"emacs" @@ -2562,6 +2968,7 @@ "omisión es \"emacs\", las alternativas son \"xemacs\" y \"emacs20\"." # type: textblock +#. type: textblock #: dh_installexamples:5 msgid "" "dh_installexamples - install example files into package build directories" @@ -2570,6 +2977,7 @@ "construcción" # type: textblock +#. type: textblock #: dh_installexamples:14 msgid "" "B [S>] [B<-A>] [B<-X>I] " @@ -2579,6 +2987,7 @@ "[S>]" # type: textblock +#. type: textblock #: dh_installexamples:18 msgid "" "dh_installexamples is a debhelper program that is responsible for installing " @@ -2589,6 +2998,7 @@ "construcción del paquete." # type: textblock +#. type: textblock #: dh_installexamples:22 msgid "" "Any file names specified as parameters will be installed into the first " @@ -2602,6 +3012,7 @@ "B<-p>, B<-i>, o B<-a>, será el primer paquete especificado por estas." # type: textblock +#. type: textblock #: dh_installexamples:27 msgid "" "Files named debian/package.examples can list other files to be installed." @@ -2609,6 +3020,7 @@ "Los ficheros debian/paquete.examples pueden listar otros ficheros a instalar." # type: textblock +#. type: textblock #: dh_installexamples:35 msgid "" "Install any files specified by command line parameters in ALL packages acted " @@ -2618,6 +3030,7 @@ "órdenes en TODOS los paquetes sobre los que actúe." # type: textblock +#. type: textblock #: dh_installexamples:40 msgid "" "Install these files as examples into the first package acted on. (Or into " @@ -2627,7 +3040,8 @@ "actúe. (O en todos si se especifica B<-A>)." # type: textblock -#: dh_installexamples:45 dh_install:53 dh_movefiles:46 +#. type: textblock +#: dh_installexamples:45 dh_install:71 dh_movefiles:46 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "installed." @@ -2636,6 +3050,7 @@ "instalarán." # type: textblock +#. type: textblock #: dh_installexamples:52 msgid "" "Note that dh_installexamples will happily copy entire directory hierarchies " @@ -2647,41 +3062,35 @@ "un directorio instalará todos sus contenidos." # type: textblock +#. type: textblock #: dh_installinfo:5 -msgid "dh_installinfo - install and register info files" +#, fuzzy +msgid "dh_installinfo - install info files" msgstr "dh_installinfo - instala y registra ficheros info" # type: textblock +#. type: textblock #: dh_installinfo:14 -msgid "" -"B [S>] [B<-A>] [B<-n>] [S>]" +#, fuzzy +msgid "B [S>] [B<-A>] [S>]" msgstr "" "B [S>] [B<-A>] [B<-n>] [S>]" # type: textblock +#. type: textblock #: dh_installinfo:18 +#, fuzzy msgid "" "dh_installinfo is a debhelper program that is responsible for installing " -"info files and registering the files it installs with install-info." +"info files into usr/share/info in the package build directory." msgstr "" -"dh_installinfo es un programa de debhelper responsable de instalar los " -"ficheros info y de registrar los ficheros que instala con install-info." +"dh_installmime es un programa de debhelper responsable de instalar ficheros " +"mime en los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installinfo:21 -#, fuzzy -msgid "" -"Note that install-info determines some information about the info files by " -"parsing them, in particular, it looks at the INFO-DIR-SECTION line to " -"determine what section the info file belongs in." -msgstr "" -"Determina alguna información de los ficheros info analizándolos, en " -"particular, busca la línea INFO-DIR-SECTION para determina a que sección " -"pertenece el fichero info." - -# type: textblock -#: dh_installinfo:25 msgid "" "Any filenames specified as parameters will be installed into the first " "package dh_installinfo is told to act on. By default, this is the first " @@ -2694,27 +3103,16 @@ "será el primer paquete listado en esas opciones." # type: textblock -#: dh_installinfo:30 +#. type: textblock +#: dh_installinfo:26 msgid "Files named debian/package.info can list other files to be installed." msgstr "" "Ficheros llamados debian/paquete.info pueden listar otros ficheros a " "instalar." # type: textblock -#: dh_installinfo:32 -#, fuzzy -msgid "" -"dh_installinfo will automatically generate the postinst and prerm commands " -"needed to interface with install-info, updating the info dir. These commands " -"are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of how this works." -msgstr "" -"dh_installinfo generará automáticamente las órdenes de postinst y prerm " -"necesarios para interaccionar con install-info, actualizando el info . Lea " -"L para una explicación acerca de como funciona esto." - -# type: textblock -#: dh_installinfo:52 +#. type: textblock +#: dh_installinfo:39 msgid "" "Install these info files into the first package acted on. (Or in all " "packages if -A is specified)." @@ -2723,33 +3121,43 @@ "todos los paquete si se especifica -A)." # type: textblock +#. type: textblock #: dh_installinit:5 -msgid "dh_installinit - install init scripts into package build directories" +#, fuzzy +msgid "" +"dh_installinit - install upstart jobs or init scripts into package build " +"directories" msgstr "" "dh_installinit - instala scripts de init en los directorios de construcción" # type: textblock +#. type: textblock #: dh_installinit:14 #, fuzzy msgid "" "B [S>] [B<--name=>I] [B<-n>] [B<-" -"R>] [B<-r>] [B<-d>] [S I>]" +"R>] [B<-r>] [B<-d>] [B<-O>] [S I>]" msgstr "" "B [S>] [B<--name=>I] [B<-n>] " "[B<-r>] [B<-d>] [S I>]" # type: textblock +#. type: textblock #: dh_installinit:18 +#, fuzzy msgid "" "dh_installinit is a debhelper program that is responsible for installing " -"init scripts and associated defaults files into package build directories." +"upstart job files or init scripts with associated defaults files into " +"package build directories, and in the former case providing compatibility " +"handling for non-upstart systems." msgstr "" "dh_installinit es un programa de debhelper responsable de instalar scripts " "de init y asociar los ficheros predeterminados en los directorios de " "construcción del paquete." # type: textblock -#: dh_installinit:21 +#. type: textblock +#: dh_installinit:23 msgid "" "It also automatically generates the postinst and postrm and prerm commands " "needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init " @@ -2759,56 +3167,100 @@ "crear los enlaces simbólicos en /etc/rc*.d/ y arrancar y parar los scripts " "de init." +#. type: =head1 +#: dh_installinit:27 +msgid "FILES" +msgstr "" + +#. type: =item +#: dh_installinit:31 +msgid "debian/I.upstart" +msgstr "" + # type: textblock -#: dh_installinit:25 +#. type: textblock +#: dh_installinit:33 +#, fuzzy msgid "" -"If a file named debian/package.init exists, then it is installed into etc/" -"init.d/package in the package build directory, with \"package\" replaced by " -"the package name." +"If this exists, it is installed into etc/init/I.conf in the package " +"build directory." +msgstr "" +"Si existe un fichero llamado debian/package.pam, se instala en etc/pam.d/" +"paquete en el directorio de construcción del paquete." + +#. type: =item +#: dh_installinit:36 +msgid "debian/I.init" msgstr "" -"Si existe un fichero debian/paquete.init, se instala en etc/init.d/paquete " -"en el directorio de construcción del paquete, con \"paquete\" reemplazado " -"por el nombre del paquete." # type: textblock -#: dh_installinit:29 +#. type: textblock +#: dh_installinit:38 +#, fuzzy msgid "" -"If a file named debian/package.default exists, then it is installed into etc/" -"default/package in the package build directory, with \"package\" replaced by " -"the package name." +"Otherwise, if this exists, it is installed into etc/init.d/I in the " +"package build directory." msgstr "" -"Si existe un fichero llamado debian/paquete.default, se instala en etc/" -"default/paquete en el directorio de construcción del paquete, con \"paquete" -"\" reemplazado por el nombre del paquete." +"Si existe un fichero llamado debian/package.pam, se instala en etc/pam.d/" +"paquete en el directorio de construcción del paquete." + +#. type: =item +#: dh_installinit:41 +msgid "debian/I.default" +msgstr "" + +# type: textblock +#. type: textblock +#: dh_installinit:43 +#, fuzzy +msgid "" +"If this exists, it is installed into etc/default/I in the package " +"build directory." +msgstr "" +"Si existe un fichero llamado debian/package.pam, se instala en etc/pam.d/" +"paquete en el directorio de construcción del paquete." # type: textblock -#: dh_installinit:39 +#. type: textblock +#: dh_installinit:54 msgid "Do not modify postinst/postrm/prerm scripts." msgstr "No modifica los scripts de postinst/postrm/prerm." # type: =item -#: dh_installinit:41 +#. type: =item +#: dh_installinit:56 #, fuzzy msgid "B<-o>, B<--onlyscripts>" msgstr "B<-n>, B<--noscripts>" -# type: textblock -#: dh_installinit:43 +#. type: textblock +#: dh_installinit:58 msgid "" "Only modify postinst/postrm/prerm scripts, do not actually install any init " -"script or default files. May be useful if the init script is shipped and/or " -"installed by upstream in a way that doesn't make it easy to let " -"dh_installinit find it." +"script, default files, or upstart job. May be useful if the init script or " +"upstart job is shipped and/or installed by upstream in a way that doesn't " +"make it easy to let dh_installinit find it." +msgstr "" + +#. type: textblock +#: dh_installinit:63 +msgid "" +"If no upstart job file is installed in the target directory when " +"dh_installinit --onlyscripts is called, this program will assume that an " +"init script is being installed and not provide the compatibility symlinks or " +"upstart dependencies." msgstr "" # type: =item -#: dh_installinit:48 +#. type: =item +#: dh_installinit:68 #, fuzzy msgid "B<-R>, B<--restart-after-upgrade>" msgstr "B<-r>, B<--no-restart-on-upgrade>" # type: textblock -#: dh_installinit:50 +#. type: textblock +#: dh_installinit:70 msgid "" "Do not stop the init script until after the package upgrade has been " "completed. This is different than the default behavior, which stops the " @@ -2816,7 +3268,8 @@ msgstr "" # type: textblock -#: dh_installinit:54 +#. type: textblock +#: dh_installinit:74 msgid "" "This can be useful for daemons that should not have a possibly long downtime " "during upgrade. But you should make sure that the daemon will not get " @@ -2825,23 +3278,27 @@ msgstr "" # type: =item -#: dh_installinit:59 +#. type: =item +#: dh_installinit:79 msgid "B<-r>, B<--no-restart-on-upgrade>" msgstr "B<-r>, B<--no-restart-on-upgrade>" # type: textblock -#: dh_installinit:61 +#. type: textblock +#: dh_installinit:81 #, fuzzy msgid "Do not stop init script on upgrade." msgstr "No reinicia el script de init después de una actualización." # type: =item -#: dh_installinit:63 +#. type: =item +#: dh_installinit:83 msgid "B<--no-start>" msgstr "B<--no-start>" # type: textblock -#: dh_installinit:65 +#. type: textblock +#: dh_installinit:85 msgid "" "Do not start the init script on install or upgrade, or stop it on removal. " "Only call update-rc.d. Useful for rcS scripts." @@ -2850,18 +3307,22 @@ "cuando se desinstale. Sólo llama a update-rc.d. Útil para scripts de rcS." # type: =item -#: dh_installinit:68 +#. type: =item +#: dh_installinit:88 msgid "B<-d>, B<--remove-d>" msgstr "B<-d>, B<--remove-d>" # type: textblock -#: dh_installinit:70 +#. type: textblock +#: dh_installinit:90 +#, fuzzy msgid "" "Remove trailing \"d\" from the name of the package, and use the result for " -"the filename the init script is installed as in etc/init.d/ , and the " -"default file is installed as in etc/default/ . This may be useful for " -"daemons with names ending in \"d\". (Note: this takes precedence over the --" -"init-script parameter described below.)" +"the filename the upstart job file is installed as in etc/init/ , or for the " +"filename the init script is installed as in etc/init.d and the default file " +"is installed as in etc/default/ . This may be useful for daemons with names " +"ending in \"d\". (Note: this takes precedence over the --init-script " +"parameter described below.)" msgstr "" "Elimina la \"d\" final del nombre del paquete, y usa el resultado del nombre " "para el script de init instalado en etc/init.d/ , y el fichero " @@ -2870,12 +3331,14 @@ "preferencia sobre --init-script)." # type: =item -#: dh_installinit:76 +#. type: =item +#: dh_installinit:97 msgid "B<-u>I B<--update-rcd-params=>I" msgstr "B<-u>I B<--update-rcd-params=>I" # type: textblock -#: dh_installinit:80 +#. type: textblock +#: dh_installinit:101 msgid "" "Pass \"params\" to L. If not specified, \"defaults\" will be " "passed to L." @@ -2884,13 +3347,16 @@ "\"defaults\" a L." # type: textblock -#: dh_installinit:85 +#. type: textblock +#: dh_installinit:106 +#, fuzzy msgid "" -"Install the init script (and default file) using the filename I " -"instead of the default filename, which is the package name. When this " -"parameter is used, dh_installinit looks for and installs files named debian/" -"package.name.init and debian/package.name.default, instead of the usual " -"debian/package.init and debian/package.default." +"Install the upstart job file or the init script (and default file) using the " +"filename I instead of the default filename, which is the package " +"name. When this parameter is used, dh_installinit looks for and installs " +"files named debian/package.name.upstart, debian/package.name.init and debian/" +"package.name.default, instead of the usual debian/package.upstart, debian/" +"package.init and debian/package.default." msgstr "" "Instala el script de init (y el fichero default) usando el nombre I " "en vez del nombre predeterminado, que es el nombre del paquete. Cuando se " @@ -2899,12 +3365,14 @@ "debian/paquete.init y debian/paquete.default, y los instala." # type: =item -#: dh_installinit:91 +#. type: =item +#: dh_installinit:113 msgid "B<--init-script=>I" msgstr "B<--init-script=>I" # type: textblock -#: dh_installinit:93 +#. type: textblock +#: dh_installinit:115 msgid "" "Use \"scriptname\" as the filename the init script is installed as in etc/" "init.d/ (and also use it as the filename for the defaults file, if it is " @@ -2921,17 +3389,46 @@ "que instala normalmente." # type: textblock -#: dh_installinit:100 -msgid "This parameter is deprecated, use the --name parameter instead." +#. type: textblock +#: dh_installinit:122 +#, fuzzy +msgid "" +"This parameter is deprecated, use the --name parameter instead. This " +"parameter will be ignored completely for upstart jobs." msgstr "Se desaconseja el uso de esta opción, use --name en su lugar." # type: =item -#: dh_installinit:102 +#. type: =item +#: dh_installinit:125 +#, fuzzy +msgid "B<--upstart-only>" +msgstr "B<--no-start>" + +# type: textblock +#. type: textblock +#: dh_installinit:127 +msgid "" +"Only install an upstart job file, and do not include maintainer script code " +"to replace an init script with that upstart job." +msgstr "" + +# type: textblock +#. type: textblock +#: dh_installinit:130 +msgid "" +"This parameter is intended for use when the \"package.upstart\" file is new " +"and only to be used on Upstart-based systems." +msgstr "" + +# type: =item +#. type: =item +#: dh_installinit:133 msgid "B<--error-handler=>I" msgstr "B<--error-handler=>I" # type: textblock -#: dh_installinit:104 +#. type: textblock +#: dh_installinit:135 msgid "" "Call the named shell function if running the init script fails. The function " "should be provided in the prerm and postinst scripts, before the #DEBHELPER# " @@ -2941,7 +3438,23 @@ "La función debe proporcionarse en los scripts prerm y postinst, antes del " "símbolo #DEBHELPER#." +# type: =head1 +#. type: =head1 +#: dh_installinit:326 +#, fuzzy +msgid "AUTHORS" +msgstr "AUTOR" + # type: textblock +#. type: textblock +#: dh_installinit:328 +msgid "" +"Joey Hess Steve Langasek " +"Scott James Remnant " +msgstr "" + +# type: textblock +#. type: textblock #: dh_installlogcheck:5 msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/" msgstr "" @@ -2949,11 +3462,13 @@ "logcheck/" # type: textblock +#. type: textblock #: dh_installlogcheck:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installlogcheck:18 #, fuzzy msgid "" @@ -2973,6 +3488,7 @@ "instalan si están presentes." # type: verbatim +#. type: verbatim #: dh_installlogcheck:55 #, no-wrap msgid "" @@ -2983,22 +3499,26 @@ " \n" # type: textblock +#. type: textblock #: dh_installlogcheck:59 msgid "Jon Middleton " msgstr "Jon Middleton " # type: textblock +#. type: textblock #: dh_installlogrotate:5 msgid "dh_installlogrotate - install logrotate config files" msgstr "dh_installlogrotate - instala ficheros de configuración de logrotate" # type: textblock +#. type: textblock #: dh_installlogrotate:14 msgid "B [S>] [B<--name=>I]" msgstr "" "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installlogrotate:18 msgid "" "dh_installlogrotate is a debhelper program that is responsible for " @@ -3011,6 +3531,7 @@ "paquete.logrotate." # type: textblock +#. type: textblock #: dh_installlogrotate:28 msgid "" "Look for files named debian/package.name.logrotate and install them as etc/" @@ -3022,16 +3543,19 @@ "instalarlos con el nombre del paquete." # type: textblock +#. type: textblock #: dh_installmanpages:5 msgid "dh_installmanpages - old-style man page installer" msgstr "dh_installmanpages - instalador al viejo estilo de páginas del manual" # type: textblock +#. type: textblock #: dh_installmanpages:15 msgid "B [S>] [S>]" msgstr "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_installmanpages:19 msgid "" "dh_installmanpages is a debhelper program that is responsible for " @@ -3043,6 +3567,7 @@ "los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installmanpages:23 msgid "" "This is a DWIM-style program, with an interface unlike the rest of " @@ -3055,6 +3580,7 @@ "uso de L." # type: textblock +#. type: textblock #: dh_installmanpages:27 msgid "" "dh_installmanpages scans the current directory and all subdirectories for " @@ -3071,6 +3597,7 @@ "instala en los directorios correctos." # type: textblock +#. type: textblock #: dh_installmanpages:33 msgid "" "All filenames specified as parameters will be skipped by " @@ -3082,6 +3609,7 @@ "manual que no quiere instalar." # type: textblock +#. type: textblock #: dh_installmanpages:37 msgid "" "After the man page installation step, dh_installmanpages will check to see " @@ -3095,6 +3623,7 @@ "simbólicos." # type: textblock +#. type: textblock #: dh_installmanpages:46 msgid "" "Do not install these files as man pages, even if they look like valid man " @@ -3104,11 +3633,13 @@ "páginas del manual válidas." # type: =head1 +#. type: =head1 #: dh_installmanpages:51 msgid "BUGS" msgstr "FALLOS" # type: textblock +#. type: textblock #: dh_installmanpages:53 msgid "" "dh_installmanpages will install the man pages it finds into B packages " @@ -3123,11 +3654,13 @@ "lugar)." # type: textblock +#. type: textblock #: dh_installmanpages:58 msgid "Files ending in I<.man> will be ignored." msgstr "Se ignorarán ficheros que terminen con I<.man>." # type: textblock +#. type: textblock #: dh_installmanpages:60 msgid "" "Files specified as parameters that contain spaces in their filenames will " @@ -3137,17 +3670,20 @@ "so se procesarán correctamente." # type: textblock +#. type: textblock #: dh_installman:5 msgid "dh_installman - install man pages into package build directories" msgstr "" "dh_installman - instala páginas de manual en los directorios de construcción" # type: textblock +#. type: textblock #: dh_installman:15 msgid "B [S>] [S>]" msgstr "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_installman:19 msgid "" "dh_installman is a debhelper program that handles installing man pages into " @@ -3171,6 +3707,7 @@ "o falta, probablemente lo adivine mal basándose en la extensión." # type: textblock +#. type: textblock #: dh_installman:29 #, fuzzy msgid "" @@ -3181,6 +3718,7 @@ "ll.8 y .ll_LL.8" # type: textblock +#. type: textblock #: dh_installman:32 #, fuzzy msgid "" @@ -3205,6 +3743,7 @@ "ese tipo." # type: textblock +#. type: textblock #: dh_installman:41 msgid "" "Any man page filenames specified as parameters will be installed into the " @@ -3218,6 +3757,7 @@ "-a, será el primer paquete especificado por estas opciones." # type: textblock +#. type: textblock #: dh_installman:46 msgid "" "Files named debian/package.manpages can list other man pages to be installed." @@ -3226,6 +3766,7 @@ "manual a instalar." # type: textblock +#. type: textblock #: dh_installman:49 msgid "" "After the man page installation step, dh_installman will check to see if any " @@ -3238,6 +3779,7 @@ "\".so\". Si es así, los cambia por enlaces simbólicos." # type: textblock +#. type: textblock #: dh_installman:53 msgid "" "Also, dh_installman will use man to guess the character encoding of each " @@ -3247,11 +3789,13 @@ msgstr "" # type: =item +#. type: =item #: dh_installman:67 msgid "B<--language>=ll" msgstr "" # type: textblock +#. type: textblock #: dh_installman:69 msgid "" "Use this to specify that the man pages being acted on are written in the " @@ -3259,11 +3803,13 @@ msgstr "" # type: =item +#. type: =item #: dh_installman:72 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installman:74 msgid "" "Install these man pages into the first package acted on. (Or in all packages " @@ -3273,6 +3819,7 @@ "en todos si se a especificado -A)." # type: textblock +#. type: textblock #: dh_installman:81 msgid "" "An older version of this program, L, is still used by " @@ -3286,6 +3833,7 @@ "intuitivo e inconsistente. Use este programa en su lugar." # type: textblock +#. type: textblock #: dh_installmenu:5 msgid "" "dh_installmenu - install debian menu files into package build directories" @@ -3294,11 +3842,13 @@ "construcción" # type: textblock +#. type: textblock #: dh_installmenu:14 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installmenu:18 msgid "" "dh_installmenu is a debhelper program that is responsible for installing " @@ -3309,6 +3859,7 @@ "paquete." # type: textblock +#. type: textblock #: dh_installmenu:21 #, fuzzy msgid "" @@ -3317,11 +3868,12 @@ "maintainer scripts by dh_installdeb. See L for an " "explanation of how this works." msgstr "" -"Además genera automáticamente las ordenes de postinst y postrm necesarias " -"para interaccionar con el paquete menu de Debian. Lea L " -"para una explicación acerca de como funciona esto." +"Además genera automáticamente las órdenes de postinst y postrm necesarias " +"para interactuar con los paquetes mime-support y shared-mime-info. Lea " +"L para una explicación acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installmenu:26 msgid "" "If a file named debian/package.menu exists, then it is installed into usr/" @@ -3333,6 +3885,7 @@ "Debian. Lea L para detalles acerca del formato." # type: textblock +#. type: textblock #: dh_installmenu:30 msgid "" "If a file named debian/package.menu-method exits, then it is installed into " @@ -3344,28 +3897,33 @@ "un fichero de método de menú de Debian." # type: textblock +#. type: textblock #: dh_installmenu:40 dh_installmime:37 dh_installmodules:49 dh_makeshlibs:64 #: dh_python:62 msgid "Do not modify postinst/postrm scripts." msgstr "No modifica los scripts postinst/postrm." # type: textblock +#. type: textblock #: dh_installmenu:82 msgid "L L L" msgstr "L L L" # type: textblock +#. type: textblock #: dh_installmime:5 msgid "dh_installmime - install mime files into package build directories" msgstr "" "dh_installmime - instala ficheros mime en los directorios de construcción" # type: textblock +#. type: textblock #: dh_installmime:14 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installmime:18 msgid "" "dh_installmime is a debhelper program that is responsible for installing " @@ -3375,6 +3933,7 @@ "mime en los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installmime:21 #, fuzzy msgid "" @@ -3388,6 +3947,7 @@ "L para una explicación acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installmime:26 msgid "" "If files named debian/package.mime or debian/package.sharedmimeinfo exist, " @@ -3400,11 +3960,13 @@ "del paquete." # type: textblock +#. type: textblock #: dh_installmodules:5 msgid "dh_installmodules - register modules with modutils" msgstr "dh_installmodules - registra módulos con modutils" # type: textblock +#. type: textblock #: dh_installmodules:16 msgid "" "B [S>] [B<-n>] [B<--name=>I]" @@ -3412,6 +3974,7 @@ "B [S>] [B<-n>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installmodules:20 #, fuzzy msgid "" @@ -3422,6 +3985,7 @@ "módulos del núcleo con modutils." # type: textblock +#. type: textblock #: dh_installmodules:23 #, fuzzy msgid "" @@ -3436,6 +4000,7 @@ "usará la versión module-init-tools de modprobe." # type: textblock +#. type: textblock #: dh_installmodules:27 #, fuzzy msgid "" @@ -3450,6 +4015,7 @@ "para una explicación acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installmodules:33 msgid "" "Previous versions of dh_installmodules installed files named etc/modprobe.d/" @@ -3458,6 +4024,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installmodules:37 msgid "" "Previous versions of dh_installmodules also supported files named debian/" @@ -3467,6 +4034,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installmodules:53 #, fuzzy msgid "" @@ -3479,17 +4047,20 @@ "debian/paquete.nombre.modules en vez del usual debian/paquete.modules." # type: textblock +#. type: textblock #: dh_installpam:5 msgid "dh_installpam - install pam support files" msgstr "dh_installpam - instala ficheros de soporte para pam" # type: textblock +#. type: textblock #: dh_installpam:14 msgid "B [S>] [B<--name=>I]" msgstr "" "B [S>] [B<-n>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installpam:18 msgid "" "dh_installpam is a debhelper program that is responsible for installing " @@ -3499,6 +4070,7 @@ "usados por PAM en los directorios de construcción del paquete." # type: textblock +#. type: textblock #: dh_installpam:21 msgid "" "If a file named debian/package.pam exists, then it is installed into etc/pam." @@ -3508,6 +4080,7 @@ "paquete en el directorio de construcción del paquete." # type: textblock +#. type: textblock #: dh_installpam:30 msgid "" "Look for files named debian/package.name.pam and install them as etc/pam.d/" @@ -3519,12 +4092,14 @@ "nombre del paquete." # type: textblock +#. type: textblock #: dh_install:5 msgid "dh_install - install files into package build directories" msgstr "" "dh_install - instala ficheros en los directorios de construcción del paquete" # type: textblock +#. type: textblock #: dh_install:15 msgid "" "B [B<-X>I] [B<--autodest>] [B<--sourcedir=>I] " @@ -3534,6 +4109,7 @@ "[S>] [S>]" # type: textblock +#. type: textblock #: dh_install:19 msgid "" "dh_install is a debhelper program that handles installing files into package " @@ -3553,6 +4129,7 @@ "ninguna habilidad especial. Es un reemplazo de la antigua orden dh_movefiles." # type: textblock +#. type: textblock #: dh_install:27 msgid "" "Files named debian/package.install list the files to install into each " @@ -3574,6 +4151,7 @@ "ficheros a instalar (en modo v3 o superior)." # type: textblock +#. type: textblock #: dh_install:36 msgid "" "This program may be used in one of two ways. If you just have a file or two " @@ -3592,67 +4170,23 @@ "los directorios de construcción del paquete correctos." # type: textblock +#. type: textblock #: dh_install:43 msgid "" "From debhelper compatibility level 7 on, dh_install will fall back to " "looking in debian/tmp for files, if it doesn't find them in the current " -"directory (or whereever you've told it to look using --srcdir)." +"directory (or whereever you've told it to look using --sourcedir)." msgstr "" # type: =item -#: dh_install:56 -msgid "B<--autodest>" -msgstr "B<--autodest>" - -# type: textblock -#: dh_install:58 -msgid "" -"Guess as the destination directory to install things to. If this is " -"specified, you should not list destination directories in debian/package." -"install files or on the command line. Instead, dh_install will guess as " -"follows:" -msgstr "" -"Adivina el directorio donde instalar las cosas. Si se especifica no se deben " -"listar los directorios de destino en los ficheros debian/paquete.install o " -"en la línea de órdenes. En vez de esto, dh_install lo adivinará del " -"siguiente modo:" - -# type: textblock -#: dh_install:63 -msgid "" -"Strip off debian/tmp (or the sourcedir if one is given) from the front of " -"the filename, if it is present, and install into the dirname of the " -"filename. So if the filename is debian/tmp/usr/bin, then that directory will " -"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " -"it will be copied to debian/package/etc/." -msgstr "" -"Si está presente elimina debian/tmp (o el \"sourcedir\", si se proporciona) " -"del principio del nombre del fichero, y después lo instala en el directorio " -"que forma parte del nombre del fichero. Esto es, si el nombre del fichero es " -"debian/tmp/usr/bin, el directorio se copiará a debian/paquete/usr/. Si el " -"nombre del fichero es debian/tmp/etc/passwd, se copiará a debian/paquete/" -"etc/." - -# type: textblock -#: dh_install:69 -msgid "" -"Note that if you list exactly one filename or wildcard-pattern on a line by " -"itself in a debian/package.install file, with no explicit destination, then " -"dh_install will automatically guess the destination even if this flag is not " -"set." -msgstr "" -"Dese cuenta que si lista exactamente un nombre o patrón de comodines en una " -"línea en el fichero debian/paquete.install, sin ningún destino explícito, " -"entonces dh_install adivinará automáticamente el destino, incluso si no se " -"ha usado esta opción." - -# type: =item -#: dh_install:74 +#. type: =item +#: dh_install:51 msgid "B<--list-missing>" msgstr "B<--list-missing>" # type: textblock -#: dh_install:76 +#. type: textblock +#: dh_install:53 msgid "" "This option makes dh_install keep track of the files it installs, and then " "at the end, compare that list with the files in the source directory. If any " @@ -3666,7 +4200,8 @@ "estándar." # type: textblock -#: dh_install:81 +#. type: textblock +#: dh_install:58 msgid "" "This may be useful if you have a large package and want to make sure that " "you don't miss installing newly added files in new upstream releases." @@ -3676,7 +4211,8 @@ "programa." # type: textblock -#: dh_install:84 +#. type: textblock +#: dh_install:61 msgid "" "Note that files that are excluded from being moved via the -X option are not " "warned about." @@ -3685,12 +4221,14 @@ "X." # type: =item -#: dh_install:87 +#. type: =item +#: dh_install:64 msgid "B<--fail-missing>" msgstr "B<--fail-missing>" # type: textblock -#: dh_install:89 +#. type: textblock +#: dh_install:66 msgid "" "This option is like --list-missing, except if a file was missed, it will not " "only list the missing files, but also fail with a nonzero exit code." @@ -3700,39 +4238,85 @@ "código de salida distinto de cero." # type: =item -#: dh_install:92 +#. type: =item +#: dh_install:74 msgid "B<--sourcedir=dir>" msgstr "B<--sourcedir=dir>" +#. type: textblock +#: dh_install:76 +msgid "Look in the specified directory for files to be installed." +msgstr "" + +#. type: textblock +#: dh_install:78 +msgid "" +"Note that this is not the same as the --sourcedirectory option used by the " +"dh_auto_* commands. You rarely need to use this option, since dh_install " +"automatically looks for files in debian/tmp in debhelper compatibility level " +"7 and above." +msgstr "" + +# type: =item +#. type: =item +#: dh_install:83 +msgid "B<--autodest>" +msgstr "B<--autodest>" + +# type: textblock +#. type: textblock +#: dh_install:85 +msgid "" +"Guess as the destination directory to install things to. If this is " +"specified, you should not list destination directories in debian/package." +"install files or on the command line. Instead, dh_install will guess as " +"follows:" +msgstr "" +"Adivina el directorio donde instalar las cosas. Si se especifica no se deben " +"listar los directorios de destino en los ficheros debian/paquete.install o " +"en la línea de órdenes. En vez de esto, dh_install lo adivinará del " +"siguiente modo:" + # type: textblock -#: dh_install:94 +#. type: textblock +#: dh_install:90 msgid "" -"Makes all source files be found under dir. If this is specified, it is akin " -"to all the source filenames having \"dir/\" prepended to them." +"Strip off debian/tmp (or the sourcedir if one is given) from the front of " +"the filename, if it is present, and install into the dirname of the " +"filename. So if the filename is debian/tmp/usr/bin, then that directory will " +"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " +"it will be copied to debian/package/etc/." msgstr "" -"Hace que todos los ficheros fuente se encuentren bajo dir. Si se especifica, " -"es parecido a anteponer \"dir/\" a todos los nombres de los ficheros fuente." +"Si está presente elimina debian/tmp (o el \"sourcedir\", si se proporciona) " +"del principio del nombre del fichero, y después lo instala en el directorio " +"que forma parte del nombre del fichero. Esto es, si el nombre del fichero es " +"debian/tmp/usr/bin, el directorio se copiará a debian/paquete/usr/. Si el " +"nombre del fichero es debian/tmp/etc/passwd, se copiará a debian/paquete/" +"etc/." # type: textblock -#: dh_install:97 +#. type: textblock +#: dh_install:96 msgid "" -"To make dh_install behave like the old dh_movefiles, move your package.files " -"file to package.install and call dh_install with \"--sourcedir=debian/tmp\" " -"appended to the command. This will approximate dh_movefiles behaviour, " -"except it will copy files instead of moving them." +"Note that if you list exactly one filename or wildcard-pattern on a line by " +"itself in a debian/package.install file, with no explicit destination, then " +"dh_install will automatically guess the destination even if this flag is not " +"set." msgstr "" -"Para que dh_install se comporte similar al viejo dh_movefiles, mueva su " -"fichero paquete.files a paquete.install y llame a dh_install con \"--" -"sourcedir=debian/tmp\" añadido a la orden. Esto aproximará el comportamiento " -"de dh_movefiles, excepto en que copiará los ficheros en vez de moverlos." +"Dese cuenta que si lista exactamente un nombre o patrón de comodines en una " +"línea en el fichero debian/paquete.install, sin ningún destino explícito, " +"entonces dh_install adivinará automáticamente el destino, incluso si no se " +"ha usado esta opción." # type: =item -#: dh_install:103 +#. type: =item +#: dh_install:101 msgid "I" msgstr "I" # type: textblock -#: dh_install:105 +#. type: textblock +#: dh_install:103 msgid "" "Lists files (or directories) to install and where to install them to. The " "files will be installed into the first package dh_install acts on." @@ -3742,12 +4326,14 @@ "actúe dh_install." # type: =head1 -#: dh_install:241 +#. type: =head1 +#: dh_install:240 msgid "EXAMPLE" msgstr "EJEMPLO" # type: textblock -#: dh_install:243 +#. type: textblock +#: dh_install:242 msgid "" "Suppose your package's upstream Makefile installs a binary, a man page, and " "a library into appropriate subdirectories of debian/tmp. You want to put the " @@ -3762,7 +4348,8 @@ "sourcedir=debian/tmp\". Haga un debian/tal.install que contenga:" # type: verbatim -#: dh_install:249 +#. type: verbatim +#: dh_install:248 #, no-wrap msgid "" " usr/bin\n" @@ -3774,12 +4361,14 @@ "\n" # type: textblock -#: dh_install:252 +#. type: textblock +#: dh_install:251 msgid "While debian/libfoo.install contains:" msgstr "Mientras que debian/libtal.install debe contener:" # type: verbatim -#: dh_install:254 +#. type: verbatim +#: dh_install:253 #, no-wrap msgid "" " usr/lib/libfoo*.so.*\n" @@ -3789,7 +4378,8 @@ "\n" # type: textblock -#: dh_install:256 +#. type: textblock +#: dh_install:255 msgid "" "If you want a libfoo-dev package too, debian/libfoo-dev.install might " "contain:" @@ -3798,7 +4388,8 @@ "que contenga:" # type: verbatim -#: dh_install:258 +#. type: verbatim +#: dh_install:257 #, no-wrap msgid "" " usr/include\n" @@ -3812,12 +4403,14 @@ "\n" # type: =head1 -#: dh_install:262 +#. type: =head1 +#: dh_install:261 msgid "LIMITATIONS" msgstr "LIMITACIONES" # type: verbatim -#: dh_install:264 +#. type: verbatim +#: dh_install:263 #, no-wrap msgid "" "dh_install cannot rename files or directories, it can only install them\n" @@ -3831,16 +4424,19 @@ " \n" # type: textblock +#. type: textblock #: dh_installppp:5 msgid "dh_installppp - install ppp ip-up and ip-down files" msgstr "dh_installppp - instala los ficheros ip-up e ip-down de ppp" # type: textblock +#. type: textblock #: dh_installppp:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installppp:18 msgid "" "dh_installppp is a debhelper program that is responsible for installing ppp " @@ -3851,6 +4447,7 @@ "paquete." # type: textblock +#. type: textblock #: dh_installppp:21 msgid "" "If a file named debian/package.ppp.ip-up exists, then it is installed into " @@ -3862,6 +4459,7 @@ "debian/package.ppp.ip-down se instalan en etc/ppp/ip-down.d/paquete." # type: textblock +#. type: textblock #: dh_installppp:32 msgid "" "Look for files named debian/package.name.ppp.ip-* and install them as etc/" @@ -3873,11 +4471,13 @@ "el nombre del paquete." # type: textblock +#. type: textblock #: dh_installwm:5 msgid "dh_installwm - register a window manager" msgstr "dh_installwm - registra un gestor de ventanas" # type: textblock +#. type: textblock #: dh_installwm:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " @@ -3887,6 +4487,7 @@ "[S>]" # type: textblock +#. type: textblock #: dh_installwm:18 #, fuzzy msgid "" @@ -3901,6 +4502,7 @@ "alternatives(8)>" # type: textblock +#. type: textblock #: dh_installwm:24 msgid "" "Any window manager programs specified as parameters will be registered in " @@ -3914,6 +4516,7 @@ "será el primer paquete especificado por estas opciones." # type: textblock +#. type: textblock #: dh_installwm:29 msgid "" "Files named debian/package.wm can list other window manager programs to " @@ -3923,6 +4526,7 @@ "a registrar." # type: textblock +#. type: textblock #: dh_installwm:38 msgid "" "Set the priority of the window manager. Default is 20, which is too low for " @@ -3935,6 +4539,7 @@ "correcto." # type: textblock +#. type: textblock #: dh_installwm:44 msgid "Do not modify postinst/postrm scripts. Turns this command into a no-op." msgstr "" @@ -3942,11 +4547,13 @@ "hace nada." # type: =item +#. type: =item #: dh_installwm:46 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installwm:48 msgid "" "The commands used to run the window manager or window managers you want to " @@ -3956,16 +4563,19 @@ "registrar." # type: textblock +#. type: textblock #: dh_installxfonts:5 msgid "dh_installxfonts - register X fonts" msgstr "dh_installxfonts - registra tipos de letra para X" # type: textblock +#. type: textblock #: dh_installxfonts:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installxfonts:18 msgid "" "dh_installxfonts is a debhelper program that is responsible for registering " @@ -3977,6 +4587,7 @@ "fonts.scale sean reconstruidos adecuadamente durante la instalación." # type: textblock +#. type: textblock #: dh_installxfonts:22 #, fuzzy msgid "" @@ -3993,6 +4604,7 @@ "construcción del paquete." # type: textblock +#. type: textblock #: dh_installxfonts:28 #, fuzzy msgid "" @@ -4005,6 +4617,7 @@ "Depends}.)" # type: textblock +#. type: textblock #: dh_installxfonts:32 #, fuzzy msgid "" @@ -4018,6 +4631,7 @@ "para una explicación acerca de como funciona esto." # type: textblock +#. type: textblock #: dh_installxfonts:39 msgid "" "See L, L, and L para más información acerca de la instalación de tipos de letra para X." # type: textblock +#. type: textblock #: dh_installxfonts:42 msgid "" "See Debian policy, section 11.8.5. for details about doing fonts the Debian " @@ -4036,12 +4651,14 @@ "manejar los tipos de letra al estilo de Debian." # type: textblock +#. type: textblock #: dh_link:5 msgid "dh_link - create symlinks in package build directories" msgstr "" "dh_link - crea enlace simbólicos en directorios de construcción de paquetes" # type: textblock +#. type: textblock #: dh_link:15 #, fuzzy msgid "" @@ -4051,6 +4668,7 @@ "B [S>] [B<-A>] [S>]" # type: textblock +#. type: textblock #: dh_link:19 msgid "" "dh_link is a debhelper program that creates symlinks in package build " @@ -4060,6 +4678,7 @@ "directorios de construcción de paquetes." # type: textblock +#. type: textblock #: dh_link:22 msgid "" "dh_link accepts a list of pairs of source and destination files. The source " @@ -4073,6 +4692,7 @@ "número igual de ficheros origen y destino." # type: textblock +#. type: textblock #: dh_link:27 msgid "" "The list can be specified in two ways. A file named debian/package.links can " @@ -4095,6 +4715,7 @@ "especificado en estos parámetros." # type: textblock +#. type: textblock #: dh_link:36 msgid "" "Be sure you B specify the full filename to both the source and " @@ -4106,6 +4727,7 @@ "usando algo como L)." # type: textblock +#. type: textblock #: dh_link:40 msgid "" "dh_link will generate symlinks that comply with debian policy - absolute " @@ -4119,6 +4741,7 @@ "necesario para ubicar los enlaces." # type: textblock +#. type: textblock #: dh_link:45 #, fuzzy msgid "" @@ -4130,6 +4753,7 @@ "(sólo v4)." # type: textblock +#. type: textblock #: dh_link:54 msgid "" "Create any links specified by command line parameters in ALL packages acted " @@ -4139,6 +4763,7 @@ "en TODOS los paquetes sobre los que se actúa, no solamente en el primero." # type: textblock +#. type: textblock #: dh_link:59 #, fuzzy msgid "" @@ -4149,11 +4774,13 @@ "de ser listados en el fichero md5sums." # type: =item +#. type: =item #: dh_link:62 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_link:64 msgid "" "Create a file named \"destination\" as a link to a file named \"source\". Do " @@ -4166,6 +4793,7 @@ "especifica -A)." # type: verbatim +#. type: verbatim #: dh_link:72 #, no-wrap msgid "" @@ -4176,11 +4804,13 @@ "\n" # type: textblock +#. type: textblock #: dh_link:74 msgid "Make bar.1 be a symlink to foo.1" msgstr "Hace de bar.1 un enlace simbólico a foo.1" # type: verbatim +#. type: verbatim #: dh_link:76 #, fuzzy, no-wrap msgid "" @@ -4193,6 +4823,7 @@ "\n" # type: textblock +#. type: textblock #: dh_link:79 #, fuzzy msgid "" @@ -4203,17 +4834,20 @@ "simbólico a la página de manual de X foo.1x" # type: textblock +#. type: textblock #: dh_listpackages:5 msgid "dh_listpackages - list binary packages debhelper will act on" msgstr "" "dh_listpackages - lista paquetes binarios sobre los que actuará debhelper" # type: textblock +#. type: textblock #: dh_listpackages:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_listpackages:18 msgid "" "dh_listpackages is a debhelper program that outputs a list of all binary " @@ -4228,6 +4862,7 @@ "especifican las mismas opciones." # type: textblock +#. type: textblock #: dh_makeshlibs:5 #, fuzzy msgid "" @@ -4235,6 +4870,7 @@ msgstr "dh_makeshlibs - crea automáticamente fichero shlibs" # type: textblock +#. type: textblock #: dh_makeshlibs:14 #, fuzzy msgid "" @@ -4245,6 +4881,7 @@ "[dependencias]>] [B<-n>] [B<-X>I]" # type: textblock +#. type: textblock #: dh_makeshlibs:18 msgid "" "dh_makeshlibs is a debhelper program that automatically scans for shared " @@ -4255,6 +4892,7 @@ "encuentra." # type: textblock +#. type: textblock #: dh_makeshlibs:21 #, fuzzy msgid "" @@ -4266,6 +4904,7 @@ "bibliotecas compartidas." # type: textblock +#. type: textblock #: dh_makeshlibs:24 msgid "" "If a L symbol file is found in debian/package.symbols " @@ -4274,11 +4913,13 @@ msgstr "" # type: =item +#. type: =item #: dh_makeshlibs:32 msgid "B<-m>I, B<--major=>I" msgstr "B<-m>I, B<--major=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:34 msgid "" "Instead of trying to guess the major number of the library with objdump, use " @@ -4292,16 +4933,19 @@ "nombres de fichero de las bibliotecas en lugar de usar objdump." # type: =item +#. type: =item #: dh_makeshlibs:39 msgid "B<-V>, B<-V>I" msgstr "B<-V>, B<-V>I" # type: =item +#. type: =item #: dh_makeshlibs:41 msgid "B<--version-info>, B<--version-info=>I" msgstr "B<--version-info>, B<--version-info=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:43 msgid "" "By default, the shlibs file generated by this program does not make packages " @@ -4328,6 +4972,7 @@ "de dependencia exacta requerida (asegúrese de incluir el nombre del paquete)." # type: textblock +#. type: textblock #: dh_makeshlibs:54 msgid "" "Beware of using -V without any parameters; this is a conservative setting " @@ -4347,6 +4992,7 @@ "actualización." # type: textblock +#. type: textblock #: dh_makeshlibs:68 msgid "" "Exclude files that contain \"item\" anywhere in their filename or directory " @@ -4356,12 +5002,14 @@ "o directorio de ser tratados como bibliotecas compartidas." # type: =item +#. type: =item #: dh_makeshlibs:71 #, fuzzy msgid "B<--add-udeb=>I" msgstr "B<--name=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:73 msgid "" "Create an additional line for udebs in the shlibs file and use \"udeb\" as " @@ -4370,17 +5018,20 @@ msgstr "" # type: textblock +#. type: textblock #: dh_makeshlibs:78 #, fuzzy msgid "Pass \"params\" to L." msgstr "Pasa \"parámetros\" a L." # type: =item +#. type: =item #: dh_makeshlibs:86 msgid "dh_makeshlibs" msgstr "dh_makeshlibs" # type: verbatim +#. type: verbatim #: dh_makeshlibs:88 #, no-wrap msgid "" @@ -4395,11 +5046,13 @@ "\n" # type: =item +#. type: =item #: dh_makeshlibs:92 msgid "dh_makeshlibs -V" msgstr "dh_makeshlibs -V" # type: verbatim +#. type: verbatim #: dh_makeshlibs:94 #, no-wrap msgid "" @@ -4414,11 +5067,13 @@ "\n" # type: =item +#. type: =item #: dh_makeshlibs:98 msgid "dh_makeshlibs -V 'libfoobar1 (>= 1.0)'" msgstr "dh_makeshlibs -V 'libfoobar1 (>= 1.0)'" # type: verbatim +#. type: verbatim #: dh_makeshlibs:100 #, no-wrap msgid "" @@ -4431,11 +5086,13 @@ "\n" # type: textblock +#. type: textblock #: dh_md5sums:5 msgid "dh_md5sums - generate DEBIAN/md5sums file" msgstr "dh_md5sums - genera el fichero DEBIAN/md5sums" # type: textblock +#. type: textblock #: dh_md5sums:15 msgid "" "B [S>] [B<-x>] [B<-X>I] [B<--include-" @@ -4445,6 +5102,7 @@ "include-conffiles>]" # type: textblock +#. type: textblock #: dh_md5sums:19 msgid "" "dh_md5sums is a debhelper program that is responsible for generating a " @@ -4456,6 +5114,7 @@ "paquete. Estos ficheros son usados por el paquete debsums." # type: textblock +#. type: textblock #: dh_md5sums:23 msgid "" "All files in DEBIAN/ are omitted from the md5sums file, as are all conffiles " @@ -4466,17 +5125,20 @@ "conffiles)." # type: textblock +#. type: textblock #: dh_md5sums:26 msgid "The md5sums file is installed with proper permissions and ownerships." msgstr "" "El fichero md5sums es instalado con los permisos y propietarios adecuados." # type: =item +#. type: =item #: dh_md5sums:32 msgid "B<-x>, B<--include-conffiles>" msgstr "B<-x>, B<--include-conffiles>" # type: textblock +#. type: textblock #: dh_md5sums:34 msgid "" "Include conffiles in the md5sums list. Note that this information is " @@ -4486,6 +5148,7 @@ "redundante puesto que esta incluida en otro lugar de los paquetes debian." # type: textblock +#. type: textblock #: dh_md5sums:39 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -4495,11 +5158,13 @@ "de ser listados en el fichero md5sums." # type: textblock +#. type: textblock #: dh_movefiles:5 msgid "dh_movefiles - move files out of debian/tmp into subpackages" msgstr "dh_movefiles - mueve ficheros de debian/tmp en subpaquetes" # type: textblock +#. type: textblock #: dh_movefiles:14 msgid "" "B [S>] [B<--sourcedir=>I] [B<-" @@ -4509,6 +5174,7 @@ "X>I] S>]" # type: textblock +#. type: textblock #: dh_movefiles:18 msgid "" "dh_movefiles is a debhelper program that is responsible for moving files out " @@ -4523,6 +5189,7 @@ "dividirlos en subpaquetes." # type: textblock +#. type: textblock #: dh_movefiles:23 msgid "" "Files named debian/package.files list the files to be moved, separated by " @@ -4539,6 +5206,7 @@ "primer paquete que actuar dh_movefiles." # type: textblock +#. type: textblock #: dh_movefiles:29 #, fuzzy msgid "" @@ -4549,11 +5217,13 @@ "más." # type: =item +#. type: =item #: dh_movefiles:36 msgid "B<--sourcedir=>I" msgstr "B<--sourcedir=>I" # type: textblock +#. type: textblock #: dh_movefiles:38 #, fuzzy msgid "" @@ -4570,6 +5240,7 @@ "empezar con un `/'." # type: textblock +#. type: textblock #: dh_movefiles:51 msgid "" "Lists files to move. The filenames listed should be relative to debian/tmp/. " @@ -4584,6 +5255,7 @@ "colocarlos." # type: textblock +#. type: textblock #: dh_movefiles:60 msgid "" "Note that files are always moved out of debian/tmp by default (even if you " @@ -4603,18 +5275,21 @@ "por dh_clean." # type: textblock +#. type: textblock #: dh_perl:5 #, fuzzy msgid "dh_perl - calculates perl dependencies and cleans up after MakeMaker" msgstr "dh_perl - calcula dependencias de perl" # type: textblock +#. type: textblock #: dh_perl:16 msgid "B [S>] [B<-d>] [S>]" msgstr "" "B [S>] [B<-d>] [S>]" # type: textblock +#. type: textblock #: dh_perl:20 msgid "" "dh_perl is a debhelper program that is responsible for generating the ${perl:" @@ -4624,6 +5299,7 @@ "substituciones ${perl:Depends} y añadirlas a los ficheros substvars." # type: textblock +#. type: textblock #: dh_perl:23 msgid "" "The program will look at perl scripts and modules in your package, and will " @@ -4637,6 +5313,7 @@ "usted ubique la señal \"${perl:Depends}\"." # type: textblock +#. type: textblock #: dh_perl:28 msgid "" "dh_perl also cleans up empty directories that MakeMaker can generate when " @@ -4644,11 +5321,13 @@ msgstr "" # type: =item +#. type: =item #: dh_perl:35 msgid "B<-d>" msgstr "B<-d>" # type: textblock +#. type: textblock #: dh_perl:37 msgid "" "In some specific cases you may want to depend on perl-base rather than the " @@ -4663,6 +5342,7 @@ "incluidos en el sistema base." # type: textblock +#. type: textblock #: dh_perl:42 msgid "" "Note that this flag may cause no dependency on perl-base to be generated at " @@ -4674,11 +5354,13 @@ "puede obviar, a menos que se requiera una dependencia de versiones." # type: =item +#. type: =item #: dh_perl:46 msgid "B<-V>" msgstr "B<-V>" # type: textblock +#. type: textblock #: dh_perl:48 msgid "" "By default, scripts and architecture independent modules don't depend on any " @@ -4690,11 +5372,13 @@ "actual del paquete perl (o perl-base con -d) sea especificada." # type: =item +#. type: =item #: dh_perl:52 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_perl:54 msgid "" "If your package installs perl modules in non-standard directories, you can " @@ -4707,21 +5391,27 @@ "vendorlib y vendorarch por omisión." # type: textblock -#: dh_perl:63 dh_strip:76 -msgid "Debian policy, version 3.0.1" +#. type: textblock +#: dh_perl:63 +#, fuzzy +msgid "Debian policy, version 3.8.3" msgstr "Normas de Debian, versión 3.0.1" # type: textblock +#. type: textblock #: dh_perl:65 -msgid "Perl policy, version 1.18" +#, fuzzy +msgid "Perl policy, version 1.20" msgstr "Normas de Perl, versión 1.18" # type: textblock -#: dh_perl:160 +#. type: textblock +#: dh_perl:153 msgid "Brendan O'Dea " msgstr "Brendan O'Dea " # type: textblock +#. type: textblock #: dh_python:5 msgid "" "dh_python - calculates python dependencies and adds postinst and prerm " @@ -4731,6 +5421,7 @@ "prerm" # type: textblock +#. type: textblock #: dh_python:15 msgid "" "B [S>] [B<-n>] [B<-V> I] " @@ -4740,6 +5431,7 @@ "módulos...>>]" # type: textblock +#. type: textblock #: dh_python:19 msgid "" "Note: This program is deprecated. You should use dh_pysupport or " @@ -4748,6 +5440,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_python:23 msgid "" "dh_python is a debhelper program that is responsible for generating the " @@ -4759,6 +5452,7 @@ "También añadirá un script postinst y un prerm de ser necesario." # type: textblock +#. type: textblock #: dh_python:27 msgid "" "The program will look at python scripts and modules in your package, and " @@ -4775,6 +5469,7 @@ "Depends}\"." # type: textblock +#. type: textblock #: dh_python:33 msgid "" "If some modules need to be byte-compiled at install time, appropriate " @@ -4786,6 +5481,7 @@ "ya compilados, se eliminarán." # type: textblock +#. type: textblock #: dh_python:37 msgid "If you use this program, your package should build-depend on python." msgstr "" @@ -4793,11 +5489,13 @@ "dependencias de construcción." # type: =item +#. type: =item #: dh_python:43 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_python:45 msgid "" "If your package installs python modules in non-standard directories, you can " @@ -4813,6 +5511,7 @@ "usr/share/games/$PACKAGE y /usr/lib/python?.?/site-packages." # type: textblock +#. type: textblock #: dh_python:51 msgid "" "Note: only /usr/lib/site-python, /usr/lib/python?.?/site-packages and the " @@ -4823,11 +5522,13 @@ "mediante la línea de órdenes." # type: =item +#. type: =item #: dh_python:54 msgid "B<-V> I" msgstr "B<-V> I" # type: textblock +#. type: textblock #: dh_python:56 msgid "" "If the .py files your package ships are meant to be used by a specific " @@ -4839,84 +5540,61 @@ "deseada. No lo use si instala módulos en /usr/lib/site-python." # type: textblock +#. type: textblock #: dh_python:68 msgid "Debian policy, version 3.5.7" msgstr "Normas de Debian, versión 3.5.7" # type: textblock +#. type: textblock #: dh_python:70 msgid "Python policy, version 0.3.7" msgstr "Normas de Python, versión 0.3.7" # type: textblock +#. type: textblock #: dh_python:290 msgid "Josselin Mouette " msgstr "Josselin Mouette " # type: textblock +#. type: textblock #: dh_python:292 msgid "most ideas stolen from Brendan O'Dea " msgstr "muchas de las ideas tomadas de Brendan O'Dea " -# type: textblock +#. type: textblock #: dh_scrollkeeper:5 -msgid "dh_scrollkeeper - generate ScrollKeeper registration scripts" -msgstr "dh_scrollkeeper - genera programas de registro de ScrollKeeper" +msgid "dh_scrollkeeper - deprecated no-op" +msgstr "" # type: textblock +#. type: textblock #: dh_scrollkeeper:14 msgid "B [S>] [B<-n>] [S>]" msgstr "" "B [S>] [B<-n>] [S>]" # type: textblock +#. type: textblock #: dh_scrollkeeper:18 +#, fuzzy msgid "" -"B is a debhelper program that handles correctly registering " -"OMF files that it finds in package build trees with ScrollKeeper." +"dh_scrollkeeper was a debhelper program that handled registering OMF files " +"for ScrollKeeper. However, it no longer does anything, and is now deprecated." msgstr "" "B es un programa de debhelper que maneja el registro " "adecuado de ficheros OMF que encuentra en los arboles de construcción de " "paquetes y que usan ScrollKeeper." # type: textblock -#: dh_scrollkeeper:22 -#, fuzzy -msgid "" -"This command automatically adds maintainer script snippets for registering " -"and unregistering files with ScrollKeeper (unless B<-n> is used). These " -"snippets are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of Debhelper maintainer script " -"snippets." -msgstr "" -"Esta orden añade automáticamente partes del programa de desarrollador para " -"registro y de-registro de ficheros con ScrollKeeper (a menos que se use la " -"opción B<-n>). Vea L para explicación sobre las partes del " -"programa Debhelper de desarrollador." - -# type: textblock -#: dh_scrollkeeper:28 -msgid "" -"It will also change any DTD declarations in the OMF and DocBook files to " -"refer to local files instead of remote URLs. This change does not modify the " -"source files, but the files in the package build tree." -msgstr "" -"También cambiará cualquier declaración DTD en los ficheros OMF y DocBook que " -"se refieran a ficheros locales en lugar de URLs remotas. Este cambio no " -"modifica los ficheros de origen, a excepción de los ficheros en el árbol de " -"construcción del paquete." - -# type: textblock -#: dh_scrollkeeper:38 -msgid "Do not modify F/F scripts." -msgstr "No modifica programas F/F." - -# type: textblock +#. type: textblock #: dh_shlibdeps:5 msgid "dh_shlibdeps - calculate shared library dependencies" msgstr "dh_shlibdeps - calcula dependencias de bibliotecas compartidas" # type: textblock +#. type: textblock #: dh_shlibdeps:15 msgid "" "B [S>] [B<-L>I] [B<-" @@ -4926,6 +5604,7 @@ "l>I] [B<-X>I] [S I>]" # type: textblock +#. type: textblock #: dh_shlibdeps:19 msgid "" "dh_shlibdeps is a debhelper program that is responsible for calculating " @@ -4935,6 +5614,7 @@ "dependencias en bibliotecas compartidas de los paquetes." # type: textblock +#. type: textblock #: dh_shlibdeps:22 msgid "" "This program is merely a wrapper around L that calls it " @@ -4946,16 +5626,19 @@ "lista de ejecutables ELF y bibliotecas compartidas que ha encontrado." # type: =item +#. type: =item #: dh_shlibdeps:30 msgid "B<-u>I, B<--dpkg-shlibdeps-params=>I" msgstr "B<-u>I, B<--dpkg-shlibdeps-params=>I" # type: textblock +#. type: textblock #: dh_shlibdeps:34 msgid "Pass \"params\" to L." msgstr "Pasa \"params\" a L." # type: textblock +#. type: textblock #: dh_shlibdeps:38 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -4970,17 +5653,20 @@ "cosa." # type: =item +#. type: =item #: dh_shlibdeps:43 msgid "B<-l>I[:directory:directory:..]" msgstr "B<-l>I[:directorio:directorio:..]" # type: textblock +#. type: textblock #: dh_shlibdeps:45 msgid "" "With recent versions of dpkg-shlibdeps, this option is generally not needed." msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:48 #, fuzzy msgid "" @@ -4997,11 +5683,13 @@ "para el beneficio de dpkg-shlibdeps." # type: =item +#. type: =item #: dh_shlibdeps:55 msgid "B<-L>I, B<--libpackage=>I" msgstr "B<-L>I, B<--libpackage=>I" # type: textblock +#. type: textblock #: dh_shlibdeps:57 msgid "" "With recent versions of dpkg-shlibdeps, this option is generally not needed, " @@ -5009,6 +5697,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:60 msgid "" "It tells dpkg-shlibdeps (via its -S parameter) to look first in the package " @@ -5017,6 +5706,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:68 msgid "" "Suppose that your source package produces libfoo1, libfoo-dev, and libfoo-" @@ -5029,6 +5719,7 @@ "dh_shlibdeps:" # type: verbatim +#. type: verbatim #: dh_shlibdeps:72 #, fuzzy, no-wrap msgid "" @@ -5041,6 +5732,7 @@ "\n" # type: textblock +#. type: textblock #: dh_shlibdeps:75 msgid "" "This will have the effect of generating automatically a shlibs file for " @@ -5052,6 +5744,7 @@ "calcular la información de dependencias en bibliotecas compartidas." # type: textblock +#. type: textblock #: dh_shlibdeps:80 msgid "" "If a libbar1 package is also produced, that is an alternate build of libfoo, " @@ -5060,22 +5753,25 @@ msgstr "" # type: verbatim +#. type: verbatim #: dh_shlibdeps:84 #, fuzzy, no-wrap msgid "" "\tdh_shlibdeps -Llibbar1 -l/usr/lib/bar\n" -"\n" +"\t\n" msgstr "" "\tdh_makeshlibs\n" "\tdh_shlibdeps -L libfoo1 -l debian/libfoo1/usr/lib\n" "\n" # type: textblock -#: dh_shlibdeps:161 +#. type: textblock +#: dh_shlibdeps:170 msgid "L, L" msgstr "L, L" # type: textblock +#. type: textblock #: dh_strip:5 msgid "" "dh_strip - strip executables, shared libraries, and some static libraries" @@ -5084,6 +5780,7 @@ "algunas bibliotecas estáticas" # type: textblock +#. type: textblock #: dh_strip:15 msgid "" "B [S>] [B<-X>I] [--dbg-package=package] " @@ -5093,6 +5790,7 @@ "package=paquete] [--keep-debug]" # type: textblock +#. type: textblock #: dh_strip:19 msgid "" "dh_strip is a debhelper program that is responsible for stripping " @@ -5104,6 +5802,7 @@ "usadas para depuración." # type: textblock +#. type: textblock #: dh_strip:23 msgid "" "This program examines your package build directories and works out what to " @@ -5123,6 +5822,7 @@ "y hará lo correcto en la mayoría de casos." # type: textblock +#. type: textblock #: dh_strip:31 msgid "" "Since it is very hard to automatically guess if a file is a module, and hard " @@ -5134,6 +5834,7 @@ "de eliminar los símbolos de módulos binarios como los ficheros .o." # type: textblock +#. type: textblock #: dh_strip:41 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -5145,11 +5846,13 @@ "una lista de cosas a excluir." # type: =item +#. type: =item #: dh_strip:45 msgid "B<--dbg-package=>I" msgstr "B<--dbg-package=>I" # type: textblock +#. type: textblock #: dh_strip:47 msgid "" "Causes dh_strip to save debug symbols stripped from the packages it acts on " @@ -5162,6 +5865,7 @@ "independientes en el directorio de construcción para el paquete \"-dbg\"." # type: textblock +#. type: textblock #: dh_strip:51 #, fuzzy msgid "" @@ -5172,6 +5876,7 @@ "paquetetal-dbg con símbolos de depuración, use dh_strip --dbg-to=tal-dbg." # type: textblock +#. type: textblock #: dh_strip:54 msgid "" "Note that this option behaves significantly different in debhelper " @@ -5188,11 +5893,13 @@ "paquetescon \"-dbg\" al final de su nombre" # type: =item +#. type: =item #: dh_strip:60 msgid "B<-k>, B<--keep-debug>" msgstr "B<-k>, B<--keep-debug>" # type: textblock +#. type: textblock #: dh_strip:62 msgid "" "Debug symbols will be retained, but split into an independent file in usr/" @@ -5205,6 +5912,7 @@ "opción es más flexible." # type: textblock +#. type: textblock #: dh_strip:70 #, fuzzy msgid "" @@ -5216,16 +5924,25 @@ "eliminará nada, conforme a las normas de Debian." # type: textblock +#. type: textblock +#: dh_strip:76 +msgid "Debian policy, version 3.0.1" +msgstr "Normas de Debian, versión 3.0.1" + +# type: textblock +#. type: textblock #: dh_suidregister:5 msgid "dh_suidregister - obsolete suid registration program" msgstr "dh_suidregister - programa obsoleto de registro suid" # type: textblock +#. type: textblock #: dh_suidregister:9 dh_undocumented:14 msgid "Do not run!" msgstr "¡No lo ejecute!" # type: textblock +#. type: textblock #: dh_suidregister:13 msgid "" "This program used to register suid and sgid files with L, " @@ -5239,11 +5956,13 @@ "este programa no debe ser usado." # type: =head1 +#. type: =head1 #: dh_suidregister:18 msgid "CONVERTING TO STATOVERRIDE" msgstr "CONVERTIR A STATOVERRIDE" # type: textblock +#. type: textblock #: dh_suidregister:20 msgid "" "Converting a package that uses this program to use the new statoverride " @@ -5256,6 +5975,7 @@ "fichero control, como sigue:" # type: verbatim +#. type: verbatim #: dh_suidregister:25 #, no-wrap msgid "" @@ -5266,6 +5986,7 @@ "\n" # type: textblock +#. type: textblock #: dh_suidregister:27 msgid "" "The conflicts is only necessary if your package used to register things with " @@ -5277,17 +5998,20 @@ "a este programa de su fichero rules." # type: textblock +#. type: textblock #: dh_testdir:5 msgid "dh_testdir - test directory before building debian package" msgstr "" "dh_testdir - comprueba el directorio antes de construir el paquete debian" # type: textblock +#. type: textblock #: dh_testdir:14 msgid "B [S>] [S>]" msgstr "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_testdir:18 msgid "" "dh_testdir tries to make sure that you are in the correct directory when " @@ -5301,21 +6025,25 @@ "especifique. En caso contrario finaliza con un error." # type: textblock +#. type: textblock #: dh_testdir:29 msgid "Test for the existence of these files too." msgstr "Comprueba también la existencia de estos ficheros." # type: textblock +#. type: textblock #: dh_testroot:5 msgid "dh_testroot - ensure that a package is built as root" msgstr "dh_testroot - asegura que el paquete sea construido como superusuario" # type: textblock +#. type: textblock #: dh_testroot:9 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_testroot:13 msgid "" "dh_testroot simply checks to see if you are root. If not, it exits with an " @@ -5327,6 +6055,7 @@ "aunque usted puede usar L" # type: textblock +#. type: textblock #: dh_testversion:5 msgid "" "dh_testversion - ensure that the correct version of debhelper is installed" @@ -5334,12 +6063,14 @@ "dh_testversion - asegura que esté instalada la versión correcta de debhelper" # type: textblock +#. type: textblock #: dh_testversion:14 msgid "B [S>] [I] [I]" msgstr "" "B [S>] [I] [I]" # type: textblock +#. type: textblock #: dh_testversion:18 msgid "" "Note: This program is deprecated. You should use build dependencies instead." @@ -5348,6 +6079,7 @@ "dependencias de construcción." # type: textblock +#. type: textblock #: dh_testversion:21 msgid "" "dh_testversion compares the version of debhelper against the version you " @@ -5357,6 +6089,7 @@ "especifique, y si no coinciden finaliza con un mensaje de error." # type: textblock +#. type: textblock #: dh_testversion:24 msgid "" "You can use this in your debian/rules files if a new debhelper feature is " @@ -5369,6 +6102,7 @@ "versión necesita." # type: textblock +#. type: textblock #: dh_testversion:28 msgid "" "Be sure not to overuse dh_testversion. If debhelper version 9.5 introduces a " @@ -5384,11 +6118,13 @@ "necesidad de usar dh_testversion." # type: =item +#. type: =item #: dh_testversion:38 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_testversion:40 msgid "" "Optional comparison operator used in comparing the versions. If not " @@ -5400,11 +6136,13 @@ "comparación vea dkpg --help." # type: =item +#. type: =item #: dh_testversion:44 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_testversion:46 msgid "" "Version number to compare against the current version of debhelper. If not " @@ -5414,12 +6152,14 @@ "Si no es especificado, dh_testversion no hace nada." # type: textblock +#. type: textblock #: dh_undocumented:5 msgid "dh_undocumented - obsolete undocumented.7 symlink program" msgstr "" "dh_undocumented - programa obsoleto de enlace simbólico a undocumented.7" # type: textblock +#. type: textblock #: dh_undocumented:18 msgid "" "This program used to make symlinks to the undocumented.7 man page for man " @@ -5433,16 +6173,19 @@ "debido a eso este programa no hace nada y no debe ser usado." # type: textblock +#. type: textblock #: dh_usrlocal:5 msgid "dh_usrlocal - migrate usr/local directories to maintainer scripts" msgstr "dh_usrlocal - migra directorios usr/local a programas de desarrollador" # type: textblock +#. type: textblock #: dh_usrlocal:17 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_usrlocal:21 msgid "" "dh_usrlocal is a debhelper program that can be used for building packages " @@ -5452,6 +6195,7 @@ "paquetes que proveerán un subdirectorio en /usr/local cuando se instalen." # type: textblock +#. type: textblock #: dh_usrlocal:24 #, fuzzy msgid "" @@ -5471,6 +6215,7 @@ "una explicación de las partes de programas Debhelper de desarrollador." # type: textblock +#. type: textblock #: dh_usrlocal:32 msgid "" "If the directories found in the build tree have unusual owners, groups, or " @@ -5489,16 +6234,19 @@ "modo de los directorios en /usr/local." # type: textblock +#. type: textblock #: dh_usrlocal:45 msgid "Do not modify F/F scripts." msgstr "No modifica programas F/F." # type: textblock +#. type: textblock #: dh_usrlocal:57 msgid "Debian policy, version 2.2" msgstr "Normas de Debian, versión 2.2" # type: textblock +#. type: textblock #: dh_usrlocal:122 msgid "Andrew Stribblehill " msgstr "Andrew Stribblehill " @@ -5506,6 +6254,167 @@ # type: textblock #, fuzzy #~ msgid "" +#~ "If a file named debian/package.upstart exists, then it is installed into " +#~ "etc/init/package.conf in the package build directory, with \"package\" " +#~ "replaced by the package name." +#~ msgstr "" +#~ "Si existe un fichero debian/paquete.init, se instala en etc/init.d/" +#~ "paquete en el directorio de construcción del paquete, con \"paquete\" " +#~ "reemplazado por el nombre del paquete." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Otherwise, if a file named debian/package.init exists, then it is " +#~ "installed into etc/init.d/package in the package build directory, with " +#~ "\"package\" replaced by the package name." +#~ msgstr "" +#~ "Si existe un fichero debian/paquete.init, se instala en etc/init.d/" +#~ "paquete en el directorio de construcción del paquete, con \"paquete\" " +#~ "reemplazado por el nombre del paquete." + +# type: textblock +#~ msgid "" +#~ "If a file named debian/package.default exists, then it is installed into " +#~ "etc/default/package in the package build directory, with \"package\" " +#~ "replaced by the package name." +#~ msgstr "" +#~ "Si existe un fichero llamado debian/paquete.default, se instala en etc/" +#~ "default/paquete en el directorio de construcción del paquete, con " +#~ "\"paquete\" reemplazado por el nombre del paquete." + +# type: =item +#, fuzzy +#~ msgid "B<-O>, B<--onlyscripts-upstart>" +#~ msgstr "B<-n>, B<--noscripts>" + +# type: =item +#, fuzzy +#~ msgid "B<--replace>" +#~ msgstr "B<--mainpackage=>I" + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Makes all files to be installed be found under dir. If this is specified, " +#~ "it is akin to all the filenames having \"dir/\" prepended to them." +#~ msgstr "" +#~ "Hace que todos los ficheros fuente se encuentren bajo dir. Si se " +#~ "especifica, es parecido a anteponer \"dir/\" a todos los nombres de los " +#~ "ficheros fuente." + +# type: textblock +#~ msgid "" +#~ "To make dh_install behave like the old dh_movefiles, move your package." +#~ "files file to package.install and call dh_install with \"--" +#~ "sourcedir=debian/tmp\" appended to the command. This will approximate " +#~ "dh_movefiles behaviour, except it will copy files instead of moving them." +#~ msgstr "" +#~ "Para que dh_install se comporte similar al viejo dh_movefiles, mueva su " +#~ "fichero paquete.files a paquete.install y llame a dh_install con \"--" +#~ "sourcedir=debian/tmp\" añadido a la orden. Esto aproximará el " +#~ "comportamiento de dh_movefiles, excepto en que copiará los ficheros en " +#~ "vez de moverlos." + +# type: textblock +#~ msgid "" +#~ "dh_installinfo is a debhelper program that is responsible for installing " +#~ "info files and registering the files it installs with install-info." +#~ msgstr "" +#~ "dh_installinfo es un programa de debhelper responsable de instalar los " +#~ "ficheros info y de registrar los ficheros que instala con install-info." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Note that install-info determines some information about the info files " +#~ "by parsing them, in particular, it looks at the INFO-DIR-SECTION line to " +#~ "determine what section the info file belongs in." +#~ msgstr "" +#~ "Determina alguna información de los ficheros info analizándolos, en " +#~ "particular, busca la línea INFO-DIR-SECTION para determina a que sección " +#~ "pertenece el fichero info." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "dh_installinfo will automatically generate the postinst and prerm " +#~ "commands needed to interface with install-info, updating the info dir. " +#~ "These commands are inserted into the maintainer scripts by " +#~ "dh_installdeb. See L for an explanation of how this " +#~ "works." +#~ msgstr "" +#~ "dh_installinfo generará automáticamente las órdenes de postinst y prerm " +#~ "necesarios para interaccionar con install-info, actualizando el info . " +#~ "Lea L para una explicación acerca de como funciona esto." + +# type: textblock +#~ msgid "dh_scrollkeeper - generate ScrollKeeper registration scripts" +#~ msgstr "dh_scrollkeeper - genera programas de registro de ScrollKeeper" + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "This command automatically adds maintainer script snippets for " +#~ "registering and unregistering files with ScrollKeeper (unless B<-n> is " +#~ "used). These snippets are inserted into the maintainer scripts by " +#~ "dh_installdeb. See L for an explanation of Debhelper " +#~ "maintainer script snippets." +#~ msgstr "" +#~ "Esta orden añade automáticamente partes del programa de desarrollador " +#~ "para registro y de-registro de ficheros con ScrollKeeper (a menos que se " +#~ "use la opción B<-n>). Vea L para explicación sobre las " +#~ "partes del programa Debhelper de desarrollador." + +# type: textblock +#~ msgid "" +#~ "It will also change any DTD declarations in the OMF and DocBook files to " +#~ "refer to local files instead of remote URLs. This change does not modify " +#~ "the source files, but the files in the package build tree." +#~ msgstr "" +#~ "También cambiará cualquier declaración DTD en los ficheros OMF y DocBook " +#~ "que se refieran a ficheros locales en lugar de URLs remotas. Este cambio " +#~ "no modifica los ficheros de origen, a excepción de los ficheros en el " +#~ "árbol de construcción del paquete." + +# type: textblock +#~ msgid "Do not modify F/F scripts." +#~ msgstr "No modifica programas F/F." + +# type: textblock +#~ msgid "dh_desktop - Register .desktop files" +#~ msgstr "dh_desktop - Registra ficheros .desktop" + +# type: textblock +#~ msgid "" +#~ "dh_desktop is a debhelper program that registers .desktop files. " +#~ "Currently this program does not handle installation of the files, though " +#~ "it may do so at a later date. It takes care of adding maintainer script " +#~ "fragments to call F." +#~ msgstr "" +#~ "dh_desktop es un programa de debhelper que registra ficheros .desktop. " +#~ "En la actualidad no gestiona la instalación de los ficheros, aunque puede " +#~ "que lo haga en un futuro. Se preocupa de añadir los fragmentos necesario " +#~ "para llamar a F en los scripts del desarrollador." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "If a file named debian/package.menu-method exits, then it is installed " +#~ "into etc/menu-methods/package in the package build directory. This is a " +#~ "debian menu method file. In this case, dh_installmenu also automatically " +#~ "generates the postinst and postrm commands needed to interface with the " +#~ "debian menu package. These commands are inserted into the maintainer " +#~ "scripts by dh_installdeb. See L for an explanation of " +#~ "how this works." +#~ msgstr "" +#~ "Además genera automáticamente las ordenes de postinst y postrm necesarias " +#~ "para interaccionar con el paquete menu de Debian. Lea L " +#~ "para una explicación acerca de como funciona esto." + +# type: textblock +#, fuzzy +#~ msgid "" #~ "Do not delete debian/files, or files listed in debian/clean. When do you " #~ "want to use this? Anytime you have a debian/rules that has 2 binary " #~ "targets that build different .deb packages; for example, one target is " diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/man/po4a/po/fr.po /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/man/po4a/po/fr.po --- debhelper-7.0.17ubuntu4/man/po4a/po/fr.po 2009-03-05 11:27:12.000000000 +0000 +++ debhelper-7.3.15ubuntu3/man/po4a/po/fr.po 2009-09-30 21:57:26.000000000 +0100 @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: debhelper manpages\n" -"POT-Creation-Date: 2009-03-05 11:27+0000\n" +"POT-Creation-Date: 2009-09-30 13:57-0600\n" "PO-Revision-Date: 2006-11-19 20:50+0100\n" "Last-Translator: Valery Perrin \n" "Language-Team: French \n" @@ -13,6 +13,7 @@ "X-Generator: KBabel 1.9.1\n" # type: =head1 +#. type: =head1 #: debhelper.pod:1 dh_builddeb:3 dh_clean:3 dh_compress:3 dh_desktop:3 #: dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_installcatalogs:3 #: dh_installchangelogs:3 dh_installcron:3 dh_installdebconf:3 dh_installdeb:3 @@ -28,11 +29,13 @@ msgstr "NOM" # type: textblock +#. type: textblock #: debhelper.pod:3 msgid "debhelper - the debhelper tool suite" msgstr "debhelper - ensemble d'outils regroupés sous le nom de debhelper" # type: =head1 +#. type: =head1 #: debhelper.pod:5 dh_builddeb:12 dh_clean:12 dh_compress:13 dh_desktop:12 #: dh_fixperms:12 dh_gconf:12 dh_gencontrol:12 dh_installcatalogs:14 #: dh_installchangelogs:12 dh_installcron:12 dh_installdebconf:12 @@ -49,6 +52,7 @@ msgstr "SYNOPSIS" # type: textblock +#. type: textblock #: debhelper.pod:7 msgid "" "BI<*> [B<-v>] [B<-a>] [B<-i>] [B<-s>] [B<--no-act>] [B<-ppackage>] [B<-" @@ -58,6 +62,7 @@ "Npaquet] [-Ptmpdir>]" # type: =head1 +#. type: =head1 #: debhelper.pod:9 dh_builddeb:16 dh_clean:16 dh_compress:17 dh_desktop:16 #: dh_fixperms:16 dh_gconf:16 dh_gencontrol:16 dh_installcatalogs:18 #: dh_installchangelogs:16 dh_installcron:16 dh_installdebconf:16 @@ -74,6 +79,7 @@ msgstr "DESCRIPTION" # type: textblock +#. type: textblock #: debhelper.pod:11 msgid "" "Debhelper is used to help you build a debian package. The philosophy behind " @@ -95,6 +101,7 @@ "règles." # type: textblock +#. type: textblock #: debhelper.pod:19 #, fuzzy msgid "" @@ -108,6 +115,7 @@ "dans F" # type: textblock +#. type: textblock #: debhelper.pod:23 msgid "" "To create a new debian package using debhelper, you can just copy one of the " @@ -124,11 +132,13 @@ "cours sur la construction d'un premier paquet avec debhelper." # type: =head1 +#. type: =head1 #: debhelper.pod:29 msgid "DEBHELPER COMMANDS" msgstr "COMMANDES DE DEBHELPER" # type: textblock +#. type: textblock #: debhelper.pod:31 msgid "" "Here is the complete list of available debhelper commands. See their man " @@ -138,11 +148,13 @@ "pages de manuel respectives pour obtenir des informations complémentaires." # type: textblock +#. type: textblock #: debhelper.pod:36 msgid "#LIST#" msgstr "#LIST#" # type: textblock +#. type: textblock #: debhelper.pod:40 msgid "" "If a program's name starts with \"dh_\", and the program is not on the above " @@ -155,11 +167,13 @@ "décrits dans cette page." # type: =head1 +#. type: =head1 #: debhelper.pod:44 msgid "DEBHELPER CONFIG FILES" msgstr "FICHIERS DE CONFIGURATION DE DEBHELPER" # type: textblock +#. type: textblock #: debhelper.pod:46 msgid "" "Many debhelper commands make use of files in F to control what they " @@ -178,6 +192,7 @@ "est, bien sûr, à remplacer par le nom du paquet concerné)." # type: textblock +#. type: textblock #: debhelper.pod:53 msgid "" "For example, dh_installdocs uses files named debian/package.docs to list the " @@ -196,6 +211,7 @@ "des paires fichier/destination voire des formats légèrement plus compliqués." # type: textblock +#. type: textblock #: debhelper.pod:60 msgid "" "Note that if a package is the first (or only) binary package listed in " @@ -207,13 +223,15 @@ "aucun fichier debian/paquet.toto n'est présent." # type: textblock +#. type: textblock #: debhelper.pod:64 #, fuzzy msgid "" "In some rare cases, you may want to have different versions of these files " -"for different architectures. If files named debian/package.foo.arch exist, " -"where \"arch\" is the same as the output of \"dpkg-architecture -" -"qDEB_HOST_ARCH\", then they will be used in preference to other, more " +"for different architectures or OSes. If files named debian/package.foo.ARCH " +"or debian/package.foo.OS exist, where \"ARCH\" and \"OS\" are the same as " +"the output of \"dpkg-architecture -qDEB_HOST_ARCH\" / \"dpkg-architecture -" +"qDEB_HOST_ARCH_OS\", then they will be used in preference to other, more " "general files." msgstr "" "Dans quelques rares cas, il peut être utile d'exploiter différentes versions " @@ -223,7 +241,8 @@ "préférence aux autres fichiers plus généraux." # type: textblock -#: debhelper.pod:70 +#. type: textblock +#: debhelper.pod:71 msgid "" "In many cases, these config files are used to specify various types of " "files. Documentation or example files to install, files to move, and so on. " @@ -238,7 +257,8 @@ "»>)." # type: textblock -#: debhelper.pod:75 +#. type: textblock +#: debhelper.pod:76 msgid "" "You can also put comments in these files; lines beginning with \"#\" are " "ignored." @@ -247,23 +267,27 @@ "lignes débutant par S<« # »> sont ignorées." # type: =head1 -#: debhelper.pod:78 +#. type: =head1 +#: debhelper.pod:79 msgid "SHARED DEBHELPER OPTIONS" msgstr "OPTIONS PARTAGÉES DE DEBHELPER" # type: textblock -#: debhelper.pod:80 +#. type: textblock +#: debhelper.pod:81 msgid "" "The following command line options are supported by all debhelper programs." msgstr "Tous les programmes de debhelper acceptent les options S" # type: =item -#: debhelper.pod:84 +#. type: =item +#: debhelper.pod:85 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" # type: textblock -#: debhelper.pod:86 +#. type: textblock +#: debhelper.pod:87 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -271,12 +295,14 @@ "de construction du paquet." # type: =item -#: debhelper.pod:88 +#. type: =item +#: debhelper.pod:89 msgid "B<--no-act>" msgstr "B<--no-act>" # type: textblock -#: debhelper.pod:90 +#. type: textblock +#: debhelper.pod:91 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -286,32 +312,38 @@ "fait." # type: =item -#: debhelper.pod:93 +#. type: =item +#: debhelper.pod:94 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" # type: textblock -#: debhelper.pod:95 +#. type: textblock +#: debhelper.pod:96 msgid "Act on all architecture dependent packages." msgstr "Construit tous les paquets dépendants d'une architecture." # type: =item -#: debhelper.pod:97 +#. type: =item +#: debhelper.pod:98 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" # type: textblock -#: debhelper.pod:99 +#. type: textblock +#: debhelper.pod:100 msgid "Act on all architecture independent packages." msgstr "Construit tous les paquets indépendants de l'architecture." # type: =item -#: debhelper.pod:101 +#. type: =item +#: debhelper.pod:102 msgid "B<->I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" # type: textblock -#: debhelper.pod:103 +#. type: textblock +#: debhelper.pod:104 msgid "" "Act on the package named \"package\". This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -320,12 +352,14 @@ "de faire agir debhelper sur plusieurs paquets." # type: =item -#: debhelper.pod:106 +#. type: =item +#: debhelper.pod:107 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" # type: textblock -#: debhelper.pod:108 +#. type: textblock +#: debhelper.pod:109 msgid "" "This is a smarter version of the -a flag, that is used in some rare " "circumstances. It understands that if the control file lists \"Architecture: " @@ -345,12 +379,14 @@ "paquets qui ne sont pas indépendants de l'architecture." # type: =item -#: debhelper.pod:116 +#. type: =item +#: debhelper.pod:117 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" # type: textblock -#: debhelper.pod:118 +#. type: textblock +#: debhelper.pod:119 msgid "" "Do not act on the specified package even if an -a, -i, or -p option lists " "the package as one that should be acted on." @@ -359,13 +395,32 @@ "a, -i ou -p l'impliquait." # type: =item -#: debhelper.pod:121 +#. type: =item +#: debhelper.pod:122 +#, fuzzy +msgid "B<--remaining-packages>" +msgstr "B<--mainpackage=>I" + +#. type: textblock +#: debhelper.pod:124 +msgid "" +"Do not act on the packages which have already been acted on by this " +"debhelper command earlier (i.e. if the command is present in the package " +"debhelper log). For example, if you need to call the command with special " +"options only for a couple of binary packages, pass this option to the last " +"call of the command to process the rest of packages with default settings." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:130 #, fuzzy msgid "B<--ignore=>I" msgstr "B<--name=>I" # type: textblock -#: debhelper.pod:123 +#. type: textblock +#: debhelper.pod:132 msgid "" "Ignore the specified file. This can be used if debian/ contains a debhelper " "config file that a debhelper command should not act on. Note that debian/" @@ -374,19 +429,22 @@ msgstr "" # type: textblock -#: debhelper.pod:128 +#. type: textblock +#: debhelper.pod:137 msgid "" "For example, if upstream ships a debian/init that you don't want " "dh_installinit to install, use --ignore=debian/init" msgstr "" # type: =item -#: debhelper.pod:131 +#. type: =item +#: debhelper.pod:140 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" # type: textblock -#: debhelper.pod:133 +#. type: textblock +#: debhelper.pod:142 msgid "" "Use \"tmpdir\" for package build directory. The default is debian/" msgstr "" @@ -394,12 +452,14 @@ "défaut, le répertoire utilisé est S<« debian/I »>" # type: =item -#: debhelper.pod:135 +#. type: =item +#: debhelper.pod:144 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" # type: textblock -#: debhelper.pod:137 +#. type: textblock +#: debhelper.pod:146 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in debian/control, and the " @@ -413,12 +473,14 @@ "control." # type: =head1 -#: debhelper.pod:144 +#. type: =head1 +#: debhelper.pod:153 msgid "COMMON DEBHELPER OPTIONS" msgstr "OPTIONS COURANTES DE DEBHELPER" # type: textblock -#: debhelper.pod:146 +#. type: textblock +#: debhelper.pod:155 msgid "" "The following command line options are supported by some debhelper " "programs. See the man page of each program for a complete explanation of " @@ -429,25 +491,29 @@ "complète du rôle de ces options." # type: =item -#: debhelper.pod:152 +#. type: =item +#: debhelper.pod:161 msgid "B<-n>" msgstr "B<-n>" # type: textblock -#: debhelper.pod:154 +#. type: textblock +#: debhelper.pod:163 msgid "Do not modify postinst/postrm/etc scripts." msgstr "" "Ne pas modifier les scripts de maintenance du paquet (postinst, postrm, " "etc.)." # type: =item -#: debhelper.pod:156 dh_compress:42 dh_makeshlibs:66 dh_md5sums:37 +#. type: =item +#: debhelper.pod:165 dh_compress:43 dh_makeshlibs:66 dh_md5sums:37 #: dh_shlibdeps:36 dh_strip:39 msgid "B<-X>I, B<--exclude=>I" msgstr "B<-X>I<élément>, B<--exclude=>I<élément>" # type: textblock -#: debhelper.pod:158 +#. type: textblock +#: debhelper.pod:167 msgid "" "Exclude an item from processing. This option may be used multiple times, to " "exclude more than one thing." @@ -456,13 +522,15 @@ "plusieurs fois afin d'exclure plusieurs éléments." # type: =item -#: debhelper.pod:161 dh_compress:50 dh_installdirs:32 dh_installdocs:55 -#: dh_installexamples:33 dh_installinfo:41 dh_installman:62 dh_link:52 +#. type: =item +#: debhelper.pod:170 dh_compress:51 dh_installdirs:32 dh_installdocs:53 +#: dh_installexamples:33 dh_installinfo:32 dh_installman:62 dh_link:52 msgid "B<-A>, B<--all>" msgstr "B<-A>, B<--all>" # type: textblock -#: debhelper.pod:163 +#. type: textblock +#: debhelper.pod:172 msgid "" "Makes files or other items that are specified on the command line take " "effect in ALL packages acted on, not just the first." @@ -470,22 +538,115 @@ "Précise que les fichiers (ou autres éléments) indiqués dans la ligne de " "commande concernent TOUS les paquets construits et pas seulement le premier." +#. type: =head1 +#: debhelper.pod:177 +msgid "BUILD SYSTEM OPTIONS" +msgstr "" + +#. type: textblock +#: debhelper.pod:179 +msgid "" +"The following command line options are supported by all of the dh_auto_* " +"debhelper programs. These programs support a variety of build systems, and " +"normally heuristically determine which to use, and how to use them. You can " +"use these command line options to override the default behavior." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:186 +#, fuzzy +msgid "B<-S>I, B<--buildsystem=>I" +msgstr "B<-X>I<élément>, B<--exclude=>I<élément>" + +#. type: textblock +#: debhelper.pod:188 +msgid "" +"Force use of the specified I, instead of trying to auto-select " +"one which might be applicable for the package." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:191 +#, fuzzy +msgid "B<-D>I, B<--sourcedirectory=>I" +msgstr "B<-l>I[:répertoire:répertoire:..]" + +#. type: textblock +#: debhelper.pod:193 +msgid "" +"Assume that the original package source tree is at the specified " +"I rather than the top level directory of the Debian source " +"package tree." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:197 +#, fuzzy +msgid "B<-B>[I], B<--builddirectory>=[I]" +msgstr "B<-l>I[:répertoire:répertoire:..]" + +#. type: textblock +#: debhelper.pod:199 +msgid "" +"Enable out of source building and use the specified I as the " +"build directory. If I parameter is omitted, a default build " +"directory will chosen." +msgstr "" + +#. type: textblock +#: debhelper.pod:203 +msgid "" +"If this option is not specified, building will be done in source by default " +"unless the build system requires or prefers out of source tree building. In " +"such a case, the default build directory will be used even if L<--" +"builddirectory> is not specified." +msgstr "" + +#. type: textblock +#: debhelper.pod:208 +msgid "" +"If the build system prefers out of source tree building but still allows in " +"source building, the latter can be re-enabled by passing a build directory " +"path that is the same as the source directory path." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:212 +#, fuzzy +msgid "B<--list>, B<-l>" +msgstr "B<-A>, B<--all>" + +#. type: textblock +#: debhelper.pod:214 +msgid "" +"List all build systems supported by debhelper on this system. The list " +"includes both default and third party build systems (marked as such). Also " +"shows which build system would be automatically selected, or which one is " +"manually specified with the I<--buildsystem> option." +msgstr "" + # type: =head1 -#: debhelper.pod:168 dh_installcatalogs:52 dh_installdocs:87 -#: dh_installemacsen:54 dh_installexamples:50 dh_installinfo:57 -#: dh_installinit:110 dh_installman:79 dh_installmime:41 dh_installmodules:60 -#: dh_installwm:53 dh_installxfonts:37 dh_movefiles:58 dh_scrollkeeper:42 -#: dh_strip:68 dh_usrlocal:49 +#. type: =head1 +#: debhelper.pod:221 dh_installcatalogs:52 dh_installdocs:81 +#: dh_installemacsen:54 dh_installexamples:50 dh_installinit:141 +#: dh_installman:79 dh_installmime:41 dh_installmodules:60 dh_installwm:53 +#: dh_installxfonts:37 dh_movefiles:58 dh_strip:68 dh_usrlocal:49 msgid "NOTES" msgstr "REMARQUES" # type: =head2 -#: debhelper.pod:170 +#. type: =head2 +#: debhelper.pod:223 msgid "Multiple binary package support" msgstr "Prise en charge de plusieurs paquets binaires" # type: textblock -#: debhelper.pod:172 +#. type: textblock +#: debhelper.pod:225 msgid "" "If your source package generates more than one binary package, debhelper " "programs will default to acting on all binary packages when run. If your " @@ -504,7 +665,8 @@ "dans la cible binary-indep." # type: textblock -#: debhelper.pod:180 +#. type: textblock +#: debhelper.pod:233 msgid "" "To facilitate this, as well as give you more control over which packages are " "acted on by debhelper programs, all debhelper programs accept the B<-a>, B<-" @@ -519,12 +681,14 @@ "paquets énumérés dans le fichier de contrôle." # type: =head2 -#: debhelper.pod:186 +#. type: =head2 +#: debhelper.pod:239 msgid "Automatic generation of debian install scripts" msgstr "Génération automatique des scripts Debian de maintenance du paquet" # type: textblock -#: debhelper.pod:188 +#. type: textblock +#: debhelper.pod:241 msgid "" "Some debhelper commands will automatically generate parts of debian " "maintainer scripts. If you want these automatically generated things " @@ -541,7 +705,8 @@ "l'exécution de dh_installdeb." # type: textblock -#: debhelper.pod:195 +#. type: textblock +#: debhelper.pod:248 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." @@ -550,7 +715,8 @@ "quelque chose, alors debhelper créera le script de maintenance complètement." # type: textblock -#: debhelper.pod:198 +#. type: textblock +#: debhelper.pod:251 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." @@ -560,7 +726,8 @@ "(voir ci-dessus)." # type: textblock -#: debhelper.pod:201 +#. type: textblock +#: debhelper.pod:254 msgid "" "Note that the inserted code will be shell code, so you cannot directly use " "it in a perl script. If you would like to embed it into a perl script, here " @@ -574,7 +741,8 @@ "la commande set.)" # type: verbatim -#: debhelper.pod:206 +#. type: verbatim +#: debhelper.pod:259 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -592,12 +760,14 @@ "\n" # type: =head2 -#: debhelper.pod:212 +#. type: =head2 +#: debhelper.pod:265 msgid "Automatic generation of miscellaneous dependencies." msgstr "Génération automatique des diverses dépendances." # type: textblock -#: debhelper.pod:214 +#. type: textblock +#: debhelper.pod:267 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -616,7 +786,8 @@ "offre une solution d'automatisation." # type: textblock -#: debhelper.pod:222 +#. type: textblock +#: debhelper.pod:275 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called " @@ -630,7 +801,8 @@ "des dépendances induites par debhelper." # type: textblock -#: debhelper.pod:227 +#. type: textblock +#: debhelper.pod:280 msgid "" "This is entirely independent of the standard ${shlibs:Depends} generated by " "L, and the ${perl:Depends} generated by L. " @@ -643,12 +815,14 @@ "si les conjectures de debhelper ne correspondent pas la réalité." # type: =head2 -#: debhelper.pod:232 +#. type: =head2 +#: debhelper.pod:285 msgid "Package build directories" msgstr "Répertoires de construction du paquet" # type: textblock -#: debhelper.pod:234 +#. type: textblock +#: debhelper.pod:287 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/." @@ -658,7 +832,8 @@ "est debian/I." # type: textblock -#: debhelper.pod:237 +#. type: textblock +#: debhelper.pod:290 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the -P flag. For example, \"dh_installdocs -Pdebian/tmp\", will " @@ -677,12 +852,14 @@ "l'unique paquet binaire à construire." # type: =head2 -#: debhelper.pod:245 +#. type: =head2 +#: debhelper.pod:298 msgid "Debhelper compatibility levels" msgstr "Niveaux de compatibilité de debhelper" # type: textblock -#: debhelper.pod:247 +#. type: textblock +#: debhelper.pod:300 msgid "" "From time to time, major non-backwards-compatible changes need to be made to " "debhelper, to keep it clean and well-designed as needs change and its author " @@ -701,7 +878,8 @@ "comportement de diverses manières." # type: textblock -#: debhelper.pod:254 +#. type: textblock +#: debhelper.pod:307 #, fuzzy msgid "" "Tell debhelper what compatibility level to use by writing a number to debian/" @@ -712,7 +890,8 @@ "S" # type: verbatim -#: debhelper.pod:257 +#. type: verbatim +#: debhelper.pod:310 #, fuzzy, no-wrap msgid "" " % echo 7 > debian/compat\n" @@ -722,7 +901,8 @@ "\n" # type: textblock -#: debhelper.pod:259 +#. type: textblock +#: debhelper.pod:312 msgid "" "Unless otherwise indicated, all debhelper documentation assumes that you are " "using the most recent compatibility level, and in most cases does not " @@ -739,17 +919,20 @@ "compatibilité antérieurs." # type: textblock -#: debhelper.pod:266 +#. type: textblock +#: debhelper.pod:319 msgid "These are the available compatibility levels:" msgstr "Les niveaux de compatibilité sont les S" # type: =item -#: debhelper.pod:270 +#. type: =item +#: debhelper.pod:323 msgid "V1" msgstr "V1" # type: textblock -#: debhelper.pod:272 +#. type: textblock +#: debhelper.pod:325 msgid "" "This is the original debhelper compatibility level, and so it is the default " "one. In this mode, debhelper will use debian/tmp as the package tree " @@ -762,17 +945,20 @@ "et debian/I pour tous les autres. Ce mode est déconseillé." # type: textblock -#: debhelper.pod:277 debhelper.pod:284 debhelper.pod:307 +#. type: textblock +#: debhelper.pod:330 debhelper.pod:337 debhelper.pod:360 debhelper.pod:389 msgid "This mode is deprecated." msgstr "Ce mode est déconseillé." # type: =item -#: debhelper.pod:279 +#. type: =item +#: debhelper.pod:332 msgid "V2" msgstr "V2" # type: textblock -#: debhelper.pod:281 +#. type: textblock +#: debhelper.pod:334 msgid "" "In this mode, debhelper will consistently use debian/ as the " "package tree directory for every package that is built." @@ -781,26 +967,30 @@ "répertoire de l'arborescence de chaque paquet construit." # type: =item -#: debhelper.pod:286 +#. type: =item +#: debhelper.pod:339 msgid "V3" msgstr "V3" # type: textblock -#: debhelper.pod:288 +#. type: textblock +#: debhelper.pod:341 msgid "This mode works like V2, with the following additions:" msgstr "Ce mode fonctionne comme V2 mais avec les ajouts S" # type: =item -#: debhelper.pod:292 debhelper.pod:297 debhelper.pod:301 debhelper.pod:315 -#: debhelper.pod:320 debhelper.pod:325 debhelper.pod:330 debhelper.pod:342 -#: debhelper.pod:346 debhelper.pod:351 debhelper.pod:355 debhelper.pod:367 -#: debhelper.pod:372 debhelper.pod:378 debhelper.pod:384 debhelper.pod:399 -#: debhelper.pod:406 debhelper.pod:410 debhelper.pod:414 +#. type: =item +#: debhelper.pod:345 debhelper.pod:350 debhelper.pod:354 debhelper.pod:368 +#: debhelper.pod:373 debhelper.pod:378 debhelper.pod:383 debhelper.pod:397 +#: debhelper.pod:401 debhelper.pod:406 debhelper.pod:410 debhelper.pod:422 +#: debhelper.pod:427 debhelper.pod:433 debhelper.pod:439 debhelper.pod:454 +#: debhelper.pod:461 debhelper.pod:465 debhelper.pod:469 msgid "-" msgstr "-" # type: textblock -#: debhelper.pod:294 +#. type: textblock +#: debhelper.pod:347 msgid "" "Debhelper config files support globbing via * and ?, when appropriate. To " "turn this off and use those characters raw, just prefix with a backslash." @@ -811,14 +1001,16 @@ "oblique (backslash)." # type: textblock -#: debhelper.pod:299 +#. type: textblock +#: debhelper.pod:352 msgid "dh_makeshlibs makes the postinst and postrm scripts call ldconfig." msgstr "" "Les scripts de maintenance du paquet (postinst et postrm) feront appel à " "ldconfig quand dh_makeshlibs sera lancé." # type: textblock -#: debhelper.pod:303 +#. type: textblock +#: debhelper.pod:356 msgid "" "Every file in etc/ is automatically flagged as a conffile by dh_installdeb." msgstr "" @@ -826,17 +1018,20 @@ "fichier de configuration." # type: =item -#: debhelper.pod:309 +#. type: =item +#: debhelper.pod:362 msgid "V4" msgstr "V4" # type: textblock -#: debhelper.pod:311 +#. type: textblock +#: debhelper.pod:364 msgid "Changes from V3 are:" msgstr "Les changements par rapport à la version 3 S" # type: textblock -#: debhelper.pod:317 +#. type: textblock +#: debhelper.pod:370 msgid "" "dh_makeshlibs -V will not include the debian part of the version number in " "the generated dependency line in the shlibs file." @@ -845,7 +1040,8 @@ "ligne de dépendance produite dans le fichier shlibs." # type: textblock -#: debhelper.pod:322 +#. type: textblock +#: debhelper.pod:375 msgid "" "You are encouraged to put the new ${misc:Depends} into debian/control to " "supplement the ${shlibs:Depends} field." @@ -854,7 +1050,8 @@ "control pour compléter ${shlibs:Depends}." # type: textblock -#: debhelper.pod:327 +#. type: textblock +#: debhelper.pod:380 msgid "" "dh_fixperms will make all files in bin/ directories and in etc/init.d " "executable." @@ -863,32 +1060,37 @@ "init.d." # type: textblock -#: debhelper.pod:332 +#. type: textblock +#: debhelper.pod:385 msgid "dh_link will correct existing links to conform with policy." msgstr "" "dh_link corrigera les liens existants pour les rendre conformes à la Charte " "Debian." # type: =item -#: debhelper.pod:336 +#. type: =item +#: debhelper.pod:391 msgid "V5" msgstr "V5" # type: textblock -#: debhelper.pod:338 +#. type: textblock +#: debhelper.pod:393 #, fuzzy msgid "Changes from V4 are:" msgstr "Les changements par rapport à la version 3 S" # type: textblock -#: debhelper.pod:344 +#. type: textblock +#: debhelper.pod:399 msgid "Comments are ignored in debhelper config files." msgstr "" "Les commentaires sont ignorés dans les fichiers de configuration de " "debhelper." # type: textblock -#: debhelper.pod:348 +#. type: textblock +#: debhelper.pod:403 msgid "" "dh_strip --dbg-package now specifies the name of a package to put debugging " "symbols in, not the packages to take the symbols from." @@ -898,37 +1100,43 @@ "symboles." # type: textblock -#: debhelper.pod:353 +#. type: textblock +#: debhelper.pod:408 msgid "dh_installdocs skips installing empty files." msgstr "dh_installdocs saute l'installation des fichiers vides." # type: textblock -#: debhelper.pod:357 +#. type: textblock +#: debhelper.pod:412 msgid "dh_install errors out if wildcards expand to nothing." msgstr "" "dh_install génère des erreurs si les jokers (wildcards) ne correspondent à " "rien." # type: =item -#: debhelper.pod:361 +#. type: =item +#: debhelper.pod:416 msgid "V6" msgstr "" # type: textblock -#: debhelper.pod:363 +#. type: textblock +#: debhelper.pod:418 #, fuzzy msgid "Changes from V5 are:" msgstr "Les changements par rapport à la version 3 S" # type: textblock -#: debhelper.pod:369 +#. type: textblock +#: debhelper.pod:424 msgid "" -"Commands that generate maintainer script fragements will order the " -"fragements in reverse order for the prerm and postrm scripts." +"Commands that generate maintainer script fragments will order the fragments " +"in reverse order for the prerm and postrm scripts." msgstr "" # type: textblock -#: debhelper.pod:374 +#. type: textblock +#: debhelper.pod:429 #, fuzzy msgid "" "dh_installwm will install a slave manpage link for x-window-manager.1.gz, if " @@ -936,7 +1144,8 @@ msgstr "dh_installwm - inscrit un gestionnaire de fenêtre (window manager)" # type: textblock -#: debhelper.pod:380 +#. type: textblock +#: debhelper.pod:435 msgid "" "dh_builddeb did not previously delete everything matching DH_ALWAYS_EXCLUDE, " "if it was set to a list of things to exclude, such as \"CVS:.svn:.git\". Now " @@ -944,19 +1153,22 @@ msgstr "" # type: textblock -#: debhelper.pod:386 +#. type: textblock +#: debhelper.pod:441 msgid "" "dh_installman allows overwriting existing man pages in the package build " "directory. In previous compatibility levels it silently refuses to do this." msgstr "" # type: =item -#: debhelper.pod:391 +#. type: =item +#: debhelper.pod:446 msgid "V7" msgstr "" # type: textblock -#: debhelper.pod:393 +#. type: textblock +#: debhelper.pod:448 #, fuzzy msgid "This is the recommended mode of operation." msgstr "" @@ -964,44 +1176,51 @@ "version V4 S" # type: textblock -#: debhelper.pod:395 +#. type: textblock +#: debhelper.pod:450 #, fuzzy msgid "Changes from V6 are:" msgstr "Les changements par rapport à la version 3 S" # type: textblock -#: debhelper.pod:401 +#. type: textblock +#: debhelper.pod:456 msgid "" "dh_install, will fall back to looking for files in debian/tmp if it doesn't " "find them in the current directory (or wherever you tell it look using --" -"srcdir). This allows dh_install to interoperate with dh_auto_install, which " -"installs to debian/tmp, without needing any special parameters." +"sourcedir). This allows dh_install to interoperate with dh_auto_install, " +"which installs to debian/tmp, without needing any special parameters." msgstr "" # type: textblock -#: debhelper.pod:408 +#. type: textblock +#: debhelper.pod:463 msgid "dh_clean will read debian/clean and delete files listed there." msgstr "" # type: textblock -#: debhelper.pod:412 +#. type: textblock +#: debhelper.pod:467 msgid "dh_clean will delete toplevel *-stamp files." msgstr "" # type: textblock -#: debhelper.pod:416 +#. type: textblock +#: debhelper.pod:471 msgid "" "dh_installchangelogs will guess at what file is the upstream changelog if " "none is specified." msgstr "" # type: =head2 -#: debhelper.pod:423 +#. type: =head2 +#: debhelper.pod:478 msgid "Doc directory symlinks" msgstr "Liens symboliques vers le répertoire de documentation" # type: textblock -#: debhelper.pod:425 +#. type: textblock +#: debhelper.pod:480 msgid "" "Sometimes it is useful to make a package not contain a /usr/share/doc/" "package directory at all, instead placing just a dangling symlink in the " @@ -1024,12 +1243,14 @@ "l'air »> et ne pas essayer d'installer un fichier copyright ou changelog." # type: =head2 -#: debhelper.pod:434 +#. type: =head2 +#: debhelper.pod:489 msgid "udebs" msgstr "udebs" # type: textblock -#: debhelper.pod:436 +#. type: textblock +#: debhelper.pod:491 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"XC-Package-Type: udeb\" to the package's stanza in debian/control, and " @@ -1048,12 +1269,14 @@ "les scripts de configuration, etc." # type: =head2 -#: debhelper.pod:443 +#. type: =head2 +#: debhelper.pod:498 msgid "Other notes" msgstr "Autres remarques" # type: textblock -#: debhelper.pod:445 +#. type: textblock +#: debhelper.pod:500 msgid "" "In general, if any debhelper program needs a directory to exist under " "debian/, it will create it. I haven't bothered to document this in all the " @@ -1070,7 +1293,8 @@ "fichiers menu, etc." # type: textblock -#: debhelper.pod:451 +#. type: textblock +#: debhelper.pod:506 #, fuzzy msgid "" "Once your package uses debhelper to build, be sure to add debhelper to your " @@ -1086,7 +1310,8 @@ "le paquet emploie le niveau 5 de S" # type: verbatim -#: debhelper.pod:457 +#. type: verbatim +#: debhelper.pod:512 #, fuzzy, no-wrap msgid "" " Build-Depends: debhelper (>= 7)\n" @@ -1096,17 +1321,20 @@ "\n" # type: =head1 -#: debhelper.pod:459 +#. type: =head1 +#: debhelper.pod:514 msgid "ENVIRONMENT" msgstr "VARIABLES D'ENVIRONNEMENT" # type: =item -#: debhelper.pod:463 +#. type: =item +#: debhelper.pod:518 msgid "DH_VERBOSE" msgstr "DH_VERBOSE" # type: textblock -#: debhelper.pod:465 +#. type: textblock +#: debhelper.pod:520 msgid "" "Set to 1 to enable verbose mode. Debhelper will output every command it runs " "that modifies files on the build system." @@ -1115,12 +1343,14 @@ "commande exécutée qui modifie des fichiers." # type: =item -#: debhelper.pod:468 +#. type: =item +#: debhelper.pod:523 msgid "DH_COMPAT" msgstr "DH_COMPAT" # type: textblock -#: debhelper.pod:470 +#. type: textblock +#: debhelper.pod:525 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value in debian/compat." @@ -1129,28 +1359,41 @@ "fonctionner. Cette valeur supplante la valeur précisée dans debian/compat." # type: =item -#: debhelper.pod:473 +#. type: =item +#: debhelper.pod:528 msgid "DH_NO_ACT" msgstr "DH_NO_ACT" # type: textblock -#: debhelper.pod:475 +#. type: textblock +#: debhelper.pod:530 msgid "Set to 1 to enable no-act mode." msgstr "Mettre cette variable à 1 pour activer le mode simulation (no-act)." # type: =item -#: debhelper.pod:477 +#. type: =item +#: debhelper.pod:532 msgid "DH_OPTIONS" msgstr "DH_OPTIONS" # type: textblock -#: debhelper.pod:479 +#. type: textblock +#: debhelper.pod:534 msgid "" "Anything in this variable will be prepended to the command line arguments of " -"all debhelper commands. This is useful in some situations, for example, if " -"you need to pass -p to all debhelper commands that will be run. One good way " -"to set DH_OPTIONS is by using \"Target-specific Variable Values\" in your " -"debian/rules file. See the make documentation for details on doing this." +"all debhelper commands. Command-specific options will be ignored by commands " +"that do not support them." +msgstr "" + +# type: textblock +#. type: textblock +#: debhelper.pod:538 +#, fuzzy +msgid "" +"This is useful in some situations, for example, if you need to pass -p to " +"all debhelper commands that will be run. One good way to set DH_OPTIONS is " +"by using \"Target-specific Variable Values\" in your debian/rules file. See " +"the make documentation for details on doing this." msgstr "" "Le contenu de cette variable sera ajouté au début des arguments de chaque " "ligne de commande de debhelper. Ce comportement est utile dans quelques " @@ -1161,12 +1404,14 @@ "cette méthode." # type: =item -#: debhelper.pod:485 +#. type: =item +#: debhelper.pod:543 msgid "DH_ALWAYS_EXCLUDE" msgstr "DH_ALWAYS_EXCLUDE" # type: textblock -#: debhelper.pod:487 +#. type: textblock +#: debhelper.pod:545 msgid "" "If set, this adds the value the variable is set to to the -X options of all " "commands that support the -X option. Moreover, dh_builddeb will rm -rf " @@ -1178,7 +1423,8 @@ "construction de paquet." # type: textblock -#: debhelper.pod:491 +#. type: textblock +#: debhelper.pod:549 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting DH_ALWAYS_EXCLUDE=CVS will prevent any CVS directories from " @@ -1196,7 +1442,8 @@ "soit l'endroit où le paquet est construit." # type: textblock -#: debhelper.pod:498 +#. type: textblock +#: debhelper.pod:556 msgid "" "Multiple things to exclude can be separated with colons, as in " "DH_ALWAYS_EXCLUDE=CVS:.svn" @@ -1205,81 +1452,89 @@ "dans DH_ALWAYS_EXCLUDE=CVS:.svn" # type: =head1 -#: debhelper.pod:503 dh_builddeb:85 dh_clean:128 dh_compress:190 dh_desktop:47 -#: dh_fixperms:110 dh_gconf:92 dh_gencontrol:74 dh_installcatalogs:109 -#: dh_installchangelogs:140 dh_installcron:61 dh_installdebconf:118 -#: dh_installdeb:94 dh_installdirs:83 dh_installdocs:237 dh_installemacsen:109 -#: dh_installexamples:103 dh_installinfo:103 dh_installinit:216 +#. type: =head1 +#: debhelper.pod:561 dh_builddeb:88 dh_clean:130 dh_compress:192 dh_desktop:27 +#: dh_fixperms:122 dh_gconf:104 dh_gencontrol:79 dh_installcatalogs:109 +#: dh_installchangelogs:147 dh_installcron:61 dh_installdebconf:118 +#: dh_installdeb:97 dh_installdirs:83 dh_installdocs:223 dh_installemacsen:111 +#: dh_installexamples:103 dh_installinfo:74 dh_installinit:320 #: dh_installlogcheck:51 dh_installlogrotate:50 dh_installmanpages:197 -#: dh_installman:249 dh_installmenu:80 dh_installmime:85 dh_installmodules:126 -#: dh_installpam:52 dh_install:268 dh_installppp:56 dh_installwm:107 -#: dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:222 -#: dh_md5sums:86 dh_movefiles:162 dh_perl:152 dh_python:282 dh_scrollkeeper:76 -#: dh_shlibdeps:159 dh_strip:224 dh_suidregister:117 dh_testdir:44 +#: dh_installman:251 dh_installmenu:80 dh_installmime:85 dh_installmodules:124 +#: dh_installpam:52 dh_install:267 dh_installppp:56 dh_installwm:107 +#: dh_installxfonts:86 dh_link:223 dh_listpackages:29 dh_makeshlibs:227 +#: dh_md5sums:89 dh_movefiles:164 dh_perl:145 dh_python:282 dh_scrollkeeper:28 +#: dh_shlibdeps:168 dh_strip:227 dh_suidregister:117 dh_testdir:44 #: dh_testroot:27 dh_testversion:75 dh_undocumented:28 dh_usrlocal:114 msgid "SEE ALSO" msgstr "VOIR AUSSI" # type: =item -#: debhelper.pod:507 +#. type: =item +#: debhelper.pod:565 msgid "F" msgstr "F" # type: textblock -#: debhelper.pod:509 +#. type: textblock +#: debhelper.pod:567 msgid "A set of example debian/rules files that use debhelper." msgstr "" "Un ensemble d'exemples de fichiers debian/rules qui utilisent debhelper." # type: =item -#: debhelper.pod:511 +#. type: =item +#: debhelper.pod:569 msgid "L" msgstr "L" # type: textblock -#: debhelper.pod:513 +#. type: textblock +#: debhelper.pod:571 msgid "Debhelper web site." msgstr "Le site internet de debhelper." # type: =head1 -#: debhelper.pod:517 dh_builddeb:91 dh_clean:134 dh_compress:196 dh_desktop:53 -#: dh_fixperms:116 dh_gconf:98 dh_gencontrol:80 dh_installcatalogs:115 -#: dh_installchangelogs:146 dh_installcron:67 dh_installdebconf:124 -#: dh_installdeb:100 dh_installdirs:89 dh_installdocs:243 -#: dh_installemacsen:115 dh_installexamples:109 dh_installinfo:109 -#: dh_installinit:222 dh_installlogcheck:57 dh_installlogrotate:56 -#: dh_installmanpages:203 dh_installman:255 dh_installmenu:88 -#: dh_installmime:91 dh_installmodules:132 dh_installpam:58 dh_install:274 -#: dh_installppp:62 dh_installwm:113 dh_installxfonts:92 dh_link:229 -#: dh_listpackages:35 dh_makeshlibs:228 dh_md5sums:92 dh_movefiles:168 -#: dh_perl:158 dh_python:288 dh_scrollkeeper:82 dh_shlibdeps:165 dh_strip:230 -#: dh_suidregister:123 dh_testdir:50 dh_testroot:33 dh_testversion:81 -#: dh_undocumented:34 dh_usrlocal:120 +#. type: =head1 +#: debhelper.pod:575 dh_builddeb:94 dh_clean:136 dh_compress:198 dh_desktop:33 +#: dh_fixperms:128 dh_gconf:110 dh_gencontrol:85 dh_installcatalogs:115 +#: dh_installchangelogs:153 dh_installcron:67 dh_installdebconf:124 +#: dh_installdeb:103 dh_installdirs:89 dh_installdocs:229 +#: dh_installemacsen:117 dh_installexamples:109 dh_installinfo:80 +#: dh_installlogcheck:57 dh_installlogrotate:56 dh_installmanpages:203 +#: dh_installman:257 dh_installmenu:88 dh_installmime:91 dh_installmodules:130 +#: dh_installpam:58 dh_install:273 dh_installppp:62 dh_installwm:113 +#: dh_installxfonts:92 dh_link:229 dh_listpackages:35 dh_makeshlibs:233 +#: dh_md5sums:95 dh_movefiles:170 dh_perl:151 dh_python:288 dh_scrollkeeper:34 +#: dh_shlibdeps:174 dh_strip:233 dh_suidregister:123 dh_testdir:50 +#: dh_testroot:33 dh_testversion:81 dh_undocumented:34 dh_usrlocal:120 msgid "AUTHOR" msgstr "AUTEUR" # type: textblock -#: debhelper.pod:519 dh_builddeb:93 dh_clean:136 dh_compress:198 -#: dh_fixperms:118 dh_gencontrol:82 dh_installchangelogs:148 dh_installcron:69 -#: dh_installdebconf:126 dh_installdeb:102 dh_installdirs:91 -#: dh_installdocs:245 dh_installemacsen:117 dh_installexamples:111 -#: dh_installinfo:111 dh_installinit:224 dh_installlogrotate:58 -#: dh_installmanpages:205 dh_installman:257 dh_installmenu:90 -#: dh_installmime:93 dh_installmodules:134 dh_installpam:60 dh_install:276 -#: dh_installppp:64 dh_installwm:115 dh_installxfonts:94 dh_link:231 -#: dh_listpackages:37 dh_makeshlibs:230 dh_md5sums:94 dh_movefiles:170 -#: dh_shlibdeps:167 dh_strip:232 dh_suidregister:125 dh_testdir:52 -#: dh_testroot:35 dh_testversion:83 dh_undocumented:36 +#. type: textblock +#: debhelper.pod:577 dh_builddeb:96 dh_clean:138 dh_compress:200 +#: dh_fixperms:130 dh_gencontrol:87 dh_installchangelogs:155 dh_installcron:69 +#: dh_installdebconf:126 dh_installdeb:105 dh_installdirs:91 +#: dh_installdocs:231 dh_installemacsen:119 dh_installexamples:111 +#: dh_installinfo:82 dh_installlogrotate:58 dh_installmanpages:205 +#: dh_installman:259 dh_installmenu:90 dh_installmime:93 dh_installmodules:132 +#: dh_installpam:60 dh_install:275 dh_installppp:64 dh_installwm:115 +#: dh_installxfonts:94 dh_link:231 dh_listpackages:37 dh_makeshlibs:235 +#: dh_md5sums:97 dh_movefiles:172 dh_shlibdeps:176 dh_strip:235 +#: dh_suidregister:125 dh_testdir:52 dh_testroot:35 dh_testversion:83 +#: dh_undocumented:36 msgid "Joey Hess " msgstr "Joey Hess " # type: textblock +#. type: textblock #: dh_builddeb:5 #, fuzzy msgid "dh_builddeb - build debian binary packages" msgstr "dh_builddeb - Construction des paquets Debian" # type: textblock +#. type: textblock #: dh_builddeb:14 msgid "" "B [S>] [B<--destdir=>I] [B<--" @@ -1289,34 +1544,38 @@ "[B<--filename=>I] [S I>]" # type: textblock +#. type: textblock #: dh_builddeb:18 +#, fuzzy msgid "" -"dh_builddeb simply calls L to build a debian package or " +"dh_builddeb simply calls L to build a debian package or " "packages." msgstr "" "dh_builddeb fait simplement appel à L pour construire un ou " "plusieurs paquet(s) Debian." # type: =head1 -#: dh_builddeb:21 dh_clean:33 dh_compress:38 dh_fixperms:31 dh_gconf:34 +#. type: =head1 +#: dh_builddeb:21 dh_clean:33 dh_compress:39 dh_fixperms:31 dh_gconf:39 #: dh_gencontrol:26 dh_installcatalogs:42 dh_installchangelogs:44 -#: dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:51 -#: dh_installemacsen:35 dh_installexamples:29 dh_installinfo:37 -#: dh_installinit:33 dh_installlogrotate:22 dh_installmanpages:40 +#: dh_installcron:24 dh_installdebconf:50 dh_installdirs:28 dh_installdocs:49 +#: dh_installemacsen:35 dh_installexamples:29 dh_installinfo:28 +#: dh_installinit:48 dh_installlogrotate:22 dh_installmanpages:40 #: dh_installman:58 dh_installmenu:34 dh_installmime:31 dh_installmodules:43 #: dh_installpam:24 dh_install:47 dh_installppp:26 dh_installwm:32 dh_link:48 #: dh_makeshlibs:28 dh_md5sums:28 dh_movefiles:32 dh_perl:31 dh_python:39 -#: dh_scrollkeeper:32 dh_shlibdeps:26 dh_strip:35 dh_testdir:23 -#: dh_testversion:34 dh_usrlocal:39 +#: dh_shlibdeps:26 dh_strip:35 dh_testdir:23 dh_testversion:34 dh_usrlocal:39 msgid "OPTIONS" msgstr "OPTIONS" # type: =item +#. type: =item #: dh_builddeb:25 msgid "B<--destdir=>I" msgstr "B<--destdir=>I" # type: textblock +#. type: textblock #: dh_builddeb:27 msgid "" "Use this if you want the generated .deb files to be put in a directory other " @@ -1326,11 +1585,13 @@ "le répertoire par défaut S<« .. »>." # type: =item +#. type: =item #: dh_builddeb:30 msgid "B<--filename=>I" msgstr "B<--filename=>I" # type: textblock +#. type: textblock #: dh_builddeb:32 msgid "" "Use this if you want to force the generated .deb file to have a particular " @@ -1340,58 +1601,66 @@ "fonctionne pas correctement si plus d'un fichier .deb est S" # type: =item +#. type: =item #: dh_builddeb:35 msgid "B<-u>I" msgstr "B<-u> I" # type: =item -#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:78 +#. type: =item +#: dh_builddeb:37 dh_gencontrol:32 dh_installdebconf:58 dh_installinit:99 #: dh_makeshlibs:76 dh_shlibdeps:32 msgid "B<--> I" msgstr "B<--> I" # type: textblock +#. type: textblock #: dh_builddeb:39 msgid "Pass I to L when it is used to build the package." msgstr "" "Fournit les I à L lors de la construction du paquet." # type: textblock -#: dh_builddeb:87 dh_clean:130 dh_compress:192 dh_fixperms:112 dh_gconf:94 -#: dh_gencontrol:76 dh_installcatalogs:111 dh_installchangelogs:142 -#: dh_installcron:63 dh_installdebconf:120 dh_installdeb:96 dh_installdirs:85 -#: dh_installdocs:239 dh_installemacsen:111 dh_installexamples:105 -#: dh_installinfo:105 dh_installinit:218 dh_installlogcheck:53 -#: dh_installlogrotate:52 dh_installmanpages:199 dh_installman:251 -#: dh_installmime:87 dh_installmodules:128 dh_installpam:54 dh_install:270 +#. type: textblock +#: dh_builddeb:90 dh_clean:132 dh_compress:194 dh_fixperms:124 dh_gconf:106 +#: dh_gencontrol:81 dh_installcatalogs:111 dh_installchangelogs:149 +#: dh_installcron:63 dh_installdebconf:120 dh_installdeb:99 dh_installdirs:85 +#: dh_installdocs:225 dh_installemacsen:113 dh_installexamples:105 +#: dh_installinfo:76 dh_installinit:322 dh_installlogcheck:53 +#: dh_installlogrotate:52 dh_installmanpages:199 dh_installman:253 +#: dh_installmime:87 dh_installmodules:126 dh_installpam:54 dh_install:269 #: dh_installppp:58 dh_installwm:109 dh_installxfonts:88 dh_link:225 -#: dh_listpackages:31 dh_makeshlibs:224 dh_md5sums:88 dh_movefiles:164 -#: dh_perl:154 dh_python:284 dh_strip:226 dh_suidregister:119 dh_testdir:46 +#: dh_listpackages:31 dh_makeshlibs:229 dh_md5sums:91 dh_movefiles:166 +#: dh_perl:147 dh_python:284 dh_strip:229 dh_suidregister:119 dh_testdir:46 #: dh_testroot:29 dh_testversion:77 dh_undocumented:30 dh_usrlocal:116 msgid "L" msgstr "L" # type: textblock -#: dh_builddeb:89 dh_clean:132 dh_compress:194 dh_desktop:51 dh_fixperms:114 -#: dh_gconf:96 dh_gencontrol:78 dh_installchangelogs:144 dh_installcron:65 -#: dh_installdebconf:122 dh_installdeb:98 dh_installdirs:87 dh_installdocs:241 -#: dh_installemacsen:113 dh_installexamples:107 dh_installinfo:107 -#: dh_installinit:220 dh_installlogrotate:54 dh_installmanpages:201 -#: dh_installman:253 dh_installmenu:86 dh_installmime:89 dh_installmodules:130 -#: dh_installpam:56 dh_install:272 dh_installppp:60 dh_installwm:111 -#: dh_installxfonts:90 dh_link:227 dh_listpackages:33 dh_makeshlibs:226 -#: dh_md5sums:90 dh_movefiles:166 dh_perl:156 dh_python:286 dh_scrollkeeper:80 -#: dh_shlibdeps:163 dh_strip:228 dh_suidregister:121 dh_testdir:48 -#: dh_testroot:31 dh_testversion:79 dh_undocumented:32 dh_usrlocal:118 +#. type: textblock +#: dh_builddeb:92 dh_clean:134 dh_compress:196 dh_desktop:31 dh_fixperms:126 +#: dh_gconf:108 dh_gencontrol:83 dh_installchangelogs:151 dh_installcron:65 +#: dh_installdebconf:122 dh_installdeb:101 dh_installdirs:87 +#: dh_installdocs:227 dh_installemacsen:115 dh_installexamples:107 +#: dh_installinfo:78 dh_installinit:324 dh_installlogrotate:54 +#: dh_installmanpages:201 dh_installman:255 dh_installmenu:86 +#: dh_installmime:89 dh_installmodules:128 dh_installpam:56 dh_install:271 +#: dh_installppp:60 dh_installwm:111 dh_installxfonts:90 dh_link:227 +#: dh_listpackages:33 dh_makeshlibs:231 dh_md5sums:93 dh_movefiles:168 +#: dh_perl:149 dh_python:286 dh_scrollkeeper:32 dh_shlibdeps:172 dh_strip:231 +#: dh_suidregister:121 dh_testdir:48 dh_testroot:31 dh_testversion:79 +#: dh_undocumented:32 dh_usrlocal:118 msgid "This program is a part of debhelper." msgstr "Ce programme fait partie de debhelper." # type: textblock +#. type: textblock #: dh_clean:5 msgid "dh_clean - clean up package build directories" msgstr "dh_clean - nettoie le répertoire de construction du paquet" # type: textblock +#. type: textblock #: dh_clean:14 msgid "" "B [S>] [B<-k>] [B<-d>] [B<-X>I] " @@ -1401,6 +1670,7 @@ "[S>]" # type: verbatim +#. type: verbatim #: dh_clean:18 #, fuzzy, no-wrap msgid "" @@ -1417,6 +1687,7 @@ "\n" # type: textblock +#. type: textblock #: dh_clean:25 #, fuzzy msgid "The debian/clean file can list other files to be removed." @@ -1424,14 +1695,15 @@ "Des fichiers nommés debian/paquet.info peuvent indiquer d'autres fichiers à " "installer." -# type: textblock +#. type: textblock #: dh_clean:27 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " -"L to do that." +"L to do things like that." msgstr "" # type: textblock +#. type: textblock #: dh_clean:30 msgid "" "dh_clean (or \"dh clean\") should be the last debhelper command run in the " @@ -1439,22 +1711,26 @@ msgstr "" # type: =item +#. type: =item #: dh_clean:37 dh_installchangelogs:48 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" # type: textblock +#. type: textblock #: dh_clean:39 #, fuzzy msgid "This is deprecated, use L instead." msgstr "Ce paramètre est déconseillé. Il vaut mieux utiliser --name." # type: =item +#. type: =item #: dh_clean:41 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" # type: textblock +#. type: textblock #: dh_clean:43 msgid "" "Only clean the package build directories, do not clean up any other files at " @@ -1464,11 +1740,13 @@ "autre fichier." # type: =item +#. type: =item #: dh_clean:46 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I<élément> B<--exclude=>I<élément>" # type: textblock +#. type: textblock #: dh_clean:48 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -1481,17 +1759,20 @@ "d'éléments." # type: =item -#: dh_clean:52 dh_compress:55 dh_installdocs:69 dh_installexamples:38 -#: dh_installinfo:50 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 +#. type: =item +#: dh_clean:52 dh_compress:56 dh_installdocs:63 dh_installexamples:38 +#: dh_installinfo:37 dh_installmanpages:44 dh_movefiles:49 dh_testdir:27 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_clean:54 msgid "Delete these files too." msgstr "Supprime également les fichiers listés." # type: textblock +#. type: textblock #: dh_compress:5 msgid "" "dh_compress - compress files and fix symlinks in package build directories" @@ -1500,6 +1781,7 @@ "paquet et modifie les liens symboliques en conséquence" # type: textblock +#. type: textblock #: dh_compress:15 msgid "" "B [S>] [B<-X>I] [B<-A>] [S>]" # type: textblock +#. type: textblock #: dh_compress:19 msgid "" "dh_compress is a debhelper program that is responsible for compressing the " @@ -1523,14 +1806,16 @@ "fichiers comprimés." # type: textblock +#. type: textblock #: dh_compress:24 +#, fuzzy msgid "" "By default, dh_compress compresses files that debian policy mandates should " "be compressed, namely all files in usr/share/info, usr/share/man, usr/X11R6/" "man, files in usr/share/doc that are larger than 4k in size, (except the " -"copyright file, .html and .css files, and files that appear to be already " -"compressed based on their extensions), and all changelog files. Plus PCF " -"fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/" +"copyright file, .html and .css files, image files, and files that appear to " +"be already compressed based on their extensions), and all changelog files. " +"Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and usr/share/fonts/X11/" msgstr "" "Par défaut, dh_compress comprime les fichiers que la Charte Debian indique " "comme devant être comprimés. Cela concerne tous les fichiers de usr/share/" @@ -1542,7 +1827,8 @@ "comprimés." # type: textblock -#: dh_compress:31 +#. type: textblock +#: dh_compress:32 #, fuzzy msgid "" "If a debian/package.compress file exists, the default files are not " @@ -1561,10 +1847,12 @@ "vraiment indispensable." # type: textblock -#: dh_compress:44 +#. type: textblock +#: dh_compress:45 +#, fuzzy msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " -"compressed. For example, -X.jpeg will exclude jpeg files from compression. " +"compressed. For example, -X.tiff will exclude tiff files from compression. " "You may use this option multiple times to build up a list of things to " "exclude. You can accomplish the same thing by using a debian/compress file, " "but this is easier." @@ -1576,7 +1864,8 @@ "avec un fichier debian/compress, mais -X est plus simple." # type: textblock -#: dh_compress:52 +#. type: textblock +#: dh_compress:53 msgid "" "Compress all files specified by command line parameters in ALL packages " "acted on." @@ -1585,64 +1874,56 @@ "TOUS les paquets construits." # type: textblock -#: dh_compress:57 +#. type: textblock +#: dh_compress:58 msgid "Add these files to the list of files to compress." msgstr "Ajoute ces fichiers à la liste des fichiers à comprimer." # type: =head1 -#: dh_compress:61 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 +#. type: =head1 +#: dh_compress:62 dh_perl:61 dh_python:66 dh_strip:74 dh_usrlocal:55 msgid "CONFORMS TO" msgstr "CONFORMITÉ" # type: textblock -#: dh_compress:63 +#. type: textblock +#: dh_compress:64 msgid "Debian policy, version 3.0" msgstr "Charte Debian, version 3.0" -# type: textblock +#. type: textblock #: dh_desktop:5 -msgid "dh_desktop - Register .desktop files" -msgstr "dh_desktop - inscrit les fichiers .desktop" +msgid "dh_desktop - deprecated no-op" +msgstr "" # type: textblock +#. type: textblock #: dh_desktop:14 #, fuzzy msgid "B [S>]" msgstr "B [S>]" -# type: textblock +#. type: textblock #: dh_desktop:18 msgid "" -"dh_desktop is a debhelper program that registers .desktop files. Currently " -"this program does not handle installation of the files, though it may do so " -"at a later date. It takes care of adding maintainer script fragments to call " -"F." +"dh_desktop was a debhelper program that registers .desktop files. However, " +"it no longer does anything, and is now deprecated." msgstr "" -"dh_desktop est un programme de la suite debhelper chargé de l'inscription " -"des fichiers .desktop. Actuellement ce programme ne gère pas l'installation " -"des fichiers, mais il pourrait bien le faire un jour. Il prend soin " -"d'ajouter des lignes de code aux scripts de maintenance du paquet afin " -"d'invoquer F." # type: textblock -#: dh_desktop:23 -msgid "" -"Note that since F currently only handles mime " -"types, as an optimisation, desktop files not containing MimeType fields will " -"currently be ignored by dh_desktop." -msgstr "" - -# type: textblock -#: dh_desktop:49 dh_scrollkeeper:78 +#. type: textblock +#: dh_desktop:29 dh_scrollkeeper:30 msgid "L" msgstr "L" # type: textblock -#: dh_desktop:55 dh_scrollkeeper:84 +#. type: textblock +#: dh_desktop:35 dh_scrollkeeper:36 msgid "Ross Burton " msgstr "Ross Burton " # type: textblock +#. type: textblock #: dh_fixperms:5 msgid "dh_fixperms - fix permissions of files in package build directories" msgstr "" @@ -1650,11 +1931,13 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_fixperms:14 msgid "B [S>] [B<-X>I]" msgstr "B [S>] [B<-X>I<élément>]" # type: textblock +#. type: textblock #: dh_fixperms:18 msgid "" "dh_fixperms is a debhelper program that is responsible for setting the " @@ -1666,6 +1949,7 @@ "les fichiers et les sous-répertoires du répertoire de construction du paquet." # type: textblock +#. type: textblock #: dh_fixperms:22 #, fuzzy msgid "" @@ -1674,9 +1958,9 @@ "the permissions of all man pages to mode 644. It makes all files be owned by " "root, and it removes group and other write permission from all files. It " "removes execute permissions from any libraries, headers, perl modules, or " -"desktop files that have it set. It makes all files in bin/ directories, /usr/" -"games/ and etc/init.d executable (since v4). Finally, it removes the setuid " -"and setgid bits from all files in the package." +"desktop files that have it set. It makes all files in the standard bin and " +"sbin directories, usr/games/ and etc/init.d executable (since v4). Finally, " +"it removes the setuid and setgid bits from all files in the package." msgstr "" "dh_fixperms règle à 644 les droits sur tous les fichiers de usr/share/doc à " "l'exclusion de ceux contenus dans le répertoire examples/. Il règle " @@ -1689,11 +1973,13 @@ "setgid de tous les fichiers du paquet." # type: =item +#. type: =item #: dh_fixperms:35 msgid "B<-X>I, B<--exclude> I" msgstr "B<-X>I<élément>, B<--exclude> I<élément>" # type: textblock +#. type: textblock #: dh_fixperms:37 msgid "" "Exclude files that contain \"item\" anywhere in their filename from having " @@ -1705,17 +1991,20 @@ "plusieurs fois afin d'exclure une liste d'éléments." # type: textblock +#. type: textblock #: dh_gconf:5 msgid "dh_gconf - generate GConf schema registration scripts" msgstr "dh_gconf - produit les scripts d'enregistrement du schéma GConf" # type: textblock +#. type: textblock #: dh_gconf:14 #, fuzzy msgid "B [S>] [B<--priority=>]" msgstr "B [S>] [B<-p>]" # type: textblock +#. type: textblock #: dh_gconf:18 msgid "" "dh_gconf is a debhelper program that is responsible for registering GConf " @@ -1725,6 +2014,7 @@ "schémas GConf." # type: textblock +#. type: textblock #: dh_gconf:21 msgid "" "It automatically generates the postinst and prerm fragments needed to " @@ -1737,6 +2027,7 @@ "schemas." # type: textblock +#. type: textblock #: dh_gconf:25 msgid "" "If a file named debian/package.gconf-defaults exists, then it is installed " @@ -1751,7 +2042,24 @@ "seront produites pour exécuter update-gconf-defaults." # type: textblock +#. type: textblock #: dh_gconf:30 +#, fuzzy +msgid "" +"If a file named debian/package.gconf-mandatory exists, then it is installed " +"into usr/share/gconf/mandatory/10_package in the package build directory, " +"with \"package\" replaced by the package name, and similar postinst and " +"postrm fragments will be generated." +msgstr "" +"S'il existe un fichier nommé debian/paquet.gconf-defaults, il sera installé " +"dans le répertoire de construction du paquet sous usr/share/gconf/" +"defaults/10_paquet où le mot S<« paquet »> sera remplacé par le nom du " +"paquet. Certaines parties des scripts de maintenance postinst et postrm " +"seront produites pour exécuter update-gconf-defaults." + +# type: textblock +#. type: textblock +#: dh_gconf:35 msgid "" "The gconf-schemas and update-gconf-defaults scripts are provided by the " "gconf2 package. An appropriate dependency will be generated in ${misc:" @@ -1762,12 +2070,14 @@ "Depends}." # type: =item -#: dh_gconf:38 +#. type: =item +#: dh_gconf:43 msgid "B<--priority> I" msgstr "B<--priority> I" # type: textblock -#: dh_gconf:40 +#. type: textblock +#: dh_gconf:45 msgid "" "Use I (which should be a 2-digit number) as the defaults priority " "instead of 10. Higher values than ten can be used by derived distributions " @@ -1779,21 +2089,25 @@ "(50), ou les paquets spécifiques à un site (90)." # type: textblock -#: dh_gconf:100 +#. type: textblock +#: dh_gconf:112 msgid "Ross Burton Josselin Mouette " msgstr "Ross Burton Josselin Mouette " # type: textblock +#. type: textblock #: dh_gencontrol:5 msgid "dh_gencontrol - generate and install control file" msgstr "dh_gencontrol - produit et installe le fichier de contrôle" # type: textblock +#. type: textblock #: dh_gencontrol:14 msgid "B [S>] [S I>]" msgstr "B [S>] [S I>]" # type: textblock +#. type: textblock #: dh_gencontrol:18 msgid "" "dh_gencontrol is a debhelper program that is responsible for generating " @@ -1805,6 +2119,7 @@ "avec les droits appropriés." # type: textblock +#. type: textblock #: dh_gencontrol:22 #, fuzzy msgid "" @@ -1817,27 +2132,32 @@ "quelques options utiles dont S<« -isp »>." # type: =item +#. type: =item #: dh_gencontrol:30 #, fuzzy msgid "B<-u>I, B<--dpkg-gencontrol-params>=I" msgstr "B<-u>I, B<--dpkg-gencontrol-params>I" # type: textblock +#. type: textblock #: dh_gencontrol:34 msgid "Pass \"params\" to L." msgstr "Fournit S<« paramètres »> à L." # type: textblock +#. type: textblock #: dh_installcatalogs:5 msgid "dh_installcatalogs - install and register SGML Catalogs" msgstr "dh_installcatalogs - installe et inscrit les catalogues SGML" # type: textblock +#. type: textblock #: dh_installcatalogs:16 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installcatalogs:20 #, fuzzy msgid "" @@ -1850,6 +2170,7 @@ "dès que le socle xml sera disponible.)" # type: textblock +#. type: textblock #: dh_installcatalogs:23 msgid "" "The file F.sgmlcatalogs> contains the catalogs to be " @@ -1866,6 +2187,7 @@ "C doit commencer par F." # type: textblock +#. type: textblock #: dh_installcatalogs:30 msgid "" "Catalogs will be registered in a supercatalog, in F." @@ -1875,6 +2197,7 @@ "I.cat>." # type: textblock +#. type: textblock #: dh_installcatalogs:33 #, fuzzy msgid "" @@ -1893,6 +2216,7 @@ "ajoutées aux scripts de maintenance du paquet." # type: textblock +#. type: textblock #: dh_installcatalogs:39 msgid "" "A dependency on B will be added to C<${misc:Depends}>, so be sure " @@ -1900,14 +2224,15 @@ msgstr "" # type: =item -#: dh_installcatalogs:46 dh_installdebconf:54 dh_installdocs:60 -#: dh_installemacsen:39 dh_installinfo:46 dh_installinit:37 dh_installmenu:38 -#: dh_installmime:35 dh_installmodules:47 dh_installwm:42 dh_makeshlibs:62 -#: dh_python:60 dh_scrollkeeper:36 dh_usrlocal:43 +#. type: =item +#: dh_installcatalogs:46 dh_installdebconf:54 dh_installemacsen:39 +#: dh_installinit:52 dh_installmenu:38 dh_installmime:35 dh_installmodules:47 +#: dh_installwm:42 dh_makeshlibs:62 dh_python:60 dh_usrlocal:43 msgid "B<-n>, B<--noscripts>" msgstr "B<-n>, B<--noscripts>" # type: textblock +#. type: textblock #: dh_installcatalogs:48 msgid "Do not modify F/F/F scripts." msgstr "" @@ -1915,9 +2240,10 @@ "F." # type: textblock -#: dh_installcatalogs:54 dh_installdocs:93 dh_installemacsen:56 -#: dh_installinfo:59 dh_installinit:112 dh_installmime:43 dh_installmodules:62 -#: dh_installwm:55 dh_scrollkeeper:44 dh_usrlocal:51 +#. type: textblock +#: dh_installcatalogs:54 dh_installdocs:87 dh_installemacsen:56 +#: dh_installinit:143 dh_installmime:43 dh_installmodules:62 dh_installwm:55 +#: dh_usrlocal:51 #, fuzzy msgid "" "Note that this command is not idempotent. L should be called " @@ -1930,16 +2256,19 @@ "maintenance du paquet." # type: textblock +#. type: textblock #: dh_installcatalogs:113 msgid "F" msgstr "F" # type: textblock +#. type: textblock #: dh_installcatalogs:117 msgid "Adam Di Carlo " msgstr "Adam Di Carlo " # type: textblock +#. type: textblock #: dh_installchangelogs:5 msgid "" "dh_installchangelogs - install changelogs into package build directories" @@ -1948,13 +2277,18 @@ "(changelog) dans les répertoires de construction du paquet" # type: textblock +#. type: textblock #: dh_installchangelogs:14 -msgid "B [S>] [B<-k>] [I]" +#, fuzzy +msgid "" +"B [S>] [B<-k>] [B<-X>I] " +"[I]" msgstr "" "B [S>] [B<-k>] [I]" # type: textblock +#. type: textblock #: dh_installchangelogs:18 msgid "" "dh_installchangelogs is a debhelper program that is responsible for " @@ -1965,6 +2299,7 @@ "répertoires de construction du paquet." # type: textblock +#. type: textblock #: dh_installchangelogs:21 msgid "" "dh_installchangelogs determines if the package is a debian native package, " @@ -1982,6 +2317,7 @@ "debian/changelog." # type: textblock +#. type: textblock #: dh_installchangelogs:28 msgid "" "Parallelling the debian changelog handling, this program also takes care of " @@ -1994,6 +2330,7 @@ "Un fichier debian/paquet.NEWS peut également être utilisé." # type: textblock +#. type: textblock #: dh_installchangelogs:33 msgid "" "An upstream changelog file may be specified as an option. If none is " @@ -2002,6 +2339,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installchangelogs:37 #, fuzzy msgid "" @@ -2018,6 +2356,7 @@ "html2text »> afin de produire le fichier usr/share/doc/paquet/changelog." # type: textblock +#. type: textblock #: dh_installchangelogs:50 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " @@ -2033,27 +2372,50 @@ "d'autres éléments de documentation du paquet se réfèrent à ce fichier." # type: =item -#: dh_installchangelogs:56 +#. type: =item +#: dh_installchangelogs:56 dh_installdocs:58 dh_installexamples:43 +#: dh_install:69 dh_link:57 dh_movefiles:44 +msgid "B<-Xitem>, B<--exclude=item>" +msgstr "B<-Xélément>, B<--exclude=élément>" + +# type: textblock +#. type: textblock +#: dh_installchangelogs:58 +#, fuzzy +msgid "" +"Exclude upstream changelog files that contain \"item\" anywhere in their " +"filename from being installed." +msgstr "" +"Exclut du traitement les fichiers qui comportent S<« élément »> n'importe où " +"dans leur nom." + +# type: =item +#. type: =item +#: dh_installchangelogs:61 msgid "I" msgstr "I" # type: textblock -#: dh_installchangelogs:58 +#. type: textblock +#: dh_installchangelogs:63 msgid "Install this file as the upstream changelog." msgstr "" "Installe ce fichier en tant que journal amont de suivi des modifications." # type: textblock +#. type: textblock #: dh_installcron:5 msgid "dh_installcron - install cron scripts into etc/cron.*" msgstr "dh_installcron - installe les scripts cron dans etc/cron.*" # type: textblock +#. type: textblock #: dh_installcron:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installcron:18 msgid "" "dh_installcron is a debhelper program that is responsible for installing " @@ -2068,12 +2430,14 @@ "debian/paquet.cron.d." # type: =item -#: dh_installcron:28 dh_installinit:83 dh_installlogrotate:26 +#. type: =item +#: dh_installcron:28 dh_installinit:104 dh_installlogrotate:26 #: dh_installmodules:51 dh_installpam:28 dh_installppp:30 msgid "B<--name=>I" msgstr "B<--name=>I" # type: textblock +#. type: textblock #: dh_installcron:30 msgid "" "Look for files named debian/package.name.cron.* and install them as etc/cron." @@ -2085,6 +2449,7 @@ "installer en leur donnant le nom du paquet." # type: textblock +#. type: textblock #: dh_installdebconf:5 msgid "" "dh_installdebconf - install files used by debconf in package build " @@ -2094,6 +2459,7 @@ "répertoires de construction du paquet" # type: textblock +#. type: textblock #: dh_installdebconf:14 msgid "" "B [S>] [B<-n>] [S I>]" @@ -2102,6 +2468,7 @@ "I>]" # type: textblock +#. type: textblock #: dh_installdebconf:18 msgid "" "dh_installdebconf is a debhelper program that is responsible for installing " @@ -2112,6 +2479,7 @@ "paquet." # type: textblock +#. type: textblock #: dh_installdebconf:21 #, fuzzy msgid "" @@ -2125,6 +2493,7 @@ "d'insertion de lignes de code." # type: textblock +#. type: textblock #: dh_installdebconf:26 msgid "" "Files named debian/package.config and debian/package.templates are installed " @@ -2147,6 +2516,7 @@ "langage de l'interpréteur de commandes (shell)." # type: textblock +#. type: textblock #: dh_installdebconf:35 msgid "" "Note that if you use debconf, your package probably needs to depend on it " @@ -2156,6 +2526,7 @@ "dépendre, ce programme ajoute cette dépendance à ${misc:Depends}." # type: textblock +#. type: textblock #: dh_installdebconf:38 msgid "" "Note that for your config script to be called by dpkg, your postinst needs " @@ -2169,11 +2540,13 @@ "correctement." # type: =head1 +#. type: =head1 #: dh_installdebconf:43 msgid "LOCALIZED TEMPLATE FILES" msgstr "FICHIERS D'ADAPTATION LINGUISTIQUE" # type: textblock +#. type: textblock #: dh_installdebconf:45 msgid "" "This program will look to see if you have a debian/po directory and if so " @@ -2187,26 +2560,31 @@ "sa construction (build-depend), de po-debconf." # type: textblock +#. type: textblock #: dh_installdebconf:56 msgid "Do not modify postrm script." msgstr "Empêche la modification du script de maintenance postrm." # type: textblock +#. type: textblock #: dh_installdebconf:60 msgid "Pass the params to po2debconf." msgstr "Passe les paramètres à po2debconf." # type: textblock +#. type: textblock #: dh_installdeb:5 msgid "dh_installdeb - install files into the DEBIAN directory" msgstr "dh_installdeb - installe des fichiers dans le répertoire DEBIAN" # type: textblock +#. type: textblock #: dh_installdeb:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installdeb:18 msgid "" "dh_installdeb is a debhelper program that is responsible for installing " @@ -2219,6 +2597,7 @@ "fichiers." # type: verbatim +#. type: verbatim #: dh_installdeb:22 #, fuzzy, no-wrap msgid "" @@ -2243,6 +2622,7 @@ "\n" # type: textblock +#. type: textblock #: dh_installdeb:32 msgid "" "The postinst, preinst, postrm, and prerm are handled specially: If a " @@ -2265,6 +2645,7 @@ "l'interpréteur de commandes (shell)." # type: textblock +#. type: textblock #: dh_installdeb:40 msgid "" "In V3 compatibility mode and higher, all files in the etc/ directory in a " @@ -2277,6 +2658,7 @@ "conffiles." # type: textblock +#. type: textblock #: dh_installdirs:5 msgid "dh_installdirs - create subdirectories in package build directories" msgstr "" @@ -2284,12 +2666,14 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installdirs:14 msgid "B [S>] [B<-A>] [S>]" msgstr "" "B [S>] [B<-A>] [S>]" # type: textblock +#. type: textblock #: dh_installdirs:18 msgid "" "dh_installdirs is a debhelper program that is responsible for creating " @@ -2299,6 +2683,7 @@ "des sous-répertoires dans le répertoire de construction du paquet." # type: textblock +#. type: textblock #: dh_installdirs:21 #, fuzzy msgid "A file named debian/package.dirs can list directories to be created." @@ -2307,6 +2692,7 @@ "d'autres fichiers de documentation à installer." # type: textblock +#. type: textblock #: dh_installdirs:23 msgid "" "Any directory names specified as parameters will be created in the package " @@ -2321,6 +2707,7 @@ "paquet indiqué par ces options." # type: textblock +#. type: textblock #: dh_installdirs:34 msgid "" "Create any directories specified by command line parameters in ALL packages " @@ -2330,11 +2717,13 @@ "paquets construits et pas seulement dans le premier." # type: =item +#. type: =item #: dh_installdirs:37 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installdirs:39 msgid "" "Create these directories in the package build directory of the first package " @@ -2344,6 +2733,7 @@ "paquet traité (ou de tous les paquets traités si -A est indiqué)." # type: textblock +#. type: textblock #: dh_installdocs:5 msgid "dh_installdocs - install documentation into package build directories" msgstr "" @@ -2351,15 +2741,18 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installdocs:14 +#, fuzzy msgid "" -"B [S>] [B<-A>] [B<-n>] [B<-X>I] " +"B [S>] [B<-A>] [B<-X>I] " "[S>]" msgstr "" "B [S>] [B<-A>] [B<-n>] [B<-" "X>I<élément>] [S>]" # type: textblock +#. type: textblock #: dh_installdocs:18 msgid "" "dh_installdocs is a debhelper program that is responsible for installing " @@ -2370,6 +2763,7 @@ "du répertoire de construction du paquet." # type: textblock +#. type: textblock #: dh_installdocs:21 msgid "" "dh_installdocs automatically installs debian/copyright if it exists. If " @@ -2385,6 +2779,7 @@ "fichiers nommés debian/paquet.copyright." # type: textblock +#. type: textblock #: dh_installdocs:27 msgid "" "Any filenames specified as parameters will be installed into the first " @@ -2399,6 +2794,7 @@ "paquet indiqué par ces options." # type: textblock +#. type: textblock #: dh_installdocs:32 msgid "" "Also, debian/README.Debian (or debian/README.debian) and debian/TODO, if " @@ -2419,6 +2815,7 @@ "utilisés pour fournir des fichiers TODO et README aux sous-paquets." # type: textblock +#. type: textblock #: dh_installdocs:40 msgid "Files named debian/package.docs can list other files to be installed." msgstr "" @@ -2426,13 +2823,13 @@ "d'autres fichiers de documentation à installer." # type: textblock +#. type: textblock #: dh_installdocs:42 +#, fuzzy msgid "" "Files named debian/package.doc-base, will be installed as doc-base control " -"files, and will make this program automatically generate the postinst and " -"prerm commands needed to interface with the doc-base package. Note that the " -"doc-id will be determined from the \"Document:\" entry in the doc-base " -"control file in question." +"files. Note that the doc-id will be determined from the \"Document:\" entry " +"in the doc-base control file in question." msgstr "" "Les fichiers nommés debian/paquet.doc-base, seront installés en tant que " "fichiers de contrôle doc-base et feront produire à dh_installdocs les lignes " @@ -2442,7 +2839,8 @@ "»> du fichier de contrôle doc-base en question." # type: textblock -#: dh_installdocs:48 +#. type: textblock +#: dh_installdocs:46 msgid "" "If your package needs to register more than one document, you need multiple " "files. To accomplish this, you can use files named debian/package.doc-base.*" @@ -2452,7 +2850,8 @@ "possible d'utiliser des fichiers nommés debian/paquet.doc-base.*" # type: textblock -#: dh_installdocs:57 dh_installinfo:43 dh_installman:64 +#. type: textblock +#: dh_installdocs:55 dh_installinfo:34 dh_installman:64 msgid "" "Install all files specified by command line parameters in ALL packages acted " "on." @@ -2461,18 +2860,8 @@ "les paquets construits." # type: textblock -#: dh_installdocs:62 dh_installemacsen:41 dh_installinfo:48 -msgid "Do not modify postinst/prerm scripts." -msgstr "Empêche la modification des scripts de maintenance postinst et prerm." - -# type: =item -#: dh_installdocs:64 dh_installexamples:43 dh_install:51 dh_link:57 -#: dh_movefiles:44 -msgid "B<-Xitem>, B<--exclude=item>" -msgstr "B<-Xélément>, B<--exclude=élément>" - -# type: textblock -#: dh_installdocs:66 +#. type: textblock +#: dh_installdocs:60 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "installed. Note that this includes doc-base files." @@ -2481,7 +2870,8 @@ "nom, de l'installation. Il est à noter que cela inclut les fichiers doc-base." # type: textblock -#: dh_installdocs:71 +#. type: textblock +#: dh_installdocs:65 msgid "" "Install these files as documentation into the first package acted on. (Or in " "all packages if B<-A> is specified)." @@ -2490,17 +2880,20 @@ "traité (ou de tous les paquets traités si -A est indiqué)." # type: =head1 -#: dh_installdocs:76 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 +#. type: =head1 +#: dh_installdocs:70 dh_link:70 dh_makeshlibs:82 dh_shlibdeps:66 msgid "EXAMPLES" msgstr "EXEMPLES" # type: textblock -#: dh_installdocs:78 +#. type: textblock +#: dh_installdocs:72 msgid "This is an example of a debian/package.docs file:" msgstr "Voici un exemple de fichier S" # type: verbatim -#: dh_installdocs:80 +#. type: verbatim +#: dh_installdocs:74 #, no-wrap msgid "" " README\n" @@ -2520,7 +2913,8 @@ "\n" # type: textblock -#: dh_installdocs:89 +#. type: textblock +#: dh_installdocs:83 msgid "" "Note that dh_installdocs will happily copy entire directory hierarchies if " "you ask it to (similar to cp -a). If it is asked to install a directory, it " @@ -2531,11 +2925,13 @@ "il installera le contenu complet du répertoire." # type: textblock +#. type: textblock #: dh_installemacsen:5 msgid "dh_installemacsen - register an emacs add on package" msgstr "dh_installemacsen - inscrit un paquet additionnel emacs" # type: textblock +#. type: textblock #: dh_installemacsen:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " @@ -2545,6 +2941,7 @@ "priority=>I] [B<--flavor=>I]" # type: textblock +#. type: textblock #: dh_installemacsen:18 msgid "" "dh_installemacsen is a debhelper program that is responsible for installing " @@ -2556,6 +2953,7 @@ "utilisés par le paquet emacsen-common." # type: textblock +#. type: textblock #: dh_installemacsen:22 #, fuzzy msgid "" @@ -2571,6 +2969,7 @@ "dans les scripts de maintenance du paquet." # type: textblock +#. type: textblock #: dh_installemacsen:27 msgid "" "If a file named debian/package.emacsen-install exists, then it is installed " @@ -2587,12 +2986,20 @@ "debian/paquet.emacsen-startup dans etc/emacs/site-start.d/50.el (par " "défaut)." +# type: textblock +#. type: textblock +#: dh_installemacsen:41 +msgid "Do not modify postinst/prerm scripts." +msgstr "Empêche la modification des scripts de maintenance postinst et prerm." + # type: =item +#. type: =item #: dh_installemacsen:43 dh_installwm:36 msgid "B<--priority=>I" msgstr "B<--priority=>I" # type: textblock +#. type: textblock #: dh_installemacsen:45 msgid "Sets the priority number of a site-start.d file. Default is 50." msgstr "" @@ -2600,11 +3007,13 @@ "50." # type: =item +#. type: =item #: dh_installemacsen:47 msgid "B<--flavor=>I" msgstr "B<--flavor=>I" # type: textblock +#. type: textblock #: dh_installemacsen:49 msgid "" "Sets the flavor a site-start.d file will be installed in. Default is \"emacs" @@ -2615,6 +3024,7 @@ "xemacs »> et S<« emacs20 »>." # type: textblock +#. type: textblock #: dh_installexamples:5 msgid "" "dh_installexamples - install example files into package build directories" @@ -2623,6 +3033,7 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installexamples:14 msgid "" "B [S>] [B<-A>] [B<-X>I] " @@ -2632,6 +3043,7 @@ "[S>]" # type: textblock +#. type: textblock #: dh_installexamples:18 msgid "" "dh_installexamples is a debhelper program that is responsible for installing " @@ -2642,6 +3054,7 @@ "sous usr/share/doc/package/examples." # type: textblock +#. type: textblock #: dh_installexamples:22 msgid "" "Any file names specified as parameters will be installed into the first " @@ -2656,6 +3069,7 @@ "indiqué par ces options." # type: textblock +#. type: textblock #: dh_installexamples:27 msgid "" "Files named debian/package.examples can list other files to be installed." @@ -2664,6 +3078,7 @@ "énumérer les autres fichiers qui doivent être installés." # type: textblock +#. type: textblock #: dh_installexamples:35 msgid "" "Install any files specified by command line parameters in ALL packages acted " @@ -2673,6 +3088,7 @@ "les paquets construits." # type: textblock +#. type: textblock #: dh_installexamples:40 msgid "" "Install these files as examples into the first package acted on. (Or into " @@ -2682,7 +3098,8 @@ "construit (ou dans tous les paquets si -A est spécifié)." # type: textblock -#: dh_installexamples:45 dh_install:53 dh_movefiles:46 +#. type: textblock +#: dh_installexamples:45 dh_install:71 dh_movefiles:46 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " "installed." @@ -2691,6 +3108,7 @@ "dans leur nom." # type: textblock +#. type: textblock #: dh_installexamples:52 msgid "" "Note that dh_installexamples will happily copy entire directory hierarchies " @@ -2702,41 +3120,37 @@ "répertoire, il installera le contenu complet du répertoire." # type: textblock +#. type: textblock #: dh_installinfo:5 -msgid "dh_installinfo - install and register info files" +#, fuzzy +msgid "dh_installinfo - install info files" msgstr "dh_installinfo - installe et inscrit les fichiers info" # type: textblock +#. type: textblock #: dh_installinfo:14 -msgid "" -"B [S>] [B<-A>] [B<-n>] [S>]" +#, fuzzy +msgid "B [S>] [B<-A>] [S>]" msgstr "" "B [S>] [B<-A>] [B<-n>] " "[S>]" # type: textblock +#. type: textblock #: dh_installinfo:18 +#, fuzzy msgid "" "dh_installinfo is a debhelper program that is responsible for installing " -"info files and registering the files it installs with install-info." +"info files into usr/share/info in the package build directory." msgstr "" -"dh_installinfo est le programme de la suite debhelper chargé de " -"l'installation des fichiers info et de leur inscription avec install-info." +"dh_installmime est le programme de la suite debhelper chargé de " +"l'installation des fichiers S<« mime »> dans le répertoire de construction du " +"paquet." # type: textblock +#. type: textblock #: dh_installinfo:21 msgid "" -"Note that install-info determines some information about the info files by " -"parsing them, in particular, it looks at the INFO-DIR-SECTION line to " -"determine what section the info file belongs in." -msgstr "" -"S install-info détermine certaines informations concernant les " -"fichiers info en les analysant. En particulier, il regarde la ligne INFO-DIR-" -"SECTION pour déterminer la section à laquelle le fichier info appartient." - -# type: textblock -#: dh_installinfo:25 -msgid "" "Any filenames specified as parameters will be installed into the first " "package dh_installinfo is told to act on. By default, this is the first " "binary package in debian/control, but if you use -p, -i, or -a flags, it " @@ -2749,28 +3163,16 @@ "indiqué par ces options." # type: textblock -#: dh_installinfo:30 +#. type: textblock +#: dh_installinfo:26 msgid "Files named debian/package.info can list other files to be installed." msgstr "" "Des fichiers nommés debian/paquet.info peuvent indiquer d'autres fichiers à " "installer." # type: textblock -#: dh_installinfo:32 -#, fuzzy -msgid "" -"dh_installinfo will automatically generate the postinst and prerm commands " -"needed to interface with install-info, updating the info dir. These commands " -"are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of how this works." -msgstr "" -"dh_installinfo produira automatiquement les lignes de code des scripts de " -"maintenance postinst et prerm nécessaires à l'interfaçage avec install-info. " -"Consulter L pour obtenir une explication sur le mécanisme " -"d'insertion des lignes de code dans les scripts de maintenance du paquet." - -# type: textblock -#: dh_installinfo:52 +#. type: textblock +#: dh_installinfo:39 msgid "" "Install these info files into the first package acted on. (Or in all " "packages if -A is specified)." @@ -2779,34 +3181,44 @@ "les paquets si -A est spécifié)." # type: textblock +#. type: textblock #: dh_installinit:5 -msgid "dh_installinit - install init scripts into package build directories" +#, fuzzy +msgid "" +"dh_installinit - install upstart jobs or init scripts into package build " +"directories" msgstr "" "dh_installinit - installe les scripts d'initialisation (init scripts) dans " "le répertoire de construction du paquet" # type: textblock +#. type: textblock #: dh_installinit:14 #, fuzzy msgid "" "B [S>] [B<--name=>I] [B<-n>] [B<-" -"R>] [B<-r>] [B<-d>] [S I>]" +"R>] [B<-r>] [B<-d>] [B<-O>] [S I>]" msgstr "" "B [S>] [B<--name=>I] [B<-n>] " "[B<-r>] [B<-d>] [S I>]" # type: textblock +#. type: textblock #: dh_installinit:18 +#, fuzzy msgid "" "dh_installinit is a debhelper program that is responsible for installing " -"init scripts and associated defaults files into package build directories." +"upstart job files or init scripts with associated defaults files into " +"package build directories, and in the former case providing compatibility " +"handling for non-upstart systems." msgstr "" "dh_installinit est le programme de la suite debhelper chargé de " "l'installation des scripts d'initialisation et des fichiers S<« defaults »> " "associés, dans le répertoire de construction du paquet." # type: textblock -#: dh_installinit:21 +#. type: textblock +#: dh_installinit:23 msgid "" "It also automatically generates the postinst and postrm and prerm commands " "needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init " @@ -2817,60 +3229,106 @@ "liens symboliques dans /etc/rc*.d/ et gère le démarrage et l'arrêt des " "scripts d'initialisation." +#. type: =head1 +#: dh_installinit:27 +msgid "FILES" +msgstr "" + +#. type: =item +#: dh_installinit:31 +msgid "debian/I.upstart" +msgstr "" + # type: textblock -#: dh_installinit:25 +#. type: textblock +#: dh_installinit:33 +#, fuzzy msgid "" -"If a file named debian/package.init exists, then it is installed into etc/" -"init.d/package in the package build directory, with \"package\" replaced by " -"the package name." +"If this exists, it is installed into etc/init/I.conf in the package " +"build directory." +msgstr "" +"S'il existe un fichier nommé debian/paquet.pam, il est installé, dans le " +"répertoire de construction du paquet, sous etc/pam.d/paquet." + +#. type: =item +#: dh_installinit:36 +msgid "debian/I.init" msgstr "" -"S'il existe un fichier nommé debian/paquet.init, il sera installé dans le " -"répertoire de construction du paquet sous etc/init.d/paquet où le mot S<« " -"paquet »> sera remplacé par le nom du paquet." # type: textblock -#: dh_installinit:29 +#. type: textblock +#: dh_installinit:38 +#, fuzzy msgid "" -"If a file named debian/package.default exists, then it is installed into etc/" -"default/package in the package build directory, with \"package\" replaced by " -"the package name." +"Otherwise, if this exists, it is installed into etc/init.d/I in the " +"package build directory." +msgstr "" +"S'il existe un fichier nommé debian/paquet.pam, il est installé, dans le " +"répertoire de construction du paquet, sous etc/pam.d/paquet." + +#. type: =item +#: dh_installinit:41 +msgid "debian/I.default" msgstr "" -"S'il existe un fichier nommé debian/paquet.default, il sera installé dans le " -"répertoire de construction du paquet sous etc/default/paquet où le mot S<« " -"paquet »> sera remplacé par le nom du paquet." # type: textblock -#: dh_installinit:39 +#. type: textblock +#: dh_installinit:43 +#, fuzzy +msgid "" +"If this exists, it is installed into etc/default/I in the package " +"build directory." +msgstr "" +"S'il existe un fichier nommé debian/paquet.pam, il est installé, dans le " +"répertoire de construction du paquet, sous etc/pam.d/paquet." + +# type: textblock +#. type: textblock +#: dh_installinit:54 msgid "Do not modify postinst/postrm/prerm scripts." msgstr "" "Empêche la modification des scripts de maintenance postinst, postrm et prerm." # type: =item -#: dh_installinit:41 +#. type: =item +#: dh_installinit:56 msgid "B<-o>, B<--onlyscripts>" msgstr "B<-o>, B<--onlyscripts>" # type: textblock -#: dh_installinit:43 +#. type: textblock +#: dh_installinit:58 +#, fuzzy msgid "" "Only modify postinst/postrm/prerm scripts, do not actually install any init " -"script or default files. May be useful if the init script is shipped and/or " -"installed by upstream in a way that doesn't make it easy to let " -"dh_installinit find it." +"script, default files, or upstart job. May be useful if the init script or " +"upstart job is shipped and/or installed by upstream in a way that doesn't " +"make it easy to let dh_installinit find it." msgstr "" "Modifie seulement les scripts de postinst, postrm et prerm. N'installe " "actuellement ni script d'initialisation, ni fichier par défaut. Ceci peut " "être utile si le script d'initialisation est inclus et/ou installé en amont " "d'une façon qui ne rend pas facile sa recherche par dh_installinit." +#. type: textblock +#: dh_installinit:63 +msgid "" +"If no upstart job file is installed in the target directory when " +"dh_installinit --onlyscripts is called, this program will assume that an " +"init script is being installed and not provide the compatibility symlinks or " +"upstart dependencies." +msgstr "" + # type: =item -#: dh_installinit:48 +#. type: =item +#: dh_installinit:68 #, fuzzy msgid "B<-R>, B<--restart-after-upgrade>" msgstr "B<-r>, B<--no-restart-on-upgrade>" # type: textblock -#: dh_installinit:50 +#. type: textblock +#: dh_installinit:70 msgid "" "Do not stop the init script until after the package upgrade has been " "completed. This is different than the default behavior, which stops the " @@ -2878,7 +3336,8 @@ msgstr "" # type: textblock -#: dh_installinit:54 +#. type: textblock +#: dh_installinit:74 msgid "" "This can be useful for daemons that should not have a possibly long downtime " "during upgrade. But you should make sure that the daemon will not get " @@ -2887,24 +3346,28 @@ msgstr "" # type: =item -#: dh_installinit:59 +#. type: =item +#: dh_installinit:79 msgid "B<-r>, B<--no-restart-on-upgrade>" msgstr "B<-r>, B<--no-restart-on-upgrade>" # type: textblock -#: dh_installinit:61 +#. type: textblock +#: dh_installinit:81 #, fuzzy msgid "Do not stop init script on upgrade." msgstr "" "Empêche le redémarrage du script d'initialisation lors d'une mise à jour." # type: =item -#: dh_installinit:63 +#. type: =item +#: dh_installinit:83 msgid "B<--no-start>" msgstr "B<--no-start>" # type: textblock -#: dh_installinit:65 +#. type: textblock +#: dh_installinit:85 msgid "" "Do not start the init script on install or upgrade, or stop it on removal. " "Only call update-rc.d. Useful for rcS scripts." @@ -2914,18 +3377,22 @@ "un update-rc.d. Utile pour les scripts rcS." # type: =item -#: dh_installinit:68 +#. type: =item +#: dh_installinit:88 msgid "B<-d>, B<--remove-d>" msgstr "B<-d>, B<--remove-d>" # type: textblock -#: dh_installinit:70 +#. type: textblock +#: dh_installinit:90 +#, fuzzy msgid "" "Remove trailing \"d\" from the name of the package, and use the result for " -"the filename the init script is installed as in etc/init.d/ , and the " -"default file is installed as in etc/default/ . This may be useful for " -"daemons with names ending in \"d\". (Note: this takes precedence over the --" -"init-script parameter described below.)" +"the filename the upstart job file is installed as in etc/init/ , or for the " +"filename the init script is installed as in etc/init.d and the default file " +"is installed as in etc/default/ . This may be useful for daemons with names " +"ending in \"d\". (Note: this takes precedence over the --init-script " +"parameter described below.)" msgstr "" "Enlève le S<« d »> situé à la fin du nom du paquet et utilise le résultat " "comme nom du fichier de script d'initialisation, installé dans etc/init.d/, " @@ -2934,12 +3401,14 @@ "a priorité sur --init-script décrit ci-dessous." # type: =item -#: dh_installinit:76 +#. type: =item +#: dh_installinit:97 msgid "B<-u>I B<--update-rcd-params=>I" msgstr "B<-u>I B<--update-rcd-params=>I" # type: textblock -#: dh_installinit:80 +#. type: textblock +#: dh_installinit:101 msgid "" "Pass \"params\" to L. If not specified, \"defaults\" will be " "passed to L." @@ -2948,13 +3417,16 @@ "defaults »> sera passé à L." # type: textblock -#: dh_installinit:85 +#. type: textblock +#: dh_installinit:106 +#, fuzzy msgid "" -"Install the init script (and default file) using the filename I " -"instead of the default filename, which is the package name. When this " -"parameter is used, dh_installinit looks for and installs files named debian/" -"package.name.init and debian/package.name.default, instead of the usual " -"debian/package.init and debian/package.default." +"Install the upstart job file or the init script (and default file) using the " +"filename I instead of the default filename, which is the package " +"name. When this parameter is used, dh_installinit looks for and installs " +"files named debian/package.name.upstart, debian/package.name.init and debian/" +"package.name.default, instead of the usual debian/package.upstart, debian/" +"package.init and debian/package.default." msgstr "" "Installe le script d'initialisation (et le fichier S<« default »>) en " "utilisant le I indiqué au lieu du nom du paquet. Quand ce paramètre est " @@ -2963,12 +3435,14 @@ "et debian/paquet.default habituels." # type: =item -#: dh_installinit:91 +#. type: =item +#: dh_installinit:113 msgid "B<--init-script=>I" msgstr "B<--init-script=>I" # type: textblock -#: dh_installinit:93 +#. type: textblock +#: dh_installinit:115 msgid "" "Use \"scriptname\" as the filename the init script is installed as in etc/" "init.d/ (and also use it as the filename for the defaults file, if it is " @@ -2985,17 +3459,46 @@ "habituellement." # type: textblock -#: dh_installinit:100 -msgid "This parameter is deprecated, use the --name parameter instead." +#. type: textblock +#: dh_installinit:122 +#, fuzzy +msgid "" +"This parameter is deprecated, use the --name parameter instead. This " +"parameter will be ignored completely for upstart jobs." msgstr "Ce paramètre est déconseillé. Il vaut mieux utiliser --name." # type: =item -#: dh_installinit:102 +#. type: =item +#: dh_installinit:125 +#, fuzzy +msgid "B<--upstart-only>" +msgstr "B<--no-start>" + +# type: textblock +#. type: textblock +#: dh_installinit:127 +msgid "" +"Only install an upstart job file, and do not include maintainer script code " +"to replace an init script with that upstart job." +msgstr "" + +# type: textblock +#. type: textblock +#: dh_installinit:130 +msgid "" +"This parameter is intended for use when the \"package.upstart\" file is new " +"and only to be used on Upstart-based systems." +msgstr "" + +# type: =item +#. type: =item +#: dh_installinit:133 msgid "B<--error-handler=>I" msgstr "B<--error-handler=>I" # type: textblock -#: dh_installinit:104 +#. type: textblock +#: dh_installinit:135 msgid "" "Call the named shell function if running the init script fails. The function " "should be provided in the prerm and postinst scripts, before the #DEBHELPER# " @@ -3006,7 +3509,23 @@ "les scripts de maintenance prerm et postinst avant l'apparition de " "#DEBHELPER#." +# type: =head1 +#. type: =head1 +#: dh_installinit:326 +#, fuzzy +msgid "AUTHORS" +msgstr "AUTEUR" + # type: textblock +#. type: textblock +#: dh_installinit:328 +msgid "" +"Joey Hess Steve Langasek " +"Scott James Remnant " +msgstr "" + +# type: textblock +#. type: textblock #: dh_installlogcheck:5 msgid "dh_installlogcheck - install logcheck rulefiles into etc/logcheck/" msgstr "" @@ -3014,11 +3533,13 @@ "journaux (logcheck rulefiles) dans etc/logcheck/" # type: textblock +#. type: textblock #: dh_installlogcheck:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installlogcheck:18 msgid "" "dh_installlogcheck is a debhelper program that is responsible for installing " @@ -3041,6 +3562,7 @@ " debian/package.logcheck.ignore.paranoid." # type: verbatim +#. type: verbatim #: dh_installlogcheck:55 #, no-wrap msgid "" @@ -3051,11 +3573,13 @@ "\n" # type: textblock +#. type: textblock #: dh_installlogcheck:59 msgid "Jon Middleton " msgstr "Jon Middleton " # type: textblock +#. type: textblock #: dh_installlogrotate:5 msgid "dh_installlogrotate - install logrotate config files" msgstr "" @@ -3063,11 +3587,13 @@ "des journaux (logrotate)" # type: textblock +#. type: textblock #: dh_installlogrotate:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installlogrotate:18 msgid "" "dh_installlogrotate is a debhelper program that is responsible for " @@ -3079,6 +3605,7 @@ "répertoire de construction du paquet, sous etc/logrotate.d." # type: textblock +#. type: textblock #: dh_installlogrotate:28 msgid "" "Look for files named debian/package.name.logrotate and install them as etc/" @@ -3090,17 +3617,20 @@ "habituels et de les installer en les baptisant du nom du paquet." # type: textblock +#. type: textblock #: dh_installmanpages:5 msgid "dh_installmanpages - old-style man page installer" msgstr "" "dh_installmanpages - ancien programme d'installation des pages de manuel" # type: textblock +#. type: textblock #: dh_installmanpages:15 msgid "B [S>] [S>]" msgstr "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_installmanpages:19 msgid "" "dh_installmanpages is a debhelper program that is responsible for " @@ -3112,6 +3642,7 @@ "share/man/ et usr/X11R6/man/ du répertoire de construction du paquet." # type: textblock +#. type: textblock #: dh_installmanpages:23 msgid "" "This is a DWIM-style program, with an interface unlike the rest of " @@ -3123,6 +3654,7 @@ "préférer L." # type: textblock +#. type: textblock #: dh_installmanpages:27 msgid "" "dh_installmanpages scans the current directory and all subdirectories for " @@ -3139,6 +3671,7 @@ "l'extension du fichier pour l'installer dans le bon répertoire." # type: textblock +#. type: textblock #: dh_installmanpages:33 msgid "" "All filenames specified as parameters will be skipped by " @@ -3150,6 +3683,7 @@ "manuel dont vous ne voulez pas." # type: textblock +#. type: textblock #: dh_installmanpages:37 msgid "" "After the man page installation step, dh_installmanpages will check to see " @@ -3161,6 +3695,7 @@ "transforme en liens symboliques." # type: textblock +#. type: textblock #: dh_installmanpages:46 msgid "" "Do not install these files as man pages, even if they look like valid man " @@ -3170,11 +3705,13 @@ "manuel." # type: =head1 +#. type: =head1 #: dh_installmanpages:51 msgid "BUGS" msgstr "BOGUES" # type: textblock +#. type: textblock #: dh_installmanpages:53 msgid "" "dh_installmanpages will install the man pages it finds into B packages " @@ -3189,11 +3726,13 @@ ">.)" # type: textblock +#. type: textblock #: dh_installmanpages:58 msgid "Files ending in I<.man> will be ignored." msgstr "Les fichiers finissant par I<.man> sont ignorés." # type: textblock +#. type: textblock #: dh_installmanpages:60 msgid "" "Files specified as parameters that contain spaces in their filenames will " @@ -3203,6 +3742,7 @@ "contiennent des espaces dans leurs noms, ne seront pas traités correctement." # type: textblock +#. type: textblock #: dh_installman:5 msgid "dh_installman - install man pages into package build directories" msgstr "" @@ -3210,12 +3750,14 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installman:15 msgid "B [S>] [S>]" msgstr "" "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_installman:19 msgid "" "dh_installman is a debhelper program that handles installing man pages into " @@ -3241,6 +3783,7 @@ "fichier." # type: textblock +#. type: textblock #: dh_installman:29 msgid "" "It also supports translated man pages, by looking for extensions like .ll.8 " @@ -3253,6 +3796,7 @@ "également. Par S fr_BE pour le français de Belgique.)" # type: textblock +#. type: textblock #: dh_installman:32 #, fuzzy msgid "" @@ -3277,6 +3821,7 @@ "ambiguïté." # type: textblock +#. type: textblock #: dh_installman:41 msgid "" "Any man page filenames specified as parameters will be installed into the " @@ -3291,6 +3836,7 @@ "paquet indiqué par ces options." # type: textblock +#. type: textblock #: dh_installman:46 msgid "" "Files named debian/package.manpages can list other man pages to be installed." @@ -3299,6 +3845,7 @@ "de manuel à installer." # type: textblock +#. type: textblock #: dh_installman:49 msgid "" "After the man page installation step, dh_installman will check to see if any " @@ -3311,6 +3858,7 @@ "liens symboliques." # type: textblock +#. type: textblock #: dh_installman:53 msgid "" "Also, dh_installman will use man to guess the character encoding of each " @@ -3320,11 +3868,13 @@ msgstr "" # type: =item +#. type: =item #: dh_installman:67 msgid "B<--language>=ll" msgstr "B<--language>=ll" # type: textblock +#. type: textblock #: dh_installman:69 msgid "" "Use this to specify that the man pages being acted on are written in the " @@ -3334,11 +3884,13 @@ "étant écrites dans le langage indiqué par S<« ll »>." # type: =item +#. type: =item #: dh_installman:72 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installman:74 msgid "" "Install these man pages into the first package acted on. (Or in all packages " @@ -3348,6 +3900,7 @@ "dans tous les paquets traités si -A est indiqué)." # type: textblock +#. type: textblock #: dh_installman:81 msgid "" "An older version of this program, L, is still used by " @@ -3362,6 +3915,7 @@ "programme à la place." # type: textblock +#. type: textblock #: dh_installmenu:5 msgid "" "dh_installmenu - install debian menu files into package build directories" @@ -3370,11 +3924,13 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installmenu:14 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installmenu:18 msgid "" "dh_installmenu is a debhelper program that is responsible for installing " @@ -3385,6 +3941,7 @@ "utilisés par le paquet S<« menu »> de Debian." # type: textblock +#. type: textblock #: dh_installmenu:21 #, fuzzy msgid "" @@ -3394,11 +3951,13 @@ "explanation of how this works." msgstr "" "De plus, il produit automatiquement les lignes de code des scripts de " -"maintenance postinst et postrm nécessaires à l'interfaçage avec le paquet " -"menu. Consulter L pour obtenir une explication sur le " -"mécanisme d'insertion de lignes de code." +"maintenance postinst et postrm nécessaires à l'interfaçage avec le S<« mime-" +"support »> de Debian et avec le paquet S<« shared-mime-info »>. Consulter " +"L pour obtenir une explication sur le mécanisme " +"d'insertion de lignes code aux scripts de maintenance." # type: textblock +#. type: textblock #: dh_installmenu:26 msgid "" "If a file named debian/package.menu exists, then it is installed into usr/" @@ -3411,6 +3970,7 @@ "format de ce fichier." # type: textblock +#. type: textblock #: dh_installmenu:30 msgid "" "If a file named debian/package.menu-method exits, then it is installed into " @@ -3422,17 +3982,20 @@ "en tant que fichier de méthode de menu Debian." # type: textblock +#. type: textblock #: dh_installmenu:40 dh_installmime:37 dh_installmodules:49 dh_makeshlibs:64 #: dh_python:62 msgid "Do not modify postinst/postrm scripts." msgstr "Empêche la modification des scripts de maintenance postinst et postrm." # type: textblock +#. type: textblock #: dh_installmenu:82 msgid "L L L" msgstr "L L L" # type: textblock +#. type: textblock #: dh_installmime:5 msgid "dh_installmime - install mime files into package build directories" msgstr "" @@ -3440,11 +4003,13 @@ "construction du paquet" # type: textblock +#. type: textblock #: dh_installmime:14 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_installmime:18 msgid "" "dh_installmime is a debhelper program that is responsible for installing " @@ -3455,6 +4020,7 @@ "paquet." # type: textblock +#. type: textblock #: dh_installmime:21 #, fuzzy msgid "" @@ -3470,6 +4036,7 @@ "d'insertion de lignes code aux scripts de maintenance." # type: textblock +#. type: textblock #: dh_installmime:26 msgid "" "If files named debian/package.mime or debian/package.sharedmimeinfo exist, " @@ -3482,11 +4049,13 @@ "packages/paquet.xml." # type: textblock +#. type: textblock #: dh_installmodules:5 msgid "dh_installmodules - register modules with modutils" msgstr "dh_installmodules - inscrit les modules avec modutils" # type: textblock +#. type: textblock #: dh_installmodules:16 msgid "" "B [S>] [B<-n>] [B<--name=>I]" @@ -3494,6 +4063,7 @@ "B [S>] [B<-n>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installmodules:20 msgid "" "dh_installmodules is a debhelper program that is responsible for registering " @@ -3503,6 +4073,7 @@ "l'inscription des modules du noyau." # type: textblock +#. type: textblock #: dh_installmodules:23 #, fuzzy msgid "" @@ -3517,6 +4088,7 @@ "paquet et seront utilisés par la version de module-init-tools de modprobe." # type: textblock +#. type: textblock #: dh_installmodules:27 #, fuzzy msgid "" @@ -3534,6 +4106,7 @@ "d'insertion de lignes de code." # type: textblock +#. type: textblock #: dh_installmodules:33 msgid "" "Previous versions of dh_installmodules installed files named etc/modprobe.d/" @@ -3542,6 +4115,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installmodules:37 msgid "" "Previous versions of dh_installmodules also supported files named debian/" @@ -3551,6 +4125,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_installmodules:53 msgid "" "When this parameter is used, dh_installmodules looks for and installs files " @@ -3562,16 +4137,19 @@ "lieu des fichiers habituels debian/paquet.modules et debian/paquet.modprobe." # type: textblock +#. type: textblock #: dh_installpam:5 msgid "dh_installpam - install pam support files" msgstr "dh_installpam - installe les fichiers de support de PAM" # type: textblock +#. type: textblock #: dh_installpam:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installpam:18 msgid "" "dh_installpam is a debhelper program that is responsible for installing " @@ -3582,6 +4160,7 @@ "utilisés par PAM." # type: textblock +#. type: textblock #: dh_installpam:21 msgid "" "If a file named debian/package.pam exists, then it is installed into etc/pam." @@ -3591,6 +4170,7 @@ "répertoire de construction du paquet, sous etc/pam.d/paquet." # type: textblock +#. type: textblock #: dh_installpam:30 msgid "" "Look for files named debian/package.name.pam and install them as etc/pam.d/" @@ -3602,6 +4182,7 @@ "le nom du paquet." # type: textblock +#. type: textblock #: dh_install:5 msgid "dh_install - install files into package build directories" msgstr "" @@ -3609,6 +4190,7 @@ "paquet" # type: textblock +#. type: textblock #: dh_install:15 msgid "" "B [B<-X>I] [B<--autodest>] [B<--sourcedir=>I] " @@ -3619,6 +4201,7 @@ "destination>>]" # type: textblock +#. type: textblock #: dh_install:19 msgid "" "dh_install is a debhelper program that handles installing files into package " @@ -3641,6 +4224,7 @@ "en remplacement de l'ancien programme dh_movefiles." # type: textblock +#. type: textblock #: dh_install:27 msgid "" "Files named debian/package.install list the files to install into each " @@ -3663,6 +4247,7 @@ "(wildcard) dans les noms des fichiers à installer (à partir de la version 3)." # type: textblock +#. type: textblock #: dh_install:36 msgid "" "This program may be used in one of two ways. If you just have a file or two " @@ -3682,68 +4267,23 @@ "chaque paquet." # type: textblock +#. type: textblock #: dh_install:43 msgid "" "From debhelper compatibility level 7 on, dh_install will fall back to " "looking in debian/tmp for files, if it doesn't find them in the current " -"directory (or whereever you've told it to look using --srcdir)." +"directory (or whereever you've told it to look using --sourcedir)." msgstr "" # type: =item -#: dh_install:56 -msgid "B<--autodest>" -msgstr "B<--autodest>" - -# type: textblock -#: dh_install:58 -msgid "" -"Guess as the destination directory to install things to. If this is " -"specified, you should not list destination directories in debian/package." -"install files or on the command line. Instead, dh_install will guess as " -"follows:" -msgstr "" -"Avec ce paramètre, dh_install détermine de lui-même le répertoire de " -"destination des éléments installés. Si cette option est spécifiée, il ne " -"faut indiquer les répertoires de destination, ni dans les fichiers debian/" -"paquet.install, ni en ligne de commande. dh_install détermine les " -"répertoires de destination selon la règle S" - -# type: textblock -#: dh_install:63 -msgid "" -"Strip off debian/tmp (or the sourcedir if one is given) from the front of " -"the filename, if it is present, and install into the dirname of the " -"filename. So if the filename is debian/tmp/usr/bin, then that directory will " -"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " -"it will be copied to debian/package/etc/." -msgstr "" -"Il enlève debian/tmp (ou le nom du répertoire source, s'il a été indiqué) du " -"début du chemin du fichier, s'il est présent, et copie le fichier dans le " -"répertoire de construction du paquet, sous l'arborescence indiquée pour le " -"fichier source. Par exemple, si l'objet à installer est le répertoire debian/" -"tmp/usr/bin, alors il sera copié dans debian/paquet/usr/. Si le fichier à " -"installer est debian/tmp/etc/passwd, il sera copié dans debian/paquet/etc/." - -# type: textblock -#: dh_install:69 -msgid "" -"Note that if you list exactly one filename or wildcard-pattern on a line by " -"itself in a debian/package.install file, with no explicit destination, then " -"dh_install will automatically guess the destination even if this flag is not " -"set." -msgstr "" -"S Si le nom du fichier (ou le motif d'un ensemble de fichiers) est " -"indiqué sur une ligne du fichier debian/paquet.install, sans que la " -"destination soit précisée, alors dh_install déterminera automatiquement la " -"destination, même en l'absence de l'option B<--autodest>." - -# type: =item -#: dh_install:74 +#. type: =item +#: dh_install:51 msgid "B<--list-missing>" msgstr "B<--list-missing>" # type: textblock -#: dh_install:76 +#. type: textblock +#: dh_install:53 msgid "" "This option makes dh_install keep track of the files it installs, and then " "at the end, compare that list with the files in the source directory. If any " @@ -3757,7 +4297,8 @@ "stderr." # type: textblock -#: dh_install:81 +#. type: textblock +#: dh_install:58 msgid "" "This may be useful if you have a large package and want to make sure that " "you don't miss installing newly added files in new upstream releases." @@ -3767,7 +4308,8 @@ "fichiers récemment ajoutés dans la version." # type: textblock -#: dh_install:84 +#. type: textblock +#: dh_install:61 msgid "" "Note that files that are excluded from being moved via the -X option are not " "warned about." @@ -3776,12 +4318,14 @@ "message d'erreur." # type: =item -#: dh_install:87 +#. type: =item +#: dh_install:64 msgid "B<--fail-missing>" msgstr "B<--fail-missing>" # type: textblock -#: dh_install:89 +#. type: textblock +#: dh_install:66 msgid "" "This option is like --list-missing, except if a file was missed, it will not " "only list the missing files, but also fail with a nonzero exit code." @@ -3791,41 +4335,86 @@ "echec du programme avec une valeur de retour différente de zéro." # type: =item -#: dh_install:92 +#. type: =item +#: dh_install:74 msgid "B<--sourcedir=dir>" msgstr "B<--sourcedir=répertoire>" +#. type: textblock +#: dh_install:76 +msgid "Look in the specified directory for files to be installed." +msgstr "" + +#. type: textblock +#: dh_install:78 +msgid "" +"Note that this is not the same as the --sourcedirectory option used by the " +"dh_auto_* commands. You rarely need to use this option, since dh_install " +"automatically looks for files in debian/tmp in debhelper compatibility level " +"7 and above." +msgstr "" + +# type: =item +#. type: =item +#: dh_install:83 +msgid "B<--autodest>" +msgstr "B<--autodest>" + # type: textblock -#: dh_install:94 +#. type: textblock +#: dh_install:85 msgid "" -"Makes all source files be found under dir. If this is specified, it is akin " -"to all the source filenames having \"dir/\" prepended to them." +"Guess as the destination directory to install things to. If this is " +"specified, you should not list destination directories in debian/package." +"install files or on the command line. Instead, dh_install will guess as " +"follows:" +msgstr "" +"Avec ce paramètre, dh_install détermine de lui-même le répertoire de " +"destination des éléments installés. Si cette option est spécifiée, il ne " +"faut indiquer les répertoires de destination, ni dans les fichiers debian/" +"paquet.install, ni en ligne de commande. dh_install détermine les " +"répertoires de destination selon la règle S" + +# type: textblock +#. type: textblock +#: dh_install:90 +msgid "" +"Strip off debian/tmp (or the sourcedir if one is given) from the front of " +"the filename, if it is present, and install into the dirname of the " +"filename. So if the filename is debian/tmp/usr/bin, then that directory will " +"be copied to debian/package/usr/. If the filename is debian/tmp/etc/passwd, " +"it will be copied to debian/package/etc/." msgstr "" -"Avec cette option, tous les fichiers source seront trouvés dans le " -"répertoire indiqué. Cela revient à ce que tous les noms des fichiers source " -"soient préfixés par S<« répertoire »>." +"Il enlève debian/tmp (ou le nom du répertoire source, s'il a été indiqué) du " +"début du chemin du fichier, s'il est présent, et copie le fichier dans le " +"répertoire de construction du paquet, sous l'arborescence indiquée pour le " +"fichier source. Par exemple, si l'objet à installer est le répertoire debian/" +"tmp/usr/bin, alors il sera copié dans debian/paquet/usr/. Si le fichier à " +"installer est debian/tmp/etc/passwd, il sera copié dans debian/paquet/etc/." # type: textblock -#: dh_install:97 +#. type: textblock +#: dh_install:96 msgid "" -"To make dh_install behave like the old dh_movefiles, move your package.files " -"file to package.install and call dh_install with \"--sourcedir=debian/tmp\" " -"appended to the command. This will approximate dh_movefiles behaviour, " -"except it will copy files instead of moving them." +"Note that if you list exactly one filename or wildcard-pattern on a line by " +"itself in a debian/package.install file, with no explicit destination, then " +"dh_install will automatically guess the destination even if this flag is not " +"set." msgstr "" -"Pour que dh_install se comporte comme l'ancien dh_movefiles, il suffit de " -"renommer le fichier package.files en package.install et d'exécuter " -"dh_install avec l'option S<« --sourcedir=debian/tmp »>. Cela produira un " -"comportement proche de celui de dh_movefiles, sauf qu'il copiera les " -"fichiers au lieu de les déplacer." +"S Si le nom du fichier (ou le motif d'un ensemble de fichiers) est " +"indiqué sur une ligne du fichier debian/paquet.install, sans que la " +"destination soit précisée, alors dh_install déterminera automatiquement la " +"destination, même en l'absence de l'option B<--autodest>." # type: =item -#: dh_install:103 +#. type: =item +#: dh_install:101 msgid "I" msgstr "I" # type: textblock -#: dh_install:105 +#. type: textblock +#: dh_install:103 msgid "" "Lists files (or directories) to install and where to install them to. The " "files will be installed into the first package dh_install acts on." @@ -3835,12 +4424,14 @@ "paquet traité par dh_install." # type: =head1 -#: dh_install:241 +#. type: =head1 +#: dh_install:240 msgid "EXAMPLE" msgstr "EXEMPLE" # type: textblock -#: dh_install:243 +#. type: textblock +#: dh_install:242 msgid "" "Suppose your package's upstream Makefile installs a binary, a man page, and " "a library into appropriate subdirectories of debian/tmp. You want to put the " @@ -3856,7 +4447,8 @@ "debian/toto.install qui S" # type: verbatim -#: dh_install:249 +#. type: verbatim +#: dh_install:248 #, no-wrap msgid "" " usr/bin\n" @@ -3868,12 +4460,14 @@ "\n" # type: textblock -#: dh_install:252 +#. type: textblock +#: dh_install:251 msgid "While debian/libfoo.install contains:" msgstr "Tandis que debian/libtoto.install devra S" # type: verbatim -#: dh_install:254 +#. type: verbatim +#: dh_install:253 #, no-wrap msgid "" " usr/lib/libfoo*.so.*\n" @@ -3883,7 +4477,8 @@ "\n" # type: textblock -#: dh_install:256 +#. type: textblock +#: dh_install:255 msgid "" "If you want a libfoo-dev package too, debian/libfoo-dev.install might " "contain:" @@ -3892,7 +4487,8 @@ "dev.install devra S" # type: verbatim -#: dh_install:258 +#. type: verbatim +#: dh_install:257 #, no-wrap msgid "" " usr/include\n" @@ -3906,12 +4502,14 @@ "\n" # type: =head1 -#: dh_install:262 +#. type: =head1 +#: dh_install:261 msgid "LIMITATIONS" msgstr "LIMITES" # type: verbatim -#: dh_install:264 +#. type: verbatim +#: dh_install:263 #, no-wrap msgid "" "dh_install cannot rename files or directories, it can only install them\n" @@ -3923,16 +4521,19 @@ "\n" # type: textblock +#. type: textblock #: dh_installppp:5 msgid "dh_installppp - install ppp ip-up and ip-down files" msgstr "dh_installppp - installe les fichiers ppp.ip-up et ppp.ip-down" # type: textblock +#. type: textblock #: dh_installppp:14 msgid "B [S>] [B<--name=>I]" msgstr "B [S>] [B<--name=>I]" # type: textblock +#. type: textblock #: dh_installppp:18 msgid "" "dh_installppp is a debhelper program that is responsible for installing ppp " @@ -3943,6 +4544,7 @@ "construction du paquet." # type: textblock +#. type: textblock #: dh_installppp:21 msgid "" "If a file named debian/package.ppp.ip-up exists, then it is installed into " @@ -3955,6 +4557,7 @@ "ip-down.d/paquet" # type: textblock +#. type: textblock #: dh_installppp:32 msgid "" "Look for files named debian/package.name.ppp.ip-* and install them as etc/" @@ -3966,11 +4569,13 @@ "installer sous le nom du paquet." # type: textblock +#. type: textblock #: dh_installwm:5 msgid "dh_installwm - register a window manager" msgstr "dh_installwm - inscrit un gestionnaire de fenêtre (window manager)" # type: textblock +#. type: textblock #: dh_installwm:14 msgid "" "B [S>] [B<-n>] [B<--priority=>I] " @@ -3980,6 +4585,7 @@ "[S>]" # type: textblock +#. type: textblock #: dh_installwm:18 #, fuzzy msgid "" @@ -3995,6 +4601,7 @@ "(8)>" # type: textblock +#. type: textblock #: dh_installwm:24 msgid "" "Any window manager programs specified as parameters will be registered in " @@ -4009,6 +4616,7 @@ "options." # type: textblock +#. type: textblock #: dh_installwm:29 msgid "" "Files named debian/package.wm can list other window manager programs to " @@ -4018,6 +4626,7 @@ "gestionnaires de fenêtre à inscrire." # type: textblock +#. type: textblock #: dh_installwm:38 msgid "" "Set the priority of the window manager. Default is 20, which is too low for " @@ -4029,6 +4638,7 @@ "Charte Debian sur la méthode de détermination de la valeur adéquate." # type: textblock +#. type: textblock #: dh_installwm:44 msgid "Do not modify postinst/postrm scripts. Turns this command into a no-op." msgstr "" @@ -4036,11 +4646,13 @@ "Utiliser ce paramètre revient à ne rien faire." # type: =item +#. type: =item #: dh_installwm:46 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_installwm:48 msgid "" "The commands used to run the window manager or window managers you want to " @@ -4050,17 +4662,20 @@ "nom du gestionnaire de fenêtre à inscrire." # type: textblock +#. type: textblock #: dh_installxfonts:5 msgid "dh_installxfonts - register X fonts" msgstr "" "dh_installxfonts - inscrit les polices de caractères graphiques (X fonts)" # type: textblock +#. type: textblock #: dh_installxfonts:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_installxfonts:18 msgid "" "dh_installxfonts is a debhelper program that is responsible for registering " @@ -4073,6 +4688,7 @@ "lors de l'installation." # type: textblock +#. type: textblock #: dh_installxfonts:22 msgid "" "Before calling this program, you should have installed any X fonts provided " @@ -4087,6 +4703,7 @@ "fichiers fonts.alias et fonts.scale dans etc/X11/fonts s'ils sont utilisés." # type: textblock +#. type: textblock #: dh_installxfonts:28 msgid "" "Your package should depend on xfonts-utils so that the update-fonts-* " @@ -4097,6 +4714,7 @@ "soit disponible. dh_installxfonts ajoute cette dépendance à ${misc:Depends}." # type: textblock +#. type: textblock #: dh_installxfonts:32 #, fuzzy msgid "" @@ -4111,6 +4729,7 @@ "le mécanisme d'insertion de lignes de code." # type: textblock +#. type: textblock #: dh_installxfonts:39 msgid "" "See L, L, and L>]" # type: textblock +#. type: textblock #: dh_link:19 msgid "" "dh_link is a debhelper program that creates symlinks in package build " @@ -4156,6 +4779,7 @@ "liens symboliques dans le répertoire de construction du paquet." # type: textblock +#. type: textblock #: dh_link:22 msgid "" "dh_link accepts a list of pairs of source and destination files. The source " @@ -4170,6 +4794,7 @@ "destinations." # type: textblock +#. type: textblock #: dh_link:27 msgid "" "The list can be specified in two ways. A file named debian/package.links can " @@ -4194,6 +4819,7 @@ "indiqué par ces options." # type: textblock +#. type: textblock #: dh_link:36 msgid "" "Be sure you B specify the full filename to both the source and " @@ -4205,6 +4831,7 @@ "(1)>." # type: textblock +#. type: textblock #: dh_link:40 msgid "" "dh_link will generate symlinks that comply with debian policy - absolute " @@ -4218,6 +4845,7 @@ "tous les sous-répertoires nécessaires à l'installation des liens symboliques." # type: textblock +#. type: textblock #: dh_link:45 msgid "" "dh_link also scans the package build tree for existing symlinks which do not " @@ -4228,6 +4856,7 @@ "conformes à la Charte Debian." # type: textblock +#. type: textblock #: dh_link:54 msgid "" "Create any links specified by command line parameters in ALL packages acted " @@ -4237,6 +4866,7 @@ "pas seulement dans le premier paquet construit." # type: textblock +#. type: textblock #: dh_link:59 #, fuzzy msgid "" @@ -4247,11 +4877,13 @@ "nom, de la liste des sommes md5." # type: =item +#. type: =item #: dh_link:62 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_link:64 msgid "" "Create a file named \"destination\" as a link to a file named \"source\". Do " @@ -4263,6 +4895,7 @@ "premier paquet traité (ou de tous les paquets si -A est indiqué)." # type: verbatim +#. type: verbatim #: dh_link:72 #, no-wrap msgid "" @@ -4273,11 +4906,13 @@ "\n" # type: textblock +#. type: textblock #: dh_link:74 msgid "Make bar.1 be a symlink to foo.1" msgstr "Produira un lien titi.1 pointant vers toto.1" # type: verbatim +#. type: verbatim #: dh_link:76 #, no-wrap msgid "" @@ -4290,6 +4925,7 @@ "\n" # type: textblock +#. type: textblock #: dh_link:79 msgid "" "Make /usr/lib/foo/ be a link to /var/lib/foo/, and bar.1 be a symlink to the " @@ -4299,17 +4935,20 @@ "lien symbolique titi.1 qui pointe vers la page de man toto.1." # type: textblock +#. type: textblock #: dh_listpackages:5 msgid "dh_listpackages - list binary packages debhelper will act on" msgstr "" "dh_listpackages - énumère les paquets binaires que debhelper va traiter" # type: textblock +#. type: textblock #: dh_listpackages:14 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_listpackages:18 msgid "" "dh_listpackages is a debhelper program that outputs a list of all binary " @@ -4324,6 +4963,7 @@ "programmes debhelper s'ils recevaient ces mêmes paramètres." # type: textblock +#. type: textblock #: dh_makeshlibs:5 #, fuzzy msgid "" @@ -4331,6 +4971,7 @@ msgstr "dh_makeshlibs - crée automatiquement le fichier shlibs" # type: textblock +#. type: textblock #: dh_makeshlibs:14 #, fuzzy msgid "" @@ -4341,6 +4982,7 @@ "V>I<[dépendances]>] [B<-n>] [B<-X>I<élément>]" # type: textblock +#. type: textblock #: dh_makeshlibs:18 msgid "" "dh_makeshlibs is a debhelper program that automatically scans for shared " @@ -4351,6 +4993,7 @@ "pour celles qu'il a trouvées." # type: textblock +#. type: textblock #: dh_makeshlibs:21 #, fuzzy msgid "" @@ -4362,6 +5005,7 @@ "les paquets où des bibliothèques partagées ont été trouvées." # type: textblock +#. type: textblock #: dh_makeshlibs:24 msgid "" "If a L symbol file is found in debian/package.symbols " @@ -4370,11 +5014,13 @@ msgstr "" # type: =item +#. type: =item #: dh_makeshlibs:32 msgid "B<-m>I, B<--major=>I" msgstr "B<-m>I, B<--major=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:34 msgid "" "Instead of trying to guess the major number of the library with objdump, use " @@ -4388,16 +5034,19 @@ "bibliothèque et non sur l'utilisation d'objdump." # type: =item +#. type: =item #: dh_makeshlibs:39 msgid "B<-V>, B<-V>I" msgstr "B<-V>, B<-V>I" # type: =item +#. type: =item #: dh_makeshlibs:41 msgid "B<--version-info>, B<--version-info=>I" msgstr "B<--version-info>, B<--version-info=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:43 msgid "" "By default, the shlibs file generated by this program does not make packages " @@ -4423,6 +5072,7 @@ "exacte (inclure absolument le nom de paquet)." # type: textblock +#. type: textblock #: dh_makeshlibs:54 msgid "" "Beware of using -V without any parameters; this is a conservative setting " @@ -4442,6 +5092,7 @@ "serait difficile de les mettre à jour." # type: textblock +#. type: textblock #: dh_makeshlibs:68 msgid "" "Exclude files that contain \"item\" anywhere in their filename or directory " @@ -4451,11 +5102,13 @@ "comportent S<« élément »> n'importe où dans leur nom. " # type: =item +#. type: =item #: dh_makeshlibs:71 msgid "B<--add-udeb=>I" msgstr "B<--add-udeb=>I" # type: textblock +#. type: textblock #: dh_makeshlibs:73 msgid "" "Create an additional line for udebs in the shlibs file and use \"udeb\" as " @@ -4467,17 +5120,20 @@ "soient dépendants du paquet normal de la bibliothèque." # type: textblock +#. type: textblock #: dh_makeshlibs:78 #, fuzzy msgid "Pass \"params\" to L." msgstr "Fournit S<« paramètres »> à L." # type: =item +#. type: =item #: dh_makeshlibs:86 msgid "dh_makeshlibs" msgstr "dh_makeshlibs" # type: verbatim +#. type: verbatim #: dh_makeshlibs:88 #, no-wrap msgid "" @@ -4491,11 +5147,13 @@ "\n" # type: =item +#. type: =item #: dh_makeshlibs:92 msgid "dh_makeshlibs -V" msgstr "dh_makeshlibs -V" # type: verbatim +#. type: verbatim #: dh_makeshlibs:94 #, no-wrap msgid "" @@ -4509,11 +5167,13 @@ "\n" # type: =item +#. type: =item #: dh_makeshlibs:98 msgid "dh_makeshlibs -V 'libfoobar1 (>= 1.0)'" msgstr "dh_makeshlibs -V 'libtoto1 (>= 1.0)'" # type: verbatim +#. type: verbatim #: dh_makeshlibs:100 #, no-wrap msgid "" @@ -4526,11 +5186,13 @@ "\n" # type: textblock +#. type: textblock #: dh_md5sums:5 msgid "dh_md5sums - generate DEBIAN/md5sums file" msgstr "dh_md5sums - crée le fichier DEBIAN/md5sums" # type: textblock +#. type: textblock #: dh_md5sums:15 msgid "" "B [S>] [B<-x>] [B<-X>I] [B<--include-" @@ -4540,6 +5202,7 @@ "include-conffiles>]" # type: textblock +#. type: textblock #: dh_md5sums:19 msgid "" "dh_md5sums is a debhelper program that is responsible for generating a " @@ -4551,6 +5214,7 @@ "paquet. Ces fichiers sont habituellement exploités par le paquet debsums." # type: textblock +#. type: textblock #: dh_md5sums:23 msgid "" "All files in DEBIAN/ are omitted from the md5sums file, as are all conffiles " @@ -4561,17 +5225,20 @@ "conffiles est employé." # type: textblock +#. type: textblock #: dh_md5sums:26 msgid "The md5sums file is installed with proper permissions and ownerships." msgstr "" "Le fichier md5sums est installé avec les droits et permissions adéquats." # type: =item +#. type: =item #: dh_md5sums:32 msgid "B<-x>, B<--include-conffiles>" msgstr "B<-x>, B<--include-conffiles>" # type: textblock +#. type: textblock #: dh_md5sums:34 msgid "" "Include conffiles in the md5sums list. Note that this information is " @@ -4582,6 +5249,7 @@ "ailleurs dans les paquets Debian." # type: textblock +#. type: textblock #: dh_md5sums:39 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -4591,12 +5259,14 @@ "nom, de la liste des sommes md5." # type: textblock +#. type: textblock #: dh_movefiles:5 msgid "dh_movefiles - move files out of debian/tmp into subpackages" msgstr "" "dh_movefiles - déplace des fichiers depuis debian/tmp dans des sous-paquets" # type: textblock +#. type: textblock #: dh_movefiles:14 msgid "" "B [S>] [B<--sourcedir=>I] [B<-" @@ -4606,6 +5276,7 @@ "[B<-X>I<élément>] [S>]" # type: textblock +#. type: textblock #: dh_movefiles:18 msgid "" "dh_movefiles is a debhelper program that is responsible for moving files out " @@ -4620,6 +5291,7 @@ "d'éclater cela dans plusieurs sous-paquets." # type: textblock +#. type: textblock #: dh_movefiles:23 msgid "" "Files named debian/package.files list the files to be moved, separated by " @@ -4636,6 +5308,7 @@ "s'appliquera alors au premier paquet que dh_movefiles traitera." # type: textblock +#. type: textblock #: dh_movefiles:29 #, fuzzy msgid "" @@ -4646,11 +5319,13 @@ "chose et bien plus encore." # type: =item +#. type: =item #: dh_movefiles:36 msgid "B<--sourcedir=>I" msgstr "B<--sourcedir=>I" # type: textblock +#. type: textblock #: dh_movefiles:38 msgid "" "Instead of moving files out of debian/tmp (the default), this option makes " @@ -4667,6 +5342,7 @@ "fichier relatif. Il ne peut donc pas commencer par S<« / »>." # type: textblock +#. type: textblock #: dh_movefiles:51 msgid "" "Lists files to move. The filenames listed should be relative to debian/tmp/. " @@ -4681,6 +5357,7 @@ "a pour indiquer à dh_movefiles dans quel sous-paquet les mettre." # type: textblock +#. type: textblock #: dh_movefiles:60 msgid "" "Note that files are always moved out of debian/tmp by default (even if you " @@ -4700,12 +5377,14 @@ "resteront seront ignorés et supprimés ultérieurement par dh_clean." # type: textblock +#. type: textblock #: dh_perl:5 #, fuzzy msgid "dh_perl - calculates perl dependencies and cleans up after MakeMaker" msgstr "dh_perl - détermine les dépendances Perl" # type: textblock +#. type: textblock #: dh_perl:16 msgid "B [S>] [B<-d>] [S>]" msgstr "" @@ -4713,6 +5392,7 @@ "répertoires ...>>]" # type: textblock +#. type: textblock #: dh_perl:20 msgid "" "dh_perl is a debhelper program that is responsible for generating the ${perl:" @@ -4723,6 +5403,7 @@ "de substitution (substvars files)." # type: textblock +#. type: textblock #: dh_perl:23 msgid "" "The program will look at perl scripts and modules in your package, and will " @@ -4736,6 +5417,7 @@ "où est indiqué S<« ${perl:Depends} »>." # type: textblock +#. type: textblock #: dh_perl:28 msgid "" "dh_perl also cleans up empty directories that MakeMaker can generate when " @@ -4743,11 +5425,13 @@ msgstr "" # type: =item +#. type: =item #: dh_perl:35 msgid "B<-d>" msgstr "B<-d>" # type: textblock +#. type: textblock #: dh_perl:37 msgid "" "In some specific cases you may want to depend on perl-base rather than the " @@ -4762,6 +5446,7 @@ "le système de base." # type: textblock +#. type: textblock #: dh_perl:42 msgid "" "Note that this flag may cause no dependency on perl-base to be generated at " @@ -4773,11 +5458,13 @@ "peut être omise, à moins qu'une dépendance de version soit nécessaire." # type: =item +#. type: =item #: dh_perl:46 msgid "B<-V>" msgstr "B<-V>" # type: textblock +#. type: textblock #: dh_perl:48 msgid "" "By default, scripts and architecture independent modules don't depend on any " @@ -4789,11 +5476,13 @@ "spécifier la version en cours du paquet perl (ou perl-base avec -d)." # type: =item +#. type: =item #: dh_perl:52 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_perl:54 msgid "" "If your package installs perl modules in non-standard directories, you can " @@ -4806,21 +5495,27 @@ "les répertoires vendorlib et vendorarch." # type: textblock -#: dh_perl:63 dh_strip:76 -msgid "Debian policy, version 3.0.1" +#. type: textblock +#: dh_perl:63 +#, fuzzy +msgid "Debian policy, version 3.8.3" msgstr "Charte Debian, version 3.0.1" # type: textblock +#. type: textblock #: dh_perl:65 -msgid "Perl policy, version 1.18" +#, fuzzy +msgid "Perl policy, version 1.20" msgstr "Charte Perl, version 1.18" # type: textblock -#: dh_perl:160 +#. type: textblock +#: dh_perl:153 msgid "Brendan O'Dea " msgstr "Brendan O'Dea " # type: textblock +#. type: textblock #: dh_python:5 msgid "" "dh_python - calculates python dependencies and adds postinst and prerm " @@ -4830,6 +5525,7 @@ "maintenance Python postinst et prerm" # type: textblock +#. type: textblock #: dh_python:15 msgid "" "B [S>] [B<-n>] [B<-V> I] " @@ -4839,6 +5535,7 @@ "[S>]" # type: textblock +#. type: textblock #: dh_python:19 msgid "" "Note: This program is deprecated. You should use dh_pysupport or " @@ -4851,6 +5548,7 @@ "control »>." # type: textblock +#. type: textblock #: dh_python:23 msgid "" "dh_python is a debhelper program that is responsible for generating the " @@ -4863,6 +5561,7 @@ "scripts de maintenance postinst et prerm." # type: textblock +#. type: textblock #: dh_python:27 msgid "" "The program will look at python scripts and modules in your package, and " @@ -4879,6 +5578,7 @@ "Depends} »>." # type: textblock +#. type: textblock #: dh_python:33 msgid "" "If some modules need to be byte-compiled at install time, appropriate " @@ -4891,6 +5591,7 @@ "supprimés." # type: textblock +#. type: textblock #: dh_python:37 msgid "If you use this program, your package should build-depend on python." msgstr "" @@ -4898,11 +5599,13 @@ "construction (build-depend)." # type: =item +#. type: =item #: dh_python:43 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_python:45 msgid "" "If your package installs python modules in non-standard directories, you can " @@ -4918,6 +5621,7 @@ "$PACKAGE, /usr/share/games/$PACKAGE et /usr/lib/python?.?/site-packages." # type: textblock +#. type: textblock #: dh_python:51 msgid "" "Note: only /usr/lib/site-python, /usr/lib/python?.?/site-packages and the " @@ -4928,11 +5632,13 @@ "en argument sur la ligne de commande." # type: =item +#. type: =item #: dh_python:54 msgid "B<-V> I" msgstr "B<-V> I" # type: textblock +#. type: textblock #: dh_python:56 msgid "" "If the .py files your package ships are meant to be used by a specific " @@ -4945,87 +5651,62 @@ "les modules sont placés dans /usr/lib/site-python." # type: textblock +#. type: textblock #: dh_python:68 msgid "Debian policy, version 3.5.7" msgstr "Charte Debian, version 3.5.7" # type: textblock +#. type: textblock #: dh_python:70 msgid "Python policy, version 0.3.7" msgstr "Charte Python, version 0.3.7" # type: textblock +#. type: textblock #: dh_python:290 msgid "Josselin Mouette " msgstr "Josselin Mouette " # type: textblock +#. type: textblock #: dh_python:292 msgid "most ideas stolen from Brendan O'Dea " msgstr "La plupart des idées ont été volées à Brendan O'Dea " -# type: textblock +#. type: textblock #: dh_scrollkeeper:5 -msgid "dh_scrollkeeper - generate ScrollKeeper registration scripts" -msgstr "dh_scrollkeeper - produit les scripts d'enregistrement ScrollKeeper" +msgid "dh_scrollkeeper - deprecated no-op" +msgstr "" # type: textblock +#. type: textblock #: dh_scrollkeeper:14 msgid "B [S>] [B<-n>] [S>]" msgstr "" "B [S>] [B<-n>] [S>]" # type: textblock +#. type: textblock #: dh_scrollkeeper:18 +#, fuzzy msgid "" -"B is a debhelper program that handles correctly registering " -"OMF files that it finds in package build trees with ScrollKeeper." +"dh_scrollkeeper was a debhelper program that handled registering OMF files " +"for ScrollKeeper. However, it no longer does anything, and is now deprecated." msgstr "" "B est le programme de la suite debhelper chargé de la " "maintenance, par ScrollKeeper, des inscriptions des fichiers OMF qu'il " "trouve dans le répertoire de construction du paquet." # type: textblock -#: dh_scrollkeeper:22 -#, fuzzy -msgid "" -"This command automatically adds maintainer script snippets for registering " -"and unregistering files with ScrollKeeper (unless B<-n> is used). These " -"snippets are inserted into the maintainer scripts by dh_installdeb. See " -"L for an explanation of Debhelper maintainer script " -"snippets." -msgstr "" -"Cette commande ajoute automatiquement des lignes de code dans les scripts de " -"maintenance du paquet pour l'inscription et la radiation des fichiers avec " -"ScrollKeeper (sauf si B<-n > est employé). Voir L pour une " -"explication sur l'incorporation de lignes de code dans les scripts de " -"maintenance du paquet." - -# type: textblock -#: dh_scrollkeeper:28 -msgid "" -"It will also change any DTD declarations in the OMF and DocBook files to " -"refer to local files instead of remote URLs. This change does not modify the " -"source files, but the files in the package build tree." -msgstr "" -"Ce programme changera également toutes les déclarations de DTD dans les " -"fichiers OMF et DocBook pour se référer aux fichiers locaux au lieu des URL " -"distantes. Ce changement ne modifie pas les fichiers source mais les " -"fichiers du répertoire de construction du paquet." - -# type: textblock -#: dh_scrollkeeper:38 -msgid "Do not modify F/F scripts." -msgstr "" -"Empêche la modification des scripts de maintenance F et F." - -# type: textblock +#. type: textblock #: dh_shlibdeps:5 msgid "dh_shlibdeps - calculate shared library dependencies" msgstr "" "dh_shlibdeps - détermine les dépendances envers les bibliothèques partagées" # type: textblock +#. type: textblock #: dh_shlibdeps:15 msgid "" "B [S>] [B<-L>I] [B<-" @@ -5035,6 +5716,7 @@ "l>I] [B<-X>I<élément>] [S I>]" # type: textblock +#. type: textblock #: dh_shlibdeps:19 msgid "" "dh_shlibdeps is a debhelper program that is responsible for calculating " @@ -5044,6 +5726,7 @@ "dépendances des paquets envers les bibliothèques partagées." # type: textblock +#. type: textblock #: dh_shlibdeps:22 msgid "" "This program is merely a wrapper around L that calls it " @@ -5056,16 +5739,19 @@ "qu'il a trouvés." # type: =item +#. type: =item #: dh_shlibdeps:30 msgid "B<-u>I, B<--dpkg-shlibdeps-params=>I" msgstr "B<-u>I, B<--dpkg-shlibdeps-params=>I" # type: textblock +#. type: textblock #: dh_shlibdeps:34 msgid "Pass \"params\" to L." msgstr "Passe S<« paramètres »> à L." # type: textblock +#. type: textblock #: dh_shlibdeps:38 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -5080,17 +5766,20 @@ "éléments." # type: =item +#. type: =item #: dh_shlibdeps:43 msgid "B<-l>I[:directory:directory:..]" msgstr "B<-l>I[:répertoire:répertoire:..]" # type: textblock +#. type: textblock #: dh_shlibdeps:45 msgid "" "With recent versions of dpkg-shlibdeps, this option is generally not needed." msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:48 #, fuzzy msgid "" @@ -5108,11 +5797,13 @@ "seront rendus absolus pour les dpkg-shlibdeps." # type: =item +#. type: =item #: dh_shlibdeps:55 msgid "B<-L>I, B<--libpackage=>I" msgstr "B<-L>I, B<--libpackage=>I" # type: textblock +#. type: textblock #: dh_shlibdeps:57 msgid "" "With recent versions of dpkg-shlibdeps, this option is generally not needed, " @@ -5120,6 +5811,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:60 msgid "" "It tells dpkg-shlibdeps (via its -S parameter) to look first in the package " @@ -5128,6 +5820,7 @@ msgstr "" # type: textblock +#. type: textblock #: dh_shlibdeps:68 msgid "" "Suppose that your source package produces libfoo1, libfoo-dev, and libfoo-" @@ -5140,6 +5833,7 @@ "dh_makeshlibs puis S" # type: verbatim +#. type: verbatim #: dh_shlibdeps:72 #, fuzzy, no-wrap msgid "" @@ -5152,6 +5846,7 @@ "\n" # type: textblock +#. type: textblock #: dh_shlibdeps:75 msgid "" "This will have the effect of generating automatically a shlibs file for " @@ -5164,6 +5859,7 @@ "bibliothèque partagée." # type: textblock +#. type: textblock #: dh_shlibdeps:80 msgid "" "If a libbar1 package is also produced, that is an alternate build of libfoo, " @@ -5172,22 +5868,25 @@ msgstr "" # type: verbatim +#. type: verbatim #: dh_shlibdeps:84 #, fuzzy, no-wrap msgid "" "\tdh_shlibdeps -Llibbar1 -l/usr/lib/bar\n" -"\n" +"\t\n" msgstr "" "\tdh_makeshlibs\n" "\tdh_shlibdeps -L libtoto1 -l debian/libtoto1/usr/lib\n" "\n" # type: textblock -#: dh_shlibdeps:161 +#. type: textblock +#: dh_shlibdeps:170 msgid "L, L" msgstr "L, L" # type: textblock +#. type: textblock #: dh_strip:5 msgid "" "dh_strip - strip executables, shared libraries, and some static libraries" @@ -5196,6 +5895,7 @@ "certaines bibliothèques statiques" # type: textblock +#. type: textblock #: dh_strip:15 msgid "" "B [S>] [B<-X>I] [--dbg-package=package] " @@ -5205,6 +5905,7 @@ "package=paquet] [--keep-debug]" # type: textblock +#. type: textblock #: dh_strip:19 msgid "" "dh_strip is a debhelper program that is responsible for stripping " @@ -5216,6 +5917,7 @@ "ne sont pas utilisés pour la mise au point." # type: textblock +#. type: textblock #: dh_strip:23 msgid "" "This program examines your package build directories and works out what to " @@ -5237,6 +5939,7 @@ "tous les cas." # type: textblock +#. type: textblock #: dh_strip:31 msgid "" "Since it is very hard to automatically guess if a file is a module, and hard " @@ -5249,6 +5952,7 @@ "»>." # type: textblock +#. type: textblock #: dh_strip:41 msgid "" "Exclude files that contain \"item\" anywhere in their filename from being " @@ -5260,11 +5964,13 @@ "pour établir une liste des éléments à exclure." # type: =item +#. type: =item #: dh_strip:45 msgid "B<--dbg-package=>I" msgstr "B<--dbg-package=>I" # type: textblock +#. type: textblock #: dh_strip:47 msgid "" "Causes dh_strip to save debug symbols stripped from the packages it acts on " @@ -5277,6 +5983,7 @@ "indiqué." # type: textblock +#. type: textblock #: dh_strip:51 #, fuzzy msgid "" @@ -5288,6 +5995,7 @@ "utiliser dh_strip --dbg-package=toto-dbg." # type: textblock +#. type: textblock #: dh_strip:54 msgid "" "Note that this option behaves significantly different in debhelper " @@ -5304,11 +6012,13 @@ "dans des paquets, suffixés par S<« -dbg »>." # type: =item +#. type: =item #: dh_strip:60 msgid "B<-k>, B<--keep-debug>" msgstr "B<-k>, B<--keep-debug>" # type: textblock +#. type: textblock #: dh_strip:62 msgid "" "Debug symbols will be retained, but split into an independent file in usr/" @@ -5321,6 +6031,7 @@ "dernière est plus souple." # type: textblock +#. type: textblock #: dh_strip:70 #, fuzzy msgid "" @@ -5332,16 +6043,25 @@ "rien ne sera dépouillé, conformément à la Charte Debian." # type: textblock +#. type: textblock +#: dh_strip:76 +msgid "Debian policy, version 3.0.1" +msgstr "Charte Debian, version 3.0.1" + +# type: textblock +#. type: textblock #: dh_suidregister:5 msgid "dh_suidregister - obsolete suid registration program" msgstr "dh_suidregister - programme obsolète d'inscription suid" # type: textblock +#. type: textblock #: dh_suidregister:9 dh_undocumented:14 msgid "Do not run!" msgstr "Ne pas S" # type: textblock +#. type: textblock #: dh_suidregister:13 msgid "" "This program used to register suid and sgid files with L, " @@ -5355,11 +6075,13 @@ "programme ne doit pas être employé." # type: =head1 +#. type: =head1 #: dh_suidregister:18 msgid "CONVERTING TO STATOVERRIDE" msgstr "CONVERSION EN STATOVERRIDE" # type: textblock +#. type: textblock #: dh_suidregister:20 msgid "" "Converting a package that uses this program to use the new statoverride " @@ -5372,6 +6094,7 @@ "versions dans le fichier S<« control »> de la façon S" # type: verbatim +#. type: verbatim #: dh_suidregister:25 #, no-wrap msgid "" @@ -5382,6 +6105,7 @@ "\n" # type: textblock +#. type: textblock #: dh_suidregister:27 msgid "" "The conflicts is only necessary if your package used to register things with " @@ -5393,17 +6117,20 @@ "l'appel à dh_suidregister du fichier S<« rules »>." # type: textblock +#. type: textblock #: dh_testdir:5 msgid "dh_testdir - test directory before building debian package" msgstr "" "dh_testdir - vérifie le répertoire avant de construire un paquet Debian" # type: textblock +#. type: textblock #: dh_testdir:14 msgid "B [S>] [S>]" msgstr "B [S>] [S>]" # type: textblock +#. type: textblock #: dh_testdir:18 msgid "" "dh_testdir tries to make sure that you are in the correct directory when " @@ -5417,11 +6144,13 @@ "commande. Dans le cas contraire il produit une erreur." # type: textblock +#. type: textblock #: dh_testdir:29 msgid "Test for the existence of these files too." msgstr "Teste également l'existence de ces fichiers." # type: textblock +#. type: textblock #: dh_testroot:5 msgid "dh_testroot - ensure that a package is built as root" msgstr "" @@ -5429,11 +6158,13 @@ "(root)" # type: textblock +#. type: textblock #: dh_testroot:9 msgid "B [S>]" msgstr "B [S>]" # type: textblock +#. type: textblock #: dh_testroot:13 msgid "" "dh_testroot simply checks to see if you are root. If not, it exits with an " @@ -5446,6 +6177,7 @@ "éventuellement en utilisant L" # type: textblock +#. type: textblock #: dh_testversion:5 msgid "" "dh_testversion - ensure that the correct version of debhelper is installed" @@ -5453,12 +6185,14 @@ "dh_testversion - vérifie que la bonne version de debhelper est installée" # type: textblock +#. type: textblock #: dh_testversion:14 msgid "B [S>] [I] [I]" msgstr "" "B [S>] [I] [I]" # type: textblock +#. type: textblock #: dh_testversion:18 msgid "" "Note: This program is deprecated. You should use build dependencies instead." @@ -5467,6 +6201,7 @@ "les dépendances de construction (build dependencies) à la place." # type: textblock +#. type: textblock #: dh_testversion:21 msgid "" "dh_testversion compares the version of debhelper against the version you " @@ -5476,6 +6211,7 @@ "si la condition n'est pas satisfaite, génère un message d'erreur." # type: textblock +#. type: textblock #: dh_testversion:24 msgid "" "You can use this in your debian/rules files if a new debhelper feature is " @@ -5488,6 +6224,7 @@ "changelog de debhelper pour déterminer la version nécessaire." # type: textblock +#. type: textblock #: dh_testversion:28 msgid "" "Be sure not to overuse dh_testversion. If debhelper version 9.5 introduces a " @@ -5503,11 +6240,13 @@ "ce fait, il n'y a pas besoin d'utiliser dh_testversion." # type: =item +#. type: =item #: dh_testversion:38 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_testversion:40 msgid "" "Optional comparison operator used in comparing the versions. If not " @@ -5519,11 +6258,13 @@ "de comparaison, consulter dpkg --help." # type: =item +#. type: =item #: dh_testversion:44 msgid "I" msgstr "I" # type: textblock +#. type: textblock #: dh_testversion:46 msgid "" "Version number to compare against the current version of debhelper. If not " @@ -5533,6 +6274,7 @@ "n'est pas spécifié, dh_testversion ne fait rien." # type: textblock +#. type: textblock #: dh_undocumented:5 msgid "dh_undocumented - obsolete undocumented.7 symlink program" msgstr "" @@ -5540,6 +6282,7 @@ "S<« undocumented.7 »>" # type: textblock +#. type: textblock #: dh_undocumented:18 msgid "" "This program used to make symlinks to the undocumented.7 man page for man " @@ -5553,6 +6296,7 @@ "ce fait, ce programme ne fait rien et de doit pas être utilisé." # type: textblock +#. type: textblock #: dh_usrlocal:5 msgid "dh_usrlocal - migrate usr/local directories to maintainer scripts" msgstr "" @@ -5560,11 +6304,13 @@ "maintenance du paquet" # type: textblock +#. type: textblock #: dh_usrlocal:17 msgid "B [S>] [B<-n>]" msgstr "B [S>] [B<-n>]" # type: textblock +#. type: textblock #: dh_usrlocal:21 msgid "" "dh_usrlocal is a debhelper program that can be used for building packages " @@ -5575,6 +6321,7 @@ "local lors de leur installation." # type: textblock +#. type: textblock #: dh_usrlocal:24 #, fuzzy msgid "" @@ -5596,6 +6343,7 @@ "aux scripts de maintenance du paquet." # type: textblock +#. type: textblock #: dh_usrlocal:32 msgid "" "If the directories found in the build tree have unusual owners, groups, or " @@ -5614,6 +6362,7 @@ "répertoires de /usr/local." # type: textblock +#. type: textblock #: dh_usrlocal:45 msgid "Do not modify F/F scripts." msgstr "" @@ -5621,11 +6370,13 @@ "F." # type: textblock +#. type: textblock #: dh_usrlocal:57 msgid "Debian policy, version 2.2" msgstr "Charte Debian, version 2.2" # type: textblock +#. type: textblock #: dh_usrlocal:122 msgid "Andrew Stribblehill " msgstr "Andrew Stribblehill " @@ -5633,6 +6384,187 @@ # type: textblock #, fuzzy #~ msgid "" +#~ "If a file named debian/package.upstart exists, then it is installed into " +#~ "etc/init/package.conf in the package build directory, with \"package\" " +#~ "replaced by the package name." +#~ msgstr "" +#~ "S'il existe un fichier nommé debian/paquet.init, il sera installé dans le " +#~ "répertoire de construction du paquet sous etc/init.d/paquet où le mot S<« " +#~ "paquet »> sera remplacé par le nom du paquet." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Otherwise, if a file named debian/package.init exists, then it is " +#~ "installed into etc/init.d/package in the package build directory, with " +#~ "\"package\" replaced by the package name." +#~ msgstr "" +#~ "S'il existe un fichier nommé debian/paquet.init, il sera installé dans le " +#~ "répertoire de construction du paquet sous etc/init.d/paquet où le mot S<« " +#~ "paquet »> sera remplacé par le nom du paquet." + +# type: textblock +#~ msgid "" +#~ "If a file named debian/package.default exists, then it is installed into " +#~ "etc/default/package in the package build directory, with \"package\" " +#~ "replaced by the package name." +#~ msgstr "" +#~ "S'il existe un fichier nommé debian/paquet.default, il sera installé dans " +#~ "le répertoire de construction du paquet sous etc/default/paquet où le mot " +#~ "S<« paquet »> sera remplacé par le nom du paquet." + +# type: =item +#, fuzzy +#~ msgid "B<-O>, B<--onlyscripts-upstart>" +#~ msgstr "B<-o>, B<--onlyscripts>" + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Only modify postinst/postrm/prerm scripts, do not actually install any " +#~ "upstart job files. May be useful if the upstart job file is shipped and/" +#~ "or installed by upstream in a way that doesn't make it easy to let " +#~ "dh_installinit find it." +#~ msgstr "" +#~ "Modifie seulement les scripts de postinst, postrm et prerm. N'installe " +#~ "actuellement ni script d'initialisation, ni fichier par défaut. Ceci peut " +#~ "être utile si le script d'initialisation est inclus et/ou installé en " +#~ "amont d'une façon qui ne rend pas facile sa recherche par dh_installinit." + +# type: =item +#, fuzzy +#~ msgid "B<--replace>" +#~ msgstr "B<--mainpackage=>I" + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "Makes all files to be installed be found under dir. If this is specified, " +#~ "it is akin to all the filenames having \"dir/\" prepended to them." +#~ msgstr "" +#~ "Avec cette option, tous les fichiers source seront trouvés dans le " +#~ "répertoire indiqué. Cela revient à ce que tous les noms des fichiers " +#~ "source soient préfixés par S<« répertoire »>." + +# type: textblock +#~ msgid "" +#~ "To make dh_install behave like the old dh_movefiles, move your package." +#~ "files file to package.install and call dh_install with \"--" +#~ "sourcedir=debian/tmp\" appended to the command. This will approximate " +#~ "dh_movefiles behaviour, except it will copy files instead of moving them." +#~ msgstr "" +#~ "Pour que dh_install se comporte comme l'ancien dh_movefiles, il suffit de " +#~ "renommer le fichier package.files en package.install et d'exécuter " +#~ "dh_install avec l'option S<« --sourcedir=debian/tmp »>. Cela produira un " +#~ "comportement proche de celui de dh_movefiles, sauf qu'il copiera les " +#~ "fichiers au lieu de les déplacer." + +# type: textblock +#~ msgid "" +#~ "dh_installinfo is a debhelper program that is responsible for installing " +#~ "info files and registering the files it installs with install-info." +#~ msgstr "" +#~ "dh_installinfo est le programme de la suite debhelper chargé de " +#~ "l'installation des fichiers info et de leur inscription avec install-info." + +# type: textblock +#~ msgid "" +#~ "Note that install-info determines some information about the info files " +#~ "by parsing them, in particular, it looks at the INFO-DIR-SECTION line to " +#~ "determine what section the info file belongs in." +#~ msgstr "" +#~ "S install-info détermine certaines informations concernant les " +#~ "fichiers info en les analysant. En particulier, il regarde la ligne INFO-" +#~ "DIR-SECTION pour déterminer la section à laquelle le fichier info " +#~ "appartient." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "dh_installinfo will automatically generate the postinst and prerm " +#~ "commands needed to interface with install-info, updating the info dir. " +#~ "These commands are inserted into the maintainer scripts by " +#~ "dh_installdeb. See L for an explanation of how this " +#~ "works." +#~ msgstr "" +#~ "dh_installinfo produira automatiquement les lignes de code des scripts de " +#~ "maintenance postinst et prerm nécessaires à l'interfaçage avec install-" +#~ "info. Consulter L pour obtenir une explication sur le " +#~ "mécanisme d'insertion des lignes de code dans les scripts de maintenance " +#~ "du paquet." + +# type: textblock +#~ msgid "dh_scrollkeeper - generate ScrollKeeper registration scripts" +#~ msgstr "dh_scrollkeeper - produit les scripts d'enregistrement ScrollKeeper" + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "This command automatically adds maintainer script snippets for " +#~ "registering and unregistering files with ScrollKeeper (unless B<-n> is " +#~ "used). These snippets are inserted into the maintainer scripts by " +#~ "dh_installdeb. See L for an explanation of Debhelper " +#~ "maintainer script snippets." +#~ msgstr "" +#~ "Cette commande ajoute automatiquement des lignes de code dans les scripts " +#~ "de maintenance du paquet pour l'inscription et la radiation des fichiers " +#~ "avec ScrollKeeper (sauf si B<-n > est employé). Voir L " +#~ "pour une explication sur l'incorporation de lignes de code dans les " +#~ "scripts de maintenance du paquet." + +# type: textblock +#~ msgid "" +#~ "It will also change any DTD declarations in the OMF and DocBook files to " +#~ "refer to local files instead of remote URLs. This change does not modify " +#~ "the source files, but the files in the package build tree." +#~ msgstr "" +#~ "Ce programme changera également toutes les déclarations de DTD dans les " +#~ "fichiers OMF et DocBook pour se référer aux fichiers locaux au lieu des " +#~ "URL distantes. Ce changement ne modifie pas les fichiers source mais les " +#~ "fichiers du répertoire de construction du paquet." + +# type: textblock +#~ msgid "Do not modify F/F scripts." +#~ msgstr "" +#~ "Empêche la modification des scripts de maintenance F et " +#~ "F." + +# type: textblock +#~ msgid "dh_desktop - Register .desktop files" +#~ msgstr "dh_desktop - inscrit les fichiers .desktop" + +# type: textblock +#~ msgid "" +#~ "dh_desktop is a debhelper program that registers .desktop files. " +#~ "Currently this program does not handle installation of the files, though " +#~ "it may do so at a later date. It takes care of adding maintainer script " +#~ "fragments to call F." +#~ msgstr "" +#~ "dh_desktop est un programme de la suite debhelper chargé de l'inscription " +#~ "des fichiers .desktop. Actuellement ce programme ne gère pas " +#~ "l'installation des fichiers, mais il pourrait bien le faire un jour. Il " +#~ "prend soin d'ajouter des lignes de code aux scripts de maintenance du " +#~ "paquet afin d'invoquer F." + +# type: textblock +#, fuzzy +#~ msgid "" +#~ "If a file named debian/package.menu-method exits, then it is installed " +#~ "into etc/menu-methods/package in the package build directory. This is a " +#~ "debian menu method file. In this case, dh_installmenu also automatically " +#~ "generates the postinst and postrm commands needed to interface with the " +#~ "debian menu package. These commands are inserted into the maintainer " +#~ "scripts by dh_installdeb. See L for an explanation of " +#~ "how this works." +#~ msgstr "" +#~ "De plus, il produit automatiquement les lignes de code des scripts de " +#~ "maintenance postinst et postrm nécessaires à l'interfaçage avec le paquet " +#~ "menu. Consulter L pour obtenir une explication sur le " +#~ "mécanisme d'insertion de lignes de code." + +# type: textblock +#, fuzzy +#~ msgid "" #~ "Do not delete debian/files, or files listed in debian/clean. When do you " #~ "want to use this? Anytime you have a debian/rules that has 2 binary " #~ "targets that build different .deb packages; for example, one target is " diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/buildsystems/autoconf/configure /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/buildsystems/autoconf/configure --- debhelper-7.0.17ubuntu4/t/buildsystems/autoconf/configure 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/buildsystems/autoconf/configure 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,74 @@ +#!/usr/bin/perl + +# Emulate autoconf behaviour and do some checks + +use strict; +use warnings; + +my @OPTIONS=qw( + ^--build=.*$ + ^--prefix=/usr$ + ^--includedir=\$\{prefix\}/include$ + ^--mandir=\$\{prefix\}/share/man$ + ^--infodir=\$\{prefix\}/share/info$ + ^--sysconfdir=/etc$ + ^--localstatedir=/var$ + ^--libexecdir=\$\{prefix\}/lib/.*$ + ^--disable-maintainer-mode$ + ^--disable-dependency-tracking$ +); + +# Verify if all command line arguments were passed +my @options = map { { regex => qr/$_/, + str => $_, + found => 0 } } @OPTIONS; +my @extra_args; +ARGV_LOOP: foreach my $arg (@ARGV) { + foreach my $opt (@options) { + if ($arg =~ $opt->{regex}) { + $opt->{found} = 1; + next ARGV_LOOP; + } + } + # Extra / unrecognized argument + push @extra_args, $arg; +} + +my @notfound = grep { ! $_->{found} and $_ } @options; +if (@notfound) { + print STDERR "Error: the following default options were NOT passed\n"; + print STDERR " ", $_->{str}, "\n" foreach (@notfound); + exit 1; +} + +# Create a simple Makefile +open(MAKEFILE, ">", "Makefile"); +print MAKEFILE < stamp_build + +# Tests if dh_auto_test executes 'check' target if 'test' does not exist +check: \$(CONFIGURE) stamp_build + \@echo Tested > stamp_test + +install: stamp_build + \@echo DESTDIR=\$(DESTDIR) > stamp_install + +# Tests whether dh_auto_clean executes distclean but does not touch +# this target +clean: + echo "This should not have been executed" >&2 && exit 1 + +distclean: + \@rm -f stamp_* Makefile + +.PHONY: all check install clean distclean +EOF +close MAKEFILE; + +open(STAMP, ">", "stamp_configure"); +print STAMP $_, "\n" foreach (@extra_args); +close STAMP; + +exit 0; diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/buildsystems/buildsystem_tests /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/buildsystems/buildsystem_tests --- debhelper-7.0.17ubuntu4/t/buildsystems/buildsystem_tests 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/buildsystems/buildsystem_tests 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,465 @@ +#!/usr/bin/perl + +use Test::More tests => 228; + +use strict; +use warnings; +use IPC::Open2; +use Cwd (); +use File::Temp qw(tempfile tempdir); +use File::Basename (); + +# Let the tests to be run from anywhere but currect directory +# is expected to be the one where this test lives in. +chdir File::Basename::dirname($0) or die "Unable to chdir to ".File::Basename::dirname($0); + +use_ok( 'Debian::Debhelper::Dh_Lib' ); +use_ok( 'Debian::Debhelper::Buildsystem' ); +use_ok( 'Debian::Debhelper::Dh_Buildsystems' ); + +my $TOPDIR = "../.."; +my @STEPS = qw(configure build test install clean); +my $BS_CLASS = 'Debian::Debhelper::Buildsystem'; + +my ($bs, @bs, %bs); +my ($tmp, @tmp, %tmp); +my ($tmpdir, $builddir, $default_builddir); + +### Common subs #### +sub touch { + my $file=shift; + my $chmod=shift; + open FILE, ">", $file and close FILE or die "Unable to touch $file"; + chmod $chmod, $file if defined $chmod; +} + +sub cleandir { + my $dir=shift; + system ("find", $dir, "-type", "f", "-delete"); +} +sub readlines { + my $h=shift; + my @lines = <$h>; + close $h; + chop @lines; + return \@lines; +} + +sub process_stdout { + my ($cmdline, $stdin) = @_; + my ($reader, $writer); + + open2($reader, $writer, $cmdline) or die "Unable to exec $cmdline"; + print $writer $stdin if $stdin; + close $writer; + return readlines($reader); +} + +### Test Buildsystem class API methods +is( $BS_CLASS->canonpath("path/to/the/./nowhere/../../somewhere"), + "path/to/somewhere", "canonpath no1" ); +is( $BS_CLASS->canonpath("path/to/../forward/../../somewhere"), + "somewhere","canonpath no2" ); +is( $BS_CLASS->canonpath("path/to/../../../somewhere"), + "../somewhere","canonpath no3" ); +is( $BS_CLASS->canonpath("./"), ".", "canonpath no4" ); +is( $BS_CLASS->canonpath("/absolute/path/./somewhere/../to/nowhere"), + "/absolute/path/to/nowhere", "canonpath no5" ); +is( $BS_CLASS->_rel2rel("path/my/file", "path/my", "/tmp"), + "file", "_rel2rel no1" ); +is( $BS_CLASS->_rel2rel("path/dir/file", "path/my", "/tmp"), + "../dir/file", "_rel2rel no2" ); +is( $BS_CLASS->_rel2rel("file", "/root/path/my", "/root"), + "/root/file", "_rel2rel abs no3" ); +is( $BS_CLASS->_rel2rel(".", ".", "/tmp"), ".", "_rel2rel no4" ); +is( $BS_CLASS->_rel2rel("path", "path/", "/tmp"), ".", "_rel2rel no5" ); +is( $BS_CLASS->_rel2rel("/absolute/path", "anybase", "/tmp"), + "/absolute/path", "_rel2rel abs no6"); +is( $BS_CLASS->_rel2rel("relative/path", "/absolute/base", "/tmp"), + "/tmp/relative/path", "_rel2rel abs no7"); + +### Test Buildsystem class path API methods under different configurations +sub test_buildsystem_paths_api { + my ($bs, $config, $expected)=@_; + + my $api_is = sub { + my ($got, $name)=@_; + is( $got, $expected->{$name}, "paths API ($config): $name") + }; + + &$api_is( $bs->get_sourcedir(), 'get_sourcedir()' ); + &$api_is( $bs->get_sourcepath("a/b"), 'get_sourcepath(a/b)' ); + &$api_is( $bs->get_builddir(), 'get_builddir()' ); + &$api_is( $bs->get_buildpath(), 'get_buildpath()' ); + &$api_is( $bs->get_buildpath("a/b"), 'get_buildpath(a/b)' ); + &$api_is( $bs->get_source_rel2builddir(), 'get_source_rel2builddir()' ); + &$api_is( $bs->get_source_rel2builddir("a/b"), 'get_source_rel2builddir(a/b)' ); + &$api_is( $bs->get_build_rel2sourcedir(), 'get_build_rel2sourcedir()' ); + &$api_is( $bs->get_build_rel2sourcedir("a/b"), 'get_build_rel2sourcedir(a/b)' ); +} + +# Defaults +$bs = $BS_CLASS->new(); +$default_builddir = $bs->DEFAULT_BUILD_DIRECTORY(); +%tmp = ( + "get_sourcedir()" => ".", + "get_sourcepath(a/b)" => "./a/b", + "get_builddir()" => undef, + "get_buildpath()" => ".", + "get_buildpath(a/b)" => "./a/b", + "get_source_rel2builddir()" => ".", + "get_source_rel2builddir(a/b)" => "./a/b", + "get_build_rel2sourcedir()" => ".", + "get_build_rel2sourcedir(a/b)" => "./a/b", +); +test_buildsystem_paths_api($bs, "no builddir, no sourcedir", \%tmp); + +# builddir=bld/dir +$bs = $BS_CLASS->new(builddir => "bld/dir"); +%tmp = ( + "get_sourcedir()" => ".", + "get_sourcepath(a/b)" => "./a/b", + "get_builddir()" => "bld/dir", + "get_buildpath()" => "bld/dir", + "get_buildpath(a/b)" => "bld/dir/a/b", + "get_source_rel2builddir()" => "../..", + "get_source_rel2builddir(a/b)" => "../../a/b", + "get_build_rel2sourcedir()" => "bld/dir", + "get_build_rel2sourcedir(a/b)" => "bld/dir/a/b", +); +test_buildsystem_paths_api($bs, "builddir=bld/dir, no sourcedir", \%tmp); + +# Default builddir, sourcedir=autoconf +$bs = $BS_CLASS->new(builddir => undef, sourcedir => "autoconf"); +%tmp = ( + "get_sourcedir()" => "autoconf", + "get_sourcepath(a/b)" => "autoconf/a/b", + "get_builddir()" => "$default_builddir", + "get_buildpath()" => "$default_builddir", + "get_buildpath(a/b)" => "$default_builddir/a/b", + "get_source_rel2builddir()" => "../autoconf", + "get_source_rel2builddir(a/b)" => "../autoconf/a/b", + "get_build_rel2sourcedir()" => "../$default_builddir", + "get_build_rel2sourcedir(a/b)" => "../$default_builddir/a/b", +); +test_buildsystem_paths_api($bs, "default builddir, sourcedir=autoconf", \%tmp); + +# sourcedir=autoconf (builddir should be dropped) +$bs = $BS_CLASS->new(builddir => "autoconf", sourcedir => "autoconf"); +%tmp = ( + "get_sourcedir()" => "autoconf", + "get_sourcepath(a/b)" => "autoconf/a/b", + "get_builddir()" => undef, + "get_buildpath()" => "autoconf", + "get_buildpath(a/b)" => "autoconf/a/b", + "get_source_rel2builddir()" => ".", + "get_source_rel2builddir(a/b)" => "./a/b", + "get_build_rel2sourcedir()" => ".", + "get_build_rel2sourcedir(a/b)" => "./a/b", +); +test_buildsystem_paths_api($bs, "no builddir, sourcedir=autoconf", \%tmp); + +# Prefer out of source tree building when +# sourcedir=builddir=autoconf hence builddir should be dropped. +$bs->prefer_out_of_source_building(builddir => "autoconf"); +test_buildsystem_paths_api($bs, "out of source prefered, sourcedir=builddir", \%tmp); + +# builddir=bld/dir, sourcedir=autoconf. Should be the same as sourcedir=autoconf. +$bs = $BS_CLASS->new(builddir => "bld/dir", sourcedir => "autoconf"); +$bs->enforce_in_source_building(); +test_buildsystem_paths_api($bs, "in source enforced, sourcedir=autoconf", \%tmp); + +# builddir=../bld/dir (relative to the curdir) +$bs = $BS_CLASS->new(builddir => "bld/dir/", sourcedir => "autoconf"); +%tmp = ( + "get_sourcedir()" => "autoconf", + "get_sourcepath(a/b)" => "autoconf/a/b", + "get_builddir()" => "bld/dir", + "get_buildpath()" => "bld/dir", + "get_buildpath(a/b)" => "bld/dir/a/b", + "get_source_rel2builddir()" => "../../autoconf", + "get_source_rel2builddir(a/b)" => "../../autoconf/a/b", + "get_build_rel2sourcedir()" => "../bld/dir", + "get_build_rel2sourcedir(a/b)" => "../bld/dir/a/b", +); +test_buildsystem_paths_api($bs, "builddir=../bld/dir, sourcedir=autoconf", \%tmp); + +### Test if all buildsystems can be loaded +@bs = load_all_buildsystems([ $INC[0] ]); +@tmp = map { $_->NAME() } @bs; +ok(@Debian::Debhelper::Dh_Buildsystems::BUILDSYSTEMS >= 1, "some build systems are built in" ); +is_deeply( \@tmp, \@Debian::Debhelper::Dh_Buildsystems::BUILDSYSTEMS, "load_all_buildsystems() loads all built-in buildsystems" ); + +### Test check_auto_buildable() of each buildsystem +sub test_check_auto_buildable { + my $bs=shift; + my $config=shift; + my $expected=shift; + my @steps=@_ || @STEPS; + + if (! ref $expected) { + my %all_steps; + $all_steps{$_} = $expected foreach (@steps); + $expected = \%all_steps; + } + for my $step (@steps) { + my $e = 0; + if (exists $expected->{$step}) { + $e = $expected->{$step}; + } elsif (exists $expected->{default}) { + $e = $expected->{default}; + } + if ($e) { + ok( $bs->check_auto_buildable($step), + $bs->NAME() . "($config): check_auto_buildable($step)" ); + } + else { + ok( ! $bs->check_auto_buildable($step), + $bs->NAME() . "($config): ! check_auto_buildable($step)" ); + } + } +} + +$tmpdir = tempdir("tmp.XXXXXX"); +$builddir = "$tmpdir/builddir"; +mkdir $builddir; +%tmp = ( + builddir => "$tmpdir/builddir", + sourcedir => $tmpdir +); + +$bs{autoconf} = load_buildsystem("autoconf", undef, %tmp); +$bs{cmake} = load_buildsystem("cmake", undef, %tmp); +$bs{perl_mm} = load_buildsystem("perl_makemaker", undef, %tmp); +$bs = load_buildsystem("makefile", undef, %tmp); + +test_check_auto_buildable($bs{autoconf}, "no configure", 0); +test_check_auto_buildable($bs{cmake}, "no CMakeLists.txt", 0); +test_check_auto_buildable($bs{perl_mm}, "no Makefile.PL", 0); +test_check_auto_buildable($bs, "no Makefile", 0); + +touch "$tmpdir/configure", 0755; +test_check_auto_buildable($bs{autoconf}, "configure", { configure => 1 }); + +touch "$tmpdir/CMakeLists.txt"; +test_check_auto_buildable($bs{cmake}, "CMakeLists.txt", { configure => 1 }); + +touch "$tmpdir/Makefile.PL"; +test_check_auto_buildable($bs{perl_mm}, "Makefile.PL", + { configure => 1, install => 1 }); + +# With Makefile +touch "$builddir/Makefile"; +test_check_auto_buildable($bs, "Makefile", { configure => 0, default => 1 }); +test_check_auto_buildable($bs{autoconf}, "configure+Makefile", { configure => 1 }); +test_check_auto_buildable($bs{cmake}, "CMakeLists.txt+Makefile", 1); + +# Makefile.PL forces in-source +#(see note in check_auto_buildable() why always 1 here) +unlink "$builddir/Makefile"; +touch "$tmpdir/Makefile"; +test_check_auto_buildable($bs{perl_mm}, "Makefile.PL+Makefile", 1); + +# Perl Build.PL - handles always +$bs = load_buildsystem("perl_build", undef, %tmp); +test_check_auto_buildable($bs, "no Build.PL", 0); +touch "$tmpdir/Build.PL"; +test_check_auto_buildable($bs, "Build.PL", { configure => 1 }); +touch "$tmpdir/Build"; # forced in source +test_check_auto_buildable($bs, "Build.PL+Build", 1); + +# Python Distutils +$bs = load_buildsystem("python_distutils", undef, %tmp); +test_check_auto_buildable($bs, "no setup.py", 0); +touch "$tmpdir/setup.py"; +test_check_auto_buildable($bs, "setup.py", 1); + +cleandir($tmpdir); + +### Now test if it can autoselect a proper buildsystem for a typical package +sub test_autoselection { + my $system=shift; + my $expected=shift; + for my $step (@STEPS) { + my $bs = load_buildsystem(undef, $step, @_); + my $e = $expected; + $e = $expected->{$step} if ref $expected; + if (defined $bs) { + is( $bs->NAME(), $e, "autoselection($system): $step=".((defined $e)?$e:'undef') ); + } + else { + is ( undef, $e, "autoselection($system): $step=".((defined $e)?$e:'undef') ); + } + } +} + +# Autoconf +touch "$tmpdir/configure", 0755; +touch "$builddir/Makefile"; +test_autoselection("autoconf", + { configure => "autoconf", build => "makefile", + test => "makefile", install => "makefile", clean => "makefile" }, %tmp); +cleandir $tmpdir; + +# Perl Makemaker (build, test, clean fail with builddir set [not supported]) +touch "$tmpdir/Makefile.PL"; +touch "$tmpdir/Makefile"; +test_autoselection("perl_makemaker", "perl_makemaker", %tmp); +cleandir $tmpdir; + +# Makefile +touch "$builddir/Makefile"; +test_autoselection("makefile", { build => "makefile", test => "makefile", + install => "makefile", clean => "makefile" }, %tmp); +cleandir $tmpdir; + +# Python Distutils +touch "$tmpdir/setup.py"; +test_autoselection("python_distutils", "python_distutils", %tmp); +cleandir $tmpdir; + +# Perl Build +touch "$tmpdir/Build.PL"; +touch "$tmpdir/Build"; +test_autoselection("perl_build", "perl_build", %tmp); +cleandir $tmpdir; + +# CMake +touch "$tmpdir/CMakeLists.txt"; +touch "$builddir/Makefile"; +test_autoselection("cmake", + { configure => "cmake", build => "makefile", + test => "makefile", install => "makefile", clean => "makefile" }, %tmp); +cleandir $tmpdir; + +### Test Buildsystem::rmdir_builddir() +sub do_rmdir_builddir { + my $builddir=shift; + my $system; + $system = $BS_CLASS->new(builddir => $builddir, sourcedir => $tmpdir); + $system->mkdir_builddir(); + $system->rmdir_builddir(); +} + +$builddir = "$tmpdir/builddir"; +do_rmdir_builddir($builddir); +ok ( ! -e $builddir, "testing rmdir_builddir() 1: builddir parent '$builddir' deleted" ); +ok ( -d $tmpdir, "testing rmdir_builddir() 1: sourcedir '$tmpdir' remains" ); + +$builddir = "$tmpdir/bld"; +do_rmdir_builddir("$builddir/dir"); +ok ( ! -e $builddir, "testing rmdir_builddir() 2: builddir parent '$builddir' deleted" ); +ok ( -d $tmpdir, "testing rmdir_builddir() 2: sourcedir '$tmpdir' remains" ); + +$builddir = "$tmpdir/bld"; +mkdir "$builddir"; +touch "$builddir/afile"; +mkdir "$builddir/dir"; +touch "$builddir/dir/afile2"; +do_rmdir_builddir("$builddir/dir"); +ok ( ! -e "$builddir/dir", "testing rmdir_builddir() 3: builddir '$builddir/dir' not empty, but deleted" ); +ok ( -d $builddir, "testing rmdir_builddir() 3: builddir parent '$builddir' not empty, remains" ); + +cleandir $tmpdir; + +### Test buildsystems_init() and commandline/env argument handling +sub get_load_bs_source { + my ($system, $step)=@_; + $step = (defined $step) ? "'$step'" : 'undef'; + $system = (defined $system) ? "'$system'" : 'undef'; + +return < [ "--extra-autoconf-configure-arg" ]); +ok ( ! -e 'bld', "bld got deleted too" ); + +END { + system("rm", "-rf", $tmpdir); + system("$TOPDIR/dh_clean"); +} diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/buildsystems/debian/changelog /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/buildsystems/debian/changelog --- debhelper-7.0.17ubuntu4/t/buildsystems/debian/changelog 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/buildsystems/debian/changelog 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,5 @@ +testpackage (1.0-1) unstable; urgency=low + + * Initial release. (Closes: #XXXXXX) + + -- Test Tue, 09 Jun 2009 15:35:32 +0300 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/buildsystems/debian/compat /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/buildsystems/debian/compat --- debhelper-7.0.17ubuntu4/t/buildsystems/debian/compat 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/buildsystems/debian/compat 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1 @@ +7 diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/buildsystems/debian/control /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/buildsystems/debian/control --- debhelper-7.0.17ubuntu4/t/buildsystems/debian/control 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/buildsystems/debian/control 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,10 @@ +Source: testsrcpackage +Section: devel +Priority: optional +Maintainer: Test +Standards-Version: 3.8.1 + +Package: testpackage +Architecture: all +Description: short description + Long description diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/dh_install /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/dh_install --- debhelper-7.0.17ubuntu4/t/dh_install 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/dh_install 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,76 @@ +#!/usr/bin/perl +use Test; +plan(tests => 21); + +system("rm -rf debian/debhelper debian/tmp"); + +# #537140: debian/tmp is explcitly specified despite being searched by +# default in v7+ +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("./dh_install", "debian/tmp/usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# debian/tmp explicitly specified in filenames in older compat level +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("DH_COMPAT=6 ./dh_install debian/tmp/usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# --sourcedir=debian/tmp in older compat level +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("DH_COMPAT=6 ./dh_install --sourcedir=debian/tmp usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# redundant --sourcedir=debian/tmp in v7+ +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("./dh_install --sourcedir=debian/tmp usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# #537017: --sourcedir=debian/tmp/foo is used +system("mkdir -p debian/tmp/foo/usr/bin; touch debian/tmp/foo/usr/bin/foo; touch debian/tmp/foo/usr/bin/bar"); +system("./dh_install", "--sourcedir=debian/tmp/foo", "usr/bin/bar"); +ok(-e "debian/debhelper/usr/bin/bar"); +ok(! -e "debian/debhelper/usr/bin/foo"); +system("rm -rf debian/debhelper debian/tmp"); + +# #535367: installation of entire top-level directory from debian/tmp +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("./dh_install", "usr"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# #534565: fallback use of debian/tmp in v7+ +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("./dh_install", "usr/bin"); +ok(-e "debian/debhelper/usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# no fallback to debian/tmp before v7 +system("mkdir -p debian/tmp/usr/bin; touch debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("DH_COMPAT=6 ./dh_install usr/bin 2>/dev/null"); +ok(! -e "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# #534565: glob expands to dangling symlink -> should install the dangling link +system("mkdir -p debian/tmp/usr/bin; ln -s broken debian/tmp/usr/bin/foo; touch debian/tmp/usr/bin/bar"); +system("./dh_install", "usr/bin/*"); +ok(-l "debian/debhelper/usr/bin/foo"); +ok(! -e "debian/debhelper/usr/bin/foo"); +ok(-e "debian/debhelper/usr/bin/bar"); +ok(! -l "debian/debhelper/usr/bin/bar"); +system("rm -rf debian/debhelper debian/tmp"); + +# regular specification of file not in debian/tmp +system("./dh_install", "dh_install", "usr/bin"); +ok(-e "debian/debhelper/usr/bin/dh_install"); +system("rm -rf debian/debhelper debian/tmp"); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/override_target /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/override_target --- debhelper-7.0.17ubuntu4/t/override_target 1970-01-01 01:00:00.000000000 +0100 +++ debhelper-7.3.15ubuntu3/t/override_target 2009-08-15 01:10:24.000000000 +0100 @@ -0,0 +1,22 @@ +#!/usr/bin/perl +use Test; +plan(tests => 1); + +# This test is here to detect breakage in +# dh's rules_explicit_target, which parses +# slightly internal make output. +system("mkdir -p t/tmp/debian"); +system("cp debian/control t/tmp/debian"); +open (OUT, ">", "t/tmp/debian/rules") || die "$!"; +print OUT <&1`; +ok(grep { m/override called/ } @output); +system("rm -rf t/tmp"); diff -Nru /tmp/ri1IovyFBE/debhelper-7.0.17ubuntu4/t/syntax /tmp/VYtocZtp9B/debhelper-7.3.15ubuntu3/t/syntax --- debhelper-7.0.17ubuntu4/t/syntax 2007-12-31 22:45:13.000000000 +0000 +++ debhelper-7.3.15ubuntu3/t/syntax 2009-08-15 01:10:24.000000000 +0100 @@ -1,8 +1,8 @@ #!/usr/bin/perl use Test; -my @progs=grep { -x $_ } glob("dh_*"); -my @libs=glob("Debian/Debhelper/*.pm"); +my @progs=grep { -x $_ } glob("dh_*"), "dh"; +my @libs=(glob("Debian/Debhelper/*.pm"), glob("Debian/Debhelper/*/*.pm")); plan(tests => (@progs + @libs));