From: Raphael Hertzog Date: Tue, 25 Sep 2007 11:46:28 +0000 (+0200) Subject: dpkg-gensymbols: use Dpkg::Gettext instead of dpkg-gettext.pl X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4a0d08f72807fe2fc47c66a91a65b4f9b49b14;p=dpkg dpkg-gensymbols: use Dpkg::Gettext instead of dpkg-gettext.pl --- diff --git a/debian/changelog b/debian/changelog index bbd92b73..9578eab9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dpkg (1.14.7~newshlib.1) experimental; urgency=low + + * Fixes dpkg-gensymbols to use Dpkg::Gettext instead of recently + removed dpkg-gettext.pl. + + -- Raphael Hertzog Tue, 25 Sep 2007 13:42:20 +0200 + dpkg (1.14.7~newshlib) experimental; urgency=low [ Raphael Hertzog ] diff --git a/scripts/dpkg-gensymbols.pl b/scripts/dpkg-gensymbols.pl index 84ebd77c..0b10cb79 100755 --- a/scripts/dpkg-gensymbols.pl +++ b/scripts/dpkg-gensymbols.pl @@ -15,6 +15,9 @@ require 'controllib.pl'; use Dpkg::Shlibs qw(@librarypaths); use Dpkg::Shlibs::Objdump; use Dpkg::Shlibs::SymbolFile; +use Dpkg::Gettext; + +textdomain("dpkg-dev"); our $progname; our (%f, %fi); @@ -24,9 +27,6 @@ our @librarypaths; our $host_arch= `dpkg-architecture -qDEB_HOST_ARCH`; chomp $host_arch; -require 'dpkg-gettext.pl'; -textdomain("dpkg-dev"); - my $controlfile = 'debian/control'; my $changelogfile = 'debian/changelog'; my $packagebuilddir = 'debian/tmp';