diff --git a/gstreamer-python-0.10.8-exit.patch b/gstreamer-python-0.10.8-exit.patch new file mode 100644 index 0000000..d7f240f --- /dev/null +++ b/gstreamer-python-0.10.8-exit.patch @@ -0,0 +1,11 @@ +--- gst-python-0.10.8/gst/gstmodule.c 2007/07/28 14:26:54 1.46 ++++ gst-python-0.10.8/gst/gstmodule.c 2007/09/11 11:49:50 1.47 +@@ -266,8 +266,6 @@ + + g_timeout_add_full (0, 100, python_do_pending_calls, NULL, NULL); + +- atexit(gst_deinit); +- + if (PyErr_Occurred ()) { + Py_FatalError ("can't initialize module gst"); + } diff --git a/gstreamer-python.spec b/gstreamer-python.spec index 7883ef5..76761eb 100644 --- a/gstreamer-python.spec +++ b/gstreamer-python.spec @@ -2,13 +2,14 @@ Name: gstreamer-python Version: 0.10.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for GStreamer Group: Development/Languages License: LGPLv2+ URL: http://gstreamer.freedesktop.org/ Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2 +Patch0: gstreamer-python-0.10.8-exit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: python >= 2.3 @@ -36,6 +37,7 @@ to be written in Python. %prep %setup -q -n gst-python-%{version} +%patch0 -p1 -b .exit %{__sed} -i 's|^#!/usr/bin/env python$|#|' gst/extend/*.py @@ -71,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 14 2007 Denis Leroy - 0.10.8-2 +- Added patch to avoid crash on exit + * Mon Aug 20 2007 Denis Leroy - 0.10.8-1 - Update to upstream 0.10.8 - License tag update