1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
4
<title>GNU Lesser General Public License</title>
5
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
7
BODY { FONT-SIZE: 12px }
11
<H3>GNU Lesser General Public License</H3>
13
<P>Version 2.1, February 1999</P>
15
<P>Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite
16
330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute
17
verbatim copies of this license document, but changing it is not allowed.</P>
18
<P>[This is the first released version of the Lesser GPL. It also counts as the
19
successor of the GNU Library Public License, version 2, hence the version
23
<P>The licenses for most software are designed to take away your freedom to share
24
and change it. By contrast, the GNU General Public Licenses are intended to
25
guarantee your freedom to share and change free software--to make sure the
26
software is free for all its users.
28
<P>This license, the Lesser General Public License, applies to some specially
29
designated software packages--typically libraries--of the Free Software
30
Foundation and other authors who decide to use it. You can use it too, but we
31
suggest you first think carefully about whether this license or the ordinary
32
General Public License is the better strategy to use in any particular case,
33
based on the explanations below.
35
<P>When we speak of free software, we are referring to freedom of use, not price.
36
Our General Public Licenses are designed to make sure that you have the freedom
37
to distribute copies of free software (and charge for this service if you
38
wish); that you receive source code or can get it if you want it; that you can
39
change the software and use pieces of it in new free programs; and that you are
40
informed that you can do these things.</P>
41
<P>To protect your rights, we need to make restrictions that forbid distributors to
42
deny you these rights or to ask you to surrender these rights. These
43
restrictions translate to certain responsibilities for you if you distribute
44
copies of the library or if you modify it.
46
<P>For example, if you distribute copies of the library, whether gratis or for a
47
fee, you must give the recipients all the rights that we gave you. You must
48
make sure that they, too, receive or can get the source code. If you link other
49
code with the library, you must provide complete object files to the
50
recipients, so that they can relink them with the library after making changes
51
to the library and recompiling it. And you must show them these terms so they
54
<P>We protect your rights with a two-step method: (1) we copyright the library, and
55
(2) we offer you this license, which gives you legal permission to copy,
56
distribute and/or modify the library.
58
<P>To protect each distributor, we want to make it very clear that there is no
59
warranty for the free library. Also, if the library is modified by someone else
60
and passed on, the recipients should know that what they have is not the
61
original version, so that the original author's reputation will not be affected
62
by problems that might be introduced by others.
64
<P>Finally, software patents pose a constant threat to the existence of any free
65
program. We wish to make sure that a company cannot effectively restrict the
66
users of a free program by obtaining a restrictive license from a patent
67
holder. Therefore, we insist that any patent license obtained for a version of
68
the library must be consistent with the full freedom of use specified in this
71
<P>Most GNU software, including some libraries, is covered by the ordinary GNU
72
General Public License. This license, the GNU Lesser General Public License,
73
applies to certain designated libraries, and is quite different from the
74
ordinary General Public License. We use this license for certain libraries in
75
order to permit linking those libraries into non-free programs.
77
<P>When a program is linked with a library, whether statically or using a shared
78
library, the combination of the two is legally speaking a combined work, a
79
derivative of the original library. The ordinary General Public License
80
therefore permits such linking only if the entire combination fits its criteria
81
of freedom. The Lesser General Public License permits more lax criteria for
82
linking other code with the library.
84
<P>We call this license the "Lesser" General Public License because it does Less to
85
protect the user's freedom than the ordinary General Public License. It also
86
provides other free software developers Less of an advantage over competing
87
non-free programs. These disadvantages are the reason we use the ordinary
88
General Public License for many libraries. However, the Lesser license provides
89
advantages in certain special circumstances.
91
<P>For example, on rare occasions, there may be a special need to encourage the
92
widest possible use of a certain library, so that it becomes a de-facto
93
standard. To achieve this, non-free programs must be allowed to use the
94
library. A more frequent case is that a free library does the same job as
95
widely used non-free libraries. In this case, there is little to gain by
96
limiting the free library to free software only, so we use the Lesser General
99
<P>In other cases, permission to use a particular library in non-free programs
100
enables a greater number of people to use a large body of free software. For
101
example, permission to use the GNU C Library in non-free programs enables many
102
more people to use the whole GNU operating system, as well as its variant, the
103
GNU/Linux operating system.
105
<P>Although the Lesser General Public License is Less protective of the users'
106
freedom, it does ensure that the user of a program that is linked with the
107
Library has the freedom and the wherewithal to run that program using a
108
modified version of the Library.
110
<P>The precise terms and conditions for copying, distribution and modification
111
follow. Pay close attention to the difference between a "work based on the
112
library" and a "work that uses the library". The former contains code derived
113
from the library, whereas the latter must be combined with the library in order
116
<H4>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</H4>
117
<P><STRONG>0.</STRONG> This License Agreement applies to any software library or
118
other program which contains a notice placed by the copyright holder or other
119
authorized party saying it may be distributed under the terms of this Lesser
120
General Public License (also called "this License"). Each licensee is addressed
122
<P>A "library" means a collection of software functions and/or data prepared so as
123
to be conveniently linked with application programs (which use some of those
124
functions and data) to form executables.
126
<P>The "Library", below, refers to any such software library or work which has been
127
distributed under these terms. A "work based on the Library" means either the
128
Library or any derivative work under copyright law: that is to say, a work
129
containing the Library or a portion of it, either verbatim or with
130
modifications and/or translated straightforwardly into another language.
131
(Hereinafter, translation is included without limitation in the term
134
<P>"Source code" for a work means the preferred form of the work for making
135
modifications to it. For a library, complete source code means all the source
136
code for all modules it contains, plus any associated interface definition
137
files, plus the scripts used to control compilation and installation of the
139
<P>Activities other than copying, distribution and modification are not covered by
140
this License; they are outside its scope. The act of running a program using
141
the Library is not restricted, and output from such a program is covered only
142
if its contents constitute a work based on the Library (independent of the use
143
of the Library in a tool for writing it). Whether that is true depends on what
144
the Library does and what the program that uses the Library does.
146
<P><STRONG>1.</STRONG> You may copy and distribute verbatim copies of the Library's
147
complete source code as you receive it, in any medium, provided that you
148
conspicuously and appropriately publish on each copy an appropriate copyright
149
notice and disclaimer of warranty; keep intact all the notices that refer to
150
this License and to the absence of any warranty; and distribute a copy of this
151
License along with the Library.
153
<P>You may charge a fee for the physical act of transferring a copy, and you may at
154
your option offer warranty protection in exchange for a fee.
156
<P><STRONG>2.</STRONG> You may modify your copy or copies of the Library or any
157
portion of it, thus forming a work based on the Library, and copy and
158
distribute such modifications or work under the terms of Section 1 above,
159
provided that you also meet all of these conditions:
162
<P>a) The modified work must itself be a software library.
164
<P>b) You must cause the files modified to carry prominent notices stating that you
165
changed the files and the date of any change.</P>
166
<P>c) You must cause the whole of the work to be licensed at no charge to all third
167
parties under the terms of this License.
169
<P>d) If a facility in the modified Library refers to a function or a table of data
170
to be supplied by an application program that uses the facility, other than as
171
an argument passed when the facility is invoked, then you must make a good
172
faith effort to ensure that, in the event an application does not supply such
173
function or table, the facility still operates, and performs whatever part of
174
its purpose remains meaningful.
176
<P>(For example, a function in a library to compute square roots has a purpose that
177
is entirely well-defined independent of the application. Therefore, Subsection
178
2d requires that any application-supplied function or table used by this
179
function must be optional: if the application does not supply it, the square
180
root function must still compute square roots.)
182
<P>These requirements apply to the modified work as a whole. If identifiable
183
sections of that work are not derived from the Library, and can be reasonably
184
considered independent and separate works in themselves, then this License, and
185
its terms, do not apply to those sections when you distribute them as separate
186
works. But when you distribute the same sections as part of a whole which is a
187
work based on the Library, the distribution of the whole must be on the terms
188
of this License, whose permissions for other licensees extend to the entire
189
whole, and thus to each and every part regardless of who wrote it.
191
<P>Thus, it is not the intent of this section to claim rights or contest your
192
rights to work written entirely by you; rather, the intent is to exercise the
193
right to control the distribution of derivative or collective works based on
196
<P>In addition, mere aggregation of another work not based on the Library with the
197
Library (or with a work based on the Library) on a volume of a storage or
198
distribution medium does not bring the other work under the scope of this
202
<P><STRONG>3.</STRONG> You may opt to apply the terms of the ordinary GNU General
203
Public License instead of this License to a given copy of the Library. To do
204
this, you must alter all the notices that refer to this License, so that they
205
refer to the ordinary GNU General Public License, version 2, instead of to this
206
License. (If a newer version than version 2 of the ordinary GNU General Public
207
License has appeared, then you can specify that version instead if you wish.)
208
Do not make any other change in these notices.
210
<P>Once this change is made in a given copy, it is irreversible for that copy, so
211
the ordinary GNU General Public License applies to all subsequent copies and
212
derivative works made from that copy.
214
<P>This option is useful when you wish to copy part of the code of the Library into
215
a program that is not a library.
217
<P><STRONG>4.</STRONG> You may copy and distribute the Library (or a portion or
218
derivative of it, under Section 2) in object code or executable form under the
219
terms of Sections 1 and 2 above provided that you accompany it with the
220
complete corresponding machine-readable source code, which must be distributed
221
under the terms of Sections 1 and 2 above on a medium customarily used for
222
software interchange.
224
<P>If distribution of object code is made by offering access to copy from a
225
designated place, then offering equivalent access to copy the source code from
226
the same place satisfies the requirement to distribute the source code, even
227
though third parties are not compelled to copy the source along with the object
229
<P><STRONG>5.</STRONG> A program that contains no derivative of any portion of the
230
Library, but is designed to work with the Library by being compiled or linked
231
with it, is called a "work that uses the Library". Such a work, in isolation,
232
is not a derivative work of the Library, and therefore falls outside the scope
235
<P>However, linking a "work that uses the Library" with the Library creates an
236
executable that is a derivative of the Library (because it contains portions of
237
the Library), rather than a "work that uses the library". The executable is
238
therefore covered by this License. Section 6 states terms for distribution of
241
<P>When a "work that uses the Library" uses material from a header file that is
242
part of the Library, the object code for the work may be a derivative work of
243
the Library even though the source code is not. Whether this is true is
244
especially significant if the work can be linked without the Library, or if the
245
work is itself a library. The threshold for this to be true is not precisely
248
<P>If such an object file uses only numerical parameters, data structure layouts
249
and accessors, and small macros and small inline functions (ten lines or less
250
in length), then the use of the object file is unrestricted, regardless of
251
whether it is legally a derivative work. (Executables containing this object
252
code plus portions of the Library will still fall under Section 6.)
254
<P>Otherwise, if the work is a derivative of the Library, you may distribute the
255
object code for the work under the terms of Section 6. Any executables
256
containing that work also fall under Section 6, whether or not they are linked
257
directly with the Library itself.
259
<P><STRONG>6.</STRONG> As an exception to the Sections above, you may also combine
260
or link a "work that uses the Library" with the Library to produce a work
261
containing portions of the Library, and distribute that work under terms of
262
your choice, provided that the terms permit modification of the work for the
263
customer's own use and reverse engineering for debugging such modifications.
265
<P>You must give prominent notice with each copy of the work that the Library is
266
used in it and that the Library and its use are covered by this License. You
267
must supply a copy of this License. If the work during execution displays
268
copyright notices, you must include the copyright notice for the Library among
269
them, as well as a reference directing the user to the copy of this License.
270
Also, you must do one of these things:
273
<P>a) Accompany the work with the complete corresponding machine-readable source
274
code for the Library including whatever changes were used in the work (which
275
must be distributed under Sections 1 and 2 above); and, if the work is an
276
executable linked with the Library, with the complete machine-readable "work
277
that uses the Library", as object code and/or source code, so that the user can
278
modify the Library and then relink to produce a modified executable containing
279
the modified Library. (It is understood that the user who changes the contents
280
of definitions files in the Library will not necessarily be able to recompile
281
the application to use the modified definitions.)
283
<P>b) Use a suitable shared library mechanism for linking with the Library. A
284
suitable mechanism is one that (1) uses at run time a copy of the library
285
already present on the user's computer system, rather than copying library
286
functions into the executable, and (2) will operate properly with a modified
287
version of the library, if the user installs one, as long as the modified
288
version is interface-compatible with the version that the work was made with.
290
<P>c) Accompany the work with a written offer, valid for at least three years, to
291
give the same user the materials specified in Subsection 6a, above, for a
292
charge no more than the cost of performing this distribution.
294
<P>d) If distribution of the work is made by offering access to copy from a
295
designated place, offer equivalent access to copy the above specified materials
298
<P>e) Verify that the user has already received a copy of these materials or that
299
you have already sent this user a copy.</P>
301
<P>For an executable, the required form of the "work that uses the Library" must
302
include any data and utility programs needed for reproducing the executable
303
from it. However, as a special exception, the materials to be distributed need
304
not include anything that is normally distributed (in either source or binary
305
form) with the major components (compiler, kernel, and so on) of the operating
306
system on which the executable runs, unless that component itself accompanies
309
<P>It may happen that this requirement contradicts the license restrictions of
310
other proprietary libraries that do not normally accompany the operating
311
system. Such a contradiction means you cannot use both them and the Library
312
together in an executable that you distribute.
314
<P><STRONG>7.</STRONG> You may place library facilities that are a work based on
315
the Library side-by-side in a single library together with other library
316
facilities not covered by this License, and distribute such a combined library,
317
provided that the separate distribution of the work based on the Library and of
318
the other library facilities is otherwise permitted, and provided that you do
322
<P>a) Accompany the combined library with a copy of the same work based on the
323
Library, uncombined with any other library facilities. This must be distributed
324
under the terms of the Sections above.
326
<P>b) Give prominent notice with the combined library of the fact that part of it
327
is a work based on the Library, and explaining where to find the accompanying
328
uncombined form of the same work.</P>
330
<P><STRONG>8.</STRONG> You may not copy, modify, sublicense, link with, or
331
distribute the Library except as expressly provided under this License. Any
332
attempt otherwise to copy, modify, sublicense, link with, or distribute the
333
Library is void, and will automatically terminate your rights under this
334
License. However, parties who have received copies, or rights, from you under
335
this License will not have their licenses terminated so long as such parties
336
remain in full compliance.
338
<P><STRONG>9.</STRONG> You are not required to accept this License, since you have
339
not signed it. However, nothing else grants you permission to modify or
340
distribute the Library or its derivative works. These actions are prohibited by
341
law if you do not accept this License. Therefore, by modifying or distributing
342
the Library (or any work based on the Library), you indicate your acceptance of
343
this License to do so, and all its terms and conditions for copying,
344
distributing or modifying the Library or works based on it.
346
<P><STRONG>10.</STRONG> Each time you redistribute the Library (or any work based
347
on the Library), the recipient automatically receives a license from the
348
original licensor to copy, distribute, link with or modify the Library subject
349
to these terms and conditions. You may not impose any further restrictions on
350
the recipients' exercise of the rights granted herein. You are not responsible
351
for enforcing compliance by third parties with this License.
353
<P><STRONG>11.</STRONG> If, as a consequence of a court judgment or allegation of
354
patent infringement or for any other reason (not limited to patent issues),
355
conditions are imposed on you (whether by court order, agreement or otherwise)
356
that contradict the conditions of this License, they do not excuse you from the
357
conditions of this License. If you cannot distribute so as to satisfy
358
simultaneously your obligations under this License and any other pertinent
359
obligations, then as a consequence you may not distribute the Library at all.
360
For example, if a patent license would not permit royalty-free redistribution
361
of the Library by all those who receive copies directly or indirectly through
362
you, then the only way you could satisfy both it and this License would be to
363
refrain entirely from distribution of the Library.
365
<P>If any portion of this section is held invalid or unenforceable under any
366
particular circumstance, the balance of the section is intended to apply, and
367
the section as a whole is intended to apply in other circumstances.
369
<P>It is not the purpose of this section to induce you to infringe any patents or
370
other property right claims or to contest validity of any such claims; this
371
section has the sole purpose of protecting the integrity of the free software
372
distribution system which is implemented by public license practices. Many
373
people have made generous contributions to the wide range of software
374
distributed through that system in reliance on consistent application of that
375
system; it is up to the author/donor to decide if he or she is willing to
376
distribute software through any other system and a licensee cannot impose that
379
<P>This section is intended to make thoroughly clear what is believed to be a
380
consequence of the rest of this License.
382
<P><STRONG>12.</STRONG> If the distribution and/or use of the Library is restricted
383
in certain countries either by patents or by copyrighted interfaces, the
384
original copyright holder who places the Library under this License may add an
385
explicit geographical distribution limitation excluding those countries, so
386
that distribution is permitted only in or among countries not thus excluded. In
387
such case, this License incorporates the limitation as if written in the body
390
<P><STRONG>13.</STRONG> The Free Software Foundation may publish revised and/or new
391
versions of the Lesser General Public License from time to time. Such new
392
versions will be similar in spirit to the present version, but may differ in
393
detail to address new problems or concerns.</P>
394
<P>Each version is given a distinguishing version number. If the Library specifies
395
a version number of this License which applies to it and "any later version",
396
you have the option of following the terms and conditions either of that
397
version or of any later version published by the Free Software Foundation. If
398
the Library does not specify a license version number, you may choose any
399
version ever published by the Free Software Foundation.
401
<P><STRONG>14.</STRONG> If you wish to incorporate parts of the Library into other
402
free programs whose distribution conditions are incompatible with these, write
403
to the author to ask for permission. For software which is copyrighted by the
404
Free Software Foundation, write to the Free Software Foundation; we sometimes
405
make exceptions for this. Our decision will be guided by the two goals of
406
preserving the free status of all derivatives of our free software and of
407
promoting the sharing and reuse of software generally.
411
<P><STRONG>15. </STRONG>BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
412
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
413
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
414
PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR
415
IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
416
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
417
QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE
418
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
421
<P><STRONG>16.</STRONG> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
422
IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
423
REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
424
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
425
OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS
426
OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
427
PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN
428
IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
431
<H4><STRONG>END OF TERMS AND CONDITIONS</STRONG></H4>