diff options
| author | Marius Bakke <mbakke@fastmail.com> | 2018-09-01 15:15:26 +0200 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2018-09-03 18:58:47 +0200 |
| commit | fcde1d27bb668f3a5972b31031bdb19f5d8ef68e (patch) | |
| tree | 579bbed5056cb508967504f45d0cd0fe3bb5dda5 /gnu | |
| parent | 1ae2c577a6c79ac2914e268ffca89459b196dcb2 (diff) | |
gnu: openexr: Update to 2.3.0.
* gnu/packages/graphics.scm (openexr): Update to 2.3.0.
[source](uri): Change to new download location.
[source](snippet): Remove workaround.
[source](patches): Remove.
* gnu/packages/patches/openexr-missing-samples.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/graphics.scm | 17 | ||||
| -rw-r--r-- | gnu/packages/patches/openexr-missing-samples.patch | 23 |
3 files changed, 5 insertions, 36 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index d929ec0da8f..1924ae94674 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1000,7 +1000,6 @@ dist_patch_DATA = \ | |||
| 1000 | %D%/packages/patches/ola-readdir-r.patch \ | 1000 | %D%/packages/patches/ola-readdir-r.patch \ |
| 1001 | %D%/packages/patches/openbabel-fix-crash-on-nwchem-output.patch \ | 1001 | %D%/packages/patches/openbabel-fix-crash-on-nwchem-output.patch \ |
| 1002 | %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ | 1002 | %D%/packages/patches/opencascade-oce-glibc-2.26.patch \ |
| 1003 | %D%/packages/patches/openexr-missing-samples.patch \ | ||
| 1004 | %D%/packages/patches/openfoam-4.1-cleanup.patch \ | 1003 | %D%/packages/patches/openfoam-4.1-cleanup.patch \ |
| 1005 | %D%/packages/patches/openldap-CVE-2017-9287.patch \ | 1004 | %D%/packages/patches/openldap-CVE-2017-9287.patch \ |
| 1006 | %D%/packages/patches/openocd-nrf52.patch \ | 1005 | %D%/packages/patches/openocd-nrf52.patch \ |
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index e5ec318e1ba..9c2869c12b2 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm | |||
| @@ -320,29 +320,22 @@ graphics.") | |||
| 320 | (define-public openexr | 320 | (define-public openexr |
| 321 | (package | 321 | (package |
| 322 | (name "openexr") | 322 | (name "openexr") |
| 323 | (version "2.2.1") | 323 | (version "2.3.0") |
| 324 | (source (origin | 324 | (source (origin |
| 325 | (method url-fetch) | 325 | (method url-fetch) |
| 326 | (uri (string-append "mirror://savannah/openexr/openexr-" | 326 | (uri (string-append "https://github.com/openexr/openexr/releases" |
| 327 | "/download/v" version "/openexr-" | ||
| 327 | version ".tar.gz")) | 328 | version ".tar.gz")) |
| 328 | (sha256 | 329 | (sha256 |
| 329 | (base32 | 330 | (base32 |
| 330 | "1kdf2gqznsdinbd5vcmqnif442nyhdf9l7ckc51410qm2gv5m6lg")) | 331 | "19jywbs9qjvsbkvlvzayzi81s976k53wg53vw4xj66lcgylb6v7x")) |
| 331 | (modules '((guix build utils))) | 332 | (modules '((guix build utils))) |
| 332 | (snippet | 333 | (snippet |
| 333 | '(begin | 334 | '(begin |
| 334 | (substitute* (find-files "." "tmpDir\\.h") | 335 | (substitute* (find-files "." "tmpDir\\.h") |
| 335 | (("\"/var/tmp/\"") | 336 | (("\"/var/tmp/\"") |
| 336 | "\"/tmp/\"")) | 337 | "\"/tmp/\"")) |
| 337 | 338 | #t)))) | |
| 338 | ;; Install 'ImfStdIO.h'. Reported at | ||
| 339 | ;; <https://lists.nongnu.org/archive/html/openexr-devel/2016-06/msg00001.html> | ||
| 340 | ;; and <https://github.com/openexr/openexr/pull/184>. | ||
| 341 | (substitute* "IlmImf/Makefile.in" | ||
| 342 | (("ImfIO\\.h") | ||
| 343 | "ImfIO.h ImfStdIO.h")) | ||
| 344 | #t)) | ||
| 345 | (patches (search-patches "openexr-missing-samples.patch")))) | ||
| 346 | (build-system gnu-build-system) | 339 | (build-system gnu-build-system) |
| 347 | (arguments | 340 | (arguments |
| 348 | '(#:phases | 341 | '(#:phases |
diff --git a/gnu/packages/patches/openexr-missing-samples.patch b/gnu/packages/patches/openexr-missing-samples.patch deleted file mode 100644 index 16cc9bb625e..00000000000 --- a/gnu/packages/patches/openexr-missing-samples.patch +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | This patch comments out tests that rely on files that are missing | ||
| 2 | from the source tarball. | ||
| 3 | |||
| 4 | --- openexr-2.2.0/IlmImfTest/testSampleImages.cpp 2015-02-25 16:19:21.565105625 +0100 | ||
| 5 | +++ openexr-2.2.0/IlmImfTest/testSampleImages.cpp 2015-02-25 16:21:46.394128206 +0100 | ||
| 6 | @@ -162,16 +162,6 @@ testSampleImages (const std::string&) | ||
| 7 | compareImages (ILM_IMF_TEST_IMAGEDIR "comp_b44.exr", | ||
| 8 | ILM_IMF_TEST_IMAGEDIR "comp_b44_piz.exr"); | ||
| 9 | |||
| 10 | - compareImages (ILM_IMF_TEST_IMAGEDIR "comp_dwaa_v1.exr", | ||
| 11 | - ILM_IMF_TEST_IMAGEDIR "comp_dwaa_piz.exr"); | ||
| 12 | - compareImages (ILM_IMF_TEST_IMAGEDIR "comp_dwaa_v2.exr", | ||
| 13 | - ILM_IMF_TEST_IMAGEDIR "comp_dwaa_piz.exr"); | ||
| 14 | - | ||
| 15 | - compareImages (ILM_IMF_TEST_IMAGEDIR "comp_dwab_v1.exr", | ||
| 16 | - ILM_IMF_TEST_IMAGEDIR "comp_dwab_piz.exr"); | ||
| 17 | - compareImages (ILM_IMF_TEST_IMAGEDIR "comp_dwab_v2.exr", | ||
| 18 | - ILM_IMF_TEST_IMAGEDIR "comp_dwab_piz.exr"); | ||
| 19 | - | ||
| 20 | |||
| 21 | cout << "ok\n" << endl; | ||
| 22 | } | ||
| 23 | |||
