dannym pushed a commit to branch wip-desktop in repository guix. commit 77b585be0ce848b021b0266c9a8bdccffc7d04ae Author: Raghav Gururajan <raghavgurura...@disroot.org> AuthorDate: Fri Jun 5 22:22:56 2020 -0400
gnu: Add sysprof. * gnu/packages/gnome.scm (sysprof): New variable. Signed-off-by: Danny Milosavljevic <dan...@scratchpost.org> --- gnu/packages/gnome.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4ae7d81..ebc5c5e 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -261,6 +261,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")