gnu: poppler: Update to 0.62.0.

* gnu/packages/pdf.scm (poppler): Update to 0.62.0.
[build-system]: Change to CMAKE-BUILD-SYSTEM.
[arguments]<#:configure-flags>: Adjust accordingly.
(poppler-qt5)[arguments]: Remove.
This commit is contained in:
Marius Bakke 2017-12-10 18:48:42 +01:00
parent 301804d674
commit 1b82170192
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 9 additions and 12 deletions

View File

@ -77,15 +77,15 @@
(define-public poppler (define-public poppler
(package (package
(name "poppler") (name "poppler")
(version "0.59.0") (version "0.62.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://poppler.freedesktop.org/poppler-" (uri (string-append "https://poppler.freedesktop.org/poppler-"
version ".tar.xz")) version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0hcnghliyr8pr887qza18qfgaclw5jr889g1cjcglkni9jr2dmm3")))) "1ii9ly1pngyvs0aiq2wxpya08hidpl54y7nsb8b1vxnnskgp76jv"))))
(build-system gnu-build-system) (build-system cmake-build-system)
;; FIXME: ;; FIXME:
;; use libcurl: no ;; use libcurl: no
(inputs `(("fontconfig" ,fontconfig) (inputs `(("fontconfig" ,fontconfig)
@ -110,11 +110,12 @@
(arguments (arguments
`(#:tests? #f ; no test data provided with the tarball `(#:tests? #f ; no test data provided with the tarball
#:configure-flags #:configure-flags
'("--enable-xpdf-headers" ; to install header files (let* ((out (assoc-ref %outputs "out"))
"--enable-zlib" (lib (string-append out "/lib")))
(list "-DENABLE_XPDF_HEADERS=ON" ; to install header files
;; Saves 8 MiB of .a files. "-DENABLE_ZLIB=ON"
"--disable-static"))) (string-append "-DCMAKE_INSTALL_LIBDIR=" lib)
(string-append "-DCMAKE_INSTALL_RPATH=" lib)))))
(synopsis "PDF rendering library") (synopsis "PDF rendering library")
(description (description
"Poppler is a PDF rendering library based on the xpdf-3.0 code base.") "Poppler is a PDF rendering library based on the xpdf-3.0 code base.")
@ -133,10 +134,6 @@
(name "poppler-qt5") (name "poppler-qt5")
(inputs `(("qtbase" ,qtbase) (inputs `(("qtbase" ,qtbase)
,@(package-inputs poppler))) ,@(package-inputs poppler)))
(arguments
(substitute-keyword-arguments (package-arguments poppler)
((#:configure-flags flags)
`(cons "CXXFLAGS=-std=gnu++11" ,flags))))
(synopsis "Qt5 frontend for the Poppler PDF rendering library"))) (synopsis "Qt5 frontend for the Poppler PDF rendering library")))
(define-public python-poppler-qt4 (define-public python-poppler-qt4