From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 02/13] gnu: kde-frameworks: Add kauth. Date: Sat, 13 Aug 2016 14:19:20 +0200 Message-ID: <20160813121931.20071-3-david@craven.ch> References: <20160813121931.20071-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvM-0001R7-Sc for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYXvG-0006SI-Gh for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:23 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:56909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvF-0006QO-5O for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:18 -0400 In-Reply-To: <20160813121931.20071-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/packages/kde-frameworks.scm (kauth): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 43 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 875d94a..ca57e58 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -34,6 +34,7 @@ #:use-module (gnu packages gnome) #:use-module (gnu packages linux) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) @@ -1020,3 +1021,45 @@ ASpell and HUNSPELL.") (description "ThreadWeaver is a helper for multithreaded programming. It uses a job-based interface to queue tasks and execute them in an efficient way.") (license license:lgpl2.1+))) + + +;; Tier 2 +;; +;; Tier 2 frameworks additionally depend on tier 1 frameworks, but still have +;; easily manageable dependencies. + +(define-public kauth + (package + (name "kauth") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "14sjjfgl3arqyqcr77w9qhpnd8mrnh53r5rfss6bvlk26bmihs49")))) + (build-system cmake-build-system) + (native-inputs + `(("dbus" ,dbus) + ("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools))) + (inputs + `(("kcoreaddons" ,kcoreaddons) + ("polkit-qt" ,polkit-qt) + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* _ + (setenv "DBUS_FATAL_WARNINGS" "0") + (zero? (system* "dbus-launch" "ctest" "."))))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Execute actions as privileged user") + (description "KAuth provides a convenient, system-integrated way to offload +actions that need to be performed as a privileged user to small set of helper +utilities.") + (license license:lgpl2.1+))) -- 2.9.0