gnu: openjpeg: Upgrade to 2.1.0.

* gnu/packages/image.scm (openjpeg): Upgrade to 2.1.0.
  (openjpeg-2.0): New variable.
* gnu/packages/pdf.scm (mupdf)[inputs]: Use openjpeg-2.0.
This commit is contained in:
Eric Bavier 2015-02-02 13:02:47 -06:00
parent 288084d535
commit ca4077561f
2 changed files with 16 additions and 3 deletions

View File

@ -188,7 +188,7 @@ work.")
(define-public openjpeg (define-public openjpeg
(package (package
(name "openjpeg") (name "openjpeg")
(version "2.0.1") (version "2.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -196,7 +196,7 @@ work.")
(string-append "mirror://sourceforge/openjpeg.mirror/" name "-" (string-append "mirror://sourceforge/openjpeg.mirror/" name "-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 "1c2xc3nl2mg511b63rk7hrckmy14681p1m44mzw3n1fyqnjm0b0z")))) (base32 "00zzm303zvv4ijzancrsb1cqbph3pgz0nky92k9qx3fq9y0vnchj"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
;; Trying to run `$ make check' results in a no rule fault. ;; Trying to run `$ make check' results in a no rule fault.
@ -220,6 +220,19 @@ error-resilience, a Java-viewer for j2k-images, ...")
(home-page "https://code.google.com/p/openjpeg/") (home-page "https://code.google.com/p/openjpeg/")
(license license:bsd-2))) (license license:bsd-2)))
(define-public openjpeg-2.0
(package (inherit openjpeg)
(name "openjpeg")
(version "2.0.1")
(source
(origin
(method url-fetch)
(uri
(string-append "mirror://sourceforge/openjpeg.mirror/" name "-"
version ".tar.gz"))
(sha256
(base32 "1c2xc3nl2mg511b63rk7hrckmy14681p1m44mzw3n1fyqnjm0b0z"))))))
(define-public openjpeg-1 (define-public openjpeg-1
(package (inherit openjpeg) (package (inherit openjpeg)
(name "openjpeg") (name "openjpeg")

View File

@ -206,7 +206,7 @@ extracting content or merging files.")
("libjpeg" ,libjpeg) ("libjpeg" ,libjpeg)
("libx11" ,libx11) ("libx11" ,libx11)
("libxext" ,libxext) ("libxext" ,libxext)
("openjpeg" ,openjpeg) ("openjpeg" ,openjpeg-2.0)
("openssl" ,openssl) ("openssl" ,openssl)
("zlib" ,zlib))) ("zlib" ,zlib)))
(native-inputs (native-inputs