diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-09 02:32:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-03-09 02:32:02 +0000 |
commit | 8906554bb67c3a8ee1f372663a367b6df56199ad (patch) | |
tree | f3e5e9c488a1849a5e2e3e4ff9dc88d9d7bd9b1d /games-kids | |
parent | correct mask on www-plugins/adobe-flash (diff) | |
download | historical-8906554bb67c3a8ee1f372663a367b6df56199ad.tar.gz historical-8906554bb67c3a8ee1f372663a367b6df56199ad.tar.bz2 historical-8906554bb67c3a8ee1f372663a367b6df56199ad.zip |
version bump
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 8 | ||||
-rw-r--r-- | games-kids/gcompris/Manifest | 5 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-9.6-build.patch | 130 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-9.6.ebuild | 87 |
4 files changed, 228 insertions, 2 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 1de1db38f183..e4432b17d948 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-kids/gcompris # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.59 2011/01/28 07:47:53 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.60 2011/03/09 02:32:02 mr_bones_ Exp $ + +*gcompris-9.6 (09 Mar 2011) + + 09 Mar 2011; Michael Sterrett <mr_bones_@gentoo.org> +gcompris-9.6.ebuild, + +files/gcompris-9.6-build.patch: + version bump 28 Jan 2011; Michael Sterrett <mr_bones_@gentoo.org> gcompris-9.5.ebuild, +files/gcompris-9.5-cursor.patch: diff --git a/games-kids/gcompris/Manifest b/games-kids/gcompris/Manifest index dbb9474c1619..67d3684b1d93 100644 --- a/games-kids/gcompris/Manifest +++ b/games-kids/gcompris/Manifest @@ -3,11 +3,14 @@ AUX gcompris-9.2.2-build.patch 5001 RMD160 0e8f39b8f6ff277fbebf556c8bc8a3225e915 AUX gcompris-9.2.2-gtk2.22.patch 454 RMD160 8384e61b014d8ba6e34df8e9365be804e75d029d SHA1 4ec93d010eb6e558a6a31d4ccf6cc984ec812ba5 SHA256 e72baa1d6753aba2d256f0b63f3effd84871f51ddb5f3b43899ff4b09c1fd439 AUX gcompris-9.5-build.patch 5235 RMD160 358c9ea79a0f0af2ac8697c0509fb19af13734ef SHA1 e768c14c7fc6dd49fbe7b74a85a7e67f231166a4 SHA256 338690a62008395ce5855d76a2e7e77d22ca7166aabd5c1c05f217c1946dffcf AUX gcompris-9.5-cursor.patch 1587 RMD160 cd521d16988eea0fdc9b86d711996afd8efc9cbd SHA1 93cb583b7a17d7578e6d6b90ee9f5b70f7942230 SHA256 0be4561a32626a5b3933aff081b8d12aca298dd67134ba9b31ed160cae5350e9 +AUX gcompris-9.6-build.patch 5235 RMD160 358c9ea79a0f0af2ac8697c0509fb19af13734ef SHA1 e768c14c7fc6dd49fbe7b74a85a7e67f231166a4 SHA256 338690a62008395ce5855d76a2e7e77d22ca7166aabd5c1c05f217c1946dffcf 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 DIST gcompris-9.5.tar.gz 143904260 RMD160 960772cb9f85808c977f5aaaff1a44c8ba61628c SHA1 72534b124b4ec0cca806ed017d367ff0f52e6828 SHA256 14ddd788f1291ea6c0dbf48fd84e9a7e491865b6f81a47459a626caf36d47113 +DIST gcompris-9.6.tar.gz 145244612 RMD160 57c2848176bf4b4172f25a559ce7713383d7482e SHA1 275bc52512793bab00a09778176ca49087cd4098 SHA256 743f4a1afe3868460e8cb911644ba4c1c48ab882429299baca3d8b29a000705d EBUILD gcompris-8.4.12.ebuild 1859 RMD160 8ed7322a421d59b959ff10bbe3480eeaf678ae1c SHA1 21ad4dcec376068b79169a8c0f9e0dc6fee7e3d1 SHA256 529d0c6caeb0989fdf20ff3a25ed1bd716826722645e6dcfeb82160b20d47a7a EBUILD gcompris-9.2.2.ebuild 2647 RMD160 9100c3603592021b6b16209f68a271b467dda194 SHA1 2e98bf3193287f87016154e09790f139f41c3deb SHA256 6ecdc6f34007272208ed66b3323f8762f0e983dc1787363cfc67d68516821188 EBUILD gcompris-9.5.ebuild 2128 RMD160 4e0e8a0f625a3b41b05e80f120b7977945143772 SHA1 d998f93d22eaa1d2c36f1dcd90f2c74b825cd2ab SHA256 b31273266fd889da4ccc31495a2616c1929aeeaf26e03edd37f72af50c69bff3 -MISC ChangeLog 8931 RMD160 dedc6ac6c5658433ab5a353d86b3cd53bbc280bb SHA1 3d619486ea6b70dbf807a11785feffff9f92e160 SHA256 f9a0d4315e1adab168239706a2ae9a0632ec43f7c0df033c8998b088b5601d5b +EBUILD gcompris-9.6.ebuild 2088 RMD160 5a92f2a18fb794561270fae40dc7fc1337ace4a6 SHA1 78edf33738ca48a63b7f53507bd857880608ae70 SHA256 f0e1dc9be47472725a63d289a40588ccacd5f23e98d4a258ae2ce9c7bee32669 +MISC ChangeLog 9088 RMD160 f0a11b37ffcc3471871f3118b60f61331c9af96a SHA1 91f2d0ea45025130935e65a5746341e0b7407f73 SHA256 03ea9a8ce53b928cb440b24e539af4fde0f24f70befb2fe11f8b52b904c3c4e1 MISC metadata.xml 256 RMD160 570feef44e7d62ff41eb94fd83a54d9adcfe9a1d SHA1 2719c80bf2b8c87e73d7cd147cd617d8bb85c4d8 SHA256 4d42cbbf92befa58671d7062d6b3be70d9e72f5e24745f94b93f59bd74ae6254 diff --git a/games-kids/gcompris/files/gcompris-9.6-build.patch b/games-kids/gcompris/files/gcompris-9.6-build.patch new file mode 100644 index 000000000000..fe3ef6abc581 --- /dev/null +++ b/games-kids/gcompris/files/gcompris-9.6-build.patch @@ -0,0 +1,130 @@ +diff -ru gcompris-9.5.orig/Makefile.am gcompris-9.5/Makefile.am +--- gcompris-9.5.orig/Makefile.am 2010-04-05 08:57:18.000000000 -0400 ++++ gcompris-9.5/Makefile.am 2011-01-06 12:15:53.891564989 -0500 +@@ -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-9.5.orig/configure.ac gcompris-9.5/configure.ac +--- gcompris-9.5.orig/configure.ac 2010-12-06 15:26:21.000000000 -0500 ++++ gcompris-9.5/configure.ac 2011-01-06 12:19:29.657036163 -0500 +@@ -203,10 +203,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 -O2" + fi ++CFLAGS="$CFLAGS $OSX_CFLAGS -Wall" + + dnl disable activation code + AC_ARG_ENABLE(disable-activation-code, +@@ -337,28 +335,28 @@ + fi + else + 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 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 + AC_DEFINE_UNQUOTED(SYSTEM_CONFIG_DIR, "/etc", [System GCompris config directory]) + + dnl Test for gnuchess +- AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/bin:/usr/games:/usr/local/bin:$PATH]) ++ AC_PATH_PROGS(GNUCHESS, gnuchess gnome-gnuchess, no, [/usr/games/bin:/usr/bin:/usr/games:/usr/local/bin:$PATH]) + if test x$GNUCHESS = xno; then + AC_MSG_ERROR(Couldn't find gnuchess, please install the gnuchess package version 5 or above) + fi +diff -ru gcompris-9.5.orig/docs/C/Makefile.am gcompris-9.5/docs/C/Makefile.am +--- gcompris-9.5.orig/docs/C/Makefile.am 2009-08-30 12:24:49.000000000 -0400 ++++ gcompris-9.5/docs/C/Makefile.am 2011-01-06 12:19:44.308216363 -0500 +@@ -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-9.5.orig/docs/eu/Makefile.am gcompris-9.5/docs/eu/Makefile.am +--- gcompris-9.5.orig/docs/eu/Makefile.am 2010-03-23 18:21:41.000000000 -0400 ++++ gcompris-9.5/docs/eu/Makefile.am 2011-01-06 12:19:54.444265564 -0500 +@@ -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-9.5.orig/docs/fr/Makefile.am gcompris-9.5/docs/fr/Makefile.am +--- gcompris-9.5.orig/docs/fr/Makefile.am 2010-03-23 18:21:41.000000000 -0400 ++++ gcompris-9.5/docs/fr/Makefile.am 2011-01-06 12:19:59.760242448 -0500 +@@ -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-9.5.orig/po/Makefile.in.in gcompris-9.5/po/Makefile.in.in +--- gcompris-9.5.orig/po/Makefile.in.in 2010-12-06 15:29:45.000000000 -0500 ++++ gcompris-9.5/po/Makefile.in.in 2011-01-06 12:20:28.901633920 -0500 +@@ -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-9.5.orig/src/gcompris/gcompris.c gcompris-9.5/src/gcompris/gcompris.c +--- gcompris-9.5.orig/src/gcompris/gcompris.c 2010-12-05 13:08:35.000000000 -0500 ++++ gcompris-9.5/src/gcompris/gcompris.c 2011-01-06 12:21:01.535353344 -0500 +@@ -1308,7 +1308,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.6.ebuild b/games-kids/gcompris/gcompris-9.6.ebuild new file mode 100644 index 000000000000..5e204b387347 --- /dev/null +++ b/games-kids/gcompris/gcompris-9.6.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-9.6.ebuild,v 1.1 2011/03/09 02:32:02 mr_bones_ Exp $ + +EAPI=2 + +PYTHON_DEPEND="python? 2:2.6" +PYTHON_USE_WITH_OPT="python" +PYTHON_USE_WITH="sqlite threads" + +inherit autotools eutils python versionator games + +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="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-alsa + 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} + gnome-base/gnome-common + 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() { + if use python; then + python_set_active_version 2 + python_pkg_setup + fi + games_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + cp /usr/share/gettext/config.rpath . + eautoreconf +} + +src_configure() { + 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 -a)") \ + $(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" + find "${D}" -name '*.la' -exec rm -f '{}' + + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + prepgamesdirs +} |