'export_format_dialog.cc',
'export_format_selector.cc',
'export_preset_selector.cc',
+ 'export_report.cc',
'export_timespan_selector.cc',
'fft.cc',
'fft_graph.cc',
'led.cc',
'level_meter.cc',
'location_ui.cc',
+ 'lua_script_manager.cc',
+ 'luainstance.cc',
+ 'luawindow.cc',
'main.cc',
'main_clock.cc',
'marker.cc',
'ruler_dialog.cc',
'save_as_dialog.cc',
'search_path_option.cc',
+ 'script_selector.cc',
'selection.cc',
'selection_memento.cc',
'send_ui.cc',
'utils.cc',
'verbose_cursor.cc',
'visibility_group.cc',
- 'volume_controller.cc',
'window_manager.cc',
# video-timeline related sources:
'video_image_frame.cc',
]
def enoify (major, minor):
+ # Code names based on
+ # https://en.wikipedia.org/wiki/Brian_Eno_discography
+ #
+ # sort Studio albums + Collaborative albums + Compilation albums by Month/Year.
+ # (no Singles, no EPs, no Video Albums, no Production)
if major == 3:
return "\\n\\\"E-No\\\""
elif major == 4:
return "\\n\\\"Another Green World\\\""
elif minor == 6:
return "\\n\\\"Evening Star\\\""
+ elif minor == 7:
+ return "\\n\\\"Cluster and Eno\\\""
+ elif minor == 8:
+ return "\\n\\\"Before and After Science\\\""
return "\\\"\\\""
def options(opt):
inLines = fd.readlines()
if fd != sys.stdin:
fd.close()
-
+
for line in inLines:
bits = re_spaces.split(line)
obj.includes = [ '../libs/fst', '.' ]
obj.name = 'libgtk2_ardour'
obj.target = 'gtk2_ardour'
+ obj.cflags = [ '-fPIC' ]
else:
# just the normal executable version of the GTK GUI
]
obj.install_path = bld.env['DLLDIR']
obj.linkflags = ''
- obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL'
- obj.uselib += ' GTKMM CANVAS FFTW3F'
- obj.uselib += ' AUDIOUNITS OSX GTKOSX LO '
- obj.uselib += ' TAGLIB '
+ obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML '
if sys.platform == 'darwin':
- obj.uselib += ' AUDIOUNITS OSX GTKOSX'
+ obj.uselib += ' AUDIOUNITS OSX '
obj.use += ' libappleutility'
obj.source += [ 'cocoacarbon.mm', 'bundle_env_cocoa.cc' ]
elif bld.env['build_target'] == 'mingw':
obj.use += [ 'SUIL' ]
if bld.is_defined('HAVE_FFTW35F') and bld.env['build_target'] != 'mingw':
- obj.linkflags += ' -lfftw3f_threads'
+ bld.env['LIB_FFTW3F'] += ['fftw3f_threads']
if bld.is_defined('NEED_INTL'):
obj.linkflags += ' -lintl'
obj.defines += [ 'WINDOWS_VST_SUPPORT' ]
if bld.env['build_target'] != 'mingw':
obj.use += [ 'X11' ]
-
+
if bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'linux_vst_gui_support.cc', 'lxvst_plugin_ui.cc' ]
obj.defines += [ 'LXVST_SUPPORT' ]
if bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT'):
obj.source += [ 'vst_plugin_ui.cc' ]
-
+
if bld.is_defined('PHONE_HOME'):
obj.defines += [ 'PHONE_HOME' ]
base_font = ""
# Set up font sizes
- if bld.is_defined('GTKOSX'): # OS X fonts
+ if sys.platform == 'darwin':
basefont = ""
font_sizes = {
'SMALLER' : '9',
'HUGER' : '36',
'MASSIVE' : '60',
}
-
+
# There is no acceptable monospace font available on older versions of OS X
- # and no API on those versions to load TTF files that will work with
+ # and no API on those versions to load TTF files that will work with
# GTK/fontconfig/pango.
#
# In addition, the ArdourMono font gets clipped for some reason on OS X
else:
key = "_".join (['FONT',sizename])
fontstyle = " ".join ([basefont,points])
-
+
font_subst_dict[key] = fontstyle
-
+
# @FONT_SIZE_XXXX@
for sizename,points in iter(font_sizes.items()):
key = "_".join (['FONT_SIZE',sizename])
# Menus
menus_argv = []
- if bld.is_defined('GTKOSX'):
- menus_argv = [ '-E', '-P', '-DGTKOSX' ]
+ if sys.platform == 'darwin':
+ menus_argv = [ '-E', '-P', '-D__APPLE__', '-' ]
else:
menus_argv = [ '-E', '-P' ]
# Keybindings
- # 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad',
- # 'SAE-us-nokeypad', 'ergonomic-us'
-
- #
+ # NATIVE ARDOUR BINDING FILES
# explicitly state the use of perl here so that it works on windows too
#
- a_rule = 'perl ../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap <${SRC} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
- for b in [ 'mnemonic-us' ] :
+ a_rule = 'perl ../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap ${SRC[0].abspath()} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
+ for b in [ 'ardour' ] :
obj = bld(
- target = b + '.bindings',
- source = b + '.bindings.in',
+ target = b + '.keys',
+ source = [ b + '.keys.in', 'mixer.bindings', 'processor_box.bindings', 'step_editing.bindings', 'monitor.bindings' ],
rule = a_rule
)
obj.install_path = bld.env['CONFDIR']
-
+
# not modified at present
bld.install_files(bld.env['CONFDIR'], 'dark.colors')
- bld.install_files(bld.env['CONFDIR'], 'step_editing.bindings')
- bld.install_files(bld.env['CONFDIR'], 'mixer.bindings')
# Icons/Images
bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
'Paul Davis')
appdata_i18n_pot(bld)
appdata_i18n_po(bld)
-
+
def i18n_pot(bld):
I18N_PACKAGE = 'gtk2_ardour' + bld.env['MAJOR']
autowaf.build_i18n_pot(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
autowaf.build_i18n_po(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,
'Paul Davis')
appdata_i18n_po(bld)
-
+
def i18n_mo(bld):
I18N_PACKAGE = 'gtk2_ardour' + bld.env['MAJOR']
autowaf.build_i18n_mo(bld, top, 'gtk2_ardour', I18N_PACKAGE, gtk2_ardour_sources,