summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-13 17:21:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-13 17:21:48 +0000
commit4d3312c025378810d3dc25b4d8fe3a19c2026a1a (patch)
tree4f1a8bf099f031cea089d9a3d658307cba4c60ef /games-kids/gcompris
parent0.14 update (diff)
downloadhistorical-4d3312c025378810d3dc25b4d8fe3a19c2026a1a.tar.gz
historical-4d3312c025378810d3dc25b4d8fe3a19c2026a1a.tar.bz2
historical-4d3312c025378810d3dc25b4d8fe3a19c2026a1a.zip
version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'games-kids/gcompris')
-rw-r--r--games-kids/gcompris/ChangeLog10
-rw-r--r--games-kids/gcompris/Manifest5
-rw-r--r--games-kids/gcompris/files/gcompris-8.4.3-build.patch132
-rw-r--r--games-kids/gcompris/gcompris-8.4.3.ebuild73
4 files changed, 217 insertions, 3 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog
index 1b723e7588d0..71d2182317dd 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.36 2007/10/30 19:31:26 mr_bones_ Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.37 2008/02/13 17:21:47 mr_bones_ Exp $
+
+*gcompris-8.4.3 (13 Feb 2008)
+
+ 13 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/gcompris-8.4.3-build.patch, +gcompris-8.4.3.ebuild:
+ version bump
*gcompris-8.4.2 (30 Oct 2007)
diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest
index 24121099cec9..3b3e8f94e63e 100644
--- a/games-kids/gcompris/Manifest
+++ b/games-kids/gcompris/Manifest
@@ -1,7 +1,10 @@
AUX gcompris-8.4.2-build.patch 5212 RMD160 286b2f45252715f604d25d70df3e752364881eee SHA1 888c0bc21665ba934ab276c7ae058ccafe963e37 SHA256 003d0d81ab28bf55f8d3cb8d1ca54cc318c987e6f468ccc823be70706342d806
+AUX gcompris-8.4.3-build.patch 5212 RMD160 286b2f45252715f604d25d70df3e752364881eee SHA1 888c0bc21665ba934ab276c7ae058ccafe963e37 SHA256 003d0d81ab28bf55f8d3cb8d1ca54cc318c987e6f468ccc823be70706342d806
DIST gcompris-6.5.3.tar.gz 43519786 RMD160 7e17a5ad1c2a7f2236b6cf730a7eddadc38281be SHA1 0bcf89cac9c464fcd3cb2dc82b46f49d862f3c1f SHA256 78bc8932160ccd1db78d5431675034a3b0bbe695371276ca01fe6ae49d35ffa1
DIST gcompris-8.4.2.tar.gz 86192832 RMD160 29fe36aad0a517734869eb86465395340b014e7e SHA1 7040ec1b1e95761c96c9bf21e55040c6cb8d70c0 SHA256 d3aca527bc66f2fddeb987b40a69a5c09dc6a3ca400f7b004d962aa30f281daf
+DIST gcompris-8.4.3.tar.gz 89639234 RMD160 be2c4a32feab668c65cf62be98fdf95ac5466607 SHA1 0b5b908fd95c1eeae5bd346edfdeab75e4092cbc SHA256 dc336d02401e7e946e1b9f525298d4b14a1fa462146f3a923e6cdd7ac0b18e5e
EBUILD gcompris-6.5.3-r1.ebuild 1575 RMD160 ef05347516707c5d09799b2983d87e7bbb9a2504 SHA1 b0dc633672cb3376b543d126e24878c4eef9d288 SHA256 e00f7e39ccc7872fd6c9c93589d6640f9dba0503d262be323530464404fabc96
EBUILD gcompris-8.4.2.ebuild 1786 RMD160 85623159ed47d483af9d89b6d978b95765f15da7 SHA1 1873762bd4ba47eb1624406973bd147b8e86444f SHA256 c3f1587db2cdb30b7cd71ea026db0327b7cbf1a91e60e0f9c485d24ab324ba04
-MISC ChangeLog 5374 RMD160 a1529f7c41dd5618f9b0635d3786820ea9025153 SHA1 b933dc7b821eee09e1f7773eb8132f346bc961f0 SHA256 0507f8665aea0efd1c8ac2d311a62f5d136735db3a41befd624994ede1cb5426
+EBUILD gcompris-8.4.3.ebuild 1790 RMD160 07c9ed0cd54a4aa62051ade4a580e478d24f8505 SHA1 ca94685e03ff84d50d2b90301a19903aedb5480d SHA256 da08a834a50152b4fa634d04db5d08a7a52974c09f8dc91c51e37be4fd503096
+MISC ChangeLog 5537 RMD160 02e454186109942c793d4d95198664a726bdac9b SHA1 76ceeb11ec9b58ae73278be281b8d077695ed71c SHA256 7946dcb1b4b5ceceb54c08cd9a67ad9c7f25a2b10f9789386dd071e99b0b0636
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-kids/gcompris/files/gcompris-8.4.3-build.patch b/games-kids/gcompris/files/gcompris-8.4.3-build.patch
new file mode 100644
index 000000000000..b7e8f4f7fb6c
--- /dev/null
+++ b/games-kids/gcompris/files/gcompris-8.4.3-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.3.ebuild b/games-kids/gcompris/gcompris-8.4.3.ebuild
new file mode 100644
index 000000000000..ab5c2d006670
--- /dev/null
+++ b/games-kids/gcompris/gcompris-8.4.3.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-8.4.3.ebuild,v 1.1 2008/02/13 17:21:47 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*
+ =media-libs/gstreamer-0.10*
+ >=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-3* )"
+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
+}