guix-devel
[Top][All Lists]
Advanced

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

[PATCH 1/2] gnu: hplip: Add qt5 gui.


From: ng0
Subject: [PATCH 1/2] gnu: hplip: Add qt5 gui.
Date: Thu, 29 Dec 2016 14:05:52 +0000

* gnu/packages/cups.scm (hplip): Add gui.
[arguments](configure-flags): Add "--enable-gui-build", "--disable-qt4",
"--enable-qt5".
[inputs]: Add python-pyqt, python-pygobject and python-sip.
---
 gnu/packages/cups.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index baa77f7aa..d264d6b12 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2015, 2016 Efraim Flashner <address@hidden>
 ;;; Copyright © 2016 Danny Milosavljevic <address@hidden>
+;;; Copyright © 2016 ng0 <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -38,7 +39,8 @@
   #:use-module (gnu packages glib)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages tls))
+  #:use-module (gnu packages tls)
+  #:use-module (gnu packages qt))
 
 ;; Delay to avoid module circularity problems.
 (define ghostscript/cups
@@ -346,6 +348,9 @@ device-specific programs to convert and print many types of 
files.")
          "--enable-new-hpcups"
          "--enable-cups_ppd_install"
          "--enable-cups_drv_install"
+         "--enable-gui-build"
+         "--disable-qt4"
+         "--enable-qt5"
          ;; TODO add foomatic drv install eventually.
          ;; TODO --enable-policykit eventually.
          ,(string-append "--with-cupsfilterdir="
@@ -420,6 +425,9 @@ device-specific programs to convert and print many types of 
files.")
               ("dbus" ,dbus)
               ("python-wrapper" ,python-wrapper)
               ("python" ,python)
+              ("python-pyqt" ,python-pyqt)
+              ("python-pygobject" ,python-pygobject)
+              ("python-sip" ,python-sip)
               ;; TODO: Make hp-setup find python-dbus.
               ("python-dbus" ,python-dbus)))
     (native-inputs `(("pkg-config" ,pkg-config)))))
-- 
2.11.0




reply via email to

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