Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
From 502c0302827cec3d2b2a69fb25189646685ef2ff Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Estevam <festevam@denx.de>
|
||||
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 <festevam@denx.de>
|
||||
Signed-off-by: Sean Young <sean@mess.org>
|
||||
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
|
||||
@@ -0,0 +1,78 @@
|
||||
From 3867fcfa4389c7fa271705f1fd1d4bfb74bc1bd1 Mon Sep 17 00:00:00 2001
|
||||
From: Neel Gandhi <neel.gandhi@amd.com>
|
||||
Date: Wed, 5 Jun 2024 13:51:36 +0530
|
||||
Subject: [PATCH] media-ctl: Install media-ctl header and library files
|
||||
|
||||
Install mediactl and v4l2subdev header and library
|
||||
files, which may be required by 3rd party applications
|
||||
to populate and control v4l2subdev device node tree
|
||||
|
||||
Install of these files was removed in upstream commit
|
||||
0911dce53b08b0df3066be2c75f67e8a314d8729.
|
||||
|
||||
Upstream-Status: Denied
|
||||
|
||||
v4l-utils maintainers do not promise a stable API for this library, and
|
||||
do not currently have the time to do so. So exporting the API in this
|
||||
way is fine, as long as we understand that it will change and users of
|
||||
the API will need to adapt over time.
|
||||
|
||||
Signed-off-by: Neel Gandhi <neel.gandhi@amd.com>
|
||||
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
|
||||
---
|
||||
utils/media-ctl/meson.build | 28 +++++++++++++++++++++-------
|
||||
1 file changed, 21 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/utils/media-ctl/meson.build b/utils/media-ctl/meson.build
|
||||
index 3a7b0c9a..40669b4c 100644
|
||||
--- a/utils/media-ctl/meson.build
|
||||
+++ b/utils/media-ctl/meson.build
|
||||
@@ -3,14 +3,24 @@ libmediactl_sources = files(
|
||||
'mediactl-priv.h',
|
||||
)
|
||||
|
||||
+libmediactl_api = files(
|
||||
+ 'mediactl.h',
|
||||
+ 'v4l2subdev.h',
|
||||
+)
|
||||
+
|
||||
+install_headers(libmediactl_api, subdir: 'mediactl')
|
||||
+
|
||||
libmediactl_deps = [
|
||||
dep_libudev,
|
||||
]
|
||||
|
||||
-libmediactl = static_library('mediactl',
|
||||
- libmediactl_sources,
|
||||
- dependencies : libmediactl_deps,
|
||||
- include_directories : v4l2_utils_incdir)
|
||||
+libmediactl = library('mediactl',
|
||||
+ libmediactl_sources,
|
||||
+ soversion: '0',
|
||||
+ version: '0.0.0',
|
||||
+ install : true,
|
||||
+ dependencies : libmediactl_deps,
|
||||
+ include_directories : v4l2_utils_incdir)
|
||||
|
||||
dep_libmediactl = declare_dependency(link_with : libmediactl)
|
||||
|
||||
@@ -18,9 +28,13 @@ libv4l2subdev_sources = files('libv4l2subdev.c')
|
||||
libv4l2subdev_sources += media_bus_format_names_h
|
||||
libv4l2subdev_sources += media_bus_format_codes_h
|
||||
|
||||
-libv4l2subdev = static_library('v4l2subdev',
|
||||
- libv4l2subdev_sources,
|
||||
- include_directories : v4l2_utils_incdir)
|
||||
+libv4l2subdev = library('v4l2subdev',
|
||||
+ libv4l2subdev_sources,
|
||||
+ soversion: '0',
|
||||
+ version: '0.0.0',
|
||||
+ install : true,
|
||||
+ dependencies : dep_libmediactl,
|
||||
+ include_directories : v4l2_utils_incdir)
|
||||
|
||||
dep_libv4l2subdev = declare_dependency(link_with : libv4l2subdev)
|
||||
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
SUMMARY = "v4l2 and IR applications"
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
|
||||
file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0"
|
||||
PROVIDES = "libv4l media-ctl"
|
||||
|
||||
DEPENDS = "jpeg \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa-lib', '', d)} \
|
||||
${@bb.utils.contains_any('PACKAGECONFIG', 'qv4l2 qvidcap', 'qtbase qtbase-native', '', d)}"
|
||||
|
||||
DEPENDS:append:libc-musl = " argp-standalone"
|
||||
DEPENDS:append:class-target = " udev"
|
||||
LDFLAGS:append = " -pthread"
|
||||
# v4l2 explicitly sets _FILE_OFFSET_BITS=32 to get access to
|
||||
# both 32 and 64 bit file APIs. But it does not handle the time side?
|
||||
# Needs further investigation
|
||||
GLIBC_64BIT_TIME_FLAGS = ""
|
||||
|
||||
inherit meson gettext pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[qv4l2] = ",-Dqv4l2=disabled"
|
||||
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 \
|
||||
file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \
|
||||
"
|
||||
|
||||
SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1"
|
||||
|
||||
PV .= "+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
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
|
||||
# like it is done in Debian and ArchLinux.
|
||||
EXTRA_OEMESON += "-Dgconv=disabled"
|
||||
|
||||
VIRTUAL-RUNTIME_ir-keytable-keymaps ?= "rc-keymaps"
|
||||
|
||||
PACKAGES =+ "media-ctl ir-keytable rc-keymaps libv4l libv4l-dev qv4l2 qvidcap"
|
||||
|
||||
RPROVIDES:${PN}-dbg += "libv4l-dbg"
|
||||
|
||||
FILES:media-ctl = "${bindir}/media-ctl ${libdir}/libmediactl.so.*"
|
||||
FILES:qv4l2 = "\
|
||||
${bindir}/qv4l2 \
|
||||
${datadir}/applications/qv4l2.desktop \
|
||||
${datadir}/icons/hicolor/*/apps/qv4l2.* \
|
||||
"
|
||||
FILES:qvidcap = "\
|
||||
${bindir}/qvidcap \
|
||||
${datadir}/applications/qvidcap.desktop \
|
||||
${datadir}/icons/hicolor/*/apps/qvidcap.* \
|
||||
"
|
||||
|
||||
FILES:ir-keytable = "${bindir}/ir-keytable ${base_libdir}/udev/rules.d/*-infrared.rules"
|
||||
RDEPENDS:ir-keytable += "${VIRTUAL-RUNTIME_ir-keytable-keymaps}"
|
||||
RDEPENDS:qv4l2 += "\
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'qv4l2', 'qtbase', '', d)}"
|
||||
RDEPENDS:qvidcap += "\
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'qvidcap', 'qtbase', '', d)}"
|
||||
|
||||
FILES:rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*"
|
||||
|
||||
FILES:${PN} = "${bindir} ${sbindir}"
|
||||
|
||||
FILES:libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \
|
||||
${libdir}/libdvbv5*${SOLIBS} \
|
||||
${libdir}/libv4l/*-decomp \
|
||||
${libdir}/libv4l2tracer.so \
|
||||
"
|
||||
|
||||
FILES:libv4l-dev += "${includedir} ${libdir}/pkgconfig \
|
||||
${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \
|
||||
${libdir}/v4l*${SOLIBSDEV} ${libdir}/libv4l/*.la ${libdir}/libv4l/plugins/*.la"
|
||||
|
||||
PARALLEL_MAKE:class-native = ""
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "Yet Another V4L2 Test Application"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \
|
||||
"
|
||||
SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a"
|
||||
|
||||
PV = "0.0"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
||||
|
||||
# The yavta sources include copies of the headers required to build in the
|
||||
# include directory. The Makefile uses CFLAGS to include these, but since
|
||||
# we override the CFLAGS then we need to add this include path back in.
|
||||
CFLAGS += "-I${S}/include"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 yavta ${D}${bindir}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user