[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/12: gnu: umockdev: Reference libumockdev by absolute path.
From: |
guix-commits |
Subject: |
10/12: gnu: umockdev: Reference libumockdev by absolute path. |
Date: |
Fri, 18 Feb 2022 08:15:59 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 4262919ea9db4d5723e1233146b523333ab2728f
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Feb 17 19:02:08 2022 +0000
gnu: umockdev: Reference libumockdev by absolute path.
* gnu/packages/check.scm
(umockdev)[arguments]<#:phases>{absolute-introspection-library}:
New phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/check.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 68a0ac7a84..058effab5c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2892,6 +2892,14 @@ provides a simple way to achieve this.")
(lambda _
(substitute* "tests/test-umockdev.c"
(("/run") "/tmp"))))
+ ;; 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")))))
(add-after 'install 'absolute-filenames
(lambda* (#:key inputs #:allow-other-keys)
;; 'patch-shebangs' will take care of the shebang.
- branch master updated (40d418b326 -> 33ce3f1c86), guix-commits, 2022/02/18
- 05/12: services: qemu-guest-agent: Fix implementation., guix-commits, 2022/02/18
- 02/12: packages: 'package-transitive-supported-systems' ignores '%current-target-system'., guix-commits, 2022/02/18
- 07/12: gnu: upower: Update to 0.99.15., guix-commits, 2022/02/18
- 06/12: gnu: upower: Make it auto-updatable., guix-commits, 2022/02/18
- 11/12: gnu: upower: Remove obsolete phase, guix-commits, 2022/02/18
- 08/12: gnu: umockdev: Use G-expressions., guix-commits, 2022/02/18
- 04/12: guix build: Warn when attempting to build an unsupported package., guix-commits, 2022/02/18
- 03/12: profiles: 'profile-derivation' rejects unsupported packages., guix-commits, 2022/02/18
- 01/12: doc: Typographical tweaks., guix-commits, 2022/02/18
- 10/12: gnu: umockdev: Reference libumockdev by absolute path.,
guix-commits <=
- 09/12: gnu: umockdev: Reference 'env' and 'sh' by absolute path., guix-commits, 2022/02/18
- 12/12: gnu: lsh: Build with optimizations., guix-commits, 2022/02/18