[PATCH] gnu: Add wbg.

  • Done
  • quality assurance status badge
Details
2 participants
  • dan
  • Zheng Junjie
Owner
unassigned
Submitted by
dan
Severity
normal

Debbugs page

D
(address . guix-patches@gnu.org)
ed742e3b23225a653b996b22d91dcb1c7db23e36.1709372736.git.i@dan.games
* gnu/packages/wm.scm (wbg): New variable.

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

Toggle diff (47 lines)
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
D
[PATCH v2] gnu: Add wbg.
(address . 69504@debbugs.gnu.org)
280add0be03067b816309257ba7385f1e9f02a41.1716610650.git.i@dan.games
* gnu/packages/wm.scm (wbg): New variable.

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

Toggle diff (51 lines)
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
Z
Z
Zheng Junjie wrote on 22 Jun 06:44 -0700
(name . dan)(address . i@dan.games)(address . 69504-done@debbugs.gnu.org)
87le2x149m.fsf@iscas.ac.cn
dan <i@dan.games> writes:

Toggle quote (57 lines)
> * 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)).

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmZ21SUACgkQO1qpk+Gi
3/ByLA/9EI5guPf+8/45Rk+ZzqXsFTrEDhRF3o6V3vu1Q07Gcmn0k8yOmZyFD5Fm
9uWmdtEkb/nLB7rWk5OdszBiM3VnupRbILgXYc+1Zf//cXrsUItsQUhLyLv7WHPj
uoS3pd9J5Ql13ecdfc1vZuqibBdBwzcmMxu0yqfNQKveJxpnDOtuiLPfcfTJWf3F
cNnh/YdQp7CWBRrV1bZwXQ1VuY+sRy9tQGdm+KyXM43BVMzZAd9EQkXqKq7e53yW
oUh9DiXiv6Tdj9mNQ/+SE94yd8MstBPAdAfy4VlEuoE6UlOm6LyQ7QjHQyH3DgZu
Jnk6yeLRa9QVOTvtqipco22O31gyzc7LRtoAYpMu3n0ThnOrAMz899ALoVLuuj13
nvAwwVUo/mZORE12fsDxz901i8hysm1/gt+B6l2t2in+nYhRktKbBGmxZCvQ44Sf
AW9l6NQxnwBMLTqYfwr/cR3a0GpF8nnbiFlH3I+55BSEPF0V0FiFzRrDMfXCsILP
vY4ObCsBDij+n+gxa/nt6ZlZGaQ2GAyz+MXegV36x53uoHe0J4T9gjJ6jO3/d7qg
bvisluDS9UYnYmIGSkL/7TxB8hp23tt+u0L1gjX8DfPN8MaUvOufIv8gU1hcG+RL
ISr1qT+L4qzCk5GG1AGgaQLKXTi6tmm4TfpnS/bx5iwsxMXcHJQ=
=V2da
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 69504@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 69504
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch