gnu: jasper: Update to 2.0.20 [fixes CVE-2016-9398's revenge].
* gnu/packages/image.scm (jasper): Update to 2.0.20. [arguments]: Skip tests of the now-disabled MIF image format.
This commit is contained in:
parent
ce4a497b13
commit
1e58798bc4
1 changed files with 14 additions and 2 deletions
|
@ -1409,7 +1409,7 @@ convert, manipulate, filter and display a wide variety of image formats.")
|
||||||
(define-public jasper
|
(define-public jasper
|
||||||
(package
|
(package
|
||||||
(name "jasper")
|
(name "jasper")
|
||||||
(version "2.0.19")
|
(version "2.0.20")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1418,8 +1418,20 @@ convert, manipulate, filter and display a wide variety of image formats.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"036rcr0wkz9gzmvk1jb96piznk0c0bwxgf31z1zrlg8js4zl1n84"))))
|
"1bn4mg6l5afryrlyk3y7p3accdq113fis8hpwywy5g51ycablz3h"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'disable-checking-disabled-things
|
||||||
|
(lambda _
|
||||||
|
;; The MIF codec was disabled for security reasons in JasPer 2.0.20
|
||||||
|
;; but its test suite still assumes that the format is supported.
|
||||||
|
(for-each delete-file
|
||||||
|
(find-files "data/test" "\\.mif$")) ; for run_test_1
|
||||||
|
(substitute* "test/bin/run_test_2"
|
||||||
|
(("image_formats\\+=\\(mif\\)") ""))
|
||||||
|
#t)))))
|
||||||
(inputs `(("libjpeg" ,libjpeg-turbo)))
|
(inputs `(("libjpeg" ,libjpeg-turbo)))
|
||||||
(synopsis "JPEG-2000 library")
|
(synopsis "JPEG-2000 library")
|
||||||
(description "The JasPer Project is an initiative to provide a reference
|
(description "The JasPer Project is an initiative to provide a reference
|
||||||
|
|
Reference in a new issue