root/trunk/YamlReference/lgpl.txt

Revision 3, 18.0 KB (checked in by oren, 19 months ago)

Version 0.4 as-is.

Line 
1
2                  GNU LESSER GENERAL PUBLIC LICENSE
3   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4
5  0. This License Agreement applies to any software library or other
6program which contains a notice placed by the copyright holder or
7other authorized party saying it may be distributed under the terms of
8this Lesser General Public License (also called "this License").
9Each licensee is addressed as "you".
10
11  A "library" means a collection of software functions and/or data
12prepared so as to be conveniently linked with application programs
13(which use some of those functions and data) to form executables.
14
15  The "Library", below, refers to any such software library or work
16which has been distributed under these terms.  A "work based on the
17Library" means either the Library or any derivative work under
18copyright law: that is to say, a work containing the Library or a
19portion of it, either verbatim or with modifications and/or translated
20straightforwardly into another language.  (Hereinafter, translation is
21included without limitation in the term "modification".)
22
23  "Source code" for a work means the preferred form of the work for
24making modifications to it.  For a library, complete source code means
25all the source code for all modules it contains, plus any associated
26interface definition files, plus the scripts used to control compilation
27and installation of the library.
28
29  Activities other than copying, distribution and modification are not
30covered by this License; they are outside its scope.  The act of
31running a program using the Library is not restricted, and output from
32such a program is covered only if its contents constitute a work based
33on the Library (independent of the use of the Library in a tool for
34writing it).  Whether that is true depends on what the Library does
35and what the program that uses the Library does.
36 
37  1. You may copy and distribute verbatim copies of the Library's
38complete source code as you receive it, in any medium, provided that
39you conspicuously and appropriately publish on each copy an
40appropriate copyright notice and disclaimer of warranty; keep intact
41all the notices that refer to this License and to the absence of any
42warranty; and distribute a copy of this License along with the
43Library.
44
45  You may charge a fee for the physical act of transferring a copy,
46and you may at your option offer warranty protection in exchange for a
47fee.
48
49  2. You may modify your copy or copies of the Library or any portion
50of it, thus forming a work based on the Library, and copy and
51distribute such modifications or work under the terms of Section 1
52above, provided that you also meet all of these conditions:
53
54    a) The modified work must itself be a software library.
55
56    b) You must cause the files modified to carry prominent notices
57    stating that you changed the files and the date of any change.
58
59    c) You must cause the whole of the work to be licensed at no
60    charge to all third parties under the terms of this License.
61
62    d) If a facility in the modified Library refers to a function or a
63    table of data to be supplied by an application program that uses
64    the facility, other than as an argument passed when the facility
65    is invoked, then you must make a good faith effort to ensure that,
66    in the event an application does not supply such function or
67    table, the facility still operates, and performs whatever part of
68    its purpose remains meaningful.
69
70    (For example, a function in a library to compute square roots has
71    a purpose that is entirely well-defined independent of the
72    application.  Therefore, Subsection 2d requires that any
73    application-supplied function or table used by this function must
74    be optional: if the application does not supply it, the square
75    root function must still compute square roots.)
76
77These requirements apply to the modified work as a whole.  If
78identifiable sections of that work are not derived from the Library,
79and can be reasonably considered independent and separate works in
80themselves, then this License, and its terms, do not apply to those
81sections when you distribute them as separate works.  But when you
82distribute the same sections as part of a whole which is a work based
83on the Library, the distribution of the whole must be on the terms of
84this License, whose permissions for other licensees extend to the
85entire whole, and thus to each and every part regardless of who wrote
86it.
87
88Thus, it is not the intent of this section to claim rights or contest
89your rights to work written entirely by you; rather, the intent is to
90exercise the right to control the distribution of derivative or
91collective works based on the Library.
92
93In addition, mere aggregation of another work not based on the Library
94with the Library (or with a work based on the Library) on a volume of
95a storage or distribution medium does not bring the other work under
96the scope of this License.
97
98  3. You may opt to apply the terms of the ordinary GNU General Public
99License instead of this License to a given copy of the Library.  To do
100this, you must alter all the notices that refer to this License, so
101that they refer to the ordinary GNU General Public License, version 2,
102instead of to this License.  (If a newer version than version 2 of the
103ordinary GNU General Public License has appeared, then you can specify
104that version instead if you wish.)  Do not make any other change in
105these notices.
106
107  Once this change is made in a given copy, it is irreversible for
108that copy, so the ordinary GNU General Public License applies to all
109subsequent copies and derivative works made from that copy.
110
111  This option is useful when you wish to copy part of the code of
112the Library into a program that is not a library.
113
114  4. You may copy and distribute the Library (or a portion or
115derivative of it, under Section 2) in object code or executable form
116under the terms of Sections 1 and 2 above provided that you accompany
117it with the complete corresponding machine-readable source code, which
118must be distributed under the terms of Sections 1 and 2 above on a
119medium customarily used for software interchange.
120
121  If distribution of object code is made by offering access to copy
122from a designated place, then offering equivalent access to copy the
123source code from the same place satisfies the requirement to
124distribute the source code, even though third parties are not
125compelled to copy the source along with the object code.
126
127  5. A program that contains no derivative of any portion of the
128Library, but is designed to work with the Library by being compiled or
129linked with it, is called a "work that uses the Library".  Such a
130work, in isolation, is not a derivative work of the Library, and
131therefore falls outside the scope of this License.
132
133  However, linking a "work that uses the Library" with the Library
134creates an executable that is a derivative of the Library (because it
135contains portions of the Library), rather than a "work that uses the
136library".  The executable is therefore covered by this License.
137Section 6 states terms for distribution of such executables.
138
139  When a "work that uses the Library" uses material from a header file
140that is part of the Library, the object code for the work may be a
141derivative work of the Library even though the source code is not.
142Whether this is true is especially significant if the work can be
143linked without the Library, or if the work is itself a library.  The
144threshold for this to be true is not precisely defined by law.
145
146  If such an object file uses only numerical parameters, data
147structure layouts and accessors, and small macros and small inline
148functions (ten lines or less in length), then the use of the object
149file is unrestricted, regardless of whether it is legally a derivative
150work.  (Executables containing this object code plus portions of the
151Library will still fall under Section 6.)
152
153  Otherwise, if the work is a derivative of the Library, you may
154distribute the object code for the work under the terms of Section 6.
155Any executables containing that work also fall under Section 6,
156whether or not they are linked directly with the Library itself.
157
158  6. As an exception to the Sections above, you may also combine or
159link a "work that uses the Library" with the Library to produce a
160work containing portions of the Library, and distribute that work
161under terms of your choice, provided that the terms permit
162modification of the work for the customer's own use and reverse
163engineering for debugging such modifications.
164
165  You must give prominent notice with each copy of the work that the
166Library is used in it and that the Library and its use are covered by
167this License.  You must supply a copy of this License.  If the work
168during execution displays copyright notices, you must include the
169copyright notice for the Library among them, as well as a reference
170directing the user to the copy of this License.  Also, you must do one
171of these things:
172
173    a) Accompany the work with the complete corresponding
174    machine-readable source code for the Library including whatever
175    changes were used in the work (which must be distributed under
176    Sections 1 and 2 above); and, if the work is an executable linked
177    with the Library, with the complete machine-readable "work that
178    uses the Library", as object code and/or source code, so that the
179    user can modify the Library and then relink to produce a modified
180    executable containing the modified Library.  (It is understood
181    that the user who changes the contents of definitions files in the
182    Library will not necessarily be able to recompile the application
183    to use the modified definitions.)
184
185    b) Use a suitable shared library mechanism for linking with the
186    Library.  A suitable mechanism is one that (1) uses at run time a
187    copy of the library already present on the user's computer system,
188    rather than copying library functions into the executable, and (2)
189    will operate properly with a modified version of the library, if
190    the user installs one, as long as the modified version is
191    interface-compatible with the version that the work was made with.
192
193    c) Accompany the work with a written offer, valid for at
194    least three years, to give the same user the materials
195    specified in Subsection 6a, above, for a charge no more
196    than the cost of performing this distribution.
197
198    d) If distribution of the work is made by offering access to copy
199    from a designated place, offer equivalent access to copy the above
200    specified materials from the same place.
201
202    e) Verify that the user has already received a copy of these
203    materials or that you have already sent this user a copy.
204
205  For an executable, the required form of the "work that uses the
206Library" must include any data and utility programs needed for
207reproducing the executable from it.  However, as a special exception,
208the materials to be distributed need not include anything that is
209normally distributed (in either source or binary form) with the major
210components (compiler, kernel, and so on) of the operating system on
211which the executable runs, unless that component itself accompanies
212the executable.
213
214  It may happen that this requirement contradicts the license
215restrictions of other proprietary libraries that do not normally
216accompany the operating system.  Such a contradiction means you cannot
217use both them and the Library together in an executable that you
218distribute.
219
220  7. You may place library facilities that are a work based on the
221Library side-by-side in a single library together with other library
222facilities not covered by this License, and distribute such a combined
223library, provided that the separate distribution of the work based on
224the Library and of the other library facilities is otherwise
225permitted, and provided that you do these two things:
226
227    a) Accompany the combined library with a copy of the same work
228    based on the Library, uncombined with any other library
229    facilities.  This must be distributed under the terms of the
230    Sections above.
231
232    b) Give prominent notice with the combined library of the fact
233    that part of it is a work based on the Library, and explaining
234    where to find the accompanying uncombined form of the same work.
235
236  8. You may not copy, modify, sublicense, link with, or distribute
237the Library except as expressly provided under this License.  Any
238attempt otherwise to copy, modify, sublicense, link with, or
239distribute the Library is void, and will automatically terminate your
240rights under this License.  However, parties who have received copies,
241or rights, from you under this License will not have their licenses
242terminated so long as such parties remain in full compliance.
243
244  9. You are not required to accept this License, since you have not
245signed it.  However, nothing else grants you permission to modify or
246distribute the Library or its derivative works.  These actions are
247prohibited by law if you do not accept this License.  Therefore, by
248modifying or distributing the Library (or any work based on the
249Library), you indicate your acceptance of this License to do so, and
250all its terms and conditions for copying, distributing or modifying
251the Library or works based on it.
252
253  10. Each time you redistribute the Library (or any work based on the
254Library), the recipient automatically receives a license from the
255original licensor to copy, distribute, link with or modify the Library
256subject to these terms and conditions.  You may not impose any further
257restrictions on the recipients' exercise of the rights granted herein.
258You are not responsible for enforcing compliance by third parties with
259this License.
260
261  11. If, as a consequence of a court judgment or allegation of patent
262infringement or for any other reason (not limited to patent issues),
263conditions are imposed on you (whether by court order, agreement or
264otherwise) that contradict the conditions of this License, they do not
265excuse you from the conditions of this License.  If you cannot
266distribute so as to satisfy simultaneously your obligations under this
267License and any other pertinent obligations, then as a consequence you
268may not distribute the Library at all.  For example, if a patent
269license would not permit royalty-free redistribution of the Library by
270all those who receive copies directly or indirectly through you, then
271the only way you could satisfy both it and this License would be to
272refrain entirely from distribution of the Library.
273
274If any portion of this section is held invalid or unenforceable under any
275particular circumstance, the balance of the section is intended to apply,
276and the section as a whole is intended to apply in other circumstances.
277
278It is not the purpose of this section to induce you to infringe any
279patents or other property right claims or to contest validity of any
280such claims; this section has the sole purpose of protecting the
281integrity of the free software distribution system which is
282implemented by public license practices.  Many people have made
283generous contributions to the wide range of software distributed
284through that system in reliance on consistent application of that
285system; it is up to the author/donor to decide if he or she is willing
286to distribute software through any other system and a licensee cannot
287impose that choice.
288
289This section is intended to make thoroughly clear what is believed to
290be a consequence of the rest of this License.
291
292  12. If the distribution and/or use of the Library is restricted in
293certain countries either by patents or by copyrighted interfaces, the
294original copyright holder who places the Library under this License may add
295an explicit geographical distribution limitation excluding those countries,
296so that distribution is permitted only in or among countries not thus
297excluded.  In such case, this License incorporates the limitation as if
298written in the body of this License.
299
300  13. The Free Software Foundation may publish revised and/or new
301versions of the Lesser General Public License from time to time.
302Such new versions will be similar in spirit to the present version,
303but may differ in detail to address new problems or concerns.
304
305Each version is given a distinguishing version number.  If the Library
306specifies a version number of this License which applies to it and
307"any later version", you have the option of following the terms and
308conditions either of that version or of any later version published by
309the Free Software Foundation.  If the Library does not specify a
310license version number, you may choose any version ever published by
311the Free Software Foundation.
312
313  14. If you wish to incorporate parts of the Library into other free
314programs whose distribution conditions are incompatible with these,
315write to the author to ask for permission.  For software which is
316copyrighted by the Free Software Foundation, write to the Free
317Software Foundation; we sometimes make exceptions for this.  Our
318decision will be guided by the two goals of preserving the free status
319of all derivatives of our free software and of promoting the sharing
320and reuse of software generally.
321
322                            NO WARRANTY
323
324  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
325WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
326EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
327OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
328KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
329IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
330PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
331LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
332THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
333
334  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
335WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
336AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
337FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
338CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
339LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
340RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
341FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
342SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
343DAMAGES.
344
345                     END OF TERMS AND CONDITIONS
Note: See TracBrowser for help on using the browser.