--- stepmania-3.9.orig/src/GameState.h +++ stepmania-3.9/src/GameState.h @@ -85,8 +85,8 @@ bool AnyPlayersAreCpu() const; void GetCharacters( vector &apCharactersOut ); - Character* GameState::GetRandomCharacter(); - Character* GameState::GetDefaultCharacter(); + Character* GetRandomCharacter(); + Character* GetDefaultCharacter(); PlayerController m_PlayerController[NUM_PLAYERS]; --- stepmania-3.9.orig/src/EditCoursesSongMenu.cpp +++ stepmania-3.9/src/EditCoursesSongMenu.cpp @@ -9,6 +9,7 @@ #include "song.h" #include "Course.h" #include "ScreenManager.h" +#include #define ARROWS_X( i ) THEME->GetMetricF("EditCoursesSongMenu",ssprintf("Arrows%dX",i+1)) #define ROW_LABELS_X THEME->GetMetricF("EditCoursesSongMenu","RowLabelsX") --- stepmania-3.9.orig/src/HighScore.h +++ stepmania-3.9/src/HighScore.h @@ -7,6 +7,7 @@ #include "GameConstantsAndTypes.h" #include "RadarValues.h" #include "DateTime.h" +#include struct XNode; --- stepmania-3.9.orig/src/ModelTypes.h +++ stepmania-3.9/src/ModelTypes.h @@ -6,6 +6,7 @@ #define MS_MAX_NAME 32 #include "RageTypes.h" +#include struct msTriangle { --- stepmania-3.9.orig/src/RageUtil.h +++ stepmania-3.9/src/RageUtil.h @@ -3,6 +3,8 @@ #ifndef RAGEUTIL_H #define RAGEUTIL_H +#include + #include #define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } } --- stepmania-3.9.orig/debian/stepmania.install +++ stepmania-3.9/debian/stepmania.install @@ -0,0 +1,3 @@ +src/GtkModule.so usr/lib/games/stepmania4 +debian/tmp/usr +debian/stepmania4.desktop usr/share/applications --- stepmania-3.9.orig/debian/stepmania.desktop +++ stepmania-3.9/debian/stepmania.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Stepmania 4 +Version=1.0 +Type=Application +Comment=An advanced dance game simulator +Exec=stepmania4 +Icon=stepmania4.xpm +Categories=Game;ArcadeGame; --- stepmania-3.9.orig/debian/README.Debian +++ stepmania-3.9/debian/README.Debian @@ -0,0 +1,4 @@ +Adding Songs and Courses per user +--------------------------------- +Extra songs, courses, etc. can be installed in ~/.stepmania4/ in addition to +/usr/share/games/stepmania4. --- stepmania-3.9.orig/debian/copyright +++ stepmania-3.9/debian/copyright @@ -0,0 +1,170 @@ +This package was debianized by Simon Ruggier on +Mon, 6 Nov 2006 00:49:38 -0500. + +The Debian packaging is (C) 2007, Simon Ruggier and +is licensed under the GPL, see /usr/share/common-licenses/GPL. + +It was downloaded from the release list at +https://sourceforge.net/projects/stepmania/ + +The Program and Utils subdirectories were then removed, because they contain +some extraneous binary only code of uncertain origin. + +Upstream licensing information follows: + +The following license applies to most of the StepMania codebase: + +****************************************************************************** + +StepMania is (c) Chris Danford, the StepMania development team, et al. +All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, and/or sell copies of the Software, and to permit persons to +whom the Software is furnished to do so, provided that the above +copyright notice(s) and this permission notice appear in all copies of +the Software and that both the above copyright notice(s) and this +permission notice appear in supporting documentation. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF +THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS +INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT +OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +****************************************************************************** + +RageSurface_Load_GIF contains code from Xpaint under the following license: + + Copyright 1990, 1991, 1993 David Koblas. + Copyright 1996 Torsten Martinsen. + Permission to use, copy, modify, and distribute this software + and its documentation for any purpose and without fee is hereby + granted, provided that the above copyright notice appear in all + copies and that both that copyright notice and this permission + notice appear in supporting documentation. This software is + provided "as is" without express or implied warranty. + +****************************************************************************** + +Code in src/crypto/ is under the following permissive license: + +PuTTY is copyright 1997-2001 Simon Tatham. + +Portions copyright Robert de Bath, Joris van Rantwijk, Delian +Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, +Justin Bradford, and CORE SDI S.A. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation files +(the "Software"), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, +publish, distribute, sublicense, and/or sell copies of the Software, +and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF +CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +****************************************************************************** + +Code in RageSurfaceUtilsPalettize.cpp is under the following permissive +license: + +Copyright (C) 1989, 1991 by Jef Poskanzer. +Copyright (C) 1997, 2000, 2002 by Greg Roelofs; based on an idea by + Stefan Schneider. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. This software is provided "as is" without express or +implied warranty. + +****************************************************************************** + +PCRE is distributed under the 3-clause BSD license: + +Written by: Philip Hazel + +Copyright (c) 1997-2003 University of Cambridge +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of the University of Cambridge nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +****************************************************************************** + +The MAD library (included with most Windows binary distributions), and +interface code in RageSoundReader_MP3, is licensed under the GPL, version 2 or +later, available in /usr/share/common-licenses/GPL. Support for this library +can be disabled at compile-time. + +libmad - MPEG audio decoder library +Copyright (C) 2000-2004 Underbit Technologies, Inc. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +****************************************************************************** + +NotesLoaderMidi contains code from STK under the following license: + +Copyright 2003 Gary P. Scavone + +LEGAL AND ETHICAL: + +This software was designed and created to be made publicly available for +free, primarily for academic purposes, so if you use it, pass it on with +this documentation, and for free. + +On April 19 2007, StepMania was granted an MIT license by Gary Scavone +for any STK code on the condition that all of the the STK +credits/disclaimers/copyrights from the README are retained in the +source code and in the project documentation. --- stepmania-3.9.orig/debian/changelog +++ stepmania-3.9/debian/changelog @@ -0,0 +1,6 @@ +stepmania (3.9-1~getdeb1) jaunty; urgency=low + + * New upstream version + + -- Joao Pinto Sat, 26 Sep 2009 09:25:49 +0000 + --- stepmania-3.9.orig/debian/rules +++ stepmania-3.9/debian/rules @@ -0,0 +1,69 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_MAKE_INSTALL_TARGET = # handle install manually + +clean:: + find \( \ + \( -type d -name CVS \) \ + -o -iname '.#*' \ + -o -name .cvsignore \ + -o -name Makefile.in \ + \) -print0 | xargs -0 rm -rf + + cd autoconf && rm -f compile config.sub missing install-sh config.guess depcomp + cd src && rm -f config.h.in + rm -f configure aclocal.m4 + +post-patches:: + aclocal -I autoconf/m4 + autoheader + automake -a + autoconf + +install/stepmania4:: + install -d $(DEB_DESTDIR)usr/games \ + $(DEB_DESTDIR)usr/share/pixmaps + install src/stepmania $(DEB_DESTDIR)usr/games/stepmania + unzip -cqq Packages/StepMania.smzip Themes/default/Graphics/Common\ window\ icon.png | \ + pngtopnm | \ + ppmtoxpm > $(DEB_DESTDIR)usr/share/pixmaps/stepmania.xpm + dh_desktop + +# not needed for this release +#binary-fixup/stepmania4-data:: +# # normalize mode on these files, because upstream usually ships them with +# # exec bits set arbitrarily +# find debian/stepmania4-data -type f -print0 | xargs -0 chmod 0644 + +# used to get and pack an orig tarball from Stepmania's CVS repository +DATESTAMP=$(shell date +%Y%m%d) +UVERSION=4.0~cvs$(DATESTAMP) +UPDATEFOLDER=$(DEB_SOURCE_PACKAGE)-$(UVERSION) +ORIGTARBALL=$(DEB_SOURCE_PACKAGE)_$(UVERSION).orig.tar.gz +get-cvs-orig-source: + cd /tmp && rm -rf $(UPDATEFOLDER) && \ +cvs -z3 -d:pserver:anonymous@stepmania.cvs.sourceforge.net:/cvsroot/stepmania \ + co -d $(UPDATEFOLDER) -P stepmania + + # remove CVS cruft + cd /tmp/$(UPDATEFOLDER) && \ +find \( \ + \( -type d -name CVS \) \ + -o -iname '.#*' \ + -o -name .cvsignore \ +\) -print0 | xargs -0 rm -rf + + # These folders are not needed for the build, and contain some non-free + # binaries, and binaries without source code. + cd /tmp/$(UPDATEFOLDER) && rm -rf PBProject Program Utils + + # repack + cd /tmp && tar czf $(ORIGTARBALL) $(UPDATEFOLDER) + mv /tmp/$(ORIGTARBALL) .. + + uupdate ../$(ORIGTARBALL) $(UVERSION) + cd /tmp && rm -rf $(UPDATEFOLDER) --- stepmania-3.9.orig/debian/stepmania-data.install +++ stepmania-3.9/debian/stepmania-data.install @@ -0,0 +1 @@ +./Packages/ usr/share/games/stepmania4/ --- stepmania-3.9.orig/debian/compat +++ stepmania-3.9/debian/compat @@ -0,0 +1 @@ +5 --- stepmania-3.9.orig/debian/menu +++ stepmania-3.9/debian/menu @@ -0,0 +1,2 @@ +?package(stepmania4):needs="X11" section="Games/Arcade"\ + title="Stepmania 4" command="/usr/games/stepmania4" icon="/usr/share/pixmaps/stepmania4.xpm" --- stepmania-3.9.orig/debian/control +++ stepmania-3.9/debian/control @@ -0,0 +1,44 @@ +Source: stepmania +Section: games +Priority: optional +Maintainer: Simon Ruggier +Uploaders: Marco Rodrigues +Build-Depends: cdbs, debhelper (>= 5), automake1.9, autoconf, autotools-dev, libgl1-mesa-dev, libglu1-mesa-dev, libxrandr-dev, libxtst-dev, libpng12-dev, libjpeg62-dev, libogg-dev, libvorbis-dev, libmad0-dev, libavcodec-dev, libavformat-dev, libtheora-dev, libasound2-dev, libgtk2.0-dev, netpbm, unzip +Build-Conflicts: autoconf2.13 +Standards-Version: 3.7.2 +Homepage: http://www.stepmania.com/ + +Package: stepmania +Architecture: any +Depends: ${shlibs:Depends}, stepmania-data (= ${source:Version}) +Description: Free dance simulation game + StepMania is a rhythm game for Windows, Mac, and Linux. It features 3D + graphics, keyboard and "dance pad" support, and an editor for creating your own + steps. + . + Songs (and courses) can be added to /usr/share/games/stepmania4/Songs, or per + user in ~/.stepmania4/Songs. Note that songs must be downloaded separately - + more information can be found at http://www.stepmania.com/wiki/Download_Songs. + . + This package contains StepMania's architecture specific executable code. If + you want to play StepMania, you should install this package. Note that this is + currently a prerelease snapshot of StepMania 4, and as such, it + probably has some bugs lurking in it. + +Package: stepmania-data +Architecture: all +Depends: +Recommends: stepmania (= ${source:Version}) +Description: Data files for StepMania + StepMania is a rhythm game for Windows, Mac, and Linux. It features 3D + graphics, keyboard and "dance pad" support, and an editor for creating your own + steps. + . + Songs (and courses) can be added to /usr/share/games/stepmania4/Songs, or per + user in ~/.stepmania4/Songs. Note that songs must be downloaded separately - + more information can be found at http://www.stepmania.com/wiki/Download_Songs. + . + This package contains architecture-independent data needed by stepmania to run, + such as the default theme. Architecture independent data is usually split into + a separate package that is shared between architectures, to save space. If you + want to play StepMania, you should install the stepmania4 package.