HI,

II think I figured out.

On Sat, Jun 01, 2013 at 01:21:57AM +0800, Aron Xu wrote:
> On Wed, May 29, 2013 at 8:47 PM, Osamu Aoki <os...@debian.org> wrote:
> > I uploaded one for unstable.  Please check what I am doing is right.
> >
> > If it is good, I will backport this.
> >
> > Osamu
> 
> Seems GTK_IM_MODULE still show up as xim, and QT4_IM_MODULE is
> correct. But I don't know what's wrong with GTK. I tried to add some
> echo to 22_fcitx.rc and it shows that the two `ls` command returns
> nothing to the variable, while it works for Qt...

Sorry, I overlooked important message here.

What im-config does.
$ ls /usr/lib/*/gtk-3.0/*/immodules/im-fcitx.sols 
/usr/lib/*/gtk-3.0/*/immodules/im-fcitx.so
ls: cannot access /usr/lib/*/gtk-3.0/*/immodules/im-fcitx.sols: No such file or 
directory
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so
$ ls /usr/lib/gtk-3.0/*/immodules/im-fcitx.so
ls: cannot access /usr/lib/gtk-3.0/*/immodules/im-fcitx.so: No such file or 
directory

But where are they really

$ dpkg -L fcitx-frontend-gtk2
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/fcitx-frontend-gtk2
/usr/share/doc/fcitx-frontend-gtk2/changelog.Debian.gz
/usr/share/doc/fcitx-frontend-gtk2/changelog.gz
/usr/share/doc/fcitx-frontend-gtk2/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/gtk-2.0
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so
$ dpkg -L fcitx-frontend-gtk3
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/fcitx-frontend-gtk3
/usr/share/doc/fcitx-frontend-gtk3/changelog.Debian.gz
/usr/share/doc/fcitx-frontend-gtk3/changelog.gz
/usr/share/doc/fcitx-frontend-gtk3/copyright
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/gtk-3.0
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-fcitx.so

So I should change these new dorectories for new multiarch packages to:
/usr/lib/*/gtk-2.0/*/immodules/im-fcitx.so
/usr/lib/*/gtk-3.0/*/immodules/im-fcitx.so

Was this directory change new thing?  Then I will just add new ones to
support bacck port.  If this has been always so, I will change path.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to