summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-25 18:30:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-25 18:30:04 +0000
commit6802d2f86a8e5c47b295ef70f41450dc33e95773 (patch)
tree5136980886d6692ddb341fc82f6d8d8f6ad615b5 /games-kids/gcompris
parentStable for HPPA (bug #308011). (diff)
downloadhistorical-6802d2f86a8e5c47b295ef70f41450dc33e95773.tar.gz
historical-6802d2f86a8e5c47b295ef70f41450dc33e95773.tar.bz2
historical-6802d2f86a8e5c47b295ef70f41450dc33e95773.zip
Version bump wrt #310641 by Denis Dupeyron.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
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-9.2.2-build.patch127
-rw-r--r--games-kids/gcompris/gcompris-9.2.2.ebuild84
4 files changed, 223 insertions, 3 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog
index a8f567b11e8e..d994fd6261d9 100644
--- a/games-kids/gcompris/ChangeLog
+++ b/games-kids/gcompris/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-kids/gcompris
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.48 2009/11/23 13:28:04 volkmar Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.49 2010/03/25 18:30:04 ssuominen Exp $
+
+*gcompris-9.2.2 (25 Mar 2010)
+
+ 25 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +gcompris-9.2.2.ebuild, +files/gcompris-9.2.2-build.patch:
+ Version bump wrt #310641 by Denis Dupeyron.
23 Nov 2009; Mounir Lamouri <volkmar@gentoo.org> gcompris-8.4.12.ebuild:
Stable for ppc, bug 288655
diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest
index b95c2f863840..2c600e5d0599 100644
--- a/games-kids/gcompris/Manifest
+++ b/games-kids/gcompris/Manifest
@@ -1,5 +1,8 @@
AUX gcompris-8.4.12-build.patch 9403 RMD160 c50b64ac6b24ac7747ab26650949693fb2f0c6a4 SHA1 97e557c716073e5392ce30a7719a25cd917e8793 SHA256 ab6796e44b9dfe6e6f80f11f2dce1deee5debf6011c3c5a82d2fdd80fc9901ac
+AUX gcompris-9.2.2-build.patch 5001 RMD160 0e8f39b8f6ff277fbebf556c8bc8a3225e9153a2 SHA1 7709aa163a9ec84eb8c128502b65fbb153e0fde8 SHA256 945c075efbb27ac641cf4446305bd642c9734df849af9e830c070fda36c96ba7
DIST gcompris-8.4.12.tar.gz 104355638 RMD160 f5d8129d4c37c97c1f15d0b7fb6865d3477b745e SHA1 55b6619d7e05fcfa0934c8564d8085d5aa880bbe SHA256 55025808dcb4afb3fa9ea8e232684e651da3ac2c673cb36592d6583ebec2d4c7
+DIST gcompris-9.2-2.tar.gz 123861044 RMD160 2c1571a7ad18f31f54f80b574e66d0e9dbe77ba4 SHA1 584b7b65de0278ebabf5ccebe3644c0575150337 SHA256 6390b56ad3f7394b81818ad2194c5e65bbd9626cb0c0d0e0838c15beb5c1bfc9
EBUILD gcompris-8.4.12.ebuild 1883 RMD160 17567e166f45706c60d56164d09a00afdaf80361 SHA1 b72ce6fdaf80d6adf7e85438596465236a9a95ec SHA256 5116d7aa69c5414d4541c75278acfcc3fcc6b42872cf621d202557bf4851473d
-MISC ChangeLog 7151 RMD160 70e08ad12a86a67f1871c0e0df388d1dca6acfaf SHA1 f8cf78c89b57e8048b3d40d333e66691d648941e SHA256 80b880ad491fda74b0788263a0674bc1eec11f7d77c2e2e83dd92d2bc5fcbe0e
+EBUILD gcompris-9.2.2.ebuild 2016 RMD160 0966596ee6554db8d486278d43eb1908fa19c0f5 SHA1 cd9a07feabfc58ebfb4c6509cda7440e6b800f74 SHA256 806d8e53b148423920fd5068ed036351b562a36a8d2c467dfbddafe44f4112fb
+MISC ChangeLog 7346 RMD160 f18c61b64494f09cf167429395ad2aa6f29ed745 SHA1 e41c66d763a959b7004931001e11998092dc2555 SHA256 6b165318ebf750ebf93ab94f90fba938a69f3829b7da9fba7503b023c4861d0e
MISC metadata.xml 256 RMD160 570feef44e7d62ff41eb94fd83a54d9adcfe9a1d SHA1 2719c80bf2b8c87e73d7cd147cd617d8bb85c4d8 SHA256 4d42cbbf92befa58671d7062d6b3be70d9e72f5e24745f94b93f59bd74ae6254
diff --git a/games-kids/gcompris/files/gcompris-9.2.2-build.patch b/games-kids/gcompris/files/gcompris-9.2.2-build.patch
new file mode 100644
index 000000000000..7105143b8638
--- /dev/null
+++ b/games-kids/gcompris/files/gcompris-9.2.2-build.patch
@@ -0,0 +1,127 @@
+diff -ur gcompris-9.2.orig//Makefile.am gcompris-9.2//Makefile.am
+--- gcompris-9.2.orig//Makefile.am 2010-01-18 14:35:41.000000000 -0700
++++ gcompris-9.2//Makefile.am 2010-03-21 17:31:18.314740265 -0600
+@@ -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 -ur gcompris-9.2.orig//configure.ac gcompris-9.2//configure.ac
+--- gcompris-9.2.orig//configure.ac 2010-02-13 10:00:00.000000000 -0700
++++ gcompris-9.2//configure.ac 2010-03-21 17:31:18.350739972 -0600
+@@ -217,10 +217,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 Win32 platform in general])
+@@ -284,25 +282,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 -ur gcompris-9.2.orig//docs/C/Makefile.am gcompris-9.2//docs/C/Makefile.am
+--- gcompris-9.2.orig//docs/C/Makefile.am 2009-08-30 10:24:49.000000000 -0600
++++ gcompris-9.2//docs/C/Makefile.am 2010-03-21 17:31:18.350739972 -0600
+@@ -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 -ur gcompris-9.2.orig//docs/eu/Makefile.am gcompris-9.2//docs/eu/Makefile.am
+--- gcompris-9.2.orig//docs/eu/Makefile.am 2010-01-18 14:35:41.000000000 -0700
++++ gcompris-9.2//docs/eu/Makefile.am 2010-03-21 17:31:18.350739972 -0600
+@@ -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 -ur gcompris-9.2.orig//docs/fr/Makefile.am gcompris-9.2//docs/fr/Makefile.am
+--- gcompris-9.2.orig//docs/fr/Makefile.am 2010-01-18 14:35:41.000000000 -0700
++++ gcompris-9.2//docs/fr/Makefile.am 2010-03-21 17:31:18.354741636 -0600
+@@ -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 -ur gcompris-9.2.orig//po/Makefile.in.in gcompris-9.2//po/Makefile.in.in
+--- gcompris-9.2.orig//po/Makefile.in.in 2010-01-24 15:46:55.000000000 -0700
++++ gcompris-9.2//po/Makefile.in.in 2010-03-21 17:31:18.354741636 -0600
+@@ -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 -ur gcompris-9.2.orig//src/gcompris/gcompris.c gcompris-9.2//src/gcompris/gcompris.c
+--- gcompris-9.2.orig//src/gcompris/gcompris.c 2010-02-13 06:38:20.000000000 -0700
++++ gcompris-9.2//src/gcompris/gcompris.c 2010-03-21 17:31:18.362744045 -0600
+@@ -1216,7 +1216,7 @@
+ 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);
+ properties->menu_dir = g_strdup(properties->package_data_dir);
+ g_free(pkg_data_dir);
+ g_free(pkg_clib_dir);
diff --git a/games-kids/gcompris/gcompris-9.2.2.ebuild b/games-kids/gcompris/gcompris-9.2.2.ebuild
new file mode 100644
index 000000000000..edb3e44e230a
--- /dev/null
+++ b/games-kids/gcompris/gcompris-9.2.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.2.2.ebuild,v 1.1 2010/03/25 18:30:04 ssuominen Exp $
+
+EAPI=2
+
+PYTHON_DEPEND="python? 2:2.6"
+PYTHON_USE_WITH_OPT="python"
+PYTHON_USE_WITH="sqlite threads"
+
+inherit autotools eutils python games versionator
+
+DESCRIPTION="full featured educational application for children from 2 to 10"
+HOMEPAGE="http://gcompris.net/"
+SRC_URI="mirror://sourceforge/gcompris/${PN}-$(replace_version_separator 2 -).tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug gnet python"
+
+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/sdl-mixer
+ media-libs/libsdl
+ dev-libs/libxml2
+ dev-libs/popt
+ virtual/libintl
+ games-board/gnuchess
+ dev-db/sqlite:3
+ gnet? ( net-libs/gnet:2 )
+ python? ( dev-python/pygtk )"
+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"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
+
+pkg_setup() {
+ python_set_active_version 2
+ games_pkg_setup
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ cp /usr/share/gettext/config.rpath .
+ eautoreconf
+}
+
+src_configure() {
+ local python_version="$(PYTHON -a)"
+
+ GNUCHESS="${GAMES_BINDIR}"/gnuchess \
+ egamesconf \
+ --disable-dependency-tracking \
+ --datarootdir="${GAMES_DATADIR}" \
+ --datadir="${GAMES_DATADIR}" \
+ --localedir=/usr/share/locale \
+ --infodir=/usr/share/info \
+ $(use_with python python "${python_version}") \
+ $(use_enable debug) \
+ $(use_enable gnet) \
+ --enable-sqlite \
+ --enable-py-build-only
+}
+
+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
+}