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,47 @@
|
||||
From 8a78a7996b01aba21377ceb7547da673fd30a391 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Wed, 27 Oct 2021 20:18:47 +0200
|
||||
Subject: [PATCH] Support cross builds a bit better
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
* Do not build/run mozjs-linked program
|
||||
* Do not try to run test applications
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
meson.build | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index c9b26d6..3058e8c 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -262,6 +262,7 @@ release builds of SpiderMonkey. Try configuring SpiderMonkey with
|
||||
--disable-debug.''')
|
||||
endif
|
||||
|
||||
+if not meson.is_cross_build()
|
||||
# Check if a minimal SpiderMonkey program compiles, links, and runs. If not,
|
||||
# it's most likely the case that SpiderMonkey was configured incorrectly, for
|
||||
# example by building mozglue as a shared library.
|
||||
@@ -292,6 +293,7 @@ elif minimal_program.returncode() != 0
|
||||
failed to execute. Most likely you should build it with a different
|
||||
configuration.''' + recommended_configuration)
|
||||
endif
|
||||
+endif # not meson.is_cross_build()
|
||||
|
||||
have_printf_alternative_int = cc.compiles('''
|
||||
#include <stdio.h>
|
||||
@@ -690,7 +692,7 @@ subdir('installed-tests')
|
||||
|
||||
# Note: The test program in test/ needs to be ported
|
||||
# to Windows before we can build it on Windows.
|
||||
-if host_machine.system() != 'windows'
|
||||
+if host_machine.system() != 'windows' and not meson.is_cross_build()
|
||||
subdir('test')
|
||||
endif
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 29221ae42e424c6100b8c313d2b61801430c872d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller=20installed=5Ftests=20is=20false?=
|
||||
<schnitzeltony@gmail.com>
|
||||
Date: Wed, 27 Oct 2021 20:04:02 +0200
|
||||
Subject: [PATCH] meson.build: Do not add dir installed-tests when
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/690]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
---
|
||||
meson.build | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 3058e8c..06cf8da 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -688,7 +688,9 @@ endif
|
||||
|
||||
### Tests and test setups ######################################################
|
||||
|
||||
-subdir('installed-tests')
|
||||
+if get_option('installed_tests')
|
||||
+ subdir('installed-tests')
|
||||
+endif
|
||||
|
||||
# Note: The test program in test/ needs to be ported
|
||||
# to Windows before we can build it on Windows.
|
||||
@@ -0,0 +1,39 @@
|
||||
SUMMARY = "Javascript bindings for GNOME"
|
||||
LICENSE = "MIT & LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48"
|
||||
|
||||
|
||||
DEPENDS = "mozjs-115 cairo"
|
||||
|
||||
inherit gnomebase gsettings gobject-introspection gettext features_check upstream-version-is-even pkgconfig
|
||||
|
||||
SRC_URI[archive.sha256sum] = "135e39c5ac591096233e557cfe577d64093f5054411d47cb2e214bad7d4199bd"
|
||||
SRC_URI += " \
|
||||
file://0001-Support-cross-builds-a-bit-better.patch \
|
||||
file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \
|
||||
"
|
||||
|
||||
# gobject-introspection is mandatory and cannot be configured
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
GIR_MESON_OPTION = ""
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
-Dinstalled_tests=false \
|
||||
-Dskip_dbus_tests=true \
|
||||
-Dskip_gtk_tests=true \
|
||||
"
|
||||
|
||||
LDFLAGS:append:mipsarch = " -latomic"
|
||||
LDFLAGS:append:powerpc = " -latomic"
|
||||
LDFLAGS:append:powerpc64 = " -latomic"
|
||||
LDFLAGS:append:riscv32 = " -latomic"
|
||||
|
||||
FILES:${PN} += "${datadir}/gjs-1.0/lsan"
|
||||
|
||||
PACKAGES =+ "${PN}-valgrind"
|
||||
FILES:${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
|
||||
RDEPENDS:${PN}-valgrind += "valgrind"
|
||||
|
||||
# Valgrind not yet available on rv32/rv64
|
||||
RDEPENDS:${PN}-valgrind:remove:riscv32 = "valgrind"
|
||||
RDEPENDS:${PN}-valgrind:remove:riscv64 = "valgrind"
|
||||
Reference in New Issue
Block a user