From patchwork Wed Jun 21 14:33:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Felix Lechner X-Patchwork-Id: 51139 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 3F8E727BBE9; Wed, 21 Jun 2023 15:36:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 4938227BBE2 for ; Wed, 21 Jun 2023 15:36:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qBywR-0003Ct-Mw; Wed, 21 Jun 2023 10:36:16 -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 1qBywF-0003CT-Uj for guix-patches@gnu.org; Wed, 21 Jun 2023 10:36:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBywE-0006mz-J0 for guix-patches@gnu.org; Wed, 21 Jun 2023 10:36:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qBywE-0005wy-E3 for guix-patches@gnu.org; Wed, 21 Jun 2023 10:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64208] [PATCH 2/2] gnu: Add river. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Jun 2023 14:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64208@debbugs.gnu.org Cc: Felix Lechner , Ekaitz Zarraga Received: via spool by 64208-submit@debbugs.gnu.org id=B64208.168735811522784 (code B ref 64208); Wed, 21 Jun 2023 14:36:02 +0000 Received: (at 64208) by debbugs.gnu.org; 21 Jun 2023 14:35:15 +0000 Received: from localhost ([127.0.0.1]:33905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByvT-0005vP-73 for submit@debbugs.gnu.org; Wed, 21 Jun 2023 10:35:15 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:54444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qByvR-0005vF-BW for 64208@debbugs.gnu.org; Wed, 21 Jun 2023 10:35:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=S9JuZ/8MMkC8tK9 1wKFuC8Lw1goM7TR0v4aQRRGP03Y=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=NJTytGviNMDhIXgq9hekOofY4FXbBfi9fqP2UTYM bCAzecB7vb/YfzUrqVSfKZOXW0GQegV5zfLLUJnNY/CWKX/Yi7FTsjhiD846SnOg26XPZk yJ7XAvl1abMyteFpCzhtquWZ35AZEQfz4vx1yhCxa+VGHQQ200vtx75fiJt+c= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 104e340a (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 21 Jun 2023 14:35:12 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id cf5a73b2; Wed, 21 Jun 2023 14:35:11 +0000 (UTC) Date: Wed, 21 Jun 2023 07:33:37 -0700 Message-Id: <1d058b087fd119cc44ce6fb5c34cd5283fd3f94a.1687357813.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 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: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches X-Patchwork-Original-From: Felix Lechner via Guix-patches via From: Felix Lechner 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 (river): New variable. --- gnu/packages/zig-xyz.scm | 46 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index ebb5250a03..424a267e9f 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2022 Maya Tomasek ;;; Copyright © 2023 Ekaitz Zarraga +;;; Copyright © 2023 Felix Lechner ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,8 +26,49 @@ (define-module (gnu packages zig-xyz) #:use-module (guix build-system zig) #:use-module (guix gexp) #:use-module (gnu packages) - #:use-module (gnu packages zig) - #:use-module (gnu packages python)) + #:use-module (gnu packages freedesktop) + #:use-module (gnu packages man) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) + #:use-module (gnu packages wm) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xorg) + #:use-module (gnu packages zig)) + +(define-public river + (package + (name "river") + (version "0.2.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/riverwm/river") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1nvhqs6wwisf8ama7y1y3q3nf2jm9sh5bn46z8kyds8cikm0x1vh")))) + (build-system zig-build-system) + (arguments + (list + #:zig-build-flags #~(list "-Dxwayland") ;experimental xwayland support + #:zig-release-type "safe")) + (native-inputs (list + libevdev + libxkbcommon + pkg-config + pixman + scdoc + wayland + wayland-protocols + wlroots)) + (home-page "https://github.com/riverwm/river") + (synopsis "Dynamic tiling Wayland compositor") + (description "River is a dynamic tiling Wayland compositor with flexible +runtime configuration. It can run nested in an X11/Wayland session or also +directly from a tty using KMS/DRM.") + (license license:gpl3))) (define-public tigerbeetle (package