Hi, while preparing a new upstream release (moving from 1.8 to 2.1) of xkb-data (technically, source is xkeyboard-config, binaries are xkb-data & xkb-data-udeb), I noticed a significant size increase: the udeb moved from 3.1MB to 3.5MB.
I looked into how to decrease its size, and started by removing as many spaces as possible. Went down to 3.0MB, yay. And a few setxkbmap tests (while applying those modifications to the deb rather than to the udeb) seem to confirm it's still working as expected. I might also strip comments and empty lines if that helps reducing it even more. To get an idea, you may want to look at /usr/share/X11/xkb/symbols/us for an example of wasted space. There are also indented XML files which benefit from this “compression”. I just wanted to let you know in advance, so that you can redirect angry users to us in case something goes wrong. Also, 3 releases is quite a big move, since upstream happily merges patches from anyone, so regressions might happen as well. But eh, that's for experimental for the time being. ;) Anton, please also note that the evdev model goes away (it's supposed to be hidden, private stuff), and that pc105 should be used instead. I'm mentioning this since ISTR that setxkbmap is called with all possible options, including -model. Let me know if you want a bug to remind you of checking for a possible usage of the evdev model. KiBi.
signature.asc
Description: Digital signature