Fix info layout a bit.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 7abc75a75f9543cce7a89c994eb4ba716e8a4e56..6fe9678b0f295cf068292f046bd732248aacaaa6 100644 (file)
--- a/cscript
+++ b/cscript
@@ -41,7 +41,9 @@ deb_build_depends['17.04'].extend(['libssh-dev'])
 deb_build_depends['7'] = copy.deepcopy(deb_build_depends_base)
 deb_build_depends['7'].extend(['libssh-dev'])
 deb_build_depends['8'] = copy.deepcopy(deb_build_depends_base)
-deb_build_depends['8'].extend(['libssh-dev'])
+deb_build_depends['8'].extend(['libssh-gcrypt-dev'])
+deb_build_depends['9'] = copy.deepcopy(deb_build_depends_base)
+deb_build_depends['9'].extend(['libssh-gcrypt-dev'])
 deb_build_depends['unstable'] = copy.deepcopy(deb_build_depends_base)
 
 deb_depends = dict()
@@ -140,16 +142,29 @@ deb_depends['8'].extend(['libboost-filesystem1.55.0',
                          'libssh-4',
                          'libx264-142'])
 
+deb_depends['9'] = copy.deepcopy(deb_depends_base)
+deb_depends['9'].extend(['libboost-filesystem1.62.0',
+                         'libboost-thread1.62.0',
+                         'libboost-regex1.62.0',
+                         'libboost-date-time1.62.0',
+                         'libmagick++-6.q16-7',
+                         'libxml++2.6-2v5',
+                         'libgtk2.0-0',
+                         'libzip4',
+                         'libicu57',
+                         'libnettle6',
+                         'libx264-148'])
+
 deb_depends['unstable'] = copy.deepcopy(deb_depends_base)
-deb_depends['unstable'].extend(['libboost-filesystem1.58.0',
-                                'libboost-thread1.58.0',
-                                'libboost-regex1.58.0',
-                                'libmagick++-6.q16-5v5',
+deb_depends['unstable'].extend(['libboost-filesystem1.62.0',
+                                'libboost-thread1.62.0',
+                                'libboost-regex1.62.0',
+                                'libboost-date-time1.62.0',
+                                'libmagick++-6.q16-7',
                                 'libxml++2.6-2v5',
                                 'libgtk2.0-0',
-                                'libboost-date-time1.58.0',
-                                'libzip2',
-                                'libicu52',
+                                'libzip4',
+                                'libicu57',
                                 'libnettle6',
                                 'libx264-148'])
 
@@ -279,9 +294,9 @@ def dependencies(target):
     else:
         ffmpeg_options = {}
 
-    return (('ffmpeg-cdist', 'd993f38', ffmpeg_options),
-            ('libdcp', '181bc47'),
-            ('libsub', 'a04f1d5'),
+    return (('ffmpeg-cdist', '5fce90f', ffmpeg_options),
+            ('libdcp', '047d8ff'),
+            ('libsub', '678962c'),
             ('rtaudio-cdist', None))
 
 def configure_options(target):
@@ -293,11 +308,11 @@ def configure_options(target):
     elif target.platform == 'linux':
         opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
         if target.distro == 'centos':
-            opt += ' --static-xmlsec --static-ssh --disable-tests'
+            opt += ' --disable-tests'
             if target.version == '6.5':
                 opt += ' --static-boost --static-xmlpp'
             elif target.version == '7':
-                opt += ' --workaround-gssapi --static-xmlpp'
+                opt += ' --workaround-gssapi'
 
     # Build Windows debug versions with static linking as I think gdb works better then
     if target.debug and target.platform == 'windows':
@@ -348,10 +363,10 @@ def package_debian(target, cpu, version):
     target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
     if target.debug:
         target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
-    if target.version in ['15.04', '15.10', '16.04', '16.10', '17.04', '8', 'unstable']:
-        target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
-    else:
+    if target.version in ['7', '14.04']:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')
+    else:
+        target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
 
     target.command('dpkg-buildpackage -uc -us')