--- deliantra/Deliantra-Client/makebin.osx 2008/08/20 18:26:03 1.3 +++ deliantra/Deliantra-Client/makebin.osx 2008/12/05 14:49:09 1.10 @@ -2,22 +2,29 @@ # 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 +export MACOSX_DEPLOYMENT_TARGET=10.5 # nope + 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 Graphics tab and then go to Setup => Login, enter a nickname (no spaces, only ASCII letters supported) and a password, then hit Login. @@ -209,9 +221,15 @@ # now, the last third, putting all this into a dmg -hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"Deliantra_MORPG_Client-$VER".dmg -ls -l ~user/"Deliantra_MORPG_Client-$VER".dmg +DMG="Deliantra_MORPG_Client-$VER".dmg + +hdiutil create -srcfolder dmg -volname "Deliantra MORPG Client" -ov -format UDZO ~user/"$DMG" +ls -l ~user/"$DMG" rm -rf dmg +chmod 644 ~user/$DMG +echo http://data.plan9.de/"$DMG" +rsync -avPessh ~user/"$DMG" ruth:/var/www/data.plan9.de/. +