From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gmdr8-00022F-CB for guix-patches@gnu.org; Thu, 24 Jan 2019 07:11:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gmdfv-0005el-OT for guix-patches@gnu.org; Thu, 24 Jan 2019 07:00:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gmdfv-0005eh-Kf for guix-patches@gnu.org; Thu, 24 Jan 2019 07:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gmdfv-0003Hf-FQ for guix-patches@gnu.org; Thu, 24 Jan 2019 07:00: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:59:32 +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-aloadimage.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 4adf952f0363ef41d992eb5bad308da76ec44a5b Mon Sep 17 00:00:00 2001 From: Lprndn Date: Thu, 24 Jan 2019 13:45:03 +0100 Subject: [PATCH] gnu: Add aloadimage. * gnu/packages/arcan.scm (aloadimage): New variable. --- gnu/packages/arcan.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/arcan.scm b/gnu/packages/arcan.scm index 45f6329e5..3589ca55b 100644 --- a/gnu/packages/arcan.scm +++ b/gnu/packages/arcan.scm @@ -276,3 +276,32 @@ all the way to full-blown desktop environments") (synopsis "Clipboard manager for Arcan") (description "Clipboard manager for Arcan") (license license:bsd-3))) + +(define-public aloadimage + (package + (name "aloadimage") + (version (package-version arcan)) + (source (package-source arcan)) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("arcan" ,arcan) + ("libseccomp" ,libseccomp))) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'configure 'chdir + (lambda _ + (chdir "src/tools/aloadimage") + #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))))) + (home-page "https://arcan-fe.com") + (synopsis "Image viewer for Arcan") + (description "Image viewer for Arcan") + (license license:bsd-3))) -- 2.19.2