1 |
pacho 11/01/28 19:39:18 |
2 |
|
3 |
Modified: pygobject-2.26.0-r1.ebuild ChangeLog |
4 |
Log: |
5 |
Fix building without threads and dependency on python (thanks a lot to Arfrever Frehtes Taifersar Arahesis for his help). |
6 |
|
7 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-python/pygobject/pygobject-2.26.0-r1.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: pygobject-2.26.0-r1.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- pygobject-2.26.0-r1.ebuild 27 Jan 2011 19:05:25 -0000 1.4 |
23 |
+++ pygobject-2.26.0-r1.ebuild 28 Jan 2011 19:39:18 -0000 1.5 |
24 |
@@ -1,13 +1,13 @@ |
25 |
# Copyright 1999-2011 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v 1.4 2011/01/27 19:05:25 pacho Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v 1.5 2011/01/28 19:39:18 pacho Exp $ |
29 |
|
30 |
EAPI="2" |
31 |
GCONF_DEBUG="no" |
32 |
SUPPORT_PYTHON_ABIS="1" |
33 |
PYTHON_DEPEND="2:2.5" |
34 |
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" |
35 |
-PYTHON_USE_WITH="threads" # Needed until upstream bug 640748 is fixed |
36 |
+PYTHON_USE_WITH="threads=" |
37 |
|
38 |
inherit alternatives autotools gnome2 python virtualx |
39 |
|
40 |
@@ -17,7 +17,7 @@ |
41 |
LICENSE="LGPL-2.1" |
42 |
SLOT="2" |
43 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
-IUSE="doc cairo examples +introspection libffi test" |
45 |
+IUSE="doc cairo examples +introspection libffi test threads" |
46 |
|
47 |
RDEPEND=">=dev-libs/glib-2.22.4:2 |
48 |
!<dev-python/pygtk-2.13 |
49 |
@@ -41,6 +41,7 @@ |
50 |
$(use_enable doc docs) |
51 |
$(use_enable cairo) |
52 |
$(use_enable introspection) |
53 |
+ $(use_enable threads thread) |
54 |
$(use_with libffi ffi)" |
55 |
} |
56 |
|
57 |
@@ -62,6 +63,9 @@ |
58 |
# Fix crash in instance property; bug# 344459 |
59 |
epatch "${FILESDIR}/${PN}-2.26.0-nocrash.patch" |
60 |
|
61 |
+ # Disable calls to PyGILState_* when threads are disabled |
62 |
+ epatch "${FILESDIR}/${PN}-2.26.0-disabled-threads.patch" |
63 |
+ |
64 |
# disable pyc compiling |
65 |
mv py-compile py-compile.orig |
66 |
ln -s $(type -P true) py-compile |
67 |
|
68 |
|
69 |
|
70 |
1.108 dev-python/pygobject/ChangeLog |
71 |
|
72 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.108&view=markup |
73 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.108&content-type=text/plain |
74 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.107&r2=1.108 |
75 |
|
76 |
Index: ChangeLog |
77 |
=================================================================== |
78 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v |
79 |
retrieving revision 1.107 |
80 |
retrieving revision 1.108 |
81 |
diff -u -r1.107 -r1.108 |
82 |
--- ChangeLog 27 Jan 2011 19:05:25 -0000 1.107 |
83 |
+++ ChangeLog 28 Jan 2011 19:39:18 -0000 1.108 |
84 |
@@ -1,6 +1,11 @@ |
85 |
# ChangeLog for dev-python/pygobject |
86 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
87 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.107 2011/01/27 19:05:25 pacho Exp $ |
88 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.108 2011/01/28 19:39:18 pacho Exp $ |
89 |
+ |
90 |
+ 28 Jan 2011; Pacho Ramos <pacho@g.o> pygobject-2.26.0-r1.ebuild, |
91 |
+ +files/pygobject-2.26.0-disabled-threads.patch: |
92 |
+ Fix building without threads and dependency on python (thanks a lot to |
93 |
+ Arfrever Frehtes Taifersar Arahesis for his help). |
94 |
|
95 |
27 Jan 2011; Pacho Ramos <pacho@g.o> pygobject-2.26.0-r1.ebuild: |
96 |
dev-python/pygobject always needs python with threads support as reported by |