--- atanks-3.0.orig/debian/patches/selectPlayers-fix.patch +++ atanks-3.0/debian/patches/selectPlayers-fix.patch @@ -0,0 +1,13 @@ +diff -Nur -x '*.orig' -x '*~' atanks-3.0/src/atanks.cc atanks-3.0.new/src/atanks.cc +--- atanks-3.0/src/atanks.cc 2008-05-25 06:48:52.000000000 +1000 ++++ atanks-3.0.new/src/atanks.cc 2008-06-30 21:23:11.000000000 +1000 +@@ -1271,7 +1271,8 @@ + memcpy (&playersOpts[global->numPermanentPlayers + 1], &gamename, sizeof (MENUENTRY)); + memcpy (&playersOpts[global->numPermanentPlayers + 2], &loadgame, sizeof (MENUENTRY)); + memcpy (&playersOpts[global->numPermanentPlayers + 3], &campaign, sizeof (MENUENTRY)); +- memcpy (&playersOpts[global->numPermanentPlayers + 4], &load_game_entry, sizeof(MENUENTRY)); ++ if ((number_saved_games) && (saved_game_names) ) ++ memcpy (&playersOpts[global->numPermanentPlayers + 4], &load_game_entry, sizeof(MENUENTRY)); + + do { + optionsRetVal = options (global, env, &playersMenu); --- atanks-3.0.orig/debian/watch +++ atanks-3.0/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=dversionmangle=s/~/-/ + http://sf.net/atanks/atanks-([\d].[\d])\.tar\.(?:gz|bz2) debian svn-upgrade --- atanks-3.0.orig/debian/rules +++ atanks-3.0/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +build/atanks:: + $(MAKE) -C src -f Makefile.debian --- atanks-3.0.orig/debian/atanks.install +++ atanks-3.0/debian/atanks.install @@ -0,0 +1,3 @@ +atanks /usr/games +debian/atanks-icon.xpm /usr/share/pixmaps/ +debian/atanks.desktop /usr/share/applications/ --- atanks-3.0.orig/debian/compat +++ atanks-3.0/debian/compat @@ -0,0 +1 @@ +4 --- atanks-3.0.orig/debian/atanks.6 +++ atanks-3.0/debian/atanks.6 @@ -0,0 +1,67 @@ +.\" $Id$ +.\" +.\" Copyright (C) 2004 Graham Wilson +.\" +.\" 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 AUTHORS OR 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. + +.TH ATANKS 6 "17 April 2004" "" atanks +.\" +.SH NAME +atanks \- obliterate each other with oversize weapons +.\" +.SH SYNOPSIS +.B atanks +[\fIoptions\fP] +.\" +.SH DESCRIPTION +Atomic Tanks is a multi\-player game in which you attempt to destroy +other tanks while trying to protect your own. You earn money for +destroying other tanks; with this money you can buy upgrades and better +weapons for your tank. +.PP +This game is similar Scorched Earth or the Worms series of games. +.\"" +.SH OPTIONS +.TP +\fB\-v\fR, \fB\-\-verbose\fR +display extra information while running +.TP +\fB\-h\fR +display a brief message showing which options can be used +.TP +\fB\-fs\fR +run Atomic Tanks in full screen mode +.TP +\fB\-\-windowed\fR +run Atomic Tanks in a window (this is the default) +.TP +\fB\-d\fR, \fB\-\-depth\fR 16|32 +set th the color depth to either 16 or 32 bits +.TP +\fB\-w\fR, \fB\-\-width \fIwidth\fR +set the window width (default is 800) +.TP +\fB\-\-height \fIheight\fR +set the window height (default is 600) +.\" +.SH AUTHOR +Atomic Tanks was written by Tom Hudson . This +manual page was written by Graham Wilson for the +Debian project, but may be used by others. --- atanks-3.0.orig/debian/atanks-data.install +++ atanks-3.0/debian/atanks-data.install @@ -0,0 +1,2 @@ +*.dat /usr/share/games/atanks +*.txt /usr/share/games/atanks --- atanks-3.0.orig/debian/docs +++ atanks-3.0/debian/docs @@ -0,0 +1,4 @@ +TODO +README +Help* +credits.txt --- atanks-3.0.orig/debian/atanks-icon.xpm +++ atanks-3.0/debian/atanks-icon.xpm @@ -0,0 +1,100 @@ +/* XPM */ +static char * icon_xpm[] = { +"32 32 65 1", +" c None", +". c #020501", +"+ c #0E1409", +"@ c #271426", +"# c #212500", +"$ c #22242B", +"% c #073D00", +"& c #2A2F27", +"* c #323304", +"= c #005B00", +"- c #4B3127", +"; c #47380F", +"> c #23550E", +", c #294F2E", +"' c #5B3061", +") c #007200", +"! c #384A49", +"~ c #583961", +"{ c #643849", +"] c #4F4C2A", +"^ c #0B702B", +"/ c #4A4B49", +"( c #216C08", +"_ c #BE1438", +": c #505218", +"< c #494A69", +"[ c #665033", +"} c #306F23", +"| c #773E77", +"1 c #009103", +"2 c #2C7141", +"3 c #7E4167", +"4 c #87397D", +"5 c #4E6E24", +"6 c #864278", +"7 c #884386", +"8 c #2F8A05", +"9 c #238D28", +"0 c #9A427A", +"a c #686A2D", +"b c #646D4D", +"c c #9B4D88", +"d c #7B607C", +"e c #964F92", +"f c #696D70", +"g c #876667", +"h c #A75088", +"i c #7D629B", +"j c #1AAD1A", +"k c #4F8F4E", +"l c #588F39", +"m c #AC5399", +"n c #3DAD07", +"o c #8868B0", +"p c #B65F9B", +"q c #4CAB25", +"r c #88894A", +"s c #64A333", +"t c #6293AB", +"u c #5D9BA5", +"v c #42E044", +"w c #A5B26E", +"x c #AAA8AC", +"y c #6CDB53", +"z c #91E46A", +"''3hcc0hhmpmmphhch40h0cc0006667|", +"'''hhhhhhcppmmmmchchcc00c006c667", +"'''|mhhpphpememmcmc,]67600000ee7", +"'~~'phppppmmmcecchhl)..006600ccc", +"''~~6cphpepemhcecch81(+.6606000c", +"'''''cpcmphhhecichh(qn((.3466c6c", +"~'''~epehmppmhmppmknsnnn(/4666ce", +"'''''~mcdecimeeeem8qqsq86|6d66c|", +"''~''~|cpimcppmoc98sqql46||06667", +"~'''''~hcppcecmcelqnq8k666|00d|6", +"t''~'~'hppiccpcchnsnng466|6cc666", +"tt~''''|pppipcp0kn8n7dcc0606o6|3", +"tt''~'~~mpmomeh00qk0666660|66||6", +"ttt'''''omppe/,}j0ccccccc|c6|d64", +"tttt~~''~mp>^}5l8:&b0ccmccc6|6||", +"ttttti~''o!99^}(1(l>-ceccpeed7||", +"utttttt'~&syyvyzzzzzj]],]>cee|||", +"ttttttttb>1yvvyzyysvj#:::r*ecc66", +"tttttttu#;jjqvjjjj18^#*]]:#e|d|6", +"ttttttt*a#b981))j198(*:]::>0cc60", +"ttttttt]a*.2s9^9}9b}.:a]r+ccce|6", +"tttttt*::::+.#%++###:::ra0o|6c66", +"ttttt#:]:::::*:#;*r::*rxae7e7e66", +"tttt;:g[5][[a[;:[;b:;:wr*de7e7cc", +"tttt=,)}=)f2))$i>jq11{rr.ututttt", +"ttttt,@(%8k%f$)/)#,>%j<$uttttttt", +"tttttttt(&')%%1d=%!&%1$rttuttttt", +"ttttttttuttk(=~|1=%%=j+ttttttutt", +"tttt____________)8=11@x____ttttt", +"tttt______________f]$______ttttu", +"tttttttttttttuttuutttttttttttttt", +"tttttttttttttttttttttttttttttttt"}; --- atanks-3.0.orig/debian/control +++ atanks-3.0/debian/control @@ -0,0 +1,33 @@ +Source: atanks +Section: games +Priority: optional +Maintainer: Mark Purcell +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.1), cdbs, liballegro4.2-dev | liballegro-dev + +Package: atanks +Section: games +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, atanks-data (= ${source:Version}) +Description: tank-battling game + Atomic tanks is a multi-player game in which you attempt to destroy + other tanks while trying to protect your own. You earn money for + destroying other tanks; with this money you can buy upgrades and better + weapons for your tank. + . + This game is similar Scorched Earth or the Worms series of games. + +Package: atanks-data +Section: games +Priority: optional +Architecture: all +Description: data files for Atomic tanks + Atomic tanks is a multi-player game in which you attempt to destroy + other tanks while trying to protect your own. You earn money for + destroying other tanks; with this money you can buy upgrades and better + weapons for your tank. + . + This game is similar Scorched Earth or the Worms series of games. + . + This package holds the data files needed for Atomic tanks. --- atanks-3.0.orig/debian/atanks.desktop +++ atanks-3.0/debian/atanks.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Atomic Tanks +Version=1.0 +Comment=Atomic Tanks +Exec=atanks +Icon=atanks-icon +Terminal=false +StartupNotify=true +Type=Application +Categories=Game; --- atanks-3.0.orig/debian/atanks.manpages +++ atanks-3.0/debian/atanks.manpages @@ -0,0 +1 @@ +debian/atanks.6 --- atanks-3.0.orig/debian/copyright +++ atanks-3.0/debian/copyright @@ -0,0 +1,23 @@ +Atomic tanks was written by Tom Hudson, Stevante Software and Kota543 +Software. The Debian package is maintained by Graham Wilson. + +The source was obtained from: http://atanks.sourceforge.net/ + +Copyright (C) 2002,2003 Thomas Hudson,Juraj Michalek + +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. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, a copy of the GNU General public license can be found +in `/usr/share/common-licenses/GPL'. --- atanks-3.0.orig/debian/changelog +++ atanks-3.0/debian/changelog @@ -0,0 +1,156 @@ +atanks (3.0-1~hardy1) hardy-backports; urgency=low + + * Automated backport upload; no source changes. + + -- Scott Kitterman Fri, 25 Jul 2008 09:15:00 +0100 + +atanks (3.0-1) unstable; urgency=low + + * New upstream release + * Fixed upstream: + - Does not have a GNOME (Freedesktop) Menu entry; this fixes that + (Closes: #478857) + - freezes when no players are chosen for game and player clicks 'ok' + (Closes: #484900) + * Include upstream selectPlayers-fix.patch + + -- Mark Purcell Mon, 30 Jun 2008 21:43:09 +1000 + +atanks (2.9-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Thu, 03 Apr 2008 22:01:13 +1100 + +atanks (2.8-1) unstable; urgency=low + + * New upstream release + - New upstream version 2.7 (Closes: #458947) + - Opponent tanks sometimes get virtually unlimited credits. + (Closes: #452058) + - Menu slow down (Closes: #452878) + * Add .desktop file + - atanks has no .desktop file (Closes: #452573) + * Switch to CDBS + + -- Mark Purcell Fri, 22 Feb 2008 09:37:34 +0100 + +atanks (2.6-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Sun, 18 Nov 2007 15:42:25 +0000 + +atanks (2.5-1) unstable; urgency=low + + * New upstream release + * Move to section Games/Action + - lintian menu-item-creates-new-section + * debian/rules: [ ! -f Makefile ] || $(MAKE) dist + - lintian debian-rules-ignores-make-clean-error + + -- Mark Purcell Sat, 18 Aug 2007 11:53:55 +0100 + +atanks (2.4-2) UNRELEASED; urgency=low + + * NOT RELEASED YET + + -- Mark Purcell Wed, 18 Jul 2007 18:17:40 +0100 + +atanks (2.4-1) unstable; urgency=low + + * New upstream release + - Large CPU demand while idle (Closes: #422425) + + -- Mark Purcell Wed, 18 Jul 2007 17:28:47 +0100 + +atanks (2.3-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Tue, 17 Apr 2007 18:06:05 +1000 + +atanks (2.2-1) unstable; urgency=low + + * New upstream release + + -- Mark Purcell Fri, 16 Mar 2007 06:26:41 +0000 + +atanks (2.1-1) unstable; urgency=low + + * New upstream release + * Fixes the following: + - Unneeded limitation in player name size (Closes: #294625) + - projectiles sometimes get stuck off the top of the screen (Closes: + #394368) + - Text color should be adapted to background (Closes: #331551) + - Does not respond to window manager close action (Closes: #407765) + - projectiles sometimes get stuck off the top of the screen (Closes: + #394382) + + -- Mark Purcell Sat, 3 Mar 2007 12:51:00 +0000 + +atanks (2.0-1) unstable; urgency=low + + * New upstream release + - Game crashes all the time (Closes: #324878) + - atanks bug fix: Ambiguous calls of abs(double) #318527 (Closes: + #376642) + * Update debian/watch + + -- Mark Purcell Sun, 21 Jan 2007 19:25:12 +0000 + +atanks (1.1.0-6) unstable; urgency=low + + * New Maintainer. (Closes: Bug#362084) + - Thanks to Graham Wilson for maintenance todate + * Lintian cleanup: not-binnmuable-any-depends-all + * Prep for upload to svn.debian.org/pkg-allegro + - Convert/ Build-Depends: dpatch + - Update debian/watch + + -- Mark Purcell Tue, 12 Sep 2006 08:40:55 +0100 + +atanks (1.1.0-5) unstable; urgency=low + + * QA upload. + * Package is orphaned (#362084); set maintainer to Debian QA Group. + * Link against liballegro4.2. Closes: #350857. + * debian/copyright: Update FSF address. + * debian/watch: Add. + * Conforms to Standards version 3.7.2. + + -- Matej Vela Thu, 3 Aug 2006 06:35:39 +0200 + +atanks (1.1.0-4) unstable; urgency=low + + * Include copyright information in copyright file. (closes: #290061) + * Remove the watch file, since it currently is broken. It'd be + appreciated if someone can send me a working one. + * Use int where the code was using char as a boolean value. + - cuts down on the number of compiler warnings + - no need to compile with -fsigned-char + * Use fabs where abs was ambiguous. (closes: #318527) + * Update standards version. No changes. + + -- Graham Wilson Sat, 16 Jul 2005 22:39:13 +0000 + +atanks (1.1.0-3) unstable; urgency=low + + * Apply patch from Jan Hudec to use 1.0 as the default damage multiplier when + no other information is available (e.g. a meteor). (closes: #250641) + + -- Graham Wilson Sun, 11 Jul 2004 16:18:31 +0000 + +atanks (1.1.0-2) unstable; urgency=low + + * Include Help.txt in the doc dir. (closes: #247646) + * Correct the watch file. + + -- Graham Wilson Fri, 07 May 2004 04:18:25 +0000 + +atanks (1.1.0-1) unstable; urgency=low + + * Initial release. (closes: #227648) + + -- Graham Wilson Tue, 09 Mar 2004 05:34:39 +0000 --- atanks-3.0.orig/debian/menu +++ atanks-3.0/debian/menu @@ -0,0 +1,3 @@ +?package(atanks):needs="x11" section="Games/Action" \ + title="Atomic Tanks" command="/usr/games/atanks" \ + icon="/usr/share/pixmaps/atanks-icon.xpm"