diff options
| author | Andreas Müller <schnitzeltony@gmail.com> | 2019-12-01 17:51:19 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-01 11:24:26 -0800 |
| commit | 24d7c2e5956da868952041767b3124f75a6980e3 (patch) | |
| tree | 4c3fb1724daffea7f15f62947ab3a356f2361595 /meta-gnome/recipes-gnome | |
| parent | d9c448fb6a61637169e65d9963dcf08a1b0c848b (diff) | |
| download | meta-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/recipes-gnome')
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker-miners/0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch | 37 | ||||
| -rw-r--r-- | meta-gnome/recipes-gnome/tracker/tracker-miners_2.3.1.bb | 68 |
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 @@ | |||
| 1 | From 54ea2cabf85ad1bd5695cdbd1935115c9495e80c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Sun, 1 Dec 2019 17:06:59 +0100 | ||
| 4 | Subject: [PATCH] meson.build: Just warn if we build without libseccomp | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | libseccomp lives in meta-security currently and we cannot make it a mandatory | ||
| 10 | dependency. Once somebody moves libseccomp to meta-oe and adjusts all the | ||
| 11 | target 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 | |||
| 15 | Upstream-Status: Inappropriate [embedded specific] | ||
| 16 | |||
| 17 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 18 | --- | ||
| 19 | meson.build | 2 +- | ||
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 21 | |||
| 22 | diff --git a/meson.build b/meson.build | ||
| 23 | index 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 | -- | ||
| 36 | 2.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 @@ | |||
| 1 | SUMMARY = "Tracker miners and metadata extractors" | ||
| 2 | LICENSE = "GPLv2 & LGPLv2.1" | ||
| 3 | LIC_FILES_CHKSUM = " \ | ||
| 4 | file://COPYING.GPL;md5=ee31012bf90e7b8c108c69f197f3e3a4 \ | ||
| 5 | file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 6 | " | ||
| 7 | |||
| 8 | DEPENDS = " \ | ||
| 9 | intltool-native \ | ||
| 10 | tracker \ | ||
| 11 | zlib \ | ||
| 12 | " | ||
| 13 | |||
| 14 | GNOMEBASEBUILDCLASS = "meson" | ||
| 15 | |||
| 16 | inherit gnomebase gsettings gobject-introspection vala gtk-doc manpages bash-completion features_check | ||
| 17 | |||
| 18 | SRC_URI[archive.md5sum] = "0321d8f4ad27e3fccdbc8384e5b3cb83" | ||
| 19 | SRC_URI[archive.sha256sum] = "7b1de06a7a79ea1c7813c8a21f8cd1c55f2b95f799cf9f47f0204f3be8a590e0" | ||
| 20 | SRC_URI += "file://0001-meson.build-Just-warn-if-we-build-without-libseccomp.patch" | ||
| 21 | |||
| 22 | # gobject-introspection is mandatory and cannot be configured | ||
| 23 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
| 24 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" | ||
| 25 | |||
| 26 | PACKAGECONFIG ??= " \ | ||
| 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 | |||
| 41 | PACKAGECONFIG[ffmpeg] = ",,ffmpeg" | ||
| 42 | PACKAGECONFIG[flac] = "-Dflac=enabled,-Dflac=disabled,flac" | ||
| 43 | PACKAGECONFIG[gexiv2] = ",,gexiv2" | ||
| 44 | PACKAGECONFIG[gstreamer] = ",,gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 45 | PACKAGECONFIG[gupnp] = ",,gupnp-dlna" | ||
| 46 | PACKAGECONFIG[icu] = ",,icu" | ||
| 47 | PACKAGECONFIG[libexif] = "-Dexif=enabled,-Dexif=disabled,libexif" | ||
| 48 | PACKAGECONFIG[libgsf] = "-Dgsf=enabled,-Dgsf=disabled,libgsf" | ||
| 49 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" | ||
| 50 | PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng" | ||
| 51 | PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" | ||
| 52 | PACKAGECONFIG[xml] = "-Dxml=enabled,-Dxml=disabled,libxml2" | ||
| 53 | PACKAGECONFIG[vorbis] = "-Dvorbis=enabled,-Dvorbis=disabled,libvorbis" | ||
| 54 | PACKAGECONFIG[pdf] = "-Dpdf=enabled,-Dpdf=disabled,poppler" | ||
| 55 | PACKAGECONFIG[upower] = ",,upower" | ||
| 56 | |||
| 57 | # For security reasons it is strongly recommended to set add meta-security in | ||
| 58 | # your layers and 'libseccomp' to PACKAGECONFIG". | ||
| 59 | PACKAGECONFIG[libseccomp] = ",,libseccomp" | ||
| 60 | # not yet in meta-gnome | ||
| 61 | PACKAGECONFIG[rss] = "-Dminer_rss=true,-Dminer_rss=false,libgrss" | ||
| 62 | |||
| 63 | FILES_${PN} += " \ | ||
| 64 | ${datadir}/dbus-1 \ | ||
| 65 | ${datadir}/tracker \ | ||
| 66 | ${libdir}/tracker-miners-2.0 \ | ||
| 67 | ${systemd_user_unitdir} \ | ||
| 68 | " | ||
