debian/0000755000000000000000000000000012161562546007176 5ustar debian/compat0000644000000000000000000000000212161561245010367 0ustar 9 debian/control0000644000000000000000000000252512161561353010600 0ustar Source: sdl-ball Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Evgeni Golov Build-Depends: debhelper (>= 9), imagemagick, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev, libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev Standards-Version: 3.9.4 Homepage: http://sdl-ball.sourceforge.net/ Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/sdl-ball/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/sdl-ball/ Package: sdl-ball Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, sdl-ball-data (= ${source:Version}) Description: brick-breaking game like DX-Ball/Arkanoid Your mission: To smash your way through a series of progressively harder and more tricky levels. Your tools: Ultrakinetic titanium balls and your trusty Gruntmazter-3000-Paddle edition. Package: sdl-ball-data Architecture: all Depends: ttf-alee, ${misc:Depends} Description: brick-breaking game like DX-Ball/Arkanoid - data files Your mission: To smash your way through a series of progressively harder and more tricky levels. Your tools: Ultrakinetic titanium balls and your trusty Gruntmazter-3000-Paddle edition. . This package contains arch-independent data files for sdl-ball (images, sounds, levels, etc). debian/sdl-ball.desktop0000644000000000000000000000031312161562101012243 0ustar [Desktop Entry] Name=SDL-Ball Exec=sdl-ball Icon=sdl-ball GenericName=Breakout Game Terminal=false Type=Application Categories=Game;ArcadeGame; Keywords=DX-Ball;MegaBall;Breakout;Arkanoid;Arcade;Puzzle; debian/sdl-ball.menu0000644000000000000000000000022211106556520011543 0ustar ?package(sdl-ball):needs="X11" section="Games/Action"\ title="SDL-Ball" command="/usr/games/sdl-ball"\ icon="/usr/share/pixmaps/sdl-ball.xpm" debian/sdl-ball.install0000644000000000000000000000010211106556520012242 0ustar sdl-ball usr/games debian/sdl-ball.desktop usr/share/applications debian/changelog0000644000000000000000000000370512161562540011047 0ustar sdl-ball (1.01-4) unstable; urgency=low * Fix FTBFS with gcc 4.8 due to stray ‘,’. Thanks: Juhani Numminen Closes: #701355 * Use canonical URLs in Vcs-* entries. * Use debhelper 9 compat. * Honour CPPFLAGS from dpkg-buildflags to properly harden the build. * Standards-Version: 3.9.4 * Improve the desktop file. -- Evgeni Golov Sun, 23 Jun 2013 14:09:01 +0200 sdl-ball (1.01-3) unstable; urgency=low * Fix FTBFS due to wrong use of the override targets of dh. Thanks: Nobuhiro Iwamatsu Closes: #673938 -- Evgeni Golov Sun, 27 May 2012 12:53:43 +0200 sdl-ball (1.01-2) unstable; urgency=low [ Evgeni Golov ] * Update my email address. * Use dh rules.tiny * format 3.0 (quilt) * Standards-Version: 3.9.3 * Update debian/changelog to the latest format specification. * Fix a small spelling typo (Dont → Don't) in the game, thanks lintian. [ Cyril Brulebois ] * Fix FTBFS with gcc 4.7 by fixing missing include (Closes: #667368). -- Evgeni Golov Tue, 15 May 2012 07:09:01 +0200 sdl-ball (1.01-1) unstable; urgency=low * New upstream release. * debian/copyright: + Fix the link to upstream source, this is sdl-ball, not sdl-jump. Closes: #509621. + Add copyright information for the dio-theme. + Update copyright years. -- Evgeni Golov Thu, 22 Jan 2009 19:00:10 +0100 sdl-ball (0.14-1) unstable; urgency=low * New upstream release. * debian/rules: + Use themes/default/icon32.png instead of icon32.png as the icon. * debian/control: + Add ${misc:Depends} to Depends of sdl-ball-data to please lintian. -- Evgeni Golov Mon, 08 Dec 2008 09:41:38 +0100 sdl-ball (0.13-1) unstable; urgency=low * Initial release (Closes: #505447) -- Evgeni Golov Wed, 12 Nov 2008 14:25:49 +0100 debian/sdl-ball.manpages0000644000000000000000000000002211106556520012370 0ustar debian/sdl-ball.6 debian/sdl-ball-data.links0000644000000000000000000000013411106556520012630 0ustar /usr/share/fonts/truetype/alee/Bandal.ttf /usr/share/games/sdl-ball/default/font/Bandal.ttf debian/copyright0000644000000000000000000000242411754361772011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: SDL-Ball Upstream-Contact: Jimmy Christensen Source: http://sourceforge.net/projects/sdl-ball/ Files: * Copyright: © 2008-2009 Jimmy Christensen License: GPL-3+ Files: debian/* Copyright: © 2008-2012 Evgeni Golov License: GPL-3+ Files: themes/default/font/Bandal.ttf Copyright: © 2006 A Lee License: Artistic Files: themes/default/font/subgamefont.ttf Copyright: © 2007 Stephen Branley License: GPL-2 Files: themes/dio-sound-theme/* Copyright: © 2008-2009 dionos License: GPL-3 On Debian systems, the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL' file. License: GPL-3+ On Debian systems, the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL' file. License: GPL-2 On Debian systems, the full text of the GNU General Public License version 2 can be found in the `/usr/share/common-licenses/GPL-2' file. License: Artistic On Debian systems, the complete text of the Artistic License can be found in the /usr/share/common-licenses/Artistic file. debian/sdl-ball.60000644000000000000000000000251211106556520010750 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SDL-BALL 6 "October 18, 2008" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME sdl-ball \- brick-breaking game like DX-Ball/Arkanoid .SH SYNOPSIS .B sdl-ball .SH DESCRIPTION Your mission: To smash your way through a series of progressively harder and more tricky levels. .br Your tools: Ultrakinetic titanium balls and your trusty Gruntmazter-3000-Paddle edition. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. .SH AUTHOR sdl-ball was written by Jimmy Christensen . .PP This manual page was written by Evgeni Golov , for the Debian project (but may be used by others). debian/patches/0000755000000000000000000000000012161562546010625 5ustar debian/patches/typo.patch0000644000000000000000000000110511754363765012647 0ustar From: Evgeni Golov Subject: Fix a small typo (Dont → Don't) Last-Update: 2012-05-15 --- a/main.cpp +++ b/main.cpp @@ -3095,7 +3095,7 @@ void coldet(brick & br, ball &ba, pos & p, effectManager & fxMan) ba.setspeed(ba.velocity + difficulty.hitbrickinc[player.difficulty]); } } else { - cout << "Collision detection error: Dont know where the ball hit." < Bug-Debian: http://bugs.debian.org/701355 Last-Update: 2013-06-06 --- sdl-ball-1.01.orig/main.cpp +++ sdl-ball-1.01/main.cpp @@ -1420,7 +1420,7 @@ int LinesCross(float x0,float y0,float x //Leaves an trail of the ball class tracer { private: - GLfloat x[100], y[100], r[100], g[100], b[100], a[100],s[100], cr,cg,cb,; + GLfloat x[100], y[100], r[100], g[100], b[100], a[100],s[100], cr,cg,cb; bool active[100]; int color; GLfloat lastX, lastY; //Last position where we spawned one debian/patches/honour-cppflags.patch0000644000000000000000000000053012161561245014746 0ustar Subject: Honour CPPFLAGS From: Evgeni Golov Last-Update: 2013-06-23 --- sdl-ball-1.01.orig/Makefile +++ sdl-ball-1.01/Makefile @@ -21,7 +21,7 @@ $(EXECUTABLE): $(OBJECTS) $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $@ .cpp.o: - $(CC) $(CFLAGS) $< -o $@ + $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ clean: rm -f *.o sdl-ball debian/patches/series0000644000000000000000000000011112161561245012026 0ustar gcc-4.7-ftbfs.patch gcc-4.8-ftbfs.patch typo.patch honour-cppflags.patch debian/patches/gcc-4.7-ftbfs.patch0000644000000000000000000000053211754363765014023 0ustar From: Cyril Brulebois Subject: Fix FTBFS with gcc 4.7 by fixing missing include Last-Modified: 2012-04-04 --- sdl-ball-1.01.orig/main.cpp +++ sdl-ball-1.01/main.cpp @@ -31,7 +31,7 @@ #include #include #include - +#include #include #ifdef WIN32 debian/source/0000755000000000000000000000000012161562546010476 5ustar debian/source/format0000644000000000000000000000001411754262014011676 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000120612161561245010250 0ustar #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed export DATADIR=/usr/share/games/sdl-ball/ %: dh $@ override_dh_installchangelogs: dh_installchangelogs changelog.txt override_dh_install-arch: dh_install install -m 0644 -D themes/default/icon32.png $(CURDIR)/debian/sdl-ball/usr/share/pixmaps/sdl-ball.png convert themes/default/icon32.png $(CURDIR)/debian/sdl-ball/usr/share/pixmaps/sdl-ball.xpm override_dh_install-indep: dh_install $(RM) $(CURDIR)/debian/sdl-ball-data/usr/share/games/sdl-ball/default/font/COPYING $(RM) $(CURDIR)/debian/sdl-ball-data/usr/share/games/sdl-ball/default/font/Bandal.ttf debian/README.Source0000644000000000000000000000022311106556520011303 0ustar Upstream releases the source as .tar.bz2, to get a .tar.gz you need to call bzcat sdl-ball_0.13.orig.tar.bz2 | gzip -9 > sdl-ball_0.13.orig.tar.gz debian/watch0000644000000000000000000000007611106556520010223 0ustar version=3 http://sf.net/sdl-ball/sdl-ball-([\d\.]*)\.tar\.bz2 debian/sdl-ball-data.install0000644000000000000000000000004311106556520013155 0ustar themes/* usr/share/games/sdl-ball/