gnu: network-manager-applet: Build libnm-gtk.
authorTobias Geerinckx-Rice <me@tobias.gr>
Tue, 15 Oct 2019 13:51:50 +0000 (15:51 +0200)
committerTobias Geerinckx-Rice <me@tobias.gr>
Tue, 15 Oct 2019 15:16:47 +0000 (17:16 +0200)
Fixes network-manager-openvpn <https://issues.guix.gnu.org/issue/37759>.

* gnu/packages/gnome.scm (network-manager-applet)[arguments]:
Set libnm_gtk=true in #:configure-flags.

gnu/packages/gnome.scm

index 81cb2fb..20c050f 100644 (file)
@@ -5487,6 +5487,7 @@ services.")
 (define-public network-manager-openvpn
   (package
     (name "network-manager-openvpn")
+    ;; Updating?  Check whether network-manager-applet still needs libnm_gtk.
     (version "1.8.4")
     (source (origin
               (method url-fetch)
@@ -5671,7 +5672,10 @@ Cisco's AnyConnect SSL VPN.")
                 "1gzvz4wfqfsfclqg56y954al8x6fmz71cnxlx1i4nqr7a25bp2qi"))))
     (build-system meson-build-system)
     (arguments
-     '(#:glib-or-gtk? #t))
+     '(#:configure-flags
+       ;; ‘Nobody should be using this’ but network-manager-openvpn 1.8.10 does.
+       (list "-Dlibnm_gtk=true")
+       #:glib-or-gtk? #t))
     (native-inputs
      `(("intltool" ,intltool)
        ("glib:bin" ,glib "bin") ; for glib-compile-resources, etc.