summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorYou-Cheng Hsieh <yochenhsieh@mageia.org>2012-01-29 13:32:44 +0000
committerYou-Cheng Hsieh <yochenhsieh@mageia.org>2012-01-29 13:32:44 +0000
commitdf8fa7b18d09201309a31a24e983f80fffce37fb (patch)
treece66f599a1d410dbfb2e09550828ca507f6b2cf1 /perl-install
parent6802324916ce7634c52e5e93b5b94a74333aa20b (diff)
downloaddrakx-df8fa7b18d09201309a31a24e983f80fffce37fb.tar
drakx-df8fa7b18d09201309a31a24e983f80fffce37fb.tar.gz
drakx-df8fa7b18d09201309a31a24e983f80fffce37fb.tar.bz2
drakx-df8fa7b18d09201309a31a24e983f80fffce37fb.tar.xz
drakx-df8fa7b18d09201309a31a24e983f80fffce37fb.zip
(re-commit) add/remove ime selections
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/lang.pm83
1 files changed, 47 insertions, 36 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index a084d2df2..fca09ea4a 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -585,19 +585,19 @@ my ($is_kde4);
# keep the 'packages' field in sync with share/rpmsrate:
my %IM_config =
(
- chinput => {
- GTK_IM_MODULE => 'xim',
- XIM => 'chinput',
- XMODIFIERS => '@im=Chinput',
- XIM_PROGRAM => {
- 'zh_CN' => 'chinput -gb',
- 'en_SG' => 'chinput -gb',
- 'zh_HK' => 'chinput -big5',
- 'zh_TW' => 'chinput -big5',
- },
- langs => 'zh',
- packages => { generic => sub { 'miniChinput' } },
- },
+# chinput => {
+# GTK_IM_MODULE => 'xim',
+# XIM => 'chinput',
+# XMODIFIERS => '@im=Chinput',
+# XIM_PROGRAM => {
+# 'zh_CN' => 'chinput -gb',
+# 'en_SG' => 'chinput -gb',
+# 'zh_HK' => 'chinput -big5',
+# 'zh_TW' => 'chinput -big5',
+# },
+# langs => 'zh',
+# packages => { generic => sub { 'miniChinput' } },
+# },
fcitx => {
GTK_IM_MODULE => 'xim',
XIM => 'fcitx',
@@ -616,6 +616,17 @@ my %IM_config =
generic => sub { qw(gcin) },
},
},
+ hime => {
+ GTK_IM_MODULE => 'hime',
+ XIM => 'hime',
+ XIM_PROGRAM => 'hime',
+ XMODIFIERS => '@im=hime',
+ langs => 'zh',
+ packages => {
+ common => sub { if_($is_kde4, 'hime-qt4') },
+ generic => sub { qw(hime) },
+ },
+ },
'im-ja' => {
GTK_IM_MODULE => 'im-ja',
QT_IM_MODULE => 'xim',
@@ -625,14 +636,14 @@ my %IM_config =
langs => 'ja',
},
- kinput2 => {
- GTK_IM_MODULE => 'xim',
- XIM => 'kinput2',
- XIM_PROGRAM => 'kinput2',
- XMODIFIERS => '@im=kinput2',
- langs => 'ja',
- packages => { generic => sub { 'kinput2-wnn' } },
- },
+# kinput2 => {
+# GTK_IM_MODULE => 'xim',
+# XIM => 'kinput2',
+# XIM_PROGRAM => 'kinput2',
+# XMODIFIERS => '@im=kinput2',
+# langs => 'ja',
+# packages => { generic => sub { 'kinput2-wnn' } },
+# },
nabi => {
GTK_IM_MODULE => 'xim',
XIM => 'nabi',
@@ -641,14 +652,14 @@ my %IM_config =
langs => 'ko',
},
- oxim => {
- GTK_IM_MODULE => 'oxim',
- XIM => 'oxim',
- XIM_PROGRAM => 'oxim',
- XMODIFIERS => '@im=oxim', # '@im=SCIM' is broken for now
- langs => 'zh_TW',
- packages => { generic => sub { 'oxim' } },
- },
+# oxim => {
+# GTK_IM_MODULE => 'oxim',
+# XIM => 'oxim',
+# XIM_PROGRAM => 'oxim',
+# XMODIFIERS => '@im=oxim', # '@im=SCIM' is broken for now
+# langs => 'zh_TW',
+# packages => { generic => sub { 'oxim' } },
+# },
'scim' => {
GTK_IM_MODULE => 'scim',
QT_IM_MODULE => 'xim',
@@ -704,13 +715,13 @@ my %IM_config =
generic => sub { qw(uim-gtk uim) },
},
},
- xcin => {
- XIM => 'xcin',
- XIM_PROGRAM => 'xcin',
- XMODIFIERS => '@im=xcin-zh_TW',
- GTK_IM_MODULE => 'xim',
- langs => 'zh',
- },
+# xcin => {
+# XIM => 'xcin',
+# XIM_PROGRAM => 'xcin',
+# XMODIFIERS => '@im=xcin-zh_TW',
+# GTK_IM_MODULE => 'xim',
+# langs => 'zh',
+# },
'x-unikey' => {
GTK_IM_MODULE => 'xim',
XMODIFIERS => '@im=unikey',