Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47202 - [uim] Wrong path for immodule cache in install script

Attached to Project: Arch Linux
Opened by Vincent Vinel (Narthorn) - Friday, 27 November 2015, 15:51 GMT
Last edited by Gaetan Bisson (vesath) - Friday, 22 April 2016, 03:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

According to https://developer.gnome.org/gtk2/stable/gtk-running.html#im-module-file, gtk now looks for the immodules in /usr/lib/gtk-2.0/2.10.0/immodules.cache, instead of /etc/gtk-2.0/gtk.immodules.

Furthermore, the gtk-query-immodules-* used to generate the cache file now have an --update-cache option, which directly writes to the cache file.

The install script should be updated to use this option instead.

This task depends upon

Closed by  Gaetan Bisson (vesath)
Friday, 22 April 2016, 03:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  uim-1.8.6-6 in [extra]
Comment by Gaetan Bisson (vesath) - Monday, 14 March 2016, 04:27 GMT
Could you please report this issue upstream? Our PKGBUILD really does nothing but call `make install`. Thanks.
Comment by Vincent Vinel (Narthorn) - Monday, 14 March 2016, 18:01 GMT
  • Field changed: Percent Complete (100% → 0%)
Requesting re-open as this is not an upstream issue. The problem does not come from the PKGBUILD itself but from the post_install script.

Specifically, the script should be changed from :

[[ -x usr/bin/gtk-query-immodules-2.0 ]] && usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
[[ -x usr/bin/gtk-query-immodules-3.0 ]] && usr/bin/gtk-query-immodules-3.0 > usr/lib/gtk-3.0/3.0.0/immodules.cache

to:

[[ -x usr/bin/gtk-query-immodules-2.0 ]] && usr/bin/gtk-query-immodules-2.0 --update-cache
[[ -x usr/bin/gtk-query-immodules-3.0 ]] && usr/bin/gtk-query-immodules-3.0 --update-cache
Comment by Vincent Vinel (Narthorn) - Monday, 14 March 2016, 18:09 GMT
Or something taking advantage of the --update-cache mechanism in some way to make sure the proper file is updated - I'm not sure if using it that way would update the file in the package instead of the one on the system directly ?
Comment by Gaetan Bisson (vesath) - Friday, 22 April 2016, 03:24 GMT
That makes a lot of sense, thanks!

And let me apologize on behalf of our bug tracker which does not notify the maintainer when a task is reopened; which is why I noticed your reply only now.

Thanks again!

Loading...