GNU bug report logs - #47524
[PATCH] gnu: Add wlogout.

Previous Next

Package: guix-patches;

Reported by: la snesne <lasnesne <at> lagunposprasihopre.org>

Date: Wed, 31 Mar 2021 16:15:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: la snesne <lasnesne <at> lagunposprasihopre.org>
Subject: bug#47524: closed (Re: bug#47524: [PATCH] gnu: Add wlogout.)
Date: Sat, 10 Apr 2021 20:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#47524: [PATCH] gnu: Add wlogout.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 47524 <at> debbugs.gnu.org.

-- 
47524: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47524
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: la snesne <lasnesne <at> lagunposprasihopre.org>
Cc: 47524-done <at> debbugs.gnu.org
Subject: Re: bug#47524: [PATCH] gnu: Add wlogout.
Date: Sat, 10 Apr 2021 22:50:39 +0200
[Message part 3 (text/plain, inline)]
Hi,

la snesne <lasnesne <at> lagunposprasihopre.org> skribis:

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

Applied with the following cosmetic changes, thanks!

Ludo’.

[Message part 4 (text/x-patch, inline)]
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)))
[Message part 5 (message/rfc822, inline)]
From: la snesne <lasnesne <at> lagunposprasihopre.org>
To: guix-patches <at> gnu.org
Cc: la snesne <lasnesne <at> lagunposprasihopre.org>
Subject: [PATCH] gnu: Add wlogout.
Date: Thu,  1 Apr 2021 01:12:15 +0900
* 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 <at> qq.com>
 ;;; Copyright © 2021 Sharlatan Hellseher <sharlatanus <at> gmail.com>
 ;;; Copyright © 2021 qblade <qblade <at> protonmail.com>
+;;; Copyright © 2021 lasnesne <lasnesne <at> 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




This bug report was last modified 4 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.