[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/14: gnu: luminance-hdr: Fix compilation.
From: |
guix-commits |
Subject: |
05/14: gnu: luminance-hdr: Fix compilation. |
Date: |
Wed, 2 Feb 2022 12:43:36 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit bbc26afd6198a55109589ed6477f13f1bcea1898
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Feb 2 17:54:44 2022 +0100
gnu: luminance-hdr: Fix compilation.
Reported by Leo Famulari <leo@famulari.name>.
* gnu/packages/image-viewers.scm (luminance-hdr)[arguments]: In
'add-ilmbase-include-path' phase, set C_INCLUDE_PATH and be more
specific about the include directory searched for.
---
gnu/packages/image-viewers.scm | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 87dffbb93d..aac27b6703 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, 2020, 2021 Ludovic Courtès
<ludo@gnu.org>
+;;; Copyright © 2013, 2017-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner
<efraim@flashner.co.il>
@@ -631,11 +631,12 @@ It supports JPEG, PNG and GIF formats.")
(lambda* (#:key inputs #:allow-other-keys)
;; 'OpenEXR.pc' has a -I for IlmBase but 'FindOpenEXR.cmake' does
;; not use 'OpenEXR.pc'. Thus, we need to add
- ;; "$ilmbase/include/OpenEXR/" to the CPATH.
- (setenv "CPATH"
+ ;; "$ilmbase/include/OpenEXR/" to the CPLUS_INCLUDE_PATH.
+ (setenv "CPLUS_INCLUDE_PATH"
(string-append
- (search-input-directory inputs "include/OpenEXR")
- ":" (or (getenv "CPATH") ""))))))))
+ (dirname
+ (search-input-file inputs
"include/OpenEXR/ImathInt64.h"))
+ ":" (or (getenv "CPLUS_INCLUDE_PATH") ""))))))))
(home-page "http://qtpfsgui.sourceforge.net")
(synopsis "High dynamic range (HDR) imaging application")
(description
- branch master updated (4943ac86e4 -> 9408a4edcb), guix-commits, 2022/02/02
- 05/14: gnu: luminance-hdr: Fix compilation.,
guix-commits <=
- 07/14: gnu: Add python-types-dataclasses., guix-commits, 2022/02/02
- 10/14: gnu: oil: Update to 0.9.7., guix-commits, 2022/02/02
- 08/14: gnu: openttd: Update to 12.1., guix-commits, 2022/02/02
- 11/14: gnu: rr: Update to 5.5.0., guix-commits, 2022/02/02
- 02/14: gnu: perf: Remove input labels., guix-commits, 2022/02/02
- 04/14: import: pypi: Display a hint upon "no source release" errors., guix-commits, 2022/02/02
- 06/14: gnu: luminance-hdr: Remove input labels., guix-commits, 2022/02/02
- 01/14: gnu: perf: Help 'perf report --symfs' find separate debug info files., guix-commits, 2022/02/02
- 03/14: import: pypi: Use 'with-error-handling'., guix-commits, 2022/02/02
- 12/14: gnu: cgdb: Update to 0.8.0., guix-commits, 2022/02/02