From 87726495c30f90554b5204b5385d17274a8fe93e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 26 Apr 2007 20:54:31 +0000 Subject: [PATCH] Merged changes from trunk 1699:1751 into 2.1-staging git-svn-id: svn://localhost/ardour2/branches/2.1-staging@1752 d708f5d6-7413-0410-9779-e7cbd77b26cf --- SConstruct | 32 +- ardour.rc.in | 4 + ardour_system.rc | 17 - gtk2_ardour/SConscript | 1 + gtk2_ardour/about.cc | 2 + gtk2_ardour/actions.cc | 13 + gtk2_ardour/actions.h | 19 + gtk2_ardour/add_route_dialog.h | 19 + gtk2_ardour/ardour.menus | 2 + gtk2_ardour/ardour2_ui.rc | 1 + gtk2_ardour/ardour_ui.cc | 34 + gtk2_ardour/ardour_ui.h | 6 + gtk2_ardour/ardour_ui_dialogs.cc | 4 + gtk2_ardour/ardour_ui_ed.cc | 1 + gtk2_ardour/ardour_ui_options.cc | 10 +- gtk2_ardour/audio_streamview.cc | 16 +- gtk2_ardour/audio_streamview.h | 1 + gtk2_ardour/automation_gain_line.h | 19 + gtk2_ardour/automation_pan_line.h | 19 + gtk2_ardour/automation_selectable.h | 19 + gtk2_ardour/automation_selection.h | 19 + gtk2_ardour/automation_time_axis.cc | 19 + gtk2_ardour/automation_time_axis.h | 19 + gtk2_ardour/canvas.h | 19 + gtk2_ardour/canvas_impl.h | 19 + gtk2_ardour/color.h | 19 + gtk2_ardour/color_manager.cc | 19 + gtk2_ardour/color_manager.h | 19 + gtk2_ardour/colors.h | 19 + gtk2_ardour/crossfade_edit.h | 19 + gtk2_ardour/crossfade_xpms.h | 19 + gtk2_ardour/curvetest.cc | 19 + gtk2_ardour/draginfo.h | 19 + gtk2_ardour/editing.cc | 19 + gtk2_ardour/editing.h | 19 + gtk2_ardour/editing_syms.h | 19 + gtk2_ardour/editor.cc | 12 +- gtk2_ardour/editor.h | 3 +- gtk2_ardour/editor_actions.cc | 25 +- gtk2_ardour/editor_audiotrack.cc | 19 + gtk2_ardour/editor_enums.h | 19 + gtk2_ardour/editor_items.h | 19 + gtk2_ardour/editor_markers.cc | 2 +- gtk2_ardour/editor_mouse.cc | 63 +- gtk2_ardour/editor_ops.cc | 140 +- gtk2_ardour/editor_rulers.cc | 18 +- gtk2_ardour/editor_selection.cc | 6 +- gtk2_ardour/enums.cc | 19 + gtk2_ardour/enums.h | 19 + gtk2_ardour/export_dialog.cc | 36 +- gtk2_ardour/gain_automation_time_axis.h | 19 + gtk2_ardour/ghostregion.cc | 19 + gtk2_ardour/gui_thread.h | 19 + gtk2_ardour/i18n.h | 19 + gtk2_ardour/imageframe_p.h | 19 + gtk2_ardour/itest.cc | 19 + gtk2_ardour/logmeter.h | 19 + gtk2_ardour/mixer_strip.cc | 19 +- gtk2_ardour/mtest.cc | 19 + gtk2_ardour/new_session_dialog.cc | 7 +- gtk2_ardour/new_session_dialog.h | 1 + gtk2_ardour/pan_automation_time_axis.h | 19 + gtk2_ardour/panner.cc | 19 + gtk2_ardour/panner.h | 19 + gtk2_ardour/playlist_selection.h | 19 + gtk2_ardour/po/de_DE.po | 2325 ++++++++--------- gtk2_ardour/po/fr_FR.po | 48 +- gtk2_ardour/po/pt_PT.po | 2137 +++++++-------- gtk2_ardour/po/sv_SE.po | 4 + gtk2_ardour/point_selection.h | 19 + gtk2_ardour/public_editor.cc | 19 + gtk2_ardour/public_editor.h | 19 + gtk2_ardour/redirect_automation_time_axis.h | 19 + gtk2_ardour/redirect_box.cc | 64 +- gtk2_ardour/redirect_box.h | 2 + gtk2_ardour/redirect_selection.h | 19 + gtk2_ardour/region_gain_line.cc | 19 + gtk2_ardour/region_gain_line.h | 19 + gtk2_ardour/route_selection.h | 19 + gtk2_ardour/route_time_axis.cc | 7 + gtk2_ardour/route_time_axis.h | 2 + gtk2_ardour/route_ui.h | 2 +- gtk2_ardour/simpleline_p.h | 19 + gtk2_ardour/simplerect_p.h | 19 + gtk2_ardour/streamview.cc | 8 +- gtk2_ardour/strip_selection.h | 19 + gtk2_ardour/tempo_dialog.cc | 19 + gtk2_ardour/tempo_dialog.h | 19 + gtk2_ardour/time_axis_view.cc | 3 + gtk2_ardour/time_axis_view_item.cc | 6 +- gtk2_ardour/time_selection.h | 19 + gtk2_ardour/track_selection.h | 19 + gtk2_ardour/waveview_p.h | 19 + libs/ardour/ardour/configuration_variable.h | 19 + libs/ardour/ardour/configuration_vars.h | 21 + libs/ardour/ardour/control_protocol_manager.h | 19 + libs/ardour/ardour/export.h | 19 + libs/ardour/ardour/noise.h | 19 + libs/ardour/ardour/peak.h | 19 + libs/ardour/ardour/playlist_factory.h | 19 + libs/ardour/ardour/plugin_manager.h | 19 + libs/ardour/ardour/profile.h | 19 + libs/ardour/ardour/region_factory.h | 19 + libs/ardour/ardour/route_group_specialized.h | 19 + libs/ardour/ardour/send.h | 2 +- libs/ardour/ardour/session.h | 3 + libs/ardour/ardour/session_region.h | 19 + libs/ardour/ardour/slave.h | 1 + libs/ardour/ardour/sndfile_helpers.h | 19 + libs/ardour/ardour/source_factory.h | 19 + libs/ardour/ardour/timestamps.h | 19 + libs/ardour/audio_diskstream.cc | 11 +- libs/ardour/audio_playlist.cc | 4 +- libs/ardour/audioengine.cc | 1 + libs/ardour/automation.cc | 19 + libs/ardour/control_protocol_manager.cc | 20 + libs/ardour/crossfade.cc | 2 +- libs/ardour/enums.cc | 19 + libs/ardour/jack_slave.cc | 6 + libs/ardour/mtc_slave.cc | 2 + libs/ardour/po/el_GR.po | 876 +++---- libs/ardour/session.cc | 3 + libs/ardour/session_command.cc | 23 +- libs/ardour/session_state.cc | 31 +- libs/ardour/session_time.cc | 14 +- libs/ardour/session_transport.cc | 10 + libs/ardour/sndfile_helpers.cc | 19 + libs/gtkmm2ext/dndtreeview.cc | 19 + libs/gtkmm2ext/focus_entry.cc | 19 + libs/gtkmm2ext/gtkmm2ext/choice.h | 19 + libs/gtkmm2ext/gtkmm2ext/dndtreeview.h | 19 + libs/gtkmm2ext/gtkmm2ext/focus_entry.h | 19 + libs/gtkmm2ext/gtkmm2ext/idle_adjustment.h | 19 + libs/gtkmm2ext/gtkmm2ext/pixscroller.h | 19 + libs/gtkmm2ext/gtkmm2ext/stop_signal.h | 19 + libs/gtkmm2ext/gtkmm2ext/window_title.h | 19 + libs/gtkmm2ext/idle_adjustment.cc | 19 + libs/gtkmm2ext/stateful_button.cc | 19 + libs/gtkmm2ext/window_title.cc | 19 + libs/midi++2/midi++/types.h | 19 + libs/pbd/base_ui.cc | 19 + libs/pbd/basename.cc | 19 + libs/pbd/command.cc | 19 + libs/pbd/controllable.cc | 19 + libs/pbd/copyfile.cc | 19 + libs/pbd/error.cc | 19 + libs/pbd/id.cc | 19 + libs/pbd/pbd/base_ui.h | 19 + libs/pbd/pbd/basename.h | 19 + libs/pbd/pbd/controllable.h | 19 + libs/pbd/pbd/copyfile.h | 19 + libs/pbd/pbd/crossthread.h | 19 + libs/pbd/pbd/destructible.h | 19 + libs/pbd/pbd/failed_constructor.h | 19 + libs/pbd/pbd/forkexec.h | 19 + libs/pbd/pbd/id.h | 19 + libs/pbd/pbd/pathscanner.h | 19 + libs/pbd/pbd/pthread_utils.h | 19 + libs/pbd/pbd/rcu.h | 19 + libs/pbd/pbd/replace_all.h | 19 + libs/pbd/pbd/shiva.h | 19 + libs/pbd/pbd/shortpath.h | 19 + libs/pbd/pbd/stacktrace.h | 19 + libs/pbd/pbd/statefuldestructible.h | 19 + libs/pbd/pbd/strsplit.h | 19 + libs/pbd/pbd/tokenizer.h | 19 + libs/pbd/pbd/whitespace.h | 19 + libs/pbd/shortpath.cc | 19 + libs/pbd/stacktrace.cc | 19 + libs/pbd/strreplace.cc | 19 + libs/pbd/strsplit.cc | 19 + libs/pbd/whitespace.cc | 19 + libs/surfaces/mackie/bcf_surface.cc | 78 +- .../mackie/mackie_control_protocol.cc | 81 +- .../surfaces/mackie/mackie_control_protocol.h | 22 +- libs/surfaces/mackie/scripts/bcf-controls.csv | 24 +- manual/xml/mackie.xml | 19 +- svn_revision.h | 2 +- tools/ARDOUR/AutomationSRConverter.pm | 61 + tools/ARDOUR/SessionSRHandler.pm | 120 + tools/resample_session.pl | 201 ++ tools/session_exchange.py | 27 +- 182 files changed, 5678 insertions(+), 3275 deletions(-) delete mode 100644 ardour_system.rc create mode 100644 tools/ARDOUR/AutomationSRConverter.pm create mode 100644 tools/ARDOUR/SessionSRHandler.pm create mode 100755 tools/resample_session.pl diff --git a/SConstruct b/SConstruct index d53cf624ad..8b3f16a04a 100644 --- a/SConstruct +++ b/SConstruct @@ -16,7 +16,7 @@ import SCons.Node.FS SConsignFile() EnsureSConsVersion(0, 96) -ardour_version = '2.0rc1' +ardour_version = '2.0rc2' subst_dict = { } @@ -382,14 +382,22 @@ env.Append (BUILDERS = {'Tarball' : tarball_bld}) # if env['VST']: - sys.stdout.write ("Are you building Ardour for personal use (rather than distribution to others)? [no]: ") - answer = sys.stdin.readline () - answer = answer.rstrip().strip() - if answer != "yes" and answer != "y": - print 'You cannot build Ardour with VST support for distribution to others.\nIt is a violation of several different licenses. Build with VST=false.' - sys.exit (-1); + if os.path.isfile('.personal_use_only'): + print "Enabling VST support. Note that distributing a VST-enabled ardour\nis a violation of several different licences.\nBuild with VST=false if you intend to distribute ardour to others." else: - print "OK, VST support will be enabled" + sys.stdout.write ("Are you building Ardour for personal use (rather than distribution to others)? [no]: ") + answer = sys.stdin.readline () + answer = answer.rstrip().strip() + if answer == "yes" or answer == "y": + fh = open('.personal_use_only', 'w') + fh.close() + print "OK, VST support will be enabled" + else: + print 'You cannot build Ardour with VST support for distribution to others.\nIt is a violation of several different licenses. Build with VST=false.' + sys.exit (-1); +else: + if os.path.isfile('.personal_use_only'): + os.remove('.personal_use_only') ####################### @@ -1084,7 +1092,13 @@ if not conf.CheckFunc('posix_memalign'): env = conf.Finish() +# generate the per-user and system rc files from the same source + rcbuild = env.SubstInFile ('ardour.rc','ardour.rc.in', SUBST_DICT = subst_dict) +sysrcbuild = env.SubstInFile ('ardour_system.rc','ardour.rc.in', SUBST_DICT = subst_dict) + +# add to the substitution dictionary + subst_dict['%VERSION%'] = ardour_version[0:3] subst_dict['%EXTRA_VERSION%'] = ardour_version[3:] subst_dict['%REVISION_STRING%'] = '' @@ -1100,6 +1114,7 @@ env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour2'), 'ardour env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour2'), 'ardour.rc')) Default (rcbuild) +Default (sysrcbuild) # source tarball @@ -1109,7 +1124,6 @@ env.Distribute (env['DISTTREE'], [ 'SConstruct', 'svn_revision.h', 'COPYING', 'PACKAGER_README', 'README', 'ardour.rc.in', - 'ardour_system.rc', 'tools/config.guess', 'icons/icon/ardour_icon_mac_mask.png', 'icons/icon/ardour_icon_mac.png', diff --git a/ardour.rc.in b/ardour.rc.in index 44738f8062..79ef80799b 100644 --- a/ardour.rc.in +++ b/ardour.rc.in @@ -32,9 +32,13 @@