From f777594d19f696f8e5361afde1fc34a4114b1e3b Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 16 Dec 2025 10:55:30 +0100 Subject: [PATCH] package/zxing-cpp: drop support for Python bindings Since the bump of zxing-cpp to version 2.3.0 in Buildroot commit fb032bd34acf57f86f62bd474cbabd4e1e750e67 ("package/zxing-cpp: bump to version 2.3.0"), the build of the Python bindings has been broken. We tried to figure things out, but couldn't, and nobody bothered fixing this since February 2025, so let's drop support for the Python bindings for the time being. Fixes: https://autobuild.buildroot.net/results/93ffa69b9f92f142c65169f9c3a7c7ad0e733551/ Cc: Thomas Bonnefille Cc: Dario Binacchi Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit f78163431c4ea5a7d8aa083639fc5435d8d64957) Signed-off-by: Thomas Perale --- package/zxing-cpp/zxing-cpp.mk | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/package/zxing-cpp/zxing-cpp.mk b/package/zxing-cpp/zxing-cpp.mk index 515daf590f..8c44e8ea9a 100644 --- a/package/zxing-cpp/zxing-cpp.mk +++ b/package/zxing-cpp/zxing-cpp.mk @@ -14,17 +14,8 @@ ZXING_CPP_DEPENDENCIES = host-pkgconf stb ZXING_CPP_CONF_OPTS = \ -DBUILD_BLACKBOX_TESTS=OFF \ -DBUILD_UNIT_TESTS=OFF \ - -DBUILD_DEPENDENCIES=LOCAL - -ifeq ($(BR2_PACKAGE_PYTHON3)$(BR2_PACKAGE_PYTHON_PYBIND),yy) -ZXING_CPP_DEPENDENCIES += python3 python-pybind -ZXING_CPP_CONF_OPTS += \ - -DBUILD_PYTHON_MODULE=ON \ - -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ - -DPYTHON_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) -else -ZXING_CPP_CONF_OPTS += -DBUILD_PYTHON_MODULE=OFF -endif + -DBUILD_DEPENDENCIES=LOCAL \ + -DBUILD_PYTHON_MODULE=OFF ifeq ($(BR2_PACKAGE_ZXING_CPP_READERS),y) ZXING_CPP_CONF_OPTS += -DBUILD_READERS=ON