]> git.pld-linux.org Git - packages/crawl.git/commitdiff
ff2f8ec92543594b4aa7c8eb2b769a39 crawl-makefile.patch
authorwolf <wolf@pld-linux.org>
Sat, 2 Feb 2002 15:32:53 +0000 (15:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
e0efc82d6a0fa27d68e7c6f7b39b15ba  crawl-savedir.patch
b42add664e02242c7d29670704fc53b1  crawl.desktop
95652886df7bc817a218ca5221003f2b  crawl.png

Changed files:
    crawl-makefile.patch -> 1.1
    crawl-savedir.patch -> 1.1
    crawl.desktop -> 1.1
    crawl.png -> 1.1

crawl-makefile.patch [new file with mode: 0644]
crawl-savedir.patch [new file with mode: 0644]
crawl.desktop [new file with mode: 0644]
crawl.png [new file with mode: 0644]

diff --git a/crawl-makefile.patch b/crawl-makefile.patch
new file mode 100644 (file)
index 0000000..61b9363
--- /dev/null
@@ -0,0 +1,28 @@
+diff -ruN cr400beta22-srcdupa/source/makefile.lnx cr400beta22-src/source/makefile.lnx
+--- cr400beta22-srcdupa/source/makefile.lnx    Wed Dec 19 15:02:16 2001
++++ cr400beta22-src/source/makefile.lnx        Thu Jan 31 17:28:31 2002
+@@ -13,11 +13,11 @@
+ DELETE = rm -f
+ COPY = cp
+ OS_TYPE = LINUX
+-CFLAGS = -Wall -g -D$(OS_TYPE) $(EXTRA_FLAGS)
+-LDFLAGS = -static -L/usr/lib
++CFLAGS = -Wall -D$(OS_TYPE) $(EXTRA_FLAGS)
++LDFLAGS =
+ MCHMOD = 2755
+-# INSTALLDIR = /usr/games
+-INSTALLDIR = /opt/crawl/bin
++INSTALLDIR = $(DESTDIR)/usr/games
++#INSTALLDIR = /opt/crawl/bin
+ LIB = -lncurses
+ # Include for Linux
+@@ -55,7 +55,7 @@
+       ${CXX} -g -p ${LDFLAGS} $(INCLUDES) $(CFLAGS) $(OBJECTS) -o $(GAME) $(LIB)
+ .cc.o:
+-      ${CXX} ${CFLAGS} -c $< ${INCLUDE}
++      ${CXX} ${CFLAGS} -c $< ${INCLUDES}
+ .h.cc:
+       touch $@
diff --git a/crawl-savedir.patch b/crawl-savedir.patch
new file mode 100644 (file)
index 0000000..05c3384
--- /dev/null
@@ -0,0 +1,21 @@
+diff -ruN cr400beta22-srcdupa/source/AppHdr.h cr400beta22-src/source/AppHdr.h
+--- cr400beta22-srcdupa/source/AppHdr.h        Fri Nov  9 02:12:54 2001
++++ cr400beta22-src/source/AppHdr.h    Fri Feb  1 18:57:26 2002
+@@ -355,7 +355,7 @@
+     // Setting it to nothing or not setting it will cause all game files to
+     // be dumped in the current directory.
+     //
+-    #define SAVE_DIR_PATH       "/opt/crawl/lib/"
++    #define SAVE_DIR_PATH       "/var/games/crawl/"
+     // will make this little thing go away.  Define SAVE_PACKAGE_CMD
+     // to a command to compress and bundle the save game files into a
+@@ -376,7 +376,7 @@
+     #define DO_ANTICHEAT_CHECKS
+     // This defines the chmod permissions for score and bones files.
+-    #define SHARED_FILES_CHMOD_PRIVATE  0664
++    #define SHARED_FILES_CHMOD_PRIVATE  0600
+     #define SHARED_FILES_CHMOD_PUBLIC   0664
+     // If we're on a multiuser system, file locking of shared files is
diff --git a/crawl.desktop b/crawl.desktop
new file mode 100644 (file)
index 0000000..d45ac40
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=crawl
+Comment=Roguelike game
+Comment[pl]=Gra roguelike
+Icon=crawl.png
+Exec=/usr/games/crawl
+Terminal=1
+Type=Application
diff --git a/crawl.png b/crawl.png
new file mode 100644 (file)
index 0000000..c3f331d
Binary files /dev/null and b/crawl.png differ
This page took 0.089294 seconds and 4 git commands to generate.