r66697 - in /trunk/liblocale-maketext-lexicon-perl: AUTHORS Changes MANIFEST Makefile.PL debian/changelog lib/Locale/Maketext/Extract.pm lib/Locale/Maketext/Lexicon.pm lib/Locale/Maketext/Lexicon/Msgcat.pm t/61-badcharset.t t/badcharset.po

ansgar at users.alioth.debian.org ansgar at users.alioth.debian.org
Fri Dec 31 11:17:12 UTC 2010


Author: ansgar
Date: Fri Dec 31 11:16:54 2010
New Revision: 66697

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66697
Log:
NEEDS: Locale::Maketext 1.17.  perl 5.10.1 only has 1.13.
* New upstream release.

Added:
    trunk/liblocale-maketext-lexicon-perl/t/61-badcharset.t
      - copied unchanged from r66696, branches/upstream/liblocale-maketext-lexicon-perl/current/t/61-badcharset.t
    trunk/liblocale-maketext-lexicon-perl/t/badcharset.po
      - copied unchanged from r66696, branches/upstream/liblocale-maketext-lexicon-perl/current/t/badcharset.po
Modified:
    trunk/liblocale-maketext-lexicon-perl/AUTHORS
    trunk/liblocale-maketext-lexicon-perl/Changes
    trunk/liblocale-maketext-lexicon-perl/MANIFEST
    trunk/liblocale-maketext-lexicon-perl/Makefile.PL
    trunk/liblocale-maketext-lexicon-perl/debian/changelog
    trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Extract.pm
    trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon.pm
    trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon/Msgcat.pm

Modified: trunk/liblocale-maketext-lexicon-perl/AUTHORS
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/AUTHORS?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/AUTHORS (original)
+++ trunk/liblocale-maketext-lexicon-perl/AUTHORS Fri Dec 31 11:16:54 2010
@@ -18,6 +18,7 @@
 Harmen
 Helmut Lichtenberg
 Hsin-Chan Chien         (HCCHIEN)
+Ivan Bessarabov         (BESSARABV)
 Jesse Vincent           (JESSE)
 Jiing Deng
 Joe McCarty
@@ -34,6 +35,7 @@
 Stephen Quinney         (SJQUINNEY)
 Tatsuhiko Miyagawa      (MIYAGAWA)
 Thierry Vignaud
+Ton Voon                (TONVOON)
 Wei-Hon Chen
 Yann Kerherve           (YANNK)
 Yi Ma Mao               (IMACAT)

Modified: trunk/liblocale-maketext-lexicon-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/Changes?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/Changes (original)
+++ trunk/liblocale-maketext-lexicon-perl/Changes Fri Dec 31 11:16:54 2010
@@ -1,3 +1,19 @@
+[Changes for 0.84 - 2010-12-24]
+* Changed the minimum version of Locale::Maketext to 1.17, to avoid error
+  reports from recent Perl versions, which still have an old Locale::Maketext
+
+* Locale::Maketext::Extract
+    - added a fix from Ivan Bessarov to avoid uninit warnings when msgids
+      contain trailing spaces
+
+[Changes for 0.83 - 2010-12-09]
+* Locale::Maketext::Lexicon
+    - remove the local $@ when loading PO files - made it difficult
+      to debug errors when loading PO's
+
+      Thanks to Ton Voon for the patch
+      https://rt.cpan.org/Ticket/Display.html?id=63722
+
 [Changes for 0.82 - 2010-04-12]
 * Locale::Maketext::Extract::Plugin::Base
 * Locale::Maketext::Extract::Plugin::TT2

Modified: trunk/liblocale-maketext-lexicon-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/MANIFEST?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/MANIFEST (original)
+++ trunk/liblocale-maketext-lexicon-perl/MANIFEST Fri Dec 31 11:16:54 2010
@@ -49,10 +49,12 @@
 t/51-perlextract.t
 t/55-runextract.t
 t/6-gettext.t
+t/61-badcharset.t
 t/7-roundtrip.t
 t/8-plugin-args.t
 t/9-bug-import-for-subclasses.t
 t/91-pod_test.t
+t/badcharset.po
 t/comments.po
 t/gencat.m
 t/lib/Myi18n.pm

Modified: trunk/liblocale-maketext-lexicon-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/Makefile.PL?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/Makefile.PL (original)
+++ trunk/liblocale-maketext-lexicon-perl/Makefile.PL Fri Dec 31 11:16:54 2010
@@ -10,7 +10,7 @@
 perl_version '5.005';
 all_from 'lib/Locale/Maketext/Lexicon.pm';
 install_script 'script/xgettext.pl';
-requires 'Locale::Maketext'       => '0.01';
+requires 'Locale::Maketext'       => '1.17';
 recommends 'Template'             => '2.20';
 recommends 'Template::Constants'  => '2.75';
 recommends 'YAML'                 => '0.66';

Modified: trunk/liblocale-maketext-lexicon-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/debian/changelog?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/debian/changelog (original)
+++ trunk/liblocale-maketext-lexicon-perl/debian/changelog Fri Dec 31 11:16:54 2010
@@ -1,8 +1,11 @@
-liblocale-maketext-lexicon-perl (0.82-2) UNRELEASED; urgency=low
-
+liblocale-maketext-lexicon-perl (0.84-1) UNRELEASED; urgency=low
+
+  NEEDS: Locale::Maketext 1.17.  perl 5.10.1 only has 1.13.
+
+  * New upstream release.
   * Update my email address.
 
- -- Ansgar Burchardt <ansgar at debian.org>  Mon, 01 Nov 2010 11:16:54 +0100
+ -- Ansgar Burchardt <ansgar at debian.org>  Fri, 31 Dec 2010 12:13:24 +0100
 
 liblocale-maketext-lexicon-perl (0.82-1) unstable; urgency=low
 

Modified: trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Extract.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Extract.pm?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Extract.pm (original)
+++ trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Extract.pm Fri Dec 31 11:16:54 2010
@@ -1,5 +1,5 @@
 package Locale::Maketext::Extract;
-$Locale::Maketext::Extract::VERSION = '0.37';
+$Locale::Maketext::Extract::VERSION = '0.38';
 
 use strict;
 use Locale::Maketext::Lexicon();
@@ -590,7 +590,10 @@
 =cut
 
 sub msgids    { sort keys %{ $_[0]{lexicon} } }
-sub has_msgid { length $_[0]->msgstr( $_[1] ) }
+sub has_msgid {
+    my $msg_str = $_[0]->msgstr( $_[1] );
+    return defined $msg_str ? length $msg_str : 0;
+}
 
 sub msg_positions {
     my ( $self, $msgid ) = @_;

Modified: trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon.pm?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon.pm (original)
+++ trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon.pm Fri Dec 31 11:16:54 2010
@@ -1,5 +1,5 @@
 package Locale::Maketext::Lexicon;
-$Locale::Maketext::Lexicon::VERSION = '0.82';
+$Locale::Maketext::Lexicon::VERSION = '0.84';
 
 use 5.004;
 use strict;
@@ -304,7 +304,6 @@
                 next;
             }
 
-            local $@;
             my @content
                 = eval { $class->lexicon_get( $src, scalar caller(1), $lang ); };
             next if $@ and $@ =~ /^next\b/;

Modified: trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon/Msgcat.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon/Msgcat.pm?rev=66697&op=diff
==============================================================================
--- trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon/Msgcat.pm (original)
+++ trunk/liblocale-maketext-lexicon-perl/lib/Locale/Maketext/Lexicon/Msgcat.pm Fri Dec 31 11:16:54 2010
@@ -44,6 +44,7 @@
     # Set up the msgcat handler
     {
         no strict 'refs';
+        no warnings 'once';
         *{Locale::Maketext::msgcat} = \&_msgcat;
     }
 




More information about the Pkg-perl-cvs-commits mailing list