summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-01-30 22:55:11 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-01-30 22:55:11 +0000
commit8a49a4e4d044b4df5cf8f61f40ed774e849153a1 (patch)
tree39ccb2791a0dd344c5ed591d4804da77d9d20536 /games-action/supertuxkart
parentold (diff)
downloadgentoo-2-8a49a4e4d044b4df5cf8f61f40ed774e849153a1.tar.gz
gentoo-2-8a49a4e4d044b4df5cf8f61f40ed774e849153a1.tar.bz2
gentoo-2-8a49a4e4d044b4df5cf8f61f40ed774e849153a1.zip
old
(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action/supertuxkart')
-rw-r--r--games-action/supertuxkart/ChangeLog7
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.7-build.patch200
-rw-r--r--games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch21
-rw-r--r--games-action/supertuxkart/supertuxkart-0.7.ebuild54
4 files changed, 6 insertions, 276 deletions
diff --git a/games-action/supertuxkart/ChangeLog b/games-action/supertuxkart/ChangeLog
index 0f7190bcd79f..8146e7ff0ff7 100644
--- a/games-action/supertuxkart/ChangeLog
+++ b/games-action/supertuxkart/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/supertuxkart
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.35 2013/01/24 22:09:58 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/ChangeLog,v 1.36 2013/01/30 22:55:11 mr_bones_ Exp $
+
+ 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/supertuxkart-0.7-build.patch, -files/supertuxkart-0.7-underlink.patch,
+ -supertuxkart-0.7.ebuild:
+ old
24 Jan 2013; Agostino Sarubbo <ago@gentoo.org> supertuxkart-0.8.ebuild:
Stable for x86, wrt bug #453386
diff --git a/games-action/supertuxkart/files/supertuxkart-0.7-build.patch b/games-action/supertuxkart/files/supertuxkart-0.7-build.patch
deleted file mode 100644
index c32bb9e4c654..000000000000
--- a/games-action/supertuxkart/files/supertuxkart-0.7-build.patch
+++ /dev/null
@@ -1,200 +0,0 @@
---- supertuxkart-0.7.orig/Makefile.am
-+++ supertuxkart-0.7/Makefile.am
-@@ -1,8 +1,6 @@
- ACLOCAL_AMFLAGS = -I m4
-
--SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data
-+SUBDIRS = $(BULLETTREE) $(ENETTREE) src data
-
--pkgdatadir=$(datadir)/doc/$(PACKAGE)
--dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
- # NEWS only contains "see changelog"
- # CHANGES only contains "see NEW"
---- supertuxkart-0.7.orig/configure.ac
-+++ supertuxkart-0.7/configure.ac
-@@ -107,6 +107,7 @@
- if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
- # if GLcore found, then also check for GL
- AC_SEARCH_LIBS(glXCreateContext, GL)
-+ AC_SEARCH_LIBS(gluLookAt, GLU)
- fi
- ;;
- esac
-@@ -399,7 +400,6 @@
- ;;
- esac
- SUMMARY="$SUMMARY\nUsing enet network support."
--ENETTREE="src/enet"
-
- # =================
- # Check for gettext
-@@ -460,7 +460,6 @@
- src/ide/Makefile \
- src/bullet/Makefile \
- src/bullet/src/Makefile \
-- src/enet/Makefile \
- ])
- AC_OUTPUT
- echo -e $SUMMARY
---- supertuxkart-0.7.orig/data/Makefile.am
-+++ supertuxkart-0.7/data/Makefile.am
-@@ -1,7 +1,7 @@
- # data/
-
- SUBDIRS = fonts gui karts models music po sfx textures tracks grandprix
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data
-+pkgdatadir = $(datadir)/$(PACKAGE)/data
-
- dist_pkgdata_DATA = \
- $(shell find $(srcdir) -name "*.data") \
-@@ -13,16 +13,7 @@
- stk_config.xml powerup.xml items.xml \
- CREDITS
-
--desktopdir = $(prefix)/share/applications
--desktop_DATA = supertuxkart.desktop
-
--icondir = $(prefix)/share/pixmaps
--dist_icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
-
-
--# The desktop file needs the absolute path to the binary
- # since e.g. /usr/games might not be in the standard path
--EXTRA_DIST = supertuxkart_desktop.template
--CLEANFILES = supertuxkart.desktop
--supertuxkart.desktop: Makefile supertuxkart_desktop.template
-- sed 's#PREFIX#$(prefix)#' $(srcdir)/supertuxkart_desktop.template >supertuxkart.desktop
---- supertuxkart-0.7.orig/data/fonts/Makefile.am
-+++ supertuxkart-0.7/data/fonts/Makefile.am
-@@ -1,6 +1,6 @@
- # data/fonts/
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/fonts
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/fonts
-
- dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
- $(shell find $(srcdir) -name "*.xml")
---- supertuxkart-0.7.orig/data/grandprix/Makefile.am
-+++ supertuxkart-0.7/data/grandprix/Makefile.am
-@@ -1,6 +1,6 @@
- # data/music
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/grandprix
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/grandprix
-
- dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.grandprix") \
- $(shell find $(srcdir) -name "*.challenge")
---- supertuxkart-0.7.orig/data/gui/Makefile.am
-+++ supertuxkart-0.7/data/gui/Makefile.am
-@@ -1,6 +1,6 @@
- # data/gui/
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/gui
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/gui
-
- nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png" ) \
- $(shell find $(srcdir) -name "*.jpg" ) \
---- supertuxkart-0.7.orig/data/karts/Makefile.am
-+++ supertuxkart-0.7/data/karts/Makefile.am
-@@ -1,6 +1,6 @@
- # data/karts
-
--pkgdatadir= $(datadir)/games/$(PACKAGE)/data/karts
-+pkgdatadir= $(datadir)/$(PACKAGE)/data/karts
-
- nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "materials.xml") \
- $(shell find $(srcdir) -name "*.png") \
---- supertuxkart-0.7.orig/data/models/Makefile.am
-+++ supertuxkart-0.7/data/models/Makefile.am
-@@ -1,6 +1,6 @@
- # data/models/
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/models
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/models
-
- dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.b3d") \
- $(shell find $(srcdir) -name "*.png") \
---- supertuxkart-0.7.orig/data/music/Makefile.am
-+++ supertuxkart-0.7/data/music/Makefile.am
-@@ -1,6 +1,6 @@
- # data/music
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/music
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/music
-
- dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ogg") \
- $(shell find $(srcdir) -name "*.music") \
---- supertuxkart-0.7.orig/data/po/Makefile.am
-+++ supertuxkart-0.7/data/po/Makefile.am
-@@ -1,6 +1,6 @@
- # data/po/
-
--pkgdatadir = $(datadir)/games/@PACKAGE@/data/po
-+pkgdatadir = $(datadir)/@PACKAGE@/data/po
-
- nobase_pkgdata_DATA = $(shell find $(srcdir) -name "*.po") \
- $(shell find $(srcdir) -name "*.mo") \
---- supertuxkart-0.7.orig/data/sfx/Makefile.am
-+++ supertuxkart-0.7/data/sfx/Makefile.am
-@@ -1,6 +1,6 @@
- # sfx/
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/sfx
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/sfx
-
- nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.ogg") \
- $(shell find $(srcdir) -name "sfx.xml") \
---- supertuxkart-0.7.orig/data/textures/Makefile.am
-+++ supertuxkart-0.7/data/textures/Makefile.am
-@@ -1,6 +1,6 @@
- # data/textures
-
--pkgdatadir = $(datadir)/games/$(PACKAGE)/data/textures
-+pkgdatadir = $(datadir)/$(PACKAGE)/data/textures
- dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.png") \
- $(shell find $(srcdir) -name "*.jpg") \
- materials.xml License.txt
---- supertuxkart-0.7.orig/data/tracks/Makefile.am
-+++ supertuxkart-0.7/data/tracks/Makefile.am
-@@ -1,6 +1,6 @@
- # data/tracks
-
--pkgdatadir= $(datadir)/games/$(PACKAGE)/data/tracks
-+pkgdatadir= $(datadir)/$(PACKAGE)/data/tracks
- nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.jpg") \
- $(shell find $(srcdir) -name "*.png") \
- $(shell find $(srcdir) -name "*.b3d") \
---- supertuxkart-0.7.orig/src/Makefile.am
-+++ supertuxkart-0.7/src/Makefile.am
-@@ -2,10 +2,9 @@
-
- SUBDIRS = ide
-
--bindir=$(prefix)/games
- bin_PROGRAMS = supertuxkart
-
--AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
-+AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/$(PACKAGE)/\"" \
- -I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
-
- supertuxkart_SOURCES = \
---- supertuxkart-0.7.orig/src/utils/translation.cpp
-+++ supertuxkart-0.7/src/utils/translation.cpp
-@@ -103,6 +103,8 @@
- // ----------------------------------------------------------------------------
- const wchar_t* Translations::w_gettext(const char* original)
- {
-+ const char* original_t;
-+
- if (original[0] == '\0') return L"";
-
- #if TRANSLATE_VERBOSE
-@@ -114,7 +116,7 @@
- #endif
-
- #if ENABLE_NLS
-- const char* original_t = gettext(original);
-+ original_t = gettext(original);
- #else
- m_converted_string = core::stringw(original);
- return m_converted_string.c_str();
diff --git a/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch b/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch
deleted file mode 100644
index 046299ca8531..000000000000
--- a/games-action/supertuxkart/files/supertuxkart-0.7-underlink.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- configure.ac.old 2011-06-22 12:41:19.140037770 +0200
-+++ configure.ac 2011-06-22 12:43:46.939252073 +0200
-@@ -245,7 +245,7 @@
- # ---- Check these flags do work by building a small irrLicht sample
- echo "checking for irrlicht libraries..."
- save_LIBS=$LIBS
--LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
-+LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS -lm -lz -lX11"
-
- irrlicht_sample_built_fine="false"
-
---- src/Makefile.am.old 2011-06-22 14:15:09.992552914 +0200
-+++ src/Makefile.am 2011-06-22 14:16:38.820196346 +0200
-@@ -396,5 +396,6 @@
- supertuxkart_LDADD = \
- $(irrlicht_LIBS) $(fribidi_LIBS) $(bullet_LIBS) $(enet_LIBS) \
- $(opengl_LIBS) $(openal_LIBS) $(oggvorbis_LIBS) \
-- $(INTLLIBS) $(LIBCURL_LIBS) $(LIBCURL_CFLAGS)
-+ $(INTLLIBS) $(LIBCURL_LIBS) $(LIBCURL_CFLAGS) \
-+ -lm -lX11 -lz
-
diff --git a/games-action/supertuxkart/supertuxkart-0.7.ebuild b/games-action/supertuxkart/supertuxkart-0.7.ebuild
deleted file mode 100644
index 01b366359de2..000000000000
--- a/games-action/supertuxkart/supertuxkart-0.7.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.7.ebuild,v 1.7 2012/12/07 23:36:34 hasufell Exp $
-
-EAPI=2
-inherit autotools flag-o-matic eutils games
-
-DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
-HOMEPAGE="http://supertuxkart.sourceforge.net/"
-SRC_URI="mirror://sourceforge/supertuxkart/SuperTuxKart/${PV}/${P}-src.tar.bz2
- mirror://gentoo/${PN}.png"
-
-LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="debug nls unicode"
-
-RDEPEND="<dev-games/irrlicht-1.8
- virtual/opengl
- media-libs/freeglut
- virtual/glu
- net-libs/enet:0
- media-libs/libvorbis
- media-libs/openal
- nls? ( dev-libs/fribidi )
- virtual/libintl"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )
- unicode? ( dev-libs/fribidi )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-underlink.patch
- rm -rf src/enet
- eautoreconf
-}
-
-src_configure() {
- append-libs -lpng -ljpeg -lbz2
-
- egamesconf \
- --disable-dependency-tracking \
- --disable-optimization \
- $(use_enable nls) \
- $(use_enable debug)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} SuperTuxKart
- dodoc AUTHORS ChangeLog README TODO
- prepgamesdirs
-}