From patchwork Wed Mar 13 11:20:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: L p R n d n X-Patchwork-Id: 1411 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 1027B16CED; Wed, 13 Mar 2019 10:31:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CA30016CBB for ; Wed, 13 Mar 2019 10:31:34 +0000 (GMT) Received: from localhost ([127.0.0.1]:41843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h41Ab-0004xQ-NQ for patchwork@mira.cbaines.net; Wed, 13 Mar 2019 06:31:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h41AS-0004kA-9l for guix-patches@gnu.org; Wed, 13 Mar 2019 06:31:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h410Q-0002j1-17 for guix-patches@gnu.org; Wed, 13 Mar 2019 06:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h410P-0002i6-Rg for guix-patches@gnu.org; Wed, 13 Mar 2019 06:21:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h410P-0001dv-Mq for guix-patches@gnu.org; Wed, 13 Mar 2019 06:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#34189] [PATCH] gnu: Add arcan. References: Resent-From: L p R n d n Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Mar 2019 10:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34189 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 34189-submit@debbugs.gnu.org id=B34189.15524724436271 (code B ref 34189); Wed, 13 Mar 2019 10:21:01 +0000 Received: (at 34189) by debbugs.gnu.org; 13 Mar 2019 10:20:43 +0000 Received: from localhost ([127.0.0.1]:41065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4106-0001d5-Ee for submit@debbugs.gnu.org; Wed, 13 Mar 2019 06:20:42 -0400 Received: from mout02.posteo.de ([185.67.36.142]:40237) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4103-0001cm-3c for 34189@debbugs.gnu.org; Wed, 13 Mar 2019 06:20:40 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 65606240102 for <34189@debbugs.gnu.org>; Wed, 13 Mar 2019 11:20:32 +0100 (CET) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 44K7C25nYNz9rxT; Wed, 13 Mar 2019 11:20:30 +0100 (CET) From: L p R n d n Date: Wed, 13 Mar 2019 12:20:31 +0100 In-Reply-To: Ludovic =?utf-8?q?Court=C3=A8s=27s?= message of "Mon\, 04 Mar 2019 15\:10\:49 +0100 \(1 week\, 1 day\, 21 hours ago\)" Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 34189@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Ludovic Courtès writes: [...] > > Sorry that this is taking so long, but at least we’re making progress! > :-) > > Ludo’. Don't worry I'm not very quick to answer myself and as long as we're going forward, everything should be fine. I join new patches for xarcan and arcan-wayland. Thanks for your help! Lprndn From eef364a45e520a6a9b34172b1ae0455d77a6c769 Mon Sep 17 00:00:00 2001 From: Lprndn Date: Thu, 24 Jan 2019 13:41:30 +0100 Subject: [PATCH] gnu: Add arcan-wayland. * gnu/packages/arcan.scm (arcan-wayland): New variable. --- gnu/packages/arcan.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index c7c81241f0..b59e5637be 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -30,11 +30,13 @@ #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages libusb) + #:use-module (gnu packages linux) #:use-module (gnu packages lua) #:use-module (gnu packages ocr) #:use-module (gnu packages pcre) @@ -249,3 +251,35 @@ engine programmable using Lua.") to map Xlib/Xcb/X clients to a running arcan instance. It allows running an X session as a window under Arcan.") (license license:expat)))) + +(define-public arcan-wayland + (package + (inherit arcan) + (name "arcan-wayland") + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("arcan" ,arcan) + ("libseccomp" ,libseccomp) + ("libxkbcommon" ,libxkbcommon) + ("mesa" ,mesa) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'chdir + (lambda _ + (chdir "src/tools/waybridge") + #t)) + (add-after 'unpack 'fix-cmake-find-shmif + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/platform/cmake/modules/Findarcan_shmif.cmake" + (("/usr/local") (assoc-ref inputs "arcan"))) + #t))))) + (synopsis "Wayland protocol service for Arcan") + (description "Arcan-wayland (waybridge) bridges Wayland connections +with an Arcan connection point. It allows Wayland compatible clients +to connect and render using Arcan.") + (license license:bsd-3))) -- 2.20.1