[mozc] update patch

Akira TAGOH tagoh at fedoraproject.org
Tue Nov 15 09:03:10 UTC 2011


commit 9dfb059b8163fef9a2431052966378e2705836be
Author: Akira TAGOH <tagoh at redhat.com>
Date:   Tue Nov 15 18:02:59 2011 +0900

    update patch

 mozc-support-new-ibus.patch |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/mozc-support-new-ibus.patch b/mozc-support-new-ibus.patch
index 354a58a..b56901b 100644
--- a/mozc-support-new-ibus.patch
+++ b/mozc-support-new-ibus.patch
@@ -1,21 +1,21 @@
-diff -pruN mozc-1.1.773.102.orig/unix/ibus/gen_mozc_xml.py mozc-1.1.773.102/unix/ibus/gen_mozc_xml.py
---- mozc-1.1.773.102.orig/unix/ibus/gen_mozc_xml.py	2011-07-19 14:42:21.000000000 +0900
-+++ mozc-1.1.773.102/unix/ibus/gen_mozc_xml.py	2011-08-11 12:06:08.000000000 +0900
+diff -pruN mozc-1.2.855.102.orig/unix/ibus/gen_mozc_xml.py mozc-1.2.855.102/unix/ibus/gen_mozc_xml.py
+--- mozc-1.2.855.102.orig/unix/ibus/gen_mozc_xml.py	2011-10-03 16:10:29.000000000 +0900
++++ mozc-1.2.855.102/unix/ibus/gen_mozc_xml.py	2011-11-15 18:01:44.000000000 +0900
 @@ -74,6 +74,8 @@ IBUS_ENGINES_PROPS = {
          'name': ['mozc-jp'],
          'longname': ['%s'],
          'layout': ['jp'],
-+	'hotkeys': ['Control+space,Zenkaku_Hankaku'],
-+	'symbol': ['&#x3042;'],
++        'hotkeys': ['Control+space,Zenkaku_Hankaku'],
++        'symbol': ['&#x3042;'],
      },
      # On Chrome/Chromium OS, we provide three engines.
      'ChromeOS': {
-@@ -165,7 +167,7 @@ def OutputCpp(product_name, component, e
+@@ -162,6 +164,8 @@ def OutputCpp(product_name, component, e
    for key in engine_common:
      OutputCppVariable(product_name, 'Engine', key, engine_common[key])
    for key in engines:
--    if key == 'hotkeys':
 +    if key == 'hotkeys' or key == 'symbol':
-       # Skip hotkeys because it is not used from C++ code.
-       continue
++      continue
      print 'const char* kEngine%sArray[] = {' % key.capitalize()
+     for i in range(len(engines[key])):
+       print '"%s",' % EmbedProductName(product_name, engines[key][i])


More information about the scm-commits mailing list