summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2007-11-04 06:40:18 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2007-11-04 06:40:18 +0000
commit4cff81a594639a560c2735d2a9bd5c9051ca5491 (patch)
tree30776bada86a0772a95826dbfa3697fd64f41ca9 /dev-python
parentstable ppc, bug #197438 (diff)
downloadhistorical-4cff81a594639a560c2735d2a9bd5c9051ca5491.tar.gz
historical-4cff81a594639a560c2735d2a9bd5c9051ca5491.tar.bz2
historical-4cff81a594639a560c2735d2a9bd5c9051ca5491.zip
Patch from upstream CVS, fixing Segmentation Fault with media-sound/exaile. gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit) Atexit handlers are run after python has finalized (see Py_Exit in pythonrun.c), but gst_deinit can potentially call back into python e.g. for python-defined plugins.
Package-Manager: portage-2.1.3.17
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/gst-python/ChangeLog12
-rw-r--r--dev-python/gst-python/Manifest19
-rw-r--r--dev-python/gst-python/files/digest-gst-python-0.10.8-r13
-rw-r--r--dev-python/gst-python/files/gst-python-0.10.8-atexit.patch12
-rw-r--r--dev-python/gst-python/gst-python-0.10.8-r1.ebuild55
5 files changed, 96 insertions, 5 deletions
diff --git a/dev-python/gst-python/ChangeLog b/dev-python/gst-python/ChangeLog
index 4300bcead66d..ae7a67c8382c 100644
--- a/dev-python/gst-python/ChangeLog
+++ b/dev-python/gst-python/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for dev-python/gst-python
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.28 2007/09/03 17:41:40 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.29 2007/11/04 06:40:17 drac Exp $
+
+*gst-python-0.10.8-r1 (04 Nov 2007)
+
+ 04 Nov 2007; Samuli Suominen <drac@gentoo.org>
+ +files/gst-python-0.10.8-atexit.patch, +gst-python-0.10.8-r1.ebuild:
+ Patch from upstream CVS, fixing Segmentation Fault with media-sound/exaile.
+ gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit) Atexit handlers
+ are run after python has finalized (see Py_Exit in pythonrun.c), but
+ gst_deinit can potentially call back into python e.g. for python-defined
+ plugins.
03 Sep 2007; Samuli Suominen <drac@gentoo.org> gst-python-0.10.8.ebuild:
Instead of filtering -z,now, append -z,lazy wrt #166221.
diff --git a/dev-python/gst-python/Manifest b/dev-python/gst-python/Manifest
index d731732de023..1bb3b34a4a8e 100644
--- a/dev-python/gst-python/Manifest
+++ b/dev-python/gst-python/Manifest
@@ -1,12 +1,20 @@
+AUX gst-python-0.10.8-atexit.patch 454 RMD160 8b5036154a29ce53803579c6f3c2d9a9e8915e3e SHA1 bef3d74f49bc3c8a9d5a3e0e2f6461ace52f7476 SHA256 6c07efb789bb83c4330460b551612adef6be708a932ea0c1e7e96568dab1d47a
+MD5 6c3aae86508e6fe6748803f3bb3aa3a5 files/gst-python-0.10.8-atexit.patch 454
+RMD160 8b5036154a29ce53803579c6f3c2d9a9e8915e3e files/gst-python-0.10.8-atexit.patch 454
+SHA256 6c07efb789bb83c4330460b551612adef6be708a932ea0c1e7e96568dab1d47a files/gst-python-0.10.8-atexit.patch 454
DIST gst-python-0.10.8.tar.gz 602170 RMD160 97ec07b064921771d4cadd68194ab2a023f7f20c SHA1 f764f13033eb88d2bbc98c491c5563e3c6adf392 SHA256 3c0404b51eb7ad32f1f03409604f6fe7871ec9ccb4316e307a88c317e62c1552
+EBUILD gst-python-0.10.8-r1.ebuild 1329 RMD160 69c8a52abb5934d4e1f26362548735bb12dec9d5 SHA1 5e5fbaac71c5e6748cc0c77f369d3a11c9cc3d23 SHA256 b0defb76f3754cbb24fda4c72ff3180eea5103189f547d5c7207e8b149aa7bf8
+MD5 5dd4e600a8e0e72755678a76628a3499 gst-python-0.10.8-r1.ebuild 1329
+RMD160 69c8a52abb5934d4e1f26362548735bb12dec9d5 gst-python-0.10.8-r1.ebuild 1329
+SHA256 b0defb76f3754cbb24fda4c72ff3180eea5103189f547d5c7207e8b149aa7bf8 gst-python-0.10.8-r1.ebuild 1329
EBUILD gst-python-0.10.8.ebuild 1283 RMD160 4670f7616545d19818de2f873698317bf2edce6d SHA1 729544e63b27147dd979efc23b3180afe16c9985 SHA256 ebad630333283b461b1ca5164192b7f1f181c9c5452b88c766e468323f873beb
MD5 d09af1b52c7f930f12a567b22d9e7fec gst-python-0.10.8.ebuild 1283
RMD160 4670f7616545d19818de2f873698317bf2edce6d gst-python-0.10.8.ebuild 1283
SHA256 ebad630333283b461b1ca5164192b7f1f181c9c5452b88c766e468323f873beb gst-python-0.10.8.ebuild 1283
-MISC ChangeLog 4180 RMD160 a1b1e6a47088433880d9001330c26833cfe8170e SHA1 caa01c8d0aa89e8b1f9386416406aea7114301b0 SHA256 20a496bfb51511cad5212ca62e3d81615d1ecbdd34fd80794817d8f74d61ae41
-MD5 3e279e1fdca00a0ef35bffe9f618fb84 ChangeLog 4180
-RMD160 a1b1e6a47088433880d9001330c26833cfe8170e ChangeLog 4180
-SHA256 20a496bfb51511cad5212ca62e3d81615d1ecbdd34fd80794817d8f74d61ae41 ChangeLog 4180
+MISC ChangeLog 4650 RMD160 438b9e60fb49f8ba2b75f5901d70e7b6e89d1377 SHA1 1aa22c43e4e73b0ff031bd0a743bffc630e936bd SHA256 e329f2ba76e3f1d160001a987dac347d73c2eab0c493cd6db071ebc13cb75b16
+MD5 7b38df2678d74ae2106911b5c3852930 ChangeLog 4650
+RMD160 438b9e60fb49f8ba2b75f5901d70e7b6e89d1377 ChangeLog 4650
+SHA256 e329f2ba76e3f1d160001a987dac347d73c2eab0c493cd6db071ebc13cb75b16 ChangeLog 4650
MISC metadata.xml 162 RMD160 c6078d82a9ff46dbb283bc14ade9d117144cca67 SHA1 f46f8ccd62374b17183b5aca523c4dcf60d718f9 SHA256 3ac891ee23de8c6e2bef32e0c7aa3e6607e808de76ed723fbe7a1fb92f6093f1
MD5 6050196ef420c3e4025029ebee5a813f metadata.xml 162
RMD160 c6078d82a9ff46dbb283bc14ade9d117144cca67 metadata.xml 162
@@ -14,3 +22,6 @@ SHA256 3ac891ee23de8c6e2bef32e0c7aa3e6607e808de76ed723fbe7a1fb92f6093f1 metadata
MD5 9c50238bf010aa2d0a8f87422ea94585 files/digest-gst-python-0.10.8 253
RMD160 f41f9e21e51ba70be2d7321148c75e27a66278ae files/digest-gst-python-0.10.8 253
SHA256 6fae8f2febac2efcefd2b14bcb0775024efef164d2b7f9e8ca1199d746cc7526 files/digest-gst-python-0.10.8 253
+MD5 9c50238bf010aa2d0a8f87422ea94585 files/digest-gst-python-0.10.8-r1 253
+RMD160 f41f9e21e51ba70be2d7321148c75e27a66278ae files/digest-gst-python-0.10.8-r1 253
+SHA256 6fae8f2febac2efcefd2b14bcb0775024efef164d2b7f9e8ca1199d746cc7526 files/digest-gst-python-0.10.8-r1 253
diff --git a/dev-python/gst-python/files/digest-gst-python-0.10.8-r1 b/dev-python/gst-python/files/digest-gst-python-0.10.8-r1
new file mode 100644
index 000000000000..eb0925ca4de3
--- /dev/null
+++ b/dev-python/gst-python/files/digest-gst-python-0.10.8-r1
@@ -0,0 +1,3 @@
+MD5 e7e8274d41c6302a80c777ab16d367e6 gst-python-0.10.8.tar.gz 602170
+RMD160 97ec07b064921771d4cadd68194ab2a023f7f20c gst-python-0.10.8.tar.gz 602170
+SHA256 3c0404b51eb7ad32f1f03409604f6fe7871ec9ccb4316e307a88c317e62c1552 gst-python-0.10.8.tar.gz 602170
diff --git a/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch b/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch
new file mode 100644
index 000000000000..46141f6938aa
--- /dev/null
+++ b/dev-python/gst-python/files/gst-python-0.10.8-atexit.patch
@@ -0,0 +1,12 @@
+diff -ur gst-python-0.10.8.orig/gst/gstmodule.c gst-python-0.10.8/gst/gstmodule.c
+--- gst-python-0.10.8.orig/gst/gstmodule.c 2007-07-28 16:38:15.000000000 +0300
++++ gst-python-0.10.8/gst/gstmodule.c 2007-11-04 08:26:33.000000000 +0200
+@@ -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/dev-python/gst-python/gst-python-0.10.8-r1.ebuild b/dev-python/gst-python/gst-python-0.10.8-r1.ebuild
new file mode 100644
index 000000000000..1eb4be0b4402
--- /dev/null
+++ b/dev-python/gst-python/gst-python-0.10.8-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/gst-python-0.10.8-r1.ebuild,v 1.1 2007/11/04 06:40:17 drac Exp $
+
+NEED_PYTHON=2.3
+
+inherit eutils flag-o-matic python
+
+DESCRIPTION="A Python Interface to GStreamer"
+HOMEPAGE="http://gstreamer.freedesktop.org"
+SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2"
+SLOT="0.10"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-python/pygtk-2.6.3
+ >=dev-libs/glib-2.8
+ >=x11-libs/gtk+-2.6
+ >=dev-python/pygobject-2.11.2
+ >=media-libs/gstreamer-0.10.2
+ >=media-libs/gst-plugins-base-0.10.0.2
+ dev-libs/libxml2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ doc? ( app-text/xmlto )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # Can be removed with next version, from upstream CVS.
+ epatch "${FILESDIR}"/${P}-atexit.patch
+}
+
+src_compile() {
+ append-ldflags -Wl,-z,lazy
+ econf $(use_enable doc docs)
+ emake || die "emake failed."
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ docinto examples
+ cp -pPR examples/* "${D}"/usr/share/doc/${PF}/examples
+ prepalldocs
+}
+
+pkg_postinst() {
+ python_mod_optimize
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}