在 LGPL 项目中使用 LGPL 许可库

发布于 2024-11-25 10:15:29 字数 1455 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜味拾荒者 2024-12-02 10:15:29

你可以。事实上,您基本上可以在任何您想要的许可证下发布您的项目; LGPL 的创建是为了允许库在开源许可下发布,但仍然在闭源程序中使用。

http://www.gnu.org/licenses/lgpl.html

3。目标代码合并了库头文件中的材料。

应用程序的目标代码形式可以包含来自
头文件是库的一部分。您可以传达这样的对象
代码根据您选择的条款,前提是,如果合并
材料不限于数值参数、数据结构
布局和访问器,或小宏、内联函数和模板
(长度为十行或更少),您执行以下两项操作:

a) 在目标代码的每个副本中给出显着的通知:
其中使用了图书馆,并且该图书馆及其使用涵盖在
本许可证。

b) 附带目标代码和 GNU GPL 副本
以及本许可文件。


4。组合作品。

您可以根据以下条款传达组合作品
您的选择,综合起来,实际上不会限制
修改合并后的库中包含的部分
调试此类修改的工作和逆向工程,如果您
还执行以下各项操作:

a) 在组合作品的每份副本中给出显着的通知:
其中使用了图书馆,并且该图书馆及其使用涵盖在
本许可证。

b) 随组合作品附上一份 GNU GPL 和本
许可文件。

c) 对于在以下期间显示版权声明的组合作品
执行时,包括图书馆的版权声明
通知,以及指导用户查看副本的参考
GNU GPL 和本许可文档。

d) 执行以下操作之一:

<块引用>

0) 根据本条款传达最小对应源
许可证以及适当形式的相应应用程序代码
并根据允许用户重新组合或重新链接的条款
具有链接版本的修改版本的应用程序可以生成
修改后的组合工作,按照第 6 条规定的方式
用于传送相应源代码的 GNU GPL。

1) 使用合适的共享库机制来链接
图书馆。一种合适的机制是 (a) 在运行时使用副本
已存在于用户计算机系统上的图书馆的信息,以及 (b)
将与库的修改版本一起正常运行
与链接版本接口兼容。

e) 提供安装信息,但前提是您愿意
根据 GNU 第 6 条要求提供此类信息
GPL,并且仅在需要此类信息的情况下
安装并执行生成的组合工作的修改版本
通过将应用程序与修改版本重新组合或重新链接
链接版本。 (如果您使用选项 4d0,安装
信息必须附有最小对应来源和
相应的应用程序代码。如果您使用选项 4d1,则必须
按照指定的方式提供安装信息
GNU GPL 第 6 节用于传达相应源代码。)

You can. In fact, you can release your project under basically any license you want; LGPL was created to allow libraries to be released under an open-source license but still used in closed-source programs.

http://www.gnu.org/licenses/lgpl.html

3. Object Code Incorporating Material from Library Header Files.

The object code form of an Application may incorporate material from a
header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:

a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are covered by
this License.

b) Accompany the object code with a copy of the GNU GPL
and this license document.


4. Combined Works.

You may convey a Combined Work under terms of
your choice that, taken together, effectively do not restrict
modification of the portions of the Library contained in the Combined
Work and reverse engineering for debugging such modifications, if you
also do each of the following:

a) Give prominent notice with each copy of the Combined Work that the
Library is used in it and that the Library and its use are covered by
this License.

b) Accompany the Combined Work with a copy of the GNU GPL and this
license document.

c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among these
notices, as well as a reference directing the user to the copies of
the GNU GPL and this license document.

d) Do one of the following:

0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form suitable
for, and under terms that permit, the user to recombine or relink the
Application with a modified version of the Linked Version to produce a
modified Combined Work, in the manner specified by section 6 of the
GNU GPL for conveying Corresponding Source.

1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time a copy
of the Library already present on the user's computer system, and (b)
will operate properly with a modified version of the Library that is
interface-compatible with the Linked Version.

e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the GNU
GPL, and only to the extent that such information is necessary to
install and execute a modified version of the Combined Work produced
by recombining or relinking the Application with a modified version of
the Linked Version. (If you use option 4d0, the Installation
Information must accompany the Minimal Corresponding Source and
Corresponding Application Code. If you use option 4d1, you must
provide the Installation Information in the manner specified by
section 6 of the GNU GPL for conveying Corresponding Source.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文