From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: [PATCH] gnu: Add libksysguard. Date: Thu, 01 Dec 2016 12:50:16 +0100 (CET) Message-ID: <20161201.125016.1375870896085622261.post@thomasdanckaert.be> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Dec__1_12_50_16_2016_807)--" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCPsw-00045l-TL for guix-devel@gnu.org; Thu, 01 Dec 2016 06:50:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCPss-0004Yo-0O for guix-devel@gnu.org; Thu, 01 Dec 2016 06:50:42 -0500 Received: from s02-out.spamexperts.axc.nl ([159.253.1.2]:35253 helo=s02.spamexperts.axc.nl) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCPsr-0004WT-ON for guix-devel@gnu.org; Thu, 01 Dec 2016 06:50:37 -0500 Received: from vserver42.axc.nl ([159.253.0.80]) by s02.spamexperts.axc.nl with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1cCPse-0002l2-Ra for guix-devel@gnu.org; Thu, 01 Dec 2016 12:50:31 +0100 Received: from mail.axc.nl ([159.253.0.157]:57032) by vserver42.axc.nl with esmtp (Exim 4.87) (envelope-from ) id 1cCPsb-0002Nc-6h for guix-devel@gnu.org; Thu, 01 Dec 2016 12:50:21 +0100 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 ----Next_Part(Thu_Dec__1_12_50_16_2016_807)-- Content-Type: Text/Plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi Guix, this patch adds libksysguard. I put it in kde.scm, but it's actually a part of the plasma framework. Should there be a separate module 'gnu/packages/plasma.scm' for if/when more plasma packages get packaged? Thomas ----Next_Part(Thu_Dec__1_12_50_16_2016_807)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-gnu-Add-libksysguard.patch" >From 2e9a25b4f99ee354ce226759396fcf806502faa1 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Thu, 1 Dec 2016 11:56:20 +0100 Subject: [PATCH] gnu: Add libksysguard. * gnu/packages/kde.scm (libksysguard): New variable. --- gnu/packages/kde.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm index 82e7ed2..2e7e7b3 100644 --- a/gnu/packages/kde.scm +++ b/gnu/packages/kde.scm @@ -23,6 +23,8 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix utils) + #:use-module (gnu packages compression) + #:use-module (gnu packages documentation) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages pkg-config) #:use-module (gnu packages tls) @@ -85,7 +87,59 @@ used in KDE development tools Kompare and KDevelop.") ;; source archive (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3)))) +(define-public libksysguard + (package + (name "libksysguard") + (version "5.8.2") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde//stable/plasma/" version + "/libksysguard-" version ".tar.xz")) + (sha256 + (base32 + "158n30wbpsgbw3axhhsc58hnwhwdd02j3zc9hhcybmnbkfl5c96l")))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("pkg-config" ,pkg-config))) + (inputs + `(("kconfigwidgets" ,kconfigwidgets) + ("kiconthemes" ,kiconthemes) + ("kdbusaddons" ,kdbusaddons) + ("kdoctools" ,kdoctools) + ("kinit" ,kinit) + ("knewstuff" ,knewstuff) + ("knotifications" ,knotifications) + ("kwindowsystem" ,kwindowsystem) + ("kio" ,kio) + ("ki18n" ,ki18n) + ("kservice" ,kservice) + ("qtbase" ,qtbase) + ("qtscript" ,qtscript) + ("qtwebkit" ,qtwebkit) + ("qtx11extras" ,qtx11extras) + ("plasma" ,plasma-framework) + ("zlib" ,zlib))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + `(,(string-append "-DKDE_INSTALL_DATADIR=" (assoc-ref %outputs "out") "/share")) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'patch-cmakelists + (lambda _ + (substitute* "processcore/CMakeLists.txt" + (("KAUTH_HELPER_INSTALL_DIR") "KDE_INSTALL_LIBEXECDIR")))) + (replace 'check + (lambda _ ;; other tests require a display and therefore fail + (zero? (system* "ctest" "-R" "chronotest"))))))) + (home-page "https://www.kde.org/info/plasma-5.8.2.php") + (synopsis "Network enabled task and system monitoring") + (description "KSysGuard can obtain information on system load and +manage running processes. It obtains this information by interacting +with a ksysguardd daemon, which may also run on a remote system.") + (license license:gpl3+))) + (define-public qca (package (name "qca") -- 2.7.4 ----Next_Part(Thu_Dec__1_12_50_16_2016_807)----