From ced7cc92d7df106244d9df540f0f7b81744f1a8c Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 4 Sep 2015 21:19:51 +0200 Subject: gnu: vigra: Add support for OpenEXR. * gnu/packages/image.scm (vigra)[inputs]: Add ilmbase and openexr. [arguments]: Augment #:configure-flags. --- gnu/packages/image.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'gnu/packages/image.scm') diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 84f03967a7..2e274953cd 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -31,6 +31,7 @@ #:use-module (gnu packages fontutils) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) + #:use-module (gnu packages graphics) #:use-module (gnu packages maths) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) @@ -525,9 +526,12 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") ("fftw" ,fftw) ("fftwf" ,fftwf) ("hdf5" ,hdf5) + ("ilmbase" ,ilmbase) ; propagated by openexr, but needed explicitly + ; to create a configure-flag ("libjpeg" ,libjpeg) ("libpng" ,libpng) ("libtiff" ,libtiff) + ("openexr" ,openexr) ("python" ,python-2) ; print syntax ("python2-numpy" ,python2-numpy) ("zlib" ,zlib))) @@ -541,7 +545,15 @@ graphics image formats like PNG, BMP, JPEG, TIFF and others.") (list "-Wno-dev" ; suppress developer mode with lots of warnings (string-append "-DVIGRANUMPY_INSTALL_DIR=" (assoc-ref %outputs "out") - "/lib/python2.7/site-packages")))) + "/lib/python2.7/site-packages") + ;; OpenEXR is not enabled by default. + "-DWITH_OPENEXR=1" + ;; The header files of ilmbase are not found when included + ;; by the header files of openexr, and an explicit flag + ;; needs to be set. + (string-append "-DCMAKE_CXX_FLAGS=-I" + (assoc-ref %build-inputs "ilmbase") + "/include/OpenEXR")))) (synopsis "Computer vision library") (description "VIGRA stands for Vision with Generic Algorithms. It is an image -- cgit v1.2.3 From 6376ed4a3435c74a68c14edddf31f3125141fcf5 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 4 Sep 2015 21:50:14 +0200 Subject: gnu: libtiff: Update home page. * gnu/packages/image.scm (libtiff)[home-page]: Update. --- gnu/packages/image.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/image.scm') diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm index 2e274953cd..1ba281205c 100644 --- a/gnu/packages/image.scm +++ b/gnu/packages/image.scm @@ -150,7 +150,7 @@ Included are a library, libtiff, for reading and writing TIFF and a small collection of tools for doing simple manipulations of TIFF images.") (license (license:non-copyleft "file://COPYRIGHT" "See COPYRIGHT in the distribution.")) - (home-page "http://www.libtiff.org/"))) + (home-page "http://www.remotesensing.org/libtiff/"))) (define-public libwmf (package -- cgit v1.2.3