Hello community, here is the log from the commit of package mozc for openSUSE:Factory checked in at 2016-12-06 14:26:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mozc (Old) and /work/SRC/openSUSE:Factory/.mozc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mozc" Changes: -------- --- /work/SRC/openSUSE:Factory/mozc/mozc.changes 2016-08-29 15:45:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mozc.new/mozc.changes 2016-12-06 14:26:42.000000000 +0100 @@ -1,0 +2,19 @@ +Sun Dec 4 15:22:30 UTC 2016 - [email protected] + +- update 2.18.2612.102 + * fixed unexpected size bloat of the APK + * fixed duplicate candidates after undo + * fixed suggestion-only user dictionary entry may not work + * fixed abbreviation user dictionary entry may not work + * fixed suppression word may not work + * fixed single character noun user dictionary entry may not work +- fcitx-mozc updated to 2.18.2612.102 + * dropped patch: fcitx-mozc-2.17.2102.102.1.patch + * added patch: fcitx-mozc-2.18.2612.102.1.patch +- protobuf updated to 3.1.0 + * dropped patch: protobuf-atomic.patch, upstreamed + * dropped patch: protobuf-generic-atomic.patch, upstreamed +- gyp updated to latest master@940a15e +- added patch: mozc-gen_zip_code_seed_py.patch + +------------------------------------------------------------------- Old: ---- fcitx-mozc-2.17.2102.102.1.patch gyp-20150628.tar.xz mozc-2.17.2313.102.tar.xz protobuf-atomic.patch protobuf-generic-atomic.patch New: ---- fcitx-mozc-2.18.2612.102.1.patch gyp-940a15e.tar.xz mozc-2.18.2612.102.tar.xz mozc-gen_zip_code_seed_py.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mozc.spec ++++++ --- /var/tmp/diff_new_pack.YA4Qxt/_old 2016-12-06 14:26:43.000000000 +0100 +++ /var/tmp/diff_new_pack.YA4Qxt/_new 2016-12-06 14:26:43.000000000 +0100 @@ -34,7 +34,7 @@ %define use_libprotobuf 0 Name: mozc -Version: 2.17.2313.102 +Version: 2.18.2612.102 Release: 0 Summary: Mozc - Japanese Input Method for Chromium OS, Mac and Linux License: BSD-3-Clause and SUSE-Public-Domain @@ -43,8 +43,9 @@ Url: https://github.com/google/mozc # git clone https://github.com/google/mozc.git # cd mozc -# git archive --prefix=mozc-$version/ 3306d33 | tar xC ../ +# git archive --prefix=mozc-$version/ 05464ea | tar xC ../ # rm mozc-$version/src/third_party/* +# rm mozc-$version/docker # tar cvJf mozc-$version.tar.xz mozc-$version Source0: %{name}-%{version}.tar.xz Source1: README.SUSE @@ -52,7 +53,7 @@ # gyp is not included from 1.11.1522.102 # License: BSD-3-Clause # git clone https://chromium.googlesource.com/external/gyp -Source3: gyp-20150628.tar.xz +Source3: gyp-940a15e.tar.xz # Source4: ibus-setup-mozc-jp.desktop.in # @@ -67,7 +68,7 @@ # between GCC5 and LLVM # # git clone https://github.com/google/protobuf/ -# git archive --prefix protobuf/ v3.0.0-beta-2 | xz > ../protobuf.tar.xz +# git archive --prefix protobuf/ v3.1.0 | xz > ../protobuf.tar.xz Source6: protobuf.tar.xz # # jigyosyo.zip and ken_all.zip are zip-code--address data provided by @@ -79,7 +80,7 @@ %if %{with_fcitx} # add fcitx as mozc module # License: BSD-3-Clause -Patch: fcitx-mozc-2.17.2102.102.1.patch +Patch: fcitx-mozc-2.18.2612.102.1.patch Source21: fcitx-mozc-icons.tar.gz %endif @@ -88,10 +89,6 @@ # PATCH-FIX-UPSTREAM [email protected] Patch2: mozc-ninja-verbose-build.patch -# PATCH-FIX-UPSTREAM - https://groups.google.com/forum/#!topic/protobuf/ZXxXR3uPAM4 -Patch4: protobuf-generic-atomic.patch -Patch5: protobuf-atomic.patch - # PATCH-FIX-OPENSUSE [email protected] # workaround for the Qt5 bug (boo#947013) Patch6: ibus-qt5-hide_preedit_text-workaround.patch @@ -99,6 +96,10 @@ # PATCH-FIX-OPENSUSE mozc-build-gcc.patch bsc#990844 [email protected] -- Portng mozc-build-gcc.patch to force mozc build with gcc. Patch7: mozc-build-gcc.patch +# PATCH-FIX-UPSTREAM [email protected] +# fix python import error +Patch8: mozc-gen_zip_code_seed_py.patch + BuildRequires: ninja >= 1.4 BuildRequires: pkgconfig %if %{use_libprotobuf} @@ -157,8 +158,10 @@ %package gui-tools Summary: GUI tools for mozc Group: System/I18n/Japanese -BuildRequires: libqt4-devel BuildRequires: zinnia-devel +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Widgets) Requires: mozc = %{version} Requires: zinnia Requires: zinnia-tomoe @@ -189,10 +192,6 @@ # protobuf %if ! %{use_libprotobuf} tar xvf %{SOURCE6} -cd protobuf -%patch4 -p1 -%patch5 -p1 -cd .. %endif popd @@ -200,6 +199,8 @@ %patch7 -p1 +%patch8 -p2 + # fix installation path sed -e 's|@libdir@|%{_libdir}|g' %{SOURCE4} > ibus-setup-mozc-jp.desktop @@ -212,7 +213,7 @@ %build %define target Release -export QTDIR=%{_libdir}/qt4 +export QTDIR=%{_libdir}/qt5 # -Wall from RPM_OPT_FLAGS overrides -Wno-* options from gyp. # gyp inserts -Wall to the head of release_extra_flags. ++++++ fcitx-mozc-2.17.2102.102.1.patch -> fcitx-mozc-2.18.2612.102.1.patch ++++++ --- /work/SRC/openSUSE:Factory/mozc/fcitx-mozc-2.17.2102.102.1.patch 2015-10-19 22:49:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.mozc.new/fcitx-mozc-2.18.2612.102.1.patch 2016-12-06 14:26:41.000000000 +0100 @@ -1,9 +1,9 @@ diff --git a/src/unix/fcitx/eim.cc b/src/unix/fcitx/eim.cc new file mode 100644 -index 0000000..bc4f199 +index 0000000..c8ddc7b --- /dev/null +++ b/src/unix/fcitx/eim.cc -@@ -0,0 +1,265 @@ +@@ -0,0 +1,271 @@ +// Copyright 2012~2013, Weng Xuetian <[email protected]> +// All rights reserved. +// @@ -42,6 +42,7 @@ +#include "fcitx_mozc.h" +#include "mozc_connection.h" +#include "mozc_response_parser.h" ++#include "base/init_mozc.h" + +typedef struct _FcitxMozcState { + mozc::fcitx::FcitxMozc* mozc; @@ -95,6 +96,11 @@ + bindtextdomain("fcitx-mozc", LOCALEDIR); + bind_textdomain_codeset("fcitx-mozc", "UTF-8"); + ++ int argc = 1; ++ char argv0[] = "fcitx_mozc"; ++ char *_argv[] = { argv0 }; ++ char **argv = _argv; ++ mozc::InitMozc(argv[0], &argc, &argv, true); + mozcState->mozc = new mozc::fcitx::FcitxMozc( + instance, + mozc::fcitx::MozcConnection::CreateMozcConnection(), @@ -1386,10 +1392,10 @@ +#endif // MOZC_UNIX_FCITX_FCITX_KEY_TRANSLATOR_H_ diff --git a/src/unix/fcitx/fcitx_mozc.cc b/src/unix/fcitx/fcitx_mozc.cc new file mode 100644 -index 0000000..0802adc +index 0000000..b87ae58 --- /dev/null +++ b/src/unix/fcitx/fcitx_mozc.cc -@@ -0,0 +1,556 @@ +@@ -0,0 +1,557 @@ +// Copyright 2012~2013, Weng Xuetian <[email protected]> +// All rights reserved. +// @@ -1628,6 +1634,7 @@ + VLOG ( 1 ) << "init"; + boolean flag = true; + FcitxInstanceSetContext(instance, CONTEXT_DISABLE_AUTOENG, &flag); ++ FcitxInstanceSetContext(instance, CONTEXT_DISABLE_FULLWIDTH, &flag); + FcitxInstanceSetContext(instance, CONTEXT_DISABLE_QUICKPHRASE, &flag); + FcitxInstanceSetContext(instance, CONTEXT_IM_KEYBOARD_LAYOUT, "jp"); + FcitxInstanceSetContext(instance, "CONTEXT_DISABLE_AUTO_FIRST_CANDIDATE_HIGHTLIGHT", &flag); @@ -3128,7 +3135,7 @@ +echo "Done" diff --git a/src/unix/fcitx/po/de.po b/src/unix/fcitx/po/de.po new file mode 100644 -index 0000000..11b106b +index 0000000..1196086 --- /dev/null +++ b/src/unix/fcitx/po/de.po @@ -0,0 +1,91 @@ @@ -3146,10 +3153,10 @@ +msgstr "" +"Project-Id-Version: fcitx\n" +"Report-Msgid-Bugs-To: [email protected]\n" -+"POT-Creation-Date: 2015-07-08 18:02+0200\n" ++"POT-Creation-Date: 2015-08-03 18:01+0200\n" +"PO-Revision-Date: 2013-11-16 14:13+0000\n" +"Last-Translator: csslayer <[email protected]>\n" -+"Language-Team: German (http://www.transifex.com/p/fcitx/language/de/)\n" ++"Language-Team: German (http://www.transifex.com/fcitx/fcitx/language/de/)\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" @@ -3184,39 +3191,39 @@ +msgid "Half Katakana" +msgstr "Halbbreite Katakana" + -+#: ../fcitx_mozc.cc:405 ../fcitx_mozc.cc:406 ../fcitx_mozc.cc:474 ++#: ../fcitx_mozc.cc:406 ../fcitx_mozc.cc:407 ../fcitx_mozc.cc:475 +msgid "Composition Mode" +msgstr "Kompositionsmodus" + -+#: ../fcitx_mozc.cc:416 ../fcitx_mozc.cc:417 ++#: ../fcitx_mozc.cc:417 ../fcitx_mozc.cc:418 +msgid "Tool" +msgstr "Werkzeug" + -+#: ../fcitx_mozc.cc:487 ++#: ../fcitx_mozc.cc:488 +msgid "Mozc Tool" +msgstr "Mozc Werkzeug" + -+#: ../fcitx_mozc.cc:493 ++#: ../fcitx_mozc.cc:494 +msgid "Configuration Tool" +msgstr "Konfigurationswerkzeug" + -+#: ../fcitx_mozc.cc:494 ++#: ../fcitx_mozc.cc:495 +msgid "Dictionary Tool" +msgstr "Wörterbuchwerkzeug" + -+#: ../fcitx_mozc.cc:495 ++#: ../fcitx_mozc.cc:496 +msgid "Hand Writing" +msgstr "Eingabe Handschrift" + -+#: ../fcitx_mozc.cc:496 ++#: ../fcitx_mozc.cc:497 +msgid "Character Palette" +msgstr "Palette Symbole" + -+#: ../fcitx_mozc.cc:497 ++#: ../fcitx_mozc.cc:498 +msgid "Add Word" +msgstr "Wort hinzufügen" + -+#: ../fcitx_mozc.cc:498 ++#: ../fcitx_mozc.cc:499 +msgid "About Mozc" +msgstr "Über Mozc" + @@ -3317,7 +3324,7 @@ +msgstr "" diff --git a/src/unix/fcitx/po/ja.po b/src/unix/fcitx/po/ja.po new file mode 100644 -index 0000000..41ad68f +index 0000000..a3f4d5f --- /dev/null +++ b/src/unix/fcitx/po/ja.po @@ -0,0 +1,93 @@ @@ -3337,10 +3344,10 @@ +msgstr "" +"Project-Id-Version: fcitx\n" +"Report-Msgid-Bugs-To: [email protected]\n" -+"POT-Creation-Date: 2015-07-08 18:02+0200\n" ++"POT-Creation-Date: 2015-08-03 18:01+0200\n" +"PO-Revision-Date: 2013-11-16 14:13+0000\n" +"Last-Translator: csslayer <[email protected]>\n" -+"Language-Team: Japanese (http://www.transifex.com/p/fcitx/language/ja/)\n" ++"Language-Team: Japanese (http://www.transifex.com/fcitx/fcitx/language/ja/)\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" @@ -3375,39 +3382,39 @@ +msgid "Half Katakana" +msgstr "半角カタカナ" + -+#: ../fcitx_mozc.cc:405 ../fcitx_mozc.cc:406 ../fcitx_mozc.cc:474 ++#: ../fcitx_mozc.cc:406 ../fcitx_mozc.cc:407 ../fcitx_mozc.cc:475 +msgid "Composition Mode" +msgstr "変換モード" + -+#: ../fcitx_mozc.cc:416 ../fcitx_mozc.cc:417 ++#: ../fcitx_mozc.cc:417 ../fcitx_mozc.cc:418 +msgid "Tool" +msgstr "ツール" + -+#: ../fcitx_mozc.cc:487 ++#: ../fcitx_mozc.cc:488 +msgid "Mozc Tool" +msgstr "Mozc ツール" + -+#: ../fcitx_mozc.cc:493 ++#: ../fcitx_mozc.cc:494 +msgid "Configuration Tool" +msgstr "設定ツール" + -+#: ../fcitx_mozc.cc:494 ++#: ../fcitx_mozc.cc:495 +msgid "Dictionary Tool" +msgstr "辞書ツール" + -+#: ../fcitx_mozc.cc:495 ++#: ../fcitx_mozc.cc:496 +msgid "Hand Writing" +msgstr "手書き文字認識" + -+#: ../fcitx_mozc.cc:496 ++#: ../fcitx_mozc.cc:497 +msgid "Character Palette" +msgstr "文字パレット" + -+#: ../fcitx_mozc.cc:497 ++#: ../fcitx_mozc.cc:498 +msgid "Add Word" +msgstr "単語登録" + -+#: ../fcitx_mozc.cc:498 ++#: ../fcitx_mozc.cc:499 +msgid "About Mozc" +msgstr "Mozc について" + @@ -3416,7 +3423,7 @@ +msgstr "Ctrl+Alt+H キーを押して用例を表示" diff --git a/src/unix/fcitx/po/zh_CN.po b/src/unix/fcitx/po/zh_CN.po new file mode 100644 -index 0000000..262e623 +index 0000000..6e46bc6 --- /dev/null +++ b/src/unix/fcitx/po/zh_CN.po @@ -0,0 +1,92 @@ @@ -3434,11 +3441,11 @@ +msgstr "" +"Project-Id-Version: fcitx\n" +"Report-Msgid-Bugs-To: [email protected]\n" -+"POT-Creation-Date: 2015-07-08 18:02+0200\n" ++"POT-Creation-Date: 2015-07-21 12:01+0200\n" +"PO-Revision-Date: 2013-11-16 14:13+0000\n" +"Last-Translator: csslayer <[email protected]>\n" -+"Language-Team: Chinese (China) (http://www.transifex.com/p/fcitx/language/" -+"zh_CN/)\n" ++"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/fcitx/" ++"language/zh_CN/)\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" @@ -3514,7 +3521,7 @@ +msgstr "按下 Ctrl+Alt+H 显示用法。" diff --git a/src/unix/fcitx/po/zh_TW.po b/src/unix/fcitx/po/zh_TW.po new file mode 100644 -index 0000000..3fe41da +index 0000000..69a6c5c --- /dev/null +++ b/src/unix/fcitx/po/zh_TW.po @@ -0,0 +1,91 @@ @@ -3531,11 +3538,11 @@ +msgstr "" +"Project-Id-Version: fcitx\n" +"Report-Msgid-Bugs-To: [email protected]\n" -+"POT-Creation-Date: 2015-07-08 18:02+0200\n" ++"POT-Creation-Date: 2015-07-21 12:01+0200\n" +"PO-Revision-Date: 2013-11-16 14:13+0000\n" +"Last-Translator: csslayer <[email protected]>\n" -+"Language-Team: Chinese (Taiwan) (http://www.transifex.com/p/fcitx/language/" -+"zh_TW/)\n" ++"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/fcitx/" ++"language/zh_TW/)\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" ++++++ gyp-20150628.tar.xz -> gyp-940a15e.tar.xz ++++++ ++++ 15632 lines of diff (skipped) ++++++ mozc-2.17.2313.102.tar.xz -> mozc-2.18.2612.102.tar.xz ++++++ /work/SRC/openSUSE:Factory/mozc/mozc-2.17.2313.102.tar.xz /work/SRC/openSUSE:Factory/.mozc.new/mozc-2.18.2612.102.tar.xz differ: char 1, line 1 ++++++ mozc-build-gcc.patch ++++++ --- /var/tmp/diff_new_pack.YA4Qxt/_old 2016-12-06 14:26:44.000000000 +0100 +++ /var/tmp/diff_new_pack.YA4Qxt/_new 2016-12-06 14:26:44.000000000 +0100 @@ -1,19 +1,20 @@ -diff -pruN mozc-2.17.2077.102.orig/gyp/common.gypi mozc-2.17.2077.102/gyp/common.gypi ---- mozc-2.17.2077.102.orig/gyp/common.gypi 2015-04-28 18:17:51.000000000 +0900 -+++ mozc-2.17.2077.102/gyp/common.gypi 2015-04-30 10:28:20.122718394 +0900 -@@ -161,9 +161,9 @@ +Index: b/gyp/common.gypi +=================================================================== +--- a/gyp/common.gypi ++++ b/gyp/common.gypi +@@ -128,9 +128,9 @@ + 'compiler_host_version_int': 304, # Clang 3.4 or higher + }], ['target_platform=="Linux"', { - # enable_gtk_renderer represents if mozc_renderer is supported on Linux - # or not. - 'compiler_target': 'clang', + 'compiler_target': 'gcc', 'compiler_target_version_int': 304, # Clang 3.4 or higher - 'compiler_host': 'clang', + 'compiler_host': 'gcc', 'compiler_host_version_int': 304, # Clang 3.4 or higher - 'enable_gtk_renderer%': 1, - }, { # else -@@ -885,8 +885,8 @@ + }], + ], +@@ -445,8 +445,8 @@ ['target_platform=="Linux"', { 'make_global_settings': [ ['AR', '<!(which ar)'], ++++++ mozc-gen_zip_code_seed_py.patch ++++++ Index: b/src/dictionary/gen_zip_code_seed.py =================================================================== --- a/src/dictionary/gen_zip_code_seed.py +++ b/src/dictionary/gen_zip_code_seed.py @@ -58,7 +58,7 @@ import re import sys import unicodedata -from dictionary import zip_code_util +import zip_code_util ZIP_CODE_LABEL = 'ZIP_CODE' ++++++ mozc-ninja-verbose-build.patch ++++++ --- /var/tmp/diff_new_pack.YA4Qxt/_old 2016-12-06 14:26:44.000000000 +0100 +++ /var/tmp/diff_new_pack.YA4Qxt/_new 2016-12-06 14:26:44.000000000 +0100 @@ -1,13 +1,13 @@ -diff --git a/src/build_mozc.py b/src/build_mozc.py -index 651dd30..3f817a5 100644 +Index: b/src/build_mozc.py +=================================================================== --- a/src/build_mozc.py +++ b/src/build_mozc.py -@@ -964,7 +964,7 @@ def BuildOnLinux(options, targets, unused_original_directory_name): - short_basename = GetBuildShortBaseName(options, - GetMozcVersion().GetTargetPlatform()) - make_command = ninja -- build_args = ['-C', '%s/%s' % (short_basename, options.configuration)] -+ build_args = ['-C', '%s/%s' % (short_basename, options.configuration), '-v'] - RunOrDie([make_command] + build_args + target_names) +@@ -846,7 +846,7 @@ def BuildWithNinja(options, targets): + ninja = GetNinjaPath() + ninja_targets = [GetNinjaTargetName(target) for target in targets] +- RunOrDie([ninja, '-C', build_arg] + ninja_targets) ++ RunOrDie([ninja, '-C', build_arg, '-v'] + ninja_targets) + + def BuildOnWindows(targets): ++++++ protobuf.tar.xz ++++++ ++++ 654583 lines of diff (skipped)
