unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69504] [PATCH] gnu: Add wbg.
@ 2024-03-02  9:45 dan
  2024-05-25  4:17 ` [bug#69504] [PATCH v2] " dan
  0 siblings, 1 reply; 3+ messages in thread
From: dan @ 2024-03-02  9:45 UTC (permalink / raw)
  To: 69504

* gnu/packages/wm.scm (wbg): New variable.

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8ed3ed1107..ce0ba981f5 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 dan <i@dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3723,3 +3724,30 @@ (define-public yambar-wayland
 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)))
+
+(define-public wbg
+  (package
+    (name "wbg")
+    (version "1.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://codeberg.org/dnkl/wbg")
+             (commit version)))
+       (sha256
+        (base32 "0rq2m2cddggmxq77pfks1mga3y7a54pnm2linqipia1l4ylhi4i4"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:build-type "release"
+      #:configure-flags #~(list "-Dpng=enabled" "-Djpeg=enabled"
+                                "-Dwebp=enabled")))
+    (native-inputs (list pkg-config tllist wayland-protocols))
+    (inputs (list libjpeg-turbo libpng libwebp pixman wayland))
+    (home-page "https://codeberg.org/dnkl/wbg")
+    (synopsis "Wallpaper application for Wayland compositors")
+    (description
+     "wbg is a super simple wallpaper application for Wayland compositors
+implementing the layer-shell protocol.")
+    (license license:expat)))

base-commit: 4a0549be52f3f46fbce61342d8de30f7b83130c5
-- 
2.41.0





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

* [bug#69504] [PATCH v2] gnu: Add wbg.
  2024-03-02  9:45 [bug#69504] [PATCH] gnu: Add wbg dan
@ 2024-05-25  4:17 ` dan
  2024-06-22 13:44   ` bug#69504: " Zheng Junjie
  0 siblings, 1 reply; 3+ messages in thread
From: dan @ 2024-05-25  4:17 UTC (permalink / raw)
  To: 69504

* gnu/packages/wm.scm (wbg): New variable.

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

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8f74076cfd..c5194de1fc 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -72,6 +72,7 @@
 ;;; Copyright © 2024 Erik Eduardo Alonso Hernández <erik@erikeduardo.xyz>
 ;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
 ;;; Copyright © 2024 bigbug <bigbookofbug@proton.me>
+;;; Copyright © 2024 dan <i@dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3905,3 +3906,34 @@ (define-public yambar-wayland
 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)))
+
+(define-public wbg
+  ;; This commit fixes a build error: https://codeberg.org/dnkl/wbg/issues/11
+  (let ((commit "dd36cce8c47bb0e17a789cf2bd95a51e29b59e78")
+        (revision "0"))
+    (package
+      (name "wbg")
+      (version (git-version "1.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/dnkl/wbg")
+               (commit commit)))
+         (sha256
+          (base32 "0nsb8w3myprhnwr59i6g4nwkc8fx67d40l70svjmwfmhpqy6zc18"))))
+      (build-system meson-build-system)
+      (arguments
+       (list
+        #:build-type "release"
+        #:configure-flags #~(list "-Dpng=enabled"
+                                  "-Djpeg=enabled"
+                                  "-Dwebp=enabled")))
+      (native-inputs (list pkg-config tllist wayland-protocols))
+      (inputs (list libjpeg-turbo libpng libwebp pixman wayland))
+      (home-page "https://codeberg.org/dnkl/wbg")
+      (synopsis "Wallpaper application for Wayland compositors")
+      (description
+       "wbg is a super simple wallpaper application for Wayland compositors
+implementing the layer-shell protocol.")
+      (license license:expat))))

base-commit: c5e63e19ac672f9e63fc8ee98fa9a16f978ce19c
-- 
2.41.0





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

* bug#69504: [PATCH v2] gnu: Add wbg.
  2024-05-25  4:17 ` [bug#69504] [PATCH v2] " dan
@ 2024-06-22 13:44   ` Zheng Junjie
  0 siblings, 0 replies; 3+ messages in thread
From: Zheng Junjie @ 2024-06-22 13:44 UTC (permalink / raw)
  To: dan; +Cc: 69504-done

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

dan <i@dan.games> writes:

> * gnu/packages/wm.scm (wbg): New variable.
>
> Change-Id: Ib20af5fee37ab258224ead6caf35af3b9c78e802
> ---
>  gnu/packages/wm.scm | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 8f74076cfd..c5194de1fc 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -72,6 +72,7 @@
>  ;;; Copyright © 2024 Erik Eduardo Alonso Hernández <erik@erikeduardo.xyz>
>  ;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
>  ;;; Copyright © 2024 bigbug <bigbookofbug@proton.me>
> +;;; Copyright © 2024 dan <i@dan.games>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -3905,3 +3906,34 @@ (define-public yambar-wayland
>  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)))
> +
> +(define-public wbg
> +  ;; This commit fixes a build error: https://codeberg.org/dnkl/wbg/issues/11
> +  (let ((commit "dd36cce8c47bb0e17a789cf2bd95a51e29b59e78")
> +        (revision "0"))
> +    (package
> +      (name "wbg")
> +      (version (git-version "1.2.0" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://codeberg.org/dnkl/wbg")
> +               (commit commit)))
> +         (sha256
> +          (base32 "0nsb8w3myprhnwr59i6g4nwkc8fx67d40l70svjmwfmhpqy6zc18"))))
> +      (build-system meson-build-system)
> +      (arguments
> +       (list
> +        #:build-type "release"
> +        #:configure-flags #~(list "-Dpng=enabled"
> +                                  "-Djpeg=enabled"
> +                                  "-Dwebp=enabled")))
> +      (native-inputs (list pkg-config tllist wayland-protocols))
> +      (inputs (list libjpeg-turbo libpng libwebp pixman wayland))
> +      (home-page "https://codeberg.org/dnkl/wbg")
> +      (synopsis "Wallpaper application for Wayland compositors")
> +      (description
> +       "wbg is a super simple wallpaper application for Wayland compositors
> +implementing the layer-shell protocol.")
> +      (license license:expat))))
>
> base-commit: c5e63e19ac672f9e63fc8ee98fa9a16f978ce19c

move before wsbg, and add (file-name (git-file-name name version)).

push, see https://git.savannah.gnu.org/cgit/guix.git/commit/?id=8ed430586466d8ada91d6d252bfafe4b244e731d

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

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

end of thread, other threads:[~2024-06-22 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-02  9:45 [bug#69504] [PATCH] gnu: Add wbg dan
2024-05-25  4:17 ` [bug#69504] [PATCH v2] " dan
2024-06-22 13:44   ` bug#69504: " Zheng Junjie

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