guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/13: gnu: hplip: Install PPDs into a separate output.


From: guix-commits
Subject: 05/13: gnu: hplip: Install PPDs into a separate output.
Date: Sun, 29 Nov 2020 11:29:28 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 8ce52a25bcdf4d547c589e95371697c6f440888f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 21 19:18:20 2020 +0100

    gnu: hplip: Install PPDs into a separate output.
    
    * gnu/packages/cups.scm (hplip)[outputs]: Add a :ppd output.
    [arguments]: Install the .ppd files there.
---
 gnu/packages/cups.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index bfe2402..6365961 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -446,6 +446,7 @@ should only be used as part of the Guix cups-pk-helper 
service.")
                      "locatedriverdir = $(pkglibexecdir)\n"))
                   #t))))
     (build-system gnu-build-system)
+    (outputs (list "out" "ppd"))
     (home-page "https://developers.hp.com/hp-linux-imaging-and-printing";)
     (synopsis "HP printer drivers")
     (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")
          ,(string-append "--with-cupsbackenddir="
                          (assoc-ref %outputs "out") "/lib/cups/backend")
+         ,(string-append "--with-hpppddir="
+                         (assoc-ref %outputs "ppd") "/share/ppd/HP")
          ,(string-append "--with-icondir="
                          (assoc-ref %outputs "out") "/share/applications")
          ,(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
            (lambda* (#:key inputs #:allow-other-keys)
              (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
                ;; include directory on C_INCLUDE_PATH.
                (when python



reply via email to

[Prev in Thread] Current Thread [Next in Thread]