Commit Graph

32 Commits

Author SHA1 Message Date
Rosen Penev 7be4cc6411 ola: update to 0.10.9
Use local tarballs instead of codeload. Smaller size.

Patch ola.m4 to support statically linked protobuf. Avoids rpath hacks.

Remove upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-08 01:30:31 -07:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Rosen Penev e35467459b ola: fix compilation with musl 1.2.3
Upstream sent patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-04-15 22:05:24 -07:00
Sergey V. Lobanov d60a7ccedc ola: fix build on macos
Latest Apple clang (v13) defines __cplusplus=199711 by default, but
protobuf requires at least 201103 (c++11)

Backported patch to fix c++ detection:
30fe936a88

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-19 11:25:15 -08:00
Rosen Penev b2989d1c1d
ola: fix compilation with older clang
Werror is normally passed with pkgconfig headers. Remove it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-17 22:02:44 -08:00
Rosen Penev ddfda41b70
ola: update to 0.10.8
Removed upstreamed patches.

Refreshed other ones.

Removed Makefile hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-23 19:31:35 -08:00
Marek Behún 34db95a42e ola: fix compilation of this package
This package does not currently compile.

This is needed to do so that it compiles:
- fix emptying CXX variable in configure script
- fix automake not generating Makefile (remove doxygen definitions)
- force gnu++11 by patch, does not work with configure variable
Also because of changed API in libmicrohttpd:
- fix HttpServer

Moreover this package does not support --disable-slp configure option
anymore, remove it.

Signed-off-by: Marek Behún <kabel@blackhole.sk>
2020-09-24 16:21:20 +02:00
Rosen Penev 02d5c37808
ola: fix compilation with clang
Needs , not = for the rpath parameter.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:48:49 -07:00
Rosen Penev ae27b8af5e
ola: replace gnu++11 patch with a configure var
Simpler.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-31 14:03:29 -07:00
Rosen Penev 8f7687833e
ola: fix compilation with GCC4
The configure script confusingly sets CXXFLAGS to gnu++11 but does
not use that to check the important stuff. Fix that.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-05-31 14:01:32 -07:00
Rosen Penev 9b171165a4
ola: link against libm under glibc
Fixes compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-26 20:28:17 -08:00
Rosen Penev f95b46a179
Revert "ola: Remove HOST_LDFLAGS hack"
This reverts commit 4e6dae7f39.
2019-09-29 17:52:40 -07:00
Rosen Penev 4e6dae7f39
ola: Remove HOST_LDFLAGS hack
This has been solved properly.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-25 22:00:04 -07:00
Rosen Penev 546ea3475a
ola: Fix HOSTPKG linking
Before the CMake update, either protobuf was being installed to HOST
instead of HOSTPKG by mistake or some other problem.

This adds a linker flag to look in the proper location.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-09-23 15:23:41 -07:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Rosen Penev 4f84d9ffc4
ola: Fix compilation with protobuf 3.7
The protobuf 3.7 update broke ola due to API changes. Backported a few
patches from upstream to deal with this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-04-12 13:40:10 -07:00
Daniel Golle ad66447b4e ola: depend on libftdi1
Building against libftdi1 can't be avoided in the presence of libftdi1
headers apparently. As it might be useful for some DMX adapters and
such, depend on libftdi1 from now on.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-09-30 23:08:05 +02:00
Rosen Penev baabb53d89 ola: Update to 0.10.7 and switch to codeload
Simpler and easier to bump version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-04 19:32:27 -07:00
Daniel Golle f2ef609821 ola: enable and ship web stuff
Make OLA more useful for untrained users which depend on the built-in
webserver. We may split the ola package into smaller parts to allow
not having web-stuff in case this breaks the space-constraints for some
users.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-06-23 11:04:24 +02:00
Daniel Golle c10b5a3ff7 ola: implement Host/Install for ola_protoc_plugin
Should fix build with SDK on buildbots.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-06-21 11:55:02 +02:00
Daniel Golle abdbf50221 ola: update to 0.10.6, fix build with recent protobuf
Recent protobuf requires C++11 while OLA was forcing C++98 in order
to keep using auto_ptr without getting warnings... Use gnu++11 to make
everyone happy and live with the warnings about auto_ptr being
deprecated.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2018-06-20 22:00:32 +02:00
Daniel Golle 499536b1ac ola: improve init script
Drop now unneeded dependency on sudo.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-12-23 00:00:33 +01:00
Christian Beier 841701651c
ola: update to 0.10.5, drop obsolete patches
This also add a patch fixing builds with newer protobuf versions,
https://github.com/OpenLightingProject/ola/pull/1336.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2017-12-15 18:23:18 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Christian Beier 676f9a0845 ola: fix dependency issues.
This adds one patch from the upcoming 0.10.2 release to exclude Avahi/DNS-SD from build time
detection and properly adds liblo as a dependency.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2016-03-17 19:18:36 +01:00
Christian Beier 56b9aba719 ola: update to 0.10.1
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2016-03-09 19:09:10 +01:00
Alexandru Ardelean 1c74804bc5 ola: fix build (linking issue TCPSocket::ReadDescriptor() const)
Reported buildbot issue is:
/store/buildbot/slave/ar71xx/build/build_dir/target-mips_34kc_musl-1.1.11/ola-0.9.7/plugins/openpixelcontrol/.libs/libolaopenpixelcontrol.so: undefined reference to `ola::network::TCPSocket::ReadDescriptor() const'
collect2: error: ld returned 1 exit status

There's also a discussion (attempt) to fix this on the buildroot project:
  https://patchwork.ozlabs.org/patch/503884/

This bug has been reported (from the buildroot project), here:
  https://github.com/OpenLightingProject/ola/issues/880

This commit introduced the issue:
  bfc1d99055
specifically the `-fvisibility-inlines-hidden` switch.

So, until, the upstream project (ola) fixes this, this fix
looks like the quickest/simplest workaround to have this package build.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2015-12-15 00:03:20 +02:00
Christian Beier 9c418e5445 ola: Update to 0.9.7.
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
2015-07-16 14:57:38 +02:00
Christian Beier 8c6edb3def ola: update to 0.9.6, tidy up makefile, try to resolve build dependencies.
Signed-off-by: Christian Beier <dontmind@freeshell.org>
2015-07-02 14:08:20 +02:00
Steven Barth e5af27480e ola: mark as @BROKEN for now, breaks builds
Signed-off-by: Steven Barth <steven@midlink.org>
2015-01-22 20:38:35 +01:00
Jo-Philipp Wich 3505f198bb ola: use https:// urls for cloning
The SSH transport can trigger interactive prompts during the build,
this is failing all build bots atm.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-21 14:24:27 +01:00
Christian Beier 47c306512d ola: Add an Open Lighting Architecture package.
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.

Signed-off-by: Christian Beier <dontmind@freeshell.org>
2015-01-20 12:11:48 +01:00