[arch-commits] Commit in gstreamer0.10-base/repos (8 files)

Jan de Groot jgc at archlinux.org
Mon Mar 12 11:48:41 EDT 2012


    Date: Monday, March 12, 2012 @ 11:48:41
  Author: jgc
Revision: 153257

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  gstreamer0.10-base/repos/extra-i686/PKGBUILD
    (from rev 153256, gstreamer0.10-base/trunk/PKGBUILD)
  gstreamer0.10-base/repos/extra-x86_64/PKGBUILD
    (from rev 153256, gstreamer0.10-base/trunk/PKGBUILD)
Deleted:
  gstreamer0.10-base/repos/extra-i686/PKGBUILD
  gstreamer0.10-base/repos/extra-i686/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
  gstreamer0.10-base/repos/extra-i686/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
  gstreamer0.10-base/repos/extra-x86_64/PKGBUILD
  gstreamer0.10-base/repos/extra-x86_64/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
  gstreamer0.10-base/repos/extra-x86_64/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch

------------------------------------------------------------------------------+
 extra-i686/PKGBUILD                                                          |  109 ++++------
 extra-i686/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch            |   22 --
 extra-i686/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch   |   21 -
 extra-x86_64/PKGBUILD                                                        |  109 ++++------
 extra-x86_64/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch          |   22 --
 extra-x86_64/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch |   21 -
 6 files changed, 106 insertions(+), 198 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-i686/PKGBUILD	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=('gstreamer0.10-base')
-pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
-pkgver=0.10.35
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('LGPL')
-makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
-options=(!libtool !emptydirs)
-url="http://gstreamer.freedesktop.org/"
-source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.bz2
-        oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
-        theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch)
-sha256sums=('cd24f01bb5258a1f400bc4f2c212bb7cee9ee23c9ffb80d537a24ef366d17103'
-            '2e9d001dbe0ed598c8e86b0081c6ecdf28a1a6b45ffafc639f5cf52fdf0d467f'
-            '8da16aed8c098251903208cc7ac233b7a9df3f024f78c6970e71f3c2e2bdaa17')
-
-build() {
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  
-  patch -Np1 -i "${srcdir}/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch"
-  patch -Np1 -i "${srcdir}/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch"
-
-  sed -i '/AC_PATH_XTRA/d' configure.ac
-  autoreconf
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static --enable-experimental --disable-gnome_vfs \
-    --with-package-name="GStreamer Base Plugins (Archlinux)" \
-    --with-package-origin="http://www.archlinux.org/"
-
-  make || return 1
-  sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
-}
-
-package_gstreamer0.10-base() {
-  pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
-  depends=('gstreamer0.10>=0.10.35' 'orc' 'libxv')
-
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}
-
-package_gstreamer0.10-base-plugins() {
-  pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
-  depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
-  replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
-  conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
-  groups=('gstreamer0.10-plugins')
-
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  make -C gst-libs DESTDIR="${pkgdir}" install
-  make -C ext DESTDIR="${pkgdir}" install
-  make -C gst-libs DESTDIR="${pkgdir}" uninstall
-}

Copied: gstreamer0.10-base/repos/extra-i686/PKGBUILD (from rev 153256, gstreamer0.10-base/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-03-12 15:48:41 UTC (rev 153257)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=('gstreamer0.10-base')
+pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
+pkgver=0.10.36
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
+options=(!libtool !emptydirs)
+url="http://gstreamer.freedesktop.org/"
+source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.xz)
+sha256sums=('1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a')
+
+build() {
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  sed -i '/AC_PATH_XTRA/d' configure.ac
+  autoreconf
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-experimental --disable-gnome_vfs \
+    --with-package-name="GStreamer Base Plugins (Archlinux)" \
+    --with-package-origin="http://www.archlinux.org/"
+
+  make
+  sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
+}
+
+check() {
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make check
+}
+
+package_gstreamer0.10-base() {
+  pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
+  depends=('gstreamer0.10>=0.10.35' 'orc' 'libxv')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+package_gstreamer0.10-base-plugins() {
+  pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
+  depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
+  replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  groups=('gstreamer0.10-plugins')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make -C gst-libs DESTDIR="${pkgdir}" install
+  make -C ext DESTDIR="${pkgdir}" install
+  make -C gst-libs DESTDIR="${pkgdir}" uninstall
+}

Deleted: extra-i686/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
===================================================================
--- extra-i686/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-i686/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,22 +0,0 @@
-From 8bd3bdaf3768b3fb6adc85b3bc681fdce07b786e Mon Sep 17 00:00:00 2001
-From: Jonathan Liu <net147 at gmail.com>
-Date: Wed, 03 Aug 2011 08:18:29 +0000
-Subject: oggstream: Fix crashes with 0-byte vorbis packets
-
-Fixes bug #655574.
----
-diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c
-index e843f48..77f39d4 100644
---- a/ext/ogg/gstoggstream.c
-+++ b/ext/ogg/gstoggstream.c
-@@ -792,7 +792,7 @@ packet_duration_vorbis (GstOggStream * pad, ogg_packet * packet)
-   int size;
-   int duration;
- 
--  if (packet->packet[0] & 1)
-+  if (packet->bytes == 0 || packet->packet[0] & 1)
-     return 0;
- 
-   mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1);
---
-cgit v0.8.3-6-g21f6

Deleted: extra-i686/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
===================================================================
--- extra-i686/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-i686/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,21 +0,0 @@
-From 7d22d91fca6b9f24ca205eef98031f1ed6a44d33 Mon Sep 17 00:00:00 2001
-From: Philip Jägenstedt <philipj at opera.com>
-Date: Tue, 26 Jul 2011 14:10:17 +0000
-Subject: theoradec: segfault on 0-byte ogg_packet in _chain_reverse
-
----
-diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c
-index 96e12ee..25d68db 100644
---- a/ext/theora/gsttheoradec.c
-+++ b/ext/theora/gsttheoradec.c
-@@ -1440,7 +1440,7 @@ theora_dec_chain_reverse (GstTheoraDec * dec, gboolean discont, GstBuffer * buf)
- 
-       /* if we copied a keyframe, flush and decode the decode queue */
-       data = GST_BUFFER_DATA (gbuf);
--      if ((data[0] & 0x40) == 0) {
-+      if (data && (data[0] & 0x40) == 0) {
-         GST_DEBUG_OBJECT (dec, "copied keyframe");
-         res = theora_dec_flush_decode (dec);
-       }
---
-cgit v0.8.3-6-g21f6

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-x86_64/PKGBUILD	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgbase=('gstreamer0.10-base')
-pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
-pkgver=0.10.35
-pkgrel=1
-arch=('i686' 'x86_64')
-license=('LGPL')
-makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
-options=(!libtool !emptydirs)
-url="http://gstreamer.freedesktop.org/"
-source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.bz2
-        oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
-        theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch)
-sha256sums=('cd24f01bb5258a1f400bc4f2c212bb7cee9ee23c9ffb80d537a24ef366d17103'
-            '2e9d001dbe0ed598c8e86b0081c6ecdf28a1a6b45ffafc639f5cf52fdf0d467f'
-            '8da16aed8c098251903208cc7ac233b7a9df3f024f78c6970e71f3c2e2bdaa17')
-
-build() {
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  
-  patch -Np1 -i "${srcdir}/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch"
-  patch -Np1 -i "${srcdir}/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch"
-
-  sed -i '/AC_PATH_XTRA/d' configure.ac
-  autoreconf
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --disable-static --enable-experimental --disable-gnome_vfs \
-    --with-package-name="GStreamer Base Plugins (Archlinux)" \
-    --with-package-origin="http://www.archlinux.org/"
-
-  make || return 1
-  sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
-}
-
-package_gstreamer0.10-base() {
-  pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
-  depends=('gstreamer0.10>=0.10.35' 'orc' 'libxv')
-
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}
-
-package_gstreamer0.10-base-plugins() {
-  pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
-  depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
-  replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
-  conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
-  groups=('gstreamer0.10-plugins')
-
-  cd "${srcdir}/gst-plugins-base-${pkgver}"
-  make -C gst-libs DESTDIR="${pkgdir}" install
-  make -C ext DESTDIR="${pkgdir}" install
-  make -C gst-libs DESTDIR="${pkgdir}" uninstall
-}

Copied: gstreamer0.10-base/repos/extra-x86_64/PKGBUILD (from rev 153256, gstreamer0.10-base/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-03-12 15:48:41 UTC (rev 153257)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=('gstreamer0.10-base')
+pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
+pkgver=0.10.36
+pkgrel=1
+arch=('i686' 'x86_64')
+license=('LGPL')
+makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
+options=(!libtool !emptydirs)
+url="http://gstreamer.freedesktop.org/"
+source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.xz)
+sha256sums=('1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a')
+
+build() {
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  sed -i '/AC_PATH_XTRA/d' configure.ac
+  autoreconf
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --disable-static --enable-experimental --disable-gnome_vfs \
+    --with-package-name="GStreamer Base Plugins (Archlinux)" \
+    --with-package-origin="http://www.archlinux.org/"
+
+  make
+  sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
+}
+
+check() {
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make check
+}
+
+package_gstreamer0.10-base() {
+  pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
+  depends=('gstreamer0.10>=0.10.35' 'orc' 'libxv')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}
+
+package_gstreamer0.10-base-plugins() {
+  pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
+  depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
+  replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
+  groups=('gstreamer0.10-plugins')
+
+  cd "${srcdir}/gst-plugins-base-${pkgver}"
+  make -C gst-libs DESTDIR="${pkgdir}" install
+  make -C ext DESTDIR="${pkgdir}" install
+  make -C gst-libs DESTDIR="${pkgdir}" uninstall
+}

Deleted: extra-x86_64/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch
===================================================================
--- extra-x86_64/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-x86_64/oggstream-fix-crashes-with-0-byte-vorbis-packets.patch	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,22 +0,0 @@
-From 8bd3bdaf3768b3fb6adc85b3bc681fdce07b786e Mon Sep 17 00:00:00 2001
-From: Jonathan Liu <net147 at gmail.com>
-Date: Wed, 03 Aug 2011 08:18:29 +0000
-Subject: oggstream: Fix crashes with 0-byte vorbis packets
-
-Fixes bug #655574.
----
-diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c
-index e843f48..77f39d4 100644
---- a/ext/ogg/gstoggstream.c
-+++ b/ext/ogg/gstoggstream.c
-@@ -792,7 +792,7 @@ packet_duration_vorbis (GstOggStream * pad, ogg_packet * packet)
-   int size;
-   int duration;
- 
--  if (packet->packet[0] & 1)
-+  if (packet->bytes == 0 || packet->packet[0] & 1)
-     return 0;
- 
-   mode = (packet->packet[0] >> 1) & ((1 << pad->vorbis_log2_num_modes) - 1);
---
-cgit v0.8.3-6-g21f6

Deleted: extra-x86_64/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch
===================================================================
--- extra-x86_64/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch	2012-03-12 15:48:30 UTC (rev 153256)
+++ extra-x86_64/theoradec-segfault-on-0-byte-ogg_packet-in-_chain_reverse.patch	2012-03-12 15:48:41 UTC (rev 153257)
@@ -1,21 +0,0 @@
-From 7d22d91fca6b9f24ca205eef98031f1ed6a44d33 Mon Sep 17 00:00:00 2001
-From: Philip Jägenstedt <philipj at opera.com>
-Date: Tue, 26 Jul 2011 14:10:17 +0000
-Subject: theoradec: segfault on 0-byte ogg_packet in _chain_reverse
-
----
-diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c
-index 96e12ee..25d68db 100644
---- a/ext/theora/gsttheoradec.c
-+++ b/ext/theora/gsttheoradec.c
-@@ -1440,7 +1440,7 @@ theora_dec_chain_reverse (GstTheoraDec * dec, gboolean discont, GstBuffer * buf)
- 
-       /* if we copied a keyframe, flush and decode the decode queue */
-       data = GST_BUFFER_DATA (gbuf);
--      if ((data[0] & 0x40) == 0) {
-+      if (data && (data[0] & 0x40) == 0) {
-         GST_DEBUG_OBJECT (dec, "copied keyframe");
-         res = theora_dec_flush_decode (dec);
-       }
---
-cgit v0.8.3-6-g21f6



More information about the arch-commits mailing list