Skip to contentSkip to conversation

v4l-utils: upgrade 1.26.1 -> 1.28.1

PATCH New Yi Zhao 1 participant 3 messages Sep 17, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/3 v4l-utils: upgrade 1.26.1 -> 1.28.1

ChangeLog:
https://git.linuxtv.org/v4l-utils.git/tree/ChangeLog?h=v4l-utils-1.28.1

* Drop backport patch
* Add UPSTREAM_CHECK_GITTAGREGEX

---
 ...estrict-the-installation-of-50-rc_ke.patch | 46 -------------------
 ...4l-utils_1.26.1.bb => v4l-utils_1.28.1.bb} |  9 ++--
 2 files changed, 4 insertions(+), 51 deletions(-)
 delete mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch
 rename meta-oe/recipes-multimedia/v4l2apps/{v4l-utils_1.26.1.bb => v4l-utils_1.28.1.bb} (95%)
meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch deleted +0 -46
deleted file mode 100644
index 64c01e497..000000000
@@ -1,46 +0,0 @@
-From 502c0302827cec3d2b2a69fb25189646685ef2ff Mon Sep 17 00:00:00 2001
-From: Fabio Estevam <[email protected]>
-Date: Fri, 12 Jan 2024 00:17:14 -0300
-Subject: [PATCH] keytable: meson: Restrict the installation of
- 50-rc_keymap.conf
-
-Currently, meson tries to install 50-rc_keymap.conf even if systemd
-is not used.
-
-Commit 01f2c6c58e6f ("keytable: restrict installation of 50-rc_keymap.conf"),
-only allowed 50-rc_keymap.conf to be installed when both BPF and systemd
-were used.
-
-Apply the same logic in meson to fix the problem.
-
-Signed-off-by: Fabio Estevam <[email protected]>
-Signed-off-by: Sean Young <[email protected]>
-Upstream-Status: Backport [https://git.linuxtv.org/v4l-utils.git/commit/?id=a21924ec424c4744af6f2a794e0677eba35dd168]
----
- utils/keytable/meson.build | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/utils/keytable/meson.build b/utils/keytable/meson.build
-index 4130a4bea514..76ce329eae8e 100644
---- a/utils/keytable/meson.build
-+++ b/utils/keytable/meson.build
-@@ -69,6 +69,8 @@ ir_keytable_udev_rules = files(
- install_data(ir_keytable_udev_rules,
-              install_dir : ir_keytable_system_dir / 'rules.d')
-
-+if ir_bpf_enabled
-+if dep_systemd.found()
- if have_udevdsyscallfilter
-     ir_keytable_systemd_files = files(
-         '50-rc_keymap.conf',
-@@ -76,6 +78,8 @@ if have_udevdsyscallfilter
-     install_data(ir_keytable_systemd_files,
-                  install_dir : systemd_systemdir / 'systemd-udevd.service.d')
- endif
-+endif
-+endif
-
- # Install non-existing directory to create empty directory structure
- # See: https://github.com/mesonbuild/meson/issues/2904
---
-2.34.1
meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb renamed from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb +4 -5
similarity index 95%
rename from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb
rename to meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb
index 8ab96760a..afe217e1f 100644
@@ -26,18 +26,17 @@ PACKAGECONFIG[qvidcap] = ",-Dqvidcap=disabled"
 PACKAGECONFIG[v4l2-tracer] = ",-Dv4l2-tracer=disabled,json-c"
 
 SRC_URI = "\
-    git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.26 \
-    file://0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch \
+    git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.28 \
     file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \
     file://0002-media-ctl-Install-media-ctl-pkg-config-files.patch \
 "
 
-SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1"
-
-PV .= "+git"
+SRCREV = "fc15e229d9d337e46d730f00647821adbbd58548"
 
 S = "${WORKDIR}/git"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v4l-utils-(?P<pver>\d+(\.\d+)+)"
+
 EXTRA_OEMESON = "-Dudevdir=${base_libdir}/udev -Dv4l2-compliance-32=false -Dv4l2-ctl-32=false"
 
 # Disable the erroneous installation of gconv-modules that would break glib
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/3 catch2: upgrade 3.6.0 -> 3.7.0

ChangeLog:
https://github.com/catchorg/Catch2/releases/tag/v3.7.0

---
 .../recipes-test/catch2/{catch2_3.6.0.bb => catch2_3.7.0.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-test/catch2/{catch2_3.6.0.bb => catch2_3.7.0.bb} (92%)
meta-oe/recipes-test/catch2/catch2_3.7.0.bb renamed from meta-oe/recipes-test/catch2/catch2_3.6.0.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-test/catch2/catch2_3.6.0.bb
rename to meta-oe/recipes-test/catch2/catch2_3.7.0.bb
index c4541c4d5..2d571a9cf 100644
@@ -5,7 +5,7 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
 SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
-SRCREV = "4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502"
+SRCREV = "31588bb4f56b638dd5afc28d3ebff9b9dcefb88d"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.25.1
author
#2 lore raw

PATCH 3/3 tbb: upgrade 2021.11.0 -> 2021.13.0

In reply to Yi Zhao

ChangeLog:
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.12.0
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.13.0

Drop 0001-hwloc_detection.cmake-remove-cross-compiation-check.patch as the issue has been fixed upstream.

---
 ....cmake-remove-cross-compiation-check.patch | 33 -------------------
 .../{tbb_2021.11.0.bb => tbb_2021.13.0.bb}    |  6 ++--
 2 files changed, 3 insertions(+), 36 deletions(-)
 delete mode 100644 meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch
 rename meta-oe/recipes-support/tbb/{tbb_2021.11.0.bb => tbb_2021.13.0.bb} (95%)
meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch deleted +0 -33
deleted file mode 100644
index 640b13170..000000000
@@ -1,33 +0,0 @@
-From 7ffc1eba8596544d6e3af0fd5f4004fff6d56f84 Mon Sep 17 00:00:00 2001
-From: Naveen Saini <[email protected]>
-Date: Wed, 29 Nov 2023 15:48:57 +0800
-Subject: [PATCH] hwloc_detection.cmake: remove cross-compiation check
-
-This check is preventing pkgconfig to
-search for hwloc under cross-compilation.
-
-pkgconfig able to find hwloc pkg from sysroot.
-
-Upstream-Status: Inappropriate
-
-Signed-off-by: Naveen Saini <[email protected]>
----
- cmake/hwloc_detection.cmake | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/cmake/hwloc_detection.cmake b/cmake/hwloc_detection.cmake
-index 47233b17..5a7e84c3 100644
---- a/cmake/hwloc_detection.cmake
-+++ b/cmake/hwloc_detection.cmake
-@@ -46,8 +46,6 @@ endforeach()
- unset(HWLOC_TARGET_NAME)
- 
- if (NOT HWLOC_TARGET_EXPLICITLY_DEFINED AND
--    # No hwloc auto detection for cross compilation
--    NOT CMAKE_CROSSCOMPILING AND
-     NOT TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH
- )
-     find_package(PkgConfig QUIET)
--- 
-2.37.3
-
meta-oe/recipes-support/tbb/tbb_2021.13.0.bb renamed from meta-oe/recipes-support/tbb/tbb_2021.11.0.bb +3 -3
similarity index 95%
rename from meta-oe/recipes-support/tbb/tbb_2021.11.0.bb
rename to meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
index 0f9f02655..e2b7543c0 100644
@@ -13,10 +13,10 @@ DEPENDS:append:class-target = " hwloc"
 PE = "1"
 
 BRANCH = "onetbb_2021"
-SRCREV = "8b829acc65569019edb896c5150d427f288e8aba"
+SRCREV = "1c4c93fc5398c4a1acb3492c02db4699f3048dea"
 SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \
-            file://0001-hwloc_detection.cmake-remove-cross-compiation-check.patch \
-"
+          "
+
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
Signature · 1 line
2.25.1