unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47524] [PATCH] gnu: Add wlogout.
@ 2021-03-31 16:12 la snesne
  2021-04-10 20:50 ` bug#47524: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: la snesne @ 2021-03-31 16:12 UTC (permalink / raw)
  To: 47524; +Cc: la snesne

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 6105a98f14..d61d0a11b0 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -44,6 +44,7 @@
 ;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2021 qblade <qblade@protonmail.com>
+;;; Copyright © 2021 lasnesne <lasnesne@lagunposprasihopre.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2451,3 +2452,39 @@ read and write, and compatible with JSON.")
      "Hikari is a stacking Wayland compositor with additional tiling
 capabilities.  It is heavily inspired by the Calm Window manager(cwm).")
     (license license:bsd-2)))
+
+(define-public wlogout
+  (package
+    (name "wlogout")
+    (version "1.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ArtsyMacaw/wlogout")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1swhzkqkzli59c89pvrakfvicd00x7ga860c3x2pbb4y3xziqfvi"))))
+    (build-system meson-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("scdoc" ,scdoc)))
+    (inputs
+     `(("gtk-layer-shell" ,gtk-layer-shell)
+       ("gtk+" ,gtk+)))
+    (arguments
+     '(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack  'patch-source-paths
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (substitute* "main.c"
+                 (("/usr/share") (string-append out "/share"))
+                 (("/etc") (string-append out "/etc"))))
+             #t)))))
+    (home-page "https://github.com/ArtsyMacaw/wlogout")
+    (synopsis "Logout menu for wayland")
+    (description "wlogout is a logout menu for wayland environments")
+    (license license:expat)))
-- 
2.31.1





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

* bug#47524: [PATCH] gnu: Add wlogout.
  2021-03-31 16:12 [bug#47524] [PATCH] gnu: Add wlogout la snesne
@ 2021-04-10 20:50 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-04-10 20:50 UTC (permalink / raw)
  To: la snesne; +Cc: 47524-done

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Hi,

la snesne <lasnesne@lagunposprasihopre.org> skribis:

> * gnu/packages/wm.scm (wlogout): New variable.

Applied with the following cosmetic changes, thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 633 bytes --]

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2ad9b8a034..90896c2b89 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2485,6 +2485,6 @@ capabilities.  It is heavily inspired by the Calm Window manager(cwm).")
                  (("/etc") (string-append out "/etc"))))
              #t)))))
     (home-page "https://github.com/ArtsyMacaw/wlogout")
-    (synopsis "Logout menu for wayland")
-    (description "wlogout is a logout menu for wayland environments")
+    (synopsis "Logout menu for Wayland")
+    (description "wlogout is a logout menu for Wayland environments.")
     (license license:expat)))

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

end of thread, other threads:[~2021-04-10 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-31 16:12 [bug#47524] [PATCH] gnu: Add wlogout la snesne
2021-04-10 20:50 ` bug#47524: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).