SOURCES: nazghul-default_cfg.patch (NEW) - there is only one world availabl...

lisu lisu at pld-linux.org
Fri Dec 5 12:28:19 CET 2008


Author: lisu                         Date: Fri Dec  5 11:28:19 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- there is only one world available for nazghul game so far. Run it directly without using additional script (haxima.sh)

---- Files affected:
SOURCES:
   nazghul-default_cfg.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nazghul-default_cfg.patch
diff -u /dev/null SOURCES/nazghul-default_cfg.patch:1.1
--- /dev/null	Fri Dec  5 12:28:20 2008
+++ SOURCES/nazghul-default_cfg.patch	Fri Dec  5 12:28:14 2008
@@ -0,0 +1,24 @@
+--- nazghul-0.6.1/src/nazghul.c~	2008-11-09 04:07:45.000000000 +0100
++++ nazghul-0.6.1/src/nazghul.c	2008-12-05 10:35:45.000000000 +0100
+@@ -297,6 +297,8 @@
+         cfg_set("splash-image-filename", "splash.png");
+         cfg_set("screen-dims", "1280x960" /*"640x480"*/);
+         cfg_set("sound-enabled", "yes");
++	cfg_set("include-dirname", "/usr/share/nazghul/haxima");
++	cfg_set("saved-games-dirname", "$HOME/.nazghul/haxima");
+ }
+ 
+ int main(int argc, char **argv)
+--- nazghul-0.6.1/worlds/haxima-1.002/Makefile.am~	2008-11-09 04:07:47.000000000 +0100
++++ nazghul-0.6.1/worlds/haxima-1.002/Makefile.am	2008-12-05 12:03:53.000000000 +0100
+@@ -1,10 +1,4 @@
+ haximadir   = $(datadir)/nazghul/haxima
+-bin_SCRIPTS = haxima.sh
+-CLEANFILES = haxima.sh
+-
+-haxima.sh: Makefile
+-	echo '#!/bin/sh' > $@ 
+-	echo '"@bindir@/nazghul" -I "@datadir@/nazghul/haxima" -G "$$HOME/.haxima" "$$@"' >> $@
+ 
+ haxima_DATA = $(wildcard *.scm) $(wildcard *.png) $(wildcard *.wav)
+ 
================================================================


More information about the pld-cvs-commit mailing list