GNU bug report logs - #69219
[PATCH] gnu: Add sandbar.

Previous Next

Package: guix-patches;

Reported by: Erik Eduardo <eduarskate8 <at> gmail.com>

Date: Sun, 18 Feb 2024 18:24:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

To reply to this bug, email your comments to 69219 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#69219; Package guix-patches. (Sun, 18 Feb 2024 18:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Erik Eduardo <eduarskate8 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 18 Feb 2024 18:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Erik Eduardo <eduarskate8 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Erik Eduardo <erik <at> erikeduardo.xyz>
Subject: [PATCH] gnu: Add sandbar.
Date: Fri, 16 Feb 2024 19:04:16 +0000
* gnu/packages/wm.scm(sandbar): New package definition.

Change-Id: I81e109dc72a18adf8bfbb29632397fe4160b4489
---
 gnu/packages/wm.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4efd98f11c..550d58e7c0 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1383,6 +1383,34 @@ (define-public keybinder
 (define-public keybinder-3.0
   (deprecated-package "keybinder-3.0" keybinder))
 
+(define-public sandbar
+  (package
+    (name "sandbar")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kolunmi/sandbar")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0912cr2q2kg4nqdwy978kpmdcj2cjz3gnlcb28ny9z3cprxvyvxq"))))
+    (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))))
+    (inputs (list fcft wayland))
+    (native-inputs (list pkg-config wayland-protocols))
+    (synopsis "dwm-like bar for the river wayland compositor")
+    (description "A simple statusbar designed for the river window manager.")
+    (license (list license:gpl3 license:expat))
+    (home-page "https://github.com/kolunmi/sandbar")))
+
 (define-public spectrwm
   (package
     (name "spectrwm")

base-commit: 96a2357a8a19bd4a796fdf1a875f7f3e0c91030c
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69219; Package guix-patches. (Mon, 19 Feb 2024 07:05:01 GMT) Full text and rfc822 format available.

Message #8 received at 69219 <at> debbugs.gnu.org (full text, mbox):

From: Erik Eduardo <eduarskate8 <at> gmail.com>
To: 69219 <at> debbugs.gnu.org
Cc: Erik Eduardo <erik <at> erikeduardo.xyz>
Subject: [PATCH v1] gnu: Add sandbar.
Date: Mon, 19 Feb 2024 07:02:55 +0000
* gnu/packages/wm.scm(sandbar): New package definition.

Change-Id: I81e109dc72a18adf8bfbb29632397fe4160b4489
---
 gnu/packages/wm.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4efd98f11c..216745bed0 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -67,6 +67,7 @@
 ;;; Copyright © 2023 Jaeme Sifat <jaeme <at> runbox.com>
 ;;; Copyright © 2023 Josselin Poiret <dev <at> jpoiret.xyz>
 ;;; Copyright © 2024 Timotej Lazar <timotej.lazar <at> araneo.si>
+;;; Copyright © 2024 Erik Eduardo <erik <at> erikeduardo.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1383,6 +1384,34 @@ (define-public keybinder
 (define-public keybinder-3.0
   (deprecated-package "keybinder-3.0" keybinder))
 
+(define-public sandbar
+  (package
+    (name "sandbar")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kolunmi/sandbar")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0912cr2q2kg4nqdwy978kpmdcj2cjz3gnlcb28ny9z3cprxvyvxq"))))
+    (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))))
+    (inputs (list fcft wayland))
+    (native-inputs (list pkg-config wayland-protocols))
+    (synopsis "dwm-like bar for the river wayland compositor")
+    (description "A simple statusbar designed for the river window manager.")
+    (license (list license:gpl3 license:expat))
+    (home-page "https://github.com/kolunmi/sandbar")))
+
 (define-public spectrwm
   (package
     (name "spectrwm")

base-commit: 96a2357a8a19bd4a796fdf1a875f7f3e0c91030c
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#69219; Package guix-patches. (Sun, 31 Mar 2024 11:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 69219 <at> debbugs.gnu.org (full text, mbox):

From: Erik Eduardo <eduarskate8 <at> gmail.com>
To: 69219 <at> debbugs.gnu.org
Cc: Erik Eduardo <erik <at> erikeduardo.xyz>
Subject: [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition.
Date: Sun, 31 Mar 2024 12:33:04 +0100
Change-Id: I93f91436420a733a3b74d9b88ed5d69a9369ee38
---
 gnu/packages/wm.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2aaf9b0f66..75a862fbe8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -69,6 +69,7 @@
 ;;; Copyright © 2024 Timotej Lazar <timotej.lazar <at> araneo.si>
 ;;; Copyright © 2024 Ahmad Draidi <a.r.draidi <at> redscript.org>
 ;;; Copyright © 2024 chris <chris <at> bumblehead.com>
+;;; Copyright © 2024 Erik Eduardo Alonso Hernández <erik <at> erikeduardo.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1384,6 +1385,42 @@ (define-public keybinder
 (define-public keybinder-3.0
   (deprecated-package "keybinder-3.0" keybinder))
 
+(define-public sandbar
+  (package
+    (name "sandbar")
+    (version "0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kolunmi/sandbar")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0912cr2q2kg4nqdwy978kpmdcj2cjz3gnlcb28ny9z3cprxvyvxq"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+             (delete 'configure))  ;; no configure script
+           #:tests? #f             ;; no check target
+           #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target))
+                   (string-append "PREFIX=" #$output))))
+    (inputs (list fcft wayland))
+    (native-inputs (list pkg-config wayland-protocols))
+    (synopsis "DWM-like bar for the River Wayland compositor")
+    (description "@command{sandbar} is a minimalist DWM-like bar designed for River,
+                 a Wayland compositor. It is triggered through commands sent via
+                 standard input, providing extensive customization options. This
+                 behavior allows users to dynamically adjust status text, visibility,
+                 and bar location, making @command{sandbar} an ideal choice for those
+                 seeking a lightweight and hackable bar solution in their Wayland
+                 environment.")
+    ;;             LICENSE      LICENSE.dtao
+    (license (list license:gpl3 license:expat))
+    (home-page "https://github.com/kolunmi/sandbar")))
+
 (define-public spectrwm
   (package
     (name "spectrwm")

base-commit: 0e8f7ee3a95011dd9ebdc99e0f3b754160524b5d
-- 
2.41.0





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Mon, 15 Apr 2024 10:20:01 GMT) Full text and rfc822 format available.

Notification sent to Erik Eduardo <eduarskate8 <at> gmail.com>:
bug acknowledged by developer. (Mon, 15 Apr 2024 10:20:02 GMT) Full text and rfc822 format available.

Message #16 received at 69219-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Erik Eduardo <eduarskate8 <at> gmail.com>
Cc: 69219-done <at> debbugs.gnu.org, Erik Eduardo <erik <at> erikeduardo.xyz>
Subject: Re: [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New
 package definition.
Date: Mon, 15 Apr 2024 12:19:02 +0200
Hello,

Erik Eduardo <eduarskate8 <at> gmail.com> writes:

> +(define-public sandbar

I normalized the commit message and applied your patch. Thank you.

> +    (description "@command{sandbar} is a minimalist DWM-like bar designed for River,
> +                 a Wayland compositor. It is triggered through commands sent via
> +                 standard input, providing extensive customization options. This
> +                 behavior allows users to dynamically adjust status text, visibility,
> +                 and bar location, making @command{sandbar} an ideal choice for those
> +                 seeking a lightweight and hackable bar solution in their Wayland
> +                 environment.")

I fixed indentation and separated sentences with two spaces.

Nitpick: I also used capitalization for Sandbar (the project name)
instead of @command{sandbar} (the command), as reducing markup is always
better for readability.

Regards,
-- 
Nicolas Goaziou






This bug report was last modified 19 days ago.

Previous Next


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