From f942e430282df24072db5637fec262e2f1fb9772 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 15 Sep 2013 09:59:08 +0000 Subject: [PATCH] Update ruby-gettext to 3.0.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 3.0.0: 2013-08-31 This is a new major version up release! This release removes many deprecated APIs and improves internal APIs. We want to keep backward compatibility as much as possible but some existing codes may be broken by gettext gem API change. If your code breaks by gettext gem 3.0.0, please report your problem. We will fix the problem and release a new version. ### Improvements * Removed deprecated APIs * `require "gettext/parser/erb"`. Use `require "gettext/tools/parser/erb"` instead. * `require "gettext/parser/glade"`. Use `require "gettext/tools/parser/glade"` instead. * `require "gettext/parser/ruby"`. Use `require "gettext/tools/parser/ruby"` instead. * `require "gettext/utils"`. Use `require "gettext/tools"` instead. * `GetText.msgmerge`. Use `GetText::Tools::MsgMerge.run` instead. * `GetText.create_mofiles`. Use `GetText::Tools::Task` instead. * `GetText::PoParser`. Use `GetText::POParser` instead. * `require "gettext/tools/poparser"`. Use `require "gettext/po_parser"` instead. * `require "gettext/runtime/mofile"`. Use `require "gettext/mo"` instead. * `GetText::MoFile`. Use `GetText::MO` instead. * `GetText::Task`. Use `GetText::Tools::Task` instead. * `GetText.set_locale_all`. Use `GetText.set_locale` instead. * `GetText.setlocale`. Use `GetText.set_locale` instead. * `GetText::Tools::MsgMerge::PoData`. Use `GetText::POEntry` instead. * Removed Ruby 1.8 support. * Supported Rake 10.1.0. * Stopped to remove `TRANSLATORS:` tag because GNU gettext doesn't remove it. * Stopped to use `TRANSLATORS:` as comment tag. It is GNU gettext compatible behavior. * rxgettext: Added `--add-comments[=TAG]` option that exists in xgettext. [GitHub #16] [Reported by Ladislav Slezák] * Supported escaping tab character as `\t`. ### Fixes * po: Added a missing new line for multiple extracted comments. [GitHub #17] [Patch by Ladislav Slezák] * Fixed a bug that encoding may not be set. * Fixed a bug that `\n` is escaped as `\\n`. [GitHub #18] [Debian #716916] [Reported by Ladislav Slezák] [Reported by Francesco Poli] ### Thanks * Ladislav Slezák * Francesco Poli ## 2.3.9: 2013-04-21 This is a msgmerge updated release. ### Improvements * [tools] Used the more modern word "cannot" instead of "can not". [GitHub #15] [Patch by Benjamin Kerensa] * Cleared license descriptions. [Suggested by Jérémy Bobbio] ### Fixes * Avoided including native extentions in this gem for Windows users. ### Thanks * Benjamin Kerensa * Jérémy Bobbio --- devel/ruby-gettext/Makefile | 4 +- devel/ruby-gettext/PLIST | 79 +++++++++++++++++++++++++------------ devel/ruby-gettext/distinfo | 8 ++-- 3 files changed, 59 insertions(+), 32 deletions(-) diff --git a/devel/ruby-gettext/Makefile b/devel/ruby-gettext/Makefile index 8c5da3b88f62e..442f9bb57d160 100644 --- a/devel/ruby-gettext/Makefile +++ b/devel/ruby-gettext/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.20 2013/04/21 12:56:02 obache Exp $ +# $NetBSD: Makefile,v 1.21 2013/09/15 09:59:08 taca Exp $ -DISTNAME= gettext-2.3.9 +DISTNAME= gettext-3.0.0 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/ruby-gettext/PLIST b/devel/ruby-gettext/PLIST index 5ef1c87024024..04f12b71f6d14 100644 --- a/devel/ruby-gettext/PLIST +++ b/devel/ruby-gettext/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2013/04/21 12:56:02 obache Exp $ +@comment $NetBSD: PLIST,v 1.16 2013/09/15 09:59:08 taca Exp $ bin/rmsgfmt bin/rmsginit bin/rmsgmerge @@ -18,19 +18,15 @@ ${GEM_LIBDIR}/doc/text/ruby-license.txt ${GEM_LIBDIR}/gettext.gemspec ${GEM_LIBDIR}/lib/gettext.rb ${GEM_LIBDIR}/lib/gettext/cgi.rb -${GEM_LIBDIR}/lib/gettext/core_ext/iconv.rb -${GEM_LIBDIR}/lib/gettext/core_ext/string.rb -${GEM_LIBDIR}/lib/gettext/parser/erb.rb -${GEM_LIBDIR}/lib/gettext/parser/glade.rb -${GEM_LIBDIR}/lib/gettext/parser/ruby.rb -${GEM_LIBDIR}/lib/gettext/runtime/class_info.rb -${GEM_LIBDIR}/lib/gettext/runtime/locale_path.rb -${GEM_LIBDIR}/lib/gettext/runtime/mo.rb -${GEM_LIBDIR}/lib/gettext/runtime/mofile.rb -${GEM_LIBDIR}/lib/gettext/runtime/textdomain.rb -${GEM_LIBDIR}/lib/gettext/runtime/textdomain_group.rb -${GEM_LIBDIR}/lib/gettext/runtime/textdomain_manager.rb -${GEM_LIBDIR}/lib/gettext/task.rb +${GEM_LIBDIR}/lib/gettext/class_info.rb +${GEM_LIBDIR}/lib/gettext/locale_path.rb +${GEM_LIBDIR}/lib/gettext/mo.rb +${GEM_LIBDIR}/lib/gettext/po.rb +${GEM_LIBDIR}/lib/gettext/po_entry.rb +${GEM_LIBDIR}/lib/gettext/po_parser.rb +${GEM_LIBDIR}/lib/gettext/text_domain.rb +${GEM_LIBDIR}/lib/gettext/text_domain_group.rb +${GEM_LIBDIR}/lib/gettext/text_domain_manager.rb ${GEM_LIBDIR}/lib/gettext/tools.rb ${GEM_LIBDIR}/lib/gettext/tools/msgfmt.rb ${GEM_LIBDIR}/lib/gettext/tools/msginit.rb @@ -38,12 +34,35 @@ ${GEM_LIBDIR}/lib/gettext/tools/msgmerge.rb ${GEM_LIBDIR}/lib/gettext/tools/parser/erb.rb ${GEM_LIBDIR}/lib/gettext/tools/parser/glade.rb ${GEM_LIBDIR}/lib/gettext/tools/parser/ruby.rb -${GEM_LIBDIR}/lib/gettext/tools/po.rb -${GEM_LIBDIR}/lib/gettext/tools/po_entry.rb -${GEM_LIBDIR}/lib/gettext/tools/poparser.rb +${GEM_LIBDIR}/lib/gettext/tools/task.rb ${GEM_LIBDIR}/lib/gettext/tools/xgettext.rb -${GEM_LIBDIR}/lib/gettext/utils.rb ${GEM_LIBDIR}/lib/gettext/version.rb +${GEM_LIBDIR}/locale/bg/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/bs/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/ca/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/cs/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/de/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/el/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/eo/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/es/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/et/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/fr/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/hr/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/hu/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/it/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/ja/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/ko/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/lv/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/nb/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/nl/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/pt_BR/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/ru/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/sr/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/sv/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/uk/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/vi/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/zh/LC_MESSAGES/gettext.mo +${GEM_LIBDIR}/locale/zh_TW/LC_MESSAGES/gettext.mo ${GEM_LIBDIR}/po/bg/gettext.po ${GEM_LIBDIR}/po/bs/gettext.po ${GEM_LIBDIR}/po/ca/gettext.po @@ -188,6 +207,8 @@ ${GEM_LIBDIR}/samples/hello2.rb ${GEM_LIBDIR}/samples/hello_glade2.glade ${GEM_LIBDIR}/samples/hello_glade2.rb ${GEM_LIBDIR}/samples/hello_gtk2.rb +${GEM_LIBDIR}/samples/hello_gtk_builder.rb +${GEM_LIBDIR}/samples/hello_gtk_builder.ui ${GEM_LIBDIR}/samples/hello_noop.rb ${GEM_LIBDIR}/samples/hello_plural.rb ${GEM_LIBDIR}/samples/hello_tk.rb @@ -366,16 +387,24 @@ ${GEM_LIBDIR}/samples/po/zh_TW/hello_gtk2.po ${GEM_LIBDIR}/samples/po/zh_TW/hello_noop.po ${GEM_LIBDIR}/samples/po/zh_TW/hello_plural.po ${GEM_LIBDIR}/samples/po/zh_TW/hello_tk.po -${GEM_LIBDIR}/src/poparser.ry +${GEM_LIBDIR}/src/po_parser.ry ${GEM_LIBDIR}/test/fixtures/N_.rb ${GEM_LIBDIR}/test/fixtures/_.rb +${GEM_LIBDIR}/test/fixtures/_/double_quote_in_double_quote.rb +${GEM_LIBDIR}/test/fixtures/_/double_quote_in_single_quote.rb +${GEM_LIBDIR}/test/fixtures/_/literal_concatenation_with_continuation_line.rb +${GEM_LIBDIR}/test/fixtures/_/middle_new_line.rb +${GEM_LIBDIR}/test/fixtures/_/multiple_lines_literal.rb +${GEM_LIBDIR}/test/fixtures/_/multiple_messages_in_same_line.rb +${GEM_LIBDIR}/test/fixtures/_/multiple_same_messages.rb ${GEM_LIBDIR}/test/fixtures/_/one_line.rb +${GEM_LIBDIR}/test/fixtures/_/one_new_line.rb ${GEM_LIBDIR}/test/fixtures/backslash.rb ${GEM_LIBDIR}/test/fixtures/erb/ascii.rhtml ${GEM_LIBDIR}/test/fixtures/erb/ascii.rxml ${GEM_LIBDIR}/test/fixtures/erb/non_ascii.rhtml ${GEM_LIBDIR}/test/fixtures/gladeparser.glade -${GEM_LIBDIR}/test/fixtures/multi_textdomain.rb +${GEM_LIBDIR}/test/fixtures/multi_text_domain.rb ${GEM_LIBDIR}/test/fixtures/n_.rb ${GEM_LIBDIR}/test/fixtures/non_ascii.rb ${GEM_LIBDIR}/test/fixtures/np_.rb @@ -387,7 +416,6 @@ ${GEM_LIBDIR}/test/fixtures/s_/custom.rb ${GEM_LIBDIR}/test/fixtures/simple.rb ${GEM_LIBDIR}/test/fixtures/untranslated.rb ${GEM_LIBDIR}/test/gettext-test-utils.rb -${GEM_LIBDIR}/test/parser/test_ruby.rb ${GEM_LIBDIR}/test/po/cr/plural.po ${GEM_LIBDIR}/test/po/da/plural.po ${GEM_LIBDIR}/test/po/da/plural_error.po @@ -423,12 +451,11 @@ ${GEM_LIBDIR}/test/test_locale_path.rb ${GEM_LIBDIR}/test/test_mo.rb ${GEM_LIBDIR}/test/test_parser.rb ${GEM_LIBDIR}/test/test_po_entry.rb -${GEM_LIBDIR}/test/test_po_generation.rb ${GEM_LIBDIR}/test/test_po_parser.rb ${GEM_LIBDIR}/test/test_string.rb -${GEM_LIBDIR}/test/test_textdomain_bind.rb -${GEM_LIBDIR}/test/test_textdomain_multi.rb -${GEM_LIBDIR}/test/test_textdomain_toplevel.rb +${GEM_LIBDIR}/test/test_text_domain_bind.rb +${GEM_LIBDIR}/test/test_text_domain_multi.rb +${GEM_LIBDIR}/test/test_text_domain_toplevel.rb ${GEM_LIBDIR}/test/test_thread.rb ${GEM_LIBDIR}/test/tools/files/app.pot ${GEM_LIBDIR}/test/tools/files/de/app.po @@ -438,10 +465,10 @@ ${GEM_LIBDIR}/test/tools/files/simple_1.po ${GEM_LIBDIR}/test/tools/files/simple_2.po ${GEM_LIBDIR}/test/tools/files/simple_translation.rb ${GEM_LIBDIR}/test/tools/files/version.po +${GEM_LIBDIR}/test/tools/parser/test_ruby.rb ${GEM_LIBDIR}/test/tools/test.pot ${GEM_LIBDIR}/test/tools/test_msginit.rb ${GEM_LIBDIR}/test/tools/test_msgmerge.rb ${GEM_LIBDIR}/test/tools/test_po.rb -${GEM_LIBDIR}/test/tools/test_tools.rb ${GEM_LIBDIR}/test/tools/test_xgettext.rb ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-gettext/distinfo b/devel/ruby-gettext/distinfo index c4d5b0a491d84..87e2790d2e706 100644 --- a/devel/ruby-gettext/distinfo +++ b/devel/ruby-gettext/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2013/04/21 12:56:02 obache Exp $ +$NetBSD: distinfo,v 1.16 2013/09/15 09:59:08 taca Exp $ -SHA1 (gettext-2.3.9.gem) = b30db6ef766234275aff24d714158fe6608fd2b7 -RMD160 (gettext-2.3.9.gem) = cd4198a7c11de78eb0b03d86454169eea600be4b -Size (gettext-2.3.9.gem) = 161280 bytes +SHA1 (gettext-3.0.0.gem) = 5a0799e6252a292d7caa5d2b13fa61be438e4eef +RMD160 (gettext-3.0.0.gem) = fd469a5a8f2543b88693a416023c5dbb07535855 +Size (gettext-3.0.0.gem) = 174080 bytes