From patchwork Thu Feb 20 19:09:12 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashvith Shetty X-Patchwork-Id: 38885 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 2CA8D27BBE2; Thu, 20 Feb 2025 19:11:42 +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,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 3EF4227BBE9 for ; Thu, 20 Feb 2025 19:11:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tlBwx-0003YN-E3; Thu, 20 Feb 2025 14:11:07 -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 ) id 1tlBwu-0003XJ-TZ for guix-patches@gnu.org; Thu, 20 Feb 2025 14:11:04 -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 ) id 1tlBwu-0000n5-KV for guix-patches@gnu.org; Thu, 20 Feb 2025 14:11:04 -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:References:In-Reply-To:Date:From:To:Subject; bh=mT4Go+dwtRWRnGxm1xr2ZpQOAu4bxT/eSbJFmqV8p/8=; b=YpHBLR+XRIntoTBj79Xl8Cy6CJ+tNFuSAZ1bmt2mt84umMdefIynGA9VhxeyACFpOkNZFA8D09Rm3eneMNaU/1KlqJCfwwMYZopwd4VZlqjODZOG2k0tLmCxY2kSTuGNvBoLlIQYLqvZEhwAT4sgJJ/qPRWyCknPMoH3NsCR6fHepOV8unpsXqHLpyE+s2Fm7bCgr+WH3w55oE8R+XMwNy8aCUuqpLgtCE7Zr4QMVspX7PNV/ICkrAaNJcp/KYB+yenpXiZF3rux6TLKVvUfYAaJ4bbtaxzJvS7A06wbJd11zGz/8sgLm6bgKrPNg45F2a9F+efsWis4O6gF/M1C8w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tlBwu-00014u-Bx for guix-patches@gnu.org; Thu, 20 Feb 2025 14:11:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75522] [PATCH v1 3/3] gnu: Add beanbag. Resent-From: Ashvith Shetty Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Feb 2025 19:11:04 +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@debbugs.gnu.org Cc: Hilton Chain , Ashvith Shetty Received: via spool by 75522-submit@debbugs.gnu.org id=B75522.17400786303863 (code B ref 75522); Thu, 20 Feb 2025 19:11:04 +0000 Received: (at 75522) by debbugs.gnu.org; 20 Feb 2025 19:10:30 +0000 Received: from localhost ([127.0.0.1]:41148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tlBwL-000105-Az for submit@debbugs.gnu.org; Thu, 20 Feb 2025 14:10:30 -0500 Received: from sender-pp-o91.zoho.in ([103.117.158.91]:2422) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tlBw8-0000te-Iv for 75522@debbugs.gnu.org; Thu, 20 Feb 2025 14:10:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1740078602; s=zoho; d=zohomail.in; i=ashvithshetty0010@zohomail.in; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=mT4Go+dwtRWRnGxm1xr2ZpQOAu4bxT/eSbJFmqV8p/8=; b=RxhEkY/7yPXSsdELoVrfXBaSg7ryUlymLwKfJRuRhbFybjLyt+2hpHn1aKpkZhDa d+DoX5AnyDy5xsklrO90OVDmx2H2VGg698G+jHch7++3unWlJiNGhkpBnRhOw0aoJvX OP9idypVzm+0Z2pnYg/WaJX4CGkUjL0Bf7OJaoBs= Received: by mx.zoho.in with SMTPS id 1740078600639247.1408093660482; Fri, 21 Feb 2025 00:40:00 +0530 (IST) Date: Fri, 21 Feb 2025 00:39:12 +0530 Message-ID: <20250220190940.14643-4-ashvithshetty0010@zohomail.in> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250220190940.14643-1-ashvithshetty0010@zohomail.in> References: <20250220190940.14643-1-ashvithshetty0010@zohomail.in> MIME-Version: 1.0 X-ZohoMailClient: External 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 From: Ashvith Shetty * gnu/packages/zig-xyz.scm (beanbag): New variable. Change-Id: I07ebb8f6e632e4c24e183ad8d9f01f1bf17373f0 --- gnu/packages/zig-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index e8fa59227d..03118cfe85 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -189,6 +189,44 @@ (define-public zig-known-folders (home-page "https://github.com/ziglibs/known-folders") (license license:expat)))) +(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 + "beanbag is a wallpaper app for Wayland compositors, heavily inspired by dnkl's wbg.") + (license license:gpl3))) + (define-public zig-pixman (package (name "zig-pixman")