diff -Nru debhelper-13ubuntu1~oibaf~f/autoscripts/postinst-alternatives debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postinst-alternatives --- debhelper-13ubuntu1~oibaf~f/autoscripts/postinst-alternatives 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postinst-alternatives 2020-09-13 07:42:23.000000000 +0000 @@ -0,0 +1,3 @@ +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ]; then + update-alternatives #INSTALL_OPTIONS# +fi diff -Nru debhelper-13ubuntu1~oibaf~f/autoscripts/postinst-initramfs-hook debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postinst-initramfs-hook --- debhelper-13ubuntu1~oibaf~f/autoscripts/postinst-initramfs-hook 2018-09-02 07:02:06.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postinst-initramfs-hook 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then - if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]; then - update-initramfs -u - fi -fi diff -Nru debhelper-13ubuntu1~oibaf~f/autoscripts/postrm-initramfs-hook debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postrm-initramfs-hook --- debhelper-13ubuntu1~oibaf~f/autoscripts/postrm-initramfs-hook 2018-09-02 07:02:06.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/postrm-initramfs-hook 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -if [ "$1" = "remove" ]; then - if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]; then - update-initramfs -u - fi -fi diff -Nru debhelper-13ubuntu1~oibaf~f/autoscripts/prerm-alternatives debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/prerm-alternatives --- debhelper-13ubuntu1~oibaf~f/autoscripts/prerm-alternatives 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/autoscripts/prerm-alternatives 2020-09-13 07:42:22.000000000 +0000 @@ -0,0 +1,3 @@ +if [ "$1" = "remove" ]; then + update-alternatives #RM_OPTIONS# +fi diff -Nru debhelper-13ubuntu1~oibaf~f/debhelper.pod debhelper-13.2.1ubuntu1~oibaf~f/debhelper.pod --- debhelper-13ubuntu1~oibaf~f/debhelper.pod 2020-04-15 14:15:21.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/debhelper.pod 2020-09-13 07:42:21.000000000 +0000 @@ -28,8 +28,8 @@ automates the process. For a more gentle introduction, the B Debian package contains a tutorial about making your first package using debhelper. -Except where tool explicitly denotes otherwise, all of the debhelper -tools assumes that they run from root directory of an unpacked source +Except where the tool explicitly denotes otherwise, all of the debhelper +tools assume that they run from the root directory of an unpacked source package. This is so they can locate find files like F when needed. @@ -104,8 +104,63 @@ =head2 Substitutions in debhelper config files In compatibility level 13 and later, it is possible to use simple -substitutions in I debhelper config files (particularly, -the configuration files for L). +substitutions in debhelper config files for the following tools: + +=over 4 + +=item * + +dh_clean + +=item * + +dh_install + +=item * + +dh_installcatalogs + +=item * + +dh_installdeb + +=item * + +dh_installdirs + +=item * + +dh_installdocs + +=item * + +dh_installexamples + +=item * + +dh_installinfo + +=item * + +dh_installman + +=item * + +dh_installwm + +=item * + +dh_link + +=item * + +dh_missing + +=item * + +dh_ucf + +=back All substitution variables are of the form I<${foo}> and the braces are mandatory. Variable names are case-sensitive and consist of @@ -328,6 +383,12 @@ I rather than the top level directory of the Debian source package tree. +B: The B<--sourcedir> variant matches a similar named option in +B and B (etc.) for historical reasons. While they +have a similar name, they have very distinct purposes and in some cases +it can cause errors when this variant is passed to B (when then passes +it on to all tools). + =item B<-B>[I], B<--builddir>[I<=directory>], B<--builddirectory>[I<=directory>] Enable out of source building and use the specified I as the build @@ -1088,9 +1149,10 @@ =item - The B helpers now resets the environment variables B -and common B variable. B and B are each -set to a distinct writable directory. The rest of the environment -variables are cleared. +and common B variable. Please see description of the +environment variables in L for how this handled. + +I =item - @@ -1162,6 +1224,26 @@ This compatibility level is still open for development; use with caution. +Changes from v13 are: + +=over 8 + +=item - + +The B buildsystem now passes B<-DCMAKE_SKIP_RPATH=ON> +and B<-DBUILD_RPATH_USE_ORIGIN=ON> to L to avoid some reproducibility +issues. + +This can cause issues with running binaries directly from the build directories +as they might now require a manually set B. If you need to +override this change, we recommend that you try to pass the +B<-DCMAKE_SKIP_RPATH=OFF> option first to see if that fixes the problem (leaving +B at its new default). This should undo the need for +B and avoid the reproducibility issues on Linux, where B<$ORIGIN> +is supported by the runtime linkers. + +=back + =back =head1 NOTES @@ -1300,11 +1382,13 @@ =head1 ENVIRONMENT -The following environment variables can influence the behavior of debhelper. +This section describes some of the environment variables that influences +the behaviour of debhelper or which debhelper interacts with. + It is important to note that these must be actual environment variables in -order to function properly (not simply F variables). To specify -them properly in F, be sure to "B" them. For example, -"B". +order to affect the behaviour of debhelper (not simply F variables). +To specify them properly in F, be sure to "B" them. For +example, "B". =over 4 @@ -1405,15 +1489,129 @@ In compat 13 and later, these environment variables are reset before invoking the upstream build system via the B helpers. The variables B -and B will be set to a writable directory. The remaining -variables will be cleared. +(all B helpers)and B (B only) will +be set to a writable directory. All remaining variables and B +(except for during B) will be cleared. + +The B directory will be created as an empty directory but it will be +reused between calls to B. Any content will persist until +explicitly deleted or B. + +=item B + +Please see L for this environment +variable. + +Please note that this variable should I be altered by package maintainers +inside F to change the behaviour of debhelper. Instead, where +the package maintainer need these features, they should look disabling the +relevant feature directly (e.g. by overriding the concrete tools). + +=item B + +This is a dpkg specific environment variable (see e.g. L). +The debhelper tool suite silently ignores it. -The directories will be created as empty directories but they will be reused -between calls to B. Any content will persist until explicitly -deleted or B. +It is documented here because it has a similar name to B, +which make some people mistakenly assume that debhelper will also react to this +variable. =back +=head2 Supported flags in DEB_BUILD_OPTIONS + +The debhelper tool suite reacts to the following flags in B. + +=over 4 + +=item B + +I + +When B is present and set to B, then +debhelper tools will promote deprecation warnings for usage of old soon +to be removed compat levels into errors. + +This is useful for automated checking for code relying on deprecated +compat levels that is scheduled for removal. + +This option is intended for testing purposes; not production builds. + +=item B + +I + +This value will cause the official debhelper tools will skip actions and +helpers that either remove, detach or deduplicate debugging symbols in +ELF binaries. + +This value affects L and L. + +=item B + +This value will cause the official debhelper build systems to skip runs +of upstream test suites. + +Package maintainers looking to avoid running the upstream tests should +B rely on this. Instead, they can add an empty override target +to skip B. + +This value affects L. + +=item B + +I + +This value will cause several debhelper tools to skip installation of +documentation such as manpages or upstream provided documentation. +Additionally, the tools will also ignore if declared documentation is +"missing" on the assumption that the documentation has not been built. + +This value effects tools I L, which I +it is working with documentation. + +=item B, B + +I + +This value causes debhelper to skip the generation of automatically +generated debug symbol packages. + +This value affects L. + +=item B + +This value enables debhelper to use up to B threads or processes +(subject to parameters like B<--no-parallel> and B<--max-parallel=M>). +Not all debhelper tools work with parallel tasks and may silently +ignore the request. + +This value affects many debhelper tools. Most notably B, +which will attempt to run the underlying upstream build system with +that number of threads. + +=item B + +This value will cause the official debhelper build systems to configure +upstream builds to be terse (i.e. reduce verbosity in their output). +This is subject to the upstream and the debhelper build system +supporting such features. + +This value affects most B tools. + +=back + +Unknown flags are silently ignored. + +Note third-party debhelper-like tools or third-party provided build systems +may or may not react to the above flags. This tends to depend on +implementation details of the tool. + =head1 SEE ALSO =over 4 diff -Nru debhelper-13ubuntu1~oibaf~f/debian/changelog debhelper-13.2.1ubuntu1~oibaf~f/debian/changelog --- debhelper-13ubuntu1~oibaf~f/debian/changelog 2020-05-18 10:13:08.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/debian/changelog 2020-10-31 14:36:23.000000000 +0000 @@ -1,8 +1,193 @@ -debhelper (13ubuntu1~oibaf~f) focal; urgency=medium +debhelper (13.2.1ubuntu1~oibaf~f) focal; urgency=medium * No-change backport to focal - -- Fabio Pedretti Mon, 18 May 2020 12:13:08 +0200 + -- Fabio Pedretti Sat, 31 Oct 2020 15:36:23 +0100 + +debhelper (13.2.1ubuntu1) groovy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Generate ddebs from debhelper instead of pkg-create-dbgsym: + + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. + - dh_installchangelogs: Do not install upstream changelog in compat + level 7 and higher to avoid pointlessly bloating installed packages. + - dh_strip: Strip LTO sections unless --keep-lto is given. + + -- Gianfranco Costamagna Sun, 13 Sep 2020 19:38:16 +0200 + +debhelper (13.2.1) unstable; urgency=medium + + [ Niels Thykier ] + * debian/changelog: Fix some typos in previous entries. + * Dh_Lib.pm,Dh_Buildsystems.pm: Properly clear buildflags with + --reload-all-buildenv-variables is passed. Thanks to + Harald Welte and Guillem Jover for reporting and debugging + the issue. (Closes: #966689) + * dh_missing: Improve message about related files found. Thanks + to Diego Escalante for reporting the issue. (Closes: #966834) + + [ Peter Pentchev ] + * dh_installalternatives: Correct order of values in the example for + Dependents links. (Closes: #966285) + + [ Chris Lamb ] + * dh_missing: Sort order of missing files to make output + deterministic. (Closes: #968187) + + [ Translations ] + * Update Portuguese translation (Américo Monteiro) (Closes: #964784) + + -- Niels Thykier Sat, 12 Sep 2020 20:27:03 +0000 + +debhelper (13.2ubuntu1) groovy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Generate ddebs from debhelper instead of pkg-create-dbgsym: + + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. + - dh_installchangelogs: Do not install upstream changelog in compat + level 7 and higher to avoid pointlessly bloating installed packages. + - dh_strip: Strip LTO sections unless --keep-lto is given. + + -- Gianfranco Costamagna Mon, 06 Jul 2020 08:57:15 +0200 + +debhelper (13.2) unstable; urgency=medium + + [ Niels Thykier ] + * dh_missing: Explicitly remind people that they should not + copy-waste multi-arch paths directly into debian/not-installed. + Instead, recommend the use of wildcards of ${DEB_HOST_MULTIARCH} + to replace the hardcoded value. + * d/changelog: Clarify what dh_installman change in 13.1 related to + #958343 was about. + * Dh_Lib.pm: Add support for raising compat deprecation warnings to + an error if there are pending removals. This currently triggers + for usage of compat 5 and 6. + * cmake.pm: Pass -DCMAKE_SKIP_RPATH=ON -DBUILD_RPATH_USE_ORIGIN=ON + to cmake in compat 14. This should fix some reproducibility + issues but may cause breakage if packages run binaries directly + from the build directory. Thanks to Timo Röhling for the + suggestion. (Closes: #962474) + * dh,dh_auto_*: Change the handling of XDG_RUNTIME_DIR in compat 13. + It is now only set to a writable directory for dh_auto_test but + set to a much shorter directory avoid issues with socket lengths. + In all other cases, the XDG_RUNTIME_DIR is now cleared. Thanks to + Simon McVittie for the report. (Closes: #961655) + * debhelper.pod: Document that --sourcedir clashes between dh_auto_* + and dh_missing (etc.). Thanks to Thorsten Glaser for reporting + the issue. (See #964230) + * PROGRAMMING: Minor improvements and clarifications to the API + documentation. + + [ Anel Husakovic ] + * debhelper.7: Fix typo/grammatical errors. + + [ Translations ] + * Update Portuguese translation (Américo Monteiro) (Closes: #962568) + + -- Niels Thykier Sun, 05 Jul 2020 21:14:04 +0000 + +debhelper (13.1ubuntu1) groovy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Generate ddebs from debhelper instead of pkg-create-dbgsym: + + Make debhelper Conflict/Replace pkg-create-dbgsym to force it off. + + Set DBGSYM_PACKAGE_TYPE to ddeb to get correct debian/files output. + - dh_installchangelogs: Do not install upstream changelog in compat + level 7 and higher to avoid pointlessly bloating installed packages. + - dh_strip: Strip LTO sections unless --keep-lto is given. + + -- Gianfranco Costamagna Sat, 30 May 2020 07:15:23 +0200 + +debhelper (13.1) unstable; urgency=low + + [ Niels Thykier ] + * dh_installinitramfs: Remove misleading "in compat 12" as the + behaviour was unrelated to the compat level. + * dh_installinitramfs: Migrate to using declaratively triggering + update-initramfs as a noawait trigger (replacing maintscript + calls to "update-initramfs -u", which had the same affect). + (Closes: #822730). + * dh_installman: Improve error messages and handling of broken + section numbers. Notably, the auto-detection no longer picks + section numbers that look suspiciously like a version number + (or a date). This can cause dh_installman to reject manpages + if it can no longer guess a suitable section for the manpage + Thanks to Paul Gevers for reporting the bug. + (Closes: #958343) + * Dh_Lib.pm: Support that Architecture (among other fields) can be + folded in d/control. Thanks to Thorsten Glaser for reporting + the issue. (Closes: #958987) + * SequencerUtil.pm: Fix use of uninitialized variable warning. + * Dh_Lib.pm: Properly error out on paragraphs missing the Package + field (rather than silently ignoring them). + * debian/rules: Fix call to gen-provides that seemed to work more + due to luck than by design. + * Dh_Lib.pm: Provide HIGHEST_STABLE_COMPAT_LEVEL, which reflects + the latest stable compat level. Thanks to Jelmer Vernooij + for the suggestion. + * Dh_Lib.pm: Respond to DH_DATAFILES environment variable in + addition to DH_AUTOSCRIPTS as a means to find data files. This + is mostly useful for testing purposes or to be "self-hosting". + The new DH_DATAFILES is more general than DH_AUTOSCRIPTS and + enable us to add new data file sources without inventing new + environment variables. + * Dh_Lib.pm: Require perl v5.24 (available in Debian oldstable) + to enable more modern features. + * Dh_Lib.pm: Fix a bug in variable substitution where ${Tab} + incorrectly expanded to "\b" rather than "\t". + * dh_installchangelogs.1: Loosely document which file names that + dh_installchangelogs uses as guesses for finding an upstream + changelog file. Thanks to Laurent Bigonville for suggesting + the change. (Closes: #933224) + * Dh_Lib.pm: When setting HOME or XDG_RUNTIME_DIR in compat 13, + use an absolute path. Thanks to Dmitry Shachnev for reporting + the issue. (Closes: #959731) + * dh_installsystemd.1: Copy the description for the + --no-stop-on-upgrade option from dh_installinit. + * dh_installsystemd: Have --no-start or --no-stop-on-upgrade + disable --restart-after-upgrade as the documentation says it + will. Thanks to Axel Beckert for reporting the issue. + (Closes: #959678) + * dh_installinit: Ditto. + * dh.1: Explicitly document that hook targets can cause + complications when they are made unconditional by a makefile + target and suggest alternatives. Thanks to Marcin Owsiany for + reporting this. (Closes: #645873) + * cmake.pm: Rollback -DCMAKE_AUTOGEN_VERBOSE=ON temporarily as it + trips bhlc due to a bug in cmake. Thanks to Nicolas + Braud-Santoni and "anoteng" for reporting the issue. + (Closes: #959494) + * dh_clean.1: Rephrase the description of dh_clean to avoid + confusion about when it is run. Thanks to Hugh McMaster for + the suggestion. (Closes: #960110) + * dh_missing.1: Update documentation to reflect that the + --fail-missing option is now the default in compat 13. + Thanks to Hugh McMaster and Christoph Berg for the report. + (Closes: #960107, #960697) + * dh: Filter out the root-sequence in "--list" output and reject + attempts to activate or deactivate the sequence as it is an + implementation detail. + * dh_installalternatives: New helper that can setup alternatives + (update-alternatives) based on a declarative format. Currently, + the format is converted to calls to update-alternatives, which + are inserted into the maintscripts of the package. Thanks to + David Engel and Fumitoshi UKAI for the original requests. + (Closes: #43720) + * dh_missing: Attempt to guess if missing files might be caused by + the packager installing the same file via a different path and + let them know of this. (Closes: #960781) + + [ Guillem Jover ] + * autoconf.pm: Pass --disable-option-checking to ./configure + scripts to avoid warnings about unknown options. + (Closes: #942813) + + [ Translations ] + * Fix typo in German translation. (Andreas Bombe) + + -- Niels Thykier Sun, 17 May 2020 17:07:30 +0000 debhelper (13ubuntu1) groovy; urgency=low @@ -139,7 +324,7 @@ * dh: Refactor addon loading. As a side-effect, dh no longer leaks as many functions into the scope of addons. Addons depending on the previous behaviour may now fail - due to calls to undefined subroutintes and will need to + due to calls to undefined subroutines and will need to be fixed. * dh_installinitramfs.1: Correct the name of localized versions of dh_installinitramfs so that man can find @@ -156,7 +341,7 @@ debhelper (12.8) unstable; urgency=medium [ Niels Thykier ] - * Dh_Lib.pm: Simplify internal loggning of which commands + * Dh_Lib.pm: Simplify internal logging of which commands have been run. We are no longer interested in whether it was an override target or not. * dh: Support "execute_before_X" and "execute_after_X" @@ -721,7 +906,7 @@ * dh_missing: Clarify the documentation about when -X with other helpers can may dh_missing ignore paths that are not installed. Thanks to Hilko Bengen for reporting the original documentation - was unsufficient. (Closes: #917362) + was insufficient. (Closes: #917362) * d/control: Bump Standards-Version to 4.3.0 - no changes required. [ Baptiste Jammet ] @@ -840,7 +1025,7 @@ debhelper (11.5) unstable; urgency=medium [ Daniele Nicolodi ] - * dh_installsystemduser: New helper responsible for istalling package + * dh_installsystemduser: New helper responsible for installing package maintainer supplied systemd user instance units and to produce postinst and postrm maintiner scripts code blocks to appropriately enable, mask and disable units when the package is installed, @@ -1967,7 +2152,7 @@ * dh_shlibdeps: Ditto. * d/control: Bump Standards-Versions to 4.1.0: - Bump priority of dh-systemd to "optional". - * dh_makeshlibs: Avoid gratious warning about a non-existing + * dh_makeshlibs: Avoid gratuitous warning about a non-existing directory, when the packaging directory does not exist. (Closes: #626685) * dh_gencontrol: Ensure that dbgsym packages do not inherit the @@ -2709,7 +2894,7 @@ * autoreconf.pm: Apply patch from Helmut Grohne to fix autoconf/cross regression from #836988. The autoreconf build-system is now also used directly for "clean" and - "build" (while still usin the "make" build-system for the + "build" (while still using the "make" build-system for the heavy lifting). (Closes: #839681) * dh_installdirs: In compat 11, avoid creating debian/ directories except when required to do so. This fixes a @@ -2733,7 +2918,7 @@ * Apply patch from Peter Pentchev to fix some typos. * Apply patch from Michael Biebl to undo a major - regression where all of debhelpers functionality was + regression where all of debhelper's functionality was missing (introduced in 10.1). (Closes: #839557) * dh_installinit,dh_systemd_start: Introduce a new --no-stop-on-upgrade as an alternative to @@ -3296,7 +3481,7 @@ (Closes: #719148) * dh_installinit: Quote directory name before using it in a regex. - * dh_installinit: Create script snippts for tmpfiles.d + * dh_installinit: Create script snippets for tmpfiles.d files even if the package has no sysvinit script or explicit debian/.service file. (Closes: #795519) @@ -11245,4 +11430,3 @@ ready to replace debstd. -- Joey Hess Mon, 22 Sep 1997 15:01:25 -0400 - diff -Nru debhelper-13ubuntu1~oibaf~f/debian/control debhelper-13.2.1ubuntu1~oibaf~f/debian/control --- debhelper-13ubuntu1~oibaf~f/debian/control 2020-04-16 00:11:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/debian/control 2020-09-13 07:42:23.000000000 +0000 @@ -1,8 +1,7 @@ Source: debhelper Section: devel Priority: optional -Maintainer: Ubuntu Developers -XSBC-Original-Maintainer: Debhelper Maintainers +Maintainer: Debhelper Maintainers Uploaders: Niels Thykier , Build-Depends: dpkg-dev (>= 1.18.0~), perl:any, diff -Nru debhelper-13ubuntu1~oibaf~f/debian/gen-provides debhelper-13.2.1ubuntu1~oibaf~f/debian/gen-provides --- debhelper-13ubuntu1~oibaf~f/debian/gen-provides 2018-12-18 19:49:57.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/debian/gen-provides 2020-09-13 07:42:23.000000000 +0000 @@ -2,14 +2,19 @@ use strict; use warnings; -use Debian::Debhelper::Dh_Version; -use Debian::Debhelper::Dh_Lib (); +use Debian::Debhelper::Dh_Lib qw(error); my @provides; -my $version = $Debian::Debhelper::Dh_Version::version; -$version =~ s/~.*//; # Drop backports marker -$version =~ s/^\d+\K\..*//; -for (my $i = Debian::Debhelper::Dh_Lib::LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL ; $i <= $version ; $i++) { +my $lowest = Debian::Debhelper::Dh_Lib::LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL + // error("LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL is undef"); +my $highest = Debian::Debhelper::Dh_Lib::HIGHEST_STABLE_COMPAT_LEVEL + // error("HIGHEST_STABLE_COMPAT_LEVEL is undef"); + +if ($highest < $lowest) { + error("HIGHEST_STABLE_COMPAT_LEVEL is lower than LOWEST_VIRTUAL_DEBHELPER_COMPAT_LEVEL"); +} + +for (my $i = $lowest ; $i <= $highest ; $i++) { push(@provides, "debhelper-compat (= $i)"); } print "dh:CompatLevels=" . join(", ", @provides) . "\n"; diff -Nru debhelper-13ubuntu1~oibaf~f/debian/rules debhelper-13.2.1ubuntu1~oibaf~f/debian/rules --- debhelper-13ubuntu1~oibaf~f/debian/rules 2020-03-14 19:46:54.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/debian/rules 2020-09-13 07:42:23.000000000 +0000 @@ -18,6 +18,6 @@ # builds without needing autotools-dev, dh-strip-nondetermism etc.) override_dh_update_autotools_config override_dh_strip_nondeterminism: -execute_after_dh_install: - PERLLIBDIR=$$($(PERL) -MConfig -e 'print $$Config{vendorlib}')/Debian/Debhelper ; \ - $(PERL) -I"debian/debhelper/$${PERLLIBDIR}" debian/gen-provides > debian/debhelper.substvars +execute_before_dh_install: + PERLLIBDIR=$$($(PERL) -MConfig -e 'print $$Config{vendorlib}')/ ; \ + $(PERL) -I"debian/tmp/$${PERLLIBDIR}" debian/gen-provides > debian/debhelper.substvars diff -Nru debhelper-13ubuntu1~oibaf~f/dh debhelper-13.2.1ubuntu1~oibaf~f/dh --- debhelper-13ubuntu1~oibaf~f/dh 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh 2020-09-13 07:42:22.000000000 +0000 @@ -108,6 +108,111 @@ This makes it a bit harder to spot as you are looking for the omission of a command name. But otherwise, the principle remains the same. +=head2 Caveats with hook targets and makefile conditionals + +If you choose to wrap a hook target in makefile conditionals, please +be aware that B computes all the hook targets a head of time and +caches the result for that run. Furthermore, the conditionals will be +invoked again when B calls the hook target later and will assume +the answer did not change. + +The parsing and caching I happens before B knows whether it +will build arch:any (-a) or/and arch:all (-i) packages, which can +produce confusing results - especially when L is +part of the conditional. + +Most of the problems can be avoided by making the hook target +unconditional and then have the "body" be partially or completely +conditional. As an example: + + # SIMPLE: It is well-defined what happens. The hook target + # is always considered. The "maybe run this" bit is + # conditional but dh_foo is definitely skipped. + # + # Note: The conditional is evaluated "twice" where its + # influences what happens. Once when dh check which hook + # targets exist and once when the override_dh_foo hook target + # is run. If *either* times return false, "maybe run this" + # is skipped. + override_dh_foo: + ifneq (...) + maybe run this + endif + + # SIMPLE: This is also well-defined. The hook target is always + # run and dh_bar is skipped. The "maybe run this" bit is + # conditional as one might expect. + # + # Note: The conditional is still evaluated multiple times (in + # different process each time). However, only the evaluation + # that happens when the hook target is run influences what + # happens. + override_dh_bar: + : # Dummy command to force the target to always be run + ifneq (...) + maybe run this + endif + + + # COMPLICATED: This case can be non-trivial and have sharp edges. + # Use at your own peril if dh_listpackages in the conditional. + # + # Here, either dh_baz is run normally OR "maybe run this" is run + # instead. + # + # And it gets even more complicated to reason about if dh needs to + # recurse into debian/rules because you have an "explicit" + # standard target (e.g. a "build-arch:" target separate from "%:"). + ifneq (...) + override_dh_baz: + maybe run this + endif + +These recipes are also relevant for conditional dependency targets, +which are often seen in a variant of the following example: + + COND_TASKS = + ifneq (...) + COND_TASKS += maybe-run-this + endif + ... + + maybe-run-this: + ... + + # SIMPLE: It is well-defined what happens. Either the + # $(COND_TASKS) are skipped or run. + # + # Note: The conditional is evaluated "twice" where its + # influences what happens. Once when dh check which hook + # targets exist and once when the override_dh_foo hook target + # is run. If *either* times return false, $(COND_TASKS) + # is skipped. + override_dh_foo: $(COND_TASKS) + + + # SIMPLE: This is also well-defined. The hook target is always + # run and dh_bar is skipped. The $(COND_TASKS) bit is + # conditional as one might expect. + # + # Note: The conditional is still evaluated multiple times (in + # different process each time). However, only the evaluation + # that happens when the hook target is run influences what + # happens. + override_dh_bar: $(COND_TASKS) + : # Dummy command to force the target to always be run + + # COMPLICATED: This case can be non-trivial and have sharp edges. + # Use at your own peril if dh_listpackages in the conditional. + # + ifneq (...) + override_dh_baz: $(COND_TASKS) + endif + + +When in doubt, pick the relevant B case in the examples above +that match your need. + =head1 OPTIONS =over 4 @@ -444,6 +549,7 @@ my $name = basename($module_path); $name =~ s/\.pm$//; $name =~ s/_/-/g; + next if $name eq 'root-sequence'; $addons{$name} = 1; } } diff -Nru debhelper-13ubuntu1~oibaf~f/dh_clean debhelper-13.2.1ubuntu1~oibaf~f/dh_clean --- debhelper-13ubuntu1~oibaf~f/dh_clean 2020-02-01 11:43:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_clean 2020-09-13 07:42:21.000000000 +0000 @@ -18,19 +18,18 @@ =head1 DESCRIPTION -B is a debhelper program that is responsible for cleaning up after a -package is built. It removes the package build directories, and removes some -other files including F, and any detritus left behind by other -debhelper commands. It also removes common files that should not appear in a -Debian diff: +B is a debhelper program that is responsible for cleaning up. It should +be the last step of the B target and other debhelper commands generally +assume that B will clean up after them. + +It removes the package build directories, and removes some other files including +F, and any detritus left behind by other debhelper commands. It +also removes common files that should not appear in a Debian diff: #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp It does not run "make clean" to clean up after the build process. Use L to do things like that. -B should be the last debhelper command run in the -B target in F. - =head1 FILES =over 4 @@ -121,7 +120,7 @@ if (not $dh{D_FLAG}) { # Restore all files in our bucket (before we delete said bucket) - restore_all_files(); + restore_all_files(1); # Remove internal state data doit('rm', '-rf', 'debian/.debhelper/'); diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installalternatives debhelper-13.2.1ubuntu1~oibaf~f/dh_installalternatives --- debhelper-13ubuntu1~oibaf~f/dh_installalternatives 1970-01-01 00:00:00.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installalternatives 2020-09-13 07:42:22.000000000 +0000 @@ -0,0 +1,181 @@ +#!/usr/bin/perl + +=head1 NAME + +dh_installalternatives - install declarative alternative rules + +=cut + +use strict; +use warnings; +use constant LINE_PREFIX => ' ' . q{\\} . "\n "; +use Debian::Debhelper::Dh_Lib; + +our $VERSION = DH_BUILTIN_VERSION; + +=head1 SYNOPSIS + +B [S>] + +=head1 DESCRIPTION + +B is a debhelper program that is responsible for +parsing the declarative alternatives format and insert the relevant +maintscripts snippets to interface with L + +=head1 FILES + +=over 4 + +=item debian/I.alternatives + +An example of the format: + + Name: editor + Link: /usr/bin/editor + Alternative: /usr/bin/vim.basic + Dependents: + /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz + /usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz + /usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz + /usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz + /usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz + Priority: 50 + +The fields B, B, B, and B are mandatory and correspond +to the L B<--install> parameters B, B, B, and +B respectively. + +The B field is optional and consists of one or more lines. Each non-empty +line must contain exactly 3 space separated values that match (in order) the values passed +to the B<--slave> parameter for L. + +=back + +=head1 OPTIONS + +=over 4 + +=item B<-n>, B<--no-scripts> + +Do not modify F/F/F scripts. + +=back + +=cut + +init(); + +# Explicitly discard attempts to use --name; it does not make sense for +# this helper. +if ($dh{NAME}) { + warning('Ignoring unsupported --name option'); +} +$dh{NAME} = undef; + +# PROMISE: DH NOOP WITHOUT alternatives cli-options() + +foreach my $package (@{$dh{DOPACKAGES}}) { + my $tmp = tmpdir($package); + my $alternatives = pkgfile($package, 'alternatives'); + + if (-f $alternatives) { + _parse_alternatives_file_and_generate_maintscripts($package, $tmp, $alternatives); + } +} + +sub _parse_alternative_and_generate_maintscript { + my ($package, $tmpdir, $alternatives_file, $ctrl) = @_; + + my $link_name = $ctrl->{'Name'} // error("Missing mandatory \"Name\" field in ${alternatives_file}"); + my $link_path = $ctrl->{'Link'} + // error("Missing mandatory \"Link\" field for \"${link_name}\" in ${alternatives_file}"); + my $impl_path = $ctrl->{'Alternative'} + // error("Missing mandatory \"Alternative\" field for \"${link_name}\" in ${alternatives_file}"); + my $priority = $ctrl->{'Priority'} + // error("Missing mandatory \"Priority\" field for \"${link_name}\" in ${alternatives_file}"); + my %maintscript_options; + + if (index($link_name, '/') > -1) { + error(qq{Invalid link name "${link_name}" in "${alternatives_file}": Must not contain slash}); + } + if ( ! -f "${tmpdir}/${impl_path}") { + error(qq{Alternative "${impl_path}" for "${link_name}" in ${alternatives_file} does not exist in ${tmpdir}}); + } + + $maintscript_options{'RM_OPTIONS'} = "--remove ${link_name} ${impl_path}"; + $maintscript_options{'INSTALL_OPTIONS'} = "--install ${link_path} ${link_name} ${impl_path} ${priority}"; + + if (defined(my $slave_link_text = $ctrl->{'Dependents'})) { + my (%dlink_dup, @dependent_links); + for my $line (split(/\n/, $slave_link_text)) { + my ($dlink_name, $dlink_path, $dimpl_path, $trailing); + my $error_with_def = 0; + $line =~ s/^\s++//; + $line =~ s/\s++$//; + next if $line eq ''; # Ignore empty lines + ($dlink_path, $dlink_name, $dimpl_path, $trailing) = split(' ', $line, 4); + if (not $dlink_name) { + warning(qq{Missing link name value (2nd item) for dependent link "${dlink_name}" for "${link_name}"} + . qq{ in "${alternatives_file}"}); + $error_with_def = 1; + } elsif (index($dlink_name, '/') > -1) { + warning(qq{Invalid dependent link name "${dlink_name}" for "${link_name}"} + . qq{ in "${alternatives_file}": Must not contain slash}); + $error_with_def = 1; + } elsif ($dlink_dup{$dlink_name}) { + warning(qq{Dependent link "${dlink_name}" is seen more than once for "${link_name}"} + . qq{ in ${alternatives_file}}); + $error_with_def = 1; + } + if (not $dimpl_path) { + warning(qq{Missing path (alternative) value (3rd item) for dependent link "${dlink_name}"} + . qq{ for "${link_name}" in "${alternatives_file}"}); + $error_with_def = 1; + } + if ($trailing) { + warning(qq{Trailing information for dependent link "${dlink_name}" for "${link_name}"} + . qq{ in "${alternatives_file}"}) if $trailing; + warning("Dependent links must consist of exactly 3 space-separated values"); + $error_with_def = 1; + } + if ($error_with_def) { + my $link_id = $dlink_name // ('no ' . (scalar(@dependent_links) + 1)); + error("Error parsing dependent link ${link_id} for \"${link_name}\" in ${alternatives_file}."); + } + push(@dependent_links, "--slave $dlink_path $dlink_name $dimpl_path"); + } + error("Empty \"Dependents\" field for \"${link_name}\" in ${alternatives_file} (please remove it or add an entry)") + if not @dependent_links; + $maintscript_options{'INSTALL_OPTIONS'} .= LINE_PREFIX . join(LINE_PREFIX, @dependent_links); + } + for my $wrong_name (qw(Slave Slaves Slave-Links)) { + if ($ctrl->{$wrong_name}) { + error("Please use Dependents instead of ${wrong_name}"); + } + } + + autoscript($package, 'postinst', 'postinst-alternatives', \%maintscript_options); + autoscript($package, 'prerm', 'prerm-alternatives', \%maintscript_options); + return; +} + +sub _parse_alternatives_file_and_generate_maintscripts { + my ($package, $tmpdir, $alternatives_file) = @_; + my ($ctrl, $fd); + require Dpkg::Control::HashCore; + open($fd, '<', $alternatives_file) or error("open $alternatives_file failed: $!"); + while (defined($ctrl = Dpkg::Control::HashCore->new) and ($ctrl->parse($fd, $alternatives_file))) { + _parse_alternative_and_generate_maintscript($package, $tmpdir, $alternatives_file, $ctrl); + } + close($fd); + return; +} + +=head1 SEE ALSO + +L + +This program is a part of debhelper. + +=cut diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installchangelogs debhelper-13.2.1ubuntu1~oibaf~f/dh_installchangelogs --- debhelper-13ubuntu1~oibaf~f/dh_installchangelogs 2020-04-16 00:11:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installchangelogs 2020-09-13 07:42:22.000000000 +0000 @@ -23,15 +23,12 @@ An upstream F file may be specified as an option. -If there is an upstream F file, it will be installed as -F in the package build directory. - -If the specified upstream changelog is an F file (determined by file +If a changelog file is specified and is an F file (determined by file extension), it will be installed as F instead. If the html changelog is converted to plain text, that variant -can be specified as a second upstream changelog file. When no plain -text variant is specified, a short F -is generated, pointing readers at the html changelog file. +can be specified as a second parameter. When no plain text variant is +specified, a short F is generated, +pointing readers at the html changelog file. =head1 FILES diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installinit debhelper-13.2.1ubuntu1~oibaf~f/dh_installinit --- debhelper-13ubuntu1~oibaf~f/dh_installinit 2019-08-18 06:10:41.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installinit 2020-09-13 07:42:22.000000000 +0000 @@ -210,7 +210,8 @@ =cut -$dh{RESTART_AFTER_UPGRADE} = 1 if not compat(9); +$dh{RESTART_AFTER_UPGRADE} = ''; +$dh{NO_START} = ''; init(options => { "r" => \$dh{R_FLAG}, @@ -228,6 +229,10 @@ "no-enable" => \$dh{NO_ENABLE}, }); +if ($dh{RESTART_AFTER_UPGRADE} eq '') { + $dh{RESTART_AFTER_UPGRADE} = 1 if not defined($dh{R_FLAG}) and $dh{NO_START} eq ''; +} + # PROMISE: DH NOOP WITHOUT service tmpfile default upstart init init.d tmp(usr/lib/tmpfiles.d) tmp(etc/tmpfiles.d) cli-options(--init-script|-d|--remove-d|-o|--only-scripts) my %snippet_options = ('snippet-order' => 'service'); diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installinitramfs debhelper-13.2.1ubuntu1~oibaf~f/dh_installinitramfs --- debhelper-13ubuntu1~oibaf~f/dh_installinitramfs 2019-02-23 07:40:09.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installinitramfs 2020-09-13 07:42:22.000000000 +0000 @@ -21,11 +21,11 @@ B is a debhelper program that is responsible for installing Debian package provided initramfs hooks. -If B installs or (in compat 12 or later) detects -one or more initramfs hooks in the package, then it also automatically -generates the F and F commands needed to interface -with the Debian initramfs system. These commands are inserted into -the maintainer scripts by L. +If B installs or detects one or more initramfs +hooks in the package, then it also automatically generates the noawait +trigger B command needed to interface with the +Debian initramfs system. This trigger is inserted into the +packaging by L. =head1 FILES @@ -46,7 +46,14 @@ =item B<-n>, B<--no-scripts> -Do not modify F/F scripts. +Do not add the B trigger even if it seems like the package +might need it. The option is called B<--no-scripts> for historical +reasons as B would previously generate maintainer +scripts that called B. + +Use this option, if you need to interface with the B +system that is not satisfied by the noawait trigger (e.g. because you need +the extra guarantees and head-aches of a await trigger). =back @@ -54,7 +61,7 @@ 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. +instances of the same text to be added to triggers file. =cut @@ -77,8 +84,7 @@ } if ($has_hooks && ! $dh{NOSCRIPTS}) { - autoscript($package, 'postinst', 'postinst-initramfs-hook'); - autoscript($package, 'postrm', 'postrm-initramfs-hook') + autotrigger($package, 'activate-noawait', 'update-initramfs'); } } diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installman debhelper-13.2.1ubuntu1~oibaf~f/dh_installman --- debhelper-13ubuntu1~oibaf~f/dh_installman 2020-02-01 11:43:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installman 2020-09-13 07:42:22.000000000 +0000 @@ -200,6 +200,10 @@ if (/^\.TH\s+\S+\s+"?(\d+[^"\s]*)"?/ || /^\.Dt\s+\S+\s+(\d+[^\s]*)/) { $section = $1; + if ($section =~ m/^\d+[.]\d+/) { + warning("Ignoring section defined in TH/Dt for ${page} as it looks like a version number: ${section}"); + $section = undef; + } last; } } @@ -210,8 +214,10 @@ } # Now get the numeric component of the section. - my ($realsection) = $section =~ m/^(\d)/ if defined $section; - if (!$realsection) { + my ($realsection) = $section =~ m/^(\d+)/ if defined $section; + if (!$realsection or ($realsection < 0 or $realsection > 9)) { + warning("Section for ${page} is computed as \"${section}\", which is not a valid section") + if defined($section); error("Could not determine section for $page"); } diff -Nru debhelper-13ubuntu1~oibaf~f/dh_installsystemd debhelper-13.2.1ubuntu1~oibaf~f/dh_installsystemd --- debhelper-13ubuntu1~oibaf~f/dh_installsystemd 2020-03-15 20:38:45.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_installsystemd 2020-09-13 07:42:21.000000000 +0000 @@ -121,7 +121,17 @@ =item B<-r>, B<--no-stop-on-upgrade>, B<--no-restart-on-upgrade> -Do not stop service on upgrade. +Do not stop service on upgrade. This has the side-effect of not +restarting the service as a part of the upgrade. + +If you want to restart the service with minimal downtime, please use +B<--restart-after-upgrade> (default in compat 10 or later). If you want +the service to be restarted but be stopped during the upgrade, then please +use B<--no-restart-after-upgrade> (note the "after-upgrade"). + +Note that the B<--no-restart-on-upgrade> alias is deprecated and will +be removed in compat 14. This is to avoid confusion with the +B<--no-restart-after-upgrade> option. =item B<--no-start> @@ -152,7 +162,8 @@ =cut -$dh{RESTART_AFTER_UPGRADE} = 1; +$dh{RESTART_AFTER_UPGRADE} = ''; +$dh{NO_START} = ''; init(options => { "no-enable" => \$dh{NO_ENABLE}, @@ -164,6 +175,10 @@ "no-also" => \$dh{NO_ALSO}, # undocumented option }); +if ($dh{RESTART_AFTER_UPGRADE} eq '') { + $dh{RESTART_AFTER_UPGRADE} = 1 if not defined($dh{R_FLAG}) and $dh{NO_START} eq ''; +} + sub quote { # Add single quotes around the argument. return '\'' . $_[0] . '\''; diff -Nru debhelper-13ubuntu1~oibaf~f/dh_missing debhelper-13.2.1ubuntu1~oibaf~f/dh_missing --- debhelper-13ubuntu1~oibaf~f/dh_missing 2020-04-04 16:51:08.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/dh_missing 2020-09-13 07:42:22.000000000 +0000 @@ -6,7 +6,7 @@ =cut -use strict; +use v5.24; use warnings; use Debian::Debhelper::Dh_Lib; @@ -24,8 +24,9 @@ about that (B<--list-missing>) or fail (B<--fail-missing>). Please note that in compat 11 and earlier without either of these -options, B will silently do nothing. From compat 12 on, -B<--list-missing> is the default. +options, B will silently do nothing. In compat 12, +B<--list-missing> is the default In compat 13 and later, +B<--fail-missing> is the default. 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. @@ -69,13 +70,15 @@ case, this will make B silently assume the excluded files have been handled. -This is the default in compat 12 and later. +This is the default in compat 12. =item B<--fail-missing> This option is like B<--list-missing>, except if a file was missed, it will not only list the missing files, but also fail with a nonzero exit code. +This is the default in compat 13 and later. + =back =cut @@ -86,7 +89,7 @@ "sourcedir=s" => \$dh{SOURCEDIR}, }); -my (@installed, %helpers); +my (@installed, %helpers, %helpers_basename); my $srcdir = '.'; if (defined($dh{SOURCEDIR})) { @@ -191,7 +194,42 @@ } }, $srcdir); if (@missing) { - warning "$_ exists in $srcdir but is not installed to anywhere" foreach @missing; + my $had_related_files; + my %seen_basename = map { basename($_) => $_ } @installed; + my $multiarch = dpkg_architecture_value("DEB_HOST_MULTIARCH"); + my $seen_ma_value = 0; + for my $file (sort(@missing)) { + my $basename = basename($file); + if (exists($seen_basename{$basename})) { + my $alt_source = $seen_basename{$basename}; + $had_related_files //= [$file, $alt_source]; + warning("$file exists in $srcdir but is not installed to anywhere (related file: \"$alt_source\")"); + } else { + warning("$file exists in $srcdir but is not installed to anywhere "); + } + $seen_ma_value = 1 if index($file, $multiarch) > -1; + } + if ($had_related_files) { + my ($missing, $alt_source) = $had_related_files->@*; + my $error = $dh{FAIL_MISSING} ? 'error' : 'warning'; + nonquiet_print(); + nonquiet_print('While detecting missing files, dh_missing noted some files with a similar name to those'); + nonquiet_print("that were missing. This ${error} /might/ be resolved by replacing references to the"); + nonquiet_print('missing files with the similarly named ones that dh_missing found - assuming the content'); + nonquiet_print('is identical.'); + nonquiet_print(); + nonquiet_print('As an example, you might want to replace:'); + nonquiet_print(" * ${alt_source}"); + nonquiet_print('with:'); + nonquiet_print(" * ${missing}"); + nonquiet_print('in a file in debian/ or as argument to one of the dh_* tools called from debian/rules.'); + nonquiet_print('(Note it is possible the paths are not used verbatim but instead directories '); + nonquiet_print('containing or globs matching them are used instead)'); + nonquiet_print(); + nonquiet_print('Alternatively, add the missing file to debian/not-installed if it cannot and should not'); + nonquiet_print('be used.'); + nonquiet_print(); + } nonquiet_print("The following debhelper tools have reported what they installed (with files per package)"); for my $helper (sort(keys(%helpers))) { my $pkg_info = $helpers{$helper}; @@ -202,12 +240,19 @@ } nonquiet_print(" * ${helper}: " . join(', ', @results)); } - nonquiet_print("If the missing files are installed by another tool, please file a bug against it."); + nonquiet_print('If the missing files are installed by another tool, please file a bug against it.'); nonquiet_print('When filing the report, if the tool is not part of debhelper itself, please reference the'); nonquiet_print('"Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).'); nonquiet_print(' (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)'); nonquiet_print("Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built"); - nonquiet_print("For a short-term work-around: Add the files to debian/not-installed"); + nonquiet_print("If the omission is intentional or no other helper can take care of this consider adding the"); + nonquiet_print("paths to debian/not-installed."); + if ($seen_ma_value) { + nonquiet_print(); + nonquiet_print("Remember to be careful with paths containing \"${multiarch}\", where you might need to"); + nonquiet_print("use a wildcard or (assuming compat 13+) e.g. \${DEB_HOST_MULTIARCH} in debian/not-installed"); + nonquiet_print("to ensure it works on all architectures (see #961104)."); + } if ($dh{FAIL_MISSING}) { error("missing files, aborting"); } diff -Nru debhelper-13ubuntu1~oibaf~f/doc/PROGRAMMING debhelper-13.2.1ubuntu1~oibaf~f/doc/PROGRAMMING --- debhelper-13ubuntu1~oibaf~f/doc/PROGRAMMING 2020-02-01 11:43:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/doc/PROGRAMMING 2020-09-13 07:42:22.000000000 +0000 @@ -241,11 +241,16 @@ - binary package to be affected - script to add to - filename of snippet. For testing purposes, you can set the - environment variable DH_AUTOSCRIPTDIR to a directory contaning - the snippets, which can be used to shadow the snippets provided + environment variable DH_DATAFILES containing a autoscripts + directory, which can be used to shadow the snippets provided in /usr/share/debhelper/autoscripts (or to test newly added snippets). - - (optional) A substitution parameter, which is one of 3 times: + Older versions of debhelper (<< 13.1~) does not support + DH_DATAFILES. If you need to support debhelper (<< 13.1~) + then you can set DH_AUTOSCRIPTDIR to a directory containing + the snippets instead (note it should point to the autoscripts + directory unlike DH_DATAFILES). + - (optional) A substitution parameter, which is one of 3 types: * sed commands to run on the snippet. E.g. s/#PACKAGE#/$PACKAGE/ Note: Passed to the shell inside double quotes. * a perl sub to invoke with $_ set to each line of the snippet @@ -335,10 +340,11 @@ compat is 9 (or later) and $src is executable, $src will be executed instead and its output will be used to generate the $dest file. -install_dir($dir) - Create the directory denoted by the path $dir and all parent - entries as well (as needed). - If the directory already exists, the function does nothing. +install_dir(@dirs) + Create the directories denoted by the paths in @dirs and all + parent entries as well (as needed). It uses mode 0755. + If a directory listed in @dirs already exists, the function + silently skips that directory (similar to mkdir -p). install_file($src, $dest) Installs $src into $dest with mode 0644. The parent dir of $dest must exist (can be created with install_dir). @@ -531,14 +537,16 @@ * Replace "@{$dh{DOPACKAGES}}" with "getpackages()" and use "process_pkg($package)" to determine if the helper should actually install anything. - * Call "log_installed_files" once per package (even on the ones that - are not to be acted on) with a list of source files that would be + * Call "log_installed_files" at least once per package (even on the ones + that are not to be acted on) with a list of source files that would be installed. - You can list entire directories even if there are files under it that are ignored. - Please call "log_installed_files" /even if/ the list is empty for that packages. This enables dh_missing to see that the helper has been run and nothing should be installed for that package. + - Prefer calling "log_installed_files" /exactly once/ per package as + this is what it is optimized for. * If your helper has a PROMISE, it must use "pkgfile-logged()" for its config files. (See #867246) - CAVEAT: This requires a dependency on "debhelper (>= 10.2.5)". Prior diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/autoconf.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/autoconf.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/autoconf.pm 2020-02-01 11:43:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/autoconf.pm 2020-09-13 07:42:24.000000000 +0000 @@ -39,6 +39,9 @@ push @opts, "--infodir=\${prefix}/share/info"; push @opts, "--sysconfdir=/etc"; push @opts, "--localstatedir=/var"; + # We pass --disable/enable-* options that might be unknown, so we + # should not emit warnings. + push @opts, "--disable-option-checking"; if ($dh{QUIET}) { push @opts, "--enable-silent-rules"; } else { diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/cmake.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/cmake.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/cmake.pm 2020-03-07 07:02:49.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Buildsystem/cmake.pm 2020-09-13 07:42:24.000000000 +0000 @@ -83,19 +83,17 @@ my @flags = @STANDARD_CMAKE_FLAGS; my $backend = $this->get_targetbuildsystem->NAME; - if (not compat(10)) { - push(@flags, '-DCMAKE_INSTALL_RUNSTATEDIR=/run'); - } - if (not compat(12)) { - # Speed up installation phase a bit. - push(@flags, "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON"); - } + push(@flags, '-DCMAKE_INSTALL_RUNSTATEDIR=/run') if not compat(10); + # Speed up installation phase a bit. + push(@flags, "-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON") if not compat(12); + # Reproducibility #962474 + push(@flags, "-DCMAKE_SKIP_RPATH=ON", '-DBUILD_RPATH_USE_ORIGIN=ON') if not compat(13); if (exists($TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend})) { my $generator = $TARGET_BUILD_SYSTEM2CMAKE_GENERATOR{$backend}; push(@flags, "-G${generator}"); } if (not $dh{QUIET}) { - push(@flags, "-DCMAKE_VERBOSE_MAKEFILE=ON", "-DCMAKE_AUTOGEN_VERBOSE=ON"); + push(@flags, "-DCMAKE_VERBOSE_MAKEFILE=ON"); } if ($ENV{CC}) { diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Buildsystems.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Buildsystems.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Buildsystems.pm 2020-02-01 11:43:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Buildsystems.pm 2020-09-13 07:42:24.000000000 +0000 @@ -203,7 +203,9 @@ 'no-parallel' => sub { $max_parallel = 1 }, "max-parallel=i" => \$max_parallel, - 'reload-all-buildenv-variables' => sub { delete($ENV{'DH_INTERNAL_BUILDFLAGS'}); }, + 'reload-all-buildenv-variables' => sub { + Debian::Debhelper::Dh_Lib::reset_buildflags(); + }, ); if (compat(8)) { # This option only works in compat 9+ where we actually set buildflags @@ -281,9 +283,31 @@ 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); + my ($xdg_runtime_dir, $err, $ref); + local $SIG{'INT'} = sub { $ref = 'INT'; die(\$ref); }; + local $SIG{'TERM'} = sub { $ref = 'TERM'; die(\$ref); }; + if ($step eq 'test' and not compat(12)) { + require File::Temp; + $xdg_runtime_dir = File::Temp->newdir('dh-xdg-rundir-XXXXXXXX', + TMPDIR => 1, + CLEANUP => 1, + ); + $ENV{'XDG_RUNTIME_DIR'} = $xdg_runtime_dir->dirname; + } + eval { + $buildsystem->pre_building_step($step); + $buildsystem->$step(@_, @{$dh{U_PARAMS}}); + $buildsystem->post_building_step($step); + }; + $err = $@; + doit('rm', '-fr', '--', $xdg_runtime_dir) if $xdg_runtime_dir; + if ($err) { + my $sig; + die($err) if $err ne \$ref; + $sig = $ref; + delete($SIG{$sig}); + kill($sig => $$); + } } return 0; } diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Lib.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Lib.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Lib.pm 2020-04-16 00:11:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Dh_Lib.pm 2020-09-13 07:42:24.000000000 +0000 @@ -5,7 +5,8 @@ # Joey Hess, GPL copyright 1997-2008. package Debian::Debhelper::Dh_Lib; -use strict; + +use v5.24; use warnings; use utf8; @@ -28,13 +29,48 @@ 'DEFAULT_PACKAGE_TYPE' => 'deb', }; + +# The Makefile changes this if debhelper is installed in a PREFIX. +my $prefix="/usr"; +# The Makefile changes this during install to match the actual version. +use constant HIGHEST_STABLE_COMPAT_LEVEL => undef; + +# Locations we search for data files by default +my @DATA_INC_PATH = ( + "${prefix}/share/debhelper", +); +# Enable the use of DH_DATAFILES for testing purposes. +unshift(@DATA_INC_PATH, split(':', $ENV{'DH_DATAFILES'})) if exists($ENV{'DH_DATAFILES'}); + use constant { # Package-Type / extension for dbgsym packages # TODO: Find a way to determine this automatically from the vendor # - blocked by Dpkg::Vendor having a rather high load time (for debhelper) 'DBGSYM_PACKAGE_TYPE' => 'ddeb', + # Lowest compat level supported that is not scheduled for removal. + # - Set to MIN_COMPAT_LEVEL when there are no pending compat removals. + 'MIN_COMPAT_LEVEL_NOT_SCHEDULED_FOR_REMOVAL' => 7, +}; + + +# Internal constants used to define limits in variable expansions. +use constant { + # How many expansions are permitted in total. + _VAR_SUBST_EXPANSION_COUNT_LIMIT => 50, + # When recursion is enabled, how many times will we expand a pattern + # on the same position in the string. + _VAR_SUBST_SAME_POSITION_RECURSION_LIMIT => 20, + # Expansions are always allowed to grow up to this length regardless + # of original input size (provided it does not trip another limit) + _VAR_SUBST_EXPANSION_MIN_SUPPORTED_SIZE_LIMIT => 4096, + # Factor input is allowed to grow before it triggers an error + # (_VAR_SUBST_EXPANSION_MIN_SUPPORTED_SIZE_LIMIT overrules this for a + # given input if the max size limit computed with this factor is less + # than _VAR_SUBST_EXPANSION_MIN_SUPPORTED_SIZE_LIMIT) + _VAR_SUBST_EXPANSION_DYNAMIC_EXPANSION_FACTOR_LIMIT => 3, }; + use Errno qw(ENOENT EXDEV); use Exporter qw(import); use File::Glob qw(bsd_glob GLOB_CSH GLOB_NOMAGIC GLOB_TILDE); @@ -174,9 +210,6 @@ buildarch )); -# The Makefile changes this if debhelper is installed in a PREFIX. -my $prefix="/usr"; - my $MAX_PROCS = get_buildoption("parallel") || 1; my $DH_TOOL_VERSION; @@ -615,29 +648,27 @@ } } -{ - my $_loaded = 0; - sub install_dir { - my @to_create = grep { not -d $_ } @_; - return if not @to_create; - if (not $_loaded) { - $_loaded++; - require File::Path; - } - verbose_print(sprintf('install -d %s', escape_shell(@to_create))) - if $dh{VERBOSE}; - return 1 if $dh{NO_ACT}; - eval { - File::Path::make_path(@to_create, { - # install -d uses 0755 (no umask), make_path uses 0777 (& umask) by default. - # Since we claim to run install -d, then ensure the mode is correct. - 'chmod' => 0755, - }); - }; - if (my $err = "$@") { - $err =~ s/\s+at\s+\S+\s+line\s+\d+\.?\n//; - error($err); - } +sub install_dir { + my @to_create = grep { not -d $_ } @_; + return if not @to_create; + state $_loaded; + if (not $_loaded) { + $_loaded++; + require File::Path; + } + verbose_print(sprintf('install -d %s', escape_shell(@to_create))) + if $dh{VERBOSE}; + return 1 if $dh{NO_ACT}; + eval { + File::Path::make_path(@to_create, { + # install -d uses 0755 (no umask), make_path uses 0777 (& umask) by default. + # Since we claim to run install -d, then ensure the mode is correct. + 'chmod' => 0755, + }); + }; + if (my $err = "$@") { + $err =~ s/\s+at\s+\S+\s+line\s+\d+\.?\n//; + error($err); } } @@ -763,61 +794,63 @@ my $message=shift; if (!$dh{QUIET}) { - print "\t$message\n"; + if (defined($message)) { + print "\t$message\n"; + } else { + print "\n"; + } } } -{ - my $_use_color; - sub _color { - my ($msg, $color) = @_; - if (not defined($_use_color)) { - # This part is basically Dpkg::ErrorHandling::setup_color over again - # with some tweaks. - # (but the module uses Dpkg + Dpkg::Gettext, so it is very expensive - # to load) - my $mode = $ENV{'DH_COLORS'} // $ENV{'DPKG_COLORS'}; - # Support NO_COLOR (https://no-color.org/) - $mode //= exists($ENV{'NO_COLOR'}) ? 'never' : 'auto'; - - if ($mode eq 'auto') { - $_use_color = 1 if -t *STDOUT or -t *STDERR; - } elsif ($mode eq 'always') { - $_use_color = 1; - } else { - $_use_color = 0; - } - - eval { - require Term::ANSIColor if $_use_color; - }; - if ($@) { - # In case of errors, skip colors. - $_use_color = 0; - } +sub _color { + my ($msg, $color) = @_; + state $_use_color; + if (not defined($_use_color)) { + # This part is basically Dpkg::ErrorHandling::setup_color over again + # with some tweaks. + # (but the module uses Dpkg + Dpkg::Gettext, so it is very expensive + # to load) + my $mode = $ENV{'DH_COLORS'} // $ENV{'DPKG_COLORS'}; + # Support NO_COLOR (https://no-color.org/) + $mode //= exists($ENV{'NO_COLOR'}) ? 'never' : 'auto'; + + if ($mode eq 'auto') { + $_use_color = 1 if -t *STDOUT or -t *STDERR; + } elsif ($mode eq 'always') { + $_use_color = 1; + } else { + $_use_color = 0; } - if ($_use_color) { - local $ENV{'NO_COLOR'} = undef; - $msg = Term::ANSIColor::colored($msg, $color); + + eval { + require Term::ANSIColor if $_use_color; + }; + if ($@) { + # In case of errors, skip colors. + $_use_color = 0; } - return $msg; } - - # Output an error message and die (can be caught). - sub error { - my ($message) = @_; - # ensure the error code is well defined. - $! = 255; - die(_color(basename($0), 'bold') . ': ' . _color('error', 'bold red') . ": $message\n"); + if ($_use_color) { + local $ENV{'NO_COLOR'} = undef; + $msg = Term::ANSIColor::colored($msg, $color); } + return $msg; +} - # Output a warning. - sub warning { - my ($message) = @_; - $message //= ''; +# Output an error message and die (can be caught). +sub error { + my ($message) = @_; + # ensure the error code is well defined. + $! = 255; + die(_color(basename($0), 'bold') . ': ' . _color('error', 'bold red') . ": $message\n"); +} - print STDERR _color(basename($0), 'bold') . ': ' . _color('warning', 'bold yellow') . ": $message\n"; - } +# Output a warning. +sub warning { + my ($message) = @_; + $message //= ''; + + print STDERR _color(basename($0), 'bold') . ': ' . _color('warning', 'bold yellow') . ": $message\n"; } # Returns the basename of the argument passed to it. @@ -842,6 +875,7 @@ # is less than or equal to that number. my $compat_from_bd; { + my $check_pending_removals = get_buildoption('dherroron', '') eq 'obsolete-compat-levels' ? 1 : 0; my $warned_compat = $ENV{DH_INTERNAL_TESTSUITE_SILENT_WARNINGS} ? 1 : 0; my $c; @@ -901,6 +935,11 @@ error("Compatibility levels before ${\MIN_COMPAT_LEVEL} are no longer supported (level $c requested)"); } + if ($check_pending_removals and $c < MIN_COMPAT_LEVEL_NOT_SCHEDULED_FOR_REMOVAL) { + my $v = MIN_COMPAT_LEVEL_NOT_SCHEDULED_FOR_REMOVAL; + error("Compatibility levels before ${v} are scheduled for removal and DH_COMPAT_ERROR_ON_PENDING_REMOVAL was set (level $c requested)"); + } + if ($c < LOWEST_NON_DEPRECATED_COMPAT_LEVEL && ! $warned_compat) { warning("Compatibility levels before ${\LOWEST_NON_DEPRECATED_COMPAT_LEVEL} are deprecated (level $c in use)"); $warned_compat=1; @@ -1049,57 +1088,53 @@ # Returns 1 if the package is a native debian package, null otherwise. # As a side effect, sets $dh{VERSION} to the version of this package. -{ - # Caches return code so it only needs to run dpkg-parsechangelog once. - my (%isnative_cache, %pkg_version); - - sub isnative { - my ($package) = @_; - my $cache_key = $package; +sub isnative { + my ($package) = @_; + my $cache_key = $package; + + state (%isnative_cache, %pkg_version); + if (exists($isnative_cache{$cache_key})) { + $dh{VERSION} = $pkg_version{$cache_key}; + return $isnative_cache{$cache_key}; + } + + # Make sure we look at the correct changelog. + my $isnative_changelog = pkgfile($package,"changelog"); + if (! $isnative_changelog) { + $isnative_changelog = "debian/changelog"; + $cache_key = '_source'; + # check if we looked up the default changelog if (exists($isnative_cache{$cache_key})) { $dh{VERSION} = $pkg_version{$cache_key}; return $isnative_cache{$cache_key}; } + } - # Make sure we look at the correct changelog. - my $isnative_changelog = pkgfile($package,"changelog"); - if (! $isnative_changelog) { - $isnative_changelog = "debian/changelog"; - $cache_key = '_source'; - # check if we looked up the default changelog - if (exists($isnative_cache{$cache_key})) { - $dh{VERSION} = $pkg_version{$cache_key}; - return $isnative_cache{$cache_key}; - } - } - - if (not %isnative_cache) { - require Dpkg::Changelog::Parse; - } + if (not %isnative_cache) { + require Dpkg::Changelog::Parse; + } - my $res = Dpkg::Changelog::Parse::changelog_parse( - file => $isnative_changelog, - compression => 0, - ); - if (not defined($res)) { - error("No changelog entries for $package!? (changelog file: ${isnative_changelog})"); - } - my $version = $res->{'Version'}; - # Do we have a valid version? - if (not defined($version) or not $version->is_valid) { - error("changelog parse failure; invalid or missing version"); - } - # Get and cache the package version. - $dh{VERSION} = $pkg_version{$cache_key} = $version->as_string; - - # Is this a native Debian package? - if (index($dh{VERSION}, '-') > -1) { - return $isnative_cache{$cache_key} = 0; - } - else { - return $isnative_cache{$cache_key} = 1; - } + my $res = Dpkg::Changelog::Parse::changelog_parse( + file => $isnative_changelog, + compression => 0, + ); + if (not defined($res)) { + error("No changelog entries for $package!? (changelog file: ${isnative_changelog})"); + } + my $version = $res->{'Version'}; + # Do we have a valid version? + if (not defined($version) or not $version->is_valid) { + error("changelog parse failure; invalid or missing version"); + } + # Get and cache the package version. + $dh{VERSION} = $pkg_version{$cache_key} = $version->as_string; + + # Is this a native Debian package? + if (index($dh{VERSION}, '-') > -1) { + return $isnative_cache{$cache_key} = 0; + } else { + return $isnative_cache{$cache_key} = 1; } } @@ -1152,11 +1187,17 @@ $infile="$ENV{DH_AUTOSCRIPTDIR}/$filename"; } else { - if (-e "$prefix/share/debhelper/autoscripts/$filename") { - $infile="$prefix/share/debhelper/autoscripts/$filename"; + for my $dir (@DATA_INC_PATH) { + my $path = "${dir}/autoscripts/${filename}"; + if (-e $path) { + $infile = $path; + last; + } } - else { - error("$prefix/share/debhelper/autoscripts/$filename does not exist"); + if (not defined($infile)) { + my @dirs = map { "$_/autoscripts" } @DATA_INC_PATH; + unshift(@dirs, $ENV{DH_AUTOSCRIPTDIR}) if exists($ENV{DH_AUTOSCRIPTDIR}); + error("Could not find autoscript $filename (search path: " . join(':', @dirs) . ')'); } } @@ -1414,7 +1455,7 @@ 'Space' => ' ', 'Dollar' => '$', 'Newline' => "\n", - 'Tab' => "\b", + 'Tab' => "\t", ); sub _variable_substitution { @@ -1424,7 +1465,9 @@ my $subst_count = 0; my $expansion_count = 0; my $current_size = length($text); - my $expansion_size_limit = 3 * $current_size; + my $expansion_size_limit = _VAR_SUBST_EXPANSION_DYNAMIC_EXPANSION_FACTOR_LIMIT * $current_size; + $expansion_size_limit = _VAR_SUBST_EXPANSION_MIN_SUPPORTED_SIZE_LIMIT + if $expansion_size_limit < _VAR_SUBST_EXPANSION_MIN_SUPPORTED_SIZE_LIMIT; 1 while ($text =~ s< \$\{([A-Za-z0-9][-_:0-9A-Za-z]*)\} # Match ${something} and replace it >[ @@ -1434,12 +1477,12 @@ if ($pos == $new_pos) { # Safe-guard in case we ever implement recursive expansion - error("Error substituting in ${loc} (at position $pos); recursion limit while expanding \${${match}") - if (++$subst_count >= 20); + error("Error substituting in ${loc} (at position $pos); recursion limit while expanding \${${match}}") + if (++$subst_count >= _VAR_SUBST_SAME_POSITION_RECURSION_LIMIT); } else { $subst_count = 0; $pos = $new_pos; - if (++$expansion_count >= 50) { + if (++$expansion_count >= _VAR_SUBST_EXPANSION_COUNT_LIMIT) { error("Error substituting in ${loc}; substitution limit of ${expansion_count} reached"); } } @@ -1447,18 +1490,18 @@ $value = $BUILT_IN_SUBST{$match}; } elsif ($match =~ m/^DEB_(?:BUILD|HOST|TARGET)_/) { $value = dpkg_architecture_value($match) // - error(qq{Cannot expand "\${${match}}\" in ${loc} as it is not a known dpkg-architecture value}); + error(qq{Cannot expand "\${${match}}" in ${loc} as it is not a known dpkg-architecture value}); } elsif ($match =~ m/^env:(.+)/) { my $env_var = $1; $value = $ENV{$env_var} // error(qq{Cannot expand "\${${match}}" in ${loc} as the ENV variable "${env_var}" is unset}); } - error("Cannot resolve variable \${$match} in ${loc}") + error(qq{Cannot resolve variable "\${$match}" in ${loc}}) if not defined($value); # We do not support recursive expansion. $value =~ s/\$/\$\{\}/; $current_size += length($value) - length($match) - 3; - if ($current_size > 4096 and $current_size > $expansion_size_limit) { + if ($current_size > $expansion_size_limit) { error("Refusing to expand \${${match}} in ${loc} - the original input seems to grow beyond reasonable' . ' limits!"); } @@ -1586,32 +1629,30 @@ return 0; } -{ - my %dpkg_arch_output; - sub dpkg_architecture_value { - my $var = shift; - if (exists($ENV{$var})) { - my $value = $ENV{$var}; - return $value if $value ne q{}; - warning("ENV[$var] is set to the empty string. It has been ignored to avoid bugs like #862842"); - delete($ENV{$var}); - } - if (! exists($dpkg_arch_output{$var})) { - # Return here if we already consulted dpkg-architecture - # (saves a fork+exec on unknown variables) - return if %dpkg_arch_output; - - open(my $fd, '-|', 'dpkg-architecture') - or error("dpkg-architecture failed"); - while (my $line = <$fd>) { - chomp($line); - my ($k, $v) = split(/=/, $line, 2); - $dpkg_arch_output{$k} = $v; - } - close($fd); +sub dpkg_architecture_value { + my $var = shift; + state %dpkg_arch_output; + if (exists($ENV{$var})) { + my $value = $ENV{$var}; + return $value if $value ne q{}; + warning("ENV[$var] is set to the empty string. It has been ignored to avoid bugs like #862842"); + delete($ENV{$var}); + } + if (! exists($dpkg_arch_output{$var})) { + # Return here if we already consulted dpkg-architecture + # (saves a fork+exec on unknown variables) + return if %dpkg_arch_output; + + open(my $fd, '-|', 'dpkg-architecture') + or error("dpkg-architecture failed"); + while (my $line = <$fd>) { + chomp($line); + my ($k, $v) = split(/=/, $line, 2); + $dpkg_arch_output{$k} = $v; } - return $dpkg_arch_output{$var}; + close($fd); } + return $dpkg_arch_output{$var}; } # Confusing name for hostarch @@ -1631,33 +1672,29 @@ ne dpkg_architecture_value("DEB_HOST_GNU_TYPE"); } -# Passed an arch and a list of arches to match against, returns true if matched -{ - my %knownsame; - - sub samearch { - my $arch=shift; - my @archlist=split(/\s+/,shift); - - foreach my $a (@archlist) { - if (exists $knownsame{$arch}{$a}) { - return 1 if $knownsame{$arch}{$a}; - next; - } +# Passed an arch and a space-separated list of arches to match against, returns true if matched +sub samearch { + my $arch=shift; + my @archlist=split(/\s+/,shift); + state %knownsame; + + foreach my $a (@archlist) { + if (exists $knownsame{$arch}{$a}) { + return 1 if $knownsame{$arch}{$a}; + next; + } - require Dpkg::Arch; - if (Dpkg::Arch::debarch_is($arch, $a)) { - return $knownsame{$arch}{$a}=1; - } - else { - $knownsame{$arch}{$a}=0; - } + require Dpkg::Arch; + if (Dpkg::Arch::debarch_is($arch, $a)) { + return $knownsame{$arch}{$a}=1; + } + else { + $knownsame{$arch}{$a}=0; } - - return 0; } -} + return 0; +} # Returns a list of packages in the control file. @@ -1698,14 +1735,17 @@ return @{$packages_by_type{$type}}; } +sub _strip_spaces { + my ($v) = @_; + $v =~ s/^\s++//; + $v =~ s/\s++$//; + return $v; +} + sub _parse_debian_control { - my $package=""; - my $arch=""; - my $section=""; my $valid_pkg_re = qr{^${PKGNAME_REGEX}$}o; - my ($package_type, $multiarch, %seen, @profiles, $source_section, - $included_in_build_profile, $cross_type, $cross_target_arch, - %bd_fields, $bd_field_value, %seen_fields, $fd); + my (%seen, @profiles, $source_section, $cross_target_arch, %field_values, + $field_name, %bd_fields, $bd_field_value, %seen_fields, $fd); if (exists $ENV{'DEB_BUILD_PROFILES'}) { @profiles=split /\s+/, $ENV{'DEB_BUILD_PROFILES'}; } @@ -1726,12 +1766,15 @@ error("Continuation line seen before first stanza in debian/control (line $.)"); } # Continuation line + s/^\s[.]?//; push(@{$bd_field_value}, $_) if $bd_field_value; + # Ensure it is not completely empty or the code below will assume the paragraph ended + $_ = '.' if not $_; } elsif (not $_ and not %seen_fields) { # Ignore empty lines before first stanza next; } elsif ($_) { - my ($field_name, $value); + my ($value); if (m/^($DEB822_FIELD_REGEX):\s*(.*)/o) { ($field_name, $value) = (lc($1), $2); @@ -1839,6 +1882,7 @@ } %seen_fields = (); + $field_name = undef; while (<$fd>) { chomp; @@ -1852,18 +1896,20 @@ $_ = ''; } - if (/^\s/) { # Continuation line if (not %seen_fields) { error("Continuation line seen outside stanza in debian/control (line $.)"); } + s/^\s[.]?//; + $field_values{$field_name} .= ' ' . $_; + # Ensure it is not completely empty or the code below will assume the paragraph ended + $_ = '.' if not $_; } elsif (not $_ and not %seen_fields) { # Ignore empty lines before first stanza next; } elsif ($_) { - my ($field_name, $value); - + my ($value); if (m/^($DEB822_FIELD_REGEX):\s*(.*)/o) { ($field_name, $value) = (lc($1), $2); if (exists($seen_fields{$field_name})) { @@ -1871,16 +1917,37 @@ error("${field_name}-field appears twice in the same stanza of debian/control. " . "First time on line $first_time, second time: $."); } + + if ($field_name =~ m/^(?:x[bc]*-)?package-type$/) { + # Normalize variants into the main "Package-Type" field + $field_name = 'package-type'; + if (exists($seen_fields{$field_name})) { + my $package = _strip_spaces($field_values{'package'} // ''); + my $help = "(issue seen prior \"Package\"-field)"; + $help = "for package ${package}" if $package; + error("Multiple definitions of (X-)Package-Type in line $. ${help}"); + } + } $seen_fields{$field_name} = $.; + $field_values{$field_name} = $value; $bd_field_value = undef; } else { # Invalid file error("Parse error in debian/control, line $., read: $_"); } + } + if (!$_ or eof) { # end of stanza. + if (%field_values) { + my $package = _strip_spaces($field_values{'package'} // ''); + my $build_profiles = $field_values{'build-profiles'}; + my $included_in_build_profile = 1; + my $arch = _strip_spaces($field_values{'architecture'} // ''); + my $cross_type = _strip_spaces($field_values{'x-dh-build-for-type'} // 'host'); - if ($field_name eq 'package') { - $package = $value; # Detect duplicate package names in the same control file. + if ($package eq '') { + error("Binary paragraph ending on line $. is missing mandatory \"Package\"-field"); + } if (! $seen{$package}) { $seen{$package}=1; } else { @@ -1890,54 +1957,36 @@ error('Package-field must be a valid package name, ' . "got: \"${package}\", should match \"${valid_pkg_re}\""); } - $included_in_build_profile=1; - } elsif ($field_name eq 'section') { - $section = $value; - } elsif ($field_name eq 'architecture') { - $arch = $value; - } elsif ($field_name =~ m/^(?:x[bc]*-)?package-type$/) { - if (defined($package_type)) { - my $help = "(issue seen prior \"Package\"-field)"; - $help = "for package ${package}" if $package; - error("Multiple definitions of (X-)Package-Type in line $. ${help}"); - } - $package_type = $value; - } elsif ($field_name eq 'multi-arch') { - $multiarch = $value; - } elsif ($field_name eq 'x-dh-build-for-type') { - $cross_type = $value; if ($cross_type ne 'host' and $cross_type ne 'target') { - error("Unknown value of X-DH-Build-For-Type \"$cross_type\" at debian/control:$."); - } - } elsif ($field_name eq 'build-profiles') { - # rely on libdpkg-perl providing the parsing functions - # because if we work on a package with a Build-Profiles - # field, then a high enough version of dpkg-dev is needed - # anyways - my $build_profiles = $value; - eval { - require Dpkg::BuildProfiles; - my @restrictions=Dpkg::BuildProfiles::parse_build_profiles($build_profiles); - if (@restrictions) { - $included_in_build_profile = Dpkg::BuildProfiles::evaluate_restriction_formula( - \@restrictions, - \@profiles); - } - }; - if ($@) { - error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14"); + error("Unknown value of X-DH-Build-For-Type \"$cross_type\" for package $package"); } - } - } - if (!$_ or eof) { # end of stanza. - if ($package) { - $package_types{$package}=$package_type // 'deb'; - $package_arches{$package}=$arch; - $package_multiarches{$package} = $multiarch; - $package_sections{$package} = $section || $source_section; - $cross_type //= 'host'; + + $package_types{$package} = _strip_spaces($field_values{'package-type'} // 'deb'); + $package_arches{$package} = $arch; + $package_multiarches{$package} = _strip_spaces($field_values{'multi-arch'} // ''); + $package_sections{$package} = _strip_spaces($field_values{'section'} // $source_section);; $package_cross_type{$package} = $cross_type; push(@{$packages_by_type{'all-listed-in-control-file'}}, $package); + + if (defined($build_profiles)) { + eval { + # rely on libdpkg-perl providing the parsing functions + # because if we work on a package with a Build-Profiles + # field, then a high enough version of dpkg-dev is needed + # anyways + require Dpkg::BuildProfiles; + my @restrictions = Dpkg::BuildProfiles::parse_build_profiles($build_profiles); + if (@restrictions) { + $included_in_build_profile = Dpkg::BuildProfiles::evaluate_restriction_formula( + \@restrictions, + \@profiles); + } + }; + if ($@) { + error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14"); + } + } + if ($included_in_build_profile) { if ($arch eq 'all') { push(@{$packages_by_type{'indep'}}, $package); @@ -1960,11 +2009,7 @@ } } } - $package=''; - $package_type=undef; - $cross_type = undef; - $arch=''; - $section=''; + %field_values = (); %seen_fields = (); } } @@ -1975,21 +2020,18 @@ # - Takes an optional keyword; if passed, this will return true if the keyword is listed in R^3 (Rules-Requires-Root) # - If the optional keyword is omitted or not present in R^3 and R^3 is not 'binary-targets', then returns false # - Returns true otherwise (i.e. keyword is in R^3 or R^3 is 'binary-targets') -{ - my %rrr; - sub should_use_root { - my ($keyword) = @_; - my $rrr_env = $ENV{'DEB_RULES_REQUIRES_ROOT'} // 'binary-targets'; - $rrr_env =~ s/^\s++//; - $rrr_env =~ s/\s++$//; - return 0 if $rrr_env eq 'no'; - return 1 if $rrr_env eq 'binary-targets'; - return 0 if not defined($keyword); +sub should_use_root { + my ($keyword) = @_; + my $rrr_env = $ENV{'DEB_RULES_REQUIRES_ROOT'} // 'binary-targets'; + $rrr_env =~ s/^\s++//; + $rrr_env =~ s/\s++$//; + return 0 if $rrr_env eq 'no'; + return 1 if $rrr_env eq 'binary-targets'; + return 0 if not defined($keyword); - %rrr = map { $_ => 1 } split(' ', $rrr_env) if not %rrr; - return 1 if exists($rrr{$keyword}); - return 0; - } + state %rrr = map { $_ => 1 } split(' ', $rrr_env); + return 1 if exists($rrr{$keyword}); + return 0; } # Returns the "gain root command" as a list suitable for passing as a part of the command to "doit()" @@ -2103,16 +2145,10 @@ return $package_types{$package} eq 'udeb'; } -{ - my %packages_to_process; - - sub process_pkg { - my ($package) = @_; - if (not %packages_to_process) { - %packages_to_process = map { $_ => 1 } @{$dh{DOPACKAGES}}; - } - return $packages_to_process{$package} // 0; - } +sub process_pkg { + my ($package) = @_; + state %packages_to_process = map { $_ => 1 } @{$dh{DOPACKAGES}}; + return $packages_to_process{$package} // 0; } # Only useful for dh(1) @@ -2428,12 +2464,11 @@ } sub setup_home_and_xdg_dirs { - my $home_dir = generated_file('_source', 'home', 0); - my $xdg_rundir = generated_file('_source', 'xdg-runtime-dir', 0); - my $creating_rundir = -d $xdg_rundir ? 0 : 1; + require Cwd; + my $cwd = Cwd::getcwd(); + my $home_dir = join('/', $cwd, generated_file('_source', 'home', 0)); my @paths = ( $home_dir, - $xdg_rundir, ); my @clear_env = qw( XDG_CACHE_HOME @@ -2441,19 +2476,30 @@ XDG_CONFIG_HOME XDG_DATA_HOME XDG_DATA_DIRS + XDG_RUNTIME_DIR ); install_dir(@paths); - if ($creating_rundir) { - chmod(0700, $xdg_rundir) == 1 or warning("chmod(0700, \"$xdg_rundir\") failed: $! (ignoring)"); - } for my $envname (@clear_env) { delete($ENV{$envname}); } $ENV{'HOME'} = $home_dir; - $ENV{'XDG_RUNTIME_DIR'} = $xdg_rundir; return; } +sub reset_buildflags { + eval { require Dpkg::BuildFlags }; + if ($@) { + warning "unable to load build flags: $@"; + return; + } + delete($ENV{'DH_INTERNAL_BUILDFLAGS'}); + my $buildflags = Dpkg::BuildFlags->new(); + foreach my $flag ($buildflags->list()) { + next unless $flag =~ /^[A-Z]/; # Skip flags starting with lowercase + delete($ENV{$flag}); + } +} + # Sets environment variables from dpkg-buildflags. Avoids changing # any existing environment variables. sub set_buildflags { @@ -2488,20 +2534,25 @@ # Gets a DEB_BUILD_OPTIONS option, if set. sub get_buildoption { - my $wanted=shift; + my ($wanted, $default) = @_; - return undef unless exists $ENV{DEB_BUILD_OPTIONS}; + return $default if not exists($ENV{DEB_BUILD_OPTIONS}); foreach my $opt (split(/\s+/, $ENV{DEB_BUILD_OPTIONS})) { # currently parallel= is the only one with a parameter if ($opt =~ /^parallel=(-?\d+)$/ && $wanted eq 'parallel') { return $1; - } - elsif ($opt eq $wanted) { + } elsif ($opt =~ m/^dherroron=(\S*)$/ && $wanted eq 'dherroron') { + my $value = $1; + if ($value ne 'obsolete-compat-levels') { + warning("Unknown value \"${value}\" as parameter for \"dherrron\" seen in DEB_BUILD_OPTIONS"); + } + return $value; + } elsif ($opt eq $wanted) { return 1; } } - return undef; + return $default; } # Returns true if DEB_BUILD_PROFILES lists the given profile. @@ -2594,6 +2645,7 @@ } sub restore_all_files { + my ($clear_index) = @_; my $bucket_index = 'debian/.debhelper/bucket/index'; my $bucket_dir = 'debian/.debhelper/bucket/files'; @@ -2615,6 +2667,7 @@ rename_path("${bucket_file}.tmp", $stored_file); } close($fd); + rm_files($bucket_index) if $clear_index; return; } @@ -2867,41 +2920,37 @@ return $incdir; } -{ - my %known_packages; - sub is_known_package { - my ($package) = @_; - %known_packages = map { $_ => 1 } getpackages() if not %known_packages; - return 1 if exists($known_packages{$package}); - return 0 - } +sub is_known_package { + my ($package) = @_; + state %known_packages = map { $_ => 1 } getpackages(); + return 1 if exists($known_packages{$package}); + return 0 +} - sub assert_opt_is_known_package { - my ($package, $method) = @_; - if (not is_known_package($package)) { - error("Requested unknown package $package via $method, expected one of: " . join(' ', getpackages())); - } - return 1; +sub assert_opt_is_known_package { + my ($package, $method) = @_; + if (not is_known_package($package)) { + error("Requested unknown package $package via $method, expected one of: " . join(' ', getpackages())); } + return 1; } -{ - my $_disable_file_seccomp; - sub _internal_optional_file_args { - if (not defined($_disable_file_seccomp)) { - my $consider_disabling_seccomp = 0; - if ($ENV{'FAKEROOTKEY'} or ($ENV{'LD_PRELOAD'}//'') =~ m/fakeroot/) { - $consider_disabling_seccomp = 1; - } - if ($consider_disabling_seccomp) { - my $has_no_sandbox = (qx_cmd('file', '--help') // '') =~ m/--no-sandbox/; - $consider_disabling_seccomp = 0 if not $has_no_sandbox; - } - $_disable_file_seccomp = $consider_disabling_seccomp; + +sub _internal_optional_file_args { + state $_disable_file_seccomp; + if (not defined($_disable_file_seccomp)) { + my $consider_disabling_seccomp = 0; + if ($ENV{'FAKEROOTKEY'} or ($ENV{'LD_PRELOAD'} // '') =~ m/fakeroot/) { + $consider_disabling_seccomp = 1; + } + if ($consider_disabling_seccomp) { + my $has_no_sandbox = (qx_cmd('file', '--help') // '') =~ m/--no-sandbox/; + $consider_disabling_seccomp = 0 if not $has_no_sandbox; } - return ('--no-sandbox') if $_disable_file_seccomp; - return; + $_disable_file_seccomp = $consider_disabling_seccomp; } + return('--no-sandbox') if $_disable_file_seccomp; + return; } 1 diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Sequence/root_sequence.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Sequence/root_sequence.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/Sequence/root_sequence.pm 2020-02-01 11:43:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/Sequence/root_sequence.pm 2020-09-13 07:42:24.000000000 +0000 @@ -63,6 +63,7 @@ }, (!compat(11) ? qw(dh_installinitramfs) : qw()), qw{ + dh_installalternatives dh_bugfiles dh_ucf dh_lintian diff -Nru debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/SequencerUtil.pm debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/SequencerUtil.pm --- debhelper-13ubuntu1~oibaf~f/lib/Debian/Debhelper/SequencerUtil.pm 2020-04-15 14:15:20.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/lib/Debian/Debhelper/SequencerUtil.pm 2020-09-13 07:42:24.000000000 +0000 @@ -81,7 +81,7 @@ my ($sequence_name) = @_; if ($sequence_name =~ m/-indep$/) { return 'indep'; - } elsif ($sequence_name =~ m/-arch/) { + } elsif ($sequence_name =~ m/-arch$/) { return 'arch'; } return 'both'; @@ -412,6 +412,11 @@ }; for my $request (@addon_requests) { + if ($request =~ m/^[+-]root[-_]sequence$/) { + error("Invalid request to skip the sequence \"root-sequence\": It cannot be disabled") + if $request =~ m/^-/; + error("Invalid request to load the sequence \"root-sequence\": Do not reference it directly"); + } if ($request =~ s/^[+]//) { $flush_disable_cache->() if %disabled_addons; push(@enabled_addons, $request) if not $enabled{$request}++; @@ -658,7 +663,7 @@ my @filtered_packages = _active_packages_for_command($command, $all_packages, $arch_packages, $indep_packages); foreach my $package (@filtered_packages) { - if ($startpoint->{$package} > $i || + if (($startpoint->{$package}//0) > $i || $logged->{$package}{$full_sequence->[$i]}) { push(@opts, "-N$package"); } diff -Nru debhelper-13ubuntu1~oibaf~f/Makefile debhelper-13.2.1ubuntu1~oibaf~f/Makefile --- debhelper-13ubuntu1~oibaf~f/Makefile 2020-02-01 11:43:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/Makefile 2020-09-13 07:42:21.000000000 +0000 @@ -128,6 +128,10 @@ install -m 0644 lib/Debian/Debhelper/*.pm $(DESTDIR)$(PERLLIBDIR) [ "$(PREFIX)" = /usr ] || \ sed -i '/$$prefix=/s@/usr@$(PREFIX)@g' $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm + if [ "$(VERSION)" ]; then \ + MV=$$(echo "$(VERSION)" | $(PERL) -ne 'print $$1 if /^(\d+)[~.]/;') ; \ + sed -i "/constant HIGHEST_STABLE_COMPAT_LEVEL =>/s@=>.*;@=> $${MV};@g" $(DESTDIR)$(PERLLIBDIR)/Dh_Lib.pm ; \ + fi install -m 0644 lib/Debian/Debhelper/Sequence/*.pm $(DESTDIR)$(PERLLIBDIR)/Sequence install -m 0644 lib/Debian/Debhelper/Buildsystem/*.pm $(DESTDIR)$(PERLLIBDIR)/Buildsystem install -m 0644 lib/Debian/Debhelper/DH/*.pm $(DESTDIR)$(PERLLIBDIR)/DH diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/debhelper.pot debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/debhelper.pot --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/debhelper.pot 2020-04-15 14:15:31.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/debhelper.pot 2020-09-13 17:38:16.000000000 +0000 @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2020-04-15 15:46+0200\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,7 +17,20 @@ "Content-Transfer-Encoding: 8bit\n" #. type: =head1 -#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3 dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5 dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3 dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3 dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3 dh_systemd_start:3 +#: debhelper.pod:3 debhelper-obsolete-compat.pod:1 dh:3 dh_auto_build:3 +#: dh_auto_clean:3 dh_auto_configure:3 dh_auto_install:3 dh_auto_test:3 +#: dh_bugfiles:3 dh_builddeb:5 dh_clean:3 dh_compress:3 dh_dwz:3 dh_fixperms:3 +#: dh_gconf:3 dh_gencontrol:3 dh_icons:3 dh_install:3 dh_installcatalogs:3 +#: dh_installchangelogs:3 dh_installcron:3 dh_installdeb:3 dh_installdebconf:3 +#: dh_installdirs:3 dh_installdocs:5 dh_installemacsen:3 dh_installexamples:5 +#: dh_installifupdown:3 dh_installinfo:3 dh_installinit:3 dh_installinitramfs:3 +#: dh_installlogcheck:3 dh_installlogrotate:3 dh_installman:3 +#: dh_installmanpages:3 dh_installmenu:3 dh_installmime:3 dh_installmodules:3 +#: dh_installpam:3 dh_installppp:3 dh_installudev:3 dh_installwm:3 +#: dh_installxfonts:3 dh_link:3 dh_lintian:3 dh_listpackages:3 dh_makeshlibs:3 +#: dh_md5sums:3 dh_movefiles:3 dh_perl:3 dh_prep:3 dh_shlibdeps:3 dh_strip:3 +#: dh_testdir:3 dh_testroot:5 dh_usrlocal:5 dh_systemd_enable:3 +#: dh_systemd_start:3 msgid "NAME" msgstr "" @@ -27,7 +40,21 @@ msgstr "" #. type: =head1 -#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:22 dh_auto_build:16 dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16 dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15 dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15 dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15 dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16 dh_installmanpages:16 dh_installmenu:15 dh_installmime:15 dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15 dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15 dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17 dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9 dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17 +#: debhelper.pod:7 debhelper-obsolete-compat.pod:5 dh:22 dh_auto_build:16 +#: dh_auto_clean:16 dh_auto_configure:16 dh_auto_install:18 dh_auto_test:16 +#: dh_bugfiles:15 dh_builddeb:17 dh_clean:15 dh_compress:17 dh_dwz:16 +#: dh_fixperms:16 dh_gconf:15 dh_gencontrol:16 dh_icons:16 dh_install:15 +#: dh_installcatalogs:17 dh_installchangelogs:15 dh_installcron:15 +#: dh_installdeb:15 dh_installdebconf:15 dh_installdirs:15 dh_installdocs:17 +#: dh_installemacsen:15 dh_installexamples:17 dh_installifupdown:15 +#: dh_installinfo:15 dh_installinit:16 dh_installinitramfs:15 +#: dh_installlogcheck:15 dh_installlogrotate:15 dh_installman:16 +#: dh_installmanpages:16 dh_installmenu:15 dh_installmime:15 +#: dh_installmodules:16 dh_installpam:15 dh_installppp:15 dh_installudev:15 +#: dh_installwm:15 dh_installxfonts:15 dh_link:16 dh_lintian:15 +#: dh_listpackages:15 dh_makeshlibs:15 dh_md5sums:16 dh_movefiles:15 dh_perl:17 +#: dh_prep:15 dh_shlibdeps:17 dh_strip:16 dh_testdir:15 dh_testroot:9 +#: dh_usrlocal:19 dh_systemd_enable:16 dh_systemd_start:17 msgid "SYNOPSIS" msgstr "" @@ -39,7 +66,21 @@ msgstr "" #. type: =head1 -#: debhelper.pod:11 dh:26 dh_auto_build:20 dh_auto_clean:20 dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19 dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20 dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21 dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19 dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19 dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19 dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20 dh_installmanpages:20 dh_installmenu:19 dh_installmime:19 dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19 dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19 dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21 dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13 dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21 +#: debhelper.pod:11 dh:26 dh_auto_build:20 dh_auto_clean:20 +#: dh_auto_configure:20 dh_auto_install:22 dh_auto_test:20 dh_bugfiles:19 +#: dh_builddeb:21 dh_clean:19 dh_compress:21 dh_dwz:20 dh_fixperms:20 +#: dh_gconf:19 dh_gencontrol:20 dh_icons:20 dh_install:19 dh_installcatalogs:21 +#: dh_installchangelogs:19 dh_installcron:19 dh_installdeb:19 +#: dh_installdebconf:19 dh_installdirs:19 dh_installdocs:21 +#: dh_installemacsen:19 dh_installexamples:21 dh_installifupdown:19 +#: dh_installinfo:19 dh_installinit:20 dh_installinitramfs:19 +#: dh_installlogcheck:19 dh_installlogrotate:19 dh_installman:20 +#: dh_installmanpages:20 dh_installmenu:19 dh_installmime:19 +#: dh_installmodules:20 dh_installpam:19 dh_installppp:19 dh_installudev:19 +#: dh_installwm:19 dh_installxfonts:19 dh_link:20 dh_lintian:19 +#: dh_listpackages:19 dh_makeshlibs:19 dh_md5sums:20 dh_movefiles:19 dh_perl:21 +#: dh_prep:19 dh_shlibdeps:21 dh_strip:20 dh_testdir:19 dh_testroot:13 +#: dh_usrlocal:23 dh_systemd_enable:20 dh_systemd_start:21 msgid "DESCRIPTION" msgstr "" @@ -78,9 +119,10 @@ #. type: textblock #: debhelper.pod:31 msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" #. type: =head1 @@ -204,12 +246,84 @@ #: debhelper.pod:106 msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" +msgstr "" + +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" +msgstr "" + +#. type: textblock +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "" + +#. type: textblock +#: debhelper.pod:117 +msgid "dh_install" +msgstr "" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" +msgstr "" + +#. type: textblock +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" msgstr "" #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " @@ -218,38 +332,38 @@ msgstr "" #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." msgstr "" #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" msgstr "" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to " "I)." msgstr "" #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." msgstr "" #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " @@ -257,19 +371,19 @@ msgstr "" #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" msgstr "" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -280,43 +394,43 @@ msgstr "" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." msgstr "" #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." msgstr "" #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character " "(e.g. space) where it would otherwise be stripped or used as a separator." msgstr "" #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" msgstr "" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." msgstr "" #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " @@ -324,12 +438,12 @@ msgstr "" #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" msgstr "" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " @@ -338,19 +452,19 @@ msgstr "" #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 msgid "Executable debhelper config files" msgstr "" #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools " "(e.g. L) support executing a config file as a script." msgstr "" #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -360,26 +474,21 @@ msgstr "" #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" msgstr "" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." msgstr "" #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " @@ -388,14 +497,14 @@ msgstr "" #. type: textblock -#: debhelper.pod:204 +#: debhelper.pod:259 msgid "" "Otherwise, the output will be used exactly as-is. Notably, debhelper will " "I expand wildcards or strip comments or strip whitespace in the output." msgstr "" #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -403,105 +512,105 @@ msgstr "" #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "" #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "The following command line options are supported by all debhelper programs." msgstr "" #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "" #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "Verbose mode: show all commands that modify the package build directory." msgstr "" #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "" #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 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:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "" #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." msgstr "" #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "" #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "" #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "" #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." msgstr "" #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "" #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "" #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "" #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." msgstr "" #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -511,22 +620,22 @@ msgstr "" #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "" #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "Use I for package build directory. The default is debian/I" msgstr "" #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "" #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -535,12 +644,12 @@ msgstr "" #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I" msgstr "" #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "" #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 msgid "L" msgstr "" #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "" #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 dh_listpackages:40 dh_makeshlibs:462 dh_md5sums:123 dh_movefiles:167 dh_perl:180 dh_prep:76 dh_shlibdeps:210 dh_strip:441 dh_testdir:68 dh_testroot:97 dh_usrlocal:142 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 +#: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 +#: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 +#: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 +#: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 +#: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 +#: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 +#: dh_listpackages:40 dh_makeshlibs:462 dh_md5sums:123 dh_movefiles:167 +#: dh_perl:180 dh_prep:76 dh_shlibdeps:210 dh_strip:441 dh_testdir:68 +#: dh_testroot:97 dh_usrlocal:142 msgid "AUTHOR" msgstr "" #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 dh_shlibdeps:212 dh_strip:443 dh_testdir:70 dh_testroot:99 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 +#: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 +#: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 +#: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 +#: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 +#: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 +#: dh_shlibdeps:212 dh_strip:443 dh_testdir:70 dh_testroot:99 msgid "Joey Hess " msgstr "" @@ -2569,17 +3036,30 @@ msgstr "" #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 dh_md5sums:119 dh_movefiles:163 dh_perl:176 dh_prep:72 dh_strip:437 dh_testdir:64 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:282 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 +#: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 +#: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 +#: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 +#: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 +#: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 +#: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 +#: dh_md5sums:119 dh_movefiles:163 dh_perl:176 dh_prep:72 dh_strip:437 +#: dh_testdir:64 dh_testroot:93 dh_usrlocal:138 dh_systemd_start:282 msgid "L" msgstr "" #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 dh_systemd_start:284 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 +#: dh_systemd_start:284 msgid "AUTHORS" msgstr "" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "" @@ -2769,18 +3249,204 @@ "omission of a command name. But otherwise, the principle remains the same." msgstr "" +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from " +"\"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" + #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 dh_installinitramfs:43 dh_installlogcheck:45 dh_installlogrotate:25 dh_installman:86 dh_installmanpages:43 dh_installmenu:44 dh_installmodules:41 dh_installpam:34 dh_installppp:38 dh_installudev:34 dh_installwm:41 dh_link:69 dh_makeshlibs:67 dh_md5sums:31 dh_movefiles:41 dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 dh_usrlocal:50 dh_systemd_enable:83 dh_systemd_start:33 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 +#: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 +#: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 +#: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 +#: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 +#: dh_installinitramfs:43 dh_installlogcheck:45 dh_installlogrotate:25 +#: dh_installman:86 dh_installmanpages:43 dh_installmenu:44 +#: dh_installmodules:41 dh_installpam:34 dh_installppp:38 dh_installudev:34 +#: dh_installwm:41 dh_link:69 dh_makeshlibs:67 dh_md5sums:31 dh_movefiles:41 +#: dh_perl:34 dh_prep:29 dh_shlibdeps:30 dh_strip:38 dh_testdir:26 +#: dh_usrlocal:50 dh_systemd_enable:83 dh_systemd_start:33 msgid "OPTIONS" msgstr "" #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "" #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -2791,7 +3457,7 @@ msgstr "" #. type: textblock -#: dh:124 +#: dh:229 msgid "" "A B relation on the package BI implies a " "B<--with> I. This avoids the need for an explicit B<--with> in " @@ -2803,7 +3469,7 @@ msgstr "" #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via " @@ -2813,7 +3479,7 @@ msgstr "" #. type: textblock -#: dh:139 +#: dh:244 msgid "" "Please note that addons activated via B or " "B are subject to additional limitations to ensure the " @@ -2825,12 +3491,12 @@ msgstr "" #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -2838,31 +3504,31 @@ msgstr "" #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "" #. type: textblock -#: dh:157 +#: dh:262 msgid "" "When called only with this option, B can be called from any directory " "(i.e. it does not need access to files from a source package)." msgstr "" #. type: textblock -#: dh:163 +#: dh:268 msgid "Prints commands that would run for a given sequence, but does not run them." msgstr "" #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." msgstr "" #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -2870,19 +3536,20 @@ msgstr "" #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 dh_makeshlibs:185 dh_shlibdeps:78 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "" #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" msgstr "" #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -2890,14 +3557,14 @@ msgstr "" #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." msgstr "" #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -2907,14 +3574,14 @@ msgstr "" #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." msgstr "" #. type: verbatim -#: dh:195 +#: dh:300 #, no-wrap msgid "" "\toverride_dh_strip:\n" @@ -2923,7 +3590,7 @@ msgstr "" #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -2932,7 +3599,7 @@ msgstr "" #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -2940,7 +3607,7 @@ msgstr "" #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -2949,7 +3616,7 @@ msgstr "" #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -2958,14 +3625,14 @@ msgstr "" #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." msgstr "" #. type: verbatim -#: dh:222 +#: dh:327 #, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" @@ -2975,14 +3642,14 @@ msgstr "" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." msgstr "" #. type: verbatim -#: dh:233 +#: dh:338 #, no-wrap msgid "" "\t# Older debhelper versions or using compat 9 or lower.\n" @@ -2993,14 +3660,14 @@ msgstr "" #. type: textblock -#: dh:238 +#: dh:343 msgid "" "Python tools are not run by dh by default, due to the continual change in " "that area. Here is how to use B." msgstr "" #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3010,14 +3677,14 @@ msgstr "" #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." msgstr "" #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3027,7 +3694,7 @@ msgstr "" #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -3035,7 +3702,7 @@ msgstr "" #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3045,14 +3712,14 @@ msgstr "" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." msgstr "" #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3062,14 +3729,14 @@ msgstr "" #. type: textblock -#: dh:268 +#: dh:373 msgid "" "If your package can be built in parallel, please either use compat 10 or " "pass B<--parallel> to dh. Then B will work." msgstr "" #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3079,7 +3746,7 @@ msgstr "" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> " @@ -3087,7 +3754,7 @@ msgstr "" #. type: verbatim -#: dh:280 +#: dh:385 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3097,14 +3764,14 @@ msgstr "" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." msgstr "" #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -3113,7 +3780,7 @@ msgstr "" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -3121,7 +3788,7 @@ msgstr "" #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -3130,7 +3797,7 @@ msgstr "" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -3139,7 +3806,7 @@ msgstr "" #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -3148,7 +3815,7 @@ msgstr "" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -3156,7 +3823,7 @@ msgstr "" #. type: verbatim -#: dh:315 +#: dh:420 #, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" @@ -3166,19 +3833,19 @@ msgstr "" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." msgstr "" #. type: textblock -#: dh:323 +#: dh:428 msgid "" "In compat 10 (or later), B creates a stamp file " "F after the build step(s) are complete to " @@ -3189,7 +3856,7 @@ msgstr "" #. type: textblock -#: dh:331 +#: dh:436 msgid "" "Inside an override target, B commands will create a log file " "F to keep track of which packages the " @@ -3198,7 +3865,7 @@ msgstr "" #. type: textblock -#: dh:336 +#: dh:441 msgid "" "In compat 9 or earlier, each debhelper command will record when it's " "successfully run in F. (Which B " @@ -3207,7 +3874,7 @@ msgstr "" #. type: textblock -#: dh:341 +#: dh:446 msgid "" "Each time B is run (in compat 9 or earlier), it examines the log, and " "finds the last logged command that is in the specified sequence. It then " @@ -3215,14 +3882,14 @@ msgstr "" #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." msgstr "" #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -3231,7 +3898,7 @@ msgstr "" #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -3241,7 +3908,20 @@ msgstr "" #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 dh_listpackages:38 dh_makeshlibs:460 dh_md5sums:121 dh_movefiles:165 dh_perl:178 dh_prep:74 dh_shlibdeps:208 dh_strip:439 dh_testdir:66 dh_testroot:95 dh_usrlocal:140 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 +#: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 +#: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 +#: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 +#: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 +#: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 +#: dh_listpackages:38 dh_makeshlibs:460 dh_md5sums:121 dh_movefiles:165 +#: dh_perl:178 dh_prep:74 dh_shlibdeps:208 dh_strip:439 dh_testdir:66 +#: dh_testroot:95 dh_usrlocal:140 msgid "This program is a part of debhelper." msgstr "" @@ -3276,14 +3956,17 @@ msgstr "" #. type: textblock -#: dh_auto_build:34 dh_auto_clean:35 dh_auto_configure:37 dh_auto_install:48 dh_auto_test:36 +#: dh_auto_build:34 dh_auto_clean:35 dh_auto_configure:37 dh_auto_install:48 +#: dh_auto_test:36 msgid "" "See L> for a list of common build " "system selection and control options." msgstr "" #. type: =item -#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59 dh_auto_test:41 dh_builddeb:48 dh_dwz:62 dh_gencontrol:42 dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:179 dh_shlibdeps:41 +#: dh_auto_build:39 dh_auto_clean:40 dh_auto_configure:42 dh_auto_install:59 +#: dh_auto_test:41 dh_builddeb:48 dh_dwz:62 dh_gencontrol:42 +#: dh_installdebconf:72 dh_installinit:167 dh_makeshlibs:179 dh_shlibdeps:41 msgid "B<--> I" msgstr "" @@ -3519,7 +4202,15 @@ msgstr "" #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24 dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24 dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:44 dh_movefiles:29 dh_systemd_enable:41 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 +#: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 +#: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 +#: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 +#: dh_installlogcheck:24 dh_installman:73 dh_installmenu:28 dh_installmime:24 +#: dh_installmodules:31 dh_installpam:24 dh_installppp:24 dh_installudev:24 +#: dh_installwm:28 dh_link:46 dh_lintian:24 dh_makeshlibs:44 dh_movefiles:29 +#: dh_systemd_enable:41 msgid "FILES" msgstr "" @@ -3672,95 +4363,94 @@ "[S ...>]" msgstr "" -#. type: verbatim +#. type: textblock #: dh_clean:21 +msgid "" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" + +#. type: verbatim +#: dh_clean:25 #, no-wrap msgid "" -"B is a debhelper program that is responsible for cleaning up after " -"a\n" -"package is built. It removes the package build directories, and removes " -"some\n" -"other files including F, and any detritus left behind by " -"other\n" -"debhelper commands. It also removes common files that should not appear in " -"a\n" -"Debian diff:\n" +"It removes the package build directories, and removes some other files " +"including\n" +"F, and any detritus left behind by other debhelper " +"commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." msgstr "" -#. type: textblock -#: dh_clean:31 -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" - #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "" #. type: textblock -#: dh_clean:40 +#: dh_clean:39 msgid "Can list other paths to be removed." msgstr "" #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." msgstr "" #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 dh_installman:81 dh_installwm:36 dh_link:64 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 +#: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" "Supports substitution variables in compat 13 and later as documented in " "L." msgstr "" #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "" #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "" #. type: textblock -#: dh_clean:58 +#: dh_clean:57 msgid "The option is removed in compat 12." msgstr "" #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "" #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." msgstr "" #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "" #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -3768,17 +4458,17 @@ msgstr "" #. type: =item -#: dh_clean:71 +#: dh_clean:70 msgid "I ..." msgstr "" #. type: textblock -#: dh_clean:73 +#: dh_clean:72 msgid "Delete these Is too." msgstr "" #. type: textblock -#: dh_clean:75 +#: dh_clean:74 msgid "" "Note that directories passed as arguments B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -3855,7 +4545,8 @@ msgstr "" #. type: =item -#: dh_compress:68 dh_installdocs:177 dh_installexamples:85 dh_installinfo:60 dh_installmanpages:47 dh_movefiles:58 dh_testdir:30 +#: dh_compress:68 dh_installdocs:177 dh_installexamples:85 dh_installinfo:60 +#: dh_installmanpages:47 dh_movefiles:58 dh_testdir:30 msgid "I ..." msgstr "" @@ -4173,7 +4864,9 @@ msgstr "" #. type: =item -#: dh_icons:37 dh_installcatalogs:60 dh_installdebconf:68 dh_installemacsen:60 dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48 dh_installmodules:45 dh_installwm:51 dh_makeshlibs:147 dh_usrlocal:54 +#: dh_icons:37 dh_installcatalogs:60 dh_installdebconf:68 dh_installemacsen:60 +#: dh_installinit:82 dh_installinitramfs:47 dh_installmenu:48 +#: dh_installmodules:45 dh_installwm:51 dh_makeshlibs:147 dh_usrlocal:54 msgid "B<-n>, B<--no-scripts>" msgstr "" @@ -4305,7 +4998,8 @@ msgstr "" #. type: =item -#: dh_install:91 dh_installdirs:62 dh_installdocs:107 dh_installexamples:53 dh_installinfo:50 dh_installman:100 dh_movefiles:45 +#: dh_install:91 dh_installdirs:62 dh_installdocs:107 dh_installexamples:53 +#: dh_installinfo:50 dh_installman:100 dh_movefiles:45 msgid "B<--sourcedir=>I" msgstr "" @@ -4521,7 +5215,8 @@ msgstr "" #. type: textblock -#: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 +#: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -4562,12 +5257,11 @@ msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< " @@ -4576,63 +5270,58 @@ ">>. Note that B does I look into any source " "directory (such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" #. type: textblock -#: dh_installchangelogs:39 +#: dh_installchangelogs:40 msgid "" -"If there is an upstream F file, it will be installed as " -"F in the package build directory." -msgstr "" - -#. type: textblock -#: dh_installchangelogs:42 -msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." msgstr "" #. type: =item -#: dh_installchangelogs:53 +#: dh_installchangelogs:51 msgid "F" msgstr "" #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "" #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "" #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "" #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." msgstr "" #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." msgstr "" #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -4640,7 +5329,7 @@ msgstr "" #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " "by installing the upstream changelog as F, and making a symlink " @@ -4650,24 +5339,24 @@ msgstr "" #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." msgstr "" #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "" #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "" @@ -4721,7 +5410,9 @@ msgstr "" #. type: =item -#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175 dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49 dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95 +#: dh_installcron:47 dh_installifupdown:46 dh_installinit:175 +#: dh_installlogcheck:49 dh_installlogrotate:29 dh_installmodules:49 +#: dh_installpam:38 dh_installppp:42 dh_installudev:38 dh_systemd_enable:95 msgid "B<--name=>I" msgstr "" @@ -6228,17 +6919,17 @@ msgstr "" #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 msgid "L, L" msgstr "" #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "" #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "" @@ -6262,11 +6953,10 @@ #. type: textblock #: dh_installinitramfs:24 msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." msgstr "" #. type: =item @@ -6284,12 +6974,32 @@ msgstr "" #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." +#: dh_installinitramfs:49 +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." msgstr "" #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" + +#. type: textblock +#: dh_installinitramfs:62 +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 triggers file." +msgstr "" + +#. type: textblock +#: dh_installinitramfs:93 msgid "L L L" msgstr "" @@ -6682,6 +7392,11 @@ msgstr "" #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "" + +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "" diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/de.po debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/de.po --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/de.po 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/de.po 2020-09-13 17:38:16.000000000 +0000 @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: debhelper 12.9\n" "Report-Msgid-Bugs-To: debhelper@packages.debian.org\n" -"POT-Creation-Date: 2020-04-15 15:35+0200\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" "PO-Revision-Date: 2020-02-07 19:21+0100\n" "Last-Translator: Chris Leick \n" "Language-Team: German \n" @@ -140,10 +140,17 @@ #. type: textblock #: debhelper.pod:31 -msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +#, fuzzy +#| msgid "" +#| "Except where tool explicitly denotes otherwise, all of the debhelper " +#| "tools assumes that they run from root directory of an unpacked source " +#| "package. This is so they can locate find files like F " +#| "when needed." +msgid "" +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" "Wo das Werkzeug es nicht ausdrücklich anders kennzeichnet, gehen alle " "Debhelper-Werkzeuge davon aus, dass sie aus dem Wurzelverzeichnis eines " @@ -313,17 +320,94 @@ #. type: textblock #: debhelper.pod:106 +#, fuzzy +#| msgid "" +#| "In compatibility level 13 and later, it is possible to use simple " +#| "substitutions in I debhelper config files (particularly, the " +#| "configuration files for L)." msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" msgstr "" "In Kompatibilitätsstufe 13 und neuer ist es möglich, einfache Ersetzungen in " "I Debhelper-Konfigurationsdateien zu benutzen (insbesondere in " "Konfigurationsdateien für L)." +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" +msgstr "*" + +#. type: textblock +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "" + +#. type: textblock +#: debhelper.pod:117 +msgid "dh_install" +msgstr "" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" +msgstr "" + +#. type: textblock +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" +msgstr "" + #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " @@ -337,7 +421,7 @@ "alphanumerisch sein." #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." @@ -347,17 +431,17 @@ "verwenden." #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" msgstr "Die folgenden Expandierungen sind verfügbar:" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" msgstr "B, B, B" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to I)." @@ -366,7 +450,7 @@ "architecture -qVARIABLE_HIER>)." #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." @@ -375,7 +459,7 @@ "als auch für Bauen für andere Architekturen funktioniert." #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " @@ -387,12 +471,12 @@ "Fällen keine Bedeutung." #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" @@ -401,7 +485,7 @@ "Teil der Ersetzungsvariable angesehen. Dies bedeutet:" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -417,7 +501,7 @@ "\n" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." @@ -426,19 +510,19 @@ "werden." #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" msgstr "B, B, B" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." msgstr "" "expandiert auf einen einzelnen ASCII-Zeilenumbruch, Leerzeichen " "beziehungsweise Tabulator." #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character (e." "g. space) where it would otherwise be stripped or used as a separator." @@ -448,12 +532,12 @@ "würde." #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" msgstr "B<< env:I >>" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." @@ -462,7 +546,7 @@ "sein (kann aber auf eine leere Zeichenkette gesetzt sein)." #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " @@ -474,12 +558,12 @@ "eine leere Zeichenkette gesetzt werden)." #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" msgstr "Ersetzungsbeschränkungen" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " @@ -492,12 +576,12 @@ "oder die dreifache Länge des Originaleingabe - je nachdem, was größer ist)." #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 msgid "Executable debhelper config files" msgstr "Ausführbare Debhelper-Konfigurationsdateien" #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools (e.g. " "L) support executing a config file as a script." @@ -507,7 +591,7 @@ "als Skript." #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -524,7 +608,7 @@ "erhalten." #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" @@ -532,13 +616,8 @@ "Wenn Sie ausführbare Debhelper-Konfigurationsdateien verwenden, sollten Sie " "bitte Folgendes wissen:" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "*" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." @@ -547,7 +626,7 @@ "Rückgabewert sollte einen Erfolg anzeigen)." #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " @@ -561,7 +640,7 @@ "führen kann." #. type: textblock -#: debhelper.pod:204 +#: debhelper.pod:259 msgid "" "Otherwise, the output will be used exactly as-is. Notably, debhelper will " "I expand wildcards or strip comments or strip whitespace in the output." @@ -571,7 +650,7 @@ "Leerzeichen aus der Ausgabe entfernen." #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -582,12 +661,12 @@ "Skript B verwenden." #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "GEMEINSAM BENUTZTE DEBHELPER-OPTIONEN" #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "" "The following command line options are supported by all debhelper programs." msgstr "" @@ -595,24 +674,24 @@ "unterstützt." #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" "Detailreicher Modus: zeigt alle Befehle, die das Paketbauverzeichnis ändern" #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "B<--no-act>" #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -621,12 +700,12 @@ "ausgegeben, was der Befehl getan hätte." #. type: =item -#: debhelper.pod:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." @@ -635,22 +714,22 @@ "B gebaut werden sollen." #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "wirkt sich auf alle architekturunabhängigen Pakete aus." #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -660,27 +739,27 @@ "arbeitet." #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "missbilligter Alias von B<-a>." #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "Die Option wurde in Kompatibilitätsstufe 12 entfernt." #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." @@ -689,12 +768,12 @@ "a>, B<-i> oder B<-p> das Paket als zu verarbeiten auflisten." #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "B<--remaining-packages>" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -710,12 +789,12 @@ "Standardeinstellungen zu verarbeiten." #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "" "Use I for package build directory. The default is debian/I" msgstr "" @@ -723,12 +802,12 @@ "Voreinstellung ist debian/I." #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -741,12 +820,12 @@ "Dateien, verwandt werden können." #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I/examples>> installiert ist.)" #. type: textblock -#: debhelper.pod:973 +#: debhelper.pod:1034 msgid "" "The standard sequence in B now includes B and " "B by default. This makes the B and " @@ -2271,7 +2360,7 @@ "Kraft setzendes Ziel in F ein (z.B. I)." #. type: textblock -#: debhelper.pod:982 +#: debhelper.pod:1043 msgid "" "The build systems B and B no longer explicitly set the B<--" "libexecdir> variable and thus relies on the build system default - which " @@ -2283,7 +2372,7 @@ "Debian-Richtlinie 4.1.5)." #. type: textblock -#: debhelper.pod:987 +#: debhelper.pod:1048 msgid "" "If a particular upstream package does not use the correct default, the " "parameter can often be passed manually via L. E.g. " @@ -2294,7 +2383,7 @@ "L übergeben werden, z.B. wie im folgenden Beispiel:" #. type: verbatim -#: debhelper.pod:991 +#: debhelper.pod:1052 #, no-wrap msgid "" " override_dh_auto_configure:\n" @@ -2306,12 +2395,12 @@ "\n" #. type: textblock -#: debhelper.pod:994 +#: debhelper.pod:1055 msgid "Note the B<--> before the B<--libexecdir> parameter." msgstr "Beachten Sie das B<--> vor dem Parameter B<--libexecdir>." #. type: textblock -#: debhelper.pod:998 +#: debhelper.pod:1059 msgid "" "The B tool no longer installs the maintainer provided " "F file. The file has mostly been obsolete since compatibility " @@ -2324,7 +2413,7 @@ "F-Steuerdatei automatisch selbst zu berechnen." #. type: textblock -#: debhelper.pod:1005 +#: debhelper.pod:1066 msgid "" "The B tool no longer relies on B for " "handling systemd services that have a sysvinit alternative. Both tools must " @@ -2338,7 +2427,7 @@ "Systemd sauber gestartet wird." #. type: textblock -#: debhelper.pod:1010 +#: debhelper.pod:1071 msgid "" "If you have an override for B (e.g. to call it with B<--no-" "start>) then you will probably need one for B as well now." @@ -2348,7 +2437,7 @@ "B benötigen.)" #. type: textblock -#: debhelper.pod:1014 +#: debhelper.pod:1075 msgid "" "This change makes B inject a I for B<< " "init-system-helpers (>= 1.54~) >>. Please ensure that the package lists B<" @@ -2361,7 +2450,7 @@ "Sie ein Upgrade auf Kompatibilitätsstufe 12 durchführen." #. type: textblock -#: debhelper.pod:1021 +#: debhelper.pod:1082 msgid "" "The third-party B tool (from B package) now defaults " "on honoring B variable for source installation in -dev " @@ -2377,7 +2466,7 @@ "B." #. type: textblock -#: debhelper.pod:1029 +#: debhelper.pod:1090 msgid "" "B is now included in the B standard sequence by " "default." @@ -2386,7 +2475,7 @@ "Sequenz enthalten." #. type: textblock -#: debhelper.pod:1034 +#: debhelper.pod:1095 msgid "" "The B buildsystem is now removed. Please use the third-" "party build system B instead." @@ -2395,22 +2484,22 @@ "stattdessen das Drittanbieterbausystem B." #. type: =item -#: debhelper.pod:1039 +#: debhelper.pod:1100 msgid "v13" msgstr "v13" #. type: textblock -#: debhelper.pod:1041 +#: debhelper.pod:1102 msgid "This is the recommended mode of operation." msgstr "Dies ist der empfohlene Betriebsmodus." #. type: textblock -#: debhelper.pod:1043 +#: debhelper.pod:1104 msgid "Changes from v12 are:" msgstr "Änderungen gegenüber v12 sind:" #. type: textblock -#: debhelper.pod:1049 +#: debhelper.pod:1110 msgid "" "The B build system now uses B instead of B when running the test suite. Any override of B that " @@ -2424,7 +2513,7 @@ "Befehlszeile nicht mit B kompatibel ist." #. type: textblock -#: debhelper.pod:1057 +#: debhelper.pod:1118 msgid "" "All debhelper like tools based on the official debhelper library (including " "B and the official B tools) no longer accepts abbreviated command " @@ -2439,7 +2528,7 @@ "werden." #. type: textblock -#: debhelper.pod:1065 +#: debhelper.pod:1126 msgid "" "The ELF related debhelper tools (B, B, B, " "B) are now only run for arch dependent packages by default (i." @@ -2455,7 +2544,7 @@ "B hinzufügen." #. type: textblock -#: debhelper.pod:1074 +#: debhelper.pod:1135 msgid "" "The third-party B build system (from B " "package) now runs the upstream-provided test suite automatically. To " @@ -2467,7 +2556,7 @@ "zu unterbinden." #. type: textblock -#: debhelper.pod:1080 +#: debhelper.pod:1141 msgid "" "The B tool now aborts if it sees conflicting definitions of a " "manpage. This typically happens if the upstream build system is installing " @@ -2485,12 +2574,17 @@ "zu entfernen (davon ausgehend, dass beide Versionen identisch sind)." #. type: textblock -#: debhelper.pod:1090 +#: debhelper.pod:1151 +#, fuzzy +#| msgid "" +#| "The B helpers now resets the environment variables B and " +#| "common B variable. B and B are each set to " +#| "a distinct writable directory. The rest of the environment variables are " +#| "cleared." msgid "" "The B helpers now resets the environment variables B and " -"common B variable. B and B are each set to a " -"distinct writable directory. The rest of the environment variables are " -"cleared." +"common B variable. Please see description of the environment " +"variables in L for how this handled." msgstr "" "Die B-Hilfsprogramme setzen nun die Umgebungsvariablen B " "und gebräuchliche B-Variablen zurück. B und B " @@ -2498,7 +2592,13 @@ "restlichen Umgebungsvariablen werden geleert." #. type: textblock -#: debhelper.pod:1097 +#: debhelper.pod:1155 +msgid "" +"I" +msgstr "" + +#. type: textblock +#: debhelper.pod:1159 msgid "" "The B command will now error if an override or hook target for an " "obsolete command are present in F (e.g. " @@ -2509,7 +2609,7 @@ "B. B) vorhanden ist." #. type: textblock -#: debhelper.pod:1103 +#: debhelper.pod:1165 msgid "" "The B command will now default to B<--fail-missing>. This can " "be reverted to a non-fatal warning by explicitly passing B<--list-missing> " @@ -2521,7 +2621,7 @@ # FIXME s/an/an/ #. type: textblock -#: debhelper.pod:1107 +#: debhelper.pod:1169 msgid "" "If you do not want the warning either, please omit the call to " "B. If you use the B command sequencer, then you can do this " @@ -2534,7 +2634,7 @@ "F oder dem passenden Paket erledigen. Zum Beispiel:" #. type: verbatim -#: debhelper.pod:1112 +#: debhelper.pod:1174 #, no-wrap msgid "" " # Disable dh_missing\n" @@ -2546,7 +2646,7 @@ "\n" #. type: textblock -#: debhelper.pod:1117 +#: debhelper.pod:1179 msgid "" "The B command sequencer now runs B in the default " "sequence. The B takes over handling of tmpfiles.d " @@ -2559,14 +2659,14 @@ "B ist nun deaktiviert." #. type: textblock -#: debhelper.pod:1122 +#: debhelper.pod:1184 msgid "" "Note that B responds to F<< debian/I.tmpfiles " ">> where B used a name without the trailing \"s\"." msgstr "" #. type: textblock -#: debhelper.pod:1128 +#: debhelper.pod:1190 msgid "" "Many B tools now support limited variable expansion via the B<${foo}> " "syntax. In many cases, this can be used to reference paths that contain " @@ -2584,7 +2684,7 @@ "das Paket weiterhin L benötigt." #. type: textblock -#: debhelper.pod:1135 +#: debhelper.pod:1197 msgid "" "Please see L for syntax and " "available substitution variables. To B tool writers, substitution " @@ -2597,7 +2697,7 @@ "Funktionen B und B." #. type: textblock -#: debhelper.pod:1142 +#: debhelper.pod:1204 msgid "" "The B command sequencer will now skip all hook and override targets for " "B, B and B when B lists " @@ -2609,7 +2709,7 @@ "aufführt." #. type: textblock -#: debhelper.pod:1146 +#: debhelper.pod:1208 msgid "" "Any package relying on these targets to always be run should instead move " "relevant logic out of those targets. E.g. non-test related packaging code " @@ -2623,7 +2723,7 @@ "verschoben werden." #. type: textblock -#: debhelper.pod:1153 +#: debhelper.pod:1215 msgid "" "The B buildsystem now passes B<-" "DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> to L to speed up automatic " @@ -2632,7 +2732,7 @@ msgstr "" #. type: verbatim -#: debhelper.pod:1157 +#: debhelper.pod:1219 #, no-wrap msgid "" " dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ...\n" @@ -2640,24 +2740,57 @@ msgstr "" #. type: =item -#: debhelper.pod:1161 +#: debhelper.pod:1223 #, fuzzy #| msgid "v1" msgid "v14" msgstr "v1" #. type: textblock -#: debhelper.pod:1163 strings-kept-translations.pod:9 +#: debhelper.pod:1225 strings-kept-translations.pod:9 msgid "" "This compatibility level is still open for development; use with caution." msgstr "" "Diese Kompatibilitätsstufe ist immer noch für die Entwicklung offen. " "Verwenden Sie sie mit Vorsicht." +#. type: textblock +#: debhelper.pod:1227 +#, fuzzy +#| msgid "Changes from v3 are:" +msgid "Changes from v13 are:" +msgstr "Änderungen gegenüber v3 sind:" + +#. type: textblock +#: debhelper.pod:1233 +#, fuzzy +#| msgid "" +#| "The B buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> " +#| "to L." +msgid "" +"The B buildsystem now passes B<-DCMAKE_SKIP_RPATH=ON> and B<-" +"DBUILD_RPATH_USE_ORIGIN=ON> to L to avoid some reproducibility " +"issues." +msgstr "" +"Das B-Bausystem übergibt nun B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> an " +"L." + +#. type: textblock +#: debhelper.pod:1237 +msgid "" +"This can cause issues with running binaries directly from the build " +"directories as they might now require a manually set B. If " +"you need to override this change, we recommend that you try to pass the B<-" +"DCMAKE_SKIP_RPATH=OFF> option first to see if that fixes the problem " +"(leaving B at its new default). This should undo " +"the need for B and avoid the reproducibility issues on " +"Linux, where B<$ORIGIN> is supported by the runtime linkers." +msgstr "" + #. type: =head1 -#: debhelper.pod:1167 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 +#: debhelper.pod:1249 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 #: dh_installdocs:195 dh_installemacsen:75 dh_installexamples:92 -#: dh_installinit:205 dh_installinitramfs:53 dh_installman:131 +#: dh_installinit:205 dh_installinitramfs:60 dh_installman:131 #: dh_installmodules:57 dh_installudev:50 dh_installwm:66 dh_installxfonts:40 #: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104 #: dh_systemd_start:68 @@ -2665,12 +2798,12 @@ msgstr "ANMERKUNGEN" #. type: =head2 -#: debhelper.pod:1169 +#: debhelper.pod:1251 msgid "Multiple binary package support" msgstr "Unterstützung mehrerer Binärpakete" #. type: textblock -#: debhelper.pod:1171 +#: debhelper.pod:1253 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 " @@ -2689,7 +2822,7 @@ "Ziel »binary-indep«." #. type: textblock -#: debhelper.pod:1179 +#: debhelper.pod:1261 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<-" @@ -2705,7 +2838,7 @@ "sind, mit nachfolgenden Ausnahmen." #. type: textblock -#: debhelper.pod:1185 +#: debhelper.pod:1267 msgid "" "First, any package whose B field in B does not " "match the B architecture will be excluded (L)." #. type: textblock -#: debhelper.pod:1189 +#: debhelper.pod:1271 msgid "" "Also, some additional packages may be excluded based on the contents of the " "B environment variable and B fields in " @@ -2730,12 +2863,12 @@ "BuildProfileSpec>." #. type: =head3 -#: debhelper.pod:1194 +#: debhelper.pod:1276 msgid "Interaction between package selections and Build-Profiles" msgstr "Zusammenspiel zwischen Paketauswahl und Bauprofilen" #. type: textblock -#: debhelper.pod:1196 +#: debhelper.pod:1278 msgid "" "Build-Profiles affect which packages are included in the package selections " "mechanisms in debhelper. Generally, the package selections are described " @@ -2750,13 +2883,13 @@ "Bauprofils (oder das Fehlen des aktiven Bauprofils) deaktiviert wird." #. type: =item -#: debhelper.pod:1204 +#: debhelper.pod:1286 msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)" msgstr "" "-a/--arch, -i/--indep ODER keine Auswahloptionen (ein roher »dh_X«-Aufruf)" #. type: textblock -#: debhelper.pod:1206 +#: debhelper.pod:1288 msgid "" "The package disabled by Build-Profiles is silently excluded from the " "selection." @@ -2765,7 +2898,7 @@ "ausgeschlossen." #. type: textblock -#: debhelper.pod:1209 +#: debhelper.pod:1291 msgid "" "Note you will receive a warning if I packages related to these " "selections are disabled. In that case, it generally does not make sense to " @@ -2776,29 +2909,29 @@ "Allgemeinen überhaupt sinnlos." #. type: =item -#: debhelper.pod:1213 +#: debhelper.pod:1295 msgid "-N I / --no-package I" msgstr "-N I / --no-package I" #. type: textblock -#: debhelper.pod:1215 +#: debhelper.pod:1297 msgid "The option is accepted and effectively does nothing." msgstr "Die Option wird akzeptiert und hat keine Wirkung." #. type: =item -#: debhelper.pod:1217 +#: debhelper.pod:1299 msgid "-p I / --package I" msgstr "-p I / --package I" #. type: textblock -#: debhelper.pod:1219 +#: debhelper.pod:1301 msgid "The option is accepted, but debhelper will not act on the package." msgstr "" "Die Option wird akzeptiert, aber Debhelper wird nichts an dem Paket " "vornehmen." #. type: textblock -#: debhelper.pod:1223 +#: debhelper.pod:1305 msgid "" "Note that it does not matter whether a package is enabled or disabled by " "default." @@ -2807,12 +2940,12 @@ "aktiviert oder deaktiviert ist." #. type: =head2 -#: debhelper.pod:1226 +#: debhelper.pod:1308 msgid "Automatic generation of Debian install scripts" msgstr "Automatisches Erzeugen von Debian-Installationsskripten" #. type: textblock -#: debhelper.pod:1228 +#: debhelper.pod:1310 msgid "" "Some debhelper commands will automatically generate parts of Debian " "maintainer scripts. If you want these automatically generated things " @@ -2829,7 +2962,7 @@ "erzeugten Kode ersetzt." #. type: textblock -#: debhelper.pod:1235 +#: debhelper.pod:1317 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." @@ -2838,7 +2971,7 @@ "hinzufügen muss, dann wird Debhelper das komplette Skript erstellen." #. type: textblock -#: debhelper.pod:1238 +#: debhelper.pod:1320 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." @@ -2847,7 +2980,7 @@ "dies durch den Parameter -n deaktiviert (siehe oben)." #. type: textblock -#: debhelper.pod:1241 +#: debhelper.pod:1323 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 " @@ -2861,7 +2994,7 @@ "etc. gesetzt sind):" #. type: verbatim -#: debhelper.pod:1246 +#: debhelper.pod:1328 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -2893,12 +3026,12 @@ "\n" #. type: =head2 -#: debhelper.pod:1259 +#: debhelper.pod:1341 msgid "Automatic generation of miscellaneous dependencies." msgstr "Automatisches Erzeugen verschiedener Abhängigkeiten" #. type: textblock -#: debhelper.pod:1261 +#: debhelper.pod:1343 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -2918,7 +3051,7 @@ "bietet, sie zu automatisieren." #. type: textblock -#: debhelper.pod:1269 +#: debhelper.pod:1351 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called B<" @@ -2932,7 +3065,7 @@ "Debhelper findet, dass Sie sie benötigen." #. type: textblock -#: debhelper.pod:1274 +#: debhelper.pod:1356 msgid "" "This is entirely independent of the standard B<${shlibs:Depends}> generated " "by L, and the B<${perl:Depends}> generated by " @@ -2946,12 +3079,12 @@ "entspricht." #. type: =head2 -#: debhelper.pod:1279 +#: debhelper.pod:1361 msgid "Package build directories" msgstr "Paketbauverzeichnisse" #. type: textblock -#: debhelper.pod:1281 +#: debhelper.pod:1363 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/I." @@ -2961,7 +3094,7 @@ "debian/I ist." #. type: textblock -#: debhelper.pod:1284 +#: debhelper.pod:1366 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the B<-P> flag. For example, \"B" @@ -2981,12 +3114,12 @@ "Debhelper-Programm auswirkt." #. type: =head2 -#: debhelper.pod:1292 +#: debhelper.pod:1374 msgid "udebs" msgstr "Udebs" #. type: textblock -#: debhelper.pod:1294 +#: debhelper.pod:1376 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"B\" to the package's stanza in F. " @@ -3004,18 +3137,31 @@ "übersprungen werden." #. type: =head1 -#: debhelper.pod:1301 +#: debhelper.pod:1383 msgid "ENVIRONMENT" msgstr "UMGEBUNGSVARIABLEN" #. type: textblock -#: debhelper.pod:1303 +#: debhelper.pod:1385 msgid "" -"The following environment variables can influence the behavior of " -"debhelper. It is important to note that these must be actual environment " -"variables in order to function properly (not simply F variables). " -"To specify them properly in F, be sure to \"B\" them. " -"For example, \"B\"." +"This section describes some of the environment variables that influences the " +"behaviour of debhelper or which debhelper interacts with." +msgstr "" + +#. type: textblock +#: debhelper.pod:1388 +#, fuzzy +#| msgid "" +#| "The following environment variables can influence the behavior of " +#| "debhelper. It is important to note that these must be actual environment " +#| "variables in order to function properly (not simply F " +#| "variables). To specify them properly in F, be sure to " +#| "\"B\" them. For example, \"B\"." +msgid "" +"It is important to note that these must be actual environment variables in " +"order to affect the behaviour of debhelper (not simply F " +"variables). To specify them properly in F, be sure to " +"\"B\" them. For example, \"B\"." msgstr "" "Die folgenden Umgebungsvariablen können das Verhalten von Debhelper " "beeinflussen. Es ist wichtig, darauf hinzuweisen, dass dies tatsächlich " @@ -3025,12 +3171,12 @@ "Beispiel »B«." #. type: =item -#: debhelper.pod:1311 +#: debhelper.pod:1395 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1313 +#: debhelper.pod:1397 msgid "" "Set to B<1> to enable verbose mode. Debhelper will output every command it " "runs. Also enables verbose build logs for some build systems like autoconf." @@ -3041,12 +3187,12 @@ "aktiviert." #. type: =item -#: debhelper.pod:1316 +#: debhelper.pod:1400 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1318 +#: debhelper.pod:1402 msgid "" "Set to B<1> to enable quiet mode. Debhelper will not output commands calling " "the upstream build system nor will dh print which subcommands are called and " @@ -3063,12 +3209,12 @@ "wird diese Einstellung ignoriert." #. type: =item -#: debhelper.pod:1325 +#: debhelper.pod:1409 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1327 +#: debhelper.pod:1411 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value specified via Build-Depends on debhelper-compat or via " @@ -3079,22 +3225,22 @@ "in Debhelper-compat oder über die Datei F angegeben wurde." #. type: =item -#: debhelper.pod:1331 +#: debhelper.pod:1415 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1333 +#: debhelper.pod:1417 msgid "Set to B<1> to enable no-act mode." msgstr "auf B<1> gesetzt, um Modus ohne Aktion zu aktivieren." #. type: =item -#: debhelper.pod:1335 +#: debhelper.pod:1419 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1337 +#: debhelper.pod:1421 msgid "" "All debhelper tools will parse command line arguments listed in this " "variable before any command option (as if they had been prepended to the " @@ -3108,7 +3254,7 @@ "nicht und werden diese Befehlszeilenargumente ignorieren." #. type: textblock -#: debhelper.pod:1342 +#: debhelper.pod:1426 msgid "" "When using L, it can be passed options that will be passed on to each " "debhelper command, which is generally better than using DH_OPTIONS." @@ -3118,12 +3264,12 @@ "DH_OPTIONS zu verwenden." #. type: =item -#: debhelper.pod:1345 +#: debhelper.pod:1429 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1347 +#: debhelper.pod:1431 msgid "" "If set, this adds the value the variable is set to to the B<-X> options of " "all commands that support the B<-X> option. Moreover, B will " @@ -3135,7 +3281,7 @@ "entspricht, B ausführen." #. type: textblock -#: debhelper.pod:1351 +#: debhelper.pod:1435 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting B will prevent any CVS directories from " @@ -3153,7 +3299,7 @@ "ist, wo auch immer Ihr Paket gebaut wird." #. type: textblock -#: debhelper.pod:1358 +#: debhelper.pod:1442 msgid "" "Multiple things to exclude can be separated with colons, as in " "B" @@ -3162,12 +3308,12 @@ "getrennt werden, wie in B." #. type: =item -#: debhelper.pod:1361 +#: debhelper.pod:1445 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1363 +#: debhelper.pod:1447 msgid "" "If set, this adds the specified dh addons to be run in the appropriate " "places in the sequence of commands. This is equivalent to specifying the " @@ -3181,7 +3327,7 @@ "Umgebungsvariable eine Erweiterung festlegen, werden nicht ausgeführt." #. type: textblock -#: debhelper.pod:1368 +#: debhelper.pod:1452 msgid "" "This is intended to be used by downstreams or specific local configurations " "that require a debhelper addon to be run during multiple builds without " @@ -3195,12 +3341,12 @@ "zugunsten eines --with-Schalters in der Datei »rules« vermieden werden." #. type: =item -#: debhelper.pod:1373 +#: debhelper.pod:1457 msgid "B, B" msgstr "B, B" #. type: textblock -#: debhelper.pod:1375 +#: debhelper.pod:1459 msgid "" "These variables can be used to control whether debhelper commands should use " "colors in their textual output. Can be set to \"always\", \"auto\" (the " @@ -3211,7 +3357,7 @@ "»auto« (die Voreinstellung) oder »never« gesetzt werden." #. type: textblock -#: debhelper.pod:1379 +#: debhelper.pod:1463 msgid "" "Note that B also affects a number of dpkg related tools and " "debhelper uses it on the assumption that you want the same color setting for " @@ -3227,12 +3373,12 @@ "verwenden." #. type: =item -#: debhelper.pod:1385 +#: debhelper.pod:1469 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1387 +#: debhelper.pod:1471 msgid "" "If no explicit request for color has been given (e.g. B and " "B are both unset), the presence of this environment variable " @@ -3244,7 +3390,7 @@ "gesetzt wird." #. type: textblock -#: debhelper.pod:1391 +#: debhelper.pod:1475 msgid "" "The variable is defined according to L. In this " "project, the environment variables (such as B) are considered an " @@ -3255,7 +3401,7 @@ "betrachtet." #. type: =item -#: debhelper.pod:1395 +#: debhelper.pod:1479 msgid "" "B, B, B, B, B, " "B, B, B, B" @@ -3264,7 +3410,7 @@ "B, B, B, B" #. type: textblock -#: debhelper.pod:1397 +#: debhelper.pod:1481 msgid "" "By default (in any non-deprecated compat level), debhelper will " "automatically set these flags by using L, when they are " @@ -3282,17 +3428,25 @@ "Variable direkt zu setzen." #. type: =item -#: debhelper.pod:1404 +#: debhelper.pod:1488 msgid "B, B" msgstr "B, B" #. type: textblock -#: debhelper.pod:1406 +#: debhelper.pod:1490 +#, fuzzy +#| msgid "" +#| "In compat 13 and later, these environment variables are reset before " +#| "invoking the upstream build system via the B helpers. The " +#| "variables B and B will be set to a writable " +#| "directory. The remaining variables will be cleared." msgid "" "In compat 13 and later, these environment variables are reset before " "invoking the upstream build system via the B helpers. The " -"variables B and B will be set to a writable " -"directory. The remaining variables will be cleared." +"variables B (all B helpers)and B " +"(B only) will be set to a writable directory. All remaining " +"variables and B (except for during B) will be " +"cleared." msgstr "" "In Kompatibilitätsstufe 13 und neuer werden diese Umgebungsvariable " "zurückgesetzt, bevor das Baussystem der Ursprungsautoren über die " @@ -3301,27 +3455,271 @@ "verbleibenden Variablen werden geleert." #. type: textblock -#: debhelper.pod:1411 -msgid "" -"The directories will be created as empty directories but they will be reused " -"between calls to B. Any content will persist until explicitly " -"deleted or B." +#: debhelper.pod:1496 +#, fuzzy +#| msgid "" +#| "The directories will be created as empty directories but they will be " +#| "reused between calls to B. Any content will persist until " +#| "explicitly deleted or B." +msgid "" +"The B directory will be created as an empty directory but it will be " +"reused between calls to B. Any content will persist until " +"explicitly deleted or B." msgstr "" "Die Verzeichnisse werden leer erzeugt, sie werden allerdings zwischen den " "B-Aufrufen weiter benutzt. Jeglicher Inhalt wird weiter bestehen, " "bis er explizit gelöscht oder B aufgerufen wird." +#. type: =item +#: debhelper.pod:1500 +#, fuzzy +#| msgid "B" +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1502 +msgid "" +"Please see L for this environment " +"variable." +msgstr "" + +#. type: textblock +#: debhelper.pod:1505 +msgid "" +"Please note that this variable should I be altered by package " +"maintainers inside F to change the behaviour of debhelper. " +"Instead, where the package maintainer need these features, they should look " +"disabling the relevant feature directly (e.g. by overriding the concrete " +"tools)." +msgstr "" + +#. type: =item +#: debhelper.pod:1510 +#, fuzzy +#| msgid "B" +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1512 +msgid "" +"This is a dpkg specific environment variable (see e.g. L). The debhelper tool suite silently ignores it." +msgstr "" + +#. type: textblock +#: debhelper.pod:1515 +msgid "" +"It is documented here because it has a similar name to B, " +"which make some people mistakenly assume that debhelper will also react to " +"this variable." +msgstr "" + +#. type: =head2 +#: debhelper.pod:1521 +msgid "Supported flags in DEB_BUILD_OPTIONS" +msgstr "" + +#. type: textblock +#: debhelper.pod:1523 +msgid "" +"The debhelper tool suite reacts to the following flags in " +"B." +msgstr "" + +#. type: =item +#: debhelper.pod:1527 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1529 +msgid "I" +msgstr "" + +#. type: textblock +#: debhelper.pod:1531 +msgid "" +"When B is present and set to B, then " +"debhelper tools will promote deprecation warnings for usage of old soon to " +"be removed compat levels into errors." +msgstr "" + +#. type: textblock +#: debhelper.pod:1535 +msgid "" +"This is useful for automated checking for code relying on deprecated compat " +"levels that is scheduled for removal." +msgstr "" + +#. type: textblock +#: debhelper.pod:1538 +msgid "This option is intended for testing purposes; not production builds." +msgstr "" + +#. type: =item +#: debhelper.pod:1540 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1542 debhelper.pod:1565 +msgid "" +"I" +msgstr "" + +#. type: textblock +#: debhelper.pod:1546 +msgid "" +"This value will cause the official debhelper tools will skip actions and " +"helpers that either remove, detach or deduplicate debugging symbols in ELF " +"binaries." +msgstr "" + +#. type: textblock +#: debhelper.pod:1550 +msgid "This value affects L and L." +msgstr "" + +#. type: =item +#: debhelper.pod:1552 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1554 +msgid "" +"This value will cause the official debhelper build systems to skip runs of " +"upstream test suites." +msgstr "" + +#. type: textblock +#: debhelper.pod:1557 +msgid "" +"Package maintainers looking to avoid running the upstream tests should " +"B rely on this. Instead, they can add an empty override target to skip " +"B." +msgstr "" + +#. type: textblock +#: debhelper.pod:1561 +msgid "This value affects L." +msgstr "" + +#. type: =item +#: debhelper.pod:1563 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1569 +msgid "" +"This value will cause several debhelper tools to skip installation of " +"documentation such as manpages or upstream provided documentation. " +"Additionally, the tools will also ignore if declared documentation is " +"\"missing\" on the assumption that the documentation has not been built." +msgstr "" + +#. type: textblock +#: debhelper.pod:1574 +msgid "" +"This value effects tools I L, which I it is " +"working with documentation." +msgstr "" + +#. type: =item +#: debhelper.pod:1577 +#, fuzzy +#| msgid "B<--ddebs>, B<--no-ddebs>" +msgid "B, B" +msgstr "B<--ddebs>, B<--no-ddebs>" + +#. type: textblock +#: debhelper.pod:1579 +msgid "" +"I" +msgstr "" + +#. type: textblock +#: debhelper.pod:1582 +msgid "" +"This value causes debhelper to skip the generation of automatically " +"generated debug symbol packages." +msgstr "" + +#. type: textblock +#: debhelper.pod:1585 +msgid "This value affects L." +msgstr "" + +#. type: =item +#: debhelper.pod:1587 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1589 +msgid "" +"This value enables debhelper to use up to B threads or processes (subject " +"to parameters like B<--no-parallel> and B<--max-parallel=M>). Not all " +"debhelper tools work with parallel tasks and may silently ignore the request." +msgstr "" + +#. type: textblock +#: debhelper.pod:1594 +msgid "" +"This value affects many debhelper tools. Most notably B, which " +"will attempt to run the underlying upstream build system with that number of " +"threads." +msgstr "" + +#. type: =item +#: debhelper.pod:1598 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1600 +msgid "" +"This value will cause the official debhelper build systems to configure " +"upstream builds to be terse (i.e. reduce verbosity in their output). This " +"is subject to the upstream and the debhelper build system supporting such " +"features." +msgstr "" + +#. type: textblock +#: debhelper.pod:1605 +msgid "This value affects most B tools." +msgstr "" + +#. type: textblock +#: debhelper.pod:1609 +msgid "Unknown flags are silently ignored." +msgstr "" + +#. type: textblock +#: debhelper.pod:1611 +msgid "" +"Note third-party debhelper-like tools or third-party provided build systems " +"may or may not react to the above flags. This tends to depend on " +"implementation details of the tool." +msgstr "" + #. type: =head1 -#: debhelper.pod:1417 debhelper-obsolete-compat.pod:118 dh:626 dh_auto_build:53 +#: debhelper.pod:1615 debhelper-obsolete-compat.pod:118 dh:732 dh_auto_build:53 #: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64 -#: dh_bugfiles:133 dh_builddeb:182 dh_clean:190 dh_compress:242 dh_dwz:161 +#: dh_bugfiles:133 dh_builddeb:182 dh_clean:189 dh_compress:242 dh_dwz:161 #: dh_fixperms:164 dh_gconf:105 dh_gencontrol:207 dh_icons:75 dh_install:377 -#: dh_installcatalogs:128 dh_installchangelogs:302 dh_installcron:78 +#: dh_installcatalogs:128 dh_installchangelogs:300 dh_installcron:78 #: dh_installdeb:412 dh_installdebconf:128 dh_installdirs:131 #: dh_installdocs:447 dh_installemacsen:138 dh_installexamples:178 -#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:425 -#: dh_installinitramfs:85 dh_installlogcheck:81 dh_installlogrotate:53 -#: dh_installman:411 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 +#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:430 +#: dh_installinitramfs:91 dh_installlogcheck:81 dh_installlogrotate:53 +#: dh_installman:417 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 #: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:102 #: dh_installwm:132 dh_installxfonts:90 dh_link:166 dh_lintian:60 #: dh_listpackages:34 dh_makeshlibs:456 dh_md5sums:117 dh_movefiles:161 @@ -3331,37 +3729,37 @@ msgstr "SIEHE AUCH" #. type: =item -#: debhelper.pod:1421 +#: debhelper.pod:1619 msgid "F" msgstr "F" #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "" "eine Zusammenstellung von F-Beispieldateien, die Debhelper " "benutzen" #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 msgid "L" msgstr "L" #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "Debhelper-Website" #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 #: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 -#: dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 #: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 -#: dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 #: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 #: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 -#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 -#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 #: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 #: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 #: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 @@ -3372,14 +3770,14 @@ msgstr "AUTOR" #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 #: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 -#: dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 -#: dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 #: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 #: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 -#: dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 -#: dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 #: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 #: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 #: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 @@ -3576,14 +3974,14 @@ "expandieren." #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 #: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 -#: dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 #: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 -#: dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 #: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 #: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 -#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 #: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 #: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 #: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 @@ -3593,13 +3991,13 @@ msgstr "L" #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 #: dh_systemd_start:284 msgid "AUTHORS" msgstr "AUTOREN" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "Niels Thykier " @@ -3853,11 +4251,184 @@ "Weglassen eines Befehlsnamens suchen. Aber andererseits bleibt das Prinzip " "dasselbe." +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" + #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 -#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 #: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 -#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 #: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 #: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 #: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 @@ -3871,12 +4442,12 @@ msgstr "OPTIONEN" #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "B<--with> I[B<,>I …]" #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -3893,7 +4464,7 @@ "Sequenz-Add-on-Schnittstelle finden Sie in der Datei F." #. type: textblock -#: dh:124 +#: dh:229 msgid "" "A B relation on the package BI implies a " "B<--with> I. This avoids the need for an explicit B<--with> in " @@ -3913,7 +4484,7 @@ "Bootstrapping zu erleichtern)." #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via B or B are subject to additional limitations to ensure the result is " @@ -3946,12 +4517,12 @@ "Erweiterungen nur Befehle zu Sequenzen hinzufügen." #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "B<--without> I" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -3962,12 +4533,12 @@ "ons zum Deaktivieren durch Kommas getrennt aufgelistet werden." #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "listet alle verfügbaren Add-ons auf." #. type: textblock -#: dh:157 +#: dh:262 msgid "" "When called only with this option, B can be called from any directory (i." "e. it does not need access to files from a source package)." @@ -3977,7 +4548,7 @@ "aus einem Quellpaket)." #. type: textblock -#: dh:163 +#: dh:268 msgid "" "Prints commands that would run for a given sequence, but does not run them." msgstr "" @@ -3985,7 +4556,7 @@ "sie aber nicht aus" #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." @@ -3995,7 +4566,7 @@ "vollständige Liste der Befehle der Reihe nach ausgegeben." #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -4006,13 +4577,13 @@ "oder B<-N> sowie spezialisiertere Optionen zu setzen." #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 #: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "BEISPIELE" #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" @@ -4021,7 +4592,7 @@ "tatsächlich etwas zu tun, geben Sie Folgendes ein:" #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -4031,7 +4602,7 @@ "\n" #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." @@ -4040,7 +4611,7 @@ "Befehlssequenzen ohne zusätzliche Optionen arbeiten." #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4054,7 +4625,7 @@ "\n" #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." @@ -4064,7 +4635,7 @@ "Ziel für diesen Befehl hinzuzufügen." #. type: verbatim -#: dh:195 +#: dh:300 #, no-wrap msgid "" "\toverride_dh_strip:\n" @@ -4076,7 +4647,7 @@ "\n" #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -4088,7 +4659,7 @@ "\n" #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -4100,7 +4671,7 @@ "Befehle ausgeführt werden." #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -4112,7 +4683,7 @@ "\n" #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -4124,7 +4695,7 @@ "\n" #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." @@ -4133,7 +4704,7 @@ "besonderen Debhelper-Befehls manuell etwas tun möchten." #. type: verbatim -#: dh:222 +#: dh:327 #, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" @@ -4147,7 +4718,7 @@ "\n" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." @@ -4156,7 +4727,7 @@ "Beispiel wie folgt aussehen:" #. type: verbatim -#: dh:233 +#: dh:338 #, no-wrap msgid "" "\t# Older debhelper versions or using compat 9 or lower.\n" @@ -4173,7 +4744,7 @@ "\n" #. type: textblock -#: dh:238 +#: dh:343 msgid "" "Python tools are not run by dh by default, due to the continual change in " "that area. Here is how to use B." @@ -4183,7 +4754,7 @@ "benutzt wird." #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4197,7 +4768,7 @@ "\n" #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." @@ -4207,7 +4778,7 @@ "entdeckt, dass das Programm MakeMaker verwendet." #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4221,7 +4792,7 @@ "\n" #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -4232,7 +4803,7 @@ "einem Unterverzeichnis liegt." #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4246,7 +4817,7 @@ "\n" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." @@ -4255,7 +4826,7 @@ "dass in einem Unterverzeichnis gebaut wird, das mit B entfernt wird." #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4269,7 +4840,7 @@ "\n" #. type: textblock -#: dh:268 +#: dh:373 msgid "" "If your package can be built in parallel, please either use compat 10 or " "pass B<--parallel> to dh. Then B will work." @@ -4279,7 +4850,7 @@ "B funktionieren." #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4293,7 +4864,7 @@ "\n" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> command):" @@ -4303,7 +4874,7 @@ "zuständigen BI<*>-Befehl):" #. type: verbatim -#: dh:280 +#: dh:385 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4317,7 +4888,7 @@ "\n" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." @@ -4327,7 +4898,7 @@ "setzende Ziele für jeden Befehl definieren." #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -4339,7 +4910,7 @@ "\n" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -4351,7 +4922,7 @@ "ausgeführt werden." #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -4363,7 +4934,7 @@ "\n" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -4375,7 +4946,7 @@ "\n" #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -4387,7 +4958,7 @@ "\n" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -4399,7 +4970,7 @@ "vorhanden ist." #. type: verbatim -#: dh:315 +#: dh:420 #, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" @@ -4413,12 +4984,12 @@ "\n" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "INTERNA" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." @@ -4427,7 +4998,7 @@ "wie es unter der Haube arbeitet." #. type: textblock -#: dh:323 +#: dh:428 msgid "" "In compat 10 (or later), B creates a stamp file F after the build step(s) are complete to avoid re-running them. It is " @@ -4445,7 +5016,7 @@ "zweimal ausgeführt (das zweite Mal als Root oder unter L)." #. type: textblock -#: dh:331 +#: dh:436 msgid "" "Inside an override target, B commands will create a log file F to keep track of which packages the command(s) have " @@ -4459,7 +5030,7 @@ "erledigt sind." #. type: textblock -#: dh:336 +#: dh:441 msgid "" "In compat 9 or earlier, each debhelper command will record when it's " "successfully run in F. (Which B " @@ -4473,7 +5044,7 @@ "Ausführung dieser Befehle überspringen." #. type: textblock -#: dh:341 +#: dh:446 msgid "" "Each time B is run (in compat 9 or earlier), it examines the log, and " "finds the last logged command that is in the specified sequence. It then " @@ -4484,7 +5055,7 @@ "der angegebenen Sequenz." #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." @@ -4493,7 +5064,7 @@ "Sequenz »binary« führt zum Beispiel das Ziel »install« aus." #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -4506,7 +5077,7 @@ "ist, wie der Name schon andeutet, Gegenstand dauernder Änderungen." #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -4522,14 +5093,14 @@ "architekturabhängigen Paketen funktionieren." #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 #: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 -#: dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 -#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 #: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 #: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 -#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 -#: dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 #: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 #: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 #: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 @@ -4920,8 +5491,8 @@ "»presubj«-Dateien)." #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 -#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 #: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 #: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 #: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 @@ -5119,15 +5690,29 @@ "B [S>] [B<-k>] [B<-d>] [B<-X>I] " "[S …>]" -#. type: verbatim +#. type: textblock #: dh_clean:21 -#, no-wrap msgid "" -"B is a debhelper program that is responsible for cleaning up after a\n" -"package is built. It removes the package build directories, and removes some\n" -"other files including F, and any detritus left behind by other\n" -"debhelper commands. It also removes common files that should not appear in a\n" -"Debian diff:\n" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" + +#. type: verbatim +#: dh_clean:25 +#, fuzzy, no-wrap +#| msgid "" +#| "B is a debhelper program that is responsible for cleaning up after a\n" +#| "package is built. It removes the package build directories, and removes some\n" +#| "other files including F, and any detritus left behind by other\n" +#| "debhelper commands. It also removes common files that should not appear in a\n" +#| "Debian diff:\n" +#| " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" +#| "\n" +msgid "" +"It removes the package build directories, and removes some other files including\n" +"F, and any detritus left behind by other debhelper commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" @@ -5140,7 +5725,7 @@ "\n" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." @@ -5148,27 +5733,18 @@ "Es führt nicht »make clean« aus, um nach dem Bauprozess aufzuräumen. " "Benutzen Sie für solche Zwecke L." -#. type: textblock -#: dh_clean:31 -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" -"B sollte der zuletzt ausgeführte Debhelper-Befehl im B-Ziel " -"in F sein." - #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "F" #. type: textblock -#: dh_clean:40 +#: dh_clean:39 msgid "Can list other paths to be removed." msgstr "kann weitere Pfade auflisten, die zu entfernen sind." #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -5178,7 +5754,7 @@ "ebenfalls entfernt." #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 #: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 #: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" @@ -5189,39 +5765,39 @@ "in L beschrieben." #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "Dies ist veraltet, benutzen Sie stattdessen L." #. type: textblock -#: dh_clean:58 +#: dh_clean:57 msgid "The option is removed in compat 12." msgstr "Die Option wurde in Kompatibilitätsstufe 12 entfernt." #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." msgstr "räumt nur die Bauverzeichnisse auf, keine weiteren Dateien." #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I B<--exclude=>I" #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -5233,17 +5809,17 @@ "ausgeschlossen werden sollen." #. type: =item -#: dh_clean:71 +#: dh_clean:70 msgid "I ..." msgstr "I …>" #. type: textblock -#: dh_clean:73 +#: dh_clean:72 msgid "Delete these Is too." msgstr "löscht diese e ebenfalls." #. type: textblock -#: dh_clean:75 +#: dh_clean:74 msgid "" "Note that directories passed as arguments B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -6237,8 +6813,7 @@ #. type: textblock #: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 -#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 -#: dh_installwm:68 dh_usrlocal:62 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -6286,11 +6861,16 @@ #. type: textblock #: dh_installchangelogs:24 +#, fuzzy +#| msgid "" +#| "An upstream F file may be specified as an option. If none is " +#| "specified, B may look for files with names that " +#| "seem likely to be changelogs as described in the next paragraphs " +#| "(assuming the package is using compatibility level 7 or above)." msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" "Optional könnte eine F-Datei der Originalautoren angegeben " "werden. Falls keine angegeben wurde, könnte B nach " @@ -6299,7 +6879,17 @@ "Kompatibilitätsstufe 7 und darüber benutzt)." #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 +#, fuzzy +#| msgid "" +#| "In non-native packages, B will first look for " +#| "changelog files installed by the upstream build system into F<< usr/share/" +#| "doc/I >> (of the package build directory) and rename the most " +#| "likely candidate (if any) to F<< usr/share/doc/I/changelog >>. " +#| "Note that B does I look into any source " +#| "directory (such as F). Otherwise, B (at " +#| "compatibility level 7 or any later) will look for changelog files in the " +#| "source directory (e.g. the root or the F subdirectory)." msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< usr/share/" @@ -6308,7 +6898,9 @@ "Note that B does I look into any source directory " "(such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" "In nicht nativen Paketen wird B zuerst nach Changelog-" "Dateien suchen, die vom Bausystem der Ursprungsautoren in F<< usr/share/doc/" @@ -6321,23 +6913,22 @@ "Unterverzeichnisses) suchen." #. type: textblock -#: dh_installchangelogs:39 -msgid "" -"If there is an upstream F file, it will be installed as F in the package build directory." -msgstr "" -"Falls es eine F-Datei der Ursprungsautoren gibt, wird sie im " -"Paketbauverzeichnis als F installiert." - -#. type: textblock -#: dh_installchangelogs:42 +#: dh_installchangelogs:40 +#, fuzzy +#| msgid "" +#| "If the specified upstream changelog is an F file (determined by " +#| "file extension), it will be installed as F instead. If the html changelog is converted to plain " +#| "text, that variant can be specified as a second upstream changelog file. " +#| "When no plain text variant is specified, a short F is generated, pointing readers at the html changelog file." msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." msgstr "" "Falls das angegebene Changelog der Ursprungsautoren eine F-Datei ist " "(durch die Dateiendung festgelegt), wird es stattdessen als F" msgstr "F" #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "debian/I.changelog" #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "debian/I.NEWS" #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." @@ -6377,7 +6968,7 @@ "installiert." #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." @@ -6386,7 +6977,7 @@ "oder F-Datei benötigt." #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -6397,7 +6988,7 @@ "F wird immer mit dem Namen F installiert." #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " "by installing the upstream changelog as F, and making a symlink " @@ -6413,7 +7004,7 @@ "Dokumentation im Paket sich auf die Datei F bezieht." #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." @@ -6422,19 +7013,19 @@ "die irgendwo in ihrem Dateinamen I enthalten." #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" "Beachten Sie, dass der Verzeichnisname des Changelogs auch Teil des Treffers " "ist." #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "I" #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "installiert diese Datei als Changelog der Originalautoren." @@ -8460,17 +9051,17 @@ "F-Skripten vor der Markierung B<#DEBHELPER#> bereitgestellt werden." #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 msgid "L, L" msgstr "L, L" #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "Steve Langasek " #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "Michael Stapelberg " @@ -8497,12 +9088,18 @@ #. type: textblock #: dh_installinitramfs:24 -msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." +#, fuzzy +#| msgid "" +#| "If B installs or (in compat 12 or later) detects one " +#| "or more initramfs hooks in the package, then it also automatically " +#| "generates the F and F commands needed to interface with " +#| "the Debian initramfs system. These commands are inserted into the " +#| "maintainer scripts by L." +msgid "" +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." msgstr "" "Falls B in einem oder mehreren Paketen Initramfs-Hooks " "installiert oder (in Kompatibilitätsstufe 12 oder höher) entdeckt, dann " @@ -8529,13 +9126,52 @@ "in L." #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." -msgstr "ändert keine F-/F-Skripte." +#: dh_installinitramfs:49 +#, fuzzy +#| msgid "" +#| "Do not add the \"ldconfig\" trigger even if it seems like the package " +#| "might need it. The option is called B<--no-scripts> for historical " +#| "reasons as B would previously generate maintainer scripts " +#| "that called B." +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." +msgstr "" +"Fügen Sie den Auslöser »ldconfig« selbst dann nicht hinzu, wenn das Paket " +"ihn scheinbar benötigt. Diese Option wird aus historischen Gründen B<--" +"noscripts> genannt, da B früher Betreuerskripte erzeugen " +"würde, die B aufriefen." + +#. type: textblock +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" + +#. type: textblock +#: dh_installinitramfs:62 +#, fuzzy +#| 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." +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 triggers file." +msgstr "" +"Beachten Sie, dass dieser Befehl nicht idempotent ist. Zwischen Aufrufen " +"dieses Befehls sollte L aufgerufen werden. Ansonsten könnte er " +"zur Folge haben, dass den Betreuerskripten mehrere Instanzen des gleichen " +"Textes hinzugefügt werden." # FIXME wrong order #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:93 msgid "L L L" msgstr "L L L" @@ -9051,6 +9687,11 @@ "Paketbauverzeichnis." #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "ändert keine F-/F-Skripte." + +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "L, L, L" @@ -9832,11 +10473,11 @@ #: dh_makeshlibs:36 msgid "" "If you previously used B<--add-udeb> and is considering to migrate to using " -"the new auto-detection feature in 12.3, then please remember " -"to test that the resulting F files are as expected. There " -"are some known corner cases, where the auto-detection is insufficient. " -"These include when the udeb contains library files from multiple regular deb " -"packages or when the packages do not follow the expected naming convention." +"the new auto-detection feature in 12.3, then please remember to test that " +"the resulting F files are as expected. There are some known " +"corner cases, where the auto-detection is insufficient. These include when " +"the udeb contains library files from multiple regular deb packages or when " +"the packages do not follow the expected naming convention." msgstr "" "Falls Sie vorher B<--add-udeb> benutzt haben und mit dem Gedanken spielen, " "auf die neue automatische Erkennungsfunktionalität in 12.3 zu migrieren, " @@ -11605,3 +12246,17 @@ #: strings-kept-translations.pod:7 msgid "This compatibility level is open for beta testing; changes may occur." msgstr "Diese Kompatibilitätsstufe ist im Beta-Test; Änderungen sind möglich." + +#~ msgid "" +#~ "B should be the last debhelper command run in the B " +#~ "target in F." +#~ msgstr "" +#~ "B sollte der zuletzt ausgeführte Debhelper-Befehl im B-" +#~ "Ziel in F sein." + +#~ msgid "" +#~ "If there is an upstream F file, it will be installed as F in the package build directory." +#~ msgstr "" +#~ "Falls es eine F-Datei der Ursprungsautoren gibt, wird sie im " +#~ "Paketbauverzeichnis als F installiert." diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/es.po debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/es.po --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/es.po 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/es.po 2020-09-13 17:38:16.000000000 +0000 @@ -31,7 +31,7 @@ msgstr "" "Project-Id-Version: debhelper 9.20120609\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-04-15 15:35+0200\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" "PO-Revision-Date: 2012-08-20 11:17+0200\n" "Last-Translator: Omar Campagne \n" "Language-Team: Debian l10n Spanish \n" @@ -177,9 +177,10 @@ #. type: textblock #: debhelper.pod:31 msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" # type: =head1 @@ -350,12 +351,84 @@ #: debhelper.pod:106 msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" +msgstr "" + +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" msgstr "" #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "" + +#. type: textblock +#: debhelper.pod:117 +msgid "dh_install" +msgstr "" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" +msgstr "" + +#. type: textblock +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" +msgstr "" + +#. type: textblock +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " @@ -364,38 +437,38 @@ msgstr "" #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." msgstr "" #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" msgstr "" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to I)." msgstr "" #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." msgstr "" #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " @@ -403,19 +476,19 @@ msgstr "" #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" msgstr "" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -426,43 +499,43 @@ msgstr "" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." msgstr "" #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." msgstr "" #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character (e." "g. space) where it would otherwise be stripped or used as a separator." msgstr "" #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" msgstr "" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." msgstr "" #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " @@ -470,12 +543,12 @@ msgstr "" #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" msgstr "" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " @@ -485,7 +558,7 @@ # type: textblock #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 #, fuzzy #| msgid "Comments are ignored in debhelper config files." msgid "Executable debhelper config files" @@ -493,14 +566,14 @@ "Se ignoran los comentarios en los ficheros de configuración de debhelper." #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools (e.g. " "L) support executing a config file as a script." msgstr "" #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -510,26 +583,21 @@ msgstr "" #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" msgstr "" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." msgstr "" #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " @@ -538,14 +606,14 @@ msgstr "" #. type: textblock -#: debhelper.pod:204 +#: debhelper.pod:259 msgid "" "Otherwise, the output will be used exactly as-is. Notably, debhelper will " "I expand wildcards or strip comments or strip whitespace in the output." msgstr "" #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -554,13 +622,13 @@ # type: =head1 #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "OPCIONES COMPARTIDAS DE DEBHELPER" # type: textblock #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "" "The following command line options are supported by all debhelper programs." msgstr "" @@ -569,13 +637,13 @@ # type: =item #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" # type: textblock #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -584,13 +652,13 @@ # type: =item #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "B<--no-act>" # type: textblock #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -600,13 +668,13 @@ # type: =item #. type: =item -#: debhelper.pod:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" # type: textblock #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 #, fuzzy #| msgid "" #| "Act on architecture dependent packages that should be built for the build " @@ -620,25 +688,25 @@ # type: =item #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" # type: textblock #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "Actúa en todos los paquetes independientes de la arquitectura." # type: =item #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" # type: textblock #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -649,29 +717,29 @@ # type: =item #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "" #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "" # type: =item #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" # type: textblock #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." @@ -681,12 +749,12 @@ # type: =item #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "B<--remaining-packages>" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -703,13 +771,13 @@ # type: =item #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" # type: textblock #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "" "Use I for package build directory. The default is debian/I" msgstr "" @@ -718,13 +786,13 @@ # type: =item #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" # type: textblock #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -737,12 +805,12 @@ "usuales F." #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I" msgstr "F" # type: textblock #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "Varios ficheros de ejemplo F que utilizan debhelper." # type: =item #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 #, fuzzy #| msgid "L" msgid "L" @@ -3024,21 +3387,21 @@ # type: textblock #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "Sitio web de Debhelper." # type: =head1 #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 #: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 -#: dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 #: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 -#: dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 #: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 #: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 -#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 -#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 #: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 #: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 #: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 @@ -3050,14 +3413,14 @@ # type: textblock #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 #: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 -#: dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 -#: dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 #: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 #: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 -#: dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 -#: dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 #: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 #: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 #: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 @@ -3262,14 +3625,14 @@ # type: textblock #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 #: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 -#: dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 #: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 -#: dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 #: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 #: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 -#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 #: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 #: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 #: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 @@ -3280,13 +3643,13 @@ # type: =head1 #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 #: dh_systemd_start:284 msgid "AUTHORS" msgstr "AUTORES" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "" @@ -3519,12 +3882,185 @@ "omission of a command name. But otherwise, the principle remains the same." msgstr "" +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" + # type: =head1 #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 -#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 #: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 -#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 #: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 #: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 #: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 @@ -3538,12 +4074,12 @@ msgstr "OPCIONES" #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "B<--with> I[B<,>I,...]" #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -3560,7 +4096,7 @@ "de secuencia consulte el fichero F." #. type: textblock -#: dh:124 +#: dh:229 msgid "" "A B relation on the package BI implies a " "B<--with> I. This avoids the need for an explicit B<--with> in " @@ -3572,7 +4108,7 @@ msgstr "" #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via B or B are subject to additional limitations to ensure the result is " @@ -3593,12 +4129,12 @@ # type: =item #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "B<--without> I" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -3609,19 +4145,19 @@ "extensiones que desactivar." #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "Lista todas las extensiones disponibles." #. type: textblock -#: dh:157 +#: dh:262 msgid "" "When called only with this option, B can be called from any directory (i." "e. it does not need access to files from a source package)." msgstr "" #. type: textblock -#: dh:163 +#: dh:268 msgid "" "Prints commands that would run for a given sequence, but does not run them." msgstr "" @@ -3629,14 +4165,14 @@ "ejecuta." #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." msgstr "" #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -3648,13 +4184,13 @@ # type: =head1 #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 #: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "EJEMPLOS" #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" @@ -3663,7 +4199,7 @@ "realidad:" #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -3673,7 +4209,7 @@ "\n" #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." @@ -3682,7 +4218,7 @@ "predeterminadas de órdenes funcionan sin opciones adicionales." #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3696,7 +4232,7 @@ "\n" #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." @@ -3706,7 +4242,7 @@ "para esa orden." #. type: verbatim -#: dh:195 +#: dh:300 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_strip:\n" @@ -3722,7 +4258,7 @@ "\t\n" #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3734,7 +4270,7 @@ "\n" #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -3746,7 +4282,7 @@ "ejecutar sus propias órdenes." #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3758,7 +4294,7 @@ "\n" #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -3770,7 +4306,7 @@ "\n" #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." @@ -3779,7 +4315,7 @@ "se ejecute una orden en particular de debhelper." #. type: verbatim -#: dh:222 +#: dh:327 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -3798,14 +4334,14 @@ "\n" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." msgstr "" #. type: verbatim -#: dh:233 +#: dh:338 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -3825,7 +4361,7 @@ "\n" #. type: textblock -#: dh:238 +#: dh:343 #, fuzzy #| msgid "" #| "Python tools are not run by dh by default, due to the continual change in " @@ -3841,7 +4377,7 @@ "B." #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3855,7 +4391,7 @@ "\n" #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." @@ -3865,7 +4401,7 @@ "detecta erróneamente que el paquete utiliza MakeMaker." #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3879,7 +4415,7 @@ "\n" #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -3890,7 +4426,7 @@ "en el que las fuentes se ubican en un subdirectorio." #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3904,7 +4440,7 @@ "\n" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." @@ -3914,7 +4450,7 @@ "B." #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3928,7 +4464,7 @@ "\n" #. type: textblock -#: dh:268 +#: dh:373 #, fuzzy #| msgid "" #| "If your package can be built in parallel, you can support parallel " @@ -3942,7 +4478,7 @@ "j> funcionará." #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3956,14 +4492,14 @@ "\n" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> command):" msgstr "" #. type: verbatim -#: dh:280 +#: dh:385 #, fuzzy, no-wrap #| msgid "" #| "\t#!/usr/bin/make -f\n" @@ -3982,7 +4518,7 @@ "\n" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." @@ -3992,7 +4528,7 @@ "cada orden." #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -4004,7 +4540,7 @@ "\n" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -4015,7 +4551,7 @@ "omiten al ejecutar las secuencias build-arch y binary-arch." #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -4027,7 +4563,7 @@ "\n" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -4039,7 +4575,7 @@ "\n" #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -4051,7 +4587,7 @@ "\n" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -4062,7 +4598,7 @@ "arquitectura, ya que no está presente cuando solo se construye documentación." #. type: verbatim -#: dh:315 +#: dh:420 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -4081,12 +4617,12 @@ "\n" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "FUNCIONAMIENTO INTERNO" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." @@ -4095,7 +4631,7 @@ "puede ver como funciona por dentro." #. type: textblock -#: dh:323 +#: dh:428 msgid "" "In compat 10 (or later), B creates a stamp file F after the build step(s) are complete to avoid re-running them. It is " @@ -4106,7 +4642,7 @@ msgstr "" #. type: textblock -#: dh:331 +#: dh:436 msgid "" "Inside an override target, B commands will create a log file F to keep track of which packages the command(s) have " @@ -4115,7 +4651,7 @@ msgstr "" #. type: textblock -#: dh:336 +#: dh:441 #, fuzzy #| msgid "" #| "Each debhelper command will record when it's successfully run in F is run, it examines the log, and finds the last logged " @@ -4152,7 +4688,7 @@ "before>, B<--after> y B<--remaining> pueden anular este comportamiento." #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." @@ -4162,7 +4698,7 @@ "ejecuta el objeto «install»." #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -4175,7 +4711,7 @@ "entorno, como el nombre sugiere, está sujeto a cambios en cualquier momento." #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -4192,14 +4728,14 @@ # type: textblock #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 #: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 -#: dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 -#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 #: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 #: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 -#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 -#: dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 #: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 #: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 #: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 @@ -4598,8 +5134,8 @@ "construcción del paquete." #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 -#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 #: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 #: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 #: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 @@ -4815,16 +5351,30 @@ "B [S>] [B<-k>] [B<-d>] [B<-X>I] " "[S ...>]" +#. type: textblock +#: dh_clean:21 +msgid "" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" + # type: verbatim #. type: verbatim -#: dh_clean:21 -#, no-wrap +#: dh_clean:25 +#, fuzzy, no-wrap +#| msgid "" +#| "B is a debhelper program that is responsible for cleaning up after a\n" +#| "package is built. It removes the package build directories, and removes some\n" +#| "other files including F, and any detritus left behind by other\n" +#| "debhelper commands. It also removes common files that should not appear in a\n" +#| "Debian diff:\n" +#| " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" +#| "\n" msgid "" -"B is a debhelper program that is responsible for cleaning up after a\n" -"package is built. It removes the package build directories, and removes some\n" -"other files including F, and any detritus left behind by other\n" -"debhelper commands. It also removes common files that should not appear in a\n" -"Debian diff:\n" +"It removes the package build directories, and removes some other files including\n" +"F, and any detritus left behind by other debhelper commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" @@ -4838,7 +5388,7 @@ "\n" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." @@ -4846,42 +5396,28 @@ "No ejecuta «make clean» para limpiar después del proceso de construcción. " "Para ello use L." -# type: textblock -#. type: textblock -#: dh_clean:31 -#, fuzzy -#| msgid "" -#| "B (or \"B\") should be the last debhelper command run " -#| "in the B target in F." -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" -"B (o B) debería ser la última orden de debhelper a " -"ejecutar en el objetivo B en F." - #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "F" # type: textblock #. type: textblock -#: dh_clean:40 +#: dh_clean:39 #, fuzzy #| msgid "Can list other files to be removed." msgid "Can list other paths to be removed." msgstr "Puede listar otros ficheros que desea eliminar." #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." msgstr "" #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 #: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 #: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" @@ -4891,30 +5427,30 @@ # type: =item #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" # type: textblock #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "Está obsoleta, use L en su lugar." #. type: textblock -#: dh_clean:58 +#: dh_clean:57 msgid "The option is removed in compat 12." msgstr "" # type: =item #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" # type: textblock #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." @@ -4924,13 +5460,13 @@ # type: =item #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I B<--exclude=>I" # type: textblock #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -4942,7 +5478,7 @@ # type: =item #. type: =item -#: dh_clean:71 +#: dh_clean:70 #, fuzzy #| msgid "I ..." msgid "I ..." @@ -4950,14 +5486,14 @@ # type: textblock #. type: textblock -#: dh_clean:73 +#: dh_clean:72 #, fuzzy #| msgid "Delete these Is too." msgid "Delete these Is too." msgstr "Borra también estos I." #. type: textblock -#: dh_clean:75 +#: dh_clean:74 msgid "" "Note that directories passed as arguments B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -6009,8 +6545,7 @@ # type: textblock #. type: textblock #: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 -#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 -#: dh_installwm:68 dh_usrlocal:62 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -6072,8 +6607,7 @@ msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" "De forma opcional, puede definir un fichero F de la fuente de " "software original. Si no se define, busca ficheros con nombres que indican " @@ -6081,7 +6615,7 @@ "compatibilidad y superior)." #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< usr/share/" @@ -6090,57 +6624,60 @@ "Note that B does I look into any source directory " "(such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" # type: textblock #. type: textblock -#: dh_installchangelogs:39 +#: dh_installchangelogs:40 #, fuzzy #| msgid "" -#| "Automatically installed into usr/share/doc/I/ in the package " -#| "build directory." -msgid "" -"If there is an upstream F file, it will be installed as F in the package build directory." -msgstr "" -"Automáticamente instalado en «usr/share/doc/I/» en el directorio de " -"construcción del paquete." - -#. type: textblock -#: dh_installchangelogs:42 +#| "If there is an upstream F file, it will be be installed as " +#| "F in the package build directory. If the " +#| "changelog is a F file (determined by file extension), it will be " +#| "installed as F instead, and will be " +#| "converted to plain text with B to generate F." msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." -msgstr "" +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." +msgstr "" +"Si existe, el fichero F del desarrollador original se instalará " +"en F en el directorio de construcción del " +"paquete. Si el fichero de cambios es un fichero F (determinado por la " +"extensión), se instalará en F, y será " +"convertido a texto simple utilizando B para generar F." #. type: =item -#: dh_installchangelogs:53 +#: dh_installchangelogs:51 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "debian/I.changelog" #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "debian/I.NEWS" # type: textblock #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." @@ -6149,7 +6686,7 @@ "construcción del paquete." #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." @@ -6158,7 +6695,7 @@ "F o F diferente." #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -6170,7 +6707,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " "by installing the upstream changelog as F, and making a symlink " @@ -6187,7 +6724,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." @@ -6196,19 +6733,19 @@ "principal que contengan I en alguna parte de su nombre." #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" # type: =item #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "I" # type: textblock #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "" "Instala este fichero como el fichero de cambios del desarrollador principal." @@ -8217,19 +8754,19 @@ # type: textblock #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 #, fuzzy #| msgid "L, L" msgid "L, L" msgstr "L, L" #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "Steve Langasek " #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "" @@ -8274,11 +8811,10 @@ #| "needed to interface with the Debian B package. These commands are " #| "inserted into the maintainer scripts by L." msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." msgstr "" "Además, genera automáticamente las órdenes de F y F " "necesarias para interactuar con el paquete del B de Debian. Estas " @@ -8301,15 +8837,43 @@ "initramfs hooks." msgstr "" +#. type: textblock +#: dh_installinitramfs:49 +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." +msgstr "" + +#. type: textblock +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" + # type: textblock #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." -msgstr "No modifica los scripts F/F." +#: dh_installinitramfs:62 +#, fuzzy +#| 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." +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 triggers file." +msgstr "" +"Esta orden no es idempotente. Debería invocar L entre cada " +"invocación de esta orden. De otro modo, puede causar que los scripts del " +"desarrollador contengan partes duplicadas." # type: textblock #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:93 #, fuzzy #| msgid "L L L" msgid "L L L" @@ -8873,6 +9437,12 @@ # type: textblock #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "No modifica los scripts F/F." + +# type: textblock +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "L L L" @@ -9770,11 +10340,11 @@ #: dh_makeshlibs:36 msgid "" "If you previously used B<--add-udeb> and is considering to migrate to using " -"the new auto-detection feature in 12.3, then please remember " -"to test that the resulting F files are as expected. There " -"are some known corner cases, where the auto-detection is insufficient. " -"These include when the udeb contains library files from multiple regular deb " -"packages or when the packages do not follow the expected naming convention." +"the new auto-detection feature in 12.3, then please remember to test that " +"the resulting F files are as expected. There are some known " +"corner cases, where the auto-detection is insufficient. These include when " +"the udeb contains library files from multiple regular deb packages or when " +"the packages do not follow the expected naming convention." msgstr "" #. type: =item @@ -11622,6 +12192,30 @@ "Este nivel de compatibilidad aún está en desarrollo, utilícelo con " "precaución." +# type: textblock +#, fuzzy +#~| msgid "" +#~| "B (or \"B\") should be the last debhelper command " +#~| "run in the B target in F." +#~ msgid "" +#~ "B should be the last debhelper command run in the B " +#~ "target in F." +#~ msgstr "" +#~ "B (o B) debería ser la última orden de debhelper a " +#~ "ejecutar en el objetivo B en F." + +# type: textblock +#, fuzzy +#~| msgid "" +#~| "Automatically installed into usr/share/doc/I/ in the package " +#~| "build directory." +#~ msgid "" +#~ "If there is an upstream F file, it will be installed as F in the package build directory." +#~ msgstr "" +#~ "Automáticamente instalado en «usr/share/doc/I/» en el directorio " +#~ "de construcción del paquete." + # type: =item #~ msgid "B<--ignore=>I" #~ msgstr "B<--ignore=>I" @@ -12144,10 +12738,6 @@ #~ "suidmanager; en caso contrario, puede simplemente eliminar la invocación " #~ "a este programa de su fichero «rules»." -# type: =item -#~ msgid "B<--parallel>" -#~ msgstr "B<--parallel>" - # type: verbatim #~ msgid "" #~ " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -12310,22 +12900,6 @@ #~ msgid "most ideas stolen from Brendan O'Dea " #~ msgstr "muchas de las ideas tomadas de Brendan O'Dea " -# type: textblock -#~ msgid "" -#~ "If there is an upstream F file, it will be be installed as " -#~ "F in the package build directory. If the " -#~ "changelog is a F file (determined by file extension), it will be " -#~ "installed as F instead, and will be " -#~ "converted to plain text with B to generate F." -#~ msgstr "" -#~ "Si existe, el fichero F del desarrollador original se " -#~ "instalará en F en el directorio de " -#~ "construcción del paquete. Si el fichero de cambios es un fichero F " -#~ "(determinado por la extensión), se instalará en F, y será convertido a texto simple utilizando B " -#~ "para generar F." - #~ msgid "None yet.." #~ msgstr "Ninguno hasta ahora.." diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/fr.po debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/fr.po --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/fr.po 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/fr.po 2020-09-13 17:38:16.000000000 +0000 @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: debhelper manpages\n" -"POT-Creation-Date: 2020-04-15 15:35+0200\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" "PO-Revision-Date: 2019-01-18 13:58+0100\n" "Last-Translator: Baptiste Jammet \n" "Language-Team: French \n" @@ -148,10 +148,17 @@ #. type: textblock #: debhelper.pod:31 -msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +#, fuzzy +#| msgid "" +#| "Except where tool explicitly denotes otherwise, all of the debhelper " +#| "tools assumes that they run from root directory of an unpacked source " +#| "package. This is so they can locate find files like F " +#| "when needed." +msgid "" +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" "Sauf lorsque l'outil explicite le contraire, tous les outils debhelper sont " "prévus pour être exécutés dans le répertoire racine d'un paquet source " @@ -337,12 +344,84 @@ #: debhelper.pod:106 msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" +msgstr "" + +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" +msgstr "*" + +#. type: textblock +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "" + +#. type: textblock +#: debhelper.pod:117 +msgid "dh_install" +msgstr "" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" +msgstr "" + +#. type: textblock +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" msgstr "" #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " @@ -351,38 +430,38 @@ msgstr "" #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." msgstr "" #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" msgstr "" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to I)." msgstr "" #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." msgstr "" #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " @@ -390,19 +469,19 @@ msgstr "" #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" msgstr "" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -413,43 +492,43 @@ msgstr "" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." msgstr "" #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." msgstr "" #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character (e." "g. space) where it would otherwise be stripped or used as a separator." msgstr "" #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" msgstr "" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." msgstr "" #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " @@ -457,12 +536,12 @@ msgstr "" #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" msgstr "" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " @@ -472,12 +551,12 @@ # type: textblock #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 msgid "Executable debhelper config files" msgstr "Fichiers de configuration de l'exécutable debhelper." #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools (e.g. " "L) support executing a config file as a script." @@ -487,7 +566,7 @@ "de configuration comme un script." #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -502,7 +581,7 @@ "conserver la majorité de la syntaxe originale tout en gagnant en flexibilité." #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" @@ -510,13 +589,8 @@ "Lorsque vous utilisez des fichiers de configuration exécutables de " "debhelper, veuillez vous souvenir des choses suivantes :" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "*" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." @@ -525,7 +599,7 @@ "code de retour doit l'indiquer)." #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " @@ -534,7 +608,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:204 +#: debhelper.pod:259 #, fuzzy #| msgid "" #| "The output will be used exactly as it is. Notably, debhelper will I " @@ -548,7 +622,7 @@ "sortie." #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -560,26 +634,26 @@ # type: =head1 #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "OPTIONS PARTAGÉES DE DEBHELPER" # type: textblock #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "" "The following command line options are supported by all debhelper programs." msgstr "Tous les programmes de debhelper acceptent les options suivantes." # type: =item #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" # type: textblock #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -588,13 +662,13 @@ # type: =item #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "B<--no-act>" # type: textblock #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -605,13 +679,13 @@ # type: =item #. type: =item -#: debhelper.pod:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" # type: textblock #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." @@ -620,25 +694,25 @@ # type: =item #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" # type: textblock #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "Construit tous les paquets indépendants de l'architecture." # type: =item #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" # type: textblock #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -648,29 +722,29 @@ # type: =item #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "Alias obsolète pour B<-a>." #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "Cette option est supprimée dans le niveau de compatibilité 12." # type: =item #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" # type: textblock #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." @@ -680,12 +754,12 @@ # type: =item #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "B<--remaining-packages>" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -703,13 +777,13 @@ # type: =item #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" # type: textblock #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "" "Use I for package build directory. The default is debian/I" msgstr "" @@ -718,13 +792,13 @@ # type: =item #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" # type: textblock #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -738,12 +812,12 @@ "fichier F." #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I/examples>>)." #. type: textblock -#: debhelper.pod:973 +#: debhelper.pod:1034 msgid "" "The standard sequence in B now includes B and " "B by default. This makes the B and " @@ -2273,7 +2357,7 @@ "vides pour elles dans F (par exemple I)." #. type: textblock -#: debhelper.pod:982 +#: debhelper.pod:1043 msgid "" "The build systems B and B no longer explicitly set the B<--" "libexecdir> variable and thus relies on the build system default - which " @@ -2285,7 +2369,7 @@ "FHS 3.0, adoptée dans la Charte Debian 4.1.5)." #. type: textblock -#: debhelper.pod:987 +#: debhelper.pod:1048 msgid "" "If a particular upstream package does not use the correct default, the " "parameter can often be passed manually via L. E.g. " @@ -2297,7 +2381,7 @@ # type: verbatim #. type: verbatim -#: debhelper.pod:991 +#: debhelper.pod:1052 #, no-wrap msgid "" " override_dh_auto_configure:\n" @@ -2309,12 +2393,12 @@ "\n" #. type: textblock -#: debhelper.pod:994 +#: debhelper.pod:1055 msgid "Note the B<--> before the B<--libexecdir> parameter." msgstr "Remarquez le B<--> avant le paramètre B<--libexecdir>." #. type: textblock -#: debhelper.pod:998 +#: debhelper.pod:1059 msgid "" "The B tool no longer installs the maintainer provided " "F file. The file has mostly been obsolete since compatibility " @@ -2327,7 +2411,7 @@ "F résultant du fichier control." #. type: textblock -#: debhelper.pod:1005 +#: debhelper.pod:1066 msgid "" "The B tool no longer relies on B for " "handling systemd services that have a sysvinit alternative. Both tools must " @@ -2340,7 +2424,7 @@ "est démarré correctement, à la fois avec systemd et sysvinit." #. type: textblock -#: debhelper.pod:1010 +#: debhelper.pod:1071 msgid "" "If you have an override for B (e.g. to call it with B<--no-" "start>) then you will probably need one for B as well now." @@ -2350,7 +2434,7 @@ "B aussi." #. type: textblock -#: debhelper.pod:1014 +#: debhelper.pod:1075 msgid "" "This change makes B inject a I for B<< " "init-system-helpers (>= 1.54~) >>. Please ensure that the package lists B<" @@ -2363,7 +2447,7 @@ "avant de mettre à niveau vers la compat 12." #. type: textblock -#: debhelper.pod:1021 +#: debhelper.pod:1082 msgid "" "The third-party B tool (from B package) now defaults " "on honoring B variable for source installation in -dev " @@ -2379,7 +2463,7 @@ "plus de détails et des exemples." #. type: textblock -#: debhelper.pod:1029 +#: debhelper.pod:1090 msgid "" "B is now included in the B standard sequence by " "default." @@ -2388,7 +2472,7 @@ "B standard." #. type: textblock -#: debhelper.pod:1034 +#: debhelper.pod:1095 msgid "" "The B buildsystem is now removed. Please use the third-" "party build system B instead." @@ -2397,24 +2481,24 @@ "utiliser le système tiers B à la place." #. type: =item -#: debhelper.pod:1039 +#: debhelper.pod:1100 msgid "v13" msgstr "v13" # type: textblock #. type: textblock -#: debhelper.pod:1041 +#: debhelper.pod:1102 msgid "This is the recommended mode of operation." msgstr "C'est la version dont l'usage est recommandé." # type: textblock #. type: textblock -#: debhelper.pod:1043 +#: debhelper.pod:1104 msgid "Changes from v12 are:" msgstr "Les changements par rapport à la version 12 sont :" #. type: textblock -#: debhelper.pod:1049 +#: debhelper.pod:1110 msgid "" "The B build system now uses B instead of B when running the test suite. Any override of B that " @@ -2428,7 +2512,7 @@ "test>." #. type: textblock -#: debhelper.pod:1057 +#: debhelper.pod:1118 msgid "" "All debhelper like tools based on the official debhelper library (including " "B and the official B tools) no longer accepts abbreviated command " @@ -2437,7 +2521,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1065 +#: debhelper.pod:1126 msgid "" "The ELF related debhelper tools (B, B, B, " "B) are now only run for arch dependent packages by default (i." @@ -2447,7 +2531,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1074 +#: debhelper.pod:1135 msgid "" "The third-party B build system (from B " "package) now runs the upstream-provided test suite automatically. To " @@ -2455,7 +2539,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1080 +#: debhelper.pod:1141 msgid "" "The B tool now aborts if it sees conflicting definitions of a " "manpage. This typically happens if the upstream build system is installing " @@ -2466,16 +2550,21 @@ msgstr "" #. type: textblock -#: debhelper.pod:1090 +#: debhelper.pod:1151 msgid "" "The B helpers now resets the environment variables B and " -"common B variable. B and B are each set to a " -"distinct writable directory. The rest of the environment variables are " -"cleared." +"common B variable. Please see description of the environment " +"variables in L for how this handled." +msgstr "" + +#. type: textblock +#: debhelper.pod:1155 +msgid "" +"I" msgstr "" #. type: textblock -#: debhelper.pod:1097 +#: debhelper.pod:1159 msgid "" "The B command will now error if an override or hook target for an " "obsolete command are present in F (e.g. " @@ -2483,7 +2572,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1103 +#: debhelper.pod:1165 msgid "" "The B command will now default to B<--fail-missing>. This can " "be reverted to a non-fatal warning by explicitly passing B<--list-missing> " @@ -2491,7 +2580,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1107 +#: debhelper.pod:1169 msgid "" "If you do not want the warning either, please omit the call to " "B. If you use the B command sequencer, then you can do this " @@ -2500,7 +2589,7 @@ msgstr "" #. type: verbatim -#: debhelper.pod:1112 +#: debhelper.pod:1174 #, no-wrap msgid "" " # Disable dh_missing\n" @@ -2509,7 +2598,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1117 +#: debhelper.pod:1179 msgid "" "The B command sequencer now runs B in the default " "sequence. The B takes over handling of tmpfiles.d " @@ -2518,14 +2607,14 @@ msgstr "" #. type: textblock -#: debhelper.pod:1122 +#: debhelper.pod:1184 msgid "" "Note that B responds to F<< debian/I.tmpfiles " ">> where B used a name without the trailing \"s\"." msgstr "" #. type: textblock -#: debhelper.pod:1128 +#: debhelper.pod:1190 msgid "" "Many B tools now support limited variable expansion via the B<${foo}> " "syntax. In many cases, this can be used to reference paths that contain " @@ -2536,7 +2625,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1135 +#: debhelper.pod:1197 msgid "" "Please see L for syntax and " "available substitution variables. To B tool writers, substitution " @@ -2545,7 +2634,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1142 +#: debhelper.pod:1204 msgid "" "The B command sequencer will now skip all hook and override targets for " "B, B and B when B lists " @@ -2553,7 +2642,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1146 +#: debhelper.pod:1208 msgid "" "Any package relying on these targets to always be run should instead move " "relevant logic out of those targets. E.g. non-test related packaging code " @@ -2562,7 +2651,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1153 +#: debhelper.pod:1215 msgid "" "The B buildsystem now passes B<-" "DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> to L to speed up automatic " @@ -2571,7 +2660,7 @@ msgstr "" #. type: verbatim -#: debhelper.pod:1157 +#: debhelper.pod:1219 #, no-wrap msgid "" " dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ...\n" @@ -2579,25 +2668,59 @@ msgstr "" #. type: =item -#: debhelper.pod:1161 +#: debhelper.pod:1223 #, fuzzy #| msgid "v1" msgid "v14" msgstr "v1" #. type: textblock -#: debhelper.pod:1163 strings-kept-translations.pod:9 +#: debhelper.pod:1225 strings-kept-translations.pod:9 msgid "" "This compatibility level is still open for development; use with caution." msgstr "" "Ce niveau de compatibilité est encore en développement ; à utiliser avec " "précaution." +# type: textblock +#. type: textblock +#: debhelper.pod:1227 +#, fuzzy +#| msgid "Changes from v3 are:" +msgid "Changes from v13 are:" +msgstr "Les changements par rapport à la version 3 sont :" + +#. type: textblock +#: debhelper.pod:1233 +#, fuzzy +#| msgid "" +#| "The B buildsystem now passes B<-DCMAKE_INSTALL_RUNSTATEDIR=/run> " +#| "to L." +msgid "" +"The B buildsystem now passes B<-DCMAKE_SKIP_RPATH=ON> and B<-" +"DBUILD_RPATH_USE_ORIGIN=ON> to L to avoid some reproducibility " +"issues." +msgstr "" +"Le système de construction B passe maintenant l'option B<-" +"DCMAKE_INSTALL_RUNSTATEDIR=/run> à L." + +#. type: textblock +#: debhelper.pod:1237 +msgid "" +"This can cause issues with running binaries directly from the build " +"directories as they might now require a manually set B. If " +"you need to override this change, we recommend that you try to pass the B<-" +"DCMAKE_SKIP_RPATH=OFF> option first to see if that fixes the problem " +"(leaving B at its new default). This should undo " +"the need for B and avoid the reproducibility issues on " +"Linux, where B<$ORIGIN> is supported by the runtime linkers." +msgstr "" + # type: =head1 #. type: =head1 -#: debhelper.pod:1167 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 +#: debhelper.pod:1249 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 #: dh_installdocs:195 dh_installemacsen:75 dh_installexamples:92 -#: dh_installinit:205 dh_installinitramfs:53 dh_installman:131 +#: dh_installinit:205 dh_installinitramfs:60 dh_installman:131 #: dh_installmodules:57 dh_installudev:50 dh_installwm:66 dh_installxfonts:40 #: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104 #: dh_systemd_start:68 @@ -2606,13 +2729,13 @@ # type: =head2 #. type: =head2 -#: debhelper.pod:1169 +#: debhelper.pod:1251 msgid "Multiple binary package support" msgstr "Prise en charge de plusieurs paquets binaires" # type: textblock #. type: textblock -#: debhelper.pod:1171 +#: debhelper.pod:1253 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 " @@ -2632,7 +2755,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1179 +#: debhelper.pod:1261 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<-" @@ -2647,7 +2770,7 @@ "paquets énumérés dans le fichier de contrôle, avec les exceptions ci-dessous." #. type: textblock -#: debhelper.pod:1185 +#: debhelper.pod:1267 msgid "" "First, any package whose B field in B does not " "match the B architecture will be excluded (L)." #. type: textblock -#: debhelper.pod:1189 +#: debhelper.pod:1271 msgid "" "Also, some additional packages may be excluded based on the contents of the " "B environment variable and B fields in " @@ -2672,12 +2795,12 @@ "BuildProfileSpec>)." #. type: =head3 -#: debhelper.pod:1194 +#: debhelper.pod:1276 msgid "Interaction between package selections and Build-Profiles" msgstr "Interaction entre les sélections de paquets et les Build-Profiles" #. type: textblock -#: debhelper.pod:1196 +#: debhelper.pod:1278 msgid "" "Build-Profiles affect which packages are included in the package selections " "mechanisms in debhelper. Generally, the package selections are described " @@ -2692,14 +2815,14 @@ "paquet est désactivé par un profil de construction (ou par son absence)." #. type: =item -#: debhelper.pod:1204 +#: debhelper.pod:1286 msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)" msgstr "" "B<-a>/B<--arch>, B<-i>/B<--indep> ou aucune option de sélection (un simple " "appel « dh_X »)" #. type: textblock -#: debhelper.pod:1206 +#: debhelper.pod:1288 msgid "" "The package disabled by Build-Profiles is silently excluded from the " "selection." @@ -2707,7 +2830,7 @@ "Le paquet désactivé par le profil est silencieusement exclu de la sélection." #. type: textblock -#: debhelper.pod:1209 +#: debhelper.pod:1291 msgid "" "Note you will receive a warning if I packages related to these " "selections are disabled. In that case, it generally does not make sense to " @@ -2719,28 +2842,28 @@ # type: =item #. type: =item -#: debhelper.pod:1213 +#: debhelper.pod:1295 msgid "-N I / --no-package I" msgstr "B<-N> I / B<--no-package> I" #. type: textblock -#: debhelper.pod:1215 +#: debhelper.pod:1297 msgid "The option is accepted and effectively does nothing." msgstr "Cette option est acceptée et ne fait rien." # type: =item #. type: =item -#: debhelper.pod:1217 +#: debhelper.pod:1299 msgid "-p I / --package I" msgstr "B<-p> I / B<--package> I" #. type: textblock -#: debhelper.pod:1219 +#: debhelper.pod:1301 msgid "The option is accepted, but debhelper will not act on the package." msgstr "Cette option est acceptée, mais debhelper n'agira pas sur le paquet." #. type: textblock -#: debhelper.pod:1223 +#: debhelper.pod:1305 msgid "" "Note that it does not matter whether a package is enabled or disabled by " "default." @@ -2750,13 +2873,13 @@ # type: =head2 #. type: =head2 -#: debhelper.pod:1226 +#: debhelper.pod:1308 msgid "Automatic generation of Debian install scripts" msgstr "Génération automatique des scripts Debian d’installation" # type: textblock #. type: textblock -#: debhelper.pod:1228 +#: debhelper.pod:1310 msgid "" "Some debhelper commands will automatically generate parts of Debian " "maintainer scripts. If you want these automatically generated things " @@ -2774,7 +2897,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1235 +#: debhelper.pod:1317 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." @@ -2784,7 +2907,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1238 +#: debhelper.pod:1320 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." @@ -2795,7 +2918,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1241 +#: debhelper.pod:1323 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 " @@ -2809,7 +2932,7 @@ "la commande set) :" #. type: verbatim -#: debhelper.pod:1246 +#: debhelper.pod:1328 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -2842,13 +2965,13 @@ # type: =head2 #. type: =head2 -#: debhelper.pod:1259 +#: debhelper.pod:1341 msgid "Automatic generation of miscellaneous dependencies." msgstr "Génération automatique des diverses dépendances." # type: textblock #. type: textblock -#: debhelper.pod:1261 +#: debhelper.pod:1343 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -2868,7 +2991,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1269 +#: debhelper.pod:1351 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called B<" @@ -2883,7 +3006,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1274 +#: debhelper.pod:1356 msgid "" "This is entirely independent of the standard B<${shlibs:Depends}> generated " "by L, and the B<${perl:Depends}> generated by " @@ -2897,13 +3020,13 @@ # type: =head2 #. type: =head2 -#: debhelper.pod:1279 +#: debhelper.pod:1361 msgid "Package build directories" msgstr "Répertoires de construction du paquet" # type: textblock #. type: textblock -#: debhelper.pod:1281 +#: debhelper.pod:1363 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/I." @@ -2914,7 +3037,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1284 +#: debhelper.pod:1366 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the B<-P> flag. For example, \"B" @@ -2934,13 +3057,13 @@ # type: =head2 #. type: =head2 -#: debhelper.pod:1292 +#: debhelper.pod:1374 msgid "udebs" msgstr "udebs" # type: textblock #. type: textblock -#: debhelper.pod:1294 +#: debhelper.pod:1376 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"B\" to the package's stanza in F. " @@ -2959,18 +3082,31 @@ # type: =head1 #. type: =head1 -#: debhelper.pod:1301 +#: debhelper.pod:1383 msgid "ENVIRONMENT" msgstr "VARIABLES D'ENVIRONNEMENT" #. type: textblock -#: debhelper.pod:1303 +#: debhelper.pod:1385 msgid "" -"The following environment variables can influence the behavior of " -"debhelper. It is important to note that these must be actual environment " -"variables in order to function properly (not simply F variables). " -"To specify them properly in F, be sure to \"B\" them. " -"For example, \"B\"." +"This section describes some of the environment variables that influences the " +"behaviour of debhelper or which debhelper interacts with." +msgstr "" + +#. type: textblock +#: debhelper.pod:1388 +#, fuzzy +#| msgid "" +#| "The following environment variables can influence the behavior of " +#| "debhelper. It is important to note that these must be actual environment " +#| "variables in order to function properly (not simply F " +#| "variables). To specify them properly in F, be sure to " +#| "\"B\" them. For example, \"B\"." +msgid "" +"It is important to note that these must be actual environment variables in " +"order to affect the behaviour of debhelper (not simply F " +"variables). To specify them properly in F, be sure to " +"\"B\" them. For example, \"B\"." msgstr "" "Les variables d'environnement suivantes peuvent influencer le comportement " "de debhelper. Il est important de noter que celles-ci doivent être des " @@ -2981,13 +3117,13 @@ # type: =item #. type: =item -#: debhelper.pod:1311 +#: debhelper.pod:1395 msgid "B" msgstr "B" # type: textblock #. type: textblock -#: debhelper.pod:1313 +#: debhelper.pod:1397 msgid "" "Set to B<1> to enable verbose mode. Debhelper will output every command it " "runs. Also enables verbose build logs for some build systems like autoconf." @@ -2998,12 +3134,12 @@ # type: =item #. type: =item -#: debhelper.pod:1316 +#: debhelper.pod:1400 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1318 +#: debhelper.pod:1402 msgid "" "Set to B<1> to enable quiet mode. Debhelper will not output commands calling " "the upstream build system nor will dh print which subcommands are called and " @@ -3021,13 +3157,13 @@ # type: =item #. type: =item -#: debhelper.pod:1325 +#: debhelper.pod:1409 msgid "B" msgstr "B" # type: textblock #. type: textblock -#: debhelper.pod:1327 +#: debhelper.pod:1411 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value specified via Build-Depends on debhelper-compat or via " @@ -3039,24 +3175,24 @@ # type: =item #. type: =item -#: debhelper.pod:1331 +#: debhelper.pod:1415 msgid "B" msgstr "B" # type: textblock #. type: textblock -#: debhelper.pod:1333 +#: debhelper.pod:1417 msgid "Set to B<1> to enable no-act mode." msgstr "Mettre cette variable à B<1> pour activer le mode simulation (no-act)." # type: =item #. type: =item -#: debhelper.pod:1335 +#: debhelper.pod:1419 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1337 +#: debhelper.pod:1421 msgid "" "All debhelper tools will parse command line arguments listed in this " "variable before any command option (as if they had been prepended to the " @@ -3065,7 +3201,7 @@ msgstr "" #. type: textblock -#: debhelper.pod:1342 +#: debhelper.pod:1426 msgid "" "When using L, it can be passed options that will be passed on to each " "debhelper command, which is generally better than using DH_OPTIONS." @@ -3075,13 +3211,13 @@ # type: =item #. type: =item -#: debhelper.pod:1345 +#: debhelper.pod:1429 msgid "B" msgstr "B" # type: textblock #. type: textblock -#: debhelper.pod:1347 +#: debhelper.pod:1431 msgid "" "If set, this adds the value the variable is set to to the B<-X> options of " "all commands that support the B<-X> option. Moreover, B will " @@ -3094,7 +3230,7 @@ # type: textblock #. type: textblock -#: debhelper.pod:1351 +#: debhelper.pod:1435 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting B will prevent any CVS directories from " @@ -3111,145 +3247,392 @@ "B dans F, pour que cette variable soit " "prise en compte quel que soit l'endroit où le paquet est construit." -# type: textblock +# type: textblock +#. type: textblock +#: debhelper.pod:1442 +msgid "" +"Multiple things to exclude can be separated with colons, as in " +"B" +msgstr "" +"Des exclusions multiples peuvent être séparées avec des caractères deux " +"points, comme dans F." + +# type: =item +#. type: =item +#: debhelper.pod:1445 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1447 +msgid "" +"If set, this adds the specified dh addons to be run in the appropriate " +"places in the sequence of commands. This is equivalent to specifying the " +"addon to run with the --with flag in the debian/rules file. Any --without " +"calls specifying an addon in this environment variable will not be run." +msgstr "" +"Les rajouts à B indiqués seront exécutés lors de la séquence de " +"commandes. Cela équivaut à les indiquer avec le drapeau B<--with> dans le " +"fichier F. Les rajouts précédés de B<--without> ne seront pas " +"exécutés, même s'ils sont indiqués dans cette variable d'environnement." + +#. type: textblock +#: debhelper.pod:1452 +msgid "" +"This is intended to be used by downstreams or specific local configurations " +"that require a debhelper addon to be run during multiple builds without " +"having to patch a large number of rules file. If at all possible, this " +"should be avoided in favor of a --with flag in the rules file." +msgstr "" +"Cela est prévu pour être utilisé par les dérivées ou les configurations " +"locales spécifiques qui ont besoin d'un rajout lors de plusieurs " +"construction, sans avoir à modifier un grand nombre de fichier F. Il " +"est préférable d'éviter cette méthode et d'utiliser plutôt les drapeaux B<--" +"with> dans le fichier F." + +#. type: =item +#: debhelper.pod:1457 +msgid "B, B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1459 +msgid "" +"These variables can be used to control whether debhelper commands should use " +"colors in their textual output. Can be set to \"always\", \"auto\" (the " +"default), or \"never\"." +msgstr "" + +#. type: textblock +#: debhelper.pod:1463 +msgid "" +"Note that B also affects a number of dpkg related tools and " +"debhelper uses it on the assumption that you want the same color setting for " +"dpkg and debhelper. In the off-hand chance you want different color setting " +"for debhelper, you can use B instead or in addition to " +"B." +msgstr "" + +#. type: =item +#: debhelper.pod:1469 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1471 +msgid "" +"If no explicit request for color has been given (e.g. B and " +"B are both unset), the presence of this environment variable " +"cause the default color setting to be \"never\"." +msgstr "" + +#. type: textblock +#: debhelper.pod:1475 +msgid "" +"The variable is defined according to L. In this " +"project, the environment variables (such as B) are considered an " +"explicit request for color." +msgstr "" + +#. type: =item +#: debhelper.pod:1479 +msgid "" +"B, B, B, B, B, " +"B, B, B, B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1481 +msgid "" +"By default (in any non-deprecated compat level), debhelper will " +"automatically set these flags by using L, when they are " +"unset. If you need to change the default flags, please use the features " +"from L to do this (e.g. " +"B or B) rather than setting the concrete variable directly." +msgstr "" + +#. type: =item +#: debhelper.pod:1488 +msgid "B, B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1490 +msgid "" +"In compat 13 and later, these environment variables are reset before " +"invoking the upstream build system via the B helpers. The " +"variables B (all B helpers)and B " +"(B only) will be set to a writable directory. All remaining " +"variables and B (except for during B) will be " +"cleared." +msgstr "" + +#. type: textblock +#: debhelper.pod:1496 +msgid "" +"The B directory will be created as an empty directory but it will be " +"reused between calls to B. Any content will persist until " +"explicitly deleted or B." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:1500 +#, fuzzy +#| msgid "B" +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1502 +msgid "" +"Please see L for this environment " +"variable." +msgstr "" + +#. type: textblock +#: debhelper.pod:1505 +msgid "" +"Please note that this variable should I be altered by package " +"maintainers inside F to change the behaviour of debhelper. " +"Instead, where the package maintainer need these features, they should look " +"disabling the relevant feature directly (e.g. by overriding the concrete " +"tools)." +msgstr "" + +# type: =item +#. type: =item +#: debhelper.pod:1510 +#, fuzzy +#| msgid "B" +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1512 +msgid "" +"This is a dpkg specific environment variable (see e.g. L). The debhelper tool suite silently ignores it." +msgstr "" + +#. type: textblock +#: debhelper.pod:1515 +msgid "" +"It is documented here because it has a similar name to B, " +"which make some people mistakenly assume that debhelper will also react to " +"this variable." +msgstr "" + +#. type: =head2 +#: debhelper.pod:1521 +msgid "Supported flags in DEB_BUILD_OPTIONS" +msgstr "" + +#. type: textblock +#: debhelper.pod:1523 +msgid "" +"The debhelper tool suite reacts to the following flags in " +"B." +msgstr "" + +#. type: =item +#: debhelper.pod:1527 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1529 +msgid "I" +msgstr "" + +#. type: textblock +#: debhelper.pod:1531 +msgid "" +"When B is present and set to B, then " +"debhelper tools will promote deprecation warnings for usage of old soon to " +"be removed compat levels into errors." +msgstr "" + +#. type: textblock +#: debhelper.pod:1535 +msgid "" +"This is useful for automated checking for code relying on deprecated compat " +"levels that is scheduled for removal." +msgstr "" + +#. type: textblock +#: debhelper.pod:1538 +msgid "This option is intended for testing purposes; not production builds." +msgstr "" + +#. type: =item +#: debhelper.pod:1540 +msgid "B" +msgstr "" + +#. type: textblock +#: debhelper.pod:1542 debhelper.pod:1565 +msgid "" +"I" +msgstr "" + #. type: textblock -#: debhelper.pod:1358 +#: debhelper.pod:1546 msgid "" -"Multiple things to exclude can be separated with colons, as in " -"B" +"This value will cause the official debhelper tools will skip actions and " +"helpers that either remove, detach or deduplicate debugging symbols in ELF " +"binaries." +msgstr "" + +#. type: textblock +#: debhelper.pod:1550 +msgid "This value affects L and L." msgstr "" -"Des exclusions multiples peuvent être séparées avec des caractères deux " -"points, comme dans F." -# type: =item #. type: =item -#: debhelper.pod:1361 -msgid "B" -msgstr "B" +#: debhelper.pod:1552 +msgid "B" +msgstr "" #. type: textblock -#: debhelper.pod:1363 +#: debhelper.pod:1554 msgid "" -"If set, this adds the specified dh addons to be run in the appropriate " -"places in the sequence of commands. This is equivalent to specifying the " -"addon to run with the --with flag in the debian/rules file. Any --without " -"calls specifying an addon in this environment variable will not be run." +"This value will cause the official debhelper build systems to skip runs of " +"upstream test suites." msgstr "" -"Les rajouts à B indiqués seront exécutés lors de la séquence de " -"commandes. Cela équivaut à les indiquer avec le drapeau B<--with> dans le " -"fichier F. Les rajouts précédés de B<--without> ne seront pas " -"exécutés, même s'ils sont indiqués dans cette variable d'environnement." #. type: textblock -#: debhelper.pod:1368 +#: debhelper.pod:1557 msgid "" -"This is intended to be used by downstreams or specific local configurations " -"that require a debhelper addon to be run during multiple builds without " -"having to patch a large number of rules file. If at all possible, this " -"should be avoided in favor of a --with flag in the rules file." +"Package maintainers looking to avoid running the upstream tests should " +"B rely on this. Instead, they can add an empty override target to skip " +"B." +msgstr "" + +#. type: textblock +#: debhelper.pod:1561 +msgid "This value affects L." msgstr "" -"Cela est prévu pour être utilisé par les dérivées ou les configurations " -"locales spécifiques qui ont besoin d'un rajout lors de plusieurs " -"construction, sans avoir à modifier un grand nombre de fichier F. Il " -"est préférable d'éviter cette méthode et d'utiliser plutôt les drapeaux B<--" -"with> dans le fichier F." #. type: =item -#: debhelper.pod:1373 -msgid "B, B" +#: debhelper.pod:1563 +msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:1375 +#: debhelper.pod:1569 msgid "" -"These variables can be used to control whether debhelper commands should use " -"colors in their textual output. Can be set to \"always\", \"auto\" (the " -"default), or \"never\"." +"This value will cause several debhelper tools to skip installation of " +"documentation such as manpages or upstream provided documentation. " +"Additionally, the tools will also ignore if declared documentation is " +"\"missing\" on the assumption that the documentation has not been built." msgstr "" #. type: textblock -#: debhelper.pod:1379 +#: debhelper.pod:1574 msgid "" -"Note that B also affects a number of dpkg related tools and " -"debhelper uses it on the assumption that you want the same color setting for " -"dpkg and debhelper. In the off-hand chance you want different color setting " -"for debhelper, you can use B instead or in addition to " -"B." +"This value effects tools I L, which I it is " +"working with documentation." msgstr "" +# type: =item #. type: =item -#: debhelper.pod:1385 -msgid "B" -msgstr "" +#: debhelper.pod:1577 +#, fuzzy +#| msgid "B<--ddebs>, B<--no-ddebs>" +msgid "B, B" +msgstr "B<--ddebs>, B<--no-ddebs>" #. type: textblock -#: debhelper.pod:1387 +#: debhelper.pod:1579 msgid "" -"If no explicit request for color has been given (e.g. B and " -"B are both unset), the presence of this environment variable " -"cause the default color setting to be \"never\"." +"I" msgstr "" #. type: textblock -#: debhelper.pod:1391 +#: debhelper.pod:1582 msgid "" -"The variable is defined according to L. In this " -"project, the environment variables (such as B) are considered an " -"explicit request for color." +"This value causes debhelper to skip the generation of automatically " +"generated debug symbol packages." +msgstr "" + +#. type: textblock +#: debhelper.pod:1585 +msgid "This value affects L." msgstr "" +# type: =item #. type: =item -#: debhelper.pod:1395 +#: debhelper.pod:1587 +#, fuzzy +#| msgid "B<--parallel>" +msgid "B" +msgstr "B<--parallel>" + +#. type: textblock +#: debhelper.pod:1589 msgid "" -"B, B, B, B, B, " -"B, B, B, B" +"This value enables debhelper to use up to B threads or processes (subject " +"to parameters like B<--no-parallel> and B<--max-parallel=M>). Not all " +"debhelper tools work with parallel tasks and may silently ignore the request." msgstr "" #. type: textblock -#: debhelper.pod:1397 +#: debhelper.pod:1594 msgid "" -"By default (in any non-deprecated compat level), debhelper will " -"automatically set these flags by using L, when they are " -"unset. If you need to change the default flags, please use the features " -"from L to do this (e.g. " -"B or B) rather than setting the concrete variable directly." +"This value affects many debhelper tools. Most notably B, which " +"will attempt to run the underlying upstream build system with that number of " +"threads." msgstr "" #. type: =item -#: debhelper.pod:1404 -msgid "B, B" +#: debhelper.pod:1598 +msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:1406 +#: debhelper.pod:1600 msgid "" -"In compat 13 and later, these environment variables are reset before " -"invoking the upstream build system via the B helpers. The " -"variables B and B will be set to a writable " -"directory. The remaining variables will be cleared." +"This value will cause the official debhelper build systems to configure " +"upstream builds to be terse (i.e. reduce verbosity in their output). This " +"is subject to the upstream and the debhelper build system supporting such " +"features." msgstr "" #. type: textblock -#: debhelper.pod:1411 +#: debhelper.pod:1605 +msgid "This value affects most B tools." +msgstr "" + +#. type: textblock +#: debhelper.pod:1609 +msgid "Unknown flags are silently ignored." +msgstr "" + +#. type: textblock +#: debhelper.pod:1611 msgid "" -"The directories will be created as empty directories but they will be reused " -"between calls to B. Any content will persist until explicitly " -"deleted or B." +"Note third-party debhelper-like tools or third-party provided build systems " +"may or may not react to the above flags. This tends to depend on " +"implementation details of the tool." msgstr "" # type: =head1 #. type: =head1 -#: debhelper.pod:1417 debhelper-obsolete-compat.pod:118 dh:626 dh_auto_build:53 +#: debhelper.pod:1615 debhelper-obsolete-compat.pod:118 dh:732 dh_auto_build:53 #: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64 -#: dh_bugfiles:133 dh_builddeb:182 dh_clean:190 dh_compress:242 dh_dwz:161 +#: dh_bugfiles:133 dh_builddeb:182 dh_clean:189 dh_compress:242 dh_dwz:161 #: dh_fixperms:164 dh_gconf:105 dh_gencontrol:207 dh_icons:75 dh_install:377 -#: dh_installcatalogs:128 dh_installchangelogs:302 dh_installcron:78 +#: dh_installcatalogs:128 dh_installchangelogs:300 dh_installcron:78 #: dh_installdeb:412 dh_installdebconf:128 dh_installdirs:131 #: dh_installdocs:447 dh_installemacsen:138 dh_installexamples:178 -#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:425 -#: dh_installinitramfs:85 dh_installlogcheck:81 dh_installlogrotate:53 -#: dh_installman:411 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 +#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:430 +#: dh_installinitramfs:91 dh_installlogcheck:81 dh_installlogrotate:53 +#: dh_installman:417 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 #: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:102 #: dh_installwm:132 dh_installxfonts:90 dh_link:166 dh_lintian:60 #: dh_listpackages:34 dh_makeshlibs:456 dh_md5sums:117 dh_movefiles:161 @@ -3260,40 +3643,40 @@ # type: =item #. type: =item -#: debhelper.pod:1421 +#: debhelper.pod:1619 msgid "F" msgstr "F" # type: textblock #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "" "Un ensemble d'exemples de fichiers F qui utilisent debhelper." # type: =item #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 msgid "L" msgstr "L" # type: textblock #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "Le site internet de debhelper." # type: =head1 #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 #: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 -#: dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 #: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 -#: dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 #: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 #: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 -#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 -#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 #: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 #: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 #: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 @@ -3305,14 +3688,14 @@ # type: textblock #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 #: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 -#: dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 -#: dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 #: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 #: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 -#: dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 -#: dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 #: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 #: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 #: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 @@ -3527,14 +3910,14 @@ # type: textblock #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 #: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 -#: dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 #: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 -#: dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 #: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 #: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 -#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 #: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 #: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 #: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 @@ -3545,13 +3928,13 @@ # type: =head1 #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 #: dh_systemd_start:284 msgid "AUTHORS" msgstr "AUTEURS" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "Niels Thykier " @@ -3779,12 +4162,185 @@ "omission of a command name. But otherwise, the principle remains the same." msgstr "" +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" + # type: =head1 #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 -#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 #: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 -#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 #: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 #: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 #: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 @@ -3799,13 +4355,13 @@ # type: =item #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "B<--with> I[B<,>I ...]" # type: textblock #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -3822,7 +4378,7 @@ "de l'interface de ces rajouts." #. type: textblock -#: dh:124 +#: dh:229 #, fuzzy #| msgid "" #| "A B relation on the package BI " @@ -3853,7 +4409,7 @@ ">I | B » n'impliquera I B<--with> I)." #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via B or B are subject to additional limitations to ensure the result is " @@ -3874,12 +4430,12 @@ # type: =item #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "B<--without> I" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -3891,12 +4447,12 @@ # type: textblock #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "Liste tous les rajouts disponibles." #. type: textblock -#: dh:157 +#: dh:262 #, fuzzy #| msgid "" #| "When called only with this option, B can be called from any directory " @@ -3910,7 +4466,7 @@ "accès à des fichiers d'un paquet source)." #. type: textblock -#: dh:163 +#: dh:268 msgid "" "Prints commands that would run for a given sequence, but does not run them." msgstr "" @@ -3918,7 +4474,7 @@ "les exécuter." #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." @@ -3929,7 +4485,7 @@ # type: textblock #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -3941,14 +4497,14 @@ # type: =head1 #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 #: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "EXEMPLES" # type: textblock #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" @@ -3958,7 +4514,7 @@ # type: verbatim #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -3969,7 +4525,7 @@ # type: textblock #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." @@ -3979,7 +4535,7 @@ # type: verbatim #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3994,7 +4550,7 @@ # type: verbatim #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." @@ -4005,7 +4561,7 @@ # type: verbatim #. type: verbatim -#: dh:195 +#: dh:300 #, no-wrap msgid "" "\toverride_dh_strip:\n" @@ -4018,7 +4574,7 @@ # type: verbatim #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -4031,7 +4587,7 @@ # type: textblock #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -4044,7 +4600,7 @@ # type: verbatim #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -4057,7 +4613,7 @@ # type: verbatim #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -4070,7 +4626,7 @@ # type: textblock #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." @@ -4080,7 +4636,7 @@ # type: verbatim #. type: verbatim -#: dh:222 +#: dh:327 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -4099,7 +4655,7 @@ "\n" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." @@ -4107,7 +4663,7 @@ # type: verbatim #. type: verbatim -#: dh:233 +#: dh:338 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -4127,7 +4683,7 @@ "\n" #. type: textblock -#: dh:238 +#: dh:343 msgid "" "Python tools are not run by dh by default, due to the continual change in " "that area. Here is how to use B." @@ -4138,7 +4694,7 @@ # type: verbatim #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4153,7 +4709,7 @@ # type: textblock #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." @@ -4164,7 +4720,7 @@ # type: verbatim #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4179,7 +4735,7 @@ # type: textblock #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -4190,7 +4746,7 @@ # type: verbatim #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4204,7 +4760,7 @@ "\n" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." @@ -4215,7 +4771,7 @@ # type: verbatim #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4229,7 +4785,7 @@ "\n" #. type: textblock -#: dh:268 +#: dh:373 msgid "" "If your package can be built in parallel, please either use compat 10 or " "pass B<--parallel> to dh. Then B will work." @@ -4240,7 +4796,7 @@ # type: verbatim #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4254,7 +4810,7 @@ "\n" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> command):" @@ -4265,7 +4821,7 @@ # type: verbatim #. type: verbatim -#: dh:280 +#: dh:385 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4279,7 +4835,7 @@ "\n" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." @@ -4289,7 +4845,7 @@ "voulez pas lancer." #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -4301,7 +4857,7 @@ "\n" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -4314,7 +4870,7 @@ # type: verbatim #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -4326,7 +4882,7 @@ "\n" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -4339,7 +4895,7 @@ # type: verbatim #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -4351,7 +4907,7 @@ "\n" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -4364,7 +4920,7 @@ # type: verbatim #. type: verbatim -#: dh:315 +#: dh:420 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -4383,12 +4939,12 @@ "\n" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "FONCTIONNEMENT INTERNE" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." @@ -4397,7 +4953,7 @@ "ce qu'il y a sous le capot." #. type: textblock -#: dh:323 +#: dh:428 msgid "" "In compat 10 (or later), B creates a stamp file F after the build step(s) are complete to avoid re-running them. It is " @@ -4415,7 +4971,7 @@ "tant que « root » ou avec L)." #. type: textblock -#: dh:331 +#: dh:436 msgid "" "Inside an override target, B commands will create a log file F to keep track of which packages the command(s) have " @@ -4429,7 +4985,7 @@ # type: textblock #. type: textblock -#: dh:336 +#: dh:441 msgid "" "In compat 9 or earlier, each debhelper command will record when it's " "successfully run in F. (Which B " @@ -4445,7 +5001,7 @@ # type: textblock #. type: textblock -#: dh:341 +#: dh:446 #, fuzzy #| msgid "" #| "Each time B is run (in compat 9 or earlier), it examines the log, and " @@ -4465,7 +5021,7 @@ "modifier ce comportement (mais ont été supprimées dans la v10)." #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." @@ -4474,7 +5030,7 @@ "Par exemple, la suite « binary » exécute la cible « install »." #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -4489,7 +5045,7 @@ # type: textblock #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -4506,14 +5062,14 @@ # type: textblock #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 #: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 -#: dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 -#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 #: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 #: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 -#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 -#: dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 #: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 #: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 #: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 @@ -4945,8 +5501,8 @@ # type: =head1 #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 -#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 #: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 #: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 #: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 @@ -5166,16 +5722,30 @@ "B [S>] [B<-k>] [B<-d>] [B<-X>I<élément>] " "[S ...>]" +#. type: textblock +#: dh_clean:21 +msgid "" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" + # type: verbatim #. type: verbatim -#: dh_clean:21 -#, no-wrap +#: dh_clean:25 +#, fuzzy, no-wrap +#| msgid "" +#| "B is a debhelper program that is responsible for cleaning up after a\n" +#| "package is built. It removes the package build directories, and removes some\n" +#| "other files including F, and any detritus left behind by other\n" +#| "debhelper commands. It also removes common files that should not appear in a\n" +#| "Debian diff:\n" +#| " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" +#| "\n" msgid "" -"B is a debhelper program that is responsible for cleaning up after a\n" -"package is built. It removes the package build directories, and removes some\n" -"other files including F, and any detritus left behind by other\n" -"debhelper commands. It also removes common files that should not appear in a\n" -"Debian diff:\n" +"It removes the package build directories, and removes some other files including\n" +"F, and any detritus left behind by other debhelper commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" @@ -5188,7 +5758,7 @@ "\n" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." @@ -5196,30 +5766,20 @@ "Il n'exécute pas un « make clean » pour faire le ménage après la " "construction du paquet. Il faut utiliser L pour le faire." -# type: textblock -#. type: textblock -#: dh_clean:31 -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" -"B doit être la dernière commande debhelper exécutée dans le bloc " -"B du fichier F." - # type: =item #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "F" # type: textblock #. type: textblock -#: dh_clean:40 +#: dh_clean:39 msgid "Can list other paths to be removed." msgstr "Permet d'indiquer d'autres chemins à supprimer." #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -5228,7 +5788,7 @@ "terminer par un « slash ». Tout le contenu de ces répertoires sera supprimé." #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 #: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 #: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" @@ -5238,30 +5798,30 @@ # type: =item #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" # type: textblock #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "Ce paramètre est déconseillé. Utiliser L à la place." #. type: textblock -#: dh_clean:58 +#: dh_clean:57 msgid "The option is removed in compat 12." msgstr "L'option est supprimée dans le niveau de compatibilité 12." # type: =item #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" # type: textblock #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." @@ -5271,13 +5831,13 @@ # type: =item #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I<élément> B<--exclude=>I<élément>" # type: textblock #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -5290,18 +5850,18 @@ # type: =item #. type: =item -#: dh_clean:71 +#: dh_clean:70 msgid "I ..." msgstr "I ..." # type: textblock #. type: textblock -#: dh_clean:73 +#: dh_clean:72 msgid "Delete these Is too." msgstr "Supprime également les Is listés." #. type: textblock -#: dh_clean:75 +#: dh_clean:74 msgid "" "Note that directories passed as arguments B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -6357,8 +6917,7 @@ # type: textblock #. type: textblock #: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 -#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 -#: dh_installwm:68 dh_usrlocal:62 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -6414,11 +6973,16 @@ # type: textblock #. type: textblock #: dh_installchangelogs:24 +#, fuzzy +#| msgid "" +#| "An upstream F file may be specified as an option. If none is " +#| "specified, B may look for files with names that " +#| "seem likely to be changelogs as described in the next paragraphs " +#| "(assuming the package is using compatibility level 7 or above)." msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" "Un journal amont des modifications (upstream F) peut être indiqué " "en option. Si rien n'est indiqué, B cherche des " @@ -6426,7 +6990,17 @@ "dans les paragraphes suivants (à partir de la version 7)." #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 +#, fuzzy +#| msgid "" +#| "In non-native packages, B will first look for " +#| "changelog files installed by the upstream build system into F<< usr/share/" +#| "doc/I >> (of the package build directory) and rename the most " +#| "likely candidate (if any) to F<< usr/share/doc/I/changelog >>. " +#| "Note that B does I look into any source " +#| "directory (such as F). Otherwise, B (at " +#| "compatibility level 7 or any later) will look for changelog files in the " +#| "source directory (e.g. the root or the F subdirectory)." msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< usr/share/" @@ -6435,7 +7009,9 @@ "Note that B does I look into any source directory " "(such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" "Dans les paquets non natifs, B cherchera d'abord des " "changelogs installés dans le système de construction amont dans F<< usr/" @@ -6446,25 +7022,23 @@ "(à partir de la version 7) cherchera des fichiers journaux dans le " "répertoire source (par exemple la racine ou le sous-répertoire F)." -# type: textblock -#. type: textblock -#: dh_installchangelogs:39 -msgid "" -"If there is an upstream F file, it will be installed as F in the package build directory." -msgstr "" -"S'il y a un fichier F amont, il sera installé dans F du répertoire de construction du paquet." - #. type: textblock -#: dh_installchangelogs:42 +#: dh_installchangelogs:40 +#, fuzzy +#| msgid "" +#| "If the specified upstream changelog is an F file (determined by " +#| "file extension), it will be installed as F instead. If the html changelog is converted to plain " +#| "text, that variant can be specified as a second upstream changelog file. " +#| "When no plain text variant is specified, a short F is generated, pointing readers at the html changelog file." msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." msgstr "" "Si le fichier changelog amont est un fichier F (d'après son " "extension), il sera installé dans F à " @@ -6475,31 +7049,31 @@ # type: =item #. type: =item -#: dh_installchangelogs:53 +#: dh_installchangelogs:51 msgid "F" msgstr "F" # type: =item #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "F" # type: =item #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "debian/I.changelog" # type: =item #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "debian/I.NEWS" # type: textblock #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." @@ -6509,7 +7083,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." @@ -6519,7 +7093,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -6531,7 +7105,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " "by installing the upstream changelog as F, and making a symlink " @@ -6547,7 +7121,7 @@ # type: textblock #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." @@ -6556,20 +7130,20 @@ "où dans leur nom." #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" "Note : le nom de dossier du changelog fait aussi partie de la correspondance." # type: =item #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "I" # type: textblock #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "" "Installe ce fichier en tant que journal amont de suivi des modifications." @@ -8677,18 +9251,18 @@ # type: textblock #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 msgid "L, L" msgstr "L, L" # type: textblock #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "Steve Langasek " #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "Michael Stapelberg " @@ -8720,12 +9294,18 @@ # type: textblock #. type: textblock #: dh_installinitramfs:24 -msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." +#, fuzzy +#| msgid "" +#| "If B installs or (in compat 12 or later) detects one " +#| "or more initramfs hooks in the package, then it also automatically " +#| "generates the F and F commands needed to interface with " +#| "the Debian initramfs system. These commands are inserted into the " +#| "maintainer scripts by L." +msgid "" +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." msgstr "" "Si B installe ou (à partir de la version 12) détecte " "une ou plusieurs accroches pour initramfs dans le paquet, il produit " @@ -8753,17 +9333,54 @@ "du paquet. Consultez B dans L pour plus " "d'information à ce sujet." +#. type: textblock +#: dh_installinitramfs:49 +#, fuzzy +#| msgid "" +#| "Do not add the \"ldconfig\" trigger even if it seems like the package " +#| "might need it. The option is called B<--no-scripts> for historical " +#| "reasons as B would previously generate maintainer scripts " +#| "that called B." +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." +msgstr "" +"N'ajoutez pas l'action différée (« trigger ») même s'il semble que le paquet " +"en a besoin. L'option est nommée B<--no-scripts> pour des raisons " +"historiques car B générait précédemment un script de " +"maintenance qui appelait B." + +#. type: textblock +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" + # type: textblock #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." +#: dh_installinitramfs:62 +#, fuzzy +#| 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." +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 triggers file." msgstr "" -"Empêche la modification des scripts de maintenance du paquet F et " -"F." +"Nota : Ce programme n'est pas idempotent. Un L doit être réalisé " +"entre chaque exécution de ce programme. Sinon, il risque d'y avoir plusieurs " +"occurrences des mêmes lignes de code dans les scripts de maintenance du " +"paquet." # type: textblock #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:93 msgid "L L L" msgstr "L L L" @@ -9348,6 +9965,14 @@ # type: textblock #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "" +"Empêche la modification des scripts de maintenance du paquet F et " +"F." + +# type: textblock +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "L L L" @@ -10239,11 +10864,11 @@ #: dh_makeshlibs:36 msgid "" "If you previously used B<--add-udeb> and is considering to migrate to using " -"the new auto-detection feature in 12.3, then please remember " -"to test that the resulting F files are as expected. There " -"are some known corner cases, where the auto-detection is insufficient. " -"These include when the udeb contains library files from multiple regular deb " -"packages or when the packages do not follow the expected naming convention." +"the new auto-detection feature in 12.3, then please remember to test that " +"the resulting F files are as expected. There are some known " +"corner cases, where the auto-detection is insufficient. These include when " +"the udeb contains library files from multiple regular deb packages or when " +"the packages do not follow the expected naming convention." msgstr "" # type: =item @@ -12143,6 +12768,22 @@ "Ce niveau de compatibilité est en phase de test ; des changements peuvent " "encore survenir." +# type: textblock +#~ msgid "" +#~ "B should be the last debhelper command run in the B " +#~ "target in F." +#~ msgstr "" +#~ "B doit être la dernière commande debhelper exécutée dans le " +#~ "bloc B du fichier F." + +# type: textblock +#~ msgid "" +#~ "If there is an upstream F file, it will be installed as F in the package build directory." +#~ msgstr "" +#~ "S'il y a un fichier F amont, il sera installé dans F du répertoire de construction du paquet." + # type: =item #~ msgid "B<--ignore=>I" #~ msgstr "B<--ignore=>I" @@ -12968,10 +13609,6 @@ #~ "variable est seulement un garde-fou temporaire et sera supprimée une fois " #~ "l'archive prête." -# type: =item -#~ msgid "B<--parallel>" -#~ msgstr "B<--parallel>" - # type: verbatim #~ msgid "" #~ " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/ja.po debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/ja.po --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/ja.po 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/ja.po 2020-09-13 17:38:16.000000000 +0000 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: debhelper 9.20141107\n" -"POT-Creation-Date: 2020-04-15 15:35+0200\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" "PO-Revision-Date: 2016-09-17 20:45+0900\n" "Last-Translator: Hideki Yamane \n" "Language-Team: Debian JP Project \n" @@ -139,9 +139,10 @@ #. type: textblock #: debhelper.pod:31 msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" #. type: =head1 @@ -296,12 +297,84 @@ #: debhelper.pod:106 msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" +msgstr "" + +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" +msgstr "*" + +#. type: textblock +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "" + +#. type: textblock +#: debhelper.pod:117 +msgid "dh_install" +msgstr "" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" msgstr "" #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" +msgstr "" + +#. type: textblock +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " @@ -310,38 +383,38 @@ msgstr "" #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." msgstr "" #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" msgstr "" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to I)." msgstr "" #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." msgstr "" #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " @@ -349,19 +422,19 @@ msgstr "" #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" msgstr "" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" msgstr "" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -372,43 +445,43 @@ msgstr "" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." msgstr "" #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" msgstr "" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." msgstr "" #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character (e." "g. space) where it would otherwise be stripped or used as a separator." msgstr "" #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" msgstr "" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." msgstr "" #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " @@ -416,12 +489,12 @@ msgstr "" #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" msgstr "" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " @@ -430,21 +503,21 @@ msgstr "" #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 #, fuzzy #| msgid "Comments are ignored in debhelper config files." msgid "Executable debhelper config files" msgstr "debhelper 設定ファイルでのコメントは無視されるようになりました。" #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools (e.g. " "L) support executing a config file as a script." msgstr "" #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -454,26 +527,21 @@ msgstr "" #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" msgstr "" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "*" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." msgstr "" #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " @@ -482,14 +550,14 @@ msgstr "" #. type: textblock -#: debhelper.pod:204 +#: debhelper.pod:259 msgid "" "Otherwise, the output will be used exactly as-is. Notably, debhelper will " "I expand wildcards or strip comments or strip whitespace in the output." msgstr "" #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -497,12 +565,12 @@ msgstr "" #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "DEBHELPER 間で共有されるオプション" #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "" "The following command line options are supported by all debhelper programs." msgstr "" @@ -510,12 +578,12 @@ "います。" #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -523,12 +591,12 @@ "示します。" #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "B<--no-act>" #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -537,12 +605,12 @@ "行うかが出力されます。" #. type: =item -#: debhelper.pod:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." @@ -551,22 +619,22 @@ "るように動作します。" #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "全てのアーキテクチャ非依存パッケージに対して処理を行います。" #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -575,29 +643,29 @@ "debhelper に処理させる際には、繰り返し列挙して指定してください。" #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "廃止された B<-a> のエイリアスです。" #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 #, fuzzy #| msgid "The option is removed in compat 11." msgid "This option is removed in compat 12." msgstr "このオプションは互換性レベル 11 で廃止されています。" #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." @@ -606,12 +674,12 @@ "指定されているパッケージについては処理を行わないようにします。" #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "B<--remaining-packages>" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -626,12 +694,12 @@ "び出し、デフォルト設定による処理を行うという事ができます。" #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "" "Use I for package build directory. The default is debian/I" msgstr "" @@ -639,12 +707,12 @@ "debian/I ディレクトリが使われます。" #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -657,12 +725,12 @@ "F ファイルが使われるようになります。" #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I" msgstr "F" #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "" "debhelper を使うときの F ファイルの例が格納されています。" #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 msgid "L" msgstr "L" #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "Debhelper の Web サイトです。" #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 #: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 -#: dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 #: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 -#: dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 #: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 #: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 -#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 -#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 #: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 #: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 #: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 @@ -2981,14 +3345,14 @@ msgstr "作者" #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 #: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 -#: dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 -#: dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 #: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 #: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 -#: dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 -#: dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 #: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 #: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 #: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 @@ -3180,14 +3544,14 @@ "ようになりました。" #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 #: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 -#: dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 #: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 -#: dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 #: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 #: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 -#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 #: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 #: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 #: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 @@ -3197,13 +3561,13 @@ msgstr "L" #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 #: dh_systemd_start:284 msgid "AUTHORS" msgstr "作者" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "Niels Thykier " @@ -3428,11 +3792,184 @@ "omission of a command name. But otherwise, the principle remains the same." msgstr "" +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" + #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 -#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 #: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 -#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 #: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 #: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 #: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 @@ -3446,12 +3983,12 @@ msgstr "オプション" #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "B<--with> I[B<,>I ...]" #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -3467,7 +4004,7 @@ "に、一連のアドオン用インターフェースについてのドキュメントがあります。" #. type: textblock -#: dh:124 +#: dh:229 msgid "" "A B relation on the package BI implies a " "B<--with> I. This avoids the need for an explicit B<--with> in " @@ -3479,7 +4016,7 @@ msgstr "" #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via B or B are subject to additional limitations to ensure the result is " @@ -3499,12 +4036,12 @@ msgstr "" #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "B<--without> I" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -3514,19 +4051,19 @@ "し指定することもできますし、アドオン名をカンマ区切りで指定もできます。" #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "利用可能なアドオン一覧を表示する。" #. type: textblock -#: dh:157 +#: dh:262 msgid "" "When called only with this option, B can be called from any directory (i." "e. it does not need access to files from a source package)." msgstr "" #. type: textblock -#: dh:163 +#: dh:268 msgid "" "Prints commands that would run for a given sequence, but does not run them." msgstr "" @@ -3534,7 +4071,7 @@ "は実行しません。" #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." @@ -3544,7 +4081,7 @@ "て出力します。" #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -3555,13 +4092,13 @@ "た、他の特別なオプションについても同様となります。" #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 #: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "使用例" #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" @@ -3569,7 +4106,7 @@ "コマンドを実際には動作させず、一連の動作でどのコマンドが実行されるかを見る:" #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -3579,7 +4116,7 @@ "\n" #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." @@ -3588,7 +4125,7 @@ "ション無しでデフォルトのコマンド群が呼び出されます。" #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3602,7 +4139,7 @@ "\n" #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." @@ -3611,7 +4148,7 @@ "行う方法は、そのコマンドへ override を追加することです。" #. type: verbatim -#: dh:195 +#: dh:300 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_strip:\n" @@ -3627,7 +4164,7 @@ "\t\n" #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3639,7 +4176,7 @@ "\n" #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -3651,7 +4188,7 @@ "を実行させる方法を示します。 " #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3663,7 +4200,7 @@ "\n" #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -3675,7 +4212,7 @@ "\n" #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." @@ -3684,7 +4221,7 @@ "したい場合があります。" #. type: verbatim -#: dh:222 +#: dh:327 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -3703,14 +4240,14 @@ "\n" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." msgstr "" #. type: verbatim -#: dh:233 +#: dh:338 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -3730,7 +4267,7 @@ "\n" #. type: textblock -#: dh:238 +#: dh:343 #, fuzzy #| msgid "" #| "Python tools are not run by dh by default, due to the continual change in " @@ -3745,7 +4282,7 @@ "を実行します)。ここでは、B をどのようにして使うかを示します。" #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3759,7 +4296,7 @@ "\n" #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." @@ -3769,7 +4306,7 @@ "必要となります。" #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3783,7 +4320,7 @@ "\n" #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -3794,7 +4331,7 @@ "す。" #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3808,7 +4345,7 @@ "\n" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." @@ -3818,7 +4355,7 @@ "になります:" #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3832,7 +4369,7 @@ "\n" #. type: textblock -#: dh:268 +#: dh:373 msgid "" "If your package can be built in parallel, please either use compat 10 or " "pass B<--parallel> to dh. Then B will work." @@ -3841,7 +4378,7 @@ "parallel> を指定して下さい。すると B が有効になります。" #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3855,7 +4392,7 @@ "\n" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> command):" @@ -3864,7 +4401,7 @@ "連する BI<*> コマンド)に B<--no-parallel> を指定して下さい。" #. type: verbatim -#: dh:280 +#: dh:385 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3878,7 +4415,7 @@ "\n" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." @@ -3888,7 +4425,7 @@ "とにより行います。" #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -3900,7 +4437,7 @@ "\n" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -3912,7 +4449,7 @@ "パッケージのビルドが省略されます。" #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -3924,7 +4461,7 @@ "\n" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -3936,7 +4473,7 @@ "\n" #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -3948,7 +4485,7 @@ "\n" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -3959,7 +4496,7 @@ "行しないとしたらどうなるでしょうか。" #. type: verbatim -#: dh:315 +#: dh:420 #, fuzzy, no-wrap #| msgid "" #| "\toverride_dh_fixperms:\n" @@ -3978,12 +4515,12 @@ "\n" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "内部動作" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." @@ -3992,7 +4529,7 @@ "を記載します。" #. type: textblock -#: dh:323 +#: dh:428 #, fuzzy #| msgid "" #| "In compat 10 (or later), B creates a stamp file F creates a stamp file F. (Which B " @@ -4054,7 +4591,7 @@ "かります。" #. type: textblock -#: dh:341 +#: dh:446 #, fuzzy #| msgid "" #| "Each time B is run (in compat 9 or earlier), it examines the log, and " @@ -4074,7 +4611,7 @@ "互換性レベル 10 ではこれらは削除されています)。" #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." @@ -4084,7 +4621,7 @@ "と、\"install\" ターゲットも実行されます。" #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -4097,7 +4634,7 @@ "おり、どの時点でも debhelper コマンドの動作に影響を与えます。" #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -4112,14 +4649,14 @@ "れ、アーキテクチャ依存パッケージにのみ確実に作用するように動作します。 " #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 #: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 -#: dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 -#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 #: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 #: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 -#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 -#: dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 #: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 #: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 #: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 @@ -4504,8 +5041,8 @@ "トリへインストールする debhelper プログラムです。" #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 -#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 #: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 #: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 #: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 @@ -4703,16 +5240,30 @@ "B [S>] [B<-k>] [B<-d>] [B<-X>I] " "[S ...>]" +#. type: textblock +#: dh_clean:21 +msgid "" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" + # FIXME: why-no-wrap? #. type: verbatim -#: dh_clean:21 -#, no-wrap +#: dh_clean:25 +#, fuzzy, no-wrap +#| msgid "" +#| "B is a debhelper program that is responsible for cleaning up after a\n" +#| "package is built. It removes the package build directories, and removes some\n" +#| "other files including F, and any detritus left behind by other\n" +#| "debhelper commands. It also removes common files that should not appear in a\n" +#| "Debian diff:\n" +#| " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" +#| "\n" msgid "" -"B is a debhelper program that is responsible for cleaning up after a\n" -"package is built. It removes the package build directories, and removes some\n" -"other files including F, and any detritus left behind by other\n" -"debhelper commands. It also removes common files that should not appear in a\n" -"Debian diff:\n" +"It removes the package build directories, and removes some other files including\n" +"F, and any detritus left behind by other debhelper commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" @@ -4725,7 +5276,7 @@ "\n" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." @@ -4734,27 +5285,18 @@ "ん。\"make clean\" を実行するような事がしたければ、L を利用" "してください。" -#. type: textblock -#: dh_clean:31 -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" -"B は F の B ターゲットで実行される一番最後の " -"debhelper コマンドであるべきです。" - #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "F" #. type: textblock -#: dh_clean:40 +#: dh_clean:39 msgid "Can list other paths to be removed." msgstr "消去されるパスの一覧を出力できます。" #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -4763,7 +5305,7 @@ "あります>。これらのディレクトリ内の内容は同様に削除されます。" #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 #: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 #: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" @@ -4772,29 +5314,29 @@ msgstr "" #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "これは廃止されています。代わりに L を利用してください。" #. type: textblock -#: dh_clean:58 +#: dh_clean:57 #, fuzzy #| msgid "The option is removed in compat 11." msgid "The option is removed in compat 12." msgstr "このオプションは互換性レベル 11 で廃止されています。" #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." @@ -4803,12 +5345,12 @@ "せん。" #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I B<--exclude=>I" #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -4819,17 +5361,17 @@ "補を複数指定することが可能です。" #. type: =item -#: dh_clean:71 +#: dh_clean:70 msgid "I ..." msgstr "I ..." #. type: textblock -#: dh_clean:73 +#: dh_clean:72 msgid "Delete these Is too." msgstr "これらの I も消去します。" #. type: textblock -#: dh_clean:75 +#: dh_clean:74 #, fuzzy msgid "" "Note that directories passed as arguments B end with a trailing " @@ -5772,8 +6314,7 @@ #. type: textblock #: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 -#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 -#: dh_installwm:68 dh_usrlocal:62 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -5828,15 +6369,14 @@ msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" "開発元 (upstream) に入っている F ファイルはオプションとしても指定" "できます。何も指定しない場合、changelog とおぼしき名前を持つファイルを探しに" "行きます (これは互換レベル v7 以上で行われます)。" #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< usr/share/" @@ -5845,28 +6385,21 @@ "Note that B does I look into any source directory " "(such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" #. type: textblock -#: dh_installchangelogs:39 -msgid "" -"If there is an upstream F file, it will be installed as F in the package build directory." -msgstr "" -"開発元 (upstream) の F ファイルがある場合、パッケージビルドディレ" -"クトリ中に F としてインストールされます。" - -#. type: textblock -#: dh_installchangelogs:42 +#: dh_installchangelogs:40 #, fuzzy msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." msgstr "" "開発元 (upstream) の changelog が F ファイルである場合 (ファイル拡張子" "で判断されます)、代わりに F としてイン" @@ -5874,27 +6407,27 @@ "の upstream changelog ファイルとして指定できます。平文ではない" #. type: =item -#: dh_installchangelogs:53 +#: dh_installchangelogs:51 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "debian/I.changelog" #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "debian/I.NEWS" #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." @@ -5903,7 +6436,7 @@ "I/ 配下に自動的にインストールされます。" #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." @@ -5912,7 +6445,7 @@ "は、パッケージ固有の名前を指定してください。" #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -5923,7 +6456,7 @@ "ルされます。F は必ず F の名前でインストールされます。" #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 #, fuzzy msgid "" "Keep the original name of the upstream changelog. This will be accomplished " @@ -5940,7 +6473,7 @@ "利かもしれません。" #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." @@ -5949,17 +6482,17 @@ "トール候補から除外します。" #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "I" #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "" "このファイルを開発元 (upstream) の changelog としてインストールします。" @@ -7835,19 +8368,19 @@ "す。 " #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 #, fuzzy #| msgid "L, L" msgid "L, L" msgstr "L, L" #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "Steve Langasek " #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "Michael Stapelberg " @@ -7888,11 +8421,10 @@ #| "needed to interface with the Debian B package. These commands are " #| "inserted into the maintainer scripts by L." msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." msgstr "" "このプログラムは、Debian B と連携するのに必要な内容を含む F " "と F コマンドを自動的に生成します。生成された F と " @@ -7916,12 +8448,40 @@ msgstr "" #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." -msgstr "F/F スクリプトを変更しません。" +#: dh_installinitramfs:49 +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." +msgstr "" + +#. type: textblock +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:62 +#, fuzzy +#| 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." +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 triggers file." +msgstr "" +"このコマンドは複数回実行しても安全なコマンドではありません。このコマンドを複" +"数回呼び出す際には必ず間に L を挿入してください。さもないと、メン" +"テナスクリプト中に同じ内容のコードを繰り返し挿入してしまいます。" + +#. type: textblock +#: dh_installinitramfs:93 #, fuzzy #| msgid "L L L" msgid "L L L" @@ -8441,6 +9001,11 @@ "にある etc/menu-methods/I へインストールされます。" #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "F/F スクリプトを変更しません。" + +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "L L L" @@ -9243,11 +9808,11 @@ #: dh_makeshlibs:36 msgid "" "If you previously used B<--add-udeb> and is considering to migrate to using " -"the new auto-detection feature in 12.3, then please remember " -"to test that the resulting F files are as expected. There " -"are some known corner cases, where the auto-detection is insufficient. " -"These include when the udeb contains library files from multiple regular deb " -"packages or when the packages do not follow the expected naming convention." +"the new auto-detection feature in 12.3, then please remember to test that " +"the resulting F files are as expected. There are some known " +"corner cases, where the auto-detection is insufficient. These include when " +"the udeb contains library files from multiple regular deb packages or when " +"the packages do not follow the expected naming convention." msgstr "" #. type: =item @@ -10910,6 +11475,21 @@ msgid "This compatibility level is open for beta testing; changes may occur." msgstr "この互換性レベルはベータテスト中です。変更が加わります。" +#~ msgid "" +#~ "B should be the last debhelper command run in the B " +#~ "target in F." +#~ msgstr "" +#~ "B は F の B ターゲットで実行される一番最後" +#~ "の debhelper コマンドであるべきです。" + +#~ msgid "" +#~ "If there is an upstream F file, it will be installed as F in the package build directory." +#~ msgstr "" +#~ "開発元 (upstream) の F ファイルがある場合、パッケージビルドディ" +#~ "レクトリ中に F としてインストールされま" +#~ "す。" + #~ msgid "B<--ignore=>I" #~ msgstr "B<--ignore=>I" diff -Nru debhelper-13ubuntu1~oibaf~f/man/po4a/po/pt.po debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/pt.po --- debhelper-13ubuntu1~oibaf~f/man/po4a/po/pt.po 2020-04-15 13:45:26.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/man/po4a/po/pt.po 2020-09-13 17:38:16.000000000 +0000 @@ -2,13 +2,13 @@ # Copyright (C) 2014 The debhelper's copyright holder. # This file is distributed under the same license as the debhelper package. # -# Américo Monteiro , 2014 - 2019. +# Américo Monteiro , 2014 - 2020. msgid "" msgstr "" -"Project-Id-Version: debhelper 12.1.1\n" +"Project-Id-Version: debhelper 13.2\n" "Report-Msgid-Bugs-To: debhelper@packages.debian.org\n" -"POT-Creation-Date: 2020-04-15 15:35+0200\n" -"PO-Revision-Date: 2019-04-18 22:49+0000\n" +"POT-Creation-Date: 2020-09-12 22:31+0200\n" +"PO-Revision-Date: 2020-07-10 13:40+0000\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese <>\n" "Language: pt\n" @@ -141,9 +141,10 @@ #. type: textblock #: debhelper.pod:31 msgid "" -"Except where tool explicitly denotes otherwise, all of the debhelper tools " -"assumes that they run from root directory of an unpacked source package. " -"This is so they can locate find files like F when needed." +"Except where the tool explicitly denotes otherwise, all of the debhelper " +"tools assume that they run from the root directory of an unpacked source " +"package. This is so they can locate find files like F when " +"needed." msgstr "" "Excepto onde a ferramenta explicitamente denota, caso contrário, todas as " "ferramentas do debhelper assumem que são corridas a partir do directório " @@ -305,81 +306,171 @@ #. type: =head2 #: debhelper.pod:104 -#, fuzzy -#| msgid "Executable debhelper config files" msgid "Substitutions in debhelper config files" -msgstr "Ficheiros de configuração do debhelper executáveis." +msgstr "Substituições em ficheiros de configuração do debhelper" #. type: textblock #: debhelper.pod:106 msgid "" "In compatibility level 13 and later, it is possible to use simple " -"substitutions in I debhelper config files (particularly, the " -"configuration files for L)." +"substitutions in debhelper config files for the following tools:" msgstr "" +"Em nível de compatibilidade 13 e posterior, é possível usar substituições " +"simples em ficheiros de configuração do debhelper para as seguintes " +"ferramentas:" + +#. type: =item +#: debhelper.pod:111 debhelper.pod:115 debhelper.pod:119 debhelper.pod:123 +#: debhelper.pod:127 debhelper.pod:131 debhelper.pod:135 debhelper.pod:139 +#: debhelper.pod:143 debhelper.pod:147 debhelper.pod:151 debhelper.pod:155 +#: debhelper.pod:159 debhelper.pod:247 debhelper.pod:252 +msgid "*" +msgstr "*" + +#. type: textblock +#: debhelper.pod:113 +msgid "dh_clean" +msgstr "dh_clean" #. type: textblock -#: debhelper.pod:110 +#: debhelper.pod:117 +msgid "dh_install" +msgstr "dh_install" + +#. type: textblock +#: debhelper.pod:121 +msgid "dh_installcatalogs" +msgstr "dh_installcatalogs" + +#. type: textblock +#: debhelper.pod:125 +msgid "dh_installdeb" +msgstr "dh_installdeb" + +#. type: textblock +#: debhelper.pod:129 +msgid "dh_installdirs" +msgstr "dh_installdirs" + +#. type: textblock +#: debhelper.pod:133 +msgid "dh_installdocs" +msgstr "dh_installdocs" + +#. type: textblock +#: debhelper.pod:137 +msgid "dh_installexamples" +msgstr "dh_installexamples" + +#. type: textblock +#: debhelper.pod:141 +msgid "dh_installinfo" +msgstr "dh_installinfo" + +#. type: textblock +#: debhelper.pod:145 +msgid "dh_installman" +msgstr "dh_installman" + +#. type: textblock +#: debhelper.pod:149 +msgid "dh_installwm" +msgstr "dh_installwm" + +#. type: textblock +#: debhelper.pod:153 +msgid "dh_link" +msgstr "dh_link" + +#. type: textblock +#: debhelper.pod:157 +msgid "dh_missing" +msgstr "dh_missing" + +#. type: textblock +#: debhelper.pod:161 +msgid "dh_ucf" +msgstr "dh_ucf" + +#. type: textblock +#: debhelper.pod:165 msgid "" "All substitution variables are of the form I<${foo}> and the braces are " "mandatory. Variable names are case-sensitive and consist of alphanumerics " "(a-zA-Z0-9), hyphens (-), underscores (_), and colons (:). The first " "character must be an alphanumeric." msgstr "" +"Todas as variáveis de substituição são do formato I<${foo}> e as chavetas " +"são obrigatórias. Os nomes das variáveis são sensíveis a maiúscula/minúscula " +"e consistem de alfanuméricos (a-zA-Z0-9), hífens (-), underscores (_), and " +"dois pontos (:). O primeiro caractere tem de ser alfanumérico." #. type: textblock -#: debhelper.pod:115 +#: debhelper.pod:170 msgid "" "If you need a literal dollar sign that cannot trigger a substitution, you " "can either use the B<${Dollar}> substitution or the sequence B<${}>." msgstr "" +"Se precisar de um sinal literal de dollar que não despolete uma " +"substituição, você pode ou usar a substituição de B<${Dollar}> ou a " +"sequência B<${}>." #. type: textblock -#: debhelper.pod:118 +#: debhelper.pod:173 msgid "The following expansions are available:" -msgstr "" +msgstr "As seguintes expansões estão disponíveis:" #. type: =item -#: debhelper.pod:122 +#: debhelper.pod:177 msgid "B, B, B" -msgstr "" +msgstr "B, B, B" #. type: textblock -#: debhelper.pod:124 +#: debhelper.pod:179 msgid "" "Expands to the relevant L value (similar to I)." msgstr "" +"Expande para o valor L relevante (semelhante a I)." #. type: textblock -#: debhelper.pod:127 +#: debhelper.pod:182 msgid "" "When in doubt, the B variant is the one that will work both for " "native and cross builds." msgstr "" +"Em caso de dúvida, a variante B é aquela que irá trabalhar para " +"ambas compilações nativas e cruzadas." #. type: textblock -#: debhelper.pod:130 +#: debhelper.pod:185 msgid "" "For performance reasons, debhelper will attempt to resolve these names from " "the environment first before consulting L. This is " "mostly mentioned for completeness as it will not matter for most cases." msgstr "" +"Por razões de performance, o debhelper irá tentar resolver esses nomes " +"primeiro a partir do ambiente antes de consultar L. " +"Isto é muito mencionado para plenitude pois não irá ter importância na " +"maioria dos casos." #. type: =item -#: debhelper.pod:135 +#: debhelper.pod:190 msgid "B" -msgstr "" +msgstr "B" #. type: textblock -#: debhelper.pod:137 +#: debhelper.pod:192 msgid "" "Expands to a single literal B<$>-symbol. This symbol will I be " "considered part of a substitution variable. That is:" msgstr "" +"Expande para um símbolo literal único B<$>-symbol. Este símbolo I irá " +"ser considerado parte de uma variável de substituição. Isso é:" #. type: verbatim -#: debhelper.pod:140 +#: debhelper.pod:195 #, no-wrap msgid "" " # Triggers an error\n" @@ -388,72 +479,92 @@ " ${Dollar}{NO_SUCH_TOKEN}\n" "\n" msgstr "" +" # Triggers an error\n" +" ${NO_SUCH_TOKEN}\n" +" # Expands to the literal value \"${NO_SUCH_TOKEN}\"\n" +" ${Dollar}{NO_SUCH_TOKEN}\n" +"\n" #. type: textblock -#: debhelper.pod:145 +#: debhelper.pod:200 msgid "" "This variable equivalent to the sequence B<${}> and the two can be used " "interchangeably." msgstr "" +"Esta variável é equivalente à sequência B<${}> e as duas podem ser usadas " +"alternadamente." #. type: =item -#: debhelper.pod:148 +#: debhelper.pod:203 msgid "B, B, B" -msgstr "" +msgstr "B, B, B" #. type: textblock -#: debhelper.pod:150 +#: debhelper.pod:205 msgid "Expands to a single ASCII newline, space and tab respectively." -msgstr "" +msgstr "Expande para uma nova linha ASCII única, espaço e tab respetivamente." #. type: textblock -#: debhelper.pod:152 +#: debhelper.pod:207 msgid "" "This can be useful if you need to include a literal whitespace character (e." "g. space) where it would otherwise be stripped or used as a separator." msgstr "" +"Isto pode ser útil se precisar de incluir um caractere literal de \"espaço " +"em branco\" (ex. espaço) onde caso contrário ele iria ser descartado ou " +"usado como um separador." #. type: =item -#: debhelper.pod:156 +#: debhelper.pod:211 msgid "B<< env:I >>" -msgstr "" +msgstr "B<< env:I >>" #. type: textblock -#: debhelper.pod:158 +#: debhelper.pod:213 msgid "" "Expands to the environment variable I. The environment variable must " "be set (but can be set to the empty string)." msgstr "" +"Expande para a variável de ambiente I. A variável de ambiente tem de " +"estar definida (mas pode estar definida para uma string vazia)." #. type: textblock -#: debhelper.pod:163 +#: debhelper.pod:218 msgid "" "Note that all variables must expand to a defined value. As an example, if " "debhelper sees I<${env:FOO}>, then it will insist that the environment " "variable I is set (it can be set to the empty string)." msgstr "" +"Note que todas as variáveis têm de expandir para um valor definido. Como " +"exemplo, se o debhelper vir I<${env:FOO}>, então ele irá insistir que a " +"variável de ambiente I está definida (pode estar definida para uma " +"string vazia)." #. type: =head3 -#: debhelper.pod:167 +#: debhelper.pod:222 msgid "Substitution limits" -msgstr "" +msgstr "Limites de substituição" #. type: textblock -#: debhelper.pod:169 +#: debhelper.pod:224 msgid "" "To avoid infinite loops and resource exhaustion, debhelper will stop with an " "error if the text contains many substitution variables (50) or they expand " "beyond a certain size (4096 characters or 3x length of the original input - " "whichever is bigger)." msgstr "" +"Para evitar ciclos infinitos e exaustão de recursos, o debhelper irá parar " +"com um erro se o texto conter muitas variáveis de substituição (50) ou se " +"elas expandirem para lá de um determinado tamanho (4096 caracteres ou 3x o " +"comprimento da entrada original - qual deles for maior)." #. type: =head2 -#: debhelper.pod:174 +#: debhelper.pod:229 msgid "Executable debhelper config files" msgstr "Ficheiros de configuração do debhelper executáveis." #. type: textblock -#: debhelper.pod:176 +#: debhelper.pod:231 msgid "" "If you need additional flexibility, many of the debhelper tools (e.g. " "L) support executing a config file as a script." @@ -463,7 +574,7 @@ "script." #. type: textblock -#: debhelper.pod:179 +#: debhelper.pod:234 msgid "" "To use this feature, simply mark the config file as executable (e.g. B<< " "chmod +x debian/I.install >>) and the tool will attempt to execute " @@ -479,7 +590,7 @@ "flexibilidade adicional que precisa." #. type: textblock -#: debhelper.pod:187 +#: debhelper.pod:242 msgid "" "When using executable debhelper config files, please be aware of the " "following:" @@ -487,13 +598,8 @@ "Quando usar ficheiros de configuração executáveis do debhelper, por favor " "tenha em atenção o seguinte:" -#. type: =item -#: debhelper.pod:192 debhelper.pod:197 -msgid "*" -msgstr "*" - #. type: textblock -#: debhelper.pod:194 +#: debhelper.pod:249 msgid "" "The executable config file B exit with success (i.e. its return code " "should indicate success)." @@ -502,30 +608,30 @@ "seu código de retorne deve indicar sucesso)." #. type: textblock -#: debhelper.pod:199 +#: debhelper.pod:254 msgid "" "In compatibility level 13+, the output will be subject to substitutions (see " "L) where the tool support these. " "Remember to be careful if your generator I provides substitutions as " "this can cause unnecessary confusion." msgstr "" +"Em nível de compatibilidade 13+, o resultado será sujeito a substituições " +"(veja L) onde a " +"ferramenta suportar estes. Lembre-se disto se o seu gerador I " +"disponibilizar substituições pois isto pode causar confusão desnecessária." #. type: textblock -#: debhelper.pod:204 -#, fuzzy -#| msgid "" -#| "The output will be used exactly as it is. Notably, debhelper will I " -#| "expand wildcards or strip comments in the output." +#: debhelper.pod:259 msgid "" "Otherwise, the output will be used exactly as-is. Notably, debhelper will " "I expand wildcards or strip comments or strip whitespace in the output." msgstr "" -"O resultado de saída irá ser usado exactamente como está. De notar que o " -"debhelper I irá expandir wildcards ou retirar comentários ao resultado " -"de saída." +"Caso contrário, o resultado de saída irá ser usado exatamente como está. De " +"notar que o debhelper I irá expandir wildcards, nem retirar comentários " +"ou espaços em branco ao resultado de saída." #. type: textblock -#: debhelper.pod:210 +#: debhelper.pod:265 msgid "" "If you need the package to build on a file system where you cannot disable " "the executable bit, then you can use L and its B " @@ -536,12 +642,12 @@ "script B." #. type: =head1 -#: debhelper.pod:214 +#: debhelper.pod:269 msgid "SHARED DEBHELPER OPTIONS" msgstr "OPÇÕES DO DEBHELPER PARTILHADAS" #. type: textblock -#: debhelper.pod:216 +#: debhelper.pod:271 msgid "" "The following command line options are supported by all debhelper programs." msgstr "" @@ -549,12 +655,12 @@ "programas do debhelper." #. type: =item -#: debhelper.pod:220 +#: debhelper.pod:275 msgid "B<-v>, B<--verbose>" msgstr "B<-v>, B<--verbose>" #. type: textblock -#: debhelper.pod:222 +#: debhelper.pod:277 msgid "" "Verbose mode: show all commands that modify the package build directory." msgstr "" @@ -562,12 +668,12 @@ "compilação de pacotes." #. type: =item -#: debhelper.pod:224 dh:161 +#: debhelper.pod:279 dh:266 msgid "B<--no-act>" msgstr "B<--no-act>" #. type: textblock -#: debhelper.pod:226 +#: debhelper.pod:281 msgid "" "Do not really do anything. If used with -v, the result is that the command " "will output what it would have done." @@ -576,12 +682,12 @@ "mostra o que iria fazer." #. type: =item -#: debhelper.pod:229 +#: debhelper.pod:284 msgid "B<-a>, B<--arch>" msgstr "B<-a>, B<--arch>" #. type: textblock -#: debhelper.pod:231 +#: debhelper.pod:286 msgid "" "Act on architecture dependent packages that should be built for the " "B architecture." @@ -590,22 +696,22 @@ "arquitectura de compilação B." #. type: =item -#: debhelper.pod:234 +#: debhelper.pod:289 msgid "B<-i>, B<--indep>" msgstr "B<-i>, B<--indep>" #. type: textblock -#: debhelper.pod:236 +#: debhelper.pod:291 msgid "Act on all architecture independent packages." msgstr "Actua em todos os pacotes independentes da arquitectura." #. type: =item -#: debhelper.pod:238 +#: debhelper.pod:293 msgid "B<-p>I, B<--package=>I" msgstr "B<-p>I, B<--package=>I" #. type: textblock -#: debhelper.pod:240 +#: debhelper.pod:295 msgid "" "Act on the package named I. This option may be specified multiple " "times to make debhelper operate on a given set of packages." @@ -614,27 +720,27 @@ "vezes para fazer o debhelper operar num determinado conjunto de pacotes." #. type: =item -#: debhelper.pod:243 +#: debhelper.pod:298 msgid "B<-s>, B<--same-arch>" msgstr "B<-s>, B<--same-arch>" #. type: textblock -#: debhelper.pod:245 +#: debhelper.pod:300 msgid "Deprecated alias of B<-a>." msgstr "Alias descontinuado de B<-a>." #. type: textblock -#: debhelper.pod:247 dh_install:80 dh_install:89 +#: debhelper.pod:302 dh_install:80 dh_install:89 msgid "This option is removed in compat 12." msgstr "Esta opção foi removida no nível de compatibilidade 12." #. type: =item -#: debhelper.pod:249 +#: debhelper.pod:304 msgid "B<-N>I, B<--no-package=>I" msgstr "B<-N>I, B<--no-package=>I" #. type: textblock -#: debhelper.pod:251 +#: debhelper.pod:306 msgid "" "Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option " "lists the package as one that should be acted on." @@ -643,12 +749,12 @@ "listarem o pacote como um em que se deverá actuar." #. type: =item -#: debhelper.pod:254 +#: debhelper.pod:309 msgid "B<--remaining-packages>" msgstr "B<--remaining-packages>" #. type: textblock -#: debhelper.pod:256 +#: debhelper.pod:311 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 " @@ -664,12 +770,12 @@ "definições predefinidas." #. type: =item -#: debhelper.pod:262 +#: debhelper.pod:317 msgid "B<-P>I, B<--tmpdir=>I" msgstr "B<-P>I, B<--tmpdir=>I" #. type: textblock -#: debhelper.pod:264 +#: debhelper.pod:319 msgid "" "Use I for package build directory. The default is debian/I" msgstr "" @@ -677,12 +783,12 @@ "debian/I" #. type: =item -#: debhelper.pod:266 +#: debhelper.pod:321 msgid "B<--mainpackage=>I" msgstr "B<--mainpackage=>I" #. type: textblock -#: debhelper.pod:268 +#: debhelper.pod:323 msgid "" "This little-used option changes the package which debhelper considers the " "\"main package\", that is, the first one listed in F, and " @@ -695,12 +801,12 @@ "F usuais." #. type: =item -#: debhelper.pod:273 +#: debhelper.pod:328 msgid "B<-O=>I/examples>>.)" #. type: textblock -#: debhelper.pod:973 +#: debhelper.pod:1034 msgid "" "The standard sequence in B now includes B and " "B by default. This makes the B and " @@ -2172,7 +2318,7 @@ "vazio para eles em F (ex. I)" #. type: textblock -#: debhelper.pod:982 +#: debhelper.pod:1043 msgid "" "The build systems B and B no longer explicitly set the B<--" "libexecdir> variable and thus relies on the build system default - which " @@ -2184,7 +2330,7 @@ "adoptado em Debian Policy 4.1.5)." #. type: textblock -#: debhelper.pod:987 +#: debhelper.pod:1048 msgid "" "If a particular upstream package does not use the correct default, the " "parameter can often be passed manually via L. E.g. " @@ -2195,7 +2341,7 @@ "L. Por exemplo via seguinte exemplo:" #. type: verbatim -#: debhelper.pod:991 +#: debhelper.pod:1052 #, no-wrap msgid "" " override_dh_auto_configure:\n" @@ -2207,12 +2353,12 @@ "\n" #. type: textblock -#: debhelper.pod:994 +#: debhelper.pod:1055 msgid "Note the B<--> before the B<--libexecdir> parameter." msgstr "Note o B<--> antes do parâmetro B<--libexecdir>." #. type: textblock -#: debhelper.pod:998 +#: debhelper.pod:1059 msgid "" "The B tool no longer installs the maintainer provided " "F file. The file has mostly been obsolete since compatibility " @@ -2220,12 +2366,12 @@ "F control file." msgstr "" "A ferramenta B não mais instala o ficheiro F " -"fornecido pelo mantenedor. O ficheiro torneou-se maioritariamente obsoleto " +"fornecido pelo maintainer. O ficheiro torneou-se maioritariamente obsoleto " "desde o nível de compatibilidade 3, onde B começo a computar " "automaticamente o ficheiro de controle F resultante." #. type: textblock -#: debhelper.pod:1005 +#: debhelper.pod:1066 msgid "" "The B tool no longer relies on B for " "handling systemd services that have a sysvinit alternative. Both tools must " @@ -2238,7 +2384,7 @@ "serviço é arrancado correctamente sob ambos sysvinit e systemd." #. type: textblock -#: debhelper.pod:1010 +#: debhelper.pod:1071 msgid "" "If you have an override for B (e.g. to call it with B<--no-" "start>) then you will probably need one for B as well now." @@ -2248,7 +2394,7 @@ "B." #. type: textblock -#: debhelper.pod:1014 +#: debhelper.pod:1075 msgid "" "This change makes B inject a I for B<< " "init-system-helpers (>= 1.54~) >>. Please ensure that the package lists B<" @@ -2261,7 +2407,7 @@ "para a compatibilidade 12." #. type: textblock -#: debhelper.pod:1021 +#: debhelper.pod:1082 msgid "" "The third-party B tool (from B package) now defaults " "on honoring B variable for source installation in -dev " @@ -2277,7 +2423,7 @@ "e exemplos" #. type: textblock -#: debhelper.pod:1029 +#: debhelper.pod:1090 msgid "" "B is now included in the B standard sequence by " "default." @@ -2286,7 +2432,7 @@ "predefinição." #. type: textblock -#: debhelper.pod:1034 +#: debhelper.pod:1095 msgid "" "The B buildsystem is now removed. Please use the third-" "party build system B instead." @@ -2295,22 +2441,22 @@ "use o sistema de compilação de terceiros B em substituição." #. type: =item -#: debhelper.pod:1039 +#: debhelper.pod:1100 msgid "v13" msgstr "v13" #. type: textblock -#: debhelper.pod:1041 +#: debhelper.pod:1102 msgid "This is the recommended mode of operation." msgstr "Este é o modo de operação recomendado." #. type: textblock -#: debhelper.pod:1043 +#: debhelper.pod:1104 msgid "Changes from v12 are:" msgstr "As alterações a partir de v12 são:" #. type: textblock -#: debhelper.pod:1049 +#: debhelper.pod:1110 msgid "" "The B build system now uses B instead of B when running the test suite. Any override of B that " @@ -2324,16 +2470,21 @@ "com o B." #. type: textblock -#: debhelper.pod:1057 +#: debhelper.pod:1118 msgid "" "All debhelper like tools based on the official debhelper library (including " "B and the official B tools) no longer accepts abbreviated command " "parameters. At the same time, B now optimizes out calls to redundant " "B helpers even when passed long command line options." msgstr "" +"Todas as ferramentas tipo debhelper baseadas na biblioteca debhelper oficial " +"(incluindo B e as ferramentas oficiais B) não aceitam mais " +"parâmetros abreviados de comandos. Ao mesmo tempo, B agora optimiza as " +"chamadas a ajudantes redundantes B mesmo quando passa opções longas da " +"linha de comandos." #. type: textblock -#: debhelper.pod:1065 +#: debhelper.pod:1126 msgid "" "The ELF related debhelper tools (B, B, B, " "B) are now only run for arch dependent packages by default (i." @@ -2341,17 +2492,26 @@ "default). If you need them for B<*-indep> targets, you can add an explicit " "Build-Depends on B." msgstr "" +"As ferramentas debhelper relacionadas com ELF (B, B, " +"B, B) são agora apenas executadas para os " +"pacotes dependentes de arquitectura por predefinição (isto é, estão " +"excluídas de alvos B<*-indep> e são passadas B<-a> por predefinição). Se " +"você precisar delas para alvos B<*-indep>, você pode adicionar um Build-" +"Depends explícito em B." #. type: textblock -#: debhelper.pod:1074 +#: debhelper.pod:1135 msgid "" "The third-party B build system (from B " "package) now runs the upstream-provided test suite automatically. To " "suppress such behavior, override B." msgstr "" +"O sistema de compilação de terceiros B (do pacote B) agora corre a suite de testes disponibilizada pelo autor " +"automaticamente. Para suprimir tal comportamento, sobreponha B." #. type: textblock -#: debhelper.pod:1080 +#: debhelper.pod:1141 msgid "" "The B tool now aborts if it sees conflicting definitions of a " "manpage. This typically happens if the upstream build system is installing " @@ -2360,68 +2520,101 @@ "remove the manpage from F<< debian/I.manpages >> (assuming both " "versions are identical)." msgstr "" +"A ferramenta B agora aborta se vir definições conflituosas de " +"uma manpage. Isto tipicamente acontece se o sistema de compilação do autor " +"está a instalar uma versão comprimida e o pacote lista uma versão " +"descomprimida da manpage em F<< debian/I.manpages >>. Muitas vezes " +"a correção mais fácil é remover a manpage de F<< debian/I.manpages " +">> (assumindo que ambas as versões são idênticas)." #. type: textblock -#: debhelper.pod:1090 +#: debhelper.pod:1151 msgid "" "The B helpers now resets the environment variables B and " -"common B variable. B and B are each set to a " -"distinct writable directory. The rest of the environment variables are " -"cleared." +"common B variable. Please see description of the environment " +"variables in L for how this handled." msgstr "" +"Os ajudantes de B agora reiniciam as variáveis de ambiente " +"B e variável comum B. Por favor veja a descrição das variáveis " +"de ambiente em L para como lidar com isto." #. type: textblock -#: debhelper.pod:1097 +#: debhelper.pod:1155 +msgid "" +"I" +msgstr "I" + +#. type: textblock +#: debhelper.pod:1159 msgid "" "The B command will now error if an override or hook target for an " "obsolete command are present in F (e.g. " "B)." msgstr "" +"O comando B ir+a agora dar erro se estiver presente um alvo de " +"sobreposição ou hook para um comando obsoleto em F (ex." +"B)." #. type: textblock -#: debhelper.pod:1103 +#: debhelper.pod:1165 msgid "" "The B command will now default to B<--fail-missing>. This can " "be reverted to a non-fatal warning by explicitly passing B<--list-missing> " "like it was in compat 12." msgstr "" +"O comando B irá agora usar por predefinição B<--fail-missing>. " +"Isto pode ser revertido para um aviso não fatal ao passar explicitamente B<--" +"list-missing> como era na compatibilidade 12." #. type: textblock -#: debhelper.pod:1107 +#: debhelper.pod:1169 msgid "" "If you do not want the warning either, please omit the call to " "B. If you use the B command sequencer, then you can do this " "by inserting an empty override target in the F file of the " "relevant package. As an example:" msgstr "" +"Se você também não quiser o aviso, por favor omita a chamada ao " +"B. Se você usar o sequenciador de comandos B, então pode " +"fazer isto ao inserir um alvo de sobreposição vazio no ficheiro F do pacote relevante. Como exemplo:" #. type: verbatim -#: debhelper.pod:1112 +#: debhelper.pod:1174 #, no-wrap msgid "" " # Disable dh_missing\n" " override_dh_missing:\n" "\n" msgstr "" +" # Disable dh_missing\n" +" override_dh_missing:\n" +"\n" #. type: textblock -#: debhelper.pod:1117 +#: debhelper.pod:1179 msgid "" "The B command sequencer now runs B in the default " "sequence. The B takes over handling of tmpfiles.d " "configuration files. Related functionality in B is now " "disabled." msgstr "" +"O sequenciador de comandos B agora corre B na " +"sequência predefinida. O B assume o manusear dos " +"ficheiros de configuração tmpfiles.d. A funcionalidade relacionada em " +"B está agora desactivada." #. type: textblock -#: debhelper.pod:1122 +#: debhelper.pod:1184 msgid "" "Note that B responds to F<< debian/I.tmpfiles " ">> where B used a name without the trailing \"s\"." msgstr "" +"Note que B responde a F<< debian/I.tmpfiles >> " +"onde B usou um nome sem o \"s\" final." #. type: textblock -#: debhelper.pod:1128 +#: debhelper.pod:1190 msgid "" "Many B tools now support limited variable expansion via the B<${foo}> " "syntax. In many cases, this can be used to reference paths that contain " @@ -2430,69 +2623,128 @@ "exec(1)> in general. If you need filtering, renaming, etc., the package " "will still need L." msgstr "" +"Muitas ferramentas B agora suportam expansão de variáveis limitada via " +"sintaxe B<${foo}>. Em muitos casos, isto pode ser usado para referenciar " +"caminhos que contêm ou espaços ou valores L. Enquanto " +"isto pode reduzir a necessidade de L em alguns casos, B é " +"um substituto de L em geral. Se você precisar de filtrar, " +"renomear, etc... o pacote irá continuar a precisar de L." #. type: textblock -#: debhelper.pod:1135 +#: debhelper.pod:1197 msgid "" "Please see L for syntax and " "available substitution variables. To B tool writers, substitution " "expansion occurs as a part of the B and B " "functions." msgstr "" +"Por favor veja L " +"para sintaxe e variáveis de substituição disponíveis. Para os escritores da " +"ferramenta B, a expansão de substituição ocorre como parte das " +"funções B e B." #. type: textblock -#: debhelper.pod:1142 +#: debhelper.pod:1204 msgid "" "The B command sequencer will now skip all hook and override targets for " "B, B and B when B lists " "the relevant B / B options." msgstr "" +"O sequenciador de comandos B irá agora saltar todos os alvos hook e de " +"sobreposição para B, B e B quando " +"B listar as opções B / B relevantes." #. type: textblock -#: debhelper.pod:1146 +#: debhelper.pod:1208 msgid "" "Any package relying on these targets to always be run should instead move " "relevant logic out of those targets. E.g. non-test related packaging code " "from B would have to be moved to " "B or B." msgstr "" +"Qualquer pacote que se apoie nestes alvos para ser sempre corrido deve, em " +"vez disto, mover a lógica relevante para fora destes alvos. Ex, código de " +"empacotamento não relacionado com testes a partir de " +"B deverá ser movido para " +"B ou B." #. type: textblock -#: debhelper.pod:1153 +#: debhelper.pod:1215 msgid "" "The B buildsystem now passes B<-" "DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> to L to speed up automatic " "installation process. If for some reason you need previous behavior, " "override the flag:" msgstr "" +"O sistema de compilação B agora passa B<-" +"DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON> ao L para acelerar o " +"processo de instalação automática. Se por alguma razão você precisar do " +"comportamento anterior, sobreponha a flag:" #. type: verbatim -#: debhelper.pod:1157 +#: debhelper.pod:1219 #, no-wrap msgid "" " dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ...\n" "\n" msgstr "" +" dh_auto_configure -- -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF ...\n" +"\n" #. type: =item -#: debhelper.pod:1161 -#, fuzzy -#| msgid "v1" +#: debhelper.pod:1223 msgid "v14" -msgstr "v1" +msgstr "v14" #. type: textblock -#: debhelper.pod:1163 strings-kept-translations.pod:9 +#: debhelper.pod:1225 strings-kept-translations.pod:9 msgid "" "This compatibility level is still open for development; use with caution." msgstr "" "Este nível de compatibilidade ainda está aberto em desenvolvimento; use com " "cuidado." +#. type: textblock +#: debhelper.pod:1227 +msgid "Changes from v13 are:" +msgstr "As alterações a partir de v13 são:" + +#. type: textblock +#: debhelper.pod:1233 +msgid "" +"The B buildsystem now passes B<-DCMAKE_SKIP_RPATH=ON> and B<-" +"DBUILD_RPATH_USE_ORIGIN=ON> to L to avoid some reproducibility " +"issues." +msgstr "" +"O sistema de compilação B agora passa B<-DCMAKE_SKIP_RPATH=ON> e B<-" +"DBUILD_RPATH_USE_ORIGIN=ON> a L para evitar alguns problemas de " +"reprodutibilidade." + +#. type: textblock +#: debhelper.pod:1237 +msgid "" +"This can cause issues with running binaries directly from the build " +"directories as they might now require a manually set B. If " +"you need to override this change, we recommend that you try to pass the B<-" +"DCMAKE_SKIP_RPATH=OFF> option first to see if that fixes the problem " +"(leaving B at its new default). This should undo " +"the need for B and avoid the reproducibility issues on " +"Linux, where B<$ORIGIN> is supported by the runtime linkers." +msgstr "" +"Isto pode causar problemas com o correr binários directamente dos " +"directórios de compilação pois eles podem não requerer uma " +"B definida manualmente. Se você precisa de sobrepor esta " +"alteração, nós recomendamos que tente passar a opção B<-" +"DCMAKE_SKIP_RPATH=OFF> primeiro para ver se isso corrige o problema " +"(deixando B na sua nova predefinição). Isto deve " +"desfazer a necessidade de B e evitar os problemas de " +"reprodutibilidade em Linux, onde B<$ORIGIN> é suportado pelos vinculadores " +"de tempo-de-execução." + #. type: =head1 -#: debhelper.pod:1167 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 +#: debhelper.pod:1249 dh_auto_test:48 dh_dwz:69 dh_installcatalogs:67 #: dh_installdocs:195 dh_installemacsen:75 dh_installexamples:92 -#: dh_installinit:205 dh_installinitramfs:53 dh_installman:131 +#: dh_installinit:205 dh_installinitramfs:60 dh_installman:131 #: dh_installmodules:57 dh_installudev:50 dh_installwm:66 dh_installxfonts:40 #: dh_movefiles:67 dh_strip:119 dh_usrlocal:60 dh_systemd_enable:104 #: dh_systemd_start:68 @@ -2500,12 +2752,12 @@ msgstr "NOTAS" #. type: =head2 -#: debhelper.pod:1169 +#: debhelper.pod:1251 msgid "Multiple binary package support" msgstr "Suporte a pacotes de múltiplos binários" #. type: textblock -#: debhelper.pod:1171 +#: debhelper.pod:1253 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 " @@ -2520,11 +2772,11 @@ "correm. No caso do seu pacote fonte gerar um pacote dependente de " "arquitectura, e outro pacote independente da arquitectura, este não é o " "comportamento correcto, porque você precisa de gerar os pacotes dependentes " -"de arquitectura na meta F binary-arch, e os pacotes " -"independentes de arquitectura na meta F binary-indep." +"de arquitectura no alvo F binary-arch, e os pacotes " +"independentes de arquitectura no alvo F binary-indep." #. type: textblock -#: debhelper.pod:1179 +#: debhelper.pod:1261 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<-" @@ -2540,7 +2792,7 @@ "excepções em baixo." #. type: textblock -#: debhelper.pod:1185 +#: debhelper.pod:1267 msgid "" "First, any package whose B field in B does not " "match the B architecture will be excluded (L)." #. type: textblock -#: debhelper.pod:1189 +#: debhelper.pod:1271 msgid "" "Also, some additional packages may be excluded based on the contents of the " "B environment variable and B fields in " @@ -2564,12 +2816,12 @@ "política proposta em L." #. type: =head3 -#: debhelper.pod:1194 +#: debhelper.pod:1276 msgid "Interaction between package selections and Build-Profiles" msgstr "Interacção entre selecções de pacotes e Build-Profiles" #. type: textblock -#: debhelper.pod:1196 +#: debhelper.pod:1278 msgid "" "Build-Profiles affect which packages are included in the package selections " "mechanisms in debhelper. Generally, the package selections are described " @@ -2584,14 +2836,14 @@ "devido a Build-Profiles activos (ou a falta de Build-Profiles activos)." #. type: =item -#: debhelper.pod:1204 +#: debhelper.pod:1286 msgid "-a/--arch, -i/--indep OR no selection options (a raw \"dh_X\" call)" msgstr "" "-a/--arch, -i/--indep OU nenhuma opção de selecção (uma chamada \"dh_X\" " "crua)" #. type: textblock -#: debhelper.pod:1206 +#: debhelper.pod:1288 msgid "" "The package disabled by Build-Profiles is silently excluded from the " "selection." @@ -2599,7 +2851,7 @@ "O pacote desactivado por Build-Profiles é excluído em silêncio da selecção." #. type: textblock -#: debhelper.pod:1209 +#: debhelper.pod:1291 msgid "" "Note you will receive a warning if I packages related to these " "selections are disabled. In that case, it generally does not make sense to " @@ -2610,27 +2862,27 @@ "sentido sequer fazer a compilação." #. type: =item -#: debhelper.pod:1213 +#: debhelper.pod:1295 msgid "-N I / --no-package I" msgstr "-N I / --no-package I" #. type: textblock -#: debhelper.pod:1215 +#: debhelper.pod:1297 msgid "The option is accepted and effectively does nothing." msgstr "A opção é aceite e efectivamente não faz nada." #. type: =item -#: debhelper.pod:1217 +#: debhelper.pod:1299 msgid "-p I / --package I" msgstr "-p I / --package I" #. type: textblock -#: debhelper.pod:1219 +#: debhelper.pod:1301 msgid "The option is accepted, but debhelper will not act on the package." msgstr "A opção é aceite, mas o debhelper não irá actuar no pacote." #. type: textblock -#: debhelper.pod:1223 +#: debhelper.pod:1305 msgid "" "Note that it does not matter whether a package is enabled or disabled by " "default." @@ -2639,12 +2891,12 @@ "predefinição." #. type: =head2 -#: debhelper.pod:1226 +#: debhelper.pod:1308 msgid "Automatic generation of Debian install scripts" msgstr "Geração automática de scripts de instalação Debian" #. type: textblock -#: debhelper.pod:1228 +#: debhelper.pod:1310 msgid "" "Some debhelper commands will automatically generate parts of Debian " "maintainer scripts. If you want these automatically generated things " @@ -2654,14 +2906,14 @@ "B." msgstr "" "Alguns comandos do debhelper irão gerar automaticamente partes de scripts de " -"mantenedor Debian. Se desejar que estas coisas geradas automaticamente sejam " -"incluídas nos sues scripts de mantenedor Debian existentes, então você " +"maintainer Debian. Se desejar que estas coisas geradas automaticamente sejam " +"incluídas nos sues scripts de maintainer Debian existentes, então você " "precisa adicionar B<#DEBHELPER#> aos seus scripts, no local onde o código " "deverá ser adicionado. B<#DEBHELPER#> será substituído por qualquer código " "auto-gerado quando você correr o B." #. type: textblock -#: debhelper.pod:1235 +#: debhelper.pod:1317 msgid "" "If a script does not exist at all and debhelper needs to add something to " "it, then debhelper will create the complete script." @@ -2670,7 +2922,7 @@ "então o debhelper irá criar o script completo." #. type: textblock -#: debhelper.pod:1238 +#: debhelper.pod:1320 msgid "" "All debhelper commands that automatically generate code in this way let it " "be disabled by the -n parameter (see above)." @@ -2679,7 +2931,7 @@ "permitem que o seja desactivado pelo parâmetro -n (ver em cima)." #. type: textblock -#: debhelper.pod:1241 +#: debhelper.pod:1323 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 " @@ -2692,7 +2944,7 @@ "definidos com o comando \"set\"):" #. type: verbatim -#: debhelper.pod:1246 +#: debhelper.pod:1328 #, no-wrap msgid "" " my $temp=\"set -e\\nset -- @ARGV\\n\" . << 'EOF';\n" @@ -2724,12 +2976,12 @@ "\n" #. type: =head2 -#: debhelper.pod:1259 +#: debhelper.pod:1341 msgid "Automatic generation of miscellaneous dependencies." msgstr "Geração automática de dependências variadas." #. type: textblock -#: debhelper.pod:1261 +#: debhelper.pod:1343 msgid "" "Some debhelper commands may make the generated package need to depend on " "some other packages. For example, if you use L, your " @@ -2748,7 +3000,7 @@ "debhelper oferece um modo de automatizar isto." #. type: textblock -#: debhelper.pod:1269 +#: debhelper.pod:1351 msgid "" "All commands of this type, besides documenting what dependencies may be " "needed on their man pages, will automatically generate a substvar called B<" @@ -2757,12 +3009,12 @@ msgstr "" "Todos os comandos deste tipo, além de documentar quais dependências podem " "ser necessárias nos seus manuais, irão gerar automaticamente um substvar " -"chamado B<${misc:Depends}>. Se você colocar esse testemunho no seu ficheiro " +"chamado B<${misc:Depends}>. Se você colocar esse token no seu ficheiro " "F, será expandido às dependências que o debhelper descobre " "que você precisa." #. type: textblock -#: debhelper.pod:1274 +#: debhelper.pod:1356 msgid "" "This is entirely independent of the standard B<${shlibs:Depends}> generated " "by L, and the B<${perl:Depends}> generated by " @@ -2775,12 +3027,12 @@ "corresponderem à realidade." #. type: =head2 -#: debhelper.pod:1279 +#: debhelper.pod:1361 msgid "Package build directories" msgstr "Directórios de compilação de pacotes" #. type: textblock -#: debhelper.pod:1281 +#: debhelper.pod:1363 msgid "" "By default, all debhelper programs assume that the temporary directory used " "for assembling the tree of files in a package is debian/I." @@ -2790,7 +3042,7 @@ "I." #. type: textblock -#: debhelper.pod:1284 +#: debhelper.pod:1366 msgid "" "Sometimes, you might want to use some other temporary directory. This is " "supported by the B<-P> flag. For example, \"B" @@ -2809,13 +3061,13 @@ "programa debhelper irá actuar." #. type: =head2 -#: debhelper.pod:1292 +#: debhelper.pod:1374 msgid "udebs" msgstr "udebs" # FIXME : a udeb #. type: textblock -#: debhelper.pod:1294 +#: debhelper.pod:1376 msgid "" "Debhelper includes support for udebs. To create a udeb with debhelper, add " "\"B\" to the package's stanza in F. " @@ -2832,33 +3084,40 @@ "F, F, F, e F, etc." #. type: =head1 -#: debhelper.pod:1301 +#: debhelper.pod:1383 msgid "ENVIRONMENT" msgstr "AMBIENTE" #. type: textblock -#: debhelper.pod:1303 +#: debhelper.pod:1385 +msgid "" +"This section describes some of the environment variables that influences the " +"behaviour of debhelper or which debhelper interacts with." +msgstr "" +"Esta secção descreve algumas das variáveis de ambiente que influenciam o " +"comportamento do debhelper ou de quem o debhelper interage." + +#. type: textblock +#: debhelper.pod:1388 msgid "" -"The following environment variables can influence the behavior of " -"debhelper. It is important to note that these must be actual environment " -"variables in order to function properly (not simply F variables). " -"To specify them properly in F, be sure to \"B\" them. " -"For example, \"B\"." -msgstr "" -"As seguintes variáveis de ambiente podem influenciar o comportamento do " -"debhelper. É importante notar que estas que estas têm de ser mesmo variáveis " -"de ambiente de modo a funcionarem correctamente (e não simplesmente " -"variáveis do F). Para as especificar correctamente em F, assegure-se de lhes fazer \"B\". Por exemplo, \"B\"" +"It is important to note that these must be actual environment variables in " +"order to affect the behaviour of debhelper (not simply F " +"variables). To specify them properly in F, be sure to " +"\"B\" them. For example, \"B\"." +msgstr "" +"É importante notar que estas que estas têm de ser mesmo variáveis de " +"ambiente de modo a afectarem o comportamento do debhelper (e não " +"simplesmente variáveis do F). Para as especificar correctamente em " +"F, assegure-se de lhes fazer \"B\". Por exemplo, " +"\"B\"" #. type: =item -#: debhelper.pod:1311 +#: debhelper.pod:1395 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1313 +#: debhelper.pod:1397 msgid "" "Set to B<1> to enable verbose mode. Debhelper will output every command it " "runs. Also enables verbose build logs for some build systems like autoconf." @@ -2868,12 +3127,12 @@ "detalhados para alguns sistemas de compilação como o autoconf." #. type: =item -#: debhelper.pod:1316 +#: debhelper.pod:1400 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1318 +#: debhelper.pod:1402 msgid "" "Set to B<1> to enable quiet mode. Debhelper will not output commands calling " "the upstream build system nor will dh print which subcommands are called and " @@ -2890,12 +3149,12 @@ "definido." #. type: =item -#: debhelper.pod:1325 +#: debhelper.pod:1409 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1327 +#: debhelper.pod:1411 msgid "" "Temporarily specifies what compatibility level debhelper should run at, " "overriding any value specified via Build-Depends on debhelper-compat or via " @@ -2906,31 +3165,36 @@ "compat ou via ficheiro F." #. type: =item -#: debhelper.pod:1331 +#: debhelper.pod:1415 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1333 +#: debhelper.pod:1417 msgid "Set to B<1> to enable no-act mode." msgstr "Defina para B<1> para activar o modo no-act." #. type: =item -#: debhelper.pod:1335 +#: debhelper.pod:1419 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1337 +#: debhelper.pod:1421 msgid "" "All debhelper tools will parse command line arguments listed in this " "variable before any command option (as if they had been prepended to the " "command line arguments). Unfortunately, some third-party provided tools may " "not support this variable and will ignore these command line arguments." msgstr "" +"Todas as ferramentas debhelper irão processar os argumentos de linha de " +"comandos listados nesta variável antes de qualquer opção de comando (como se " +"eles fossem anexados aos argumentos de linha de comandos). Infelizmente, " +"algumas ferramentas disponibilizadas por terceiros podem não suportar esta " +"variável e irão ignorar estes argumentos de linha de comandos." #. type: textblock -#: debhelper.pod:1342 +#: debhelper.pod:1426 msgid "" "When using L, it can be passed options that will be passed on to each " "debhelper command, which is generally better than using DH_OPTIONS." @@ -2939,12 +3203,12 @@ "comando do debhelper, o que é geralmente melhor do que usar DH_OPTIONS." #. type: =item -#: debhelper.pod:1345 +#: debhelper.pod:1429 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1347 +#: debhelper.pod:1431 msgid "" "If set, this adds the value the variable is set to to the B<-X> options of " "all commands that support the B<-X> option. Moreover, B will " @@ -2956,7 +3220,7 @@ "sua árvore de compilação do pacote." #. type: textblock -#: debhelper.pod:1351 +#: debhelper.pod:1435 msgid "" "This can be useful if you are doing a build from a CVS source tree, in which " "case setting B will prevent any CVS directories from " @@ -2974,7 +3238,7 @@ "seu é compilado." #. type: textblock -#: debhelper.pod:1358 +#: debhelper.pod:1442 msgid "" "Multiple things to exclude can be separated with colons, as in " "B" @@ -2983,12 +3247,12 @@ "B" #. type: =item -#: debhelper.pod:1361 +#: debhelper.pod:1445 msgid "B" msgstr "B" #. type: textblock -#: debhelper.pod:1363 +#: debhelper.pod:1447 msgid "" "If set, this adds the specified dh addons to be run in the appropriate " "places in the sequence of commands. This is equivalent to specifying the " @@ -3002,7 +3266,7 @@ "ambiente não será executada." #. type: textblock -#: debhelper.pod:1368 +#: debhelper.pod:1452 msgid "" "This is intended to be used by downstreams or specific local configurations " "that require a debhelper addon to be run during multiple builds without " @@ -3016,20 +3280,23 @@ "uma bandeira --with no ficheiro rules." #. type: =item -#: debhelper.pod:1373 +#: debhelper.pod:1457 msgid "B, B" -msgstr "" +msgstr "B, B" #. type: textblock -#: debhelper.pod:1375 +#: debhelper.pod:1459 msgid "" "These variables can be used to control whether debhelper commands should use " "colors in their textual output. Can be set to \"always\", \"auto\" (the " "default), or \"never\"." msgstr "" +"Estas variáveis podem ser usadas para controlar se os comandos do debhelper " +"devem usar cores nos resultados textuais. Podem ser definidas para \"always" +"\", \"auto\" (a predefinição), ou \"never\"." #. type: textblock -#: debhelper.pod:1379 +#: debhelper.pod:1463 msgid "" "Note that B also affects a number of dpkg related tools and " "debhelper uses it on the assumption that you want the same color setting for " @@ -3037,37 +3304,50 @@ "for debhelper, you can use B instead or in addition to " "B." msgstr "" +"Note que B também afecta um número de ferramentas relacionadas " +"ao dpkg e o debhelper usa-o na suposição que você quer a mesma definição de " +"cor para o dpkg e debhelper. Na hipótese de você querer definição de cor " +"diferente para o debhelper, pode usar B em vez disso ou em adição " +"a B." #. type: =item -#: debhelper.pod:1385 +#: debhelper.pod:1469 msgid "B" -msgstr "" +msgstr "B" #. type: textblock -#: debhelper.pod:1387 +#: debhelper.pod:1471 msgid "" "If no explicit request for color has been given (e.g. B and " "B are both unset), the presence of this environment variable " "cause the default color setting to be \"never\"." msgstr "" +"Se não for fornecido um pedido específico para cor (ex. B e " +"B estão ambos não-definidos), a presença desta variável de " +"ambiente faz com que a definição de cor predefinida seja \"never\"." #. type: textblock -#: debhelper.pod:1391 +#: debhelper.pod:1475 msgid "" "The variable is defined according to L. In this " "project, the environment variables (such as B) are considered an " "explicit request for color." msgstr "" +"A variável é definida de acordo com L. Neste " +"projecto, as variáveis de ambiente (tais como B) são consideradas " +"um requisito explícito para cor." #. type: =item -#: debhelper.pod:1395 +#: debhelper.pod:1479 msgid "" "B, B, B, B, B, " "B, B, B, B" msgstr "" +"B, B, B, B, B, " +"B, B, B, B" #. type: textblock -#: debhelper.pod:1397 +#: debhelper.pod:1481 msgid "" "By default (in any non-deprecated compat level), debhelper will " "automatically set these flags by using L, when they are " @@ -3076,40 +3356,352 @@ "B or B) rather than setting the concrete variable directly." msgstr "" +"Por predefinição (em qualquer nível de compatibilidade não-abandonado). o " +"debhelper irá automaticamente definir estas flags ao usar L, quando não estiverem definidas. Se você precisar de " +"modificar as flags predefinidas, por favor use as funcionalidades de L para o fazer (ex. B ou " +"B) em vez de definir a " +"variável concreta directamente." + +#. type: =item +#: debhelper.pod:1488 +msgid "B, B" +msgstr "B, B" + +#. type: textblock +#: debhelper.pod:1490 +msgid "" +"In compat 13 and later, these environment variables are reset before " +"invoking the upstream build system via the B helpers. The " +"variables B (all B helpers)and B " +"(B only) will be set to a writable directory. All remaining " +"variables and B (except for during B) will be " +"cleared." +msgstr "" +"Em compatibilidade 13 e posterior, estas variáveis de ambiente são " +"reiniciadas antes de invocar o sistema de compilação do autor via ajudantes " +"do B. As variáveis B (todos os ajudantes B) e " +"B (apenas B) irão ser definidas para um " +"directório gravável. Todas as restantes variáveis e B " +"(excepto para durante B) irão ser limpas." + +#. type: textblock +#: debhelper.pod:1496 +msgid "" +"The B directory will be created as an empty directory but it will be " +"reused between calls to B. Any content will persist until " +"explicitly deleted or B." +msgstr "" +"O directório B será criado como um directório vazio mas ele será " +"reutilizado entre chamadas a B. Qualquer conteúdo irá persistir " +"até ser explicitamente apagado ou B." + +#. type: =item +#: debhelper.pod:1500 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1502 +msgid "" +"Please see L for this environment " +"variable." +msgstr "" +"Por favor veja L para esta " +"variável de ambiente." + +#. type: textblock +#: debhelper.pod:1505 +msgid "" +"Please note that this variable should I be altered by package " +"maintainers inside F to change the behaviour of debhelper. " +"Instead, where the package maintainer need these features, they should look " +"disabling the relevant feature directly (e.g. by overriding the concrete " +"tools)." +msgstr "" +"Por favor note que esta variável I deve ser alterada por maintainers de " +"pacote dentro de F para mudar o comportamento do debhelper. Em " +"vez disso, onde o maintainer do pacote precisar destas funcionalidades, eles " +"devem procurar desactivar a funcionalidade relevante directamente (ex. ao " +"sobrepor as ferramentas concretas)." + +#. type: =item +#: debhelper.pod:1510 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1512 +msgid "" +"This is a dpkg specific environment variable (see e.g. L). The debhelper tool suite silently ignores it." +msgstr "" +"Esta é uma variável de ambiente especifica do dpkg (veja por ex. L). A suite de ferramentas do debhelper ignora-a em silêncio." + +#. type: textblock +#: debhelper.pod:1515 +msgid "" +"It is documented here because it has a similar name to B, " +"which make some people mistakenly assume that debhelper will also react to " +"this variable." +msgstr "" +"Está documentada aqui porque tem um nome semelhante a B, " +"o que faz com que algumas pessoas assumam em erro que o debhelper também vai " +"reagir a esta variável." + +#. type: =head2 +#: debhelper.pod:1521 +msgid "Supported flags in DEB_BUILD_OPTIONS" +msgstr "Bandeiras suportadas em DEB_BUILD_OPTIONS" + +#. type: textblock +#: debhelper.pod:1523 +msgid "" +"The debhelper tool suite reacts to the following flags in " +"B." +msgstr "" +"A suite de ferramentas debhelper reage às seguintes bandeiras em " +"B." + +#. type: =item +#: debhelper.pod:1527 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1529 +msgid "I" +msgstr "I" + +#. type: textblock +#: debhelper.pod:1531 +msgid "" +"When B is present and set to B, then " +"debhelper tools will promote deprecation warnings for usage of old soon to " +"be removed compat levels into errors." +msgstr "" +"Quando B está presente e definida para B, " +"então as ferramentas debhelper irão promover para erros os avisos de " +"descontinuidade de níveis de compatibilidade antigos e prestes a serem " +"removidos." + +#. type: textblock +#: debhelper.pod:1535 +msgid "" +"This is useful for automated checking for code relying on deprecated compat " +"levels that is scheduled for removal." +msgstr "" +"Isto é útil para verificação automática de confiança de código em níveis de " +"compatibilidade descontinuados que estão agendados para remoção." + +#. type: textblock +#: debhelper.pod:1538 +#, fuzzy +#| msgid "" +#| "This environment variable is intended for testing purposes; not " +#| "production builds." +msgid "This option is intended for testing purposes; not production builds." +msgstr "" +"Esta variável de ambiente destina-se para objectivos de teste; não para " +"compilações de produção." + +#. type: =item +#: debhelper.pod:1540 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1542 debhelper.pod:1565 +msgid "" +"I" +msgstr "" +"I" + +#. type: textblock +#: debhelper.pod:1546 +msgid "" +"This value will cause the official debhelper tools will skip actions and " +"helpers that either remove, detach or deduplicate debugging symbols in ELF " +"binaries." +msgstr "" +"Este valor irá fazer com que as ferramentas oficiais debhelper saltem acções " +"e ajudantes que ou removem, desanexam ou duplicam símbolos em binários ELF." + +#. type: textblock +#: debhelper.pod:1550 +msgid "This value affects L and L." +msgstr "Este valor afecta L e L." + +#. type: =item +#: debhelper.pod:1552 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1554 +msgid "" +"This value will cause the official debhelper build systems to skip runs of " +"upstream test suites." +msgstr "" +"Este valor irá fazer com que os sistemas de compilação oficiais debhelper " +"saltem execuções de suites de testes do autor original." + +#. type: textblock +#: debhelper.pod:1557 +msgid "" +"Package maintainers looking to avoid running the upstream tests should " +"B rely on this. Instead, they can add an empty override target to skip " +"B." +msgstr "" +"Os maintainers de pacotes que procurem evitar correr os testes do autor " +"B devem confiar nisto. Em vez disto, eles podem adicionar um alvo de " +"sobreposição vazio para saltar o B." + +#. type: textblock +#: debhelper.pod:1561 +msgid "This value affects L." +msgstr "Este valor afecta L." + +#. type: =item +#: debhelper.pod:1563 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1569 +msgid "" +"This value will cause several debhelper tools to skip installation of " +"documentation such as manpages or upstream provided documentation. " +"Additionally, the tools will also ignore if declared documentation is " +"\"missing\" on the assumption that the documentation has not been built." +msgstr "" +"Este valor irá fazer com que várias ferramentas debhelper saltem a " +"instalação de documentação tal como os manuais ou documentação fornecida " +"pelo autor original. Adicionalmente, as ferramentas irão também ignorar se a " +"documentação declarada está \"em falta\" assumindo que a documentação não " +"foi compilada." + +#. type: textblock +#: debhelper.pod:1574 +msgid "" +"This value effects tools I L, which I it is " +"working with documentation." +msgstr "" +"Este valor afecta ferramentas do I L, que I " +"que estão a trabalhar com documentação." + +#. type: =item +#: debhelper.pod:1577 +msgid "B, B" +msgstr "B, B" + +#. type: textblock +#: debhelper.pod:1579 +msgid "" +"I" +msgstr "" +"I" + +#. type: textblock +#: debhelper.pod:1582 +msgid "" +"This value causes debhelper to skip the generation of automatically " +"generated debug symbol packages." +msgstr "" +"Este valor faz com que o debhelper salte a geração de pacotes de símbolos de " +"depuração gerados automaticamente." + +#. type: textblock +#: debhelper.pod:1585 +msgid "This value affects L." +msgstr "Este valor afecta L." + +#. type: =item +#: debhelper.pod:1587 +msgid "B" +msgstr "B" + +#. type: textblock +#: debhelper.pod:1589 +msgid "" +"This value enables debhelper to use up to B threads or processes (subject " +"to parameters like B<--no-parallel> and B<--max-parallel=M>). Not all " +"debhelper tools work with parallel tasks and may silently ignore the request." +msgstr "" +"Este valor habilita o debhelper a usar até B linhas de processos " +"(sujeitos a parâmetros como B<--no-parallel> e B<--max-parallel=M>). Nem " +"todas as ferramentas debhelper trabalham com tarefas paralelas e podem " +"ignorar o pedido em silêncio." -#. type: =item -#: debhelper.pod:1404 -msgid "B, B" +#. type: textblock +#: debhelper.pod:1594 +msgid "" +"This value affects many debhelper tools. Most notably B, which " +"will attempt to run the underlying upstream build system with that number of " +"threads." msgstr "" +"Este valor afecta muitas ferramentas debhelper. Mais notoriamente " +"B, a qual irá tentar correr o sistema de compilação subjacente do " +"autor com esse número de linhas de execução." + +#. type: =item +#: debhelper.pod:1598 +msgid "B" +msgstr "B" #. type: textblock -#: debhelper.pod:1406 +#: debhelper.pod:1600 msgid "" -"In compat 13 and later, these environment variables are reset before " -"invoking the upstream build system via the B helpers. The " -"variables B and B will be set to a writable " -"directory. The remaining variables will be cleared." +"This value will cause the official debhelper build systems to configure " +"upstream builds to be terse (i.e. reduce verbosity in their output). This " +"is subject to the upstream and the debhelper build system supporting such " +"features." msgstr "" +"Este valor irá fazer com que os sistemas de compilação oficiais debhelper " +"configurem as compilações do autor para serem concisas (isto é, reduzir os " +"detalhes dos seus resultados). Isto está sujeito a que os sistemas de " +"compilação do autor e do debhelper suportem tais funcionalidades." #. type: textblock -#: debhelper.pod:1411 +#: debhelper.pod:1605 +msgid "This value affects most B tools." +msgstr "Este valor afecta a maioria das ferramentas B." + +#. type: textblock +#: debhelper.pod:1609 +msgid "Unknown flags are silently ignored." +msgstr "Bandeiras desconhecidas são ignoradas em silêncio." + +#. type: textblock +#: debhelper.pod:1611 msgid "" -"The directories will be created as empty directories but they will be reused " -"between calls to B. Any content will persist until explicitly " -"deleted or B." +"Note third-party debhelper-like tools or third-party provided build systems " +"may or may not react to the above flags. This tends to depend on " +"implementation details of the tool." msgstr "" +"Note que ferramentas de terceiros estilo-debhelper ou sistemas de compilação " +"fornecidos por terceiros podem não reagir às bandeiras em cima. Isto tende a " +"depender dos detalhes de implementação da ferramenta." #. type: =head1 -#: debhelper.pod:1417 debhelper-obsolete-compat.pod:118 dh:626 dh_auto_build:53 +#: debhelper.pod:1615 debhelper-obsolete-compat.pod:118 dh:732 dh_auto_build:53 #: dh_auto_clean:55 dh_auto_configure:58 dh_auto_install:97 dh_auto_test:64 -#: dh_bugfiles:133 dh_builddeb:182 dh_clean:190 dh_compress:242 dh_dwz:161 +#: dh_bugfiles:133 dh_builddeb:182 dh_clean:189 dh_compress:242 dh_dwz:161 #: dh_fixperms:164 dh_gconf:105 dh_gencontrol:207 dh_icons:75 dh_install:377 -#: dh_installcatalogs:128 dh_installchangelogs:302 dh_installcron:78 +#: dh_installcatalogs:128 dh_installchangelogs:300 dh_installcron:78 #: dh_installdeb:412 dh_installdebconf:128 dh_installdirs:131 #: dh_installdocs:447 dh_installemacsen:138 dh_installexamples:178 -#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:425 -#: dh_installinitramfs:85 dh_installlogcheck:81 dh_installlogrotate:53 -#: dh_installman:411 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 +#: dh_installifupdown:72 dh_installinfo:110 dh_installinit:430 +#: dh_installinitramfs:91 dh_installlogcheck:81 dh_installlogrotate:53 +#: dh_installman:417 dh_installmanpages:198 dh_installmenu:88 dh_installmime:63 #: dh_installmodules:109 dh_installpam:62 dh_installppp:68 dh_installudev:102 #: dh_installwm:132 dh_installxfonts:90 dh_link:166 dh_lintian:60 #: dh_listpackages:34 dh_makeshlibs:456 dh_md5sums:117 dh_movefiles:161 @@ -3119,35 +3711,35 @@ msgstr "VEJA TAMBÉM" #. type: =item -#: debhelper.pod:1421 +#: debhelper.pod:1619 msgid "F" msgstr "F" #. type: textblock -#: debhelper.pod:1423 +#: debhelper.pod:1621 msgid "A set of example F files that use debhelper." msgstr "Um conjunto de ficheiros F exemplo que usam debhelper." #. type: =item -#: debhelper.pod:1425 +#: debhelper.pod:1623 msgid "L" msgstr "L" #. type: textblock -#: debhelper.pod:1427 +#: debhelper.pod:1625 msgid "Debhelper web site." msgstr "Sítio web do debhelper." #. type: =head1 -#: debhelper.pod:1431 dh:632 dh_auto_build:59 dh_auto_clean:61 +#: debhelper.pod:1629 dh:738 dh_auto_build:59 dh_auto_clean:61 #: dh_auto_configure:64 dh_auto_install:103 dh_auto_test:70 dh_bugfiles:141 -#: dh_builddeb:188 dh_clean:196 dh_compress:248 dh_dwz:167 dh_fixperms:170 +#: dh_builddeb:188 dh_clean:195 dh_compress:248 dh_dwz:167 dh_fixperms:170 #: dh_gconf:111 dh_gencontrol:213 dh_icons:81 dh_install:383 -#: dh_installcatalogs:134 dh_installchangelogs:308 dh_installcron:84 +#: dh_installcatalogs:134 dh_installchangelogs:306 dh_installcron:84 #: dh_installdeb:418 dh_installdebconf:134 dh_installdirs:137 #: dh_installdocs:453 dh_installemacsen:145 dh_installexamples:184 -#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:93 -#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:417 +#: dh_installifupdown:78 dh_installinfo:116 dh_installinitramfs:99 +#: dh_installlogcheck:87 dh_installlogrotate:59 dh_installman:423 #: dh_installmanpages:204 dh_installmenu:96 dh_installmime:69 #: dh_installmodules:115 dh_installpam:68 dh_installppp:74 dh_installudev:108 #: dh_installwm:138 dh_installxfonts:96 dh_link:172 dh_lintian:68 @@ -3158,14 +3750,14 @@ msgstr "AUTOR" #. type: textblock -#: debhelper.pod:1433 dh:634 dh_auto_build:61 dh_auto_clean:63 +#: debhelper.pod:1631 dh:740 dh_auto_build:61 dh_auto_clean:63 #: dh_auto_configure:66 dh_auto_install:105 dh_auto_test:72 dh_builddeb:190 -#: dh_clean:198 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 -#: dh_install:385 dh_installchangelogs:310 dh_installcron:86 dh_installdeb:420 +#: dh_clean:197 dh_compress:250 dh_fixperms:172 dh_gencontrol:215 +#: dh_install:385 dh_installchangelogs:308 dh_installcron:86 dh_installdeb:420 #: dh_installdebconf:136 dh_installdirs:139 dh_installdocs:455 #: dh_installemacsen:147 dh_installexamples:186 dh_installifupdown:80 -#: dh_installinfo:118 dh_installinit:433 dh_installlogrotate:61 -#: dh_installman:419 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 +#: dh_installinfo:118 dh_installinit:438 dh_installlogrotate:61 +#: dh_installman:425 dh_installmanpages:206 dh_installmenu:98 dh_installmime:71 #: dh_installmodules:117 dh_installpam:70 dh_installppp:76 dh_installudev:110 #: dh_installwm:140 dh_installxfonts:98 dh_link:174 dh_listpackages:42 #: dh_makeshlibs:464 dh_md5sums:125 dh_movefiles:169 dh_prep:78 @@ -3326,7 +3918,7 @@ msgid "B will correct existing links to conform with policy." msgstr "" "B irá corrigir os links existentes para ficarem em conformidade com " -"a politica." +"a política." #. type: textblock #: debhelper-obsolete-compat.pod:93 @@ -3360,14 +3952,14 @@ "B resulta em erro se as \"wildcards\" expandirem para nada." #. type: textblock -#: debhelper-obsolete-compat.pod:120 dh:628 dh_auto_build:55 dh_auto_clean:57 +#: debhelper-obsolete-compat.pod:120 dh:734 dh_auto_build:55 dh_auto_clean:57 #: dh_auto_configure:60 dh_auto_install:99 dh_auto_test:66 dh_builddeb:184 -#: dh_clean:192 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 +#: dh_clean:191 dh_compress:244 dh_dwz:163 dh_fixperms:166 dh_gconf:107 #: dh_gencontrol:209 dh_install:379 dh_installcatalogs:130 -#: dh_installchangelogs:304 dh_installcron:80 dh_installdeb:414 +#: dh_installchangelogs:302 dh_installcron:80 dh_installdeb:414 #: dh_installdebconf:130 dh_installdirs:133 dh_installdocs:449 #: dh_installexamples:180 dh_installifupdown:74 dh_installinfo:112 -#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:413 +#: dh_installlogcheck:83 dh_installlogrotate:55 dh_installman:419 #: dh_installmanpages:200 dh_installmime:65 dh_installmodules:111 #: dh_installpam:64 dh_installppp:70 dh_installudev:104 dh_installwm:134 #: dh_installxfonts:92 dh_link:168 dh_listpackages:36 dh_makeshlibs:458 @@ -3377,13 +3969,13 @@ msgstr "L" #. type: =head1 -#: debhelper-obsolete-compat.pod:122 dh_installinit:431 dh_systemd_enable:285 +#: debhelper-obsolete-compat.pod:122 dh_installinit:436 dh_systemd_enable:285 #: dh_systemd_start:284 msgid "AUTHORS" msgstr "AUTORES" #. type: textblock -#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:95 +#: debhelper-obsolete-compat.pod:124 dh_dwz:169 dh_installinitramfs:101 msgid "Niels Thykier " msgstr "Niels Thykier " @@ -3415,23 +4007,17 @@ "B, B, and B." msgstr "" "B corre uma sequência de comandos do debhelper. As Is " -"suportadas correspondem às metas de um ficheiro F: B: B, B, B, B, B, B, B, B, B, e B." #. type: =head1 #: dh:33 -#, fuzzy -#| msgid "OVERRIDE TARGETS" msgid "OVERRIDE AND HOOK TARGETS" -msgstr "METAS DE SOBREPOSIÇÃO" +msgstr "ALVOS DE SOBREPOSIÇÃO E HOOK" #. type: textblock #: dh:35 -#, fuzzy -#| msgid "" -#| "A F file using B can override the command that is run " -#| "at any step in a sequence, by defining an override target." msgid "" "A F file using B can override the command that is run at " "any step in a sequence, by defining an override target. It is also possible " @@ -3439,13 +4025,14 @@ "itself." msgstr "" "Um ficheiro F que use B pode sobrepor o comando que é " -"executado em qualquer passo numa sequência, ao se definir uma meta de " -"sobreposição." +"executado em qualquer passo numa sequência, ao se definir um alvo de " +"sobreposição. É também possível injectar um comando antes ou depois de " +"qualquer passo sem afectar o próprio passo." #. type: =head2 #: dh:40 msgid "Injecting commands before or after a step" -msgstr "" +msgstr "Injectando comandos antes e depois de um passo" #. type: textblock #: dh:42 @@ -3453,6 +4040,8 @@ "I: This feature requires debhelper 12.8 or later plus the package must " "use compatibility mode 10 or later." msgstr "" +"I: Esta funcionalidade requer debhelper 12.8 ou posterior e o pacote " +"tem de usar modo de compatibilidade 10 ou posterior." #. type: textblock #: dh:45 @@ -3464,6 +4053,12 @@ "I and also even if the command is overridden (as described in L below)." msgstr "" +"Para injectar comandos antes de I, adicione um alvo chamado " +"BI aos ficheiros rules. De modo semelhante, se " +"precisar de injectar comandos após I, adicione o alvo " +"BI. Ambos alvos podem ser usados para o mesmo " +"I e também mesmo que o comando seja sobreposto (como descrito em " +"L em baixo)." #. type: textblock #: dh:52 @@ -3471,11 +4066,14 @@ "When these targets are defined, B will call the targets respectively " "before or after it would invoke I (or its override target)." msgstr "" +"Quando estes alvos estão definidos, B irá chamar os alvos respetivamente " +"antes ou depois de quando iria invocar I (ou os seus alvos de " +"sobreposição)." #. type: =head2 #: dh:55 msgid "Overriding a command" -msgstr "" +msgstr "Sobrepor um comando" #. type: textblock #: dh:57 @@ -3486,37 +4084,29 @@ "additional options, or run entirely different commands instead. See examples " "below." msgstr "" -"Para sobrepor o I, adicione uma meta chamada " +"Para sobrepor o I, adicione um alvo chamado " "BI ao ficheiro de regras. Em vez de correr " -"normalmente I, o B irá chamar essa meta. A meta de " +"normalmente I, o B irá chamar esse alvo. O alvo de " "sobreposição pode depois correr o comando com opções adicionais, ou em vez " "disso correr comandos completamente diferentes. Veja exemplos em baixo." #. type: =head2 #: dh:63 msgid "Architecture dependent/independent override and hook targets" -msgstr "" +msgstr "Alvos de sobreposição e hook dependentes/independentes da arquitectura" #. type: textblock #: dh:65 -#, fuzzy -#| msgid "" -#| "Override targets can also be defined to run only when building " -#| "architecture dependent or architecture independent packages. Use targets " -#| "with names like BIB<-arch> and " -#| "BIB<-indep>. (Note that to use this feature, you " -#| "should Build-Depend on debhelper 8.9.7 or above.)" msgid "" "The override and hook targets can also be defined to run only when building " "architecture dependent or architecture independent packages. Use targets " "with names like BIB<-arch> and " "BIB<-indep>." msgstr "" -"As metas de sobreposição também pode ser definidas para correr apenas quando " -"se compila pacotes dependentes ou independentes da arquitectura. Use metas " -"com nomes como BIB<-arch> e " -"BIB<-indep>. (Note que para usar esta funcionalidade, " -"você deve usar Build-Depend em debhelper 8.9.7 ou posterior.)" +"Os alvos de sobreposição e hook também podem ser definidos para correr " +"apenas quando se compila pacotes dependentes ou independentes da " +"arquitectura. Use alvos com nomes como BIB<-arch> e " +"BIB<-indep>." #. type: textblock #: dh:70 @@ -3524,11 +4114,13 @@ "This feature is available since debhelper 8.9.7 (for override targets) and " "12.8 (for hook targets)." msgstr "" +"Esta funcionalidade está disponível desde debhelper 8.9.7 (para alvos de " +"sobreposição) e 12.8 (para alvos hook)." #. type: =head2 #: dh:73 msgid "Completely empty targets" -msgstr "" +msgstr "Alvos completamente vazios" #. type: textblock #: dh:75 @@ -3537,11 +4129,15 @@ "empty. This is mostly useful for override targets, where the command will " "simply be skipped without the overhead of invoking a dummy target." msgstr "" +"Como uma optimização especial, B irá saltar um alvo se este estiver " +"completamente vazio. Isto é muito útil para alvos de sobreposição, onde o " +"comando irá simplesmente ser saltado sem a sobrecarga de invocar um alvo " +"fantoche." #. type: textblock #: dh:79 msgid "Note that the target has to be completely empty for this to work:" -msgstr "" +msgstr "Note que o alvo tem de estar completamente vazio para isto funcionar:" #. type: verbatim #: dh:81 @@ -3552,6 +4148,10 @@ " override_dh_bar:\n" "\n" msgstr "" +" # Skip dh_bar - the good and optimized way\n" +" # Some rationale for skipping dh_bar goes here\n" +" override_dh_bar:\n" +"\n" #. type: verbatim #: dh:86 @@ -3563,11 +4163,16 @@ " # (these comments causes a dummy target to be run)\n" "\n" msgstr "" +" # Skip dh_foo - the slow way\n" +" override_dh_foo:\n" +" # Some rationale for skipping dh_foo goes here\n" +" # (these comments causes a dummy target to be run)\n" +"\n" #. type: =head2 #: dh:91 msgid "Verifying targets are picked up by dh" -msgstr "" +msgstr "Verificando se os alvos são apanhados pelo dh" #. type: textblock #: dh:93 @@ -3575,6 +4180,8 @@ "If you want to confirm that B has seen an override or a hook target, you " "can use the following command as an example:" msgstr "" +"Se você desejar confirmar que o B viu um alvo de sobreposição ou hook, " +"pode usar o seguinte comando como um exemplo:" #. type: verbatim #: dh:96 @@ -3588,6 +4195,13 @@ " dh_installchangelogs\n" "\n" msgstr "" +" $ dh binary --no-act | grep dh_install | head -n5\n" +" dh_installdirs\n" +" dh_install\n" +" debian/rules execute_after_dh_install\n" +" dh_installdocs\n" +" dh_installchangelogs\n" +"\n" #. type: textblock #: dh:103 @@ -3596,6 +4210,9 @@ "that B registered a B target and would run it " "directly after L." msgstr "" +"O B no resultado, que assinala que " +"B registou um alvo B e o iria correr " +"directamente após L." #. type: textblock #: dh:107 @@ -3604,12 +4221,284 @@ "above. This makes it a bit harder to spot as you are looking for the " "omission of a command name. But otherwise, the principle remains the same." msgstr "" +"Note que L irão ser omitidos na listagem em " +"cima. Isto torna um pouco mais difícil detectar se você está a olhar para a " +"omissão de um nome de comando. Mas caso contrário, o princípio continua o " +"mesmo." + +#. type: =head2 +#: dh:111 +msgid "Caveats with hook targets and makefile conditionals" +msgstr "Ressalvas com alvos hook e condicionais makefile" + +#. type: textblock +#: dh:113 +msgid "" +"If you choose to wrap a hook target in makefile conditionals, please be " +"aware that B computes all the hook targets a head of time and caches the " +"result for that run. Furthermore, the conditionals will be invoked again " +"when B calls the hook target later and will assume the answer did not " +"change." +msgstr "" +"Se você escolher envolver um alvo hook em condicionais makefile, por favor " +"tenha em mente que B computa todos os alvos hook em adiantado e guarda " +"em cache o resultado para essa execução. Mais ainda, as condicionais serão " +"invocadas novamente quando B chamar o alvo hook mais tarde e irá assumir " +"que a resposta não mudou." + +#. type: textblock +#: dh:119 +msgid "" +"The parsing and caching I happens before B knows whether it will " +"build arch:any (-a) or/and arch:all (-i) packages, which can produce " +"confusing results - especially when L is part of the " +"conditional." +msgstr "" +"A análise e cache ocorre I entes de B saber se vai " +"compilar pacotes arch:any (-a) ou/e arch:all (-i), o que pode produzir " +"resultados confusos - especialmente quando L é parte da " +"condicional." + +#. type: textblock +#: dh:124 +msgid "" +"Most of the problems can be avoided by making the hook target unconditional " +"and then have the \"body\" be partially or completely conditional. As an " +"example:" +msgstr "" +"A maioria dos problemas podem ser evitados ao tornar o alvo hook " +"incondicional e depois ter o \"corpo\" a ser parcial ou completamente " +"condicional. Com exemplo:" + +#. type: verbatim +#: dh:128 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" +" # SIMPLE: It is well-defined what happens. The hook target\n" +" # is always considered. The \"maybe run this\" bit is\n" +" # conditional but dh_foo is definitely skipped.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, \"maybe run this\"\n" +" # is skipped.\n" +" override_dh_foo:\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" + +#. type: verbatim +#: dh:142 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The \"maybe run this\" bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar:\n" +" : # Dummy command to force the target to always be run\n" +" ifneq (...)\n" +" maybe run this\n" +" endif\n" +"\n" + +#. type: verbatim +#: dh:157 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" +msgstr "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" # Here, either dh_baz is run normally OR \"maybe run this\" is run\n" +" # instead.\n" +" #\n" +" # And it gets even more complicated to reason about if dh needs to\n" +" # recurse into debian/rules because you have an \"explicit\"\n" +" # standard target (e.g. a \"build-arch:\" target separate from \"%:\").\n" +" ifneq (...)\n" +" override_dh_baz:\n" +" maybe run this\n" +" endif\n" +"\n" + +#. type: textblock +#: dh:171 +msgid "" +"These recipes are also relevant for conditional dependency targets, which " +"are often seen in a variant of the following example:" +msgstr "" +"Estas receitas são também relevantes para alvos de dependência condicional, " +"os quais são muitas vezes vistos numa variante do seguinte exemplo:" + +#. type: verbatim +#: dh:174 +#, no-wrap +msgid "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" +msgstr "" +" COND_TASKS =\n" +" ifneq (...)\n" +" COND_TASKS += maybe-run-this\n" +" endif\n" +" ...\n" +"\n" + +#. type: verbatim +#: dh:180 +#, no-wrap +msgid "" +" maybe-run-this:\n" +" ...\n" +"\n" +msgstr "" +" maybe-run-this:\n" +" ...\n" +"\n" + +#. type: verbatim +#: dh:183 +#, no-wrap +msgid "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" +msgstr "" +" # SIMPLE: It is well-defined what happens. Either the\n" +" # $(COND_TASKS) are skipped or run.\n" +" #\n" +" # Note: The conditional is evaluated \"twice\" where its\n" +" # influences what happens. Once when dh check which hook\n" +" # targets exist and once when the override_dh_foo hook target\n" +" # is run. If *either* times return false, $(COND_TASKS)\n" +" # is skipped.\n" +" override_dh_foo: $(COND_TASKS)\n" +"\n" + +#. type: verbatim +#: dh:194 +#, no-wrap +msgid "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" +msgstr "" +" # SIMPLE: This is also well-defined. The hook target is always\n" +" # run and dh_bar is skipped. The $(COND_TASKS) bit is\n" +" # conditional as one might expect.\n" +" #\n" +" # Note: The conditional is still evaluated multiple times (in\n" +" # different process each time). However, only the evaluation\n" +" # that happens when the hook target is run influences what\n" +" # happens.\n" +" override_dh_bar: $(COND_TASKS)\n" +" : # Dummy command to force the target to always be run\n" +"\n" + +#. type: verbatim +#: dh:205 +#, no-wrap +msgid "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" +msgstr "" +" # COMPLICATED: This case can be non-trivial and have sharp edges.\n" +" # Use at your own peril if dh_listpackages in the conditional.\n" +" #\n" +" ifneq (...)\n" +" override_dh_baz: $(COND_TASKS)\n" +" endif\n" +"\n" + +#. type: textblock +#: dh:213 +msgid "" +"When in doubt, pick the relevant B case in the examples above that " +"match your need." +msgstr "" +"Em caso de dúvida, escolha o caso B relevante nos exemplos em cima " +"que corresponda à sua necessidade." #. type: =head1 -#: dh:111 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 -#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:50 +#: dh:216 dh_auto_build:32 dh_auto_clean:33 dh_auto_configure:35 +#: dh_auto_install:46 dh_auto_test:34 dh_bugfiles:53 dh_builddeb:34 dh_clean:49 #: dh_compress:52 dh_dwz:26 dh_fixperms:40 dh_gconf:42 dh_gencontrol:38 -#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:73 +#: dh_icons:33 dh_install:69 dh_installcatalogs:56 dh_installchangelogs:71 #: dh_installcron:43 dh_installdeb:100 dh_installdebconf:64 dh_installdirs:45 #: dh_installdocs:93 dh_installemacsen:56 dh_installexamples:44 #: dh_installifupdown:42 dh_installinfo:41 dh_installinit:78 @@ -3623,12 +4512,12 @@ msgstr "OPÇÕES" #. type: =item -#: dh:115 +#: dh:220 msgid "B<--with> I[B<,>I ...]" msgstr "B<--with> I[B<,>I ...]" #. type: textblock -#: dh:117 +#: dh:222 msgid "" "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 " @@ -3645,18 +4534,7 @@ "documentação acerca da sequência de interface de addons." #. type: textblock -#: dh:124 -#, fuzzy -#| msgid "" -#| "A B relation on the package BI " -#| "implies a B<--with> I. This avoids the need for an explicit B<--" -#| "with> in F that only duplicates what is already declared " -#| "via the build dependencies in F. Note that only " -#| "relations in the B field are considered (i.e. B and B are deliberately unsupported). " -#| "Please keep in mind that B insists on \"simple\" relations (e.g. a " -#| "relation like \"BI | B\" will I " -#| "imply B<--with> I)." +#: dh:229 msgid "" "A B relation on the package BI implies a " "B<--with> I. This avoids the need for an explicit B<--with> in " @@ -3669,23 +4547,27 @@ "Uma relação B no pacote BI implica um " "I B<--with>. Isto evita a necessidade de um B<--with> explícito em " "F que apenas duplica o que já está declarado via dependências " -"de compilação em F. Note que apenas as relações no campo " -"B são consideradas (isto é, B e B são deliberadamente não suportadas). por favor lembre-se que " -"B insiste em relações \"simples\" (ex. uma relação tipo \"BI | B\" I irá implicar o I B<--with>)." +"de compilação em F. A relação pode (desde 12.5) ser feita " +"opcionalmente via por exemplo, build-profiles. Isto permite-lhe facilmente " +"desativar um addon que é apenas útil com certos perfis (ex. para facilitar " +"bootstrapping)." #. type: textblock -#: dh:133 +#: dh:238 msgid "" "Since debhelper 12.5, addons can also be activated in B-only mode " "(via B) or B-only mode (via B). Such addons are only active in the particular sequence (e.g. " "B) which simplifies dependency management for cross-builds." msgstr "" +"Desde o debhelper 12.5, que addons podem ser também activados em modo " +"B-only (via B) ou modo B-only (via B). Tais addons estão apenas activos na sequência particular " +"(ex. B) o qual simplifica a gestão de dependências para " +"compilações cruzadas (cross-builds)." #. type: textblock -#: dh:139 +#: dh:244 msgid "" "Please note that addons activated via B or B are subject to additional limitations to ensure the result is " @@ -3694,14 +4576,21 @@ "only be used via B (or manually via F). " "Currently, such addons can only add commands to sequences." msgstr "" +"Por favor note que os addons activados via B ou B estão sujeitos a limitações adicionais para assegurar que o " +"resultado é determinista mesmo quando o addon está indisponível (ex. durante " +"limpeza). Isto sugere que alguns addons são incompatíveis com essas " +"restrições e só podem ser usadas via B (ou manualmente via " +"F). Actualmente, tais addons podem apenas adicionar comandos a " +"sequências." #. type: =item -#: dh:147 +#: dh:252 msgid "B<--without> I" msgstr "B<--without> I" #. type: textblock -#: dh:149 +#: dh:254 msgid "" "The inverse of B<--with>, disables using the given addon. This option can be " "repeated more than once, or multiple addons to disable can be listed, " @@ -3712,26 +4601,22 @@ "os listar separados por vírgulas." #. type: textblock -#: dh:155 +#: dh:260 msgid "List all available addons." msgstr "Lista todos os addons disponíveis." #. type: textblock -#: dh:157 -#, fuzzy -#| msgid "" -#| "When called only with this option, B can be called from any directory " -#| "(i.e. it does not need access under files from a source package)." +#: dh:262 msgid "" "When called only with this option, B can be called from any directory (i." "e. it does not need access to files from a source package)." msgstr "" "Quando chamado apenas com esta opção, o B pode ser chamado a partir de " -"qualquer directório (isto é, não precisa de acesso a ficheiros do pacote " +"qualquer directório (isto é, não precisa de acesso a ficheiros de um pacote " "fonte)." #. type: textblock -#: dh:163 +#: dh:268 msgid "" "Prints commands that would run for a given sequence, but does not run them." msgstr "" @@ -3739,7 +4624,7 @@ "corre." #. type: textblock -#: dh:165 +#: dh:270 msgid "" "Note that dh normally skips running commands that it knows will do nothing. " "With --no-act, the full list of commands in a sequence is printed." @@ -3748,7 +4633,7 @@ "Com --no-act, é escrito em sequência a lista completa dos comandos." #. type: textblock -#: dh:170 +#: dh:275 msgid "" "Other options passed to B are passed on to each command it runs. This " "can be used to set an option like B<-v> or B<-X> or B<-N>, as well as for " @@ -3759,13 +4644,13 @@ "assim como para opções mais especializadas." #. type: =head1 -#: dh:174 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 +#: dh:279 dh_install:332 dh_installdocs:184 dh_installman:117 dh_link:91 #: dh_makeshlibs:185 dh_shlibdeps:78 msgid "EXAMPLES" msgstr "EXEMPLOS" #. type: textblock -#: dh:176 +#: dh:281 msgid "" "To see what commands are included in a sequence, without actually doing " "anything:" @@ -3774,7 +4659,7 @@ "nada:" #. type: verbatim -#: dh:179 +#: dh:284 #, no-wrap msgid "" "\tdh binary-arch --no-act\n" @@ -3784,7 +4669,7 @@ "\n" #. type: textblock -#: dh:181 +#: dh:286 msgid "" "This is a very simple rules file, for packages where the default sequences " "of commands work with no additional options." @@ -3793,7 +4678,7 @@ "de comandos predefinidas funcionam sem opções adicionais." #. type: verbatim -#: dh:184 dh:191 dh:205 dh:218 dh:229 dh:287 dh:298 +#: dh:289 dh:296 dh:310 dh:323 dh:334 dh:392 dh:403 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3807,17 +4692,17 @@ "\n" #. type: textblock -#: dh:188 +#: dh:293 msgid "" "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." msgstr "" "Muitas vezes você vai querer passar uma opção a um comando debhelper " -"específico. A maneira mais fácil de o fazer é adicionar uma meta de " +"específico. A maneira mais fácil de o fazer é adicionar um alvo de " "sobreposição a esse comando." #. type: verbatim -#: dh:195 +#: dh:300 #, no-wrap msgid "" "\toverride_dh_strip:\n" @@ -3829,7 +4714,7 @@ "\n" #. type: verbatim -#: dh:198 +#: dh:303 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3841,7 +4726,7 @@ "\n" #. type: textblock -#: dh:201 +#: dh:306 msgid "" "Sometimes the automated L and L " "can't guess what to do for a strange package. Here's how to avoid running " @@ -3853,7 +4738,7 @@ "comandos." #. type: verbatim -#: dh:209 +#: dh:314 #, no-wrap msgid "" "\toverride_dh_auto_configure:\n" @@ -3865,7 +4750,7 @@ "\n" #. type: verbatim -#: dh:212 +#: dh:317 #, no-wrap msgid "" "\toverride_dh_auto_build:\n" @@ -3877,7 +4762,7 @@ "\n" #. type: textblock -#: dh:215 +#: dh:320 msgid "" "Another common case is wanting to do something manually before or after a " "particular debhelper command is run." @@ -3886,39 +4771,31 @@ "comando debhelper particular ser executado." #. type: verbatim -#: dh:222 -#, fuzzy, no-wrap -#| msgid "" -#| "\toverride_dh_fixperms:\n" -#| "\t\tdh_fixperms\n" -#| "\t\tchmod 4755 debian/foo/usr/bin/foo\n" -#| "\n" +#: dh:327 +#, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" "\texecute_after_dh_fixperms:\n" "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" msgstr "" -"\toverride_dh_fixperms:\n" -"\t\tdh_fixperms\n" +"\t# Example assumes debhelper/12.8 and compat 10+\n" +"\texecute_after_dh_fixperms:\n" "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" #. type: textblock -#: dh:226 +#: dh:331 msgid "" "If you are on an older debhelper or compatibility level, the above example " "would have to be written as." msgstr "" +"Se você está num debhelper ou nível de compatibilidade antigo, o exemplo de " +"cima terá que ser escrito assim:" #. type: verbatim -#: dh:233 -#, fuzzy, no-wrap -#| msgid "" -#| "\toverride_dh_fixperms:\n" -#| "\t\tdh_fixperms\n" -#| "\t\tchmod 4755 debian/foo/usr/bin/foo\n" -#| "\n" +#: dh:338 +#, no-wrap msgid "" "\t# Older debhelper versions or using compat 9 or lower.\n" "\toverride_dh_fixperms:\n" @@ -3926,22 +4803,23 @@ "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" msgstr "" +"\t# Older debhelper versions or using compat 9 or lower.\n" "\toverride_dh_fixperms:\n" "\t\tdh_fixperms\n" "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" #. type: textblock -#: dh:238 +#: dh:343 msgid "" "Python tools are not run by dh by default, due to the continual change in " "that area. Here is how to use B." msgstr "" -"Por predefinição, as ferramentas Python não são accionadas, devido às " +"Por predefinição, as ferramentas Python não são acionadas, devido às " "alterações contínuas nessa área. Aqui está como usar o B." #. type: verbatim -#: dh:241 +#: dh:346 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3955,7 +4833,7 @@ "\n" #. type: textblock -#: dh:245 +#: dh:350 msgid "" "Here is how to force use of Perl's B build system, which can " "be necessary if debhelper wrongly detects that the package uses MakeMaker." @@ -3965,7 +4843,7 @@ "pacote usa MakeMaker." #. type: verbatim -#: dh:249 +#: dh:354 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -3979,7 +4857,7 @@ "\n" #. type: textblock -#: dh:253 +#: dh:358 msgid "" "Here is an example of overriding where the BI<*> commands find the " "package's source, for a package where the source is located in a " @@ -3990,7 +4868,7 @@ "localizada num sub-directório." #. type: verbatim -#: dh:257 +#: dh:362 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4004,7 +4882,7 @@ "\n" #. type: textblock -#: dh:261 +#: dh:366 msgid "" "And here is an example of how to tell the BI<*> commands to build " "in a subdirectory, which will be removed on B." @@ -4013,7 +4891,7 @@ "compilarem num sub-directório, o qual será removido em B." #. type: verbatim -#: dh:264 +#: dh:369 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4027,7 +4905,7 @@ "\n" #. type: textblock -#: dh:268 +#: dh:373 msgid "" "If your package can be built in parallel, please either use compat 10 or " "pass B<--parallel> to dh. Then B will work." @@ -4037,7 +4915,7 @@ "-j> irá funcionar." #. type: verbatim -#: dh:271 +#: dh:376 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4051,7 +4929,7 @@ "\n" #. type: textblock -#: dh:275 +#: dh:380 msgid "" "If your package cannot be built reliably while using multiple threads, " "please pass B<--no-parallel> to dh (or the relevant BI<*> command):" @@ -4061,7 +4939,7 @@ "BI<*> relevante):" #. type: verbatim -#: dh:280 +#: dh:385 #, no-wrap msgid "" "\t#!/usr/bin/make -f\n" @@ -4075,16 +4953,16 @@ "\n" #. type: textblock -#: dh:284 +#: dh:389 msgid "" "Here is a way to prevent B from running several commands that you don't " "want it to run, by defining empty override targets for each command." msgstr "" "Aqui está um modo de prevenir que o B corra vários comandos que você não " -"quer que corram, ao definir metas de sobreposição vazias para cada comando." +"quer que corram, ao definir alvos de sobreposição vazios para cada comando." #. type: verbatim -#: dh:291 +#: dh:396 #, no-wrap msgid "" "\t# Commands not to run:\n" @@ -4096,7 +4974,7 @@ "\n" #. type: textblock -#: dh:294 +#: dh:399 msgid "" "A long build process for a separate documentation package can be separated " "out using architecture independent overrides. These will be skipped when " @@ -4107,7 +4985,7 @@ "Estes serão saltados quando se corre as sequências build-arch e binary-arch." #. type: verbatim -#: dh:302 +#: dh:407 #, no-wrap msgid "" "\toverride_dh_auto_build-indep:\n" @@ -4119,7 +4997,7 @@ "\n" #. type: verbatim -#: dh:305 +#: dh:410 #, no-wrap msgid "" "\t# No tests needed for docs\n" @@ -4131,7 +5009,7 @@ "\n" #. type: verbatim -#: dh:308 +#: dh:413 #, no-wrap msgid "" "\toverride_dh_auto_install-indep:\n" @@ -4143,7 +5021,7 @@ "\n" #. type: textblock -#: dh:311 +#: dh:416 msgid "" "Adding to the example above, suppose you need to chmod a file, but only when " "building the architecture dependent package, as it's not present when " @@ -4154,31 +5032,26 @@ "pois ele não está presente quando compila apenas a documentação." #. type: verbatim -#: dh:315 -#, fuzzy, no-wrap -#| msgid "" -#| "\toverride_dh_fixperms:\n" -#| "\t\tdh_fixperms\n" -#| "\t\tchmod 4755 debian/foo/usr/bin/foo\n" -#| "\n" +#: dh:420 +#, no-wrap msgid "" "\t# Example assumes debhelper/12.8 and compat 10+\n" "\texecute_after_dh_fixperms-arch:\n" "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" msgstr "" -"\toverride_dh_fixperms:\n" -"\t\tdh_fixperms\n" +"\t# Example assumes debhelper/12.8 and compat 10+\n" +"\texecute_after_dh_fixperms-arch:\n" "\t\tchmod 4755 debian/foo/usr/bin/foo\n" "\n" #. type: =head1 -#: dh:319 +#: dh:424 msgid "INTERNALS" msgstr "INTERNOS" #. type: textblock -#: dh:321 +#: dh:426 msgid "" "If you're curious about B's internals, here's how it works under the " "hood." @@ -4187,7 +5060,7 @@ "funciona por baixo da capota." #. type: textblock -#: dh:323 +#: dh:428 msgid "" "In compat 10 (or later), B creates a stamp file F after the build step(s) are complete to avoid re-running them. It is " @@ -4205,21 +5078,21 @@ "(a segunda vez como root ou sob L)." #. type: textblock -#: dh:331 +#: dh:436 msgid "" "Inside an override target, B commands will create a log file F to keep track of which packages the command(s) have " "been run for. These log files are then removed once the override target is " "complete." msgstr "" -"Dentro de uma meta de sobreposição, os comandos B irão criar um " +"Dentro de um alvo de sobreposição, os comandos B irão criar um " "ficheiro de registo F para manter " "acompanhamento de para quais pacotes os comando(s) têm corrido. Estes " -"ficheiros log são depois removidos assim que a meta de sobreposição estiver " -"completa." +"ficheiros log são depois removidos assim que o alvo de sobreposição estiver " +"completo." #. type: textblock -#: dh:336 +#: dh:441 msgid "" "In compat 9 or earlier, each debhelper command will record when it's " "successfully run in F. (Which B " @@ -4232,14 +5105,7 @@ "foram corridos, para quais pacotes, e evita correr esses comandos de novo." #. type: textblock -#: dh:341 -#, fuzzy -#| msgid "" -#| "Each time B is run (in compat 9 or earlier), it examines the log, and " -#| "finds the last logged command that is in the specified sequence. It then " -#| "continues with the next command in the sequence. The B<--until>, B<--" -#| "before>, B<--after>, and B<--remaining> options can override this " -#| "behavior (though they were removed in compat 10)." +#: dh:446 msgid "" "Each time B is run (in compat 9 or earlier), it examines the log, and " "finds the last logged command that is in the specified sequence. It then " @@ -4247,22 +5113,19 @@ msgstr "" "De cada vez que B corre (no nível de compatibilidade 9 ou anterior), " "examina o relatório, e encontra o último comando registado que está na " -"sequência especificada. Depois continua com o próximo comando da sequência. " -"As opções B<--until>, B<--before>, B<--after>, e B<--remaining> podem " -"sobrepor este comportamento (ainda que tenham sido removidas no nível de " -"compatibilidade 10)." +"sequência especificada. Depois continua com o próximo comando da sequência." #. type: textblock -#: dh:345 +#: dh:450 msgid "" "A sequence can also run dependent targets in debian/rules. For example, the " "\"binary\" sequence runs the \"install\" target." msgstr "" -"Uma sequência também pode correr metas dependentes em debian/rules. Por " -"exemplo, a sequência \"binary\" corre a meta \"install\"." +"Uma sequência também pode correr alvos dependentes em debian/rules. Por " +"exemplo, a sequência \"binary\" corre o alvo \"install\"." #. type: textblock -#: dh:348 +#: dh:453 msgid "" "B uses the B environment variable to pass " "information through to debhelper commands that are run inside override " @@ -4270,12 +5133,12 @@ "as the name might suggest, is subject to change at any time." msgstr "" "B usa a variável de ambiente B para passar " -"informação através dos comandos debhelper que são corridos dentro de metas " +"informação através dos comandos debhelper que são corridos dentro de alvos " "de sobreposição. O conteúdo (e de facto a existência) desta variável de " "ambiente. como o nome sugere, está sujeito a alterações em qualquer altura." #. type: textblock -#: dh:353 +#: dh:458 msgid "" "Commands in the B, B and B " "sequences are passed the B<-i> option to ensure they only work on " @@ -4290,14 +5153,14 @@ "assegurar que eles apenas trabalham em pacotes dependentes da arquitectura." #. type: textblock -#: dh:630 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 +#: dh:736 dh_auto_build:57 dh_auto_clean:59 dh_auto_configure:62 #: dh_auto_install:101 dh_auto_test:68 dh_bugfiles:139 dh_builddeb:186 -#: dh_clean:194 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 -#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:306 +#: dh_clean:193 dh_compress:246 dh_dwz:165 dh_fixperms:168 dh_gconf:109 +#: dh_gencontrol:211 dh_icons:79 dh_install:381 dh_installchangelogs:304 #: dh_installcron:82 dh_installdeb:416 dh_installdebconf:132 dh_installdirs:135 #: dh_installdocs:451 dh_installemacsen:143 dh_installexamples:182 -#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:429 -#: dh_installinitramfs:91 dh_installlogrotate:57 dh_installman:415 +#: dh_installifupdown:76 dh_installinfo:114 dh_installinit:434 +#: dh_installinitramfs:97 dh_installlogrotate:57 dh_installman:421 #: dh_installmanpages:202 dh_installmenu:94 dh_installmime:67 #: dh_installmodules:113 dh_installpam:66 dh_installppp:72 dh_installudev:106 #: dh_installwm:136 dh_installxfonts:94 dh_link:170 dh_lintian:64 @@ -4402,7 +5265,7 @@ "B é um programa debhelper que tenta fazer limpeza automática " "após a compilação de um pacote. Fá-lo ao correr o comando apropriado para o " "sistema que compilação que detecta que o pacote usa. Por exemplo, se existir " -"um F e se conter uma meta B, B, ou B, " +"um F e se conter um alvo B, B, ou B, " "então isto é feito ao correr B (ou B, se a variável de ambiente " "estiver definida). Se existir um F, ou F, o mesmo é " "executado para limpar o pacote." @@ -4415,7 +5278,7 @@ "B at all, and just run B manually." msgstr "" "Isto entende-se que deve funcionar com cerca de 90% dos pacotes. Se não " -"funcionar, ou tentar usar a meta de limpeza errada, você é encorajado não " +"funcionar, ou tentar usar o alvo de limpeza errado, você é encorajado não " "usar mesmo o B, e correr o B manualmente." #. type: textblock @@ -4522,7 +5385,7 @@ "B é um programa debhelper que tenta instalar " "automaticamente ficheiros compilados. Fá-lo ao correr o comando apropriado " "para o sistema de compilação que detecta que o pacote usa. Por exemplo, se " -"existir um F e este conter uma meta B, então isto é feito " +"existir um F e este conter um alvo B, então isto é feito " "ao correr B (ou B, se a variável de ambiente estiver definida). " "Se existir um F ou F, ele é usado. Note que o sistema de " "compilação Ant não suporta instalação, portanto o B não irá " @@ -4563,7 +5426,7 @@ "B at all, and just run make install manually." msgstr "" "Isto entende-se que deve funcionar com cerca de 90% dos pacotes. Se não " -"funcionar, ou tente usar a meta de instalação errada, você é encorajado a " +"funcionar, ou tente usar o alvo de instalação errado, você é encorajado a " "não usar o B, e correr o make install manualmente." #. type: =item @@ -4619,7 +5482,7 @@ "B é um programa debhelper que tenta correr automaticamente uma " "suite de teste de um pacote. Fá-lo ao correr o comando apropriado para o " "sistema de compilação que detecta que o pacote usa. Por exemplo, Se existir " -"um Makefile e conter uma meta B ou B, então é feito ao correr " +"um Makefile e conter um alvo B ou B, então é feito ao correr " "B (ou B, se a variável de ambiente estiver definida). Se a suite " "de teste falhar, o comando irá terminar com não-zero. Se não existir uma " "suite de teste, irá terminar com zero sem fazer nada." @@ -4680,8 +5543,8 @@ "compilação de pacotes." #. type: =head1 -#: dh_bugfiles:25 dh_clean:34 dh_compress:35 dh_gconf:26 dh_install:40 -#: dh_installcatalogs:39 dh_installchangelogs:49 dh_installcron:24 +#: dh_bugfiles:25 dh_clean:33 dh_compress:35 dh_gconf:26 dh_install:40 +#: dh_installcatalogs:39 dh_installchangelogs:47 dh_installcron:24 #: dh_installdeb:25 dh_installdebconf:37 dh_installdirs:28 dh_installdocs:40 #: dh_installemacsen:30 dh_installexamples:31 dh_installifupdown:25 #: dh_installinfo:28 dh_installinit:41 dh_installinitramfs:30 @@ -4782,16 +5645,12 @@ #. type: textblock #: dh_builddeb:19 -#, fuzzy -#| msgid "" -#| "B [S>] [B<--destdir=>I] [B<--" -#| "filename=>I] [S I>]" msgid "" "B [S>] [B<--destdir=>I] [B<--" "filename=>I] [S I>]" msgstr "" -"B [S>] [B<--destdir=>I] [B<--" -"filename=>I] [S I>]" +"B [S>] [B<--destdir=>I] [B<--" +"filename=>I] [S I>]" #. type: textblock #: dh_builddeb:23 @@ -4879,28 +5738,35 @@ "B [S>] [B<-k>] [B<-d>] [B<-X>I] " "[S ...>]" -#. type: verbatim +#. type: textblock #: dh_clean:21 +msgid "" +"B is a debhelper program that is responsible for cleaning up. It " +"should be the last step of the B target and other debhelper commands " +"generally assume that B will clean up after them." +msgstr "" +"B é um programa debhelper que é responsável pela limpeza. Ele deve " +"estar no último passo do alvo B e o outros comandos debhelper " +"geralmente assumem que B irá limpar tudo depois deles." + +#. type: verbatim +#: dh_clean:25 #, no-wrap msgid "" -"B is a debhelper program that is responsible for cleaning up after a\n" -"package is built. It removes the package build directories, and removes some\n" -"other files including F, and any detritus left behind by other\n" -"debhelper commands. It also removes common files that should not appear in a\n" -"Debian diff:\n" +"It removes the package build directories, and removes some other files including\n" +"F, and any detritus left behind by other debhelper commands. It\n" +"also removes common files that should not appear in a Debian diff:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" msgstr "" -"B é um programa debhelper que é responsável pela limpeza após\n" -"um pacote ser compilado. Remove os directórios de compilação do pacote,\n" -"e remove mais alguns ficheiros incluindo F, e quaisquer\n" -"detritos deixados por outros comandos debhelper. Também remove ficheiros\n" -"comuns que não deveriam aparecer num diff de Debian:\n" +"Remove os directórios de compilação do pacote, e remove mais alguns ficheiros incluindo\n" +"F, e quaisquer detritos deixados por outros comandos debhelper. Também\n" +"remove ficheiros comuns que não deveriam aparecer num diff de Debian:\n" " #*# *~ DEADJOE *.orig *.rej *.SUMS TAGS .deps/* *.P *-stamp\n" "\n" #. type: textblock -#: dh_clean:28 +#: dh_clean:30 msgid "" "It does not run \"make clean\" to clean up after the build process. Use " "L to do things like that." @@ -4908,27 +5774,18 @@ "Não corre o \"make clean\" para limpara após o processo de compilação. Use " "L para fazer as coisas dessa maneira." -#. type: textblock -#: dh_clean:31 -msgid "" -"B should be the last debhelper command run in the B target " -"in F." -msgstr "" -"B deve ser o último comando debhelper a correr na meta B em " -"F." - #. type: =item -#: dh_clean:38 +#: dh_clean:37 msgid "F" msgstr "F" #. type: textblock -#: dh_clean:40 +#: dh_clean:39 msgid "Can list other paths to be removed." msgstr "Pode listar outros caminhos para serem removidos." #. type: textblock -#: dh_clean:42 +#: dh_clean:41 msgid "" "Note that directories listed in this file B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -4937,36 +5794,38 @@ "barra final. Qualquer conteúdo nestes directórios será também removido." #. type: textblock -#: dh_clean:45 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 +#: dh_clean:44 dh_install:59 dh_installcatalogs:51 dh_installdeb:95 #: dh_installdirs:40 dh_installdocs:48 dh_installexamples:39 dh_installinfo:36 #: dh_installman:81 dh_installwm:36 dh_link:64 msgid "" "Supports substitution variables in compat 13 and later as documented in " "L." msgstr "" +"Suporta variáveis de substituição em compatibilidade 13 e posterior como " +"documentado em L." #. type: =item -#: dh_clean:54 dh_installchangelogs:77 +#: dh_clean:53 dh_installchangelogs:75 msgid "B<-k>, B<--keep>" msgstr "B<-k>, B<--keep>" #. type: textblock -#: dh_clean:56 +#: dh_clean:55 msgid "This is deprecated, use L instead." msgstr "Isto está descontinuado, use L em vez deste." #. type: textblock -#: dh_clean:58 +#: dh_clean:57 msgid "The option is removed in compat 12." msgstr "A opção foi removida no nível de compatibilidade 12." #. type: =item -#: dh_clean:60 +#: dh_clean:59 msgid "B<-d>, B<--dirs-only>" msgstr "B<-d>, B<--dirs-only>" #. type: textblock -#: dh_clean:62 +#: dh_clean:61 msgid "" "Only clean the package build directories, do not clean up any other files at " "all." @@ -4975,12 +5834,12 @@ "outros ficheiros." #. type: =item -#: dh_clean:65 dh_prep:33 +#: dh_clean:64 dh_prep:33 msgid "B<-X>I B<--exclude=>I" msgstr "B<-X>I B<--exclude=>I" #. type: textblock -#: dh_clean:67 +#: dh_clean:66 msgid "" "Exclude files that contain I anywhere in their filename from being " "deleted, even if they would normally be deleted. You may use this option " @@ -4992,17 +5851,17 @@ "excluir." #. type: =item -#: dh_clean:71 +#: dh_clean:70 msgid "I ..." msgstr "I ..." #. type: textblock -#: dh_clean:73 +#: dh_clean:72 msgid "Delete these Is too." msgstr "Apaga estes Is também." #. type: textblock -#: dh_clean:75 +#: dh_clean:74 msgid "" "Note that directories passed as arguments B end with a trailing " "slash. Any content in these directories will be removed as well." @@ -5158,21 +6017,14 @@ #. type: textblock #: dh_dwz:32 -#, fuzzy -#| msgid "" -#| "Whether L should generate a I from the ELF binaries in " -#| "the same package (it does by default). When enabled, if a package ships " -#| "at least 2 ELF binaries, B will instruct L to generate a " -#| "multifile for the package." msgid "" "Whether L should generate a I from the ELF binaries in " "the same package. When enabled, if a package ships at least 2 ELF binaries, " "B will instruct L to generate a multifile for the package." msgstr "" "Se L deve gerar um I a partir de binários ELF no mesmo " -"pacote (fá-lo por predefinição). Quando activado, se um pacote conter pelo " -"menos 2 binários ELF, B irá instruir L a gerar um multifile " -"para o pacote." +"pacote. Quando activado, se um pacote conter pelo menos 2 binários ELF, " +"B irá instruir L a gerar um multifile para o pacote." #. type: textblock #: dh_dwz:37 @@ -5184,6 +6036,13 @@ "Debian bug #931891). If B<--dwz-multifile> is passed, then B will " "abort with an error if L does not create a multifile." msgstr "" +"Por predefinição, B irá tentar criar um multi-ficheiro mas irá " +"continuar sem o fazer se L não criar um (mas mesmo assim acabar com " +"sucesso). Isto é comum acontecer quando os ficheiros debug não contêm " +"símbolos de depuração (ex. um -g em falta no compilador), ou quando os " +"símbolos de depuração estão comprimidos (veja Debian bug #931891). Se B<--" +"dwz-multifile> for passado, então B irá abortar com um erro se " +"L não criar um multi-ficheiro." #. type: textblock #: dh_dwz:45 @@ -5211,6 +6070,9 @@ "B packages. It will still use B to reduce the file size of debug " "files if it finds any." msgstr "" +"Nota para pacotes B: B nunca irá gerar multi-ficheiros para " +"pacotes B. Irá continuar a usar B para reduzir o tamanho de " +"ficheiros debug se encontrar algum." #. type: textblock #: dh_dwz:58 dh_strip:44 @@ -5279,7 +6141,7 @@ msgstr "" "B é um programa debhelper que é responsável por definir as " "permissões dos ficheiros e directórios nos directórios de compilação de " -"pacotes para um estado são -- um estado em conformidade com a politica de " +"pacotes para um estado são -- um estado em conformidade com a política de " "Debian." #. type: textblock @@ -5513,10 +6375,10 @@ "as those are handled by triggers.) These commands are inserted into the " "maintainer scripts by L." msgstr "" -"Trata de adicionar fragmentos de script de mantenedor para chamar B para directórios de ícones. (Isto não é feito para ícones de " "gnome ou hicolor, pois esses são manuseados por triggers.) Estes comandos " -"são inseridos nos scripts de mantenedor pelo L." +"são inseridos nos scripts de maintainer pelo L." #. type: =item #: dh_icons:37 dh_installcatalogs:60 dh_installdebconf:68 dh_installemacsen:60 @@ -5528,7 +6390,7 @@ #. type: textblock #: dh_icons:39 msgid "Do not modify maintainer scripts." -msgstr "Não modifique os scripts do mantenedor." +msgstr "Não modifique os scripts do maintainer." #. type: textblock #: dh_icons:77 @@ -5772,6 +6634,8 @@ #: dh_install:334 msgid "Here are some small examples of configuration files for dh_install." msgstr "" +"Aqui estão alguns pequenos exemplos de ficheiros de configuração para " +"dh_install." #. type: verbatim #: dh_install:336 @@ -5781,6 +6645,9 @@ " my-prog usr/bin\n" "\n" msgstr "" +" # Install my-prog into usr/bin (as \"usr/bin/my-prog\")\n" +" my-prog usr/bin\n" +"\n" #. type: verbatim #: dh_install:339 @@ -5791,6 +6658,10 @@ " plugins usr/share/my-prog\n" "\n" msgstr "" +" # Install a plugins directory into usr/share/my-prog\n" +" # (as \"usr/share/my-prog/plugins/\")\n" +" plugins usr/share/my-prog\n" +"\n" #. type: verbatim #: dh_install:343 @@ -5802,6 +6673,11 @@ " my${Space}datafile${Space}with${Space}spaces.txt usr/share/my-prog/data\n" "\n" msgstr "" +" # Install a file with spaces in into usr/share/my-prog/data\n" +" # (as \"usr/share/my-prog/data/my datafile with spaces.txt\")\n" +" # ASSUMES COMPAT 13, where substitution patterns are available\n" +" my${Space}datafile${Space}with${Space}spaces.txt usr/share/my-prog/data\n" +"\n" #. type: verbatim #: dh_install:348 @@ -5812,6 +6688,10 @@ " build/output/libfrop*.so.* usr/lib/${DEB_HOST_MULTIARCH}\n" "\n" msgstr "" +" # Install a library into the multi-arch lib directory\n" +" # ASSUMES COMPAT 13, where substitution patterns are available\n" +" build/output/libfrop*.so.* usr/lib/${DEB_HOST_MULTIARCH}\n" +"\n" #. type: =head1 #: dh_install:352 @@ -5913,12 +6793,12 @@ "file by B; see L for an explanation of " "Debhelper maintainer script snippets." msgstr "" -"Este comando adiciona automaticamente fragmentos de script de mantenedor " +"Este comando adiciona automaticamente fragmentos de script de maintainer " "para registar e remover o registo de catálogos e super-catálogos (a menos " "que B<-n> seja usado). Estes fragmentos são inseridos nos scripts de " -"mantenedor e o ficheiro B pelo B; veja " +"maintainer e o ficheiro B pelo B; veja " "L para uma explicação sobre fragmentos de script de " -"mantenedor do Debhelper." +"maintainer do Debhelper." #. type: textblock #: dh_installcatalogs:36 @@ -5961,8 +6841,7 @@ #. type: textblock #: dh_installcatalogs:69 dh_installemacsen:77 dh_installinit:207 -#: dh_installinitramfs:55 dh_installmodules:59 dh_installudev:52 -#: dh_installwm:68 dh_usrlocal:62 +#: dh_installmodules:59 dh_installudev:52 dh_installwm:68 dh_usrlocal:62 msgid "" "Note that this command is not idempotent. L should be called " "between invocations of this command. Otherwise, it may cause multiple " @@ -5970,7 +6849,7 @@ msgstr "" "Note que este comando não é idempotente. O L deve ser chamado " "entre invocações deste comando. Caso contrário, pode causar múltiplas " -"instâncias do mesmo texto a ser adicionado aos scripts do mantenedor." +"instâncias do mesmo texto a ser adicionado aos scripts do maintainer." #. type: textblock #: dh_installcatalogs:132 @@ -6014,17 +6893,15 @@ msgid "" "An upstream F file may be specified as an option. If none is " "specified, B may look for files with names that seem " -"likely to be changelogs as described in the next paragraphs (assuming the " -"package is using compatibility level 7 or above)." +"likely to be changelogs as described in the next paragraphs." msgstr "" "Pode ser especificado como uma opção um ficheiro F do autor " "original (upstream) Se nenhum for especificado, B pode " "procurar por ficheiros cujos nomes apontam provavelmente para relatórios de " -"alterações como descrito no próximo parágrafo (assumindo que o pacote usa " -"nível de compatibilidade 7 ou superior.)" +"alterações como descrito nos próximos parágrafos." #. type: textblock -#: dh_installchangelogs:29 +#: dh_installchangelogs:28 msgid "" "In non-native packages, B will first look for " "changelog files installed by the upstream build system into F<< usr/share/" @@ -6033,7 +6910,9 @@ "Note that B does I look into any source directory " "(such as F). Otherwise, B (at " "compatibility level 7 or any later) will look for changelog files in the " -"source directory (e.g. the root or the F subdirectory)." +"source directory (e.g. the root or the F subdirectory). It will look " +"for F, F and F optionally with common " +"extensions (such as F<.txt>, F<.md> and F<.rst>)." msgstr "" "Em pacotes não-nativos, o B irá primeiro procurar por " "ficheiros changelog instalados pelo sistema de compilação do autor em F<< " @@ -6043,57 +6922,49 @@ "nenhum directório fonte (tal como F). Caso contrário, " "B (no nível de compatibilidade 7 ou posterior) irá " "procurar por ficheiros changelog no directório fonte (ex. a raiz do sub-" -"directório F)." - -#. type: textblock -#: dh_installchangelogs:39 -msgid "" -"If there is an upstream F file, it will be installed as F in the package build directory." -msgstr "" -"Se existir um ficheiro F do autor, este será instalado como F no directório de compilação do pacote." +"directório F). Irá procurar por F, F e F " +"opcionalmente com extensões comuns (tais como F<.txt>, F<.md> e F<.rst>)." #. type: textblock -#: dh_installchangelogs:42 +#: dh_installchangelogs:40 msgid "" -"If the specified upstream changelog is an F file (determined by file " +"If a changelog file is specified and is an F file (determined by file " "extension), it will be installed as F " "instead. If the html changelog is converted to plain text, that variant can " -"be specified as a second upstream changelog file. When no plain text variant " -"is specified, a short F is generated, " -"pointing readers at the html changelog file." +"be specified as a second parameter. When no plain text variant is specified, " +"a short F is generated, pointing readers at " +"the html changelog file." msgstr "" -"Se o relatório de alterações especificado do autor for um ficheiro F " +"Se um ficheiro changelog for especificado e se for um ficheiro F " "(determinado pela extensão do ficheiro), em vez disso será instalado como " "F. Se o relatório html for convertido " -"para texto simples, essa variante pode ser especificada como o segundo " -"ficheiro de relatório de alterações do autor. Quando nenhuma variante de " -"texto simples é especificada, é gerado um curto F, apontando os leitores para o ficheiro de relatório html." +"para texto simples, essa variante pode ser especificada como um segundo " +"parâmetro. Quando nenhuma variante de texto simples é especificada, é gerado " +"um curto F, apontando os leitores para o " +"ficheiro de relatório em html." #. type: =item -#: dh_installchangelogs:53 +#: dh_installchangelogs:51 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:55 +#: dh_installchangelogs:53 msgid "F" msgstr "F" #. type: =item -#: dh_installchangelogs:57 +#: dh_installchangelogs:55 msgid "debian/I.changelog" msgstr "debian/I.changelog" #. type: =item -#: dh_installchangelogs:59 +#: dh_installchangelogs:57 msgid "debian/I.NEWS" msgstr "debian/I.NEWS" #. type: textblock -#: dh_installchangelogs:61 +#: dh_installchangelogs:59 msgid "" "Automatically installed into usr/share/doc/I/ in the package build " "directory." @@ -6102,7 +6973,7 @@ "compilação do pacote." #. type: textblock -#: dh_installchangelogs:64 +#: dh_installchangelogs:62 msgid "" "Use the package specific name if I needs a different F or " "F file." @@ -6111,7 +6982,7 @@ "F ou F diferente." #. type: textblock -#: dh_installchangelogs:67 +#: dh_installchangelogs:65 msgid "" "The F file is installed with a name of changelog for native " "packages, and F for non-native packages. The F file " @@ -6122,7 +6993,7 @@ "F é sempre instalado com o nome F." #. type: textblock -#: dh_installchangelogs:79 +#: dh_installchangelogs:77 msgid "" "Keep the original name of the upstream changelog. This will be accomplished " "by installing the upstream changelog as F, and making a symlink " @@ -6138,7 +7009,7 @@ "F." #. type: textblock -#: dh_installchangelogs:87 +#: dh_installchangelogs:85 msgid "" "Exclude upstream F files that contain I anywhere in their " "filename from being installed." @@ -6147,18 +7018,18 @@ "ponto do seu nome de ficheiro, de serem instalados." #. type: textblock -#: dh_installchangelogs:90 +#: dh_installchangelogs:88 msgid "Note that directory name of the changelog is also part of the match." msgstr "" "Note que o nome de directório do changelog é também parte correspondente." #. type: =item -#: dh_installchangelogs:92 +#: dh_installchangelogs:90 msgid "I" msgstr "I" #. type: textblock -#: dh_installchangelogs:94 +#: dh_installchangelogs:92 msgid "Install this file as the upstream changelog." msgstr "" "Instala este ficheiro como o registo de alterações (changelog) da origem." @@ -6278,7 +7149,7 @@ #. type: textblock #: dh_installdeb:37 msgid "These maintainer scripts are installed into the F directory." -msgstr "Estes scripts de mantenedor são instalados no directório F." +msgstr "Estes scripts de maintainer são instalados no directório F." #. type: textblock #: dh_installdeb:39 @@ -6288,6 +7159,11 @@ "to benefit from the shell scripts generated by debhelper commands (including " "those from B when it processes I.maintscript files)." msgstr "" +"B irá executar a substituição de tokens conhecidos do padrão " +"B<#TOKEN#>. Em geral, os scripts irão querer incluir o B<#DEBHELPER#> para " +"beneficiar dos scripts de shell gerados pelos comandos debhelper (incluindo " +"commands (including aqueles de B quando processa ficheiros " +"I.maintscript)." #. type: textblock #: dh_installdeb:45 @@ -6295,6 +7171,8 @@ "The B<#DEBHELPER#> token should be placed on its own line as it is often " "replaced by a multi-line shell script." msgstr "" +"O token B<#DEBHELPER#> deve ser colocado na sua linha própria pois é muitas " +"vezes substituído por um script de shell de multi-linhas." #. type: =item #: dh_installdeb:48 @@ -6360,7 +7238,7 @@ "parameters. However, the \"maint-script-parameters\" should I be " "included as debhelper will add those automatically." msgstr "" -"As linhas neste ficheiro correspondem a comandos e parâmetros deL. No entanto, os \"maint-script-parameters\" I " "devem ser incluídos pois o debhelper irá adicionar esses automaticamente." @@ -6396,8 +7274,8 @@ "No nível de compatibilidade 10 ou posterior, quaisquer meta-caracteres de " "shell serão \"escapados\" então não se pode inserir aqui código arbitrário " "de shell. Por exemplo, uma linha como C irá inserir fragmentos de script de mantenedor em todos os " -"scripts de mantenedor suficientes para mover esse ficheiro de configuração." +"newconffile> irá inserir fragmentos de script de maintainer em todos os " +"scripts de maintainer suficientes para mover esse ficheiro de configuração." #. type: textblock #: dh_installdeb:86 @@ -6426,7 +7304,7 @@ #. type: =item #: dh_installdeb:104 msgid "B<-D>I, B<--define> I" -msgstr "" +msgstr "B<-D>I, B<--define> I" #. type: textblock #: dh_installdeb:106 @@ -6436,6 +7314,10 @@ "token names> also applies to tokens defined on the command line. Invalid " "token names will trigger an error." msgstr "" +"Define tokens a serem substituídos dentro dos scripts do maintainer quando " +"são gerados. Por favor note as limitações descritas em L também se aplicam a tokens definidos na linha de comandos. " +"Nomes de tokens inválidos irão despoletar um erro." #. type: textblock #: dh_installdeb:111 @@ -6445,17 +7327,23 @@ "I is expected to point to a file containing the actual value to " "insert." msgstr "" +"No caso simples, este parâmetro irá causar com que B<< #I# >> seja " +"substituído por I. Se I começar com um I<@>-sign literal, " +"então espera-se que I aponte para um ficheiro que contém o valor real " +"a inserir." #. type: textblock #: dh_installdeb:116 msgid "" "An explicit declared token with this parameter will replace built-in tokens." msgstr "" +"Um token declarado explicitamente com este parâmetro irá substituir tokens " +"embutidos." #. type: textblock #: dh_installdeb:119 msgid "Test examples to aid with the understanding:" -msgstr "" +msgstr "Exemplos de testes para ajuda na compreensão:" #. type: verbatim #: dh_installdeb:121 @@ -6469,6 +7357,13 @@ " dh_installdeb --define SIMPLE=direct --define FILEBASED=@some-file\n" "\n" msgstr "" +"\tcat >> debian/postinst < some-file\n" +" dh_installdeb --define SIMPLE=direct --define FILEBASED=@some-file\n" +"\n" #. type: textblock #: dh_installdeb:128 @@ -6476,6 +7371,8 @@ "In this example, B<#SIMPLE#> will expand to B and B<#FILEBASED#> " "will expand to B." msgstr "" +"Neste exemplo, B<#SIMPLE#> irá expandir para B e B<#FILEBASED#> irá " +"expandir para B." #. type: textblock #: dh_installdeb:131 @@ -6485,11 +7382,15 @@ "different values for the same token. This is done by prefixing the token " "name with B<< pkg.I. >>." msgstr "" +"É também possível definir valores específicos-de-pacote para um dado token. " +"Isto é útil quando B está a actuar em múltiplos pacotes que " +"precisam de valores diferentes para o mesmo token. Isto é feito ao prefixar " +"o nome do token com B<< pkg.I. >>." #. type: textblock #: dh_installdeb:136 msgid "This can be used as in the following example:" -msgstr "" +msgstr "Isto pode ser usado como no exemplo seguinte:" #. type: verbatim #: dh_installdeb:138 @@ -6511,6 +7412,21 @@ " --define pkg.baz.TOKEN=unique-baz-value\n" "\n" msgstr "" +"\tcat >> debian/foo.postinst <> debian/bar.postinst <> debian/baz.postinst <, to B in F and to B in F." msgstr "" +"Neste exemplo, B<#TOKEN#> irá expandir para B em F, para B em F e para " +"B em F." #. type: textblock #: dh_installdeb:157 @@ -6527,11 +7446,14 @@ "g. you can refer to B<#pkg.bar.TOKEN#> inside F and it " "will be replaced by B." msgstr "" +"Note que os tokens B<#pkg.*#> irão ser visíveis em todos os scripts que " +"actuem. Ex, você pode referir a B<#pkg.bar.TOKEN#> dentro de F e ele será substituído por B." #. type: =head1 #: dh_installdeb:163 msgid "SUBSTITUTION IN MAINTAINER SCRIPTS" -msgstr "" +msgstr "SUBSTITUIÇÃO EM SCRIPTS DE MAINTAINER" #. type: textblock #: dh_installdeb:165 @@ -6539,13 +7461,14 @@ "The B will automatically replace the following tokens inside " "a provided maintainer script (if not replaced via B<-D>/B<--define>):" msgstr "" +"O B irá substituir automaticamente os seguintes tokens dentro " +"de um script disponibilizado pelo maintainer (se não for substituído via B<-" +"D>/B<--define>):" #. type: =item #: dh_installdeb:170 -#, fuzzy -#| msgid "DEBHELPER COMMANDS" msgid "#DEBHELPER#" -msgstr "COMANDOS DO DEBHELPER" +msgstr "#DEBHELPER#" #. type: textblock #: dh_installdeb:172 @@ -6554,11 +7477,14 @@ "commands. This includes the snippets generated by B from " "I.maintscript file (if present)." msgstr "" +"Este token é por predefinição substituído por excertos de shell de comandos " +"debhelper gerados. Isto inclui os excertos gerados pelo B a " +"partir do ficheiro I.maintscript (se presente)." #. type: =item #: dh_installdeb:176 msgid "#DEB_HOST_I#, #DEB_BUILD_I#, #DEB_TARGET_I#" -msgstr "" +msgstr "#DEB_HOST_I#, #DEB_BUILD_I#, #DEB_TARGET_I#" #. type: textblock #: dh_installdeb:178 @@ -6568,6 +7494,10 @@ "#DEB_HOST_I >> variant in a script to ensure you get the right value " "when cross-building." msgstr "" +"Estes tokens são substituídos pela variável respectiva a partir de L. Em quase todos os casos, você vai querer usar a variante " +"B<< #DEB_HOST_I >> num script para assegurar que obtêm o valor " +"correcto quando faz compilação cruzada." #. type: textblock #: dh_installdeb:183 @@ -6575,11 +7505,13 @@ "On a best effort, tokens of this pattern that do not match a variable in " "L will be left as-is." msgstr "" +"Na melhor das hipóteses, tokens deste padrão que não correspondam a uma " +"variável em L serão deixá-dos como estão." #. type: =item #: dh_installdeb:186 msgid "#ENV.I#" -msgstr "" +msgstr "#ENV.I#" #. type: textblock #: dh_installdeb:188 @@ -6588,6 +7520,9 @@ "environment variable. If the environment variable is unset, the token is " "replaced with the empty string." msgstr "" +"Estes tokens deste formato serão substituídos pelo valor da variável de " +"ambiente correspondente. Se a variável de ambiente não estiver definida, o " +"token é substituído pela string vazia." #. type: textblock #: dh_installdeb:193 @@ -6595,11 +7530,13 @@ "Note that there are limits on which names can be used (see L)." msgstr "" +"Note que existem limites em quais nomes podem ser usados (veja L)." #. type: =item #: dh_installdeb:196 msgid "#PACKAGE#" -msgstr "" +msgstr "#PACKAGE#" #. type: textblock #: dh_installdeb:198 @@ -6607,17 +7544,21 @@ "This token is by default replaced by the package name, which will contain " "the concrete script." msgstr "" +"Este token é por predefinição substituído pelo nome do pacote, o qual irá " +"conter o script concreto." #. type: =head2 #: dh_installdeb:203 msgid "Limitations in token names" -msgstr "" +msgstr "Limitações nos nomes dos token" #. type: textblock #: dh_installdeb:205 msgid "" "All tokens intended to be substituted must match the regex: #[A-Za-z0-9_.+]+#" msgstr "" +"Todos os tokens que se destinam a ser substituídos têm de corresponder ao " +"regex: #[A-Za-z0-9_.+]+#" #. type: textblock #: dh_installdeb:207 @@ -6626,6 +7567,10 @@ "script template. Invalid token names passed to B<-D> or B<--define> will " "cause B to reject the command with an error in most cases." msgstr "" +"Tokens que não correspondam a esse regex serão ignorados em silêncio se " +"encontrados no script modelo. Nomes de token inválidos passados a B<-D> ou " +"B<--define> irão causar que o B rejeite o comando com um erro " +"na maioria dos casos." #. type: textblock #: dh_installdebconf:5 @@ -6662,7 +7607,7 @@ msgstr "" "Também gera automaticamente os comandos F necessários para a " "interface com o debconf. Os comandos são adicionados aos scripts do " -"mantenedor pelo B. Veja L para uma " +"maintainer pelo B. Veja L para uma " "explicação de como isso funciona." #. type: textblock @@ -6707,7 +7652,7 @@ "Inside the script, the token B<#DEBHELPER#> is replaced with shell script " "snippets generated by other debhelper commands." msgstr "" -"Dentro do script, o sinal B<#DEBHELPER#> é substituído por fragmentos de " +"Dentro do script, o token B<#DEBHELPER#> é substituído por fragmentos de " "script shell gerados por outros comandos do debhelper." #. type: =item @@ -6835,7 +7780,7 @@ "debian/I >>)." msgstr "" "Ou para criar os directórios especificados no directório fonte (geralmente " -"F) I no directório de compilação do pacote " +"F) I no directório de compilação do pacote " "(geralmente F<< debian/I >>)." #. type: textblock @@ -7112,7 +8057,7 @@ msgstr "" "Define o pacote principal para pacote de documentação. Isto é usado para a " "documentação do pacote de documentação em F<< /usr/share/doc/I " -">> como recomendado pelo manual de politicas Debian 3.9.7 em §12.3." +">> como recomendado pelo manual de políticas Debian 3.9.7 em §12.3." #. type: textblock #: dh_installdocs:124 dh_installexamples:70 @@ -7179,10 +8124,10 @@ "files will not be installed." msgstr "" "O debhelper irá tentar evitar instalar ficheiros em directórios de " -"documentação \"linkados\" que poderão causar conflitos com o pacotes " -"\"linkado\". A opção B<-A> não terá nenhum efeito em pacotes com directórios " -"de documentação \"linkados\", e os ficheiros F, F, " -"F, e F não serão instalados." +"documentação vinculados que poderão causar conflitos com o pacote vinculado. " +"A opção B<-A> não terá nenhum efeito em pacotes com directórios de " +"documentação vinculados, e os ficheiros F, F, F, e F não serão instalados." #. type: textblock #: dh_installdocs:151 @@ -7230,7 +8175,7 @@ msgstr "" "Isto pode ser feito ao fornecer um ficheiro \"debian/I.maintscript\" " "e usar o L para fornecer os fragmentos relevantes do " -"script do mantenedor." +"script do maintainer." #. type: textblock #: dh_installdocs:171 @@ -7327,7 +8272,7 @@ msgstr "" "Também gera automaticamente os comandos F F e F " "necessários para registar um pacote como uma adição Emacs no pacote. Os " -"comandos são adicionados ao script do mantenedor pelo B. Veja " +"comandos são adicionados ao script do maintainer pelo B. Veja " "L para uma explicação de como isto funciona." #. type: =item @@ -7850,7 +8795,7 @@ "Do not stop the init script until after the package upgrade has been " "completed. This is the default behaviour in compat 10." msgstr "" -"Não pára o script de iniciação até que a actualização do pacote estejam " +"Não para o script de iniciação até que a actualização do pacote estejam " "completa. Este é o comportamento predefinido no nível compatibilidade 10." #. type: textblock @@ -7903,7 +8848,7 @@ "Do not stop init script on upgrade. This has the side-effect of not " "restarting the service as a part of the upgrade." msgstr "" -"Não pára o script init na actualização. Isto tem o efeito secundário de não " +"Não para o script init na actualização. Isto tem o efeito secundário de não " "reiniciar o serviço como parte da actualização." #. type: textblock @@ -7945,7 +8890,7 @@ "Only call B. Useful for rcS scripts." msgstr "" "Não inicia o script de init durante a instalação ou actualização, ou não o " -"pára durante a remoção. Apenas chama B. Útil para scripts rcS." +"para durante a remoção. Apenas chama B. Útil para scripts rcS." #. type: =item #: dh_installinit:142 dh_systemd_enable:87 @@ -8091,20 +9036,20 @@ msgstr "" "Chama a I de shell chamada se a execução do script de iniciação " "falhar. A função deve ser disponibilizada nos scripts F e " -"F, antes do símbolo B<#DEBHELPER#>." +"F, antes do token B<#DEBHELPER#>." #. type: textblock -#: dh_installinit:427 +#: dh_installinit:432 msgid "L, L" msgstr "L, L" #. type: textblock -#: dh_installinit:435 +#: dh_installinit:440 msgid "Steve Langasek " msgstr "Steve Langasek " #. type: textblock -#: dh_installinit:437 +#: dh_installinit:442 msgid "Michael Stapelberg " msgstr "Michael Stapelberg " @@ -8132,17 +9077,16 @@ #. type: textblock #: dh_installinitramfs:24 msgid "" -"If B installs or (in compat 12 or later) detects one or " -"more initramfs hooks in the package, then it also automatically generates " -"the F and F commands needed to interface with the Debian " -"initramfs system. These commands are inserted into the maintainer scripts " -"by L." -msgstr "" -"Se o B instalar ou (em compatibilidade 12 ou posterior) " -"detectar um ou mais hooks de initramfs no pacote, então também gera " -"automaticamente os comandos F e F necessários para " -"interagir com o sistema initramfs de Debian B. Estes comandos são " -"inseridos nos scripts do mantenedor pelo L." +"If B installs or detects one or more initramfs hooks in " +"the package, then it also automatically generates the noawait trigger " +"B command needed to interface with the Debian initramfs " +"system. This trigger is inserted into the packaging by L." +msgstr "" +"Se o B instalar ou detectar um ou mais hooks de " +"initramfs no pacote, então também gera automaticamente o comando B trigger noawait necessário para interagir com o sistema " +"initramfs de Debian. Este trigger é inserido no empacotamento pelo " +"L." #. type: =item #: dh_installinitramfs:34 @@ -8163,12 +9107,42 @@ "hooks de initramfs." #. type: textblock -#: dh_installinitramfs:49 dh_installmenu:50 -msgid "Do not modify F/F scripts." -msgstr "Não modifique os scripts F/F." +#: dh_installinitramfs:49 +msgid "" +"Do not add the B trigger even if it seems like the package " +"might need it. The option is called B<--no-scripts> for historical reasons " +"as B would previously generate maintainer scripts that " +"called B." +msgstr "" +"Não adiciona o trigger B mesmo que parece que o pacote " +"possa precisar dele. A opção é chamada B<--no-scripts> por razões históricas " +"pois o B antes gerava scripts do maintainer que " +"chamavam B." + +#. type: textblock +#: dh_installinitramfs:54 +msgid "" +"Use this option, if you need to interface with the B " +"system that is not satisfied by the noawait trigger (e.g. because you need " +"the extra guarantees and head-aches of a await trigger)." +msgstr "" +"Use esta opção, se precisar de interagir com o sistema B " +"que não é satisfeito pelo trigger noawait (ex. porque você precisa de extra " +"garantias e de head-aches de um trigger await)." + +#. type: textblock +#: dh_installinitramfs:62 +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 triggers file." +msgstr "" +"Note que este comando não é idempotente. O L deve ser chamado " +"entre invocações deste comando. Caso contrário, pode causar múltiplas " +"instâncias do mesmo texto a ser adicionado ao ficheiro triggers." #. type: textblock -#: dh_installinitramfs:87 +#: dh_installinitramfs:93 msgid "L L L" msgstr "L L L" @@ -8314,13 +9288,6 @@ #. type: textblock #: dh_installman:25 -#, fuzzy -#| msgid "" -#| "In compat 10 and earlier, this program was primarily for when upstream's " -#| "build system does not properly install them as a part of its install step " -#| "(or it does not have an install step). In compat 11 and later, it " -#| "supports the same features of L and has the advantage that " -#| "it respects the B build profile (unlike L)." msgid "" "In compat 10 and earlier, this program was primarily for when upstream's " "build system does not properly install them as a part of its install step " @@ -8332,9 +9299,9 @@ "Em compatibilidade 10 e anteriores, este programa servia principalmente para " "quando o sistema de compilação do autor não os instalava apropriadamente " "como uma parte do seu passo de instalação (ou não possuía um passo de " -"instalação). Em compatibilidade 11 e posterior, suporta as mesmas " -"funcionalidades de L e tem a vantagem que respeita o perfil " -"de compilação B (ao contrário de L)." +"instalação). Em compatibilidade 11 e posterior, também suporta o predefinido " +"searchdir plus --sourcedir como dh_install(1) e tem a vantagem de respeitar " +"o perfil de compilação nodoc (ao contrário de dh_install(1))." #. type: textblock #: dh_installman:32 @@ -8655,7 +9622,7 @@ msgstr "" "Também gera automaticamente os comandos F e F necessários " "para interagir com o pacote Debian B. Estes comandos são inseridos nos " -"scripts do mantenedor pelo L." +"scripts do maintainer pelo L." #. type: =item #: dh_installmenu:32 @@ -8686,6 +9653,11 @@ "no directório de compilação do pacote." #. type: textblock +#: dh_installmenu:50 +msgid "Do not modify F/F scripts." +msgstr "Não modifique os scripts F/F." + +#. type: textblock #: dh_installmenu:90 msgid "L L L" msgstr "L L L" @@ -8772,7 +9744,7 @@ "São procurados módulos de kernel no directório de compilação do pacote, e se " "encontrados, os comandos F, F e F são gerados " "automaticamente para correr o B e registar os módulos quando o " -"pacote é instalado. Estes comandos são inseridos nos scripts do mantenedor " +"pacote é instalado. Estes comandos são inseridos nos scripts do maintainer " "pelo L." #. type: =item @@ -9093,7 +10065,7 @@ msgstr "" "Este programa gera automaticamente os comandos F e F " "necessários para registar fonts do X. Estes comandos são inseridos nos " -"scripts do mantenedor pelo B. Veja L para " +"scripts do maintainer pelo B. Veja L para " "uma explicação sobre como isto funciona." #. type: textblock @@ -9249,7 +10221,7 @@ "corrected to comply with Debian policy." msgstr "" "Exclui links simbólicos que contêm I em qualquer ponto do seu nome de " -"serem corrigidos para ficarem em conformidade com a politica Debian." +"serem corrigidos para ficarem em conformidade com a política Debian." #. type: =item #: dh_link:83 @@ -9452,8 +10424,7 @@ "Também assegura que o ldconfig é invocado durante a instalação e remoção " "quando encontra bibliotecas partilhadas. Desde o debhelper 9.20151004, isto " "é feito via um trigger do dpkg. Nas versões mais antigas do debhelper, " -"B seria geralmente um script de mantenedor para este " -"objectivo." +"B seria geralmente um script de maintainer para este objetivo." #. type: textblock #: dh_makeshlibs:29 @@ -9465,17 +10436,30 @@ "\"libfoo1-udeb\"). Please use the B<--add-udeb> and B<--no-add-udeb> options " "below when this auto-detection is insufficient." msgstr "" +"Desde o debhelper 12.3, B irá por predefinição adicionar uma " +"linha I adicional para udebs no ficheiro shlibs, quando o udeb tem o " +"mesmo nome que o deb seguido por um sufixo \"-udeb\" (ex. se o deb for " +"chamado \"libfoo1\", então o debhelper irá auto-detectar o udeb se ele for " +"chamado \"libfoo1-udeb\"). Por favor use as opções B<--add-udeb> e B<--no-" +"add-udeb> abaixo quando esta auto-detecção é insuficiente." #. type: textblock #: dh_makeshlibs:36 msgid "" "If you previously used B<--add-udeb> and is considering to migrate to using " -"the new auto-detection feature in 12.3, then please remember " -"to test that the resulting F files are as expected. There " -"are some known corner cases, where the auto-detection is insufficient. " -"These include when the udeb contains library files from multiple regular deb " -"packages or when the packages do not follow the expected naming convention." -msgstr "" +"the new auto-detection feature in 12.3, then please remember to test that " +"the resulting F files are as expected. There are some known " +"corner cases, where the auto-detection is insufficient. These include when " +"the udeb contains library files from multiple regular deb packages or when " +"the packages do not follow the expected naming convention." +msgstr "" +"Se você usou anteriormente B<--add-udeb> e está a considerar migrar para a " +"utilização da nova funcionalidade de auto-detecção em 12.3, então por favor " +"lembre-se de testar que os ficheiros F resultantes são os " +"esperados. Existem alguns casos conhecidos, onde a auto-detecção é " +"insuficiente. Estes incluem quando o udeb contem ficheiros biblioteca de " +"múltiplos pacotes deb regulares ou quando os pacotes não seguem a convenção " +"de nomes esperada." #. type: =item #: dh_makeshlibs:48 @@ -9724,7 +10708,7 @@ msgstr "" "Não adiciona o trigger \"ldconfig\" mesmo que parece que o pacote possa " "precisar dele. A opção é chamada B<--no-scripts> por razões históricas pois " -"o B previamente gerava scripts do mantenedor que chamavam " +"o B previamente gerava scripts do maintainer que chamavam " "B." #. type: textblock @@ -9760,13 +10744,15 @@ "libraries from multiple deb packages, or when the udeb contains libraries " "B present in the deb package." msgstr "" +"Esta opção é apenas útil para casos especiais tais como quando o debhelper " +"não consegue auto-detectar o nome de pacote para o pacote udeb, quando o " +"udeb irá conter bibliotecas de múltiplos pacotes deb, ou quando o udeb " +"contem bibliotecas B presentes no pacote deb." #. type: =item #: dh_makeshlibs:169 -#, fuzzy -#| msgid "B<--add-udeb=>I" msgid "B<--no-add-udeb>" -msgstr "B<--add-udeb=>I" +msgstr "B<--no-add-udeb>" #. type: textblock #: dh_makeshlibs:171 @@ -9774,6 +10760,8 @@ "Do not add any udeb lines to the shlibs file. This can be used to disable " "the default auto-detection of udebs." msgstr "" +"Não adiciona nenhumas linhas udeb ao ficheiro shlibs. Isto pode ser usado " +"para desactivar a auto-detecção predefinida do udebs." #. type: textblock #: dh_makeshlibs:174 @@ -9783,6 +10771,10 @@ "for the library was \"overkill\" and the library is embedded in a different " "udeb package." msgstr "" +"Isto pode ser útil caso você não queira nenhum ficheiro shlibs para o udeb " +"porque nenhum pacote irá depender dele. Ex. porque adicionar um pacote udeb " +"para a biblioteca foi \"exagero\" e a biblioteca está embebida num pacote " +"udeb diferente." #. type: textblock #: dh_makeshlibs:181 @@ -10060,7 +11052,7 @@ "Este programa irá procurar scripts e módulos Perl no seu pacote, e irá usar " "esta informação para gerar uma dependência em B ou B. A " "dependência irá ser substituída no ficheiro F do seu pacote onde " -"você colocar o símbolo B<${perl:Depends}>." +"você colocar o token B<${perl:Depends}>." #. type: textblock #: dh_perl:31 @@ -10183,8 +11175,8 @@ "It is typically run at the top of the B and B " "targets, or at the top of a target such as install that they depend on." msgstr "" -"Corre tipicamente no topo das metas B e B, ou no " -"topo de uma meta tal que instala o que eles dependem de." +"Corre tipicamente no topo dos alvos B e B, ou no " +"topo de um alvo tal que instala o que eles dependem de." #. type: textblock #: dh_prep:35 @@ -10468,7 +11460,7 @@ "to replace with an automatically generated debug symbol package, please see " "the B<--dbgsym-migration> option." msgstr "" -"B. Na maioria dos casos, deverá haver poucas razões para usar " "esta opção para novos pacotes fonte pois o debhelper gera automaticamente " "pacotes de depuração (pacotes \"dbgsym\"). B is used to determine if the target is being run with " -#| "sufficient access under (fake)root." msgid "" "B is used to determine if the target is being run with suffient " "access to root(-like) features." msgstr "" "B é usado para determinar se um alvo está a ser corrido com " -"acesso suficiente a (fake)root." +"acesso suficiente a funcionalidades de (tipo-)root." #. type: textblock #: dh_testroot:18 @@ -10805,7 +11793,7 @@ #. type: textblock #: dh_usrlocal:7 msgid "dh_usrlocal - migrate usr/local directories to maintainer scripts" -msgstr "dh_usrlocal - migra directórios usr/local para scripts de mantenedor." +msgstr "dh_usrlocal - migra directórios usr/local para scripts de maintainer." #. type: textblock #: dh_usrlocal:21 @@ -10834,12 +11822,12 @@ "snippets." msgstr "" "Encontra sub-directórios de F no directório de compilação do " -"pacote, e remove-os, substituindo-os por fragmentos de script de mantenedor " +"pacote, e remove-os, substituindo-os por fragmentos de script de maintainer " "(a menos que seja usado B<-n>) para criar os directórios durante a " "instalação, e removê-los quando o pacote é removido, num modo em " "conformidade com a política Debian. Estes fragmentos são inseridos nos " -"scripts de mantenedor pelo B. Veja L para " -"uma explicação sobre fragmentos de scripts de mantenedor do debhelper." +"scripts de maintainer pelo B. Veja L para " +"uma explicação sobre fragmentos de scripts de maintainer do debhelper." #. type: textblock #: dh_usrlocal:36 @@ -10875,7 +11863,7 @@ "Se um directório é da posse de root:root, então o dono é determinado na " "altura da instalação. Os bits de posse e permissões irão ser ou root:root " "modo 0755 ou root:staff modo 02775. A escolha depende em se o sistema tem " -"F (como documentado no Manual de Politica " +"F (como documentado no Manual de Política " "Debian §9.1.2 desde a versão 4.1.4)" #. type: textblock @@ -10937,7 +11925,7 @@ "does not make sense." msgstr "" "Num caso complexo, você pode chamar B e " -"B manualmente (ao sobrescrever as metas debian/rules) e " +"B manualmente (ao sobrescrever os alvos debian/rules) e " "especificar bandeiras por cada ficheiro unit. Um exemplo é colord, o qual " "contém o serviço colord, um serviço dbus-activated sem uma secção [Install]. " "Este ficheiro de serviço não pode ser activado ou desactivado (um estado " @@ -11077,7 +12065,7 @@ msgstr "" "Instala o ficheiro de serviço como I em vez do nome de " "ficheiro predefinido, o qual é I Quando este parâmetro é " -"usado, o B procura e instala ficheiros chamados F procura e instala ficheiros chamados F em vez do habitual F." #. type: textblock @@ -11091,7 +12079,7 @@ "Note que este comando não é idempotente. O L deve ser chamado " "entre invocações deste comando (com os mesmos argumentos). Caso contrário, " "pode causar múltiplas instâncias do mesmo texto a ser adicionado aos scripts " -"do mantenedor." +"do maintainer." #. type: textblock #: dh_systemd_enable:111 @@ -11166,7 +12154,7 @@ "Do not stop the unit file until after the package upgrade has been " "completed. This is the default behaviour in compat 10." msgstr "" -"Não pára o ficheiro unit até que a actualização do pacote esteja completa. " +"Não para o ficheiro unit até que a actualização do pacote esteja completa. " "Este é o comportamento predefinido no nível de compatibilidade 10." #. type: textblock @@ -11181,7 +12169,7 @@ #. type: textblock #: dh_systemd_start:59 msgid "Do not stop service on upgrade." -msgstr "Não pára o serviço durante uma actualização." +msgstr "Não para o serviço durante uma actualização." #. type: textblock #: dh_systemd_start:63 @@ -11214,6 +12202,20 @@ "Este nível de compatibilidade está aberto para testes beta: podem ocorrer " "alterações." +#~ msgid "" +#~ "B should be the last debhelper command run in the B " +#~ "target in F." +#~ msgstr "" +#~ "B deve ser o último comando debhelper a correr na meta B " +#~ "em F." + +#~ msgid "" +#~ "If there is an upstream F file, it will be installed as F in the package build directory." +#~ msgstr "" +#~ "Se existir um ficheiro F do autor, este será instalado como " +#~ "F no directório de compilação do pacote." + #~ msgid "B<--ignore=>I" #~ msgstr "B<--ignore=>I" @@ -11972,9 +12974,6 @@ #~ "B os aceita. Esta variável é apenas uma segurança temporária e será " #~ "removida assim que o arquivo esteja pronto para aceitar ddebs." -#~ msgid "B<--parallel>" -#~ msgstr "B<--parallel>" - #~ msgid "" #~ "B now invokes I instead of just I " #~ "in its generated maintainer scripts snippets. The new call will only " diff -Nru debhelper-13ubuntu1~oibaf~f/run debhelper-13.2.1ubuntu1~oibaf~f/run --- debhelper-13ubuntu1~oibaf~f/run 2019-03-03 13:08:48.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/run 2020-09-13 07:42:22.000000000 +0000 @@ -11,9 +11,6 @@ # If any automatic script generation is done in building this package, # be sure to use the new templates from this package. -export DH_AUTOSCRIPTDIR=$(pwd)/autoscripts +export DH_DATAFILES=$(pwd) -prog=$1 -shift 1 - -exec $prog "$@" +exec "$@" diff -Nru debhelper-13ubuntu1~oibaf~f/t/buildsystems/autoconf/configure debhelper-13.2.1ubuntu1~oibaf~f/t/buildsystems/autoconf/configure --- debhelper-13ubuntu1~oibaf~f/t/buildsystems/autoconf/configure 2018-12-18 19:49:57.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/t/buildsystems/autoconf/configure 2020-09-13 07:42:24.000000000 +0000 @@ -14,6 +14,7 @@ ^--sysconfdir=/etc$ ^--localstatedir=/var$ ^--libdir=\$\{prefix\}/lib/.*$ + ^--disable-option-checking$ ^--disable-silent-rules$ ^--disable-maintainer-mode$ ^--disable-dependency-tracking$ diff -Nru debhelper-13ubuntu1~oibaf~f/t/dh_installsystemd/dh_installsystemd.t debhelper-13.2.1ubuntu1~oibaf~f/t/dh_installsystemd/dh_installsystemd.t --- debhelper-13ubuntu1~oibaf~f/t/dh_installsystemd/dh_installsystemd.t 2018-12-18 19:49:57.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/t/dh_installsystemd/dh_installsystemd.t 2020-09-13 07:42:23.000000000 +0000 @@ -77,14 +77,14 @@ ok(-e 'debian/foo/lib/systemd/system/foo.service'); ok(find_script('foo', 'postinst')); unit_is_enabled('foo', 'foo', 1); - unit_is_started('foo', 'foo', 0, 1); + unit_is_started('foo', 'foo', 0, 0); ok(run_dh_tool('dh_clean')); ok(run_dh_tool('dh_installsystemd', '--no-start', 'foo.service')); ok(-e 'debian/foo/lib/systemd/system/foo.service'); ok(find_script('foo', 'postinst')); unit_is_enabled('foo', 'foo', 1); - unit_is_started('foo', 'foo', 0, 1); + unit_is_started('foo', 'foo', 0, 0); ok(run_dh_tool('dh_clean')); }; @@ -127,9 +127,9 @@ ok(-e 'debian/foo/lib/systemd/system/foo.service'); ok(find_script('foo', 'postinst')); unit_is_enabled('foo', 'foo', 1); - unit_is_started('foo', 'foo', 0, 1); # present units are stopped on remove even if no start + unit_is_started('foo', 'foo', 0, 0); unit_is_enabled('foo', 'foo2', 1); - unit_is_started('foo', 'foo2', 0, 1); + unit_is_started('foo', 'foo2', 0, 0); ok(run_dh_tool('dh_clean')); make_path('debian/foo/lib/systemd/system/'); @@ -139,7 +139,7 @@ ok(-e 'debian/foo/lib/systemd/system/foo.service'); ok(find_script('foo', 'postinst')); unit_is_enabled('foo', 'foo', 1); - unit_is_started('foo', 'foo', 0, 1); + unit_is_started('foo', 'foo', 0, 0); unit_is_enabled('foo', 'foo2', 1); unit_is_started('foo', 'foo2', 1); ok(run_dh_tool('dh_clean')); diff -Nru debhelper-13ubuntu1~oibaf~f/t/Test/DH.pm debhelper-13.2.1ubuntu1~oibaf~f/t/Test/DH.pm --- debhelper-13ubuntu1~oibaf~f/t/Test/DH.pm 2020-02-01 11:43:27.000000000 +0000 +++ debhelper-13.2.1ubuntu1~oibaf~f/t/Test/DH.pm 2020-09-13 07:42:23.000000000 +0000 @@ -22,31 +22,34 @@ use lib "$ROOT_DIR/lib"; -$ENV{PATH} = "$ROOT_DIR:$ENV{PATH}" if $ENV{PATH} !~ m{\Q$ROOT_DIR\E/?:}; -$ENV{PERL5LIB} = join(':', "${ROOT_DIR}/lib", (grep { defined } $ENV{PERL5LIB})) - if not $ENV{PERL5LIB} or $ENV{PERL5LIB} !~ m{\Q$ROOT_DIR\E(?:/lib)?/?:}; -$ENV{DH_AUTOSCRIPTDIR} = "$ROOT_DIR/autoscripts"; -# Nothing in the tests requires root. -$ENV{DEB_RULES_REQUIRES_ROOT} = 'no'; -# Disable colors for good measure -$ENV{DH_COLORS} = 'never'; -$ENV{DPKG_COLORS} = 'never'; - -# Drop DEB_BUILD_PROFILES and DEB_BUILD_OPTIONS so they don't interfere -delete($ENV{DEB_BUILD_PROFILES}); -delete($ENV{DEB_BUILD_OPTIONS}); +# These should be done before Dh_lib is loaded. +BEGIN { + $ENV{PATH} = "$ROOT_DIR:$ENV{PATH}" if $ENV{PATH} !~ m{\Q$ROOT_DIR\E/?:}; + $ENV{PERL5LIB} = join(':', "${ROOT_DIR}/lib", (grep {defined} $ENV{PERL5LIB})) + if not $ENV{PERL5LIB} or $ENV{PERL5LIB} !~ m{\Q$ROOT_DIR\E(?:/lib)?/?:}; + $ENV{DH_DATAFILES} = "${ROOT_DIR}/t/fixtures:${ROOT_DIR}"; + # Nothing in the tests requires root. + $ENV{DEB_RULES_REQUIRES_ROOT} = 'no'; + # Disable colors for good measure + $ENV{DH_COLORS} = 'never'; + $ENV{DPKG_COLORS} = 'never'; + + # Drop DEB_BUILD_PROFILES and DEB_BUILD_OPTIONS so they don't interfere + delete($ENV{DEB_BUILD_PROFILES}); + delete($ENV{DEB_BUILD_OPTIONS}); +}; use Debian::Debhelper::Dh_Lib qw(!dirname); our @EXPORT = qw( each_compat_up_to_and_incl_subtest each_compat_subtest each_compat_from_and_above_subtest run_dh_tool - uid_0_test_is_ok create_empty_file readlines + create_empty_file readlines error find_script non_deprecated_compat_levels each_compat_from_x_to_and_incl_y_subtest ); -our ($TEST_DH_COMPAT, $ROOT_OK, $ROOT_CMD); +our ($TEST_DH_COMPAT); my $START_DIR = getcwd(); my $TEST_DIR; @@ -57,12 +60,6 @@ my $options = ref($cmd[0]) ? shift(@cmd) : {}; my $pid; - if ($options->{'needs_root'}) { - BAIL_OUT('BROKEN TEST - Attempt to run "needs_root" test when not possible') - if not uid_0_test_is_ok(); - unshift(@cmd, $ROOT_CMD) if defined($ROOT_CMD); - } - $pid = fork() // BAIL_OUT("fork failed: $!"); if (not $pid) { $ENV{DH_COMPAT} = $compat; @@ -90,22 +87,6 @@ return 0; } -sub uid_0_test_is_ok { - return $ROOT_OK if defined($ROOT_OK); - my $ok = 0; - if ($< == 0) { - $ok = 1; - } else { - system('fakeroot true 2>/dev/null'); - if ($? == 0) { - $ROOT_CMD = 'fakeroot'; - $ok = 1; - } - } - $ROOT_OK = $ok; - return $ok; -} - sub _prepare_test_root { my $dir = tempdir(CLEANUP => 1); if (not mkdir("$dir/debian", 0777)) {