* Merge unified-sdl to trunk

* Bump Q3_VERSION to 1.35
This commit is contained in:
Tim Angus 2007-09-05 18:17:46 +00:00
parent 39abffeb3b
commit 672cfbf16f
188 changed files with 5071 additions and 41739 deletions

BIN
misc/quake3.icns Normal file

Binary file not shown.

BIN
misc/quake3.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
misc/quake3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 764 B

67
misc/quake3.svg Normal file
View file

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.0"
width="64"
height="64"
id="svg1306">
<defs
id="defs1308">
<linearGradient
id="linearGradient2180">
<stop
style="stop-color:#ff0000;stop-opacity:1"
offset="0"
id="stop2182" />
<stop
style="stop-color:#590000;stop-opacity:1"
offset="1"
id="stop2184" />
</linearGradient>
<linearGradient
x1="14.860399"
y1="19.054131"
x2="15.042735"
y2="59"
id="linearGradient2190"
xlink:href="#linearGradient2180"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="14.860399"
y1="19.054131"
x2="15.042735"
y2="59"
id="linearGradient2194"
xlink:href="#linearGradient2180"
gradientUnits="userSpaceOnUse" />
<linearGradient
x1="32"
y1="64.091171"
x2="32"
y2="0"
id="linearGradient3077"
xlink:href="#linearGradient2180"
gradientUnits="userSpaceOnUse" />
</defs>
<g
id="layer1">
<g
id="g1327">
<path
d="M 34.538626,32.090265 L 32.538627,64 L 30.538626,32 L 32.538627,0 L 34.538626,32.090265 z "
style="opacity:1;fill:url(#linearGradient3077);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5261631;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1329" />
<path
d="M 28.059562,59 L 25.612281,34.036677 C 25.612281,34.036677 2.1281775,31.218199 2.0010765,25.064561 C 1.9155925,21.016997 6.9421265,19.095215 9.6946005,19.095215 C 12.000721,19.095215 4.2082195,19.143464 4.1713675,24.287073 C 4.1405475,28.679913 29.3599,30.346963 29.3599,30.346963 L 28.059562,59 z "
style="fill:url(#linearGradient2190);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1307" />
<path
d="M 36.940438,59 L 39.387719,34.036677 C 39.387719,34.036677 62.871823,31.218199 62.998924,25.064561 C 63.084408,21.016997 58.057873,19.095215 55.305399,19.095215 C 52.999279,19.095215 60.79178,19.143464 60.828632,24.287073 C 60.859452,28.679913 35.6401,30.346963 35.6401,30.346963 L 36.940438,59 z "
style="fill:url(#linearGradient2194);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path2192" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

73
misc/setup/MacOSX/SLA-dmg.sh Executable file
View file

@ -0,0 +1,73 @@
#!/bin/bash
#
# This script appends the text from Q3A_EULA.txt to a .dmg as a SLA resource
#
# usage is './SLA-dmg.sh /path/to/Q3A_EULA.txt /path/to/ioquake3.dmg'
#
if [ "x$1" = "x" ] || [ "x$2" = "x" ]; then
echo "usage: ./SLA-dmg.sh /path/to/Q3A_EULA.txt /path/to/ioquake3.dmg"
exit 1;
fi
if [ ! -r $1 ]; then
echo "$1 is not a readable Q3A_EULA.txt file"
exit 1;
fi
if [ ! -w $2 ]; then
echo "$2 is not writable .dmg file"
exit 1;
fi
touch tmp.r
if [ ! -w tmp.r ]; then
echo "Could not create temporary file tmp.r for writing"
exit 1;
fi
echo "
data 'LPic' (5000) {
\$\"0002 0011 0003 0001 0000 0000 0002 0000\"
\$\"0008 0003 0000 0001 0004 0000 0004 0005\"
\$\"0000 000E 0006 0001 0005 0007 0000 0007\"
\$\"0008 0000 0047 0009 0000 0034 000A 0001\"
\$\"0035 000B 0001 0020 000C 0000 0011 000D\"
\$\"0000 005B 0004 0000 0033 000F 0001 000C\"
\$\"0010 0000 000B 000E 0000\"
};
data 'TEXT' (5002, \"English\") {
" > tmp.r
sed -e 's/"/\\"/g' -e 's/\(.*\)$/"\1\\n"/g' $1 >> tmp.r
echo "
};
resource 'STR#' (5002, \"English\") {
{
\"English\",
\"Agree\",
\"Disagree\",
\"Print\",
\"Save...\",
\"IMPORTANT - Read this License Agreement carefully before clicking on \"
\"the \\\"Agree\\\" button. By clicking on the \\\"Agree\\\" button, you agree \"
\"to be bound by the terms of the License Agreement.\",
\"Software License Agreement\",
\"This text cannot be saved. This disk may be full or locked, or the \"
\"file may be locked.\",
\"Unable to print. Make sure you have selected a printer.\"
}
};
" >> tmp.r
hdiutil convert -format UDCO -o tmp.dmg $2 || exit 1
hdiutil unflatten tmp.dmg || exit 1
/Developer/Tools/Rez /Developer/Headers/FlatCarbon/*.r tmp.r -a -o tmp.dmg \
|| exit 1
hdiutil flatten tmp.dmg || exit 1
hdiutil internet-enable -yes tmp.dmg || exit 1
mv tmp.dmg $2 || (echo "Could not copy tmp.dmg to $2" && exit 1)
rm tmp.dmg
rm tmp.r
echo "SLA $1 successfully added to $2"

15
misc/setup/Makefile Normal file
View file

@ -0,0 +1,15 @@
VERSION=1.34
RELEASE=svn
all:
VERSION=$(VERSION) RELEASE=$(RELEASE) ./doit
sign:
for i in *.run; do \
gpg -bao $$i.asc $$i; \
done
clean:
rm -rf *.run image
.PHONY: all sign clean

135
misc/setup/Solaris_pkg.sh Normal file
View file

@ -0,0 +1,135 @@
#!/bin/bash
# Source directory
MOUNT_DIR="../../.."
# Solaris stuff
PLATFORM=`uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]'`
if [ "X`uname -m`" = "Xi86pc" ]; then
ARCH=i386
else
ARCH=sparc
fi
# Packages
PKG_SOLARIS_NAME=ioquake3
PKG_DATA_NAME=ioquake3d
BUILD_DATE="`/usr/bin/date '+%Y%m%d%H%M%S'`"
SVNVERSION=/usr/local/bin/svnversion
if [ -x /usr/local/bin/svnversion ]; then
SVN_BANNER=`/usr/local/bin/svnversion ${MOUNT_DIR}|sed -e 's/S$//' -e 's/M$//' `
BUILD_VERSION="1.34-r${SVN_BANNER}"
else
BUILD_VERSION="1.34-rSVN"
fi
PKG_VERSION="`date '+%Y%m%d%H%M'`"
PKG_MAINT_ID="quake@cojot.name"
SOLARIS_PKGFILE="${PKG_SOLARIS_NAME}-${BUILD_VERSION}-${PKG_VERSION}-${ARCH}.pkg"
DATA_PKGFILE="${PKG_DATA_NAME}-${BUILD_VERSION}-${PKG_VERSION}-${ARCH}.pkg"
# build directories
BUILD_DIR="${MOUNT_DIR}/build/release-${PLATFORM}-${ARCH}"
PKG_SRC_DIR="${MOUNT_DIR}/code/unix/setup/pkg/${PKG_SOLARIS_NAME}"
PKG_BUILD_DIR="/tmp/ioquake3-build/${PKG_SOLARIS_NAME}-${BUILD_VERSION}"
PKG_DATA_SRC_DIR="${MOUNT_DIR}/code/unix/setup/pkg/${PKG_DATA_NAME}"
PKG_DATA_BUILD_DIR="/usr/local/src/quake3-data/quake3"
# Tools
RM="/usr/bin/rm"
TOUCH="/usr/bin/touch"
SED="/usr/bin/sed"
CAT="/usr/bin/cat"
NAWK="/usr/bin/nawk"
MKDIR="gmkdir -v -p"
INSTALL_BIN="ginstall -D -m 755"
INSTALL_DATA="ginstall -D -m 644"
PKGPROTO="/usr/bin/pkgproto"
PKGMK="/usr/bin/pkgmk"
PKGTRANS="/usr/bin/pkgtrans"
#############################################################################
# SOLARIS PACKAGE
#############################################################################
if [ -d ${BUILD_DIR} ]; then
if [ ! -d ${BUILD_DIR}/pkg ]; then
${MKDIR} ${BUILD_DIR}/pkg
fi
echo "Building ${BUILD_DIR}/pkg/${SOLARIS_PKGFILE}"
${RM} -f ${BUILD_DIR}/pkg/${SOLARIS_PKGFILE}
${TOUCH} ${BUILD_DIR}/pkg/${SOLARIS_PKGFILE}
${SED} -e "/VERSION=/s/.*/VERSION=${BUILD_VERSION}-${PKG_VERSION}/" \
< ${PKG_SRC_DIR}/pkginfo.template \
> ${PKG_SRC_DIR}/pkginfo
${CAT} ${PKG_SRC_DIR}/prototype.template > ${PKG_SRC_DIR}/prototype
${INSTALL_DATA} ${MOUNT_DIR}/COPYING.txt ${PKG_SRC_DIR}/copyright
for EXEC_READ in README id-readme.txt
do
if [ -f ${MOUNT_DIR}/${EXEC_READ} ]; then
${INSTALL_DATA} ${MOUNT_DIR}/${EXEC_READ} ${PKG_BUILD_DIR}/${EXEC_READ}
fi
done
for EXEC_BIN in ioq3ded ioquake3-smp ioquake3
do
if [ -f ${BUILD_DIR}/${EXEC_BIN}.${ARCH} ]; then
${INSTALL_BIN} ${BUILD_DIR}/${EXEC_BIN}.${ARCH} ${PKG_BUILD_DIR}/${EXEC_BIN}.${ARCH}
fi
done
for EXEC_SH in ioq3ded.sh ioquake3.sh
do
if [ -f ${MOUNT_DIR}/code/unix/setup/pkg/${EXEC_SH} ]; then
${INSTALL_BIN} ${MOUNT_DIR}/code/unix/setup/pkg/${EXEC_SH} ${PKG_BUILD_DIR}/${EXEC_SH}
fi
done
for EXEC_SO in cgamesparc.so qagamesparc.so uisparc.so
do
if [ -f ${BUILD_DIR}/baseq3/${EXEC_SO} ]; then
${INSTALL_BIN} ${BUILD_DIR}/baseq3/${EXEC_SO} ${PKG_BUILD_DIR}/baseq3/${EXEC_SO}
fi
if [ -f ${BUILD_DIR}/missionpack/${EXEC_SO} ]; then
${INSTALL_BIN} ${BUILD_DIR}/missionpack/${EXEC_SO} ${PKG_BUILD_DIR}/missionpack/${EXEC_SO}
fi
done
${PKGPROTO} ${PKG_BUILD_DIR}=quake3 | \
${NAWK} '{ print $1,$2,$3,$4 }' >> ${PKG_SRC_DIR}/prototype
${PKGMK} -o -p "${PKG_MAINT_ID}${BUILD_DATE}" \
-b ${PKG_SRC_DIR} -f ${PKG_SRC_DIR}/prototype \
-d /tmp -a ${ARCH} owner=root group=bin mode=0755
${PKGTRANS} -s /tmp ${BUILD_DIR}/pkg/${SOLARIS_PKGFILE} ${PKG_SOLARIS_NAME}
echo "Building ${BUILD_DIR}/pkg/${DATA_PKGFILE}"
${RM} -f ${BUILD_DIR}/pkg/${DATA_PKGFILE}
${TOUCH} ${BUILD_DIR}/pkg/${DATA_PKGFILE}
${SED} -e "/VERSION=/s/.*/VERSION=${BUILD_VERSION}.${PKG_VERSION}/" \
< ${PKG_DATA_SRC_DIR}/pkginfo.template \
> ${PKG_DATA_SRC_DIR}/pkginfo
${CAT} ${PKG_DATA_SRC_DIR}/prototype.template > ${PKG_DATA_SRC_DIR}/prototype
if [ -d ${MOUNT_DIR}/../webspace/include ]; then
EULA_DIR=${MOUNT_DIR}/../webspace/include
else
if [ -d ${MOUNT_DIR}/../../webspace/include ]; then
EULA_DIR=${MOUNT_DIR}/../../webspace/include
fi
fi
if [ -f ${EULA_DIR}/id_patch_pk3s_Q3A_EULA.txt ]; then
${INSTALL_DATA} ${EULA_DIR}/id_patch_pk3s_Q3A_EULA.txt ${PKG_DATA_SRC_DIR}/copyright
fi
${PKGPROTO} ${PKG_DATA_BUILD_DIR}=quake3 | \
${NAWK} '{ print $1,$2,$3,$4 }' >> ${PKG_DATA_SRC_DIR}/prototype
${PKGMK} -o -p "${PKG_MAINT_ID}${BUILD_DATE}" \
-b ${PKG_DATA_SRC_DIR} -f ${PKG_DATA_SRC_DIR}/prototype \
-d /tmp -a ${ARCH} owner=root group=bin mode=0755
${PKGTRANS} -s /tmp ${BUILD_DIR}/pkg/${DATA_PKGFILE} ${PKG_DATA_NAME}
else
echo "Directory ${BUILD_DIR} not found!"
exit 1
fi

105
misc/setup/doit Executable file
View file

@ -0,0 +1,105 @@
#!/bin/bash
: ${MAKESELF:=/usr/share/loki_setup/makeself}
: ${SETUPIMAGE:=/usr/share/loki_setup/image}
: ${VERSION:=0.0_`date +%Y%m%d%H%M`}
: ${RELEASE:=0}
set -e
set -x
arch=`uname -m`
rm -rf image
mkdir image
### loki-setup files
cp -a $SETUPIMAGE/{setup.data,setup.sh} image/
### splash
rm -f image/setup.data/splash.xpm
[ -e splash.xpm ] && cp splash.xpm image/setup.data/splash.xpm
rm -f image/quake3.png
cp ../quake3.png image/quake3.png
### binaries
src="../../../../../build"
mkdir image/tmp
pushd image/tmp
mkdir baseq3 demoq3 missionpack
# 32 bit binaries
install -m 755 $src/release-linux-i386/ioquake3.i386 ioquake3.i386
install -m 755 $src/release-linux-i386/ioq3ded.i386 ioq3ded.i386
install -m 644 $src/release-linux-i386/baseq3/*.so baseq3
install -m 644 $src/release-linux-i386/missionpack/*.so missionpack
pushd demoq3
ln -s ../baseq3/*.so .
popd
popd
tar --owner=root --group=root -C ./image/tmp -cf ./image/ioquake3.i386.tar .
rm -rf ./image/tmp
mkdir image/tmp
pushd image/tmp
mkdir baseq3 demoq3 missionpack
# 64 bit binaries
install -m 755 $src/release-linux-x86_64/ioquake3.x86_64 ioquake3.x86_64
install -m 755 $src/release-linux-x86_64/ioq3ded.x86_64 ioq3ded.x86_64
install -m 644 $src/release-linux-x86_64/baseq3/*.so baseq3
install -m 644 $src/release-linux-x86_64/missionpack/*.so missionpack
pushd demoq3
ln -s ../baseq3/*.so .
popd
popd
tar --owner=root --group=root -C ./image/tmp -cf ./image/ioquake3.x86_64.tar .
rm -rf image/tmp
mkdir image/tmp
pushd image/tmp
mkdir baseq3 demoq3 missionpack
# ppc binaries
install -m 755 $src/release-linux-ppc/ioquake3.ppc ioquake3.ppc
install -m 755 $src/release-linux-ppc/ioq3ded.ppc ioq3ded.ppc
install -m 644 $src/release-linux-ppc/baseq3/*.so baseq3
install -m 644 $src/release-linux-ppc/missionpack/*.so missionpack
pushd demoq3
ln -s ../baseq3/*.so .
popd
popd
tar --owner=root --group=root -C ./image/tmp -cf ./image/ioquake3.ppc.tar .
rm -rf image/tmp
# patch pk3 files
install -m 644 ./idpatchpk3s.tar image/idpatchpk3s.tar
install -m 644 ./idtapatchpk3s.tar image/idtapatchpk3s.tar
### setup.xml
sed 's/@VERSION@/'$VERSION'/g' < setup.xml > image/setup.data/setup.xml
### uninstall script
install -m 755 ./preuninstall.sh image/preuninstall.sh
### start script
mkdir -p image/bin/Linux/x86
mkdir -p image/bin/Linux/x86_64
mkdir -p image/bin/Linux/ppc
install -m 755 ioquake3.sh image/bin/Linux/x86/ioquake3
install -m 755 ioq3demo.sh image/bin/Linux/x86/ioq3demo
install -m 755 ioquake3.sh image/bin/Linux/x86_64/ioquake3
install -m 755 ioq3demo.sh image/bin/Linux/x86_64/ioq3demo
install -m 755 ioquake3.sh image/bin/Linux/ppc/ioquake3
install -m 755 ioq3demo.sh image/bin/Linux/ppc/ioq3demo
### README, COPYING and EULA
install -m 644 ../../../README image/README
install -m 644 ../../../COPYING.txt image/COPYING
install -m 644 ./id_patch_pk3s_Q3A_EULA.txt image/id_patch_pk3s_Q3A_EULA.txt
### makeself installer
$MAKESELF/makeself.sh image ioquake3-$VERSION-$RELEASE.run "ioquake3 $VERSION-$RELEASE" ./setup.sh

50
misc/setup/ioq3demo.sh Normal file
View file

@ -0,0 +1,50 @@
#!/bin/sh
readlink() {
local path=$1 ll
if [ -L "$path" ]; then
ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
echo "${ll/* -> }"
else
return 1
fi
}
script=$0
count=0
while [ -L "$script" ]
do
script=$(readlink "$script")
count=`expr $count + 1`
if [ $count -gt 100 ]
then
echo "Too many symbolic links"
exit 1
fi
done
cd "`dirname $script`"
lib=lib
test -e lib64 && lib=lib64
if test "x$LD_LIBRARY_PATH" = x; then
LD_LIBRARY_PATH="`pwd`/$lib"
else
LD_LIBRARY_PATH="`pwd`/$lib:$LD_LIBRARY_PATH"
fi
export LD_LIBRARY_PATH
archs=`uname -m`
case "$archs" in
i?86) archs=i386 ;;
x86_64) archs="x86_64 i386" ;;
ppc64) archs="ppc64 ppc" ;;
esac
for arch in $archs; do
test -x ./ioquake3.$arch || continue
exec ./ioquake3.$arch +set sv_pure 0 +set vm_cgame 0 +set vm_game 0 +set vm_ui 0 +set fs_game demoq3 "$@"
done
echo "could not execute ioquake3" >&2

50
misc/setup/ioquake3.sh Normal file
View file

@ -0,0 +1,50 @@
#!/bin/sh
readlink() {
local path=$1 ll
if [ -L "$path" ]; then
ll="$(LC_ALL=C ls -l "$path" 2> /dev/null)" &&
echo "${ll##* -> }"
else
return 1
fi
}
script=$0
count=0
while [ -L "$script" ]
do
script=$(readlink "$script")
count=`expr $count + 1`
if [ $count -gt 100 ]
then
echo "Too many symbolic links"
exit 1
fi
done
cd "`dirname $script`"
lib=lib
test -e lib64 && lib=lib64
if test "x$LD_LIBRARY_PATH" = x; then
LD_LIBRARY_PATH="`pwd`/$lib"
else
LD_LIBRARY_PATH="`pwd`/$lib:$LD_LIBRARY_PATH"
fi
export LD_LIBRARY_PATH
archs=`uname -m`
case "$archs" in
i?86) archs=i386 ;;
x86_64) archs="x86_64 i386" ;;
ppc64) archs="ppc64 ppc" ;;
esac
for arch in $archs; do
test -x ./ioquake3.$arch || continue
exec ./ioquake3.$arch "$@"
done
echo "could not execute ioquake3" >&2

42
misc/setup/pkg/ioq3ded.sh Normal file
View file

@ -0,0 +1,42 @@
#!/bin/bash
# Rev: $Id: ioq3ded.sh,v 1.9 2006/01/18 13:47:42 raistlin Exp raistlin $
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
#
IOQ3_DIR=/usr/local/share/games/quake3
COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr A-Z a-z`
COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
EXEC_REL=release
#EXEC_BIN=ioquake3.${COMPILE_ARCH}
#EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
EXEC_BIN=ioq3ded.${COMPILE_ARCH}
EXEC_FLAGS="+set fs_cdpath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0"
EXEC_DIR_LIST=${IOQ3_DIR}
for d in ${EXEC_DIR_LIST}
do
if [ -d $d ]; then
EXEC_DIR=${d}
break
fi
done
if [ "X${EXEC_DIR}" != "X" ]; then
if [ ! -x ${EXEC_DIR}/${EXEC_BIN} ]; then
echo "Executable ${EXEC_DIR}/${EXEC_BIN} not found!" ; exit 1
fi
cd ${IOQ3_DIR} && \
${EXEC_DIR}/${EXEC_BIN} ${EXEC_FLAGS} $*
exit $?
else
echo "No ioq3 binaries found!"
exit 1
fi

View file

@ -0,0 +1,41 @@
#!/bin/bash
# Rev: $Id: ioquake3.sh,v 1.11 2006/01/18 13:47:42 raistlin Exp raistlin $
# Needed to make symlinks/shortcuts work.
# the binaries must run with correct working directory
IOQ3_DIR=/usr/local/share/games/quake3
COMPILE_PLATFORM=`uname|sed -e s/_.*//|tr A-Z a-z`
COMPILE_ARCH=`uname -p | sed -e s/i.86/i386/`
EXEC_REL=release
EXEC_BIN=ioquake3.${COMPILE_ARCH}
#EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
#EXEC_BIN=ioq3ded.${COMPILE_ARCH}
EXEC_FLAGS="+set fs_cdpath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0"
EXEC_DIR_LIST=${IOQ3_DIR}
for d in ${EXEC_DIR_LIST}
do
if [ -d $d ]; then
EXEC_DIR=${d}
break
fi
done
if [ "X${EXEC_DIR}" != "X" ]; then
if [ ! -x ${EXEC_DIR}/${EXEC_BIN} ]; then
echo "Executable ${EXEC_DIR}/${EXEC_BIN} not found!" ; exit 1
fi
cd ${IOQ3_DIR} && \
${EXEC_DIR}/${EXEC_BIN} ${EXEC_FLAGS} $*
exit $?
else
echo "No ioq3 binaries found!"
exit 1
fi

View file

@ -0,0 +1,3 @@
P SUNWxilrl XIL Runtime Environment
P SFWsdl SDL - Simple DirectMedia Layer library
P ioquake3d Icculus.Org Quake3 game data files for Solaris 10 (X11,GLX,SDL)

View file

@ -0,0 +1,12 @@
CLASSES=none
BASEDIR=/usr/local/share/games
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
PKG=ioquake3
NAME=ioquake3 1.34 for Solaris 10 (X11,GLX,SDL)
VERSION=
CATEGORY=application,graphics,opengl
DESC=Icculus.Org Quake3 1.34 for Solaris 10 (http://www.ioquake3.org/)
VENDOR=http://www.ioquake3.org/
EMAIL=quake@cojot.name
PKGSAV=/var/sadm/pkg/ioquake3/save

View file

@ -0,0 +1,21 @@
#!/bin/sh
#
# @(#)postinstall $Id: postinstall,v 1.3 2006/01/21 12:54:52 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR/quake3
dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin
if [ -d ${dest_dir} ]; then
for inst_script in ioq3ded.sh ioquake3.sh
do
dest_script=${dest_dir}/${inst_script}
if [ ! -h ${dest_script} ]; then
ln -s ${quake3_dir}/${inst_script} ${dest_script}
fi
done
fi
exit 0

View file

@ -0,0 +1,21 @@
#!/bin/sh
#
# @(#)postremove $Id: postremove,v 1.3 2006/01/21 12:54:52 coyote Exp $
#
# postremove script for quake3
quake3_dir=$BASEDIR
dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin
if [ -d ${dest_dir} ]; then
for inst_script in ioq3ded.sh ioquake3.sh
do
dest_script=${dest_dir}/${inst_script}
if [ -h ${dest_script} ]; then
rm -f ${dest_script}
fi
done
fi
exit 0

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,8 @@
!default 0755 root bin
i pkginfo
i copyright
i depend
i postinstall
i postremove
i preinstall
i preremove

View file

@ -0,0 +1 @@
/usr/local/share 20000 15

View file

@ -0,0 +1,2 @@
P SUNWxilrl XIL Runtime Environment
P SFWsdl SDL - Simple DirectMedia Layer library

View file

@ -0,0 +1,12 @@
CLASSES=none
BASEDIR=/usr/local/share/games
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
PKG=ioquake3d
NAME=ioquake3 game data files for Solaris 10 (X11,GLX,SDL)
VERSION=
CATEGORY=application,graphics,opengl
DESC=ioquake3 game data files for Solaris 10 (http://www.ioquake3.org/)
VENDOR=http://www.ioquake3.org/
EMAIL=quake@cojot.name
PKGSAV=/var/sadm/pkg/ioquake3d/save

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: postinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: postremove,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: preinstall,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,10 @@
#!/bin/sh
#
# @(#)postinstall $Id: preremove,v 1.2 2006/01/25 13:22:56 coyote Exp $
#
# postinstall script for quake3
quake3_dir=$BASEDIR
exit 0

View file

@ -0,0 +1,8 @@
!default 0755 root bin
i pkginfo
i copyright
i depend
i postinstall
i postremove
i preinstall
i preremove

View file

@ -0,0 +1 @@
/usr/local/share 50000 100

View file

@ -0,0 +1,3 @@
#!/bin/sh
rm -f COPYING
rmdir --ignore-fail-on-non-empty demoq3 missionpack >& /dev/null

104
misc/setup/setup.xml Normal file
View file

@ -0,0 +1,104 @@
<?xml version="1.0" standalone="yes"?>
<install product="ioquake3"
desc="ioquake3"
version="@VERSION@"
update_url="http://www.ioquake3.org/updates.txt"
promptbinaries="yes"
reinstall="yes"
nopromptoverwrite="yes"
preuninstall="preuninstall.sh">
<readme>
README
</readme>
<eula>
id_patch_pk3s_Q3A_EULA.txt
</eula>
<component name="Quake3 Arena gamedata" version="@VERSION@" default="yes">
<option size="457M">
<help>
If you don't select this, you must make sure to copy pak0.pk3 to the baseq3 directory manually.
</help>
Copy Quake3 Arena CD data
<files cdromid="CD 1" path="baseq3" size="457M">
Quake3/baseq3/pak0.pk3
</files>
</option>
<option required="true" install="true" show="false">
This needs to be fixed properly.
<files path="baseq3">
idpatchpk3s.tar
</files>
<files path="">
COPYING
</files>
</option>
</component>
<component name="Quake3 Team Arena gamedata" version="@VERSION@">
<option>
Install Team Arena components
<files path="missionpack">
idtapatchpk3s.tar
</files>
<option size="457M">
<help>
If you don't select this, you must make sure to copy the TA pak0.pk3 to the missionpack directory manually.
</help>
Copy Quake3 Team Arena CD data
<files cdromid="CD 2" path="missionpack" size="457M">
Setup/missionpack/pak0.pk3
</files>
</option>
</option>
</component>
<component arch="x86_64" name="x86_64" version="@VERSION@">
<option install="true">
x86_64 binaries
<binary libc="any" symlink="ioquake3" icon="quake3.png"
menu="." name="ioquake3">
ioquake3
</binary>
<files>
ioquake3.x86_64.tar
quake3.png
</files>
</option>
</component>
<component if="|(x86,x86_64)" name="i386" version="@VERSION@">
<option install="true">
x86 (32 bit) binaries
<binary libc="any" symlink="ioquake3" icon="quake3.png"
menu="." name="ioquake3">
ioquake3
</binary>
<files>
ioquake3.i386.tar
quake3.png
</files>
</option>
</component>
<component arch="ppc" name="ppc" version="@VERSION@">
<option install="true">
ppc 32 bit binaries
<binary libc="any" symlink="ioquake3" icon="quake3.png"
menu="." name="ioquake3">
ioquake3
</binary>
<files>
ioquake3.ppc.tar
quake3.png
</files>
</option>
</component>
<cdrom id="CD 1" name="Quake 3 Arena installation CD">
Setup/BaseEF/pak0.pk3
</cdrom>
<cdrom id="CD 2" name="Quake 3 Team Arena installation CD">
Setup/missionpack/pak0.pk3
</cdrom>
</install>

2289
misc/setup/splash.xpm Normal file

File diff suppressed because it is too large Load diff