summaryrefslogtreecommitdiff
path: root/tools/osx_packaging/app_build.rb
diff options
context:
space:
mode:
authorJesse Chappell <jesse@essej.net>2006-12-30 06:37:00 +0000
committerJesse Chappell <jesse@essej.net>2006-12-30 06:37:00 +0000
commit4fa71e154f3cebb3d4bf8f46ec3f19d6aeaded72 (patch)
tree7f3f188b8ef69fbc29599d1cf810406e7a8a8c98 /tools/osx_packaging/app_build.rb
parent34a813c1a13263c2f37b945771093f428efb9692 (diff)
tweaked panner appearance and consistency, panner line now distinct color from triangles. shift-click now reverts panner to center, left or right depending on number of channels. minor updates to osx app build script. fixed region editor re-show problem.
git-svn-id: svn://localhost/ardour2/trunk@1253 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools/osx_packaging/app_build.rb')
-rwxr-xr-xtools/osx_packaging/app_build.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/osx_packaging/app_build.rb b/tools/osx_packaging/app_build.rb
index c81225024b..4cab635034 100755
--- a/tools/osx_packaging/app_build.rb
+++ b/tools/osx_packaging/app_build.rb
@@ -102,14 +102,16 @@ end
Dir.chdir(odir)
# copy ardour.bin to bindir/ardour
-$stdout.print("Copying bin to #{bindir} ...\n");
+
if File.exist?("../../gtk2_ardour/ardour.bin") then
+ $stdout.print("Copying bin to #{bindir} ...\n");
`cp ../../gtk2_ardour/ardour.bin #{bindir}/ardour`
end
`cp ../../libs/surfaces/*/*.dylib #{libdir}/surfaces`
# remove the basenames from libdir that are in surfaces (copied earlier)
+`rm -f #{libdir}/surfaces/libardour_cp.dylib`
begin
Dir.foreach(libdir+"/surfaces") {|x| unless ( x[0] == 46 or x.include?("libardour_cp")) then File.delete(libdir + "/" +x) end}
rescue
@@ -174,6 +176,7 @@ end
if File.exist?(ppc_libdir) and File.exist?(i386_libdir) then
$stdout.print("\nBoth platforms in place, lipo'ing...\n");
`rm -rf lib/*`
+ `rm -f bin/ardour`
lipo_platforms_recurse(ppc_libdir, i386_libdir, "lib")
lipo_platforms_recurse(i386_libdir, ppc_libdir, "lib")
lipo_platforms_recurse(i386_bindir+'/ardour', ppc_bindir+'/ardour', "bin/ardour")