On 3/14/07, Loïc Minier <[EMAIL PROTECTED]> wrote:
I'm attaching the lsdiff of all the Gtk patches; I really don't see anything capable of perturbing the IMs, except the IM loading patch (debian/patches/020_immodules-files-d.patch), this is what causes gtk to use the /usr/lib/.../*.immodules files instead of /etc/gtk-2.0. If the patch is the culprit, I suppose a strace could clarify what's happening.
strace log says the im-thai.so is properly loaded. ---8<--- open("/usr/lib/gtk-2.0/2.10.0/immodule-files.d", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4 fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 getdents64(4, /* 3 entries */, 4096) = 96 open("/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0644, st_size=1224, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b2d050b1000 read(5, "# automatically generated by dh_"..., 4096) = 1224 read(5, "", 4096) = 0 read(5, "", 4096) = 0 close(5) = 0 munmap(0x2b2d050b1000, 4096) = 0 getdents64(4, /* 0 entries */, 4096) = 0 close(4) = 0 open("/etc/gtk-2.0/gtk.immodules", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory) open("/etc/gtk-2.0/gtk.immodules", O_RDONLY) = -1 ENOENT (No such file or directory) stat("/usr/lib/gtk-2.0/2.10.0/immodules/im-thai.so", {st_mode=S_IFREG|0644, st_size=11664, ...}) = 0 open("/usr/lib/gtk-2.0/2.10.0/immodules/im-thai.so", O_RDONLY) = 4 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\17\0"..., 640) = 640 fstat(4, {st_mode=S_IFREG|0644, st_size=11664, ...}) = 0 mmap(NULL, 1058376, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x2b2d050b1000 mprotect(0x2b2d050b4000, 1046088, PROT_NONE) = 0 mmap(0x2b2d051b3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0x2b2d051b3000 close(4) = 0 ---8<---
Do you have some debug output to debug what's happening between Gdk and the IM?
I'm also trying to test it. -- Theppitak Karoonboonyanan http://linux.thai.net/~thep/