1 |
pacho 11/02/03 21:43:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pygtk-2.22.0-r1.ebuild |
5 |
Log: |
6 |
Fix 100% CPU load when apps receive SIGCHLD, bug #353599 by Antoine Martin. |
7 |
|
8 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.246 dev-python/pygtk/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.246&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.246&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.245&r2=1.246 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v |
20 |
retrieving revision 1.245 |
21 |
retrieving revision 1.246 |
22 |
diff -u -r1.245 -r1.246 |
23 |
--- ChangeLog 19 Jan 2011 20:12:48 -0000 1.245 |
24 |
+++ ChangeLog 3 Feb 2011 21:43:07 -0000 1.246 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/pygtk |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.245 2011/01/19 20:12:48 eva Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.246 2011/02/03 21:43:07 pacho Exp $ |
30 |
+ |
31 |
+*pygtk-2.22.0-r1 (03 Feb 2011) |
32 |
+ |
33 |
+ 03 Feb 2011; Pacho Ramos <pacho@g.o> +pygtk-2.22.0-r1.ebuild, |
34 |
+ +files/pygtk-2.22.0-wakeupfd-fix.patch: |
35 |
+ Fix 100% CPU load when apps receive SIGCHLD, bug #353599 by Antoine Martin. |
36 |
|
37 |
19 Jan 2011; Gilles Dartiguelongue <eva@g.o> pygtk-2.17.0.ebuild, |
38 |
pygtk-2.22.0.ebuild, +files/pygtk-2.22.0-disable-broken-tests.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/pygtk/pygtk-2.22.0-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.22.0-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.22.0-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pygtk-2.22.0-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.22.0-r1.ebuild,v 1.1 2011/02/03 21:43:07 pacho Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
GCONF_DEBUG="no" |
55 |
PYTHON_DEPEND="2:2.5" |
56 |
SUPPORT_PYTHON_ABIS="1" |
57 |
RESTRICT_PYTHON_ABIS="2.4 3.* *-jython" |
58 |
PYTHON_EXPORT_PHASE_FUNCTIONS="1" |
59 |
|
60 |
inherit alternatives autotools eutils flag-o-matic gnome.org python virtualx |
61 |
|
62 |
DESCRIPTION="GTK+2 bindings for Python" |
63 |
HOMEPAGE="http://www.pygtk.org/" |
64 |
|
65 |
LICENSE="LGPL-2.1" |
66 |
SLOT="2" |
67 |
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" |
68 |
IUSE="doc examples" |
69 |
|
70 |
RDEPEND=">=dev-libs/glib-2.8:2 |
71 |
>=x11-libs/pango-1.16 |
72 |
>=dev-libs/atk-1.12 |
73 |
>=x11-libs/gtk+-2.22:2 |
74 |
>=gnome-base/libglade-2.5 |
75 |
>=dev-python/pycairo-1.0.2 |
76 |
>=dev-python/pygobject-2.21.3:2 |
77 |
dev-python/numpy" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
doc? ( |
81 |
dev-libs/libxslt |
82 |
>=app-text/docbook-xsl-stylesheets-1.70.1 ) |
83 |
>=dev-util/pkgconfig-0.9" |
84 |
|
85 |
src_prepare() { |
86 |
# Fix declaration of codegen in .pc |
87 |
epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" |
88 |
|
89 |
# Broken test, upstream bug #636589 |
90 |
epatch "${FILESDIR}/${PN}-2.22.0-disable-broken-tests.patch" |
91 |
|
92 |
# Fix 100% CPU load when apps receive SIGCHLD, bug #353599 |
93 |
epatch "${FILESDIR}/${PN}-2.22.0-wakeupfd-fix.patch" |
94 |
|
95 |
# Disable pyc compiling |
96 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
97 |
ln -s $(type -P true) "${S}"/py-compile |
98 |
|
99 |
AT_M4DIR="m4" eautoreconf |
100 |
|
101 |
python_copy_sources |
102 |
} |
103 |
|
104 |
src_configure() { |
105 |
use hppa && append-flags -ffunction-sections |
106 |
python_src_configure $(use_enable doc docs) --enable-thread |
107 |
} |
108 |
|
109 |
src_test() { |
110 |
unset DBUS_SESSION_BUS_ADDRESS |
111 |
|
112 |
testing() { |
113 |
cd tests |
114 |
export XDG_CONFIG_HOME="${T}/$(PYTHON --ABI)" |
115 |
Xemake check-local |
116 |
} |
117 |
python_execute_function -s testing |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
python_src_install |
122 |
python_clean_installation_image |
123 |
dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO || die |
124 |
|
125 |
if use examples; then |
126 |
rm examples/Makefile* |
127 |
insinto /usr/share/doc/${PF} |
128 |
doins -r examples || die |
129 |
fi |
130 |
} |
131 |
|
132 |
pkg_postinst() { |
133 |
python_mod_optimize gtk-2.0 |
134 |
|
135 |
create_symlinks() { |
136 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
137 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
138 |
} |
139 |
python_execute_function create_symlinks |
140 |
} |
141 |
|
142 |
pkg_postrm() { |
143 |
python_mod_cleanup gtk-2.0 |
144 |
|
145 |
create_symlinks() { |
146 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.py pygtk.py-[0-9].[0-9] |
147 |
alternatives_auto_makesym $(python_get_sitedir)/pygtk.pth pygtk.pth-[0-9].[0-9] |
148 |
} |
149 |
python_execute_function create_symlinks |
150 |
} |