Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/gst-python: ChangeLog gst-python-0.10.8-r1.ebuild
Date: Sun, 04 Nov 2007 06:40:28
Message-Id: E1IoZ9e-0005ww-EU@stork.gentoo.org
1 drac 07/11/04 06:40:18
2
3 Modified: ChangeLog
4 Added: gst-python-0.10.8-r1.ebuild
5 Log:
6 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.
7 (Portage version: 2.1.3.17)
8
9 Revision Changes Path
10 1.29 dev-python/gst-python/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gst-python/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gst-python/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gst-python/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 3 Sep 2007 17:41:40 -0000 1.28
23 +++ ChangeLog 4 Nov 2007 06:40:17 -0000 1.29
24 @@ -1,6 +1,16 @@
25 # ChangeLog for dev-python/gst-python
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.28 2007/09/03 17:41:40 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gst-python/ChangeLog,v 1.29 2007/11/04 06:40:17 drac Exp $
29 +
30 +*gst-python-0.10.8-r1 (04 Nov 2007)
31 +
32 + 04 Nov 2007; Samuli Suominen <drac@g.o>
33 + +files/gst-python-0.10.8-atexit.patch, +gst-python-0.10.8-r1.ebuild:
34 + Patch from upstream CVS, fixing Segmentation Fault with media-sound/exaile.
35 + gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit) Atexit handlers
36 + are run after python has finalized (see Py_Exit in pythonrun.c), but
37 + gst_deinit can potentially call back into python e.g. for python-defined
38 + plugins.
39
40 03 Sep 2007; Samuli Suominen <drac@g.o> gst-python-0.10.8.ebuild:
41 Instead of filtering -z,now, append -z,lazy wrt #166221.
42
43
44
45 1.1 dev-python/gst-python/gst-python-0.10.8-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gst-python/gst-python-0.10.8-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/gst-python/gst-python-0.10.8-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: gst-python-0.10.8-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2007 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $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 $
55
56 NEED_PYTHON=2.3
57
58 inherit eutils flag-o-matic python
59
60 DESCRIPTION="A Python Interface to GStreamer"
61 HOMEPAGE="http://gstreamer.freedesktop.org"
62 SRC_URI="http://gstreamer.freedesktop.org/src/${PN}/${P}.tar.gz"
63 LICENSE="LGPL-2"
64 SLOT="0.10"
65 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="doc"
67
68 RDEPEND=">=dev-python/pygtk-2.6.3
69 >=dev-libs/glib-2.8
70 >=x11-libs/gtk+-2.6
71 >=dev-python/pygobject-2.11.2
72 >=media-libs/gstreamer-0.10.2
73 >=media-libs/gst-plugins-base-0.10.0.2
74 dev-libs/libxml2"
75 DEPEND="${RDEPEND}
76 dev-util/pkgconfig
77 doc? ( app-text/xmlto )"
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82 # Can be removed with next version, from upstream CVS.
83 epatch "${FILESDIR}"/${P}-atexit.patch
84 }
85
86 src_compile() {
87 append-ldflags -Wl,-z,lazy
88 econf $(use_enable doc docs)
89 emake || die "emake failed."
90 }
91
92 src_install() {
93 emake DESTDIR="${D}" install || die "emake install failed."
94 dodoc AUTHORS ChangeLog NEWS README TODO
95 docinto examples
96 cp -pPR examples/* "${D}"/usr/share/doc/${PF}/examples
97 prepalldocs
98 }
99
100 pkg_postinst() {
101 python_mod_optimize
102 }
103
104 pkg_postrm() {
105 python_mod_cleanup
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list