Given the changes in 2.24.20, gnome2_query_immodules_gtk2 might need to be changed to something closer to gnome2_query_immodules_gtk3. For the time being, depending on version being installed, but eventually unconditionally.
Created attachment 352804 [details, diff] 1.patch I have tried this but looks to not work as I still can read: * Updating dconf system databases ... [ ok ] * Generating Gtk2 immodules/gdk-pixbuf loaders listing: * -> /etc/gtk-2.0/x86_64-pc-linux-gnu/gtk.immodules * Updating icons cache ... that means "has_version" hasn't work... but I don't know why :(
(In reply to Pacho Ramos from comment #1) > Created attachment 352804 [details, diff] [details, diff] > 1.patch > > I have tried this but looks to not work as I still can read: > * Updating dconf system databases ... > [ ok ] > * Generating Gtk2 immodules/gdk-pixbuf loaders listing: > * -> /etc/gtk-2.0/x86_64-pc-linux-gnu/gtk.immodules > * Updating icons cache ... > > that means "has_version" hasn't work... but I don't know why :( is this the actual change? I am confused because of the indentation)) - local GTK2_CONFDIR="/etc/gtk-2.0/$(get_abi_CHOST)" + if has_version ">=x11-libs/gtk+-2.24.20:2"; then + gtk-query-immodules-2.0 --update-cache + else + local GTK2_CONFDIR="/etc/gtk-2.0/$(get_abi_CHOST)"
Yes, in summary. I needed to change indentation making patch harder to read :S
@gnome, any ideas?
(Not sure if this could cause any kind of breakage -_-)
(In reply to Pacho Ramos from comment #5) > (Not sure if this could cause any kind of breakage -_-) Well, given what that file is for, outside cjk range not many people use input engines (OK, not sure about India and south-east Asia, still cjk people are primary consumer of IMEs). See GtkIMContext docs.
Created attachment 358136 [details, diff] 1.patch It works ok (but I tested on a ebuild that was using its own function instead of eclass one)
(In reply to Pacho Ramos from comment #7) > Created attachment 358136 [details, diff] [details, diff] > 1.patch > > It works ok (but I tested on a ebuild that was using its own function > instead of eclass one) Will commit in a week if nobody disagrees
+ 15 Sep 2013; Pacho Ramos <pacho@gentoo.org> gnome2-utils.eclass: + Support gtk+-2.24.20 query immodules (#476100) +