Received: (at submit) by debbugs.gnu.org; 2 Mar 2025 03:49:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 01 22:49:54 2025 Received: from localhost ([127.0.0.1]:49306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toaKw-0007bn-62 for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 22:49:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49380) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <hako@HIDDEN>) id 1toaKt-0007af-TT for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 22:49:52 -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 <hako@HIDDEN>) id 1toaKo-0007E4-D6 for guix-patches@HIDDEN; Sat, 01 Mar 2025 22:49:46 -0500 Received: from mx.boiledscript.com ([88.99.243.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <hako@HIDDEN>) id 1toaKm-0000A4-Gn for guix-patches@HIDDEN; Sat, 01 Mar 2025 22:49:46 -0500 From: Hilton Chain <hako@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=mail; t=1740887382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=whEp/3WsyhxLJIh90Rfg6zadJo3k+MoNsqexEuLofvc=; b=JzDvxrZUY7eBjJlV5ozIhL2x6pYFx8I8O7AfY0RNyqMnLc7hfl2rGEsagXj1OywOGpSeIS ChHOnN/RhRan3//OLlOIASvJ8jX/zZBj6eQKN8S6lhHjme50NFTyvYVdqIxYva+zRhPnwR OU2b7lTUEm8UfrMuVOPUWXRkCoC4h9q0tZWxFWp9D+Qfr9gDSL8C0Ibsk5JFuM5QyUVzJ2 gyJ5hHQBjEnffTuzDnKPFDavX/8+VhSjvRTfGpndMihHcaEmaJ3VVJpa2wl7SnBDIwpBFy Pd2RHmdN7rlTSO0H5kTJr1E+9j9ICBry11mkXd701FFaw65gV4y7Za+zuaY1jA== To: guix-patches@HIDDEN Subject: [PATCH] gnu: Add xwayland-run. Date: Sun, 2 Mar 2025 11:49:19 +0800 Message-ID: <e636bb646821ef32e4f3323c54c19f70a5be8cb6.1740887283.git.hako@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=88.99.243.112; envelope-from=hako@HIDDEN; helo=mx.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Hilton Chain <hako@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) * gnu/packages/xorg.scm (xwayland-run): New variable. Change-Id: I447913a9ef4fca8ec8cad128b15eeb61041ca734 --- gnu/packages/xorg.scm | 55 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 698f3d4c91..780d2811b2 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -6841,6 +6841,61 @@ (define-public xvfb-run (license (list license:x11 ; the script license:gpl2+)))) ; the man page +(define-public xwayland-run + (package + (name "xwayland-run") + (version "0.0.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/ofourdan/xwayland-run.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1nhrdjk1zbxfxkqwsz992g6xg04gankprzks543931fysclgdzql")))) + (build-system meson-build-system) + (arguments + (list + #:imported-modules + (append %meson-build-system-modules + %python-build-system-modules) + #:modules + '((guix build utils) + (guix build meson-build-system) + ((guix build python-build-system) #:prefix python:)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'enable-bytecode-determinism + (assoc-ref python:%standard-phases 'enable-bytecode-determinism)) + (add-after 'install 'add-install-to-pythonpath + (assoc-ref python:%standard-phases 'add-install-to-pythonpath)) + (add-after 'add-install-to-pythonpath 'add-install-to-path + (assoc-ref python:%standard-phases 'add-install-to-path)) + (add-after 'add-install-to-path 'wrap + (assoc-ref python:%standard-phases 'wrap)) + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/wlheadless/xwayland.py" + (("'(xauth|Xwayland)'" _ command) + (format #f "'~a'" (search-input-file + inputs (in-vicinity "bin" command)))))))))) + (inputs (list python xauth xorg-server-xwayland)) + (home-page "https://gitlab.freedesktop.org/ofourdan/xwayland-run") + (synopsis "Run X11 client on dedicated Xwayland server") + (description + "@code{xwayland-run} contains a set of small utilities revolving around +running @command{Xwayland} and various Wayland compositor headless, namely: +@itemize +@item @command{xwayland-run}: Spawn X11 client within its own dedicated +@command{Xwayland} rootful instance. +@item @command{wlheadless-run}: Run Wayland client on a set of supported +Wayland headless compositors. +@item @command{xwfb-run}: Combination of above two tools to be used as a +direct replacement for @command{xvfb-run} specifically. +@end itemize") + (license license:gpl2+))) + (define-public setroot (package (name "setroot") base-commit: f9dcb84550b85aa816899b2106b1a5ae546167a3 -- 2.48.1
Hilton Chain <hako@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#76672
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.