guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: gnome-shell: Add dependency on libgnomekbd.


From: guix-commits
Subject: 02/02: gnu: gnome-shell: Add dependency on libgnomekbd.
Date: Mon, 1 Apr 2019 17:22:03 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d6fda4d3d10fc2201a5507009b79733661fff8a0
Author: Ludovic Courtès <address@hidden>
Date:   Mon Apr 1 23:19:09 2019 +0200

    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 477a550..60d64c1 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]