--- deliantra/Deliantra-Client/makebin.osx 2008/08/20 00:46:12 1.2
+++ deliantra/Deliantra-Client/makebin.osx 2008/09/29 03:44:12 1.9
@@ -2,22 +2,28 @@
# 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
umask 022
-if false; then
- for mod in AnyEvent EV JSON-XS Deliantra Compress-LZF BDB; do
+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 LSHasLocalizedDisplayName
LSMinimumSystemVersion
- 10.5
+ 10.3
NSAppleScriptEnabled
NSHumanReadableCopyright
@@ -163,11 +169,66 @@
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" <