debian/0000755000000000000000000000000012230201270007153 5ustar debian/watch0000644000000000000000000000015211212456135010215 0ustar version=3 http://search.cpan.org/dist/gettext/ .*/gettext-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/liblocale-gettext-perl.docs0000644000000000000000000000001011610350275014377 0ustar README debian/README.debian0000644000000000000000000000077011255515523011277 0ustar 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 , Tue, 29 Dec 1998 12:11:58 +0100 debian/rules0000755000000000000000000000130411610356714010250 0ustar #!/usr/bin/make -f DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) PERL_VER := $(shell perl -MConfig -e'print "$$Config{version}\n"') export PERL5LIB=/usr/$(DEB_HOST_GNU_TYPE)/lib/perl/$(PERL_VER) ifneq (true,$(shell [ -f $(PERL5LIB)/Config.pm -a -f $(PERL5LIB)/Config_heavy.pl ] && echo true)) $(error Config.pm & Config_heavy.pl for cross building not found in $(PERL5LIB)) endif endif %: dh $@ # 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 debian/copyright0000644000000000000000000000220311610350464011116 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Phillip Vandry Source: http://search.cpan.org/dist/Locale-gettext/ Name: Locale-gettext Files: * Copyright: 1996-2005, Phillip Vandry License: Artistic or GPL-1+ Files: debian/* Copyright: 1998-2009, Raphaël Hertzog 2008, Niko Tyni 2010-2011, gregor herrmann License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000011610357266010475 5ustar debian/source/format0000644000000000000000000000001411610350052011665 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011610357266010624 5ustar debian/patches/compatibility-with-POSIX-module.diff0000644000000000000000000000164011610350652017454 0ustar 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. Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479803#20 Bug: http://rt.cpan.org/Public/Bug/Display.html?id=35680 Bug-Debian: http://bugs.debian.org/479803 Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=35680 Author: Raphaël Hertzog Last-Update: 2011-07-16 --- 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; debian/patches/series0000644000000000000000000000006511010360246012024 0ustar doc-update.diff compatibility-with-POSIX-module.diff debian/patches/doc-update.diff0000644000000000000000000000142011610350706013470 0ustar Description: Fix documentation in manual page Bug-Debian: http://bugs.debian.org/175421 Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=35680 Author: Raphaël Hertzog Last-Update: 2011-07-16 --- a/gettext.pm +++ b/gettext.pm @@ -235,7 +235,7 @@ sub DESTROY { gettext(), dgettext(), and dcgettext() attempt to retrieve a string matching their C 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 is returned. debian/compat0000644000000000000000000000000211610350150010354 0ustar 8 debian/control0000644000000000000000000000203011610350202010552 0ustar Source: liblocale-gettext-perl Section: perl Priority: required Maintainer: Debian Perl Group Uploaders: Raphaël Hertzog , Niko Tyni , gregor herrmann Standards-Version: 3.9.2 Build-Depends: debhelper (>= 8) 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: module 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(). debian/changelog0000644000000000000000000002174312230201270011034 0ustar liblocale-gettext-perl (1.05-7build3) devel; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Fri, 18 Oct 2013 10:43:20 +0100 liblocale-gettext-perl (1.05-7build2) quantal; urgency=low * Rebuild for new armel compiler default of ARMv5t. -- Colin Watson Tue, 02 Oct 2012 16:35:42 +0100 liblocale-gettext-perl (1.05-7build1) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 09:31:05 +0000 liblocale-gettext-perl (1.05-7) unstable; urgency=low [ Steve McIntyre ] * Configure perl C compilation for cross builds + Initial patch from Peter Pearse Closes: #633949 [ gregor herrmann ] * Improvements to Steve's patch by Ansgar. * Switch to source format 3.0 (quilt). * Add /me to Uploaders. * Set Standards-Version to 3.9.2 (no changes). * Bump debhelper compatibility level to 8. * debian/copyright: DEP5 format. -- gregor herrmann Sat, 16 Jul 2011 20:55:03 +0200 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 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 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 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 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 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 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 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 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 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 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 Wed, 28 Aug 2002 19:48:54 +0200 liblocale-gettext-perl (1.01-13) unstable; urgency=low * Added #include for ia64, to the .xs this time... -- Raphael Hertzog Mon, 12 Aug 2002 09:43:14 +0200 liblocale-gettext-perl (1.01-12) unstable; urgency=low * Recompile with perl 5.8. -- Raphael Hertzog 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 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 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 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 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 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 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 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 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 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 Wed, 10 Feb 1999 00:34:24 +0100 liblocale-gettext-perl (1.01-1) unstable; urgency=low * Initial Release. -- Raphael Hertzog Tue, 29 Dec 1998 12:11:58 +0100