mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: cups-filters: Enable driverless printing.
* gnu/packages/cups.scm (cups-filters) [source]: Substitute all ‘pkg.*dir’s, needed to… [arguments]: …remove "--disable-driverless" from #:configure-flags.
This commit is contained in:
parent
0463150402
commit
22c3f53429
1 changed files with 3 additions and 6 deletions
|
@ -150,10 +150,8 @@ (define-public cups-filters
|
|||
"pkgcupsserverrootdir = $(PREFIX)")
|
||||
;; Choose standard directories notably so that binaries are
|
||||
;; stripped.
|
||||
(("pkgbackenddir = \\$\\(CUPS_SERVERBIN\\)/backend")
|
||||
"pkgbackenddir = $(PREFIX)/lib/cups/backend")
|
||||
(("pkgfilterdir = \\$\\(CUPS_SERVERBIN\\)/filter")
|
||||
"pkgfilterdir = $(PREFIX)/lib/cups/filter"))
|
||||
(("^pkg(.*)dir = \\$\\(CUPS_SERVERBIN\\)/(.*)" _ type suffix)
|
||||
(format #f "pkg~adir = $(PREFIX)/lib/cups/~a" type suffix)))
|
||||
;; Find bannertopdf data such as the print test page in our
|
||||
;; output directory, not CUPS's prefix.
|
||||
(substitute* "configure"
|
||||
|
@ -164,8 +162,7 @@ (define-public cups-filters
|
|||
(list #:make-flags
|
||||
#~(list (string-append "PREFIX=" #$output))
|
||||
#:configure-flags
|
||||
#~(list "--disable-driverless" ; TODO: enable this
|
||||
"--disable-mutool" ; needs yet another PDF library (mupdf)
|
||||
#~(list "--disable-mutool" ; needs yet another PDF library (mupdf)
|
||||
|
||||
;; Look for the "domain socket of CUPS" in /var/run/cups.
|
||||
"--localstatedir=/var"
|
||||
|
|
Loading…
Reference in a new issue