On Thu, 2012-07-12 at 15:27 -0700, Keith Packard wrote:

> My plan is to simply put that work on the package installer loading new
> files into the xkb directories. A simple post-install hook that removed
> all of the files in the server's cache directory should make that work

It'd be nicer if X shipped a binary to run which did whatever is
necessary to ensure the cache is valid, and update it.  That keeps the
implementation details of the caching contained where it should be, and
not duplicated around in the various rpm/deb/other postinst script
formats.

gtk-update-icon-cache is a decent reference, except it's slightly
lame it requires a directory as an argument instead of using
the right default.




_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to