--- liblocale-gettext-perl-1.05.orig/debian/control
+++ liblocale-gettext-perl-1.05/debian/control
@@ -0,0 +1,23 @@
+Source: liblocale-gettext-perl
+Section: perl
+Priority: required
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Raphaël Hertzog <hertzog@debian.org>, Niko Tyni <ntyni@debian.org>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.47-6)
+Homepage: http://search.cpan.org/dist/gettext/gettext.pm
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/liblocale-gettext-perl/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/liblocale-gettext-perl/
+
+Package: liblocale-gettext-perl
+Architecture: any
+Pre-Depends: ${perl:Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Using libc functions for internationalization in Perl
+ The gettext module permits access from perl to the gettext() family of
+ functions for retrieving message strings from databases constructed
+ to internationalize software.
+ .
+ It provides gettext(), dgettext(), dcgettext(), textdomain(),
+ bindtextdomain(), bind_textdomain_codeset(), ngettext(), dcngettext()
+ and dngettext().
--- liblocale-gettext-perl-1.05.orig/debian/rules
+++ liblocale-gettext-perl-1.05/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+%:
+	dh --with quilt $@
+
+# The generated ${perl:Depends} must be on perl-base and not perl as the
+# package is part of the base system
+override_dh_perl:
+	dh_perl -d
+
--- liblocale-gettext-perl-1.05.orig/debian/README.debian
+++ liblocale-gettext-perl-1.05/debian/README.debian
@@ -0,0 +1,12 @@
+liblocale-gettext-perl for Debian
+---------------------------------
+
+This module is used to internationalize all Perl programs in the
+same way than the C programs. You only need to create *.mo file in order
+to translate your Perl program if you used the gettext functions where
+strings were needed.
+
+The man page is not very instructive, take a look at the README file
+shipped in the /usr/share/doc/liblocale-gettext-perl directory.
+
+Raphael Hertzog <hertzog@debian.org>, Tue, 29 Dec 1998 12:11:58 +0100
--- liblocale-gettext-perl-1.05.orig/debian/copyright
+++ liblocale-gettext-perl-1.05/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Raphael Hertzog <rhertzog@hrnet.fr> on
+Tue, 29 Dec 1998 12:11:58 +0100.
+
+It was downloaded from http://www.cpan.org/modules/by-module/Locale/gettext-1.05.tar.gz
+
+Upstream Author: Phillip Vandry <vandry@TZoNE.ORG>
+
+Copyright:
+
+Locale::gettext is Copyright 1996..2005 by Phillip Vandry
+<vandry@TZoNE.ORG>. All rights reserved.
+
+This library is free software; you may distribute under the terms
+of either the GNU General Public License or the Artistic License, as
+specified in the Perl README file.
+
+Check /usr/share/common-licenses/GPL and /usr/share/common-licenses/Artistic.
--- liblocale-gettext-perl-1.05.orig/debian/README.source
+++ liblocale-gettext-perl-1.05/debian/README.source
@@ -0,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
--- liblocale-gettext-perl-1.05.orig/debian/watch
+++ liblocale-gettext-perl-1.05/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://search.cpan.org/dist/gettext/   .*/gettext-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)
--- liblocale-gettext-perl-1.05.orig/debian/changelog
+++ liblocale-gettext-perl-1.05/debian/changelog
@@ -0,0 +1,229 @@
+liblocale-gettext-perl (1.05-6) unstable; urgency=low
+
+  * The -d option of dh_perl was lost by mistake while converting to tiny
+    rules files. Re-add it. Closes: #548860
+
+ -- Raphaël Hertzog <hertzog@debian.org>  Tue, 29 Sep 2009 12:21:42 +0200
+
+liblocale-gettext-perl (1.05-5) unstable; urgency=low
+
+  [ gregor herrmann ]
+  * Add debian/README.source to document quilt usage, as required by
+    Debian Policy since 3.8.0.
+  * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
+    (source stanza).
+  * debian/control: Added: ${misc:Depends} to Depends: field.
+
+  [ Nathan Handler ]
+  * debian/watch: Update to ignore development releases.
+
+  [ Raphaël Hertzog ]
+  * Update my name in Uploaders to add the accented character.
+  * Switch to debhelper 7 tiny rules file and compat mode.
+  * Update Standards-Version to 3.8.3 (no changes needed).
+  * Update meta-information in patches files to comply with DEP-3.
+  * Update Homepage field.
+  * Update my email in README.debian.
+
+ -- Raphaël Hertzog <hertzog@debian.org>  Sun, 20 Sep 2009 21:28:08 +0200
+
+liblocale-gettext-perl (1.05-4) unstable; urgency=low
+
+  * Put ${perl:Depends} back into Pre-Depends. The revert in 1.05-2 was
+    wrong. The pre-dependency is needed to make sure that the right perl
+    version is unpacked before liblocale-gettext-perl so that any
+    script/module using Locale::Gettext (still) work once this module
+    has been unpacked. This is particulary important for transitions like
+    perl-5.8 -> perl-5.10 (see #479220 for example).
+  * New patch debian/patches/compatibility-with-POSIX-module.diff so that
+    Locale::Gettext re-exports the LC_* constants coming from POSIX instead
+    of those coming from its own XS implementation. Closes: #479803
+
+ -- Raphael Hertzog <hertzog@debian.org>  Wed, 07 May 2008 09:56:21 +0200
+
+liblocale-gettext-perl (1.05-3) unstable; urgency=low
+
+  [ Raphael Hertzog ]
+  * Change priority to required to match overrides.
+
+  [ Damyan Ivanov ]
+  * debian/watch: use dist-based URL.
+  * debian/rules:
+    + put -Wall in CFLAGS
+    + use "$@" when touching stamps
+    + use $(CURDIR) instead of `pwd`
+    + make build-stamp target depend on $(QUILT_STAMPFN) instead of 'patch'
+    + drop unneeded dh_installdirs and debian/dirs
+    + split DESTDIR and PREFIX when calling $(MAKE) install
+    + correct the logic around removing empty usr/share/perl5 so that it does
+      not fail when the directory does not exist
+    + drop commented-out and unneeded debhelper calls
+
+  [ Niko Tyni ]
+  * Add myself to Uploaders.
+
+ -- Niko Tyni <ntyni@debian.org>  Tue, 19 Feb 2008 10:39:03 +0200
+
+liblocale-gettext-perl (1.05-2) unstable; urgency=low
+
+  [ Raphael Hertzog ]
+  * Move myself to Uploaders and put the team as Maintainer.
+  * Switch to debhelper's 6th compatibility mode. Ajust Build-Depends
+    accordingly. Used debian/compat instead of DH_COMPAT.
+  * Remove versioned build-dependency on perl. oldstable already has a version
+    new enough.
+  * Updated Standards-Version to 3.7.3 (no changes)
+  * Switched to quilt instead of old home-made dpatch based system.
+    Added quilt to Build-Depends.
+  * Refreshed patch.
+  * Updated README.Debian.
+  * Remove empty /usr/share/perl5.
+  * Merge Pre-Depends into Depends since the reason of the use of Pre-Depends
+    was wrong headed. Furthermor the bug it was working around is now fixed.
+
+  [ gregor herrmann ]
+  * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
+    field (source stanza); Homepage field (source stanza). Removed: XS-
+    Vcs-Svn fields.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Sun, 03 Feb 2008 19:56:22 +0100
+
+liblocale-gettext-perl (1.05-1) unstable; urgency=low
+
+  * New upstream release
+  * Conforms to policy 3.6.2.
+  * Move ${perl:Depends} to Pre-Depends instead of Depends to avoid duplicate
+    dependency. Fixes a lintian warning.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Wed, 22 Jun 2005 14:29:20 +0200
+
+liblocale-gettext-perl (1.04-1) unstable; urgency=low
+
+  * New upstream version.
+  * All patches have been integrated upstream. Just a little typo in doc
+    remains.
+  * Conform to policy 3.6.1.
+  * Updated priority to important to match the priority in the override.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Fri, 15 Apr 2005 09:50:38 +0200
+
+liblocale-gettext-perl (1.01-17) unstable; urgency=low
+
+  * Corrected typo in man page. Closes: #175421
+  * Updated section and priority (perl and standard respectively).
+  * Conform to policy 3.5.9.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Fri, 18 Apr 2003 16:21:03 +0000
+
+liblocale-gettext-perl (1.01-16) unstable; urgency=low
+
+  * Conform to policy 3.5.7
+  * Debhelper 4 required now.
+  * Use a multiple patch setup.
+  * Added several functions: bind_textdomain_codeset ngettext dcngettext
+    dngettext. Closes: #158673
+
+ -- Raphael Hertzog <hertzog@debian.org>  Sat, 21 Sep 2002 16:25:37 +0200
+
+liblocale-gettext-perl (1.01-15) unstable; urgency=low
+
+  * Updated copyright information.
+  * Pre-Depends on perl-base (>= 5.8) otherwise debconf may fail
+    while trying to use this module with the old perl 5.6.
+    Closes: #158835
+
+ -- Raphael Hertzog <hertzog@debian.org>  Thu, 29 Aug 2002 09:55:43 +0200
+
+liblocale-gettext-perl (1.01-14) unstable; urgency=low
+
+  * Rebuilt to include gettext.pm, I don't know why it disappeared. Probably
+    a problem in the chroot where I built it. Closes: #158644
+
+ -- Raphael Hertzog <hertzog@debian.org>  Wed, 28 Aug 2002 19:48:54 +0200
+
+liblocale-gettext-perl (1.01-13) unstable; urgency=low
+
+  * Added #include <libintl.h> for ia64, to the .xs this time...
+
+ -- Raphael Hertzog <hertzog@debian.org>  Mon, 12 Aug 2002 09:43:14 +0200
+
+liblocale-gettext-perl (1.01-12) unstable; urgency=low
+
+  * Recompile with perl 5.8.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Wed, 31 Jul 2002 20:37:22 +0200
+
+liblocale-gettext-perl (1.01-11) unstable; urgency=low
+
+  * Added libintl.h required for ia64. Closes: #110285
+  * Corrected 2 lintian warnings.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Mon,  3 Sep 2001 20:22:36 +0200
+
+liblocale-gettext-perl (1.01-10) unstable; urgency=medium
+
+  * Updated for the latest perl policy.
+  * Complies with policy 3.5.2.
+
+ -- Raphael Hertzog <hertzog@debian.org>  Wed, 21 Feb 2001 22:51:30 +0100
+
+liblocale-gettext-perl (1.01-9) unstable; urgency=low
+
+  * Compiled with perl-5.6. Conforms to policy 3.2.1. 
+
+ -- Raphael Hertzog <hertzog@debian.org>  Tue, 26 Dec 2000 18:04:19 +0100
+
+liblocale-gettext-perl (1.01-8) unstable; urgency=low
+
+  * Policy 3.0.1 compliance. Built with debhelper 2.0.40. 
+
+ -- Raphael Hertzog <hertzog@debian.org>  Thu,  9 Sep 1999 13:24:53 +0200
+
+liblocale-gettext-perl (1.01-7) unstable; urgency=low
+
+  * Compiled with perl-5.005.
+  * Follow the new perl policy.
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Thu,  1 Jul 1999 23:00:48 +0200
+
+liblocale-gettext-perl (1.01-6) unstable; urgency=low
+
+  * Documented the fact that the libc only looks for .mo files
+    in the locale path. Closes: #38488
+  * Stripped the .so file.
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Mon, 31 May 1999 19:48:16 +0200
+
+liblocale-gettext-perl (1.01-5) unstable; urgency=low
+
+  * Corrected the README gettext -> Locale::gettext. Closes: #38481 
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Fri, 28 May 1999 23:53:37 +0200
+
+liblocale-gettext-perl (1.01-4) unstable; urgency=low
+
+  * Re-oups, not need to depend on perl-base as it's essential. Thanks
+    to Darren and Santiago.
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Wed, 17 Feb 1999 15:45:03 +0100
+
+liblocale-gettext-perl (1.01-3) unstable; urgency=low
+
+  * Oups, forget to change the dependency. Now depends on perl-base.
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Tue, 16 Feb 1999 16:28:24 +0100
+
+liblocale-gettext-perl (1.01-2) unstable; urgency=low
+
+  * Changed section/priority to base/required to be able to i18ize 
+    all perl scripts that are in the base system (adduser, dpkg-divert, ...).
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Wed, 10 Feb 1999 00:34:24 +0100
+
+liblocale-gettext-perl (1.01-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Raphael Hertzog <rhertzog@hrnet.fr>  Tue, 29 Dec 1998 12:11:58 +0100
+
+
--- liblocale-gettext-perl-1.05.orig/debian/compat
+++ liblocale-gettext-perl-1.05/debian/compat
@@ -0,0 +1 @@
+7
--- liblocale-gettext-perl-1.05.orig/debian/docs
+++ liblocale-gettext-perl-1.05/debian/docs
@@ -0,0 +1 @@
+README 
--- liblocale-gettext-perl-1.05.orig/debian/patches/series
+++ liblocale-gettext-perl-1.05/debian/patches/series
@@ -0,0 +1,2 @@
+doc-update.diff
+compatibility-with-POSIX-module.diff
--- liblocale-gettext-perl-1.05.orig/debian/patches/compatibility-with-POSIX-module.diff
+++ liblocale-gettext-perl-1.05/debian/patches/compatibility-with-POSIX-module.diff
@@ -0,0 +1,23 @@
+Description: Re-export LC_* constants of the POSIX module
+ Locale::Gettext exports by default the various LC_* constants as does the
+ POSIX perl module. Up to perl-5.10, their definition was strictly the same
+ and didn't cause any harm. Now the POSIX module evolved slightly and the
+ symbol redefinition are conflictual and generate warnings.
+ .
+ Resolve this by making sure that Locale::Gettext reexports the constants
+ coming from the POSIX module.
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=35680
+Bug-Debian: http://bugs.debian.org/479803
+Author: Raphaël Hertzog <hertzog@debian.org>
+Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479803#20
+
+--- a/gettext.pm
++++ b/gettext.pm
+@@ -32,6 +32,7 @@ to internationalize software.
+ =cut
+ 
+ use Carp;
++use POSIX qw(:locale_h);
+ 
+ require Exporter;
+ require DynaLoader;
--- liblocale-gettext-perl-1.05.orig/debian/patches/doc-update.diff
+++ liblocale-gettext-perl-1.05/debian/patches/doc-update.diff
@@ -0,0 +1,16 @@
+Description: Fix documentation in manual page
+Author: Raphaël Hertzog <hertzog@debian.org>
+Bug-Debian: http://bugs.debian.org/175421
+Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=35680
+
+--- a/gettext.pm
++++ b/gettext.pm
+@@ -235,7 +235,7 @@ sub DESTROY {
+ gettext(), dgettext(), and dcgettext() attempt to retrieve a string
+ matching their C<msgid> parameter within the context of the current
+ locale. dcgettext() takes the message's category and the text domain
+-as parameters while dcgettext() defaults to the LC_MESSAGES category
++as parameters while dgettext() defaults to the LC_MESSAGES category
+ and gettext() defaults to LC_MESSAGES and uses the current text domain.
+ If the string is not found in the database, then C<msgid> is returned.
+ 
