On Tue, Mar 16, 2010 at 12:04:53PM +0600, Mikhail Gusarov wrote: > > Twas brillig at 10:12:14 16.03.2010 UTC+10 when [email protected] did > gyre and gimble: > > >> New 'precompiled' subdir is added to xkb data dir, allowing to > >> pre-compile keymaps to be loaded when server starts and hence avoid > >> running xkbcomp, saving a bit of time. > > PH> Good idea. Do you have any numbers on how much time this actually > PH> saves? > > I can't measure it -- see below. > > PH> IIRC we only run xkbcomp once at the moment and then re-used the > PH> cached values. Is skipping this one run beneficial? > > Not for my case, I don't have xkbcomp at all, as it needs Xlib (which I > managed to avoid entirely so far). > > PH> What happens if xkeyboard-config is updated after an xkm has been > PH> precompiled? Do the users need to recompile? This is my main worry, > PH> it'll make triaging of nonworking keyboard layouts quite tricky. > > Yes. Probably this need to be handled, so it was more RFC actually, than > actual patch.
Could you just replace xkbcomp with a shell script that copies the xkm files into the right directory? Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
