From f862d7fb8d3656e7e0ec8ff5ef97db8e46536e93 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 21 Nov 2021 22:53:21 +0100 Subject: gnu: network-manager: Build with Meson 0.60. This is another way to address as suggested by Nirbheek Chauhan and Paolo Bonzini. * gnu/packages/patches/network-manager-meson.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/gnome.scm (network-manager)[source]: Use it. [arguments]: Remove #:meson. --- gnu/packages/gnome.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/gnome.scm') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index e6e6092593..82b002bd0d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7899,7 +7899,8 @@ users.") (uri (string-append "mirror://gnome/sources/NetworkManager/" (version-major+minor version) "/" "NetworkManager-" version ".tar.xz")) - (patches (search-patches "network-manager-plugin-path.patch")) + (patches (search-patches "network-manager-plugin-path.patch" + "network-manager-meson.patch")) (sha256 (base32 "0jzmz0zw64dgvdn2g7pppr7bkywpbxcbdb1viv6p7zh2lnh3dax8")))) @@ -7907,10 +7908,7 @@ users.") (outputs '("out" "doc")) ; 8 MiB of gtk-doc HTML (arguments - ;; Use meson-0.59, otherwise the custom rpaths are not registered - ;; correctly (see: https://github.com/mesonbuild/meson/issues/9492). - `(#:meson ,meson-0.59 - #:configure-flags + `(#:configure-flags (let ((out (assoc-ref %outputs "out")) (dhclient (search-input-file %build-inputs "/sbin/dhclient"))) (list -- cgit v1.2.3