Package: scim-bridge-agent Version: 0.4.16-3 Severity: normal Tags: patch Dear Maintainer,
Everytime I boot the system, I found variable GTK_IM_MODULE is set increectly. Since I installed package scim-bridge-client-gtk, the expected value should be GTK_IM_MODULE=scim-bridge but it always be GTK_IM_MODULE=xim The file, /etc/X11/xinit/xinput.d/scim-bridge, try to detect im-scim-bridge.so under /usr/lib/gtk-2.0/*/immodules/. But the path was changed and the path is depend on your machine type. In my situation, it located in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-scim-bridge.so -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=zh_TW.utf8, LC_CTYPE=zh_TW.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages scim-bridge-agent depends on: ii libc6 2.13-21 ii libgcc1 1:4.6.1-15 ii libscim8c2a 1.4.9-7 ii libstdc++6 4.6.1-15 ii scim 1.4.9-7 ii scim-modules-socket 1.4.9-7 Versions of packages scim-bridge-agent recommends: ii scim-bridge-client-gtk 0.4.16-3 scim-bridge-agent suggests no packages. -- no debconf information
From 6524af8c543a04387fe4b186cbe2ad58a7c02454 Mon Sep 17 00:00:00 2001 From: Julian_Chu <walking...@0xlab.org> Date: Tue, 15 Nov 2011 22:27:21 +0800 Subject: [PATCH] scim-bridge: detect shared library in proper path It tries to detect existence of im-scim-bridge.so in an old path. Therefore it will never find the library to set GTK_IM_MODULE correctly. --- scim-bridge | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scim-bridge b/scim-bridge index 04ef5e9..82ad83a 100644 --- a/scim-bridge +++ b/scim-bridge @@ -5,7 +5,7 @@ else XIM_PROGRAM=/usr/bin/scim fi XIM_ARGS="-d" -if [ -e /usr/lib/gtk-2.0/*/immodules/im-scim-bridge.so ]; then +if [ -e /usr/lib/*/gtk-2.0/*/immodules/im-scim-bridge.so ]; then GTK_IM_MODULE=scim-bridge else GTK_IM_MODULE=xim -- 1.7.7.1