From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:40271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1goRnD-0004WG-1n for guix-patches@gnu.org; Tue, 29 Jan 2019 06:43:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1goRnC-0003K7-3z for guix-patches@gnu.org; Tue, 29 Jan 2019 06:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50486) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1goRnC-0003K3-0o for guix-patches@gnu.org; Tue, 29 Jan 2019 06:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1goRnB-000283-S9 for guix-patches@gnu.org; Tue, 29 Jan 2019 06:43:01 -0500 Subject: [bug#34240] [PATCH 1/5] gnu: Add cups-pk-helper. Resent-Message-ID: From: Christopher Baines Date: Tue, 29 Jan 2019 11:42:38 +0000 Message-Id: <20190129114242.32481-1-mail@cbaines.net> In-Reply-To: <87a7jjr8y3.fsf@cbaines.net> References: <87a7jjr8y3.fsf@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34240@debbugs.gnu.org * gnu/packages/cups.scm (cups-pk-helper): New variable. --- gnu/packages/cups.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm index 40ffc0df80..138a1fc3ed 100644 --- a/gnu/packages/cups.scm +++ b/gnu/packages/cups.scm @@ -38,6 +38,7 @@ #:use-module (gnu packages pdf) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages pretty-print) #:use-module (gnu packages python) #:use-module (gnu packages python-xyz) @@ -380,6 +381,32 @@ device-specific programs to convert and print many types of files.") ("cups-filters" ,cups-filters) ("zlib" ,zlib))))) +(define-public cups-pk-helper + (package + (name "cups-pk-helper") + (version "0.2.6") + (source (origin + (method url-fetch) + (uri (string-append "https://freedesktop.org/software/" + name "/releases/" name "-" version ".tar.xz")) + (sha256 + (base32 + "0a52jw6rm7lr5nbyksiia0rn7sasyb5cjqcb95z1wxm2yprgi6lm")))) + (build-system gnu-build-system) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("glib" ,glib) + ("polkit" ,polkit) + ("cups" ,cups))) + (home-page "https://www.freedesktop.org/wiki/Software/cups-pk-helper/") + (synopsis "PolicyKit helper to configure cups with fine-grained privileges") + (description + "This package provides the org.opensuse.CupsPkHelper.Mechanism DBus +system service which uses @file{cups-pk-helper-mechanism}. This package +should only be used as part of the Guix cups-pk-helper service.") + (license license:gpl2+))) + (define-public hplip (package (name "hplip") -- 2.20.1