1
{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
2
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\lang1033\f0\fs20\tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par
3
\tab\tab Version 2.1, February 1999\par
5
Copyright (C) 1991, 1999 Free Software Foundation, Inc.\par
6
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par
7
Everyone is permitted to copy and distribute verbatim copies\par
8
of this license document, but changing it is not allowed.\par
10
[This is the first released version of the Lesser GPL. It also counts\par
11
as the successor of the GNU Library Public License, version 2, hence\par
12
the version number 2.1.]\par
14
\tab\tab\tab Preamble\par
16
The licenses for most software are designed to take away your\par
17
freedom to share and change it. By contrast, the GNU General Public\par
18
Licenses are intended to guarantee your freedom to share and change\par
19
free software--to make sure the software is free for all its users.\par
21
This license, the Lesser General Public License, applies to some\par
22
specially designated software packages--typically libraries--of the\par
23
Free Software Foundation and other authors who decide to use it. You\par
24
can use it too, but we suggest you first think carefully about whether\par
25
this license or the ordinary General Public License is the better\par
26
strategy to use in any particular case, based on the explanations below.\par
28
When we speak of free software, we are referring to freedom of use,\par
29
not price. Our General Public Licenses are designed to make sure that\par
30
you have the freedom to distribute copies of free software (and charge\par
31
for this service if you wish); that you receive source code or can get\par
32
it if you want it; that you can change the software and use pieces of\par
33
it in new free programs; and that you are informed that you can do\par
36
To protect your rights, we need to make restrictions that forbid\par
37
distributors to deny you these rights or to ask you to surrender these\par
38
rights. These restrictions translate to certain responsibilities for\par
39
you if you distribute copies of the library or if you modify it.\par
41
For example, if you distribute copies of the library, whether gratis\par
42
or for a fee, you must give the recipients all the rights that we gave\par
43
you. You must make sure that they, too, receive or can get the source\par
44
code. If you link other code with the library, you must provide\par
45
complete object files to the recipients, so that they can relink them\par
46
with the library after making changes to the library and recompiling\par
47
it. And you must show them these terms so they know their rights.\par
49
We protect your rights with a two-step method: (1) we copyright the\par
50
library, and (2) we offer you this license, which gives you legal\par
51
permission to copy, distribute and/or modify the library.\par
53
To protect each distributor, we want to make it very clear that\par
54
there is no warranty for the free library. Also, if the library is\par
55
modified by someone else and passed on, the recipients should know\par
56
that what they have is not the original version, so that the original\par
57
author's reputation will not be affected by problems that might be\par
58
introduced by others.\par
60
Finally, software patents pose a constant threat to the existence of\par
61
any free program. We wish to make sure that a company cannot\par
62
effectively restrict the users of a free program by obtaining a\par
63
restrictive license from a patent holder. Therefore, we insist that\par
64
any patent license obtained for a version of the library must be\par
65
consistent with the full freedom of use specified in this license.\par
67
Most GNU software, including some libraries, is covered by the\par
68
ordinary GNU General Public License. This license, the GNU Lesser\par
69
General Public License, applies to certain designated libraries, and\par
70
is quite different from the ordinary General Public License. We use\par
71
this license for certain libraries in order to permit linking those\par
72
libraries into non-free programs.\par
74
When a program is linked with a library, whether statically or using\par
75
a shared library, the combination of the two is legally speaking a\par
76
combined work, a derivative of the original library. The ordinary\par
77
General Public License therefore permits such linking only if the\par
78
entire combination fits its criteria of freedom. The Lesser General\par
79
Public License permits more lax criteria for linking other code with\par
82
We call this license the "Lesser" General Public License because it\par
83
does Less to protect the user's freedom than the ordinary General\par
84
Public License. It also provides other free software developers Less\par
85
of an advantage over competing non-free programs. These disadvantages\par
86
are the reason we use the ordinary General Public License for many\par
87
libraries. However, the Lesser license provides advantages in certain\par
88
special circumstances.\par
90
For example, on rare occasions, there may be a special need to\par
91
encourage the widest possible use of a certain library, so that it becomes\par
92
a de-facto standard. To achieve this, non-free programs must be\par
93
allowed to use the library. A more frequent case is that a free\par
94
library does the same job as widely used non-free libraries. In this\par
95
case, there is little to gain by limiting the free library to free\par
96
software only, so we use the Lesser General Public License.\par
98
In other cases, permission to use a particular library in non-free\par
99
programs enables a greater number of people to use a large body of\par
100
free software. For example, permission to use the GNU C Library in\par
101
non-free programs enables many more people to use the whole GNU\par
102
operating system, as well as its variant, the GNU/Linux operating\par
105
Although the Lesser General Public License is Less protective of the\par
106
users' freedom, it does ensure that the user of a program that is\par
107
linked with the Library has the freedom and the wherewithal to run\par
108
that program using a modified version of the Library.\par
110
The precise terms and conditions for copying, distribution and\par
111
modification follow. Pay close attention to the difference between a\par
112
"work based on the library" and a "work that uses the library". The\par
113
former contains code derived from the library, whereas the latter must\par
114
be combined with the library in order to run.\par
116
\tab\tab GNU LESSER GENERAL PUBLIC LICENSE\par
117
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\par
119
0. This License Agreement applies to any software library or other\par
120
program which contains a notice placed by the copyright holder or\par
121
other authorized party saying it may be distributed under the terms of\par
122
this Lesser General Public License (also called "this License").\par
123
Each licensee is addressed as "you".\par
125
A "library" means a collection of software functions and/or data\par
126
prepared so as to be conveniently linked with application programs\par
127
(which use some of those functions and data) to form executables.\par
129
The "Library", below, refers to any such software library or work\par
130
which has been distributed under these terms. A "work based on the\par
131
Library" means either the Library or any derivative work under\par
132
copyright law: that is to say, a work containing the Library or a\par
133
portion of it, either verbatim or with modifications and/or translated\par
134
straightforwardly into another language. (Hereinafter, translation is\par
135
included without limitation in the term "modification".)\par
137
"Source code" for a work means the preferred form of the work for\par
138
making modifications to it. For a library, complete source code means\par
139
all the source code for all modules it contains, plus any associated\par
140
interface definition files, plus the scripts used to control compilation\par
141
and installation of the library.\par
143
Activities other than copying, distribution and modification are not\par
144
covered by this License; they are outside its scope. The act of\par
145
running a program using the Library is not restricted, and output from\par
146
such a program is covered only if its contents constitute a work based\par
147
on the Library (independent of the use of the Library in a tool for\par
148
writing it). Whether that is true depends on what the Library does\par
149
and what the program that uses the Library does.\par
151
1. You may copy and distribute verbatim copies of the Library's\par
152
complete source code as you receive it, in any medium, provided that\par
153
you conspicuously and appropriately publish on each copy an\par
154
appropriate copyright notice and disclaimer of warranty; keep intact\par
155
all the notices that refer to this License and to the absence of any\par
156
warranty; and distribute a copy of this License along with the\par
159
You may charge a fee for the physical act of transferring a copy,\par
160
and you may at your option offer warranty protection in exchange for a\par
163
2. You may modify your copy or copies of the Library or any portion\par
164
of it, thus forming a work based on the Library, and copy and\par
165
distribute such modifications or work under the terms of Section 1\par
166
above, provided that you also meet all of these conditions:\par
168
a) The modified work must itself be a software library.\par
170
b) You must cause the files modified to carry prominent notices\par
171
stating that you changed the files and the date of any change.\par
173
c) You must cause the whole of the work to be licensed at no\par
174
charge to all third parties under the terms of this License.\par
176
d) If a facility in the modified Library refers to a function or a\par
177
table of data to be supplied by an application program that uses\par
178
the facility, other than as an argument passed when the facility\par
179
is invoked, then you must make a good faith effort to ensure that,\par
180
in the event an application does not supply such function or\par
181
table, the facility still operates, and performs whatever part of\par
182
its purpose remains meaningful.\par
184
(For example, a function in a library to compute square roots has\par
185
a purpose that is entirely well-defined independent of the\par
186
application. Therefore, Subsection 2d requires that any\par
187
application-supplied function or table used by this function must\par
188
be optional: if the application does not supply it, the square\par
189
root function must still compute square roots.)\par
191
These requirements apply to the modified work as a whole. If\par
192
identifiable sections of that work are not derived from the Library,\par
193
and can be reasonably considered independent and separate works in\par
194
themselves, then this License, and its terms, do not apply to those\par
195
sections when you distribute them as separate works. But when you\par
196
distribute the same sections as part of a whole which is a work based\par
197
on the Library, the distribution of the whole must be on the terms of\par
198
this License, whose permissions for other licensees extend to the\par
199
entire whole, and thus to each and every part regardless of who wrote\par
202
Thus, it is not the intent of this section to claim rights or contest\par
203
your rights to work written entirely by you; rather, the intent is to\par
204
exercise the right to control the distribution of derivative or\par
205
collective works based on the Library.\par
207
In addition, mere aggregation of another work not based on the Library\par
208
with the Library (or with a work based on the Library) on a volume of\par
209
a storage or distribution medium does not bring the other work under\par
210
the scope of this License.\par
212
3. You may opt to apply the terms of the ordinary GNU General Public\par
213
License instead of this License to a given copy of the Library. To do\par
214
this, you must alter all the notices that refer to this License, so\par
215
that they refer to the ordinary GNU General Public License, version 2,\par
216
instead of to this License. (If a newer version than version 2 of the\par
217
ordinary GNU General Public License has appeared, then you can specify\par
218
that version instead if you wish.) Do not make any other change in\par
221
Once this change is made in a given copy, it is irreversible for\par
222
that copy, so the ordinary GNU General Public License applies to all\par
223
subsequent copies and derivative works made from that copy.\par
225
This option is useful when you wish to copy part of the code of\par
226
the Library into a program that is not a library.\par
228
4. You may copy and distribute the Library (or a portion or\par
229
derivative of it, under Section 2) in object code or executable form\par
230
under the terms of Sections 1 and 2 above provided that you accompany\par
231
it with the complete corresponding machine-readable source code, which\par
232
must be distributed under the terms of Sections 1 and 2 above on a\par
233
medium customarily used for software interchange.\par
235
If distribution of object code is made by offering access to copy\par
236
from a designated place, then offering equivalent access to copy the\par
237
source code from the same place satisfies the requirement to\par
238
distribute the source code, even though third parties are not\par
239
compelled to copy the source along with the object code.\par
241
5. A program that contains no derivative of any portion of the\par
242
Library, but is designed to work with the Library by being compiled or\par
243
linked with it, is called a "work that uses the Library". Such a\par
244
work, in isolation, is not a derivative work of the Library, and\par
245
therefore falls outside the scope of this License.\par
247
However, linking a "work that uses the Library" with the Library\par
248
creates an executable that is a derivative of the Library (because it\par
249
contains portions of the Library), rather than a "work that uses the\par
250
library". The executable is therefore covered by this License.\par
251
Section 6 states terms for distribution of such executables.\par
253
When a "work that uses the Library" uses material from a header file\par
254
that is part of the Library, the object code for the work may be a\par
255
derivative work of the Library even though the source code is not.\par
256
Whether this is true is especially significant if the work can be\par
257
linked without the Library, or if the work is itself a library. The\par
258
threshold for this to be true is not precisely defined by law.\par
260
If such an object file uses only numerical parameters, data\par
261
structure layouts and accessors, and small macros and small inline\par
262
functions (ten lines or less in length), then the use of the object\par
263
file is unrestricted, regardless of whether it is legally a derivative\par
264
work. (Executables containing this object code plus portions of the\par
265
Library will still fall under Section 6.)\par
267
Otherwise, if the work is a derivative of the Library, you may\par
268
distribute the object code for the work under the terms of Section 6.\par
269
Any executables containing that work also fall under Section 6,\par
270
whether or not they are linked directly with the Library itself.\par
272
6. As an exception to the Sections above, you may also combine or\par
273
link a "work that uses the Library" with the Library to produce a\par
274
work containing portions of the Library, and distribute that work\par
275
under terms of your choice, provided that the terms permit\par
276
modification of the work for the customer's own use and reverse\par
277
engineering for debugging such modifications.\par
279
You must give prominent notice with each copy of the work that the\par
280
Library is used in it and that the Library and its use are covered by\par
281
this License. You must supply a copy of this License. If the work\par
282
during execution displays copyright notices, you must include the\par
283
copyright notice for the Library among them, as well as a reference\par
284
directing the user to the copy of this License. Also, you must do one\par
287
a) Accompany the work with the complete corresponding\par
288
machine-readable source code for the Library including whatever\par
289
changes were used in the work (which must be distributed under\par
290
Sections 1 and 2 above); and, if the work is an executable linked\par
291
with the Library, with the complete machine-readable "work that\par
292
uses the Library", as object code and/or source code, so that the\par
293
user can modify the Library and then relink to produce a modified\par
294
executable containing the modified Library. (It is understood\par
295
that the user who changes the contents of definitions files in the\par
296
Library will not necessarily be able to recompile the application\par
297
to use the modified definitions.)\par
299
b) Use a suitable shared library mechanism for linking with the\par
300
Library. A suitable mechanism is one that (1) uses at run time a\par
301
copy of the library already present on the user's computer system,\par
302
rather than copying library functions into the executable, and (2)\par
303
will operate properly with a modified version of the library, if\par
304
the user installs one, as long as the modified version is\par
305
interface-compatible with the version that the work was made with.\par
307
c) Accompany the work with a written offer, valid for at\par
308
least three years, to give the same user the materials\par
309
specified in Subsection 6a, above, for a charge no more\par
310
than the cost of performing this distribution.\par
312
d) If distribution of the work is made by offering access to copy\par
313
from a designated place, offer equivalent access to copy the above\par
314
specified materials from the same place.\par
316
e) Verify that the user has already received a copy of these\par
317
materials or that you have already sent this user a copy.\par
319
For an executable, the required form of the "work that uses the\par
320
Library" must include any data and utility programs needed for\par
321
reproducing the executable from it. However, as a special exception,\par
322
the materials to be distributed need not include anything that is\par
323
normally distributed (in either source or binary form) with the major\par
324
components (compiler, kernel, and so on) of the operating system on\par
325
which the executable runs, unless that component itself accompanies\par
328
It may happen that this requirement contradicts the license\par
329
restrictions of other proprietary libraries that do not normally\par
330
accompany the operating system. Such a contradiction means you cannot\par
331
use both them and the Library together in an executable that you\par
334
7. You may place library facilities that are a work based on the\par
335
Library side-by-side in a single library together with other library\par
336
facilities not covered by this License, and distribute such a combined\par
337
library, provided that the separate distribution of the work based on\par
338
the Library and of the other library facilities is otherwise\par
339
permitted, and provided that you do these two things:\par
341
a) Accompany the combined library with a copy of the same work\par
342
based on the Library, uncombined with any other library\par
343
facilities. This must be distributed under the terms of the\par
346
b) Give prominent notice with the combined library of the fact\par
347
that part of it is a work based on the Library, and explaining\par
348
where to find the accompanying uncombined form of the same work.\par
350
8. You may not copy, modify, sublicense, link with, or distribute\par
351
the Library except as expressly provided under this License. Any\par
352
attempt otherwise to copy, modify, sublicense, link with, or\par
353
distribute the Library is void, and will automatically terminate your\par
354
rights under this License. However, parties who have received copies,\par
355
or rights, from you under this License will not have their licenses\par
356
terminated so long as such parties remain in full compliance.\par
358
9. You are not required to accept this License, since you have not\par
359
signed it. However, nothing else grants you permission to modify or\par
360
distribute the Library or its derivative works. These actions are\par
361
prohibited by law if you do not accept this License. Therefore, by\par
362
modifying or distributing the Library (or any work based on the\par
363
Library), you indicate your acceptance of this License to do so, and\par
364
all its terms and conditions for copying, distributing or modifying\par
365
the Library or works based on it.\par
367
10. Each time you redistribute the Library (or any work based on the\par
368
Library), the recipient automatically receives a license from the\par
369
original licensor to copy, distribute, link with or modify the Library\par
370
subject to these terms and conditions. You may not impose any further\par
371
restrictions on the recipients' exercise of the rights granted herein.\par
372
You are not responsible for enforcing compliance by third parties with\par
375
11. If, as a consequence of a court judgment or allegation of patent\par
376
infringement or for any other reason (not limited to patent issues),\par
377
conditions are imposed on you (whether by court order, agreement or\par
378
otherwise) that contradict the conditions of this License, they do not\par
379
excuse you from the conditions of this License. If you cannot\par
380
distribute so as to satisfy simultaneously your obligations under this\par
381
License and any other pertinent obligations, then as a consequence you\par
382
may not distribute the Library at all. For example, if a patent\par
383
license would not permit royalty-free redistribution of the Library by\par
384
all those who receive copies directly or indirectly through you, then\par
385
the only way you could satisfy both it and this License would be to\par
386
refrain entirely from distribution of the Library.\par
388
If any portion of this section is held invalid or unenforceable under any\par
389
particular circumstance, the balance of the section is intended to apply,\par
390
and the section as a whole is intended to apply in other circumstances.\par
392
It is not the purpose of this section to induce you to infringe any\par
393
patents or other property right claims or to contest validity of any\par
394
such claims; this section has the sole purpose of protecting the\par
395
integrity of the free software distribution system which is\par
396
implemented by public license practices. Many people have made\par
397
generous contributions to the wide range of software distributed\par
398
through that system in reliance on consistent application of that\par
399
system; it is up to the author/donor to decide if he or she is willing\par
400
to distribute software through any other system and a licensee cannot\par
401
impose that choice.\par
403
This section is intended to make thoroughly clear what is believed to\par
404
be a consequence of the rest of this License.\par
406
12. If the distribution and/or use of the Library is restricted in\par
407
certain countries either by patents or by copyrighted interfaces, the\par
408
original copyright holder who places the Library under this License may add\par
409
an explicit geographical distribution limitation excluding those countries,\par
410
so that distribution is permitted only in or among countries not thus\par
411
excluded. In such case, this License incorporates the limitation as if\par
412
written in the body of this License.\par
414
13. The Free Software Foundation may publish revised and/or new\par
415
versions of the Lesser General Public License from time to time.\par
416
Such new versions will be similar in spirit to the present version,\par
417
but may differ in detail to address new problems or concerns.\par
419
Each version is given a distinguishing version number. If the Library\par
420
specifies a version number of this License which applies to it and\par
421
"any later version", you have the option of following the terms and\par
422
conditions either of that version or of any later version published by\par
423
the Free Software Foundation. If the Library does not specify a\par
424
license version number, you may choose any version ever published by\par
425
the Free Software Foundation.\par
427
14. If you wish to incorporate parts of the Library into other free\par
428
programs whose distribution conditions are incompatible with these,\par
429
write to the author to ask for permission. For software which is\par
430
copyrighted by the Free Software Foundation, write to the Free\par
431
Software Foundation; we sometimes make exceptions for this. Our\par
432
decision will be guided by the two goals of preserving the free status\par
433
of all derivatives of our free software and of promoting the sharing\par
434
and reuse of software generally.\par
436
\tab\tab\tab NO WARRANTY\par
438
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO\par
439
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.\par
440
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR\par
441
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY\par
442
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE\par
443
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\par
444
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE\par
445
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME\par
446
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\par
448
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN\par
449
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY\par
450
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU\par
451
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\par
452
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE\par
453
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING\par
454
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A\par
455
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF\par
456
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH\par
459
\tab\tab END OF TERMS AND CONDITIONS\par
461
How to Apply These Terms to Your New Libraries\par
463
If you develop a new library, and you want it to be of the greatest\par
464
possible use to the public, we recommend making it free software that\par
465
everyone can redistribute and change. You can do so by permitting\par
466
redistribution under these terms (or, alternatively, under the terms of the\par
467
ordinary General Public License).\par
469
To apply these terms, attach the following notices to the library. It is\par
470
safest to attach them to the start of each source file to most effectively\par
471
convey the exclusion of warranty; and each file should have at least the\par
472
"copyright" line and a pointer to where the full notice is found.\par
474
<one line to give the library's name and a brief idea of what it does.>\par
475
Copyright (C) <year> <name of author>\par
477
This library is free software; you can redistribute it and/or\par
478
modify it under the terms of the GNU Lesser General Public\par
479
License as published by the Free Software Foundation; either\par
480
version 2.1 of the License, or (at your option) any later version.\par
482
This library is distributed in the hope that it will be useful,\par
483
but WITHOUT ANY WARRANTY; without even the implied warranty of\par
484
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\par
485
Lesser General Public License for more details.\par
487
You should have received a copy of the GNU Lesser General Public\par
488
License along with this library; if not, write to the Free Software\par
489
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\par
491
Also add information on how to contact you by electronic and paper mail.\par
493
You should also get your employer (if you work as a programmer) or your\par
494
school, if any, to sign a "copyright disclaimer" for the library, if\par
495
necessary. Here is a sample; alter the names:\par
497
Yoyodyne, Inc., hereby disclaims all copyright interest in the\par
498
library `Frob' (a library for tweaking knobs) written by James Random Hacker.\par
500
<signature of Ty Coon>, 1 April 1990\par
501
Ty Coon, President of Vice\par
503
That's all there is to it!\par