Skip to content

Commit da289ee

Browse files
committed
昨天忘上传license了
1 parent 7032330 commit da289ee

File tree

2 files changed

+234
-0
lines changed

2 files changed

+234
-0
lines changed

LICENSE.md

Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
EN | [ZH](LICENSE.让我们说中文.md)
2+
# GNU LESSER GENERAL PUBLIC LICENSE
3+
4+
Version 3, 29 June 2007
5+
6+
Copyright (C) 2007 Free Software Foundation, Inc.
7+
<https://fsf.org/>
8+
9+
Everyone is permitted to copy and distribute verbatim copies of this
10+
license document, but changing it is not allowed.
11+
12+
This version of the GNU Lesser General Public License incorporates the
13+
terms and conditions of version 3 of the GNU General Public License,
14+
supplemented by the additional permissions listed below.
15+
16+
## 0. Additional Definitions.
17+
18+
As used herein, "this License" refers to version 3 of the GNU Lesser
19+
General Public License, and the "GNU GPL" refers to version 3 of the
20+
GNU General Public License.
21+
22+
"The Library" refers to a covered work governed by this License, other
23+
than an Application or a Combined Work as defined below.
24+
25+
An "Application" is any work that makes use of an interface provided
26+
by the Library, but which is not otherwise based on the Library.
27+
Defining a subclass of a class defined by the Library is deemed a mode
28+
of using an interface provided by the Library.
29+
30+
A "Combined Work" is a work produced by combining or linking an
31+
Application with the Library. The particular version of the Library
32+
with which the Combined Work was made is also called the "Linked
33+
Version".
34+
35+
The "Minimal Corresponding Source" for a Combined Work means the
36+
Corresponding Source for the Combined Work, excluding any source code
37+
for portions of the Combined Work that, considered in isolation, are
38+
based on the Application, and not on the Linked Version.
39+
40+
The "Corresponding Application Code" for a Combined Work means the
41+
object code and/or source code for the Application, including any data
42+
and utility programs needed for reproducing the Combined Work from the
43+
Application, but excluding the System Libraries of the Combined Work.
44+
45+
## 1. Exception to Section 3 of the GNU GPL.
46+
47+
You may convey a covered work under sections 3 and 4 of this License
48+
without being bound by section 3 of the GNU GPL.
49+
50+
## 2. Conveying Modified Versions.
51+
52+
If you modify a copy of the Library, and, in your modifications, a
53+
facility refers to a function or data to be supplied by an Application
54+
that uses the facility (other than as an argument passed when the
55+
facility is invoked), then you may convey a copy of the modified
56+
version:
57+
58+
- a) under this License, provided that you make a good faith effort
59+
to ensure that, in the event an Application does not supply the
60+
function or data, the facility still operates, and performs
61+
whatever part of its purpose remains meaningful, or
62+
- b) under the GNU GPL, with none of the additional permissions of
63+
this License applicable to that copy.
64+
65+
## 3. Object Code Incorporating Material from Library Header Files.
66+
67+
The object code form of an Application may incorporate material from a
68+
header file that is part of the Library. You may convey such object
69+
code under terms of your choice, provided that, if the incorporated
70+
material is not limited to numerical parameters, data structure
71+
layouts and accessors, or small macros, inline functions and templates
72+
(ten or fewer lines in length), you do both of the following:
73+
74+
- a) Give prominent notice with each copy of the object code that
75+
the Library is used in it and that the Library and its use are
76+
covered by this License.
77+
- b) Accompany the object code with a copy of the GNU GPL and this
78+
license document.
79+
80+
## 4. Combined Works.
81+
82+
You may convey a Combined Work under terms of your choice that, taken
83+
together, effectively do not restrict modification of the portions of
84+
the Library contained in the Combined Work and reverse engineering for
85+
debugging such modifications, if you also do each of the following:
86+
87+
- a) Give prominent notice with each copy of the Combined Work that
88+
the Library is used in it and that the Library and its use are
89+
covered by this License.
90+
- b) Accompany the Combined Work with a copy of the GNU GPL and this
91+
license document.
92+
- c) For a Combined Work that displays copyright notices during
93+
execution, include the copyright notice for the Library among
94+
these notices, as well as a reference directing the user to the
95+
copies of the GNU GPL and this license document.
96+
- d) Do one of the following:
97+
- 0) Convey the Minimal Corresponding Source under the terms of
98+
this License, and the Corresponding Application Code in a form
99+
suitable for, and under terms that permit, the user to
100+
recombine or relink the Application with a modified version of
101+
the Linked Version to produce a modified Combined Work, in the
102+
manner specified by section 6 of the GNU GPL for conveying
103+
Corresponding Source.
104+
- 1) Use a suitable shared library mechanism for linking with
105+
the Library. A suitable mechanism is one that (a) uses at run
106+
time a copy of the Library already present on the user's
107+
computer system, and (b) will operate properly with a modified
108+
version of the Library that is interface-compatible with the
109+
Linked Version.
110+
- e) Provide Installation Information, but only if you would
111+
otherwise be required to provide such information under section 6
112+
of the GNU GPL, and only to the extent that such information is
113+
necessary to install and execute a modified version of the
114+
Combined Work produced by recombining or relinking the Application
115+
with a modified version of the Linked Version. (If you use option
116+
4d0, the Installation Information must accompany the Minimal
117+
Corresponding Source and Corresponding Application Code. If you
118+
use option 4d1, you must provide the Installation Information in
119+
the manner specified by section 6 of the GNU GPL for conveying
120+
Corresponding Source.)
121+
122+
## 5. Combined Libraries.
123+
124+
You may place library facilities that are a work based on the Library
125+
side by side in a single library together with other library
126+
facilities that are not Applications and are not covered by this
127+
License, and convey such a combined library under terms of your
128+
choice, if you do both of the following:
129+
130+
- a) Accompany the combined library with a copy of the same work
131+
based on the Library, uncombined with any other library
132+
facilities, conveyed under the terms of this License.
133+
- b) Give prominent notice with the combined library that part of it
134+
is a work based on the Library, and explaining where to find the
135+
accompanying uncombined form of the same work.
136+
137+
## 6. Revised Versions of the GNU Lesser General Public License.
138+
139+
The Free Software Foundation may publish revised and/or new versions
140+
of the GNU Lesser General Public License from time to time. Such new
141+
versions will be similar in spirit to the present version, but may
142+
differ in detail to address new problems or concerns.
143+
144+
Each version is given a distinguishing version number. If the Library
145+
as you received it specifies that a certain numbered version of the
146+
GNU Lesser General Public License "or any later version" applies to
147+
it, you have the option of following the terms and conditions either
148+
of that published version or of any later version published by the
149+
Free Software Foundation. If the Library as you received it does not
150+
specify a version number of the GNU Lesser General Public License, you
151+
may choose any version of the GNU Lesser General Public License ever
152+
published by the Free Software Foundation.
153+
154+
If the Library as you received it specifies that a proxy can decide
155+
whether future versions of the GNU Lesser General Public License shall
156+
apply, that proxy's public statement of acceptance of any version is
157+
permanent authorization for you to choose that version for the
158+
Library.

LICENSE.让我们说中文.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
[EN](LICENSE.md) | ZH
2+
3+
> This is an unofficial translation of the GNU Lesser General Public License into Simplified Chinese. It was not published by the Free Software Foundation, and does not legally state the distribution terms for software that uses the GNU LGPL—only the original English text of the GNU LGPL does that. However, we hope that this translation will help Simplified Chinese speakers understand the GNU LGPL better. You may publish this translation, modified or unmodified, only under the terms at http://www.gnu.org/licenses/translations.html.
4+
5+
> 这是 GNU 宽通用公共许可证(GNU LGPL)的非正式简体中文翻译。它并未被自由软件基金会发行,也不是使用 GNU LGPL 软件的发布法律声明——只有 GNU LGPL 的原始英文版才有法律意义。不过,我们希望该翻译能够帮助简体中文用户更好地理解 GNU LGPL。你可以发布本翻译或其修改版,前提是要遵守此处的条款:http://www.gnu.org/licenses/translations.html。
6+
7+
8+
9+
# GNU 宽通用公共许可证
10+
11+
第三版,2007 年 6 月 29 日
12+
13+
版权所有 (C) 2007 自由软件基金会 <http://fsf.org/>
14+
15+
任何人皆可复制和分发本许可证的完整副本,但不允许修改之。
16+
17+
本版本的 GNU 宽通用公共许可证包含了 GNU 通用公共许可证第三版的条款与条件,并补充了下列附加许可。
18+
19+
## 0. 附加定义
20+
21+
在此处,“本许可证”指 GNU 宽通用公共许可证第三版,“GNU GPL” 指 GNU 通用公共许可证第三版。
22+
23+
“本库”指受本许可证管理的涵盖作品,有别于后文定义的应用程序或组合作品。
24+
25+
“应用程序”指任何使用了本库所提供的接口的作品,但此类作品并非基于本库。为本库所定义的类定义一个子类,视为对本库所定义的接口的一种使用形式。
26+
27+
“组合作品”指将应用程序和本库组合或链接在一起而产生的作品。参与形成了组合作品的本库特定版本又称“链接版”。
28+
29+
组合作品的“必要对应源代码”指该组合作品的对应源代码,其不包括在该组合作品的任何部分的源代码中,在单独判断时,是基于应用程序,而非基于链接版的源代码。
30+
31+
组合作品的“对应应用程序代码”指该应用程序的目标代码和/或源代码,其包括从该应用程序生成组合作品这一过程所需的一切数据和实用程序,但不包括该组合作品的系统库。
32+
33+
## 1. GNU GPL 第 3 节的例外
34+
35+
你可以根据本许可证的第 3 节和第 4 节来输送一份涵盖作品,而不受 GNU GPL 第 3 节约束。
36+
37+
## 2. 输送修改版
38+
39+
如果你对本库的一份副本进行了修改,且在你的修改中,某一设施引用了某个应用程序将会提供的函数或数据,且该应用程序使用了该设施(而非在该设施被调用时以参数传递),那么你可以输送该修改版的副本,输送方式如下:
40+
41+
- a)在本许可证下输送,前提是你尽力确保在应用程序不提供函数或数据时,该设施仍然能够运转,并执行剩余目标的任何有意义的部分,或
42+
- b)在 GNU GPL 下输送,且本许可证的附加许可对该副本不适用。
43+
44+
## 3. 目标代码包含来自库的头文件的材料
45+
46+
应用程序的目标代码形式可以包含来自本库的头文件的材料。你可以在你选定的条款下输送这样的目标代码,前提是,如果你包含的材料不限于数字参数、数据结构设计和存取器,或小型宏、内联函数和模板(长度不多于 10 行),则你要做到以下两点:
47+
48+
- a)为目标代码的每份副本附上显著的声明,说明其中用到了本库,且本库及对本库的使用行为受本许可证约束。
49+
- b)随目标代码附带一份 GNU GPL 及本许可证的副本。
50+
51+
## 4. 组合作品
52+
53+
你可以在你选定的条款下输送一份组合作品,组合作品的条款在效果上不得限制对组合作品中包含的本库部分的修改,也不得限制为调试上述修改而进行的逆向工程,并且你还要做到以下各点:
54+
55+
- a)为组合作品的每份副本附上显著的声明,说明其中用到了本库,且本库及对本库的使用行为受本许可证约束。
56+
- b)随组合作品附带一份 GNU GPL 及本许可证的副本。
57+
- c)对于在运行期间会显示版权声明的组合作品,请在该版权声明中包含本库的版权声明,并为用户指出 GNU GPL 及本许可证的副本位置。
58+
- d)做到以下之一:
59+
- 0)在本许可证下输送必要对应源代码,并以如下方式输送对应应用程序代码:在形式上适合、且在条款上允许用户使用链接版的修改版来重新组合或重新链接该应用程序,以产生一份组合作品的修改版,且输送对应源代码的方式满足 GNU GPL 第 6 节所指定的方式。
60+
- 1)采用一种合适的共享库的机制以便于与本库的链接。合适的机制满足:(a)在运行时,使用已经存在于用户的计算机系统中的本库的副本,且(b)在使用与链接版的接口相兼容的本库的修改版时,仍能正常运行。
61+
- e)提供安装信息,但仅当你受 GNU GPL 第 6 节所要求时才需提供此信息,并且只需提供必要的信息,以供安装和运行一份由应用程序与该链接版的修改版相重新组合或重新链接,而产生的组合作品的修改版。(如果你选择 4d0 项,则安装信息必须伴以必要对应源代码和对应应用程序代码。如果你选择 4d1 项,则你必须根据 GNU GPL 第 6 节指定的输送对应源代码的方式来提供安装信息。)
62+
63+
## 5. 组合库
64+
65+
对于基于本库的作品的库设施,你可以将它们与其他非应用程序且非受本许可证约束的库设施,一起放在单个库中,并且你可以在你选定的条款下输送该组合库,前提是你做到以下两点:
66+
67+
- a)为组合库附带一份基于本库的同一作品的副本,而不附带任何其他的库设施,并在本许可证的条款下输送。
68+
- b)为组合库附上显著的声明,说明组合库的一部分是基于本库的作品,并说明何处可以找到附带的同一作品的未组合形式。
69+
70+
## 6. GNU 宽通用公共许可证的修订版
71+
72+
自由软件基金会可能会不定时发布 GNU 宽通用公共许可证的修订版和/或新版。新版将秉承当前版本的精神,但在细节上会有差异,以应对新的问题或事项。
73+
74+
每一版都会有不同的版本号。如果你接收到的本库指定其使用 GNU 宽通用公共许可证的特定版本“或任何后续的版本”,你可以选择遵守该版本或者自由软件基金会发布的任何后续版本的条款与条件。如果你接收到的本库没有指定 GNU 宽通用公共许可证的版本,你可以选用自由软件基金会发布的任意版本的 GNU 宽通用公共许可证。
75+
76+
如果你接收的本库指定一位代理人来决定使用哪个将来的 GNU 宽通用公共许可证的版本,则该代理人通过公开声明采用的版本,永久许可你为本库使用该版本。

0 commit comments

Comments
 (0)