This is an automated email from the git hooks/post-receive script. apo pushed a commit to branch master in repository airstrike.
commit a4fee47ab16bdd61bc109aff388c5e6a0d8be8eb Author: Barry deFreese <[email protected]> Date: Wed Mar 19 00:47:45 2008 +0000 Add patch files.. wtf. --- debian/patches/airstrikerc.diff | 11 ++++++++++ debian/patches/fix-spawn-level.diff | 14 +++++++++++++ debian/patches/fix_paths.diff | 40 +++++++++++++++++++++++++++++++++++++ debian/patches/manpage.diff | 12 +++++++++++ 4 files changed, 77 insertions(+) diff --git a/debian/patches/airstrikerc.diff b/debian/patches/airstrikerc.diff new file mode 100644 index 0000000..46a5415 --- /dev/null +++ b/debian/patches/airstrikerc.diff @@ -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 diff --git a/debian/patches/fix-spawn-level.diff b/debian/patches/fix-spawn-level.diff new file mode 100644 index 0000000..371d877 --- /dev/null +++ b/debian/patches/fix-spawn-level.diff @@ -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; + diff --git a/debian/patches/fix_paths.diff b/debian/patches/fix_paths.diff new file mode 100644 index 0000000..e7051cd --- /dev/null +++ b/debian/patches/fix_paths.diff @@ -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 ++ diff --git a/debian/patches/manpage.diff b/debian/patches/manpage.diff new file mode 100644 index 0000000..01bcc31 --- /dev/null +++ b/debian/patches/manpage.diff @@ -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 + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/airstrike.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

