Update xinput-ibus: setup QT_IM_MODULE if the ibus qt input method plugin

exists.
This commit is contained in:
Peng Huang 2009-07-27 23:54:35 +00:00
parent 23d75b9140
commit 20268693f2
2 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,7 @@
Name: ibus
Version: 1.2.0.20090723
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@ -228,6 +228,9 @@ fi
%{_datadir}/gtk-doc/html/*
%changelog
* Tue Jul 28 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090723-3
- Update xinput-ibus: setup QT_IM_MODULE if the ibus qt input method plugin exists.
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0.20090723-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -5,4 +5,9 @@ XIM_ARGS="--xim"
PREFERENCE_PROGRAM=/usr/bin/ibus-setup
SHORT_DESC="IBus"
GTK_IM_MODULE=ibus
# QT_IM_MODULE=ibus
if test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so || \
test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so;
then
QT_IM_MODULE=ibus
fi