From 95c385e2d6b92e7afa2d1fac84ecf2dabfb81d25 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Kerbrat Date: Wed, 3 Dec 2025 14:22:43 +0100 Subject: [PATCH] package/libcamera: bump version to 0.6.0 Changes between v0.5.2 and v0.6.0: https://git.linuxtv.org/libcamera.git/tag/?h=v0.6.0 Changes between v0.5.1 and v0.5.2: https://git.linuxtv.org/libcamera.git/tag/?h=v0.5.2 libcamera commit [1] (included in v0.5.2) introduced a usage of the clone3() system call, introduced Kernel 5.3 [2]. Therefore, this commit adds the dependency on 5.3 headers. This commit also changes the toolchain used in the runtime test to the bootlin one, which includes 5.15 linux headers. [1] https://git.linuxtv.org/libcamera.git/commit/?id=b37e69d4348a0c3db80597dac19e801d19780d1c [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f192e3cd316ba58c88dfa26796cf77789dd9872 Signed-off-by: Pierre-Yves Kerbrat [Julien: - squashed the libcamera bump and the runtime test fix commits - add clone3() comment in Config.in - add "header >= 5.3" in Config.in comment ] Signed-off-by: Julien Olivain --- package/libcamera/Config.in | 6 ++++-- package/libcamera/libcamera.hash | 2 +- package/libcamera/libcamera.mk | 2 +- support/testing/tests/package/test_libcamera.py | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in index 92361bbade..15812a0e2f 100644 --- a/package/libcamera/Config.in +++ b/package/libcamera/Config.in @@ -12,6 +12,7 @@ menuconfig BR2_PACKAGE_LIBCAMERA depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 depends on !BR2_STATIC_LIBS # gnutls depends on BR2_USE_WCHAR # gnutls + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 # clone3() select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBYAML select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE @@ -110,7 +111,8 @@ comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads endif # BR2_PACKAGE_LIBCAMERA -comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8" +comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8, headers >= 5.3" depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 diff --git a/package/libcamera/libcamera.hash b/package/libcamera/libcamera.hash index bbec9c517d..4e79be844e 100644 --- a/package/libcamera/libcamera.hash +++ b/package/libcamera/libcamera.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 ee2c7086b3c08133bba44856fb9b2ffd1132532150d14da7daecd99ab8a566c2 libcamera-v0.5.1-git4.tar.gz +sha256 85d85409d6e04bcf2e1ed57d9b59ebcc9fb770e5d39690d7ac233e9784835b89 libcamera-v0.6.0-git4.tar.gz # license files sha256 fd38b2c053c0cce46d9c5ef3545a6e34d157a240ba99c9b8dca5d37a8147da6c LICENSES/BSD-2-Clause.txt diff --git a/package/libcamera/libcamera.mk b/package/libcamera/libcamera.mk index a2ff3284d7..e86e05328c 100644 --- a/package/libcamera/libcamera.mk +++ b/package/libcamera/libcamera.mk @@ -5,7 +5,7 @@ ################################################################################ LIBCAMERA_SITE = https://git.linuxtv.org/libcamera.git -LIBCAMERA_VERSION = v0.5.1 +LIBCAMERA_VERSION = v0.6.0 LIBCAMERA_SITE_METHOD = git LIBCAMERA_DEPENDENCIES = \ host-openssl \ diff --git a/support/testing/tests/package/test_libcamera.py b/support/testing/tests/package/test_libcamera.py index 91df427b6f..c785e340d6 100644 --- a/support/testing/tests/package/test_libcamera.py +++ b/support/testing/tests/package/test_libcamera.py @@ -14,6 +14,7 @@ class TestLibCamera(infra.basetest.BRTest): f""" BR2_aarch64=y BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y