Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Exception: Independent-modules-exception #2573

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/exceptions/Classpath-exception-2.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<crossRef>http://www.gnu.org/software/classpath/license.html</crossRef>
<crossRef>https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception</crossRef>
</crossRefs>
<note>This is an exception from the FSF for Classpath. Independent-modules-exception
is very similar, but has a separate id due to it being used with LGPL and
a different lead-in that Classpath-exception-2.0.</note>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tag should be 'notes' instead of 'note'.

<text>
<p>Linking this library statically or dynamically with other modules
is making a combined work based on this library. Thus, the
Expand Down
40 changes: 40 additions & 0 deletions src/exceptions/Independent-modules-exception.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<SPDXLicenseCollection xmlns="http://www.spdx.org/license">
<exception licenseId="Independent-modules-exception"
name="Independent Module Linking exception" listVersionAdded="3.26.0">
<crossRefs>
<crossRef>https://gitlab.com/freepascal.org/fpc/source/-/blob/release_3_2_2/rtl/COPYING.FPC</crossRef>
</crossRefs>
<notes>
The main part of this exception is essentially the same as
Classpath-exception-2.0. However, due to it being used with LGPL and
a different lead-in that Classpath-exception-2.0, it has its own id.
</notes>
<text>
<optional>
This is the file COPYING.FPC, it applies to the Free
Pascal Run-Time Library (RTL) and packages (packages)
distributed by members of the Free Pascal Development Team.
</optional>
<p>
The source code of<alt name="name" match=".+">the
Free Pascal Runtime Libraries and packages</alt>
are distributed under the Library GNU General Public License
(see the file COPYING) with the following modification:
</p>
<p>
As a special exception, the copyright holders of this library give
you permission to link this library with independent modules to
produce an executable, regardless of the license terms of these
independent modules, and to copy and distribute the resulting
executable under terms of your choice, provided that you also
meet, for each linked independent module, the terms and conditions
of the license of that module. An independent module is a module
which is not derived from or based on this library. If you modify
this library, you may extend this exception to your version of
the library, but you are not obligated to do so. If you do not
wish to do so, delete this exception statement from your version.
</p>
</text>
</exception>
</SPDXLicenseCollection>
18 changes: 18 additions & 0 deletions test/simpleTestForGenerator/Independent-modules-exception.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
This is the file COPYING.FPC, it applies to the Free Pascal Run-Time Library
(RTL) and packages (packages) distributed by members of the Free Pascal
Development Team.

The source code of the Free Pascal Runtime Libraries and packages are
distributed under the Library GNU General Public License
(see the file COPYING) with the following modification:

As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent modules,
and to copy and distribute the resulting executable under terms of your choice,
provided that you also meet, for each linked independent module, the terms
and conditions of the license of that module. An independent module is a module
which is not derived from or based on this library. If you modify this
library, you may extend this exception to your version of the library, but you are
not obligated to do so. If you do not wish to do so, delete this exception
statement from your version.
Loading