|
Packit Service |
1d8f1c |
prefix=/usr
|
|
Packit Service |
1d8f1c |
exec_prefix=${prefix}
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
XIM=ibus
|
|
Packit Service |
1d8f1c |
XIM_PROGRAM="${exec_prefix}/bin/ibus-daemon"
|
|
Packit Service |
1d8f1c |
ICON="ibus"
|
|
Packit Service |
1d8f1c |
XIM_ARGS="--xim"
|
|
Packit Service |
1d8f1c |
PREFERENCE_PROGRAM="${exec_prefix}/bin/ibus-setup"
|
|
Packit Service |
1d8f1c |
SHORT_DESC="IBus"
|
|
Packit Service |
1d8f1c |
GTK_IM_MODULE=ibus
|
|
Packit Service |
1d8f1c |
NOT_RUN=gnome3
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
if test -f /usr/lib64/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
|
|
Packit Service |
1d8f1c |
test -f /usr/lib/qt5/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so || \
|
|
Packit Service |
1d8f1c |
test -f /usr/lib64/qt4/plugins/inputmethods/libqtim-ibus.so || \
|
|
Packit Service |
1d8f1c |
test -f /usr/lib/qt4/plugins/inputmethods/libqtim-ibus.so;
|
|
Packit Service |
1d8f1c |
then
|
|
Packit Service |
1d8f1c |
QT_IM_MODULE=ibus
|
|
Packit Service |
1d8f1c |
else
|
|
Packit Service |
1d8f1c |
QT_IM_MODULE=xim
|
|
Packit Service |
1d8f1c |
fi
|
|
Packit Service |
1d8f1c |
|
|
Packit Service |
1d8f1c |
# if [ -z "$IBUS_SESSION_ID" ]; then
|
|
Packit Service |
1d8f1c |
# export IBUS_SESSION_ID=`mktemp -u XXXXXXXX`
|
|
Packit Service |
1d8f1c |
# fi
|