]> git.pld-linux.org Git - packages/scim.git/blob - scim.xinputd
- new URLs, updated to 1.4.18
[packages/scim.git] / scim.xinputd
1 XIM=SCIM
2 XIM_PROGRAM=/usr/bin/scim
3 XIM_ARGS=""
4 ICON="/usr/share/scim/icons/trademark.png"
5 PREFERENCE_PROGRAM=/usr/bin/scim-setup
6 SHORT_DESC="SCIM"
7
8 gtkimm_exists () {
9         # check if any immodules installed
10         for dir in /usr/@@LIB@@/gtk-2.0/*/immodules; do
11                 [ -x ${dir}/im-$1.so ] && return 0
12         done
13         return 1
14 }
15
16 if gtkimm_exists scim-bridge; then
17         GTK_IM_MODULE=scim-bridge
18 elif gtkimm_exists scim; then
19         GTK_IM_MODULE=scim
20 else
21         GTK_IM_MODULE=xim
22 fi
23
24 if [ -x /usr/@@LIB@@/qt4/plugins/inputmethods/im-scim-bridge.so ]; then
25         QT_IM_MODULE=scim-bridge
26 elif [ -x /usr/@@LIB@@/qt4/plugins/inputmethods/libqscim.so ]; then
27         QT_IM_MODULE=scim
28 else
29         QT_IM_MODULE=xim
30 fi
This page took 0.0854 seconds and 3 git commands to generate.