--- deliantra/Deliantra-Client/util/gatherer 2011/12/31 04:23:43 1.7 +++ deliantra/Deliantra-Client/util/gatherer 2012/01/04 09:16:40 1.8 @@ -1,6 +1,6 @@ #!/bin/bash -# this gem of a hack gathers all fiels required by the client for the platform +# this gem of a hack gathers all files required by the client for the platform # by deep magic, it works on osx, linux and windows. on MY osx, linux # and windows, that is. @@ -74,7 +74,7 @@ export EV_SIGNALFD=0 if true; then - for mod in deliantra/Deliantra deliantra/Deliantra-Client; do + for mod in Coro IO/AIO AnyEvent EV Urlader deliantra/Deliantra deliantra/Deliantra-Client; do # for mod in common-sense AnyEvent EV JSON-XS deliantra/Deliantra Compress-LZF BDB Guard deliantra/Deliantra-Client; do # for mod in CFPlus; do ( @@ -283,8 +283,14 @@ if [ "$OS" != windows ]; then # patch braindamaged pango - set libpango-1.0.$LIB0 - perl -pe 's{/u(?=sr/lib(32)?/pango)}{.\x00}g; s{\Q'$PANGO'\E\x00}{y.t.u\x00}g' <"$1" >"$1~" && mv "$1~" "$1" + + if [ "$OS" = darwin ]; then + set libdeliantra-pango-1.0.0.dylib + perl -pe 's{/o(?opt/local/.../pango)}{.\x00}g; s{\Q'$PANGO'\E\x00}{y.t.u\x00}g' <"$1" >"$1~" && mv "$1~" "$1" + else + set libpango-1.0.$LIB0 + perl -pe 's{/u(?=sr/lib(32)?/pango)}{.\x00}g; s{\Q'$PANGO'\E\x00}{y.t.u\x00}g' <"$1" >"$1~" && mv "$1~" "$1" + fi chmod 755 "$1" fi