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