From d6fda4d3d10fc2201a5507009b79733661fff8a0 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 1 Apr 2019 23:19:09 +0200 Subject: gnu: gnome-shell: Add dependency on libgnomekbd. This fixes the "Show keyboard layout" button in the keyboard layout switcher. * gnu/packages/gnome.scm (gnome-shell)[arguments]: In 'record-absolute-file-names' phase, record file name of 'gkbd-keyboard-display'. [inputs]: Add LIBGNOMEKBD. --- gnu/packages/gnome.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 477a550943..60d64c18b2 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5770,6 +5770,10 @@ properties, screen resolution, and other GNOME parameters.") (("'ibus-daemon'") (string-append "'" (assoc-ref inputs "ibus") "/bin/ibus-daemon'"))) + (substitute* "js/ui/status/keyboard.js" + (("'gkbd-keyboard-display'") + (string-append "'" (assoc-ref inputs "libgnomekbd") + "/bin/gkbd-keyboard-display'"))) #t)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) @@ -5827,6 +5831,7 @@ properties, screen resolution, and other GNOME parameters.") ("ibus" ,ibus) ("libcanberra" ,libcanberra) ("libcroco" ,libcroco) + ("libgnomekbd" ,libgnomekbd) ;for gkbd-keyboard-display ("libgweather" ,libgweather) ("libsoup" ,libsoup) ("mesa-headers" ,mesa-headers) -- cgit v1.2.3