summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-01-14 23:02:17 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-01-14 23:02:17 +0000
commit358b8f87a5bb6892c9c2b8157ddad2a11a503021 (patch)
tree023d808772a936252359dc00d7b85fcb1b95fed6 /gnome-extra/gnome-games
parentarm stable, bug #294958 (diff)
downloadgentoo-2-358b8f87a5bb6892c9c2b8157ddad2a11a503021.tar.gz
gentoo-2-358b8f87a5bb6892c9c2b8157ddad2a11a503021.tar.bz2
gentoo-2-358b8f87a5bb6892c9c2b8157ddad2a11a503021.zip
New version for Gnome 2.28.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-games')
-rw-r--r--gnome-extra/gnome-games/ChangeLog12
-rw-r--r--gnome-extra/gnome-games/files/gnome-games-2.28.1-conflicting-types-libgames-support.patch33
-rw-r--r--gnome-extra/gnome-games/gnome-games-2.24.3.ebuild6
-rw-r--r--gnome-extra/gnome-games/gnome-games-2.28.2.ebuild (renamed from gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild)66
4 files changed, 85 insertions, 32 deletions
diff --git a/gnome-extra/gnome-games/ChangeLog b/gnome-extra/gnome-games/ChangeLog
index 789c87fd26fb..d6de44230a85 100644
--- a/gnome-extra/gnome-games/ChangeLog
+++ b/gnome-extra/gnome-games/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/gnome-games
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.281 2009/12/03 17:27:47 ranger Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.282 2010/01/14 23:02:16 eva Exp $
+
+*gnome-games-2.28.2 (14 Jan 2010)
+
+ 14 Jan 2010; Gilles Dartiguelongue <eva@gentoo.org>
+ gnome-games-2.24.3.ebuild, -gnome-games-2.26.2-r1.ebuild,
+ +files/gnome-games-2.28.1-conflicting-types-libgames-support.patch,
+ +gnome-games-2.28.2.ebuild:
+ New version for Gnome 2.28.
03 Dec 2009; Brent Baude <ranger@gentoo.org> ChangeLog:
Marking gnome-games-2.26.3-r1 ppc64 stable for bug 281427
diff --git a/gnome-extra/gnome-games/files/gnome-games-2.28.1-conflicting-types-libgames-support.patch b/gnome-extra/gnome-games/files/gnome-games-2.28.1-conflicting-types-libgames-support.patch
new file mode 100644
index 000000000000..d8fbe4e05a01
--- /dev/null
+++ b/gnome-extra/gnome-games/files/gnome-games-2.28.1-conflicting-types-libgames-support.patch
@@ -0,0 +1,33 @@
+From: Romain Perier <mrpouet@gentoo.org>
+Date: Sun, 8 Nov 2009 19:27:56 +0100
+Subject: Fix conflicting types for games_sound_init
+
+The problem was caused by two differents functions, matching the same name,
+but without the same proto.
+Usually the commonly way is to prefix static functions by a '_' because this is useful only
+for the implementation.
+
+---
+ libgames-support/games-sound.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/libgames-support/games-sound.c
++++ b/libgames-support/games-sound.c
+@@ -157,7 +157,7 @@ games_sound_canberra_play (const char *sound_name,
+
+ /* Initializes the games-sound support */
+ static void
+-games_sound_init (void)
++_games_sound_init (void)
+ {
+ const int audio_rate = MIX_DEFAULT_FREQUENCY;
+ const int audio_format = MIX_DEFAULT_FORMAT;
+@@ -272,7 +272,7 @@ games_sound_play_for_screen (const gchar * sound_name,
+ if (!sound_enabled)
+ return;
+ if (!sound_init)
+- games_sound_init ();
++ _games_sound_init ();
+
+ games_sound_sdl_play (sound_name);
+ #endif
diff --git a/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild b/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild
index 8a6ca99e9da3..3d793ded317c 100644
--- a/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild
+++ b/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild,v 1.14 2009/05/04 14:58:05 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.24.3.ebuild,v 1.15 2010/01/14 23:02:16 eva Exp $
GCONF_DEBUG="no"
@@ -13,7 +13,7 @@ HOMEPAGE="http://live.gnome.org/GnomeGames/"
LICENSE="GPL-2 FDL-1.1"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd"
+KEYWORDS="hppa sh"
IUSE="artworkextra guile opengl"
# sh doesn't have bug-buddy-python because gdb is broken.
diff --git a/gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild b/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild
index d4f524f48ffe..6e4e73ca9992 100644
--- a/gnome-extra/gnome-games/gnome-games-2.26.2-r1.ebuild
+++ b/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $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 $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.28.2.ebuild,v 1.1 2010/01/14 23:02:16 eva Exp $
EAPI="2"
GCONF_DEBUG="no"
-WANT_AUTOMAKE="1.10"
+WANT_AUTOMAKE="1.11"
# make sure games is inherited first so that the gnome2
# functions will be called if they are not overridden
@@ -16,38 +16,38 @@ HOMEPAGE="http://live.gnome.org/GnomeGames/"
LICENSE="GPL-2 FDL-1.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="artworkextra guile opengl test +gstreamer"
+IUSE="artworkextra guile opengl sdl test" # introspection
-RDEPEND=">=dev-python/pygtk-2.10
- dev-python/pygobject
- >=x11-libs/gtk+-2.14
+# Introspection support needs
+# media-libs/clutter
+# >=dev-libs/gobject-introspection 0.6.3
+# and generates GnomeGames...gir
+RDEPEND="
+ >=dev-games/libggz-0.0.14
+ >=dev-games/ggz-client-libs-0.0.14
>=dev-libs/dbus-glib-0.75
-
+ >=dev-libs/glib-2.6.3
+ >=dev-libs/libxml2-2.4.0
>=dev-python/gconf-python-2.17.3
- !sh? ( >=dev-python/bug-buddy-python-2.17.3 )
- >=dev-python/libgnomeprint-python-2.17.3
-
- >=x11-libs/cairo-1
+ >=dev-python/pygobject-2
+ >=dev-python/pygtk-2.14
>=dev-python/pycairo-1
>=gnome-base/gconf-2
- >=dev-libs/libxml2-2.4.0
>=gnome-base/librsvg-2.14
- gstreamer? ( >=media-libs/gstreamer-0.10.11 )
- !gstreamer? (
+ >=x11-libs/cairo-1
+ >=x11-libs/gtk+-2.16
+ x11-libs/libSM
+
+ !sdl? ( media-libs/libcanberra[gtk] )
+ sdl? (
media-libs/libsdl
media-libs/sdl-mixer[vorbis] )
- >=gnome-base/libglade-2
- >=dev-libs/glib-2.6.3
- >=dev-games/libggz-0.0.14
- >=dev-games/ggz-client-libs-0.0.14
-
guile? ( >=dev-scheme/guile-1.6.5[deprecated,regex] )
artworkextra? ( gnome-extra/gnome-games-extra-data )
opengl? (
dev-python/pygtkglext
>=dev-python/pyopengl-3 )
- !games-board/glchess
- x11-libs/libSM"
+ !games-board/glchess"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.53
@@ -75,16 +75,19 @@ pkg_setup() {
games_pkg_setup
# Decide the sound backend to use - GStreamer gets preference over SDL
- if use gstreamer; then
- G2CONF="${G2CONF} --with-sound=gstreamer"
- else
+ if use sdl; then
G2CONF="${G2CONF} --with-sound=sdl_mixer"
+ else
+ G2CONF="${G2CONF} --with-sound=libcanberra"
fi
# Needs "seed", which needs gobject-introspection, libffi, etc.
#$(use_enable clutter)
#$(use_enable clutter staging)
+ #$(use_enable introspection)
G2CONF="${G2CONF}
+ $(use_enable test tests)
+ --disable-introspection
--disable-card-themes-installer
--with-scores-group=${GAMES_GROUP}
--enable-noregistry=\"${GGZ_MODDIR}\"
@@ -96,6 +99,8 @@ pkg_setup() {
# Needs clutter, always disable till we can have that
#if ! use clutter; then
_omitgame lightsoff
+ _omitgame gnometris
+ _omitgame same-gnome-clutter
#fi
if ! use guile; then
@@ -116,8 +121,15 @@ src_prepare() {
mv py-compile py-compile.orig
ln -s $(type -P true) py-compile
- # Fix parallel make install issue for setgid, bug #267041
- epatch "${FILESDIR}/${PN}-2.26.2-parallel-make.patch"
+ # Fix implicit declaration of yylex.
+ epatch "${FILESDIR}/${PN}-2.26.3-implicit-declaration.patch"
+
+ # Fix bug #281718 -- *** glibc detected *** gtali: free(): invalid pointer
+ epatch "${FILESDIR}/${PN}-2.26.3-gtali-invalid-pointer.patch"
+
+ # Fix build failure, conflicting types for 'games_sound_init',
+ # in libgames-support/games_sound.c.
+ epatch "${FILESDIR}/${PN}-2.28.1-conflicting-types-libgames-support.patch"
# If calling eautoreconf, this ebuild uses libtool-2
eautomake