# -*- mode: python -*-
#
-# Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+# Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
'libpangomm-1.4-1': '2.34.0-1ubuntu1',
'libicu52': '52.1-3'}
-deb_depends['15.04'] = {'libc6': '2.21-0ubuntu4',
- 'libssh-4': '0.6.3-3ubuntu3',
- 'libboost-filesystem1.55.0': '1.55.0+dfsg-3ubuntu2',
- 'libboost-thread1.55.0': '1.55.0+dfsg-3ubuntu2',
- 'libboost-regex1.55.0': '1.55.0+dfsg-3ubuntu2',
- 'libsndfile1': '1.0.25-9.1',
- 'libmagick++-6.q16-5': '8:6.8.9.9-5',
- 'libxml++2.6-2': '2.36.0-2.1',
- 'libgtk2.0-0': '2.24.27-0ubuntu1',
- 'libxmlsec1': '1.2.20-2ubuntu2',
- 'libxmlsec1-openssl': '1.2.20-2ubuntu2',
- 'libboost-date-time1.55.0': '1.55.0+dfsg-3ubuntu2',
- 'libcurl3': '7.38.0-3ubuntu2',
- 'libzip2': '0.11.2-1.2',
- 'libwxgtk3.0-0': '3.0.2-1',
- 'libsamplerate0': '0.1.8-8',
- 'libicu52': '52.1-8'}
-
deb_depends['15.10'] = {'libc6': '2.21-0ubuntu4',
'libssh-4': '0.6.3-3ubuntu3',
'libboost-filesystem1.58.0': '1.58.0+dfsg-3.1ubuntu1',
print('%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2_batch.png' % r, file=f)
print('%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2_kdm.png' % r, file=f)
print('%%{_datadir}/icons/hicolor/%s/apps/dcpomatic2_server.png' % r, file=f)
- for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU', 'pl_PL', 'da_DK', 'pt_PT', 'sk_SK']:
+ for l in ['de_DE', 'es_ES', 'fr_FR', 'it_IT', 'sv_SE', 'nl_NL', 'ru_RU', 'pl_PL', 'da_DK', 'pt_PT', 'sk_SK', 'cs_CZ', 'uk_UA']:
print('%%{_datadir}/locale/%s/LC_MESSAGES/dcpomatic2.mo' % l, file=f)
print('%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2-wx.mo' % l, file=f)
print('%%{_datadir}/locale/%s/LC_MESSAGES/libdcpomatic2.mo' % l, file=f)
print('tar xjf $RPM_SOURCE_DIR/dcpomatic-%s.tar.bz2' % version, file=f)
print('%build', file=f)
print('cd dcpomatic-%s' % version, file=f)
- print('export PKG_CONFIG_PATH=%s/lib/pkgconfig:/usr/local/lib/pkgconfig' % target.directory, file=f)
+ print('export PKG_CONFIG_PATH=%s/lib/pkgconfig:%s/lib64/pkgconfig:/usr/local/lib/pkgconfig' % (target.directory, target.directory), file=f)
print('CXXFLAGS="-I%s/include" LDFLAGS="-L%s/lib" ./waf configure --prefix=%%{buildroot}/usr --install-prefix=/usr %s' % (target.directory, target.directory, configure_options(target)), file=f)
print('./waf', file=f)
print('%install', file=f)
else:
ffmpeg_options = {}
- return (('ffmpeg-cdist', 'b559555', ffmpeg_options),
- ('libdcp', 'e33e3b8'),
- ('libsub', '1e26169'))
+ return (('ffmpeg-cdist', '96d67de', ffmpeg_options),
+ ('libdcp', 'v1.3.1'),
+ ('libsub', 'v1.1.11'))
def configure_options(target):
opt = ''
else:
cpu = "i686"
- print('Looking in %s/RPMS/%s/*.rpm' % (topdir, cpu), file=f)
+ print('Looking in %s/RPMS/%s/*.rpm' % (topdir, cpu))
for p in glob.glob('%s/RPMS/%s/*.rpm' % (topdir, cpu)):
- print('found %s' % p, file=f)
+ print('found %s' % p)
rpms.append(os.path.abspath(p))
return rpms
return package_windows(target)
elif target.platform == 'linux':
if target.bits == 32:
- cpu = 'i386'
+ cpu = 'i386'
else:
- cpu = 'amd64'
+ cpu = 'amd64'
- if target.distro == 'debian' or target.distro == 'ubuntu':
+ if target.distro == 'debian' or target.distro == 'ubuntu':
return package_debian(target, cpu, version)
elif target.distro == 'centos' or target.distro == 'fedora':
return package_rpm(target, cpu, version)
target.command('./waf pot')
return [os.path.abspath('build/src/lib/libdcpomatic.pot'),
os.path.abspath('build/src/wx/libdcpomatic-wx.pot'),
- os.path.abspath('build/src/tools/dcpomatic.pot')]
+ os.path.abspath('build/src/tools/dcpomatic.pot')]
def make_manual(target):
os.chdir('doc/manual')