unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add libksysguard.
@ 2016-12-01 11:50 Thomas Danckaert
  2016-12-03 16:02 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Danckaert @ 2016-12-01 11:50 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: Text/Plain, Size: 231 bytes --]

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

[-- Attachment #2: 0001-gnu-Add-libksysguard.patch --]
[-- Type: Text/X-Patch, Size: 3153 bytes --]

From 2e9a25b4f99ee354ce226759396fcf806502faa1 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert@gmail.com>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add libksysguard.
  2016-12-01 11:50 [PATCH] gnu: Add libksysguard Thomas Danckaert
@ 2016-12-03 16:02 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-12-03 16:02 UTC (permalink / raw)
  To: Thomas Danckaert; +Cc: guix-devel

Hi!

Thomas Danckaert <post@thomasdanckaert.be> skribis:

> 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?

I think kde.scm is fine.

> From 2e9a25b4f99ee354ce226759396fcf806502faa1 Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <thomas.danckaert@gmail.com>
> Date: Thu, 1 Dec 2016 11:56:20 +0100
> Subject: [PATCH] gnu: Add libksysguard.
>
> * gnu/packages/kde.scm (libksysguard): New variable.

Applied with minor indentation fixes, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-12-03 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-01 11:50 [PATCH] gnu: Add libksysguard Thomas Danckaert
2016-12-03 16:02 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).