summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-03-04 14:29:06 +0000
committerKoen Kooi <koen@openembedded.org>2005-03-04 14:29:06 +0000
commitc94c303b2cba2f353c8c92f78f86861cc438bc50 (patch)
treecbd2ba192c9e4a8eb482294503cd6ea264867341
parentda5787779c985b03250fd80d5ea17330999bf8b3 (diff)
gstreamer_0.8.9.bb, no-libxml2.patch:
update no-libxml2 for gstreamer, courtesy Jamey Hicks BKrev: 422870b2nN-P41DchwyluAMezGt_9A
-rw-r--r--packages/gstreamer/files/no-libxml2.patch75
-rw-r--r--packages/gstreamer/gstreamer_0.8.9.bb2
2 files changed, 76 insertions, 1 deletions
diff --git a/packages/gstreamer/files/no-libxml2.patch b/packages/gstreamer/files/no-libxml2.patch
index e69de29bb2..c676c2387f 100644
--- a/packages/gstreamer/files/no-libxml2.patch
+++ b/packages/gstreamer/files/no-libxml2.patch
@@ -0,0 +1,75 @@
+diff -ur gstreamer-0.8.9/configure gstreamer-0.8.9-jeh3/configure
+--- gstreamer-0.8.9/configure 2005-02-08 04:45:25.000000000 -0500
++++ gstreamer-0.8.9-jeh3/configure 2005-03-03 22:34:09.213409312 -0500
+@@ -25655,10 +25655,10 @@
+
+
+
+-if test "x$GST_DISABLE_LOADSAVE" = "xyes" && test "x$GST_DISABLE_REGISTRY" = "xyes"
++if test "x$GST_DISABLE_LOADSAVE" = "xyes"
+ then
+- { echo "$as_me:$LINENO: Registry and load/save are disabled, not checking for libxml2" >&5
+-echo "$as_me: Registry and load/save are disabled, not checking for libxml2" >&6;}
++ { echo "$as_me:$LINENO: Load/save are disabled, not checking for libxml2" >&5
++echo "$as_me: Load/save are disabled, not checking for libxml2" >&6;}
+ else
+
+ LIBXML2_REQ=2.4.9
+diff -ur gstreamer-0.8.9/configure.ac gstreamer-0.8.9-jeh3/configure.ac
+--- gstreamer-0.8.9/configure.ac 2005-02-08 04:44:47.000000000 -0500
++++ gstreamer-0.8.9-jeh3/configure.ac 2005-03-03 22:34:09.215409008 -0500
+@@ -275,9 +275,9 @@
+ AC_SUBST(GLIB_ONLY_LIBS)
+
+ dnl === libxml 2 ===
+-if test "x$GST_DISABLE_LOADSAVE" = "xyes" && test "x$GST_DISABLE_REGISTRY" = "xyes"
++if test "x$GST_DISABLE_LOADSAVE" = "xyes"
+ then
+- AC_MSG_NOTICE([Registry and load/save are disabled, not checking for libxml2])
++ AC_MSG_NOTICE([Load/save is disabled, not checking for libxml2])
+ else
+ dnl check for libxml2 with minimum req version
+ GST_LIBXML2_CHECK(2.4.9)
+diff -ur gstreamer-0.8.9/gst/gstconfig.h.in gstreamer-0.8.9-jeh3/gst/gstconfig.h.in
+--- gstreamer-0.8.9/gst/gstconfig.h.in 2004-07-26 06:09:02.000000000 -0400
++++ gstreamer-0.8.9-jeh3/gst/gstconfig.h.in 2005-03-03 22:36:13.860460080 -0500
+@@ -61,10 +61,11 @@
+
+ /***** Deal with XML stuff, we have to handle both loadsave and registry *****/
+
+-#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )
++#if (! defined(GST_DISABLE_LOADSAVE) )
+ # include <libxml/parser.h>
+ #else
+-# define GST_DISABLE_LOADSAVE_REGISTRY
++/* misnomer but we cannot rename symbols */
++# define GST_DISABLE_LOADSAVE_REGISTRY
+ #endif
+
+ #ifdef WIN32
+Only in gstreamer-0.8.9-jeh3/gst: gstconfig.h.in.orig
+diff -ur gstreamer-0.8.9/gst/indexers/gstindexers.c gstreamer-0.8.9-jeh3/gst/indexers/gstindexers.c
+--- gstreamer-0.8.9/gst/indexers/gstindexers.c 2004-03-15 14:20:30.000000000 -0500
++++ gstreamer-0.8.9-jeh3/gst/indexers/gstindexers.c 2005-03-03 22:34:09.228407032 -0500
+@@ -30,7 +30,9 @@
+ gboolean res = TRUE;
+
+ res &= gst_mem_index_plugin_init (plugin);
++#ifndef GST_DISABLE_LOADSAVE_REGISTRY
+ res &= gst_file_index_plugin_init (plugin);
++#endif
+
+ return res;
+ }
+diff -ur gstreamer-0.8.9/gst/registries/gstxmlregistry.h gstreamer-0.8.9-jeh3/gst/registries/gstxmlregistry.h
+--- gstreamer-0.8.9/gst/registries/gstxmlregistry.h 2004-03-15 10:08:32.000000000 -0500
++++ gstreamer-0.8.9-jeh3/gst/registries/gstxmlregistry.h 2005-03-03 22:34:09.229406880 -0500
+@@ -25,6 +25,7 @@
+ #define __GST_XML_REGISTRY_H__
+
+ #include <gst/gstregistry.h>
++#include <stdio.h>
+
+ G_BEGIN_DECLS
+
+Only in gstreamer-0.8.9-jeh3/win32: gstconfig.h.orig
diff --git a/packages/gstreamer/gstreamer_0.8.9.bb b/packages/gstreamer/gstreamer_0.8.9.bb
index 280e638ac9..bb2e7a0905 100644
--- a/packages/gstreamer/gstreamer_0.8.9.bb
+++ b/packages/gstreamer/gstreamer_0.8.9.bb
@@ -1,5 +1,5 @@
LICENSE = LGPL
-PR = "r1"
+PR = "r3"
DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \
It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime."