r6199 - packages/trunk/airstrike/debian/patches

Barry deFreese bddebian-guest at alioth.debian.org
Wed Mar 19 00:47:45 UTC 2008


Author: bddebian-guest
Date: 2008-03-19 00:47:45 +0000 (Wed, 19 Mar 2008)
New Revision: 6199

Added:
   packages/trunk/airstrike/debian/patches/airstrikerc.diff
   packages/trunk/airstrike/debian/patches/fix-spawn-level.diff
   packages/trunk/airstrike/debian/patches/fix_paths.diff
   packages/trunk/airstrike/debian/patches/manpage.diff
Log:
Add patch files.. wtf.


Added: packages/trunk/airstrike/debian/patches/airstrikerc.diff
===================================================================
--- packages/trunk/airstrike/debian/patches/airstrikerc.diff	                        (rev 0)
+++ packages/trunk/airstrike/debian/patches/airstrikerc.diff	2008-03-19 00:47:45 UTC (rev 6199)
@@ -0,0 +1,11 @@
+--- airstrike-0.99+1.0pre6a.orig/airstrikerc
++++ airstrike-0.99+1.0pre6a/airstrikerc
+@@ -4,7 +4,7 @@
+ 
+ 
+ # The path where the program looks for its data files
+-datapath "data"
++datapath "/usr/share/games/airstrike"
+ 
+ #window size or fullscreen resolution
+ screen.width 800

Added: packages/trunk/airstrike/debian/patches/fix-spawn-level.diff
===================================================================
--- packages/trunk/airstrike/debian/patches/fix-spawn-level.diff	                        (rev 0)
+++ packages/trunk/airstrike/debian/patches/fix-spawn-level.diff	2008-03-19 00:47:45 UTC (rev 6199)
@@ -0,0 +1,14 @@
+diff -urN old/src/airstrike.c new/src/airstrike.c
+--- old/src/airstrike.c	2007-09-13 17:57:23.000000000 +0200
++++ new/src/airstrike.c	2007-09-13 11:11:33.000000000 +0200
+@@ -92,8 +92,8 @@
+   player_sprite_type[1] = &biplane;
+   player_startpos[0][0] = 700;
+   player_startpos[0][1] = 500;
+-  player_startpos[1][0] = 5;
+-  player_startpos[1][1] = 300;
++  player_startpos[1][0] = 100;
++  player_startpos[1][1] = 500;
+   player_points[0] = max_points;
+   player_points[1] = max_points;
+ 

Added: packages/trunk/airstrike/debian/patches/fix_paths.diff
===================================================================
--- packages/trunk/airstrike/debian/patches/fix_paths.diff	                        (rev 0)
+++ packages/trunk/airstrike/debian/patches/fix_paths.diff	2008-03-19 00:47:45 UTC (rev 6199)
@@ -0,0 +1,40 @@
+--- airstrike-0.99+1.0pre6a.orig/src/config.h
++++ airstrike-0.99+1.0pre6a/src/config.h
+@@ -6,7 +6,7 @@
+ /* absolute path to main config file (for now it's airstrikerc in the
+    current dir)*/
+ #ifndef ROOT_CONFIG_FILE
+-#define ROOT_CONFIG_FILE "airstrikerc"
++#define ROOT_CONFIG_FILE "/etc/airstrikerc"
+ #endif
+ /* path to file in users $HOME */
+ #ifndef USER_CONFIG_FILE
+--- airstrike-0.99+1.0pre6a.orig/src/airstrike.c
++++ airstrike-0.99+1.0pre6a/src/airstrike.c
+@@ -74,7 +74,7 @@
+   console_set_pos(9,254);
+   console_load_bg(path_to_data("console-bg.png"));
+   sprite_types_setup();
+-  sprite_background_load("data/bg.png","data/bgmask.png");
++  sprite_background_load("/usr/share/games/airstrike/bg.png","/usr/share/games/airstrike/bgmask.png");
+ 
+   level_setup();
+   winds_setup();
+--- airstrike-0.99+1.0pre6a.orig/Makefile
++++ airstrike-0.99+1.0pre6a/Makefile
+@@ -29,3 +29,15 @@
+ # packages new files listed in new-files.txt
+ new:
+ 	tar -zcvf new.tgz -T new-files.txt
++
++install:
++	install -d $(DESTDIR)/usr/games
++	install airstrike $(DESTDIR)/usr/games/airstrike
++	install -d $(DESTDIR)/usr/share/games/airstrike
++	install -d $(DESTDIR)/usr/share/games/airstrike/sound
++	install -m 644 data/*.png $(DESTDIR)/usr/share/games/airstrike
++	install -m 644 data/*.txt $(DESTDIR)/usr/share/games/airstrike
++#	install -m 644 data/sound/*.wav $(DESTDIR)/usr/share/games/airstrike/sound
++	install -d $(DESTDIR)/etc
++	install -m 644 airstrikerc $(DESTDIR)/etc/airstrikerc
++

Added: packages/trunk/airstrike/debian/patches/manpage.diff
===================================================================
--- packages/trunk/airstrike/debian/patches/manpage.diff	                        (rev 0)
+++ packages/trunk/airstrike/debian/patches/manpage.diff	2008-03-19 00:47:45 UTC (rev 6199)
@@ -0,0 +1,12 @@
+--- airstrike-0.99+1.0pre6a.orig/doc/airstrike.6
++++ airstrike-0.99+1.0pre6a/doc/airstrike.6
+@@ -8,6 +8,9 @@
+         /_/   \\_\\_|_|  |___/\\__|_|  |_|_|\\_\\___|
+ .fi
+ 
++.SH NAME
++
++airstrike - 2d dogfight game in the tradition of 'Biplanes' and 'BIP'
+ 
+ .SH DESCRIPTION
+ 




More information about the Pkg-games-commits mailing list