X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwscript;h=5207608bbde44bd874d0d2e1994e63ea19e9ebfd;hb=2eab969654eca2ef4b222790c8b730a6eb709565;hp=476cd468a6ba36d8330a06c7921bc75f9d9905cf;hpb=ccde188f3b560730d14933af5caa11b413c2e623;p=dcpomatic.git diff --git a/src/wx/wscript b/src/wx/wscript index 476cd468a..5207608bb 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2015 Carl Hetherington +# Copyright (C) 2012-2018 Carl Hetherington # # This file is part of DCP-o-matic. # @@ -31,7 +31,12 @@ sources = """ audio_mapping_view.cc audio_panel.cc audio_plot.cc + barco_alchemy_certificate_panel.cc batch_job_view.cc + subtitle_appearance_dialog.cc + text_panel.cc + text_view.cc + christie_certificate_panel.cc cinema_dialog.cc colour_conversion_editor.cc config_dialog.cc @@ -42,10 +47,13 @@ sources = """ content_panel.cc content_properties_dialog.cc content_sub_panel.cc + controls.cc + closed_captions_dialog.cc dcp_panel.cc email_dialog.cc image_sequence_dialog.cc isdcf_metadata_dialog.cc + dcp_text_track_dialog.cc dir_picker_ctrl.cc dolby_doremi_certificate_panel.cc download_certificate_dialog.cc @@ -57,20 +65,26 @@ sources = """ film_viewer.cc filter_dialog.cc filter_editor.cc + focus_manager.cc fonts_dialog.cc font_files_dialog.cc full_config_dialog.cc gain_calculator_dialog.cc + gdc_certificate_panel.cc hints_dialog.cc + initial_setup_dialog.cc job_view.cc job_view_dialog.cc job_manager_view.cc + kdm_advanced_dialog.cc kdm_cpl_panel.cc kdm_dialog.cc kdm_output_panel.cc kdm_timing_panel.cc key_dialog.cc make_chain_dialog.cc + message_dialog.cc + monitor_dialog.cc move_to_dialog.cc nag_dialog.cc name_format_editor.cc @@ -93,9 +107,6 @@ sources = """ self_dkdm_dialog.cc server_dialog.cc servers_list_dialog.cc - subtitle_appearance_dialog.cc - subtitle_panel.cc - subtitle_view.cc system_font_dialog.cc table_dialog.cc templates_dialog.cc @@ -107,7 +118,7 @@ sources = """ timeline_dialog.cc timeline_audio_content_view.cc timeline_labels_view.cc - timeline_subtitle_content_view.cc + timeline_text_content_view.cc timeline_reels_view.cc timeline_time_axis_view.cc timeline_video_content_view.cc @@ -124,21 +135,30 @@ sources = """ def configure(conf): try: - wx_config = 'wx-config-3.0-gtk2' - conf.check_cfg(msg='Checking for wxWidgets using wx-config-3.0-gtk2', + wx_config = '/usr/lib64/wx/config/gtk2-unicode-3.0' + conf.check_cfg(msg='Checking for wxWidgets using gtk2-unicode-3.0', package='', path=wx_config, args='--cppflags --cxxflags --libs std,richtext', uselib_store='WXWIDGETS', mandatory=True) except: - wx_config = 'wx-config' - conf.check_cfg(msg='Checking for wxWidgets using wx-config', - package='', - path=wx_config, - args='--cppflags --cxxflags --libs std,richtext', - uselib_store='WXWIDGETS', - mandatory=True) + try: + wx_config = 'wx-config-3.0-gtk2' + conf.check_cfg(msg='Checking for wxWidgets using wx-config-3.0-gtk2', + package='', + path=wx_config, + args='--cppflags --cxxflags --libs std,richtext', + uselib_store='WXWIDGETS', + mandatory=True) + except: + wx_config = 'wx-config' + conf.check_cfg(msg='Checking for wxWidgets using wx-config', + package='', + path=wx_config, + args='--cppflags --cxxflags --libs std,richtext', + uselib_store='WXWIDGETS', + mandatory=True) if conf.options.static_wxwidgets: # wx-config returns its static libraries as full paths, without -l prefixes, which confuses @@ -160,7 +180,7 @@ def configure(conf): conf.env.STLIBPATH_WXWIDGETS = stlib_paths conf.in_msg = 1 - wx_version = conf.check_cfg(package='', path=wx_config, args='--version').strip() + wx_version = conf.check_cfg(package='wxwidgets', path=wx_config, args='--version').strip() conf.im_msg = 0 if not wx_version.startswith('3.0.'): conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)