2012-01-12 07:18:10 +04:00
|
|
|
prefix=/usr
|
|
|
|
exec_prefix=${prefix}
|
2009-12-20 13:37:21 +03:00
|
|
|
|
2008-08-06 15:06:39 +04:00
|
|
|
XIM=ibus
|
2012-01-12 07:18:10 +04:00
|
|
|
XIM_PROGRAM="${exec_prefix}/bin/ibus-daemon"
|
2015-05-01 05:42:41 +03:00
|
|
|
ICON="ibus"
|
2009-02-14 14:45:24 +03:00
|
|
|
XIM_ARGS="--xim"
|
2012-01-12 07:18:10 +04:00
|
|
|
PREFERENCE_PROGRAM="${exec_prefix}/bin/ibus-setup"
|
2009-02-05 05:39:56 +03:00
|
|
|
SHORT_DESC="IBus"
|
2008-07-03 14:33:24 +04:00
|
|
|
GTK_IM_MODULE=ibus
|
2015-05-01 05:42:41 +03:00
|
|
|
NOT_RUN=gnome3
|
2009-07-27 13:57:14 +04:00
|
|
|
|
2015-05-01 05:42:41 +03:00
|
|
|
if test -f /usr/lib64/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
|
|
|
|
test -f /usr/lib/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
|
|
|
|
test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so || \
|
2009-07-27 13:57:14 +04:00
|
|
|
test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so;
|
|
|
|
then
|
|
|
|
QT_IM_MODULE=ibus
|
2011-01-26 08:01:25 +03:00
|
|
|
else
|
|
|
|
QT_IM_MODULE=xim
|
2009-07-27 13:57:14 +04:00
|
|
|
fi
|
2009-04-15 07:09:07 +04:00
|
|
|
|
2009-06-17 13:03:02 +04:00
|
|
|
# if [ -z "$IBUS_SESSION_ID" ]; then
|
|
|
|
# export IBUS_SESSION_ID=`mktemp -u XXXXXXXX`
|
|
|
|
# fi
|