1 |
tetromino 12/01/04 23:30:10 |
2 |
|
3 |
Modified: gnome-games-3.2.1.ebuild |
4 |
gnome-games-2.30.2-r1.ebuild |
5 |
gnome-games-2.28.2.ebuild ChangeLog |
6 |
gnome-games-2.30.2-r2.ebuild |
7 |
Added: gnome-games-3.2.1-r1.ebuild |
8 |
Log: |
9 |
Fix py-compile idiom for automake-1.11.2 compatibility (bugs #396585, #397335). Move gnome2_src_prepare after eautoreconf. Revbump to fix sudoku set_bg_color traceback and pygobject-3.0.3 crashes (bug #397501), and to not install libgames-support-gi.a. |
10 |
|
11 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.2 gnome-extra/gnome-games/gnome-games-3.2.1.ebuild |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild?rev=1.2&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild?rev=1.2&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild?r1=1.1&r2=1.2 |
19 |
|
20 |
Index: gnome-games-3.2.1.ebuild |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild,v |
23 |
retrieving revision 1.1 |
24 |
retrieving revision 1.2 |
25 |
diff -u -r1.1 -r1.2 |
26 |
--- gnome-games-3.2.1.ebuild 7 Nov 2011 04:03:58 -0000 1.1 |
27 |
+++ gnome-games-3.2.1.ebuild 4 Jan 2012 23:30:09 -0000 1.2 |
28 |
@@ -1,6 +1,6 @@ |
29 |
-# Copyright 1999-2011 Gentoo Foundation |
30 |
+# Copyright 1999-2012 Gentoo Foundation |
31 |
# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild,v 1.1 2011/11/07 04:03:58 tetromino Exp $ |
33 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1.ebuild,v 1.2 2012/01/04 23:30:09 tetromino Exp $ |
34 |
|
35 |
EAPI="3" |
36 |
GNOME_TARBALL_SUFFIX="xz" |
37 |
@@ -128,8 +128,6 @@ |
38 |
} |
39 |
|
40 |
src_prepare() { |
41 |
- gnome2_src_prepare |
42 |
- |
43 |
use sudoku && python_convert_shebangs -r 2 gnome-sudoku/src |
44 |
|
45 |
# TODO: File upstream bug for this |
46 |
@@ -141,8 +139,9 @@ |
47 |
eautoreconf |
48 |
|
49 |
# disable pyc compiling |
50 |
- mv py-compile py-compile.orig |
51 |
- ln -s $(type -P true) py-compile |
52 |
+ echo > py-compile |
53 |
+ |
54 |
+ gnome2_src_prepare |
55 |
} |
56 |
|
57 |
src_test() { |
58 |
|
59 |
|
60 |
|
61 |
1.15 gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild |
62 |
|
63 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild?rev=1.15&view=markup |
64 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild?rev=1.15&content-type=text/plain |
65 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild?r1=1.14&r2=1.15 |
66 |
|
67 |
Index: gnome-games-2.30.2-r1.ebuild |
68 |
=================================================================== |
69 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild,v |
70 |
retrieving revision 1.14 |
71 |
retrieving revision 1.15 |
72 |
diff -u -r1.14 -r1.15 |
73 |
--- gnome-games-2.30.2-r1.ebuild 25 Apr 2011 21:17:50 -0000 1.14 |
74 |
+++ gnome-games-2.30.2-r1.ebuild 4 Jan 2012 23:30:09 -0000 1.15 |
75 |
@@ -1,6 +1,6 @@ |
76 |
-# Copyright 1999-2011 Gentoo Foundation |
77 |
+# Copyright 1999-2012 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild,v 1.14 2011/04/25 21:17:50 arfrever Exp $ |
80 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r1.ebuild,v 1.15 2012/01/04 23:30:09 tetromino Exp $ |
81 |
|
82 |
EAPI="3" |
83 |
GCONF_DEBUG="no" |
84 |
@@ -120,8 +120,7 @@ |
85 |
gnome2_src_prepare |
86 |
|
87 |
# disable pyc compiling |
88 |
- mv py-compile py-compile.orig |
89 |
- ln -s $(type -P true) py-compile |
90 |
+ echo > py-compile |
91 |
} |
92 |
|
93 |
src_test() { |
94 |
|
95 |
|
96 |
|
97 |
1.11 gnome-extra/gnome-games/gnome-games-2.28.2.ebuild |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild?rev=1.11&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild?rev=1.11&content-type=text/plain |
101 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild?r1=1.10&r2=1.11 |
102 |
|
103 |
Index: gnome-games-2.28.2.ebuild |
104 |
=================================================================== |
105 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild,v |
106 |
retrieving revision 1.10 |
107 |
retrieving revision 1.11 |
108 |
diff -u -r1.10 -r1.11 |
109 |
--- gnome-games-2.28.2.ebuild 25 Apr 2011 21:17:50 -0000 1.10 |
110 |
+++ gnome-games-2.28.2.ebuild 4 Jan 2012 23:30:09 -0000 1.11 |
111 |
@@ -1,6 +1,6 @@ |
112 |
-# Copyright 1999-2011 Gentoo Foundation |
113 |
+# Copyright 1999-2012 Gentoo Foundation |
114 |
# Distributed under the terms of the GNU General Public License v2 |
115 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild,v 1.10 2011/04/25 21:17:50 arfrever Exp $ |
116 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild,v 1.11 2012/01/04 23:30:09 tetromino Exp $ |
117 |
|
118 |
EAPI="3" |
119 |
GCONF_DEBUG="no" |
120 |
@@ -122,8 +122,7 @@ |
121 |
gnome2_src_prepare |
122 |
|
123 |
# disable pyc compiling |
124 |
- mv py-compile py-compile.orig |
125 |
- ln -s $(type -P true) py-compile |
126 |
+ echo > py-compile |
127 |
|
128 |
# Fix implicit declaration of yylex. |
129 |
epatch "${FILESDIR}/${PN}-2.26.3-implicit-declaration.patch" |
130 |
|
131 |
|
132 |
|
133 |
1.313 gnome-extra/gnome-games/ChangeLog |
134 |
|
135 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.313&view=markup |
136 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.313&content-type=text/plain |
137 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/ChangeLog?r1=1.312&r2=1.313 |
138 |
|
139 |
Index: ChangeLog |
140 |
=================================================================== |
141 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v |
142 |
retrieving revision 1.312 |
143 |
retrieving revision 1.313 |
144 |
diff -u -r1.312 -r1.313 |
145 |
--- ChangeLog 7 Nov 2011 04:03:58 -0000 1.312 |
146 |
+++ ChangeLog 4 Jan 2012 23:30:09 -0000 1.313 |
147 |
@@ -1,6 +1,18 @@ |
148 |
# ChangeLog for gnome-extra/gnome-games |
149 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
150 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.312 2011/11/07 04:03:58 tetromino Exp $ |
151 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
152 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.313 2012/01/04 23:30:09 tetromino Exp $ |
153 |
+ |
154 |
+*gnome-games-3.2.1-r1 (04 Jan 2012) |
155 |
+ |
156 |
+ 04 Jan 2012; Alexandre Rostovtsev <tetromino@g.o> |
157 |
+ gnome-games-2.28.2.ebuild, gnome-games-2.30.2-r1.ebuild, |
158 |
+ gnome-games-2.30.2-r2.ebuild, gnome-games-3.2.1.ebuild, |
159 |
+ +gnome-games-3.2.1-r1.ebuild, +files/gnome-games-3.2.1-pygobject-3.0.3.patch, |
160 |
+ +files/gnome-games-3.2.1-sudoku-borders.patch: |
161 |
+ Fix py-compile idiom for automake-1.11.2 compatibility (bugs #396585, |
162 |
+ #397335). Move gnome2_src_prepare after eautoreconf. Revbump to fix sudoku |
163 |
+ set_bg_color traceback and pygobject-3.0.3 crashes (bug #397501), and to not |
164 |
+ install libgames-support-gi.a. |
165 |
|
166 |
*gnome-games-3.2.1 (07 Nov 2011) |
167 |
|
168 |
|
169 |
|
170 |
|
171 |
1.2 gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild |
172 |
|
173 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild?rev=1.2&view=markup |
174 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild?rev=1.2&content-type=text/plain |
175 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild?r1=1.1&r2=1.2 |
176 |
|
177 |
Index: gnome-games-2.30.2-r2.ebuild |
178 |
=================================================================== |
179 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild,v |
180 |
retrieving revision 1.1 |
181 |
retrieving revision 1.2 |
182 |
diff -u -r1.1 -r1.2 |
183 |
--- gnome-games-2.30.2-r2.ebuild 6 Nov 2011 05:50:58 -0000 1.1 |
184 |
+++ gnome-games-2.30.2-r2.ebuild 4 Jan 2012 23:30:09 -0000 1.2 |
185 |
@@ -1,6 +1,6 @@ |
186 |
-# Copyright 1999-2011 Gentoo Foundation |
187 |
+# Copyright 1999-2012 Gentoo Foundation |
188 |
# Distributed under the terms of the GNU General Public License v2 |
189 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild,v 1.1 2011/11/06 05:50:58 tetromino Exp $ |
190 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.30.2-r2.ebuild,v 1.2 2012/01/04 23:30:09 tetromino Exp $ |
191 |
|
192 |
EAPI="3" |
193 |
GCONF_DEBUG="no" |
194 |
@@ -122,8 +122,7 @@ |
195 |
python_convert_shebangs -r 2 gnome-sudoku/src |
196 |
|
197 |
# disable pyc compiling |
198 |
- mv py-compile py-compile.orig |
199 |
- ln -s $(type -P true) py-compile |
200 |
+ echo > py-compile |
201 |
} |
202 |
|
203 |
src_test() { |
204 |
|
205 |
|
206 |
|
207 |
1.1 gnome-extra/gnome-games/gnome-games-3.2.1-r1.ebuild |
208 |
|
209 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1-r1.ebuild?rev=1.1&view=markup |
210 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1-r1.ebuild?rev=1.1&content-type=text/plain |
211 |
|
212 |
Index: gnome-games-3.2.1-r1.ebuild |
213 |
=================================================================== |
214 |
# Copyright 1999-2012 Gentoo Foundation |
215 |
# Distributed under the terms of the GNU General Public License v2 |
216 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-3.2.1-r1.ebuild,v 1.1 2012/01/04 23:30:09 tetromino Exp $ |
217 |
|
218 |
EAPI="3" |
219 |
GNOME_TARBALL_SUFFIX="xz" |
220 |
GCONF_DEBUG="no" |
221 |
GNOME2_LA_PUNT="yes" |
222 |
WANT_AUTOMAKE="1.11" |
223 |
PYTHON_DEPEND="2:2.4" |
224 |
PYTHON_USE_WITH="xml" |
225 |
|
226 |
# make sure games is inherited first so that the gnome2 |
227 |
# functions will be called if they are not overridden |
228 |
inherit autotools games eutils gnome2 python virtualx |
229 |
|
230 |
DESCRIPTION="Collection of games for the GNOME desktop" |
231 |
HOMEPAGE="http://live.gnome.org/GnomeGames/" |
232 |
|
233 |
LICENSE="GPL-2 GPL-3 FDL-1.1" |
234 |
SLOT="0" |
235 |
# TODO: file KEYWORDREQ bug once it's determined that seed is usable |
236 |
KEYWORDS="~amd64 ~x86" |
237 |
IUSE="artworkextra +aisleriot +clutter +introspection glchess seed +sudoku test" |
238 |
|
239 |
COMMON_DEPEND=" |
240 |
>=dev-libs/dbus-glib-0.75 |
241 |
>=dev-libs/glib-2.25.7 |
242 |
>=dev-libs/libxml2-2.4.0 |
243 |
>=gnome-base/gconf-2.31.1 |
244 |
>=gnome-base/librsvg-2.32 |
245 |
>=x11-libs/cairo-1 |
246 |
>=x11-libs/gtk+-2.91.7:3[introspection?] |
247 |
|
248 |
media-libs/libcanberra[gtk3] |
249 |
x11-libs/libSM |
250 |
|
251 |
artworkextra? ( >=gnome-extra/gnome-games-extra-data-3.0.0 ) |
252 |
clutter? ( |
253 |
>=dev-libs/gobject-introspection-0.6.3 |
254 |
>=x11-libs/gtk+-2.90:3[introspection] |
255 |
>=gnome-base/gconf-2.31.1[introspection] |
256 |
>=media-libs/clutter-gtk-0.91.6:1.0[introspection] |
257 |
seed? ( >=dev-libs/seed-2.91.90 ) ) |
258 |
introspection? ( |
259 |
>=dev-libs/gobject-introspection-0.6.3 |
260 |
media-libs/clutter:1.0[introspection] ) |
261 |
glchess? ( |
262 |
dev-db/sqlite:3 |
263 |
>=gnome-base/librsvg-2.32 |
264 |
virtual/opengl |
265 |
x11-libs/libX11 )" |
266 |
RDEPEND="${COMMON_DEPEND} |
267 |
sudoku? ( |
268 |
|| ( dev-python/pygobject:3 >=dev-python/pygobject-2.28.3:2[introspection] ) |
269 |
x11-libs/gdk-pixbuf:2[introspection] |
270 |
x11-libs/pango[introspection] |
271 |
>=x11-libs/gtk+-3.0.0:3[introspection] ) |
272 |
|
273 |
!<gnome-extra/gnome-games-extra-data-3.0.0" |
274 |
DEPEND="${COMMON_DEPEND} |
275 |
glchess? ( >=dev-lang/vala-0.13.0:0.14 ) |
276 |
>=dev-util/pkgconfig-0.15 |
277 |
>=dev-util/intltool-0.40.4 |
278 |
>=sys-devel/gettext-0.10.40 |
279 |
>=gnome-base/gnome-common-2.12.0 |
280 |
>=app-text/scrollkeeper-0.3.8 |
281 |
>=app-text/gnome-doc-utils-0.10 |
282 |
test? ( >=dev-libs/check-0.9.4 )" |
283 |
|
284 |
# For compatibility with older versions of the gnome-games package |
285 |
PDEPEND="aisleriot? ( games-board/aisleriot )" |
286 |
|
287 |
# Others are installed below; multiples in this package. |
288 |
DOCS="AUTHORS HACKING MAINTAINERS TODO" |
289 |
|
290 |
_omitgame() { |
291 |
G2CONF="${G2CONF},${1}" |
292 |
} |
293 |
|
294 |
pkg_setup() { |
295 |
# create the games user / group |
296 |
games_pkg_setup |
297 |
|
298 |
python_set_active_version 2 |
299 |
python_pkg_setup |
300 |
|
301 |
G2CONF="${G2CONF} |
302 |
--disable-schemas-compile |
303 |
--disable-static |
304 |
--enable-sound |
305 |
$(use_enable introspection)" |
306 |
|
307 |
# Should be after $(use_enable introspection), but before --enable-omitgames |
308 |
use clutter && G2CONF="${G2CONF} --enable-introspection" |
309 |
|
310 |
use glchess && G2CONF="${G2CONF} VALAC=$(type -p valac-0.14)" |
311 |
|
312 |
# Staging games are needed for swell-foop and lightsoff |
313 |
G2CONF="${G2CONF} |
314 |
--enable-staging |
315 |
--with-scores-group=${GAMES_GROUP} |
316 |
--with-platform=gnome |
317 |
--with-smclient |
318 |
--with-gtk=3.0 |
319 |
--enable-omitgames=none" # This line should be last for _omitgame |
320 |
|
321 |
# FIXME: Use REQUIRED_USE once games.eclass is ported to EAPI 4 |
322 |
if ! use clutter; then |
323 |
ewarn "USE='-clutter' => quadrapassel, swell-foop, lightsoff, gnibbles won't be installed" |
324 |
_omitgame quadrapassel |
325 |
_omitgame gnibbles |
326 |
_omitgame swell-foop |
327 |
_omitgame lightsoff |
328 |
use seed && ewarn "USE='seed' has no effect with USE='-clutter'" |
329 |
elif ! use seed; then |
330 |
ewarn "USE='-seed' => swell-foop, lightsoff won't be installed" |
331 |
_omitgame swell-foop |
332 |
_omitgame lightsoff |
333 |
fi |
334 |
|
335 |
if ! use glchess; then |
336 |
_omitgame glchess |
337 |
fi |
338 |
|
339 |
if ! use sudoku; then |
340 |
_omitgame gnome-sudoku |
341 |
fi |
342 |
} |
343 |
|
344 |
src_prepare() { |
345 |
use sudoku && python_convert_shebangs -r 2 gnome-sudoku/src |
346 |
|
347 |
# TODO: File upstream bug for this |
348 |
epatch "${FILESDIR}/${PN}-2.91.90-fix-conditional-ac-prog-cxx.patch" |
349 |
|
350 |
# Without this, --enable-staging enables all those games unconditionally |
351 |
epatch "${FILESDIR}/${PN}-fix-staging-games.patch" |
352 |
|
353 |
# gnome-sudoku patch, will be in next release |
354 |
epatch "${FILESDIR}/${P}-sudoku-borders.patch" |
355 |
|
356 |
# patch from upstream git master fixing sudoku with pygobject-3.0.3, #397501 |
357 |
epatch "${FILESDIR}/${P}-pygobject-3.0.3.patch" |
358 |
|
359 |
eautoreconf |
360 |
|
361 |
# disable pyc compiling |
362 |
echo > py-compile |
363 |
|
364 |
gnome2_src_prepare |
365 |
} |
366 |
|
367 |
src_test() { |
368 |
Xemake check || die "tests failed" |
369 |
} |
370 |
|
371 |
src_install() { |
372 |
gnome2_src_install |
373 |
|
374 |
# Documentation install for each of the games |
375 |
for game in \ |
376 |
$(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do |
377 |
docinto ${game} |
378 |
for doc in AUTHORS ChangeLog NEWS README TODO; do |
379 |
[ -s ${game}/${doc} ] && dodoc ${game}/${doc} |
380 |
done |
381 |
done |
382 |
} |
383 |
|
384 |
pkg_preinst() { |
385 |
gnome2_pkg_preinst |
386 |
# Avoid overwriting previous .scores files |
387 |
local basefile |
388 |
for scorefile in "${ED}"/var/lib/games/*.scores; do |
389 |
basefile=$(basename $scorefile) |
390 |
if [ -s "${EROOT}/var/lib/games/${basefile}" ]; then |
391 |
cp "${EROOT}/var/lib/games/${basefile}" \ |
392 |
"${ED}/var/lib/games/${basefile}" |
393 |
fi |
394 |
done |
395 |
} |
396 |
|
397 |
pkg_postinst() { |
398 |
games_pkg_postinst |
399 |
gnome2_pkg_postinst |
400 |
python_need_rebuild |
401 |
use sudoku && python_mod_optimize gnome_sudoku |
402 |
} |
403 |
|
404 |
pkg_postrm() { |
405 |
gnome2_pkg_postrm |
406 |
python_mod_cleanup gnome_sudoku |
407 |
} |