[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927035: marked as done (unblock: mozc/2.23.2815.102+dfsg-4)



Your message dated Sun, 14 Apr 2019 06:11:00 +0000
with message-id <3b5b395c-29be-b3cc-aa3f-3186cb3e40e3@thykier.net>
and subject line Re: Bug#927035: unblock: mozc/2.23.2815.102+dfsg-4
has caused the Debian Bug report #927035,
regarding unblock: mozc/2.23.2815.102+dfsg-4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
927035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927035
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package mozc to fix the important bug #927030.
See also the attached debdiff.

changelog:

mozc (2.23.2815.102+dfsg-4) unstable; urgency=medium

  * Add d/patches/add_support_new_japanese_era.patch.
    This adds Japan's new era 令和 (Reiwa) support. (Closes: #927030)

 -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sun, 14 Apr 2019 06:25:53 +0900

unblock mozc/2.23.2815.102+dfsg-4

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, riscv64, armhf

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.utf8, LC_CTYPE=ja_JP.utf8 (charmap=UTF-8), LANGUAGE=ja_JP.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru mozc-2.23.2815.102+dfsg/debian/changelog mozc-2.23.2815.102+dfsg/debian/changelog
--- mozc-2.23.2815.102+dfsg/debian/changelog	2018-12-01 07:40:07.000000000 +0900
+++ mozc-2.23.2815.102+dfsg/debian/changelog	2019-04-14 06:25:53.000000000 +0900
@@ -1,3 +1,10 @@
+mozc (2.23.2815.102+dfsg-4) unstable; urgency=medium
+
+  * Add d/patches/add_support_new_japanese_era.patch.
+    This adds Japan's new era 令和 (Reiwa) support. (Closes: #927030)
+
+ -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sun, 14 Apr 2019 06:25:53 +0900
+
 mozc (2.23.2815.102+dfsg-3) unstable; urgency=medium
 
   * Update .desktop file.
diff -Nru mozc-2.23.2815.102+dfsg/debian/patches/add_support_new_japanese_era.patch mozc-2.23.2815.102+dfsg/debian/patches/add_support_new_japanese_era.patch
--- mozc-2.23.2815.102+dfsg/debian/patches/add_support_new_japanese_era.patch	1970-01-01 09:00:00.000000000 +0900
+++ mozc-2.23.2815.102+dfsg/debian/patches/add_support_new_japanese_era.patch	2019-04-14 06:25:53.000000000 +0900
@@ -0,0 +1,83 @@
+Description: Add support new Japanese era
+Bug-Ubuntu: https://bugs.launchpad.net/mozc/+bug/1823444
+Author: Mitsuya Shibata <mty.shibata@gmail.com>
+
+Index: mozc-2.23.2815.102+dfsg/src/data/dictionary_oss/dictionary08.txt
+===================================================================
+--- mozc-2.23.2815.102+dfsg.orig/src/data/dictionary_oss/dictionary08.txt
++++ mozc-2.23.2815.102+dfsg/src/data/dictionary_oss/dictionary08.txt
+@@ -8591,6 +8591,8 @@
+ れいれいと	12	12	7349	れいれいと
+ れいろう	1847	1847	7276	玲瓏
+ れいわ	1847	1847	8251	例話
++れいわ	1895	1895	1690	令和
++れいわ	1898	1898	4000	令和
+ れいんこーと	1847	1847	5568	レインコート
+ れいんじゃー	1847	1847	7459	レインジャー
+ れいんず	1917	1917	3548	レインズ
+Index: mozc-2.23.2815.102+dfsg/src/data/symbol/symbol.tsv
+===================================================================
+--- mozc-2.23.2815.102+dfsg.orig/src/data/symbol/symbol.tsv
++++ mozc-2.23.2815.102+dfsg/src/data/symbol/symbol.tsv
+@@ -528,6 +528,7 @@ POS	CHAR	Reading (space separated)	descr
+ 記号	㊦	した げ	丸下
+ 記号	㊧	ひだり	丸左
+ 記号	㊨	みぎ	丸右
++記号	㋿	れいわ ねんごう	年号	OTHER
+ 記号	㍻	へいせい ねんごう	年号		OTHER
+ 記号	㍼	しょうわ  ねんごう	年号		OTHER
+ 記号	㍽	たいしょう  ねんごう	年号		OTHER
+Index: mozc-2.23.2815.102+dfsg/src/data/unicode/UnicodeData.txt
+===================================================================
+--- mozc-2.23.2815.102+dfsg.orig/src/data/unicode/UnicodeData.txt
++++ mozc-2.23.2815.102+dfsg/src/data/unicode/UnicodeData.txt
+@@ -11314,6 +11314,7 @@
+ 32FC;CIRCLED KATAKANA WI;So;0;L;<circle> 30F0;;;;N;;;;;
+ 32FD;CIRCLED KATAKANA WE;So;0;L;<circle> 30F1;;;;N;;;;;
+ 32FE;CIRCLED KATAKANA WO;So;0;L;<circle> 30F2;;;;N;;;;;
++32FF;SQUARE ERA NAME REIWA;So;0;L;<square> 4EE4 548C;;;;N;SQUARED TWO IDEOGRAPHS ERA NAME REIWA;;;;
+ 3300;SQUARE APAATO;So;0;L;<square> 30A2 30D1 30FC 30C8;;;;N;SQUARED APAATO;;;;
+ 3301;SQUARE ARUHUA;So;0;L;<square> 30A2 30EB 30D5 30A1;;;;N;SQUARED ARUHUA;;;;
+ 3302;SQUARE ANPEA;So;0;L;<square> 30A2 30F3 30DA 30A2;;;;N;SQUARED ANPEA;;;;
+Index: mozc-2.23.2815.102+dfsg/src/rewriter/date_rewriter.cc
+===================================================================
+--- mozc-2.23.2815.102+dfsg.orig/src/rewriter/date_rewriter.cc
++++ mozc-2.23.2815.102+dfsg/src/rewriter/date_rewriter.cc
+@@ -1239,6 +1239,10 @@ const YearData kEraData[] = {
+     1989,
+     "平成",
+     "へいせい",
++  }, {
++    2019,
++    "令和",
++    "れいわ",
+   }
+ };
+ 
+Index: mozc-2.23.2815.102+dfsg/src/rewriter/date_rewriter_test.cc
+===================================================================
+--- mozc-2.23.2815.102+dfsg.orig/src/rewriter/date_rewriter_test.cc
++++ mozc-2.23.2815.102+dfsg/src/rewriter/date_rewriter_test.cc
+@@ -469,6 +469,22 @@ TEST_F(DateRewriterTest, ADToERA) {
+                  "平成10",
+                  "平成十");
+ 
++  // AD.2019 is "平成31(年)" or "平成三十一(年)" or "令和元(年)"
++  results.clear();
++  rewriter.AdToEra(2019, &results);
++  Expect3Results(results,
++                 "平成31",
++                 "平成三十一",
++                 "令和元");
++
++  // AD.2020 is "令和2(年)" or "令和二(年)"
++  results.clear();
++  rewriter.AdToEra(2020, &results);
++  EXPECT_EQ(results.size(), 2);
++  Expect2Results(results,
++            "令和2",
++            "令和二");
++
+   // Negative Test
+   // Too big number or negative number input are expected false return
+   results.clear();
diff -Nru mozc-2.23.2815.102+dfsg/debian/patches/series mozc-2.23.2815.102+dfsg/debian/patches/series
--- mozc-2.23.2815.102+dfsg/debian/patches/series	2018-12-01 07:40:07.000000000 +0900
+++ mozc-2.23.2815.102+dfsg/debian/patches/series	2019-04-14 06:25:53.000000000 +0900
@@ -4,3 +4,4 @@
 gcc.patch
 Fix-build-with-gcc8.patch
 usage_dict.txt.patch
+add_support_new_japanese_era.patch

--- End Message ---
--- Begin Message ---
Nobuhiro Iwamatsu:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Please unblock package mozc to fix the important bug #927030.
> See also the attached debdiff.
> 
> changelog:
> 
> mozc (2.23.2815.102+dfsg-4) unstable; urgency=medium
> 
>   * Add d/patches/add_support_new_japanese_era.patch.
>     This adds Japan's new era 令和 (Reiwa) support. (Closes: #927030)
> 
>  -- Nobuhiro Iwamatsu <iwamatsu@debian.org>  Sun, 14 Apr 2019 06:25:53 +0900
> 
> unblock mozc/2.23.2815.102+dfsg-4
> 
> [...]
> 

Unblocked, thanks.
~Niels

--- End Message ---

Reply to: