2009/7/23 Michal Suchanek <hramr...@centrum.cz>: > 2009/7/23 Goswin von Brederlow <goswin-...@web.de>: >> Michal Suchanek <hramr...@centrum.cz> writes: >> >>> reopen 496248 >>> >>> 2009/7/22 Goswin von Brederlow <goswin-...@web.de>: >>>> Michal Suchanek <hramr...@centrum.cz> writes: >>>> >>>>> Package: ia32-apt-get >>>>> Version: 22 >>>>> Followup-For: Bug #496248 >>>>> >>>>> >>>>> AFAIK this capapbility is enabled by sgim-gtk2-immodule which has the >>>>> same package name for 32bit and 64bit so only one can be installed at a >>>>> time. >>>> >>>> Please add the following line to /etc/ia32-libs-tools/rename.list: >>>> >>>> scim-gtk2-immodule + >>>> >>>> After that and ia32-apt-get update there will be an >>>> ia32-scim-gtk2-immodule with >>>> >>>> -rw-r--r-- 1 root root 129K May 1 05:14 >>>> /usr/lib32/gtk-2.0/2.10.0/immodules/im-scim.so >>>> >>>> Please let me know if that fixes the problem completly or if something >>>> more needs to be done. >>>> >>> >>> It somehow does not work: >>> >>> (firefox-bin:22054): Gtk-WARNING **: >>> /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so: wrong ELF class: >>> ELFCLASS64 >>> >>> (firefox-bin:22054): Gtk-WARNING **: Loading IM context type 'scim' failed >>> >>> (thunderbird-bin:23565): Gtk-WARNING **: >>> /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so: wrong ELF class: >>> ELFCLASS64 >>> >>> (thunderbird-bin:23565): Gtk-WARNING **: Loading IM context type 'scim' >>> failed >> >> /usr/lib32/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules >> has to be adjusted to use /usr/lib32/... >> >> As a quick fix you can create >> /usr/lib/ia32-libs-tools/hooks/scim-gtk2-immodule.hook >> containing: >> >> #!/bin/sh >> sed -i 's,/usr/lib/,/usr/lib32/,' >> usr/lib32/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules >
This allows loading scim immodule into gtk application. However, it does not allow loading input methods into scim. I tried to install ia32-scim, ia32-scim-anthy, ia32-scim-module-socket, and ia32-scim-gtk2-immodule because all of these contain some shared objects in /usr/lib. Perhaps anthy is not a good example of scim input methos because it requires quite a bit support although it comes first in the scim module list. Still the only input method scim offers to 32bit applications is english/keyboard. Somehow the 64bit wine packages had this sorted out even without installing additional immodules. with '64bit' wine scim worked flawlessly with unicode applications. Note: you probably do not need writing anything with anthy to test it loads - just showing the crown icon in the scim gtk toolbar should suffice. Thanks Michal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org