GNU bug report logs -
#34189
[PATCH] gnu: Add arcan.
Previous Next
Reported by: L p R n d n <guix <at> lprndn.info>
Date: Thu, 24 Jan 2019 11:55:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 34189 <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-Add-aloadimage.patch (text/x-patch, inline)]
From 4adf952f0363ef41d992eb5bad308da76ec44a5b Mon Sep 17 00:00:00 2001
From: Lprndn <guix <at> lprndn.info>
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
This bug report was last modified 3 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.