1 |
eva 08/11/29 19:07:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnome-games-2.24.2.ebuild |
5 |
Removed: gnome-games-2.22.2.1.ebuild |
6 |
gnome-games-2.24.1.ebuild |
7 |
Log: |
8 |
Bump to 2.24.2. Bug fixes. |
9 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.256 gnome-extra/gnome-games/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.256&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?rev=1.256&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/ChangeLog?r1=1.255&r2=1.256 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v |
21 |
retrieving revision 1.255 |
22 |
retrieving revision 1.256 |
23 |
diff -u -r1.255 -r1.256 |
24 |
--- ChangeLog 13 Nov 2008 19:49:02 -0000 1.255 |
25 |
+++ ChangeLog 29 Nov 2008 19:07:22 -0000 1.256 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for gnome-extra/gnome-games |
28 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.255 2008/11/13 19:49:02 ranger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.256 2008/11/29 19:07:22 eva Exp $ |
31 |
+ |
32 |
+*gnome-games-2.24.2 (29 Nov 2008) |
33 |
+ |
34 |
+ 29 Nov 2008; Gilles Dartiguelongue <eva@g.o> |
35 |
+ -gnome-games-2.22.2.1.ebuild, -gnome-games-2.24.1.ebuild, |
36 |
+ +gnome-games-2.24.2.ebuild: |
37 |
+ Bump to 2.24.2. Bug fixes. |
38 |
|
39 |
13 Nov 2008; Brent Baude <ranger@g.o> gnome-games-2.22.3.ebuild: |
40 |
Marking gnome-games-2.22.3 ppc64 stable for bug 236971 |
41 |
|
42 |
|
43 |
|
44 |
1.1 gnome-extra/gnome-games/gnome-games-2.24.2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gnome-games-2.24.2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.2.ebuild,v 1.1 2008/11/29 19:07:22 eva Exp $ |
54 |
|
55 |
# make sure games is inherited first so that the gnome2 |
56 |
# functions will be called if they are not overridden |
57 |
inherit games games-ggz eutils gnome2 python virtualx |
58 |
|
59 |
DESCRIPTION="Collection of games for the GNOME desktop" |
60 |
HOMEPAGE="http://live.gnome.org/GnomeGames/" |
61 |
|
62 |
LICENSE="GPL-2 FDL-1.1" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
65 |
IUSE="artworkextra guile opengl" |
66 |
|
67 |
RDEPEND=">=gnome-base/libgnomeui-2.16.0 |
68 |
>=gnome-base/libgnome-2.16.0 |
69 |
>=dev-python/pygtk-2.10 |
70 |
>=dev-python/gnome-python-desktop-2.17.3 |
71 |
>=x11-libs/gtk+-2.12 |
72 |
>=gnome-base/gconf-2 |
73 |
>=x11-libs/cairo-1 |
74 |
>=dev-libs/libxml2-2.4.0 |
75 |
>=gnome-base/librsvg-2.14 |
76 |
>=media-libs/gstreamer-0.10.11 |
77 |
>=gnome-base/libglade-2 |
78 |
>=dev-libs/glib-2.6.3 |
79 |
>=dev-games/libggz-0.0.14 |
80 |
>=dev-games/ggz-client-libs-0.0.14 |
81 |
guile? ( >=dev-scheme/guile-1.6.5 ) |
82 |
artworkextra? ( gnome-extra/gnome-games-extra-data ) |
83 |
opengl? ( dev-python/pygtkglext ) |
84 |
!games-board/glchess" |
85 |
|
86 |
DEPEND="${RDEPEND} |
87 |
>=sys-devel/autoconf-2.53 |
88 |
>=dev-util/pkgconfig-0.15 |
89 |
>=dev-util/intltool-0.35 |
90 |
>=sys-devel/gettext-0.10.40 |
91 |
>=gnome-base/gnome-common-2.12.0 |
92 |
>=app-text/scrollkeeper-0.3.8 |
93 |
app-text/gnome-doc-utils" |
94 |
|
95 |
# Others are installed below; multiples in this package. |
96 |
DOCS="AUTHORS HACKING MAINTAINERS TODO" |
97 |
|
98 |
# dang make-check fails on docs with -j > 1. Restrict them for the moment until |
99 |
# it can be chased down. |
100 |
RESTRICT="test" |
101 |
|
102 |
pkg_setup() { |
103 |
# create the games user / group |
104 |
games_pkg_setup |
105 |
|
106 |
G2CONF="${G2CONF} |
107 |
--with-scores-group=${GAMES_GROUP} |
108 |
--enable-noregistry=\"${GGZ_MODDIR}\" |
109 |
--with-platform=gnome |
110 |
--with-sound=gstreamer |
111 |
--enable-scalable" |
112 |
|
113 |
if use guile; then |
114 |
if has_version =dev-scheme/guile-1.8*; then |
115 |
local flags="deprecated regex" |
116 |
built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags" |
117 |
fi |
118 |
else |
119 |
ewarn "USE='-guile' implies that Aisleriot won't be installed" |
120 |
G2CONF="${G2CONF} --enable-omitgames=aisleriot" |
121 |
fi |
122 |
} |
123 |
|
124 |
src_unpack() { |
125 |
gnome2_src_unpack |
126 |
|
127 |
# disable pyc compiling |
128 |
mv py-compile py-compile.orig |
129 |
ln -s $(type -P true) py-compile |
130 |
} |
131 |
|
132 |
src_test() { |
133 |
Xemake check || die "tests failed" |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
gnome2_src_install |
138 |
|
139 |
# Documentation install for each of the games |
140 |
for game in \ |
141 |
$(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do |
142 |
docinto ${game} |
143 |
for doc in AUTHORS ChangeLog NEWS README TODO; do |
144 |
[ -s ${game}/${doc} ] && dodoc ${game}/${doc} |
145 |
done |
146 |
done |
147 |
} |
148 |
|
149 |
pkg_preinst() { |
150 |
gnome2_pkg_preinst |
151 |
# Avoid overwriting previous .scores files |
152 |
local basefile |
153 |
for scorefile in "${D}"/var/lib/games/*.scores; do |
154 |
basefile=$(basename $scorefile) |
155 |
if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then |
156 |
cp "${ROOT}/var/lib/games/${basefile}" \ |
157 |
"${D}/var/lib/games/${basefile}" |
158 |
fi |
159 |
done |
160 |
} |
161 |
|
162 |
pkg_postinst() { |
163 |
games_pkg_postinst |
164 |
games-ggz_update_modules |
165 |
gnome2_pkg_postinst |
166 |
python_version |
167 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
168 |
} |
169 |
|
170 |
pkg_postrm() { |
171 |
games-ggz_update_modules |
172 |
gnome2_pkg_postrm |
173 |
python_mod_cleanup /usr/$(get_libdir)/python*/site-packages |
174 |
} |