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,28 @@
|
||||
From 0961787d2bf0d359a3ead89e9cec642818b32dea Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Tue, 5 Jul 2022 11:51:39 +0200
|
||||
Subject: [PATCH] meson.build: request native wayland-scanner
|
||||
|
||||
This matters in cross compilation, as otherwise meson will
|
||||
try to use a cross-binary, and fail.
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/waffle/-/merge_requests/110]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index ca6a212..3177bde 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -110,7 +110,7 @@ else
|
||||
'wayland-egl', version : '>= 9.1', required : get_option('wayland'),
|
||||
)
|
||||
dep_wayland_scanner = dependency(
|
||||
- 'wayland-scanner', version : '>= 1.15', required : get_option('wayland'),
|
||||
+ 'wayland-scanner', version : '>= 1.15', required : get_option('wayland'), native: true,
|
||||
)
|
||||
if dep_wayland_scanner.found()
|
||||
prog_wayland_scanner = find_program(dep_wayland_scanner.get_variable(pkgconfig: 'wayland_scanner'))
|
||||
@@ -0,0 +1,41 @@
|
||||
From 71f9399d6cea1e2e885a98b98d82eb628832a86e Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Tue, 26 Oct 2021 08:52:17 +0200
|
||||
Subject: [PATCH] waffle: do not make core protocol into the library
|
||||
|
||||
None of the consumers (which is just piglit) use it, and
|
||||
this avoids host contamination from pkg-config suggesting
|
||||
wayland.xml from the host.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
|
||||
---
|
||||
src/waffle/meson.build | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/src/waffle/meson.build b/src/waffle/meson.build
|
||||
index e2636c7..3ff5762 100644
|
||||
--- a/src/waffle/meson.build
|
||||
+++ b/src/waffle/meson.build
|
||||
@@ -88,12 +88,6 @@ if build_surfaceless
|
||||
endif
|
||||
|
||||
if build_wayland
|
||||
- wl_core_proto_c = custom_target(
|
||||
- 'wl-core-proto.c',
|
||||
- input: wayland_core_xml,
|
||||
- output: 'wl-core-proto.c',
|
||||
- command: [prog_wayland_scanner, 'private-code', '@INPUT@', '@OUTPUT@'],
|
||||
- )
|
||||
wl_xdg_shell_proto_c = custom_target(
|
||||
'wl-xdg-shell-proto.c',
|
||||
input: wayland_xdg_shell_xml,
|
||||
@@ -114,7 +108,6 @@ if build_wayland
|
||||
'wayland/wayland_wrapper.c',
|
||||
)
|
||||
files_libwaffle += [
|
||||
- wl_core_proto_c,
|
||||
wl_xdg_shell_proto_c,
|
||||
wl_xdg_shell_proto_h,
|
||||
]
|
||||
51
sources/poky/meta/recipes-graphics/waffle/waffle_1.7.2.bb
Normal file
51
sources/poky/meta/recipes-graphics/waffle/waffle_1.7.2.bb
Normal file
@@ -0,0 +1,51 @@
|
||||
SUMMARY = "A C library for selecting an OpenGL API and window system at runtime"
|
||||
DESCRIPTION = "A cross-platform C library that allows one to defer selection \
|
||||
of an OpenGL API and window system until runtime. For example, on Linux, Waffle \
|
||||
enables an application to select X11/EGL with an OpenGL 3.3 core profile, \
|
||||
Wayland with OpenGL ES2, and other window system / API combinations."
|
||||
HOMEPAGE = "https://gitlab.freedesktop.org/mesa/waffle"
|
||||
BUGTRACKER = "https://gitlab.freedesktop.org/mesa/waffle"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4c5154407c2490750dd461c50ad94797 \
|
||||
file://include/waffle-1/waffle.h;endline=24;md5=61dbf8697f61c78645e75a93c585b1bf"
|
||||
|
||||
SRC_URI = "git://gitlab.freedesktop.org/mesa/waffle.git;protocol=https;branch=maint-1.7 \
|
||||
file://0001-waffle-do-not-make-core-protocol-into-the-library.patch \
|
||||
file://0001-meson.build-request-native-wayland-scanner.patch \
|
||||
"
|
||||
SRCREV = "f3b42a7216105498842bc6ba77d8481b90d6f5f9"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson features_check lib_package bash-completion pkgconfig
|
||||
|
||||
DEPENDS:append = " python3"
|
||||
|
||||
# This should be overridden per-machine to reflect the capabilities of the GL
|
||||
# stack.
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gbm surfaceless-egl', '', d)} \
|
||||
"
|
||||
|
||||
# virtual/libgl requires opengl in DISTRO_FEATURES.
|
||||
REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}"
|
||||
|
||||
# I say virtual/libgl, actually wants gl.pc
|
||||
PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,virtual/${MLPREFIX}libgl libx11"
|
||||
|
||||
# wants wayland-egl.pc, egl.pc, and the wayland
|
||||
# DISTRO_FEATURE.
|
||||
PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/${MLPREFIX}egl wayland wayland-native wayland-protocols"
|
||||
|
||||
# wants gbm.pc egl.pc
|
||||
PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/${MLPREFIX}egl virtual/${MLPREFIX}libgbm udev"
|
||||
|
||||
# wants egl.pc
|
||||
PACKAGECONFIG[x11-egl] = "-Dx11_egl=enabled,-Dx11_egl=disabled,virtual/${MLPREFIX}egl libxcb"
|
||||
PACKAGECONFIG[surfaceless-egl] = "-Dsurfaceless_egl=enabled,-Dsurfaceless_egl=disabled,virtual/${MLPREFIX}egl"
|
||||
|
||||
# TODO: optionally build manpages and examples
|
||||
|
||||
do_install:append() {
|
||||
rm -rf ${D}${datadir}/zsh
|
||||
}
|
||||
Reference in New Issue
Block a user