Subject: [PATCH 2/2] gnu: Add massif-visualizer.
From: Alexandros Theodotou <[email-masked]>
To: [email-masked]
Cc: Alexandros Theodotou <[email-masked]>
Date: Fri, 26 Feb 2021 16:54:21 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/kde.scm (massif-visualizer): New variable.
---
 gnu/packages/kde.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9173aea80f..418f3b83bf 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020, 2021 Michael Rohleder <[email-masked]>
 ;;; Copyright © 2020 Prafulla Giri <[email-masked]>
 ;;; Copyright © 2020 Zheng Junjie <[email-masked]>
+;;; Copyright © 2021 Alexandros Theodotou <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -543,6 +544,42 @@ illustrators, matte and texture artists, and the VFX industry.  Notable
 features include brush stabilizers, brush engines and wrap-around mode.")
     (license license:gpl2+)))
 
+(define-public massif-visualizer
+  (package
+    (name "massif-visualizer")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/massif-visualizer/" version
+                    "/src/massif-visualizer-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0v8z6r9gngzckvqyxjm9kp7hilwfqibyk2f9vag9l98ar0iwr97q"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("karchive" ,karchive)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kparts" ,kparts)
+       ("kdiagram" ,kdiagram)
+       ("kgraphviewer" ,kgraphviewer)
+       ("kio" ,kio)
+       ("ki18n" ,ki18n)
+       ("qtbase" ,qtbase)
+       ("qtxmlpatterns" ,qtxmlpatterns)
+       ("qtsvg" ,qtsvg)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("extra-cmake-modules" ,extra-cmake-modules)
+       ("shared-mime-info" ,shared-mime-info)))
+    (home-page "https://apps.kde.org/en/massif-visualizer")
+    (synopsis "Tool that visualizes massif data generated by valgrind")
+    (description "Massif Visualizer is a tool that visualizes massif data.
+You run your application in Valgrind with --tool=massif and then open the
+generated massif.out.%pid in the visualizer.  Gzip or Bzip2 compressed
+massif files can also be opened transparently.")
+    (license license:gpl2+)))
+
 (define-public libkomparediff2
   (package
     (name "libkomparediff2")
-- 
2.30.1