1 |
eva 09/05/31 12:40:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-games-2.26.2-r1.ebuild |
5 |
Log: |
6 |
Bump to 2.26.2-r1. Make sound output selectable, bug #269780. Fix installation of setgid binaries, bug #267041. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.273 gnome-extra/gnome-games/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.273&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.273&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?r1=1.272&r2=1.273 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v |
19 |
retrieving revision 1.272 |
20 |
retrieving revision 1.273 |
21 |
diff -u -r1.272 -r1.273 |
22 |
--- ChangeLog 24 May 2009 15:44:31 -0000 1.272 |
23 |
+++ ChangeLog 31 May 2009 12:40:33 -0000 1.273 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for gnome-extra/gnome-games |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.272 2009/05/24 15:44:31 ford_prefect Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.273 2009/05/31 12:40:33 eva Exp $ |
29 |
+ |
30 |
+*gnome-games-2.26.2-r1 (31 May 2009) |
31 |
+ |
32 |
+ 31 May 2009; Gilles Dartiguelongue <eva@g.o> |
33 |
+ +gnome-games-2.26.2-r1.ebuild, |
34 |
+ +files/gnome-games-2.26.2-parallel-make.patch: |
35 |
+ Bump to 2.26.2-r1. Make sound output selectable, bug #269780. Fix |
36 |
+ installation of setgid binaries, bug #267041. |
37 |
|
38 |
*gnome-games-2.26.2 (23 May 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gnome-games-2.26.2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild,v 1.1 2009/05/31 12:40:33 eva Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
GCONF_DEBUG="no" |
56 |
WANT_AUTOMAKE="1.10" |
57 |
|
58 |
# make sure games is inherited first so that the gnome2 |
59 |
# functions will be called if they are not overridden |
60 |
inherit games games-ggz eutils gnome2 python virtualx autotools |
61 |
|
62 |
DESCRIPTION="Collection of games for the GNOME desktop" |
63 |
HOMEPAGE="http://live.gnome.org/GnomeGames/" |
64 |
|
65 |
LICENSE="GPL-2 FDL-1.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="artworkextra guile opengl test +gstreamer" |
69 |
|
70 |
RDEPEND=">=dev-python/pygtk-2.10 |
71 |
dev-python/pygobject |
72 |
>=x11-libs/gtk+-2.14 |
73 |
>=dev-libs/dbus-glib-0.75 |
74 |
|
75 |
>=dev-python/gconf-python-2.17.3 |
76 |
!sh? ( >=dev-python/bug-buddy-python-2.17.3 ) |
77 |
>=dev-python/libgnomeprint-python-2.17.3 |
78 |
|
79 |
>=x11-libs/cairo-1 |
80 |
>=dev-python/pycairo-1 |
81 |
>=gnome-base/gconf-2 |
82 |
>=dev-libs/libxml2-2.4.0 |
83 |
>=gnome-base/librsvg-2.14 |
84 |
gstreamer? ( >=media-libs/gstreamer-0.10.11 ) |
85 |
!gstreamer? ( |
86 |
media-libs/libsdl |
87 |
media-libs/sdl-mixer[vorbis] ) |
88 |
>=gnome-base/libglade-2 |
89 |
>=dev-libs/glib-2.6.3 |
90 |
>=dev-games/libggz-0.0.14 |
91 |
>=dev-games/ggz-client-libs-0.0.14 |
92 |
|
93 |
guile? ( >=dev-scheme/guile-1.6.5[deprecated,regex] ) |
94 |
artworkextra? ( gnome-extra/gnome-games-extra-data ) |
95 |
opengl? ( |
96 |
dev-python/pygtkglext |
97 |
>=dev-python/pyopengl-3 ) |
98 |
!games-board/glchess |
99 |
x11-libs/libSM" |
100 |
|
101 |
DEPEND="${RDEPEND} |
102 |
>=sys-devel/autoconf-2.53 |
103 |
>=dev-util/pkgconfig-0.15 |
104 |
>=dev-util/intltool-0.40.4 |
105 |
>=sys-devel/gettext-0.10.40 |
106 |
>=gnome-base/gnome-common-2.12.0 |
107 |
>=app-text/scrollkeeper-0.3.8 |
108 |
>=app-text/gnome-doc-utils-0.10 |
109 |
test? ( >=dev-libs/check-0.9.4 )" |
110 |
|
111 |
# Others are installed below; multiples in this package. |
112 |
DOCS="AUTHORS HACKING MAINTAINERS TODO" |
113 |
|
114 |
# dang make-check fails on docs with -j > 1. Restrict them for the moment until |
115 |
# it can be chased down. |
116 |
RESTRICT="test" |
117 |
|
118 |
_omitgame() { |
119 |
G2CONF="${G2CONF},${1}" |
120 |
} |
121 |
|
122 |
pkg_setup() { |
123 |
# create the games user / group |
124 |
games_pkg_setup |
125 |
|
126 |
# Decide the sound backend to use - GStreamer gets preference over SDL |
127 |
if use gstreamer; then |
128 |
G2CONF="${G2CONF} --with-sound=gstreamer" |
129 |
else |
130 |
G2CONF="${G2CONF} --with-sound=sdl_mixer" |
131 |
fi |
132 |
|
133 |
# Needs "seed", which needs gobject-introspection, libffi, etc. |
134 |
#$(use_enable clutter) |
135 |
#$(use_enable clutter staging) |
136 |
G2CONF="${G2CONF} |
137 |
--disable-card-themes-installer |
138 |
--with-scores-group=${GAMES_GROUP} |
139 |
--enable-noregistry=\"${GGZ_MODDIR}\" |
140 |
--with-platform=gnome |
141 |
--with-card-theme-formats=all |
142 |
--with-smclient |
143 |
--enable-omitgames=none" # This line should be last for _omitgame |
144 |
|
145 |
# Needs clutter, always disable till we can have that |
146 |
#if ! use clutter; then |
147 |
_omitgame lightsoff |
148 |
#fi |
149 |
|
150 |
if ! use guile; then |
151 |
ewarn "USE='-guile' implies that Aisleriot won't be installed" |
152 |
_omitgame aisleriot |
153 |
fi |
154 |
|
155 |
if ! use opengl; then |
156 |
ewarn "USE=-opengl implies that glchess won't be installed" |
157 |
_omitgame glchess |
158 |
fi |
159 |
} |
160 |
|
161 |
src_prepare() { |
162 |
gnome2_src_prepare |
163 |
|
164 |
# disable pyc compiling |
165 |
mv py-compile py-compile.orig |
166 |
ln -s $(type -P true) py-compile |
167 |
|
168 |
# Fix parallel make install issue for setgid, bug #267041 |
169 |
epatch "${FILESDIR}/${PN}-2.26.2-parallel-make.patch" |
170 |
|
171 |
# If calling eautoreconf, this ebuild uses libtool-2 |
172 |
eautomake |
173 |
} |
174 |
|
175 |
src_test() { |
176 |
Xemake check || die "tests failed" |
177 |
} |
178 |
|
179 |
src_install() { |
180 |
gnome2_src_install |
181 |
|
182 |
# Documentation install for each of the games |
183 |
for game in \ |
184 |
$(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do |
185 |
docinto ${game} |
186 |
for doc in AUTHORS ChangeLog NEWS README TODO; do |
187 |
[ -s ${game}/${doc} ] && dodoc ${game}/${doc} |
188 |
done |
189 |
done |
190 |
} |
191 |
|
192 |
pkg_preinst() { |
193 |
gnome2_pkg_preinst |
194 |
# Avoid overwriting previous .scores files |
195 |
local basefile |
196 |
for scorefile in "${D}"/var/lib/games/*.scores; do |
197 |
basefile=$(basename $scorefile) |
198 |
if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then |
199 |
cp "${ROOT}/var/lib/games/${basefile}" \ |
200 |
"${D}/var/lib/games/${basefile}" |
201 |
fi |
202 |
done |
203 |
} |
204 |
|
205 |
pkg_postinst() { |
206 |
games_pkg_postinst |
207 |
games-ggz_update_modules |
208 |
gnome2_pkg_postinst |
209 |
python_need_rebuild |
210 |
python_mod_optimize $(python_get_sitedir)/gnome_sudoku |
211 |
if use opengl; then |
212 |
python_mod_optimize $(python_get_sitedir)/glchess |
213 |
fi |
214 |
} |
215 |
|
216 |
pkg_postrm() { |
217 |
games-ggz_update_modules |
218 |
gnome2_pkg_postrm |
219 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/{gnome_sudoku,glchess} |
220 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/glchess |
221 |
} |