gnu: network-manager: Update to 1.52.0.

* gnu/packages/gnome.scm (network-manager): Update to 1.52.0.
[source]: Fetch from git.
[arguments] <#:configure-flags>: Remove dhcpcd=no, dhcpcanon=no and dhclient
flags (dhcpcanon is removed and dhclient is deprecated).
[inputs]: Add dhcpcd and nftables.

Change-Id: Ia5b42d4a7b1fc7dcd7538fd8ad2747f727709f4b
This commit is contained in:
Maxim Cournoyer 2025-03-07 00:54:27 +09:00
parent 5c00d9f29d
commit 1f26b0eec8
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -8550,16 +8550,17 @@ users.")
(name "network-manager") (name "network-manager")
;; Note: NetworkManager still follows the odd/even major version number ;; Note: NetworkManager still follows the odd/even major version number
;; for development/stable releases scheme; be sure to use a stable one. ;; for development/stable releases scheme; be sure to use a stable one.
(version "1.50.0") (version "1.52.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "mirror://gnome/sources/NetworkManager/" (uri (git-reference
(version-major+minor version) "/" (url (string-append "https://gitlab.freedesktop.org/"
"NetworkManager-" version ".tar.xz")) "NetworkManager/NetworkManager"))
(patches (search-patches "network-manager-plugin-path.patch")) (commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1qv6ma7lhznwcjybl9kwbnbv28k1ca0r9n65ak2fnv35i8wff0zw")))) "0fx3yvqrwc9fqphhwvchxls0lgizlz7bxww3riijlvx3pkypqbyr"))))
(build-system meson-build-system) (build-system meson-build-system)
(outputs '("out" (outputs '("out"
"doc")) ; 8 MiB of gtk-doc HTML "doc")) ; 8 MiB of gtk-doc HTML
@ -8577,8 +8578,6 @@ users.")
"-Dsuspend_resume=elogind" "-Dsuspend_resume=elogind"
"-Dsystemdsystemunitdir=no" "-Dsystemdsystemunitdir=no"
"-Dsession_tracking_consolekit=false" "-Dsession_tracking_consolekit=false"
"-Ddhcpcd=no"
"-Ddhcpcanon=no"
"-Dcrypto=gnutls" "-Dcrypto=gnutls"
"-Diwd=true" "-Diwd=true"
"-Dnm_cloud_setup=false" "-Dnm_cloud_setup=false"
@ -8592,9 +8591,7 @@ users.")
(string-append "-Ddbus_conf_dir=" (string-append "-Ddbus_conf_dir="
#$output "/etc/dbus-1/system.d") #$output "/etc/dbus-1/system.d")
(string-append "-Dmodprobe=" (search-input-file %build-inputs (string-append "-Dmodprobe=" (search-input-file %build-inputs
"bin/modprobe")) "bin/modprobe")))
(string-append "-Ddhclient=" (search-input-file %build-inputs
"sbin/dhclient")))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-dlopen-call-to-libjansson.so (add-after 'unpack 'patch-dlopen-call-to-libjansson.so
@ -8667,6 +8664,7 @@ users.")
curl curl
cyrus-sasl cyrus-sasl
dbus-glib dbus-glib
dhcpcd
dnsmasq dnsmasq
elogind elogind
eudev eudev
@ -8684,6 +8682,7 @@ users.")
libselinux libselinux
mobile-broadband-provider-info mobile-broadband-provider-info
modem-manager modem-manager
nftables
newt ;for the 'nmtui' console interface newt ;for the 'nmtui' console interface
openresolv ;alternative resolv.conf manager openresolv ;alternative resolv.conf manager
polkit polkit