r3840 - in packages/trunk/gunroar: . debian debian/patches

Miriam Ruiz baby-guest at alioth.debian.org
Sun Aug 26 00:30:51 UTC 2007


Author: baby-guest
Date: 2007-08-26 00:30:51 +0000 (Sun, 26 Aug 2007)
New Revision: 3840

Added:
   packages/trunk/gunroar/debian/
   packages/trunk/gunroar/debian/changelog
   packages/trunk/gunroar/debian/compat
   packages/trunk/gunroar/debian/control
   packages/trunk/gunroar/debian/copyright
   packages/trunk/gunroar/debian/docs
   packages/trunk/gunroar/debian/gunroar-data.install
   packages/trunk/gunroar/debian/gunroar.6
   packages/trunk/gunroar/debian/gunroar.desktop
   packages/trunk/gunroar/debian/gunroar.install
   packages/trunk/gunroar/debian/gunroar.xpm
   packages/trunk/gunroar/debian/menu
   packages/trunk/gunroar/debian/patches/
   packages/trunk/gunroar/debian/patches/01_sdl_fix_imports.diff
   packages/trunk/gunroar/debian/patches/02_d_language_changes.diff
   packages/trunk/gunroar/debian/patches/03_put_prefs_in_home_dir.diff
   packages/trunk/gunroar/debian/patches/04_adapt_build_file_to_linux.diff
   packages/trunk/gunroar/debian/patches/05_put_replay_dir_in_home.diff
   packages/trunk/gunroar/debian/patches/directories.patch
   packages/trunk/gunroar/debian/patches/series
   packages/trunk/gunroar/debian/patches/windowed.patch
   packages/trunk/gunroar/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/trunk/gunroar/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/trunk/gunroar/debian/changelog
===================================================================
--- packages/trunk/gunroar/debian/changelog	                        (rev 0)
+++ packages/trunk/gunroar/debian/changelog	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,5 @@
+gunroar (0.15.dfsg1-1) unstable; urgency=low
+
+  * Initial release (Closes: #439612)
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Sat, 25 Aug 2007 19:58:40 +0000

Added: packages/trunk/gunroar/debian/compat
===================================================================
--- packages/trunk/gunroar/debian/compat	                        (rev 0)
+++ packages/trunk/gunroar/debian/compat	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1 @@
+5

Added: packages/trunk/gunroar/debian/control
===================================================================
--- packages/trunk/gunroar/debian/control	                        (rev 0)
+++ packages/trunk/gunroar/debian/control	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,38 @@
+Source: gunroar
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
+Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
+Build-Depends: debhelper (>= 5), ant, quilt, gdc,
+ libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
+ libsdl1.2-dev, libsdl-mixer1.2-dev
+Standards-Version: 3.7.2
+
+Package: gunroar
+Architecture: any
+Depends: gunroar-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: 360-degree gunboat shooter
+ Gunroar is an excelent shooter in which the game environment turns to be
+ the sea and our spaceship an armed boat. The player moves around in a
+ level generated randomly, and containing enemy islands, turrets and
+ enemy boats) and that never ends. Each enemy killed increments your
+ points according to the time it took you to destroy it and its size.
+ .
+ Gunroar is another gem among many by Kenta Cho.
+ .
+  Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html
+
+Package: gunroar-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: gunroar
+Description: 360-degree gunboat shooter - game data
+ Gunroar is an excelent shooter in which the game environment turns to be
+ the sea and our spaceship an armed boat. The player moves around in a
+ level generated randomly, and containing enemy islands, turrets and
+ enemy boats) and that never ends. Each enemy killed increments your
+ points according to the time it took you to destroy it and its size.
+ .
+ This package includes the architecture-independent data for the game Gunroar.
+ .
+  Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html

Added: packages/trunk/gunroar/debian/copyright
===================================================================
--- packages/trunk/gunroar/debian/copyright	                        (rev 0)
+++ packages/trunk/gunroar/debian/copyright	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,62 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
+Sat, 25 Aug 2007 19:58:40 +0000.
+
+It was downloaded from http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr_e.html
+
+Upstream Author: 
+
+    Kenta Cho <cs8k-cyu at asahi-net.or.jp>
+
+Copyright: 
+
+    Copyright 2005 Kenta Cho
+
+    import/SDL* : Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met: 
+
+     1. Redistributions of source code must retain the above copyright notice, 
+        this list of conditions and the following disclaimer. 
+
+     2. 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. 
+
+    THIS SOFTWARE IS PROVIDED ``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 REGENTS 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. 
+
+
+import/SDL*:
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library 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
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2007, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/trunk/gunroar/debian/docs
===================================================================
--- packages/trunk/gunroar/debian/docs	                        (rev 0)
+++ packages/trunk/gunroar/debian/docs	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,2 @@
+readme_e.txt
+readme.txt

Added: packages/trunk/gunroar/debian/gunroar-data.install
===================================================================
--- packages/trunk/gunroar/debian/gunroar-data.install	                        (rev 0)
+++ packages/trunk/gunroar/debian/gunroar-data.install	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,2 @@
+images usr/share/games/gunroar/
+sounds usr/share/games/gunroar/

Added: packages/trunk/gunroar/debian/gunroar.6
===================================================================
--- packages/trunk/gunroar/debian/gunroar.6	                        (rev 0)
+++ packages/trunk/gunroar/debian/gunroar.6	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,159 @@
+.\" (c) 2007 Miriam Ruiz <little_miry at yahoo.es>
+.\" (c) 2005 Kenta Cho <cs8k-cyu at asahi-net.or.jp>
+.\" 
+.\" This document 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 package 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 package; if not, write to the Free Software
+.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+.TH "Gunroar" "6" "" "" ""
+.SH "NAME"
+gunroar \- 360\-degree gunboat shooter
+.SH "DESCRIPTION"
+Guns, Guns, Guns!
+
+Steer a boat and sink enemy fleet!
+
+Gunroar is an excelent shooter in which the game environment turns to be the sea and our spaceship an armed boat. The player moves around in a level generated randomly, and containing enemy islands, turrets and enemy boats) and that never ends. Each enemy killed increments your points according to the time it took you to destroy it and its size.
+.SH "OPTIONS"
+These command\-line options are available:
+.TP 
+\fB\-brightness n\fR
+Set the brightness of the screen. (n = 0 \- 100, default = 100)
+.TP 
+\fB\-luminosity n\fR
+Set the luminous intensity. (n = 0 \- 100, default = 0)
+.TP 
+\fB\-res x y\fR
+Set the screen resolution to (x, y). (default = 640, 480)
+.TP 
+\fB\-nosound\fR
+Stop the sound.
+.TP 
+\fB\-window\fR
+Launch the game in a window.
+.TP 
+\fB\-fullscreen\fR
+Launch the game in fullscreen mode.
+.TP 
+\fB\-exchange\fR
+Exchange a gun key and a lance key.
+.TP 
+\fB\-turnspeed n\fR
+Adjust the turning speed. (n = 0 \- 500, default = 100) (NORMAL mode)
+.TP 
+\fR\-firerear\fR
+Fire to the rear of the ship. (NORMAL mode)
+.TP 
+\fB\-rotatestick2 n\fR
+Rotate the direction of the stick2 in n degrees. (TWIN STICK, DOUBLE PLAY mode)
+.TP 
+\fB\-reversestick2\fR
+Reverse the direction of the stick2. (TWIN STICK, DOUBLE PLAY mode)
+.TP 
+\fB\-enableaxis5\fR
+Use the input of axis 5 to fire shots. (for xbox 360 wired controller) (TWIN STICK, DOUBLE PLAY mode)
+.SH "USAGE"
+You can select a game mode by pressing up/down keys or a lance key at the title screen. (NORMAL / TWIN STICK / DOUBLE PLAY / REPLAY)
+.P
+
+Controls (NORMAL mode):
+
+.TP 
+\fBMove\fR
+Arrow / Num / [WASD] / [IJKL] / Stick
+
+.TP 
+\fBFire guns / Hold direction\fR
+[Z][L\-Ctrl][R\-Ctrl][.] / Trigger 1, 4, 5, 8, 9, 12
+
+Hold a key to open automatic fire and hold the direction of a boat. Tap a key to take a turn while firing.
+
+.TP 
+\fBFire lance\fR
+[X][L\-Alt][R\-Alt][L\-Shift][R\-Shift][/][Return] / Trigger 2, 3, 6, 7, 10, 11
+
+Lance is a single\-shot weapon. You have to tap a key to fire a next lance. You can't fire a next lance while a first lance is in a screen.
+.P
+
+Controls (TWIN STICK mode):
+
+It is strongly recommended to use twin analog sticks.
+
+.TP 
+\fBMove\fR
+[WASD] / Stick1 (Axis 1, 2)
+
+.TP 
+\fBFire guns\fR
+[IJKL] / Stick2 (Axis 3 or 5, 4)
+
+You can control the concentration of guns by the analog stick. (If you have a problem with the direction of the stick2, try '\-rotatestick2' and '\-reversestick2' oprtions. e.g. '\-rotatestick2 \-90 \-reversestick2') (If you are using xbox 360 wired controller, use '\-enableaxis5' option.)
+.P
+
+Controls (DOUBLE PLAY mode):
+
+Control two boats at a time.
+
+.TP 
+\fBMove boat1\fR
+ [WASD] / Stick1 (Axis 1, 2)
+
+.TP 
+\fBMove boat2\fR
+ [IJKL] / Stick2 (Axis 3 or 5, 4)
+.P
+
+Controls (MOUSE mode):
+
+Steer a ship with a keyboard or a pad, and control a sight with a mouse.
+
+.TP 
+\fBMove\fR
+Arrow / Num / [WASD] / [IJKL] / Stick
+
+.TP 
+\fBControl sight\fR
+Mouse
+
+.TP 
+\fBFire guns (narrow)\fR
+Mouse left button
+
+.TP 
+\fBFire guns (wide)\fR
+Mouse right button
+.P
+
+Controls(In every mode):
+
+.TP 
+\fBPause\fR
+[P]
+
+.TP 
+\fBQuit a game / Back to title\fR
+[ESC]
+.P
+
+Rank multiplier:
+
+Rank multiplier (displayed in the upper right) is a bonus multiplier that increases with a difficulty of a game. You can increase a rank multiplier faster by going forward faster.
+.P
+
+Boss appearance timer:
+
+Boss appearance timer (displayed in the upper left) is a remaining time before a boss ship appears.
+.P
+.SH "SEE ALSO"
+You can find more about the game on its homepage: http://www.asahi\-net.or.jp/~cs8k\-cyu/windows/gr_e.html
+.SH "AUTHOR"
+Gunroar has been written by Kenta Cho <cs8k\-cyu at asahi\-net.or.jp>

Added: packages/trunk/gunroar/debian/gunroar.desktop
===================================================================
--- packages/trunk/gunroar/debian/gunroar.desktop	                        (rev 0)
+++ packages/trunk/gunroar/debian/gunroar.desktop	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Gunroar
+GenericName=
+Comment=Kenta Cho's Gunroar
+Icon=gunroar.xpm
+Exec=/usr/games/gunroar
+Terminal=false
+Categories=Game;ArcadeGame;

Added: packages/trunk/gunroar/debian/gunroar.install
===================================================================
--- packages/trunk/gunroar/debian/gunroar.install	                        (rev 0)
+++ packages/trunk/gunroar/debian/gunroar.install	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,3 @@
+gunroar usr/games/
+debian/*.xpm usr/share/pixmaps/
+debian/*.desktop usr/share/applications/

Added: packages/trunk/gunroar/debian/gunroar.xpm
===================================================================
--- packages/trunk/gunroar/debian/gunroar.xpm	                        (rev 0)
+++ packages/trunk/gunroar/debian/gunroar.xpm	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,321 @@
+/* XPM */
+static char *dummy[]={
+"32 32 286 2",
+".e c #000000",
+"aA c #010101",
+"bp c #010102",
+"bq c #010103",
+".M c #020202",
+".C c #020205",
+"#f c #020207",
+"#G c #030303",
+".L c #03030a",
+".B c #03030b",
+".D c #03040b",
+".E c #03040c",
+"#x c #04040b",
+"bF c #04040c",
+"cc c #04040d",
+"#X c #050505",
+"b4 c #050510",
+"aa c #060606",
+"a4 c #060613",
+"cq c #070707",
+"#J c #08080e",
+".d c #09081b",
+".U c #090909",
+"a5 c #09091d",
+"a7 c #090a1d",
+"cA c #090a1e",
+".r c #0a091e",
+"bV c #0a0a0a",
+"cu c #0a0a1e",
+".F c #0a0b22",
+"co c #0b081a",
+"a6 c #0b0c26",
+"#0 c #0c0c0c",
+".u c #0d0b26",
+".R c #0d0d0d",
+"an c #0d0e28",
+"bu c #0d0e29",
+"ct c #0d0e2c",
+".P c #0e0e0e",
+"as c #0e0f2d",
+".# c #0e0f2e",
+"c# c #0e1032",
+"bo c #0f0f0f",
+"#g c #0f102f",
+".6 c #101010",
+"ci c #101136",
+".n c #111031",
+"bM c #111111",
+"ar c #111338",
+".G c #11143b",
+"cy c #121034",
+"a2 c #121212",
+"cn c #121234",
+"#k c #121237",
+"#z c #121239",
+"bz c #130d2c",
+".v c #131036",
+"ad c #131313",
+"#j c #13133e",
+"bA c #140d2e",
+"bN c #140e30",
+"cp c #141331",
+".s c #141414",
+"#I c #14141b",
+"ao c #141640",
+"bR c #141745",
+"bB c #150e32",
+".h c #15143c",
+"#P c #151515",
+"#y c #151543",
+"Qt c #151645",
+"bh c #151742",
+"aq c #151744",
+"be c #15174a",
+"bC c #160f34",
+"bd c #161616",
+"#i c #161647",
+".a c #161649",
+"ab c #161847",
+"#K c #161848",
+".I c #171746",
+"#h c #17174a",
+"#O c #17184a",
+"bf c #17194d",
+".x c #171b51",
+".5 c #18174a",
+"#l c #181818",
+"#Z c #181950",
+".T c #181952",
+"ap c #181b50",
+"cm c #191a4d",
+"cx c #191a4e",
+"#N c #191a53",
+"bW c #1a1645",
+"b9 c #1a1747",
+".Q c #1a1a1a",
+"ac c #1a1b57",
+"cv c #1a1c4f",
+"cr c #1a1c52",
+".w c #1b1951",
+"#e c #1b1b1b",
+"cz c #1b1b4b",
+".4 c #1b1b56",
+"#Y c #1b1c5a",
+"bX c #1c184b",
+".o c #1c1b4d",
+"bZ c #1c1d62",
+"ce c #1c1f57",
+"cj c #1c1f59",
+"b3 c #1c1f61",
+"c. c #1d194d",
+"bY c #1d194e",
+".S c #1d1c5a",
+".N c #1d1d1d",
+"#M c #1d1e60",
+"br c #1d1e61",
+"ca c #1d1f5a",
+"b2 c #1d2065",
+"aB c #1e1e1e",
+".H c #1e1e5d",
+"cw c #1e1f59",
+".K c #1e1f62",
+"#L c #1e1f63",
+".y c #1e1f64",
+"b0 c #1e1f65",
+"cf c #1e205e",
+"bg c #1e2166",
+"bD c #1f1a4b",
+"b8 c #1f1c57",
+".J c #1f1e61",
+".f c #1f1f1f",
+"bs c #1f2064",
+"ck c #1f2261",
+"bn c #202020",
+"cs c #202364",
+"cg c #202366",
+".q c #202668",
+".b c #211d64",
+".7 c #212121",
+"cl c #212468",
+"cb c #221f61",
+"bL c #222222",
+"cB c #222366",
+"bE c #232573",
+"ch c #242167",
+"ae c #242424",
+".p c #242468",
+"bO c #25257a",
+"b1 c #25277e",
+".i c #262466",
+"#Q c #262626",
+"bt c #26287d",
+"bc c #272727",
+"bP c #27277d",
+".c c #29267f",
+"#m c #292929",
+".t c #2a2a2a",
+".k c #2a2f81",
+"a# c #2b2b2b",
+"bU c #2c2c2c",
+".j c #2e2d81",
+"#1 c #2e2e2e",
+"bQ c #2e2f96",
+"#A c #303030",
+"bm c #313131",
+".8 c #323232",
+"bK c #333333",
+".O c #343434",
+"af c #353535",
+"b7 c #363636",
+"#R c #373737",
+"bb c #383838",
+"#t c #393939",
+"#n c #3a3a3a",
+"#u c #3b3b3b",
+"at c #3c3c3c",
+"bT c #3d3d3d",
+"#2 c #3f3f3f",
+"#H c #404040",
+"#B c #414141",
+"bl c #424242",
+"aD c #434343",
+"bJ c #444444",
+"ag c #464646",
+"#S c #484848",
+"ay c #494949",
+"by c #4b4b4b",
+"aL c #4c4c4c",
+"au c #4d4d4d",
+"aU c #4e4e4e",
+"#3 c #505050",
+"#C c #525252",
+"bk c #535353",
+"#6 c #545454",
+"bI c #555555",
+"#8 c #575757",
+"b6 c #585858",
+"#T c #595959",
+"ba c #5a5a5a",
+".9 c #5b5b5b",
+".3 c #5c5c5c",
+"aM c #5d5d5d",
+"av c #5e5e5e",
+"#W c #5f5f5f",
+"#4 c #616161",
+"al c #646464",
+"aE c #656565",
+"bH c #666666",
+"ah c #686868",
+"aT c #696969",
+"aK c #6a6a6a",
+"b# c #6b6b6b",
+"aJ c #6c6c6c",
+"bx c #6d6d6d",
+"aN c #6e6e6e",
+"aw c #6f6f6f",
+"bS c #707070",
+"#5 c #727272",
+"#D c #747474",
+"bj c #757575",
+"aF c #767676",
+"bG c #777777",
+"ai c #797979",
+".X c #7a7a7a",
+"b. c #7c7c7c",
+"bw c #7e7e7e",
+"aO c #7f7f7f",
+"ax c #808080",
+"#7 c #848484",
+"aC c #868686",
+"#9 c #878787",
+".l c #8a8a8a",
+".z c #8c8c8c",
+"a9 c #8d8d8d",
+"bv c #8f8f8f",
+"aP c #909090",
+"#v c #919191",
+".m c #959595",
+"bi c #979797",
+"aG c #989898",
+"am c #9b9b9b",
+"a8 c #9e9e9e",
+".V c #9f9f9f",
+".2 c #a1a1a1",
+"az c #a4a4a4",
+"#s c #a9a9a9",
+".A c #aaaaaa",
+"#q c #afafaf",
+"aQ c #b2b2b2",
+"#o c #b4b4b4",
+".W c #b5b5b5",
+"#. c #b7b7b7",
+".Y c #bebebe",
+"#p c #bfbfbf",
+"aX c #c0c0c0",
+"aR c #c3c3c3",
+"#U c #c9c9c9",
+"#V c #cacaca",
+".1 c #cecece",
+".Z c #cfcfcf",
+".0 c #d2d2d2",
+"cd c #d3d3d3",
+"#F c #d4d4d4",
+"ak c #d5d5d5",
+"aY c #d6d6d6",
+"a. c #d9d9d9",
+"aj c #dedede",
+"#d c #dfdfdf",
+"aH c #e0e0e0",
+"aS c #e5e5e5",
+"b5 c #e8e8e8",
+"#w c #eaeaea",
+"## c #ececec",
+"a1 c #ededed",
+"aV c #efefef",
+"#b c #f2f2f2",
+"a3 c #f4f4f4",
+"#c c #f5f5f5",
+"aW c #f6f6f6",
+"#E c #f7f7f7",
+"aI c #f8f8f8",
+"#r c #f9f9f9",
+"#a c #fcfcfc",
+"a0 c #fdfdfd",
+"aZ c #fefefe",
+".g c #ffffff",
+"QtQt.#.#.#.#.a.a.a.a.b.b.b.b.b.c.c.c.d.e.f.g.e.e.e.h.i.j.j.k.k.k",
+"QtQt.#.#.#.#.a.a.a.a.b.b.b.b.b.c.c.c.e.e.l.g.g.m.e.n.o.p.p.q.q.q",
+"QtQt.#.#.#.#.a.a.a.a.b.b.b.b.b.c.c.r.e.s.g.g.g.t.e.u.v.w.w.x.x.x",
+"QtQt.#.#.#.#.a.a.a.a.a.a.a.a.a.y.y.e.e.z.g.g.A.e.e.B.C.D.E.F.G.x",
+".H.H.I.I.I.I.J.J.J.J.J.J.J.J.J.K.L.M.N.g.g.g.O.e.e.P.Q.R.e.e.E.G",
+".H.H.I.I.I.I.J.J.J.J.J.J.J.J.S.T.U.Q.V.g.g.W.P.X.Y.Z.0.1.2.3.e.E",
+".H.H.I.I.I.I.J.J.J.J.J.J.J.4.5.6.7.8.g.g.g.9#.###a.g#b.g#c#d#e#f",
+"#g#g#g#g#g#g#h#h#h#h#h#i#j#k#l#m#n#o.g.g#p#q#r.g#s#t#m#u#v#w.7#x",
+"#g#g#g#g#g#g#h#h#h#h#y#z.P.f#A#B#C.g.g.g#D#E.g#F#l#G.e#G.s#H#I#J",
+"#g#g#K#K#K#K#L#L#M#N#O#P#Q#R#S#T#U.g.g#V#W.g.g#D.e.e.e.e.e#X.M#J",
+"#g#g#K#K#K#K#L#Y#Z#0.N#1#2#3#4#5.g.g.g#6#7.g.g#8.M#9#d#d#da.a#aa",
+"#g#g#K#K#Kabac#Oadaeafag#8ahaiaj.g.gak.eai.g.gal#Gam.g.g.g#r.8aa",
+"anaoapaqaras.U.Qa#atauavawax#v.g.g.g#W.eay.g.gazaAaB#maC.g#r.8aa",
+".e.e.e.e.e.6.7.8aD#6aEaF#9aG#b.g.g#d.e.e#XaH.gaIaJaA#GaK.g#r.8aa",
+".O.O.O#uaLaMaNaOaP.2aQaR#FaS.g.g.gaT.e.e.eaUaV.gaW#daXaY.g#r.8#X",
+".g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.g#w.e.e.e.e#Gat.Y.gaZa0a0a1#sa2aA",
+".g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.e.g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.e",
+"#p#p#p#p#p#p#p#p#p#p#p#p#p#p.g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.g.e",
+".e.e.e.e.e.e.e.e.e.e.e.e.e.e#V.g.g.g.g.g.g.g.g.g.g.g.g.g.ga3a3.e",
+"a4a5a6a6a6a6a6a6a6a6a7a7.eay.g.g.g#qa8a9b.b#baaybbbcbd#X.e.e.e.e",
+"bebfbgbgbgbgbgbgbgbgbh.L.e#p.g.g.gbiaCbjalbkblbmbnbo.e.e.e.ebpbq",
+"brbsbtbtbtbtbtbtbtbtbu.e#2.g.g.gbvbwbx.3by#n#m#lbzbAbBbCbCbCbCbD",
+"brbsbtbtbtbtbtbtbtbEbF.e.W.g.g#abGbHbIbJbKbLbMbzbNbCbCbCbCbCbCbD",
+"bObPbQbQbQbQbtbtbtbR.e.O.g.g.gbS#WaUbTbU#ebVbWbXbYbYbYbYbYbCbCbD",
+"bZb0b1b1b1b1b2b2b3b4.e.A.g.gb5b6agb7ae.sb8b9c.bYbYbYbYbYbYbCbCbD",
+"bZb0b1b1b1b1b2b2c#.e.t.g.g.gba#2#1.N#0cacbbYbYbYbYbYbYbYbYbCbCbD",
+"bZb0b1b1b1b1b2b2cc.e.V.g.gcdbbbcbdcecfcgchbYbYbYbYbYbYbYbYbCbCbD",
+"bZb0b1b1b1b1b2cicc.f.g.g.g#3bnbocjckclclcmcncncncncncncncncococp",
+"bZb0b1b1b1b1b2cc.e.m.g.g.Y#lcqcrcsclclclcmcncncncncncncncncococp",
+"bZb0b0b0b0b0ct.L.s.g.g.g#u.ecucvcvcvcvcvcncncncncncncncncncococp",
+"bZb0b0b0b0b0cc.e.l.g.g#s.e.ecwcvcvcvcvcvcncncncncxcxcxcxcxcycycz",
+"bZb0b0b0b0b0ccbVa3.g.g.O.ecAcBcvcvcvcvcvcncncncncxcxcxcxcxcycycz"};

Added: packages/trunk/gunroar/debian/menu
===================================================================
--- packages/trunk/gunroar/debian/menu	                        (rev 0)
+++ packages/trunk/gunroar/debian/menu	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,3 @@
+?package(gunroar):needs="X11" section="Games/Action"\
+  title="Gunroar" command="/usr/games/gunroar" \
+  icon="/usr/share/pixmaps/gunroar.xpm"

Added: packages/trunk/gunroar/debian/patches/01_sdl_fix_imports.diff
===================================================================
--- packages/trunk/gunroar/debian/patches/01_sdl_fix_imports.diff	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/01_sdl_fix_imports.diff	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,274 @@
+Sun Aug 26 01:05:54 CEST 2007  pdewacht at gmail.com
+  * 01_sdl_fix_imports
+diff -rN -u old-gr/import/SDL_active.d new-gr/import/SDL_active.d
+--- old-gr/import/SDL_active.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_active.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* Include file for SDL application focus event handling */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_audio.d new-gr/import/SDL_audio.d
+--- old-gr/import/SDL_audio.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_audio.d	2007-08-26 01:08:15.000000000 +0200
+@@ -20,10 +20,10 @@
+     slouken at devolution.com
+ */
+ 
+-import SDL_types;
+-import SDL_error;
+-import SDL_rwops;
+-import SDL_byteorder;
++public import SDL_types;
++public import SDL_error;
++public import SDL_rwops;
++public import SDL_byteorder;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_cdrom.d new-gr/import/SDL_cdrom.d
+--- old-gr/import/SDL_cdrom.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_cdrom.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* This is the CD-audio control API for Simple DirectMedia Layer */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL.d new-gr/import/SDL.d
+--- old-gr/import/SDL.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL.d	2007-08-26 01:08:15.000000000 +0200
+@@ -20,18 +20,18 @@
+     slouken at devolution.com
+ */
+ 
+-import SDL_types;
+-import SDL_getenv;
+-import SDL_error;
+-import SDL_rwops;
+-import SDL_timer;
+-import SDL_audio;
+-import SDL_cdrom;
+-import SDL_joystick;
+-import SDL_events;
+-import SDL_video;
+-import SDL_byteorder;
+-import SDL_Version;
++public import SDL_types;
++public import SDL_getenv;
++public import SDL_error;
++public import SDL_rwops;
++public import SDL_timer;
++public import SDL_audio;
++public import SDL_cdrom;
++public import SDL_joystick;
++public import SDL_events;
++public import SDL_video;
++public import SDL_byteorder;
++public import SDL_Version;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_endian.d new-gr/import/SDL_endian.d
+--- old-gr/import/SDL_endian.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_endian.d	2007-08-26 01:08:15.000000000 +0200
+@@ -34,9 +34,9 @@
+          and other data sources.
+ */
+ 
+-import SDL_types;
+-import SDL_rwops;
+-import SDL_byteorder;
++public import SDL_types;
++public import SDL_rwops;
++public import SDL_byteorder;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_events.d new-gr/import/SDL_events.d
+--- old-gr/import/SDL_events.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_events.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,12 +22,12 @@
+ 
+ /* Include file for SDL event handling */
+ 
+-import SDL_types;
+-import SDL_active;
+-import SDL_keyboard;
+-import SDL_mouse;
+-import SDL_joystick;
+-import SDL_syswm;
++public import SDL_types;
++public import SDL_active;
++public import SDL_keyboard;
++public import SDL_mouse;
++public import SDL_joystick;
++public import SDL_syswm;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_joystick.d new-gr/import/SDL_joystick.d
+--- old-gr/import/SDL_joystick.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_joystick.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* Include file for SDL joystick event handling */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_keyboard.d new-gr/import/SDL_keyboard.d
+--- old-gr/import/SDL_keyboard.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_keyboard.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,11 +22,11 @@
+ 
+ /* Include file for SDL keyboard event handling */
+ 
+-import SDL_types;
++public import SDL_types;
+ // !!! A hack! struct SDL_keysym is defined in this module,
+ // !!! so we need to resolve the nameclash...
+ // !!! Definitely won't work on *NIX but for now will do.
+-import SDL_Keysym;
++public import SDL_Keysym;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_mixer.d new-gr/import/SDL_mixer.d
+--- old-gr/import/SDL_mixer.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_mixer.d	2007-08-26 01:08:15.000000000 +0200
+@@ -24,7 +24,7 @@
+ 
+ /* $Id: SDL_mixer.d,v 1.1.1.1 2005/06/18 00:46:00 kenta Exp $ */
+ 
+-import SDL;
++public import SDL;
+ 
+ extern (C) {
+ 
+diff -rN -u old-gr/import/SDL_mouse.d new-gr/import/SDL_mouse.d
+--- old-gr/import/SDL_mouse.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_mouse.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,8 +22,8 @@
+ 
+ /* Include file for SDL mouse event handling */
+ 
+-import SDL_types;
+-import SDL_video;
++public import SDL_types;
++public import SDL_video;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_mutex.d new-gr/import/SDL_mutex.d
+--- old-gr/import/SDL_mutex.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_mutex.d	2007-08-26 01:08:15.000000000 +0200
+@@ -25,7 +25,7 @@
+ 	These are independent of the other SDL routines.
+ */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_quit.d new-gr/import/SDL_quit.d
+--- old-gr/import/SDL_quit.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_quit.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* Include file for SDL quit event handling */
+ 
+-import SDL_events;
++public import SDL_events;
+ 
+ /* 
+   An SDL_QUITEVENT is generated when the user tries to close the application
+diff -rN -u old-gr/import/SDL_rwops.d new-gr/import/SDL_rwops.d
+--- old-gr/import/SDL_rwops.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_rwops.d	2007-08-26 01:08:15.000000000 +0200
+@@ -24,7 +24,7 @@
+    data sources.  It can easily be extended to files, memory, etc.
+ */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_syswm.d new-gr/import/SDL_syswm.d
+--- old-gr/import/SDL_syswm.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_syswm.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* Include file for SDL custom system window manager hooks */
+ 
+-import SDL_Version;
++public import SDL_Version;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_thread.d new-gr/import/SDL_thread.d
+--- old-gr/import/SDL_thread.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_thread.d	2007-08-26 01:08:15.000000000 +0200
+@@ -25,8 +25,8 @@
+ 	These are independent of the other SDL routines.
+ */
+ 
+-import SDL_types;
+-import SDL_mutex;
++public import SDL_types;
++public import SDL_mutex;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_timer.d new-gr/import/SDL_timer.d
+--- old-gr/import/SDL_timer.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_timer.d	2007-08-26 01:08:15.000000000 +0200
+@@ -20,7 +20,7 @@
+     slouken at devolution.com
+ */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_Version.d new-gr/import/SDL_Version.d
+--- old-gr/import/SDL_Version.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_Version.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,7 +22,7 @@
+ 
+ /* This header defines the current SDL version */
+ 
+-import SDL_types;
++public import SDL_types;
+ 
+ extern(C):
+ 
+diff -rN -u old-gr/import/SDL_video.d new-gr/import/SDL_video.d
+--- old-gr/import/SDL_video.d	2007-08-26 01:08:15.000000000 +0200
++++ new-gr/import/SDL_video.d	2007-08-26 01:08:15.000000000 +0200
+@@ -22,9 +22,9 @@
+ 
+ /* Header file for access to the SDL raw framebuffer window */
+ 
+-import SDL_types;
+-import SDL_mutex;
+-import SDL_rwops;
++public import SDL_types;
++public import SDL_mutex;
++public import SDL_rwops;
+ 
+ extern(C):
+ 
+

Added: packages/trunk/gunroar/debian/patches/02_d_language_changes.diff
===================================================================
--- packages/trunk/gunroar/debian/patches/02_d_language_changes.diff	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/02_d_language_changes.diff	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,94 @@
+Sun Aug 26 01:06:20 CEST 2007  pdewacht at gmail.com
+  * 02_d_language_changes
+diff -rN -u old-gr/src/abagames/gr/bullet.d new-gr/src/abagames/gr/bullet.d
+--- old-gr/src/abagames/gr/bullet.d	2007-08-26 01:08:26.000000000 +0200
++++ new-gr/src/abagames/gr/bullet.d	2007-08-26 01:08:26.000000000 +0200
+@@ -172,7 +172,7 @@
+     glPopMatrix();
+   }
+ 
+-  public void checkShotHit(Vector p, Collidable s, Shot shot) {
++  public void checkShotHit(Vector p, Collidable s_, Shot shot) {
+     float ox = fabs(pos.x - p.x), oy = fabs(pos.y - p.y);
+     if (ox + oy < 0.5f) {
+     //if (shape.checkCollision(ox, oy, s)) {
+diff -rN -u old-gr/src/abagames/gr/stagemanager.d new-gr/src/abagames/gr/stagemanager.d
+--- old-gr/src/abagames/gr/stagemanager.d	2007-08-26 01:08:26.000000000 +0200
++++ new-gr/src/abagames/gr/stagemanager.d	2007-08-26 01:08:26.000000000 +0200
+@@ -261,11 +261,11 @@
+         (cast(int) platformPos[ppi].pos.x, cast(int) platformPos[ppi].pos.y);
+       if (!platformEnemySpec.setFirstState(en.state, p.x, p.y, platformPos[ppi].deg))
+         continue;
+-      for (int i = 0; i < platformPosNum; i++) {
+-        if (fabs(platformPos[ppi].pos.x - platformPos[i].pos.x) <= 1 &&
+-            fabs(platformPos[ppi].pos.y - platformPos[i].pos.y) <= 1 &&
+-            !platformPos[i].used) {
+-          platformPos[i].used = true;
++      for (int j = 0; j < platformPosNum; j++) {
++        if (fabs(platformPos[ppi].pos.x - platformPos[j].pos.x) <= 1 &&
++            fabs(platformPos[ppi].pos.y - platformPos[j].pos.y) <= 1 &&
++            !platformPos[j].used) {
++          platformPos[j].used = true;
+           ppn--;
+         }
+       }
+diff -rN -u old-gr/src/abagames/util/rand.d new-gr/src/abagames/util/rand.d
+--- old-gr/src/abagames/util/rand.d	2007-08-26 01:08:26.000000000 +0200
++++ new-gr/src/abagames/util/rand.d	2007-08-26 01:08:26.000000000 +0200
+@@ -165,14 +165,14 @@
+ 
+ void next_state()
+ {
+-    uint *p=state;
++    uint *p = cast(uint *)state;
+ 
+     /* if init_genrand() has not been called, */
+     /* a default initial seed is used         */
+     if (initf==0) init_genrand(5489UL);
+ 
+     left = N;
+-    next = state;
++    next = cast(uint *)state;
+     
+     for (int j=N-M+1; --j; p++) 
+         *p = p[M] ^ TWIST(p[0], p[1]);
+diff -rN -u old-gr/src/abagames/util/sdl/luminous.d new-gr/src/abagames/util/sdl/luminous.d
+--- old-gr/src/abagames/util/sdl/luminous.d	2007-08-26 01:08:26.000000000 +0200
++++ new-gr/src/abagames/util/sdl/luminous.d	2007-08-26 01:08:26.000000000 +0200
+@@ -7,6 +7,7 @@
+ 
+ private import std.math;
+ private import std.string;
++private import std.c.string;
+ private import opengl;
+ private import abagames.util.actor;
+ 
+@@ -32,7 +33,7 @@
+   }
+ 
+   private void makeLuminousTexture() {
+-    uint *data = td;
++    uint *data = cast(uint *)td;
+     int i;
+     memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * uint.sizeof);
+     glGenTextures(1, &luminousTexture);
+diff -rN -u old-gr/src/abagames/util/sdl/texture.d new-gr/src/abagames/util/sdl/texture.d
+--- old-gr/src/abagames/util/sdl/texture.d	2007-08-26 01:08:26.000000000 +0200
++++ new-gr/src/abagames/util/sdl/texture.d	2007-08-26 01:08:26.000000000 +0200
+@@ -103,13 +103,13 @@
+         }
+         glBindTexture(GL_TEXTURE_2D, num + ti);
+         gluBuild2DMipmaps(GL_TEXTURE_2D, 4, panelWidth, panelHeight,
+-                          GL_RGBA, GL_UNSIGNED_BYTE, pixels);
++                          GL_RGBA, GL_UNSIGNED_BYTE, cast(void *)pixels);
+         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST);
+         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
+         if (maskColor != 0xffffffffu) {
+           glBindTexture(GL_TEXTURE_2D, maskNum + ti);
+           gluBuild2DMipmaps(GL_TEXTURE_2D, 4, panelWidth, panelHeight,
+-                            GL_RGBA, GL_UNSIGNED_BYTE, maskPixels);
++                            GL_RGBA, GL_UNSIGNED_BYTE, cast(void *)maskPixels);
+           glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST);
+           glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
+         }
+

Added: packages/trunk/gunroar/debian/patches/03_put_prefs_in_home_dir.diff
===================================================================
--- packages/trunk/gunroar/debian/patches/03_put_prefs_in_home_dir.diff	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/03_put_prefs_in_home_dir.diff	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,49 @@
+Sun Aug 26 01:06:53 CEST 2007  pdewacht at gmail.com
+  * 03_put_prefs_in_home_dir
+diff -rN -u old-gr/src/abagames/gr/prefmanager.d new-gr/src/abagames/gr/prefmanager.d
+--- old-gr/src/abagames/gr/prefmanager.d	2007-08-26 01:08:36.000000000 +0200
++++ new-gr/src/abagames/gr/prefmanager.d	2007-08-26 01:08:36.000000000 +0200
+@@ -6,6 +6,8 @@
+ module abagames.gr.prefmanager;
+ 
+ private import std.stream;
++private import std.c.stdlib;
++private import std.string;
+ private import abagames.util.prefmanager;
+ private import abagames.gr.gamemanager;
+ 
+@@ -16,18 +18,22 @@
+  private:
+   static const int VERSION_NUM = 14;
+   static const int VERSION_NUM_13 = 13;
+-  static const char[] PREF_FILE = "gr.prf";
++  static const char[] PREF_FILE = ".gunroar.prf";
+   PrefData _prefData;
+ 
+   public this() {
+     _prefData = new PrefData;
+   }
+ 
++  public char[] pref_file() {
++    return format("%s/%s", std.string.toString(getenv("HOME")), PREF_FILE);
++  }
++
+   public void load() {
+     auto File fd = new File;
+     try {
+       int ver;
+-      fd.open(PREF_FILE);
++      fd.open(pref_file());
+       fd.read(ver);
+       if (ver == VERSION_NUM_13)
+         _prefData.loadVer13(fd);
+@@ -45,7 +51,7 @@
+ 
+   public void save() {
+     auto File fd = new File;
+-    fd.create(PREF_FILE);
++    fd.create(pref_file());
+     fd.write(VERSION_NUM);
+     _prefData.save(fd);
+     fd.close();
+

Added: packages/trunk/gunroar/debian/patches/04_adapt_build_file_to_linux.diff
===================================================================
--- packages/trunk/gunroar/debian/patches/04_adapt_build_file_to_linux.diff	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/04_adapt_build_file_to_linux.diff	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,96 @@
+Sun Aug 26 01:07:06 CEST 2007  pdewacht at gmail.com
+  * 04_adapt_build_file_to_linux
+diff -rN -u old-gr/build.xml new-gr/build.xml
+--- old-gr/build.xml	2007-08-26 01:08:46.000000000 +0200
++++ new-gr/build.xml	2007-08-26 01:08:46.000000000 +0200
+@@ -4,44 +4,40 @@
+ 
+ <project name="d_build" default="all" basedir=".">
+ 	<!-- Target program name -->
+-	<property name="name" value="gr"/>
+-	<!-- Libraries -->
+-	<property name="libsdir" value="lib\"/>
+-	<property name="libs" value="${libsdir}SDL.lib ${libsdir}SDL_mixer.lib ${libsdir}opengl32.lib ${libsdir}glu32.lib"/>
++	<property name="name" value="gunroar"/>
+ 	<!-- Program file name -->
+-	<property name="prog" value="${name}.exe"/>
++	<property name="prog" value="${name}"/>
+ 	<!-- Imported .d files directory -->
+ 	<property name="import" location="import"/>
+-	<property name="builtimport" value="SDL_mixer.d"/>
++	<property name="builtimport" value="SDL_mixer.d SDL_video.d SDL_mouse.d"/>
+ 	<!-- Source files directory -->
+ 	<property name="src" location="src"/>
+-	<!-- Resource(icon) files directory -->
++	<!-- Resource(icon) file1s directory -->
+ 	<property name="resource" location="resource"/>
+ 
+ 	<!-- Build all -->
+-	<target name="all" depends="compile, link"/>
+-	<target name="rebuild" depends="clean, compile, link"/>
++	<target name="all" depends="buildlib, compile, link"/>
++	<target name="rebuild" depends="clean, buildlib, compile, link"/>
+ 	<target name="compile">
+-		<apply executable="dmd" dir="${src}" dest="${src}" parallel="true" failonerror="true" skipemptyfilesets="true">
+-			<mapper type="glob" from="*.d" to="*.obj"/>
++		<apply executable="gdmd" dir="${src}" dest="${src}" parallel="true" failonerror="true" skipemptyfilesets="true">
++			<mapper type="glob" from="*.d" to="*.o"/>
+ 			<fileset dir="${src}" includes="**/*.d"/>
+ 			<arg value="-c"/>
+ 			<arg value="-I${import}"/>
+ 			<arg value="-op"/>
+ 			<arg value="-O"/>
+ 			<arg value="-release"/>
+-			<arg value="-version=Win32_release"/>
+ 			<srcfile/>
+ 		</apply>
+ 	</target>
+ 	<target name="link">
+-		<apply executable="dmd" dir="." parallel="true" failonerror="true">
+-			<fileset dir="${src}" includes="**/*.obj"/>
+-			<fileset dir="${import}" includes="**/*.obj"/>
+-			<fileset dir="${resource}" includes="*.RES"/>
+-			<fileset dir="${resource}" includes="*.def"/>
+-			<arg value="${prog}"/>
+-			<arg value="${libs}"/>
++		<apply executable="gdc" dir="." parallel="true" failonerror="true">
++			<fileset dir="${src}" includes="**/*.o"/>
++			<fileset dir="${import}" includes="**/*.o"/>
++			<arg value="-o${prog}"/>
++                        <arg value="-lSDL_mixer"/>
++                        <arg value="-lSDL"/>
++                        <arg value="-lGLU"/>
+ 			<srcfile/>
+ 		</apply>
+ 	</target>
+@@ -51,7 +47,7 @@
+ 		<delete file="${prog}"/>
+ 		<delete file="${name}.map"/>
+ 		<delete>
+-			<fileset dir="${src}" includes="**/*.obj"/>
++			<fileset dir="${src}" includes="**/*.o"/>
+ 		</delete>
+ 	</target>
+ 
+@@ -61,18 +57,10 @@
+ 		</exec>
+ 	</target>
+ 
+-	<!-- Create a resource file(for an icon)(BCC55 required) -->
+-	<target name="resource">
+-		<apply executable="brcc32" dir="${resource}" parallel="false" failonerror="true">
+-			<fileset dir="${resource}" includes="${name}.rc"/>
+-			<srcfile/>
+-		</apply>
+-	</target>
+-
+ 	<!-- Build libraries in the import directory -->
+ 	<target name="buildlib">
+-		<apply executable="dmd" dir="${import}" dest="${import}" parallel="false" failonerror="false">
+-			<mapper type="glob" from="*.d" to="*.obj"/>
++		<apply executable="gdmd" dir="${import}" dest="${import}" parallel="false" failonerror="false">
++			<mapper type="glob" from="*.d" to="*.o"/>
+ 			<fileset dir="${import}" includes="${builtimport}"/>
+ 			<arg value="-c"/>
+ 			<arg value="-I${import}"/>
+

Added: packages/trunk/gunroar/debian/patches/05_put_replay_dir_in_home.diff
===================================================================
--- packages/trunk/gunroar/debian/patches/05_put_replay_dir_in_home.diff	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/05_put_replay_dir_in_home.diff	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,53 @@
+Sun Aug 26 01:23:00 CEST 2007  pdewacht at gmail.com
+  * 05_put_replay_dir_in_home
+diff -rN -u old-gr/src/abagames/gr/replay.d new-gr/src/abagames/gr/replay.d
+--- old-gr/src/abagames/gr/replay.d	2007-08-26 01:23:51.000000000 +0200
++++ new-gr/src/abagames/gr/replay.d	2007-08-26 01:23:51.000000000 +0200
+@@ -6,6 +6,9 @@
+ module abagames.gr.replay;
+ 
+ private import std.stream;
++private import std.file;
++private import std.c.stdlib;
++private import std.string;
+ private import abagames.util.sdl.recordableinput;
+ private import abagames.util.sdl.pad;
+ private import abagames.util.sdl.twinstick;
+@@ -18,7 +21,6 @@
+  */
+ public class ReplayData {
+  public:
+-  static const char[] dir = "replay";
+   static const int VERSION_NUM = 11;
+   InputRecord!(PadState) padInputRecord;
+   InputRecord!(TwinStickState) twinStickInputRecord;
+@@ -30,9 +32,18 @@
+   int gameMode;
+  private:
+ 
++  char[] dir() {
++    char[] dir = std.string.toString(getenv("HOME")) ~ "/.gunroar";
++    try {
++      mkdir(dir);
++    } catch (FileException e) {
++    }
++    return dir;
++  }
++
+   public void save(char[] fileName) {
+     auto File fd = new File;
+-    fd.create(dir ~ "/" ~ fileName);
++    fd.create(dir() ~ "/" ~ fileName);
+     fd.write(VERSION_NUM);
+     fd.write(seed);
+     fd.write(score);
+@@ -59,7 +70,7 @@
+ 
+   public void load(char[] fileName) {
+     auto File fd = new File;
+-    fd.open(dir ~ "/" ~ fileName);
++    fd.open(dir() ~ "/" ~ fileName);
+     int ver;
+     fd.read(ver);
+     if (ver != VERSION_NUM)
+

Added: packages/trunk/gunroar/debian/patches/directories.patch
===================================================================
--- packages/trunk/gunroar/debian/patches/directories.patch	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/directories.patch	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,35 @@
+Index: gunroar-0.15.dfsg1/src/abagames/util/sdl/sound.d
+===================================================================
+--- gunroar-0.15.dfsg1.orig/src/abagames/util/sdl/sound.d	2007-08-26 00:05:15.000000000 +0000
++++ gunroar-0.15.dfsg1/src/abagames/util/sdl/sound.d	2007-08-26 00:06:10.000000000 +0000
+@@ -67,7 +67,7 @@
+ public class Music: Sound {
+  public:
+   static int fadeOutSpeed = 1280;
+-  static char[] dir = "sounds/musics";
++  static char[] dir = "/usr/share/games/gunroar/sounds/musics";
+  private:
+   Mix_Music* music;
+ 
+@@ -131,7 +131,7 @@
+ 
+ public class Chunk: Sound {
+  public:
+-  static char[] dir = "sounds/chunks";
++  static char[] dir = "/usr/share/games/gunroar/sounds/chunks";
+  private:
+   Mix_Chunk* chunk;
+   int chunkChannel;
+Index: gunroar-0.15.dfsg1/src/abagames/util/sdl/texture.d
+===================================================================
+--- gunroar-0.15.dfsg1.orig/src/abagames/util/sdl/texture.d	2007-08-26 00:05:22.000000000 +0000
++++ gunroar-0.15.dfsg1/src/abagames/util/sdl/texture.d	2007-08-26 00:05:50.000000000 +0000
+@@ -16,7 +16,7 @@
+  */
+ public class Texture {
+  public:
+-  static char[] imagesDir = "images/";
++  static char[] imagesDir = "/usr/share/games/gunroar/images/";
+   static SDL_Surface*[char[]] surface;
+  private:
+   GLuint num, maskNum;

Added: packages/trunk/gunroar/debian/patches/series
===================================================================
--- packages/trunk/gunroar/debian/patches/series	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/series	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,7 @@
+01_sdl_fix_imports.diff
+02_d_language_changes.diff
+03_put_prefs_in_home_dir.diff
+04_adapt_build_file_to_linux.diff
+05_put_replay_dir_in_home.diff
+directories.patch
+windowed.patch

Added: packages/trunk/gunroar/debian/patches/windowed.patch
===================================================================
--- packages/trunk/gunroar/debian/patches/windowed.patch	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/windowed.patch	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,34 @@
+Index: gunroar-0.15.dfsg1/src/abagames/gr/boot.d
+===================================================================
+--- gunroar-0.15.dfsg1.orig/src/abagames/gr/boot.d	2007-08-26 00:09:40.000000000 +0000
++++ gunroar-0.15.dfsg1/src/abagames/gr/boot.d	2007-08-26 00:10:07.000000000 +0000
+@@ -141,6 +141,9 @@
+     case "-window":
+       screen.windowMode = true;
+       break;
++    case "-fullscreen":
++      screen.windowMode = false;
++      break;
+     case "-res":
+       if (i >= args.length - 2) {
+         usage(progName);
+@@ -229,5 +232,5 @@
+ 
+ private void usage(char[] progName) {
+   Logger.error
+-    ("Usage: " ~ progName ~ " [-window] [-res x y] [-brightness [0-100]] [-luminosity [0-100]] [-nosound] [-exchange] [-turnspeed [0-500]] [-firerear] [-rotatestick2 deg] [-reversestick2] [-enableaxis5] [-nowait]");
++    ("Usage: " ~ progName ~ " [-window] [-fullscreen] [-res x y] [-brightness [0-100]] [-luminosity [0-100]] [-nosound] [-exchange] [-turnspeed [0-500]] [-firerear] [-rotatestick2 deg] [-reversestick2] [-enableaxis5] [-nowait]");
+ }
+Index: gunroar-0.15.dfsg1/src/abagames/util/sdl/screen3d.d
+===================================================================
+--- gunroar-0.15.dfsg1.orig/src/abagames/util/sdl/screen3d.d	2007-08-26 00:08:35.000000000 +0000
++++ gunroar-0.15.dfsg1/src/abagames/util/sdl/screen3d.d	2007-08-26 00:08:47.000000000 +0000
+@@ -22,7 +22,7 @@
+   float _nearPlane = 0.1;
+   int _width = 640;
+   int _height = 480;
+-  bool _windowMode = false;
++  bool _windowMode = true;
+ 
+   protected abstract void init();
+   protected abstract void close();

Added: packages/trunk/gunroar/debian/rules
===================================================================
--- packages/trunk/gunroar/debian/rules	                        (rev 0)
+++ packages/trunk/gunroar/debian/rules	2007-08-26 00:30:51 UTC (rev 3840)
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	ant
+	#docbook-to-man debian/gunroar.sgml > gunroar.1
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	ant clean
+	rm -f gunroar
+	rm -f `find . -name "*.o"`
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installmenu
+	dh_installman debian/gunroar.6
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+get-orig-source:
+	dh_testdir
+	dh_testroot
+	wget http://www.asahi-net.or.jp/~cs8k-cyu/windows/gr0_15.zip
+	unzip gr0_15.zip
+	rm gr/*.dll
+	rm gr/*.exe
+	rm gr/lib/*.lib
+	rm gr/resource/*.RES
+	tar cvfz ../gunroar_0.15.dfsg1.orig.tar.gz gr
+	rm -rf gr0_15.zip gr
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source


Property changes on: packages/trunk/gunroar/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-games-commits mailing list