rpms/gstreamer-python/devel gstreamer-python-0.10.8-exit.patch, NONE, 1.1 gstreamer-python.spec, 1.18, 1.19

Denis Leroy (denis) fedora-extras-commits at redhat.com
Fri Sep 14 18:11:12 UTC 2007


Author: denis

Update of /cvs/pkgs/rpms/gstreamer-python/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21049

Modified Files:
	gstreamer-python.spec 
Added Files:
	gstreamer-python-0.10.8-exit.patch 
Log Message:
Added patch to avoid crash on exit

gstreamer-python-0.10.8-exit.patch:

--- NEW FILE gstreamer-python-0.10.8-exit.patch ---
--- 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");
      }


Index: gstreamer-python.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gstreamer-python/devel/gstreamer-python.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- gstreamer-python.spec	20 Aug 2007 13:19:38 -0000	1.18
+++ gstreamer-python.spec	14 Sep 2007 18:10:39 -0000	1.19
@@ -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 @@
 
 %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 @@
 
 
 %changelog
+* Fri Sep 14 2007 Denis Leroy <denis at poolshark.org> - 0.10.8-2
+- Added patch to avoid crash on exit
+
 * Mon Aug 20 2007 Denis Leroy <denis at poolshark.org> - 0.10.8-1
 - Update to upstream 0.10.8
 - License tag update




More information about the fedora-extras-commits mailing list