wok-6.x rev 14017

Up gst-plugins-base (0.10.36)
author Dominique Corbex <domcox@slitaz.org>
date Sun Feb 17 19:55:44 2013 +0100 (2013-02-17)
parents 57aa50b1eabe
children 42f346a44029
files gst-plugins-base/receipt gst-plugins-base/stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch gst-plugins-base/stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
line diff
     1.1 --- a/gst-plugins-base/receipt	Sun Feb 17 19:53:59 2013 +0100
     1.2 +++ b/gst-plugins-base/receipt	Sun Feb 17 19:55:44 2013 +0100
     1.3 @@ -1,47 +1,51 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gst-plugins-base"
     1.7 -VERSION="0.10.35"
     1.8 +VERSION="0.10.36"
     1.9 +SERIES="0.10"
    1.10  CATEGORY="multimedia"
    1.11  SHORT_DESC="GStreamer Base Plugins"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://gstreamer.freedesktop.org/" 
    1.15 +DEPENDS="gstreamer pango libgio \
    1.16 +alsa-lib libogg libtheora libtheora-enc libvorbis vorbis-tools \
    1.17 +cdparanoia-III orc"
    1.18 +BUILD_DEPENDS="pkg-config glib-dev gstreamer-dev pango-dev libgio-dev \
    1.19 +alsa-lib-dev libogg-dev libtheora-dev libvorbis-dev xorg-libXv-dev \
    1.20 +gobject-introspection-dev \
    1.21 +cdparanoia-III-dev orc-dev"
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.23 +WEB_SITE="http://gstreamer.freedesktop.org/"
    1.24  WGET_URL="$WEB_SITE/src/$PACKAGE/$TARBALL"
    1.25 -
    1.26 -DEPENDS="libxml2 alsa-lib cdparanoia-III libvorbis libtheora gstreamer liboil \
    1.27 -libtheora-enc fontconfig libgio pango xorg-libICE xorg-libSM xorg-libXau \
    1.28 -xorg-libXdmcp xorg-libXext xorg-libXv freetype"
    1.29 -BUILD_DEPENDS="pkg-config glib-dev alsa-lib-dev liboil-dev gstreamer-dev \
    1.30 -libtheora-enc libtheora-dev libvorbis-dev cdparanoia-III-dev libxml2-dev \
    1.31 -libogg-dev libgio-dev freetype-dev fontconfig-dev pango-dev xorg-libSM-dev \
    1.32 -xorg-libXau-dev xorg-libICE-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.33 -xorg-libXv-dev xorg-dev-proto util-linux-uuid-dev gobject-introspection-dev"
    1.34 +LOCALES="da de es fr id it pt_BR ru zh_CN"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39  	cd $src
    1.40 -	patch -Np1 -i $stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
    1.41 -	patch -Np1 -i $stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
    1.42  	./configure \
    1.43  		--prefix=/usr \
    1.44  		--sysconfdir=/etc \
    1.45  		--localstatedir=/var \
    1.46  		--enable-experimental \
    1.47 +		--disable-static \
    1.48 +		--disable-debug \
    1.49 +		--disable-gnome_vfs \
    1.50 +		--with-package-name="GStreamer Base Plugins ($SERIES)" \
    1.51 +		--with-package-origin="http://www.slitaz.org/" \
    1.52  		$CONFIGURE_ARGS &&
    1.53 -	make $MAKEFLAGS &&
    1.54 -	sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile &&
    1.55 -	make install	
    1.56 +	make $MAKEFLAGS && make install
    1.57 +
    1.58  }
    1.59  
    1.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.61  genpkg_rules()
    1.62  {
    1.63 -	mkdir -p $fs/usr/lib
    1.64 -	cp -a $_pkg/usr/bin $fs/usr
    1.65 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.66 -	cp -a $_pkg/usr/lib/gstreamer* $fs/usr/lib
    1.67 -	cp -a $_pkg/usr/lib/girepository-1.0 $fs/usr/lib
    1.68 -	rm $fs/usr/lib/gstreamer*/*.*a
    1.69 +	mkdir -p $fs/usr/lib/gstreamer-$SERIES $fs/usr/share/locale
    1.70 +	mv $install/usr/bin $fs/usr
    1.71 +	mv $install/usr/lib/*.so* $fs/usr/lib
    1.72 +	mv $install/usr/lib/gstreamer-$SERIES/*.so* $fs/usr/lib/gstreamer-$SERIES
    1.73 +	mv $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.74 +	for locale in $LOCALES; do
    1.75 +		mv $install/usr/share/locale/$locale $fs/usr/share/locale
    1.76 +	done
    1.77  }
     2.1 --- a/gst-plugins-base/stuff/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch	Sun Feb 17 19:53:59 2013 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,22 +0,0 @@
     2.4 -From 8bd3bdaf3768b3fb6adc85b3bc681fdce07b786e Mon Sep 17 00:00:00 2001
     2.5 -From: Jonathan Liu <net147@gmail.com>
     2.6 -Date: Wed, 03 Aug 2011 08:18:29 +0000
     2.7 -Subject: oggstream: Fix crashes with 0-byte vorbis packets
     2.8 -
     2.9 -Fixes bug #655574.
    2.10 ----
    2.11 -diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c
    2.12 -index e843f48..77f39d4 100644
    2.13 ---- a/ext/ogg/gstoggstream.c
    2.14 -+++ b/ext/ogg/gstoggstream.c
    2.15 -@@ -792,7 +792,7 @@ packet_duration_vorbis (GstOggStream * pad, ogg_packet * packet)
    2.16 -   int size;
    2.17 -   int duration;
    2.18 - 
    2.19 --  if (packet->packet[0] & 1)
    2.20 -+  if (packet->bytes == 0 || packet->packet[0] & 1)
    2.21 -     return 0;
    2.22 - 
    2.23 -   mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1);
    2.24 ---
    2.25 -cgit v0.8.3-6-g21f6
     3.1 --- a/gst-plugins-base/stuff/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch	Sun Feb 17 19:53:59 2013 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,21 +0,0 @@
     3.4 -From 7d22d91fca6b9f24ca205eef98031f1ed6a44d33 Mon Sep 17 00:00:00 2001
     3.5 -From: Philip Jägenstedt <philipj@opera.com>
     3.6 -Date: Tue, 26 Jul 2011 14:10:17 +0000
     3.7 -Subject: theoradec: segfault on 0-byte ogg_packet in _chain_reverse
     3.8 -
     3.9 ----
    3.10 -diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c
    3.11 -index 96e12ee..25d68db 100644
    3.12 ---- a/ext/theora/gsttheoradec.c
    3.13 -+++ b/ext/theora/gsttheoradec.c
    3.14 -@@ -1440,7 +1440,7 @@ theora_dec_chain_reverse (GstTheoraDec * dec, gboolean discont, GstBuffer * buf)
    3.15 - 
    3.16 -       /* if we copied a keyframe, flush and decode the decode queue */
    3.17 -       data = GST_BUFFER_DATA (gbuf);
    3.18 --      if ((data[0] & 0x40) == 0) {
    3.19 -+      if (data && (data[0] & 0x40) == 0) {
    3.20 -         GST_DEBUG_OBJECT (dec, "copied keyframe");
    3.21 -         res = theora_dec_flush_decode (dec);
    3.22 -       }
    3.23 ---
    3.24 -cgit v0.8.3-6-g21f6