summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-0.9-binary-registry.patch65
-rw-r--r--meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch24
-rw-r--r--meta/packages/gstreamer/gstreamer-0.10.20/gst-inspect-check-error.patch (renamed from meta/packages/gstreamer/gstreamer-0.10.17/gst-inspect-check-error.patch)0
-rw-r--r--meta/packages/gstreamer/gstreamer_0.10.20.bb (renamed from meta/packages/gstreamer/gstreamer_0.10.17.bb)7
4 files changed, 1 insertions, 95 deletions
diff --git a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-0.9-binary-registry.patch b/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-0.9-binary-registry.patch
deleted file mode 100644
index e166fc37ee..0000000000
--- a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-0.9-binary-registry.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-diff -urNd ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/gst.c gstreamer-0.10.9/gst/gst.c
---- ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/gst.c 2006-07-11 21:16:04.000000000 +0100
-+++ gstreamer-0.10.9/gst/gst.c 2006-09-01 12:30:36.000000000 +0100
-@@ -553,7 +553,7 @@
- GList *l;
-
- GST_DEBUG ("reading registry cache: %s", registry_file);
-- gst_registry_xml_read_cache (default_registry, registry_file);
-+ gst_registry_binary_read_cache (default_registry, registry_file);
-
- /* scan paths specified via --gst-plugin-path */
- GST_DEBUG ("scanning paths added via --gst-plugin-path");
-@@ -624,7 +624,7 @@
- }
-
- GST_DEBUG ("writing registry cache");
-- if (!gst_registry_xml_write_cache (default_registry, registry_file)) {
-+ if (!gst_registry_binary_write_cache (default_registry, registry_file)) {
- g_warning ("Problem writing registry cache to %s: %s", registry_file,
- g_strerror (errno));
- return FALSE;
-@@ -700,7 +700,7 @@
-
- if (WEXITSTATUS (status) == EXIT_SUCCESS) {
- GST_DEBUG ("parent reading registry cache");
-- gst_registry_xml_read_cache (default_registry, registry_file);
-+ gst_registry_binary_read_cache (default_registry, registry_file);
- } else {
- GST_DEBUG ("parent re-scanning registry");
- scan_and_update_registry (default_registry, registry_file, FALSE);
-@@ -722,7 +722,7 @@
- registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
- if (registry_file == NULL) {
- registry_file = g_build_filename (g_get_home_dir (),
-- ".gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".xml", NULL);
-+ ".gstreamer-" GST_MAJORMINOR, "registry." HOST_CPU ".bin", NULL);
- }
- #ifdef HAVE_FORK
- if (g_getenv ("GST_REGISTRY_FORK") == NULL
-diff -urNd ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/gstregistry.h gstreamer-0.10.9/gst/gstregistry.h
---- ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/gstregistry.h 2006-07-11 21:16:04.000000000 +0100
-+++ gstreamer-0.10.9/gst/gstregistry.h 2006-09-01 12:30:36.000000000 +0100
-@@ -105,8 +105,8 @@
- GstPlugin * gst_registry_lookup (GstRegistry *registry, const char *filename);
- GstPluginFeature * gst_registry_lookup_feature (GstRegistry *registry, const char *name);
-
--gboolean gst_registry_xml_read_cache (GstRegistry * registry, const char *location);
--gboolean gst_registry_xml_write_cache (GstRegistry * registry, const char *location);
-+gboolean gst_registry_binary_read_cache (GstRegistry * registry, const char *location);
-+gboolean gst_registry_binary_write_cache (GstRegistry * registry, const char *location);
-
- void _gst_registry_remove_cache_plugins (GstRegistry *registry);
-
-diff -urNd ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/Makefile.am gstreamer-0.10.9/gst/Makefile.am
---- ../gstreamer-0.10.9-r0/gstreamer-0.10.9/gst/Makefile.am 2006-07-13 16:31:47.000000000 +0100
-+++ gstreamer-0.10.9/gst/Makefile.am 2006-09-01 12:30:36.000000000 +0100
-@@ -9,7 +9,7 @@
- if GST_DISABLE_REGISTRY
- GST_REGISTRY_SRC =
- else
--GST_REGISTRY_SRC = gstregistryxml.c
-+GST_REGISTRY_SRC = gstregistrybinary.c
- endif
-
- if GST_DISABLE_PARSE
diff --git a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch b/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch
deleted file mode 100644
index 9f5d850f50..0000000000
--- a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Index: gstreamer-0.10.4/gst/gstregistry.c
-===================================================================
-RCS file: /cvs/gstreamer/gstreamer/gst/gstregistry.c,v
-retrieving revision 1.75
-diff -u -r1.75 gstregistry.c
---- gstreamer-0.10.4/gst/gstregistry.c 31 Jul 2007 11:51:38 -0000 1.75
-+++ gstreamer-0.10.4/gst/gstregistry.c 8 Jan 2008 14:12:40 -0000
-@@ -813,6 +813,16 @@
- GST_LOG_OBJECT (registry, "examining file: %s", filename);
-
- if (g_file_test (filename, G_FILE_TEST_IS_DIR)) {
-+ /*
-+ * skip .debug directories, these contain elf files that can crash
-+ * dlopen
-+ */
-+ if (g_str_equal (dirent, ".debug")) {
-+ GST_LOG_OBJECT (registry, "found .debug directory, ignoring");
-+ g_free (filename);
-+ continue;
-+ }
-+
- if (level > 0) {
- GST_LOG_OBJECT (registry, "found directory, recursing");
- changed |= gst_registry_scan_path_level (registry, filename, level - 1);
diff --git a/meta/packages/gstreamer/gstreamer-0.10.17/gst-inspect-check-error.patch b/meta/packages/gstreamer/gstreamer-0.10.20/gst-inspect-check-error.patch
index 5da6cdd9c8..5da6cdd9c8 100644
--- a/meta/packages/gstreamer/gstreamer-0.10.17/gst-inspect-check-error.patch
+++ b/meta/packages/gstreamer/gstreamer-0.10.20/gst-inspect-check-error.patch
diff --git a/meta/packages/gstreamer/gstreamer_0.10.17.bb b/meta/packages/gstreamer/gstreamer_0.10.20.bb
index f608ca4361..7b9d1ab3e0 100644
--- a/meta/packages/gstreamer/gstreamer_0.10.17.bb
+++ b/meta/packages/gstreamer/gstreamer_0.10.20.bb
@@ -5,22 +5,17 @@ PRIORITY = "optional"
LICENSE = "LGPL"
HOMEPAGE = "http://www.gstreamer.net/"
DEPENDS = "glib-2.0 gettext-native libxml2 bison-native flex-native"
-PR = "r6"
inherit autotools pkgconfig
SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
file://gst-inspect-check-error.patch;patch=1 \
- file://gstreamer-omit-debug-directories.patch;patch=1 \
file://po-makefile-fix.patch;patch=1"
-# file://gstregistrybinary.c \
-# file://gstregistrybinary.h \
-# file://gstreamer-0.9-binary-registry.patch;patch=1"
EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --with-check=no --disable-examples --disable-tests --disable-valgrind --disable-debug"
do_configure_prepend() {
# This m4 file contains nastiness which conflicts with libtool 2.2.2
- rm ${S}/common/m4/lib-link.m4 || true
+ rm -f ${S}/common/m4/lib-link.m4 || true
}
#do_compile_prepend () {