- Update to prerelease

This commit is contained in:
Benjamin Otte 2010-02-22 15:08:11 +00:00
parent 99769fbc7b
commit 73c077135a
4 changed files with 18 additions and 46 deletions

View File

@ -1 +1 @@
gst-plugins-bad-free-0.10.17.tar.bz2
gst-plugins-bad-free-0.10.17.2.tar.bz2

View File

@ -1,34 +0,0 @@
From a04c2db34042ba8f98ac2596cc8224f091fd7e8d Mon Sep 17 00:00:00 2001
From: Benjamin Otte <otte@redhat.com>
Date: Sun, 14 Feb 2010 13:43:04 +0100
Subject: [PATCH] examples: Use gtk functions instead of libX11 functions in camerabin
Gets around the need to link to libX11 directly and provides the same
functionality.
To boost, it's more portable, too!
---
tests/examples/camerabin/gst-camera.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/examples/camerabin/gst-camera.c b/tests/examples/camerabin/gst-camera.c
index 43934a8..71d217f 100644
--- a/tests/examples/camerabin/gst-camera.c
+++ b/tests/examples/camerabin/gst-camera.c
@@ -836,12 +836,10 @@ gboolean
on_drawingareaView_configure_event (GtkWidget * widget,
GdkEventConfigure * event, gpointer data)
{
- Display *display = GDK_WINDOW_XDISPLAY (GDK_WINDOW (widget->window));
-
- XMoveResizeWindow (display, GDK_WINDOW_XID (GDK_WINDOW (widget->window)),
+ gdk_window_move_resize (widget->window,
widget->allocation.x, widget->allocation.y,
widget->allocation.width, widget->allocation.height);
- XSync (display, False);
+ gdk_display_sync (gtk_widget_get_display (widget));
return TRUE;
}
--
1.6.6

View File

@ -1,24 +1,23 @@
%define majorminor 0.10
%define gstreamer gstreamer
%define gst_minver 0.10.22.1
%define gstpb_minver 0.10.22.1
%define gst_minver 0.10.26.2
%define gstpb_minver 0.10.26.2
Summary: GStreamer streaming media framework "bad" plug-ins
Name: gstreamer-plugins-bad-free
Version: 0.10.17
Release: 7%{?dist}
Version: 0.10.17.2
Release: 1%{?dist}
# The freeze and nfs plugins are LGPLv2 (only)
License: LGPLv2+ and LGPLv2
Group: Applications/Multimedia
URL: http://gstreamer.freedesktop.org/
# The source is:
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.bz2
# http://gstreamer.freedesktop.org/src/gst-plugins-bad/pre/gst-plugins-bad-%{version}.tar.bz2
# modified with gst-p-bad-cleanup.sh from SOURCE1
Source: gst-plugins-bad-free-%{version}.tar.bz2
Source1: gst-p-bad-cleanup.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: 0001-examples-Use-gtk-functions-instead-of-libX11-functio.patch
Requires: %{gstreamer} >= %{gst_minver}
BuildRequires: %{gstreamer}-devel >= %{gst_minver}
@ -131,7 +130,6 @@ aren't tested well enough, or the code is not of good enough quality.
%prep
%setup -q -n gst-plugins-bad-%{version}
%patch0 -p1 -b .gtk-funcs
%build
%configure \
@ -175,14 +173,16 @@ aren't tested well enough, or the code is not of good enough quality.
%{_libdir}/libgstphotography-%{majorminor}.so.*
%{_libdir}/libgstsignalprocessor-%{majorminor}.so.*
# Plugins without external dependencies
%{_libdir}/gstreamer-%{majorminor}/libgstaacparse.so
%{_libdir}/gstreamer-%{majorminor}/libgstadpcmdec.so
%{_libdir}/gstreamer-%{majorminor}/libgstadpcmenc.so
%{_libdir}/gstreamer-%{majorminor}/libgstaudioparsersbad.so
%{_libdir}/gstreamer-%{majorminor}/libgstaiff.so
%{_libdir}/gstreamer-%{majorminor}/libgstamrparse.so
%{_libdir}/gstreamer-%{majorminor}/libgstautoconvert.so
%{_libdir}/gstreamer-%{majorminor}/libgstbayer.so
%{_libdir}/gstreamer-%{majorminor}/libgstcamerabin.so
%{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so
%{_libdir}/gstreamer-%{majorminor}/libgstdataurisrc.so
%{_libdir}/gstreamer-%{majorminor}/libgstdccp.so
%{_libdir}/gstreamer-%{majorminor}/libgstdtmf.so
%{_libdir}/gstreamer-%{majorminor}/libgstfestival.so
@ -191,6 +191,7 @@ aren't tested well enough, or the code is not of good enough quality.
%{_libdir}/gstreamer-%{majorminor}/libgsth264parse.so
%{_libdir}/gstreamer-%{majorminor}/libgsthdvparse.so
%{_libdir}/gstreamer-%{majorminor}/libgstid3tag.so
%{_libdir}/gstreamer-%{majorminor}/libgstjpegformat.so
%{_libdir}/gstreamer-%{majorminor}/libgstlegacyresample.so
%{_libdir}/gstreamer-%{majorminor}/libgstliveadder.so
%{_libdir}/gstreamer-%{majorminor}/libgstrfbsrc.so
@ -208,7 +209,6 @@ aren't tested well enough, or the code is not of good enough quality.
%{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so
%{_libdir}/gstreamer-%{majorminor}/libgstscaletempoplugin.so
%{_libdir}/gstreamer-%{majorminor}/libgstsdpelem.so
%{_libdir}/gstreamer-%{majorminor}/libgstshapewipe.so
%{_libdir}/gstreamer-%{majorminor}/libgstspeed.so
%{_libdir}/gstreamer-%{majorminor}/libgststereo.so
%{_libdir}/gstreamer-%{majorminor}/libgstsubenc.so
@ -272,11 +272,17 @@ aren't tested well enough, or the code is not of good enough quality.
%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor
%{_includedir}/gstreamer-%{majorminor}/gst/video
# pkg-config files
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%files devel-docs
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/gst-plugins-bad-plugins-%{majorminor}
%changelog
* Fri Feb 19 2010 Benjamin Otte <otte@redhat.com> 0.10.17.2-1
- Update to prerelease
* Sun Feb 14 2010 Benjamin Otte <otte@redhat.com> 0.10.17-7
- Fix compilation problems with DSO linking (#565015)

View File

@ -1 +1 @@
1b2785fb78a177612276615c5dc15406 gst-plugins-bad-free-0.10.17.tar.bz2
8438eb762750f7ae7862caf78c5fa8ec gst-plugins-bad-free-0.10.17.2.tar.bz2