diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-31 07:11:56 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-05-31 07:11:56 +0000 |
commit | 0a79e2506b76a9c133b4a629f572879c8987945b (patch) | |
tree | ba7455774290df45cb67c2818d6a926a58766db5 /games-kids/gcompris | |
parent | Remove unneeded patches. (diff) | |
download | gentoo-2-0a79e2506b76a9c133b4a629f572879c8987945b.tar.gz gentoo-2-0a79e2506b76a9c133b4a629f572879c8987945b.tar.bz2 gentoo-2-0a79e2506b76a9c133b4a629f572879c8987945b.zip |
version bump
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-kids/gcompris')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-8.4.12-build.patch | 240 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-8.4.12.ebuild | 77 |
3 files changed, 324 insertions, 1 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 0231252dd484..fef45a8aee7d 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-kids/gcompris # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.45 2009/01/19 04:40:40 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.46 2009/05/31 07:11:55 mr_bones_ Exp $ + +*gcompris-8.4.12 (31 May 2009) + + 31 May 2009; Michael Sterrett <mr_bones_@gentoo.org> + +files/gcompris-8.4.12-build.patch, +gcompris-8.4.12.ebuild: + version bump 19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> files/gcompris-8.4.8-build.patch, gcompris-8.4.8.ebuild: diff --git a/games-kids/gcompris/files/gcompris-8.4.12-build.patch b/games-kids/gcompris/files/gcompris-8.4.12-build.patch new file mode 100644 index 000000000000..5615c9e7d633 --- /dev/null +++ b/games-kids/gcompris/files/gcompris-8.4.12-build.patch @@ -0,0 +1,240 @@ +diff -ru gcompris-8.4.12.orig/Makefile.am gcompris-8.4.12/Makefile.am +--- gcompris-8.4.12.orig/Makefile.am 2008-12-14 15:30:56.000000000 -0500 ++++ gcompris-8.4.12/Makefile.am 2009-05-31 01:04:35.000000000 -0400 +@@ -17,7 +17,7 @@ + endif + + +-icondir=$(datadir)/pixmaps ++icondir=/usr/share/pixmaps + icon_DATA = gcompris.png gcompris-edit.png + + if BUILD_MINGW32 +@@ -25,7 +25,7 @@ + Applications_in_files = + Applications_DATA = + else +-Applicationsdir = $(datadir)/applications/ ++Applicationsdir = /usr/share/applications + Applications_in_files = gcompris.desktop.in gcompris-edit.desktop.in + Applications_DATA = gcompris.desktop gcompris-edit.desktop + endif +diff -ru gcompris-8.4.12.orig/configure.in gcompris-8.4.12/configure.in +--- gcompris-8.4.12.orig/configure.in 2009-03-29 06:35:55.000000000 -0400 ++++ gcompris-8.4.12/configure.in 2009-05-31 01:09:09.000000000 -0400 +@@ -146,6 +146,14 @@ + AC_SUBST(XML_CFLAGS) + AC_SUBST(XML_LIBS) + ++PKG_CHECK_MODULES(LIBGNOMECANVAS, libgnomecanvas-2.0) ++AC_SUBST(LIBGNOMECANVAS_CFLAGS) ++AC_SUBST(LIBGNOMECANVAS_LIBS) ++ ++PKG_CHECK_MODULES(LIBART_LGPL, libart-2.0) ++AC_SUBST(LIBART_LGPL_CFLAGS) ++AC_SUBST(LIBART_LGPL_LIBS) ++ + dnl Freetype2 flags (needed for libgnomecanvas) + PKG_CHECK_MODULES(FT2, freetype2) + AC_SUBST(FT2_CFLAGS) +@@ -225,10 +233,8 @@ + USE_DEBUG="$enableval", USE_DEBUG="no") + if test "x$USE_DEBUG" == "xyes" ; then + AC_DEFINE_UNQUOTED(DEBUG, 1, "Enable debug messages.") +- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror -g" +-else +- CFLAGS="$CFLAGS $OSX_CFLAGS -Wall -Werror" + fi ++CFLAGS="$CFLAGS $OSX_CFLAGS -Wall" + + dnl WIN32 Specifics + AC_MSG_CHECKING([for native Win32]) +@@ -297,25 +303,25 @@ + if test "x$platform_win32" = "xno" ; then + + dnl Set PACKAGE_LOCALE_DIR in config.h. +- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${myprefix}/${DATADIRNAME}/locale", [GCompris locale directory]) ++ AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "/usr/share/locale", [GCompris locale directory]) + + dnl Set PACKAGE_DATA_DIR + PACKAGE_DATA_DIR="boards" + AC_SUBST(PACKAGE_DATA_DIR) +- AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${myprefix}/${DATADIRNAME}", [GCompris data directory]) ++ AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${datadir}", [GCompris data directory]) + + dnl Set PACKAGE_HELP_DIR +- PACKAGE_HELP_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/help" ++ PACKAGE_HELP_DIR="${datadir}/${PACKAGE}/help" + AC_SUBST(PACKAGE_HELP_DIR) + + dnl Plugin Directory + my_libdir=`eval echo "${libdir}"` +- AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${my_libdir}", [Gcompris plugins directory]) ++ AC_DEFINE_UNQUOTED(PACKAGE_CLIB_DIR, "${libdir}", [Gcompris plugins directory]) + plugindir=$libdir/gcompris + AC_SUBST(plugindir) + + dnl Python plugin Directory +- PYTHON_PLUGIN_DIR="${myprefix}/${DATADIRNAME}/${PACKAGE}/python" ++ PYTHON_PLUGIN_DIR="${datadir}/${PACKAGE}/python" + AC_SUBST(PYTHON_PLUGIN_DIR) + + dnl System GCompris config directory +@@ -545,8 +551,6 @@ + src/boards/python/gcompris/utils/Makefile + src/boards/python/connect4p/Makefile + src/boards/python/admin/Makefile +-src/libart_lgpl/Makefile +-src/libgnomecanvas/Makefile + po/Makefile.in + docs/Makefile + docs/C/Makefile +diff -ru gcompris-8.4.12.orig/docs/C/Makefile.am gcompris-8.4.12/docs/C/Makefile.am +--- gcompris-8.4.12.orig/docs/C/Makefile.am 2008-03-12 16:26:23.000000000 -0400 ++++ gcompris-8.4.12/docs/C/Makefile.am 2009-05-31 01:09:44.000000000 -0400 +@@ -10,7 +10,7 @@ + overview.dia \ + $(man_MANS) + +-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/C ++gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/C + + all: $(doc) + +diff -ru gcompris-8.4.12.orig/docs/eu/Makefile.am gcompris-8.4.12/docs/eu/Makefile.am +--- gcompris-8.4.12.orig/docs/eu/Makefile.am 2008-10-28 17:36:12.000000000 -0400 ++++ gcompris-8.4.12/docs/eu/Makefile.am 2009-05-31 01:10:09.000000000 -0400 +@@ -8,7 +8,7 @@ + overview.dia \ + gcompris.texi + +-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/eu ++gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/eu + + all: $(doc) + +diff -ru gcompris-8.4.12.orig/docs/fr/Makefile.am gcompris-8.4.12/docs/fr/Makefile.am +--- gcompris-8.4.12.orig/docs/fr/Makefile.am 2008-10-28 17:35:25.000000000 -0400 ++++ gcompris-8.4.12/docs/fr/Makefile.am 2009-05-31 01:10:17.000000000 -0400 +@@ -8,7 +8,7 @@ + overview.dia \ + gcompris.texi + +-gcompris_helpdir = $(datadir)/gnome/help/$(PACKAGE)/fr ++gcompris_helpdir = /usr/share/gnome/help/$(PACKAGE)/fr + + all: $(doc) + +diff -ru gcompris-8.4.12.orig/po/Makefile.in.in gcompris-8.4.12/po/Makefile.in.in +--- gcompris-8.4.12.orig/po/Makefile.in.in 2009-03-29 06:39:29.000000000 -0400 ++++ gcompris-8.4.12/po/Makefile.in.in 2009-05-31 01:10:51.000000000 -0400 +@@ -34,7 +34,7 @@ + datarootdir = @datarootdir@ + libdir = @libdir@ + DATADIRNAME = @DATADIRNAME@ +-itlocaledir = $(prefix)/$(DATADIRNAME)/locale ++itlocaledir = /usr/share/locale + subdir = po + install_sh = @install_sh@ + # Automake >= 1.8 provides @mkdir_p@. +diff -ru gcompris-8.4.12.orig/src/Makefile.am gcompris-8.4.12/src/Makefile.am +--- gcompris-8.4.12.orig/src/Makefile.am 2007-05-22 16:15:05.000000000 -0400 ++++ gcompris-8.4.12/src/Makefile.am 2009-05-31 01:11:02.000000000 -0400 +@@ -1,3 +1,3 @@ + ## Process this file with automake to produce Makefile.in + +-SUBDIRS = libart_lgpl libgnomecanvas gcompris boards ++SUBDIRS = gcompris boards +diff -ru gcompris-8.4.12.orig/src/boards/Makefile.am gcompris-8.4.12/src/boards/Makefile.am +--- gcompris-8.4.12.orig/src/boards/Makefile.am 2009-03-16 17:59:02.000000000 -0400 ++++ gcompris-8.4.12/src/boards/Makefile.am 2009-05-31 01:12:45.000000000 -0400 +@@ -80,6 +80,8 @@ + -I$(top_srcdir)/src \ + $(GCOMPRIS_CFLAGS) \ + $(XML_CFLAGS) \ ++ $(LIBART_LGPL_CFLAGS) \ ++ $(LIBGNOMECANVAS_CFLAGS) \ + $(PYTHON_CFLAGS) \ + $(PYGTK_CFLAGS) \ + $(sqlite_cflags) \ +@@ -110,7 +112,7 @@ + libclockgame_la_SOURCES = clockgame.c + + +-libshapegame_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) ++libshapegame_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) + libshapegame_la_LIBADD = + libshapegame_la_SOURCES = shapegame.c + +@@ -154,12 +156,12 @@ + libmemory_la_SOURCES = memory.c + + +-libimageid_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) ++libimageid_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) + libimageid_la_LIBADD = + libimageid_la_SOURCES = imageid.c + + +-libmissingletter_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) ++libmissingletter_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) + libmissingletter_la_LIBADD = + libmissingletter_la_SOURCES = missingletter.c missingletter_config.c + +@@ -208,7 +210,7 @@ + libcanal_lock_la_LIBADD = + libcanal_lock_la_SOURCES = canal_lock.c + +-libadvanced_colors_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) ++libadvanced_colors_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) + libadvanced_colors_la_LIBADD = + libadvanced_colors_la_SOURCES = advanced_colors.c + +@@ -216,7 +218,7 @@ + libsuperbrain_la_LIBADD = + libsuperbrain_la_SOURCES = superbrain.c + +-libread_colors_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) ++libread_colors_la_LDFLAGS = $(shared) $(no_undefined) -module -avoid-version $(gc_libs) $(XML_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) + libread_colors_la_LIBADD = + libread_colors_la_SOURCES = read_colors.c + +diff -ru gcompris-8.4.12.orig/src/gcompris/Makefile.am gcompris-8.4.12/src/gcompris/Makefile.am +--- gcompris-8.4.12.orig/src/gcompris/Makefile.am 2009-02-04 18:26:53.000000000 -0500 ++++ gcompris-8.4.12/src/gcompris/Makefile.am 2009-05-31 01:13:41.000000000 -0400 +@@ -51,6 +51,8 @@ + $(GCOMPRIS_CFLAGS) \ + $(GNOME_INCLUDEDIR) \ + $(XML_CFLAGS) \ ++ $(LIBART_LGPL_CFLAGS) \ ++ $(LIBGNOMECANVAS_CFLAGS) \ + -DGNOME_DISABLE_DEPRECATED \ + $(sqlite_cflags) \ + $(GNET_CFLAGS) \ +@@ -120,12 +122,11 @@ + wordlist.h + + gcompris_LDFLAGS = \ +- -export-dynamic $(top_builddir)/src/libgnomecanvas/libgnomecanvas-2.a \ +- $(top_builddir)/src/libart_lgpl/libart_lgpl_2.a ++ -export-dynamic + + + gcompris_LDADD = \ +- $(GCOMPRIS_LIBS) $(sqlite_ldadd) $(XML_LIBS) $(GNET_LIBS) \ ++ $(GCOMPRIS_LIBS) $(sqlite_ldadd) $(XML_LIBS) $(GNET_LIBS) $(LIBART_LGPL_LIBS) $(LIBGNOMECANVAS_LIBS) \ + $(INTLLIBS) $(NSBUNDLE_LDFLAGS) $(XF86VM_LIBS) + + EXTRA_DIST = \ +diff -ru gcompris-8.4.12.orig/src/gcompris/gcompris.c gcompris-8.4.12/src/gcompris/gcompris.c +--- gcompris-8.4.12.orig/src/gcompris/gcompris.c 2009-02-19 16:51:20.000000000 -0500 ++++ gcompris-8.4.12/src/gcompris/gcompris.c 2009-05-31 01:14:27.000000000 -0400 +@@ -1158,7 +1158,7 @@ + properties->package_locale_dir = gbr_find_locale_dir(PACKAGE_LOCALE_DIR); + properties->package_plugin_dir = g_strconcat(pkg_clib_dir, "/gcompris", NULL); + properties->package_python_plugin_dir = g_strconcat(pkg_data_dir, "/gcompris/python", NULL); +- properties->system_icon_dir = g_strconcat(pkg_data_dir, "/pixmaps", NULL); ++ properties->system_icon_dir = g_strconcat("/usr/share", "/pixmaps", NULL); + g_free(pkg_data_dir); + g_free(pkg_clib_dir); + } diff --git a/games-kids/gcompris/gcompris-8.4.12.ebuild b/games-kids/gcompris/gcompris-8.4.12.ebuild new file mode 100644 index 000000000000..479ade3cd301 --- /dev/null +++ b/games-kids/gcompris/gcompris-8.4.12.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-8.4.12.ebuild,v 1.1 2009/05/31 07:11:55 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils python games + +DESCRIPTION="full featured educational application for children from 2 to 10" +HOMEPAGE="http://gcompris.net/" +SRC_URI="mirror://sourceforge/gcompris/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug gnet python sqlite" + +RDEPEND="x11-libs/gtk+:2 + media-libs/gstreamer:0.10 + media-libs/gst-plugins-good + media-plugins/gst-plugins-ogg + media-plugins/gst-plugins-vorbis + media-libs/libart_lgpl + >=gnome-base/libgnomecanvas-2.3.6 + media-libs/sdl-mixer + media-libs/libsdl + dev-libs/libxml2 + dev-libs/popt + virtual/libintl + games-board/gnuchess + gnet? ( net-libs/gnet:2 ) + python? ( + dev-lang/python[threads] + dev-python/pygtk + sqlite? ( dev-python/pysqlite:2 ) + ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + dev-perl/XML-Parser + sys-devel/gettext + sys-apps/texinfo + app-text/texi2html + dev-util/pkgconfig" +RDEPEND="${RDEPEND} + media-gfx/tuxpaint + sci-electronics/gnucap" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + cp /usr/share/gettext/config.rpath . + eautoreconf +} + +src_configure() { + python_version + GNUCHESS="${GAMES_BINDIR}"/gnuchess \ + egamesconf \ + --disable-dependency-tracking \ + --datarootdir="${GAMES_DATADIR}" \ + --datadir="${GAMES_DATADIR}" \ + --localedir=/usr/share/locale \ + --infodir=/usr/share/info \ + --enable-xf86vidmode \ + $(use_with python python /usr/bin/python${PYVER}) \ + $(use_enable debug) \ + $(use_enable gnet) \ + $(use_enable sqlite) +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + prepgamesdirs +} |