diff options
Diffstat (limited to 'gnu/packages/graphics.scm')
| -rw-r--r-- | gnu/packages/graphics.scm | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index ca99cd0302d..f6298ce394f 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | ;;; Copyright © 2015 Tomáš Čech <sleep_walker@gnu.org> | 3 | ;;; Copyright © 2015 Tomáš Čech <sleep_walker@gnu.org> |
| 4 | ;;; Copyright © 2016 Leo Famulari <leo@famulari.name> | 4 | ;;; Copyright © 2016 Leo Famulari <leo@famulari.name> |
| 5 | ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> | 5 | ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net> |
| 6 | ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il> | ||
| 6 | ;;; | 7 | ;;; |
| 7 | ;;; This file is part of GNU Guix. | 8 | ;;; This file is part of GNU Guix. |
| 8 | ;;; | 9 | ;;; |
| @@ -139,15 +140,15 @@ application can be customized via its API for Python scripting.") | |||
| 139 | (define-public cgal | 140 | (define-public cgal |
| 140 | (package | 141 | (package |
| 141 | (name "cgal") | 142 | (name "cgal") |
| 142 | (version "4.6.3") | 143 | (version "4.8.1") |
| 143 | (source (origin | 144 | (source (origin |
| 144 | (method url-fetch) | 145 | (method url-fetch) |
| 145 | (uri (string-append | 146 | (uri (string-append |
| 146 | "http://gforge.inria.fr/frs/download.php/file/" | 147 | "https://github.com/CGAL/cgal/releases/download/releases/" |
| 147 | "35139/CGAL-4.6.3.tar.xz")) | 148 | "CGAL-" version "/CGAL-" version ".tar.xz")) |
| 148 | (sha256 | 149 | (sha256 |
| 149 | (base32 | 150 | (base32 |
| 150 | "08gwjjh0qz3fakj1y2nsl2qvb0qv5lc7k1pxwjkagh37hxxh4f73")))) | 151 | "1c41yzl2jg3d6zx5k0iccwqwibp950q7dr7z7pp4xi9wlph3c87s")))) |
| 151 | (build-system cmake-build-system) | 152 | (build-system cmake-build-system) |
| 152 | (arguments | 153 | (arguments |
| 153 | '(;; "RelWithDebInfo" is not supported. | 154 | '(;; "RelWithDebInfo" is not supported. |
| @@ -211,9 +212,17 @@ exception-handling library.") | |||
| 211 | "0ca2j526n4wlamrxb85y2jrgcv0gf21b3a19rr0gh4rjqkv1581n")) | 212 | "0ca2j526n4wlamrxb85y2jrgcv0gf21b3a19rr0gh4rjqkv1581n")) |
| 212 | (modules '((guix build utils))) | 213 | (modules '((guix build utils))) |
| 213 | (snippet | 214 | (snippet |
| 214 | '(substitute* (find-files "." "tmpDir\\.h") | 215 | '(begin |
| 215 | (("\"/var/tmp/\"") | 216 | (substitute* (find-files "." "tmpDir\\.h") |
| 216 | "\"/tmp/\""))) | 217 | (("\"/var/tmp/\"") |
| 218 | "\"/tmp/\"")) | ||
| 219 | |||
| 220 | ;; Install 'ImfStdIO.h'. Reported at | ||
| 221 | ;; <https://lists.nongnu.org/archive/html/openexr-devel/2016-06/msg00001.html> | ||
| 222 | ;; and <https://github.com/openexr/openexr/pull/184>. | ||
| 223 | (substitute* "IlmImf/Makefile.in" | ||
| 224 | (("ImfIO\\.h") | ||
| 225 | "ImfIO.h ImfStdIO.h")))) | ||
| 217 | (patches (search-patches "openexr-missing-samples.patch")))) | 226 | (patches (search-patches "openexr-missing-samples.patch")))) |
| 218 | (build-system gnu-build-system) | 227 | (build-system gnu-build-system) |
| 219 | (arguments | 228 | (arguments |
| @@ -246,7 +255,7 @@ storage of the \"EXR\" file format for storing 16-bit floating-point images.") | |||
| 246 | (define-public openimageio | 255 | (define-public openimageio |
| 247 | (package | 256 | (package |
| 248 | (name "openimageio") | 257 | (name "openimageio") |
| 249 | (version "1.5.18") | 258 | (version "1.6.15") |
| 250 | (source (origin | 259 | (source (origin |
| 251 | (method url-fetch) | 260 | (method url-fetch) |
| 252 | (uri (string-append "https://github.com/OpenImageIO/oiio/" | 261 | (uri (string-append "https://github.com/OpenImageIO/oiio/" |
| @@ -254,8 +263,7 @@ storage of the \"EXR\" file format for storing 16-bit floating-point images.") | |||
| 254 | (file-name (string-append name "-" version ".tar.gz")) | 263 | (file-name (string-append name "-" version ".tar.gz")) |
| 255 | (sha256 | 264 | (sha256 |
| 256 | (base32 | 265 | (base32 |
| 257 | "0mn7cz19mn8dcrhkq15h25gl20ammr1wz0j2j3c2vxs6ph7zn8jy")) | 266 | "144crq0205d0w5aq4iglh2rhzf54a8rv3pksy6d533b75w5d7rq7")))) |
| 258 | (patches (search-patches "openimageio-boost-1.60.patch")))) | ||
| 259 | (build-system cmake-build-system) | 267 | (build-system cmake-build-system) |
| 260 | ;; FIXME: To run all tests successfully, test image sets from multiple | 268 | ;; FIXME: To run all tests successfully, test image sets from multiple |
| 261 | ;; third party sources have to be present. For details see | 269 | ;; third party sources have to be present. For details see |
