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.
This commit is contained in:
Ludovic Courtès 2019-04-01 23:19:09 +02:00
parent 2472cdec25
commit d6fda4d3d1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 0 deletions

View File

@ -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)