UTUMI Hirosi <utuhiro78@yahoo.co.jp> さんは書きました:
I tested OpenSUSE 10.0 beta2. Most things are OK, but uim-anthy doesn't work for me. uim.spec doesn't register uim to gtk2-immodule properly.
Try them: # rpm -e uim-gtk2 $ gedit Right click on gedit -> Choose "Input Method" -> Still you can find "uim".
You need to run SuSEconfig --module gtk2 after installing or deleting uim-gtk2. When using YaST2 to install, this is done automatically. You removed the following from the .spec file: %post -# trigger run of SuSEconfig.gtk2 to register/unregister this input module -# by calling gtk-query-immodules-2.0: -touch var/adm/SuSEconfig/run-gtk and added: +%post gtk2 +%run_ldconfig +if [ -x $r/opt/gnome/bin/gtk-query-immodules-2.0 ] ; then + /opt/gnome/bin/gtk-query-immodules-2.0 > /etc/opt/gnome/gtk-2.0/gtk.immodules +fi + +if [ -x $r/opt/gnome/bin/gtk-query-immodules-2.0-64 ] ; then + /opt/gnome/bin/gtk-query-immodules-2.0-64 > /etc/opt/gnome/gtk-2.0/gtk64.immodules +fi I think the gtk2 module doesn't need ldconfig. You are right that updating of the gtk.immodules file should be moved to the "%post gtk2 section". But one should not call gtk-query-immodules-2.0 directly, one should just touch /var/adm/SuSEconfig/run-gtk to tell SuSEconfig.gtk2 that an update is needed. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。