From d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Mon, 24 Nov 2014 15:12:42 +0100 Subject: 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. --- NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f621752d6..0d3ab2b48 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ systemd System and Service Manager +CHANGES WITH 218: + + * If compiled with --enable-xkbcommon, systemd-localed will + verify x11 keymap settings by compiling the given keymap. It + will spew out warnings if the compilation fails. This + requires libxkbcommon to be installed. + CHANGES WITH 217: * journalctl gained the new options -t/--identifier= to match -- cgit v1.2.3