GPL链接例外

本页使用了标题或全文手工转换
维基百科,自由的百科全书

GPL链接例外修改了GNU 通用公共许可证,使提供函式庫代码的软件项目能够链接到使用它们的程序,而无需将 GPL 的全部条款应用于使用程序。自由软件基金会声明,如果不對庫使用GPL 链接例外,链接到 GPL 库程序只能在与 GPL 兼容的许可下分发。[1]这尚未在法庭上得到明确的解釋,但GPL 链接侵權均以和解結束。[2]GNU Classpath项目的许可证明确地包含了这样的声明。

许多在 GPL 下分发的自由软件库都使用等效的例外以便其他程序無需使用GPL即可使用該庫,尽管措辞不盡相同。著名的项目包括ERIKA Enterprise、[3]GNU Guile[4]GNAT的运行时库[4]GNU Classpath[5]

编译器运行时库也经常使用这种许可修改或等效的,例如GNU Compiler Collection[6]中的libgcc库以及Free Pascal项目的所有库。

2007年,Sun Microsystems根据GPL许可证的第2版加上Classpath链接例外發佈了Java SE和Java EE项目的类库的大部分源代码,[7]并使用与其企业服务器GlassFish和NetBeans Java IDE相同的许可证相同的许可证。[8][9]

GNU宽通用公共许可证[10]第 3 版同样被构建为 GPL 的一个例外。 [11]

Classpath链接例外[编辑]

GNU Classpath项目提供了使用这种GPL 链接异常的示例。GNU Classpath 库使用以下许可:

原文:

Classpath is distributed under the terms of the GNU General Public License with the following clarification and special exception.

Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination.

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 obliged to do so. If you do not wish to do so, delete this exception statement from your version.

譯文:

Classpath是根据GNU通用公共许可证的条款发布的,并有以下澄清和特别的例外。

将这个库与其他模块静态或动态地连接起来,就是在这个库的基础上进行了一个组合工作。因此,GNU通用公共许可证的条款和条件涵盖整个组合。

作为一个特殊的例外,本库的版权持有人允许您将本库与独立的模块连接起来以产生一个可执行文件,无论这些独立模块的许可证条款如何,并根据您选择的条款复制和分发所产生的可执行文件,但您必须满足每个被连接的独立模块的许可证条款和条件。一个独立的模块是一个不从本库衍生或基于本库的模块。如果你修改这个库,你可以把这个例外扩展到你的库的版本,但你没有义务这样做。如果你不希望这样做,请从你的版本中删除这个例外声明。

因此,它可用于运行、创建和分发一大类应用程序和小程序。当 GNU Classpath 未经修改用作虚拟机的核心类库、Java 语言的编译器或以 Java 编程语言编写的程序时,它不会影响直接分发这些程序的许可。[5]

GNU寬通用公共许可证[编辑]

虽然 LGPL 2.1 版是一个独立的许可证,但当前的LGPL 3 版是基于对 GPL 的引用。

參見[编辑]

参考來源[编辑]

  1. ^ GPL FAQ - Linking With GPL, [2022-03-29], (原始内容存档于2016-12-29) 
  2. ^ MySQL, NuSphere Settle GPL Contract Dispute. [20 May 2021]. (原始内容存档于2022-04-08). 
  3. ^ Erika Enterprise Open-Source RTOS. Linux Foundation. [2022-03-29]. (原始内容存档于2014-07-14). 
  4. ^ 4.0 4.1 Stallman, Richard. Various Licenses and Comments about Them 互联网档案馆存檔,存档日期August 15, 2000,.. Free Software Foundation. Published on 2007-05-17. Retrieved on 2007-05-18.
  5. ^ 5.0 5.1 Classpath::License页面存档备份,存于互联网档案馆). Free Software Foundation. 2007-04-23. Retrieved on 2007-05-18. 引证错误:带有name属性“classpathlicense”的<ref>标签用不同内容定义了多次
  6. ^ Text of the GCC license gcc code repository. 2009-09-24. Retrieved on 2010-01-19.
  7. ^ Open-Source Java Project Overview. Sun Microsystems. [2007-05-22]. (原始内容存档于2007-05-14). 
  8. ^ Glassfish license, 2008-03-27 [2008-03-27], (原始内容存档于2016-01-17) 
  9. ^ Netbeans license页面存档备份,存于互联网档案馆). 2008-03-27. Retrieved on 2008-03-27.
  10. ^ GNU Lesser General Public License, Version 3页面存档备份,存于互联网档案馆). 2007-06-29. Retrieved on 2007-10-19.
  11. ^ Guide to the second draft of LGPLv3页面存档备份,存于互联网档案馆). 2007-04-03. Retrieved on 2007-05-10.

外部链接[编辑]

维基文库中的相關文獻:GPL链接例外