From patchwork Mon Mar 24 13:12:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashvith Shetty X-Patchwork-Id: 40779 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A447D27BBE9; Mon, 24 Mar 2025 13:13:12 +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.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS 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 83F9C27BBE2 for ; Mon, 24 Mar 2025 13:13:11 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1twhc2-0007KX-4p; Mon, 24 Mar 2025 09:13:06 -0400 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 ) id 1twhby-0007Jy-T0 for guix-patches@gnu.org; Mon, 24 Mar 2025 09:13:02 -0400 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 ) id 1twhby-00067C-J7 for guix-patches@gnu.org; Mon, 24 Mar 2025 09:13:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=PT3TLXibHLfjjlSUbeI6tBZOvO9PeFXdSxbTKW6QCMM=; b=du4z3PMdF1eGWJv1gYrm/WsJoJamL8fmNbdIIhXl4nSnSIIjrBpDQrAp0Vm5r8rTDItmPY1pcge/m4ZxQBwzfgHFc39WGF43MJXQvXE6UeMqgRrWNXZoPRWeW0mLjR4zLNODiRiYmFw6CFQw/jtqjeXpgmcdw7CtMPiId3ZkvlTdaMbnFrtU0JjZ+6mavUKxTBjNdpGGnqmgxwhcQuu8VBoV2N4dJvPAN898MHrL09VVRyPqDcQOR8gP+/xIz8yI7GKROWwr2pObzjg7TybQAyD+w9QfpA7wPr/OI2C5857Pw6Qa3Wb/oWRkwxD4rAv6Lg65sKPTYWMwVf+ilH/H/Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1twhby-0000ud-C7 for guix-patches@gnu.org; Mon, 24 Mar 2025 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#75522] [PATCH v2 3/3] gnu: Add beanbag. References: <20250112181145.7801-1-ashvithshetty10@gmail.com> In-Reply-To: <20250112181145.7801-1-ashvithshetty10@gmail.com> Resent-From: Ashvith Shetty Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Mar 2025 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75522 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "75522" <75522@debbugs.gnu.org> Cc: Hilton Chain Received: via spool by 75522-submit@debbugs.gnu.org id=B75522.17428219513455 (code B ref 75522); Mon, 24 Mar 2025 13:13:02 +0000 Received: (at 75522) by debbugs.gnu.org; 24 Mar 2025 13:12:31 +0000 Received: from localhost ([127.0.0.1]:54783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1twhbS-0000tf-VK for submit@debbugs.gnu.org; Mon, 24 Mar 2025 09:12:31 -0400 Received: from sender-pp-o93.zoho.in ([103.117.158.93]:3467) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1twhbP-0000tI-So for 75522@debbugs.gnu.org; Mon, 24 Mar 2025 09:12:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1742821934; s=zoho; d=zohomail.in; i=ashvithshetty0010@zohomail.in; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=PT3TLXibHLfjjlSUbeI6tBZOvO9PeFXdSxbTKW6QCMM=; b=UQ2JM/r2FbfvddgkPXk/oEB7i4FLQpHtLoSbN5z/TtxKOGUvB8SqE+HGbxaEsn/G cogIoMHq6SN1swvbTH96speZASTd0pmaPlj/zJmHnM79Zz8NkoNjoBnr3uH6yJQ1W3n b1ZQfpXSxrmRe7rK6DFDD9WNq42hDNT0zAkVs81Q= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1742821933752965.971882048688; Mon, 24 Mar 2025 18:42:13 +0530 (IST) Received: from [122.172.81.206] by mail.zoho.in with HTTP;Mon, 24 Mar 2025 18:42:13 +0530 (IST) Date: Mon, 24 Mar 2025 18:42:13 +0530 Message-ID: <195c84842ac.63d5dd6d258144.2933637696280936882@zohomail.in> MIME-Version: 1.0 Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ashvith Shetty X-ACL-Warn: , Ashvith Shetty via Guix-patches X-Patchwork-Original-From: Ashvith Shetty via Guix-patches via From: Ashvith Shetty 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 * 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")