From aa67f71920673e5d1267e222d93cd2b3f441d2a1 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 5 Jun 2020 22:22:56 -0400 Subject: [PATCH 18/54] gnu: Add sysprof. * gnu/packages/gnome.scm (sysprof): New variable. --- gnu/packages/gnome.scm | 49 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index ba01928aa8..91774faf7a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -258,6 +258,55 @@ Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly.") (license license:gpl2+))) +(define-public sysprof + (package + (name "sysprof") + (version "3.36.0") + (source + (origin + (method url-fetch) + (uri + (string-append "mirror://gnome/sources/" name "/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "024i0gzqnm79rpr4gqxdvcj6gvf82xdlcp2p1k9ikcppmi6xnw46")))) + (build-system meson-build-system) + (arguments + `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas. + #:configure-flags + (list + ;; SystemD not required. + "-Dsystemdunitdir=/tmp"))) + (native-inputs + `(("desktop-file-utils" ,desktop-file-utils) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk+:bin" ,gtk+ "bin") + ("itstool" ,itstool) + ("pkg-config" ,pkg-config) + ("xmllint" ,libxml2))) + (inputs + `(("libdazzle" ,libdazzle) + ("libunwind" ,libunwind) + ("pango" ,pango) + ("polkit" ,polkit))) + (propagated-inputs + `(("glib" ,glib) + ("gtk+" ,gtk+))) + (synopsis "Kernel based performance profiler") + (description "Sysprof is a sampling profiler that uses a kernel module to +generate stacktraces which are then interpreted by the userspace program +sysprof.") + (home-page "https://wiki.gnome.org/Apps/Sysprof") + (license + (list + ;; For newer codes. + license:gpl3+ + ;; For older codes. + license:gpl2+)))) + (define-public gnome-photos (package (name "gnome-photos") -- 2.26.2