unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60180] [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build.
@ 2022-12-18 18:40 Simon South
  2022-12-18 18:46 ` [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8 Simon South
  2022-12-27 22:46 ` bug#60180: [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Simon South @ 2022-12-18 18:40 UTC (permalink / raw)
  To: 60180

Here's a patch series that updates ola, the Open Lighting Architecture for
controlling entertainment-lighting devices, to version 0.10.8.  This version
incorporates a fix[0] for building the unit-test suite with recent versions of
gcc that allows the package to build again on Guix[1].

The series also updates the package definition to reflect the modern style.

I've tested these changes on x86-64 and AArch64 and everything appears fine,
though note I don't have any lighting hardware with which to test the software
itself.

[0] https://github.com/OpenLightingProject/ola/issues/1553
    https://github.com/OpenLightingProject/ola/pull/1583

[1] It has been failing recently; see for instance
    https://ci.guix.gnu.org/build/91840/details

--
Simon South
simon@simonsouth.net


Simon South (3):
  gnu: ola: Update to 0.10.8.
  gnu: ola: Remove input labels.
  gnu: ola: Use gexps.

 gnu/packages/lighting.scm | 84 +++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 43 deletions(-)


base-commit: 9cb42f725a2a652bb41e38988d03d7020ccf2aa1
-- 
2.38.1





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8.
  2022-12-18 18:40 [bug#60180] [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Simon South
@ 2022-12-18 18:46 ` Simon South
  2022-12-18 18:46   ` [bug#60180] [PATCH 2/3] gnu: ola: Remove input labels Simon South
  2022-12-18 18:46   ` [bug#60180] [PATCH 3/3] gnu: ola: Use gexps Simon South
  2022-12-27 22:46 ` bug#60180: [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Ludovic Courtès
  1 sibling, 2 replies; 5+ messages in thread
From: Simon South @ 2022-12-18 18:46 UTC (permalink / raw)
  To: 60180

* gnu/packages/lighting.scm (ola): Update to 0.10.8.
---
 gnu/packages/lighting.scm | 82 +++++++++++++++++++--------------------
 1 file changed, 39 insertions(+), 43 deletions(-)

diff --git a/gnu/packages/lighting.scm b/gnu/packages/lighting.scm
index 5850da84d8..5af49eea86 100644
--- a/gnu/packages/lighting.scm
+++ b/gnu/packages/lighting.scm
@@ -36,52 +36,48 @@ (define-module (gnu packages lighting)
   #:use-module (gnu packages protobuf))
 
 (define-public ola
-  ;; Use a commit that allows building with libmicrohttpd 0.9.71.
-  ;; https://github.com/OpenLightingProject/ola/pull/1651
-  (let ((commit "5d882936436240b312b3836afd199587beaca840")
-        (revision "0"))
-    (package
-      (name "ola")
-      (version (git-version "0.10.7" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/OpenLightingProject/ola")
-               (commit commit)))
-         (sha256
-          (base32 "1bhl3gvmvmnyrygfj13cibf2xirm285m8abjkaxq22hrqbsvab2m"))
-         (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
-       `(("libftdi" ,libftdi)
-         ("libmicrohttpd" ,libmicrohttpd)
-         ("libusb" ,libusb)
-         ("libuuid" ,util-linux "lib")
-         ("zlib" ,zlib)))
-      (propagated-inputs
-       (list protobuf))       ; for pkg-config --libs libola
-      (arguments
-       `( ;; 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")))
-      (synopsis "Framework for controlling entertainment lighting equipment")
-      (description "The Open Lighting Architecture is a framework for lighting
+  (package
+    (name "ola")
+    (version "0.10.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/OpenLightingProject/ola")
+             (commit version)))
+       (sha256
+        (base32 "17dwmjdw87hv314gv5b1rmh5jglz8a0rzw7wj26xn74xw2jvxa6l"))
+       (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
+     `(("libftdi" ,libftdi)
+       ("libmicrohttpd" ,libmicrohttpd)
+       ("libusb" ,libusb)
+       ("libuuid" ,util-linux "lib")
+       ("zlib" ,zlib)))
+    (propagated-inputs
+     (list protobuf))       ; for pkg-config --libs libola
+    (arguments
+     `( ;; 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")))
+    (synopsis "Framework for controlling entertainment lighting equipment")
+    (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
 as the backend for lighting control software.  OLA runs on many different
 platforms including ARM, which makes it a perfect fit for low cost Ethernet to
 DMX gateways.")
-      (home-page "https://www.openlighting.org/ola")
-      (license license:lgpl2.1+))))
+    (home-page "https://www.openlighting.org/ola")
+    (license license:lgpl2.1+)))
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#60180] [PATCH 2/3] gnu: ola: Remove input labels.
  2022-12-18 18:46 ` [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8 Simon South
@ 2022-12-18 18:46   ` Simon South
  2022-12-18 18:46   ` [bug#60180] [PATCH 3/3] gnu: ola: Use gexps Simon South
  1 sibling, 0 replies; 5+ messages in thread
From: Simon South @ 2022-12-18 18:46 UTC (permalink / raw)
  To: 60180

* gnu/packages/lighting.scm (ola)[inputs]: Remove input labels.
---
 gnu/packages/lighting.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/lighting.scm b/gnu/packages/lighting.scm
index 5af49eea86..d0ad825d10 100644
--- a/gnu/packages/lighting.scm
+++ b/gnu/packages/lighting.scm
@@ -59,11 +59,11 @@ (define-public ola
            automake
            libtool))
     (inputs
-     `(("libftdi" ,libftdi)
-       ("libmicrohttpd" ,libmicrohttpd)
-       ("libusb" ,libusb)
-       ("libuuid" ,util-linux "lib")
-       ("zlib" ,zlib)))
+     (list libftdi
+           libmicrohttpd
+           libusb
+           `(,util-linux "lib")
+           zlib))
     (propagated-inputs
      (list protobuf))       ; for pkg-config --libs libola
     (arguments
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#60180] [PATCH 3/3] gnu: ola: Use gexps.
  2022-12-18 18:46 ` [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8 Simon South
  2022-12-18 18:46   ` [bug#60180] [PATCH 2/3] gnu: ola: Remove input labels Simon South
@ 2022-12-18 18:46   ` Simon South
  1 sibling, 0 replies; 5+ messages in thread
From: Simon South @ 2022-12-18 18:46 UTC (permalink / raw)
  To: 60180

* gnu/packages/lighting.scm (ola)[arguments]: Use gexps.
---
 gnu/packages/lighting.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/lighting.scm b/gnu/packages/lighting.scm
index d0ad825d10..6230963a4b 100644
--- a/gnu/packages/lighting.scm
+++ b/gnu/packages/lighting.scm
@@ -19,6 +19,7 @@
 
 (define-module (gnu packages lighting)
   #:use-module (guix build-system gnu)
+  #:use-module (guix gexp)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -67,10 +68,11 @@ (define-public ola
     (propagated-inputs
      (list protobuf))       ; for pkg-config --libs libola
     (arguments
-     `( ;; 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")))
+     (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")))
     (synopsis "Framework for controlling entertainment lighting equipment")
     (description "The Open Lighting Architecture is a framework for lighting
 control information.  It supports a range of protocols and over a dozen USB
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#60180: [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build.
  2022-12-18 18:40 [bug#60180] [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Simon South
  2022-12-18 18:46 ` [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8 Simon South
@ 2022-12-27 22:46 ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-12-27 22:46 UTC (permalink / raw)
  To: Simon South; +Cc: 60180-done

Hi,

Simon South <simon@simonsouth.net> skribis:

> I've tested these changes on x86-64 and AArch64 and everything appears fine,
> though note I don't have any lighting hardware with which to test the software
> itself.

The machine agrees with you.  :-)

  https://qa.guix.gnu.org/issue/60180

>   gnu: ola: Update to 0.10.8.
>   gnu: ola: Remove input labels.
>   gnu: ola: Use gexps.

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-27 22:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-18 18:40 [bug#60180] [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Simon South
2022-12-18 18:46 ` [bug#60180] [PATCH 1/3] gnu: ola: Update to 0.10.8 Simon South
2022-12-18 18:46   ` [bug#60180] [PATCH 2/3] gnu: ola: Remove input labels Simon South
2022-12-18 18:46   ` [bug#60180] [PATCH 3/3] gnu: ola: Use gexps Simon South
2022-12-27 22:46 ` bug#60180: [PATCH 0/3] gnu: ola: Update to 0.10.8, fixing build Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).