diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-12 11:46:32 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-15 18:51:17 +0800 |
commit | 13bc3237d8e44c6ed1e7956ff006965014755606 (patch) | |
tree | 962c2f1b926a447423e2d3434a5e3da00656a6c8 | |
parent | beaffa1a3be2bb37d74b9f3195a4fef719fddd0d (diff) | |
download | guix-13bc3237d8e44c6ed1e7956ff006965014755606.tar.gz |
gnu: modem-manager: Update to 1.22.0.
* gnu/packages/freedesktop.scm (modem-manager): Update to 1.22.0. [source]: Switch to git-fetch. [build-system]: Switch to meson-build-system. [arguments]<#:configure-flags>: Adjust udevdir. Set -Dsystemdsystemunitdir=no, Set -Dvapi=true. [inputs]: Add bash-completion, libqrtr-glib and elogind. [native-inputs]: Remove python; add python-minimal and libxslt. Change-Id: Ife0560eb48f3cceaf22ccc6bb54010074028cddf
-rw-r--r-- | gnu/packages/freedesktop.scm | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index a3dc92108e..af35625c18 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -2011,34 +2011,46 @@ which speak the Qualcomm MSM Interface (QMI) protocol.") (define-public modem-manager (package (name "modem-manager") - (version "1.18.12") - (source (origin - (method url-fetch) - (uri (string-append - "https://www.freedesktop.org/software/ModemManager/" - "ModemManager-" version ".tar.xz")) - (sha256 - (base32 - "0c74n5jl1qvq2qlbwzfkgxny8smjcgkid1nhdnl6qnlmbn9f8r5l")))) - (build-system gnu-build-system) + (version "1.22.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.freedesktop.org/mobile-broadband/ModemManager") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0fj4ibjfsxal3xfk3hrj4l9vg7zbj42k9lj7151illl2n3d5ngzw")))) + (build-system meson-build-system) (arguments (list #:configure-flags - #~(list (string-append "--with-udev-base-dir=" #$output "/lib/udev")))) + #~(list (string-append "-Dudevdir=" #$output "/lib/udev") + "-Dsystemdsystemunitdir=no" + "-Dvapi=true"))) (native-inputs (list dbus gettext-minimal gobject-introspection `(,glib "bin") ;for glib-mkenums + libxslt ;for xsltproc pkg-config - python - python-dbus - python-pygobject + python-minimal + python-dbus ;for test + python-pygobject ;for test vala)) (propagated-inputs (list glib)) ;required by mm-glib.pc (inputs - (list libgudev libmbim libqmi polkit)) + (list bash-completion + elogind + libgudev + libmbim + libqmi + libqrtr-glib + polkit)) (synopsis "Mobile broadband modems manager") (home-page "https://www.freedesktop.org/wiki/Software/ModemManager/") (description |