'ghostregion.cc',
'global_port_matrix.cc',
'group_tabs.cc',
- 'gtk-custom-hruler.c',
- 'gtk-custom-ruler.c',
'gtk_pianokeyboard.c',
'gui_object.cc',
'insert_time_dialog.cc',
'route_processor_selection.cc',
'route_time_axis.cc',
'route_ui.cc',
+ 'ruler_dialog.cc',
'search_path_option.cc',
'selection.cc',
'send_ui.cc',
'session_option_editor.cc',
'sfdb_ui.cc',
'shuttle_control.cc',
+ 'soundcloud_export_selector.cc',
'splash.cc',
'speaker_dialog.cc',
'startup.cc',
'', '')
autowaf.configure(conf)
- if Options.options.dist_target == 'auto':
- if re.search ("linux", sys.platform) != None:
- autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
-
# TODO: Insert a sanity check for on OS X to ensure CoreAudio is present
autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F',
obj.uselib += ' AUDIOUNITS OSX GTKOSX'
obj.use += ' libappleutility'
obj.source += [ 'cocoacarbon.mm', 'bundle_env_cocoa.cc' ]
- elif sys.platform == 'mingw':
+ elif bld.env['build_target'] == 'mingw':
obj.source += [ 'bundle_env_mingw.cc' ]
else:
obj.source += [ 'bundle_env_linux.cc' ]
'INSTALL_PREFIX' : bld.env['PREFIX'],
'LIBDIR' : os.path.normpath(bld.env['DLLDIR']),
'DATADIR' : os.path.normpath(bld.env['DATADIR']),
- 'SYSCONFDIR' : os.path.normpath(bld.env['CONFDIR']),
+ 'CONFDIR' : os.path.normpath(bld.env['CONFDIR']),
'LIBS' : 'build/libs',
'VERSION' : bld.env['VERSION'],
'EXECUTABLE' : 'build/gtk2_ardour/ardour-' + bld.env['VERSION']
dark_rc_subst_dict = {}
light_rc_subst_dict = {}
+ ui_conf_dict = {}
font_sizes = {}
base_font = ""
dark_rc_subst_dict[key] = fontstyle
light_rc_subst_dict[key] = fontstyle
-
+ ui_conf_dict[key] = points
+
# @FONT_SIZE_XXXX@
for sizename,points in iter(font_sizes.items()):
key = "_".join (['FONT_SIZE',sizename])
dark_rc_subst_dict[key] = points
light_rc_subst_dict[key] = points
+ ui_conf_dict[key] = points
# various font names, eg @BOLD_MONOSPACE@
for font_sym,text in iter(font_names.items()):
key = font_sym
dark_rc_subst_dict[key] = text
light_rc_subst_dict[key] = text
+ ui_conf_dict[key] = text
# RC files
dark_rc_subst_dict['COLOR_SCHEME'] = build_color_scheme(
obj.target = 'ardour3_ui_light.rc'
obj.install_path = bld.env['CONFDIR']
+ obj = bld(features = 'subst')
+ obj.source = [ 'ardour3_ui_default.conf.in' ]
+ obj.target = 'ardour3_ui_default.conf'
+ obj.install_path = None
+ set_subst_dict(obj, ui_conf_dict)
+
# Menus
menus_argv = []
if bld.is_defined('GTKOSX'):