From patchwork Wed Mar 6 08:47:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Flake X-Patchwork-Id: 61390 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 6B80F27BBEA; Wed, 6 Mar 2024 08:48:54 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 8CD6427BBE2 for ; Wed, 6 Mar 2024 08:48:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhmx4-0005wn-Vc; Wed, 06 Mar 2024 03:48:39 -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 1rhmwy-0005wU-CJ for guix-patches@gnu.org; Wed, 06 Mar 2024 03:48:34 -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 1rhmwx-0007MB-P1 for guix-patches@gnu.org; Wed, 06 Mar 2024 03:48:32 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhmxS-0004Vn-Eu for guix-patches@gnu.org; Wed, 06 Mar 2024 03:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65711] [PATCH v2] wlr-protocols / wl-mirror added References: <20230902232057.48289-1-kiasoc5@disroot.org> In-Reply-To: <20230902232057.48289-1-kiasoc5@disroot.org> Resent-From: Julian Flake Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Mar 2024 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65711 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65711@debbugs.gnu.org Cc: Julian Flake Received: via spool by 65711-submit@debbugs.gnu.org id=B65711.170971489717095 (code B ref 65711); Wed, 06 Mar 2024 08:49:02 +0000 Received: (at 65711) by debbugs.gnu.org; 6 Mar 2024 08:48:17 +0000 Received: from localhost ([127.0.0.1]:49690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhmwj-0004Re-0o for submit@debbugs.gnu.org; Wed, 06 Mar 2024 03:48:17 -0500 Received: from nsmtp.uni-koblenz.de ([141.26.64.14]:50787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhmwg-0004RO-Fa for 65711@debbugs.gnu.org; Wed, 06 Mar 2024 03:48:15 -0500 Received: from localhost (localhost [127.0.0.1]) by nsmtp.uni-koblenz.de (Postfix) with ESMTP id 4472F1A0033; Wed, 6 Mar 2024 09:47:38 +0100 (CET) Authentication-Results: nsmtp.uni-koblenz.de (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=uni-koblenz.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uni-koblenz.de; h=content-transfer-encoding:mime-version:x-mailer:message-id :date:date:subject:subject:from:from:received:received:received; s=mail; t=1709714858; x=1711529259; bh=4Bu2IBxAC/DuF5atWfIIp0rK bahbMAEtMGdeS3B4iAw=; b=GBRuXJ38pxYSxDl3ypuWHC8Qvw6lGXYwbOwHuUGt wkv6lr6l64b+1nHqFPA2SrAx4me+dHbqaXSBF6UcPvjOd8x0FGNQkX0tAOS1+OMp DZuC12jCOFEmN0fE9NJnPG4t426/SIQ9c4gML94KA2pig/tOf7EFQOl+exsHxgXF sxQ= X-Virus-Scanned: Debian amavisd-new at uni-koblenz.de Received: from nsmtp.uni-koblenz.de ([127.0.0.1]) by localhost (nsmtp.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g7dq3Xcwicuy; Wed, 6 Mar 2024 09:47:38 +0100 (CET) Received: from mailproxy.uni-koblenz.de (mailproxy.uni-koblenz.de [141.26.64.230]) by nsmtp.uni-koblenz.de (Postfix) with ESMTPS; Wed, 6 Mar 2024 09:47:38 +0100 (CET) Received: from nutbook.uni-koblenz.de (unknown [IPv6:2001:4c80:50:16:179a:2a3a:f775:a428]) by mailproxy.uni-koblenz.de (Postfix) with ESMTPSA id 10695100115; Wed, 6 Mar 2024 09:47:38 +0100 (CET) From: Julian Flake Date: Wed, 6 Mar 2024 09:47:34 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 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: , 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/freedesktop.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/wm.scm | 31 +++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) base-commit: b6dec0108f99d75066bad15aaa124b84bb0261f3 diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 7b5d2dbbf2..627a837801 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -1270,6 +1270,37 @@ (define-public wayland-protocols . "https://wayland.freedesktop.org/releases.html"))) (license license:expat))) +(define-public wlr-protocols + (let ((revision "0") + (commit "4264185db3b7e961e7f157e1cc4fd0ab75137568")) + (package + (name "wlr-protocols") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/wlroots/wlr-protocols.git") + (commit commit))) + (sha256 + (base32 + "045jj3mbhi7p2qn59krz0vap0wd3i6zgwkvpl97idy702bnk9mv6")))) + (build-system gnu-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'set-prefix-in-makefile + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* "Makefile" + (("PREFIX=.*") (string-append "PREFIX="out "\n"))))))))) + (inputs + (list wayland)) + (home-page "https://gitlab.freedesktop.org/wlroots/wlr-protocols") + (synopsis "Wayland protocols designed for use in wlroots (and other compositors).") + (description + "Wayland protocols designed for use in wlroots (and other compositors).") + (license expat)))) + (define-public wayland-utils (package (name "wayland-utils") diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 8ed3ed1107..fe07747a81 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1759,6 +1759,37 @@ (define-public wlroots-0.16 (propagated-inputs (modify-inputs (package-propagated-inputs wlroots) (delete libdisplay-info))))) +(define-public wl-mirror + (package + (name "wl-mirror") + (version "0.16.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Ferdi265/wl-mirror") + (commit "v0.16.1"))) + (sha256 + (base32 + "0464m60xsbpfwvsszrdkjsxfvrbkr71hp7phsz05cqyvjwf6cism")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list "-DFORCE_SYSTEM_WL_PROTOCOLS=ON" + (string-append "-DWL_PROTOCOL_DIR=" + #$(this-package-input "wayland-protocols") "/share/wayland-protocols") + "-DFORCE_SYSTEM_WLR_PROTOCOLS=ON" + (string-append "-DWLR_PROTOCOL_DIR=" + #$(this-package-input "wlr-protocols") "/share/wlr-protocols")))) + (inputs + (list pkg-config egl-wayland mesa wayland wayland-protocols wlr-protocols)) + (home-page "https://github.com/Ferdi265/wl-mirror") + (synopsis "A simple Wayland output mirror client") + (description + "wl-mirror attempts to provide a solution to sway's lack of output mirroring by mirroring an output onto a client surface.") + (license gpl3))) + (define-public sway (package (name "sway")