From 0620f606c2fef6196346e5f89c7c212bac2e79f0 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 2 Jun 2006 10:51:28 +0000 Subject: [PATCH] Revert usage of English perl non-essential module from install-info. Closes: #369928 --- ChangeLog | 4 ++++ debian/changelog | 2 ++ scripts/install-info.pl | 15 +++++++-------- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf39c4d8..7b93defb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-06-02 Guillem Jover + + * scripts/install-info.pl: Do not use English non-essential module. + 2006-06-02 Guillem Jover * scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/lib32' and diff --git a/debian/changelog b/debian/changelog index 4c4dc3d0..67348b93 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,8 @@ dpkg (1.13.21~) UNRELEASED; urgency=low Josip Rodin. Closes: #45575 * Add '/lib32' and '/usr/lib32' to the dpkg-shlibdeps library path search list. Closes: #367892 + * Revert usage of English perl non-essential module from install-info. + Closes: #369928 -- Guillem Jover Wed, 31 May 2006 08:03:11 +0300 diff --git a/scripts/install-info.pl b/scripts/install-info.pl index e37be86c..9cd76413 100755 --- a/scripts/install-info.pl +++ b/scripts/install-info.pl @@ -1,7 +1,6 @@ #!/usr/bin/perl -- use Text::Wrap; -use English; my $dpkglibdir = "."; # This line modified by Makefile push (@INC, $dpkglibdir); @@ -107,15 +106,15 @@ while ($ARGV[0] =~ m/^--/) { } elsif (m/^--(c?align|maxwidth)=([0-9]+)$/) { warn( sprintf(_g("%s: %s deprecated(ignored)"), $name, $1)."\n" ); } elsif (m/^--info-?dir=/) { - $dirfile = $POSTMATCH . '/dir'; + $dirfile = $' . '/dir'; } elsif (m/^--info-file=/) { - $filename=$POSTMATCH; + $filename = $'; } elsif (m/^--menuentry=/) { - $menuentry=$POSTMATCH; + $menuentry = $'; } elsif (m/^--description=/) { - $description=$POSTMATCH; + $description = $'; } elsif (m/^--dir-file=/) { # for compatibility with GNU install-info - $dirfile = $POSTMATCH; + $dirfile = $'; } else { printf STDERR _g("%s: unknown option \`%s'")."\n", $name, $_; &usage(STDERR); exit 1; @@ -185,7 +184,7 @@ if (!$remove) { &dprint("multiline '$asread'"); } elsif ($asread =~ m/^\*\s*([^:]+):(\s*\(([^\)]+)\)\.|:)\s*/) { $menuentry= $1; - $description= $POSTMATCH; + $description = $'; $fileinentry = $3; &dprint("infile menuentry '$menuentry' description '$description'"); } elsif (length($asread)) { @@ -209,7 +208,7 @@ if (!$remove) { $asread=''; while() { if (m/^\s*[Tt]his file documents/) { - $asread=$POSTMATCH; + $asread = $'; last; } } -- 2.39.5