summaryrefslogtreecommitdiffstats
path: root/meta-gnome
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-12-01 17:51:19 +0100
committerKhem Raj <raj.khem@gmail.com>2019-12-01 11:24:26 -0800
commit24d7c2e5956da868952041767b3124f75a6980e3 (patch)
tree4c3fb1724daffea7f15f62947ab3a356f2361595 /meta-gnome
parentd9c448fb6a61637169e65d9963dcf08a1b0c848b (diff)
downloadmeta-openembedded-24d7c2e5956da868952041767b3124f75a6980e3.tar.gz
tracker-miners: initial add 2.3.1
tracker-miners is a mandatory runtime-dependency for nautilus Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome')
-rw-r--r--meta-gnome/recipes-gnome/tracker/tracker-miners/0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch37
-rw-r--r--meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.1.bb68
2 files changed, 105 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch b/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch
new file mode 100644
index 0000000000..c9eb7994e6
--- /dev/null
+++ b/meta-gnome/recipes-gnome/tracker/tracker-miners/0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch
@@ -0,0 +1,37 @@
1From 54ea2cabf85ad1bd5695cdbd1935115c9495e80c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 1 Dec 2019 17:06:59 +0100
4Subject: [PATCH] meson.build: Just warn if we build without libseccomp
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9libseccomp lives in meta-security currently and we cannot make it a mandatory
10dependency. Once somebody moves libseccomp to meta-oe and adjusts all the
11target specific knobs this patch can go. For discussion see [1].
12
13[1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-November/203234.html
14
15Upstream-Status: Inappropriate [embedded specific]
16
17Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
18---
19 meson.build | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/meson.build b/meson.build
23index 71a9df4..1eaa1a0 100644
24--- a/meson.build
25+++ b/meson.build
26@@ -279,7 +279,7 @@ cpu_supports_seccomp = not unsupported_cpus.contains(host_cpu)
27 seccomp_required = system_supports_seccomp and cpu_supports_seccomp
28
29 if not libseccomp.found() and seccomp_required
30- error('Libseccomp is mandatory for sandboxed metadata extraction')
31+ warning('Building without Libseccomp might cause security issues!')
32 endif
33
34 ####################################################################
35--
362.21.0
37
diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.1.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.1.bb
new file mode 100644
index 0000000000..3dbbcafbdf
--- /dev/null
+++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.1.bb
@@ -0,0 +1,68 @@
1SUMMARY = "Tracker miners and metadata extractors"
2LICENSE = "GPLv2 & LGPLv2.1"
3LIC_FILES_CHKSUM = " \
4 file://COPYING.GPL;md5=ee31012bf90e7b8c108c69f197f3e3a4 \
5 file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
6"
7
8DEPENDS = " \
9 intltool-native \
10 tracker \
11 zlib \
12"
13
14GNOMEBASEBUILDCLASS = "meson"
15
16inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check
17
18SRC_URI[archive.md5sum] = "0321d8f4ad27e3fccdbc8384e5b3cb83"
19SRC_URI[archive.sha256sum] = "7b1de06a7a79ea1c7813c8a21f8cd1c55f2b95f799cf9f47f0204f3be8a590e0"
20SRC_URI += "file://0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch"
21
22# gobject-introspection is mandatory and cannot be configured
23REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
24UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
25
26PACKAGECONFIG ??= " \
27 ffmpeg \
28 flac \
29 gexiv2 \
30 gstreamer \
31 icu \
32 libexif \
33 libgsf \
34 jpeg \
35 png \
36 tiff \
37 xml \
38 pdf \
39"
40
41PACKAGECONFIG[ffmpeg] = ",,ffmpeg"
42PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac"
43PACKAGECONFIG[gexiv2] = ",,gexiv2"
44PACKAGECONFIG[gstreamer] = ",,gstreamer1.0 gstreamer1.0-plugins-base"
45PACKAGECONFIG[gupnp] = ",,gupnp-dlna"
46PACKAGECONFIG[icu] = ",,icu"
47PACKAGECONFIG[libexif] = "-Dexif=enabled,-Dexif=disabled,libexif"
48PACKAGECONFIG[libgsf] = "-Dgsf=enabled,-Dgsf=disabled,libgsf"
49PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
50PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
51PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
52PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2"
53PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis"
54PACKAGECONFIG[pdf] = "-Dpdf=enabled,-Dpdf=disabled,poppler"
55PACKAGECONFIG[upower] = ",,upower"
56
57# For security reasons it is strongly recommended to set add meta-security in
58# your layers and 'libseccomp' to PACKAGECONFIG".
59PACKAGECONFIG[libseccomp] = ",,libseccomp"
60# not yet in meta-gnome
61PACKAGECONFIG[rss] = "-Dminer_rss=true,-Dminer_rss=false,libgrss"
62
63FILES_${PN} += " \
64 ${datadir}/dbus-1 \
65 ${datadir}/tracker \
66 ${libdir}/tracker-miners-2.0 \
67 ${systemd_user_unitdir} \
68"