Fix ardour2 -> ardour3 issues.
authorDavid Robillard <d@drobilla.net>
Wed, 18 Feb 2009 18:32:13 +0000 (18:32 +0000)
committerDavid Robillard <d@drobilla.net>
Wed, 18 Feb 2009 18:32:13 +0000 (18:32 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf

25 files changed:
ardour.dox
gtk2_ardour/SConscript
gtk2_ardour/ardev_common.sh.in
gtk2_ardour/ardour2.desktop.in [deleted file]
gtk2_ardour/ardour2.xml [deleted file]
gtk2_ardour/ardour3.desktop.in [new file with mode: 0644]
gtk2_ardour/ardour3.xml [new file with mode: 0644]
gtk2_ardour/theme_manager.cc
libs/ardour/macosx/ardour.xcodeproj/project.pbxproj
libs/ardour/source.cc
libs/clearlooks-newer/SConscript
libs/clearlooks-older/SConscript
libs/surfaces/mackie/README
libs/surfaces/mackie/SConscript
libs/surfaces/wiimote/SConscript
manual/xml/basic_recording.xml
manual/xml/entities.ent.in
manual/xml/key_bindings.xml
manual/xml/mackie.xml
tools/osx_packaging/app_build.rb
tools/osx_packaging/bin/exporter
tools/osx_packaging/script
tools/osx_packaging/startup_script
vst/ardevst
vst/ardourvst.in

index 6b4f419a9e1f1288c2851769adafe95f50d2697f..b22768cee9585f6e7c0053039b87e1e03c39bf28 100644 (file)
@@ -17,7 +17,7 @@
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = Ardour2
+PROJECT_NAME           = Ardour3
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 
 # This could be handy for archiving the generated documentation or 
index a97b45dc54bfdb9221a9099de3a16def0c304898..2667cfa5a5cdfa3d350145426561b42cca8d3113 100644 (file)
@@ -532,36 +532,36 @@ env.Alias ('version', gtkardour.VersionBuild(['version.cc','version.h'], []))
 if env['FREEDESKTOP']:
        desktop_icon_install_prefix = install_prefix + '/share/icons/hicolor'
        # Install the desktop icons to the default locations #
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'apps', 'ardour2.png'), 'icons/ardour_icon_16px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'apps', 'ardour2.png'), 'icons/ardour_icon_22px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'apps', 'ardour2.png'), 'icons/ardour_icon_32px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'apps', 'ardour2.png'), 'icons/ardour_icon_48px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'apps', 'ardour3.png'), 'icons/ardour_icon_16px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'apps', 'ardour3.png'), 'icons/ardour_icon_22px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'apps', 'ardour3.png'), 'icons/ardour_icon_32px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'apps', 'ardour3.png'), 'icons/ardour_icon_48px.png'))
        # Install the mime type xml file and its icon #
-        env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'mime', 'packages'), 'ardour2.xml'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_16px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_22px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_32px.png'))
-       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'mimetypes', 'application-x-ardour2.png'), 'icons/application-x-ardour_48px.png'))
+       env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'mime', 'packages'), 'ardour3.xml'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '16x16', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_16px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '22x22', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_22px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '32x32', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_32px.png'))
+       env.Alias('install', env.InstallAs(os.path.join(desktop_icon_install_prefix, '48x48', 'mimetypes', 'application-x-ardour3.png'), 'icons/application-x-ardour_48px.png'))
        env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'mime'), [], 'update-mime-database $TARGET'))
        # Update the icon cache #
        env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'touch --no-create $TARGET'))
        env.Alias('install', env.Command (desktop_icon_install_prefix, [], 'gtk-update-icon-cache $TARGET'))
-       # Make the ardour2.desktop file and install it #
-       env.Alias('install', env.Command ('ardour2.desktop', 'ardour2.desktop.in', 'cat $SOURCES  > $TARGET'))
-       env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'applications'), 'ardour2.desktop'))
+       # Make the ardour3.desktop file and install it #
+       env.Alias('install', env.Command ('ardour3.desktop', 'ardour3.desktop.in', 'cat $SOURCES  > $TARGET'))
+       env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'applications'), 'ardour3.desktop'))
        env.Alias('install', env.Command (os.path.join(install_prefix, 'share', 'applications'), [], 'update-desktop-database $TARGET'))
        # uninstall target.. needed to run  update-mime-database and update-desktop-database after removal. #`
        remove_desktop_files = env.Command ('another_frobnicatory_decoy', [],
-                             [ Delete (install_prefix + '/share/mime/packages/ardour2.xml'),
-                              Delete (install_prefix + '/share/applications/ardour2.desktop'),
-                              Delete (desktop_icon_install_prefix + '/16x16/apps/ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/22x22/apps/ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/32x32/apps/ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/48x48/apps/ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/16x16/mimetypes/application-x-ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/22x22/mimetypes/application-x-ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/32x32/mimetypes/application-x-ardour2.png'),
-                              Delete (desktop_icon_install_prefix + '/48x48/mimetypes/application-x-ardour2.png'),
+                             [ Delete (install_prefix + '/share/mime/packages/ardour3.xml'),
+                              Delete (install_prefix + '/share/applications/ardour3.desktop'),
+                              Delete (desktop_icon_install_prefix + '/16x16/apps/ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/22x22/apps/ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/32x32/apps/ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/48x48/apps/ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/16x16/mimetypes/application-x-ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/22x22/mimetypes/application-x-ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/32x32/mimetypes/application-x-ardour3.png'),
+                              Delete (desktop_icon_install_prefix + '/48x48/mimetypes/application-x-ardour3.png'),
                                Action ('update-mime-database ' + install_prefix + '/share/mime'),
                                Action ('gtk-update-icon-cache ' + desktop_icon_install_prefix),
                                Action ('update-desktop-database ' + install_prefix + '/share/applications')])
@@ -589,8 +589,8 @@ env.Alias ('tarball', env.Distribute (env['DISTTREE'],
                                        'SAE-de-nokeypad.bindings.in', 
                                        'ardour3_ui_default.conf',
                                        'editor_xpms',
-                                       'ardour2.xml',
-                                       'ardour2.desktop.in'
+                                       'ardour3.xml',
+                                       'ardour3.desktop.in'
                                         ] +
                                       gtkardour_files +
                                      vst_files +
index b1281354baf8cddc20ecd70c3379c944f6d8cdd3..6b870fb4e2d849bd024d485a8b2ceeb814967c2e 100644 (file)
@@ -7,10 +7,10 @@ export ARDOUR_SURFACES_PATH=libs/surfaces/osc:libs/surfaces/generic_midi:libs/su
 export ARDOUR_DATA_PATH=gtk2_ardour:.
 if test -d $HOME/gtk/inst ; then
     echo USING NEW CLEARLOOKS
-    export GTK_PATH=~/.ardour2:libs/clearlooks-newer
+    export GTK_PATH=~/.ardour3:libs/clearlooks-newer
 else
     echo USING OLD CLEARLOOKS
-    export GTK_PATH=~/.ardour2:libs/clearlooks-older
+    export GTK_PATH=~/.ardour3:libs/clearlooks-older
 fi
 export VAMP_PATH=libs/vamp-plugins:$VAMP_PATH
 
diff --git a/gtk2_ardour/ardour2.desktop.in b/gtk2_ardour/ardour2.desktop.in
deleted file mode 100644 (file)
index b5911e8..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Ardour
-Comment=Ardour Digital Audio Workstation
-Exec=ardour2
-Icon=ardour2
-Terminal=false
-MimeType=application/x-ardour2;
-Type=Application
-Categories=AudioVideo;Audio;X-Recorders;X-Multitrack;X-Jack;
diff --git a/gtk2_ardour/ardour2.xml b/gtk2_ardour/ardour2.xml
deleted file mode 100644 (file)
index dd1c46e..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
-  <mime-type type="application/x-ardour2">
-  <sub-class-of type="application/xml"/>
-  <comment>Ardour session file</comment>
-  <glob pattern="*.ardour"/>
-  </mime-type>
-</mime-info>
diff --git a/gtk2_ardour/ardour3.desktop.in b/gtk2_ardour/ardour3.desktop.in
new file mode 100644 (file)
index 0000000..d32cb1d
--- /dev/null
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Ardour
+Comment=Ardour Digital Audio Workstation
+Exec=ardour3
+Icon=ardour3
+Terminal=false
+MimeType=application/x-ardour3;
+Type=Application
+Categories=AudioVideo;Audio;X-Recorders;X-Multitrack;X-Jack;
diff --git a/gtk2_ardour/ardour3.xml b/gtk2_ardour/ardour3.xml
new file mode 100644 (file)
index 0000000..4b101c6
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
+  <mime-type type="application/x-ardour3">
+  <sub-class-of type="application/xml"/>
+  <comment>Ardour session file</comment>
+  <glob pattern="*.ardour"/>
+  </mime-type>
+</mime-info>
index c1b3a853d10baa50f1d16dd09237f806a98e6aee..0d13200513f870c31f509badf7d3a003a461afb6 100644 (file)
@@ -275,7 +275,7 @@ ThemeManager::setup_theme ()
        ColorsChanged.emit();
 
        bool env_defined = false;
-       string rcfile = Glib::getenv("ARDOUR2_UI_RC", env_defined);
+       string rcfile = Glib::getenv("ARDOUR3_UI_RC", env_defined);
 
        if(!env_defined) {
                rcfile = ARDOUR_UI::config()->ui_rc_file.get();
index 4026b65f5953eb294a617be367117017b76f1c24..8786691730ea09de309d6a3e8dd095d694f5f697 100644 (file)
                                        /Library/Frameworks/SampleRate.framework/Headers,
                                        /Library/Frameworks/Raptor.framework/Headers,
                                        /Library/Frameworks/LRdf.framework/Headers,
-                                       /opt/ardour/src/ardour2/libs/surfaces/control_protocol,
+                                       /opt/ardour/src/ardour3/libs/surfaces/control_protocol,
                                );
                                INSTALL_PATH = "@executable_path/../Frameworks";
                                MACOSX_DEPLOYMENT_TARGET = "";
                                        /Library/Frameworks/SampleRate.framework/Headers,
                                        /Library/Frameworks/Raptor.framework/Headers,
                                        /Library/Frameworks/LRdf.framework/Headers,
-                                       /opt/ardour/src/ardour2/libs/surfaces/control_protocol,
+                                       /opt/ardour/src/ardour3/libs/surfaces/control_protocol,
                                );
                                INSTALL_PATH = "@executable_path/../Frameworks";
                                MACOSX_DEPLOYMENT_TARGET = "";
index a0ee2ac706497b8f905100462a3f26d8b15f2a6b..12a5e7c071461e72c646ee0d68eaac86fc02b654 100644 (file)
@@ -161,7 +161,9 @@ Source::add_playlist (boost::shared_ptr<Playlist> pl)
                res.first->second++;
        }
                
-       pl->GoingAway.connect (bind (mem_fun (*this, &Source::remove_playlist), boost::weak_ptr<Playlist> (pl)));
+       pl->GoingAway.connect (bind (
+                       mem_fun (*this, &Source::remove_playlist),
+                       boost::weak_ptr<Playlist> (pl)));
 }
 
 void
index ca527c70da8db05903a4f87af3bf6041c5aac99f..6b71356dd29267d446648bf266d39708befe6f78 100644 (file)
@@ -40,7 +40,7 @@ else:
     Default (usable_libclearlooks)
 
 env.Alias('install', env.Install (
-        os.path.join(install_prefix,env['LIBDIR'], 'ardour2', 'engines'),
+        os.path.join(install_prefix,env['LIBDIR'], 'ardour3', 'engines'),
         libclearlooks))
 
 env.Alias('tarball', env.Distribute (env['DISTTREE'],
index 4feff6db90c7ccd5dcedad4c8dd07b23fb015bbf..dedf40f351b0fdfbfcbe54bcc5e5c0751ee9b056 100644 (file)
@@ -26,7 +26,7 @@ usable_libclearlooks = clearlooks.Install ('engines', libclearlooks)
 Default (usable_libclearlooks)
 
 env.Alias('install',
-          env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour2', 'engines'),
+          env.Install(os.path.join(install_prefix,env['LIBDIR'], 'ardour3', 'engines'),
                       libclearlooks))
 
 env.Alias('tarball', env.Distribute (env['DISTTREE'],
index 5ed3a75fa529fb1242bf9433bfe1a35f88eff94d..5ffac15e5fca3e4639ae9693e3145ab29a28950c 100644 (file)
@@ -10,8 +10,8 @@ NOTES:
 
 * support for alsa/sequencer ports is currently broken. We're working on it.
 
-* you'll need to make port changes in etc/ardour2/ardour_system.rc and
-etc/ardour2/ardour.rc, otherwise they don't stay changed in ~/.ardour2/ardour.rc
+* you'll need to make port changes in etc/ardour3/ardour_system.rc and
+etc/ardour3/ardour.rc, otherwise they don't stay changed in ~/.ardour3/ardour.rc
 
 
 John Anderson
index 96b37c2d6e3a437f1161590004994cd47a784720..392fa2dcff9c63f0cbeb24569057da7de8c1029b 100644 (file)
@@ -79,7 +79,7 @@ if mackie['SURFACES']:
        Default(libardour_mackie)
        if env['NLS']:
                i18n (mackie, mackie_files, env)
-       env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2','surfaces'), libardour_mackie))
+       env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3','surfaces'), libardour_mackie))
 
 env.Alias('tarball', env.Distribute (env['DISTTREE'],
                                     [ 'SConscript' ] +
index 8c8b3d47911f721ac1d88a2b4ad43bb12f7e1dc5..eee54f37e4c8b7d5b0dcce79da1fb30c4d45db7e 100644 (file)
@@ -50,7 +50,7 @@ libardour_wiimote = wiimote.SharedLibrary('ardour_wiimote', wiimote_files)
 
 if wiimote['WIIMOTE']:
        Default(libardour_wiimote)
-       env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2', 'surfaces'), libardour_wiimote))
+       env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3', 'surfaces'), libardour_wiimote))
 
 if env['NLS']:
        i18n (wiimote, wiimote_files, env)
index ba40c96ebc15b6ef222413b5e8079500556b61b5..e8deb17a1712796007175d01bbda6e87adf34f2b 100644 (file)
@@ -59,7 +59,7 @@
           of the transport bar.
           <note>
             <para>
-              In Ardour2, there is no <guibutton>Editor Mixer</guibutton>
+              In Ardour3, there is no <guibutton>Editor Mixer</guibutton>
               button, but you can make the mixer strip visible by selecting
               <menuchoice> <guimenu>View</guimenu> <guisubmenu>Show Editor
               Mixer</guisubmenu> </menuchoice>, or by pressing
index 9d814bf0b2d1264b24cb9b7395d7dc21dd7b9cac..7590a9b04568fdad095a69f8a32078f273a2b59b 100644 (file)
@@ -6,7 +6,7 @@
 
 <!ENTITY ARDOUR_NAME "ardour">
 <!ENTITY ARDOUR_VERSION "%VERSION%">
-<!ENTITY ARDOUR_COMMAND "<command>ardour2</command>">
+<!ENTITY ARDOUR_COMMAND "<command>ardour3</command>">
 <!ENTITY ARDOUR_APPLICATION "<application>&ARDOUR_NAME;</application>">
 <!ENTITY COPYRIGHT_HOLDER "&ARDOUR_NAME; Foundation">
 
index 3aff10c6d4b04cc1d0a3f9bc1bd560e2bcb3d8ba..4700c1164a2dba03dac12c6ed060c8529fe13550 100644 (file)
@@ -11,7 +11,7 @@
     <para>
       Note that all keyboard bindings can be changed in either the system or
       the user's Ardour key bindings file
-      (<filename>$HOME/.ardour2/ardour.bindings</filename>).
+      (<filename>$HOME/.ardour3/ardour.bindings</filename>).
     </para>
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 
                href="general_key_bindings.xml" />
index f04324b4c29073230f6adbba1cce38b0a8a343dd..f8b7a64ba307c6383030d7ad01608e5afb3e6c43 100644 (file)
@@ -39,7 +39,7 @@
 
     <para>
       While ardour is not running, edit your
-      <filename>.ardour2/ardour.rc</filename> and add at the top, with the
+      <filename>.ardour3/ardour.rc</filename> and add at the top, with the
       other ports:
 <programlisting>
 &lt;MIDI-port tag="mcu" device="/dev/snd/midiC2D0" type="alsa/raw" mode="duplex"/&gt;
@@ -55,7 +55,7 @@
     <para>
       It is also possible to add MCU extenders, although this is untested
       because nobody we know has access to one right now. To do this, add
-      the following lines to <filename>~/.ardour2/ardour.rc</filename>
+      the following lines to <filename>~/.ardour3/ardour.rc</filename>
 <programlisting>
 &lt;MIDI-port tag="mcu_xt_1" device="/dev/snd/midiC3D0" type="alsa/raw" mode="duplex"/&gt;
 &lt;MIDI-port tag="mcu_xt_2" device="/dev/snd/midiC4D0" type="alsa/raw" mode="duplex"/&gt;
index 83f07c08ae20ad80952a0d2e7d2f6d9475a6387a..a59cb6f68805aabc72cd40a2c86bc159f320fa77 100755 (executable)
@@ -191,56 +191,56 @@ if File.exist?(ppc_libdir) and File.exist?(i386_libdir) then
   lipo_platforms_recurse(i386_libdir, ppc_libdir, "lib")
   lipo_platforms_recurse(i386_bindir+'/ardour', ppc_bindir+'/ardour', "bin/ardour")
 
-  # remove existing Ardour2.app
-  `rm -rf Ardour2.app`
+  # remove existing Ardour3.app
+  `rm -rf Ardour3.app`
 
-  $stdout.print("\nRunning Playtpus to create Ardour2.app  ...\n");
+  $stdout.print("\nRunning Playtpus to create Ardour3.app  ...\n");
 
-  `/usr/local/bin/platypus -D -X 'ardour' -a 'Ardour2' -t 'shell' -o 'None' -u 'Paul Davis' -i '/bin/sh' -V "#{version}" -s 'ArDr' -I 'org.ardour.Ardour2' -f 'bin' -f 'lib' -i 'Ardour2.icns' -f 'MenuBar.nib' -f 'ProgressWindow.nib' -f 'init' -f 'openDoc' 'script' 'Ardour2.app'`
+  `/usr/local/bin/platypus -D -X 'ardour' -a 'Ardour3' -t 'shell' -o 'None' -u 'Paul Davis' -i '/bin/sh' -V "#{version}" -s 'ArDr' -I 'org.ardour.Ardour3' -f 'bin' -f 'lib' -i 'Ardour3.icns' -f 'MenuBar.nib' -f 'ProgressWindow.nib' -f 'init' -f 'openDoc' 'script' 'Ardour3.app'`
 
-  $stdout.print("\nCopying other stuff to Ardour2.app  ...\n");
+  $stdout.print("\nCopying other stuff to Ardour3.app  ...\n");
 
-  if not File.exist?("Ardour2.app/Contents/Resources/etc") then
-    Dir.mkdir "Ardour2.app/Contents/Resources/etc" 
+  if not File.exist?("Ardour3.app/Contents/Resources/etc") then
+    Dir.mkdir "Ardour3.app/Contents/Resources/etc" 
   end
 
-  if not File.exist?("Ardour2.app/Contents/Resources/etc/ardour2") then
-    Dir.mkdir "Ardour2.app/Contents/Resources/etc/ardour2
+  if not File.exist?("Ardour3.app/Contents/Resources/etc/ardour3") then
+    Dir.mkdir "Ardour3.app/Contents/Resources/etc/ardour3
   end
-  `cp ../../gtk2_ardour/ardour.bindings ../../gtk2_ardour/ardour.colors ../../gtk2_ardour/ardour.menus Ardour2.app/Contents/Resources/etc/ardour2/`
-  `cp ../../ardour.rc ../../ardour_system.rc Ardour2.app/Contents/Resources/etc/ardour2/`
-  `cp ardour2_mac_ui.rc Ardour2.app/Contents/Resources/etc/ardour2/ardour2_ui.rc`
+  `cp ../../gtk2_ardour/ardour.bindings ../../gtk2_ardour/ardour.colors ../../gtk2_ardour/ardour.menus Ardour3.app/Contents/Resources/etc/ardour3/`
+  `cp ../../ardour.rc ../../ardour_system.rc Ardour3.app/Contents/Resources/etc/ardour3/`
+  `cp ardour3_mac_ui.rc Ardour3.app/Contents/Resources/etc/ardour3/ardour3_ui.rc`
 
   # copy other etc stuff
-  if not File.exist?("Ardour2.app/Contents/Resources/etc/gtk-2.0") then
-    `cp -R etc/gtk-2.0 Ardour2.app/Contents/Resources/etc/`
+  if not File.exist?("Ardour3.app/Contents/Resources/etc/gtk-2.0") then
+    `cp -R etc/gtk-2.0 Ardour3.app/Contents/Resources/etc/`
   end
-  if not File.exist?("Ardour2.app/Contents/Resources/etc/pango") then
-    `cp -R etc/pango Ardour2.app/Contents/Resources/etc/`
+  if not File.exist?("Ardour3.app/Contents/Resources/etc/pango") then
+    `cp -R etc/pango Ardour3.app/Contents/Resources/etc/`
   end
-  if not File.exist?("Ardour2.app/Contents/Resources/etc/fonts") then
-    `cp -R /opt/local/etc/fonts Ardour2.app/Contents/Resources/etc/`
+  if not File.exist?("Ardour3.app/Contents/Resources/etc/fonts") then
+    `cp -R /opt/local/etc/fonts Ardour3.app/Contents/Resources/etc/`
   end
 
-  if not File.exist?("Ardour2.app/Contents/Resources/etc/profile.d") then
-    `cp -R etc/profile.d Ardour2.app/Contents/Resources/etc/`
+  if not File.exist?("Ardour3.app/Contents/Resources/etc/profile.d") then
+    `cp -R etc/profile.d Ardour3.app/Contents/Resources/etc/`
   end
 
   # share stuff
 
-  if not File.exist?("Ardour2.app/Contents/Resources/share") then
-    Dir.mkdir "Ardour2.app/Contents/Resources/share"
+  if not File.exist?("Ardour3.app/Contents/Resources/share") then
+    Dir.mkdir "Ardour3.app/Contents/Resources/share"
   end
 
-  if not File.exist?("Ardour2.app/Contents/Resources/share/ardour2") then
-    Dir.mkdir "Ardour2.app/Contents/Resources/share/ardour2"
-    Dir.mkdir "Ardour2.app/Contents/Resources/share/ardour2/templates"
-    `cp -R  ../../gtk2_ardour/icons ../../gtk2_ardour/pixmaps ../../gtk2_ardour/splash.png Ardour2.app/Contents/Resources/share/ardour2/`
-    `cp ../../templates/*.template Ardour2.app/Contents/Resources/share/ardour2/templates/` 
+  if not File.exist?("Ardour3.app/Contents/Resources/share/ardour3") then
+    Dir.mkdir "Ardour3.app/Contents/Resources/share/ardour3"
+    Dir.mkdir "Ardour3.app/Contents/Resources/share/ardour3/templates"
+    `cp -R  ../../gtk2_ardour/icons ../../gtk2_ardour/pixmaps ../../gtk2_ardour/splash.png Ardour3.app/Contents/Resources/share/ardour3/`
+    `cp ../../templates/*.template Ardour3.app/Contents/Resources/share/ardour3/templates/` 
   end
 
   # go through and recursively remove any .svn dirs in the bundle
-  svndirs = `find Ardour2.app -name .svn -type dir`.split("\n")
+  svndirs = `find Ardour3.app -name .svn -type dir`.split("\n")
   svndirs.each do |svndir|
     `rm -rf #{svndir}`
   end
@@ -248,7 +248,7 @@ if File.exist?(ppc_libdir) and File.exist?(i386_libdir) then
   # make DMG
   `rm -rf macdist`
   Dir.mkdir("macdist")
-  `cp -r README.rtf COPYING Ardour2.app macdist/`
+  `cp -r README.rtf COPYING Ardour3.app macdist/`
   dmgname = "Ardour-#{version}"
   `rm -f #{dmgname}.dmg`
   $stdout.print("\nCreating DMG\n")
index 0ac0370c8200c20feb5250e7c93b14c73fea5110..d0bed83b2718049e1c5c460d850a8033d3ace105 100755 (executable)
@@ -18,11 +18,11 @@ export "GS_LIB=$TOP/share/ghostscript/8.51/lib:$TOP/share/ghostscript/fonts"
 export LANG=`grep '\b'\`defaults read .GlobalPreferences AppleCollationOrder\`_\
        /usr/share/locale/locale.alias | sed -n 's/.*\(.._..\)\..*/\1/p;1q'`
 
-export ARDOUR2_UI_RC=ardour2_ui.rc
+export ARDOUR3_UI_RC=ardour3_ui.rc
 export ARDOUR_CONFIG_PATH="$TOP/etc"
 export ARDOUR_MODULE_PATH="$TOP/lib/"
 export ARDOUR_DATA_PATH="$TOP/share"
-export ARDOUR_GLADE_PATH="$TOP/share/ardour2/glade"
+export ARDOUR_GLADE_PATH="$TOP/share/ardour3/glade"
 
 export ARDOUR_PATH="$TOP/share/ardour/icons:$TOP/share/ardour/pixmaps"
 
@@ -41,6 +41,6 @@ sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \
     > "$ETC/gdk-pixbuf.loaders"
 
 # to prevent complaining
-mkdir -p "$HOME/.ardour2/templates"
+mkdir -p "$HOME/.ardour3/templates"
 
 exec "$CWD/ardour" "$@"
index b00333741847317dc32dd42e66675195f8e03f4f..4f927c2aa563e1cb6770bffbeb32d64eb027bb83 100755 (executable)
@@ -4,12 +4,12 @@
 
 if [ ! -x /Applications/Utilities/X11.app ] ; then
     if [ -f /usr/include/X11/X.h ] ; then
-       osascript -e 'tell application "Ardour2"
+       osascript -e 'tell application "Ardour3"
 display dialog "You have installed the X11 SDK, but not X11 itself.\
 Please install X11 before running Ardour" buttons["OK"]
 end tell'
     else
-       osascript -e 'tell application "Ardour2"
+       osascript -e 'tell application "Ardour3"
 display dialog "Please install X11 before running Ardour" buttons["OK"]
 end tell'
     fi
@@ -17,7 +17,7 @@ end tell'
 fi
 
 if [ ! -x /usr/local/bin/jackd -a ! -x /usr/bin/jackd ] ; then
-    osascript -e 'tell application "Ardour2"
+    osascript -e 'tell application "Ardour3"
 display dialog "You do not appear to have JACK installed.\nPlease install it before running Ardour" buttons["OK"]
 end tell'
     exit 1
index c7b9b5acf82cb4cf555ad51642a8c62a5e5d150d..74822835212f28393e4599d9731d99f4f1cd0e0c 100644 (file)
@@ -21,4 +21,4 @@ fi
 # in folders likes /home/user/Frank's Wild Years
 
 CWD="`/usr/bin/dirname \"$0\"`"
-exec "$CWD/Ardour2.bin" "$*"
+exec "$CWD/Ardour3.bin" "$*"
index cc21cde05bf752caa7b4e5c5f7e0f02255015c94..39d9bdfaceb2e6b4470b06ed2ec8e0f00bb1973a 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh      
 export ARDOUR_PATH=../gtk2_ardour/icons:../gtk2_ardour/pixmaps:../gtk2_ardour
 export LD_LIBRARY_PATH=../gtk2_ardour:../libs/surfaces/control_protocol:../libs/ardour:../libs/midi++2:../libs/pbd:../libs/soundtouch:../libs/gtkmm2ext:../libs/sigc++2:../libs/glibmm2:../libs/gtkmm2/atk:../libs/gtkmm2/pango:../libs/gtkmm2/gdk:../libs/gtkmm2/gtk:../libs/libgnomecanvasmm:../libs/libsndfile:../libs/appleutility:../libs/rubberband:../libs/vamp-sdk:$LD_LIBRARY_PATH
-export GTK_PATH=$PWD/../libs/clearlooks:~/.ardour2
+export GTK_PATH=$PWD/../libs/clearlooks:~/.ardour3
 exec wine ./ardour_vst.exe.so "$@"
index 2accc5cfb99f1f458448a076679d137a2fa8bb41..082be1c2fee6dbdabaf97796a66e9feda55292a5 100644 (file)
@@ -4,7 +4,7 @@
 # but somehow scons puts leading /'s on INSTALL_PREFIX and that causes
 # wine to be unable to find the .exe.so file
 
-export GTK_PATH=%PREFIX%/lib/ardour2:$GTK_PATH
+export GTK_PATH=%PREFIX%/lib/ardour3:$GTK_PATH
 
-LD_LIBRARY_PATH=%PREFIX%/lib/ardour2:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour2/ardour_vst.exe.so "$@"
+LD_LIBRARY_PATH=%PREFIX%/lib/ardour3:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour3/ardour_vst.exe.so "$@"