diff options
Diffstat (limited to 'gnu/packages/cups.scm')
-rw-r--r-- | gnu/packages/cups.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index b77fb20781..fdd9e80bd4 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -57,7 +57,7 @@ (define-public cups-filters (package (name "cups-filters") - (version "1.21.5") + (version "1.22.2") (source(origin (method url-fetch) (uri @@ -65,7 +65,7 @@ "cups-filters-" version ".tar.xz")) (sha256 (base32 - "0azq9j7kqy18g6vgmvrbw8i4mcqdp3cbgh7q79x1b8p92w4si6rq")) + "06gy3wv6p7kswz3mjn17f17mqpadvqj2riwc42kksnvp8x0h08cw")) (modules '((guix build utils))) (snippet ;; install backends, banners and filters to cups-filters output @@ -123,6 +123,12 @@ (("/usr/local/lib/cups/filter") (string-append out "/lib/cups/filter"))) #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 (lambda* (#:key inputs outputs #:allow-other-keys) ;; Some filters expect to find 'gs' in $PATH. We cannot |