| Message ID | 20250112181145.7801-1-ashvithshetty10@gmail.com |
|---|---|
| Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id CD46A27BBE9; Sun, 12 Jan 2025 18:13:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4AC9627BBE2 for <patchwork@mira.cbaines.net>; Sun, 12 Jan 2025 18:13:33 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tX2SQ-0000mg-1i; Sun, 12 Jan 2025 13:13:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tX2SN-0000mU-N2 for guix-patches@gnu.org; Sun, 12 Jan 2025 13:13:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tX2SN-0004lk-6R for guix-patches@gnu.org; Sun, 12 Jan 2025 13:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=Tespp0RoJGXVWcLfKjvSRF66h5joUaVrTJICG8z/KLA=; b=NuIhr9WrVU3IE4AGyv53gwiuIZKEGhpf0Ogd4LdMcbzPDokg0kti5IWg8Ma9Qv7j0iry/cQ7udGU1f7iZoXKBHDYw8uWVwQ4tDVHX50NydkMoQ3yQ2oK+vlEbccEu0YRQv0mSiQLxwkcKZfli4uIplOww7VDwaR1Mkji/90NskI7vov0t/78ZLpxSTTjQICjLpO1WerC2lHMtyv5MKzdW6ZhSKEz5qnL8susDtdTiZgPk/3AGV7aTWU8HTyKGNgDU4w2U72sjTUKbxCWo8Wyp1KjFpbywlJo8fJ99QUXa7fx41O9mWT+7VwiuNa7XwxPkAoMFv8g8tfnNV0qFNH6og==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tX2SL-0006Ez-VF for guix-patches@gnu.org; Sun, 12 Jan 2025 13:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75522] [PATCH v0 0/4] Add beanbag Resent-From: Ashvith Shetty <ashvithshetty10@gmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 12 Jan 2025 18:13:01 +0000 Resent-Message-ID: <handler.75522.B.173670553223874@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75522 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75522@debbugs.gnu.org Cc: hako@ultrarare.space, Ashvith Shetty <ashvithshetty10@gmail.com>, ekaitz@elenq.tech X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173670553223874 (code B ref -1); Sun, 12 Jan 2025 18:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jan 2025 18:12:12 +0000 Received: from localhost ([127.0.0.1]:49017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tX2RY-0006D0-2c for submit@debbugs.gnu.org; Sun, 12 Jan 2025 13:12:12 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54918) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ashvithshetty10@gmail.com>) id 1tX2RW-0006Ck-Be for submit@debbugs.gnu.org; Sun, 12 Jan 2025 13:12:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ashvithshetty10@gmail.com>) id 1tX2RQ-0000cm-Ao for guix-patches@gnu.org; Sun, 12 Jan 2025 13:12:04 -0500 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <ashvithshetty10@gmail.com>) id 1tX2RO-0004hv-Hc for guix-patches@gnu.org; Sun, 12 Jan 2025 13:12:03 -0500 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-2165448243fso72099085ad.1 for <guix-patches@gnu.org>; Sun, 12 Jan 2025 10:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736705520; x=1737310320; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Tespp0RoJGXVWcLfKjvSRF66h5joUaVrTJICG8z/KLA=; b=SxXE1kDrEgaOd0Kyi9W/agNHjgk5cZdvnrG5v5cZErx5l+WzD3B3EItHX5PYivHWbj f+LtU6SX9iHLgzopUh+3s0hYhtS12+aOnGVweLprSJAmT4BNpS0ALETQhwc/vR0hgx1Q GT+tcKvz/ubPkK81XCjH7v9uvA9lIcP48YXKs3pmgD+MLqdYJt9ISoEmNLsuv7R+KydI PE+7ler2EgCxdtN00ACCmKf6vbr3ozPo/47yBEa9lhF8eJCosxkxYJ4lFvgXGTZV8iBh S7QzeMQceP3YvQrW49l6juoiQv/kMznW86cvJslXTjPK7Y5yRvhQMxrIsCDG0AmNRqOR FpQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736705520; x=1737310320; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Tespp0RoJGXVWcLfKjvSRF66h5joUaVrTJICG8z/KLA=; b=wx9n0F8lPgku7JcYfKUTQVHus3RN8NA9hprvfO8+IesXJr6jTZhurcTMdIIm2a3LDO tRTYsuUj/2WOqZNc3BnCs4PN58qCV8FM4knt8gIoPsVXdpdICDEeaSks2f/s8AcvcJ22 laXQsxjVWRDJoF5Zvv8sfUpM+ncrJFC2Kpccb56JeAhEyILWTI6L/yI+ugEGN9CkBtJm VDph7XFL39hUR9ml40kSid+FdCy72kNjsqVLIxpVt4zBk5OHME19kfKxbg5zGmbCfQiK 4RR9ulwOZuUeJczJPxBB786QGC08SBI0RJ8Sg9ft/mcDAhMqYDoDI8fiwdWIh6o0wFg9 hgzg== X-Gm-Message-State: AOJu0YwqcHx+OJvL7Fzy3NpJwGhmyYEtEofRqCn0ZvZwzUv+AX3A+3/6 8J4yjuEKtTSafTsUZ9EMpNHTN3mw8to2WpU4ekTAPKSf4ZXDZquZxNsKGm1j X-Gm-Gg: ASbGnctIP5dlka7clRpKuyEnEl+I/gwn9QpAHQ9nG+aBqqtlb7R7vcNZrjTcLWsGYKt SVg+1yP0EidjPnRZd1WNjkK041V/hwi0PgTk8qJr3rhVQqr4GkQf8qIKZS9ISbXTs3FszIYsHK5 TSSClvphvJi6ZmtvIm2QHAW6l7Ibhix/s/5SlsYTBk9b2JOzJ2/5GEAhMoY8X7pmic6wvTKKckS TgoTHYix/8PxKIyO9yuwgihX4aM/mbjas0xQIue36DZup47RG6QSl3Vc4M81X6Yafqeu/DmD0gt 1q3Kog== X-Google-Smtp-Source: AGHT+IG0/gQakoAYVpMDPr5Hvrb4tD/QcGnI3on5LHx6MMp9NK9XwRb5KKgRgbzFECPXCOwyAef31Q== X-Received: by 2002:a05:6a20:7fa7:b0:1e0:d575:8d4f with SMTP id adf61e73a8af0-1e88d39c828mr28757309637.37.1736705520127; Sun, 12 Jan 2025 10:12:00 -0800 (PST) Received: from localhost.localdomain ([2401:4900:1cbd:5839:1cc2:4d3e:e2ff:6e2f]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-a3b1efd4551sm5169052a12.68.2025.01.12.10.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2025 10:11:59 -0800 (PST) From: Ashvith Shetty <ashvithshetty10@gmail.com> Date: Sun, 12 Jan 2025 23:41:23 +0530 Message-ID: <20250112181145.7801-1-ashvithshetty10@gmail.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=ashvithshetty10@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
| Series | Add beanbag | |
Message
Ashvith Shetty
Jan. 12, 2025, 6:11 p.m. UTC
This patch series includes beanbag, as well as it's dependencies. One such dependency, `zig-wayland-beanbag`, is a package variant of `zig-wayland`. `zigimg`, another dependency, does not have a tag available yet, and hence the use of commit to pin to the version required by beanbag. Ashvith Shetty (4): gnu: Add zig-clap. gnu: Add zig-wayland-beanbag. gnu: Add zig-img. gnu: Add beanbag. gnu/packages/zig-xyz.scm | 102 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+)
Comments
* gnu/packages/zig-xyz.scm (zig-clap): New variable.
Change-Id: Iae01f44bd9ddb312b51cf899c24f6b56a808d026
---
gnu/packages/zig-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index a76dbb0473..4d1cbf9000 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2023 Ekaitz Zarraga <mailto:ekaitz@elenq.tech>
;;; Copyright © 2023 Felix Lechner <mailto:felix.lechner@lease-up.com>
;;; Copyright © 2024 Justin Veilleux <mailto:terramorpha@cock.li>
+;;; Copyright © 2025 Ashvith Shetty <mailto:ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -141,6 +142,27 @@ (define-public waylock
@code{ext-session-lock-v1} protocol.")
(license license:expat)))
+(define-public zig-clap
+ (package
+ (name "zig-clap")
+ (version "0.9.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Hejsil/zig-clap")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1xjskvyib3kai3nmp574zfm07yvjsbzsxfysj96ss9339nq07ix6"))))
+ (build-system zig-build-system)
+ (home-page "https://github.com/Hejsil/zig-clap")
+ (synopsis "Command line argument parsing library for Zig")
+ (description
+ "@code{zig-clap} is a simple and easy to use command line argument parser library for
+Zig.")
+ (license license:expat)))
+
(define-public zig-diffz
(let ((commit "420fcb22306ffd4c9c3c761863dfbb6bdbb18a73")
(revision "0"))
--
2.48.1
* gnu/packages/zig-xyz.scm (zig-img): New variable.
Change-Id: If87e1f65d3aa544b30ea3fb0da4e292bcec5e567
---
gnu/packages/zig-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 4d1cbf9000..37c6e27e0a 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -187,6 +187,30 @@ (define-public zig-diffz
(home-page "https://github.com/ziglibs/diffz")
(license license:expat))))
+(define-public zig-img
+ ;; zig-img is required by beanbag. However, there's no tags at the
+ ;; moment, so we'll be using the commit mentioned in beanbag's repo.
+ (let ((commit "52f10dd3e3b1cd4614fe72a8a8f0eddc7700bc0a")
+ (revision "0"))
+ (package
+ (name "zig-img")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/zigimg/zigimg")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "187nh49rdv37arlvf056jiv58n4y87q2pm6qvznn75zrszjlvp0b"))))
+ (build-system zig-build-system)
+ (home-page "https://github.com/zigimg/zigimg")
+ (synopsis "Zig library for reading and writing different image formats")
+ (description
+ "@code{zig-img} is a Zig library for reading and writing different image formats.")
+ (license license:expat))))
+
(define-public zig-known-folders
(let ((commit "1cceeb70e77dec941a4178160ff6c8d05a74de6f")
(revision "0"))
--
2.48.1
* gnu/packages/zig-xyz.scm (beanbag): New variable.
Change-Id: I1ffb34dd771e4cb0938f1c471573e6bbe1ff5046
---
gnu/packages/zig-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm
index 37c6e27e0a..9d4d02c02d 100644
--- a/gnu/packages/zig-xyz.scm
+++ b/gnu/packages/zig-xyz.scm
@@ -38,6 +38,46 @@ (define-module (gnu packages zig-xyz)
#:use-module (gnu packages xorg)
#:use-module (gnu packages zig))
+(define-public beanbag
+ (package
+ (name "beanbag")
+ (version "0.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/bwbuhse/beanbag")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1d2h5bqicqnyawswdq7bg1w9frjk0ra2sva1as2qgc5s7pjclyql"))
+ (snippet (rename-zig-dependencies '(("clap" . "zig-clap")
+ ("zigimg" . "zig-img"))))))
+ (build-system zig-build-system)
+ (arguments
+ (list
+ ;; Nothing to test
+ #:tests? #f
+ #:install-source? #f
+ #:zig-release-type "safe"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-deps
+ (lambda* (#:key inputs #:allow-other-keys)
+ (delete-file-recursively "protocol")
+ (substitute* "build.zig"
+ (("protocol\\/wlr-layer-shell-unstable-v1.xml")
+ (string-append (search-input-file inputs
+ "share/wlr-protocols/unstable/wlr-layer-shell-unstable-v1.xml")))))))))
+ (inputs (list zig-clap zig-img zig-pixman zig-wayland))
+ (native-inputs (list pkg-config wlr-protocols))
+ (home-page "https://codeberg.org/bwbuhse/beanbag")
+ (synopsis "Wallpaper app for Wayland compositors")
+ (description
+ "@code{beanbag} is a wallpaper app for Wayland compositors, heavily inspired by
+ dnkl's @code{wbg}.")
+ (license license:gpl3)))
+
(define-public river
(package
(name "river")
--
2.48.1
Ashvith Shetty (3): gnu: Add zig-clap. gnu: Add zig-img. gnu: Add beanbag. gnu/packages/zig-xyz.scm | 86 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+)
On Mon, 24 Mar 2025 21:09:49 +0800, Ashvith Shetty wrote: > > Ashvith Shetty (3): > gnu: Add zig-clap. > gnu: Add zig-img. > gnu: Add beanbag. > > gnu/packages/zig-xyz.scm | 86 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 86 insertions(+) > > -- > 2.48.1 Applied as the following commits, with modifications: 14d7fe42b8 gnu: Add beanbag. 82619151c7 gnu: Add zig-zigimg. 3be752259d gnu: Add zig-clap. Thanks