On Wed, Aug 01, 2007 at 11:28:57AM +0400, Vlad Glagolev wrote:
> (resent to maintainer)
>
>From my perl update session here's nearly the same diff except it adjust
the license comment too. Tested on amd64 and i386 including all
dependencies without any regressions.
Regards,
Simon
P.S.: Two huge packs of updates will be sent to their maintainers soon...
P.P.S.: ChangeLog:
[Changes for 0.64 - 2007-05-28]
* Locale::Maketext::Extract: Extraction wasn't able to deal with escaped
quotes within single- and double-quoted strings. (Bump version to
0.22.)
[Changes for 0.63 - 2007-02-07]
* Locale::Maketext::Lexicon used to generated mysteriouse error "next
at ..."
instead of skipping the locale, when the requested .po file does not
exist.
[Changes for 0.62 - 2006-06-15]
* For the longest time, direct import of Locale::Maketext::Lexicon
from within localization classes (such as MyApp::I18N::zh_tw) was
untested and broken. It now works the way described in the SYNOPSIS
section of the Locale::Maketext::Lexicon documentation.
[Changes for 0.61 - 2006-04-27]
* LICENSING CHANGE: This compilation and all individual files in it
are now under the permissive "MIT" license. See the COPYRIGHT
section in README for the new terms.
* Repair Perl 5.005 compatibility in the build system.
[Changes for 0.60 - 2006-04-13]
* Locale::Maketext::Extract: Bump version to 0.20.
No functionality changes to Locale::Maketext::Lexicon; all changes
in this release are to Locale::Maketext::Extract.
* The ->compile call now moves ->entries into ->compiled_entries,
instead of mutating them in-place. This allows repeated cycles
of ->extract/->compile calls before the final ->write_po.
* Consequently, in the ->read_po/->write_po API, the "$verbatim" flag
is now ignored.
* ->read_po no longer fails on empty PO files.
* The return values of ->msgids/->msgstr are now always in gettext
style and never in maketext style.
* In xgettext.pl, the -u flag (specifies the style of the source
programs as gettext instead of the default maketext) now has nothing
to do with output escaping. This closes another long-standing
bug of "vanishing backslashes" when the same .po file is written
once with -u and once without.
* The --unescaped flag to "xgettext.pl" is deprecated and renamed
to the more appropriate "--use-gettext-style".
* Locale::Maketext::Extract::Run now accepts single-letter directory
names instead of erroneously stripping them out.
[Changes for 0.58 - 2006-04-13]
* Locale::Maketext::Extract: Direct calls to ->write_po now
escapes the msg strings by default (reverting to <=0.54
behaviour), but calls via xgettext.pl (and ::Extract::Run)
now always specify the "verbatim" flag to ->write_po, so
users of extraction tools are still free from double escaping.
* Locale::Maketext::Extract: Allow the "# loc" marker at the
end of a statement:
say "foo"; # loc
previously it only worked on closing brackets and commas.
* Locale::Maketext::Lexicon: The "gettext" style no longer parses
"%0" as a variable. Also allows spaces between function arguments:
%quant(%1, %2)
[Changes for 0.57 - 2006-04-11]
* Locale::Maketext::Locale: The "_style => 'gettext'" option was
broken for function forms such as "%quant(%1)", as well as
adjacent variables such as "%1%2%3".
[Changes for 0.56 - 2006-04-02]
* Locale::Maketext::Lexicon: Specifying the new "_auto => 1" option
now turns on _AUTO fallback handling for all language handles.
* Locale::Maketext::Lexicon: Specifying the new "_style => 'gettext'"
option makes "%1" and "%quant(%1)" to be used for interpolation,
instead of "[_1]" and "[quant,_1]".
[Changes for 0.55 - 2006-03-22]
* Locale::Maketext::Extract: Fix a long-standing bug that caused
double-escaping of backslashes and double quotes in loc strings.
[Changes for 0.54 - 2006-03-14]
* When importing into an already defined lexicon and merging with its
entries, we need to clear the Locale::Maketext cache, otherwise
_AUTO entries generated by the old lexicon will linger around.
[Changes for 0.53 - 2005-12-05]
* Make xgettext.pl work with poEdit by not trying to read from empty
.po files. Patch from Brian Cassidy.
[Changes for 0.52 - 2005-12-04]
* Christian Hansen pointed out 0.51's fix was bass ackwards.
[Changes for 0.51 - 2005-12-03]
* Locale::Maketext::Extract::Run's use of File::Find::find with
(follow => 1) may break on systems without symbolic links.
[Changes for 0.50 - 2005-11-04]
* Per suggestion from Sava Chankov, add the (quite outdated) webl10n
articles to docs/ directory.
* Added "localize" and "localise" to the list of recognized L10N
functions in Locale::Maketext::Extract.
* Skip .svn directories in Locale::Maketext::Extract::Run.
[Changes for 0.49 - 2005-04-13]
* Stephen Quinney notes that we are too eager to die on nonexisting
files passed in as part of a lexicon_get_() source. We now silently
ignore nonexistant files, only reporting error when it exists but
cannot be read or parsed.
[Changes for 0.48 - 2005-03-12]
* In Gettext.pm, do not silently skip last entry of a catalog.
* In Extract.pm, do not silently skip first entry of a catalog
if there's only one empty line tween header and first real message.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Locale-Maketext-Lexicon/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile 25 Nov 2006 16:32:36 -0000 1.5
+++ Makefile 24 Jul 2007 08:37:30 -0000
@@ -1,19 +1,17 @@
# $OpenBSD: Makefile,v 1.5 2006/11/25 16:32:36 espie Exp $
-COMMENT= "use other catalog formats in Locale::Maketext"
+COMMENT= use other catalog formats in Locale::Maketext
MODULES= cpan
-DISTNAME= Locale-Maketext-Lexicon-0.47
+DISTNAME= Locale-Maketext-Lexicon-0.64
CATEGORIES= devel
MAINTAINER= Mathieu Sauve-Frankel <[EMAIL PROTECTED]>
-# GPL
+# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-
-HOMEPAGE= http://search.cpan.org/dist/Locale-Maketext-Lexicon/
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Locale-Maketext-Lexicon/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 5 Apr 2007 15:38:01 -0000 1.5
+++ distinfo 24 Jul 2007 08:37:30 -0000
@@ -1,5 +1,5 @@
-MD5 (Locale-Maketext-Lexicon-0.47.tar.gz) = FnVjAQ9vRnr8Yf5U5ackSg==
-RMD160 (Locale-Maketext-Lexicon-0.47.tar.gz) = ONqCWPlIqGVehcTZvv4jYefnKRc=
-SHA1 (Locale-Maketext-Lexicon-0.47.tar.gz) = YG1/v/OBg/p0pLZ91NYw/ujEzpE=
-SHA256 (Locale-Maketext-Lexicon-0.47.tar.gz) =
kMqXPVlw4epHlHjUsphXzjJdZ7PCNiOcxWzkEeICYCU=
-SIZE (Locale-Maketext-Lexicon-0.47.tar.gz) = 31820
+MD5 (Locale-Maketext-Lexicon-0.64.tar.gz) = zg/G379B/Epy0UMelVGmNA==
+RMD160 (Locale-Maketext-Lexicon-0.64.tar.gz) = u9DpxaHME+otUFA3knwZRBgSK5w=
+SHA1 (Locale-Maketext-Lexicon-0.64.tar.gz) = LnpxKNkzJJGU7rjg2ntXuAt/RnI=
+SHA256 (Locale-Maketext-Lexicon-0.64.tar.gz) =
AZt7yi90TLt7pY4/6T9niYsesn8b1epfqQIIKiqlr3U=
+SIZE (Locale-Maketext-Lexicon-0.64.tar.gz) = 84998
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-Locale-Maketext-Lexicon/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 8 Dec 2004 18:36:18 -0000 1.1.1.1
+++ pkg/PLIST 24 Jul 2007 08:37:30 -0000
@@ -13,6 +13,7 @@ ${P5SITE}/Locale/Maketext/Lexicon/Msgcat
${P5SITE}/Locale/Maketext/Lexicon/Tie.pm
@man man/man1/xgettext.pl.1
@man man/man3p/Locale::Maketext::Extract.3p
[EMAIL PROTECTED] man/man3p/Locale::Maketext::Extract::Run.3p
@man man/man3p/Locale::Maketext::Lexicon.3p
@man man/man3p/Locale::Maketext::Lexicon::Auto.3p
@man man/man3p/Locale::Maketext::Lexicon::Gettext.3p