+++ /dev/null
-# ChangeLog for games-arcade/stepmania
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.38 2011/06/28 12:12:00 tupone Exp $
-
- 28 Jun 2011; Tupone Alfredo <tupone@gentoo.org> stepmania-3.9-r2.ebuild,
- +files/stepmania-3.9-libpng15.patch:
- Fix build with media-libs/libpng-1.5 Bug #355119 by Lars Wendler
- (Polynomial-C)
-
- 12 Apr 2011; Alfredo Tupone <tupone@gentoo.org> stepmania-3.9-r2.ebuild,
- +files/stepmania-3.9-gcc46.patch:
- Build with gcc-4.6.0 Bugs #363165 by Diego Elio Pettenò
-
- 31 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> stepmania-3.9-r2.ebuild:
- Depend on virtual/ffmpeg instead of media-video/ffmpeg.
-
- 25 Feb 2011; Kevin McCarthy <signals@gentoo.org> stepmania-3.9-r2.ebuild:
- Update depends from media-libs/jpeg to virtual/jpeg
-
- 09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
- stepmania-3.9-r2.ebuild:
- Fix building with libpng14 by Locke Shinseiko (Wizzleby).
-
-*stepmania-3.9-r2 (24 Feb 2010)
-
- 24 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
- +stepmania-3.9-r2.ebuild:
- Fix crash with "Select Style" wrt #298611.
-
- 07 Sep 2009; Samuli Suominen <ssuominen@gentoo.org>
- stepmania-3.9-r1.ebuild:
- Fix compability with >= FFmpeg 0.5 wrt #276717, thanks to Uriy Zhuravlev
- and Alexis Ballier.
-
-*stepmania-3.9-r1 (20 Jun 2009)
-
- 20 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> -stepmania-3.9.ebuild,
- +stepmania-3.9-r1.ebuild, -files/stepmania-3.9-newerffmpeg.diff,
- -files/stepmania-3.9-newffmpeg.diff:
- Bump patchset to fix FFmpeg > 0.5 compability wrt #269080,
- thanks to Wai Ling.
-
- 24 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org> stepmania-3.9.ebuild:
- add joystick use dep for bug #263553
-
- 19 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> stepmania-3.9.ebuild:
- EAPI=2; add use-based dep
-
- 15 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
- +files/stepmania-3.9-newerffmpeg.diff, stepmania-3.9.ebuild:
- Fix for ffmpeg 20081014. Bug 242054.
-
- 29 Jul 2008; Samuli Suominen <drac@gentoo.org> stepmania-3.9.ebuild:
- Bump ffmpeg dep. for last change to 0.4.9_p20080326 wrt #232364.
-
- 21 Jun 2008; Hanno Boeck <hanno@gentoo.org>
- +files/stepmania-3.9-newffmpeg.diff, stepmania-3.9.ebuild:
- Fix paths for latest ffmpeg.
-
- 14 Apr 2008; Samuli Suominen <drac@gentoo.org> stepmania-3.9.ebuild:
- Bumping patch level to 3 for bug 216128, GCC 4.3 compability patch by
- David Carlos Manuelda.
-
- 08 Mar 2008; Samuli Suominen <drac@gentoo.org> stepmania-3.9.ebuild:
- Bump patchset to fix bug 203935, configure dying without ffmpeg available.
-
- 15 Sep 2007; Samuli Suominen <drac@gentoo.org> stepmania-3.9.ebuild:
- Changed SRC_URI to gentoo mirrors.
-
- 07 Aug 2007; Samuli Suominen <drac@gentoo.org>
- -files/stepmania-3.9-64bits.patch, -files/stepmania-3.9-alias.patch,
- -files/stepmania-3.9-alsa.patch, -files/stepmania-3.9-crashfix.patch,
- -files/stepmania-3.9-ffmpeg.patch,
- -files/stepmania-3.9-ffmpeg-stdint.patch,
- -files/stepmania-3.9-gcc41.patch, -files/stepmania-3.9-gettid.patch,
- -files/stepmania-3.9-lua51.patch, -files/stepmania-3.9-sdl.patch,
- -files/stepmania-3.9-vorbis.patch, stepmania-3.9.ebuild:
- Fix remaining issues, building with ffmpeg and swscale, without jpeg and
- others. Move all patches to tarball since they are about 60 kilobytes.
- Thanks to Petri "Akheron" Lehtinen for making this possible.
-
- 01 Aug 2007; Samuli Suominen <drac@gentoo.org>
- +files/stepmania-3.9-crashfix.patch,
- +files/stepmania-3.9-ffmpeg-stdint.patch,
- +files/stepmania-3.9-gettid.patch, +files/stepmania-3.9-lua51.patch,
- files/stepmania-3.9-vorbis.patch, stepmania-3.9.ebuild:
- Fix building with lua-5.1, ffmpeg-0.4.9_p20070330, glibc-2.5, bugs 159023,
- 165266. Thanks to Stephen Bridges, Nicolas Litchinko and Petri Lehtinen.
-
- 12 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- +files/stepmania-3.9-alias.patch, stepmania-3.9.ebuild:
- Added patch from Charles Christie <sonicbhoc@gmail.com> and closing bug
- #148781.
-
- 10 Dec 2006; Tristan Heaven <nyhm@gentoo.org> stepmania-3.9.ebuild:
- Fix typo and cleanup, bug #157601
-
- 01 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org> stepmania-3.9.ebuild:
- Added built_with_use check for bug #156609.
-
- 17 Nov 2006; Michael Sterrett <mr_bones_@gentoo.org> stepmania-3.9.ebuild:
- stable for x86
-
- 24 Oct 2006; <tupone@gentoo.org> +files/stepmania-3.9-64bits.patch,
- stepmania-3.9.ebuild:
- Compilation on amd64 fixed. Bug #138365 by Bryan Jacobs
-
- 10 Sep 2006; <tupone@gentoo.org> +files/stepmania-3.9-sdl.patch,
- stepmania-3.9.ebuild:
- Fixing stepmania SDL error. Bug #135440 by Damien THEBAULT
-
- 01 Jun 2006; <Tupone@gentoo.org> +files/stepmania-3.9-vorbis.patch,
- stepmania-3.9.ebuild:
- Fix ogg support, bug #131418 by Nicolas Blanco
-
- 12 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml:
- Changed maintainer back to games since warpzero is being retired.
-
-*stepmania-3.9 (26 Apr 2006)
-
- 26 Apr 2006; <Tupone@gentoo.org> +files/stepmania-3.9-alsa.patch,
- +files/stepmania-3.9-ffmpeg.patch, +files/stepmania-3.9-gcc41.patch,
- +files/stepmania-3.9-gentoo.patch, +stepmania-3.9.ebuild:
- Bumped version, bug #109535 by Robert Lundmark
- Adding ffmpeg and alsa patch thanks to Damien THEBAULT
- Adding menu icon thanks to Simon Ruggier
- Adding USE flag force-oss, bug #94554 by Loïc Lacombe
- Fixing compilation with gcc-4.1, bug #127693 by zyprexa,
- thanks to Hanno Meyer-Thurow
-
- 13 Apr 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
- Removed redundant pkg_setup.
-
- 24 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org>
- stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
- Removing unnecessary pkg_postinst.
-
- 06 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org>
- stepmania-3.9_rc2.ebuild, stepmania-3.9_rc3.ebuild:
- oggvorbis -> vorbis for bug #94254.
-
- 07 Jun 2005; Malcolm Lashley <malc@gentoo.org> stepmania-3.9_rc3.ebuild:
- ~amd64 - closes bug #94997
-
-*stepmania-3.9_rc3 (21 May 2005)
-
- 21 May 2005; Joshua Charles Campbell <warpzero@gentoo.org>
- +files/stepmania-3.9-rc3-gentoo.patch, +stepmania-3.9_rc3.ebuild:
- bump on the bizump
-
-*stepmania-rc2 (07 Nov 2004)
-
- 30 Nov 2004; Joshua Charles Campbell warpzero@gentoo.org stepmania-3.9_rc2.ebuild :
- Fixed keywords.
-
- 07 Nov 2004; Joshua Charles Campbell warpzero@gentoo.org stepmania-3.9-rc2a-gentoo.patch, stepmania-3.9_rc2.ebuild :
- Initial import. Ebuild submitted by Sean Burke sburke@onewest.net
-
+++ /dev/null
---- src/RageSurface_Load_PNG.cpp.old 2005-10-01 05:32:44.000000000 +0200
-+++ src/RageSurface_Load_PNG.cpp 2011-06-28 12:37:27.542730428 +0200
-@@ -40,7 +40,7 @@
- void RageFile_png_read( png_struct *png, png_byte *p, png_size_t size )
- {
- CHECKPOINT;
-- RageFile *f = (RageFile *) png->io_ptr;
-+ RageFile *f = (RageFile *) png_get_io_ptr(png);
-
- int got = f->Read( p, size );
- if( got == -1 )
-@@ -66,7 +66,7 @@
- void PNG_Error( png_struct *png, const char *error )
- {
- CHECKPOINT;
-- error_info *info = (error_info *) png->error_ptr;
-+ error_info *info = (error_info *) png_get_error_ptr(png);
- strncpy( info->err, error, 1024 );
- info->err[1023] = 0;
- LOG->Trace( "loading \"%s\": err: %s", info->fn, info->err );
-@@ -76,7 +76,7 @@
- void PNG_Warning( png_struct *png, const char *warning )
- {
- CHECKPOINT;
-- error_info *info = (error_info *) png->error_ptr;
-+ error_info *info = (error_info *) png_get_error_ptr(png);
- LOG->Trace( "loading \"%s\": warning: %s", info->fn, warning );
- }
-
-@@ -139,7 +139,7 @@
-
- /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
- if( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 )
-- png_set_gray_1_2_4_to_8( png );
-+ png_set_expand_gray_1_2_4_to_8( png );
-
- /* These are set for type == PALETTE. */
- RageSurfaceColor colors[256];
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r2.ebuild,v 1.7 2011/06/28 12:12:00 tupone Exp $
-
-EAPI=2
-inherit autotools eutils games
-
-MY_P=StepMania-${PV}
-DESCRIPTION="An advanced DDR simulator"
-HOMEPAGE="http://www.stepmania.com/stepmania/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz
- mirror://sourceforge/${PN}/${MY_P}-linux.tar.gz
- mirror://gentoo/${P}-patches-6.tar.bz2"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug ffmpeg force-oss gtk jpeg mad vorbis"
-
-RESTRICT="test"
-
-RDEPEND="gtk? ( x11-libs/gtk+:2 )
- mad? ( media-libs/libmad )
- >=dev-lang/lua-5
- media-libs/libsdl[joystick,opengl]
- jpeg? ( virtual/jpeg )
- media-libs/libpng
- ffmpeg? ( virtual/ffmpeg )
- vorbis? ( media-libs/libvorbis )
- virtual/opengl
- virtual/glu"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-S=${WORKDIR}/${MY_P}-src
-
-src_prepare() {
- sed "s:/usr/share/games/${PN}:${GAMES_DATADIR}/${PN}:" \
- "${FILESDIR}"/${P}-gentoo.patch > "${T}"/${P}.patch
-
- EPATCH_SUFFIX=patch epatch "${T}"/${P}.patch "${WORKDIR}"/patches
- epatch "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-libpng15.patch
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-dependency-tracking \
- $(use_with debug) \
- $(use_with jpeg) \
- $(use_with vorbis) \
- $(use_with mad mp3) \
- $(use_enable gtk gtk2) \
- $(use_enable force-oss)
-}
-
-src_install() {
- local dir=${GAMES_DATADIR}/${PN}
-
- exeinto "${dir}"
- doexe src/stepmania || die "doexe failed"
-
- if use gtk; then
- doexe src/GtkModule.so || die "doexe failed"
- fi
-
- cd "${WORKDIR}"/${MY_P}
-
- insinto "${dir}"
- doins -r Announcers BGAnimations CDTitles Characters Courses Data Docs \
- NoteSkins RandomMovies Songs Themes Visualizations || die "doins failed"
-
- dodoc Copying.txt NEWS
- dohtml README-FIRST.html
-
- newicon "Themes/default/Graphics/Common window icon.png" ${PN}.png
- make_desktop_entry ${PN} StepMania
-
- games_make_wrapper ${PN} "${dir}"/${PN} "${dir}"
- prepgamesdirs
-}