summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Huijzer <ikbenrickhuyzer@gmail.com>2025-07-25 12:24:48 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-26 18:54:10 +0200
commit59bcb514183399c917feb90ea8f1317b0162e85b (patch)
treedebe67b20334206a04554580f9f3ba49d1356dc0
parentdcc8e8adab64c5945ef567e987598c1ea53bbcc5 (diff)
fix build ola
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/lighting.scm36
1 files changed, 17 insertions, 19 deletions
diff --git a/gnu/packages/lighting.scm b/gnu/packages/lighting.scm
index 4794400e6e..77f1aade53 100644
--- a/gnu/packages/lighting.scm
+++ b/gnu/packages/lighting.scm
@@ -50,31 +50,29 @@
(base32 "0mbf5dc309pqg9ckqgk2kh9p3mf9vqsjkxnwjzqw7yzzf17ij3zk"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
- (native-inputs
- (list bison
- cppunit
- flex
- pkg-config
- ;; For git repository bootstrapping.
- autoconf
- automake
- libtool))
- (inputs
- (list libftdi
- libmicrohttpd
- libusb
- `(,util-linux "lib")
- zlib))
- (propagated-inputs
- (list protobuf)) ; for pkg-config --libs libola
+ (native-inputs (list bison
+ cppunit
+ flex
+ pkg-config
+ ;; For git repository bootstrapping.
+ autoconf
+ automake
+ libtool))
+ (inputs (list libftdi libmicrohttpd libusb
+ `(,util-linux "lib") zlib))
+ (propagated-inputs (list protobuf)) ;for pkg-config --libs libola
(arguments
(list
;; G++ >= 4.8 macro expansion tracking requires lots of memory, causing
;; build to fail on low memory systems. We disable that with the
;; following configure flags.
- #:configure-flags #~(list "CXXFLAGS=-ftrack-macro-expansion=0")))
+ ;; We also have to omit: use of std::auto_ptr is deprecated, and template-id not allowed for constructor in C++20
+ #:configure-flags
+ #~(list
+ "CXXFLAGS=-ftrack-macro-expansion=0 -Wno-error=deprecated-declarations -Wno-template-id-cdtor")))
(synopsis "Framework for controlling entertainment lighting equipment")
- (description "The Open Lighting Architecture is a framework for lighting
+ (description
+ "The Open Lighting Architecture is a framework for lighting
control information. It supports a range of protocols and over a dozen USB
devices. It can run as a standalone service, which is useful for converting
signals between protocols, or alternatively using the OLA API, it can be used