Archived
1
0
Fork 0

gnu: cups-filters: Update to 1.27.4.

* gnu/packages/cups.scm (cups-filters): Update to 1.27.4.
[arguments]: Remove obsolete patch-for-poppler phase.
This commit is contained in:
Marius Bakke 2020-05-14 23:03:41 +02:00 committed by Marius Bakke
parent e634d95947
commit c96bb2e3dc
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -59,7 +59,7 @@
(define-public cups-filters (define-public cups-filters
(package (package
(name "cups-filters") (name "cups-filters")
(version "1.27.1") (version "1.27.4")
(source(origin (source(origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -67,7 +67,7 @@
"cups-filters-" version ".tar.xz")) "cups-filters-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"0dpn4rkmrdprkhlnpih5dzrn4fxzj20k42d516kx4qx0g5l74lrm")) "110b1xhb5vfpcx0zq9kkas7pj281skx5dpnnr22idx509jfdzj8b"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; install backends, banners and filters to cups-filters output ;; install backends, banners and filters to cups-filters output
@ -125,12 +125,6 @@
(("/usr/local/lib/cups/filter") (("/usr/local/lib/cups/filter")
(string-append out "/lib/cups/filter"))) (string-append out "/lib/cups/filter")))
#t))) #t)))
(add-after 'unpack 'patch-for-poppler
(lambda _
(substitute* "filter/pdf.cxx"
(("GooString \\*field_name;" m)
(string-append "const " m)))
#t))
(add-after 'install 'wrap-filters (add-after 'install 'wrap-filters
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; Some filters expect to find 'gs' in $PATH. We cannot ;; Some filters expect to find 'gs' in $PATH. We cannot