all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50740] [PATCH] gnu: Add wmname.
@ 2021-09-22 16:28 Alexandru-Sergiu Marton
  2021-09-22 23:42 ` Sarah Morgensen
  0 siblings, 1 reply; 7+ messages in thread
From: Alexandru-Sergiu Marton @ 2021-09-22 16:28 UTC (permalink / raw)
  To: 50740; +Cc: Alexandru-Sergiu Marton

* gnu/packages/suckless.scm (wmname): New variable.
---
 gnu/packages/suckless.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b24eced379..314d8d5e44 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -488,6 +488,36 @@ few minutes.")
     (home-page "https://tools.suckless.org/sent")
     (license license:x11)))
 
+(define-public wmname
+  (package
+    (name "wmname")
+    (version "0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dl.suckless.org/tools/wmname-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1i82ilhbk36hspc2j0fbpg27wjj7xnvzpv1ppgf6fccina4d36jm"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f
+       #:make-flags
+       (list (string-append "CC=" ,(cc-for-target))
+             (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)))) ; No configure script
+    (inputs
+     `(("libx11" ,libx11)))
+    (home-page "https://tools.suckless.org/x/wmname/")
+    (synopsis "Print or set the window manager name")
+    (description "wmname prints/sets the window manager name property of the
+root window similar to how hostname(1) behaves.  It is useful for fixing
+problems with JDK versions and other broken programs assuming a reparenting
+window manager for instance.")
+    (license license:x11)))
+
 (define-public xbattmon
   (package
     (name "xbattmon")
-- 
2.33.0





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

end of thread, other threads:[~2021-10-13  8:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-22 16:28 [bug#50740] [PATCH] gnu: Add wmname Alexandru-Sergiu Marton
2021-09-22 23:42 ` Sarah Morgensen
2021-09-22 23:50   ` Sarah Morgensen
2021-09-23 14:16   ` Alexandru-Sergiu Marton
2021-09-28 20:17   ` [bug#50740] [PATCH v2] " Alexandru-Sergiu Marton
2021-09-29  1:23     ` Sarah Morgensen
2021-10-13  8:45     ` bug#50740: [PATCH] " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.