guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: gnome-control-center: Patch file name of 'nm-connection-edit


From: guix-commits
Subject: 03/06: gnu: gnome-control-center: Patch file name of 'nm-connection-editor'.
Date: Tue, 7 May 2019 09:47:01 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 341225ac6ccf1e2fcf52a58fb4230586a53bae05
Author: Ludovic Courtès <address@hidden>
Date:   Tue May 7 15:41:35 2019 +0200

    gnu: gnome-control-center: Patch file name of 'nm-connection-editor'.
    
    * gnu/packages/gnome.scm (gnome-control-center)[argument]: In
    'patch-paths' phase, provide absolute file name to
    'nm-connection-editor' in panels/network/*.c
---
 gnu/packages/gnome.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 3e51e9c..7c40a39 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5838,7 +5838,8 @@ devices using the GNOME desktop.")
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((libc   (assoc-ref inputs "libc"))
                    (tzdata (assoc-ref inputs "tzdata"))
-                   (libgnomekbd (assoc-ref inputs "libgnomekbd")))
+                   (libgnomekbd (assoc-ref inputs "libgnomekbd"))
+                   (nm-applet   (assoc-ref inputs "network-manager-applet")))
                (substitute* "panels/datetime/tz.h"
                  (("/usr/share/zoneinfo/zone.tab")
                   (string-append tzdata "/share/zoneinfo/zone.tab")))
@@ -5849,6 +5850,12 @@ devices using the GNOME desktop.")
                  (("\"gkbd-keyboard-display")
                   (string-append "\"" libgnomekbd
                                  "/bin/gkbd-keyboard-display")))
+               (substitute* '("panels/network/net-device-wifi.c"
+                              "panels/network/net-device.c"
+                              
"panels/network/connection-editor/net-connection-editor.c")
+                 (("\"nm-connection-editor")
+                  (string-append "\"" nm-applet
+                                 "/bin/nm-connection-editor")))
                #t))))))
     (native-inputs
      `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.



reply via email to

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