[Pkg-allegro-commits] r13 - tarballs unstable unstable/overgod
unstable/overgod/debian unstable/overgod/debian/patches
Samuel Hocevar
sho at costa.debian.org
Sun May 21 04:36:16 UTC 2006
Author: sho
Date: 2006-05-21 04:35:47 +0000 (Sun, 21 May 2006)
New Revision: 13
Added:
tarballs/overgod_1.0.orig.tar.gz
unstable/overgod/
unstable/overgod/debian/
unstable/overgod/debian/changelog
unstable/overgod/debian/compat
unstable/overgod/debian/control
unstable/overgod/debian/copyright
unstable/overgod/debian/menu
unstable/overgod/debian/overgod.6
unstable/overgod/debian/overgod.sh
unstable/overgod/debian/overgod.xpm
unstable/overgod/debian/patches/
unstable/overgod/debian/patches/010_data_path.diff
unstable/overgod/debian/patches/020_config_file.diff
unstable/overgod/debian/patches/series
unstable/overgod/debian/rules
unstable/raidem/
Log:
overgod (1.0-1) unstable; urgency=low
* Initial Release (Closes: #368275).
* debian/patches/010_data_path.diff:
+ New patch -- fix data files path to comply with policy.
* debian/patches/020_config_file.diff:
+ New patch -- use ~/.overgod.cfg as the configuration file path.
Added: tarballs/overgod_1.0.orig.tar.gz
===================================================================
(Binary files differ)
Property changes on: tarballs/overgod_1.0.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Property changes on: unstable/overgod/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: unstable/overgod/debian/changelog
===================================================================
--- unstable/overgod/debian/changelog 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/changelog 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,10 @@
+overgod (1.0-1) unstable; urgency=low
+
+ * Initial Release (Closes: #368275).
+ * debian/patches/010_data_path.diff:
+ + New patch -- fix data files path to comply with policy.
+ * debian/patches/020_config_file.diff:
+ + New patch -- use ~/.overgod.cfg as the configuration file path.
+
+ -- Sam Hocevar (Debian packages) <sam+deb at zoy.org> Sat, 20 May 2006 17:11:57 -0500
+
Added: unstable/overgod/debian/compat
===================================================================
--- unstable/overgod/debian/compat 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/compat 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1 @@
+4
Added: unstable/overgod/debian/control
===================================================================
--- unstable/overgod/debian/control 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/control 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,31 @@
+Source: overgod
+Section: games
+Priority: optional
+Maintainer: Debian allegro packages maintainers <pkg-allegro-maintainers at lists.alioth.debian.org>
+Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>
+Build-Depends: liballegro4.2-dev (>= 2:4.2.0-4), quilt, debhelper (>= 4.0)
+Standards-Version: 3.7.2
+
+Package: overgod
+Architecture: any
+Depends: ${shlibs:Depends}, overgod-data (>= ${Source-Version})
+Description: bi-directional scrolling arcade game
+ Overgod is an arcade game with bi-directional scrolling where you need to
+ destroy all enemies in an area in a given time. The game is a mix of the
+ classic arcade games Asteroids and Thrust with a lot of additional features.
+ .
+ Overgod can also be played in two-player duel or cooperative modes, or in
+ a special "Time Attack" version where enemies endlessly appear.
+
+Package: overgod-data
+Architecture: all
+Description: graphics and audio data for overgod
+ Overgod is an arcade game with bi-directional scrolling where you need to
+ destroy all enemies in an area in a given time. The game is a mix of the
+ classic arcade games Asteroids and Thrust with a lot of additional features.
+ .
+ Overgod can also be played in two-player duel or cooperative modes, or in
+ a special "Time Attack" version where enemies endlessly appear.
+ .
+ This package contains the architecture-independent data for overgod. For more
+ information, see the overgod package.
Added: unstable/overgod/debian/copyright
===================================================================
--- unstable/overgod/debian/copyright 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/copyright 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,26 @@
+This package was debianized by Sam Hocevar <sam at zoy.org> on
+Sat, 20 May 2006 17:11:57 -0500
+
+It was downloaded from https://sourceforge.net/projects/overgod/
+
+Upstream Author: Linley Henzell <l_henzell at yahoo.com.au>
+
+Copyright 2005 Linley Henzell
+
+ overgod 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, or (at your option) any later
+ version.
+
+ overgod 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 GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
Added: unstable/overgod/debian/menu
===================================================================
--- unstable/overgod/debian/menu 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/menu 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,3 @@
+?package(overgod):needs="X11" section="Games/Arcade" \
+ title="Overgod" command="/usr/games/overgod" \
+ icon="/usr/share/games/overgod/overgod.xpm"
Added: unstable/overgod/debian/overgod.6
===================================================================
--- unstable/overgod/debian/overgod.6 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/overgod.6 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,57 @@
+.\" 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 OVERGOD 6 "20 May 2006"
+.\" 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 <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+overgod \- a bi-directional scrolling arcade game
+.SH SYNOPSIS
+.B overgod
+.SH DESCRIPTION
+.B Overgod
+is an arcade game with bi-directional scrolling where you need to destroy all
+enemies in an area in a given time. The game is a mix of the classic arcade
+games Asteroids and Thrust with a lot of additional features.
+.B Overgod
+can also be played in two-player duel or cooperative modes, or in a special
+"Time Attack" version where enemies endlessly appear.
+.SH DEFAULT KEYS
+.TP
+.B Up
+Move the craft forward.
+.TP
+.B Left, Right
+Turn the craft left and right.
+.TP
+.B Down
+Brake.
+.TP
+.B A
+Fire darts.
+.TP
+.B S
+Fire secondary.
+.TP
+.B D
+Toggle linked fire.
+.TP
+.B Escape
+Pause the game and allow to quit.
+.BR
+.SH AUTHOR
+Overgod was written by Linley Henzell <l_henzell at yahoo.com.au>
+
+This manual page was written by Sam Hocevar <sam at zoy.org> for the Debian
+GNU/Linux system (but may be used by others).
Added: unstable/overgod/debian/overgod.sh
===================================================================
--- unstable/overgod/debian/overgod.sh 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/overgod.sh 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+MASTER="/usr/share/games/overgod/default.cfg"
+CONFIG="${HOME}/.overgod.cfg"
+
+if [ ! -f "${CONFIG}" ]; then
+ cp "${MASTER}" "${CONFIG}" >/dev/null 2>&1
+fi
+
+exec /usr/lib/games/overgod/overgod
+
Property changes on: unstable/overgod/debian/overgod.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Id
Added: unstable/overgod/debian/overgod.xpm
===================================================================
--- unstable/overgod/debian/overgod.xpm 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/overgod.xpm 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,228 @@
+/* XPM */
+static char * overgod_xpm[] = {
+"32 32 193 2",
+" c None",
+". c #EF0350",
+"+ c #F40057",
+"@ c #F60053",
+"# c #F50058",
+"$ c #F70053",
+"% c #E60D4C",
+"& c #F00850",
+"* c #DF1649",
+"= c #F10C51",
+"- c #E8134D",
+"; c #F00E57",
+"> c #D91E47",
+", c #F21052",
+"' c #DA2048",
+") c #DB2148",
+"! c #D52746",
+"~ c #C4323B",
+"{ c #CF2B44",
+"] c #C33240",
+"^ c #EC1B50",
+"/ c #D02D45",
+"( c #CA3143",
+"_ c #C6353D",
+": c #EE1D51",
+"< c #C63542",
+"[ c #E6234E",
+"} c #C7363E",
+"| c #C33A3D",
+"1 c #BE3D3B",
+"2 c #C9373F",
+"3 c #E12A4D",
+"4 c #B34734",
+"5 c #D53249",
+"6 c #AF4A34",
+"7 c #BC423C",
+"8 c #E32B4E",
+"9 c #B44835",
+"0 c #EA2851",
+"a c #AC4D34",
+"b c #B04B35",
+"c c #B54936",
+"d c #D7344A",
+"e c #E42D4F",
+"f c #B24C36",
+"g c #AE4F35",
+"h c #BB4838",
+"i c #C44240",
+"j c #AB522F",
+"k c #DA3646",
+"l c #B34D37",
+"m c #A7552F",
+"n c #BC4939",
+"o c #E63051",
+"p c #C2473B",
+"q c #B94C39",
+"r c #A55830",
+"s c #BD4A3A",
+"t c #B54F38",
+"u c #E83152",
+"v c #BB4E3A",
+"w c #DD3A49",
+"x c #C64A3E",
+"y c #E5384C",
+"z c #E6394D",
+"A c #8D6E26",
+"B c #916C26",
+"C c #E13D4C",
+"D c #9C662D",
+"E c #E73A4E",
+"F c #8F7028",
+"G c #E23F4D",
+"H c #8D7321",
+"I c #917122",
+"J c #E4404E",
+"K c #DA474B",
+"L c #E5414E",
+"M c #DC4847",
+"N c #E0454D",
+"O c #E1464E",
+"P c #DC4A4D",
+"Q c #DE4A48",
+"R c #E2474F",
+"S c #DF4C49",
+"T c #D65147",
+"U c #DB4F48",
+"V c #E14D4A",
+"W c #DC5049",
+"X c #EB4753",
+"Y c #D85349",
+"Z c #E24E4B",
+"` c #D05942",
+" . c #DD514A",
+".. c #DE524B",
+"+. c #DF534C",
+"@. c #E94D54",
+"#. c #DB564B",
+"$. c #CF5E43",
+"%. c #EB4E4F",
+"&. c #D45C45",
+"*. c #D95A46",
+"=. c #DD584D",
+"-. c #DF5948",
+";. c #E85350",
+">. c #DE594D",
+",. c #DB5C48",
+"'. c #DC5D48",
+"). c #E65851",
+"!. c #DA6149",
+"~. c #DB624A",
+"{. c #D8674B",
+"]. c #D86B47",
+"^. c #D96C47",
+"/. c #DA6D48",
+"(. c #D77149",
+"_. c #D9724A",
+":. c #D5754A",
+"<. c #D37844",
+"[. c #D77645",
+"}. c #E36F4C",
+"|. c #EB6A54",
+"1. c #DB744C",
+"2. c #D87746",
+"3. c #D57A46",
+"4. c #D67B47",
+"5. c #D27E47",
+"6. c #D37F48",
+"7. c #E87350",
+"8. c #CD8442",
+"9. c #D58049",
+"0. c #D28343",
+"a. c #CF8644",
+"b. c #D48444",
+"c. c #D18745",
+"d. c #CE8A46",
+"e. c #CF8B46",
+"f. c #D08C47",
+"g. c #CE8F42",
+"h. c #CF9043",
+"i. c #CC9343",
+"j. c #D09144",
+"k. c #CD9444",
+"l. c #D19244",
+"m. c #CE9545",
+"n. c #CD9940",
+"o. c #CE9A41",
+"p. c #CC9E43",
+"q. c #C9A143",
+"r. c #CAA244",
+"s. c #CCA33E",
+"t. c #C8A63F",
+"u. c #CAA740",
+"v. c #C6AA41",
+"w. c #C7AB42",
+"x. c #C6AE3C",
+"y. c #C8AC43",
+"z. c #C5AE43",
+"A. c #C7AF3D",
+"B. c #C3B23E",
+"C. c #C8B13E",
+"D. c #C5B33F",
+"E. c #C6B440",
+"F. c #C2B740",
+"G. c #C7B541",
+"H. c #C3B842",
+"I. c #C5B93B",
+"J. c #C1BC3B",
+"K. c #C4B943",
+"L. c #C6BA3C",
+"M. c #C3BD3C",
+"N. c #C4BE3D",
+"O. c #C0C03E",
+"P. c #C1C13F",
+"Q. c #C5BF3F",
+"R. c #C2C240",
+"S. c #BFC539",
+"T. c #BEC541",
+"U. c #C0C63A",
+"V. c #BFC642",
+"W. c #C1C73B",
+"X. c #BDCA3C",
+"Y. c #E6C052",
+"Z. c #E6C54D",
+"`. c #E3C84E",
+" + c #E4C94F",
+".+ c #E5CA50",
+"++ c #E1CD51",
+"@+ c #E3CE4A",
+"#+ c #E5CF4B",
+"$+ c #E1D24C",
+"%+ c #DFE24F",
+"&+ c #E0E450",
+"*+ c #E2E551",
+" ",
+" G ....0 ",
+" G ..k.K.R.R.u.m.0 ",
+" +.Q.P.R.R.R.R.U.v.0 G ",
+" ..K.R.P.R.R.R.T.u.o # V d.5.: ",
+" G M.R.U.z.x.y.Q.J.E > @ O H.X.^. ",
+" V O.R.l.5 t h #.H.E ' | b Q H.W.k.: ",
+" k.R.R.&.A I b % -.(.= @ - n n P E.W.n.^ ",
+" y E.R.R.$.F ) ,.[.= - ( - n.y.w.H.W.o.[ # ",
+" Z P.R.O.*.6 -.[.= 1 F b Q M.R.R.R.s.d m ",
+" V P.R.S.A.y @ '.(.} g Q H.R.R.R.R.n.b ' ",
+" o A.S.E.p.j.G ' ,.h.i.H.T.R.R.R.R.n.7 ",
+" k.E.y : 5.G 1 4 W Q.R.R.R.R.R.T.y.9.. ",
+" y y 0 9.G @ | 6 W K.U.P.R.R.R.T.w.w - ",
+" 0 0.G ] U 5._._.^.O.R.R.w.w m ! ",
+" # 3 l.^.3.%.Z.$+|.:.R.R.8.r D ",
+" _ c u.d.X .+%+%+`.1.U.J.c.} ( ",
+" < a M 5.X `.%+%+%+Y.2.H.G ~./., ",
+" ) l K y.;.`.%+%+%+++X 4.P a * ~.^.= y : ",
+" L g.A.Q.}.%+%+%+++ at .3.U b | , ~.^.= G I.5. ",
+" # R Q.P.M.). at +%+#+ at .a.{.~ | , ~.^.G R E.U.m.: ",
+" ' i D.R.U.0.).7.).<.w.j.G @ = ~.M.Q.T.R.J.y ",
+" ' s D.R.R.S.E.H.w. .q e 0.y % ~.O.R.R.K.y ",
+" & 3 D.P.R.R.R.L.Q 9 1 # 0 b.y j p E.R.R.y.o ",
+" # '.W.L.H.K.Q.n.c 1 0 0.y ! H v G.R.U.5. ",
+" = ^.N x x +.>.! 0 f.o a H B k E.P.M.L ",
+" ; & / / # r.w.Y ` T o.V.T.H.o ",
+" o A.U.O.R.O.S.T.H.S ",
+" o z.U.R.P.R.R.R.J.V ",
+" G u.H.S.T.H.q.=.L ",
+" G '.,.G ",
+" "};
Added: unstable/overgod/debian/patches/010_data_path.diff
===================================================================
--- unstable/overgod/debian/patches/010_data_path.diff 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/patches/010_data_path.diff 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,263 @@
+Index: overgod-1.0/displ_in.c
+===================================================================
+--- overgod-1.0.orig/displ_in.c 2006-05-21 00:24:40.000000000 +0200
++++ overgod-1.0/displ_in.c 2006-05-21 00:27:05.000000000 +0200
+@@ -143,7 +143,7 @@
+ RGB temp_palette [256];
+ RGB temp_palette3 [1024];
+
+- DATAFILE *datf = load_datafile("gfx//data.dat");
++ DATAFILE *datf = load_datafile("/usr/share/games/overgod/gfx/data.dat");
+ if (datf == NULL)
+ {
+ set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
+@@ -166,7 +166,7 @@
+
+ //rest(1000);
+
+- BITMAP *temp_bitmap = load_bitmap("gfx//gb_si.bmp", temp_palette);
++ BITMAP *temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_si.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (ships)");
+@@ -321,8 +321,8 @@
+ #ifdef FIX_FONT
+
+ RGB font_palette [256];
+-// BITMAP *fbmp = load_bitmap("gfx//font_cel.bmp", font_palette);
+- BITMAP *fbmp = load_bitmap("gfx//font_oc.bmp", font_palette);
++// BITMAP *fbmp = load_bitmap("/usr/share/games/overgod/gfx/font_cel.bmp", font_palette);
++ BITMAP *fbmp = load_bitmap("/usr/share/games/overgod/gfx/font_oc.bmp", font_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (font_cel)");
+@@ -395,7 +395,7 @@
+ #ifdef GENERATE_SHIPS
+
+
+- temp_bitmap = load_bitmap("gfx//gb_ship.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_ship.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("gb_ship");
+@@ -472,7 +472,7 @@
+
+ // Load in enemy bitmaps:
+
+- temp_bitmap = load_bitmap("gfx//gb_nme1.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nme1.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_nme1.bmp not loaded correctly?)");
+@@ -496,7 +496,7 @@
+ progress_update("Enemies 1");
+
+
+- temp_bitmap = load_bitmap("gfx//gb_nme2.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nme2.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_nme2.bmp not loaded correctly?)");
+@@ -519,7 +519,7 @@
+ //extern BITMAP *enemy_bmps [ENEMY_BMPS];
+
+
+- temp_bitmap = load_bitmap("gfx//gb_nmebm.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nmebm.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_nmebm.bmp not loaded correctly?)");
+@@ -533,7 +533,7 @@
+
+ progress_update("Enemies 3");
+
+- temp_bitmap = load_bitmap("gfx//gb_big1.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big1.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_big1.bmp not loaded correctly?)");
+@@ -548,7 +548,7 @@
+
+ progress_update("Enemies 4");
+
+- temp_bitmap = load_bitmap("gfx//gb_big2.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big2.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_big2.bmp not loaded correctly?)");
+@@ -564,7 +564,7 @@
+
+ progress_update("Enemies 5");
+
+- temp_bitmap = load_bitmap("gfx//gb_big3.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big3.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_big3.bmp not loaded correctly?)");
+@@ -580,7 +580,7 @@
+ progress_update("Enemies 6");
+
+
+- temp_bitmap = load_bitmap("gfx//gb_med1.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_med1.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_med1.bmp not loaded correctly?)");
+@@ -597,7 +597,7 @@
+
+ progress_update("Enemies 7");
+
+-/* temp_bitmap = load_bitmap("gfx//enemy3.bmp", temp_palette);
++/* temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/enemy3.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (enemy3.bmp not loaded correctly?)");
+@@ -621,7 +621,7 @@
+
+ /* progress_update("Enemy3 Loaded");
+
+- temp_bitmap = load_bitmap("gfx//small1.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/small1.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (small1.bmp not loaded correctly?)");
+@@ -635,7 +635,7 @@
+
+ progress_update("Small1 Loaded");
+ */
+- temp_bitmap = load_bitmap("gfx//gb_small.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_small.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gm_small.bmp not loaded correctly?)");
+@@ -682,7 +682,7 @@
+
+ progress_update("Small Things");
+
+- temp_bitmap = load_bitmap("gfx//gb_small2.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_small2.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gm_small2.bmp not loaded correctly?)");
+@@ -733,7 +733,7 @@
+
+
+ /*
+- temp_bitmap = load_bitmap("gfx//small2.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/small2.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (small2.bmp not loaded correctly?)");
+@@ -748,7 +748,7 @@
+
+ progress_update("Small3 Loaded");
+
+- temp_bitmap = load_bitmap("gfx//enemy2.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/enemy2.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (enemy2.bmp not loaded correctly?)");
+@@ -763,7 +763,7 @@
+
+ progress_update("Enemy2 Loaded");
+ */
+- temp_bitmap = load_bitmap("gfx//gb_lsh.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_lsh.bmp", temp_palette);
+ if (temp_bitmap == NULL)
+ {
+ bitmap_error("temp_bitmap (gb_lsh.bmp not loaded correctly?)");
+@@ -1138,7 +1138,7 @@
+ RGB temp_palette [256];
+ // RGB temp_palette3 [1024];
+
+- BITMAP *temp_bitmap = load_bitmap("gfx//gb_tiles.bmp", temp_palette);
++ BITMAP *temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_tiles.bmp", temp_palette);
+
+ if (temp_bitmap == NULL)
+ {
+@@ -1164,7 +1164,7 @@
+
+ destroy_bitmap(temp_bitmap);
+
+- temp_bitmap = load_bitmap("gfx//gb_maze.bmp", temp_palette);
++ temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_maze.bmp", temp_palette);
+
+ if (temp_bitmap == NULL)
+ {
+Index: overgod-1.0/menu.c
+===================================================================
+--- overgod-1.0.orig/menu.c 2006-05-21 00:24:41.000000000 +0200
++++ overgod-1.0/menu.c 2006-05-21 00:27:10.000000000 +0200
+@@ -414,7 +414,7 @@
+
+ destroy_bitmap(temp_bmp);
+ */
+- BITMAP *temp_bmp = load_bitmap("gfx//gb_title.bmp", temp_palette);
++ BITMAP *temp_bmp = load_bitmap("/usr/share/games/overgod/gfx/gb_title.bmp", temp_palette);
+
+ if (!temp_bmp)
+ {
+@@ -464,7 +464,7 @@
+ destroy_bitmap(temp_bmp);*/
+
+ /*
+- temp_bmp = load_bitmap("gfx//title_s.bmp", temp_palette);
++ temp_bmp = load_bitmap("/usr/share/games/overgod/gfx/title_s.bmp", temp_palette);
+
+ if (!temp_bmp)
+ {
+@@ -484,7 +484,7 @@
+
+ destroy_bitmap(temp_bmp);
+ */
+-/* upgrade_box1 = load_bitmap("gfx//upg_box.bmp", temp_palette);
++/* upgrade_box1 = load_bitmap("/usr/share/games/overgod/gfx/upg_box.bmp", temp_palette);
+
+ if (!upgrade_box1)
+ {
+@@ -493,7 +493,7 @@
+ exit(1);
+ }
+
+- upgrade_box2 = load_bitmap("gfx//upg_box2.bmp", temp_palette);
++ upgrade_box2 = load_bitmap("/usr/share/games/overgod/gfx/upg_box2.bmp", temp_palette);
+
+ if (!upgrade_box2)
+ {
+@@ -502,7 +502,7 @@
+ exit(1);
+ }
+
+- upgrade_box3 = load_bitmap("gfx//upg_box3.bmp", temp_palette);
++ upgrade_box3 = load_bitmap("/usr/share/games/overgod/gfx/upg_box3.bmp", temp_palette);
+
+ if (!upgrade_box3)
+ {
+Index: overgod-1.0/sound.c
+===================================================================
+--- overgod-1.0.orig/sound.c 2006-05-21 00:24:41.000000000 +0200
++++ overgod-1.0/sound.c 2006-05-21 00:25:28.000000000 +0200
+@@ -446,9 +446,9 @@
+ void load_new_sample_in(int samp, const char *sfile)
+ {
+
+- char sfile_name [50];
++ char sfile_name [1024];
+
+- strcpy(sfile_name, ".//wavs//");
++ strcpy(sfile_name, "/usr/share/games/overgod/wavs/");
+ strcat(sfile_name, sfile);
+ strcat(sfile_name, ".wav");
+
+@@ -1545,9 +1545,9 @@
+ void load_beat_sample_in(int samp, const char *sfile)
+ {
+
+- char sfile_name [50];
++ char sfile_name [1024];
+
+- strcpy(sfile_name, ".//wavs//beat//");
++ strcpy(sfile_name, "/usr/share/games/overgod/wavs/beat/");
+ strcat(sfile_name, sfile);
+ strcat(sfile_name, ".wav");
+
Added: unstable/overgod/debian/patches/020_config_file.diff
===================================================================
--- unstable/overgod/debian/patches/020_config_file.diff 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/patches/020_config_file.diff 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,39 @@
+Index: overgod-1.0/main.c
+===================================================================
+--- overgod-1.0.orig/main.c 2006-05-21 00:49:10.000000000 +0200
++++ overgod-1.0/main.c 2006-05-21 00:50:19.000000000 +0200
+@@ -101,8 +101,8 @@
+
+ //#include <conio.h>
+ #include <string.h>
+-//#include <stdlib.h>
+-//#include <stdio.h>
++#include <stdlib.h>
++#include <stdio.h>
+ //#include <pc.h>
+ #include <math.h>
+
+@@ -214,8 +214,6 @@
+ exit(1);
+ }
+
+- set_config_file("lacew.cfg");
+-
+ install_keyboard();
+ install_timer();
+
+@@ -254,7 +252,13 @@
+
+ set_color_depth(8);
+
+- set_config_file("overgod.cfg");
++ char *home, config_file[4096];
++ home = getenv("HOME");
++ if(!home)
++ home = ".";
++ snprintf(config_file, 4095, "%s/.overgod.cfg", home);
++ config_file[4095] = '\0';
++ set_config_file(config_file);
+
+ options.resolution = get_config_int("Options", "Resolution", 0);
+
Added: unstable/overgod/debian/patches/series
===================================================================
--- unstable/overgod/debian/patches/series 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/patches/series 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,2 @@
+010_data_path.diff
+020_config_file.diff
Added: unstable/overgod/debian/rules
===================================================================
--- unstable/overgod/debian/rules 2006-05-16 08:08:24 UTC (rev 12)
+++ unstable/overgod/debian/rules 2006-05-21 04:35:47 UTC (rev 13)
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+ QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+ $(CC) -Wall *.c -o overgod `allegro-config --cflags --libs`
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ rm -f overgod *.o
+ QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+ dh_clean
+
+install: build
+ dh_testdir -povergod
+ dh_testroot -povergod
+ dh_clean -k -povergod
+ dh_installdirs -povergod usr/share/games/overgod usr/share/doc
+ dh_installdirs -povergod usr/games usr/lib/games/overgod
+ ln -s overgod-data `pwd`/debian/overgod/usr/share/doc/overgod
+ cp debian/overgod.sh `pwd`/debian/overgod/usr/games/overgod
+ chmod +x debian/overgod/usr/games/overgod
+ dh_install -povergod overgod usr/lib/games/overgod
+ dh_installdirs -povergod-data usr/share/games/overgod
+ dh_install -povergod-data gfx wavs usr/share/games/overgod
+ cp overgod.cfg debian/overgod-data/usr/share/games/overgod/default.cfg
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir -povergod-data
+ dh_testroot -povergod-data
+ dh_installdocs -povergod-data readme.txt
+ dh_installchangelogs -povergod-data
+ dh_compress -povergod-data
+ dh_fixperms -povergod-data
+ dh_installdeb -povergod-data
+ dh_gencontrol -povergod-data
+ dh_md5sums -povergod-data
+ dh_builddeb -povergod-data
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir -povergod
+ dh_testroot -povergod
+ cp debian/overgod.xpm debian/overgod/usr/share/games/overgod/
+ dh_installmenu -povergod
+ dh_installman -povergod debian/overgod.6
+ dh_installinfo -povergod
+ dh_installchangelogs -povergod
+ dh_strip -povergod
+ dh_compress -povergod
+ dh_fixperms -povergod
+ dh_installdeb -povergod
+ dh_shlibdeps -povergod
+ dh_gencontrol -povergod
+ dh_md5sums -povergod
+ dh_builddeb -povergod
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
Property changes on: unstable/overgod/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-allegro-commits
mailing list