diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-31 23:13:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-31 23:13:54 +0100 |
| commit | 14ad1435f0c389d3b549160750c681e2a65bc6dc (patch) | |
| tree | 4c61809f64adbc680cc8e20a3cd055b51b3532ef /run | |
| parent | 32ca4fac29746197319d4fe8247b9f8a548da535 (diff) | |
Update OS X hack scripts.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/run/dcpomatic b/run/dcpomatic index f7af91814..9a2f21ea5 100755 --- a/run/dcpomatic +++ b/run/dcpomatic @@ -4,8 +4,8 @@ if [ `uname -s` == "Darwin" ]; then # Some time ago we could start DCP-o-matic on OS X just by running the executable, in # the same way as Linux. This doesn't work any more. - ENV=$HOME/Environments/osx/64/lib - DEP=$HOME/cdist/64/lib + ENV=$HOME/Environments/osx/10.6/64/lib + DEP=$HOME/dcpomatic-deps/lib app=build/platform/osx/DCP-o-matic.app macos=$app/Contents/MacOS @@ -56,11 +56,19 @@ if [ `uname -s` == "Darwin" ]; then cp $ENV/libquickmail*.dylib $lib cp $ENV/libcurl*.dylib $lib cp $ENV/libffi*.dylib $lib + cp $ENV/libiconv*.dylib $lib cp icons/defaults.png $resources cp icons/servers.png $resources cp icons/tms.png $resources cp icons/colour_conversions.png $resources cp icons/kdm_email.png $resources + + for lang in de_DE es_ES fr_FR it_IT sv_SE nl_NL; do + mkdir "$resources/$lang" + cp build/src/lib/mo/$lang/*.mo "$resources/$lang" + cp build/src/wx/mo/$lang/*.mo "$resources/$lang" + cp build/src/tools/mo/$lang/*.mo "$resources/$lang" + done sed -e "s/@VERSION@/test/g" platform/osx/Info.plist.in > $app/Contents/Info.plist @@ -76,8 +84,7 @@ if [ `uname -s` == "Darwin" ]; then fi done - cd build/platform/osx/DCP-o-matic.app/Contents/MacOS - ./dcpomatic $* + open build/platform/osx/DCP-o-matic.app else export LD_LIBRARY_PATH=build/src/lib:build/src/wx:build/src/asdcplib/src:$LD_LIBRARY_PATH |
