diff options
Diffstat (limited to 'games-kids')
-rw-r--r-- | games-kids/gcompris/ChangeLog | 7 | ||||
-rw-r--r-- | games-kids/gcompris/files/gcompris-12.01-build.patch | 123 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-12.01-r1.ebuild | 89 | ||||
-rw-r--r-- | games-kids/gcompris/gcompris-12.01.ebuild | 92 |
4 files changed, 6 insertions, 305 deletions
diff --git a/games-kids/gcompris/ChangeLog b/games-kids/gcompris/ChangeLog index 5bb31db39108..e21c7a2069ee 100644 --- a/games-kids/gcompris/ChangeLog +++ b/games-kids/gcompris/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-kids/gcompris # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.84 2012/10/17 03:51:56 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/ChangeLog,v 1.85 2012/11/05 22:26:58 mr_bones_ Exp $ + + 05 Nov 2012; Michael Sterrett <mr_bones_@gentoo.org> + -files/gcompris-12.01-build.patch, -gcompris-12.01-r1.ebuild, + -gcompris-12.01.ebuild: + old 17 Oct 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> gcompris-12.05.ebuild: x86 stable wrt bug #436902 diff --git a/games-kids/gcompris/files/gcompris-12.01-build.patch b/games-kids/gcompris/files/gcompris-12.01-build.patch deleted file mode 100644 index 07be210e0a50..000000000000 --- a/games-kids/gcompris/files/gcompris-12.01-build.patch +++ /dev/null @@ -1,123 +0,0 @@ ---- gcompris-9.5.orig/Makefile.am -+++ gcompris-9.5/Makefile.am -@@ -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 ---- gcompris-9.5.orig/configure.ac -+++ gcompris-9.5/configure.ac -@@ -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 ---- gcompris-9.5.orig/docs/C/Makefile.am -+++ gcompris-9.5/docs/C/Makefile.am -@@ -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) - ---- gcompris-9.5.orig/docs/eu/Makefile.am -+++ gcompris-9.5/docs/eu/Makefile.am -@@ -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) - ---- gcompris-9.5.orig/docs/fr/Makefile.am -+++ gcompris-9.5/docs/fr/Makefile.am -@@ -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) - ---- gcompris-9.5.orig/po/Makefile.in.in -+++ gcompris-9.5/po/Makefile.in.in -@@ -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@. ---- gcompris-9.5.orig/src/gcompris/gcompris.c -+++ gcompris-9.5/src/gcompris/gcompris.c -@@ -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-12.01-r1.ebuild b/games-kids/gcompris/gcompris-12.01-r1.ebuild deleted file mode 100644 index 1a3e20949d1f..000000000000 --- a/games-kids/gcompris/gcompris-12.01-r1.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.01-r1.ebuild,v 1.1 2012/07/16 06:41:08 mr_bones_ Exp $ - -EAPI=2 - -PYTHON_DEPEND="2:2.6" -PYTHON_USE_WITH="sqlite threads" - -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="gnet" - -RDEPEND="x11-libs/gtk+:2 - gnome-base/librsvg[gtk] - 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 ) - dev-python/pygtk" -DEPEND="${RDEPEND} - gnome-base/gnome-common - dev-perl/XML-Parser - sys-devel/gettext - sys-apps/texinfo - app-text/texi2html - virtual/pkgconfig" -RDEPEND="${RDEPEND} - media-gfx/tuxpaint - sci-electronics/gnucap" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup - games_pkg_setup -} - -src_prepare() { - # Drop DEPRECATED flags, bug #387817 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ - src/gcompris/Makefile.am src/gcompris/Makefile.in \ - src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \ - || die - - 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 \ - --with-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 -} diff --git a/games-kids/gcompris/gcompris-12.01.ebuild b/games-kids/gcompris/gcompris-12.01.ebuild deleted file mode 100644 index 6362e6564484..000000000000 --- a/games-kids/gcompris/gcompris-12.01.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/gcompris/gcompris-12.01.ebuild,v 1.5 2012/05/03 03:26:38 jdhore Exp $ - -EAPI=2 - -PYTHON_DEPEND="python? 2:2.6" -PYTHON_USE_WITH_OPT="python" -PYTHON_USE_WITH="sqlite threads" - -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="gnet python" - -RDEPEND="x11-libs/gtk+:2 - gnome-base/librsvg[gtk] - 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 - virtual/pkgconfig" -RDEPEND="${RDEPEND} - media-gfx/tuxpaint - sci-electronics/gnucap" - -pkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - fi - games_pkg_setup -} - -src_prepare() { - # Drop DEPRECATED flags, bug #387817 - sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \ - src/gcompris/Makefile.am src/gcompris/Makefile.in \ - src/goocanvas/src/Makefile.am src/goocanvas/src/Makefile.in \ - || die - - 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 -} |