Skip to content

Commit

Permalink
Merge pull request #627 from wking/qt-lgpl-exception
Browse files Browse the repository at this point in the history
Qt-LGPL-exception-1.1: Add new ID for Nokia-Qt-exception-1.1
  • Loading branch information
jlovejoy authored Jun 14, 2018
2 parents 2542541 + b6b27fd commit 163db0a
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/exceptions/Nokia-Qt-exception-1.1.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
<exception licenseId="Nokia-Qt-exception-1.1" name="Nokia Qt LGPL exception 1.1">
<exception licenseId="Nokia-Qt-exception-1.1" name="Nokia Qt LGPL exception 1.1" isDeprecated="true" deprecatedVersion="3.1">
<obsoletedBys>
<obsoletedBy>Qt-LGPL-exception-1.1</obsoletedBy>
</obsoletedBys>
<crossRefs>
<crossRef>https://www.keepassx.org/dev/projects/keepassx/repository/revisions/b8dfb9cc4d5133e0f09cd7533d15a4f1c19a40f2/entry/LICENSE.NOKIA-LGPL-EXCEPTION</crossRef>
</crossRefs>
<notes>Typically used by Nokia Qt to apply an exception to LGPL-2.1</notes>
<notes>DEPRECATED: Use Qt-LGPL-exception-1.1</notes>
<text>
<titleText>
<p>Nokia Qt LGPL Exception version 1.1</p>
Expand Down
62 changes: 62 additions & 0 deletions src/exceptions/Qt-LGPL-exception-1.1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
<exception licenseId="Qt-LGPL-exception-1.1" name="Qt LGPL exception 1.1" listVersionAdded="3.1">
<crossRefs>
<crossRef>http://code.qt.io/cgit/qt/qtbase.git/tree/LGPL_EXCEPTION.txt</crossRef>
</crossRefs>
<notes>Used with the LGPL-2.1, which is mentioned explicitly in the exception text.</notes>
<text>
<titleText>
<p><alt name="nokia" match="The Qt Company|Nokia|">The Qt Company</alt> Qt LGPL Exception version 1.1</p>
</titleText>
<p>As an additional permission to the GNU Lesser General Public
License version 2.1, the object code form of a "work that
uses the Library" may incorporate material from a header file
that is part of the Library. You may distribute such object
code under terms of your choice, provided that:</p>
<list>
<item>
<bullet>(i)</bullet>
the header files of the Library have not been modified; and
</item>
<item>
<bullet>(ii)</bullet>
the incorporated material is limited to numerical
parameters, data structure layouts, accessors, macros,
inline functions and templates; and
</item>
<item>
<bullet>(iii)</bullet>
you comply with the terms of Section 6 of the GNU Lesser
General Public License version 2.1.
</item>
</list>
<p>Moreover, you may apply this exception to a modified
version of the Library, provided that such
modification does not involve copying material from
the Library into the modified Library's header files
unless such material is limited to</p>
<list>
<item>
<bullet>(i)</bullet>
numerical parameters;
</item>
<item>
<bullet>(ii)</bullet>
data structure layouts;
</item>
<item>
<bullet>(iii)</bullet>
accessors; and
</item>
<item>
<bullet>(iv)</bullet>
small macros, templates and inline functions of five
lines or less in length.
</item>
</list>
<p>Furthermore, you are not required to apply this additional
permission to a modified version of the Library.</p>
</text>
</exception>
</SPDXLicenseCollection>
22 changes: 22 additions & 0 deletions test/simpleTestForGenerator/Qt-LGPL-exception-1.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The Qt Company Qt LGPL Exception version 1.1

As an additional permission to the GNU Lesser General Public License version
2.1, the object code form of a "work that uses the Library" may incorporate
material from a header file that is part of the Library. You may distribute
such object code under terms of your choice, provided that:
(i) the header files of the Library have not been modified; and
(ii) the incorporated material is limited to numerical parameters, data
structure layouts, accessors, macros, inline functions and
templates; and
(iii) you comply with the terms of Section 6 of the GNU Lesser General
Public License version 2.1.

Moreover, you may apply this exception to a modified version of the Library,
provided that such modification does not involve copying material from the
Library into the modified Library's header files unless such material is
limited to (i) numerical parameters; (ii) data structure layouts;
(iii) accessors; and (iv) small macros, templates and inline functions of
five lines or less in length.

Furthermore, you are not required to apply this additional permission to a
modified version of the Library.

0 comments on commit 163db0a

Please sign in to comment.