summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorsno <sno>2009-07-08 09:38:22 +0000
committersno <sno>2009-07-08 09:38:22 +0000
commitbd66608680a8db10323e37831497856aa2a83934 (patch)
tree1ce82da7b1e2e523fbc83d76807e10021ea6d7f0 /misc
parent4c9a31e8ddaf5f35e6f04eace93eb1e7a20962bd (diff)
downloadpkgsrc-bd66608680a8db10323e37831497856aa2a83934.tar.gz
pkgsrc changes:
- Updating package for p5 library libintl-perl from 1.16nb1 to 1.20 - Adjusting meta information of package (CATEGORIES, LICENSE) - take care of library path Upstream changes: 2009-06-29 Guido Flohr <guido@imperia.net> * NEWS: News for 1.20. * test.pl: Do not run XS tests for systems without a German locale. That should be more flexible, but in fact, most bugs in the XS version can only be worked around, not fixed. Therefore it is not that important. * x-changelog.sh: ChangeLog generation no longer done with cvs2cl. Until something decent pops up, I will use the gitlog2changelog script from http://github.com/cryos/avogadro/blob/master/scripts/gitlog2changelog.py. * MANIFEST, tests/03_tester_david_pp.t, tests/03_tester_david_xs.t: Try to get a little bit mroe information about the strange failure of the new context functions. * tests/03dcgettext_pp.t, tests/03dcgettext_xs.t: - Do not skip that many tests. - Use two argument form of Test::ok(). * tests/03bindtextdomain_pp.t, tests/03bindtextdomain_xs.t: Fixed number of tests. * tests/03bindtextdomain_pp.t, tests/03bindtextdomain_xs.t: Better structure for test results. * tests/03bind_textdomain_filter_pp.t, tests/03bind_textdomain_filter_xs.t: Use two argument form of Test::ok(). * tests/03bind_textdomain_codeset_pp.t, tests/03bind_textdomain_codeset_xs.t: - do not skip that many tests - use two argument form of Test::ok() * tests/03dgettext_xs.t: Copied from pure Perl version. * Fixed warning about undefined values in subroutine entry if locale de_AT is not installed on the system that runs the test. * Makefile.PL: $Config{libs} may include too many libraries (fixes compile problems on broken Debian systems). * META.yml, lib/Locale/Messages.pm, lib/Locale/TextDomain.pm: Version number increased to 1.20. 2009-06-19 Guido Flohr <guido@imperia.net> * META.yml: Version number 1.19. * gettext_xs/gettext_xs.pm: LC_MESSAGES is not defined by POSIX.pm. * MANIFEST, lib/Locale/TextDomain.pm, tests/04scalar_noop.t: Fixed RT bug #46471, noop functions in scalar context. * .gitignore, gettext_xs/.gitignore: Ignore files * lib/Locale/libintlFAQ.pod: Explanation for the __'Hello' problem. * lib/Locale/Messages.pm, lib/Locale/TextDomain.pm: Bumped version number to 1.19. * sample/simplecal/po/Makefile: Fixed extraction of context (thanks to Kevin Ryde). * lib/Locale/Messages.pm, lib/Locale/TextDomain.pm: Bumped version number to 1.18. * lib/Locale/TextDomain.pm: Make PAUSE happy and leave the version number here. * test.pl: Report version of Encode.pm (culprit in most failures). * lib/Locale/Recode/_Conversions.pm: Macintosh encoding in Encode.pm is seemingly unstable. * lib/Locale/TextDomain.pm: - Added N__p(). - Added N__np(). - Removed N__xpn(). * sample/simplecal/po/Makefile: Also include contextual strings. * lib/Locale/gettext_pp.pm: First release for new functions. * lib/Locale/TextDomain.pm: Added first release for new functions. * lib/Locale/Util.pm: Added alpha notice. * lib/Locale/TextDomain.pm: Context example. * lib/Locale/Messages.pm: More context examples. * lib/Locale/TextDomain.pm: Avoid n't. * lib/Locale/libintlFAQ.pod: Switch language for server applications. * lib/Locale/gettext_pp.pm: Made code parsing the plural formula more robust. * tests/po/additional.de.po: Fixed German translations. * Completed support for contextual gettext calls. * USERS: Updated with info for unrtst/Joshua Miller * TODO, lib/Locale/Messages.pm: select_package() is not a class method (reported by Sergei Vishenski). * gettext_xs/Makefile.PL: We need both libraries, not just one of them. * lib/Locale/TextDomain.pm: Corrected POD. * ChangeLog, MANIFEST.SKIP, META.yml, Makefile.PL, NEWS, gettext_xs/Makefile.PL, lib/Locale/Messages.pm, lib/Locale/TextDomain.pm, lib/Locale/Util.pm: Don't forget to actually set the cached locale. * lib/Locale/Util.pm: Filter out un-available languages. * lib/Locale/Util.pm: Fixed POD error. * lib/Locale/Util.pm: Restrict set of acceptable languages. * lib/Locale/Util.pm: Removed erroneous source. * lib/Locale/Util.pm: Updated default countries for languages. * lib/Locale/Util.pm: Fixed warnings about undefined values. * lib/Locale/Util.pm: Aliased loop variable was constant and read-online. * lib/Locale/Util.pm: Extended search for correct locale required by FreeBSD. * lib/Locale/Util.pm: Return information about actually selected locale in set_web_locale(). * sample/simplecal/po/Makefile, sample/simplecal/po/PACKAGE: Strip leading and trailing whitespace on TEXTDOMAIN variable. * Makefile.PL: Remove build_xs in target "clean". * lib/Locale/Util.pm: New function set_web_locale(). * Use Locale::Util::set_locale() for more portable locale setting. * lib/Locale/Util.pm: - avoid warnings - turned off debugging - clean-up * lib/Locale/Util.pm: docs * lib/Locale/Util.pm: - access to the locale cache - updated docs * lib/Locale/Util.pm: Support for MS-DOS * lib/Locale/Util.pm: half-implemented Windows version * lib/Locale/Util.pm: safe locale setting for Unix * tests/05parse_accept.t: new * sample/simplecal/po/PACKAGE: Hint to avoid trailing space * lib/Locale/TextDomain.pm: interpolate filename and linenumber * MANIFEST, lib/Locale/Messages.pm: avoid warning if textdomain is undef * lib/Locale/TextDomain.pm: Try to detect incorrect usage of the tied gettext hash. * lib/Locale/TextDomain.pm: always make a copy of the list of search directories * x-changelog.sh: cvs2cl now expected in $PATH. * tests/04find_domain_bug.t: Skip test if require Austrian locale is not available (thanks to Pascal Terjan for the hint). * sample/simplecal/po/Makefile: added simple hash * Makefile.PL: unlink "xs_disabled" with "make clean" (thanks to Peter Eisentraut)
Diffstat (limited to 'misc')
-rw-r--r--misc/p5-Locale-libintl/Makefile13
-rw-r--r--misc/p5-Locale-libintl/distinfo9
-rw-r--r--misc/p5-Locale-libintl/patches/patch-aa11
3 files changed, 23 insertions, 10 deletions
diff --git a/misc/p5-Locale-libintl/Makefile b/misc/p5-Locale-libintl/Makefile
index 3260082ae75..8134cce9e19 100644
--- a/misc/p5-Locale-libintl/Makefile
+++ b/misc/p5-Locale-libintl/Makefile
@@ -1,17 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 19:18:30 he Exp $
+# $NetBSD: Makefile,v 1.6 2009/07/08 09:38:22 sno Exp $
-P5_LIBINTL_VER= 1.16
+P5_LIBINTL_VER= 1.20
DISTNAME= libintl-perl-${P5_LIBINTL_VER}
PKGNAME= p5-Locale-libintl-${P5_LIBINTL_VER}
-PKGREVISION= 1
-CATEGORIES= misc perl5
-
-CATEGORIES= devel perl5
+CATEGORIES= misc devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Locale/}
MAINTAINER= peter.schuller@infidyne.com
HOMEPAGE= http://search.cpan.org/dist/libintl-perl/
COMMENT= Perl internationalization library
+LICENSE= gnu-lgpl-v2.1
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
@@ -23,8 +21,11 @@ CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/RecodeData.pm
CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/RecodeData/*.pm
CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/Messages.pm
CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/TextDomain.pm
+CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/Util.pm
CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/gettext_pp.pm
+CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/gettext_xs.pm
CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/gettext_xs.pod
+CHECK_INTERPRETER_SKIP+=${PERL5_SUB_INSTALLVENDORLIB}/Locale/libintlFAQ.pod
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../lang/perl5/module.mk"
diff --git a/misc/p5-Locale-libintl/distinfo b/misc/p5-Locale-libintl/distinfo
index 25021250053..5dadf109970 100644
--- a/misc/p5-Locale-libintl/distinfo
+++ b/misc/p5-Locale-libintl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/02/17 20:58:38 adrianp Exp $
+$NetBSD: distinfo,v 1.2 2009/07/08 09:38:22 sno Exp $
-SHA1 (libintl-perl-1.16.tar.gz) = 7a496e50ea3c6674202e556c1a7d9f1fc3357eb5
-RMD160 (libintl-perl-1.16.tar.gz) = b72df501fd6744cc78d762f0d7b274211c807d9c
-Size (libintl-perl-1.16.tar.gz) = 465597 bytes
+SHA1 (libintl-perl-1.20.tar.gz) = 883237efa86c617550f1b0bed1adea2885213ce5
+RMD160 (libintl-perl-1.20.tar.gz) = dc130355f284205aaa3049039de5de712b3f5f25
+Size (libintl-perl-1.20.tar.gz) = 499899 bytes
+SHA1 (patch-aa) = 70a269412af9c7ec07e0880fbac97a5fbd87555e
diff --git a/misc/p5-Locale-libintl/patches/patch-aa b/misc/p5-Locale-libintl/patches/patch-aa
new file mode 100644
index 00000000000..7e73b761e8b
--- /dev/null
+++ b/misc/p5-Locale-libintl/patches/patch-aa
@@ -0,0 +1,11 @@
+--- gettext_xs/Makefile.PL.orig 2009-07-08 08:55:07.000000000 +0000
++++ gettext_xs/Makefile.PL 2009-07-08 08:55:29.000000000 +0000
+@@ -38,7 +38,7 @@
+ ),
+ PREREQ_PM => { File::Spec => 0 },
+ PL_FILES => {},
+- LIBS => ['-lintl -liconv'],
++ LIBS => [$ENV{LDFLAGS} . ' -lintl -liconv'],
+ );
+
+ __END__