summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-support
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-04-27 11:04:51 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 10:18:33 +0200
commitec9e5ed06256ad92c818474cdb490dc0d3a0d0a3 (patch)
treee16d2a838f4561d5538928a58f805e5f1373225a /meta-gnome/recipes-support
parent6775acb048dabd624c5c8197b683aba45ed91569 (diff)
downloadmeta-openembedded-ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3.tar.gz
recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long time and nobody showed any interest to fix them * remove all unused .patch and .inc files as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-support')
-rw-r--r--meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch33
-rw-r--r--meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch41
-rw-r--r--meta-gnome/recipes-support/goffice/goffice_0.10.1.bb51
-rw-r--r--meta-gnome/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch13
-rw-r--r--meta-gnome/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch30
-rw-r--r--meta-gnome/recipes-support/tracker/tracker-0.14.2/giflib5-support.patch126
-rw-r--r--meta-gnome/recipes-support/tracker/tracker_0.14.2.bb88
7 files changed, 0 insertions, 382 deletions
diff --git a/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch b/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
deleted file mode 100644
index 83e598e6a6..0000000000
--- a/meta-gnome/recipes-support/florence/files/0001-Fix-glib-includes.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From c8419ef05ff92ffa3de2e626eb6acd5d2df3baa1 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Tue, 15 May 2012 13:40:05 +0200
4Subject: [PATCH] Fix glib includes
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8Upstream-Status: unknown
9
10Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
11---
12 src/trace.c | 5 +----
13 1 files changed, 1 insertions(+), 4 deletions(-)
14
15diff --git a/src/trace.c b/src/trace.c
16index 5ea5c13..774c56d 100644
17--- a/src/trace.c
18+++ b/src/trace.c
19@@ -21,10 +21,7 @@
20
21 #include "trace.h"
22 #include "system.h"
23-#include <glib/gprintf.h>
24-#include <glib/gutils.h>
25-#include <glib/gslist.h>
26-#include <glib/gstrfuncs.h>
27+#include <glib.h>
28 #include <stdio.h>
29 #include <stdarg.h>
30
31--
321.7.6.5
33
diff --git a/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch b/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch
deleted file mode 100644
index a645978d92..0000000000
--- a/meta-gnome/recipes-support/goffice/goffice/0001-configure.ac-fix-paths-to-introspection-tools.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 8e158c16cd15fff08b42ed86edc55816d3387837 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 19 Feb 2016 16:04:24 +0200
4Subject: [PATCH] configure.ac: fix paths to introspection tools
5
6They need to be prefixed with $PKG_CONFIG_SYSROOT_DIR
7
8Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
9---
10 configure.ac | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index 6d2b747..3b28463 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -706,9 +706,9 @@ if test "x$found_introspection" = "xyes"; then
18 dnl python where to find libgoffice, so you might also need to set
19 dnl LD_LIBRARY_PATH.
20
21- INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
22- INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
23- INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
24+ INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
25+ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
26+ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
27 if test "x$INTROSPECTION_GIRDIR" = x; then
28 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
29 fi
30@@ -717,7 +717,7 @@ if test "x$found_introspection" = "xyes"; then
31 fi
32 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
33 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
34- INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
35+ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
36 else
37 INTROSPECTION_SCANNER=
38 INTROSPECTION_COMPILER=
39--
402.7.0
41
diff --git a/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb b/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb
deleted file mode 100644
index 6a2080d4cc..0000000000
--- a/meta-gnome/recipes-support/goffice/goffice_0.10.1.bb
+++ /dev/null
@@ -1,51 +0,0 @@
1DESCRIPTION="Gnome Office Library"
2
3LICENSE="GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=6dc33ff21e1ba1ac1a2a1069d361e29e"
5
6DEPENDS = "libxml-parser-perl-native glib-2.0 gtk+3 pango cairo libgsf libpcre libxml2 libart-lgpl librsvg intltool"
7
8inherit gnomebase pkgconfig perlnative gobject-introspection
9
10GNOME_COMPRESS_TYPE = "xz"
11
12SRC_URI += "file://0001-configure.ac-fix-paths-to-introspection-tools.patch"
13
14SRC_URI[archive.md5sum] = "90fd17c6fe205b779571e00d9b0b4727"
15SRC_URI[archive.sha256sum] = "5c38f4e81e874cc8e89481b080f77c47c72bfd6fe2526f4fc2ef87c17f96cad0"
16
17FILES_${PN}-dbg += "${libdir}/goffice/${PV}/plugins/*/.debug"
18
19RRECOMMENDS_${PN} = " \
20 goffice-plugin-plot-barcol \
21 goffice-plugin-plot-distrib \
22 goffice-plugin-plot-pie \
23 goffice-plugin-plot-radar \
24 goffice-plugin-plot-surface \
25 goffice-plugin-plot-xy \
26 goffice-plugin-reg-linear \
27 goffice-plugin-reg-logfit \
28 goffice-plugin-smoothing \
29"
30
31FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
32 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
33 ${base_bindir}/* ${base_sbindir}/* \
34 ${base_libdir}/*${SOLIBS} \
35 ${datadir}/${PN} \
36 ${datadir}/pixmaps ${datadir}/applications \
37 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
38 ${libdir}/bonobo/servers"
39
40FILES_${PN}-locale = "${libdir}/locale"
41
42PACKAGES_DYNAMIC += "^goffice-plugin-.*"
43
44python populate_packages_prepend () {
45 goffice_libdir = d.expand('${libdir}/goffice/${PV}/plugins/')
46
47 do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True)
48}
49
50# | ../../goffice-0.10.1/goffice/math/go-complex.c:75:3: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
51PNBLACKLIST[goffice] ?= "BROKEN: fails to build with gcc-6 - the recipe will be removed on 2017-09-01 unless the issue is fixed"
diff --git a/meta-gnome/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch b/meta-gnome/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
deleted file mode 100644
index 5dadda2a29..0000000000
--- a/meta-gnome/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Index: tracker-0.10.17/m4/sqlite-threadsafe.m4
2===================================================================
3--- tracker-0.10.17.orig/m4/sqlite-threadsafe.m4
4+++ tracker-0.10.17/m4/sqlite-threadsafe.m4
5@@ -45,7 +45,7 @@ int main ()
6 ]])],
7 [ax_cv_sqlite_threadsafe=yes],
8 [ax_cv_sqlite_threadsafe=no],
9- [ax_cv_sqlite_threadsafe=no])])
10+ [ax_cv_sqlite_threadsafe=yes])])
11
12 LIBS="$save_LIBS"
13 ])
diff --git a/meta-gnome/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch b/meta-gnome/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch
deleted file mode 100644
index 6c3d9de107..0000000000
--- a/meta-gnome/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Index: tracker-0.14.2/src/libtracker-miner/tracker-storage.c
2===================================================================
3--- tracker-0.14.2.orig/src/libtracker-miner/tracker-storage.c 2011-08-03 13:53:16.000000000 +0100
4+++ tracker-0.14.2/src/libtracker-miner/tracker-storage.c 2012-09-10 08:25:18.322215126 +0100
5@@ -20,6 +20,7 @@
6 #include "config.h"
7
8 #include <string.h>
9+#include <sys/stat.h>
10
11 #include <gio/gio.h>
12 #include <gio/gunixmounts.h>
13@@ -646,6 +647,17 @@
14 gchar *content_type;
15 gboolean is_multimedia;
16 gboolean is_blank;
17+ struct stat st;
18+
19+ /*
20+ * Consider all files under /media to be
21+ * removable unless the file .this-is-root is
22+ * present.
23+ */
24+ if (!strncmp (mount_path, "/media/",
25+ strlen ("/media/")) &&
26+ stat ("/media/.this-is-root", &st))
27+ is_removable = TRUE;
28
29 content_type = mount_guess_content_type (mount, &is_optical, &is_multimedia, &is_blank);
30
diff --git a/meta-gnome/recipes-support/tracker/tracker-0.14.2/giflib5-support.patch b/meta-gnome/recipes-support/tracker/tracker-0.14.2/giflib5-support.patch
deleted file mode 100644
index fab3371f0f..0000000000
--- a/meta-gnome/recipes-support/tracker/tracker-0.14.2/giflib5-support.patch
+++ /dev/null
@@ -1,126 +0,0 @@
1 src/tracker-extract/tracker-extract-gif.c | 36 +++++++++++++++++++++++++++++
2 1 file changed, 36 insertions(+)
3--- a/src/tracker-extract/tracker-extract-gif.c
4+++ a/src/tracker-extract/tracker-extract-gif.c
5@@ -75,6 +75,39 @@
6 return (GIF_OK);
7 }
8
9+#if GIFLIB_MAJOR >= 5
10+static inline void
11+gif_error (const gchar *action, int err)
12+{
13+ const char *str = GifErrorString (err);
14+ if (str != NULL) {
15+ g_message ("%s, error: '%s'", action, str);
16+ } else {
17+ g_message ("%s, undefined error %d", action, err);
18+ }
19+}
20+#else /* GIFLIB_MAJOR >= 5 */
21+static inline void print_gif_error()
22+{
23+#if defined(GIFLIB_MAJOR) && defined(GIFLIB_MINOR) && ((GIFLIB_MAJOR == 4 && GIFLIB_MINOR >= 2) || GIFLIB_MAJOR > 4)
24+ const char *str = GifErrorString ();
25+ if (str != NULL) {
26+ g_message ("GIF, error: '%s'", str);
27+ } else {
28+ g_message ("GIF, undefined error");
29+ }
30+#else
31+ PrintGifError();
32+#endif
33+}
34+#endif /* GIFLIB_MAJOR >= 5 */
35+
36+/* giflib 5.1 changed the API of DGifCloseFile to take two arguments */
37+#if !defined(GIFLIB_MAJOR) || \
38+ !(GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1))
39+#define DGifCloseFile(a, b) DGifCloseFile(a)
40+#endif
41+
42 static void
43 read_metadata (TrackerSparqlBuilder *preupdate,
44 TrackerSparqlBuilder *metadata,
45@@ -100,14 +133,22 @@
46 ExtBlock extBlock;
47
48 if (DGifGetRecordType(gifFile, &RecordType) == GIF_ERROR) {
49- PrintGifError();
50+#if GIFLIB_MAJOR < 5
51+ print_gif_error ();
52+#else /* GIFLIB_MAJOR < 5 */
53+ gif_error ("Could not read next GIF record type", gifFile->Error);
54+#endif /* GIFLIB_MAJOR < 5 */
55 return;
56 }
57
58 switch (RecordType) {
59 case IMAGE_DESC_RECORD_TYPE:
60 if (DGifGetImageDesc(gifFile) == GIF_ERROR) {
61- PrintGifError();
62+#if GIFLIB_MAJOR < 5
63+ print_gif_error();
64+#else /* GIFLIB_MAJOR < 5 */
65+ gif_error ("Could not get GIF record information", gifFile->Error);
66+#endif /* GIFLIB_MAJOR < 5 */
67 return;
68 }
69
70@@ -117,7 +158,11 @@
71 framedata = g_malloc (framewidth*frameheight);
72
73 if (DGifGetLine(gifFile, framedata, framewidth*frameheight)==GIF_ERROR) {
74- PrintGifError();
75+#if GIFLIB_MAJOR < 5
76+ print_gif_error();
77+#else /* GIFLIB_MAJOR < 5 */
78+ gif_error ("Could not load a block of GIF pixes", gifFile->Error);
79+#endif /* GIFLIB_MAJOR < 5 */
80 return;
81 }
82
83@@ -593,6 +638,9 @@
84 gchar *filename, *uri;
85 GFile *file;
86 int fd;
87+#if GIFLIB_MAJOR >= 5
88+ int err;
89+#endif
90
91 preupdate = tracker_extract_info_get_preupdate_builder (info);
92 metadata = tracker_extract_info_get_metadata_builder (info);
93@@ -617,8 +665,14 @@
94 return FALSE;
95 }
96
97+#if GIFLIB_MAJOR < 5
98 if ((gifFile = DGifOpenFileHandle (fd)) == NULL) {
99- PrintGifError ();
100+ print_gif_error ();
101+#else /* GIFLIB_MAJOR < 5 */
102+ if ((gifFile = DGifOpenFileHandle (fd, &err)) == NULL) {
103+ gif_error ("Could not open GIF file with handle", err);
104+#endif /* GIFLIB_MAJOR < 5 */
105+ g_free (filename);
106 close (fd);
107 return FALSE;
108 }
109@@ -637,10 +691,15 @@
110 g_string_free (where, TRUE);
111
112 g_free (uri);
113-
114+#if GIFLIB_MAJOR < 5
115 if (DGifCloseFile (gifFile) != GIF_OK) {
116- PrintGifError ();
117+ print_gif_error ();
118+ }
119+#else /* GIFLIB_MAJOR < 5 */
120+ if (DGifCloseFile (gifFile, NULL) != GIF_OK) {
121+ gif_error ("Could not close GIF file", gifFile->Error);
122 }
123+#endif /* GIFLIB_MAJOR < 5 */
124
125 return TRUE;
126 }
diff --git a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb b/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
deleted file mode 100644
index eb36a120fe..0000000000
--- a/meta-gnome/recipes-support/tracker/tracker_0.14.2.bb
+++ /dev/null
@@ -1,88 +0,0 @@
1DESCRIPTION = "Tracker is a tool designed to extract information and metadata about your personal data so that it can be searched easily and quickly."
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=ee31012bf90e7b8c108c69f197f3e3a4"
4DEPENDS = "file gstreamer dbus libexif gettext sqlite3 icu gst-plugins-base libgnome-keyring poppler tiff enca libgsf libunistring giflib taglib bzip2 upower gtk+3 libgee networkmanager intltool-native"
5
6RDEPENDS_${PN} += " gvfs gsettings-desktop-schemas"
7
8RDEPENDS_${PN}-nautilus-extension += "nautilus"
9HOMEPAGE = "http://projects.gnome.org/tracker/"
10
11PR = "r7"
12
13inherit autotools pkgconfig gnomebase gettext gsettings systemd gobject-introspection
14
15VER_DIR = "${@gnome_verdir("${PV}")}"
16SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/tracker/${VER_DIR}/tracker-${PV}.tar.xz \
17 file://enable-sqlite-crosscompile.patch \
18 file://fix-removable-media-detection.patch \
19 file://giflib5-support.patch \
20 file://90tracker \
21 file://tracker-store.service \
22 file://tracker-miner-fs.service \
23 file://tracker-dbus.service \
24 "
25
26SYSTEMD_SERVICE_${PN} = " tracker-store.service tracker-miner-fs.service tracker-dbus.service "
27SYSTEMD_AUTO_ENABLE = "disable"
28
29EXTRA_OECONF += " tracker_cv_have_ioprio=yes"
30
31PACKAGECONFIG ?= "nautilus"
32PACKAGECONFIG[nautilus] = "--enable-nautilus-extension,--disable-nautilus-extension,nautilus"
33
34# Disable the desktop-centric miners
35EXTRA_OECONF += "--disable-miner-thunderbird --disable-miner-firefox \
36 --disable-miner-evolution --disable-miner-flickr"
37
38LEAD_SONAME = "libtrackerclient.so.0"
39
40do_compile_prepend() {
41 export GIR_EXTRA_LIBS_PATH="${B}/src/libtracker-sparql-backend/.libs:${B}/src/libtracker-data/.libs:${B}/src/libtracker-common/.libs"
42}
43
44do_install_append() {
45 cp -PpR ${D}${STAGING_DATADIR}/* ${D}${datadir}/ || true
46# install -d ${D}/${sysconfdir}/X11/Xsession.d/
47# install -m 0755 ${WORKDIR}/90tracker ${D}/${sysconfdir}/X11/Xsession.d/
48
49 install -d ${D}${systemd_unitdir}/system
50 install -m 0644 ${WORKDIR}/tracker-store.service ${D}${systemd_unitdir}/system
51 install -m 0644 ${WORKDIR}/tracker-miner-fs.service ${D}${systemd_unitdir}/system
52 install -m 0644 ${WORKDIR}/tracker-dbus.service ${D}${systemd_unitdir}/system
53 sed -i -e 's,@LIBEXECDIR@,${libexecdir},g' \
54 -e 's,@BASE_BINDIR@,${base_bindir},g' \
55 ${D}${systemd_unitdir}/system/*.service
56}
57
58PACKAGES =+ "${PN}-tests ${PN}-vala ${PN}-nautilus-extension"
59
60FILES_${PN} += "${datadir}/dbus-1/ \
61 ${libdir}/tracker-${VER_DIR}/*.so.* \
62 ${libdir}/tracker-${VER_DIR}/extract-modules/*.so \
63 ${libdir}/tracker-${VER_DIR}/writeback-modules/*.so \
64 ${datadir}/icons/hicolor/*/apps/tracker.* \
65 ${libdir}/nautilus/extensions-2.0/*.la \
66 ${datadir}/glib-2.0/schemas/* \
67 ${systemd_unitdir}/system/tracker-store.service \
68 ${systemd_unitdir}/system/tracker-miner-fs.service \
69 ${systemd_unitdir}/system/tracker-dbus.service \
70"
71
72FILES_${PN}-dev += "${libdir}/tracker-${VER_DIR}/*.la \
73 ${libdir}/tracker-${VER_DIR}/*.so \
74 ${libdir}/tracker-${VER_DIR}/*/*.la \
75 ${libdir}/tracker-${VER_DIR}/extract-modules/*.la"
76
77FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a"
78FILES_${PN}-dbg += "${libdir}/*/*/.debug \
79 ${libdir}/*/.debug"
80FILES_${PN}-tests = "${datadir}/tracker-tests/"
81FILES_${PN}-vala = "${datadir}/vala/"
82FILES_${PN}-nautilus-extension += "${libdir}/nautilus/extensions-2.0/*.so"
83
84SRC_URI[md5sum] = "f3a871beeebf86fd752863ebd22af9ac"
85SRC_URI[sha256sum] = "9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1"
86
87# http://errors.yoctoproject.org/Errors/Details/81007/
88PNBLACKLIST[tracker] ?= "BROKEN: fails to build with new binutils-2.27 - the recipe will be removed on 2017-09-01 unless the issue is fixed"