diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-28 04:06:53 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-28 04:06:53 +0000 |
commit | 598e0dd010648677ed70661f7161f922dec2bb8c (patch) | |
tree | 7e5aee52fa7f84feb6de34023c4f8bcceff90205 /tools | |
parent | 618f575ac1c931fd9eef95f27e6328903f92a9ec (diff) |
minor fixes from OS X land
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2720 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/osx_packaging/osx_build | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 4843e53bdb..cb4141de16 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -8,6 +8,7 @@ SAE= WITH_JACK=1 WITH_LADSPA=1 STRIP=1 +PRINT_SYSDEPS= while [ $# -gt 0 ] ; do echo "arg = $1" @@ -16,6 +17,7 @@ while [ $# -gt 0 ] ; do --nojack) WITH_JACK= ; shift ;; --noladpsa) WITH_LADSPA= ; shift ;; --nostrip) STRIP= ; shift ;; + --sysdeps) PRINT_SYSDEPS=1; shift ;; esac done @@ -31,6 +33,20 @@ Plugins=$APPROOT/Plugins Shared=$Resources/share Etc=$Resources/etc +if [ x$PRINT_SYSDEPS != x ] ; then +# +# print system dependencies +# + + for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* $Plugins/*.so ; do + if ! file $file | grep -qs Mach-O ; then + continue + fi + otool -L $file | awk '{print $1}' | egrep -v "(^@executable_path|^Ardour[0-9][.0-9]*.app)" + done | sort | uniq + exit 0 +fi + echo "Removing old Ardour2.app tree ..." rm -rf Ardour2.app |