gnu: Update networkmanager to version 1.6.2.

* gnu/packages/gnome.scm (networkmanager): [source] Update to 1.6.2
  [arguments] <pre-configure>: Adopt to now used single Makefile.in.
  <install>: Also pass "nmstatedir".
  [native-inputs]: Add docbook-xsl, libxslt, libxml2.
  [inputs]: Add jansson.
This commit is contained in:
Hartmut Goebel 2017-03-26 21:24:31 +02:00
parent 0eb0fe2d30
commit d04687dc83
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 16 additions and 8 deletions

View File

@ -23,6 +23,7 @@
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -4573,7 +4574,7 @@ users.")
(define-public network-manager
(package
(name "network-manager")
(version "1.4.4")
(version "1.6.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/NetworkManager/"
@ -4581,7 +4582,7 @@ users.")
"NetworkManager-" version ".tar.xz"))
(sha256
(base32
"029k2f1arx1m5hppmr778i9yg34jj68nmji3i89qs06c33rpi4w2"))
"1y96k82rav8if334jl500zc024d210c4pgprh94yqyz3rmanyaxj"))
(snippet
'(begin
(use-modules (guix build utils))
@ -4625,12 +4626,14 @@ users.")
;; cope with being already in the Guix build jail as that jail
;; lacks some features that they would like to proxy over (like
;; a /sys mount).
(substitute* '("src/platform/Makefile.in"
"src/devices/Makefile.in")
(("SUBDIRS = tests") ""))
(substitute* '("src/tests/Makefile.in")
(("\ttest-route-manager-linux") "\t")
(("\ttest-route-manager-fake") "\t"))
(substitute* '("Makefile.in")
(("src/platform/tests/test-address-linux") " ")
(("src/platform/tests/test-cleanup-linux") " ")
(("src/platform/tests/test-link-linux") " ")
(("src/platform/tests/test-route-linux") " ")
(("src/devices/tests/test-arping") " ")
(("src/devices/tests/test-lldp") " ")
(("src/tests/test-route-manager-linux") " "))
#t))
(add-before 'check 'pre-check
(lambda _
@ -4643,13 +4646,17 @@ users.")
"sysconfdir=/tmp"
"rundir=/tmp"
"statedir=/tmp"
"nmstatedir=/tmp/nm"
"install")))))))
(propagated-inputs
`(("glib" ,glib)))
(native-inputs
`(("glib:bin" ,glib "bin") ; for gdbus-codegen
("gobject-introspection" ,gobject-introspection)
("docbook-xsl" ,docbook-xsl)
("intltool" ,intltool)
("libxslt" ,libxslt)
("libxml2" ,libxml2)
("pkg-config" ,pkg-config)
;; For testing.
("python" ,python-wrapper)
@ -4661,6 +4668,7 @@ users.")
("gnutls" ,gnutls)
("iptables" ,iptables)
("isc-dhcp" ,isc-dhcp)
("jansson" ,jansson)
("libgcrypt" ,libgcrypt)
("libgudev" ,libgudev)
("libndp" ,libndp)