package/domoticz: remove configure option needed for CMake < 3.16
PATCH 1/2 package/domoticz: remove configure option needed for CMake < 3.16
In 2020 the fix we remove now was committed with buildroot commit 6e6bd863093605419044d6e376185ff3caed9fbe as build fix for cmake < 3.16.
Buildroot commit 53beb8fc1a4f3ba20ea6c856b4ec8506570f17c1 raised the minimum CMake version to 3.18 in 2023 so this fix is not needed anymore.
---
Building unpatched domoticz fails for target bootlin-aarch64-glibc-old/build/domoticz-2024.4/.stamp_built:
https://gitlab.com/bkuhls/buildroot/-/commits/193b593de0c65a10581abe808368cd736c8f47b1
This patch passes Gitlab pipelines with the same build error
https://gitlab.com/bkuhls/buildroot/-/commits/f2f37f272b02ca379a429832d14abf42a9a39242
so this patch does not introduce new build errors.
package/domoticz/domoticz.mk | 3 --- 1 file changed, 3 deletions(-)
package/domoticz/domoticz.mk +0 -3
@@ -22,9 +22,6 @@ DOMOTICZ_DEPENDENCIES = \ sqlite \ zlib -# Disable precompiled header as it needs cmake >= 3.16 -DOMOTICZ_CONF_OPTS = -DUSE_PRECOMPILED_HEADER=OFF - # Due to the dependency on mosquitto, domoticz depends on # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF DOMOTICZ_CONF_OPTS += \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/domoticz: bump version to 2026.4
https://github.com/domoticz/domoticz/blob/2026.4/History.txt
Switched to tarball provided by upstream which also includes git submodule libwebem, it was split from the domoticz tree:
https://github.com/domoticz/domoticz/commit/7de4834e9959e8a9a21a2b82bb7700ea5af6e618
Added new dependency jwt-cpp needed since 2025.1:
https://github.com/domoticz/domoticz/commit/b30d9e9436ad428a2cbfd1fbb273461bdbf50a82
Raised minimum gcc version because libwebem depends on c++17:
https://github.com/domoticz/libwebem/blob/master/README.md
Removed configure option USE_BUILTIN_MQTT due to its upstream removal:
https://github.com/domoticz/domoticz/commit/be95eec094bf524c1ab011eebcd797d3b19b17fc
Link to libatomic to fix a build error
output/per-package/domoticz/host/opt/ext-toolchain/bin/../lib/gcc/arc-buildroot-linux-uclibc/15.3.0/../../../../arc-buildroot-linux-uclibc/bin/ld:
CMakeFiles/domoticz.dir/hardware/Matter.cpp.o:
undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0'
detected by the Gitlab pipelines which is introduced by upstream commit
https://github.com/domoticz/domoticz/commit/ec5488a7df963af4b260a92bfecea53edc20b136
that added hardware/Matter.cpp in version 2026.2.
---
Series passes Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/dcbbc7e8c57e5b14e279e86daca45624836d0a6f
package/domoticz/Config.in | 7 ++++--- package/domoticz/domoticz.hash | 3 ++- package/domoticz/domoticz.mk | 18 +++++++++++++----- 3 files changed, 19 insertions(+), 9 deletions(-)
package/domoticz/Config.in +4 -3
@@ -2,7 +2,7 @@ config BR2_PACKAGE_DOMOTICZ bool "domoticz" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 # pthread_condattr_setclock depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mosquitto depends on BR2_INSTALL_LIBSTDCPP
@@ -17,6 +17,7 @@ config BR2_PACKAGE_DOMOTICZ select BR2_PACKAGE_BOOST_THREAD select BR2_PACKAGE_CEREAL select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_JWT_CPP select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_MINIZIP_ZLIB select BR2_PACKAGE_MOSQUITTO
@@ -32,11 +33,11 @@ config BR2_PACKAGE_DOMOTICZ http://domoticz.com -comment "domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 6, NPTL, wchar, dynamic library" +comment "domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 7, NPTL, wchar, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ !BR2_PACKAGE_LUA_5_3
package/domoticz/domoticz.hash +2 -1
@@ -1,3 +1,4 @@ +# From https://github.com/domoticz/domoticz/releases/download/2026.4/domoticz_src_2026.18387.tar.gz.sha256sum +sha256 88964b791050abf6b6df3ec9e1d262d18e198a6fa108638974eca8600d1a4568 domoticz_src_2026.18387.tar.gz # Locally computed: -sha256 d87113d7cacd0b52b9126fcc1ef24e140a4f7042d5bc6262e86e4b4752f5cf38 domoticz-2024.4.tar.gz sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 License.txt
package/domoticz/domoticz.mk +13 -5
@@ -4,16 +4,19 @@ # ################################################################################ -DOMOTICZ_VERSION = 2024.4 -DOMOTICZ_SITE = $(call github,domoticz,domoticz,$(DOMOTICZ_VERSION)) +DOMOTICZ_VERSION = 2026.4 +DOMOTICZ_SITE = https://github.com/domoticz/domoticz/releases/download/$(DOMOTICZ_VERSION) +DOMOTICZ_SOURCE = domoticz_src_2026.18387.tar.gz DOMOTICZ_LICENSE = GPL-3.0 DOMOTICZ_LICENSE_FILES = License.txt DOMOTICZ_CPE_ID_VENDOR = domoticz + DOMOTICZ_DEPENDENCIES = \ boost \ cereal \ host-pkgconf \ jsoncpp \ + jwt-cpp \ libcurl \ lua \ minizip-zlib \
@@ -22,6 +25,11 @@ DOMOTICZ_DEPENDENCIES = \ sqlite \ zlib +# Uses __atomic_load_8 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DOMOTICZ_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + # Due to the dependency on mosquitto, domoticz depends on # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF DOMOTICZ_CONF_OPTS += \
@@ -29,12 +37,12 @@ DOMOTICZ_CONF_OPTS += \ -DUSE_OPENSSL_STATIC=OFF # Do not use any built-in libraries which are enabled by default for -# jsoncpp, fmt, minizip, sqlite and mqtt +# jsoncpp, jwt-cpp, minizip and sqlite DOMOTICZ_CONF_OPTS += \ -DUSE_BUILTIN_JSONCPP=OFF \ + -DUSE_BUILTIN_JWTCPP=OFF \ -DUSE_BUILTIN_MINIZIP=OFF \ - -DUSE_BUILTIN_SQLITE=OFF \ - -DUSE_BUILTIN_MQTT=OFF + -DUSE_BUILTIN_SQLITE=OFF ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) DOMOTICZ_DEPENDENCIES += libexecinfo
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Bernd Kuhls
In 2020 the fix we remove now was committed with buildroot commit
6e6bd863093605419044d6e376185ff3caed9fbeas build fix for cmake < 3.16.Buildroot commit
53beb8fc1a4f3ba20ea6c856b4ec8506570f17c1raised the minimum CMake version to 3.18 in 2023 so this fix is not needed anymore.Signed-off-by Bernd Kuhls <[email protected]>
Both applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 7 lines
In 2020 the fix we remove now was committed with buildroot commit
6e6bd863093605419044d6e376185ff3caed9fbeas build fix for cmake < 3.16.Buildroot commit
53beb8fc1a4f3ba20ea6c856b4ec8506570f17c1raised the minimum CMake version to 3.18 in 2023 so this fix is not needed anymore.Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2025.02.x, 2026.08.x. Thanks
Quoted 17 lines
---
Building unpatched domoticz fails for target bootlin-aarch64-glibc-old/build/domoticz-2024.4/.stamp_built:
https://gitlab.com/bkuhls/buildroot/-/commits/193b593de0c65a10581abe808368cd736c8f47b1This patch passes Gitlab pipelines with the same build error
https://gitlab.com/bkuhls/buildroot/-/commits/f2f37f272b02ca379a429832d14abf42a9a39242
so this patch does not introduce new build errors.package/domoticz/domoticz.mk | 3 --- 1 file changed, 3 deletions(-)package/domoticz/domoticz.mk +0
-0
package/domoticz/domoticz.mk DOMOTICZ_DEPENDENCIES = \ · line 27
Quoted 9 lines
package/domoticz/domoticz.mk +0
-3@@ -22,9 +22,6 @@ DOMOTICZ_DEPENDENCIES = \ sqlite \ zlib -# Disable precompiled header as it needs cmake >= 3.16 -DOMOTICZ_CONF_OPTS = -DUSE_PRECOMPILED_HEADER=OFF - # Due to the dependency on mosquitto, domoticz depends on # !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF DOMOTICZ_CONF_OPTS += \
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot