libcamera: upgrade 0.5.2 -> 0.6.0
PATCH 1/1 libcamera: upgrade 0.5.2 -> 0.6.0
---
.../libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch | 8 ++++----
.../libcamera/{libcamera_0.5.2.bb => libcamera_0.6.0.bb} | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +4 -4
@@ -1,4 +1,4 @@ -From 82e9d391d312d65e7a62252e9e153b93c06ad37b Mon Sep 17 00:00:00 2001 +From 0c68347365ec4c0bd3f84e1d2f9f51eb3c2405c8 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 24 Oct 2025 11:10:59 -0700 Subject: [PATCH] libcamera: Do not assume libc++ with clang
@@ -17,13 +17,13 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/meson.build b/meson.build -index fd508fd7..5707f850 100644 +index fa6487f6..89294936 100644 --- a/meson.build +++ b/meson.build @@ -118,7 +118,24 @@ cpp_arguments = [ '-Wnon-virtual-dtor', ] - + -cxx_stdlib = 'libstdc++' +# Try to detect libc++ +libcxx_ver = cxx.get_define('_LIBCPP_VERSION',
@@ -43,7 +43,7 @@ index fd508fd7..5707f850 100644 +endif + +message('Detected C++ standard library: ' + cxx_stdlib) - + if cc.get_id() == 'clang' if cc.version().version_compare('<9') @@ -138,16 +155,9 @@ if cc.get_id() == 'clang'
meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI = " \ file://0001-libcamera-Do-not-assume-libc-with-clang.patch \ " -SRCREV = "096c50ca881f72d858aca19757a5e73b4775a7cc" +SRCREV = "3c17d1fbb2bd93f221afee788ebf0d7394032e4d" PE = "1"
---
base-commit: 31a08525bedd960c21214f84c256f67c6090bb5a
change-id: 20251203-upgrade-libcamera-9970beda88ca
Best regards,
Signature · 1 line
Walter Werner SCHNEIDER <[email protected]>
Quoting Walter Werner SCHNEIDER (2025-12-08 08:44:21)
Quoted 17 lines
Signed-off-by Walter Werner SCHNEIDER <[email protected]>--- .../libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch | 8 ++++---- .../libcamera/{libcamera_0.5.2.bb => libcamera_0.6.0.bb} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +1
-1@@ -1,4 +1,4 @@ -From 82e9d391d312d65e7a62252e9e153b93c06ad37b Mon Sep 17 00:00:00 2001 +From 0c68347365ec4c0bd3f84e1d2f9f51eb3c2405c8 Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Fri, 24 Oct 2025 11:10:59 -0700 Subject: [PATCH] libcamera: Do not assume libc++ with clang
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch Signed-off-by: Khem Raj <[email protected]> · line 20
Quoted 5 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +1
-1@@ -17,13 +17,13 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/meson.build b/meson.build -index fd508fd7..5707f850 100644 +index fa6487f6..89294936 100644
Is there a need to change this patch? (0001-libcamera-Do-not-assume-libc-with-clang.patch)
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch Signed-off-by: Khem Raj <[email protected]> · line 26
Quoted 7 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +1
-1--- a/meson.build +++ b/meson.build @@ -118,7 +118,24 @@ cpp_arguments = [ '-Wnon-virtual-dtor', ] - +
I think you can drop this whitespace change
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch index fd508fd7..5707f850 100644 · line 46
Quoted 9 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +1
-1-cxx_stdlib = 'libstdc++' +# Try to detect libc++ +libcxx_ver = cxx.get_define('_LIBCPP_VERSION',@@ -43,7 +43,7 @@ index fd508fd7..5707f850 100644 +endif + +message('Detected C++ standard library: ' + cxx_stdlib) - +
And this one.
Quoted 11 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera/0001-libcamera-Do-not-assume-libc-with-clang.patch +0
-0if cc.get_id() == 'clang' if cc.version().version_compare('<9') @@ -138,16 +155,9 @@ if cc.get_id() == 'clang'meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +0
-0
meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb SRC_URI = " \ · line 16
Quoted 5 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +1
-1@@ -13,7 +13,7 @@ SRC_URI = " \ file://0001-libcamera-Do-not-assume-libc-with-clang.patch \ " -SRCREV = "096c50ca881f72d858aca19757a5e73b4775a7cc" +SRCREV = "3c17d1fbb2bd93f221afee788ebf0d7394032e4d"
But this is indeed v0.6.0.
Quoted 13 lines
meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb renamed from meta-multimedia/recipes-multimedia/libcamera/libcamera_0.5.2.bb +0
-1PE = "1" ---base-commit:
31a08525bedd960c21214f84c256f67c6090bb5a
change-id: 20251203-upgrade-libcamera-9970beda88caBest regards,
Signature · 1 line
Walter Werner SCHNEIDER <[email protected]>
Quoted 2 lines
Is there a need to change this patch? (0001-libcamera-Do-not-assume-libc-with-clang.patch)
I didn't change the patch, it's "devtool upgrade" that made the changes, I can drop them if you want, but I'm thinking that on the next "devtool upgrade" we will see the same change done by devtool and it's better to just get it in. I've reverted the patch change and ran devtool multiple time, just to make sure that the change is consistent. As for the white-spaces, I believe the original patch had the white-space removed by an editor/IDE after it was generated by git.