summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-11-30 06:03:46 +0000
committerMike Frysinger <vapier@gentoo.org>2003-11-30 06:03:46 +0000
commit00f2a8d7638d6aa246559e73a904ed5737d6858d (patch)
treef1213d4018837f3b1a26f24efe8e5c103a0d1c79 /games-fps/quake2-icculus/files
parentnow in quake2-icculus (diff)
downloadgentoo-2-00f2a8d7638d6aa246559e73a904ed5737d6858d.tar.gz
gentoo-2-00f2a8d7638d6aa246559e73a904ed5737d6858d.tar.bz2
gentoo-2-00f2a8d7638d6aa246559e73a904ed5737d6858d.zip
moved from quake2-relnev
Diffstat (limited to 'games-fps/quake2-icculus/files')
-rw-r--r--games-fps/quake2-icculus/files/0.15-Makefile-gcc3.patch19
-rw-r--r--games-fps/quake2-icculus/files/0.15-Makefile-optflags.patch10
-rw-r--r--games-fps/quake2-icculus/files/README-postinstall69
-rw-r--r--games-fps/quake2-icculus/files/digest-quake2-icculus-0.152
-rw-r--r--games-fps/quake2-icculus/files/q2ded.start3
-rw-r--r--games-fps/quake2-icculus/files/quake2.start3
-rw-r--r--games-fps/quake2-icculus/files/sdlquake2.start3
7 files changed, 109 insertions, 0 deletions
diff --git a/games-fps/quake2-icculus/files/0.15-Makefile-gcc3.patch b/games-fps/quake2-icculus/files/0.15-Makefile-gcc3.patch
new file mode 100644
index 000000000000..938baba52061
--- /dev/null
+++ b/games-fps/quake2-icculus/files/0.15-Makefile-gcc3.patch
@@ -0,0 +1,19 @@
+--- Makefile.orig 2003-01-23 17:26:45.000000000 -0500
++++ Makefile 2003-01-23 17:26:54.000000000 -0500
+@@ -82,12 +82,12 @@
+ endif
+
+ ifeq ($(ARCH),i386)
+-RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -malign-loops=2 \
+- -malign-jumps=2 -malign-functions=2 -g
++RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -falign-loops=2 \
++ -falign-jumps=2 -falign-functions=2 -g
+ # compiler bugs with gcc 2.96 and 3.0.1 can cause bad builds with heavy opts.
+ #RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -m486 -ffast-math -funroll-loops \
+-# -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \
+-# -malign-jumps=2 -malign-functions=2
++# -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 \
++# -falign-jumps=2 -falign-functions=2
+ endif
+
+ VERSION=3.21+rCVS
diff --git a/games-fps/quake2-icculus/files/0.15-Makefile-optflags.patch b/games-fps/quake2-icculus/files/0.15-Makefile-optflags.patch
new file mode 100644
index 000000000000..71a674a2e63f
--- /dev/null
+++ b/games-fps/quake2-icculus/files/0.15-Makefile-optflags.patch
@@ -0,0 +1,10 @@
+--- Makefile.orig 2003-06-28 22:04:22.000000000 -0400
++++ Makefile 2003-06-28 22:04:54.000000000 -0400
+@@ -342,6 +342,7 @@
+ TARGETS += $(BUILDDIR)/ref_softaa.$(SHLIBEXT)
+ endif
+
++RELEASE_CFLAGS += $(OPTCFLAGS)
+ all: build_debug build_release
+
+ build_debug:
diff --git a/games-fps/quake2-icculus/files/README-postinstall b/games-fps/quake2-icculus/files/README-postinstall
new file mode 100644
index 000000000000..20bae30ad469
--- /dev/null
+++ b/games-fps/quake2-icculus/files/README-postinstall
@@ -0,0 +1,69 @@
+This was taken from the README file in the source distribution
+and cleaned up a bit. Read all of this, or at least skim it. Please?
+
+Note:
+1. If you install a new compile of quake2, you'll lose your savegames. I'm
+sorry. Don't upgrade in the middle of a single-player game.
+
+To install the Quake2 demo data:
+--------------------------------
+1. download ftp://ftp.idsoftware.com/idstuff/quake2/q2-314-demo-x86.exe
+2. unzip -L q2-314-demo-x86.exe into a temp directory
+3. cp baseq2/pak0.pak to /usr/share/games/quake2/baseq2/pak0.pak
+
+===============================================================================
+
+To install the Quake2 gamedata from game CD:
+-------------------------------
+(assuming the cdrom is mounted at /cdrom)
+
+1. cp /cdrom/Install/Data/baseq2/pak0.pak /usr/share/games/quake2/baseq2/
+
+2. cp /cdrom/Install/Data/baseq2/video/ /usr/share/games/quake2/baseq2/
+ (optional)
+
+3. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full.exe
+ and extract the contents to a temporary directory (use unzip -L, as this
+ is a standard zip file).
+
+4. cp <temp directory>/baseq2/pak1.pak /usr/share/games/quake2/baseq2/
+5. cp <temp directory>/baseq2/pak2.pak /usr/share/games/quake2/baseq2/
+6. cp <temp directory>/baseq2/players/ /usr/share/games/quake2/baseq2/
+
+7. if you really want to use the crakhor model, you can find the
+ skins/sounds on websites like http://www.mike-d.com/games/modskins.html
+ (optional)
+
+===============================================================================
+
+Capture The Flag:
+-----------
+To run Capture The Flag, you need to do the following:
+
+1. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full-ctf.exe
+2. unzip that file (using unzip -L) into a temp directory
+3. cp <temp directory>/ctf /usr/share/games/quake2/
+
+Execute quake2 with:
+
+quake2 +set game ctf +set dedicated 1
+ -- or --
+q2ded +set game ctf
+===============================================================================
+
+Joystick Support:
+-----------------
+Joystick should function on all compatible SDL platforms using the sdlquake2
+binary as well as on linux using the linux kernel joystick API.
+
+Joystick obeys the same free-look/strafe rules as mouse. You can set these in
+the options menu.
+
+There are four command line settings for joystick:
+1. j_invert_y [1],0 if set to zero pulling back on the joystick points down
+2. j_lr_axis [0] set the axis which controls left right movement
+3. j_ud_axis [1] set the axis which controls up down (in free-look) or
+ forward back (freelock off)
+4. j_throttle [3] set the axis which controls the players forward backward
+ throttle (if free-look is true)
+
diff --git a/games-fps/quake2-icculus/files/digest-quake2-icculus-0.15 b/games-fps/quake2-icculus/files/digest-quake2-icculus-0.15
new file mode 100644
index 000000000000..82a726e09d3b
--- /dev/null
+++ b/games-fps/quake2-icculus/files/digest-quake2-icculus-0.15
@@ -0,0 +1,2 @@
+MD5 9e16f29db33715f2f9420b5bb31e6263 quake2-r0.15.tar.gz 2660511
+MD5 04d3f1fb7fb4dada7175a41f4595c7eb maxpak.pak 3282742
diff --git a/games-fps/quake2-icculus/files/q2ded.start b/games-fps/quake2-icculus/files/q2ded.start
new file mode 100644
index 000000000000..b6be9f77f4b8
--- /dev/null
+++ b/games-fps/quake2-icculus/files/q2ded.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./q2ded "${@}"
diff --git a/games-fps/quake2-icculus/files/quake2.start b/games-fps/quake2-icculus/files/quake2.start
new file mode 100644
index 000000000000..26da947220be
--- /dev/null
+++ b/games-fps/quake2-icculus/files/quake2.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./quake2 "${@}"
diff --git a/games-fps/quake2-icculus/files/sdlquake2.start b/games-fps/quake2-icculus/files/sdlquake2.start
new file mode 100644
index 000000000000..e8007eb1bdf8
--- /dev/null
+++ b/games-fps/quake2-icculus/files/sdlquake2.start
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd GENTOO_LIBDIR
+./sdlquake2 "${@}"