added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -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

View File

@@ -0,0 +1,37 @@
From 54ea2cabf85ad1bd5695cdbd1935115c9495e80c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sun, 1 Dec 2019 17:06:59 +0100
Subject: [PATCH] meson.build: Just warn if we build without libseccomp
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
libseccomp lives in meta-security currently and we cannot make it a mandatory
dependency. Once somebody moves libseccomp to meta-oe and adjusts all the
target specific knobs this patch can go. For discussion see [1].
[1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-November/203234.html
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 71a9df4..1eaa1a0 100644
--- a/meson.build
+++ b/meson.build
@@ 299,7 +299,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
seccomp_required = system_supports_seccomp and cpu_supports_seccomp and get_option('seccomp') and get_option('extract')
if not libseccomp.found() and seccomp_required
- error('Libseccomp is mandatory for sandboxed metadata extraction')
+ warning('Building without Libseccomp might cause security issues!')
endif
####################################################################
--
2.21.0

View File

@@ -0,0 +1,81 @@
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 \
"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gsettings gobject-introspection vala bash-completion features_check
SRC_URI += "file://0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch \
file://0001-Set-header-file-to-a-fixed-path-instead-of-a-host-pa.patch \
"
SRC_URI[archive.sha256sum] = "17966603dc432a98526b490586a48acd7f9f59935f7895dfc51729a46a6901a3"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
GIR_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 \
"
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"
# 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}/dbus-1 \
${datadir}/tracker3-miners \
${libdir}/tracker-miners-3.0 \
${systemd_user_unitdir} \
"

View File

@@ -0,0 +1,54 @@
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 \
"
GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check python3native
SRC_URI[archive.sha256sum] = "13294275dbbbad9634b3a8390c08e6f12bebfe84f6ccafb72b27b0c23ba8da2f"
# gobject-introspection is mandatory and cannot be configured
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
GIR_MESON_OPTION = ""
# 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 \
"
FILES:${PN} += " \
${datadir}/dbus-1 \
${datadir}/tracker3 \
${libdir}/tracker-3.0 \
${systemd_user_unitdir} \
"