[PATCH 0/2] Cache xkbcomp output v2

Keith Packard keithp at keithp.com
Fri Jul 13 13:08:33 PDT 2012


So, along the way, we discovered an ugly problem with setuid X
servers -- they can't write to the regular compiled directory, so they
use /tmp. With a predictable name.

In any case, I haven't made that any worse...

v2 changes:

 * Add a configure option to disable caching for people who never
   want it.

 * don't try to cache files in /tmp. If the regular compiled output
   directory isn't accessible, then don't cache at all.

 * Adds a script 'xserver-keymap-dir' to help xkb package installers
   find the cache so that they can clean it up.



More information about the xorg-devel mailing list