chiark / gitweb /
localed: validate xkb keymaps
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 24 Nov 2014 14:12:42 +0000 (15:12 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 24 Nov 2014 14:16:33 +0000 (15:16 +0100)
Introduce a new optional dependency on libxkbcommon for systemd-localed.
Whenever the x11 keymap settings are changed, use libxkbcommon to compile
the keymap. If the compilation fails, print a warning so users will get
notified.

On compilation failure, we still update the keymap settings for now. This
patch just introduces the xkbcommon infrastructure to have keymap
validation in place. We can later decide if/how we want to enforce this.


No differences found