]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
commitd4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62
tree54e891570c54a505a6babdefc95169d1efb1aaa2
parent8a52210c9392887a31fdb2845f65b4c5869e8e66
localed: validate xkb keymaps

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.
Makefile.am
NEWS
configure.ac
src/locale/localed.c