me
/
guix
Archived
1
0
Fork 0

gnu: qpdf: Update to 10.5.0.

* gnu/packages/pdf.scm (qpdf): Update to 10.5.0.
[arguments]<#:phases>: Use G-expression.
master
Nicolas Goaziou 2022-01-25 11:58:54 +01:00
parent 9bf69d38aa
commit bca1157e47
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 38 additions and 36 deletions

View File

@ -17,7 +17,7 @@
;;; Copyright © 2019 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2019 Ben Sturmfels <ben@sturm.com.au>
;;; Copyright © 2019,2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020-2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@ -42,6 +42,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
@ -778,31 +779,32 @@ line tools for batch rendering @command{pdfdraw}, rewriting files
(define-public qpdf
(package
(name "qpdf")
(version "10.0.1")
(version "10.5.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/qpdf/qpdf/" version
"/qpdf-" version ".tar.gz"))
(sha256
(base32
"0yw2cpw7ygfd6jlgpwbi8vsnvv9p55zxp9h17x77z2qq733pf8jx"))))
"01p07hh74j1ajb2dhjdfhqbc3bwwvlj86j3r505wbmaglhv7s9c8"))))
(build-system gnu-build-system)
(arguments
`(#:disallowed-references (,perl)
(list
#:disallowed-references (list perl)
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(add-before 'configure 'patch-paths
(lambda _
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "make/libtool.mk"
(("SHELL=/bin/bash")
(string-append "SHELL=" (which "bash"))))
(substitute* (append
'("qtest/bin/qtest-driver")
(string-append "SHELL="
(search-input-file inputs "/bin/bash"))))
(substitute*
(append '("qtest/bin/qtest-driver")
(find-files "." "\\.test"))
(("/usr/bin/env") (which "env")))
#t)))))
(("/usr/bin/env") (which "env"))))))))
(native-inputs
(list pkg-config perl))
(list perl pkg-config))
(propagated-inputs
;; In Requires.private of libqpdf.pc.
(list libjpeg-turbo zlib))