Merge lp:~raoul-snyman/openlp/update-about into lp:openlp

Proposed by Raoul Snyman
Status: Merged
Merged at revision: 2894
Proposed branch: lp:~raoul-snyman/openlp/update-about
Merge into: lp:openlp
Diff against target: 1405 lines (+675/-635)
3 files modified
openlp/core/ui/aboutdialog.py (+660/-621)
openlp/core/ui/aboutform.py (+8/-7)
tests/functional/openlp_core/ui/test_aboutform.py (+7/-7)
To merge this branch: bzr merge lp:~raoul-snyman/openlp/update-about
Reviewer Review Type Date Requested Status
Tim Bentley Approve
Tomas Groth Pending
Review via email: mp+371894@code.launchpad.net

This proposal supersedes a proposal from 2019-08-27.

Commit message

Update the About dialog:

- Changed the license to GPL3
- Removed a lot of old contributors
- Simplified credit tab content
- Linked to all the dependent libraries

Description of the change

Update the About dialog:

- Changed the license to GPL3
- Removed a lot of old contributors
- Simplified credit tab content
- Linked to all the dependent libraries

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

Linux tests passed!

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

JavaScript tests passed!

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

JavaScript tests passed!

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

JavaScript tests failed, please see https://ci.openlp.io/job/MP-02-JavaScript-Tests/3/ for more details

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

Linux tests passed!

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

Linting passed!

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

Since we on windows and Mac actually bundle the software we give credit to, I think we need to include which license each dependency has. Maybe like this: Qt5 (LGPL3). The license should then be a link to the license text.

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

Sure, can do.

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

JavaScript tests passed!

Revision history for this message
Tim Bentley (trb143) wrote : Posted in a previous version of this proposal

Approved

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

JavaScript tests passed!

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

Linux tests passed!

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

macOS tests passed!

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

Linting passed!

Revision history for this message
Tim Bentley (trb143) wrote :

Again

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'openlp/core/ui/aboutdialog.py'
2--- openlp/core/ui/aboutdialog.py 2019-08-18 09:15:51 +0000
3+++ openlp/core/ui/aboutdialog.py 2019-08-27 16:29:09 +0000
4@@ -41,21 +41,33 @@
5 """
6 about_dialog.setObjectName('about_dialog')
7 about_dialog.setWindowIcon(UiIcons().main_icon)
8- self.about_dialog_layout = QtWidgets.QVBoxLayout(about_dialog)
9- self.about_dialog_layout.setContentsMargins(8, 8, 8, 8)
10- self.about_dialog_layout.setObjectName('about_dialog_layout')
11+ self.base_layout = QtWidgets.QVBoxLayout(about_dialog)
12+ self.base_layout.setContentsMargins(0, 0, 0, 0)
13+ self.base_layout.setSpacing(0)
14+ self.base_layout.setObjectName('base_layout')
15 self.logo_label = QtWidgets.QLabel(about_dialog)
16 self.logo_label.setPixmap(QtGui.QPixmap(':/graphics/openlp-about-logo.png'))
17+ self.logo_label.setStyleSheet('background-color: #fff')
18+ self.logo_label.setMargin(8)
19 self.logo_label.setObjectName('logo_label')
20- self.about_dialog_layout.addWidget(self.logo_label)
21+ self.base_layout.addWidget(self.logo_label)
22+ self.line = QtWidgets.QFrame(about_dialog)
23+ self.line.setFrameShape(QtWidgets.QFrame.HLine)
24+ self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
25+ self.line.setObjectName('line')
26+ self.base_layout.addWidget(self.line)
27+ self.about_dialog_layout = QtWidgets.QVBoxLayout()
28+ self.about_dialog_layout.setContentsMargins(8, 8, 8, 8)
29+ self.about_dialog_layout.setSpacing(8)
30+ self.about_dialog_layout.setObjectName('about_dialog_layout')
31+ self.base_layout.addLayout(self.about_dialog_layout)
32 self.about_notebook = QtWidgets.QTabWidget(about_dialog)
33 self.about_notebook.setObjectName('about_notebook')
34 self.about_tab = QtWidgets.QWidget()
35 self.about_tab.setObjectName('about_tab')
36 self.about_tab_layout = QtWidgets.QVBoxLayout(self.about_tab)
37 self.about_tab_layout.setObjectName('about_tab_layout')
38- self.about_text_edit = QtWidgets.QPlainTextEdit(self.about_tab)
39- self.about_text_edit.setReadOnly(True)
40+ self.about_text_edit = QtWidgets.QTextBrowser(self.about_tab)
41 self.about_text_edit.setObjectName('about_text_edit')
42 self.about_tab_layout.addWidget(self.about_text_edit)
43 self.about_notebook.addTab(self.about_tab, '')
44@@ -63,8 +75,7 @@
45 self.credits_tab.setObjectName('credits_tab')
46 self.credits_tab_layout = QtWidgets.QVBoxLayout(self.credits_tab)
47 self.credits_tab_layout.setObjectName('credits_tab_layout')
48- self.credits_text_edit = QtWidgets.QPlainTextEdit(self.credits_tab)
49- self.credits_text_edit.setReadOnly(True)
50+ self.credits_text_edit = QtWidgets.QTextBrowser(self.credits_tab)
51 self.credits_text_edit.setObjectName('credits_text_edit')
52 self.credits_tab_layout.addWidget(self.credits_text_edit)
53 self.about_notebook.addTab(self.credits_tab, '')
54@@ -72,14 +83,13 @@
55 self.license_tab.setObjectName('license_tab')
56 self.license_tab_layout = QtWidgets.QVBoxLayout(self.license_tab)
57 self.license_tab_layout.setObjectName('license_tab_layout')
58- self.license_text_edit = QtWidgets.QPlainTextEdit(self.license_tab)
59- self.license_text_edit.setReadOnly(True)
60+ self.license_text_edit = QtWidgets.QTextBrowser(self.license_tab)
61 self.license_text_edit.setObjectName('license_text_edit')
62 self.license_tab_layout.addWidget(self.license_text_edit)
63 self.about_notebook.addTab(self.license_tab, '')
64 self.about_dialog_layout.addWidget(self.about_notebook)
65- self.volunteer_button = create_button(None, 'volunteer_button', icon=UiIcons().volunteer)
66- self.button_box = create_button_box(about_dialog, 'button_box', ['close'], [self.volunteer_button])
67+ self.contribute_button = create_button(None, 'contribute_button', icon=UiIcons().volunteer)
68+ self.button_box = create_button_box(about_dialog, 'button_box', ['close'], [self.contribute_button])
69 self.about_dialog_layout.addWidget(self.button_box)
70 self.retranslate_ui(about_dialog)
71 self.about_notebook.setCurrentIndex(0)
72@@ -91,618 +101,647 @@
73 :param about_dialog: The QDialog object to translate
74 """
75 about_dialog.setWindowTitle('{about} OpenLP'.format(about=UiStrings().About))
76- self.about_text_edit.setPlainText(
77+ self.about_text_edit.setHtml(
78 translate('OpenLP.AboutForm',
79- 'OpenLP <version><revision> - Open Source Lyrics Projection\n'
80- '\n'
81- 'OpenLP is free church presentation software, or lyrics '
82- 'projection software, used to display slides of songs, Bible '
83- 'verses, videos, images, and even presentations (if '
84- 'Impress or PowerPoint is installed) '
85- 'for church worship using a computer and a data projector.\n'
86- '\n'
87- 'Find out more about OpenLP: http://openlp.org/\n'
88- '\n'
89- 'OpenLP is written and maintained by volunteers. If you would '
90- 'like to see more free Christian software being written, please '
91- 'consider volunteering by using the button below.'))
92+ '<p>OpenLP {{version}}{{revision}} - Open Source Lyrics Projection<br>'
93+ 'Copyright {crs} 2004-{yr} OpenLP Developers</p>'
94+ '<p>Find out more about OpenLP: <a href="https://openlp.org/">https://openlp.org/</a></p>'
95+ '<p>This program is free software: you can redistribute it and/or modify it under the terms of '
96+ 'the GNU General Public License as published by the Free Software Foundation, either version 3 '
97+ 'of the License, or (at your option) any later version.</p>'
98+ '<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; '
99+ 'without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. '
100+ 'See the GNU General Public License for more details.</p>'
101+ '<p>You should have received a copy of the GNU General Public License'
102+ 'along with this program. If not, see <a href="https://www.gnu.org/licenses/">'
103+ 'https://www.gnu.org/licenses/</a>.</p>').format(crs='\xa9', yr=datetime.date.today().year))
104 self.about_notebook.setTabText(self.about_notebook.indexOf(self.about_tab), UiStrings().About)
105- lead = 'Raoul "superfly" Snyman'
106- developers = ['Tim "TRB143" Bentley', 'Tomas "tgc" Groth', 'Samuel "samuel_m" Mehrbrodt',
107- 'Andreas "googol" Preikschat', 'Ken "alisonken1" Roberts', 'Raoul "superfly" Snyman',
108- 'Jonathan "springermac" Springer', 'Philip "Phill" Ridout']
109- contributors = ['Stuart "sibecker" Becker', 'Gerald "jerryb" Britton', 'Jonathan "gushie" Corwin',
110- 'Samuel "MrGamgee" Findlay', 'Bastian Germann', 'Michael "cocooncrash" Gorven',
111- 'Scott "sguerrieri" Guerrieri', 'Simon Hanna', 'Chris Hill',
112- 'Matthias "matthub" Hub', 'Meinert "m2j" Jordan', 'Ian Knightly'
113- 'Armin "orangeshirt" K\xf6hler',
114- 'Rafael "rafaellerm" Lerm', 'Gabriel loo', 'Erik "luen" Lundin', 'Edwin "edwinlunando" Lunando',
115- 'Dmitriy Marmyshev', 'Brian "brianmeyer" Meyer', 'Joshua "milleja46" Miller',
116- 'Suutari "Azaziah" Olli',
117- 'Stevan "ElderP" Pettit', 'Mattias "mahfiaz" P\xf5ldaru', 'Felipe Polo-Wood',
118- 'Christian "crichter" Richter', 'Arjan "arjans" Schrijver', 'Simon "samscudder" Scudder',
119- 'Jeffrey "whydoubt" Smith', 'Stefan Strasser', 'Maikel Stuivenberg', 'Martin "mijiti" Thompson',
120- 'Jon "Meths" Tibble', 'Dave "Dave42W" Warnock', 'Oliver "OliWie" Wieland',
121- 'Frode "frodus" Woldsund', 'Martin "matysek" Zibricky', 'Patrick "mohij" Zimmermann']
122- testers = ['Philip "Phill" Ridout', 'Wesley "wrst" Stout',
123- 'John "jseagull1" Cegalis (lead)']
124- packagers = ['Thomas "tabthorpe" Abthorpe (FreeBSD)',
125- 'Tim "TRB143" Bentley (Fedora and Android)',
126- 'Joseph "jdmulloy" Mulloy (openSUSE)',
127- 'Stevan "ElderP" Pettit (Windows)',
128- 'Raoul "superfly" Snyman (Mac OS X, Debian, Ubuntu)',
129- 'Wesley "wrst" Stout (Arch Linux)']
130- translators = {
131- 'af': ['Johan "nuvolari" Mynhardt'],
132- 'cs': ['Martin "matysek" Zibricky'],
133- 'da': ['Henrik "Hsonesson" Sonesson'],
134- 'de': ['Patrick "madmuffin" Br\xfcckner', 'Meinert "m2j" Jordan', 'Andreas "googol" Preikschat',
135- 'Christian "crichter" Richter'],
136- 'en_GB': ['Tim "TRB143" Bentley', 'Jonathan "gushie" Corwin'],
137- 'en_ZA': ['Raoul "superfly" Snyman'],
138- 'el': ['Alexander Siozos'],
139- 'es': ['Josu\xe9 Z\xfa\xf1iga', 'Christian Gonzalez'],
140- 'et': ['Mattias "mahfiaz" P\xf5ldaru'],
141- 'fi': ['Jori "joribu" Brander', 'Tobbe "tobbeb" Bildo'],
142- 'fr': ['Stephan\xe9 "stbrunner" Brunner', 'Jeremie "jnau05"', 'Carl "carl.fischer" Fischer'],
143- 'hu': ['Gyuris Gell\xe9rt'],
144- 'id': ['Mico "bangmico" Siahaan', ' ign_christian'],
145- 'ja': ['Kunio "Kunio" Nakamaru', 'Chris Haris'],
146- 'nb': ['Atle "pendlaren" Weibell', 'Frode "frodus" Woldsund'],
147- 'nl': ['Arjan Schrijver', 'Arjen "typovar" van Voorst'],
148- 'pl': ['Agata \u017B\u0105d\u0142o', 'Piotr Karze\u0142ek'],
149- 'pt_BR': ['David Mederiros', 'Rafael "rafaellerm" Lerm', 'Eduardo Levi Chaves',
150- 'Gustavo Bim', 'Rog\xeanio Bel\xe9m', 'Simon "samscudder" Scudder', 'Van Der Fran'],
151- 'ru': ['Sergey "ratz" Ratz'],
152- 'sv': ['Erik "luen" Lundin'],
153- 'ta_LK': ['"Prasad"'],
154- 'zh_CN': [' "executor" ']
155- }
156- documentors = ['Wesley "wrst" Stout', 'John "jseagull1" Cegalis (lead)']
157- project_lead = translate('OpenLP.AboutForm', 'Project Lead')
158- devs = translate('OpenLP.AboutForm', 'Developers')
159- cons = translate('OpenLP.AboutForm', 'Contributors')
160- packs = translate('OpenLP.AboutForm', 'Packagers')
161- tests = translate('OpenLP.AboutForm', 'Testers')
162- laters = translate('OpenLP.AboutForm', 'Translators')
163- af = translate('OpenLP.AboutForm', 'Afrikaans (af)')
164- cs = translate('OpenLP.AboutForm', 'Czech (cs)')
165- da = translate('OpenLP.AboutForm', 'Danish (da)')
166- de = translate('OpenLP.AboutForm', 'German (de)')
167- el = translate('OpenLP.AboutForm', 'Greek (el)')
168- gb = translate('OpenLP.AboutForm', 'English, United Kingdom (en_GB)')
169- enza = translate('OpenLP.AboutForm', 'English, South Africa (en_ZA)')
170- es = translate('OpenLP.AboutForm', 'Spanish (es)')
171- et = translate('OpenLP.AboutForm', 'Estonian (et)')
172- fi = translate('OpenLP.AboutForm', 'Finnish (fi)')
173- fr = translate('OpenLP.AboutForm', 'French (fr)')
174- hu = translate('OpenLP.AboutForm', 'Hungarian (hu)')
175- ind = translate('OpenLP.AboutForm', 'Indonesian (id)')
176- ja = translate('OpenLP.AboutForm', 'Japanese (ja)')
177- nb = translate('OpenLP.AboutForm', 'Norwegian Bokmal (nb)')
178- nl = translate('OpenLP.AboutForm', 'Dutch (nl)')
179- pl = translate('OpenLP.AboutForm', 'Polish (pl)')
180- ptbr = translate('OpenLP.AboutForm', 'Portuguese, Brazil (pt_BR)')
181- ru = translate('OpenLP.AboutForm', 'Russian (ru)')
182- sv = translate('OpenLP.AboutForm', 'Swedish (sv)')
183- talk = translate('OpenLP.AboutForm', 'Tamil(Sri-Lanka) (ta_LK)')
184- zhcn = translate('OpenLP.AboutForm', 'Chinese(China) (zh_CN)')
185- documentation = translate('OpenLP.AboutForm', 'Documentation')
186- built_with = translate('OpenLP.AboutForm', 'Built With\n'
187- ' Python: http://www.python.org/\n'
188- ' Qt5: http://qt.io\n'
189- ' PyQt5: http://www.riverbankcomputing.co.uk/software/pyqt/intro\n'
190- ' Oxygen Icons: http://techbase.kde.org/Projects/Oxygen/\n'
191- ' MuPDF: http://www.mupdf.com/\n'
192- ' MediaInfo: https://mediaarea.net/en/MediaInfo\n')
193- final_credit = translate('OpenLP.AboutForm', 'Final Credit\n'
194- ' "For God so loved the world that He gave\n'
195- ' His one and only Son, so that whoever\n'
196- ' believes in Him will not perish but inherit\n'
197- ' eternal life." -- John 3:16\n\n'
198- ' And last but not least, final credit goes to\n'
199- ' God our Father, for sending His Son to die\n'
200- ' on the cross, setting us free from sin. We\n'
201- ' bring this software to you for free because\n'
202- ' He has set us free.')
203- self.credits_text_edit.setPlainText(
204- '{titleLead}\n'
205- ' {nameLead}\n'
206- '\n'
207- '{titleDevs}\n'
208- ' {nameDevs}\n'
209- '\n'
210- '{titleContrib}\n'
211- ' {nameContrib}\n'
212- '\n'
213- '{titleTesters}\n'
214- ' {nameTesters}\n'
215- '\n'
216- '{titlePackagers}\n'
217- ' {namePackagers}\n'
218- '\n'
219- '{titleTranslators}\n'
220- ' {titleAF}\n'
221- ' {nameAF}\n'
222- ' {titleCS}\n'
223- ' {nameCS}\n'
224- ' {titleDA}\n'
225- ' {nameDA}\n'
226- ' {titleDE}\n'
227- ' {nameDE}\n'
228- ' {titleEL}\n'
229- ' {nameEL}\n'
230- ' {titleGB}\n'
231- ' {nameGB}\n'
232- ' {titleENZA}\n'
233- ' {nameENZA}\n'
234- ' {titleES}\n'
235- ' {nameES}\n'
236- ' {titleET}\n'
237- ' {nameET}\n'
238- ' {titleFI}\n'
239- ' {nameFI}\n'
240- ' {titleFR}\n'
241- ' {nameFR}\n'
242- ' {titleHU}\n'
243- ' {nameHU}\n'
244- ' {titleIND}\n'
245- ' {nameIND}\n'
246- ' {titleJA}\n'
247- ' {nameJA}\n'
248- ' {titleNB}\n'
249- ' {nameNB}\n'
250- ' {titleNL}\n'
251- ' {nameNL}\n'
252- ' {titlePL}\n'
253- ' {namePL}\n'
254- ' {titlePTBR}\n'
255- ' {namePTBR}\n'
256- ' {titleRU}\n'
257- ' {nameRU}\n'
258- ' {titleSV}\n'
259- ' {nameSV}\n'
260- ' {titleTALK}\n'
261- ' {nameTALK}\n'
262- ' {titleZHCN}\n'
263- ' {nameZHCN}\n'
264- '\n'
265- '{titleDOCS}\n'
266- ' {nameDOCS}\n'
267- '\n'
268- '{build}\n{final}'.format(titleLead=project_lead, nameLead=lead,
269- titleDevs=devs, nameDevs='\n '.join(developers),
270- titleContrib=cons, nameContrib='\n '.join(contributors),
271- titleTesters=tests, nameTesters='\n '.join(testers),
272- titlePackagers=packs, namePackagers='\n '.join(packagers),
273- titleTranslators=laters,
274- titleAF=af, nameAF='\n '.join(translators['af']),
275- titleCS=cs, nameCS='\n '.join(translators['cs']),
276- titleDA=da, nameDA='\n '.join(translators['da']),
277- titleDE=de, nameDE='\n '.join(translators['de']),
278- titleEL=el, nameEL='\n '.join(translators['el']),
279- titleGB=gb, nameGB='\n '.join(translators['en_GB']),
280- titleENZA=enza, nameENZA='\n '.join(translators['en_ZA']),
281- titleES=es, nameES='\n '.join(translators['es']),
282- titleET=et, nameET='\n '.join(translators['et']),
283- titleFI=fi, nameFI='\n '.join(translators['fi']),
284- titleFR=fr, nameFR='\n '.join(translators['fr']),
285- titleHU=hu, nameHU='\n '.join(translators['hu']),
286- titleIND=ind, nameIND='\n '.join(translators['id']),
287- titleJA=ja, nameJA='\n '.join(translators['ja']),
288- titleNB=nb, nameNB='\n '.join(translators['nb']),
289- titleNL=nl, nameNL='\n '.join(translators['nl']),
290- titlePL=pl, namePL='\n '.join(translators['pl']),
291- titlePTBR=ptbr, namePTBR='\n '.join(translators['pt_BR']),
292- titleRU=ru, nameRU='\n '.join(translators['ru']),
293- titleSV=sv, nameSV='\n '.join(translators['sv']),
294- titleTALK=talk, nameTALK='\n '.join(translators['ta_LK']),
295- titleZHCN=zhcn, nameZHCN='\n '.join(translators['zh_CN']),
296- titleDOCS=documentation, nameDOCS='\n '.join(documentors),
297- build=built_with,
298- final=final_credit))
299+ developers = translate('OpenLP.AboutForm',
300+ 'OpenLP is written and maintained by volunteers all over the world in their spare '
301+ 'time. If you would like to see this project succeed, please consider contributing to '
302+ 'it by clicking the "contribute" button below.')
303+ built_with = translate('OpenLP.AboutForm', 'OpenLP would not be possible without the following software '
304+ 'libraries:')
305+ build_tech = ('<ul>'
306+ '<li><a href="https://www.python.org/">Python</a> (PSFL)</li>'
307+ '<li><a href="https://www.qt.io">Qt5</a> (GPL3/LGPL3)</li>'
308+ '<li><a href="https://www.riverbankcomputing.co.uk/software/pyqt/intro">PyQt5</a> (GPL3)</li>'
309+ '<li><a href="https://github.com/ActiveState/appdirs">appdirs</a> (MIT)</li>'
310+ '<li><a href="https://alembic.sqlalchemy.org/en/latest/">Alembic</a> (MIT)</li>'
311+ '<li><a href="https://www.crummy.com/software/BeautifulSoup/">BeautifulSoup 4</a> (MIT)</li>'
312+ '<li><a href="https://github.com/chardet/chardet">chardet</a> (LGPL)</li>'
313+ '<li><a href="https://fontawesome.com">Font Awesome</a> (CC-BY 4.0, OFL 1.1, MIT)</li>'
314+ '<li><a href="https://lxml.de">lxml</a> (BSD)</li>'
315+ '<li><a href="https://www.makotemplates.org">Mako templates</a> (MIT)</li>'
316+ '<li><a href="https://mupdf.com/">MuPDF</a> (AGPL)</li>'
317+ '<li><a href="https://github.com/pymupdf/PyMuPDF">PyMuPDF</a> (AGPL3+/GPL3+)</li>'
318+ '<li><a href="https://mediaarea.net/en/MediaInfo">MediaInfo</a> (BSD-style)</li>'
319+ '<li><a href="https://pymediainfo.readthedocs.io">pymediainfo</a> (MIT)</li>'
320+ '<li><a href="https://github.com/rfk/pyenchant/">pyenchant</a> (LGPL)</li>'
321+ '<li><a href="https://gitlab.com/tgc-dk/pysword">pysword</a> (MIT)</li>'
322+ '<li><a href="https://pytest.org/">pytest</a> (MIT)</li>'
323+ '<li><a href="https://github.com/jstasiak/python-zeroconf">python-zeroconf</a> (LGPL)</li>'
324+ '<li><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet">QDarkStyle</a> (MIT)</li>'
325+ '<li><a href="https://github.com/spyder-ide/qtawesome">QtAwesome</a> (MIT)</li>'
326+ '<li><a href="https://2.python-requests.org/en/master/">Requests</a> (Apache 2.0)</li>'
327+ '<li><a href="https://www.sqlalchemy.org">SQLAlchemy</a> (MIT)</li>'
328+ '<li><a href="https://www.videolan.org/vlc/">VLC</a> (LGPL)</li>'
329+ '<li><a href="https://wiki.videolan.org/PythonBinding">Python bindings for VLC</a> (LGPL)</li>'
330+ '<li><a href="https://github.com/Pylons/waitress">Waitress</a> (ZPL)</li>'
331+ '<li><a href="https://github.com/aaugustin/websockets">websockets</a> (BSD)</li>'
332+ '<li><a href="https://webob.org/">WebOb</a> (MIT)</li>'
333+ '<li><a href="https://mkleehammer.github.io/pyodbc/">pyodbc</a> (MIT)</li>'
334+ '<li><a href="http://initd.org/psycopg/">psycopg2</a> (LGPL3+)</li>'
335+ '</ul>')
336+ final_credit = translate('OpenLP.AboutForm', '<h3>Final credit:</h3>'
337+ '<blockquote><p>For God so loved the world that He gave His one and only Son, so that '
338+ 'whoever believes in Him will not perish but inherit eternal life.</p><p>John 3:16</p>'
339+ '</blockquote>'
340+ '<p>And last but not least, final credit goes to God our Father, for sending His Son '
341+ 'to die on the cross, setting us free from sin. We bring this software to you for '
342+ 'free because He has set us free.</p>')
343+ self.credits_text_edit.setHtml('<p>{developers}</p><p>{built_with}</p>{build_tech}<p>{final_credit}</p>'.format(
344+ developers=developers, built_with=built_with, build_tech=build_tech, final_credit=final_credit))
345 self.about_notebook.setTabText(self.about_notebook.indexOf(self.credits_tab),
346 translate('OpenLP.AboutForm', 'Credits'))
347- cr_others = ('Tim Bentley, Gerald Britton, Jonathan Corwin, Samuel Findlay, '
348- 'Michael Gorven, Scott Guerrieri, Simon Hanna, Chris, Hill Matthias Hub, Meinert Jordan, '
349- 'Ian Knightley, Armin K\xf6hler, Gabriel Loo, Erik Lundin, Edwin Lunando, Joshua Miller, '
350- 'Brian T. Meyer, Suutari Olli, Stevan Pettit, Andreas Preikschat, '
351- 'Mattias P\xf5ldaru, Christian Richter, Philip Ridout, '
352- 'Ken Roberts, Simon Scudder, Jeffrey Smith, Maikel Stuivenberg, '
353- 'Martin Thompson, Jon Tibble, Dave Warnock, Frode Woldsund, '
354- 'Martin Zibricky, Patrick Zimmermann')
355- copyright_note = translate('OpenLP.AboutForm',
356- 'Copyright {crs} 2004-{yr} {cr}\n\n'
357- 'Portions copyright {crs} 2004-{yr} {others}').format(cr='Raoul Snyman',
358- yr=datetime.date.today().year,
359- others=cr_others,
360- crs='\xa9')
361- licence = translate('OpenLP.AboutForm',
362- 'This program is free software; you can redistribute it and/or '
363- 'modify it under the terms of the GNU General Public License as '
364- 'published by the Free Software Foundation; version 2 of the '
365- 'License.')
366- disclaimer = translate('OpenLP.AboutForm',
367- 'This program is distributed in the hope that it will be useful, '
368- 'but WITHOUT ANY WARRANTY; without even the implied warranty of '
369- 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See below '
370- 'for more details.')
371- gpl_text = ('GNU GENERAL PUBLIC LICENSE\n'
372- 'Version 2, June 1991\n'
373- '\n'
374- 'Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 '
375- 'Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. '
376- 'Everyone is permitted to copy and distribute verbatim copies of '
377- 'this license document, but changing it is not allowed.\n'
378- '\n'
379- 'Preamble\n'
380- '\n'
381- 'The licenses for most software are designed to take away your '
382- 'freedom to share and change it. By contrast, the GNU General '
383- 'Public License is intended to guarantee your freedom to share '
384- 'and change free software--to make sure the software is free for '
385- 'all its users. This General Public License applies to most of '
386- 'the Free Software Foundation\'s software and to any other '
387- 'program whose authors commit to using it. (Some other Free '
388- 'Software Foundation software is covered by the GNU Lesser '
389- 'General Public License instead.) You can apply it to your '
390- 'programs, too.\n'
391- '\n'
392- 'When we speak of free software, we are referring to freedom, not '
393- 'price. Our General Public Licenses are designed to make sure '
394- 'that you have the freedom to distribute copies of free software '
395- '(and charge for this service if you wish), that you receive '
396- 'source code or can get it if you want it, that you can change '
397- 'the software or use pieces of it in new free programs; and that '
398- 'you know you can do these things.\n'
399- '\n'
400- 'To protect your rights, we need to make restrictions that forbid '
401- 'anyone to deny you these rights or to ask you to surrender the '
402- 'rights. These restrictions translate to certain responsibilities '
403- 'for you if you distribute copies of the software, or if you '
404- 'modify it.\n'
405- '\n'
406- 'For example, if you distribute copies of such a program, whether '
407- 'gratis or for a fee, you must give the recipients all the rights '
408- 'that you have. You must make sure that they, too, receive or '
409- 'can get the source code. And you must show them these terms so '
410- 'they know their rights.\n'
411- '\n'
412- 'We protect your rights with two steps: (1) copyright the '
413- 'software, and (2) offer you this license which gives you legal '
414- 'permission to copy, distribute and/or modify the software.\n'
415- '\n'
416- 'Also, for each author\'s protection and ours, we want to make '
417- 'certain that everyone understands that there is no warranty for '
418- 'this free software. If the software is modified by someone else '
419- 'and passed on, we want its recipients to know that what they '
420- 'have is not the original, so that any problems introduced by '
421- 'others will not reflect on the original authors\' reputations.\n'
422- '\n'
423- 'Finally, any free program is threatened constantly by software '
424- 'patents. We wish to avoid the danger that redistributors of a '
425- 'free program will individually obtain patent licenses, in effect '
426- 'making the program proprietary. To prevent this, we have made '
427- 'it clear that any patent must be licensed for everyone\'s free '
428- 'use or not licensed at all.\n'
429- '\n'
430- 'The precise terms and conditions for copying, distribution and '
431- 'modification follow.\n'
432- '\n'
433- 'GNU GENERAL PUBLIC LICENSE\n'
434- 'TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n'
435- '\n'
436- '0. This License applies to any program or other work which '
437- 'contains a notice placed by the copyright holder saying it may '
438- 'be distributed under the terms of this General Public License. '
439- 'The "Program", below, refers to any such program or work, and a '
440- '"work based on the Program" means either the Program or any '
441- 'derivative work under copyright law: that is to say, a work '
442- 'containing the Program or a portion of it, either verbatim or '
443- 'with modifications and/or translated into another language. '
444- '(Hereinafter, translation is included without limitation in the '
445- 'term "modification".) Each licensee is addressed as "you".\n'
446- '\n'
447- 'Activities other than copying, distribution and modification are '
448- 'not covered by this License; they are outside its scope. The '
449- 'act of running the Program is not restricted, and the output '
450- 'from the Program is covered only if its contents constitute a '
451- 'work based on the Program (independent of having been made by '
452- 'running the Program). Whether that is true depends on what the '
453- 'Program does.\n'
454- '\n'
455- '1. You may copy and distribute verbatim copies of the Program\'s '
456- 'source code as you receive it, in any medium, provided that you '
457- 'conspicuously and appropriately publish on each copy an '
458- 'appropriate copyright notice and disclaimer of warranty; keep '
459- 'intact all the notices that refer to this License and to the '
460- 'absence of any warranty; and give any other recipients of the '
461- 'Program a copy of this License along with the Program.\n'
462- '\n'
463- 'You may charge a fee for the physical act of transferring a '
464- 'copy, and you may at your option offer warranty protection in '
465- 'exchange for a fee.\n'
466- '\n'
467- '2. You may modify your copy or copies of the Program or any '
468- 'portion of it, thus forming a work based on the Program, and '
469- 'copy and distribute such modifications or work under the terms '
470- 'of Section 1 above, provided that you also meet all of these '
471- 'conditions:\n'
472- '\n'
473- 'a) You must cause the modified files to carry prominent notices '
474- 'stating that you changed the files and the date of any change.\n'
475- '\n'
476- 'b) You must cause any work that you distribute or publish, that '
477- 'in whole or in part contains or is derived from the Program or '
478- 'any part thereof, to be licensed as a whole at no charge to all '
479- 'third parties under the terms of this License.\n'
480- '\n'
481- 'c) If the modified program normally reads commands interactively '
482- 'when run, you must cause it, when started running for such '
483- 'interactive use in the most ordinary way, to print or display an '
484- 'announcement including an appropriate copyright notice and a '
485- 'notice that there is no warranty (or else, saying that you '
486- 'provide a warranty) and that users may redistribute the program '
487- 'under these conditions, and telling the user how to view a copy '
488- 'of this License. (Exception: if the Program itself is '
489- 'interactive but does not normally print such an announcement, '
490- 'your work based on the Program is not required to print an '
491- 'announcement.)\n'
492- '\n'
493- 'These requirements apply to the modified work as a whole. If '
494- 'identifiable sections of that work are not derived from the '
495- 'Program, and can be reasonably considered independent and '
496- 'separate works in themselves, then this License, and its terms, '
497- 'do not apply to those sections when you distribute them as '
498- 'separate works. But when you distribute the same sections as '
499- 'part of a whole which is a work based on the Program, the '
500- 'distribution of the whole must be on the terms of this License, '
501- 'whose permissions for other licensees extend to the entire '
502- 'whole, and thus to each and every part regardless of who wrote '
503- 'it.\n'
504- '\n'
505- 'Thus, it is not the intent of this section to claim rights or '
506- 'contest your rights to work written entirely by you; rather, the '
507- 'intent is to exercise the right to control the distribution of '
508- 'derivative or collective works based on the Program.\n'
509- '\n'
510- 'In addition, mere aggregation of another work not based on the '
511- 'Program with the Program (or with a work based on the Program) '
512- 'on a volume of a storage or distribution medium does not bring '
513- 'the other work under the scope of this License.\n'
514- '\n'
515- '3. You may copy and distribute the Program (or a work based on '
516- 'it, under Section 2) in object code or executable form under the '
517- 'terms of Sections 1 and 2 above provided that you also do one of '
518- 'the following:\n'
519- '\n'
520- 'a) Accompany it with the complete corresponding machine-readable '
521- 'source code, which must be distributed under the terms of '
522- 'Sections 1 and 2 above on a medium customarily used for software '
523- 'interchange; or,\n'
524- '\n'
525- 'b) Accompany it with a written offer, valid for at least three '
526- 'years, to give any third party, for a charge no more than your '
527- 'cost of physically performing source distribution, a complete '
528- 'machine-readable copy of the corresponding source code, to be '
529- 'distributed under the terms of Sections 1 and 2 above on a '
530- 'medium customarily used for software interchange; or,\n'
531- '\n'
532- 'c) Accompany it with the information you received as to the '
533- 'offer to distribute corresponding source code. (This '
534- 'alternative is allowed only for noncommercial distribution and '
535- 'only if you received the program in object code or executable '
536- 'form with such an offer, in accord with Subsection b above.)\n'
537- '\n'
538- 'The source code for a work means the preferred form of the work '
539- 'for making modifications to it. For an executable work, '
540- 'complete source code means all the source code for all modules '
541- 'it contains, plus any associated interface definition files, '
542- 'plus the scripts used to control compilation and installation of '
543- 'the executable. However, as a special exception, the source '
544- 'code distributed need not include anything that is normally '
545- 'distributed (in either source or binary form) with the major '
546- 'components (compiler, kernel, and so on) of the operating system '
547- 'on which the executable runs, unless that component itself '
548- 'accompanies the executable.\n'
549- '\n'
550- 'If distribution of executable or object code is made by offering '
551- 'access to copy from a designated place, then offering equivalent '
552- 'access to copy the source code from the same place counts as '
553- 'distribution of the source code, even though third parties are '
554- 'not compelled to copy the source along with the object code.\n'
555- '\n'
556- '4. You may not copy, modify, sublicense, or distribute the '
557- 'Program except as expressly provided under this License. Any '
558- 'attempt otherwise to copy, modify, sublicense or distribute the '
559- 'Program is void, and will automatically terminate your rights '
560- 'under this License. However, parties who have received copies, '
561- 'or rights, from you under this License will not have their '
562- 'licenses terminated so long as such parties remain in full '
563- 'compliance.\n'
564- '\n'
565- '5. You are not required to accept this License, since you have '
566- 'not signed it. However, nothing else grants you permission to '
567- 'modify or distribute the Program or its derivative works. These '
568- 'actions are prohibited by law if you do not accept this '
569- 'License. Therefore, by modifying or distributing the Program '
570- '(or any work based on the Program), you indicate your acceptance '
571- 'of this License to do so, and all its terms and conditions for '
572- 'copying, distributing or modifying the Program or works based on '
573- 'it.\n'
574- '\n'
575- '6. Each time you redistribute the Program (or any work based on '
576- 'the Program), the recipient automatically receives a license '
577- 'from the original licensor to copy, distribute or modify the '
578- 'Program subject to these terms and conditions. You may not '
579- 'impose any further restrictions on the recipients\' exercise of '
580- 'the rights granted herein. You are not responsible for enforcing '
581- 'compliance by third parties to this License.\n'
582- '\n'
583- '7. If, as a consequence of a court judgment or allegation of '
584- 'patent infringement or for any other reason (not limited to '
585- 'patent issues), conditions are imposed on you (whether by court '
586- 'order, agreement or otherwise) that contradict the conditions of '
587- 'this License, they do not excuse you from the conditions of this '
588- 'License. If you cannot distribute so as to satisfy '
589- 'simultaneously your obligations under this License and any other '
590- 'pertinent obligations, then as a consequence you may not '
591- 'distribute the Program at all. For example, if a patent license '
592- 'would not permit royalty-free redistribution of the Program by '
593- 'all those who receive copies directly or indirectly through you, '
594- 'then the only way you could satisfy both it and this License '
595- 'would be to refrain entirely from distribution of the Program.\n'
596- '\n'
597- 'If any portion of this section is held invalid or unenforceable '
598- 'under any particular circumstance, the balance of the section is '
599- 'intended to apply and the section as a whole is intended to '
600- 'apply in other circumstances.\n'
601- '\n'
602- 'It is not the purpose of this section to induce you to infringe '
603- 'any patents or other property right claims or to contest '
604- 'validity of any such claims; this section has the sole purpose '
605- 'of protecting the integrity of the free software distribution '
606- 'system, which is implemented by public license practices. Many '
607- 'people have made generous contributions to the wide range of '
608- 'software distributed through that system in reliance on '
609- 'consistent application of that system; it is up to the '
610- 'author/donor to decide if he or she is willing to distribute '
611- 'software through any other system and a licensee cannot impose '
612- 'that choice.\n'
613- '\n'
614- 'This section is intended to make thoroughly clear what is '
615- 'believed to be a consequence of the rest of this License.\n'
616- '\n'
617- '8. If the distribution and/or use of the Program is restricted '
618- 'in certain countries either by patents or by copyrighted '
619- 'interfaces, the original copyright holder who places the Program '
620- 'under this License may add an explicit geographical distribution '
621- 'limitation excluding those countries, so that distribution is '
622- 'permitted only in or among countries not thus excluded. In such '
623- 'case, this License incorporates the limitation as if written in '
624- 'the body of this License.\n'
625- '\n'
626- '9. The Free Software Foundation may publish revised and/or new '
627- 'versions of the General Public License from time to time. Such '
628- 'new versions will be similar in spirit to the present version, '
629- 'but may differ in detail to address new problems or concerns.\n'
630- '\n'
631- 'Each version is given a distinguishing version number. If the '
632- 'Program specifies a version number of this License which applies '
633- 'to it and "any later version", you have the option of '
634- 'following the terms and conditions either of that version or of '
635- 'any later version published by the Free Software Foundation. If '
636- 'the Program does not specify a version number of this License, '
637- 'you may choose any version ever published by the Free Software '
638- 'Foundation.\n'
639- '\n'
640- '10. If you wish to incorporate parts of the Program into other '
641- 'free programs whose distribution conditions are different, write '
642- 'to the author to ask for permission. For software which is '
643- 'copyrighted by the Free Software Foundation, write to the Free '
644- 'Software Foundation; we sometimes make exceptions for this. Our '
645- 'decision will be guided by the two goals of preserving the free '
646- 'status of all derivatives of our free software and of promoting '
647- 'the sharing and reuse of software generally.\n'
648- '\n'
649- 'NO WARRANTY\n'
650- '\n'
651- '11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO '
652- 'WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE '
653- 'LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT '
654- 'HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT '
655- 'WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, '
656- 'BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY '
657- 'AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE '
658- 'QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE '
659- 'PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY '
660- 'SERVICING, REPAIR OR CORRECTION.\n'
661- '\n'
662- '12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO '
663- 'IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY '
664- 'MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE '
665- 'LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, '
666- 'INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR '
667- 'INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS '
668- 'OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY '
669- 'YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH '
670- 'ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN '
671- 'ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n'
672- '\n'
673- 'END OF TERMS AND CONDITIONS\n'
674- '\n'
675- 'How to Apply These Terms to Your New Programs\n'
676- '\n'
677- 'If you develop a new program, and you want it to be of the '
678- 'greatest possible use to the public, the best way to achieve '
679- 'this is to make it free software which everyone can redistribute '
680- 'and change under these terms.\n'
681- '\n'
682- 'To do so, attach the following notices to the program. It is '
683- 'safest to attach them to the start of each source file to most '
684- 'effectively convey the exclusion of warranty; and each file '
685- 'should have at least the "copyright" line and a pointer to where '
686- 'the full notice is found.\n'
687- '\n'
688- '<one line to give the program\'s name and a brief idea of what '
689- 'it does.>\n'
690- 'Copyright (C) <year> <name of author>\n'
691- '\n'
692- 'This program is free software; you can redistribute it and/or '
693- 'modify it under the terms of the GNU General Public License as '
694- 'published by the Free Software Foundation; either version 2 of '
695- 'the License, or (at your option) any later version.\n'
696- '\n'
697- 'This program is distributed in the hope that it will be useful, '
698- 'but WITHOUT ANY WARRANTY; without even the implied warranty of '
699- 'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the '
700- 'GNU General Public License for more details.\n'
701- '\n'
702- 'You should have received a copy of the GNU General Public '
703- 'License along with this program; if not, write to the Free '
704- 'Software Foundation, Inc., 51 Franklin Street, Fifth Floor, '
705- 'Boston, MA 02110-1301 USA.\n'
706- '\n'
707- 'Also add information on how to contact you by electronic and '
708- 'paper mail.\n'
709- '\n'
710- 'If the program is interactive, make it output a short notice '
711- 'like this when it starts in an interactive mode:\n'
712- '\n'
713- 'Gnomovision version 69, Copyright (C) year name of author\n'
714- 'Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type '
715- '"show w".\n'
716- 'This is free software, and you are welcome to redistribute it '
717- 'under certain conditions; type "show c" for details.\n'
718- '\n'
719- 'The hypothetical commands "show w" and "show c" should show '
720- 'the appropriate parts of the General Public License. Of course, '
721- 'the commands you use may be called something other than "show '
722- 'w" and "show c"; they could even be mouse-clicks or menu items--'
723- 'whatever suits your program.\n'
724- '\n'
725- 'You should also get your employer (if you work as a programmer) '
726- 'or your school, if any, to sign a "copyright disclaimer" for the '
727- 'program, if necessary. Here is a sample; alter the names:\n'
728- '\n'
729- 'Yoyodyne, Inc., hereby disclaims all copyright interest in the '
730- 'program "Gnomovision" (which makes passes at compilers) written '
731- 'by James Hacker.\n'
732- '\n'
733- '<signature of Ty Coon>, 1 April 1989\n'
734- 'Ty Coon, President of Vice\n'
735- '\n'
736- 'This General Public License does not permit incorporating your '
737- 'program into proprietary programs. If your program is a '
738- 'subroutine library, you may consider it more useful to permit '
739- 'linking proprietary applications with the library. If this is '
740- 'what you want to do, use the GNU Lesser General Public License '
741- 'instead of this License.')
742- self.license_text_edit.setPlainText('{crnote}\n\n{license}\n\n{disclaimer}'
743- '\n\n\n{gpl}'.format(crnote=copyright_note,
744- license=licence,
745- disclaimer=disclaimer,
746- gpl=gpl_text))
747+ license = ('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'
748+ ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
749+ ''
750+ '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">'
751+ '<head>'
752+ ' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'
753+ ' <title>GNU General Public License v3.0 - GNU Project - Free Software Foundation (FSF)</title>'
754+ ' <link rel="alternate" type="application/rdf+xml"'
755+ ' href="http://www.gnu.org/licenses/gpl-3.0.rdf" /> '
756+ '</head>'
757+ '<body>'
758+ '<h3 style="text-align: center;">GNU GENERAL PUBLIC LICENSE</h3>'
759+ '<p style="text-align: center;">Version 3, 29 June 2007</p>'
760+ '<p>Copyright &copy; 2007 Free Software Foundation, Inc.'
761+ ' &lt;<a href="https://fsf.org/">https://fsf.org/</a>&gt;</p><p>'
762+ ' Everyone is permitted to copy and distribute verbatim copies'
763+ ' of this license document, but changing it is not allowed.</p>'
764+ '<h3><a name="preamble"></a>Preamble</h3>'
765+ '<p>The GNU General Public License is a free, copyleft license for '
766+ 'software and other kinds of works.</p>'
767+ '<p>The licenses for most software and other practical works are designed '
768+ 'to take away your freedom to share and change the works. By contrast, '
769+ 'the GNU General Public License is intended to guarantee your freedom to '
770+ 'share and change all versions of a program--to make sure it remains free '
771+ 'software for all its users. We, the Free Software Foundation, use the '
772+ 'GNU General Public License for most of our software; it applies also to '
773+ 'any other work released this way by its authors. You can apply it to '
774+ 'your programs, too.</p>'
775+ '<p>When we speak of free software, we are referring to freedom, not '
776+ 'price. Our General Public Licenses are designed to make sure that you '
777+ 'have the freedom to distribute copies of free software (and charge for '
778+ 'them if you wish), that you receive source code or can get it if you '
779+ 'want it, that you can change the software or use pieces of it in new '
780+ 'free programs, and that you know you can do these things.</p>'
781+ '<p>To protect your rights, we need to prevent others from denying you '
782+ 'these rights or asking you to surrender the rights. Therefore, you have '
783+ 'certain responsibilities if you distribute copies of the software, or if '
784+ 'you modify it: responsibilities to respect the freedom of others.</p>'
785+ '<p>For example, if you distribute copies of such a program, whether '
786+ 'gratis or for a fee, you must pass on to the recipients the same '
787+ 'freedoms that you received. You must make sure that they, too, receive '
788+ 'or can get the source code. And you must show them these terms so they '
789+ 'know their rights.</p>'
790+ '<p>Developers that use the GNU GPL protect your rights with two steps: '
791+ '(1) assert copyright on the software, and (2) offer you this License '
792+ 'giving you legal permission to copy, distribute and/or modify it.</p>'
793+ '<p>For the developers\' and authors\' protection, the GPL clearly explains '
794+ 'that there is no warranty for this free software. For both users\' and '
795+ 'authors\' sake, the GPL requires that modified versions be marked as '
796+ 'changed, so that their problems will not be attributed erroneously to '
797+ 'authors of previous versions.</p>'
798+ '<p>Some devices are designed to deny users access to install or run '
799+ 'modified versions of the software inside them, although the manufacturer '
800+ 'can do so. This is fundamentally incompatible with the aim of '
801+ 'protecting users\' freedom to change the software. The systematic '
802+ 'pattern of such abuse occurs in the area of products for individuals to '
803+ 'use, which is precisely where it is most unacceptable. Therefore, we'
804+ 'have designed this version of the GPL to prohibit the practice for those '
805+ 'products. If such problems arise substantially in other domains, we '
806+ 'stand ready to extend this provision to those domains in future versions '
807+ 'of the GPL, as needed to protect the freedom of users.</p> '
808+ '<p>Finally, every program is threatened constantly by software patents. '
809+ 'States should not allow patents to restrict development and use of '
810+ 'software on general-purpose computers, but in those that do, we wish to '
811+ 'avoid the special danger that patents applied to a free program could '
812+ 'make it effectively proprietary. To prevent this, the GPL assures that '
813+ 'patents cannot be used to render the program non-free.</p>'
814+ '<p>The precise terms and conditions for copying, distribution and '
815+ 'modification follow.</p>'
816+ '<h3><a name="terms"></a>TERMS AND CONDITIONS</h3>'
817+ '<h4><a name="section0"></a>0. Definitions.</h4>'
818+ '<p>&ldquo;This License&rdquo; refers to version 3 of the GNU General Public License.</p>'
819+ '<p>&ldquo;Copyright&rdquo; also means copyright-like laws that apply to other kinds of '
820+ 'works, such as semiconductor masks.</p>'
821+ '<p>&ldquo;The Program&rdquo; refers to any copyrightable work licensed under this '
822+ 'License. Each licensee is addressed as &ldquo;you&rdquo;. &ldquo;Licensees&rdquo; and '
823+ '&ldquo;recipients&rdquo; may be individuals or organizations.</p>'
824+ '<p>To &ldquo;modify&rdquo; a work means to copy from or adapt all or part of the work '
825+ 'in a fashion requiring copyright permission, other than the making of an '
826+ 'exact copy. The resulting work is called a &ldquo;modified version&rdquo; of the '
827+ 'earlier work or a work &ldquo;based on&rdquo; the earlier work.</p>'
828+ '<p>A &ldquo;covered work&rdquo; means either the unmodified Program or a work based '
829+ 'on the Program.</p>'
830+ '<p>To &ldquo;propagate&rdquo; a work means to do anything with it that, without '
831+ 'permission, would make you directly or secondarily liable for '
832+ 'infringement under applicable copyright law, except executing it on a '
833+ 'computer or modifying a private copy. Propagation includes copying, '
834+ 'distribution (with or without modification), making available to the '
835+ 'public, and in some countries other activities as well.</p>'
836+ '<p>To &ldquo;convey&rdquo; a work means any kind of propagation that enables other '
837+ 'parties to make or receive copies. Mere interaction with a user through '
838+ 'a computer network, with no transfer of a copy, is not conveying.</p>'
839+ '<p>An interactive user interface displays &ldquo;Appropriate Legal Notices&rdquo; '
840+ 'to the extent that it includes a convenient and prominently visible '
841+ 'feature that (1) displays an appropriate copyright notice, and (2)'
842+ 'tells the user that there is no warranty for the work (except to the '
843+ 'extent that warranties are provided), that licensees may convey the '
844+ 'work under this License, and how to view a copy of this License. If '
845+ 'the interface presents a list of user commands or options, such as a '
846+ 'menu, a prominent item in the list meets this criterion.</p>'
847+ '<h4><a name="section1"></a>1. Source Code.</h4>'
848+ '<p>The &ldquo;source code&rdquo; for a work means the preferred form of the work '
849+ 'for making modifications to it. &ldquo;Object code&rdquo; means any non-source '
850+ 'form of a work.</p>'
851+ '<p>A &ldquo;Standard Interface&rdquo; means an interface that either is an official '
852+ 'standard defined by a recognized standards body, or, in the case of '
853+ 'interfaces specified for a particular programming language, one that '
854+ 'is widely used among developers working in that language.</p>'
855+ '<p>The &ldquo;System Libraries&rdquo; of an executable work include anything, other '
856+ 'than the work as a whole, that (a) is included in the normal form of '
857+ 'packaging a Major Component, but which is not part of that Major '
858+ 'Component, and (b) serves only to enable use of the work with that '
859+ 'Major Component, or to implement a Standard Interface for which an '
860+ 'implementation is available to the public in source code form. A '
861+ '&ldquo;Major Component&rdquo;, in this context, means a major essential component '
862+ '(kernel, window system, and so on) of the specific operating system '
863+ '(if any) on which the executable work runs, or a compiler used to '
864+ 'produce the work, or an object code interpreter used to run it.</p>'
865+ '<p>The &ldquo;Corresponding Source&rdquo; for a work in object code form means all '
866+ 'the source code needed to generate, install, and (for an executable '
867+ 'work) run the object code and to modify the work, including scripts to '
868+ 'control those activities. However, it does not include the work\'s '
869+ 'System Libraries, or general-purpose tools or generally available free '
870+ 'programs which are used unmodified in performing those activities but '
871+ 'which are not part of the work. For example, Corresponding Source '
872+ 'includes interface definition files associated with source files for '
873+ 'the work, and the source code for shared libraries and dynamically '
874+ 'linked subprograms that the work is specifically designed to require, '
875+ 'such as by intimate data communication or control flow between those '
876+ 'subprograms and other parts of the work.</p>'
877+ '<p>The Corresponding Source need not include anything that users '
878+ 'can regenerate automatically from other parts of the Corresponding '
879+ 'Source.</p>'
880+ '<p>The Corresponding Source for a work in source code form is that '
881+ 'same work.</p>'
882+ '<h4><a name="section2"></a>2. Basic Permissions.</h4>'
883+ '<p>All rights granted under this License are granted for the term of '
884+ 'copyright on the Program, and are irrevocable provided the stated '
885+ 'conditions are met. This License explicitly affirms your unlimited '
886+ 'permission to run the unmodified Program. The output from running a '
887+ 'covered work is covered by this License only if the output, given its '
888+ 'content, constitutes a covered work. This License acknowledges your '
889+ 'rights of fair use or other equivalent, as provided by copyright law.</p>'
890+ '<p>You may make, run and propagate covered works that you do not '
891+ 'convey, without conditions so long as your license otherwise remains '
892+ 'in force. You may convey covered works to others for the sole purpose '
893+ 'of having them make modifications exclusively for you, or provide you '
894+ 'with facilities for running those works, provided that you comply with '
895+ 'the terms of this License in conveying all material for which you do '
896+ 'not control copyright. Those thus making or running the covered works '
897+ 'for you must do so exclusively on your behalf, under your direction '
898+ 'and control, on terms that prohibit them from making any copies of '
899+ 'your copyrighted material outside their relationship with you.</p>'
900+ '<p>Conveying under any other circumstances is permitted solely under '
901+ 'the conditions stated below. Sublicensing is not allowed; section 10 '
902+ 'makes it unnecessary.</p>'
903+ '<h4><a name="section3"></a>3. Protecting Users\' Legal Rights From Anti-Circumvention Law.</h4>'
904+ '<p>No covered work shall be deemed part of an effective technological '
905+ 'measure under any applicable law fulfilling obligations under article '
906+ '11 of the WIPO copyright treaty adopted on 20 December 1996, or '
907+ 'similar laws prohibiting or restricting circumvention of such '
908+ 'measures.</p>'
909+ '<p>When you convey a covered work, you waive any legal power to forbid '
910+ 'circumvention of technological measures to the extent such circumvention '
911+ 'is effected by exercising rights under this License with respect to '
912+ 'the covered work, and you disclaim any intention to limit operation or '
913+ 'modification of the work as a means of enforcing, against the work\'s '
914+ 'users, your or third parties\' legal rights to forbid circumvention of '
915+ 'technological measures.</p>'
916+ '<h4><a name="section4"></a>4. Conveying Verbatim Copies.</h4>'
917+ '<p>You may convey verbatim copies of the Program\'s source code as you '
918+ 'receive it, in any medium, provided that you conspicuously and '
919+ 'appropriately publish on each copy an appropriate copyright notice; '
920+ 'keep intact all notices stating that this License and any '
921+ 'non-permissive terms added in accord with section 7 apply to the code; '
922+ 'keep intact all notices of the absence of any warranty; and give all '
923+ 'recipients a copy of this License along with the Program.</p>'
924+ '<p>You may charge any price or no price for each copy that you convey, '
925+ 'and you may offer support or warranty protection for a fee.</p>'
926+ '<h4><a name="section5"></a>5. Conveying Modified Source Versions.</h4>'
927+ '<p>You may convey a work based on the Program, or the modifications to '
928+ 'produce it from the Program, in the form of source code under the '
929+ 'terms of section 4, provided that you also meet all of these conditions:</p>'
930+ '<ul>'
931+ '<li>a) The work must carry prominent notices stating that you modified '
932+ ' it, and giving a relevant date.</li>'
933+ '<li>b) The work must carry prominent notices stating that it is '
934+ ' released under this License and any conditions added under section '
935+ ' 7. This requirement modifies the requirement in section 4 to '
936+ ' &ldquo;keep intact all notices&rdquo;.</li>'
937+ '<li>c) You must license the entire work, as a whole, under this '
938+ ' License to anyone who comes into possession of a copy. This '
939+ ' License will therefore apply, along with any applicable section 7 '
940+ ' additional terms, to the whole of the work, and all its parts, '
941+ ' regardless of how they are packaged. This License gives no '
942+ ' permission to license the work in any other way, but it does not '
943+ ' invalidate such permission if you have separately received it.</li>'
944+ '<li>d) If the work has interactive user interfaces, each must display '
945+ ' Appropriate Legal Notices; however, if the Program has interactive '
946+ ' interfaces that do not display Appropriate Legal Notices, your '
947+ ' work need not make them do so.</li>'
948+ '</ul>'
949+ '<p>A compilation of a covered work with other separate and independent '
950+ 'works, which are not by their nature extensions of the covered work, '
951+ 'and which are not combined with it such as to form a larger program, '
952+ 'in or on a volume of a storage or distribution medium, is called an '
953+ '&ldquo;aggregate&rdquo; if the compilation and its resulting copyright are not '
954+ 'used to limit the access or legal rights of the compilation\'s users '
955+ 'beyond what the individual works permit. Inclusion of a covered work '
956+ 'in an aggregate does not cause this License to apply to the other '
957+ 'parts of the aggregate.</p>'
958+ '<h4><a name="section6"></a>6. Conveying Non-Source Forms.</h4>'
959+ '<p>You may convey a covered work in object code form under the terms '
960+ 'of sections 4 and 5, provided that you also convey the '
961+ 'machine-readable Corresponding Source under the terms of this License, '
962+ 'in one of these ways:</p>'
963+ '<ul>'
964+ '<li>a) Convey the object code in, or embodied in, a physical product '
965+ ' (including a physical distribution medium), accompanied by the '
966+ ' Corresponding Source fixed on a durable physical medium '
967+ ' customarily used for software interchange.</li>'
968+ '<li>b) Convey the object code in, or embodied in, a physical product '
969+ ' (including a physical distribution medium), accompanied by a '
970+ ' written offer, valid for at least three years and valid for as '
971+ ' long as you offer spare parts or customer support for that product '
972+ ' model, to give anyone who possesses the object code either (1) a '
973+ ' copy of the Corresponding Source for all the software in the '
974+ ' product that is covered by this License, on a durable physical '
975+ ' medium customarily used for software interchange, for a price no '
976+ ' more than your reasonable cost of physically performing this '
977+ ' conveying of source, or (2) access to copy the '
978+ ' Corresponding Source from a network server at no charge.</li>'
979+ '<li>c) Convey individual copies of the object code with a copy of the '
980+ ' written offer to provide the Corresponding Source. This '
981+ ' alternative is allowed only occasionally and noncommercially, and '
982+ ' only if you received the object code with such an offer, in accord '
983+ ' with subsection 6b.</li>'
984+ '<li>d) Convey the object code by offering access from a designated '
985+ ' place (gratis or for a charge), and offer equivalent access to the '
986+ ' Corresponding Source in the same way through the same place at no '
987+ ' further charge. You need not require recipients to copy the '
988+ ' Corresponding Source along with the object code. If the place to '
989+ ' copy the object code is a network server, the Corresponding Source '
990+ ' may be on a different server (operated by you or a third party)'
991+ ' that supports equivalent copying facilities, provided you maintain '
992+ ' clear directions next to the object code saying where to find the '
993+ ' Corresponding Source. Regardless of what server hosts the '
994+ ' Corresponding Source, you remain obligated to ensure that it is '
995+ ' available for as long as needed to satisfy these requirements.</li>'
996+ '<li>e) Convey the object code using peer-to-peer transmission, provided '
997+ ' you inform other peers where the object code and Corresponding '
998+ ' Source of the work are being offered to the general public at no '
999+ ' charge under subsection 6d.</li>'
1000+ '</ul>'
1001+ '<p>A separable portion of the object code, whose source code is excluded '
1002+ 'from the Corresponding Source as a System Library, need not be '
1003+ 'included in conveying the object code work.</p>'
1004+ '<p>A &ldquo;User Product&rdquo; is either (1) a &ldquo;consumer product&rdquo;, which means any '
1005+ 'tangible personal property which is normally used for personal, family, '
1006+ 'or household purposes, or (2) anything designed or sold for incorporation '
1007+ 'into a dwelling. In determining whether a product is a consumer product, '
1008+ 'doubtful cases shall be resolved in favor of coverage. For a particular '
1009+ 'product received by a particular user, &ldquo;normally used&rdquo; refers to a '
1010+ 'typical or common use of that class of product, regardless of the status '
1011+ 'of the particular user or of the way in which the particular user '
1012+ 'actually uses, or expects or is expected to use, the product. A product '
1013+ 'is a consumer product regardless of whether the product has substantial '
1014+ 'commercial, industrial or non-consumer uses, unless such uses represent '
1015+ 'the only significant mode of use of the product.</p>'
1016+ '<p>&ldquo;Installation Information&rdquo; for a User Product means any methods, '
1017+ 'procedures, authorization keys, or other information required to install '
1018+ 'and execute modified versions of a covered work in that User Product from '
1019+ 'a modified version of its Corresponding Source. The information must '
1020+ 'suffice to ensure that the continued functioning of the modified object '
1021+ 'code is in no case prevented or interfered with solely because '
1022+ 'modification has been made.</p>'
1023+ '<p>If you convey an object code work under this section in, or with, or '
1024+ 'specifically for use in, a User Product, and the conveying occurs as '
1025+ 'part of a transaction in which the right of possession and use of the '
1026+ 'User Product is transferred to the recipient in perpetuity or for a '
1027+ 'fixed term (regardless of how the transaction is characterized), the '
1028+ 'Corresponding Source conveyed under this section must be accompanied '
1029+ 'by the Installation Information. But this requirement does not apply '
1030+ 'if neither you nor any third party retains the ability to install '
1031+ 'modified object code on the User Product (for example, the work has '
1032+ 'been installed in ROM).</p>'
1033+ '<p>The requirement to provide Installation Information does not include a '
1034+ 'requirement to continue to provide support service, warranty, or updates '
1035+ 'for a work that has been modified or installed by the recipient, or for '
1036+ 'the User Product in which it has been modified or installed. Access to a '
1037+ 'network may be denied when the modification itself materially and '
1038+ 'adversely affects the operation of the network or violates the rules and '
1039+ 'protocols for communication across the network.</p>'
1040+ '<p>Corresponding Source conveyed, and Installation Information provided, '
1041+ 'in accord with this section must be in a format that is publicly '
1042+ 'documented (and with an implementation available to the public in '
1043+ 'source code form), and must require no special password or key for '
1044+ 'unpacking, reading or copying.</p>'
1045+ '<h4><a name="section7"></a>7. Additional Terms.</h4>'
1046+ '<p>&ldquo;Additional permissions&rdquo; are terms that supplement the terms of this '
1047+ 'License by making exceptions from one or more of its conditions. '
1048+ 'Additional permissions that are applicable to the entire Program shall '
1049+ 'be treated as though they were included in this License, to the extent '
1050+ 'that they are valid under applicable law. If additional permissions '
1051+ 'apply only to part of the Program, that part may be used separately '
1052+ 'under those permissions, but the entire Program remains governed by '
1053+ 'this License without regard to the additional permissions.</p>'
1054+ '<p>When you convey a copy of a covered work, you may at your option '
1055+ 'remove any additional permissions from that copy, or from any part of '
1056+ 'it. (Additional permissions may be written to require their own '
1057+ 'removal in certain cases when you modify the work.) You may place '
1058+ 'additional permissions on material, added by you to a covered work, '
1059+ 'for which you have or can give appropriate copyright permission.</p>'
1060+ '<p>Notwithstanding any other provision of this License, for material you '
1061+ 'add to a covered work, you may (if authorized by the copyright holders of '
1062+ 'that material) supplement the terms of this License with terms:</p>'
1063+ '<ul>'
1064+ '<li>a) Disclaiming warranty or limiting liability differently from the '
1065+ ' terms of sections 15 and 16 of this License; or</li>'
1066+ '<li>b) Requiring preservation of specified reasonable legal notices or '
1067+ ' author attributions in that material or in the Appropriate Legal '
1068+ ' Notices displayed by works containing it; or</li>'
1069+ '<li>c) Prohibiting misrepresentation of the origin of that material, or '
1070+ ' requiring that modified versions of such material be marked in '
1071+ ' reasonable ways as different from the original version; or</li>'
1072+ '<li>d) Limiting the use for publicity purposes of names of licensors or '
1073+ ' authors of the material; or</li>'
1074+ '<li>e) Declining to grant rights under trademark law for use of some '
1075+ ' trade names, trademarks, or service marks; or</li>'
1076+ '<li>f) Requiring indemnification of licensors and authors of that '
1077+ ' material by anyone who conveys the material (or modified versions of '
1078+ ' it) with contractual assumptions of liability to the recipient, for '
1079+ ' any liability that these contractual assumptions directly impose on '
1080+ ' those licensors and authors.</li>'
1081+ '</ul>'
1082+ '<p>All other non-permissive additional terms are considered &ldquo;further '
1083+ 'restrictions&rdquo; within the meaning of section 10. If the Program as you '
1084+ 'received it, or any part of it, contains a notice stating that it is '
1085+ 'governed by this License along with a term that is a further '
1086+ 'restriction, you may remove that term. If a license document contains '
1087+ 'a further restriction but permits relicensing or conveying under this '
1088+ 'License, you may add to a covered work material governed by the terms '
1089+ 'of that license document, provided that the further restriction does '
1090+ 'not survive such relicensing or conveying.</p>'
1091+ '<p>If you add terms to a covered work in accord with this section, you '
1092+ 'must place, in the relevant source files, a statement of the '
1093+ 'additional terms that apply to those files, or a notice indicating '
1094+ 'where to find the applicable terms.</p>'
1095+ '<p>Additional terms, permissive or non-permissive, may be stated in the '
1096+ 'form of a separately written license, or stated as exceptions; '
1097+ 'the above requirements apply either way.</p>'
1098+ '<h4><a name="section8"></a>8. Termination.</h4>'
1099+ '<p>You may not propagate or modify a covered work except as expressly '
1100+ 'provided under this License. Any attempt otherwise to propagate or '
1101+ 'modify it is void, and will automatically terminate your rights under '
1102+ 'this License (including any patent licenses granted under the third '
1103+ 'paragraph of section 11).</p>'
1104+ '<p>However, if you cease all violation of this License, then your '
1105+ 'license from a particular copyright holder is reinstated (a)'
1106+ 'provisionally, unless and until the copyright holder explicitly and '
1107+ 'finally terminates your license, and (b) permanently, if the copyright '
1108+ 'holder fails to notify you of the violation by some reasonable means '
1109+ 'prior to 60 days after the cessation.</p>'
1110+ '<p>Moreover, your license from a particular copyright holder is '
1111+ 'reinstated permanently if the copyright holder notifies you of the '
1112+ 'violation by some reasonable means, this is the first time you have '
1113+ 'received notice of violation of this License (for any work) from that '
1114+ 'copyright holder, and you cure the violation prior to 30 days after '
1115+ 'your receipt of the notice.</p>'
1116+ '<p>Termination of your rights under this section does not terminate the '
1117+ 'licenses of parties who have received copies or rights from you under '
1118+ 'this License. If your rights have been terminated and not permanently '
1119+ 'reinstated, you do not qualify to receive new licenses for the same '
1120+ 'material under section 10.</p>'
1121+ '<h4><a name="section9"></a>9. Acceptance Not Required for Having Copies.</h4>'
1122+ '<p>You are not required to accept this License in order to receive or '
1123+ 'run a copy of the Program. Ancillary propagation of a covered work '
1124+ 'occurring solely as a consequence of using peer-to-peer transmission '
1125+ 'to receive a copy likewise does not require acceptance. However, '
1126+ 'nothing other than this License grants you permission to propagate or '
1127+ 'modify any covered work. These actions infringe copyright if you do '
1128+ 'not accept this License. Therefore, by modifying or propagating a '
1129+ 'covered work, you indicate your acceptance of this License to do so.</p>'
1130+ '<h4><a name="section10"></a>10. Automatic Licensing of Downstream Recipients.</h4>'
1131+ '<p>Each time you convey a covered work, the recipient automatically '
1132+ 'receives a license from the original licensors, to run, modify and '
1133+ 'propagate that work, subject to this License. You are not responsible '
1134+ 'for enforcing compliance by third parties with this License.</p>'
1135+ '<p>An &ldquo;entity transaction&rdquo; is a transaction transferring control of an '
1136+ 'organization, or substantially all assets of one, or subdividing an '
1137+ 'organization, or merging organizations. If propagation of a covered '
1138+ 'work results from an entity transaction, each party to that '
1139+ 'transaction who receives a copy of the work also receives whatever '
1140+ 'licenses to the work the party\'s predecessor in interest had or could '
1141+ 'give under the previous paragraph, plus a right to possession of the '
1142+ 'Corresponding Source of the work from the predecessor in interest, if '
1143+ 'the predecessor has it or can get it with reasonable efforts.</p>'
1144+ '<p>You may not impose any further restrictions on the exercise of the '
1145+ 'rights granted or affirmed under this License. For example, you may '
1146+ 'not impose a license fee, royalty, or other charge for exercise of '
1147+ 'rights granted under this License, and you may not initiate litigation '
1148+ '(including a cross-claim or counterclaim in a lawsuit) alleging that '
1149+ 'any patent claim is infringed by making, using, selling, offering for '
1150+ 'sale, or importing the Program or any portion of it.</p>'
1151+ '<h4><a name="section11"></a>11. Patents.</h4>'
1152+ '<p>A &ldquo;contributor&rdquo; is a copyright holder who authorizes use under this '
1153+ 'License of the Program or a work on which the Program is based. The '
1154+ 'work thus licensed is called the contributor\'s &ldquo;contributor version&rdquo;.</p>'
1155+ '<p>A contributor\'s &ldquo;essential patent claims&rdquo; are all patent claims '
1156+ 'owned or controlled by the contributor, whether already acquired or '
1157+ 'hereafter acquired, that would be infringed by some manner, permitted '
1158+ 'by this License, of making, using, or selling its contributor version, '
1159+ 'but do not include claims that would be infringed only as a '
1160+ 'consequence of further modification of the contributor version. For '
1161+ 'purposes of this definition, &ldquo;control&rdquo; includes the right to grant '
1162+ 'patent sublicenses in a manner consistent with the requirements of '
1163+ 'this License.</p>'
1164+ '<p>Each contributor grants you a non-exclusive, worldwide, royalty-free '
1165+ 'patent license under the contributor\'s essential patent claims, to '
1166+ 'make, use, sell, offer for sale, import and otherwise run, modify and '
1167+ 'propagate the contents of its contributor version.</p>'
1168+ '<p>In the following three paragraphs, a &ldquo;patent license&rdquo; is any express '
1169+ 'agreement or commitment, however denominated, not to enforce a patent '
1170+ '(such as an express permission to practice a patent or covenant not to '
1171+ 'sue for patent infringement). To &ldquo;grant&rdquo; such a patent license to a '
1172+ 'party means to make such an agreement or commitment not to enforce a '
1173+ 'patent against the party.</p>'
1174+ '<p>If you convey a covered work, knowingly relying on a patent license, '
1175+ 'and the Corresponding Source of the work is not available for anyone '
1176+ 'to copy, free of charge and under the terms of this License, through a '
1177+ 'publicly available network server or other readily accessible means, '
1178+ 'then you must either (1) cause the Corresponding Source to be so '
1179+ 'available, or (2) arrange to deprive yourself of the benefit of the '
1180+ 'patent license for this particular work, or (3) arrange, in a manner '
1181+ 'consistent with the requirements of this License, to extend the patent '
1182+ 'license to downstream recipients. &ldquo;Knowingly relying&rdquo; means you have '
1183+ 'actual knowledge that, but for the patent license, your conveying the '
1184+ 'covered work in a country, or your recipient\'s use of the covered work '
1185+ 'in a country, would infringe one or more identifiable patents in that '
1186+ 'country that you have reason to believe are valid.</p>'
1187+ '<p>If, pursuant to or in connection with a single transaction or '
1188+ 'arrangement, you convey, or propagate by procuring conveyance of, a '
1189+ 'covered work, and grant a patent license to some of the parties '
1190+ 'receiving the covered work authorizing them to use, propagate, modify '
1191+ 'or convey a specific copy of the covered work, then the patent license '
1192+ 'you grant is automatically extended to all recipients of the covered '
1193+ 'work and works based on it.</p>'
1194+ '<p>A patent license is &ldquo;discriminatory&rdquo; if it does not include within '
1195+ 'the scope of its coverage, prohibits the exercise of, or is '
1196+ 'conditioned on the non-exercise of one or more of the rights that are '
1197+ 'specifically granted under this License. You may not convey a covered '
1198+ 'work if you are a party to an arrangement with a third party that is '
1199+ 'in the business of distributing software, under which you make payment '
1200+ 'to the third party based on the extent of your activity of conveying '
1201+ 'the work, and under which the third party grants, to any of the '
1202+ 'parties who would receive the covered work from you, a discriminatory '
1203+ 'patent license (a) in connection with copies of the covered work '
1204+ 'conveyed by you (or copies made from those copies), or (b) primarily '
1205+ 'for and in connection with specific products or compilations that '
1206+ 'contain the covered work, unless you entered into that arrangement, '
1207+ 'or that patent license was granted, prior to 28 March 2007.</p>'
1208+ '<p>Nothing in this License shall be construed as excluding or limiting '
1209+ 'any implied license or other defenses to infringement that may '
1210+ 'otherwise be available to you under applicable patent law.</p>'
1211+ '<h4><a name="section12"></a>12. No Surrender of Others\' Freedom.</h4>'
1212+ '<p>If conditions are imposed on you (whether by court order, agreement or '
1213+ 'otherwise) that contradict the conditions of this License, they do not '
1214+ 'excuse you from the conditions of this License. If you cannot convey a '
1215+ 'covered work so as to satisfy simultaneously your obligations under this '
1216+ 'License and any other pertinent obligations, then as a consequence you may '
1217+ 'not convey it at all. For example, if you agree to terms that obligate you '
1218+ 'to collect a royalty for further conveying from those to whom you convey '
1219+ 'the Program, the only way you could satisfy both those terms and this '
1220+ 'License would be to refrain entirely from conveying the Program.</p>'
1221+ '<h4><a name="section13"></a>13. Use with the GNU Affero General Public License.</h4>'
1222+ '<p>Notwithstanding any other provision of this License, you have '
1223+ 'permission to link or combine any covered work with a work licensed '
1224+ 'under version 3 of the GNU Affero General Public License into a single '
1225+ 'combined work, and to convey the resulting work. The terms of this '
1226+ 'License will continue to apply to the part which is the covered work, '
1227+ 'but the special requirements of the GNU Affero General Public License, '
1228+ 'section 13, concerning interaction through a network will apply to the '
1229+ 'combination as such.</p>'
1230+ '<h4><a name="section14"></a>14. Revised Versions of this License.</h4>'
1231+ '<p>The Free Software Foundation may publish revised and/or new versions of '
1232+ 'the GNU General Public License from time to time. Such new versions will '
1233+ 'be similar in spirit to the present version, but may differ in detail to '
1234+ 'address new problems or concerns.</p>'
1235+ '<p>Each version is given a distinguishing version number. If the '
1236+ 'Program specifies that a certain numbered version of the GNU General '
1237+ 'Public License &ldquo;or any later version&rdquo; applies to it, you have the '
1238+ 'option of following the terms and conditions either of that numbered '
1239+ 'version or of any later version published by the Free Software '
1240+ 'Foundation. If the Program does not specify a version number of the '
1241+ 'GNU General Public License, you may choose any version ever published '
1242+ 'by the Free Software Foundation.</p>'
1243+ '<p>If the Program specifies that a proxy can decide which future '
1244+ 'versions of the GNU General Public License can be used, that proxy\'s '
1245+ 'public statement of acceptance of a version permanently authorizes you '
1246+ 'to choose that version for the Program.</p>'
1247+ '<p>Later license versions may give you additional or different '
1248+ 'permissions. However, no additional obligations are imposed on any '
1249+ 'author or copyright holder as a result of your choosing to follow a '
1250+ 'later version.</p>'
1251+ '<h4><a name="section15"></a>15. Disclaimer of Warranty.</h4>'
1252+ '<p>THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY '
1253+ 'APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT '
1254+ 'HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &ldquo;AS IS&rdquo; WITHOUT WARRANTY '
1255+ 'OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, '
1256+ 'THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR '
1257+ 'PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM '
1258+ 'IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF '
1259+ 'ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</p>'
1260+ '<h4><a name="section16"></a>16. Limitation of Liability.</h4>'
1261+ '<p>IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING '
1262+ 'WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS '
1263+ 'THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY '
1264+ 'GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE '
1265+ 'USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF '
1266+ 'DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD '
1267+ 'PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), '
1268+ 'EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF '
1269+ 'SUCH DAMAGES.</p>'
1270+ '<h4><a name="section17"></a>17. Interpretation of Sections 15 and 16.</h4>'
1271+ '<p>If the disclaimer of warranty and limitation of liability provided '
1272+ 'above cannot be given local legal effect according to their terms, '
1273+ 'reviewing courts shall apply local law that most closely approximates '
1274+ 'an absolute waiver of all civil liability in connection with the '
1275+ 'Program, unless a warranty or assumption of liability accompanies a '
1276+ 'copy of the Program in return for a fee.</p>'
1277+ '<p>END OF TERMS AND CONDITIONS</p>'
1278+ '<h3><a name="howto"></a>How to Apply These Terms to Your New Programs</h3>'
1279+ '<p>If you develop a new program, and you want it to be of the greatest '
1280+ 'possible use to the public, the best way to achieve this is to make it '
1281+ 'free software which everyone can redistribute and change under these terms.</p>'
1282+ '<p>To do so, attach the following notices to the program. It is safest '
1283+ 'to attach them to the start of each source file to most effectively '
1284+ 'state the exclusion of warranty; and each file should have at least '
1285+ 'the &ldquo;copyright&rdquo; line and a pointer to where the full notice is found.</p>'
1286+ '<pre> &lt;one line to give the program\'s name and a brief idea of what it does.&gt;<br>'
1287+ ' Copyright (C) &lt;year&gt; &lt;name of author&gt;<br>'
1288+ ' This program is free software: you can redistribute it and/or modify<br>'
1289+ ' it under the terms of the GNU General Public License as published by<br>'
1290+ ' the Free Software Foundation, either version 3 of the License, or<br>'
1291+ ' (at your option) any later version.<br>'
1292+ '<br>'
1293+ ' This program is distributed in the hope that it will be useful,<br>'
1294+ ' but WITHOUT ANY WARRANTY; without even the implied warranty of<br>'
1295+ ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>'
1296+ ' GNU General Public License for more details.<br>'
1297+ '<br>'
1298+ ' You should have received a copy of the GNU General Public License<br>'
1299+ ' along with this program. If not, see &lt;https://www.gnu.org/licenses/&gt;. '
1300+ '</pre>'
1301+ '<p>Also add information on how to contact you by electronic and paper mail.</p>'
1302+ '<p>If the program does terminal interaction, make it output a short '
1303+ 'notice like this when it starts in an interactive mode:</p>'
1304+ '<pre> &lt;program&gt; Copyright (C) &lt;year&gt; &lt;name of author&gt;<br>'
1305+ ' This program comes with ABSOLUTELY NO WARRANTY; for details type `show w`.<br>'
1306+ ' This is free software, and you are welcome to redistribute it<br>'
1307+ ' under certain conditions; type `show c` for details. '
1308+ '</pre>'
1309+ '<p>The hypothetical commands `show w` and `show c` should show the appropriate '
1310+ 'parts of the General Public License. Of course, your program\'s commands '
1311+ 'might be different; for a GUI interface, you would use an &ldquo;about box&rdquo;.</p>'
1312+ '<p>You should also get your employer (if you work as a programmer) or school, '
1313+ 'if any, to sign a &ldquo;copyright disclaimer&rdquo; for the program, if necessary. '
1314+ 'For more information on this, and how to apply and follow the GNU GPL, see '
1315+ '&lt;<a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>&gt;.</p>'
1316+ '<p>The GNU General Public License does not permit incorporating your program '
1317+ 'into proprietary programs. If your program is a subroutine library, you '
1318+ 'may consider it more useful to permit linking proprietary applications with '
1319+ 'the library. If this is what you want to do, use the GNU Lesser General '
1320+ 'Public License instead of this License. But first, please read '
1321+ '&lt;<a href="https://www.gnu.org/licenses/why-not-lgpl.html">'
1322+ 'https://www.gnu.org/licenses/why-not-lgpl.html</a>&gt;.</p>'
1323+ '</body></html>')
1324+ self.license_text_edit.setHtml(license)
1325 self.about_notebook.setTabText(self.about_notebook.indexOf(self.license_tab),
1326 translate('OpenLP.AboutForm', 'License'))
1327- self.volunteer_button.setText(translate('OpenLP.AboutForm', 'Volunteer'))
1328+ self.contribute_button.setText(translate('OpenLP.AboutForm', 'Contribute'))
1329
1330=== modified file 'openlp/core/ui/aboutform.py'
1331--- openlp/core/ui/aboutform.py 2019-04-13 13:00:22 +0000
1332+++ openlp/core/ui/aboutform.py 2019-08-27 16:29:09 +0000
1333@@ -50,19 +50,20 @@
1334 Set up the dialog. This method is mocked out in tests.
1335 """
1336 self.setup_ui(self)
1337+ self.button_box.buttons()[0].setFocus()
1338 application_version = get_version()
1339- about_text = self.about_text_edit.toPlainText()
1340- about_text = about_text.replace('<version>', application_version['version'])
1341+ about_text = self.about_text_edit.toHtml()
1342+ about_text = about_text.replace('{version}', application_version['version'])
1343 if application_version['build']:
1344 build_text = translate('OpenLP.AboutForm', ' build {version}').format(version=application_version['build'])
1345 else:
1346 build_text = ''
1347- about_text = about_text.replace('<revision>', build_text)
1348- self.about_text_edit.setPlainText(about_text)
1349- self.volunteer_button.clicked.connect(self.on_volunteer_button_clicked)
1350+ about_text = about_text.replace('{revision}', build_text)
1351+ self.about_text_edit.setHtml(about_text)
1352+ self.contribute_button.clicked.connect(self.on_contribute_button_clicked)
1353
1354- def on_volunteer_button_clicked(self):
1355+ def on_contribute_button_clicked(self):
1356 """
1357 Launch a web browser and go to the contribute page on the site.
1358 """
1359- webbrowser.open_new('http://openlp.org/en/contribute')
1360+ webbrowser.open_new('http://openlp.org/contribute')
1361
1362=== modified file 'tests/functional/openlp_core/ui/test_aboutform.py'
1363--- tests/functional/openlp_core/ui/test_aboutform.py 2019-04-13 13:00:22 +0000
1364+++ tests/functional/openlp_core/ui/test_aboutform.py 2019-08-27 16:29:09 +0000
1365@@ -30,10 +30,10 @@
1366 from tests.helpers.testmixin import TestMixin
1367
1368
1369-class TestFirstTimeForm(TestCase, TestMixin):
1370+class TestAboutForm(TestCase, TestMixin):
1371
1372 @patch('openlp.core.ui.aboutform.webbrowser')
1373- def test_on_volunteer_button_clicked(self, mocked_webbrowser):
1374+ def test_on_contribute_button_clicked(self, mocked_webbrowser):
1375 """
1376 Test that clicking on the "Volunteer" button opens a web page.
1377 """
1378@@ -41,10 +41,10 @@
1379 about_form = AboutForm(None)
1380
1381 # WHEN: The "Volunteer" button is "clicked"
1382- about_form.on_volunteer_button_clicked()
1383+ about_form.on_contribute_button_clicked()
1384
1385 # THEN: A web browser is opened
1386- mocked_webbrowser.open_new.assert_called_with('http://openlp.org/en/contribute')
1387+ mocked_webbrowser.open_new.assert_called_with('http://openlp.org/contribute')
1388
1389 @patch('openlp.core.ui.aboutform.get_version')
1390 def test_about_form_build_number(self, mocked_get_version):
1391@@ -66,11 +66,11 @@
1392 Test that the copyright date is included correctly
1393 """
1394 # GIVEN: A correct application date
1395- date_string = "2004-%s" % datetime.date.today().year
1396+ date_string = '2004-{year}'.format(year=datetime.date.today().year)
1397
1398 # WHEN: The about form is created
1399 about_form = AboutForm(None)
1400- license_text = about_form.license_text_edit.toPlainText()
1401+ about_text = about_form.about_text_edit.toPlainText()
1402
1403 # THEN: The date should be in the text twice.
1404- assert license_text.count(date_string, 0) == 2, "The text string should be added twice to the license string"
1405+ assert about_text.count(date_string, 0) == 1, "The text string should be added twice to the license string"