Merge lp:~tomasgroth/openlp/packaging-appveyor into lp:openlp/packaging

Proposed by Tomas Groth
Status: Merged
Merged at revision: 32
Proposed branch: lp:~tomasgroth/openlp/packaging-appveyor
Merge into: lp:openlp/packaging
Diff against target: 122 lines (+47/-19)
3 files modified
windows/config-appveyor.ini (+23/-0)
windows/config.ini.default (+2/-1)
windows/windows-builder.py (+22/-18)
To merge this branch: bzr merge lp:~tomasgroth/openlp/packaging-appveyor
Reviewer Review Type Date Requested Status
Tim Bentley Approve
Raoul Snyman Approve
Review via email: mp+312202@code.launchpad.net

Description of the change

Added support for MediaInfo windows builds.
Added a appveyor specific config file.
Updated some docs in windows-builder.py.

To post a comment you must log in.
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Looks OK to me

review: Approve
Revision history for this message
Tim Bentley (trb143) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'windows/config-appveyor.ini'
--- windows/config-appveyor.ini 1970-01-01 00:00:00 +0000
+++ windows/config-appveyor.ini 2016-11-30 21:03:31 +0000
@@ -0,0 +1,23 @@
1[executables]
2innosetup = %(progfiles)s\Inno Setup 5\ISCC.exe
3sphinx = %(pyroot)s\Scripts\sphinx-build.exe
4pyinstaller = %(here)s\..\..\pyinstaller-develop\pyinstaller.py
5vcbuild = %(progfiles)s\Microsoft Visual Studio 9.0\VC\vcpackages\vcbuild.exe
6htmlhelp = %(progfiles)s\HTML Help Workshop\hhc.exe
7psvince = %(here)s\psvince.dll
8lrelease = %(sitepackages)s\PyQt5\bin\lrelease.exe
9portablelauncher = %(here)s\..\..\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
10portableinstaller = %(here)s\..\..\PortableApps.comInstaller\PortableApps.comInstaller.exe
11mutoolbin = %(here)s\..\..\mupdf-1.9a-windows\mutool.exe
12mediainfobin = %(here)s\..\..\MediaInfo\MediaInfo.exe
13
14[paths]
15branch = %(projects)s\trunk
16documentation = %(projects)s\documentation
17win32icon = %(here)s\OpenLP.ico
18hooks = %(here)s\..\pyinstaller-hooks
19portable = %(projects)s\OpenLPPortable
20
21[transifex]
22username =
23password =
024
=== modified file 'windows/config.ini.default'
--- windows/config.ini.default 2016-01-03 21:10:14 +0000
+++ windows/config.ini.default 2016-11-30 21:03:31 +0000
@@ -8,7 +8,8 @@
8lrelease = %(sitepackages)s\PyQt5\bin\lrelease.exe8lrelease = %(sitepackages)s\PyQt5\bin\lrelease.exe
9portablelauncher = %(progfiles)s\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe9portablelauncher = %(progfiles)s\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
10portableinstaller = %(progfiles)s\PortableApps.comInstaller\PortableApps.comInstaller.exe10portableinstaller = %(progfiles)s\PortableApps.comInstaller\PortableApps.comInstaller.exe
11mudrawbin = %(here)s\..\mupdf-1.8-windows\mudraw.exe11mutoolbin = %(here)s\..\mupdf-1.9a-windows\mutool.exe
12mediainfobin = %(here)s\..\MediaInfo\MediaInfo.exe
1213
13[paths]14[paths]
14branch = %(projects)s\trunk15branch = %(projects)s\trunk
1516
=== modified file 'windows/windows-builder.py'
--- windows/windows-builder.py 2016-01-03 21:10:14 +0000
+++ windows/windows-builder.py 2016-11-30 21:03:31 +0000
@@ -49,9 +49,8 @@
49 This is used to create the help file.49 This is used to create the help file.
5050
51PyInstaller51PyInstaller
52 PyInstaller should be a git clone of either52 PyInstaller should be a git clone of
53 https://github.com/matysek/pyinstaller branch python3 or53 https://github.com/matysek/pyinstaller branch develop
54 https://github.com/pyinstaller/pyinstaller branch python3
5554
56Bazaar55Bazaar
57 You need the command line "bzr" client installed.56 You need the command line "bzr" client installed.
@@ -86,16 +85,15 @@
8685
87 http://www.makotemplates.org/download.html86 http://www.makotemplates.org/download.html
8887
89SQLAlchemy Migrate
90 Required for the databases used in OpenLP. The package can be
91 obtained here:
92
93 http://code.google.com/p/sqlalchemy-migrate/
94
95MuPDF88MuPDF
96 Required for PDF support in OpenLP. Download the windows build from89 Required for PDF support in OpenLP. Download the windows build from
97 mupdf.com, extract it, and set the mudrawbin option in the config file to90 mupdf.com, extract it, and set the mutoolbin option in the config file to
98 point to mudraw.exe91 point to mutool.exe.
92
93MediaInfo
94 Required for the media plugin. Download the 32-bit CLI windows build from
95 https://mediaarea.net/nn/MediaInfo/Download/Windows and set the
96 mediainfobin option in the config file to point to MediaInfo.exe.
9997
100Portable App Builds98Portable App Builds
101 The following are required if you are planning to make a portable build of99 The following are required if you are planning to make a portable build of
@@ -212,7 +210,8 @@
212 self.psvince = os.path.abspath(self.config.get('executables', 'psvince'))210 self.psvince = os.path.abspath(self.config.get('executables', 'psvince'))
213 self.portableinstaller = os.path.abspath(self.config.get('executables', 'portableinstaller'))211 self.portableinstaller = os.path.abspath(self.config.get('executables', 'portableinstaller'))
214 self.portablelauncher = os.path.abspath(self.config.get('executables', 'portablelauncher'))212 self.portablelauncher = os.path.abspath(self.config.get('executables', 'portablelauncher'))
215 self.mudraw_bin = os.path.abspath(self.config.get('executables', 'mudrawbin'))213 self.mutool_bin = os.path.abspath(self.config.get('executables', 'mutoolbin'))
214 self.mediainfo_bin = os.path.abspath(self.config.get('executables', 'mediainfobin'))
216 if os.path.exists(os.path.join(self.site_packages, 'PyQt5', 'bin')):215 if os.path.exists(os.path.join(self.site_packages, 'PyQt5', 'bin')):
217 # Older versions of the PyQt5 Windows installer put their binaries216 # Older versions of the PyQt5 Windows installer put their binaries
218 # in the "bin" directory217 # in the "bin" directory
@@ -405,11 +404,16 @@
405 copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm'))404 copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm'))
406 else:405 else:
407 self._print('... WARNING: Windows help file not found')406 self._print('... WARNING: Windows help file not found')
408 self._print_verbose('... mudraw.exe')407 self._print_verbose('... mutool.exe')
409 if self.mudraw_bin and os.path.isfile(self.mudraw_bin):408 if self.mutool_bin and os.path.isfile(self.mutool_bin):
410 copy(os.path.join(self.mudraw_bin), os.path.join(self.dist_path, 'mudraw.exe'))409 copy(os.path.join(self.mutool_bin), os.path.join(self.dist_path, 'mutool.exe'))
411 else:410 else:
412 self._print('... WARNING: mudraw.exe not found')411 self._print('... WARNING: mutool.exe not found')
412 self._print_verbose('... MediaInfo.exe')
413 if self.mediainfo_bin and os.path.isfile(self.mediainfo_bin):
414 copy(os.path.join(self.mediainfo_bin), os.path.join(self.dist_path, 'MediaInfo.exe'))
415 else:
416 self._print('... WARNING: MediaInfo.exe not found')
413417
414 def update_translations(self):418 def update_translations(self):
415 """419 """
@@ -616,7 +620,7 @@
616 self._print_verbose('Windows resources: .......%s', self.winres_path)620 self._print_verbose('Windows resources: .......%s', self.winres_path)
617 self._print_verbose('VCBuild path: ............%s', self.vcbuild)621 self._print_verbose('VCBuild path: ............%s', self.vcbuild)
618 self._print_verbose('PPTVIEWLIB path: .........%s', self.pptviewlib_path)622 self._print_verbose('PPTVIEWLIB path: .........%s', self.pptviewlib_path)
619 self._print_verbose('Mudraw binary ............%s', self.mudraw_bin)623 self._print_verbose('Mutool binary ............%s', self.mutool_bin)
620 self._print_verbose('')624 self._print_verbose('')
621 if not self.args.skip_update:625 if not self.args.skip_update:
622 self.update_code()626 self.update_code()

Subscribers

People subscribed via source and target branches