--- deliantra/Deliantra-Client/makebin.osx 2008/08/27 20:28:12 1.4 +++ deliantra/Deliantra-Client/makebin.osx 2009/09/28 20:44:01 1.14 @@ -2,22 +2,36 @@ # Convert a gtk2-perl program to a standalone OS X binary +#port install libsdl libsdl_mixer libsdl_image libvorbis libpng jpeg pango db46 libogg p5-libwww-perl p5-yaml +# need to patch libSDL_image from /opt/local/lib/libjpeg.dylib to ./libjpeg.62.dylib +# ln -s db46/db.h /opt/local/include +# ln -s db46/libdb.dylib /opt/local/lib +# /opt/local/bin/cpan Pod::POM + +#export MACOSX_DEPLOYMENT_TARGET=10.3 # maybe it helps +#export MACOSX_DEPLOYMENT_TARGET=10.5 # nope + +cvs update + 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 common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard; do ( + mkdir -p /root/src/$mod || exit 77 cd /root/src/$mod + set -x + pwd + rsync -avPessh 10.0.0.1:src/$mod/. . --del $PERL/bin/perl Makefile.PL >fonts.conf < - - - - mono monospace - - sans serif sans-serif - - sans sans-serif - - fontconfig-cache - - - - 0x00200x00A00x00AD0x034F0x06000x06010x06020x06030x06DD0x070F0x115F0x11600x16800x17B40x17B50x180E0x20000x20010x20020x20030x20040x20050x20060x20070x20080x20090x200A0x200B0x200C0x200D0x200E0x200F0x20280x20290x202A0x202B0x202C0x202D0x202E0x202F0x205F0x20600x20610x20620x20630x206A0x206B0x206C0x206D0x206E0x206F0x28000x30000x31640xFEFF0xFFA00xFFF90xFFFA0xFFFB - - - - -EOF - echo "fonts.conf;root/fonts.conf" - ) >addlist #cat pango.modules;exit @@ -89,9 +80,9 @@ cd /root/src/deliantra/Deliantra-Client -#$PERL/bin/perl Makefile.PL -#make clean -#$PERL/bin/perl Makefile.PL +$PERL/bin/perl Makefile.PL +make clean +$PERL/bin/perl Makefile.PL make install || exit DYLD_LIBRARY_PATH=/opt/local/lib \ @@ -168,6 +159,11 @@ This disk image contains the Deliantra MORPG game client. +The client has been compiled for Intel systems only. + +The client uses a lot of right mouse button click pop-up menus, to emulate +a right-click with a mouse that has only one button, use ctrl-click. + To play it, simply double-click it, then select a good graphics resolution in the Setup => Graphics tab and then go to Setup => Login, enter a nickname (no spaces, only ASCII letters supported) and a password, then hit Login.