guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: Revert "gnu: openexr: Add IlmBase include sub-directory to 'OpenE


From: Ludovic Courtès
Subject: 01/06: Revert "gnu: openexr: Add IlmBase include sub-directory to 'OpenEXR.pc'."
Date: Wed, 5 Apr 2017 16:56:39 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 79f912c7106131f4179c727583d33500271361cd
Author: Ludovic Courtès <address@hidden>
Date:   Wed Apr 5 09:40:08 2017 +0200

    Revert "gnu: openexr: Add IlmBase include sub-directory to 'OpenEXR.pc'."
    
    This reverts commit 01fe019166fe8a925b3bf3b489792b52b1b6ca7a,
    which was unneeded because IlmBase is already listed as 'Requires'
    in 'OpenEXR.pc'.
---
 gnu/packages/graphics.scm | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 79c7772..a502f24 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015, 2016, 2017 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2015 Tomáš Čech <address@hidden>
 ;;; Copyright © 2016 Leo Famulari <address@hidden>
 ;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
@@ -256,20 +256,6 @@ exception-handling library.")
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'set-ilmbase-directory-in-pc-file
-           (lambda* (#:key inputs #:allow-other-keys)
-             ;; Add '-I ILMBASE/include/OpenEXR' to 'OpenEXR.pc' since some of
-             ;; the headers of OpenEXR expect IlmBase headers to live in the
-             ;; same directory.  Unfortunately this doesn't help much because
-             ;; 'FindOpenEXR.cmake' doesn't read 'OpenEXR.pc'...
-             (let ((ilmbase (assoc-ref inputs "ilmbase")))
-               (substitute* "OpenEXR.pc.in"
-                 (("^Cflags: (.*)$" _ cflags)
-                  (string-append "Cflags: "
-                                 " -I" ilmbase "/include"
-                                 " -I" ilmbase "/include/OpenEXR "
-                                 cflags "\n")))
-               #t)))
          (add-after 'unpack 'disable-broken-test
            ;; This test fails on i686. Upstream developers suggest that
            ;; this test is broken on i686 and can be safely disabled:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]