[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: imv: Record the absolute file name of 'imv-x11' and 'imv-way
From: |
guix-commits |
Subject: |
10/11: gnu: imv: Record the absolute file name of 'imv-x11' and 'imv-wayland'. |
Date: |
Fri, 17 Jan 2020 08:25:48 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 51c8777095ee8863943432cc71a63b6fa6c5b8c0
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Jan 17 14:21:33 2020 +0100
gnu: imv: Record the absolute file name of 'imv-x11' and 'imv-wayland'.
* gnu/packages/image-viewers.scm (imv)[arguments]: Add
'record-absolute-file-names' phase.
---
gnu/packages/image-viewers.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 9397322..935cecd 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2017, 2018, 2019 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2017, 2018, 2019, 2020 Ludovic Courtès <address@hidden>
;;; Copyright © 2014 Ian Denhardt <address@hidden>
;;; Copyright © 2015, 2016 Alex Kost <address@hidden>
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <address@hidden>
@@ -548,7 +548,17 @@ displayed in a terminal.")
(arguments
'(#:phases
(modify-phases %standard-phases
- (delete 'configure))
+ (delete 'configure)
+ (add-after 'install 'record-absolute-file-names
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; 'imv' is a script that execs 'imv-x11' or 'imv-wayland'.
+ ;; Record their absolute file name.
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (substitute* (string-append bin "/imv")
+ (("imv-")
+ (string-append bin "/imv-")))
+ #t))))
#:make-flags
(list "CC=gcc"
(string-append "PREFIX=" (assoc-ref %outputs "out"))
- branch master updated (df18ea6 -> 05f8a14), guix-commits, 2020/01/17
- 01/11: packages: Prevent inlining of 'find-best-packages-by-name'., guix-commits, 2020/01/17
- 02/11: lint: derivation: Adjust exception handling for Guile 3., guix-commits, 2020/01/17
- 03/11: lint: vulnerabilities: Avoid 'mock' in test., guix-commits, 2020/01/17
- 04/11: doc: cookbook: Avoid URL reference to the manual., guix-commits, 2020/01/17
- 05/11: doc: Replace some invalid uses of @var with @code., guix-commits, 2020/01/17
- 06/11: import: opam: Avoid uses of '@@' in tests., guix-commits, 2020/01/17
- 09/11: gnu: Add imv., guix-commits, 2020/01/17
- 11/11: git-authenticate: Add new key for atheia., guix-commits, 2020/01/17
- 10/11: gnu: imv: Record the absolute file name of 'imv-x11' and 'imv-wayland'.,
guix-commits <=
- 07/11: import: texlive: Avoid uses of '@@' in tests., guix-commits, 2020/01/17
- 08/11: gnu: Add corsix-th., guix-commits, 2020/01/17