summary refs log tree commit diff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-09-16 19:59:37 +0200
committerMarius Bakke <marius@gnu.org>2022-09-16 22:41:23 +0200
commit30fff95ee62f72e14cd4ac6257411034589482f7 (patch)
treee31a2737250a2e5302e8773d07a1c94857f45753 /gnu/packages/pdf.scm
parentc7966ba3ef63a303f243f5694b58a4d179460516 (diff)
downloadguix-30fff95ee62f72e14cd4ac6257411034589482f7.tar.gz
gnu: QPDF: Update to 11.1.0.
* gnu/packages/pdf.scm (qpdf): Update to 11.1.0.
[source](modules, snippet): Remove.
[build-system]: Change to CMAKE-BUILD-SYSTEM.
[arguments]: Add #:configure-flags.  Remove #:phases and
 #:disallowed-references.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm32
1 files changed, 4 insertions, 28 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 3580476e33..c18e7f7f62 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -845,41 +845,17 @@ line tools for batch rendering @command{pdfdraw}, rewriting files
 (define-public qpdf
   (package
     (name "qpdf")
-    (version "10.6.3")
+    (version "11.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://sourceforge/qpdf/qpdf/" version
                                   "/qpdf-" version ".tar.gz"))
               (sha256
                (base32
-                "049q94rzlcbdr09rvl8xfj3924mk7rfm35x8cg4nisl4lnr27z78"))
-              (modules '((guix build utils)))
-              (snippet
-               #~(begin
-                   ;; grep 3.8 emits a warning about 'egrep' being deprecated
-                   ;; which breaks some tests.  Adjust accordingly.
-                   ;; Try removing this for QPDF >= 11.
-                   (substitute* '("build-scripts/build-doc"
-                                  "qpdf/qtest/qpdf/diff-encrypted"
-                                  "qpdf/qtest/qpdf/diff-ignore-ID-version")
-                     (("egrep")
-                      "grep -E"))))))
-    (build-system gnu-build-system)
+                "0bg2d4585nxss2zakq105ibhzzsa1bhwpmr0k8752fg2qqxcz9rl"))))
+    (build-system cmake-build-system)
     (arguments
-     (list
-      #:disallowed-references (list perl)
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-before 'configure 'patch-paths
-            (lambda* (#:key inputs #:allow-other-keys)
-              (substitute* "make/libtool.mk"
-                (("SHELL=/bin/bash")
-                 (string-append "SHELL="
-                                (search-input-file inputs "/bin/bash"))))
-              (substitute*
-                  (append '("qtest/bin/qtest-driver")
-                      (find-files "." "\\.test"))
-                (("/usr/bin/env") (which "env"))))))))
+     (list #:configure-flags #~'("-DBUILD_STATIC_LIBS=OFF")))
     (native-inputs
      (list perl pkg-config))
     (propagated-inputs