From 15baf60b84afc3e2e5dae8be88de3e2472d9a7ec Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Mon, 19 Oct 2026 04:42:17 +0100 Subject: [PATCH] python3-picamera, picamera-libs: remove deprecated components picamera uses the legacy MMAL camera stack, which Raspberry Pi documents as deprecated and unsupported since Bullseye, with Picamera2 on libcamera as its replacement [1][2]. libcamera is available through the multimedia-layer dynamic layer. The recipe also fetches over SSH and RDEPENDS on python3-colorzero from meta-python while living outside dynamic-layers, which breaks world without meta-python (yocto-check-layer test_machine_world). picamera-libs only provides picamera's firmware libraries. [1] https://www.raspberrypi.com/documentation/computers/camera_software.html [2] https://github.com/raspberrypi/picamera2 Signed-off-by: Andrei Gherzan --- .../picamera-libs/picamera-libs.bb | 27 ------------------- .../python3-picamera/python3-picamera_git.bb | 20 -------------- 2 files changed, 47 deletions(-) delete mode 100644 recipes-multimedia/picamera-libs/picamera-libs.bb delete mode 100644 recipes-multimedia/python3-picamera/python3-picamera_git.bb diff --git a/recipes-multimedia/picamera-libs/picamera-libs.bb b/recipes-multimedia/picamera-libs/picamera-libs.bb deleted file mode 100644 index ff4d32e..0000000 --- a/recipes-multimedia/picamera-libs/picamera-libs.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Raspberrypi firmware libraries which are required by picamera library" -DESCRIPTION = "Raspberrypi firmware libraries required by picamera library" -LICENSE = "LicenseRef-Broadcom-RPi" - -LIC_FILES_CHKSUM = "file://opt/vc/LICENCE;md5=86e53f5f5909ee66900418028de11780" - -include recipes-bsp/common/raspberrypi-firmware.inc - -S = "${RPIFW_S}" - -do_install(){ - install -m 0755 -d ${D}${libdir} - install -m 0755 ${S}/opt/vc/lib/*.so ${D}${libdir} - rm -f ${D}${libdir}/libGLES* ${D}${libdir}/libEGL* ${D}${libdir}/libWFC.so ${D}${libdir}/libOpenVG.so -} - -FILES:${PN} = "${libdir}" - -#skipping the QA error since we are directly copying precompiled binaries -INSANE_SKIP:${PN} = "ldflags" -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_SYSROOT_STRIP = "1" -SOLIBS = ".so" -FILES_SOLIBSDEV = "" - -COMPATIBLE_HOST = "null" -COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux" diff --git a/recipes-multimedia/python3-picamera/python3-picamera_git.bb b/recipes-multimedia/python3-picamera/python3-picamera_git.bb deleted file mode 100644 index 675c029..0000000 --- a/recipes-multimedia/python3-picamera/python3-picamera_git.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Python interface to the Raspberry Pi camera module" -DESCRIPTION = "This package provides a pure Python interface to the Raspberry Pi camera module for Python 2.7 (or above) or Python 3.2 (or above)." -HOMEPAGE = "https://github.com/waveform80/picamera" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4de8aab427192e4a8322a71375d20e21" - -RDEPENDS:${PN} = "python3-numbers \ - python3-ctypes \ - python3-colorzero \ - picamera-libs \ -" - -SRC_URI = "git://git@github.com/waveform80/picamera.git;protocol=ssh;branch=master" -SRCREV = "7e4f1d379d698c44501fb84b886fadf3fc164b70" - -inherit setuptools3 - -COMPATIBLE_HOST = "null" -COMPATIBLE_HOST:rpi:libc-glibc = "(arm.*)-linux"