me
/
guix
Archived
1
0
Fork 0

gnu: hplip: Install PPDs into a separate output.

* gnu/packages/cups.scm (hplip)[outputs]: Add a :ppd output.
[arguments]: Install the .ppd files there.
master
Tobias Geerinckx-Rice 2020-11-21 19:18:20 +01:00
parent 8fe3694990
commit 8ce52a25bc
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 1 deletions

View File

@ -446,6 +446,7 @@ should only be used as part of the Guix cups-pk-helper service.")
"locatedriverdir = $(pkglibexecdir)\n")) "locatedriverdir = $(pkglibexecdir)\n"))
#t)))) #t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs (list "out" "ppd"))
(home-page "https://developers.hp.com/hp-linux-imaging-and-printing") (home-page "https://developers.hp.com/hp-linux-imaging-and-printing")
(synopsis "HP printer drivers") (synopsis "HP printer drivers")
(description (description
@ -473,6 +474,8 @@ should only be used as part of the Guix cups-pk-helper service.")
(assoc-ref %outputs "out") "/lib/cups/filter") (assoc-ref %outputs "out") "/lib/cups/filter")
,(string-append "--with-cupsbackenddir=" ,(string-append "--with-cupsbackenddir="
(assoc-ref %outputs "out") "/lib/cups/backend") (assoc-ref %outputs "out") "/lib/cups/backend")
,(string-append "--with-hpppddir="
(assoc-ref %outputs "ppd") "/share/ppd/HP")
,(string-append "--with-icondir=" ,(string-append "--with-icondir="
(assoc-ref %outputs "out") "/share/applications") (assoc-ref %outputs "out") "/share/applications")
,(string-append "--with-systraydir=" ,(string-append "--with-systraydir="
@ -534,7 +537,7 @@ should only be used as part of the Guix cups-pk-helper service.")
(add-before 'configure 'fix-build-with-python-3.8 (add-before 'configure 'fix-build-with-python-3.8
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((python (assoc-ref inputs "python"))) (let ((python (assoc-ref inputs "python")))
;; XXX: The configure script of looks for Python headers in the ;; XXX: The configure script looks for Python headers in the
;; wrong places as of version 3.20.3. Help it by adding the ;; wrong places as of version 3.20.3. Help it by adding the
;; include directory on C_INCLUDE_PATH. ;; include directory on C_INCLUDE_PATH.
(when python (when python