gnu: qpdf: Update to 8.1.0.

* gnu/packages/pdf.scm (qpdf): Update to 8.1.0.
[inputs]: Move ZLIB ...
[propagated-inputs]: ... here.  Add LIBJPEG-TURBO.  Remove PCRE.
[license]: Add ASL2.0.
This commit is contained in:
Marius Bakke 2018-07-02 11:20:26 +02:00
parent 9761aca95c
commit e9a9298b9e
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 6 deletions

View File

@ -678,14 +678,14 @@ line tools for batch rendering @command{pdfdraw}, rewriting files
(define-public qpdf (define-public qpdf
(package (package
(name "qpdf") (name "qpdf")
(version "6.0.0") (version "8.1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://sourceforge/qpdf/qpdf/" version (uri (string-append "mirror://sourceforge/qpdf/qpdf/" version
"/qpdf-" version ".tar.gz")) "/qpdf-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0csj2p2gkxrc0rk8ykymlsdgfas96vzf1dip3y1x7z1q9plwgzd9")) "1m3hcgip6bzjx4gd7wq1328p8zi3pq5savzncdyln6l0lcklh7vx"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; Replace shebang with the bi-lingual shell/Perl trick to remove ;; Replace shebang with the bi-lingual shell/Perl trick to remove
@ -717,9 +717,9 @@ eval '(exit $?0)' && eval 'exec perl -wS \"$0\" ${1+\"$@\"}'
`(("pkg-config" ,pkg-config) `(("pkg-config" ,pkg-config)
("perl" ,perl))) ("perl" ,perl)))
(propagated-inputs (propagated-inputs
`(("pcre" ,pcre))) ;; In Requires.private of libqpdf.pc.
(inputs `(("libjpeg-turbo" ,libjpeg-turbo)
`(("zlib" ,zlib))) ("zlib" ,zlib)))
(synopsis "Command-line tools and library for transforming PDF files") (synopsis "Command-line tools and library for transforming PDF files")
(description (description
"QPDF is a command-line program that does structural, content-preserving "QPDF is a command-line program that does structural, content-preserving
@ -727,7 +727,9 @@ transformations on PDF files. It could have been called something like
pdf-to-pdf. It includes support for merging and splitting PDFs and to pdf-to-pdf. It includes support for merging and splitting PDFs and to
manipulate the list of pages in a PDF file. It is not a PDF viewer or a manipulate the list of pages in a PDF file. It is not a PDF viewer or a
program capable of converting PDF into other formats.") program capable of converting PDF into other formats.")
(license license:clarified-artistic) ;; Prior to the 7.0 release, QPDF was licensed under Artistic 2.0.
;; Users can still choose to use the old license at their option.
(license (list license:asl2.0 license:clarified-artistic))
(home-page "http://qpdf.sourceforge.net/"))) (home-page "http://qpdf.sourceforge.net/")))
(define-public xournal (define-public xournal