[Debian-zh-dev] wrong library path in scim package

Carlos Liu carlos@geekbone.org
Sat, 19 Jun 2004 16:22:17 +1200


On Fri, Jun 18, 2004 at 12:40:40PM -0500, Ming Hua wrote:
> On Sat, Jun 19, 2004 at 02:47:06AM +1200, Carlos Liu wrote:
> > Ming,
> > 
> > After check your scim package, I found that scim's gtk immodule
> > libraries were put in "/usr/lib/gtk-2.0/2.3.5". You should change it
> > into "/usr/lib/gtk-2.0/2.4.0".
> 
> Yes, I noticed that, too.  However I don't know when that happened, I
> suspect it's hardcoded in scim source.  I'll have a look at 0.9.7 and
> 0.9 CVS branch, and see if it's fixed.
> 
> > And, probably, you should invoke
> > gtk-query-immodules-2.0 in postinst to register scim input method with
> > gtk2.4.

I had a look on libgtk2.0-bin's postinst, it used
/usr/sbin/update-gtk-immodules, a wrapper on gtk-query-immodules-2.0.

> You are right.  Anthony Fok also pointed this out, and I think he even
> fixed it in the 0.9.7-1 packages.  And I suppose I need to invoke it in
> postrm as well, right?

Oh, I think so. :-)

-- 
 Best Regards,
 Carlos