X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=wscript;h=ae3f84ccec6d0026653f386372f9321dcfaa8cdd;hb=7278bc78ef3adec819e6b811dd02b8883769cfbb;hp=6b55dbdad09f5aabde6ef3dfaf8f23fcf2145175;hpb=f90d74f7a0382f0dc63eef81bd553d7a7b38edb2;p=dcpomatic.git diff --git a/wscript b/wscript index 6b55dbdad..ae3f84cce 100644 --- a/wscript +++ b/wscript @@ -5,7 +5,7 @@ import distutils import distutils.spawn APPNAME = 'dcpomatic' -VERSION = '2.0.14devel' +VERSION = '2.0.33' def options(opt): opt.load('compiler_cxx') @@ -61,9 +61,9 @@ def dynamic_openjpeg(conf): conf.check_cfg(package='libopenjpeg', args='--cflags --libs', max_version='1.5.2', mandatory=True) def static_sub(conf): - conf.check_cfg(package='libsub', atleast_version='0.01.0', args='--cflags', uselib_store='SUB', mandatory=True) + conf.check_cfg(package='libsub-1.0', atleast_version='1.0.0', args='--cflags', uselib_store='SUB', mandatory=True) conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB] - conf.env.STLIB_SUB = ['sub'] + conf.env.STLIB_SUB = ['sub-1.0'] def static_dcp(conf, static_boost, static_xmlpp, static_xmlsec, static_ssh): conf.check_cfg(package='libdcp-1.0', atleast_version='1.0', args='--cflags', uselib_store='DCP', mandatory=True) @@ -96,7 +96,7 @@ def dynamic_dcp(conf): conf.env.DEFINES_DCP = [f.replace('\\', '') for f in conf.env.DEFINES_DCP] def dynamic_sub(conf): - conf.check_cfg(package='libsub', atleast_version='0.01.0', args='--cflags --libs', uselib_store='SUB', mandatory=True) + conf.check_cfg(package='libsub-1.0', atleast_version='1.0.0', args='--cflags --libs', uselib_store='SUB', mandatory=True) conf.env.DEFINES_SUB = [f.replace('\\', '') for f in conf.env.DEFINES_SUB] def dynamic_ssh(conf): @@ -158,17 +158,6 @@ def static_boost(conf, lib_suffix): conf.env.STLIB_BOOST_DATETIME = ['boost_date_time%s' % lib_suffix, 'boost_system%s' % lib_suffix] conf.env.STLIB_BOOST_SIGNALS2 = ['boost_signals2'] -def dynamic_quickmail(conf): - conf.check_cxx(fragment=""" - #include - int main(void) { quickmail_initialize (); } - """, - mandatory=True, - msg='Checking for libquickmail', - libpath='/usr/local/lib', - lib=['quickmail', 'curl'], - uselib_store='QUICKMAIL') - def configure(conf): conf.load('compiler_cxx') if conf.options.target_windows: @@ -217,6 +206,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', '-DUNICODE') conf.env.append_value('CXXFLAGS', '-DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN') conf.env.append_value('CXXFLAGS', '-mfpmath=sse') + conf.env.append_value('CXXFLAGS', '-Wno-deprecated-declarations') wxrc = os.popen('wx-config --rescomp').read().split()[1:] conf.env.append_value('WINRCFLAGS', wxrc) if conf.options.enable_debug: @@ -271,7 +261,6 @@ def configure(conf): conf.env.STLIB_CXML = ['cxml'] conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='XMLPP', mandatory=True) conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True) - conf.env.STLIB_QUICKMAIL = ['quickmail'] static_ffmpeg(conf) static_openjpeg(conf) static_sub(conf) @@ -285,8 +274,6 @@ def configure(conf): conf.check_cfg(package='libcurl', args='--cflags --libs-only-L', uselib_store='CURL', mandatory=True) conf.env.STLIB_CURL = ['curl'] conf.env.LIB_CURL = ['ssh2', 'idn'] - conf.env.STLIB_QUICKMAIL = ['quickmail', 'curl'] - conf.env.LIB_QUICKMAIL = ['ssh2', 'idn'] static_ffmpeg(conf) static_openjpeg(conf) static_sub(conf) @@ -298,7 +285,6 @@ def configure(conf): conf.check_cfg(package='libcxml', atleast_version='0.08', args='--cflags', uselib_store='CXML', mandatory=True) conf.env.STLIB_CXML = ['cxml'] conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True) - conf.env.STLIB_QUICKMAIL = ['quickmail'] conf.env.LIB_SSH = ['gssapi_krb5'] conf.env.LIB_XMLPP = ['xml2'] conf.env.LIB_XMLSEC = ['ltdl'] @@ -318,7 +304,6 @@ def configure(conf): libpath='/usr/local/lib', lib=['boost_locale%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix], uselib_store='BOOST_LOCALE') - dynamic_quickmail(conf) dynamic_boost(conf, boost_lib_suffix, boost_thread) dynamic_ffmpeg(conf) dynamic_openjpeg(conf) @@ -331,7 +316,6 @@ def configure(conf): conf.check_cfg(package='libcxml', atleast_version='0.08', args='--cflags --libs', uselib_store='CXML', mandatory=True) conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='XMLPP', mandatory=True) conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True) - dynamic_quickmail(conf) dynamic_boost(conf, boost_lib_suffix, boost_thread) dynamic_ffmpeg(conf) dynamic_dcp(conf)