From d9f5fb02c8f9f40bc4b34265e0f4bda24d7cfb58 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 3 Aug 2007 14:47:04 +0000 Subject: Upgrade some of the GStreamer packages git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2352 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/gstreamer/gst-plugins-base_0.10.13.bb | 9 +++ meta/packages/gstreamer/gst-plugins-base_0.10.9.bb | 9 --- meta/packages/gstreamer/gst-plugins-good_0.10.4.bb | 7 --- meta/packages/gstreamer/gst-plugins-good_0.10.6.bb | 5 ++ .../gst-inspect-check-error.patch | 11 ++++ .../gstreamer-0.9-binary-registry.patch | 65 ++++++++++++++++++++++ .../gstreamer-0.10.9/gst-inspect-check-error.patch | 11 ---- .../gstreamer-0.9-binary-registry.patch | 65 ---------------------- meta/packages/gstreamer/gstreamer_0.10.13.bb | 33 +++++++++++ meta/packages/gstreamer/gstreamer_0.10.9.bb | 34 ----------- 10 files changed, 123 insertions(+), 126 deletions(-) create mode 100644 meta/packages/gstreamer/gst-plugins-base_0.10.13.bb delete mode 100644 meta/packages/gstreamer/gst-plugins-base_0.10.9.bb delete mode 100644 meta/packages/gstreamer/gst-plugins-good_0.10.4.bb create mode 100644 meta/packages/gstreamer/gst-plugins-good_0.10.6.bb create mode 100644 meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch create mode 100644 meta/packages/gstreamer/gstreamer-0.10.13/gstreamer-0.9-binary-registry.patch delete mode 100644 meta/packages/gstreamer/gstreamer-0.10.9/gst-inspect-check-error.patch delete mode 100644 meta/packages/gstreamer/gstreamer-0.10.9/gstreamer-0.9-binary-registry.patch create mode 100644 meta/packages/gstreamer/gstreamer_0.10.13.bb delete mode 100644 meta/packages/gstreamer/gstreamer_0.10.9.bb (limited to 'meta') diff --git a/meta/packages/gstreamer/gst-plugins-base_0.10.13.bb b/meta/packages/gstreamer/gst-plugins-base_0.10.13.bb new file mode 100644 index 0000000000..67fa812b94 --- /dev/null +++ b/meta/packages/gstreamer/gst-plugins-base_0.10.13.bb @@ -0,0 +1,9 @@ +require gst-plugins.inc +DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv" +RDEPENDS += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \ + gnome-vfs-plugin-sftp" +PROVIDES_${PN} += "gst-plugins" +PR = "r4" + +EXTRA_OECONF += "--disable-freetypetest --disable-pango --disable-theora" + diff --git a/meta/packages/gstreamer/gst-plugins-base_0.10.9.bb b/meta/packages/gstreamer/gst-plugins-base_0.10.9.bb deleted file mode 100644 index 67fa812b94..0000000000 --- a/meta/packages/gstreamer/gst-plugins-base_0.10.9.bb +++ /dev/null @@ -1,9 +0,0 @@ -require gst-plugins.inc -DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv" -RDEPENDS += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \ - gnome-vfs-plugin-sftp" -PROVIDES_${PN} += "gst-plugins" -PR = "r4" - -EXTRA_OECONF += "--disable-freetypetest --disable-pango --disable-theora" - diff --git a/meta/packages/gstreamer/gst-plugins-good_0.10.4.bb b/meta/packages/gstreamer/gst-plugins-good_0.10.4.bb deleted file mode 100644 index 85cc85e083..0000000000 --- a/meta/packages/gstreamer/gst-plugins-good_0.10.4.bb +++ /dev/null @@ -1,7 +0,0 @@ -require gst-plugins.inc -DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \ - speex" -PR = "r5" - -EXTRA_OECONF += " --with-plugins=ximagesrc,cairo,flac,gconfelements,gdkpixbuf,jpeg,png,speex,id3demux,avi,matroska,videofilter,autodetect,debug --disable-aalib --disable-esd --disable-shout2 --disable-libcaca" - diff --git a/meta/packages/gstreamer/gst-plugins-good_0.10.6.bb b/meta/packages/gstreamer/gst-plugins-good_0.10.6.bb new file mode 100644 index 0000000000..7b28e5cdb3 --- /dev/null +++ b/meta/packages/gstreamer/gst-plugins-good_0.10.6.bb @@ -0,0 +1,5 @@ +require gst-plugins.inc +DEPENDS += "gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \ + speex" + +EXTRA_OECONF += " --with-plugins=ximagesrc,cairo,flac,gconfelements,gdkpixbuf,jpeg,png,speex,id3demux,avi,matroska,videofilter,autodetect,debug,alpha,auparse,flx,cutter,law,level,multipart,qtdemux,rtp,rtsp,udp,videobox,videocrop,videomixer,wavenc,wavparse,audiofx --disable-aalib --disable-esd --disable-shout2 --disable-libcaca --without-check" diff --git a/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch b/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch new file mode 100644 index 0000000000..5da6cdd9c8 --- /dev/null +++ b/meta/packages/gstreamer/gstreamer-0.10.13/gst-inspect-check-error.patch @@ -0,0 +1,11 @@ +--- gstreamer-0.10.9/tools/gst-inspect.c.old 2006-09-12 11:56:53.000000000 +0100 ++++ gstreamer-0.10.9/tools/gst-inspect.c 2006-09-12 11:57:27.000000000 +0100 +@@ -1123,7 +1123,7 @@ + g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); + g_option_context_add_group (ctx, gst_init_get_option_group ()); + if (!g_option_context_parse (ctx, &argc, &argv, &err)) { +- g_print ("Error initializing: %s\n", err->message); ++ g_print ("Error initializing: %s\n", err ? err->message : "(null)"); + exit (1); + } + g_option_context_free (ctx); diff --git a/meta/packages/gstreamer/gstreamer-0.10.13/gstreamer-0.9-binary-registry.patch b/meta/packages/gstreamer/gstreamer-0.10.13/gstreamer-0.9-binary-registry.patch new file mode 100644 index 0000000000..e166fc37ee --- /dev/null +++ b/meta/packages/gstreamer/gstreamer-0.10.13/gstreamer-0.9-binary-registry.patch @@ -0,0 +1,65 @@ +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.9/gst-inspect-check-error.patch b/meta/packages/gstreamer/gstreamer-0.10.9/gst-inspect-check-error.patch deleted file mode 100644 index 5da6cdd9c8..0000000000 --- a/meta/packages/gstreamer/gstreamer-0.10.9/gst-inspect-check-error.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gstreamer-0.10.9/tools/gst-inspect.c.old 2006-09-12 11:56:53.000000000 +0100 -+++ gstreamer-0.10.9/tools/gst-inspect.c 2006-09-12 11:57:27.000000000 +0100 -@@ -1123,7 +1123,7 @@ - g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE); - g_option_context_add_group (ctx, gst_init_get_option_group ()); - if (!g_option_context_parse (ctx, &argc, &argv, &err)) { -- g_print ("Error initializing: %s\n", err->message); -+ g_print ("Error initializing: %s\n", err ? err->message : "(null)"); - exit (1); - } - g_option_context_free (ctx); diff --git a/meta/packages/gstreamer/gstreamer-0.10.9/gstreamer-0.9-binary-registry.patch b/meta/packages/gstreamer/gstreamer-0.10.9/gstreamer-0.9-binary-registry.patch deleted file mode 100644 index e166fc37ee..0000000000 --- a/meta/packages/gstreamer/gstreamer-0.10.9/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.13.bb b/meta/packages/gstreamer/gstreamer_0.10.13.bb new file mode 100644 index 0000000000..39aa0314cf --- /dev/null +++ b/meta/packages/gstreamer/gstreamer_0.10.13.bb @@ -0,0 +1,33 @@ +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." +SECTION = "multimedia" +PRIORITY = "optional" +LICENSE = "LGPL" +HOMEPAGE = "http://www.gstreamer.net/" +DEPENDS = "glib-2.0 gettext-native libxml2 bison-native flex-native" + +inherit autotools pkgconfig + +SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \ + file://gst-inspect-check-error.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_compile_prepend () { +# mv ${WORKDIR}/gstregistrybinary.[ch] ${S}/gst/ +#} + +do_stage() { + oe_runmake install prefix=${STAGING_DIR} \ + bindir=${STAGING_BINDIR} \ + includedir=${STAGING_INCDIR} \ + libdir=${STAGING_LIBDIR} \ + datadir=${STAGING_DATADIR} \ + mandir=${STAGING_DIR}/share/man +} + +FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so" +FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" + diff --git a/meta/packages/gstreamer/gstreamer_0.10.9.bb b/meta/packages/gstreamer/gstreamer_0.10.9.bb deleted file mode 100644 index a3adab39bf..0000000000 --- a/meta/packages/gstreamer/gstreamer_0.10.9.bb +++ /dev/null @@ -1,34 +0,0 @@ -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." -SECTION = "multimedia" -PRIORITY = "optional" -LICENSE = "LGPL" -HOMEPAGE = "http://www.gstreamer.net/" -DEPENDS = "glib-2.0 gettext-native libxml2 bison-native flex-native" -PR = "r4" - -inherit autotools pkgconfig - -SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \ - file://gst-inspect-check-error.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_compile_prepend () { -# mv ${WORKDIR}/gstregistrybinary.[ch] ${S}/gst/ -#} - -do_stage() { - oe_runmake install prefix=${STAGING_DIR} \ - bindir=${STAGING_BINDIR} \ - includedir=${STAGING_INCDIR} \ - libdir=${STAGING_LIBDIR} \ - datadir=${STAGING_DATADIR} \ - mandir=${STAGING_DIR}/share/man -} - -FILES_${PN} += " ${libdir}/gstreamer-0.10/*.so" -FILES_${PN}-dev += " ${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-0.10/*.a" - -- cgit v1.2.3-54-g00ecf