Просмотр исходного кода

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 <thomas.bonnefille@bootlin.com>
Cc: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Thomas Petazzoni 4 недель назад
Родитель
Сommit
f78163431c
1 измененных файлов с 2 добавлено и 11 удалено
  1. 2 11
      package/zxing-cpp/zxing-cpp.mk

+ 2 - 11
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