Fix i18n.
[ardour.git] / gtk2_ardour / wscript
1 #!/usr/bin/env python
2 from waflib.extras import autowaf as autowaf
3 from waflib import Options, TaskGen
4 import waflib.Logs as Logs, waflib.Utils as Utils
5 import os
6 import sys
7 import re
8 import time
9 from waflib.Task import Task
10
11 # Version of this package (even if built as a child)
12 MAJOR = '3'
13 MINOR = '0'
14 MICRO = '0'
15 GTK2_ARDOUR_VERSION = "%s.%s.%s" % (MAJOR, MINOR, MICRO)
16
17 # Variables for 'waf dist'
18 APPNAME = 'gtk2_ardour'
19 VERSION = GTK2_ARDOUR_VERSION
20
21 # Mandatory variables
22 top = '.'
23 out = 'build'
24
25 path_prefix = 'gtk2_ardour/'
26
27 gtk2_ardour_sources = [
28         'about.cc',
29         'actions.cc',
30         'add_midi_cc_track_dialog.cc',
31         'add_route_dialog.cc',
32         'ambiguous_file_dialog.cc',
33         'analysis_window.cc',
34         'ardour_button.cc',
35         'ardour_dialog.cc',
36         'ardour_ui.cc',
37         'ardour_ui2.cc',
38         'ardour_ui_dependents.cc',
39         'ardour_ui_dialogs.cc',
40         'ardour_ui_ed.cc',
41         'ardour_ui_mixer.cc',
42         'ardour_ui_options.cc',
43         'audio_clock.cc',
44         'audio_region_editor.cc',
45         'audio_region_view.cc',
46         'audio_streamview.cc',
47         'audio_time_axis.cc',
48         'automation_controller.cc',
49         'automation_line.cc',
50         'automation_region_view.cc',
51         'automation_streamview.cc',
52         'automation_time_axis.cc',
53         'axis_view.cc',
54         'bundle_manager.cc',
55         'cairo_widget.cc',
56         'canvas-flag.cc',
57         'canvas-hit.cc',
58         'canvas-note-event.cc',
59         'canvas-note.cc',
60         'canvas_patch_change.cc',
61         'canvas-simpleline.c',
62         'canvas-simplerect.c',
63         'canvas-sysex.cc',
64         'canvas-waveview.c',
65         'clock_group.cc',
66         'configinfo.cc',
67         'control_point.cc',
68         'control_point_dialog.cc',
69         'crossfade_edit.cc',
70         'crossfade_view.cc',
71         'curvetest.cc',
72         'debug.cc',
73         'diamond.cc',
74         'edit_note_dialog.cc',
75         'editing.cc',
76         'editor.cc',
77         'editor_actions.cc',
78         'editor_audio_import.cc',
79         'editor_audiotrack.cc',
80         'editor_canvas.cc',
81         'editor_canvas_events.cc',
82         'editor_component.cc',
83         'editor_cursors.cc',
84         'editor_drag.cc',
85         'editor_route_groups.cc',
86         'editor_export_audio.cc',
87         'editor_group_tabs.cc',
88         'editor_keys.cc',
89         'editor_locations.cc',
90         'editor_markers.cc',
91         'editor_mixer.cc',
92         'editor_mouse.cc',
93         'editor_nudge.cc',
94         'editor_ops.cc',
95         'editor_regions.cc',
96         'editor_routes.cc',
97         'editor_rulers.cc',
98         'editor_scrub.cc',
99         'editor_selection.cc',
100         'editor_snapshots.cc',
101         'editor_summary.cc',
102         'editor_tempodisplay.cc',
103         'editor_timefx.cc',
104         'engine_dialog.cc',
105         'enums.cc',
106         'export_channel_selector.cc',
107         'export_dialog.cc',
108         'export_file_notebook.cc',
109         'export_filename_selector.cc',
110         'export_format_dialog.cc',
111         'export_format_selector.cc',
112         'export_preset_selector.cc',
113         'export_timespan_selector.cc',
114         'fft.cc',
115         'fft_graph.cc',
116         'fft_result.cc',
117         'gain_meter.cc',
118         'generic_pluginui.cc',
119         'ghostregion.cc',
120         'global_port_matrix.cc',
121         'group_tabs.cc',
122         'gtk-custom-hruler.c',
123         'gtk-custom-ruler.c',
124         'gtk_pianokeyboard.c',
125         'gui_object.cc',
126         'insert_time_dialog.cc',
127         'interthread_progress_window.cc',
128         'io_selector.cc',
129         'keyboard.cc',
130         'keyeditor.cc',
131         'latency_gui.cc',
132         'led.cc',
133         'level_meter.cc',
134         'lineset.cc',
135         'location_ui.cc',
136         'main.cc',
137         'marker.cc',
138         'midi_automation_line.cc',
139         'midi_channel_dialog.cc',
140         'midi_channel_selector.cc',
141         'midi_cut_buffer.cc',
142         'midi_list_editor.cc',
143         'midi_port_dialog.cc',
144         'midi_region_view.cc',
145         'midi_scroomer.cc',
146         'midi_streamview.cc',
147         'midi_time_axis.cc',
148         'midi_tracer.cc',
149         'missing_file_dialog.cc',
150         'missing_plugin_dialog.cc',
151         'mixer_actor.cc',
152         'mixer_group_tabs.cc',
153         'mixer_strip.cc',
154         'mixer_ui.cc',
155         'monitor_section.cc',
156         'mono_panner.cc',
157         'mouse_cursors.cc',
158         'nag.cc',
159         'new_plugin_preset_dialog.cc',
160         'normalize_dialog.cc',
161         'note_player.cc',
162         'option_editor.cc',
163         'opts.cc',
164         'panner2d.cc',
165         'panner_ui.cc',
166         'piano_roll_header.cc',
167         'playlist_selector.cc',
168         'plugin_eq_gui.cc',
169         'plugin_selector.cc',
170         'plugin_ui.cc',
171         'port_group.cc',
172         'port_insert_ui.cc',
173         'port_matrix.cc',
174         'port_matrix_body.cc',
175         'port_matrix_column_labels.cc',
176         'port_matrix_component.cc',
177         'port_matrix_grid.cc',
178         'port_matrix_labels.cc',
179         'port_matrix_row_labels.cc',
180         'processor_box.cc',
181         'patch_change_dialog.cc',
182         'progress_reporter.cc',
183         'prompter.cc',
184         'public_editor.cc',
185         'quantize_dialog.cc',
186         'rc_option_editor.cc',
187         'region_editor.cc',
188         'region_gain_line.cc',
189         'region_layering_order_editor.cc',
190         'region_selection.cc',
191         'region_view.cc',
192         'return_ui.cc',
193         'rhythm_ferret.cc',
194         'route_group_dialog.cc',
195         'route_group_menu.cc',
196         'route_params_ui.cc',
197         'route_processor_selection.cc',
198         'route_time_axis.cc',
199         'route_ui.cc',
200         'search_path_option.cc',
201         'selection.cc',
202         'send_ui.cc',
203         'session_import_dialog.cc',
204         'session_metadata_dialog.cc',
205         'session_option_editor.cc',
206         'sfdb_ui.cc',
207         'shuttle_control.cc',
208         'simpleline.cc',
209         'simplerect.cc',
210         'splash.cc',
211         'speaker_dialog.cc',
212         'startup.cc',
213         'step_editor.cc',
214         'step_entry.cc',
215         'stereo_panner.cc',
216         'streamview.cc',
217         'strip_silence_dialog.cc',
218         'tape_region_view.cc',
219         'tempo_dialog.cc',
220         'tempo_lines.cc',
221         'theme_manager.cc',
222         'time_axis_view.cc',
223         'time_axis_view_item.cc',
224         'time_fx_dialog.cc',
225         'time_info_box.cc',
226         'time_selection.cc',
227         'track_selection.cc',
228         'track_view_list.cc',
229         'transpose_dialog.cc',
230         'ui_config.cc',
231         'utils.cc',
232         'verbose_cursor.cc',
233         'version.cc',
234         'visibility_group.cc',
235         'volume_controller.cc',
236         'waveview.cc',
237         'window_proxy.cc'
238 ]
239
240 def options(opt):
241     autowaf.set_options(opt)
242
243 def configure(conf):
244     conf.load('misc')
245     conf.load('compiler_cxx')
246     autowaf.build_version_files(
247         path_prefix + 'version.h',
248         path_prefix + 'version.cc',
249         'gtk2_ardour', MAJOR, MINOR, MICRO)
250     autowaf.configure(conf)
251
252     if re.search ("linux", sys.platform) != None:
253         autowaf.check_pkg(conf, 'alsa', uselib_store='ALSA')
254
255     # TODO: Insert a sanity check for on OS X to ensure CoreAudio is present
256
257     autowaf.check_pkg(conf, 'flac', uselib_store='FLAC',
258                       atleast_version='1.2.1')
259     autowaf.check_pkg(conf, 'gthread-2.0', uselib_store='GTHREAD',
260                       atleast_version='2.10.1')
261     autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK',
262                       atleast_version='2.18')
263     autowaf.check_pkg(conf, 'gtkmm-2.4', uselib_store='GTKMM',
264                       atleast_version='2.18')
265     autowaf.check_pkg(conf, 'libgnomecanvas-2.0',
266                       uselib_store='GNOMECANVAS', atleast_version='2.30')
267     autowaf.check_pkg(conf, 'libgnomecanvasmm-2.6',
268                       uselib_store='GNOMECANVASMM', atleast_version='2.16')
269     autowaf.check_pkg(conf, 'ogg', uselib_store='OGG', atleast_version='1.1.2')
270
271     conf.write_config_header('gtk2ardour-config.h', remove=False)
272
273     # Boost headers
274     autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp')
275     autowaf.check_header(conf, 'cxx', 'boost/weak_ptr.hpp')
276
277 # Add a waf `feature' to allow compilation of things using winegcc
278 from waflib.TaskGen import feature
279 @feature("wine")
280 def set_winegcc(self):
281     self.env.LINK_CXX = self.env.LINK_CC = 'wineg++'
282     self.env.CC = 'winegcc'
283
284 def _doPyp(infileName, deps = False):
285     outStr = ''
286     out = []
287     re_spaces = re.compile("\s+")
288
289     if infileName == '-':
290         fd = sys.stdin
291     else:
292         fd = open(infileName)
293     inLines = fd.readlines()
294     if fd != sys.stdin:
295         fd.close()
296         
297
298     for line in inLines:
299         bits = re_spaces.split(line)
300         if bits[0] == '##include':
301             incName = bits[1]
302             if (deps):
303                 out += [ incName ]
304             else:
305                 # assume included file comes from same place as source file
306                 incName = os.path.join (os.path.dirname (infileName), incName);
307                 outStr += _doPyp(incName)
308         else:
309             if not deps:
310                 outStr += line
311
312     # done
313     if deps:
314         return out
315     else:
316         return outStr
317
318 def include_processor(task):
319     infileName = task.inputs[0].srcpath()
320     outfileName = os.path.join(out, task.outputs[0].bldpath())
321     fdOut = open (outfileName, "w")
322     fdOut.write (_doPyp(infileName))
323     fdOut.close ()
324
325
326 def build_color_scheme(path, prefix):
327     f = open (path, 'r')
328     color_scheme = ''
329     for line in f:
330         if re.search ('^#@color', line):
331             line.strip() # remove newline
332             words = line.split()
333             if len(color_scheme):
334                 color_scheme += ';'
335             color_scheme += prefix
336             color_scheme += '_'
337             color_scheme += words[1]
338             color_scheme += ':'
339             color_scheme += words[2]
340     f.close()
341     return color_scheme
342
343 def build(bld):
344     # GTK front-end; if we're using VST we build this as a shared library,
345     # otherwise it's a normal executabale
346     if bld.is_defined('VST_SUPPORT'):
347         obj = bld(features = 'cxx c cxxshlib')
348     else:
349         obj = bld(features = 'cxx c cxxprogram')
350
351     obj.includes     = ['.']
352     obj.source       = gtk2_ardour_sources
353     obj.name         = 'gtk2_ardour'
354     obj.linkflags    = []
355     if bld.is_defined('VST_SUPPORT'):
356         obj.target = 'gtk2_ardour'
357         obj.includes += ['../libs/fst']
358     else:
359         obj.target = 'ardour-3.0'
360     obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
361     obj.uselib       = 'UUID FLAC GLIBMM GTHREAD GTK OGG ALSA CURL DL'
362     obj.uselib       += ' GTKMM GNOMECANVASMM GNOMECANVAS '
363     obj.uselib       += ' AUDIOUNITS OSX GTKOSX '
364     obj.use          = [ 'libpbd',
365                          'libmidipp',
366                          'libtaglib',
367                          'libardour',
368                          'libardour_cp',
369                          'libgtkmm2ext',
370                          'libtaglib' ]
371     if sys.platform == 'darwin':
372         obj.use += ' libappleutility'
373     obj.defines     = [
374         'PACKAGE="gtk2_ardour"',
375         'VERSIONSTRING="' + bld.env['VERSION'] + '"',
376         'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
377         'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
378         'MODULE_DIR="' + os.path.normpath(bld.env['LIBDIR']) + '"',
379         'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']),
380                                      'locale') + '"',
381         'PROGRAM_NAME="' + bld.env['PROGRAM_NAME'] + '"'
382         ]
383     obj.includes += ['../libs']
384
385     if bld.is_defined('HAVE_SUIL'):
386         obj.source += [ 'lv2_plugin_ui.cc' ]
387         obj.uselib += ' SUIL '
388
389     if bld.is_defined('FREESOUND'):
390         obj.source +=  [ 'sfdb_freesound_mootcher.cc' ]
391
392     if bld.is_defined('VST_SUPPORT'):
393         obj.source += [ 'vst_pluginui.cc' ]
394         obj.defines += [ 'VST_SUPPORT' ]
395         bld.env.append ('LINKFLAGS', '-lX11')
396
397     if bld.is_defined('LXVST_SUPPORT'):
398         obj.source += [ 'lxvst_pluginui.cc' ]
399         obj.defines += [ 'LXVST_SUPPORT' ]
400         obj.linkflags += [ '-lX11' ]
401
402     if bld.is_defined('PHONE_HOME'):
403         obj.defines += [ 'PHONE_HOME' ]
404
405     if bld.is_defined('HAVE_COREAUDIO'):
406         TaskGen.task_gen.mappings['.mm'] = TaskGen.task_gen.mappings['.cc']
407         obj.source += [ 'cocoacarbon.mm', 'au_pluginui.mm' ]
408         obj.use += ' libappleutility '
409
410     if bld.is_defined('VST_SUPPORT'):
411         # If we require VST support we build a stub main() and the FST library
412         # here using winegcc, and link it to the GTK front-end library
413         obj = bld(features = 'cxx c cxxprogram wine')
414         obj.source = '''
415                 ../libs/fst/fst.c
416                 ../libs/fst/fstinfofile.c
417                 ../libs/fst/vsti.c
418                 ../libs/fst/vstwin.c
419                 ../vst/winmain.c
420         '''
421         obj.includes = '../libs/fst'
422         obj.target = 'ardour-3.0-vst'
423         obj.linkflags += ['-mwindows', '-Wl,--export-dynamic', '-lpthread']
424         obj.defines = ['_POSIX_SOURCE', 'USE_WS_PREFIX']
425         obj.uselib = 'ALSA'
426         obj.use = ['libpbd','libmidipp','libtaglib','libardour',
427                             'libardour_cp','libgtkmm2ext','libtaglib',
428                             'gtk2_ardour']
429
430     # Wrappers
431
432     wrapper_subst_dict = {
433             'INSTALL_PREFIX' : bld.env['PREFIX'],
434             'LIBDIR'         : os.path.normpath(bld.env['LIBDIR']),
435             'LIBS'           : 'build/libs',
436             'VERSION'        : '3.0',
437             'EXECUTABLE'     : 'build/gtk2_ardour/ardour-3.0'
438     }
439
440     def set_subst_dict(obj, dict):
441         for i in dict:
442             setattr(obj, i, dict[i])
443
444     obj              = bld(features = 'subst', rule= 'chmod 0755 ${TGT}')
445     obj.source       = 'ardev_common.sh.in'
446     obj.target       = 'ardev_common_waf.sh'
447     obj.chmod        = Utils.O755
448     obj.dict         = wrapper_subst_dict
449     set_subst_dict(obj, wrapper_subst_dict)
450
451     obj              = bld(features = 'subst')
452     obj.source       = 'ardour.sh.in'
453     obj.target       = 'ardour3'
454     obj.chmod        = Utils.O755
455     obj.dict         = wrapper_subst_dict
456     obj.install_path = bld.env['BINDIR']
457     set_subst_dict(obj, wrapper_subst_dict)
458
459     # Font configuration
460
461     dark_rc_subst_dict = {}
462     light_rc_subst_dict = {}
463     font_sizes      = {}
464     base_font       = ""
465
466     # Set up font sizes
467     if bld.is_defined('GTKOSX'): # OS X fonts
468         basefont = "Lucida Grande"
469         font_sizes = {
470                 'TINY' : '7',
471                 'SMALLER' : '9',
472                 'SMALL' : '10',
473                 'NORMAL' : '11',
474                 'BIG' : '12',
475                 'BIGGER' : '14',
476                 'LARGE' : '18',
477                 'LARGER' : '28',
478                 'HUGER' : '36',
479                 'MASSIVE' : '60'
480         }
481     else: # Linux/X11 fonts
482         basefont = '' # unspecified - use system defaults
483         font_sizes = {
484                 'TINY' : '6',
485                 'SMALLER' : '8',
486                 'SMALL' : '9',
487                 'NORMAL' : '10',
488                 'BIG' : '14',
489                 'BIGGER' : '16',
490                 'LARGE' : '18',
491                 'LARGER' : '24',
492                 'HUGER' : '34',
493                 'MASSIVE' : '60'
494         }
495
496     # Set up font substitution dictionary
497     # @FONT_XXXX@
498     for style in ['', 'BOLD', 'ITALIC']:
499         for sizename,points in iter(font_sizes.items()):
500             if (len (style)):
501                 key = "_".join (['FONT',style,sizename])
502                 fontstyle = " ".join ([basefont,style.lower(),points])
503             else:
504                 key = "_".join (['FONT',sizename])
505                 fontstyle = " ".join ([basefont,points])
506
507             dark_rc_subst_dict[key] = fontstyle
508             light_rc_subst_dict[key] = fontstyle
509
510     # @FONT_SIZE_XXXX@
511     for sizename,points in iter(font_sizes.items()):
512             key = "_".join (['FONT_SIZE',sizename])
513             dark_rc_subst_dict[key] = points
514             light_rc_subst_dict[key] = points
515
516     # RC files
517     dark_rc_subst_dict['COLOR_SCHEME'] = build_color_scheme(
518         'gtk2_ardour/ardour3_ui_dark.rc.in', 'ARDOUR_DARK')
519     dark_rc_subst_dict['COLPREFIX'] = 'ARDOUR_DARK'
520     light_rc_subst_dict['COLOR_SCHEME'] = build_color_scheme(
521         'gtk2_ardour/ardour3_ui_light.rc.in', 'ARDOUR_LIGHT')
522     light_rc_subst_dict['COLPREFIX'] = 'ARDOUR_LIGHT'
523
524     obj              = bld(features = 'subst')
525     obj.source       = [ 'ardour3_ui_dark.rc.in' ]
526     obj.target       = 'ardour3_ui_dark.rc.pre'
527     obj.install_path = None
528     set_subst_dict(obj, dark_rc_subst_dict)
529
530     obj              = bld(features = 'subst')
531     obj.source       = [ 'ardour3_ui_light.rc.in' ]
532     obj.target       = 'ardour3_ui_light.rc.pre'
533     obj.install_path = None
534     set_subst_dict(obj, light_rc_subst_dict)
535
536     obj              = bld(features = 'subst')
537     obj.source       = [ 'ardour3_styles.rc.in' ]
538     obj.target       = 'ardour3_dark_styles.rc'
539     obj.install_path = None
540     set_subst_dict(obj, dark_rc_subst_dict)
541
542     obj              = bld(features = 'subst')
543     obj.source       = [ 'ardour3_styles.rc.in' ]
544     obj.target       = 'ardour3_light_styles.rc'
545     obj.install_path = None
546     set_subst_dict(obj, light_rc_subst_dict)
547
548     obj              = bld(features = 'subst')
549     obj.source       = [ 'ardour3_fonts.rc.in' ]
550     obj.target       = 'ardour3_dark_fonts.rc'
551     obj.install_path = None
552     set_subst_dict(obj, dark_rc_subst_dict)
553
554     obj              = bld(features = 'subst')
555     obj.source       = [ 'ardour3_fonts.rc.in' ]
556     obj.target       = 'ardour3_light_fonts.rc'
557     obj.install_path = None
558     set_subst_dict(obj, light_rc_subst_dict)
559
560     obj              = bld(rule = 'cp ${SRC} ${TGT}')
561     obj.source       = [ 'ardour3_widget_list.rc' ]
562     obj.target       = 'ardour3_widgets.rc'
563     obj.install_path = None
564
565     obj = bld (rule = include_processor)
566     obj.source = [ 'ardour3_ui_dark.rc.pre' ]
567     # find and add all ##include dependencies as sources
568     obj.source += _doPyp (bld.path.find_resource ('ardour3_ui_dark.rc.in').srcpath(), True)
569     obj.target = 'ardour3_ui_dark.rc'
570     obj.install_path = '${SYSCONFDIR}/ardour3'
571
572     obj = bld (rule = include_processor)
573     obj.source = [ 'ardour3_ui_light.rc.pre' ]
574     # find and add all ##include dependencies as sources
575     obj.source += _doPyp (bld.path.find_resource ('ardour3_ui_light.rc.in').srcpath(), True)
576     obj.target = 'ardour3_ui_light.rc'
577     obj.install_path = '${SYSCONFDIR}/ardour3'
578
579     # Menus
580     menus_argv = []
581     if bld.is_defined('GTKOSX'):
582         menus_argv = [ '-E', '-P', '-DGTKOSX' ]
583     else:
584         menus_argv = [ '-E', '-P' ]
585     obj = bld(features = 'command-output')
586     obj.command = 'cpp'
587     obj.command_is_external = True
588     obj.no_inputs = True
589     obj.argv = menus_argv
590     obj.stdin = 'ardour.menus.in'
591     obj.stdout = 'ardour.menus'
592     bld.install_files(os.path.join(bld.env['SYSCONFDIR'], 'ardour3'),
593                       'ardour.menus')
594
595     # Keybindings
596
597     # 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad',
598     # 'SAE-us-nokeypad', 'ergonomic-us'
599
600     for b in [ 'mnemonic-us' ] :
601         obj = bld(
602             target = b + '.bindings',
603             source = b + '.bindings.in',
604             rule = '../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap <${SRC} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
605             )
606         obj.install_path = os.path.join(bld.env['SYSCONFDIR'], 'ardour3')
607
608     # not modified at present
609     bld.install_files(os.path.join(bld.env['SYSCONFDIR'], 'ardour3'),
610                       'step_editing.bindings')
611
612     # Icons/Images
613     bld.install_files('${DATADIR}/ardour3/icons', bld.path.ant_glob('icons/*.png'))
614     bld.install_files('${DATADIR}/ardour3/pixmaps', bld.path.ant_glob('pixmaps/*.xpm'))
615     bld.install_files('${DATADIR}/ardour3', 'splash.png')
616
617     # Default UI configuration
618     bld.install_files('${SYSCONFDIR}/ardour3', 'ardour3_ui_default.conf')
619     # Generic widget style mappings
620     bld.install_files('${SYSCONFDIR}/ardour3', 'ardour3_widgets.rc')
621
622     # Default export stuff
623     bld.install_files('${SYSCONFDIR}/ardour3/export', bld.path.ant_glob('export/*.format'))
624
625     # i18n
626     if bld.is_defined('ENABLE_NLS'):
627         mo_files = bld.path.ant_glob('po/*.mo')
628         for mo in mo_files:
629             lang = os.path.basename(mo.srcpath()).replace('.mo', '')
630             bld.install_as(os.path.join(bld.env['PREFIX'], 'share', 'locale',
631                                         lang, 'LC_MESSAGES', APPNAME + '.mo'),
632                            mo)
633
634 def i18n(bld):
635     autowaf.build_i18n(bld, top, 'gtk2_ardour', APPNAME, gtk2_ardour_sources,
636                        'Paul Davis')