From 344618181104012d609532848c5b1b0529247fa2 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Thu, 30 Nov 2006 02:21:07 +0000 Subject: * Updated Mac OS X Universal Binary building (from ioq3 merge) --- make-macosx-ub.sh | 28 +++++++++++++--------------- src/unix/MacSupport/Tremulous.icns | Bin 0 -> 78419 bytes 2 files changed, 13 insertions(+), 15 deletions(-) create mode 100755 src/unix/MacSupport/Tremulous.icns diff --git a/make-macosx-ub.sh b/make-macosx-ub.sh index 0bcee56c..c781427f 100755 --- a/make-macosx-ub.sh +++ b/make-macosx-ub.sh @@ -1,11 +1,11 @@ #!/bin/sh -APPBUNDLE=ioquake3.app -BINARY=ioquake3.ub -PKGINFO=APPIOQ3 -ICNS=code/unix/MacSupport/ioquake3.icns +APPBUNDLE=Tremulous.app +BINARY=Tremulous.ub +PKGINFO=APPTREM +ICNS=src/unix/MacSupport/Tremulous.icns DESTDIR=build/release-darwin-ub BASEDIR=base -Q3_VERSION=`grep "\#define Q3_VERSION" code/qcommon/q_shared.h | \ +Q3_VERSION=`grep "\#define Q3_VERSION" src/qcommon/q_shared.h | \ sed -e 's/.*".* \([^ ]*\)"/\1/'`; BIN_OBJ=" @@ -21,14 +21,13 @@ BASE_OBJ=" build/release-darwin-x86/$BASEDIR/gamex86.dylib " if [ ! -f Makefile ]; then - echo "This script must be run from the ioquake3 build directory"; + echo "This script must be run from the Tremulous build directory"; fi if [ ! -d /Developer/SDKs/MacOSX10.2.8.sdk ]; then echo " /Developer/SDKs/MacOSX10.2.8.sdk/ is missing, this doesn't install by default -with newer XCode releases, but you should be able to fine the installer at -/Applications/Installers/Xcode Tools/Packages/" +with newer XCode releases, but the installers is included" exit 1; fi @@ -51,7 +50,7 @@ fi if [ ! -d $DESTDIR/$APPBUNDLE/Contents/Resources ]; then mkdir -p $DESTDIR/$APPBUNDLE/Contents/Resources fi -cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/ioquake3.icns || exit 1; +cp $ICNS $DESTDIR/$APPBUNDLE/Contents/Resources/Tremulous.icns || exit 1; echo $PKGINFO > $DESTDIR/$APPBUNDLE/Contents/PkgInfo echo " @@ -65,15 +64,15 @@ echo " CFBundleExecutable $BINARY CFBundleGetInfoString - ioquake3 $Q3_VERSION + $Q3_VERSION CFBundleIconFile - ioquake3.icns + Tremulous.icns CFBundleIdentifier - org.icculus.quake3 + net.tremulous CFBundleInfoDictionaryVersion 6.0 CFBundleName - ioquake3 + Tremulous CFBundlePackageType APPL CFBundleShortVersionString @@ -92,6 +91,5 @@ echo " lipo -create -o $DESTDIR/$APPBUNDLE/Contents/MacOS/$BINARY $BIN_OBJ cp $BASE_OBJ $DESTDIR/$APPBUNDLE/Contents/MacOS/$BASEDIR/ -cp $MPACK_OBJ $DESTDIR/$APPBUNDLE/Contents/MacOS/$MPACKDIR/ -cp code/libs/macosx/*.dylib $DESTDIR/$APPBUNDLE/Contents/MacOS/ +cp src/libs/macosx/*.dylib $DESTDIR/$APPBUNDLE/Contents/MacOS/ diff --git a/src/unix/MacSupport/Tremulous.icns b/src/unix/MacSupport/Tremulous.icns new file mode 100755 index 00000000..c4106ac5 Binary files /dev/null and b/src/unix/MacSupport/Tremulous.icns differ -- cgit