[PATCH] Cache xkbcomp output

Colin Walters walters at verbum.org
Thu Jul 12 20:01:28 PDT 2012


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.






More information about the xorg-devel mailing list