[Fedora-i18n-bugs] [ibus-m17n] Update to 1.3.3-6.

Daiki Ueno ueno at fedoraproject.org
Fri Nov 18 07:18:48 UTC 2011


commit 54363628e3b11ede1ead919c4bb3cf112806e446
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Fri Nov 18 16:18:01 2011 +0900

    Update to 1.3.3-6.

 ibus-m17n-blacklist-engines.patch |   52 +++++++++++++++++++++++++++++++++++++
 ibus-m17n-xx-icon-symbol.patch    |    4 +-
 ibus-m17n.spec                    |    8 +++++-
 3 files changed, 61 insertions(+), 3 deletions(-)
---
diff --git a/ibus-m17n-blacklist-engines.patch b/ibus-m17n-blacklist-engines.patch
new file mode 100644
index 0000000..cfa3a92
--- /dev/null
+++ b/ibus-m17n-blacklist-engines.patch
@@ -0,0 +1,52 @@
+From 4a2f3279fb4fbeb8be66ff7bf40cce57e616d45b Mon Sep 17 00:00:00 2001
+From: Daiki Ueno <ueno at unixuser.org>
+Date: Tue, 25 Oct 2011 14:26:41 +0900
+Subject: [PATCH] Blacklist some engines useless under ibus environment.
+
+---
+ src/default.xml.in.in |   32 ++++++++++++++++++++++++++++++++
+ 1 files changed, 32 insertions(+), 0 deletions(-)
+
+Index: ibus-m17n-1.3.3/src/default.xml.in.in
+===================================================================
+--- ibus-m17n-1.3.3.orig/src/default.xml.in.in
++++ ibus-m17n-1.3.3/src/default.xml.in.in
+@@ -14,6 +14,38 @@
+ 		@IBUS_HOTKEYS_XML@
+ 		<virtual-keyboard>us</virtual-keyboard>
+ 	</engine>
++	<!-- Blacklist some engines -->
++	<!-- kbd engines are duplicate of xkb engines -->
++	<engine>
++		<name>m17n:*:kbd</name>
++		<rank>-1</rank>
++	</engine>
++	<!-- zh:pinyin is considered as a toy, since it does not
++	     support Han characters -->
++	<engine>
++		<name>m17n:zh:pinyin</name>
++		<rank>-1</rank>
++	</engine>
++	<!-- zh:py is superseded by ibus-pinyin etc -->
++	<engine>
++		<name>m17n:zh:py</name>
++		<rank>-1</rank>
++	</engine>
++	<!-- ja:anthy is superseded by ibus-anthy -->
++	<engine>
++		<name>m17n:ja:anthy</name>
++		<rank>-1</rank>
++	</engine>
++	<!-- ko:han2 is superseded by ibus-hangul -->
++	<engine>
++		<name>m17n:ko:han2</name>
++		<rank>-1</rank>
++	</engine>
++	<!-- ko:romaja is superseded by ibus-hangul -->
++	<engine>
++		<name>m17n:ko:romaja</name>
++		<rank>-1</rank>
++	</engine>
+ 	<!-- Indic engines should be selected by default:
+ 	     https://bugzilla.redhat.com/show_bug.cgi?id=640896 -->
+ 	<engine>
diff --git a/ibus-m17n-xx-icon-symbol.patch b/ibus-m17n-xx-icon-symbol.patch
index 588c27a..76c0cc9 100644
--- a/ibus-m17n-xx-icon-symbol.patch
+++ b/ibus-m17n-xx-icon-symbol.patch
@@ -29,8 +29,8 @@ index 927d382..23102c4 100644
  AC_CONFIG_FILES([ po/Makefile.in
 diff --git a/m4/.gitignore b/m4/.gitignore
 index 0f4126c..e28d185 100644
---- a/m4/.gitignore
-+++ b/m4/.gitignore
+#--- a/m4/.gitignore
+#+++ b/m4/.gitignore
 @@ -1 +1,3 @@
  *.m4
 +!ibus.m4
diff --git a/ibus-m17n.spec b/ibus-m17n.spec
index 941a8ff..9f78d46 100644
--- a/ibus-m17n.spec
+++ b/ibus-m17n.spec
@@ -23,7 +23,7 @@
 
 Name:       ibus-m17n
 Version:    1.3.3
-Release:    5%{?dist}
+Release:    6%{?dist}
 Summary:    The M17N engine for IBus platform
 License:    GPLv2+
 Group:      System Environment/Libraries
@@ -38,6 +38,7 @@ Patch4:     ibus-m17n-xx-icon-symbol.patch
 Patch5:     ibus-m17n-virtkbd.patch
 Patch6:	    ibus-m17n-iok.patch
 Patch7:	    ibus-m17n-hide-title-status.patch
+Patch8:	    ibus-m17n-blacklist-engines.patch
 
 # The following BR is for autogen and not necessary when packging
 # released tarballs.
@@ -76,6 +77,7 @@ sed -i 's!^[-+][-+][-+] .*/m4/\.gitignore!#\0!' %PATCH4
 %patch5 -p1 -b .virtkbd
 %patch6 -p1 -b .iok
 %patch7 -p1 -b .hide-title-status
+%patch8 -p1 -b .blacklist-engines
 NOCONFIGURE=1 ./autogen.sh
 
 %build
@@ -97,6 +99,10 @@ make DESTDIR=${RPM_BUILD_ROOT} install
 %{_datadir}/ibus/component/*
 
 %changelog
+* Fri Nov 18 2011 Daiki Ueno <dueno at redhat.com> - 1.3.3-6
+- Add ibus-m17n-blacklist-engines.patch
+  https://lists.fedoraproject.org/pipermail/i18n/2011-October/001194.html
+
 * Thu Sep 29 2011 Daiki Ueno <dueno at redhat.com> - 1.3.3-5
 - Add ibus-m17n-hide-title-status.patch.
 - Fix bug 741157 - ibus-m17n: m17n "title" variable appears as a


More information about the i18n-bugs mailing list