[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/181: gnu: umockdev: Update to 0.17.13.
From: |
guix-commits |
Subject: |
26/181: gnu: umockdev: Update to 0.17.13. |
Date: |
Tue, 13 Sep 2022 02:25:11 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 2fb1ff23e1992b4e279df71e7e424c3254fb79d6
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Aug 22 21:40:47 2022 -0400
gnu: umockdev: Update to 0.17.13.
* gnu/packages/check.scm (umockdev): Update to 0.17.13.
[build-system]: Use meson.
[phases]{fix-test}: Delete phase.
{skip-test-umockdev.c}: New phase.
{absolute-introspection-library}: Adjust for meson.
[native-inputs]: Sort lexicographically.
[inputs]: Add libpcap.
---
gnu/packages/check.scm | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index c1d16e858a..75ae120d77 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -56,6 +56,7 @@
(define-module (gnu packages check)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
@@ -2902,7 +2903,7 @@ provides a simple way to achieve this.")
(define-public umockdev
(package
(name "umockdev")
- (version "0.14.4")
+ (version "0.17.13")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/martinpitt/umockdev/"
@@ -2910,23 +2911,25 @@ provides a simple way to achieve this.")
"umockdev-" version ".tar.xz"))
(sha256
(base32
- "0xmi24ckpps32k7hc139psgbsnsf4g106sv4l9m445m46amkxggd"))))
- (build-system gnu-build-system)
+ "1kqkraag5v1jl5qfv0mb3ckm8yq2im21mng08sbs9dh9c9pbyvkc"))))
+ (build-system meson-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'fix-test
+ (add-after 'unpack 'skip-test-umockdev.c
+ ;; This test depends on /sys being available, among other
+ ;; things.
(lambda _
- (substitute* "tests/test-umockdev.c"
- (("/run") "/tmp"))))
+ (call-with-output-file "tests/test-umockdev.c"
+ (lambda (port)
+ (format port "int main(void) { return 0; }")))))
;; Avoid having to set 'LD_LIBRARY_PATH' to use umockdev
;; via introspection.
(add-after 'unpack 'absolute-introspection-library
- (lambda _
- (substitute* "Makefile.in"
- (("g-ir-compiler -l libumockdev")
- (string-append "g-ir-compiler -l " #$output
- "/lib/libumockdev")))))
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "meson.build"
+ (("libumockdev.so.0" all)
+ (string-append #$output "/lib/" all)))))
(add-after 'install 'absolute-filenames
(lambda* (#:key inputs #:allow-other-keys)
;; 'patch-shebangs' will take care of the shebang.
@@ -2935,17 +2938,19 @@ provides a simple way to achieve this.")
(("libumockdev")
(string-append #$output "/lib/libumockdev"))))))))
(native-inputs
- (list vala
- gobject-introspection
+ (list gobject-introspection
gtk-doc/stable
pkg-config
- ;; For tests.
python
+ vala
which))
(inputs
- (list bash-minimal ;for umockdev-wrapper
- coreutils-minimal ;for bin/env
- glib eudev libgudev))
+ (list bash-minimal ;for umockdev-wrapper
+ coreutils-minimal ;for bin/env
+ eudev
+ glib
+ libgudev
+ libpcap))
(home-page "https://github.com/martinpitt/umockdev/")
(synopsis "Mock hardware devices for creating unit tests")
(description "umockdev mocks hardware devices for creating integration
- 13/181: gnu: gcr: Update to 3.41.1, delete trailing #t and input labels., (continued)
- 13/181: gnu: gcr: Update to 3.41.1, delete trailing #t and input labels., guix-commits, 2022/09/13
- 11/181: gnu: Add gi-docgen., guix-commits, 2022/09/13
- 18/181: gnu: libqmi: Update to 1.30.8., guix-commits, 2022/09/13
- 16/181: gnu: libhandy: Update to 1.7.90., guix-commits, 2022/09/13
- 19/181: gnu: modem-manager: Update to 1.18.10 and remove input labels., guix-commits, 2022/09/13
- 20/181: gnu: geoclue: Update to 2.6.0 and remove input labels., guix-commits, 2022/09/13
- 24/181: gnu: Add gsettings-desktop-schemas-next., guix-commits, 2022/09/13
- 25/181: gnu: gnome-settings-daemon: Update to 42.2., guix-commits, 2022/09/13
- 21/181: gnu: geocode-glib: Update to 3.26.4 and build with libsoup 3., guix-commits, 2022/09/13
- 23/181: gnu: network-manager: Update to 1.40.0, use gexps and remove input labels., guix-commits, 2022/09/13
- 26/181: gnu: umockdev: Update to 0.17.13.,
guix-commits <=
- 14/181: gnu: Add python-libevdev., guix-commits, 2022/09/13
- 38/181: gnu: accountsservice: Propagate glib., guix-commits, 2022/09/13
- 32/181: gnu: ibus: Update to 1.5.27, use gexps and remove input labels., guix-commits, 2022/09/13
- 37/181: gnu: mutter: Update to 42.4, use gexps and remove input labels., guix-commits, 2022/09/13
- 33/181: gnu: evolution-data-server: Update to 3.44.4 and remove input labels., guix-commits, 2022/09/13
- 40/181: gnu: gdm: Use gexps and new style inputs., guix-commits, 2022/09/13
- 46/181: gnu: gjs: Update to 1.72.2., guix-commits, 2022/09/13
- 17/181: gnu: baobab: Update to 42.0 and delete input labels., guix-commits, 2022/09/13
- 36/181: gnu: Add wayland-protocols-next., guix-commits, 2022/09/13
- 35/181: gnu: pipewire-0.3: Update to 0.3.56 and use gexps., guix-commits, 2022/09/13