all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69219] [PATCH] gnu: Add sandbar.
@ 2024-02-16 19:04 Erik Eduardo
  2024-02-19  7:02 ` [bug#69219] [PATCH v1] " Erik Eduardo
  2024-03-31 11:33 ` [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition Erik Eduardo
  0 siblings, 2 replies; 4+ messages in thread
From: Erik Eduardo @ 2024-02-16 19:04 UTC (permalink / raw)
  To: 69219; +Cc: Erik Eduardo

* 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





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

* [bug#69219] [PATCH v1] gnu: Add sandbar.
  2024-02-16 19:04 [bug#69219] [PATCH] gnu: Add sandbar Erik Eduardo
@ 2024-02-19  7:02 ` Erik Eduardo
  2024-03-31 11:33 ` [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition Erik Eduardo
  1 sibling, 0 replies; 4+ messages in thread
From: Erik Eduardo @ 2024-02-19  7:02 UTC (permalink / raw)
  To: 69219; +Cc: Erik Eduardo

* 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@runbox.com>
 ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
 ;;; Copyright © 2024 Timotej Lazar <timotej.lazar@araneo.si>
+;;; Copyright © 2024 Erik Eduardo <erik@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





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

* [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition.
  2024-02-16 19:04 [bug#69219] [PATCH] gnu: Add sandbar Erik Eduardo
  2024-02-19  7:02 ` [bug#69219] [PATCH v1] " Erik Eduardo
@ 2024-03-31 11:33 ` Erik Eduardo
  2024-04-15 10:19   ` bug#69219: " Nicolas Goaziou via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Erik Eduardo @ 2024-03-31 11:33 UTC (permalink / raw)
  To: 69219; +Cc: Erik Eduardo

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@araneo.si>
 ;;; Copyright © 2024 Ahmad Draidi <a.r.draidi@redscript.org>
 ;;; Copyright © 2024 chris <chris@bumblehead.com>
+;;; Copyright © 2024 Erik Eduardo Alonso Hernández <erik@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





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

* bug#69219: [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition.
  2024-03-31 11:33 ` [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition Erik Eduardo
@ 2024-04-15 10:19   ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-04-15 10:19 UTC (permalink / raw)
  To: Erik Eduardo; +Cc: 69219-done, Erik Eduardo

Hello,

Erik Eduardo <eduarskate8@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






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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 19:04 [bug#69219] [PATCH] gnu: Add sandbar Erik Eduardo
2024-02-19  7:02 ` [bug#69219] [PATCH v1] " Erik Eduardo
2024-03-31 11:33 ` [bug#69219] [PATCH v2] gnu/packages/wm.scm(sandbar): New package definition Erik Eduardo
2024-04-15 10:19   ` bug#69219: " Nicolas Goaziou via Guix-patches via

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.