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