ola: update to 0.10.9

Plus general Portfile clean-up.

Closes: https://trac.macports.org/ticket/67831
This commit is contained in:
jasonliu--
2026-01-04 21:41:04 -05:00
committed by Renee Otten
parent e2e35dee1a
commit 07db1fcc8a
2 changed files with 26 additions and 41 deletions
+26 -29
View File
@@ -3,43 +3,36 @@
PortSystem 1.0
PortGroup github 1.0
github.setup OpenLightingProject ola 0.10.8
revision 3
github.setup OpenLightingProject ola 0.10.9
github.tarball_from releases
revision 0
categories net comms
platforms darwin
license GPL-2+ LGPL-2.1+
maintainers {pjnewman.co.uk:bugs @peternewman} \
openmaintainer
description An open framework for DMX512 lighting control
homepage https://www.openlighting.org/ola/
description open framework for DMX512 lighting control
long_description The Open Lighting Architecture (OLA) provides a \
plug-in framework for distributing DMX512 control \
signals on Mac and Linux. It provides C++ and \
Python libraries which abstract away the \
underlying DMX over IP protocol or DMX interface.
long_description The Open Lighting Architecture (OLA) provides a plugin \
framework for distributing DMX512 control signals on \
Mac and Linux. It provides C++ and Python libraries \
which abstract away the underlying DMX over IP protocol \
or DMX interface.
homepage http://www.openlighting.org/ola/
checksums rmd160 f7435b1386e5ad0962cf7d62138ba95d0cda0058 \
sha256 102aa3114562a2a71dbf7f77d2a0fb9fc47acc35d6248a70b6e831365ca71b13 \
size 2552023
github.tarball_from releases
patchfiles Init.cpp.patch
checksums rmd160 eb3f8f6d823b5a8ae85bece80580290f6a8feb68 \
sha256 44073698c147fe641507398253c2e52ff8dc7eac8606cbf286c29f37939a4ebf \
size 2578760
depends_build port:pkgconfig
# Required while we're patching ola.m4
use_autoreconf yes
depends_test port:cppunit
# temporary workaround (else configure fails)
depends_build-append \
port:cppunit
depends_lib port:protobuf3-cpp
depends_test port:cppunit
# Required while we're patching ola.m4
use_autoreconf yes
compiler.cxx_standard 2011
@@ -65,12 +58,16 @@ variant http description {Build with embedded web server} {
configure.args-delete --disable-http
}
variant libftdi0 conflicts libftdi1 description {Build with libftdi0 support} {
variant libftdi0 conflicts libftdi1 \
description {Build with libftdi0 support} \
{
depends_lib-append port:libftdi0
configure.args-delete --disable-libftdi
}
variant libftdi1 conflicts libftdi0 description {Build with libftdi1 support} {
variant libftdi1 conflicts libftdi0 \
description {Build with libftdi1 support} \
{
depends_lib-append port:libftdi1
configure.args-delete --disable-libftdi
}
@@ -86,8 +83,8 @@ variant osc description {Build with OSC support} {
}
default_variants +http +libusb +osc +python27
if {![variant_isset libftdi1]} {
default_variants-append +libftdi0
if {![variant_isset libftdi0]} {
default_variants-append +libftdi1
}
test.run yes
-12
View File
@@ -1,12 +0,0 @@
https://github.com/OpenLightingProject/ola/commit/f907b4c992e85bfb30559b5855c41194d2c52050
--- common/base/Init.cpp.orig
+++ common/base/Init.cpp
@@ -397,7 +397,7 @@ void ClockInit() {
TimeStamp now_monotonic;
TimeStamp now_realtime;
#ifndef CLOCK_MONOTONIC
- OLA_DEBUG << "Monotonic clock unavailable. Falling back to real time clock."
+ OLA_DEBUG << "Monotonic clock unavailable. Falling back to real time clock.";
#endif
clock.CurrentMonotonicTime(&now_monotonic);
clock.CurrentRealTime(&now_realtime);