From fab80c36720bbdb85730708d0dc5fceabcc22a6e Mon Sep 17 00:00:00 2001 From: jgart Date: Sat, 27 Nov 2021 19:05:45 -0500 Subject: gnu: Add trayer-srg. * gnu/packages/wm.scm (trayer-srg): New variable. Co-authored-by: Disseminate Dissent Signed-off-by: Mathieu Othacehe --- gnu/packages/wm.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'gnu/packages/wm.scm') diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 4740d26024..0733198e65 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -46,6 +46,8 @@ ;;; Copyright © 2021 qblade ;;; Copyright © 2021 lasnesne ;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021 jgart +;;; Copyright © 2021 Disseminate Dissent ;;; ;;; This file is part of GNU Guix. ;;; @@ -2659,6 +2661,47 @@ capabilities. It is heavily inspired by the Calm Window manager(cwm).") program and unhides it after quitting.") (license license:gpl2))) +(define-public trayer-srg + (package + (name "trayer-srg") + (version "1.1.8") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sargon/trayer-srg") + (commit (string-append "trayer-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mvhwaqa9bng9wh3jg3b7y8gl7nprbydmhg963xg0r076jyzv0cg")))) + (native-inputs + `(("libxmu" ,libxmu) + ("pkg-config" ,pkg-config))) + (inputs + `(("libx11" ,libx11) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gtk+" ,gtk+-2))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:make-flags + (let ((out (assoc-ref %outputs "out"))) + (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output))) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key configure-flags #:allow-other-keys) + (apply invoke "./configure" configure-flags)))))) + (home-page "https://github.com/sargon/trayer-srg") + (synopsis "Minimal GTK based system tray") + (description + "@command{trayer} is small program designed to provide systray +functionality present in GNOME/KDE desktop enviroments for window managers +which do not support it.") + (license license:expat))) + (define-public wlogout (package (name "wlogout") -- cgit v1.2.3