gnu: cups-filters: Update to 1.13.1.

* gnu/packages/cups.scm (cups-filters): Update to 1.13.1.
[inputs]: Switch libjpeg-8 to libjpeg.
[arguments]: Disable driverless printing, set location for bash shell.
This commit is contained in:
Efraim Flashner 2016-12-25 06:50:57 +02:00 committed by Mark H Weaver
parent b4c8c413ca
commit f8489f160b
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -51,7 +51,7 @@ (define ghostscript/cups
(define-public cups-filters
(package
(name "cups-filters")
(version "1.11.5")
(version "1.13.1")
(source(origin
(method url-fetch)
(uri
@ -59,7 +59,7 @@ (define-public cups-filters
"cups-filters-" version ".tar.xz"))
(sha256
(base32
"1hcp1cfx1a71aa6fyayajjh7vw1ia7zya6981gz73vsy2pdb23qf"))
"0s7hylp2lcvc1vrqpywpv7lspkrh4xf7cyi4nbg10cf38rshj474"))
(modules '((guix build utils)))
(snippet
;; install backends, banners and filters to cups-filters output
@ -85,12 +85,16 @@ (define-public cups-filters
(arguments
`(#:make-flags (list (string-append "PREFIX=" %output))
#:configure-flags
`(,(string-append "--with-test-font-path="
`("--disable-driverless" ; TODO: enable this
,(string-append "--with-test-font-path="
(assoc-ref %build-inputs "font-dejavu")
"/share/fonts/truetype/DejaVuSans.ttf")
,(string-append "--with-gs-path="
(assoc-ref %build-inputs "ghostscript")
"/bin/gsc")
,(string-append "--with-shell="
(assoc-ref %build-inputs "bash")
"/bin/bash")
,(string-append "--with-rcdir="
(assoc-ref %outputs "out") "/etc/rc.d"))))
(native-inputs
@ -100,12 +104,12 @@ (define-public cups-filters
`(("avahi" ,avahi)
("fontconfig" ,fontconfig)
("freetype" ,freetype)
("font-dejavu" ,font-dejavu) ;needed by test suite
("font-dejavu" ,font-dejavu) ; also needed by test suite
("ghostscript" ,(force ghostscript/cups))
("ijs" ,ijs)
("dbus" ,dbus)
("lcms" ,lcms)
("libjpeg-8" ,libjpeg-8)
("libjpeg" ,libjpeg)
("libpng" ,libpng)
("libtiff" ,libtiff)
("mupdf" ,mupdf)