Comment #11 on issue 9643 by ham...@chromium.org: Issues loading IMEs on  
64-bit
http://code.google.com/p/chromium/issues/detail?id=9643

I've just succeeded in using 32bit immodules from 64bit linux chrome  
without using
xim. I'd like to write what I did. I'm using uim instead of scim, but I  
guess similar
way would work for scim as well.

Got the following 32bit deb packages

libuim5_1.4.1-5_i386.deb
uim-gtk2.0_1.4.1-5_i386.deb
libgcroots0_0.8.0-5ubuntu0.1_i386.deb
uim-skk_1.4.1-5_i386.deb

from

http://packages.ubuntu.com/hardy/libuim5
http://packages.ubuntu.com/hardy/uim-gtk2.0
http://packages.ubuntu.com/hardy/libgcroots0
http://packages.ubuntu.com/hardy/uim-skk

(I'm using uim-skk as plugin of uim, other plugins may be able to be used  
as well)

Extract them by

dpkg -x foobar.deb .

or something. Then, copy usr/lib/* into /usr/lib32 . By default, it seems  
that 32bit
binaries try to load 64bit IM modules. We need to create /etc/gtk-
2.0/gtk.immodules.32 to avoid this. The content of the file is

"/usr/lib32/gtk-2.0/2.10.0/immodules/im-uim.so"
"uim" "uim" "uim" "/usr/share/locale" "ja:ko:zh:*"

I created this file based on /usr/lib/gtk-2.0/2.10.0/immodule-files.d/uim-
gtk2.0.immodules . I guess scim people should copy  
/usr/lib/gtk-2.0/2.10.0/immodule-
files.d/scim-gtk2-immodule.immodules and modify it.

Then, boot chrome with specifying the 32bit plugin directory of uim, which  
contains
libuim-skk.so.

LIBUIM_PLUGIN_LIB_DIR=/usr/lib32/uim/plugin ./sconsbuild/Debug/chrome


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to