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,33 @@
|
||||
From c06d8a8990c996cbb854508a944202ba70ba7a7c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 3 Mar 2022 20:10:04 -0800
|
||||
Subject: [PATCH] cmake: Do not export CC into gir compiler
|
||||
|
||||
this helps cross compilers where full compiler commandline defines the
|
||||
compiler rather than just CC variable, therefore let it use the default
|
||||
values from environment and not synthesize it from CMAKE_C_COMPILER just
|
||||
for this case.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/libical/libical/pull/552]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
cmake/modules/GObjectIntrospectionMacros.cmake | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cmake/modules/GObjectIntrospectionMacros.cmake b/cmake/modules/GObjectIntrospectionMacros.cmake
|
||||
index 83aff931..d7d3f898 100644
|
||||
--- a/cmake/modules/GObjectIntrospectionMacros.cmake
|
||||
+++ b/cmake/modules/GObjectIntrospectionMacros.cmake
|
||||
@@ -50,8 +50,7 @@ macro(gir_add_introspections introspections_girs)
|
||||
set(_gir_libtool "--no-libtool")
|
||||
|
||||
add_custom_command(
|
||||
- COMMAND ${CMAKE_COMMAND} -E env "CC='${CMAKE_C_COMPILER}'"
|
||||
- ${GObjectIntrospection_SCANNER}
|
||||
+ COMMAND ${GObjectIntrospection_SCANNER}
|
||||
${GObjectIntrospection_SCANNER_ARGS}
|
||||
--namespace=${_gir_namespace}
|
||||
--nsversion=${_gir_version}
|
||||
--
|
||||
2.35.1
|
||||
|
||||
54
sources/poky/meta/recipes-support/libical/libical_3.0.17.bb
Normal file
54
sources/poky/meta/recipes-support/libical/libical_3.0.17.bb
Normal file
@@ -0,0 +1,54 @@
|
||||
SUMMARY = "iCal and scheduling (RFC 2445, 2446, 2447) library"
|
||||
DESCRIPTION = "An Open Source implementation of the iCalendar protocols \
|
||||
and protocol data units. The iCalendar specification describes how \
|
||||
calendar clients can communicate with calendar servers so users can store \
|
||||
their calendar data and arrange meetings with other users. "
|
||||
HOMEPAGE = "https://github.com/libical/libical"
|
||||
BUGTRACKER = "https://github.com/libical/libical/issues"
|
||||
LICENSE = "LGPL-2.1-only | MPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1910a2a76ddf6a9ba369182494170d87 \
|
||||
file://LICENSE.LGPL21.txt;md5=933adb561f159e7c3da079536f0ed871 \
|
||||
file://LICENSE.MPL2.txt;md5=f75d2927d3c1ed2414ef72048f5ad640 \
|
||||
"
|
||||
SECTION = "libs"
|
||||
|
||||
SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
|
||||
file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "bcda9a6db6870240328752854d1ea475af9bbc6356e6771018200e475e5f781b"
|
||||
|
||||
inherit cmake pkgconfig gobject-introspection vala github-releases
|
||||
|
||||
DEPENDS += "libical-native"
|
||||
|
||||
PACKAGECONFIG ??= "icu glib"
|
||||
PACKAGECONFIG[bdb] = ",-DCMAKE_DISABLE_FIND_PACKAGE_BDB=True,db"
|
||||
PACKAGECONFIG[glib] = "-DICAL_GLIB=True,-DICAL_GLIB=False,glib-2.0-native libxml2-native glib-2.0 libxml2"
|
||||
# ICU is used for RSCALE (RFC7529) support
|
||||
PACKAGECONFIG[icu] = ",-DCMAKE_DISABLE_FIND_PACKAGE_ICU=True,icu"
|
||||
|
||||
# No need to use perl-native, the host perl is sufficient.
|
||||
EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl"
|
||||
# Disable the test suite as we can't install it
|
||||
EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false"
|
||||
# doc build fails with linker error (??) for libical-glib so disable it
|
||||
EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false"
|
||||
# gobject-introspection
|
||||
EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_COMPILER=${STAGING_BINDIR}/g-ir-compiler-wrapper"
|
||||
EXTRA_OECMAKE:append:class-target = " -DGObjectIntrospection_SCANNER=${STAGING_BINDIR}/g-ir-scanner-wrapper"
|
||||
EXTRA_OECMAKE += "-DVAPIGEN=${STAGING_BINDIR_NATIVE}/vapigen"
|
||||
EXTRA_OECMAKE += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DGOBJECT_INTROSPECTION=ON -DICAL_GLIB_VAPI=ON', '-DGOBJECT_INTROSPECTION=OFF', d)}"
|
||||
|
||||
# Tell the cross-libical where the tool it needs to build is
|
||||
EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
|
||||
|
||||
do_install:append () {
|
||||
# Remove build host references (https://github.com/libical/libical/issues/532)
|
||||
sed -i \
|
||||
-e 's,${STAGING_LIBDIR},${libdir},g' \
|
||||
-e 's,${STAGING_INCDIR},${includedir},g' \
|
||||
${D}${libdir}/cmake/LibIcal/LibIcal*.cmake \
|
||||
${D}${libdir}/cmake/LibIcal/Ical*.cmake
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user