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,27 @@
|
||||
From 6f6d7e3995c370b8121206a7f9cc0d234553bbfe Mon Sep 17 00:00:00 2001
|
||||
From: Lei Maohui <leimaohui@fujitsu.com>
|
||||
Date: Thu, 15 Sep 2022 16:35:39 +0900
|
||||
Subject: [PATCH] Set header file to a fixed path instead of a host path.
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
|
||||
---
|
||||
src/libtracker-miners-common/tracker-miner-enum-types.c.template | 1 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/src/libtracker-miners-common/tracker-miners-enum-types.c.template b/src/libtracker-miners-common/tracker-miners-enum-types.c.template
|
||||
index c712dda..cb449e2 100644
|
||||
--- a/src/libtracker-miners-common/tracker-miners-enum-types.c.template
|
||||
+++ b/src/libtracker-miners-common/tracker-miners-enum-types.c.template
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
/* enumerations from "@basename@" */
|
||||
-#include "@filename@"
|
||||
+#include "tracker-enums.h"
|
||||
/*** END file-production ***/
|
||||
|
||||
|
||||
--
|
||||
2.25.1
|
||||
@@ -0,0 +1,118 @@
|
||||
From 2bbd07843e8ec34311cafab35f21b40c86e0dd7f Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Tue, 12 Sep 2023 17:00:41 +0200
|
||||
Subject: [PATCH] meson: fix reproducibility
|
||||
|
||||
Tracker's design seems to be strictly for non-cross builds and leaks buildpaths into the
|
||||
binaries at various places. Avoid this to improve binary reproducibility.
|
||||
|
||||
todo: Some of these paths may need to be adjusted to make the test environment work
|
||||
|
||||
Upstream-Status: Inappropriate [oe-specific]
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
---
|
||||
meson.build | 20 ++++++++++----------
|
||||
src/tracker-extract/meson.build | 2 +-
|
||||
tests/tracker-miner-fs/meson.build | 2 +-
|
||||
3 files changed, 12 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 935584185..aa6126081 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -380,7 +380,7 @@ conf.set('PACKAGE_VERSION', '"@0@"'.format(meson.project_version()))
|
||||
conf.set('TRACKER_VERSION', '"@0@"'.format(meson.project_version()))
|
||||
|
||||
# Config that goes in some other generated files (.desktop, .pc, etc)
|
||||
-conf.set('abs_top_builddir', meson.current_build_dir())
|
||||
+conf.set('abs_top_builddir', '')
|
||||
conf.set('exec_prefix', get_option('prefix'))
|
||||
conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
|
||||
conf.set('datadir', datadir)
|
||||
@@ -409,7 +409,7 @@ tracker_c_args = [
|
||||
configinc = include_directories('./')
|
||||
srcinc = include_directories('src/')
|
||||
|
||||
-build_root = meson.current_build_dir()
|
||||
+build_root = ''
|
||||
|
||||
# We use tracker-miners-3.0 rather than tracker3-miners inside the lib64
|
||||
# directory, following the existing convention in that directory.
|
||||
@@ -438,8 +438,8 @@ subdir('data')
|
||||
subdir('docs')
|
||||
|
||||
test_c_args = tracker_c_args + [
|
||||
- '-DTOP_BUILDDIR="@0@/"'.format(meson.build_root()),
|
||||
- '-DTOP_SRCDIR="@0@/"'.format(meson.source_root()),
|
||||
+ '-DTOP_BUILDDIR="@0@/"'.format(''),
|
||||
+ '-DTOP_SRCDIR="@0@/"'.format('/usr/src/debug/tracker'),
|
||||
]
|
||||
|
||||
if get_option('tests_tap_protocol')
|
||||
diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
|
||||
index 4aaad5c41..d17cce221 100644
|
||||
--- a/src/tracker-extract/meson.build
|
||||
+++ b/src/tracker-extract/meson.build
|
||||
@@ -159,7 +159,7 @@ endif
|
||||
executable('tracker-extract-@0@'.format(tracker_api_major),
|
||||
tracker_extract_sources,
|
||||
# Manually add the root dir to work around https://github.com/mesonbuild/meson/issues/1387
|
||||
- c_args: tracker_c_args + ['-I' + meson.build_root()],
|
||||
+ c_args: tracker_c_args,
|
||||
export_dynamic: true,
|
||||
dependencies: tracker_extract_dependencies,
|
||||
install: true,
|
||||
diff --git a/tests/tracker-miner-fs/meson.build b/tests/tracker-miner-fs/meson.build
|
||||
index e131b85ad..59e509fa6 100644
|
||||
--- a/tests/tracker-miner-fs/meson.build
|
||||
+++ b/tests/tracker-miner-fs/meson.build
|
||||
@@ -19,7 +19,7 @@ libtracker_miner_test_c_args = [
|
||||
]
|
||||
|
||||
libtracker_miner_test_environment = environment()
|
||||
-libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', join_paths(meson.build_root(), 'data'))
|
||||
+libtracker_miner_test_environment.set('GSETTINGS_SCHEMA_DIR', '/usr/src/debug/tracker-miners/data')
|
||||
|
||||
libtracker_miner_test_deps = [tracker_miners_common_dep, tracker_miner_dep, tracker_sparql]
|
||||
|
||||
|
||||
diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build
|
||||
index 6e5883288..04750f82b 100644
|
||||
--- a/src/miners/fs/meson.build
|
||||
+++ b/src/miners/fs/meson.build
|
||||
@@ -67,8 +67,8 @@ executable('tracker-miner-fs-@0@'.format(tracker_api_major),
|
||||
dependencies: tracker_miner_fs_deps,
|
||||
c_args: [
|
||||
tracker_c_args,
|
||||
- '-DBUILDROOT="@0@"'.format(meson.global_build_root()),
|
||||
- '-DBUILD_EXTRACTDIR="@0@"'.format(meson.build_root() / 'src' / 'tracker-extract'),
|
||||
+ '-DBUILDROOT="@0@"'.format(get_option('prefix') / 'src'),
|
||||
+ '-DBUILD_EXTRACTDIR="@0@"'.format(get_option('prefix') / 'src' / 'tracker-extract'),
|
||||
'-DLIBEXECDIR="@0@"'.format(get_option('prefix') / get_option('libexecdir')),
|
||||
],
|
||||
install: true,
|
||||
diff --git a/src/libtracker-miners-common/tracker-landlock.c b/src/libtracker-miners-common/tracker-landlock.c
|
||||
index 27e7db65b..3021343eb 100644
|
||||
--- a/src/libtracker-miners-common/tracker-landlock.c
|
||||
+++ b/src/libtracker-miners-common/tracker-landlock.c
|
||||
@@ -276,7 +276,7 @@
|
||||
LANDLOCK_ACCESS_FS_READ_DIR);
|
||||
}
|
||||
}
|
||||
-
|
||||
+#if 0
|
||||
current_dir = g_get_current_dir ();
|
||||
|
||||
/* Detect running in-tree */
|
||||
@@ -296,7 +296,7 @@
|
||||
in_tree_rules[i].flags);
|
||||
}
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
/* Add user cache for readonly databases */
|
||||
#ifdef MINER_FS_CACHE_LOCATION
|
||||
add_rule (landlock_fd, MINER_FS_CACHE_LOCATION,
|
||||
--
|
||||
2.41.0
|
||||
@@ -0,0 +1,86 @@
|
||||
SUMMARY = "Tracker miners and metadata extractors"
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING.GPL;md5=ee31012bf90e7b8c108c69f197f3e3a4 \
|
||||
file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
"
|
||||
|
||||
DEPENDS = " \
|
||||
intltool-native \
|
||||
tracker \
|
||||
zlib \
|
||||
"
|
||||
|
||||
|
||||
inherit gnomebase gsettings gobject-introspection vala bash-completion features_check
|
||||
|
||||
SRC_URI:append = " \
|
||||
file://0001-fix-reproducibility.patch \
|
||||
file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \
|
||||
"
|
||||
SRC_URI[archive.sha256sum] = "50a3abe40cfb0b35ced43ec716dbf1368992e444ef7a0babf202c7ac6ab2f6f4"
|
||||
|
||||
# gobject-introspection is mandatory and cannot be configured
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
GIR_MESON_OPTION = ""
|
||||
VALA_MESON_OPTION = ""
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "ffmpeg", "", d)} \
|
||||
gexiv2 \
|
||||
gstreamer \
|
||||
icu \
|
||||
libexif \
|
||||
libgsf \
|
||||
jpeg \
|
||||
pdf \
|
||||
png \
|
||||
tiff \
|
||||
raw \
|
||||
xml \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)} \
|
||||
battery \
|
||||
networkmanager \
|
||||
"
|
||||
# Needs tgkill API which musl does not support
|
||||
# see https://www.openwall.com/lists/musl/2019/08/02/1
|
||||
PACKAGECONFIG:remove:libc-musl = "seccomp"
|
||||
|
||||
PACKAGECONFIG[battery] = "-Dbattery_detection=upower,-Dbattery_detection=none,upower"
|
||||
PACKAGECONFIG[cue] = "-Dcue=enabled,-Dcue=disabled,libcue"
|
||||
PACKAGECONFIG[ffmpeg] = "-Dgeneric_media_extractor=libav,,ffmpeg"
|
||||
PACKAGECONFIG[gexiv2] = ",,gexiv2"
|
||||
PACKAGECONFIG[gstreamer] = "-Dgeneric_media_extractor=gstreamer,,gstreamer1.0 gstreamer1.0-plugins-base"
|
||||
PACKAGECONFIG[gupnp] = "-Dgstreamer_backend=gupnp,,gupnp-dlna"
|
||||
PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled,giflib"
|
||||
PACKAGECONFIG[icu] = "-Dcharset_detection=icu,,icu"
|
||||
PACKAGECONFIG[iso] = "-Diso=enabled,-Diso=disabled,libosinfo"
|
||||
PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
|
||||
PACKAGECONFIG[libexif] = "-Dexif=enabled,-Dexif=disabled,libexif"
|
||||
PACKAGECONFIG[libgsf] = "-Dgsf=enabled,-Dgsf=disabled,libgsf"
|
||||
PACKAGECONFIG[pdf] = "-Dpdf=enabled,-Dpdf=disabled,poppler"
|
||||
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
||||
PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
|
||||
PACKAGECONFIG[raw] = "-Draw=enabled,-Draw=disabled,libraw"
|
||||
PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2"
|
||||
PACKAGECONFIG[networkmanager] = "-Dnetwork_manager=enabled,-Dnetwork_manager=disabled,networkmanager"
|
||||
PACKAGECONFIG[landlock] = "-Dlandlock=enabled,-Dlandlock=disabled"
|
||||
|
||||
# For security reasons it is strongly recommended to set add meta-security in
|
||||
# your layers and 'libseccomp' to PACKAGECONFIG".
|
||||
PACKAGECONFIG[seccomp] = "-Dseccomp=true,-Dseccomp=false,libseccomp"
|
||||
# not yet in meta-gnome
|
||||
PACKAGECONFIG[rss] = "-Dminer_rss=true,-Dminer_rss=false,libgrss"
|
||||
|
||||
EXTRA_OEMESON += " \
|
||||
-Dman=false \
|
||||
-Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \
|
||||
-Dsystemd_user_services_dir=${systemd_user_unitdir} \
|
||||
"
|
||||
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir} \
|
||||
${libdir}/tracker-miners-3.0 \
|
||||
${systemd_user_unitdir} \
|
||||
"
|
||||
@@ -0,0 +1,77 @@
|
||||
From ae34fb111e1f2498f37b21c0c32ace6c9928ad66 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Mon, 18 Sep 2023 02:47:55 +0200
|
||||
Subject: [PATCH] tracker: fix reproducibility issue
|
||||
|
||||
Tracker's design seems to be strictly for non-cross builds and leaks buildpaths into the
|
||||
binaries at various places. Avoid this to improve binary reproducibility.
|
||||
|
||||
todo: Some of these paths may need to be adjusted to make the test environment work
|
||||
|
||||
Upstream-Status: Inappropriate [oe-specific]
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
---
|
||||
meson.build | 6 +++---
|
||||
src/libtracker-common/meson.build | 4 ++--
|
||||
src/libtracker-sparql/meson.build | 4 ++--
|
||||
3 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index bc9f93a..6c86e5a 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -357,7 +357,7 @@ have_rtld_noload = cc.has_header_symbol('dlfcn.h', 'RTLD_NOLOAD')
|
||||
conf.set('HAVE_RTLD_NOLOAD', have_rtld_noload)
|
||||
|
||||
# Config that goes in some other generated files (.desktop, .service, etc)
|
||||
-conf.set('abs_top_builddir', meson.current_build_dir())
|
||||
+conf.set('abs_top_builddir', '/usr/src/debug/tracker')
|
||||
conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
|
||||
|
||||
configure_file(input: 'config.h.meson.in',
|
||||
@@ -396,8 +396,8 @@ subdir('docs')
|
||||
subdir('utils')
|
||||
|
||||
test_c_args = tracker_c_args + [
|
||||
- '-DTOP_BUILDDIR="@0@"'.format(build_root),
|
||||
- '-DTOP_SRCDIR="@0@"'.format(source_root),
|
||||
+ '-DTOP_BUILDDIR="@0@/"'.format('/usr/src/debug/tracker'),
|
||||
+ '-DTOP_SRCDIR="@0@/"'.format('/usr/src/debug/tracker'),
|
||||
]
|
||||
|
||||
tracker_uninstalled_cli_dir = join_paths(meson.current_build_dir(), 'src', 'tracker')
|
||||
diff --git a/src/libtracker-common/meson.build b/src/libtracker-common/meson.build
|
||||
index 9355d1c..cdbc05f 100644
|
||||
--- a/src/libtracker-common/meson.build
|
||||
+++ b/src/libtracker-common/meson.build
|
||||
@@ -51,10 +51,10 @@ libtracker_common = static_library('tracker-common',
|
||||
dependencies: [tracker_common_dependencies, gmodule],
|
||||
c_args: [
|
||||
'-DPRIVATE_LIBDIR="@0@"'.format(tracker_internal_libs_dir),
|
||||
- '-DBUILD_LIBDIR="@0@"'.format(meson.current_build_dir()),
|
||||
+ '-DBUILD_LIBDIR="@0@"'.format('/usr/src/debug/tracker'),
|
||||
# Global build root is required to detect noinst situations (tests/introspection),
|
||||
# event when built as a subproject
|
||||
- '-DBUILDROOT="@0@"'.format(meson.global_build_root()),
|
||||
+ '-DBUILDROOT="@0@"'.format('/usr/src/debug/tracker'),
|
||||
] + tracker_c_args,
|
||||
include_directories: [configinc, srcinc],
|
||||
gnu_symbol_visibility: 'hidden',
|
||||
diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
|
||||
index 4143eac..b73f1c9 100644
|
||||
--- a/src/libtracker-sparql/meson.build
|
||||
+++ b/src/libtracker-sparql/meson.build
|
||||
@@ -98,10 +98,10 @@ libtracker_sparql_private = static_library('tracker-sparql-private',
|
||||
c_args: [
|
||||
'-include', 'libtracker-sparql/tracker-private.h',
|
||||
'-DPRIVATE_LIBDIR="@0@"'.format(tracker_internal_libs_dir),
|
||||
- '-DBUILD_LIBDIR="@0@"'.format(meson.current_build_dir()),
|
||||
+ '-DBUILD_LIBDIR="@0@"'.format('/usr/src/debug/tracker'),
|
||||
# Global build root is required to detect noinst situations (tests/introspection),
|
||||
# event when built as a subproject
|
||||
- '-DBUILDROOT="@0@"'.format(meson.global_build_root()),
|
||||
+ '-DBUILDROOT="@0@"'.format('/usr/src/debug/tracker'),
|
||||
] + tracker_c_args,
|
||||
|
||||
dependencies: [libtracker_sparql_dependencies, gvdb_dep],
|
||||
@@ -0,0 +1,59 @@
|
||||
SUMMARY = "Tracker is a file search engine"
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING.GPL;md5=ee31012bf90e7b8c108c69f197f3e3a4 \
|
||||
file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
"
|
||||
|
||||
DEPENDS = " \
|
||||
dbus-native \
|
||||
python3-pygobject-native \
|
||||
glib-2.0 \
|
||||
sqlite3 \
|
||||
libarchive \
|
||||
dbus \
|
||||
icu \
|
||||
json-glib \
|
||||
libsoup-3.0 \
|
||||
libstemmer \
|
||||
"
|
||||
|
||||
|
||||
inherit gettext gnomebase gobject-introspection vala gtk-doc bash-completion python3native
|
||||
|
||||
SRC_URI += "file://0001-fix-reproducibility.patch"
|
||||
SRC_URI[archive.sha256sum] = "cd91b885ee9839cde5387f8e05ed24a7108d1627629cb6b1b2aa51a9603e130a"
|
||||
|
||||
# text search is not an option anymore and requires sqlite3 build with
|
||||
# PACKAGECONFIG[fts5] set (default)
|
||||
|
||||
# set required cross property sqlite3_has_fts5
|
||||
do_write_config[vardeps] += "PACKAGECONFIG"
|
||||
do_write_config:append() {
|
||||
echo "[properties]" > ${WORKDIR}/meson-tracker.cross
|
||||
echo "sqlite3_has_fts5 = 'true'" >> ${WORKDIR}/meson-tracker.cross
|
||||
}
|
||||
|
||||
EXTRA_OEMESON = " \
|
||||
--cross-file ${WORKDIR}/meson-tracker.cross \
|
||||
-Dman=false \
|
||||
-Dsystemd_user_services=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)} \
|
||||
-Dsystemd_user_services_dir=${systemd_user_unitdir} \
|
||||
-Dsoup=soup3 \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=enabled', '-Dvapi=disabled', d)} \
|
||||
"
|
||||
|
||||
do_install:prepend() {
|
||||
sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/tracker-sparql-enum-types.c
|
||||
sed -i -e 's|${B}/../${PN}-${PV}|${TARGET_DBGSRC_DIR}|g' ${B}/src/libtracker-sparql/core/tracker-data-enum-types.c
|
||||
}
|
||||
|
||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/tracker3 \
|
||||
${libdir}/tracker-3.0 \
|
||||
${systemd_user_unitdir} \
|
||||
"
|
||||
Reference in New Issue
Block a user