diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bdb85be --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gst-plugins-good-0.10.31.tar.xz diff --git a/.gstreamer-plugins-good.metadata b/.gstreamer-plugins-good.metadata new file mode 100644 index 0000000..e7e63d6 --- /dev/null +++ b/.gstreamer-plugins-good.metadata @@ -0,0 +1 @@ +15addda7c6322a42c904aaf1c1d0b5d5a63f908b SOURCES/gst-plugins-good-0.10.31.tar.xz diff --git a/SOURCES/0001-fix-v4l2_munmap.patch b/SOURCES/0001-fix-v4l2_munmap.patch new file mode 100644 index 0000000..1913fb0 --- /dev/null +++ b/SOURCES/0001-fix-v4l2_munmap.patch @@ -0,0 +1,58 @@ +From 4cd9255f0a8a9e15d81561f00f02d275b5095f70 Mon Sep 17 00:00:00 2001 +From: Oleksij Rempel (Alexey Fisher) +Date: Thu, 01 Mar 2012 13:15:29 +0000 +Subject: v4l2src: fix v4l2_munmap() for compressed formats + +Make sure we always call munmap() with the same size we called mmap() +with before. + +Current v4l2src uses the same structure for VIDIOC_QUERYBUF, VIDIOC_QBUF +and v4l2_munmap calls. The problem is that the video buffer size (length) +may vary for compressed or emulated bufs. VIDIOC_QBUF will change it if +we pass the pointer of a v4l2_buffer. This is why we should avoid using +same variable for mmap and video buffers. + +https://bugzilla.gnome.org/show_bug.cgi?id=671126 +--- +(limited to 'sys/v4l2') + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index b81c6a4..51419ff 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/sys/v4l2/gstv4l2bufferpool.c +@@ -106,9 +106,9 @@ gst_v4l2_buffer_finalize (GstV4l2Buffer * buffer) + if (!resuscitated) { + GST_LOG_OBJECT (pool->v4l2elem, + "buffer %p (data %p, len %u) not recovered, unmapping", +- buffer, GST_BUFFER_DATA (buffer), buffer->vbuffer.length); ++ buffer, GST_BUFFER_DATA (buffer), buffer->mmap_length); + gst_mini_object_unref (GST_MINI_OBJECT (pool)); +- v4l2_munmap ((void *) GST_BUFFER_DATA (buffer), buffer->vbuffer.length); ++ v4l2_munmap ((void *) GST_BUFFER_DATA (buffer), buffer->mmap_length); + + GST_MINI_OBJECT_CLASS (v4l2buffer_parent_class)->finalize (GST_MINI_OBJECT + (buffer)); +@@ -183,6 +183,7 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) + GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length); + GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); + ++ ret->mmap_length = ret->vbuffer.length; + data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, + PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd, + ret->vbuffer.m.offset); +diff --git a/sys/v4l2/gstv4l2bufferpool.h b/sys/v4l2/gstv4l2bufferpool.h +index caad9ac..36ea323 100644 +--- a/sys/v4l2/gstv4l2bufferpool.h ++++ b/sys/v4l2/gstv4l2bufferpool.h +@@ -70,6 +70,9 @@ struct _GstV4l2Buffer { + GstBuffer buffer; + + struct v4l2_buffer vbuffer; ++ /* warning: the size of mmap buffer and ++ * the actual frame-buffer can be different. */ ++ size_t mmap_length; + + /* FIXME: have GstV4l2Src* instead, as this has GstV4l2BufferPool* */ + /* FIXME: do we really want to fix this if GstV4l2Buffer/Pool is shared +-- +cgit v0.9.0.2-2-gbebe diff --git a/SOURCES/0001-sys-v4l2-Some-blind-compilation-fixes.patch b/SOURCES/0001-sys-v4l2-Some-blind-compilation-fixes.patch new file mode 100644 index 0000000..e03fdac --- /dev/null +++ b/SOURCES/0001-sys-v4l2-Some-blind-compilation-fixes.patch @@ -0,0 +1,57 @@ +From fa21c0bb253213c9dc48ce72faaf7090dc8a3554 Mon Sep 17 00:00:00 2001 +From: Colin Walters +Date: Thu, 2 May 2013 16:16:46 -0400 +Subject: [PATCH] sys/v4l2: Some blind compilation fixes + +--- + sys/v4l2/gstv4l2bufferpool.c | 1 - + sys/v4l2/v4l2_calls.c | 12 ++++-------- + 2 files changed, 4 insertions(+), 9 deletions(-) + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index a0b4c84..3916815 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/sys/v4l2/gstv4l2bufferpool.c +@@ -182,7 +182,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) + GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u", + ret->vbuffer.m.offset); + GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length); +- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); + + ret->mmap_length = ret->vbuffer.length; + data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, +diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c +index 309bfb6..ee3ff9f 100644 +--- a/sys/v4l2/v4l2_calls.c ++++ b/sys/v4l2/v4l2_calls.c +@@ -53,14 +53,6 @@ + + #include "gst/gst-i18n-plugin.h" + +-/* Those are ioctl calls */ +-#ifndef V4L2_CID_HCENTER +-#define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED +-#endif +-#ifndef V4L2_CID_VCENTER +-#define V4L2_CID_VCENTER V4L2_CID_VCENTER_DEPRECATED +-#endif +- + GST_DEBUG_CATEGORY_EXTERN (v4l2_debug); + #define GST_CAT_DEFAULT v4l2_debug + +@@ -294,8 +286,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) + break; + case V4L2_CID_HFLIP: + case V4L2_CID_VFLIP: ++#ifdef V4L2_CID_HCENTER + case V4L2_CID_HCENTER: ++#endif ++#ifdef V4L2_CID_VCENTER + case V4L2_CID_VCENTER: ++#endif + #ifdef V4L2_CID_PAN_RESET + case V4L2_CID_PAN_RESET: + #endif +-- +1.7.1 + diff --git a/SOURCES/0002-clear_DISCONT_flag.patch b/SOURCES/0002-clear_DISCONT_flag.patch new file mode 100644 index 0000000..53a9887 --- /dev/null +++ b/SOURCES/0002-clear_DISCONT_flag.patch @@ -0,0 +1,27 @@ +From 6f707fcbca2c60aed565247567bafdd168980161 Mon Sep 17 00:00:00 2001 +From: Tim-Philipp Müller +Date: Sat, 03 Mar 2012 13:04:48 +0000 +Subject: v4l2: clear DISCONT flag when recycling buffers into the buffer pool + +The base class may have set the DISCONT flag on the first buffer pushed +out. We need to clear that when recycling buffers back into the buffer +pool, otherwise we constantly push out buffers with the discont flag +set, which might upset downstream elements, esp. for compressed +formats like mpeg-ts. +--- +(limited to 'sys/v4l2') + +diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c +index 51419ff..a0b4c84 100644 +--- a/sys/v4l2/gstv4l2bufferpool.c ++++ b/sys/v4l2/gstv4l2bufferpool.c +@@ -98,6 +98,7 @@ gst_v4l2_buffer_finalize (GstV4l2Buffer * buffer) + GST_LOG_OBJECT (pool->v4l2elem, "reviving buffer %p, %d", buffer, index); + gst_buffer_ref (GST_BUFFER (buffer)); + GST_BUFFER_SIZE (buffer) = 0; ++ GST_BUFFER_FLAG_UNSET (buffer, GST_BUFFER_FLAG_DISCONT); + pool->buffers[index] = buffer; + } + +-- +cgit v0.9.0.2-2-gbebe diff --git a/SOURCES/0003-v4l2src-fix.patch b/SOURCES/0003-v4l2src-fix.patch new file mode 100644 index 0000000..a4bc90e --- /dev/null +++ b/SOURCES/0003-v4l2src-fix.patch @@ -0,0 +1,28 @@ +--- gst-plugins-good-0.10.31/sys/v4l2/gstv4l2object.c 2011-12-30 14:59:13.000000000 +0100 ++++ gst-plugins-good-0.10.31.fixed/sys/v4l2/gstv4l2object.c 2012-06-05 23:45:16.670981047 +0200 +@@ -1583,6 +1583,7 @@ + + if (ival.type == V4L2_FRMIVAL_TYPE_DISCRETE) { + GValue rate = { 0, }; ++ guint i; + + g_value_init (&rates, GST_TYPE_LIST); + g_value_init (&rate, GST_TYPE_FRACTION); +@@ -1602,7 +1603,16 @@ + + /* swap to get the framerate */ + gst_value_set_fraction (&rate, denom, num); +- gst_value_list_append_value (&rates, &rate); ++ /* avoid duplicate framerates, yes some hw reports duplicates :( */ ++ for (i = 0; i < gst_value_list_get_size(&rates); i++) { ++ const GValue *val = gst_value_list_get_value(&rates, i); ++ if (gst_value_compare(val, &rate) == GST_VALUE_EQUAL) { ++ break; ++ } ++ } ++ if (i == gst_value_list_get_size(&rates)) { ++ gst_value_list_append_value(&rates, &rate); ++ } + + ival.index++; + } while (v4l2_ioctl (fd, VIDIOC_ENUM_FRAMEINTERVALS, &ival) >= 0); diff --git a/SOURCES/0004-v4l2object-Don-t-probe-UVC-devices-for-being-interla.patch b/SOURCES/0004-v4l2object-Don-t-probe-UVC-devices-for-being-interla.patch new file mode 100644 index 0000000..4162cf1 --- /dev/null +++ b/SOURCES/0004-v4l2object-Don-t-probe-UVC-devices-for-being-interla.patch @@ -0,0 +1,46 @@ +From fefa084bde0850447ca5ed84775c094fcf0b2351 Mon Sep 17 00:00:00 2001 +From: Hans de Goede +Date: Fri, 8 Jun 2012 20:38:34 +0200 +Subject: [PATCH] v4l2object: Don't probe UVC devices for being interlaced + +UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them +causes expensive and slow USB IO, so don't probe them for interlaced. + +This shaves 2 seconds of the startup time of cheese with a Logitech +Webcam Pro 9000. + +Signed-off-by: Hans de Goede +--- + sys/v4l2/gstv4l2object.c | 16 ++++++++++++---- + 1 file changed, 12 insertions(+), 4 deletions(-) + +diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c +index 6564b91..ce52547 100644 +--- a/sys/v4l2/gstv4l2object.c ++++ b/sys/v4l2/gstv4l2object.c +@@ -1561,10 +1561,18 @@ gst_v4l2_object_probe_caps_for_format_and_size (GstV4l2Object * v4l2object, + gint int_width = width; + gint int_height = height; + +- /* interlaced detection using VIDIOC_TRY/S_FMT */ +- if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat, +- &int_width, &int_height, &interlaced)) +- return NULL; ++ if (!strcmp((char *)v4l2object->vcap.driver, "uvcvideo")) { ++ /* ++ * UVC devices are never interlaced, and doing VIDIOC_TRY_FMT on them ++ * causes expensive and slow USB IO, so don't probe them for interlaced ++ */ ++ interlaced = FALSE; ++ } else { ++ /* Interlaced detection using VIDIOC_TRY/S_FMT */ ++ if (!gst_v4l2_object_get_nearest_size (v4l2object, pixelformat, ++ &int_width, &int_height, &interlaced)) ++ return NULL; ++ } + + memset (&ival, 0, sizeof (struct v4l2_frmivalenum)); + ival.index = 0; +-- +1.7.10.2 + diff --git a/SPECS/gstreamer-plugins-good.spec b/SPECS/gstreamer-plugins-good.spec new file mode 100644 index 0000000..eea8dbc --- /dev/null +++ b/SPECS/gstreamer-plugins-good.spec @@ -0,0 +1,783 @@ +%define gstreamer gstreamer +%define majorminor 0.10 + +%define _gst 0.10.36 +%define _gstpb %{_gst} + +# Turn of extras package on RHEL. +%if ! 0%{?rhel} +%bcond_without extras +%else +%bcond_with extras +%endif + +Name: %{gstreamer}-plugins-good +Version: 0.10.31 +Release: 13%{?dist} +Summary: GStreamer plug-ins with good code and licensing + +Group: Applications/Multimedia +License: LGPLv2+ +URL: http://gstreamer.freedesktop.org/ +#Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/pre/gst-plugins-good-%{version}.tar.xz +Source: http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-%{version}.tar.xz +# Cherry picks from upstream git which hopefully fix rhbz#815581 +Patch1: 0001-fix-v4l2_munmap.patch +Patch2: 0002-clear_DISCONT_flag.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=677516 +Patch3: 0003-v4l2src-fix.patch +# https://bugzilla.gnome.org/show_bug.cgi?id=677722 +Patch4: 0004-v4l2object-Don-t-probe-UVC-devices-for-being-interla.patch +Patch5: 0001-sys-v4l2-Some-blind-compilation-fixes.patch + +Requires: %{gstreamer} >= %{_gst} +Requires(pre): GConf2 +Requires(preun): GConf2 +Requires(post): GConf2 +Requires: gstreamer-plugins-base +# superceded by the package above and ourselves +Obsoletes: gstreamer-plugins + +BuildRequires: %{gstreamer}-devel >= %{_gst} +BuildRequires: %{gstreamer}-plugins-base-devel >= %{_gstpb} + +BuildRequires: liboil-devel >= 0.3.6 +BuildRequires: gettext +BuildRequires: gcc-c++ + +BuildRequires: cairo-devel +BuildRequires: flac-devel >= 1.1.3 +BuildRequires: GConf2-devel +BuildRequires: glibc-devel +BuildRequires: gtk2-devel +BuildRequires: kernel-headers +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel >= 1.2.0 +BuildRequires: libshout-devel +BuildRequires: libsoup-devel +BuildRequires: libX11-devel +%if !0%{?rhel} +BuildRequires: mikmod +%endif +BuildRequires: orc-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: speex-devel +BuildRequires: taglib-devel +BuildRequires: wavpack-devel +BuildRequires: libv4l-devel + +%ifnarch s390 s390x +BuildRequires: libavc1394-devel +BuildRequires: libdv-devel +BuildRequires: libiec61883-devel +BuildRequires: libraw1394-devel +%endif + +# documentation +BuildRequires: gtk-doc +BuildRequires: python-devel + +# extras +%if %{with extras} +BuildRequires: jack-audio-connection-kit-devel +%endif + +Provides: gstreamer-plugins-pulse = 0.9.8-1 +Obsoletes: gstreamer-plugins-pulse < 0.9.8 + +%description +GStreamer is a streaming media framework, based on graphs of filters which +operate on media data. Applications using this library can do anything +from real-time sound processing to playing videos, and just about anything +else media-related. Its plugin-based architecture means that new data +types or processing capabilities can be added simply by installing new +plug-ins. + +GStreamer Good Plug-ins is a collection of well-supported plug-ins of +good quality and under the LGPL license. + +%package devel-docs +Summary: Documentation for gstreamer-plugins-good +Group: Development/Libraries + +Requires: %{name} = %{version}-%{release} +# for /usr/share/gtk-doc/html +Requires: gtk-doc +BuildArch: noarch +# Providing the devel package here as its the docs package's old name. +# Remove this line once we get a real -devel package again. +Provides: %{name}-devel = %{version}-%{release} +Obsoletes: %{name}-devel < %{version}-%{release} + +%description devel-docs +GStreamer is a streaming media framework, based on graphs of filters which +operate on media data. Applications using this library can do anything +from real-time sound processing to playing videos, and just about anything +else media-related. Its plugin-based architecture means that new data +types or processing capabilities can be added simply by installing new +plug-ins. + +GStreamer Good Plug-ins is a collection of well-supported plug-ins of +good quality and under the LGPL license. + +This package contains documentation for the provided plugins. + +%if %{with extras} +%package extras +Summary: Extra GStreamer plug-ins with good code and licensing +Group: Applications/Multimedia +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description extras +GStreamer is a streaming media framework, based on graphs of filters which +operate on media data. + +GStreamer Good Plug-ins is a collection of well-supported plug-ins of +good quality and under the LGPL license. + +This package (gstreamer-plugins-good-extras) contains extra "good" plugins +which are not used very much and require additional libraries to be installed. +%endif + +%prep +%setup -q -n gst-plugins-good-%{version} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 + +%build + +%configure \ + --with-package-name='Fedora gstreamer-plugins-good package' \ + --with-package-origin='http://download.fedora.redhat.com/fedora' \ + --enable-experimental \ + --enable-gtk-doc \ + --enable-orc \ + --disable-monoscope \ + --disable-aalib \ + --disable-esd \ + --disable-libcaca \ + --disable-flx \ +%if %{with extras} + --enable-jack \ +%else + --disable-jack \ +%endif + --with-default-visualizer=autoaudiosink + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +%makeinstall +unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + +# Clean out files that should not be part of the rpm. +rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%find_lang gst-plugins-good-%{majorminor} + +%files -f gst-plugins-good-%{majorminor}.lang +%defattr(-, root, root) +%doc AUTHORS COPYING README REQUIREMENTS + +# Equaliser presets +%{_datadir}/gstreamer-%{majorminor}/ + +# non-core plugins without external dependencies +%{_libdir}/gstreamer-%{majorminor}/libgstalaw.so +%{_libdir}/gstreamer-%{majorminor}/libgstalphacolor.so +%{_libdir}/gstreamer-%{majorminor}/libgstalpha.so +%{_libdir}/gstreamer-%{majorminor}/libgstannodex.so +%{_libdir}/gstreamer-%{majorminor}/libgstapetag.so +%{_libdir}/gstreamer-%{majorminor}/libgstaudiofx.so +%{_libdir}/gstreamer-%{majorminor}/libgstaudioparsers.so +%{_libdir}/gstreamer-%{majorminor}/libgstauparse.so +%{_libdir}/gstreamer-%{majorminor}/libgstautodetect.so +%{_libdir}/gstreamer-%{majorminor}/libgstavi.so +%{_libdir}/gstreamer-%{majorminor}/libgstcutter.so +%{_libdir}/gstreamer-%{majorminor}/libgstdebug.so +%{_libdir}/gstreamer-%{majorminor}/libgstdeinterlace.so +%{_libdir}/gstreamer-%{majorminor}/libgstefence.so +%{_libdir}/gstreamer-%{majorminor}/libgsteffectv.so +%{_libdir}/gstreamer-%{majorminor}/libgstequalizer.so +%{_libdir}/gstreamer-%{majorminor}/libgstflv.so +%{_libdir}/gstreamer-%{majorminor}/libgstgoom2k1.so +%{_libdir}/gstreamer-%{majorminor}/libgstgoom.so +%{_libdir}/gstreamer-%{majorminor}/libgsticydemux.so +%{_libdir}/gstreamer-%{majorminor}/libgstid3demux.so +%{_libdir}/gstreamer-%{majorminor}/libgstimagefreeze.so +%{_libdir}/gstreamer-%{majorminor}/libgstinterleave.so +%{_libdir}/gstreamer-%{majorminor}/libgstisomp4.so +%{_libdir}/gstreamer-%{majorminor}/libgstlevel.so +%{_libdir}/gstreamer-%{majorminor}/libgstmatroska.so +%{_libdir}/gstreamer-%{majorminor}/libgstmulaw.so +%{_libdir}/gstreamer-%{majorminor}/libgstmultifile.so +%{_libdir}/gstreamer-%{majorminor}/libgstmultipart.so +%{_libdir}/gstreamer-%{majorminor}/libgstnavigationtest.so +%{_libdir}/gstreamer-%{majorminor}/libgstoss4audio.so +%{_libdir}/gstreamer-%{majorminor}/libgstreplaygain.so +%{_libdir}/gstreamer-%{majorminor}/libgstrtp.so +%{_libdir}/gstreamer-%{majorminor}/libgstrtsp.so +%{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so +%{_libdir}/gstreamer-%{majorminor}/libgstsmpte.so +%{_libdir}/gstreamer-%{majorminor}/libgstspectrum.so +%{_libdir}/gstreamer-%{majorminor}/libgstudp.so +%{_libdir}/gstreamer-%{majorminor}/libgstvideobox.so +%{_libdir}/gstreamer-%{majorminor}/libgstvideocrop.so +%{_libdir}/gstreamer-%{majorminor}/libgstvideofilter.so +%{_libdir}/gstreamer-%{majorminor}/libgstvideomixer.so +%{_libdir}/gstreamer-%{majorminor}/libgstwavenc.so +%{_libdir}/gstreamer-%{majorminor}/libgstwavparse.so +%{_libdir}/gstreamer-%{majorminor}/libgstximagesrc.so +%{_libdir}/gstreamer-%{majorminor}/libgsty4menc.so + +# gstreamer-plugins with external dependencies but in the main package +%{_libdir}/gstreamer-%{majorminor}/libgstcairo.so +%{_libdir}/gstreamer-%{majorminor}/libgstflac.so +%{_libdir}/gstreamer-%{majorminor}/libgstgconfelements.so +%{_libdir}/gstreamer-%{majorminor}/libgstgdkpixbuf.so +%{_libdir}/gstreamer-%{majorminor}/libgstjpeg.so +%{_libdir}/gstreamer-%{majorminor}/libgstossaudio.so +%{_libdir}/gstreamer-%{majorminor}/libgstpng.so +%{_libdir}/gstreamer-%{majorminor}/libgstpulse.so +%{_libdir}/gstreamer-%{majorminor}/libgstrtpmanager.so +%{_libdir}/gstreamer-%{majorminor}/libgstshout2.so +%{_libdir}/gstreamer-%{majorminor}/libgstsouphttpsrc.so +%{_libdir}/gstreamer-%{majorminor}/libgstspeex.so +%{_libdir}/gstreamer-%{majorminor}/libgsttaglib.so +%{_libdir}/gstreamer-%{majorminor}/libgstvideo4linux2.so +%{_libdir}/gstreamer-%{majorminor}/libgstwavpack.so + +%ifnarch s390 s390x +%{_libdir}/gstreamer-%{majorminor}/libgstdv.so +%{_libdir}/gstreamer-%{majorminor}/libgst1394.so +%endif + +## Libraries + +# schema files +%{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas + +%files devel-docs +%defattr(-, root, root) + +# gtk-doc documentation +%doc %{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{majorminor} + +%if %{with extras} +%files extras +%defattr(-, root, root) +# Plugins with external dependencies +%{_libdir}/gstreamer-%{majorminor}/libgstjack.so +%endif + +%pre +if [ "$1" -gt 1 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null || : +fi + +%preun +if [ "$1" -eq 0 ]; then + export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null || : +fi + +%post +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` +gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gstreamer-%{majorminor}.schemas > /dev/null || : + +%changelog +* Tue Mar 07 2017 Wim Taymans - 0.10.31-13 +- Rebuild with correct hardening flags + Resolves: #1420765 + +* Tue Dec 06 2016 Wim Taymans - 0.10.31-12 +- Disable insecure FLX plugin +Resolves: rhbz#1400843 + +* Fri Jan 24 2014 Daniel Mach - 0.10.31-11 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.10.31-10 +- Mass rebuild 2013-12-27 + +* Thu May 02 2013 Colin Walters +- Blindly stab at the v4l2 code until it emits binaries + +* Thu May 02 2013 Colin Walters +- Drop PyXML dependency (rhbz#914060) + +* Wed Mar 27 2013 Adam Jackson +- Tweak BRs for RHEL + +* Thu Feb 14 2013 Fedora Release Engineering - 0.10.31-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Dec 21 2012 Adam Tkac - 0.10.31-6 +- rebuild against new libjpeg + +* Thu Jul 19 2012 Fedora Release Engineering - 0.10.31-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Jun 11 2012 Nils Philippsen - 0.10.31-4 +- add extras subpackage with jack source/sink (#714481) + +* Fri Jun 10 2012 Hans de Goede - 0.10.31-3 +- v4l2: Don't probe UVC devices for being interlaced, this saves seconds when + starting a pipeline with a v4l2 element (rhbz#797188, gnome#677722) + +* Wed Jun 6 2012 Hans de Goede 0.10.31-2 +- v4l2src: Cherry pick some patches from upstream hopefully fixing #815581 +- v4l2src: Deal with uvc cams which report duplicate framerates, such as + on the Thinkpad x121e (rhbz#815134, gnome#677516) + +* Tue Feb 28 2012 Benjamin Otte 0.10.31-1 +- Update to 0.10.31 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.10.30-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 05 2011 Adam Jackson 0.10.30-6 +- Rebuild for new libpng + +* Sun Nov 27 2011 Brian Pepple - 0.10.30-5 +- Backport patch to correct flacdec sample number rounding. (#722667) +- Drop clean section. No longer needed. +- Drop buildroot. No longer needed. + +* Fri Nov 4 2011 Adam Williamson - 0.10.30-4 +- backport more upstream flacparse fixes to complete #650785 fix + +* Fri Oct 14 2011 Adam Williamson - 0.10.30-3 +- backport a couple of patches to fix GNOME #650785 + +* Sun Jul 3 2011 Ville Skyttä - 0.10.30-2 +- Own the /usr/share/gstreamer-0.10 dir (#681625). + +* Fri Jun 17 2011 Tomas Bzatek 0.10.30-1 +- Update to 0.10.30 + +* Tue May 10 2011 Benjamin Otte 0.10.29-1 +- Update to 0.10.29 + +* Sun May 01 2011 Benjamin Otte 0.10.28.4-1 +- Update prerelease + +* Wed Apr 27 2011 Benjamin Otte 0.10.28.3-1 +- Update prerelease + +* Mon Apr 16 2011 Benjamin Otte 0.10.28.2-1 +- Update to prerelease + +* Wed Feb 09 2011 Fedora Release Engineering - 0.10.27-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Feb 03 2011 Dan Horák 0.10.27-2 +- we have libv4l on s390(x), otherwise the build fails with "linux/videodev.h" + not found in v4l2_calls.h + +* Wed Jan 26 2011 Benjamin Otte 0.10.27-1 +- Update to 0.10.27 + +* Wed Jan 12 2011 Benjamin Otte 0.10.26.3-1 +- Update to prerelease + +* Thu Dec 02 2010 Benjamin Otte 0.10.26-1 +- Update to 0.10.26 + +* Mon Sep 06 2010 Benjamin Otte 0.10.25-1 +- Update to 0.10.25 + +* Fri Jul 16 2010 Benjamin Otte 0.10.24-1 +- Update to 0.10.24 + +* Wed Jul 07 2010 Benjamin Otte 0.10.23.4-1 +- Update prerelease + +* Wed Jun 30 2010 Benjamin Otte 0.10.23.3-1 +- Update prerelease + +* Sun Jun 27 2010 Benjamin Otte 0.10.23.2-1 +- Update to prerelease + +* Mon May 31 2010 Benjamin Otte 0.10.23-1 +- Update to 0.10.23 + +* Wed May 26 2010 Benjamin Otte 0.10.22.3-1 +- Update pre-release + +* Fri May 14 2010 Benjamin Otte 0.10.22.2-1 +- Update to pre-release + +* Tue May 04 2010 Benjamin Otte 0.10.22-3 +- Provide -devel in -devel-docs + +* Tue May 04 2010 Benjamin Otte 0.10.22-2 +- Obsolete -devel in -devel-docs + +* Wed Apr 28 2010 Benjamin Otte 0.10.22-1 +- Update to 0.10.22 +- Replace devel package by noarch devel-docs package + +* Mon Apr 26 2010 Benjamin Otte 0.10.21.3-1 +- Update pre-release + +* Thu Apr 15 2010 Benjamin Otte 0.10.21.2-1 +- Update pre-release + +* Wed Apr 07 2010 Benjamin Otte 0.10.21-2 +- Enable gtk-doc + +* Tue Mar 09 2010 Benjamin Otte 0.10.21-1 +- Update to 0.10.21 + +* Mon Mar 08 2010 Benjamin Otte 0.10.19-1 +- Update to 0.10.19 + +* Thu Mar 06 2010 Benjamin Otte 0.10.18.4-1 +- Update pre-release + +* Thu Feb 25 2010 Benjamin Otte 0.10.18.3-1 +- Update to pre-release + +* Fri Feb 19 2010 Benjamin Otte 0.10.18.2-2 +- Use correct dependency requirements + +* Fri Feb 19 2010 Benjamin Otte 0.10.18.2-1 +- Update to prerelease + +* Fri Feb 11 2010 Benjamin Otte 0.10.18-1 +- Update to 0.10.18 + +* Fri Feb 05 2010 Benjamin Otte 0.10.17.3-1 +- Update pre-release + +* Mon Feb 01 2010 Bastien Nocera 0.10.17.2-2 +- Remove farsight plugins, now in gstreamer-plugins-bad-free + +* Wed Jan 27 2010 Bastien Nocera 0.10.17.2-1 +- Update to pre-release + +* Fri Jan 08 2010 Bastien Nocera 0.10.17-5 +- Update Farsight plugins from -bad 0.10.17 + +* Mon Dec 07 2009 Bastien Nocera 0.10.17-4 +- Remove HAL elements, they're unused and obsolete + +* Fri Dec 04 2009 Bastien Nocera 0.10.17-3 +- Disable LADSPA plugins, they should be in -bad (#540198) + +* Mon Nov 30 2009 Bastien Nocera 0.10.17-2 +- Add support for authenticating RTSP sources + +* Tue Nov 17 2009 Bastien Nocera 0.10.17-1 +- Update to 0.10.17 + +* Fri Nov 13 2009 Bastien Nocera 0.10.16.3-1 +- Update to 0.10.16.3 pre-release + +* Tue Nov 10 2009 Bastien Nocera 0.10.16.2-1 +- Update to 0.10.16.2 pre-release + +* Tue Nov 03 2009 Bastien Nocera 0.10.16-7 +- Add patch from upstream to avoid volume lowering in PA < 0.9.20 + +* Thu Oct 22 2009 Bastien Nocera 0.10.16-5 +- Update farsight plugins from -bad +- Drop copy/pasted rtpmanager plugin, it's now in -good + +* Mon Oct 19 2009 Bastien Nocera 0.10.16-4 +- Fix pulsesink not advertising the StreamVolume interface + +* Sat Oct 17 2009 Bastien Nocera 0.10.16-3 +- Finally fix pulsesink volume lowering problems (#488532) + +* Fri Oct 16 2009 Bastien Nocera 0.10.16-2 +- Fix autoconvert caps negotiation + +* Tue Sep 01 2009 Bastien Nocera 0.10.16-1 +- Update to 0.10.16 + +* Fri Aug 14 2009 Bastien Nocera 0.10.15.3-1 +- Update to 0.10.15.3 + +* Tue Aug 11 2009 Hans de Goede 0.10.15-6 +- Fix usage of webcamdrivers which do not implement VIDIOC_G_PARM (#467961) +- Include "Fix FLAC seeking" patch from F-11 package (#515886) + +* Fri Jul 24 2009 Fedora Release Engineering - 0.10.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jul 21 2009 Brian Pepple - 0.10.15-4 +- Add missing provides on gst-plugins-farsight. + +* Mon Jun 22 2009 Brian Pepple - 0.10.15-3 +- Add obsolete for gst-plugins-farsight. + +* Mon Jun 22 2009 Bastien Nocera 0.10.15-2 +- Add the farsight plugins from gst-plugins-bad 0.10.13 (#507009) + +* Thu May 21 2009 Bastien Nocera 0.10.15-1 +- Update to 0.10.15 + +* Sat May 16 2009 Bastien Nocera 0.10.14.3-1 +- Update to 0.10.14.3 + +* Tue May 12 2009 Bastien Nocera 0.10.14.2-1 +- Update to 0.10.14.2 + +* Tue Feb 24 2009 Fedora Release Engineering - 0.10.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 19 2009 - Bastien Nocera - 0.10.14-1 +- Update to 0.10.14 + +* Mon Feb 16 2009 - Bastien Nocera - 0.10.13.3-1 +- Updat eto 0.10.13.3 pre-release + +* Tue Feb 10 2009 - Bastien Nocera - 0.10.13.2-2 +- Add patches to fix compilation + +* Sun Feb 08 2009 - Bastien Nocera - 0.10.13.2-1 +- Update to 0.10.13.2 pre-release + +* Mon Feb 02 2009 - Bastien Nocera - 0.10.13-3 +- Remove (unapplied) patch, it's not needed on this version + +* Mon Feb 02 2009 - Bastien Nocera - 0.10.13-2 +- Patch for overflows in the QT demuxer (#481267) + +* Mon Jan 26 2009 - Bastien Nocera - 0.10.13-1 +- Update to 0.10.13 +- Update libv4l patch + +* Wed Jan 21 2009 - Bastien Nocera - 0.10.11-5 +- Rebuild for new gstreamer base library + +* Wed Jan 14 2009 Warren Togami 0.10.11-4 +- Bug #477877 Fix multilib conflict in -devel +- Bug #478449 Fix ladspa on lib64 + +* Wed Jan 14 2009 Lennart Poettering 0.10.11-3 +- Bug #470000 Fix thread/memleak due to ref-loop + +* Tue Jan 13 2009 Bastien Nocera - 0.10.11-2 +- Avoid pulsesink hang when PulseAudio disappears + +* Sat Oct 25 2008 Bastien Nocera - 0.10.11-1 +- Update to 0.10.11 +- Update libv4l patch + +* Thu Oct 23 2008 Lennart Poettering 0.10.10-6 +- Enable the PulseAudio element and make it replace the old + pulseaudio-plugins-pulse package + +* Sun Oct 5 2008 Hans de Goede 0.10.10-5 +- Fix gst-plugins-good-0.10.9-libv4l.patch to also patch config.in and + Makefile.in so that the libv4l code actually gets enabled for real this time + and remove plenty of egg from face for not fixing this properly in 0.10.10-2 + (rh465599) +- Explicitly disable pulse plugin so the spec builds even if you + have the pulse devel packages installed. + +* Fri Sep 12 2008 - Bastien Nocera 0.10.10-4 +- Another rebuild + +* Thu Sep 11 2008 - Bastien Nocera 0.10.10-3 +- Rebuild for GStreamer RPM provides + +* Sun Aug 31 2008 Hans de Goede 0.10.10-2 +- Fix gst-plugins-good-0.10.9-libv4l.patch to not only patch configure.ac + but also configure so that the libv4l code actually gets enabled + +* Wed Aug 27 2008 - Bastien Nocera 0.10.10-1 +- Update to 0.10.10 +- Remove cdio plugin, as it was moved to -ugly upstream + +* Sun Aug 10 2008 Adam Jackson 0.10.9-2 +- gst-plugins-good-0.10.9-libv4l.patch: Use libv4l. (#456825) +- Explicitly disable esd/caca/aalib plugins so the spec builds even if you + have their devel packages installed. + +* Mon Aug 04 2008 Adam Jackson 0.10.9-1 +- Update to 0.10.9 + +* Wed Jul 30 2008 - Bastien Nocera 0.10.8-10 +- Build the docs ourselves + +* Tue Jul 22 2008 Jarod Wilson 0.10.8-9 +- Bump and rebuild for libraw1394 v2.0.0 + +* Mon Jul 21 2008 Adam Jackson 0.10.8-8 +- gst-plugins-good-0.10.8-v4l2-progressive-fix.patch: Backport v4l2 + interlace/progressive fixes. (#454534) + +* Thu Jun 19 2008 Adam Jackson 0.10.8-7 +- gst-plugins-good-0.10.8-speex-nego.patch: Backport speex channel and + rate negotiation from 0.10.9. (#451391) + +* Tue Jun 17 2008 - Bastien Nocera - 0.10.8-6 +- Really fix the default audio output not being correct + +* Tue Jun 03 2008 - Bastien Nocera - 0.10.8-5 +- Fix compilation of the v4l2 plugin with newer kernels + +* Mon Jun 02 2008 - Bastien Nocera - 0.10.8-4 +- Work-around bug that would set the default audio output to "GOOM!" + See http://bugzilla.gnome.org/show_bug.cgi?id=532295 + +* Wed May 21 2008 Tom "spot" Callaway 0.10.8-3 +- fix license tag + +* Wed May 21 2008 Adam Jackson 0.10.8-2 +- BR: libsoup-devel and package the soup http src plugin. (#447604) +- s/Fedora Core/Fedora/ + +* Thu Apr 24 2008 - Bastien Nocera - 0.10.8-1 +- Update to 0.10.8 + +* Thu Apr 10 2008 - Bastien Nocera - 0.10.7-2 +- Add patch to unbreak the QuickTime demuxer plugin + +* Thu Feb 21 2008 - Bastien Nocera - 0.10.7-1 +- Update to 0.10.7 + +* Mon Feb 18 2008 Fedora Release Engineering - 0.10.6-8 +- Autorebuild for GCC 4.3 + +* Fri Jan 11 2008 Adam Jackson 0.10.6-7 +- gst-plugins-good-0.10.6-v4l2-min-buffers.patch: Be sure to get at least + GST_V4L2_MIN_BUFFERS from the source. (#316931) +- gst-plugins-good-0.10.6-artist-sortname.patch: Avoid using a deprecated + #define. + +* Mon Oct 08 2007 - Bastien Nocera - 0.10.6-6 +- Kill esound output, as we don't have esound installed anymore, just + Pulseaudio (#323061) + +* Sun Sep 02 2007 - Bastien Nocera - 0.10.6-5 +- Add a patch to fix id3demux, so that MP3s can be played back + (#273561) + +* Tue Aug 28 2007 - Bastien Nocera - 0.10.6-4 +- Add the ladspa plugins (#253375) + +* Tue Aug 21 2007 Adam Jackson - 0.10.6-3 +- Rebuild for build id + +* Sun Aug 12 2007 - Bastien Nocera - 0.10.6-2 +- Enable experimental plugins, the wavepack and v4l2src plugins (#250886) + +* Tue Jun 19 2007 - Bastien Nocera - 0.10.6-1 +- Update to 0.10.6 +- Remove outdated FLAC patch +- Add new plugins + +* Sat May 5 2007 Matthias Clasen - 0.10.5-6 +- Add libshout-devel, taglib-devel, libcdio-devel as BRs (#136268) + +* Tue Feb 13 2007 - Bastien Nocera - 0.10.5-5 +- Don't forget to run autoreconf when modifiying the configure.ac + +* Tue Feb 13 2007 - Bastien Nocera - 0.10.5-4 +- Move cyclic dependency with -plugins-good and -plugins-base from + gstreamer to here + +* Tue Feb 13 2007 - Bastien Nocera - 0.10.5-3 +- Patch from Matthias Clasen for the libFLAC + 1.1.3 update (#222946) + +* Wed Jan 24 2007 Adam Jackson - 0.10.5-2 +- Re-add the gdkpixbuf loader. (#222837) + +* Wed Jan 17 2007 Matthias Clasen - 0.10.5-1 +- Update to 0.10.5 + +* Wed Oct 18 2006 Matthias Clasen - 0.10.4-2 +- Fix scripts according to the packaging guidelines + +* Sat Aug 26 2006 Matthias Clasen - 0.10.4-1 +- Update to 0.10.4 + +* Thu Jul 27 2006 Matthias Clasen - 0.10.3-5 +- Disable gtk-doc to fix multilib conflicts + +* Wed Jul 19 2006 Matthias Clasen - 0.10.3-4 +- Rebuild + +* Tue Jul 18 2006 John (J5) Palmieri - 0.10.3-3 +- rebuild + +* Wed Jul 12 2006 Jesse Keating - 0.10.3-2.1 +- rebuild + +* Wed May 31 2006 Dan Williams - 0.10.3-2 +- Package gsthalelements plugin so this can be pushed out + +* Mon May 22 2006 Matthias Clasen - 0.10.3-1 +- Update to 0.10.3 + +* Fri Feb 10 2006 Christopher Aillon - 0.10.2-1 +- Update to 0.10.2 + +* Tue Feb 07 2006 Jesse Keating - 0.10.1-1.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Wed Jan 18 2006 John (J5) Palmieri 0.10.1-1 +- Upgrade to 0.10.1 +- Add libgstid3demux.so to the files section + +* Wed Jan 04 2006 Warren Togami 0.10.0-2 +- exclude 1394 stuff from s390 and s390x + +* Sat Dec 17 2005 Thomas Vander Stichele +- 0.10.0-1 +- rebuilt for FC devel + +* Wed Dec 14 2005 Thomas Vander Stichele +- 0.10.0-0.gst.2 +- glib 2.8 +- added cairo + +* Mon Dec 05 2005 Thomas Vander Stichele +- 0.10.0-0.gst.1 +- new release + +* Thu Dec 01 2005 Thomas Vander Stichele +- 0.9.7-0.gst.1 +- new release for major/minor 0.10 +- removed pango +- removed videofilter +- added cutter, multipart + +* Sat Nov 12 2005 Thomas Vander Stichele +- 0.9.5-0.gst.1 +- new release + +* Mon Oct 24 2005 Thomas Vander Stichele +- 0.9.4-0.gst.1 +- new release +- added alphacolor, debug, flxdec, matroska, navigationtest, videomixer + plug-ins + +* Mon Oct 03 2005 Thomas Vander Stichele +- 0.9.3-0.gst.1 +- new release +- fdsrc moved back to core +- added auparse and efence plugins +- added gtk-doc + +* Fri Sep 09 2005 Thomas Vander Stichele +- Initial package + +* Fri Sep 02 2005 Thomas Vander Stichele +- clean up for splitup