summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
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
commit800be6fc07c0921e78011f183997b7a103fd874a (patch)
treece66f599a1d410dbfb2e09550828ca507f6b2cf1 /perl-install/lang.pm
parentab7a6964a9be5c1942f559ef3ba3fa986c2b2236 (diff)
downloaddrakx-backup-do-not-use-800be6fc07c0921e78011f183997b7a103fd874a.tar
drakx-backup-do-not-use-800be6fc07c0921e78011f183997b7a103fd874a.tar.gz
drakx-backup-do-not-use-800be6fc07c0921e78011f183997b7a103fd874a.tar.bz2
drakx-backup-do-not-use-800be6fc07c0921e78011f183997b7a103fd874a.tar.xz
drakx-backup-do-not-use-800be6fc07c0921e78011f183997b7a103fd874a.zip
(re-commit) add/remove ime selections
Diffstat (limited to 'perl-install/lang.pm')
-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',