diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-08 00:46:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2007-10-08 00:46:02 +0000 |
commit | 001008ea98032c4702fb5694de803a9ce5eb510f (patch) | |
tree | 8e6fcb3dc3bff78c13fdea6eabdabde049ef5abb /games-kids | |
parent | old (diff) | |
download | gentoo-2-001008ea98032c4702fb5694de803a9ce5eb510f.tar.gz gentoo-2-001008ea98032c4702fb5694de803a9ce5eb510f.tar.bz2 gentoo-2-001008ea98032c4702fb5694de803a9ce5eb510f.zip |
version bump - build patch update from Denis Dupeyron (bug #190541)
(Portage version: 2.1.3.9)
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/gcompris/files/digest-gcompris-8.4 | 3 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-8.4-build.patch | 132 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-8.4.ebuild | 72 |
4 files changed, 214 insertions, 1 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index bf5d6a1ffeaf..337661c064e8 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-kids/gcompris # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.33 2007/03/10 10:54:19 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.34 2007/10/08 00:46:01 mr_bones_ Exp $ + +*gcompris-8.4 (08 Oct 2007) + + 08 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org> + +files/gcompris-8.4-build.patch, +gcompris-8.4.ebuild: + version bump - build patch update from Denis Dupeyron (bug #190541) *gcompris-8.2.2 (10 Mar 2007) diff --git a/games-kids/gcompris/files/digest-gcompris-8.4 b/games-kids/gcompris/files/digest-gcompris-8.4 new file mode 100644 index 000000000000..561dd89e90a3 --- /dev/null +++ b/games-kids/gcompris/files/digest-gcompris-8.4 @@ -0,0 +1,3 @@ +MD5 33e5882945f43232953478c93eacf0e6 gcompris-8.4.tar.gz 80870841 +RMD160 60912fbcdf0bb4bcc8f57533a42a46307e307db5 gcompris-8.4.tar.gz 80870841 +SHA256 121697ba5a3f152c4ea5ba1a1e151b771186992245e45c93821c8401d909be06 gcompris-8.4.tar.gz 80870841 diff --git a/games-kids/gcompris/files/gcompris-8.4-build.patch b/games-kids/gcompris/files/gcompris-8.4-build.patch new file mode 100644 index 000000000000..b7e8f4f7fb6c --- /dev/null +++ b/games-kids/gcompris/files/gcompris-8.4-build.patch @@ -0,0 +1,132 @@ +diff -Ndur gcompris-8.3.3.orig/configure.in gcompris-8.3.3.patched/configure.in +--- gcompris-8.3.3.orig/configure.in 2007-08-16 01:09:34.000000000 +0200 ++++ gcompris-8.3.3.patched/configure.in 2007-08-22 07:51:31.000000000 +0200 +@@ -258,10 +258,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]) +@@ -330,25 +328,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 +diff -Ndur gcompris-8.3.3.orig/docs/C/Makefile.am gcompris-8.3.3.patched/docs/C/Makefile.am +--- gcompris-8.3.3.orig/docs/C/Makefile.am 2007-06-17 21:23:54.000000000 +0200 ++++ gcompris-8.3.3.patched/docs/C/Makefile.am 2007-08-22 07:35:21.000000000 +0200 +@@ -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 -Ndur gcompris-8.3.3.orig/docs/eu/Makefile.am gcompris-8.3.3.patched/docs/eu/Makefile.am +--- gcompris-8.3.3.orig/docs/eu/Makefile.am 2007-06-17 21:23:55.000000000 +0200 ++++ gcompris-8.3.3.patched/docs/eu/Makefile.am 2007-08-22 07:35:21.000000000 +0200 +@@ -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 -Ndur gcompris-8.3.3.orig/docs/fr/Makefile.am gcompris-8.3.3.patched/docs/fr/Makefile.am +--- gcompris-8.3.3.orig/docs/fr/Makefile.am 2007-06-17 21:23:55.000000000 +0200 ++++ gcompris-8.3.3.patched/docs/fr/Makefile.am 2007-08-22 07:35:21.000000000 +0200 +@@ -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 -Ndur gcompris-8.3.3.orig/Makefile.am gcompris-8.3.3.patched/Makefile.am +--- gcompris-8.3.3.orig/Makefile.am 2007-06-17 21:27:17.000000000 +0200 ++++ gcompris-8.3.3.patched/Makefile.am 2007-08-22 07:59:08.000000000 +0200 +@@ -17,7 +17,7 @@ + endif + + +-icondir=$(datadir)/pixmaps ++icondir=/usr/share/pixmaps + icon_DATA = gcompris.png gcompris-edit.png + + if BUILD_MINGW32 +@@ -29,12 +29,10 @@ + Menu_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 + +-Menudir=$(prefix)/lib/menu +-Menu_DATA=gcompris + endif + + @INTLTOOL_DESKTOP_RULE@ +diff -Ndur gcompris-8.3.3.orig/po/Makefile.in.in gcompris-8.3.3.patched/po/Makefile.in.in +--- gcompris-8.3.3.orig/po/Makefile.in.in 2007-03-05 11:52:19.000000000 +0100 ++++ gcompris-8.3.3.patched/po/Makefile.in.in 2007-08-22 07:35:21.000000000 +0200 +@@ -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 -Ndur gcompris-8.3.3.orig/src/gcompris/gcompris.c gcompris-8.3.3.patched/src/gcompris/gcompris.c +--- gcompris-8.3.3.orig/src/gcompris/gcompris.c 2007-06-19 00:19:49.000000000 +0200 ++++ gcompris-8.3.3.patched/src/gcompris/gcompris.c 2007-08-22 07:35:21.000000000 +0200 +@@ -1120,7 +1120,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.ebuild b/games-kids/gcompris/gcompris-8.4.ebuild new file mode 100644 index 000000000000..bf923cb4a931 --- /dev/null +++ b/games-kids/gcompris/gcompris-8.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-8.4.ebuild,v 1.1 2007/10/08 00:46:01 mr_bones_ Exp $ + +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-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug gnet python sqlite" + +RDEPEND="=x11-libs/gtk+-2* + >=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-python/gnome-python + dev-python/pygtk + dev-python/pyxml + >=dev-python/pysqlite-2 + ) + sqlite? ( dev-db/sqlite )" +DEPEND="${RDEPEND} + sys-devel/gettext + sys-apps/texinfo + app-text/texi2html + dev-util/pkgconfig" +RDEPEND="${RDEPEND} + media-gfx/tuxpaint + sci-electronics/gnucap" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-build.patch + cp /usr/share/gettext/config.rpath . + eautoreconf +} + +src_compile() { + python_version + GNUCHESS="${GAMES_BINDIR}"/gnuchess \ + egamesconf \ + --datarootdir="${GAMES_DATADIR}" \ + --datadir="${GAMES_DATADIR}" \ + --localedir=/usr/share/locale \ + --infodir=/usr/share/info \ + --disable-dependency-tracking \ + --enable-xf86vidmode \ + --disable-cairo \ + $(use_with python python /usr/bin/python${PYVER}) \ + $(use_enable debug) \ + $(use_enable gnet) \ + $(use_enable sqlite) \ + || die + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + prepgamesdirs +} |