--- deliantra/Deliantra-Client/makebin.osx 2008/08/19 21:48:28 1.1 +++ deliantra/Deliantra-Client/makebin.osx 2008/09/29 03:44:12 1.9 @@ -2,23 +2,33 @@ # Convert a gtk2-perl program to a standalone OS X binary +# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib + +export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps + PERL=/opt/local PERLLIB=/usr/lib/perl5 -PANGO=1.6.0 -if false; then - for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do +umask 022 + +if true; then + for mod in AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB; do ( cd /root/src/$mod + set -x + pwd + rsync -avPessh 10.0.0.1:src/$mod/. . --del $PERL/bin/perl Makefile.PL "$APP.app/Contents/Info.plist" < + + + + CFBundleDevelopmentRegion + English + CFBundleDisplayName + Deliantra MORPG Client + CFBundleExecutable + run + CFBundleGetInfoString + Deliantra MORPG Client $VER (www.deliantra.net) + CFBundleIconFile + deliantra.icns + CFBundleIdentifier + net.deliantra.client + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Deliantra MORPG Client + CFBundlePackageType + APPL + CFBundleShortVersionString + $VER + CFBundleVersionString + $VER.$(date "+%Y.%m.%d.%H.%M.%S") + CFBundleSignature + ???? + LSHasLocalizedDisplayName + + LSMinimumSystemVersion + 10.3 + NSAppleScriptEnabled + + NSHumanReadableCopyright + Deliantra MORPG Client - Copyright 2008 The Deliantra Team + + +EOF + +rm -rf dmg +mkdir dmg + +mv "$APP.app" dmg/ + +cat >dmg/README.txt < Graphics tab and then go to Setup => Login, enter a nickname +(no spaces, only ASCII letters supported) and a password, then hit Login. + +You can also install the client application by dragging it onto your +harddisk or anywhere else, but it should play perfectly fine from the disk +image. + +The game stores configuration settings, map data, music and other resources +in a hidden directory called .deliantra in your home directory. + +The script "Reset Configuration" will reset the configuration and delete +any downloaded resources. You can use this when you no longer want to play +Deliantra, or when you have problems with the settings (window too large +etc.). + +Unfortunately, Mac OS X has quite buggy OpenGL support: make sure your +monitor cable is plugged in correctly when you can't go into fullscreen or +when the graphics look broken. + +See http://www.deliantra.net/ for more info. + +EOF + +cat >dmg/"Reset Configuration" <