package/poco: convert to CMake package
PATCH 1/2 package/poco: convert to CMake package
From: Yegor Yefremov <[email protected]>
Currently when building with make, the cmake config files are not generated. This leads to problems when integrating the package in an application built with cmake.
The CMake build system links the PDF component against the system libpng when POCO_UNBUNDLED is enabled, while the legacy make build system always used the bundled copy, so select libpng for the PDF component.
POCO_NO_FPENVIRONMENT and POCO_NO_WSTRING are plain preprocessor defines rather than CMake options, so pass them through CMAKE_CXX_FLAGS.
Poco is built as a set of shared libraries, so -latomic has to be passed via CMAKE_SHARED_LINKER_FLAGS as well.
Disable File2Page along with PageCompiler, and tie the ActiveRecord compiler to the ActiveRecord component, to match what the legacy make build system omitted.
This patch is based on this one:
https://lists.buildroot.org/pipermail/buildroot/2026-April/801019.html
---
This patch was added unchanged from
https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
package/poco/Config.in | 1 + package/poco/poco.mk | 98 +++++++++++++++++------------------------- 2 files changed, 40 insertions(+), 59 deletions(-)
package/poco/Config.in +1 -0
@@ -94,6 +94,7 @@ config BR2_PACKAGE_POCO_NETSSL_OPENSSL config BR2_PACKAGE_POCO_PDF bool "PDF" + select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_POCO_JSON select BR2_PACKAGE_POCO_UTIL select BR2_PACKAGE_POCO_XML
package/poco/poco.mk +39 -59
119 lines not on this page · raw message
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/poco: bump version to 1.15.3
https://github.com/pocoproject/poco/blob/poco-1.15.3-release/CHANGELOG
---
Series passed Gitlab pipelines:
https://patchwork.buildroot.org/project/buildroot/patch/[email protected]/
with the exception of an unrelated build error:
bootlin-m68k-68040-uclibc/build/fmt-12.2.0/.stamp_built
https://gitlab.com/bkuhls/buildroot/-/jobs/16465887138
package/poco/poco.hash | 2 +- package/poco/poco.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/poco/poco.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 47394ea7ddb7b0a40e1a5be896f8f5dc77cfdc4f561d2e7131ecf582df5a0c3a poco-1.14.2.tar.gz +sha256 4f112fea59e0c65f0fffe30a4957f8d66cf41528c21dd9903e6d7550022c794e poco-1.15.3.tar.gz sha256 c4b1e1e5f36d8331737231fefcc30f5714326aec7c387ad59a8115eb0ba7d6b5 LICENSE
package/poco/poco.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -POCO_VERSION = 1.14.2 +POCO_VERSION = 1.15.3 POCO_SITE = $(call github,pocoproject,poco,poco-$(POCO_VERSION)-release) POCO_LICENSE = BSL-1.0 POCO_LICENSE_FILES = LICENSE
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot