Merge lp:~raoul-snyman/openlp/wix-packaging into lp:openlp/packaging

Proposed by Raoul Snyman
Status: Merged
Approved by: Raoul Snyman
Approved revision: 90
Merged at revision: 45
Proposed branch: lp:~raoul-snyman/openlp/wix-packaging
Merge into: lp:openlp/packaging
Diff against target: 2841 lines (+1001/-892)
11 files modified
builders/builder.py (+8/-4)
builders/windows-builder.py (+154/-61)
osx/Info.plist (+22/-2)
osx/LICENSE.txt (+624/-289)
pyinstaller-hooks/hook-sqlalchemy.ext.baked.py (+23/-0)
windows/LICENSE.txt (+0/-339)
windows/OpenLP-base.wxs (+152/-0)
windows/OpenLP.iss.default (+0/-187)
windows/config-appveyor.ini (+3/-4)
windows/config.ini.default (+5/-6)
windows/file-associations.xml (+10/-0)
To merge this branch: bzr merge lp:~raoul-snyman/openlp/wix-packaging
Reviewer Review Type Date Requested Status
Tomas Groth Approve
Tim Bentley Pending
Review via email: mp+367668@code.launchpad.net

This proposal supersedes a proposal from 2019-05-07.

Commit message

Build a Windows Installer (MSI) file instead of using InnoSetup

Description of the change

Build a Windows Installer (MSI) file instead of using InnoSetup

To post a comment you must log in.
Revision history for this message
Tim Bentley (trb143) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
Tomas Groth (tomasgroth) wrote : Posted in a previous version of this proposal

The license file should be removed, but otherwise it looks fine. Haven't actually tested it...

review: Needs Fixing
Revision history for this message
Tomas Groth (tomasgroth) wrote : Posted in a previous version of this proposal

Add support for registrering "capabilities" (file extensions), as described here: https://stackoverflow.com/questions/2772452/how-to-associate-application-with-existing-file-types-using-wix-installer

review: Needs Fixing
Revision history for this message
Tomas Groth (tomasgroth) wrote : Posted in a previous version of this proposal

See inline

review: Needs Fixing
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Replies inline :-)

Revision history for this message
Bastian Germann (bastian-germann-deactivatedaccount) wrote : Posted in a previous version of this proposal

You can now use PyMuPDF instead of mupdf.exe

Revision history for this message
Tomas Groth (tomasgroth) wrote : Posted in a previous version of this proposal

See inline

review: Needs Fixing
Revision history for this message
Raoul Snyman (raoul-snyman) wrote : Posted in a previous version of this proposal

Please see my inline comment.

Revision history for this message
Tomas Groth (tomasgroth) wrote :

New inline comment..

review: Needs Fixing
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

Replied :-)

Revision history for this message
Tomas Groth (tomasgroth) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'builders/builder.py'
2--- builders/builder.py 2019-02-18 20:10:59 +0000
3+++ builders/builder.py 2019-05-20 22:20:27 +0000
4@@ -1,5 +1,5 @@
5 # -*- coding: utf-8 -*-
6-# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
7+# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
8
9 ###############################################################################
10 # OpenLP - Open Source Lyrics Projection #
11@@ -276,8 +276,11 @@
12 """
13 self._print('Running PyInstaller...')
14 os.chdir(self.work_path)
15- cmd = [self.python,
16- self.pyinstaller_exe,
17+ if self.pyinstaller_exe.endswith('.py'):
18+ cmd = [self.python, self.pyinstaller_exe]
19+ else:
20+ cmd = [self.pyinstaller_exe]
21+ cmd.extend([
22 '--clean',
23 '--noconfirm',
24 '--windowed',
25@@ -287,7 +290,8 @@
26 '-i', self.icon_path,
27 '-n', 'OpenLP',
28 *self.get_extra_parameters(), # Adds any extra parameters we wish to use
29- self.openlp_script]
30+ self.openlp_script
31+ ])
32 if self.args.verbose:
33 cmd.append('--log-level=DEBUG')
34 else:
35
36=== modified file 'builders/windows-builder.py'
37--- builders/windows-builder.py 2019-03-13 21:00:05 +0000
38+++ builders/windows-builder.py 2019-05-20 22:20:27 +0000
39@@ -1,10 +1,10 @@
40 # -*- coding: utf-8 -*-
41-# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
42+# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
43
44 ###############################################################################
45 # OpenLP - Open Source Lyrics Projection #
46 # --------------------------------------------------------------------------- #
47-# Copyright (c) 2004-2016 OpenLP Developers #
48+# Copyright (c) OpenLP Developers #
49 # --------------------------------------------------------------------------- #
50 # This program is free software; you can redistribute it and/or modify it #
51 # under the terms of the GNU General Public License as published by the Free #
52@@ -36,8 +36,9 @@
53 This script expects the precompiled, installable version of PyEnchant to be
54 installed. You can find this on the PyEnchant site.
55
56-Inno Setup 5
57- Inno Setup should be installed into "C:\\%PROGRAMFILES%\\Inno Setup 5"
58+WiX Toolset
59+ The toolset should be installed into "C:\\%PROGRAMFILES%\\WiX Toolset v3.11"
60+ or similar.
61
62 Sphinx
63 This is used to build the documentation. The documentation trunk must be at
64@@ -61,15 +62,6 @@
65 This script, of course. It should be in the "windows-installer" directory
66 at the same level as OpenLP trunk.
67
68-psvince.dll
69- This dll is used during the actual install of OpenLP to check if OpenLP is
70- running on the users machine prior to the setup. If OpenLP is running,
71- the install will fail. The dll can be obtained from here:
72-
73- http://www.vincenzo.net/isxkb/index.php?title=PSVince
74-
75- The dll is presently included with this script.
76-
77 Mako
78 Mako Templates for Python. This package is required for building the
79 remote plugin. It can be installed by going to your
80@@ -83,11 +75,6 @@
81 mupdf.com, extract it, and set the mutoolbin option in the config file to
82 point to mutool.exe.
83
84-MediaInfo
85- Required for the media plugin. Download the 32-bit CLI windows build from
86- https://mediaarea.net/nn/MediaInfo/Download/Windows and set the
87- mediainfobin option in the config file to point to MediaInfo.exe.
88-
89 Portable App Builds
90 The following are required if you are planning to make a portable build of
91 OpenLP. The portable build conforms to the standards published by
92@@ -112,8 +99,12 @@
93 import glob
94 import sys
95 from distutils import dir_util
96+from hashlib import md5
97 from shutil import copy, move, rmtree
98
99+from lxml.etree import fromstring, parse, tostring
100+from lxml.builder import E, ElementMaker
101+
102 from builder import Builder
103
104
105@@ -123,29 +114,125 @@
106 to build a Windows installer.
107 """
108
109- def _create_innosetup_file(self):
110- """
111- Create an InnoSetup file pointing to the branch being built.
112- """
113- self._print('Creating Inno Setup file...')
114- config_dir = os.path.dirname(self.config_path)
115- with open(os.path.join(config_dir, 'OpenLP.iss.default'), 'r') as input_file, \
116- open(os.path.join(config_dir, 'OpenLP.iss'), 'w') as output_file:
117- content = input_file.read()
118- content = content.replace('%(branch)s', self.branch_path)
119- content = content.replace('%(display_version)s', self.version.replace('-bzr', '.'))
120- content = content.replace('%(arch)s', self.arch)
121- output_file.write(content)
122-
123- def _run_innosetup(self):
124- """
125- Run InnoSetup to create an installer.
126- """
127- self._print('Running Inno Setup...')
128- config_dir = os.path.dirname(self.config_path)
129- os.chdir(config_dir)
130- self._run_command([self.innosetup_exe, os.path.join(config_dir, 'OpenLP.iss'), '/q'],
131- 'Error running InnoSetup')
132+ def _walk_dirs(self, dir_dict, path):
133+ """
134+ Walk a dictionary according to path
135+ """
136+ parts = path.split(os.sep)
137+ search_key = parts.pop(0)
138+ if search_key in dir_dict.keys():
139+ if not parts:
140+ return dir_dict[search_key]
141+ else:
142+ return self._walk_dirs(dir_dict[search_key], os.sep.join(parts))
143+ else:
144+ return None
145+
146+ def _get_fragments_from_files(self, start_dir):
147+ """
148+ Walk down a directory recursively and build up the XML for WiX
149+ """
150+ start_base, start_path = os.path.split(start_dir)
151+ element = E.DirectoryRef(Id='INSTALLDIR')
152+ directories = {start_path: {'__dir__': element}}
153+ components = []
154+ FxE = ElementMaker(namespace='http://schemas.microsoft.com/wix/FirewallExtension',
155+ nsmap={'fw': 'http://schemas.microsoft.com/wix/FirewallExtension'})
156+
157+ for root, _, files in os.walk(start_dir):
158+ parent = os.sep.join(root.replace(os.path.join(start_base, ''), '').split(os.sep)[:-1])
159+ if root == start_dir:
160+ path = ''
161+ else:
162+ path = root.replace(os.path.join(start_dir, ''), '')
163+ base = os.path.basename(root)
164+ if root != start_dir:
165+ dir_id = 'dir_{parent}_{base}'.format(parent=parent.replace(os.sep, '_'), base=base)
166+ element = E.Directory(Id=dir_id, Name=base)
167+ new_dir = {'__dir__': element}
168+ parent_dir = self._walk_dirs(directories, parent)
169+ parent_dir[base] = new_dir
170+ parent_dir['__dir__'].append(element)
171+ for fname in files:
172+ source = os.path.join(path, fname) if path else fname
173+ source_id = md5(source.encode('utf8')).hexdigest()
174+ file_id = 'file_{source_id}'.format(source_id=source_id)
175+ component_id = 'cmp_{source_id}'.format(source_id=source_id)
176+ if self.arch == 'x64':
177+ file_ = E.File(Id=file_id, KeyPath='yes', Source=source, ProcessorArchitecture='x64')
178+ component = E.Component(file_, Id=component_id, Guid='*', Win64='yes')
179+ else:
180+ file_ = E.File(Id=file_id, KeyPath='yes', Source=source)
181+ component = E.Component(file_, Id=component_id, Guid='*')
182+ if source.endswith('OpenLP.exe'):
183+ description = 'Firewall exception for OpenLP\'s remote interface (UDP)'
184+ program = '[#file_e368869eb54b01e2288a3359b1cf51f8]'
185+ component.append(FxE.FirewallException(Id='OpenLP_TCP', Name='OpenLP',
186+ Description=description, IgnoreFailure='yes',
187+ Program=program, Protocol='tcp', Scope='any'))
188+ component.append(FxE.FirewallException(Id='OpenLP_UDP', Name='OpenLP',
189+ Description=description, IgnoreFailure='yes',
190+ Program=program, Protocol='udp', Scope='any'))
191+ # Add the file association XML
192+ config_dir = os.path.dirname(self.config_path)
193+ with open(os.path.join(config_dir, 'file-associations.xml')) as assoc_file:
194+ file_assoc = parse(assoc_file)
195+ component.append(file_assoc.getroot())
196+ element.append(component)
197+ components.append(component)
198+
199+ files_fragment = E.Fragment(directories[start_path]['__dir__'])
200+ comps_fragment = E.Fragment(E.ComponentGroup(*[E.ComponentRef(Id=c.attrib['Id']) for c in components],
201+ Id='Files'))
202+ return files_fragment, comps_fragment
203+
204+ def _create_wix_file(self):
205+ """
206+ Create a WiX project file
207+ """
208+ self._print('Creating WiX file...')
209+ config_dir = os.path.dirname(self.config_path)
210+ self._print_verbose('Reading base WiX file')
211+ with open(os.path.join(config_dir, 'OpenLP-base.wxs'), 'rt') as base_file:
212+ xml = base_file.read()
213+ progfilefolder = 'ProgramFiles64Folder' if self.arch == 'x64' else 'ProgramFilesFolder'
214+ windows_version = self.version.replace('-bzr', '.')
215+ xml = xml % dict(dialog=os.path.join(config_dir, 'WizardMain.bmp'),
216+ banner=os.path.join(config_dir, 'WizardBanner.bmp'),
217+ platform=self.arch,
218+ progfilefolder=progfilefolder,
219+ version=windows_version)
220+ tree = fromstring(xml.encode('utf8'))
221+ self._print_verbose('Creating XML fragments from files and directories')
222+ fragments = self._get_fragments_from_files(self.dist_path)
223+ self._print_verbose('Inserting XML fragments into base WiX file')
224+ for fragment in fragments:
225+ tree.append(fragment)
226+ self._print_verbose('Writing new WiX file')
227+ with open(os.path.join(config_dir, 'OpenLP.wxs'), 'wb') as f:
228+ f.write(tostring(tree, encoding='utf-8', xml_declaration=True, pretty_print=True))
229+
230+ def _run_wix_tools(self):
231+ """
232+ Run the WiX toolset to create an installer
233+ """
234+ self._print('Running WiX tools...')
235+ if self.arch == 'x64':
236+ version = '{}-x64'.format(self.version)
237+ else:
238+ version = self.version
239+ msi_file = os.path.abspath(os.path.join(self.dist_path, '..', 'OpenLP-{}.msi'.format(version)))
240+ if os.path.exists(msi_file):
241+ self._print_verbose('Removing old MSI file')
242+ os.unlink(msi_file)
243+ config_dir = os.path.dirname(self.config_path)
244+ os.chdir(self.dist_path)
245+ self._run_command([self.candle_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension',
246+ '-ext', 'WixFirewallExtension', os.path.join(config_dir, 'OpenLP.wxs')],
247+ 'Error running WiX tool: candle')
248+ self._run_command([self.light_exe, '-ext', 'WiXUtilExtension', '-ext', 'WixUIExtension',
249+ '-ext', 'WixFirewallExtension', 'OpenLP.wixobj', '-o', msi_file],
250+ 'Error running WiX tool: light')
251
252 def _create_portableapp_structure(self):
253 """
254@@ -239,6 +326,7 @@
255 config_defaults.update({
256 'pyroot': self.python_root,
257 'progfiles': self.program_files,
258+ 'progfilesx86': self.program_files_x86,
259 'sitepackages': self.site_packages,
260 'projects': os.path.abspath(os.path.join(self.script_path, '..', '..'))
261 })
262@@ -270,13 +358,11 @@
263 super().setup_system_paths()
264 self.python_root = os.path.dirname(self.python)
265 self.site_packages = os.path.join(self.python_root, 'Lib', 'site-packages')
266- # Default program_files to 'Program Files (x86)' - the folder for 32-bit programs on 64-bit systems, if that
267- # does not exists the host system is 32-bit so fallback to 'Program Files'.
268- self.program_files = os.getenv('PROGRAMFILES(x86)')
269- if not self.program_files:
270- self.program_files = os.getenv('PROGRAMFILES')
271+ self.program_files = os.getenv('PROGRAMFILES')
272+ self.program_files_x86 = os.getenv('PROGRAMFILES(x86)')
273 self._print_verbose(' {:.<20}: {}'.format('site packages: ', self.site_packages))
274 self._print_verbose(' {:.<20}: {}'.format('program files: ', self.program_files))
275+ self._print_verbose(' {:.<20}: {}'.format('program files x86: ', self.program_files_x86))
276
277 def setup_paths(self):
278 """
279@@ -303,23 +389,30 @@
280 copy(self.icon_path, os.path.join(self.dist_path, 'OpenLP.ico'))
281 self._print_verbose('... LICENSE.txt')
282 copy(self.license_path, os.path.join(self.dist_path, 'LICENSE.txt'))
283- self._print_verbose('... psvince.dll')
284- copy(self.psvince_exe, os.path.join(self.dist_path, 'psvince.dll'))
285+ self._print_verbose('... service_file.ico')
286+ config_dir = os.path.dirname(self.config_path)
287+ copy(os.path.join(config_dir, 'service_file.ico'), os.path.join(self.dist_path, 'service_file.ico'))
288 if os.path.isfile(os.path.join(self.helpfile_path, 'OpenLP.chm')):
289 self._print_verbose('... OpenLP.chm')
290 copy(os.path.join(self.helpfile_path, 'OpenLP.chm'), os.path.join(self.dist_path, 'OpenLP.chm'))
291 else:
292 self._print('... WARNING: Windows help file not found')
293- self._print_verbose('... mutool.exe')
294- if self.mutool_exe and os.path.isfile(self.mutool_exe):
295- copy(os.path.join(self.mutool_exe), os.path.join(self.dist_path, 'mutool.exe'))
296- else:
297- self._print('... WARNING: mutool.exe not found')
298- self._print_verbose('... MediaInfo.exe')
299- if self.mediainfo_exe and os.path.isfile(self.mediainfo_exe):
300- copy(os.path.join(self.mediainfo_exe), os.path.join(self.dist_path, 'MediaInfo.exe'))
301- else:
302- self._print('... WARNING: MediaInfo.exe not found')
303+ try:
304+ # Check if PyMuPDF is installed
305+ import fitz # noqa
306+ HAS_PYMUPDF = True
307+ except ImportError:
308+ HAS_PYMUPDF = False
309+ if not HAS_PYMUPDF:
310+ self._print_verbose('... mutool.exe')
311+ if self.mutool_exe and os.path.isfile(self.mutool_exe):
312+ copy(os.path.join(self.mutool_exe), os.path.join(self.dist_path, 'mutool.exe'))
313+ else:
314+ self._print('... WARNING: mutool.exe not found')
315+ vlc_path = os.path.join(self.program_files, 'VideoLAN', 'VLC')
316+ for fname in ['libvlc.dll', 'libvlccore.dll']:
317+ self._print_verbose('... {}'.format(fname))
318+ copy(os.path.join(vlc_path, fname), os.path.join(self.dist_path, fname))
319
320 def after_run_sphinx(self):
321 """
322@@ -333,8 +426,8 @@
323 """
324 Build the installer
325 """
326- self._create_innosetup_file()
327- self._run_innosetup()
328+ self._create_wix_file()
329+ self._run_wix_tools()
330 if self.args.portable:
331 self._run_portableapp_builder()
332
333@@ -343,7 +436,7 @@
334 Return a list of any extra parameters we wish to use
335 """
336 parameters = []
337- dll_path = '{pf}\\Windows Kits\\10\\Redist\\ucrt\\DLLs\\{arch}\\*.dll'.format(pf=self.program_files,
338+ dll_path = '{pf}\\Windows Kits\\10\\Redist\\ucrt\\DLLs\\{arch}\\*.dll'.format(pf=self.program_files_x86,
339 arch=self.arch)
340 # Finds the UCRT DDLs available from the Windows 10 SDK
341 for binary in glob.glob(dll_path):
342
343=== modified file 'osx/Info.plist'
344--- osx/Info.plist 2015-12-23 17:14:43 +0000
345+++ osx/Info.plist 2019-05-20 22:20:27 +0000
346@@ -21,7 +21,27 @@
347 <string>Owner</string>
348 <key>LSItemContentTypes</key>
349 <array>
350- <string>org.openlp.osz</string>
351+ <string>org.openlp.service</string>
352+ </array>
353+ </dict>
354+ <dict>
355+ <key>CFBundleTypeExtension</key>
356+ <array>
357+ <string>oszl</string>
358+ </array>
359+ <key>CFBundleTypeIconFiles</key>
360+ <array>
361+ <string>OpenLP.icns</string>
362+ </array>
363+ <key>CFBundleTypeName</key>
364+ <string>OpenLP Service</string>
365+ <key>CFBundleTypeRole</key>
366+ <string>Viewer</string>
367+ <key>LSHandlerRank</key>
368+ <string>Owner</string>
369+ <key>LSItemContentTypes</key>
370+ <array>
371+ <string>org.openlp.servicelite</string>
372 </array>
373 </dict>
374 <dict>
375@@ -41,7 +61,7 @@
376 <string>Owner</string>
377 <key>LSItemContentTypes</key>
378 <array>
379- <string>org.openlp.otz</string>
380+ <string>org.openlp.theme</string>
381 </array>
382 </dict>
383 </array>
384
385=== modified file 'osx/LICENSE.txt'
386--- osx/LICENSE.txt 2012-06-09 19:02:47 +0000
387+++ osx/LICENSE.txt 2019-05-20 22:20:27 +0000
388@@ -1,285 +1,626 @@
389- GNU GENERAL PUBLIC LICENSE
390- Version 2, June 1991
391+ GNU GENERAL PUBLIC LICENSE
392+ Version 3, 29 June 2007
393
394- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
395- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
396+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
397 Everyone is permitted to copy and distribute verbatim copies
398 of this license document, but changing it is not allowed.
399
400- Preamble
401-
402- The licenses for most software are designed to take away your
403-freedom to share and change it. By contrast, the GNU General Public
404-License is intended to guarantee your freedom to share and change free
405-software--to make sure the software is free for all its users. This
406-General Public License applies to most of the Free Software
407-Foundation's software and to any other program whose authors commit to
408-using it. (Some other Free Software Foundation software is covered by
409-the GNU Lesser General Public License instead.) You can apply it to
410+ Preamble
411+
412+ The GNU General Public License is a free, copyleft license for
413+software and other kinds of works.
414+
415+ The licenses for most software and other practical works are designed
416+to take away your freedom to share and change the works. By contrast,
417+the GNU General Public License is intended to guarantee your freedom to
418+share and change all versions of a program--to make sure it remains free
419+software for all its users. We, the Free Software Foundation, use the
420+GNU General Public License for most of our software; it applies also to
421+any other work released this way by its authors. You can apply it to
422 your programs, too.
423
424 When we speak of free software, we are referring to freedom, not
425 price. Our General Public Licenses are designed to make sure that you
426 have the freedom to distribute copies of free software (and charge for
427-this service if you wish), that you receive source code or can get it
428-if you want it, that you can change the software or use pieces of it
429-in new free programs; and that you know you can do these things.
430+them if you wish), that you receive source code or can get it if you
431+want it, that you can change the software or use pieces of it in new
432+free programs, and that you know you can do these things.
433
434- To protect your rights, we need to make restrictions that forbid
435-anyone to deny you these rights or to ask you to surrender the rights.
436-These restrictions translate to certain responsibilities for you if you
437-distribute copies of the software, or if you modify it.
438+ To protect your rights, we need to prevent others from denying you
439+these rights or asking you to surrender the rights. Therefore, you have
440+certain responsibilities if you distribute copies of the software, or if
441+you modify it: responsibilities to respect the freedom of others.
442
443 For example, if you distribute copies of such a program, whether
444-gratis or for a fee, you must give the recipients all the rights that
445-you have. You must make sure that they, too, receive or can get the
446-source code. And you must show them these terms so they know their
447-rights.
448-
449- We protect your rights with two steps: (1) copyright the software, and
450-(2) offer you this license which gives you legal permission to copy,
451-distribute and/or modify the software.
452-
453- Also, for each author's protection and ours, we want to make certain
454-that everyone understands that there is no warranty for this free
455-software. If the software is modified by someone else and passed on, we
456-want its recipients to know that what they have is not the original, so
457-that any problems introduced by others will not reflect on the original
458-authors' reputations.
459-
460- Finally, any free program is threatened constantly by software
461-patents. We wish to avoid the danger that redistributors of a free
462-program will individually obtain patent licenses, in effect making the
463-program proprietary. To prevent this, we have made it clear that any
464-patent must be licensed for everyone's free use or not licensed at all.
465+gratis or for a fee, you must pass on to the recipients the same
466+freedoms that you received. You must make sure that they, too, receive
467+or can get the source code. And you must show them these terms so they
468+know their rights.
469+
470+ Developers that use the GNU GPL protect your rights with two steps:
471+(1) assert copyright on the software, and (2) offer you this License
472+giving you legal permission to copy, distribute and/or modify it.
473+
474+ For the developers' and authors' protection, the GPL clearly explains
475+that there is no warranty for this free software. For both users' and
476+authors' sake, the GPL requires that modified versions be marked as
477+changed, so that their problems will not be attributed erroneously to
478+authors of previous versions.
479+
480+ Some devices are designed to deny users access to install or run
481+modified versions of the software inside them, although the manufacturer
482+can do so. This is fundamentally incompatible with the aim of
483+protecting users' freedom to change the software. The systematic
484+pattern of such abuse occurs in the area of products for individuals to
485+use, which is precisely where it is most unacceptable. Therefore, we
486+have designed this version of the GPL to prohibit the practice for those
487+products. If such problems arise substantially in other domains, we
488+stand ready to extend this provision to those domains in future versions
489+of the GPL, as needed to protect the freedom of users.
490+
491+ Finally, every program is threatened constantly by software patents.
492+States should not allow patents to restrict development and use of
493+software on general-purpose computers, but in those that do, we wish to
494+avoid the special danger that patents applied to a free program could
495+make it effectively proprietary. To prevent this, the GPL assures that
496+patents cannot be used to render the program non-free.
497
498 The precise terms and conditions for copying, distribution and
499 modification follow.
500
501- GNU GENERAL PUBLIC LICENSE
502- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
503-
504- 0. This License applies to any program or other work which contains
505-a notice placed by the copyright holder saying it may be distributed
506-under the terms of this General Public License. The "Program", below,
507-refers to any such program or work, and a "work based on the Program"
508-means either the Program or any derivative work under copyright law:
509-that is to say, a work containing the Program or a portion of it,
510-either verbatim or with modifications and/or translated into another
511-language. (Hereinafter, translation is included without limitation in
512-the term "modification".) Each licensee is addressed as "you".
513-
514-Activities other than copying, distribution and modification are not
515-covered by this License; they are outside its scope. The act of
516-running the Program is not restricted, and the output from the Program
517-is covered only if its contents constitute a work based on the
518-Program (independent of having been made by running the Program).
519-Whether that is true depends on what the Program does.
520-
521- 1. You may copy and distribute verbatim copies of the Program's
522-source code as you receive it, in any medium, provided that you
523-conspicuously and appropriately publish on each copy an appropriate
524-copyright notice and disclaimer of warranty; keep intact all the
525-notices that refer to this License and to the absence of any warranty;
526-and give any other recipients of the Program a copy of this License
527-along with the Program.
528-
529-You may charge a fee for the physical act of transferring a copy, and
530-you may at your option offer warranty protection in exchange for a fee.
531-
532- 2. You may modify your copy or copies of the Program or any portion
533-of it, thus forming a work based on the Program, and copy and
534-distribute such modifications or work under the terms of Section 1
535-above, provided that you also meet all of these conditions:
536-
537- a) You must cause the modified files to carry prominent notices
538- stating that you changed the files and the date of any change.
539-
540- b) You must cause any work that you distribute or publish, that in
541- whole or in part contains or is derived from the Program or any
542- part thereof, to be licensed as a whole at no charge to all third
543- parties under the terms of this License.
544-
545- c) If the modified program normally reads commands interactively
546- when run, you must cause it, when started running for such
547- interactive use in the most ordinary way, to print or display an
548- announcement including an appropriate copyright notice and a
549- notice that there is no warranty (or else, saying that you provide
550- a warranty) and that users may redistribute the program under
551- these conditions, and telling the user how to view a copy of this
552- License. (Exception: if the Program itself is interactive but
553- does not normally print such an announcement, your work based on
554- the Program is not required to print an announcement.)
555-
556-These requirements apply to the modified work as a whole. If
557-identifiable sections of that work are not derived from the Program,
558-and can be reasonably considered independent and separate works in
559-themselves, then this License, and its terms, do not apply to those
560-sections when you distribute them as separate works. But when you
561-distribute the same sections as part of a whole which is a work based
562-on the Program, the distribution of the whole must be on the terms of
563-this License, whose permissions for other licensees extend to the
564-entire whole, and thus to each and every part regardless of who wrote it.
565-
566-Thus, it is not the intent of this section to claim rights or contest
567-your rights to work written entirely by you; rather, the intent is to
568-exercise the right to control the distribution of derivative or
569-collective works based on the Program.
570-
571-In addition, mere aggregation of another work not based on the Program
572-with the Program (or with a work based on the Program) on a volume of
573-a storage or distribution medium does not bring the other work under
574-the scope of this License.
575-
576- 3. You may copy and distribute the Program (or a work based on it,
577-under Section 2) in object code or executable form under the terms of
578-Sections 1 and 2 above provided that you also do one of the following:
579-
580- a) Accompany it with the complete corresponding machine-readable
581- source code, which must be distributed under the terms of Sections
582- 1 and 2 above on a medium customarily used for software interchange; or,
583-
584- b) Accompany it with a written offer, valid for at least three
585- years, to give any third party, for a charge no more than your
586- cost of physically performing source distribution, a complete
587- machine-readable copy of the corresponding source code, to be
588- distributed under the terms of Sections 1 and 2 above on a medium
589- customarily used for software interchange; or,
590-
591- c) Accompany it with the information you received as to the offer
592- to distribute corresponding source code. (This alternative is
593- allowed only for noncommercial distribution and only if you
594- received the program in object code or executable form with such
595- an offer, in accord with Subsection b above.)
596-
597-The source code for a work means the preferred form of the work for
598-making modifications to it. For an executable work, complete source
599-code means all the source code for all modules it contains, plus any
600-associated interface definition files, plus the scripts used to
601-control compilation and installation of the executable. However, as a
602-special exception, the source code distributed need not include
603-anything that is normally distributed (in either source or binary
604-form) with the major components (compiler, kernel, and so on) of the
605-operating system on which the executable runs, unless that component
606-itself accompanies the executable.
607-
608-If distribution of executable or object code is made by offering
609-access to copy from a designated place, then offering equivalent
610-access to copy the source code from the same place counts as
611-distribution of the source code, even though third parties are not
612-compelled to copy the source along with the object code.
613-
614- 4. You may not copy, modify, sublicense, or distribute the Program
615-except as expressly provided under this License. Any attempt
616-otherwise to copy, modify, sublicense or distribute the Program is
617-void, and will automatically terminate your rights under this License.
618-However, parties who have received copies, or rights, from you under
619-this License will not have their licenses terminated so long as such
620-parties remain in full compliance.
621-
622- 5. You are not required to accept this License, since you have not
623-signed it. However, nothing else grants you permission to modify or
624-distribute the Program or its derivative works. These actions are
625-prohibited by law if you do not accept this License. Therefore, by
626-modifying or distributing the Program (or any work based on the
627-Program), you indicate your acceptance of this License to do so, and
628-all its terms and conditions for copying, distributing or modifying
629-the Program or works based on it.
630-
631- 6. Each time you redistribute the Program (or any work based on the
632-Program), the recipient automatically receives a license from the
633-original licensor to copy, distribute or modify the Program subject to
634-these terms and conditions. You may not impose any further
635-restrictions on the recipients' exercise of the rights granted herein.
636-You are not responsible for enforcing compliance by third parties to
637+ TERMS AND CONDITIONS
638+
639+ 0. Definitions.
640+
641+ "This License" refers to version 3 of the GNU General Public License.
642+
643+ "Copyright" also means copyright-like laws that apply to other kinds of
644+works, such as semiconductor masks.
645+
646+ "The Program" refers to any copyrightable work licensed under this
647+License. Each licensee is addressed as "you". "Licensees" and
648+"recipients" may be individuals or organizations.
649+
650+ To "modify" a work means to copy from or adapt all or part of the work
651+in a fashion requiring copyright permission, other than the making of an
652+exact copy. The resulting work is called a "modified version" of the
653+earlier work or a work "based on" the earlier work.
654+
655+ A "covered work" means either the unmodified Program or a work based
656+on the Program.
657+
658+ To "propagate" a work means to do anything with it that, without
659+permission, would make you directly or secondarily liable for
660+infringement under applicable copyright law, except executing it on a
661+computer or modifying a private copy. Propagation includes copying,
662+distribution (with or without modification), making available to the
663+public, and in some countries other activities as well.
664+
665+ To "convey" a work means any kind of propagation that enables other
666+parties to make or receive copies. Mere interaction with a user through
667+a computer network, with no transfer of a copy, is not conveying.
668+
669+ An interactive user interface displays "Appropriate Legal Notices"
670+to the extent that it includes a convenient and prominently visible
671+feature that (1) displays an appropriate copyright notice, and (2)
672+tells the user that there is no warranty for the work (except to the
673+extent that warranties are provided), that licensees may convey the
674+work under this License, and how to view a copy of this License. If
675+the interface presents a list of user commands or options, such as a
676+menu, a prominent item in the list meets this criterion.
677+
678+ 1. Source Code.
679+
680+ The "source code" for a work means the preferred form of the work
681+for making modifications to it. "Object code" means any non-source
682+form of a work.
683+
684+ A "Standard Interface" means an interface that either is an official
685+standard defined by a recognized standards body, or, in the case of
686+interfaces specified for a particular programming language, one that
687+is widely used among developers working in that language.
688+
689+ The "System Libraries" of an executable work include anything, other
690+than the work as a whole, that (a) is included in the normal form of
691+packaging a Major Component, but which is not part of that Major
692+Component, and (b) serves only to enable use of the work with that
693+Major Component, or to implement a Standard Interface for which an
694+implementation is available to the public in source code form. A
695+"Major Component", in this context, means a major essential component
696+(kernel, window system, and so on) of the specific operating system
697+(if any) on which the executable work runs, or a compiler used to
698+produce the work, or an object code interpreter used to run it.
699+
700+ The "Corresponding Source" for a work in object code form means all
701+the source code needed to generate, install, and (for an executable
702+work) run the object code and to modify the work, including scripts to
703+control those activities. However, it does not include the work's
704+System Libraries, or general-purpose tools or generally available free
705+programs which are used unmodified in performing those activities but
706+which are not part of the work. For example, Corresponding Source
707+includes interface definition files associated with source files for
708+the work, and the source code for shared libraries and dynamically
709+linked subprograms that the work is specifically designed to require,
710+such as by intimate data communication or control flow between those
711+subprograms and other parts of the work.
712+
713+ The Corresponding Source need not include anything that users
714+can regenerate automatically from other parts of the Corresponding
715+Source.
716+
717+ The Corresponding Source for a work in source code form is that
718+same work.
719+
720+ 2. Basic Permissions.
721+
722+ All rights granted under this License are granted for the term of
723+copyright on the Program, and are irrevocable provided the stated
724+conditions are met. This License explicitly affirms your unlimited
725+permission to run the unmodified Program. The output from running a
726+covered work is covered by this License only if the output, given its
727+content, constitutes a covered work. This License acknowledges your
728+rights of fair use or other equivalent, as provided by copyright law.
729+
730+ You may make, run and propagate covered works that you do not
731+convey, without conditions so long as your license otherwise remains
732+in force. You may convey covered works to others for the sole purpose
733+of having them make modifications exclusively for you, or provide you
734+with facilities for running those works, provided that you comply with
735+the terms of this License in conveying all material for which you do
736+not control copyright. Those thus making or running the covered works
737+for you must do so exclusively on your behalf, under your direction
738+and control, on terms that prohibit them from making any copies of
739+your copyrighted material outside their relationship with you.
740+
741+ Conveying under any other circumstances is permitted solely under
742+the conditions stated below. Sublicensing is not allowed; section 10
743+makes it unnecessary.
744+
745+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
746+
747+ No covered work shall be deemed part of an effective technological
748+measure under any applicable law fulfilling obligations under article
749+11 of the WIPO copyright treaty adopted on 20 December 1996, or
750+similar laws prohibiting or restricting circumvention of such
751+measures.
752+
753+ When you convey a covered work, you waive any legal power to forbid
754+circumvention of technological measures to the extent such circumvention
755+is effected by exercising rights under this License with respect to
756+the covered work, and you disclaim any intention to limit operation or
757+modification of the work as a means of enforcing, against the work's
758+users, your or third parties' legal rights to forbid circumvention of
759+technological measures.
760+
761+ 4. Conveying Verbatim Copies.
762+
763+ You may convey verbatim copies of the Program's source code as you
764+receive it, in any medium, provided that you conspicuously and
765+appropriately publish on each copy an appropriate copyright notice;
766+keep intact all notices stating that this License and any
767+non-permissive terms added in accord with section 7 apply to the code;
768+keep intact all notices of the absence of any warranty; and give all
769+recipients a copy of this License along with the Program.
770+
771+ You may charge any price or no price for each copy that you convey,
772+and you may offer support or warranty protection for a fee.
773+
774+ 5. Conveying Modified Source Versions.
775+
776+ You may convey a work based on the Program, or the modifications to
777+produce it from the Program, in the form of source code under the
778+terms of section 4, provided that you also meet all of these conditions:
779+
780+ a) The work must carry prominent notices stating that you modified
781+ it, and giving a relevant date.
782+
783+ b) The work must carry prominent notices stating that it is
784+ released under this License and any conditions added under section
785+ 7. This requirement modifies the requirement in section 4 to
786+ "keep intact all notices".
787+
788+ c) You must license the entire work, as a whole, under this
789+ License to anyone who comes into possession of a copy. This
790+ License will therefore apply, along with any applicable section 7
791+ additional terms, to the whole of the work, and all its parts,
792+ regardless of how they are packaged. This License gives no
793+ permission to license the work in any other way, but it does not
794+ invalidate such permission if you have separately received it.
795+
796+ d) If the work has interactive user interfaces, each must display
797+ Appropriate Legal Notices; however, if the Program has interactive
798+ interfaces that do not display Appropriate Legal Notices, your
799+ work need not make them do so.
800+
801+ A compilation of a covered work with other separate and independent
802+works, which are not by their nature extensions of the covered work,
803+and which are not combined with it such as to form a larger program,
804+in or on a volume of a storage or distribution medium, is called an
805+"aggregate" if the compilation and its resulting copyright are not
806+used to limit the access or legal rights of the compilation's users
807+beyond what the individual works permit. Inclusion of a covered work
808+in an aggregate does not cause this License to apply to the other
809+parts of the aggregate.
810+
811+ 6. Conveying Non-Source Forms.
812+
813+ You may convey a covered work in object code form under the terms
814+of sections 4 and 5, provided that you also convey the
815+machine-readable Corresponding Source under the terms of this License,
816+in one of these ways:
817+
818+ a) Convey the object code in, or embodied in, a physical product
819+ (including a physical distribution medium), accompanied by the
820+ Corresponding Source fixed on a durable physical medium
821+ customarily used for software interchange.
822+
823+ b) Convey the object code in, or embodied in, a physical product
824+ (including a physical distribution medium), accompanied by a
825+ written offer, valid for at least three years and valid for as
826+ long as you offer spare parts or customer support for that product
827+ model, to give anyone who possesses the object code either (1) a
828+ copy of the Corresponding Source for all the software in the
829+ product that is covered by this License, on a durable physical
830+ medium customarily used for software interchange, for a price no
831+ more than your reasonable cost of physically performing this
832+ conveying of source, or (2) access to copy the
833+ Corresponding Source from a network server at no charge.
834+
835+ c) Convey individual copies of the object code with a copy of the
836+ written offer to provide the Corresponding Source. This
837+ alternative is allowed only occasionally and noncommercially, and
838+ only if you received the object code with such an offer, in accord
839+ with subsection 6b.
840+
841+ d) Convey the object code by offering access from a designated
842+ place (gratis or for a charge), and offer equivalent access to the
843+ Corresponding Source in the same way through the same place at no
844+ further charge. You need not require recipients to copy the
845+ Corresponding Source along with the object code. If the place to
846+ copy the object code is a network server, the Corresponding Source
847+ may be on a different server (operated by you or a third party)
848+ that supports equivalent copying facilities, provided you maintain
849+ clear directions next to the object code saying where to find the
850+ Corresponding Source. Regardless of what server hosts the
851+ Corresponding Source, you remain obligated to ensure that it is
852+ available for as long as needed to satisfy these requirements.
853+
854+ e) Convey the object code using peer-to-peer transmission, provided
855+ you inform other peers where the object code and Corresponding
856+ Source of the work are being offered to the general public at no
857+ charge under subsection 6d.
858+
859+ A separable portion of the object code, whose source code is excluded
860+from the Corresponding Source as a System Library, need not be
861+included in conveying the object code work.
862+
863+ A "User Product" is either (1) a "consumer product", which means any
864+tangible personal property which is normally used for personal, family,
865+or household purposes, or (2) anything designed or sold for incorporation
866+into a dwelling. In determining whether a product is a consumer product,
867+doubtful cases shall be resolved in favor of coverage. For a particular
868+product received by a particular user, "normally used" refers to a
869+typical or common use of that class of product, regardless of the status
870+of the particular user or of the way in which the particular user
871+actually uses, or expects or is expected to use, the product. A product
872+is a consumer product regardless of whether the product has substantial
873+commercial, industrial or non-consumer uses, unless such uses represent
874+the only significant mode of use of the product.
875+
876+ "Installation Information" for a User Product means any methods,
877+procedures, authorization keys, or other information required to install
878+and execute modified versions of a covered work in that User Product from
879+a modified version of its Corresponding Source. The information must
880+suffice to ensure that the continued functioning of the modified object
881+code is in no case prevented or interfered with solely because
882+modification has been made.
883+
884+ If you convey an object code work under this section in, or with, or
885+specifically for use in, a User Product, and the conveying occurs as
886+part of a transaction in which the right of possession and use of the
887+User Product is transferred to the recipient in perpetuity or for a
888+fixed term (regardless of how the transaction is characterized), the
889+Corresponding Source conveyed under this section must be accompanied
890+by the Installation Information. But this requirement does not apply
891+if neither you nor any third party retains the ability to install
892+modified object code on the User Product (for example, the work has
893+been installed in ROM).
894+
895+ The requirement to provide Installation Information does not include a
896+requirement to continue to provide support service, warranty, or updates
897+for a work that has been modified or installed by the recipient, or for
898+the User Product in which it has been modified or installed. Access to a
899+network may be denied when the modification itself materially and
900+adversely affects the operation of the network or violates the rules and
901+protocols for communication across the network.
902+
903+ Corresponding Source conveyed, and Installation Information provided,
904+in accord with this section must be in a format that is publicly
905+documented (and with an implementation available to the public in
906+source code form), and must require no special password or key for
907+unpacking, reading or copying.
908+
909+ 7. Additional Terms.
910+
911+ "Additional permissions" are terms that supplement the terms of this
912+License by making exceptions from one or more of its conditions.
913+Additional permissions that are applicable to the entire Program shall
914+be treated as though they were included in this License, to the extent
915+that they are valid under applicable law. If additional permissions
916+apply only to part of the Program, that part may be used separately
917+under those permissions, but the entire Program remains governed by
918+this License without regard to the additional permissions.
919+
920+ When you convey a copy of a covered work, you may at your option
921+remove any additional permissions from that copy, or from any part of
922+it. (Additional permissions may be written to require their own
923+removal in certain cases when you modify the work.) You may place
924+additional permissions on material, added by you to a covered work,
925+for which you have or can give appropriate copyright permission.
926+
927+ Notwithstanding any other provision of this License, for material you
928+add to a covered work, you may (if authorized by the copyright holders of
929+that material) supplement the terms of this License with terms:
930+
931+ a) Disclaiming warranty or limiting liability differently from the
932+ terms of sections 15 and 16 of this License; or
933+
934+ b) Requiring preservation of specified reasonable legal notices or
935+ author attributions in that material or in the Appropriate Legal
936+ Notices displayed by works containing it; or
937+
938+ c) Prohibiting misrepresentation of the origin of that material, or
939+ requiring that modified versions of such material be marked in
940+ reasonable ways as different from the original version; or
941+
942+ d) Limiting the use for publicity purposes of names of licensors or
943+ authors of the material; or
944+
945+ e) Declining to grant rights under trademark law for use of some
946+ trade names, trademarks, or service marks; or
947+
948+ f) Requiring indemnification of licensors and authors of that
949+ material by anyone who conveys the material (or modified versions of
950+ it) with contractual assumptions of liability to the recipient, for
951+ any liability that these contractual assumptions directly impose on
952+ those licensors and authors.
953+
954+ All other non-permissive additional terms are considered "further
955+restrictions" within the meaning of section 10. If the Program as you
956+received it, or any part of it, contains a notice stating that it is
957+governed by this License along with a term that is a further
958+restriction, you may remove that term. If a license document contains
959+a further restriction but permits relicensing or conveying under this
960+License, you may add to a covered work material governed by the terms
961+of that license document, provided that the further restriction does
962+not survive such relicensing or conveying.
963+
964+ If you add terms to a covered work in accord with this section, you
965+must place, in the relevant source files, a statement of the
966+additional terms that apply to those files, or a notice indicating
967+where to find the applicable terms.
968+
969+ Additional terms, permissive or non-permissive, may be stated in the
970+form of a separately written license, or stated as exceptions;
971+the above requirements apply either way.
972+
973+ 8. Termination.
974+
975+ You may not propagate or modify a covered work except as expressly
976+provided under this License. Any attempt otherwise to propagate or
977+modify it is void, and will automatically terminate your rights under
978+this License (including any patent licenses granted under the third
979+paragraph of section 11).
980+
981+ However, if you cease all violation of this License, then your
982+license from a particular copyright holder is reinstated (a)
983+provisionally, unless and until the copyright holder explicitly and
984+finally terminates your license, and (b) permanently, if the copyright
985+holder fails to notify you of the violation by some reasonable means
986+prior to 60 days after the cessation.
987+
988+ Moreover, your license from a particular copyright holder is
989+reinstated permanently if the copyright holder notifies you of the
990+violation by some reasonable means, this is the first time you have
991+received notice of violation of this License (for any work) from that
992+copyright holder, and you cure the violation prior to 30 days after
993+your receipt of the notice.
994+
995+ Termination of your rights under this section does not terminate the
996+licenses of parties who have received copies or rights from you under
997+this License. If your rights have been terminated and not permanently
998+reinstated, you do not qualify to receive new licenses for the same
999+material under section 10.
1000+
1001+ 9. Acceptance Not Required for Having Copies.
1002+
1003+ You are not required to accept this License in order to receive or
1004+run a copy of the Program. Ancillary propagation of a covered work
1005+occurring solely as a consequence of using peer-to-peer transmission
1006+to receive a copy likewise does not require acceptance. However,
1007+nothing other than this License grants you permission to propagate or
1008+modify any covered work. These actions infringe copyright if you do
1009+not accept this License. Therefore, by modifying or propagating a
1010+covered work, you indicate your acceptance of this License to do so.
1011+
1012+ 10. Automatic Licensing of Downstream Recipients.
1013+
1014+ Each time you convey a covered work, the recipient automatically
1015+receives a license from the original licensors, to run, modify and
1016+propagate that work, subject to this License. You are not responsible
1017+for enforcing compliance by third parties with this License.
1018+
1019+ An "entity transaction" is a transaction transferring control of an
1020+organization, or substantially all assets of one, or subdividing an
1021+organization, or merging organizations. If propagation of a covered
1022+work results from an entity transaction, each party to that
1023+transaction who receives a copy of the work also receives whatever
1024+licenses to the work the party's predecessor in interest had or could
1025+give under the previous paragraph, plus a right to possession of the
1026+Corresponding Source of the work from the predecessor in interest, if
1027+the predecessor has it or can get it with reasonable efforts.
1028+
1029+ You may not impose any further restrictions on the exercise of the
1030+rights granted or affirmed under this License. For example, you may
1031+not impose a license fee, royalty, or other charge for exercise of
1032+rights granted under this License, and you may not initiate litigation
1033+(including a cross-claim or counterclaim in a lawsuit) alleging that
1034+any patent claim is infringed by making, using, selling, offering for
1035+sale, or importing the Program or any portion of it.
1036+
1037+ 11. Patents.
1038+
1039+ A "contributor" is a copyright holder who authorizes use under this
1040+License of the Program or a work on which the Program is based. The
1041+work thus licensed is called the contributor's "contributor version".
1042+
1043+ A contributor's "essential patent claims" are all patent claims
1044+owned or controlled by the contributor, whether already acquired or
1045+hereafter acquired, that would be infringed by some manner, permitted
1046+by this License, of making, using, or selling its contributor version,
1047+but do not include claims that would be infringed only as a
1048+consequence of further modification of the contributor version. For
1049+purposes of this definition, "control" includes the right to grant
1050+patent sublicenses in a manner consistent with the requirements of
1051 this License.
1052
1053- 7. If, as a consequence of a court judgment or allegation of patent
1054-infringement or for any other reason (not limited to patent issues),
1055-conditions are imposed on you (whether by court order, agreement or
1056+ Each contributor grants you a non-exclusive, worldwide, royalty-free
1057+patent license under the contributor's essential patent claims, to
1058+make, use, sell, offer for sale, import and otherwise run, modify and
1059+propagate the contents of its contributor version.
1060+
1061+ In the following three paragraphs, a "patent license" is any express
1062+agreement or commitment, however denominated, not to enforce a patent
1063+(such as an express permission to practice a patent or covenant not to
1064+sue for patent infringement). To "grant" such a patent license to a
1065+party means to make such an agreement or commitment not to enforce a
1066+patent against the party.
1067+
1068+ If you convey a covered work, knowingly relying on a patent license,
1069+and the Corresponding Source of the work is not available for anyone
1070+to copy, free of charge and under the terms of this License, through a
1071+publicly available network server or other readily accessible means,
1072+then you must either (1) cause the Corresponding Source to be so
1073+available, or (2) arrange to deprive yourself of the benefit of the
1074+patent license for this particular work, or (3) arrange, in a manner
1075+consistent with the requirements of this License, to extend the patent
1076+license to downstream recipients. "Knowingly relying" means you have
1077+actual knowledge that, but for the patent license, your conveying the
1078+covered work in a country, or your recipient's use of the covered work
1079+in a country, would infringe one or more identifiable patents in that
1080+country that you have reason to believe are valid.
1081+
1082+ If, pursuant to or in connection with a single transaction or
1083+arrangement, you convey, or propagate by procuring conveyance of, a
1084+covered work, and grant a patent license to some of the parties
1085+receiving the covered work authorizing them to use, propagate, modify
1086+or convey a specific copy of the covered work, then the patent license
1087+you grant is automatically extended to all recipients of the covered
1088+work and works based on it.
1089+
1090+ A patent license is "discriminatory" if it does not include within
1091+the scope of its coverage, prohibits the exercise of, or is
1092+conditioned on the non-exercise of one or more of the rights that are
1093+specifically granted under this License. You may not convey a covered
1094+work if you are a party to an arrangement with a third party that is
1095+in the business of distributing software, under which you make payment
1096+to the third party based on the extent of your activity of conveying
1097+the work, and under which the third party grants, to any of the
1098+parties who would receive the covered work from you, a discriminatory
1099+patent license (a) in connection with copies of the covered work
1100+conveyed by you (or copies made from those copies), or (b) primarily
1101+for and in connection with specific products or compilations that
1102+contain the covered work, unless you entered into that arrangement,
1103+or that patent license was granted, prior to 28 March 2007.
1104+
1105+ Nothing in this License shall be construed as excluding or limiting
1106+any implied license or other defenses to infringement that may
1107+otherwise be available to you under applicable patent law.
1108+
1109+ 12. No Surrender of Others' Freedom.
1110+
1111+ If conditions are imposed on you (whether by court order, agreement or
1112 otherwise) that contradict the conditions of this License, they do not
1113-excuse you from the conditions of this License. If you cannot
1114-distribute so as to satisfy simultaneously your obligations under this
1115-License and any other pertinent obligations, then as a consequence you
1116-may not distribute the Program at all. For example, if a patent
1117-license would not permit royalty-free redistribution of the Program by
1118-all those who receive copies directly or indirectly through you, then
1119-the only way you could satisfy both it and this License would be to
1120-refrain entirely from distribution of the Program.
1121-
1122-If any portion of this section is held invalid or unenforceable under
1123-any particular circumstance, the balance of the section is intended to
1124-apply and the section as a whole is intended to apply in other
1125-circumstances.
1126-
1127-It is not the purpose of this section to induce you to infringe any
1128-patents or other property right claims or to contest validity of any
1129-such claims; this section has the sole purpose of protecting the
1130-integrity of the free software distribution system, which is
1131-implemented by public license practices. Many people have made
1132-generous contributions to the wide range of software distributed
1133-through that system in reliance on consistent application of that
1134-system; it is up to the author/donor to decide if he or she is willing
1135-to distribute software through any other system and a licensee cannot
1136-impose that choice.
1137-
1138-This section is intended to make thoroughly clear what is believed to
1139-be a consequence of the rest of this License.
1140-
1141- 8. If the distribution and/or use of the Program is restricted in
1142-certain countries either by patents or by copyrighted interfaces, the
1143-original copyright holder who places the Program under this License
1144-may add an explicit geographical distribution limitation excluding
1145-those countries, so that distribution is permitted only in or among
1146-countries not thus excluded. In such case, this License incorporates
1147-the limitation as if written in the body of this License.
1148-
1149- 9. The Free Software Foundation may publish revised and/or new versions
1150-of the General Public License from time to time. Such new versions will
1151+excuse you from the conditions of this License. If you cannot convey a
1152+covered work so as to satisfy simultaneously your obligations under this
1153+License and any other pertinent obligations, then as a consequence you may
1154+not convey it at all. For example, if you agree to terms that obligate you
1155+to collect a royalty for further conveying from those to whom you convey
1156+the Program, the only way you could satisfy both those terms and this
1157+License would be to refrain entirely from conveying the Program.
1158+
1159+ 13. Use with the GNU Affero General Public License.
1160+
1161+ Notwithstanding any other provision of this License, you have
1162+permission to link or combine any covered work with a work licensed
1163+under version 3 of the GNU Affero General Public License into a single
1164+combined work, and to convey the resulting work. The terms of this
1165+License will continue to apply to the part which is the covered work,
1166+but the special requirements of the GNU Affero General Public License,
1167+section 13, concerning interaction through a network will apply to the
1168+combination as such.
1169+
1170+ 14. Revised Versions of this License.
1171+
1172+ The Free Software Foundation may publish revised and/or new versions of
1173+the GNU General Public License from time to time. Such new versions will
1174 be similar in spirit to the present version, but may differ in detail to
1175 address new problems or concerns.
1176
1177-Each version is given a distinguishing version number. If the Program
1178-specifies a version number of this License which applies to it and "any
1179-later version", you have the option of following the terms and conditions
1180-either of that version or of any later version published by the Free
1181-Software Foundation. If the Program does not specify a version number of
1182-this License, you may choose any version ever published by the Free Software
1183-Foundation.
1184-
1185- 10. If you wish to incorporate parts of the Program into other free
1186-programs whose distribution conditions are different, write to the author
1187-to ask for permission. For software which is copyrighted by the Free
1188-Software Foundation, write to the Free Software Foundation; we sometimes
1189-make exceptions for this. Our decision will be guided by the two goals
1190-of preserving the free status of all derivatives of our free software and
1191-of promoting the sharing and reuse of software generally.
1192-
1193- NO WARRANTY
1194-
1195- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1196-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1197-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1198-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1199-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1200-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1201-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1202-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1203-REPAIR OR CORRECTION.
1204-
1205- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1206-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1207-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1208-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1209-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1210-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1211-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1212-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1213-POSSIBILITY OF SUCH DAMAGES.
1214-
1215- END OF TERMS AND CONDITIONS
1216-
1217- How to Apply These Terms to Your New Programs
1218+ Each version is given a distinguishing version number. If the
1219+Program specifies that a certain numbered version of the GNU General
1220+Public License "or any later version" applies to it, you have the
1221+option of following the terms and conditions either of that numbered
1222+version or of any later version published by the Free Software
1223+Foundation. If the Program does not specify a version number of the
1224+GNU General Public License, you may choose any version ever published
1225+by the Free Software Foundation.
1226+
1227+ If the Program specifies that a proxy can decide which future
1228+versions of the GNU General Public License can be used, that proxy's
1229+public statement of acceptance of a version permanently authorizes you
1230+to choose that version for the Program.
1231+
1232+ Later license versions may give you additional or different
1233+permissions. However, no additional obligations are imposed on any
1234+author or copyright holder as a result of your choosing to follow a
1235+later version.
1236+
1237+ 15. Disclaimer of Warranty.
1238+
1239+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1240+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1241+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1242+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1243+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1244+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1245+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1246+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1247+
1248+ 16. Limitation of Liability.
1249+
1250+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1251+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1252+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1253+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1254+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1255+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1256+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1257+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1258+SUCH DAMAGES.
1259+
1260+ 17. Interpretation of Sections 15 and 16.
1261+
1262+ If the disclaimer of warranty and limitation of liability provided
1263+above cannot be given local legal effect according to their terms,
1264+reviewing courts shall apply local law that most closely approximates
1265+an absolute waiver of all civil liability in connection with the
1266+Program, unless a warranty or assumption of liability accompanies a
1267+copy of the Program in return for a fee.
1268+
1269+ END OF TERMS AND CONDITIONS
1270+
1271+ How to Apply These Terms to Your New Programs
1272
1273 If you develop a new program, and you want it to be of the greatest
1274 possible use to the public, the best way to achieve this is to make it
1275@@ -287,15 +628,15 @@
1276
1277 To do so, attach the following notices to the program. It is safest
1278 to attach them to the start of each source file to most effectively
1279-convey the exclusion of warranty; and each file should have at least
1280+state the exclusion of warranty; and each file should have at least
1281 the "copyright" line and a pointer to where the full notice is found.
1282
1283 <one line to give the program's name and a brief idea of what it does.>
1284 Copyright (C) <year> <name of author>
1285
1286- This program is free software; you can redistribute it and/or modify
1287+ This program is free software: you can redistribute it and/or modify
1288 it under the terms of the GNU General Public License as published by
1289- the Free Software Foundation; either version 2 of the License, or
1290+ the Free Software Foundation, either version 3 of the License, or
1291 (at your option) any later version.
1292
1293 This program is distributed in the hope that it will be useful,
1294@@ -303,37 +644,31 @@
1295 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1296 GNU General Public License for more details.
1297
1298- You should have received a copy of the GNU General Public License along
1299- with this program; if not, write to the Free Software Foundation, Inc.,
1300- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1301+ You should have received a copy of the GNU General Public License
1302+ along with this program. If not, see <https://www.gnu.org/licenses/>.
1303
1304 Also add information on how to contact you by electronic and paper mail.
1305
1306-If the program is interactive, make it output a short notice like this
1307-when it starts in an interactive mode:
1308+ If the program does terminal interaction, make it output a short
1309+notice like this when it starts in an interactive mode:
1310
1311- Gnomovision version 69, Copyright (C) year name of author
1312- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1313+ <program> Copyright (C) <year> <name of author>
1314+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1315 This is free software, and you are welcome to redistribute it
1316 under certain conditions; type `show c' for details.
1317
1318 The hypothetical commands `show w' and `show c' should show the appropriate
1319-parts of the General Public License. Of course, the commands you use may
1320-be called something other than `show w' and `show c'; they could even be
1321-mouse-clicks or menu items--whatever suits your program.
1322-
1323-You should also get your employer (if you work as a programmer) or your
1324-school, if any, to sign a "copyright disclaimer" for the program, if
1325-necessary. Here is a sample; alter the names:
1326-
1327- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1328- `Gnomovision' (which makes passes at compilers) written by James Hacker.
1329-
1330- <signature of Ty Coon>, 1 April 1989
1331- Ty Coon, President of Vice
1332-
1333-This General Public License does not permit incorporating your program into
1334-proprietary programs. If your program is a subroutine library, you may
1335-consider it more useful to permit linking proprietary applications with the
1336-library. If this is what you want to do, use the GNU Lesser General
1337-Public License instead of this License.
1338+parts of the General Public License. Of course, your program's commands
1339+might be different; for a GUI interface, you would use an "about box".
1340+
1341+ You should also get your employer (if you work as a programmer) or school,
1342+if any, to sign a "copyright disclaimer" for the program, if necessary.
1343+For more information on this, and how to apply and follow the GNU GPL, see
1344+<https://www.gnu.org/licenses/>.
1345+
1346+ The GNU General Public License does not permit incorporating your program
1347+into proprietary programs. If your program is a subroutine library, you
1348+may consider it more useful to permit linking proprietary applications with
1349+the library. If this is what you want to do, use the GNU Lesser General
1350+Public License instead of this License. But first, please read
1351+<https://www.gnu.org/licenses/why-not-lgpl.html>.
1352
1353=== added file 'pyinstaller-hooks/hook-sqlalchemy.ext.baked.py'
1354--- pyinstaller-hooks/hook-sqlalchemy.ext.baked.py 1970-01-01 00:00:00 +0000
1355+++ pyinstaller-hooks/hook-sqlalchemy.ext.baked.py 2019-05-20 22:20:27 +0000
1356@@ -0,0 +1,23 @@
1357+# -*- coding: utf-8 -*-
1358+# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
1359+
1360+###############################################################################
1361+# OpenLP - Open Source Lyrics Projection #
1362+# --------------------------------------------------------------------------- #
1363+# Copyright (c) 2008-2015 OpenLP Developers #
1364+# --------------------------------------------------------------------------- #
1365+# This program is free software; you can redistribute it and/or modify it #
1366+# under the terms of the GNU General Public License as published by the Free #
1367+# Software Foundation; version 2 of the License. #
1368+# #
1369+# This program is distributed in the hope that it will be useful, but WITHOUT #
1370+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
1371+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
1372+# more details. #
1373+# #
1374+# You should have received a copy of the GNU General Public License along #
1375+# with this program; if not, write to the Free Software Foundation, Inc., 59 #
1376+# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
1377+###############################################################################
1378+
1379+hiddenimports = ['sqlalchemy.ext.baked']
1380
1381=== added file 'windows/LICENSE.txt'
1382--- windows/LICENSE.txt 1970-01-01 00:00:00 +0000
1383+++ windows/LICENSE.txt 2019-05-20 22:20:27 +0000
1384@@ -0,0 +1,674 @@
1385+ GNU GENERAL PUBLIC LICENSE
1386+ Version 3, 29 June 2007
1387+
1388+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
1389+ Everyone is permitted to copy and distribute verbatim copies
1390+ of this license document, but changing it is not allowed.
1391+
1392+ Preamble
1393+
1394+ The GNU General Public License is a free, copyleft license for
1395+software and other kinds of works.
1396+
1397+ The licenses for most software and other practical works are designed
1398+to take away your freedom to share and change the works. By contrast,
1399+the GNU General Public License is intended to guarantee your freedom to
1400+share and change all versions of a program--to make sure it remains free
1401+software for all its users. We, the Free Software Foundation, use the
1402+GNU General Public License for most of our software; it applies also to
1403+any other work released this way by its authors. You can apply it to
1404+your programs, too.
1405+
1406+ When we speak of free software, we are referring to freedom, not
1407+price. Our General Public Licenses are designed to make sure that you
1408+have the freedom to distribute copies of free software (and charge for
1409+them if you wish), that you receive source code or can get it if you
1410+want it, that you can change the software or use pieces of it in new
1411+free programs, and that you know you can do these things.
1412+
1413+ To protect your rights, we need to prevent others from denying you
1414+these rights or asking you to surrender the rights. Therefore, you have
1415+certain responsibilities if you distribute copies of the software, or if
1416+you modify it: responsibilities to respect the freedom of others.
1417+
1418+ For example, if you distribute copies of such a program, whether
1419+gratis or for a fee, you must pass on to the recipients the same
1420+freedoms that you received. You must make sure that they, too, receive
1421+or can get the source code. And you must show them these terms so they
1422+know their rights.
1423+
1424+ Developers that use the GNU GPL protect your rights with two steps:
1425+(1) assert copyright on the software, and (2) offer you this License
1426+giving you legal permission to copy, distribute and/or modify it.
1427+
1428+ For the developers' and authors' protection, the GPL clearly explains
1429+that there is no warranty for this free software. For both users' and
1430+authors' sake, the GPL requires that modified versions be marked as
1431+changed, so that their problems will not be attributed erroneously to
1432+authors of previous versions.
1433+
1434+ Some devices are designed to deny users access to install or run
1435+modified versions of the software inside them, although the manufacturer
1436+can do so. This is fundamentally incompatible with the aim of
1437+protecting users' freedom to change the software. The systematic
1438+pattern of such abuse occurs in the area of products for individuals to
1439+use, which is precisely where it is most unacceptable. Therefore, we
1440+have designed this version of the GPL to prohibit the practice for those
1441+products. If such problems arise substantially in other domains, we
1442+stand ready to extend this provision to those domains in future versions
1443+of the GPL, as needed to protect the freedom of users.
1444+
1445+ Finally, every program is threatened constantly by software patents.
1446+States should not allow patents to restrict development and use of
1447+software on general-purpose computers, but in those that do, we wish to
1448+avoid the special danger that patents applied to a free program could
1449+make it effectively proprietary. To prevent this, the GPL assures that
1450+patents cannot be used to render the program non-free.
1451+
1452+ The precise terms and conditions for copying, distribution and
1453+modification follow.
1454+
1455+ TERMS AND CONDITIONS
1456+
1457+ 0. Definitions.
1458+
1459+ "This License" refers to version 3 of the GNU General Public License.
1460+
1461+ "Copyright" also means copyright-like laws that apply to other kinds of
1462+works, such as semiconductor masks.
1463+
1464+ "The Program" refers to any copyrightable work licensed under this
1465+License. Each licensee is addressed as "you". "Licensees" and
1466+"recipients" may be individuals or organizations.
1467+
1468+ To "modify" a work means to copy from or adapt all or part of the work
1469+in a fashion requiring copyright permission, other than the making of an
1470+exact copy. The resulting work is called a "modified version" of the
1471+earlier work or a work "based on" the earlier work.
1472+
1473+ A "covered work" means either the unmodified Program or a work based
1474+on the Program.
1475+
1476+ To "propagate" a work means to do anything with it that, without
1477+permission, would make you directly or secondarily liable for
1478+infringement under applicable copyright law, except executing it on a
1479+computer or modifying a private copy. Propagation includes copying,
1480+distribution (with or without modification), making available to the
1481+public, and in some countries other activities as well.
1482+
1483+ To "convey" a work means any kind of propagation that enables other
1484+parties to make or receive copies. Mere interaction with a user through
1485+a computer network, with no transfer of a copy, is not conveying.
1486+
1487+ An interactive user interface displays "Appropriate Legal Notices"
1488+to the extent that it includes a convenient and prominently visible
1489+feature that (1) displays an appropriate copyright notice, and (2)
1490+tells the user that there is no warranty for the work (except to the
1491+extent that warranties are provided), that licensees may convey the
1492+work under this License, and how to view a copy of this License. If
1493+the interface presents a list of user commands or options, such as a
1494+menu, a prominent item in the list meets this criterion.
1495+
1496+ 1. Source Code.
1497+
1498+ The "source code" for a work means the preferred form of the work
1499+for making modifications to it. "Object code" means any non-source
1500+form of a work.
1501+
1502+ A "Standard Interface" means an interface that either is an official
1503+standard defined by a recognized standards body, or, in the case of
1504+interfaces specified for a particular programming language, one that
1505+is widely used among developers working in that language.
1506+
1507+ The "System Libraries" of an executable work include anything, other
1508+than the work as a whole, that (a) is included in the normal form of
1509+packaging a Major Component, but which is not part of that Major
1510+Component, and (b) serves only to enable use of the work with that
1511+Major Component, or to implement a Standard Interface for which an
1512+implementation is available to the public in source code form. A
1513+"Major Component", in this context, means a major essential component
1514+(kernel, window system, and so on) of the specific operating system
1515+(if any) on which the executable work runs, or a compiler used to
1516+produce the work, or an object code interpreter used to run it.
1517+
1518+ The "Corresponding Source" for a work in object code form means all
1519+the source code needed to generate, install, and (for an executable
1520+work) run the object code and to modify the work, including scripts to
1521+control those activities. However, it does not include the work's
1522+System Libraries, or general-purpose tools or generally available free
1523+programs which are used unmodified in performing those activities but
1524+which are not part of the work. For example, Corresponding Source
1525+includes interface definition files associated with source files for
1526+the work, and the source code for shared libraries and dynamically
1527+linked subprograms that the work is specifically designed to require,
1528+such as by intimate data communication or control flow between those
1529+subprograms and other parts of the work.
1530+
1531+ The Corresponding Source need not include anything that users
1532+can regenerate automatically from other parts of the Corresponding
1533+Source.
1534+
1535+ The Corresponding Source for a work in source code form is that
1536+same work.
1537+
1538+ 2. Basic Permissions.
1539+
1540+ All rights granted under this License are granted for the term of
1541+copyright on the Program, and are irrevocable provided the stated
1542+conditions are met. This License explicitly affirms your unlimited
1543+permission to run the unmodified Program. The output from running a
1544+covered work is covered by this License only if the output, given its
1545+content, constitutes a covered work. This License acknowledges your
1546+rights of fair use or other equivalent, as provided by copyright law.
1547+
1548+ You may make, run and propagate covered works that you do not
1549+convey, without conditions so long as your license otherwise remains
1550+in force. You may convey covered works to others for the sole purpose
1551+of having them make modifications exclusively for you, or provide you
1552+with facilities for running those works, provided that you comply with
1553+the terms of this License in conveying all material for which you do
1554+not control copyright. Those thus making or running the covered works
1555+for you must do so exclusively on your behalf, under your direction
1556+and control, on terms that prohibit them from making any copies of
1557+your copyrighted material outside their relationship with you.
1558+
1559+ Conveying under any other circumstances is permitted solely under
1560+the conditions stated below. Sublicensing is not allowed; section 10
1561+makes it unnecessary.
1562+
1563+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
1564+
1565+ No covered work shall be deemed part of an effective technological
1566+measure under any applicable law fulfilling obligations under article
1567+11 of the WIPO copyright treaty adopted on 20 December 1996, or
1568+similar laws prohibiting or restricting circumvention of such
1569+measures.
1570+
1571+ When you convey a covered work, you waive any legal power to forbid
1572+circumvention of technological measures to the extent such circumvention
1573+is effected by exercising rights under this License with respect to
1574+the covered work, and you disclaim any intention to limit operation or
1575+modification of the work as a means of enforcing, against the work's
1576+users, your or third parties' legal rights to forbid circumvention of
1577+technological measures.
1578+
1579+ 4. Conveying Verbatim Copies.
1580+
1581+ You may convey verbatim copies of the Program's source code as you
1582+receive it, in any medium, provided that you conspicuously and
1583+appropriately publish on each copy an appropriate copyright notice;
1584+keep intact all notices stating that this License and any
1585+non-permissive terms added in accord with section 7 apply to the code;
1586+keep intact all notices of the absence of any warranty; and give all
1587+recipients a copy of this License along with the Program.
1588+
1589+ You may charge any price or no price for each copy that you convey,
1590+and you may offer support or warranty protection for a fee.
1591+
1592+ 5. Conveying Modified Source Versions.
1593+
1594+ You may convey a work based on the Program, or the modifications to
1595+produce it from the Program, in the form of source code under the
1596+terms of section 4, provided that you also meet all of these conditions:
1597+
1598+ a) The work must carry prominent notices stating that you modified
1599+ it, and giving a relevant date.
1600+
1601+ b) The work must carry prominent notices stating that it is
1602+ released under this License and any conditions added under section
1603+ 7. This requirement modifies the requirement in section 4 to
1604+ "keep intact all notices".
1605+
1606+ c) You must license the entire work, as a whole, under this
1607+ License to anyone who comes into possession of a copy. This
1608+ License will therefore apply, along with any applicable section 7
1609+ additional terms, to the whole of the work, and all its parts,
1610+ regardless of how they are packaged. This License gives no
1611+ permission to license the work in any other way, but it does not
1612+ invalidate such permission if you have separately received it.
1613+
1614+ d) If the work has interactive user interfaces, each must display
1615+ Appropriate Legal Notices; however, if the Program has interactive
1616+ interfaces that do not display Appropriate Legal Notices, your
1617+ work need not make them do so.
1618+
1619+ A compilation of a covered work with other separate and independent
1620+works, which are not by their nature extensions of the covered work,
1621+and which are not combined with it such as to form a larger program,
1622+in or on a volume of a storage or distribution medium, is called an
1623+"aggregate" if the compilation and its resulting copyright are not
1624+used to limit the access or legal rights of the compilation's users
1625+beyond what the individual works permit. Inclusion of a covered work
1626+in an aggregate does not cause this License to apply to the other
1627+parts of the aggregate.
1628+
1629+ 6. Conveying Non-Source Forms.
1630+
1631+ You may convey a covered work in object code form under the terms
1632+of sections 4 and 5, provided that you also convey the
1633+machine-readable Corresponding Source under the terms of this License,
1634+in one of these ways:
1635+
1636+ a) Convey the object code in, or embodied in, a physical product
1637+ (including a physical distribution medium), accompanied by the
1638+ Corresponding Source fixed on a durable physical medium
1639+ customarily used for software interchange.
1640+
1641+ b) Convey the object code in, or embodied in, a physical product
1642+ (including a physical distribution medium), accompanied by a
1643+ written offer, valid for at least three years and valid for as
1644+ long as you offer spare parts or customer support for that product
1645+ model, to give anyone who possesses the object code either (1) a
1646+ copy of the Corresponding Source for all the software in the
1647+ product that is covered by this License, on a durable physical
1648+ medium customarily used for software interchange, for a price no
1649+ more than your reasonable cost of physically performing this
1650+ conveying of source, or (2) access to copy the
1651+ Corresponding Source from a network server at no charge.
1652+
1653+ c) Convey individual copies of the object code with a copy of the
1654+ written offer to provide the Corresponding Source. This
1655+ alternative is allowed only occasionally and noncommercially, and
1656+ only if you received the object code with such an offer, in accord
1657+ with subsection 6b.
1658+
1659+ d) Convey the object code by offering access from a designated
1660+ place (gratis or for a charge), and offer equivalent access to the
1661+ Corresponding Source in the same way through the same place at no
1662+ further charge. You need not require recipients to copy the
1663+ Corresponding Source along with the object code. If the place to
1664+ copy the object code is a network server, the Corresponding Source
1665+ may be on a different server (operated by you or a third party)
1666+ that supports equivalent copying facilities, provided you maintain
1667+ clear directions next to the object code saying where to find the
1668+ Corresponding Source. Regardless of what server hosts the
1669+ Corresponding Source, you remain obligated to ensure that it is
1670+ available for as long as needed to satisfy these requirements.
1671+
1672+ e) Convey the object code using peer-to-peer transmission, provided
1673+ you inform other peers where the object code and Corresponding
1674+ Source of the work are being offered to the general public at no
1675+ charge under subsection 6d.
1676+
1677+ A separable portion of the object code, whose source code is excluded
1678+from the Corresponding Source as a System Library, need not be
1679+included in conveying the object code work.
1680+
1681+ A "User Product" is either (1) a "consumer product", which means any
1682+tangible personal property which is normally used for personal, family,
1683+or household purposes, or (2) anything designed or sold for incorporation
1684+into a dwelling. In determining whether a product is a consumer product,
1685+doubtful cases shall be resolved in favor of coverage. For a particular
1686+product received by a particular user, "normally used" refers to a
1687+typical or common use of that class of product, regardless of the status
1688+of the particular user or of the way in which the particular user
1689+actually uses, or expects or is expected to use, the product. A product
1690+is a consumer product regardless of whether the product has substantial
1691+commercial, industrial or non-consumer uses, unless such uses represent
1692+the only significant mode of use of the product.
1693+
1694+ "Installation Information" for a User Product means any methods,
1695+procedures, authorization keys, or other information required to install
1696+and execute modified versions of a covered work in that User Product from
1697+a modified version of its Corresponding Source. The information must
1698+suffice to ensure that the continued functioning of the modified object
1699+code is in no case prevented or interfered with solely because
1700+modification has been made.
1701+
1702+ If you convey an object code work under this section in, or with, or
1703+specifically for use in, a User Product, and the conveying occurs as
1704+part of a transaction in which the right of possession and use of the
1705+User Product is transferred to the recipient in perpetuity or for a
1706+fixed term (regardless of how the transaction is characterized), the
1707+Corresponding Source conveyed under this section must be accompanied
1708+by the Installation Information. But this requirement does not apply
1709+if neither you nor any third party retains the ability to install
1710+modified object code on the User Product (for example, the work has
1711+been installed in ROM).
1712+
1713+ The requirement to provide Installation Information does not include a
1714+requirement to continue to provide support service, warranty, or updates
1715+for a work that has been modified or installed by the recipient, or for
1716+the User Product in which it has been modified or installed. Access to a
1717+network may be denied when the modification itself materially and
1718+adversely affects the operation of the network or violates the rules and
1719+protocols for communication across the network.
1720+
1721+ Corresponding Source conveyed, and Installation Information provided,
1722+in accord with this section must be in a format that is publicly
1723+documented (and with an implementation available to the public in
1724+source code form), and must require no special password or key for
1725+unpacking, reading or copying.
1726+
1727+ 7. Additional Terms.
1728+
1729+ "Additional permissions" are terms that supplement the terms of this
1730+License by making exceptions from one or more of its conditions.
1731+Additional permissions that are applicable to the entire Program shall
1732+be treated as though they were included in this License, to the extent
1733+that they are valid under applicable law. If additional permissions
1734+apply only to part of the Program, that part may be used separately
1735+under those permissions, but the entire Program remains governed by
1736+this License without regard to the additional permissions.
1737+
1738+ When you convey a copy of a covered work, you may at your option
1739+remove any additional permissions from that copy, or from any part of
1740+it. (Additional permissions may be written to require their own
1741+removal in certain cases when you modify the work.) You may place
1742+additional permissions on material, added by you to a covered work,
1743+for which you have or can give appropriate copyright permission.
1744+
1745+ Notwithstanding any other provision of this License, for material you
1746+add to a covered work, you may (if authorized by the copyright holders of
1747+that material) supplement the terms of this License with terms:
1748+
1749+ a) Disclaiming warranty or limiting liability differently from the
1750+ terms of sections 15 and 16 of this License; or
1751+
1752+ b) Requiring preservation of specified reasonable legal notices or
1753+ author attributions in that material or in the Appropriate Legal
1754+ Notices displayed by works containing it; or
1755+
1756+ c) Prohibiting misrepresentation of the origin of that material, or
1757+ requiring that modified versions of such material be marked in
1758+ reasonable ways as different from the original version; or
1759+
1760+ d) Limiting the use for publicity purposes of names of licensors or
1761+ authors of the material; or
1762+
1763+ e) Declining to grant rights under trademark law for use of some
1764+ trade names, trademarks, or service marks; or
1765+
1766+ f) Requiring indemnification of licensors and authors of that
1767+ material by anyone who conveys the material (or modified versions of
1768+ it) with contractual assumptions of liability to the recipient, for
1769+ any liability that these contractual assumptions directly impose on
1770+ those licensors and authors.
1771+
1772+ All other non-permissive additional terms are considered "further
1773+restrictions" within the meaning of section 10. If the Program as you
1774+received it, or any part of it, contains a notice stating that it is
1775+governed by this License along with a term that is a further
1776+restriction, you may remove that term. If a license document contains
1777+a further restriction but permits relicensing or conveying under this
1778+License, you may add to a covered work material governed by the terms
1779+of that license document, provided that the further restriction does
1780+not survive such relicensing or conveying.
1781+
1782+ If you add terms to a covered work in accord with this section, you
1783+must place, in the relevant source files, a statement of the
1784+additional terms that apply to those files, or a notice indicating
1785+where to find the applicable terms.
1786+
1787+ Additional terms, permissive or non-permissive, may be stated in the
1788+form of a separately written license, or stated as exceptions;
1789+the above requirements apply either way.
1790+
1791+ 8. Termination.
1792+
1793+ You may not propagate or modify a covered work except as expressly
1794+provided under this License. Any attempt otherwise to propagate or
1795+modify it is void, and will automatically terminate your rights under
1796+this License (including any patent licenses granted under the third
1797+paragraph of section 11).
1798+
1799+ However, if you cease all violation of this License, then your
1800+license from a particular copyright holder is reinstated (a)
1801+provisionally, unless and until the copyright holder explicitly and
1802+finally terminates your license, and (b) permanently, if the copyright
1803+holder fails to notify you of the violation by some reasonable means
1804+prior to 60 days after the cessation.
1805+
1806+ Moreover, your license from a particular copyright holder is
1807+reinstated permanently if the copyright holder notifies you of the
1808+violation by some reasonable means, this is the first time you have
1809+received notice of violation of this License (for any work) from that
1810+copyright holder, and you cure the violation prior to 30 days after
1811+your receipt of the notice.
1812+
1813+ Termination of your rights under this section does not terminate the
1814+licenses of parties who have received copies or rights from you under
1815+this License. If your rights have been terminated and not permanently
1816+reinstated, you do not qualify to receive new licenses for the same
1817+material under section 10.
1818+
1819+ 9. Acceptance Not Required for Having Copies.
1820+
1821+ You are not required to accept this License in order to receive or
1822+run a copy of the Program. Ancillary propagation of a covered work
1823+occurring solely as a consequence of using peer-to-peer transmission
1824+to receive a copy likewise does not require acceptance. However,
1825+nothing other than this License grants you permission to propagate or
1826+modify any covered work. These actions infringe copyright if you do
1827+not accept this License. Therefore, by modifying or propagating a
1828+covered work, you indicate your acceptance of this License to do so.
1829+
1830+ 10. Automatic Licensing of Downstream Recipients.
1831+
1832+ Each time you convey a covered work, the recipient automatically
1833+receives a license from the original licensors, to run, modify and
1834+propagate that work, subject to this License. You are not responsible
1835+for enforcing compliance by third parties with this License.
1836+
1837+ An "entity transaction" is a transaction transferring control of an
1838+organization, or substantially all assets of one, or subdividing an
1839+organization, or merging organizations. If propagation of a covered
1840+work results from an entity transaction, each party to that
1841+transaction who receives a copy of the work also receives whatever
1842+licenses to the work the party's predecessor in interest had or could
1843+give under the previous paragraph, plus a right to possession of the
1844+Corresponding Source of the work from the predecessor in interest, if
1845+the predecessor has it or can get it with reasonable efforts.
1846+
1847+ You may not impose any further restrictions on the exercise of the
1848+rights granted or affirmed under this License. For example, you may
1849+not impose a license fee, royalty, or other charge for exercise of
1850+rights granted under this License, and you may not initiate litigation
1851+(including a cross-claim or counterclaim in a lawsuit) alleging that
1852+any patent claim is infringed by making, using, selling, offering for
1853+sale, or importing the Program or any portion of it.
1854+
1855+ 11. Patents.
1856+
1857+ A "contributor" is a copyright holder who authorizes use under this
1858+License of the Program or a work on which the Program is based. The
1859+work thus licensed is called the contributor's "contributor version".
1860+
1861+ A contributor's "essential patent claims" are all patent claims
1862+owned or controlled by the contributor, whether already acquired or
1863+hereafter acquired, that would be infringed by some manner, permitted
1864+by this License, of making, using, or selling its contributor version,
1865+but do not include claims that would be infringed only as a
1866+consequence of further modification of the contributor version. For
1867+purposes of this definition, "control" includes the right to grant
1868+patent sublicenses in a manner consistent with the requirements of
1869+this License.
1870+
1871+ Each contributor grants you a non-exclusive, worldwide, royalty-free
1872+patent license under the contributor's essential patent claims, to
1873+make, use, sell, offer for sale, import and otherwise run, modify and
1874+propagate the contents of its contributor version.
1875+
1876+ In the following three paragraphs, a "patent license" is any express
1877+agreement or commitment, however denominated, not to enforce a patent
1878+(such as an express permission to practice a patent or covenant not to
1879+sue for patent infringement). To "grant" such a patent license to a
1880+party means to make such an agreement or commitment not to enforce a
1881+patent against the party.
1882+
1883+ If you convey a covered work, knowingly relying on a patent license,
1884+and the Corresponding Source of the work is not available for anyone
1885+to copy, free of charge and under the terms of this License, through a
1886+publicly available network server or other readily accessible means,
1887+then you must either (1) cause the Corresponding Source to be so
1888+available, or (2) arrange to deprive yourself of the benefit of the
1889+patent license for this particular work, or (3) arrange, in a manner
1890+consistent with the requirements of this License, to extend the patent
1891+license to downstream recipients. "Knowingly relying" means you have
1892+actual knowledge that, but for the patent license, your conveying the
1893+covered work in a country, or your recipient's use of the covered work
1894+in a country, would infringe one or more identifiable patents in that
1895+country that you have reason to believe are valid.
1896+
1897+ If, pursuant to or in connection with a single transaction or
1898+arrangement, you convey, or propagate by procuring conveyance of, a
1899+covered work, and grant a patent license to some of the parties
1900+receiving the covered work authorizing them to use, propagate, modify
1901+or convey a specific copy of the covered work, then the patent license
1902+you grant is automatically extended to all recipients of the covered
1903+work and works based on it.
1904+
1905+ A patent license is "discriminatory" if it does not include within
1906+the scope of its coverage, prohibits the exercise of, or is
1907+conditioned on the non-exercise of one or more of the rights that are
1908+specifically granted under this License. You may not convey a covered
1909+work if you are a party to an arrangement with a third party that is
1910+in the business of distributing software, under which you make payment
1911+to the third party based on the extent of your activity of conveying
1912+the work, and under which the third party grants, to any of the
1913+parties who would receive the covered work from you, a discriminatory
1914+patent license (a) in connection with copies of the covered work
1915+conveyed by you (or copies made from those copies), or (b) primarily
1916+for and in connection with specific products or compilations that
1917+contain the covered work, unless you entered into that arrangement,
1918+or that patent license was granted, prior to 28 March 2007.
1919+
1920+ Nothing in this License shall be construed as excluding or limiting
1921+any implied license or other defenses to infringement that may
1922+otherwise be available to you under applicable patent law.
1923+
1924+ 12. No Surrender of Others' Freedom.
1925+
1926+ If conditions are imposed on you (whether by court order, agreement or
1927+otherwise) that contradict the conditions of this License, they do not
1928+excuse you from the conditions of this License. If you cannot convey a
1929+covered work so as to satisfy simultaneously your obligations under this
1930+License and any other pertinent obligations, then as a consequence you may
1931+not convey it at all. For example, if you agree to terms that obligate you
1932+to collect a royalty for further conveying from those to whom you convey
1933+the Program, the only way you could satisfy both those terms and this
1934+License would be to refrain entirely from conveying the Program.
1935+
1936+ 13. Use with the GNU Affero General Public License.
1937+
1938+ Notwithstanding any other provision of this License, you have
1939+permission to link or combine any covered work with a work licensed
1940+under version 3 of the GNU Affero General Public License into a single
1941+combined work, and to convey the resulting work. The terms of this
1942+License will continue to apply to the part which is the covered work,
1943+but the special requirements of the GNU Affero General Public License,
1944+section 13, concerning interaction through a network will apply to the
1945+combination as such.
1946+
1947+ 14. Revised Versions of this License.
1948+
1949+ The Free Software Foundation may publish revised and/or new versions of
1950+the GNU General Public License from time to time. Such new versions will
1951+be similar in spirit to the present version, but may differ in detail to
1952+address new problems or concerns.
1953+
1954+ Each version is given a distinguishing version number. If the
1955+Program specifies that a certain numbered version of the GNU General
1956+Public License "or any later version" applies to it, you have the
1957+option of following the terms and conditions either of that numbered
1958+version or of any later version published by the Free Software
1959+Foundation. If the Program does not specify a version number of the
1960+GNU General Public License, you may choose any version ever published
1961+by the Free Software Foundation.
1962+
1963+ If the Program specifies that a proxy can decide which future
1964+versions of the GNU General Public License can be used, that proxy's
1965+public statement of acceptance of a version permanently authorizes you
1966+to choose that version for the Program.
1967+
1968+ Later license versions may give you additional or different
1969+permissions. However, no additional obligations are imposed on any
1970+author or copyright holder as a result of your choosing to follow a
1971+later version.
1972+
1973+ 15. Disclaimer of Warranty.
1974+
1975+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1976+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1977+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1978+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1979+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1980+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1981+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1982+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1983+
1984+ 16. Limitation of Liability.
1985+
1986+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1987+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1988+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1989+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1990+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1991+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1992+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1993+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1994+SUCH DAMAGES.
1995+
1996+ 17. Interpretation of Sections 15 and 16.
1997+
1998+ If the disclaimer of warranty and limitation of liability provided
1999+above cannot be given local legal effect according to their terms,
2000+reviewing courts shall apply local law that most closely approximates
2001+an absolute waiver of all civil liability in connection with the
2002+Program, unless a warranty or assumption of liability accompanies a
2003+copy of the Program in return for a fee.
2004+
2005+ END OF TERMS AND CONDITIONS
2006+
2007+ How to Apply These Terms to Your New Programs
2008+
2009+ If you develop a new program, and you want it to be of the greatest
2010+possible use to the public, the best way to achieve this is to make it
2011+free software which everyone can redistribute and change under these terms.
2012+
2013+ To do so, attach the following notices to the program. It is safest
2014+to attach them to the start of each source file to most effectively
2015+state the exclusion of warranty; and each file should have at least
2016+the "copyright" line and a pointer to where the full notice is found.
2017+
2018+ <one line to give the program's name and a brief idea of what it does.>
2019+ Copyright (C) <year> <name of author>
2020+
2021+ This program is free software: you can redistribute it and/or modify
2022+ it under the terms of the GNU General Public License as published by
2023+ the Free Software Foundation, either version 3 of the License, or
2024+ (at your option) any later version.
2025+
2026+ This program is distributed in the hope that it will be useful,
2027+ but WITHOUT ANY WARRANTY; without even the implied warranty of
2028+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2029+ GNU General Public License for more details.
2030+
2031+ You should have received a copy of the GNU General Public License
2032+ along with this program. If not, see <https://www.gnu.org/licenses/>.
2033+
2034+Also add information on how to contact you by electronic and paper mail.
2035+
2036+ If the program does terminal interaction, make it output a short
2037+notice like this when it starts in an interactive mode:
2038+
2039+ <program> Copyright (C) <year> <name of author>
2040+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2041+ This is free software, and you are welcome to redistribute it
2042+ under certain conditions; type `show c' for details.
2043+
2044+The hypothetical commands `show w' and `show c' should show the appropriate
2045+parts of the General Public License. Of course, your program's commands
2046+might be different; for a GUI interface, you would use an "about box".
2047+
2048+ You should also get your employer (if you work as a programmer) or school,
2049+if any, to sign a "copyright disclaimer" for the program, if necessary.
2050+For more information on this, and how to apply and follow the GNU GPL, see
2051+<https://www.gnu.org/licenses/>.
2052+
2053+ The GNU General Public License does not permit incorporating your program
2054+into proprietary programs. If your program is a subroutine library, you
2055+may consider it more useful to permit linking proprietary applications with
2056+the library. If this is what you want to do, use the GNU Lesser General
2057+Public License instead of this License. But first, please read
2058+<https://www.gnu.org/licenses/why-not-lgpl.html>.
2059
2060=== removed file 'windows/LICENSE.txt'
2061--- windows/LICENSE.txt 2012-06-09 19:02:47 +0000
2062+++ windows/LICENSE.txt 1970-01-01 00:00:00 +0000
2063@@ -1,339 +0,0 @@
2064- GNU GENERAL PUBLIC LICENSE
2065- Version 2, June 1991
2066-
2067- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
2068- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2069- Everyone is permitted to copy and distribute verbatim copies
2070- of this license document, but changing it is not allowed.
2071-
2072- Preamble
2073-
2074- The licenses for most software are designed to take away your
2075-freedom to share and change it. By contrast, the GNU General Public
2076-License is intended to guarantee your freedom to share and change free
2077-software--to make sure the software is free for all its users. This
2078-General Public License applies to most of the Free Software
2079-Foundation's software and to any other program whose authors commit to
2080-using it. (Some other Free Software Foundation software is covered by
2081-the GNU Lesser General Public License instead.) You can apply it to
2082-your programs, too.
2083-
2084- When we speak of free software, we are referring to freedom, not
2085-price. Our General Public Licenses are designed to make sure that you
2086-have the freedom to distribute copies of free software (and charge for
2087-this service if you wish), that you receive source code or can get it
2088-if you want it, that you can change the software or use pieces of it
2089-in new free programs; and that you know you can do these things.
2090-
2091- To protect your rights, we need to make restrictions that forbid
2092-anyone to deny you these rights or to ask you to surrender the rights.
2093-These restrictions translate to certain responsibilities for you if you
2094-distribute copies of the software, or if you modify it.
2095-
2096- For example, if you distribute copies of such a program, whether
2097-gratis or for a fee, you must give the recipients all the rights that
2098-you have. You must make sure that they, too, receive or can get the
2099-source code. And you must show them these terms so they know their
2100-rights.
2101-
2102- We protect your rights with two steps: (1) copyright the software, and
2103-(2) offer you this license which gives you legal permission to copy,
2104-distribute and/or modify the software.
2105-
2106- Also, for each author's protection and ours, we want to make certain
2107-that everyone understands that there is no warranty for this free
2108-software. If the software is modified by someone else and passed on, we
2109-want its recipients to know that what they have is not the original, so
2110-that any problems introduced by others will not reflect on the original
2111-authors' reputations.
2112-
2113- Finally, any free program is threatened constantly by software
2114-patents. We wish to avoid the danger that redistributors of a free
2115-program will individually obtain patent licenses, in effect making the
2116-program proprietary. To prevent this, we have made it clear that any
2117-patent must be licensed for everyone's free use or not licensed at all.
2118-
2119- The precise terms and conditions for copying, distribution and
2120-modification follow.
2121-
2122- GNU GENERAL PUBLIC LICENSE
2123- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2124-
2125- 0. This License applies to any program or other work which contains
2126-a notice placed by the copyright holder saying it may be distributed
2127-under the terms of this General Public License. The "Program", below,
2128-refers to any such program or work, and a "work based on the Program"
2129-means either the Program or any derivative work under copyright law:
2130-that is to say, a work containing the Program or a portion of it,
2131-either verbatim or with modifications and/or translated into another
2132-language. (Hereinafter, translation is included without limitation in
2133-the term "modification".) Each licensee is addressed as "you".
2134-
2135-Activities other than copying, distribution and modification are not
2136-covered by this License; they are outside its scope. The act of
2137-running the Program is not restricted, and the output from the Program
2138-is covered only if its contents constitute a work based on the
2139-Program (independent of having been made by running the Program).
2140-Whether that is true depends on what the Program does.
2141-
2142- 1. You may copy and distribute verbatim copies of the Program's
2143-source code as you receive it, in any medium, provided that you
2144-conspicuously and appropriately publish on each copy an appropriate
2145-copyright notice and disclaimer of warranty; keep intact all the
2146-notices that refer to this License and to the absence of any warranty;
2147-and give any other recipients of the Program a copy of this License
2148-along with the Program.
2149-
2150-You may charge a fee for the physical act of transferring a copy, and
2151-you may at your option offer warranty protection in exchange for a fee.
2152-
2153- 2. You may modify your copy or copies of the Program or any portion
2154-of it, thus forming a work based on the Program, and copy and
2155-distribute such modifications or work under the terms of Section 1
2156-above, provided that you also meet all of these conditions:
2157-
2158- a) You must cause the modified files to carry prominent notices
2159- stating that you changed the files and the date of any change.
2160-
2161- b) You must cause any work that you distribute or publish, that in
2162- whole or in part contains or is derived from the Program or any
2163- part thereof, to be licensed as a whole at no charge to all third
2164- parties under the terms of this License.
2165-
2166- c) If the modified program normally reads commands interactively
2167- when run, you must cause it, when started running for such
2168- interactive use in the most ordinary way, to print or display an
2169- announcement including an appropriate copyright notice and a
2170- notice that there is no warranty (or else, saying that you provide
2171- a warranty) and that users may redistribute the program under
2172- these conditions, and telling the user how to view a copy of this
2173- License. (Exception: if the Program itself is interactive but
2174- does not normally print such an announcement, your work based on
2175- the Program is not required to print an announcement.)
2176-
2177-These requirements apply to the modified work as a whole. If
2178-identifiable sections of that work are not derived from the Program,
2179-and can be reasonably considered independent and separate works in
2180-themselves, then this License, and its terms, do not apply to those
2181-sections when you distribute them as separate works. But when you
2182-distribute the same sections as part of a whole which is a work based
2183-on the Program, the distribution of the whole must be on the terms of
2184-this License, whose permissions for other licensees extend to the
2185-entire whole, and thus to each and every part regardless of who wrote it.
2186-
2187-Thus, it is not the intent of this section to claim rights or contest
2188-your rights to work written entirely by you; rather, the intent is to
2189-exercise the right to control the distribution of derivative or
2190-collective works based on the Program.
2191-
2192-In addition, mere aggregation of another work not based on the Program
2193-with the Program (or with a work based on the Program) on a volume of
2194-a storage or distribution medium does not bring the other work under
2195-the scope of this License.
2196-
2197- 3. You may copy and distribute the Program (or a work based on it,
2198-under Section 2) in object code or executable form under the terms of
2199-Sections 1 and 2 above provided that you also do one of the following:
2200-
2201- a) Accompany it with the complete corresponding machine-readable
2202- source code, which must be distributed under the terms of Sections
2203- 1 and 2 above on a medium customarily used for software interchange; or,
2204-
2205- b) Accompany it with a written offer, valid for at least three
2206- years, to give any third party, for a charge no more than your
2207- cost of physically performing source distribution, a complete
2208- machine-readable copy of the corresponding source code, to be
2209- distributed under the terms of Sections 1 and 2 above on a medium
2210- customarily used for software interchange; or,
2211-
2212- c) Accompany it with the information you received as to the offer
2213- to distribute corresponding source code. (This alternative is
2214- allowed only for noncommercial distribution and only if you
2215- received the program in object code or executable form with such
2216- an offer, in accord with Subsection b above.)
2217-
2218-The source code for a work means the preferred form of the work for
2219-making modifications to it. For an executable work, complete source
2220-code means all the source code for all modules it contains, plus any
2221-associated interface definition files, plus the scripts used to
2222-control compilation and installation of the executable. However, as a
2223-special exception, the source code distributed need not include
2224-anything that is normally distributed (in either source or binary
2225-form) with the major components (compiler, kernel, and so on) of the
2226-operating system on which the executable runs, unless that component
2227-itself accompanies the executable.
2228-
2229-If distribution of executable or object code is made by offering
2230-access to copy from a designated place, then offering equivalent
2231-access to copy the source code from the same place counts as
2232-distribution of the source code, even though third parties are not
2233-compelled to copy the source along with the object code.
2234-
2235- 4. You may not copy, modify, sublicense, or distribute the Program
2236-except as expressly provided under this License. Any attempt
2237-otherwise to copy, modify, sublicense or distribute the Program is
2238-void, and will automatically terminate your rights under this License.
2239-However, parties who have received copies, or rights, from you under
2240-this License will not have their licenses terminated so long as such
2241-parties remain in full compliance.
2242-
2243- 5. You are not required to accept this License, since you have not
2244-signed it. However, nothing else grants you permission to modify or
2245-distribute the Program or its derivative works. These actions are
2246-prohibited by law if you do not accept this License. Therefore, by
2247-modifying or distributing the Program (or any work based on the
2248-Program), you indicate your acceptance of this License to do so, and
2249-all its terms and conditions for copying, distributing or modifying
2250-the Program or works based on it.
2251-
2252- 6. Each time you redistribute the Program (or any work based on the
2253-Program), the recipient automatically receives a license from the
2254-original licensor to copy, distribute or modify the Program subject to
2255-these terms and conditions. You may not impose any further
2256-restrictions on the recipients' exercise of the rights granted herein.
2257-You are not responsible for enforcing compliance by third parties to
2258-this License.
2259-
2260- 7. If, as a consequence of a court judgment or allegation of patent
2261-infringement or for any other reason (not limited to patent issues),
2262-conditions are imposed on you (whether by court order, agreement or
2263-otherwise) that contradict the conditions of this License, they do not
2264-excuse you from the conditions of this License. If you cannot
2265-distribute so as to satisfy simultaneously your obligations under this
2266-License and any other pertinent obligations, then as a consequence you
2267-may not distribute the Program at all. For example, if a patent
2268-license would not permit royalty-free redistribution of the Program by
2269-all those who receive copies directly or indirectly through you, then
2270-the only way you could satisfy both it and this License would be to
2271-refrain entirely from distribution of the Program.
2272-
2273-If any portion of this section is held invalid or unenforceable under
2274-any particular circumstance, the balance of the section is intended to
2275-apply and the section as a whole is intended to apply in other
2276-circumstances.
2277-
2278-It is not the purpose of this section to induce you to infringe any
2279-patents or other property right claims or to contest validity of any
2280-such claims; this section has the sole purpose of protecting the
2281-integrity of the free software distribution system, which is
2282-implemented by public license practices. Many people have made
2283-generous contributions to the wide range of software distributed
2284-through that system in reliance on consistent application of that
2285-system; it is up to the author/donor to decide if he or she is willing
2286-to distribute software through any other system and a licensee cannot
2287-impose that choice.
2288-
2289-This section is intended to make thoroughly clear what is believed to
2290-be a consequence of the rest of this License.
2291-
2292- 8. If the distribution and/or use of the Program is restricted in
2293-certain countries either by patents or by copyrighted interfaces, the
2294-original copyright holder who places the Program under this License
2295-may add an explicit geographical distribution limitation excluding
2296-those countries, so that distribution is permitted only in or among
2297-countries not thus excluded. In such case, this License incorporates
2298-the limitation as if written in the body of this License.
2299-
2300- 9. The Free Software Foundation may publish revised and/or new versions
2301-of the General Public License from time to time. Such new versions will
2302-be similar in spirit to the present version, but may differ in detail to
2303-address new problems or concerns.
2304-
2305-Each version is given a distinguishing version number. If the Program
2306-specifies a version number of this License which applies to it and "any
2307-later version", you have the option of following the terms and conditions
2308-either of that version or of any later version published by the Free
2309-Software Foundation. If the Program does not specify a version number of
2310-this License, you may choose any version ever published by the Free Software
2311-Foundation.
2312-
2313- 10. If you wish to incorporate parts of the Program into other free
2314-programs whose distribution conditions are different, write to the author
2315-to ask for permission. For software which is copyrighted by the Free
2316-Software Foundation, write to the Free Software Foundation; we sometimes
2317-make exceptions for this. Our decision will be guided by the two goals
2318-of preserving the free status of all derivatives of our free software and
2319-of promoting the sharing and reuse of software generally.
2320-
2321- NO WARRANTY
2322-
2323- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
2324-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
2325-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
2326-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
2327-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2328-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
2329-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
2330-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
2331-REPAIR OR CORRECTION.
2332-
2333- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2334-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
2335-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
2336-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
2337-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
2338-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
2339-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
2340-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2341-POSSIBILITY OF SUCH DAMAGES.
2342-
2343- END OF TERMS AND CONDITIONS
2344-
2345- How to Apply These Terms to Your New Programs
2346-
2347- If you develop a new program, and you want it to be of the greatest
2348-possible use to the public, the best way to achieve this is to make it
2349-free software which everyone can redistribute and change under these terms.
2350-
2351- To do so, attach the following notices to the program. It is safest
2352-to attach them to the start of each source file to most effectively
2353-convey the exclusion of warranty; and each file should have at least
2354-the "copyright" line and a pointer to where the full notice is found.
2355-
2356- <one line to give the program's name and a brief idea of what it does.>
2357- Copyright (C) <year> <name of author>
2358-
2359- This program is free software; you can redistribute it and/or modify
2360- it under the terms of the GNU General Public License as published by
2361- the Free Software Foundation; either version 2 of the License, or
2362- (at your option) any later version.
2363-
2364- This program is distributed in the hope that it will be useful,
2365- but WITHOUT ANY WARRANTY; without even the implied warranty of
2366- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2367- GNU General Public License for more details.
2368-
2369- You should have received a copy of the GNU General Public License along
2370- with this program; if not, write to the Free Software Foundation, Inc.,
2371- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2372-
2373-Also add information on how to contact you by electronic and paper mail.
2374-
2375-If the program is interactive, make it output a short notice like this
2376-when it starts in an interactive mode:
2377-
2378- Gnomovision version 69, Copyright (C) year name of author
2379- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2380- This is free software, and you are welcome to redistribute it
2381- under certain conditions; type `show c' for details.
2382-
2383-The hypothetical commands `show w' and `show c' should show the appropriate
2384-parts of the General Public License. Of course, the commands you use may
2385-be called something other than `show w' and `show c'; they could even be
2386-mouse-clicks or menu items--whatever suits your program.
2387-
2388-You should also get your employer (if you work as a programmer) or your
2389-school, if any, to sign a "copyright disclaimer" for the program, if
2390-necessary. Here is a sample; alter the names:
2391-
2392- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
2393- `Gnomovision' (which makes passes at compilers) written by James Hacker.
2394-
2395- <signature of Ty Coon>, 1 April 1989
2396- Ty Coon, President of Vice
2397-
2398-This General Public License does not permit incorporating your program into
2399-proprietary programs. If your program is a subroutine library, you may
2400-consider it more useful to permit linking proprietary applications with the
2401-library. If this is what you want to do, use the GNU Lesser General
2402-Public License instead of this License.
2403
2404=== added file 'windows/OpenLP-base.wxs'
2405--- windows/OpenLP-base.wxs 1970-01-01 00:00:00 +0000
2406+++ windows/OpenLP-base.wxs 2019-05-20 22:20:27 +0000
2407@@ -0,0 +1,152 @@
2408+<?xml version="1.0" encoding="utf-8"?>
2409+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
2410+ xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
2411+ <?define ProductName="OpenLP"?>
2412+ <?define ProductCode="*"?>
2413+ <?define ProductVersion="%(version)s"?>
2414+ <?define Manufacturer="OpenLP Developers"?>
2415+ <?define Description="Open Source Worship Presentation Software"?>
2416+ <?define Comments="OpenLP is open source under the GNU General Public License"?>
2417+ <?define UpgradeCode="8C5881AC-8F1E-4937-BB99-B823FABF18F0"?>
2418+ <?define Platform="%(platform)s"?>
2419+ <Product Name="$(var.ProductName)" Manufacturer="$(var.Manufacturer)" Id="$(var.ProductCode)"
2420+ UpgradeCode="$(var.UpgradeCode)" Language="1033" Codepage="1252" Version="$(var.ProductVersion)">
2421+ <Package Id="*" Keywords="Installer" Description="$(var.Description)" Comments="$(var.Comments)"
2422+ Manufacturer="$(var.Manufacturer)" InstallerVersion="251" Languages="1033" Compressed="yes"
2423+ SummaryCodepage="1252" Platform="$(var.Platform)"/>
2424+ <Condition Message="You need to be an administrator to install this product.">Privileged</Condition>
2425+ <Media Id="1" Cabinet="openlp.cab" EmbedCab="yes" CompressionLevel="high"/>
2426+ <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
2427+ <Property Id="ARPPRODUCTICON" Value="OpenLP.ico" />
2428+ <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch $(var.ProductName)" />
2429+ <Property Id="WixShellExecTarget" Value="[#file_e368869eb54b01e2288a3359b1cf51f8]" />
2430+ <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
2431+ <UIRef Id="WixUI_Common" />
2432+ <UI Id="WixUI_OpenLP">
2433+ <TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
2434+ <TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
2435+ <TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
2436+ <Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
2437+ <Property Id="WixUI_Mode" Value="InstallDir" />
2438+ <DialogRef Id="BrowseDlg" />
2439+ <DialogRef Id="DiskCostDlg" />
2440+ <DialogRef Id="ErrorDlg" />
2441+ <DialogRef Id="FatalError" />
2442+ <DialogRef Id="FilesInUse" />
2443+ <DialogRef Id="MsiRMFilesInUse" />
2444+ <DialogRef Id="PrepareDlg" />
2445+ <DialogRef Id="ProgressDlg" />
2446+ <DialogRef Id="ResumeDlg" />
2447+ <DialogRef Id="UserExit" />
2448+ <Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
2449+ <Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
2450+ <Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
2451+ <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">NOT Installed</Publish>
2452+ <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
2453+ <Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
2454+ <Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
2455+ <Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction" Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
2456+ <Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog" Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
2457+ <Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR WIXUI_INSTALLDIR_VALID="1"</Publish>
2458+ <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
2459+ <Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog" Value="BrowseDlg" Order="2">1</Publish>
2460+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish>
2461+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed AND NOT PATCH</Publish>
2462+ <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" Order="2">Installed AND PATCH</Publish>
2463+ <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
2464+ <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
2465+ <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
2466+ <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
2467+ <Property Id="ARPNOMODIFY" Value="1" />
2468+ </UI>
2469+ <WixVariable Id="WixUIDialogBmp" Value="%(dialog)s" />
2470+ <WixVariable Id="WixUIBannerBmp" Value="%(banner)s" />
2471+ <Directory Id="TARGETDIR" Name="SourceDir">
2472+ <Directory Id="%(progfilefolder)s">
2473+ <Directory Id="INSTALLDIR" Name="$(var.ProductName)"/>
2474+ </Directory>
2475+ <Directory Id="ProgramMenuFolder" Name="Programs">
2476+ <Directory Id="ProgramMenuDir" Name="$(var.ProductName)">
2477+ <Component Id="ProgramMenuDir" Guid="{7AABE54C-5B03-4049-AA85-E18B787A19C7}">
2478+ <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
2479+ <RegistryValue Root="HKCU" Key="Software\$(var.ProductName)\$(var.ProductName)" Type="string" Value="" KeyPath="yes" />
2480+ <Shortcut Id="ApplicationStartMenuShortcut"
2481+ Name="$(var.ProductName)"
2482+ Description="$(var.Description)"
2483+ Target="[#file_e368869eb54b01e2288a3359b1cf51f8]"
2484+ Icon="OpenLP.ico"
2485+ WorkingDirectory="RootDirectory"/>
2486+ <Shortcut Id="DebugStartMenuShortcut"
2487+ Name="$(var.ProductName) (Debug)"
2488+ Description="Run OpenLP with debug logging enabled"
2489+ Target="[#file_e368869eb54b01e2288a3359b1cf51f8]"
2490+ Arguments="--log-level debug"
2491+ Icon="OpenLP.ico"
2492+ WorkingDirectory="RootDirectory"/>
2493+ <Shortcut Id="HelpStartMenuShortcut"
2494+ Name="$(var.ProductName) Help"
2495+ Description="Help file for $(var.ProductName)"
2496+ Target="[#file_436f15ee9b174c85745878fe09b6d47e]"
2497+ WorkingDirectory="RootDirectory"/>
2498+ <util:InternetShortcut Id="OpenLPWebSite"
2499+ Name="$(var.ProductName) on the Web"
2500+ Target="http://openlp.org/"/>
2501+ <util:InternetShortcut Id="OpenLPForums"
2502+ Name="Get support for $(var.ProductName)"
2503+ Target="http://forums.openlp.org/"/>
2504+ <Shortcut Id="UninstallProduct"
2505+ Name="Uninstall $(var.ProductName)"
2506+ Target="[SystemFolder]msiexec.exe"
2507+ Arguments="/x [ProductCode]"
2508+ Description="Removes $(var.ProductName) from your computer" />
2509+ </Component>
2510+ </Directory>
2511+ </Directory>
2512+ <Directory Id="DesktopFolder" Name="Desktop" />
2513+ </Directory>
2514+ <DirectoryRef Id="INSTALLDIR">
2515+ <Directory Id="RootDirectory" Name="$(var.ProductName)" />
2516+ </DirectoryRef>
2517+ <Feature Id="Complete" Title="Complete" Description="The $(var.ProductName) program files" Level="0"
2518+ ConfigurableDirectory="INSTALLDIR" AllowAdvertise="no" InstallDefault="local" Absent="disallow">
2519+ <ComponentGroupRef Id="Files"/>
2520+ <ComponentRef Id="ProgramMenuDir"/>
2521+ </Feature>
2522+ <Icon Id="OpenLP.ico" SourceFile="OpenLP.ico"/>
2523+ <Icon Id="service_file.ico" SourceFile="service_file.ico"/>
2524+ <Upgrade Id="$(var.UpgradeCode)">
2525+ <UpgradeVersion Minimum="$(var.ProductVersion)" IncludeMinimum="no" OnlyDetect="yes"
2526+ Property="NEWPRODUCTFOUND" />
2527+ <UpgradeVersion Minimum="2.4.6" IncludeMinimum="yes" Maximum="$(var.ProductVersion)" IncludeMaximum="no"
2528+ Property="UPGRADEFOUND" />
2529+ </Upgrade>
2530+ <InstallExecuteSequence>
2531+ <Custom Action='PreventDowngrading' After='FindRelatedProducts'>NEWPRODUCTFOUND</Custom>
2532+ <RemoveExistingProducts Before='InstallInitialize' />
2533+ </InstallExecuteSequence>
2534+ <InstallUISequence>
2535+ <Custom Action='PreventDowngrading' After='FindRelatedProducts'>NEWPRODUCTFOUND</Custom>
2536+ </InstallUISequence>
2537+ <CustomAction Id='PreventDowngrading' Error='Newer version already installed' />
2538+ <Property Id='INNO_UNINSTALLER_64'>
2539+ <RegistrySearch Id='LocateInnoUninstaller64' Type='file' Root='HKLM'
2540+ Key='SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{AA7699FA-B2D2-43F4-8A70-D497D03C9485}_is1'
2541+ Name='UninstallString'>
2542+ <FileSearch Id='InnoUninstallerExe64' Name='unins000.exe' />
2543+ </RegistrySearch>
2544+ </Property>
2545+ <Property Id='INNO_UNINSTALLER_32'>
2546+ <RegistrySearch Id='LocateInnoUninstaller32' Type='file' Root='HKLM'
2547+ Key='SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AA7699FA-B2D2-43F4-8A70-D497D03C9485}_is1'
2548+ Name='UninstallString'>
2549+ <FileSearch Id='InnoUninstallerExe32' Name='unins000.exe' />
2550+ </RegistrySearch>
2551+ </Property>
2552+ <CustomAction Id="ca.RemoveInno64" Property="INNO_UNINSTALLER_64" ExeCommand="/SILENT" Return="check" />
2553+ <CustomAction Id="ca.RemoveInno32" Property="INNO_UNINSTALLER_32" ExeCommand="/SILENT" Return="check" />
2554+ <InstallExecuteSequence>
2555+ <Custom Action="ca.RemoveInno64" Before="InstallFiles">INNO_UNINSTALLER_64</Custom>
2556+ <Custom Action="ca.RemoveInno32" Before="InstallFiles"><![CDATA[INNO_UNINSTALLER_32 AND NOT INNO_UNINSTALLER_64]]></Custom>
2557+ </InstallExecuteSequence>
2558+ </Product>
2559+</Wix>
2560
2561=== modified file 'windows/OpenLP.ico'
2562Binary files windows/OpenLP.ico 2012-06-09 19:02:47 +0000 and windows/OpenLP.ico 2019-05-20 22:20:27 +0000 differ
2563=== removed file 'windows/OpenLP.iss.default'
2564--- windows/OpenLP.iss.default 2019-03-11 13:46:12 +0000
2565+++ windows/OpenLP.iss.default 1970-01-01 00:00:00 +0000
2566@@ -1,187 +0,0 @@
2567-; Script generated by the Inno Setup Script Wizard.
2568-; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
2569-
2570-#define AppName "OpenLP"
2571-#define AppVerName "OpenLP %(display_version)s"
2572-#define AppVersion "%(display_version)s"
2573-#define AppPublisher "OpenLP Developers"
2574-#define AppURL "http://openlp.org/"
2575-#define AppExeName "OpenLP.exe"
2576-#define Arch "%(arch)s"
2577-
2578-#define FileHandle FileOpen("%(branch)s\dist\OpenLP\.version")
2579-#define FileLine FileRead(FileHandle)
2580-#define RealVersion FileLine
2581-#expr FileClose(FileHandle)
2582-
2583-[Setup]
2584-; NOTE: The value of AppId uniquely identifies this application.
2585-; Do not use the same AppId value in installers for other applications.
2586-; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
2587-AppID={{AA7699FA-B2D2-43F4-8A70-D497D03C9485}
2588-AppName={#AppName}
2589-AppVerName={cm:NameAndVersion,{#AppName},{#AppVersion}}
2590-AppVersion={#AppVersion}
2591-AppPublisher={#AppPublisher}
2592-AppPublisherURL={#AppURL}
2593-AppSupportURL={#AppURL}
2594-AppUpdatesURL={#AppURL}
2595-DefaultDirName={pf}\{#AppName}
2596-DefaultGroupName={#AppName}
2597-AllowNoIcons=true
2598-LicenseFile=LICENSE.txt
2599-OutputDir=%(branch)s\dist\
2600-OutputBaseFilename=OpenLP-{#RealVersion}-{#Arch}-setup
2601-Compression=lzma/Max
2602-SolidCompression=true
2603-SetupIconFile=OpenLP.ico
2604-VersionInfoVersion={#AppVersion}
2605-WizardImageFile=WizImageBig.bmp
2606-WizardSmallImageFile=WizImageSmall.bmp
2607-ChangesAssociations=true
2608-
2609-[Languages]
2610-Name: english; MessagesFile: compiler:Default.isl
2611-Name: brazilianportuguese; MessagesFile: compiler:Languages\BrazilianPortuguese.isl
2612-Name: catalan; MessagesFile: compiler:Languages\Catalan.isl
2613-Name: czech; MessagesFile: compiler:Languages\Czech.isl
2614-Name: danish; MessagesFile: compiler:Languages\Danish.isl
2615-Name: dutch; MessagesFile: compiler:Languages\Dutch.isl
2616-Name: finnish; MessagesFile: compiler:Languages\Finnish.isl
2617-Name: french; MessagesFile: compiler:Languages\French.isl
2618-Name: german; MessagesFile: compiler:Languages\German.isl
2619-Name: hebrew; MessagesFile: compiler:Languages\Hebrew.isl
2620-Name: hungarian; MessagesFile: compiler:Languages\Hungarian.isl
2621-Name: italian; MessagesFile: compiler:Languages\Italian.isl
2622-Name: japanese; MessagesFile: compiler:Languages\Japanese.isl
2623-Name: norwegian; MessagesFile: compiler:Languages\Norwegian.isl
2624-Name: polish; MessagesFile: compiler:Languages\Polish.isl
2625-Name: portuguese; MessagesFile: compiler:Languages\Portuguese.isl
2626-Name: russian; MessagesFile: compiler:Languages\Russian.isl
2627-Name: slovenian; MessagesFile: compiler:Languages\Slovenian.isl
2628-Name: spanish; MessagesFile: compiler:Languages\Spanish.isl
2629-
2630-[Tasks]
2631-Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
2632-Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; OnlyBelowVersion: 0, 6.1
2633-
2634-[Files]
2635-Source: %(branch)s\dist\OpenLP\*; DestDir: {app}; Flags: ignoreversion recursesubdirs createallsubdirs
2636-; DLL used to check if the target program is running at install time
2637-Source: psvince.dll; flags: dontcopy
2638-; psvince is installed in {app} folder, so it will be loaded at
2639-; uninstall time to check if the target program is running
2640-Source: psvince.dll; DestDir: {app}
2641-
2642-[Icons]
2643-Name: {group}\{#AppName}; Filename: {app}\{#AppExeName}
2644-Name: {group}\{#AppName} (Debug); Filename: {app}\{#AppExeName}; Parameters: -l debug
2645-Name: {group}\{#AppName} Help; Filename: {app}\{#AppName}.chm; Check: FileExists(ExpandConstant('{app}\{#AppName}.chm'))
2646-Name: {group}\{cm:ProgramOnTheWeb,{#AppName}}; Filename: {#AppURL}
2647-Name: {group}\{cm:UninstallProgram,{#AppName}}; Filename: {uninstallexe}
2648-Name: {commondesktop}\{#AppName}; Filename: {app}\{#AppExeName}; Tasks: desktopicon
2649-Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\{#AppName}; Filename: {app}\{#AppExeName}; Tasks: quicklaunchicon
2650-
2651-[Run]
2652-Filename: {app}\{#AppExeName}; Description: {cm:LaunchProgram,{#AppName}}; Flags: nowait postinstall skipifsilent
2653-
2654-[Registry]
2655-Root: HKCR; Subkey: .osz; ValueType: string; ValueName: ; ValueData: OpenLP; Flags: uninsdeletevalue
2656-Root: HKCR; Subkey: .oszl; ValueType: string; ValueName: ; ValueData: OpenLP; Flags: uninsdeletevalue
2657-Root: HKCR; Subkey: OpenLP; ValueType: string; ValueName: ; ValueData: OpenLP Service; Flags: uninsdeletekey
2658-Root: HKCR; Subkey: OpenLP\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\OpenLP.exe,0
2659-Root: HKCR; Subkey: OpenLP\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\OpenLP.exe"" ""%1"""
2660-
2661-[UninstallDelete]
2662-; Remove support directory created when program is run:
2663-Type: filesandordirs; Name: {app}\support
2664-; Remove program directory if empty:
2665-Name: {app}; Type: dirifempty
2666-
2667-[Code]
2668-// Function to call psvince.dll at install time
2669-function IsModuleLoadedInstall(modulename: AnsiString ): Boolean;
2670-external 'IsModuleLoaded@files:psvince.dll stdcall setuponly';
2671-
2672-// Function to call psvince.dll at uninstall time
2673-function IsModuleLoadedUninstall(modulename: AnsiString ): Boolean;
2674-external 'IsModuleLoaded@{app}\psvince.dll stdcall uninstallonly' ;
2675-
2676-function GetUninstallString(): String;
2677-var
2678- sUnInstPath: String;
2679- sUnInstallString: String;
2680-begin
2681- sUnInstPath := ExpandConstant('Software\Microsoft\Windows\CurrentVersion\Uninstall\{#emit SetupSetting("AppId")}_is1');
2682- sUnInstallString := '';
2683- if not RegQueryStringValue(HKLM, sUnInstPath, 'UninstallString', sUnInstallString) then
2684- RegQueryStringValue(HKCU, sUnInstPath, 'UninstallString', sUnInstallString);
2685- Result := sUnInstallString;
2686-end;
2687-
2688-function IsUpgrade(): Boolean;
2689-begin
2690- Result := (GetUninstallString() <> '');
2691-end;
2692-
2693-// Return Values:
2694-// 1 - uninstall string is empty
2695-// 2 - error executing the UnInstallString
2696-// 3 - successfully executed the UnInstallString
2697-function UnInstallOldVersion(): Integer;
2698-var
2699- sUnInstallString: String;
2700- iResultCode: Integer;
2701-begin
2702- Result := 0;
2703- sUnInstallString := GetUninstallString();
2704- if sUnInstallString <> '' then
2705- begin
2706- sUnInstallString := RemoveQuotes(sUnInstallString);
2707- if Exec(sUnInstallString, '/SILENT /NORESTART /SUPPRESSMSGBOXES','', SW_HIDE, ewWaitUntilTerminated, iResultCode) then
2708- Result := 3
2709- else
2710- Result := 2;
2711- end
2712- else
2713- Result := 1;
2714-end;
2715-
2716-function InitializeSetup(): Boolean;
2717-begin
2718- Result := true;
2719- while IsModuleLoadedInstall( 'OpenLP.exe' ) and Result do
2720- begin
2721- if MsgBox( 'Openlp is currently running, please close it to continue the install.',
2722- mbError, MB_OKCANCEL ) = IDCANCEL then
2723- begin
2724- Result := false;
2725- end;
2726- end;
2727-end;
2728-
2729-procedure CurStepChanged(CurStep: TSetupStep);
2730-begin
2731- if (CurStep=ssInstall) then
2732- begin
2733- if (IsUpgrade()) then
2734- begin
2735- UnInstallOldVersion();
2736- end;
2737- end;
2738-end;
2739-
2740-function InitializeUninstall(): Boolean;
2741-begin
2742- Result := true;
2743- while IsModuleLoadedUninstall( 'OpenLP.exe' ) and Result do
2744- begin
2745- if MsgBox( 'Openlp is currently running, please close it to continue the uninstall.',
2746- mbError, MB_OKCANCEL ) = IDCANCEL then
2747- begin
2748- Result := false;
2749- end;
2750- end;
2751-// Unload psvince.dll, otherwise it is not deleted
2752- UnloadDLL(ExpandConstant('{app}\psvince.dll'));
2753-end;
2754
2755=== modified file 'windows/OpenLPPortable/App/Appinfo/appicon.ico'
2756Binary files windows/OpenLPPortable/App/Appinfo/appicon.ico 2012-06-28 04:57:26 +0000 and windows/OpenLPPortable/App/Appinfo/appicon.ico 2019-05-20 22:20:27 +0000 differ
2757=== modified file 'windows/OpenLPPortable/App/Appinfo/appicon_16.png'
2758Binary files windows/OpenLPPortable/App/Appinfo/appicon_16.png 2012-06-28 04:57:26 +0000 and windows/OpenLPPortable/App/Appinfo/appicon_16.png 2019-05-20 22:20:27 +0000 differ
2759=== modified file 'windows/OpenLPPortable/App/Appinfo/appicon_32.png'
2760Binary files windows/OpenLPPortable/App/Appinfo/appicon_32.png 2012-06-28 04:57:26 +0000 and windows/OpenLPPortable/App/Appinfo/appicon_32.png 2019-05-20 22:20:27 +0000 differ
2761=== removed file 'windows/WizImageBig.bmp'
2762Binary files windows/WizImageBig.bmp 2012-06-09 19:02:47 +0000 and windows/WizImageBig.bmp 1970-01-01 00:00:00 +0000 differ
2763=== removed file 'windows/WizImageSmall.bmp'
2764Binary files windows/WizImageSmall.bmp 2012-06-09 19:02:47 +0000 and windows/WizImageSmall.bmp 1970-01-01 00:00:00 +0000 differ
2765=== added file 'windows/WizardBanner.bmp'
2766Binary files windows/WizardBanner.bmp 1970-01-01 00:00:00 +0000 and windows/WizardBanner.bmp 2019-05-20 22:20:27 +0000 differ
2767=== added file 'windows/WizardMain.bmp'
2768Binary files windows/WizardMain.bmp 1970-01-01 00:00:00 +0000 and windows/WizardMain.bmp 2019-05-20 22:20:27 +0000 differ
2769=== modified file 'windows/config-appveyor.ini'
2770--- windows/config-appveyor.ini 2019-02-15 21:34:14 +0000
2771+++ windows/config-appveyor.ini 2019-05-20 22:20:27 +0000
2772@@ -1,14 +1,13 @@
2773 [executables]
2774-innosetup = %(progfiles)s\Inno Setup 5\ISCC.exe
2775 sphinx = %(pyroot)s\Scripts\sphinx-build.exe
2776-pyinstaller = %(pyroot)s\Scripts\pyinstaller-script.py
2777+pyinstaller = %(pyroot)s\Scripts\pyinstaller.exe
2778 htmlhelp = %(progfiles)s\HTML Help Workshop\hhc.exe
2779-psvince = %(here)s\psvince.dll
2780 lrelease = C:\Qt\5.12\msvc2017\bin\lrelease.exe
2781 portablelauncher = %(here)s\..\..\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
2782 portableinstaller = %(here)s\..\..\PortableApps.comInstaller\PortableApps.comInstaller.exe
2783 mutool = %(here)s\..\..\mupdf-1.14.0-windows\mutool.exe
2784-mediainfo = %(here)s\..\..\MediaInfo\MediaInfo.exe
2785+candle = %(progfilesx86)s\WiX Toolset v3.11\bin\candle.exe
2786+light = %(progfilesx86)s\WiX Toolset v3.11\bin\light.exe
2787
2788 [paths]
2789 branch = %(projects)s\openlp-branch
2790
2791=== modified file 'windows/config.ini.default'
2792--- windows/config.ini.default 2019-02-15 20:19:31 +0000
2793+++ windows/config.ini.default 2019-05-20 22:20:27 +0000
2794@@ -1,22 +1,21 @@
2795 [executables]
2796-innosetup = %(progfiles)s\Inno Setup 5\ISCC.exe
2797 sphinx = %(pyroot)s\Scripts\sphinx-build.exe
2798 pyinstaller = %(here)s\..\pyinstaller\pyinstaller.py
2799 htmlhelp = %(progfiles)s\HTML Help Workshop\hhc.exe
2800-psvince = %(here)s\psvince.dll
2801 lrelease = %(sitepackages)s\PyQt5\bin\lrelease.exe
2802 portablelauncher = %(progfiles)s\PortableApps.comLauncher\PortableApps.comLauncherGenerator.exe
2803 portableinstaller = %(progfiles)s\PortableApps.comInstaller\PortableApps.comInstaller.exe
2804 mutool = %(here)s\..\mupdf-1.9a-windows\mutool.exe
2805-mediainfo = %(here)s\..\MediaInfo\MediaInfo.exe
2806+candle = %(progfiles)s\WiX Toolset v3.11\bin\candle.exe
2807+light = %(progfiles)s\WiX Toolset v3.11\bin\light.exe
2808
2809 [paths]
2810 branch = %(projects)s\trunk
2811 documentation = %(projects)s\documentation
2812-icon = %(here)s\OpenLP.ico
2813-hooks = %(here)s\..\pyinstaller-hooks
2814+icon = %(here)s\windows\OpenLP.ico
2815+hooks = %(here)s\pyinstaller-hooks
2816 license = %(here)s\LICENSE.txt
2817-portable_source = %(here)s\OpenLPPortable
2818+portable_source = %(here)s\windows\OpenLPPortable
2819 portable_dest = %(projects)s\OpenLPPortable
2820
2821 [transifex]
2822
2823=== added file 'windows/file-associations.xml'
2824--- windows/file-associations.xml 1970-01-01 00:00:00 +0000
2825+++ windows/file-associations.xml 2019-05-20 22:20:27 +0000
2826@@ -0,0 +1,10 @@
2827+<ProgId Id="OpenLP.Service" Description="OpenLP Service File" Icon="service_file.ico" Advertise="yes">
2828+ <Extension Id="osz">
2829+ <Verb Id="Open" Command="Open" Argument=" &quot;%1&quot;" />
2830+ <MIME Advertise="yes" ContentType="application/-x-openlp-service" Default="yes" />
2831+ </Extension>
2832+ <Extension Id="oszl">
2833+ <Verb Id="Open" Command="Open" Argument=" &quot;%1&quot;" />
2834+ <MIME Advertise="yes" ContentType="application/-x-openlp-service-lite" Default="yes" />
2835+ </Extension>
2836+</ProgId>
2837
2838=== removed file 'windows/psvince.dll'
2839Binary files windows/psvince.dll 2012-06-09 19:02:47 +0000 and windows/psvince.dll 1970-01-01 00:00:00 +0000 differ
2840=== added file 'windows/service_file.ico'
2841Binary files windows/service_file.ico 1970-01-01 00:00:00 +0000 and windows/service_file.ico 2019-05-20 22:20:27 +0000 differ

Subscribers

People subscribed via source and target branches