ibus-m17n/ibus-m17n-blacklist-engines.patch
2011-11-18 16:18:01 +09:00

53 lines
1.5 KiB
Diff

From 4a2f3279fb4fbeb8be66ff7bf40cce57e616d45b Mon Sep 17 00:00:00 2001
From: Daiki Ueno <ueno@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>