Subject: bug#68965: closed (Re: [bug#68965] [PATCH] gnu: Add yambar-wayland.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 27 Feb 2024 10:29:02 +0000

Your bug report

#68965: [PATCH] gnu: Add yambar-wayland.

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 [email-masked].

-- 
68965: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68965
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#68965] [PATCH] gnu: Add yambar-wayland.
From: Ludovic Courtès <[email-masked]>
To: chris <[email-masked]>
Cc: [email-masked]
Date: Tue, 27 Feb 2024 11:27:32 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

chris <[email-masked]> skribis:

> *  (yambar-wayland): New variable.
>
> Change-Id: I7b1d5d3626b915261b5b3f7fea3a3ace03adbf11

I tweaked the commit log and applied with the cosmetic changes below.

Thanks!

Ludo'.

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 54ffe0599d..ae8213ddae 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -3609,21 +3609,24 @@ (define-public yambar-wayland
       #:configure-flags #~'("-Db_lto=true"
                             "-Dbackend-x11=disabled"
                             "-Dbackend-wayland=enabled")))
-    (native-inputs (list pkg-config tllist flex bison scdoc wayland-protocols))
-    (inputs (list
-             fcft
-             wayland
-             pipewire
-             libyaml
-             pixman
-             alsa-lib
-             json-c
-             libmpdclient
-             eudev))
+    (native-inputs (list pkg-config
+                         tllist
+                         flex
+                         bison
+                         scdoc
+                         wayland-protocols))
+    (inputs (list fcft
+                  wayland
+                  pipewire
+                  libyaml
+                  pixman
+                  alsa-lib
+                  json-c
+                  libmpdclient
+                  eudev))
     (synopsis "X11 and Wayland status panel")
     (description
-     "@command{yambar} is a lightweight and configurable status
- panel (bar, for short) for X11 and Wayland, that goes to great
- lengths to be both CPU and battery efficient - polling is only
- done when absolutely necessary.")
+     "@command{yambar} is a lightweight and configurable status panel (bar,
+for short) for X11 and Wayland, that goes to great lengths to be both CPU and
+battery efficient---polling is only done when absolutely necessary.")
     (license license:expat)))

Subject: [PATCH] gnu: Add yambar-wayland.
From: chris <[email-masked]>
To: [email-masked]
Cc: chris <[email-masked]>
Date: Tue, 6 Feb 2024 23:37:57 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

*  (yambar-wayland): New variable.

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 959928d8e2..74f1101407 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Nicolas Graves <[email-masked]>
 ;;; Copyright © 2023 Jaeme Sifat <[email-masked]>
 ;;; Copyright © 2023 Josselin Poiret <[email-masked]>
+;;; Copyright © 2024 chris <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -111,6 +112,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages fribidi)
@@ -3519,3 +3521,44 @@ (define-public velox
       (description "velox is a simple window manager for Wayland based on swc.
 It is inspired by dwm and xmonad.")
       (license license:expat))))
+
+(define-public yambar-wayland
+  (package
+    (name "yambar-wayland")
+    (version "1.10.0")
+    (home-page "https://codeberg.org/dnkl/yambar")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "14lxhgyyia7sxyqjwa9skps0j9qlpqi8y7hvbsaidrwmy4857czr"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:build-type "release"
+      #:configure-flags #~'("-Db_lto=true"
+                            "-Dbackend-x11=disabled"
+                            "-Dbackend-wayland=enabled")))
+    (native-inputs (list pkg-config tllist flex bison scdoc wayland-protocols))
+    (inputs (list
+             fcft
+             wayland
+             pipewire
+             libyaml
+             pixman
+             alsa-lib
+             json-c
+             libmpdclient
+             eudev))
+    (synopsis "X11 and Wayland status panel")
+    (description
+     "@command{yambar} is a lightweight and configurable status
+ panel (bar, for short) for X11 and Wayland, that goes to great
+ lengths to be both CPU and battery efficient - polling is only
+ done when absolutely necessary.")
+    (license license:expat)))

base-commit: cce7a6d2d2b18f51d1fcab67b02a38c11d6f4f2d
-- 
2.41.0