unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68965] [PATCH] gnu: Add yambar-wayland.
@ 2024-02-07  7:37 chris
  2024-02-27 10:27 ` bug#68965: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: chris @ 2024-02-07  7:37 UTC (permalink / raw)
  To: 68965; +Cc: chris

*  (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 <ngraves@ngraves.fr>
 ;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
 ;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
+;;; Copyright © 2024 chris <chris@bumblehead.com>
 ;;;
 ;;; 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





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

* bug#68965: [PATCH] gnu: Add yambar-wayland.
  2024-02-07  7:37 [bug#68965] [PATCH] gnu: Add yambar-wayland chris
@ 2024-02-27 10:27 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-02-27 10:27 UTC (permalink / raw)
  To: chris; +Cc: 68965-done

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

chris <chris@bumblehead.com> skribis:

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

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

Thanks!

Ludo'.


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

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)))

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

end of thread, other threads:[~2024-02-27 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07  7:37 [bug#68965] [PATCH] gnu: Add yambar-wayland chris
2024-02-27 10:27 ` bug#68965: " 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).