summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-05-08 15:16:58 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-05-08 15:17:28 +0200
commit7b2db1f6673cfa92ba74c6f513eac5faa65e27ff (patch)
tree37625f477a2e126938d6ba7387bff0fd922da3a6 /perl-install/lang.pm
parentd3ac5db9da6ff1290439a1cfe80db51bb1792e9b (diff)
downloaddrakx-7b2db1f6673cfa92ba74c6f513eac5faa65e27ff.tar
drakx-7b2db1f6673cfa92ba74c6f513eac5faa65e27ff.tar.gz
drakx-7b2db1f6673cfa92ba74c6f513eac5faa65e27ff.tar.bz2
drakx-7b2db1f6673cfa92ba74c6f513eac5faa65e27ff.tar.xz
drakx-7b2db1f6673cfa92ba74c6f513eac5faa65e27ff.zip
install the right fcitx packages on Plasma
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index acf1d5f8b..d6f096a57 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -795,11 +795,15 @@ The actual packages list will consist of:
my %IM_config =
(
fcitx => {
- GTK_IM_MODULE => 'xim',
+ GTK_IM_MODULE => 'fcitx',
XIM => 'fcitx',
XIM_PROGRAM => 'fcitx',
XMODIFIERS => '@im=fcitx',
langs => 'zh',
+ packages => {
+ common => sub { if_($is_plasma, 'fcitx-qt5') },
+ generic => sub { qw(fcitx) },
+ },
},
gcin => {
GTK_IM_MODULE => 'gcin',