From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmdrE-00020v-08 for guix-patches@gnu.org; Thu, 24 Jan 2019 07:11:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmdex-0004Xf-52 for guix-patches@gnu.org; Thu, 24 Jan 2019 06:59:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmdex-0004XX-1A for guix-patches@gnu.org; Thu, 24 Jan 2019 06:59:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmdex-0003FD-00 for guix-patches@gnu.org; Thu, 24 Jan 2019 06:59:03 -0500 Subject: [bug#34189] Acknowledgement ([PATCH] gnu: Add arcan.) Resent-Message-ID: From: L p R n d n References: Date: Thu, 24 Jan 2019 13:58:49 +0100 In-Reply-To: (GNU bug Tracking System's message of "Thu, 24 Jan 2019 11:55:02 +0000") Message-ID: MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-arcan-wayland.patch List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34189@debbugs.gnu.org >From 5b3d105490154aaf83a7cdf56f78e73829a9dfc7 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 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index f31fa635c..a3cdd0518 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -12,11 +12,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) @@ -216,3 +218,33 @@ all the way to full-blown desktop environments") (synopsis "Patched Xserver that bridges connections to Arcan") (description "Patched Xserver that bridges connections to 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") (string-append (assoc-ref inputs "arcan") ""))) + #t))))) + (synopsis "Wayland protocol service for Arcan") + (description "Wayland protocol service for Arcan") + (license license:bsd-3))) -- 2.19.2