summary refs log tree commit diff
path: root/gnu/packages/pretty-print.scm
diff options
context:
space:
mode:
authorAndy Tai <atai@atai.org>2023-04-03 12:31:04 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-04-03 13:09:58 +0200
commit637c5d8219e254e8ba1b37d092f1b082ff7ddeaa (patch)
tree1d0f1695c22c44dd72cae8420b43e02e4ae97e26 /gnu/packages/pretty-print.scm
parent2cf71e725d55bc5bf1ad663b7c696516299cc8a7 (diff)
downloadguix-637c5d8219e254e8ba1b37d092f1b082ff7ddeaa.tar.gz
gnu: a2ps: Update to 4.15.3.
* gnu/packages/pretty-print.scm (a2ps): Update to 4.15.3.
[inputs]: Add FILE, LIBGC, LIBPAPER. Re-order alphabetically.
[native-inputs]: Add PKG-CONFIG. Re-order alphabetically.
* gnu/packages/patches/a2ps-CVE-2001-1593.patch,
  gnu/packages/patches/a2ps-CVE-2014-0466.patch,
  gnu/packages/patches/a2ps-CVE-2015-8107.patch: Remove.
* gnu/local.mk (dist_patch_DATA): Remove entries above.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/pretty-print.scm')
-rw-r--r--gnu/packages/pretty-print.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm
index 7bc54c4a0b..365743261b 100644
--- a/gnu/packages/pretty-print.scm
+++ b/gnu/packages/pretty-print.scm
@@ -37,7 +37,9 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
+  #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gperf)
@@ -52,34 +54,29 @@
 (define-public a2ps
   (package
     (name "a2ps")
-    (version "4.14")
+    (version "4.15.3")
     (source (origin
               (method url-fetch)
               (uri (string-append "mirror://gnu/a2ps/a2ps-"
                                   version ".tar.gz"))
               (sha256
                (base32
-                "195k78m1h03m961qn7jr120z815iyb93gwi159p1p9348lyqvbpk"))
+                "1izpmbk3i66g8cn1bd3kdpk72vxn5ggy329xjvag5jsdxgh823nh"))
               (modules '((guix build utils)))
               (snippet
                ;; Remove timestamp from the installed 'README' file.
                '(begin
                   (substitute* "etc/README.in"
                     (("@date@")
-                     "1st of some month, sometime after 1970"))
-                  #t))
-              (patches (search-patches
-                        "a2ps-CVE-2001-1593.patch"
-                        "a2ps-CVE-2014-0466.patch"
-                        "a2ps-CVE-2015-8107.patch"))))
+                     "1st of some month, sometime after 1970"))))))
     (build-system gnu-build-system)
-    (inputs
-     (list psutils gv))
-    (native-inputs
-     (list gperf groff perl))
     (arguments
      '(#:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'skip-failing-tests
+           (lambda _
+             (substitute* (list "tests/Makefile.am" "tests/Makefile.in")
+               (("(encoding|prolog-2)\\.tst") ""))))
          (add-before 'build 'patch-scripts
            (lambda _
              (substitute*
@@ -108,6 +105,10 @@
                             "tests/gps-ref/psmandup.ps")
                (("#! */bin/sh") (string-append
                                  "#!" (which "sh")))))))))
+    (native-inputs
+     (list gperf groff perl pkg-config))
+    (inputs
+     (list file gv libgc libpaper psutils))
     (home-page "https://www.gnu.org/software/a2ps/")
     (synopsis "Any file to PostScript, including pretty-printing")
     (description