summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-09-17 12:05:56 +0800
committerKhem Raj <raj.khem@gmail.com>2024-09-16 23:01:21 -0700
commitfb0a09613de7b3f65ed0abd035696d8b76dc43f1 (patch)
tree0600aa8d544a3486e5a2f224026d35a4dfd08d91
parentd11df3c4a25127567321ae72b9d209a4b2c98855 (diff)
downloadmeta-openembedded-fb0a09613de7b3f65ed0abd035696d8b76dc43f1.tar.gz
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 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch46
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb (renamed from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb)9
2 files changed, 4 insertions, 51 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch
deleted file mode 100644
index 64c01e4977..0000000000
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 502c0302827cec3d2b2a69fb25189646685ef2ff Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@denx.de>
3Date: Fri, 12 Jan 2024 00:17:14 -0300
4Subject: [PATCH] keytable: meson: Restrict the installation of
5 50-rc_keymap.conf
6
7Currently, meson tries to install 50-rc_keymap.conf even if systemd
8is not used.
9
10Commit 01f2c6c58e6f ("keytable: restrict installation of 50-rc_keymap.conf"),
11only allowed 50-rc_keymap.conf to be installed when both BPF and systemd
12were used.
13
14Apply the same logic in meson to fix the problem.
15
16Signed-off-by: Fabio Estevam <festevam@denx.de>
17Signed-off-by: Sean Young <sean@mess.org>
18Upstream-Status: Backport [https://git.linuxtv.org/v4l-utils.git/commit/?id=a21924ec424c4744af6f2a794e0677eba35dd168]
19---
20 utils/keytable/meson.build | 4 ++++
21 1 file changed, 4 insertions(+)
22
23diff --git a/utils/keytable/meson.build b/utils/keytable/meson.build
24index 4130a4bea514..76ce329eae8e 100644
25--- a/utils/keytable/meson.build
26+++ b/utils/keytable/meson.build
27@@ -69,6 +69,8 @@ ir_keytable_udev_rules = files(
28 install_data(ir_keytable_udev_rules,
29 install_dir : ir_keytable_system_dir / 'rules.d')
30
31+if ir_bpf_enabled
32+if dep_systemd.found()
33 if have_udevdsyscallfilter
34 ir_keytable_systemd_files = files(
35 '50-rc_keymap.conf',
36@@ -76,6 +78,8 @@ if have_udevdsyscallfilter
37 install_data(ir_keytable_systemd_files,
38 install_dir : systemd_systemdir / 'systemd-udevd.service.d')
39 endif
40+endif
41+endif
42
43 # Install non-existing directory to create empty directory structure
44 # See: https://github.com/mesonbuild/meson/issues/2904
45--
462.34.1
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb
index 8ab96760a5..afe217e1f3 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb
@@ -26,18 +26,17 @@ PACKAGECONFIG[qvidcap] = ",-Dqvidcap=disabled"
26PACKAGECONFIG[v4l2-tracer] = ",-Dv4l2-tracer=disabled,json-c" 26PACKAGECONFIG[v4l2-tracer] = ",-Dv4l2-tracer=disabled,json-c"
27 27
28SRC_URI = "\ 28SRC_URI = "\
29 git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.26 \ 29 git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.28 \
30 file://0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch \
31 file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \ 30 file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \
32 file://0002-media-ctl-Install-media-ctl-pkg-config-files.patch \ 31 file://0002-media-ctl-Install-media-ctl-pkg-config-files.patch \
33" 32"
34 33
35SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1" 34SRCREV = "fc15e229d9d337e46d730f00647821adbbd58548"
36
37PV .= "+git"
38 35
39S = "${WORKDIR}/git" 36S = "${WORKDIR}/git"
40 37
38UPSTREAM_CHECK_GITTAGREGEX = "v4l-utils-(?P<pver>\d+(\.\d+)+)"
39
41EXTRA_OEMESON = "-Dudevdir=${base_libdir}/udev -Dv4l2-compliance-32=false -Dv4l2-ctl-32=false" 40EXTRA_OEMESON = "-Dudevdir=${base_libdir}/udev -Dv4l2-compliance-32=false -Dv4l2-ctl-32=false"
42 41
43# Disable the erroneous installation of gconv-modules that would break glib 42# Disable the erroneous installation of gconv-modules that would break glib