+2006-06-02 Guillem Jover <guillem@debian.org>
+
+ * scripts/install-info.pl: Do not use English non-essential module.
+
2006-06-02 Guillem Jover <guillem@debian.org>
* scripts/dpkg-shlibdeps.pl (@librarypaths): Add '/lib32' and
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 <guillem@debian.org> Wed, 31 May 2006 08:03:11 +0300
#!/usr/bin/perl --
use Text::Wrap;
-use English;
my $dpkglibdir = "."; # This line modified by Makefile
push (@INC, $dpkglibdir);
} 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;
&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)) {
$asread='';
while(<IF>) {
if (m/^\s*[Tt]his file documents/) {
- $asread=$POSTMATCH;
+ $asread = $';
last;
}
}