guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16/19: gnu: QPDF: Update to 11.1.0.


From: guix-commits
Subject: 16/19: gnu: QPDF: Update to 11.1.0.
Date: Fri, 16 Sep 2022 16:45:33 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 30fff95ee62f72e14cd4ac6257411034589482f7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Sep 16 19:59:37 2022 +0200

    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.
---
 gnu/packages/pdf.scm | 32 ++++----------------------------
 1 file 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]