unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#65279] [PATCH] gnu: waybar: Update to 0.9.20.
@ 2023-08-14  2:09 dan
  2023-08-29 13:01 ` bug#65279: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: dan @ 2023-08-14  2:09 UTC (permalink / raw)
  To: 65279

* gnu/packages/wm.scm (waybar): Update to 0.9.20.
[arguments]<:configure-flags>: Disable download missing dependencies.
[inputs]: Add libevdev, pipewire and wireplumber.
* gnu/packages/wm.scm (waybar-experimental)
[arguments]<:configure-flags>: Disable download missing dependencies.
---
 gnu/packages/wm.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index ae571965e6..3709c7c7b8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1894,7 +1894,7 @@ (define-public swaynotificationcenter
 (define-public waybar
   (package
     (name "waybar")
-    (version "0.9.18")
+    (version "0.9.20")
     (source
      (origin
        (method git-fetch)
@@ -1903,22 +1903,27 @@ (define-public waybar
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "11yia2fs5a05jlbrdhxm26c2sgmbj3iwsk3bsqcvjvv3mlsrhxkf"))))
+        (base32 "07h5l7h7wmzqgg7fbp98khrxg2sq2s4ncp4fiiz1yg62r752idy4"))))
     (build-system meson-build-system)
+    (arguments
+     (list #:configure-flags #~(list "--wrap-mode=nodownload")))
     (inputs (list date
                   fmt
                   gtk-layer-shell
                   gtkmm-3
                   jsoncpp
                   libdbusmenu
+                  libevdev
                   libinput-minimal
                   libmpdclient
                   libnl
                   libxml2
+                  pipewire
                   playerctl
                   pulseaudio
                   spdlog
-                  wayland))
+                  wayland
+                  wireplumber))
     (native-inputs
      (list `(,glib "bin") pkg-config scdoc wayland-protocols))
     (home-page "https://github.com/Alexays/Waybar")
@@ -1960,7 +1965,8 @@ (define-public waybar-experimental
     (package/inherit base
       (name "waybar-experimental")
       (arguments
-       (list #:configure-flags #~(list "-Dexperimental=true")))
+       (list #:configure-flags #~(list "-Dexperimental=true"
+                                       "--wrap-mode=nodownload")))
       (synopsis "Waybar with experimental features"))))
 
 (define-public wlr-randr
@@ -3437,3 +3443,4 @@ (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))))
+waybar

base-commit: e7b8edc74490ebd345ca3b518418a59d1d00abe2
-- 
2.41.0





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

* bug#65279: [PATCH] gnu: waybar: Update to 0.9.20.
  2023-08-14  2:09 [bug#65279] [PATCH] gnu: waybar: Update to 0.9.20 dan
@ 2023-08-29 13:01 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2023-08-29 13:01 UTC (permalink / raw)
  To: dan; +Cc: 65279-done

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


dan <i@dan.games> writes:

> * gnu/packages/wm.scm (waybar): Update to 0.9.20.
> [arguments]<:configure-flags>: Disable download missing dependencies.
> [inputs]: Add libevdev, pipewire and wireplumber.
> * gnu/packages/wm.scm (waybar-experimental)
> [arguments]<:configure-flags>: Disable download missing dependencies.
> ---
>  gnu/packages/wm.scm | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)

...

> @@ -1960,7 +1965,8 @@ (define-public waybar-experimental
>      (package/inherit base
>        (name "waybar-experimental")
>        (arguments
> -       (list #:configure-flags #~(list "-Dexperimental=true")))
> +       (list #:configure-flags #~(list "-Dexperimental=true"
> +                                       "--wrap-mode=nodownload")))
>        (synopsis "Waybar with experimental features"))))

Here I've changed this to the following:

+       (substitute-keyword-arguments (package-arguments base)
+         ((#:configure-flags flags '())
+          #~(cons "-Dexperimental=true"
+                  #$flags))))

So now waybar-experimental will automatically inherit the configure
flags of waybar.

> @@ -3437,3 +3443,4 @@ (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))))
> +waybar

I've removed this line and pushed to master as
005da27028ebab8998ce54c88683d809b3ceaf62.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2023-08-29 13:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-14  2:09 [bug#65279] [PATCH] gnu: waybar: Update to 0.9.20 dan
2023-08-29 13:01 ` bug#65279: " Christopher Baines

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