18
18
======================================================================
19
GNU LIBRARY GENERAL PUBLIC LICENSE
22
Copyright (C) 1991 Free Software Foundation, Inc.
23
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
GNU LESSER GENERAL PUBLIC LICENSE
21
Version 2.1, February 1999
23
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
24
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
25
Everyone is permitted to copy and distribute verbatim copies
25
26
of this license document, but changing it is not allowed.
27
[This is the first released version of the library GPL. It is
28
numbered 2 because it goes with version 2 of the ordinary GPL.]
28
[This is the first released version of the Lesser GPL. It also counts
29
as the successor of the GNU Library Public License, version 2, hence
30
the version number 2.1.]
32
34
The licenses for most software are designed to take away your
33
35
freedom to share and change it. By contrast, the GNU General Public
34
36
Licenses are intended to guarantee your freedom to share and change
35
37
free software--to make sure the software is free for all its users.
37
This license, the Library General Public License, applies to some
38
specially designated Free Software Foundation software, and to any
39
other libraries whose authors decide to use it. You can use it for
39
This license, the Lesser General Public License, applies to some
40
specially designated software packages--typically libraries--of the
41
Free Software Foundation and other authors who decide to use it. You
42
can use it too, but we suggest you first think carefully about whether
43
this license or the ordinary General Public License is the better
44
strategy to use in any particular case, based on the explanations
42
When we speak of free software, we are referring to freedom, not
43
price. Our General Public Licenses are designed to make sure that you
44
have the freedom to distribute copies of free software (and charge for
45
this service if you wish), that you receive source code or can get it
46
if you want it, that you can change the software or use pieces of it
47
in new free programs; and that you know you can do these things.
47
When we speak of free software, we are referring to freedom of use,
48
not price. Our General Public Licenses are designed to make sure that
49
you have the freedom to distribute copies of free software (and charge
50
for this service if you wish); that you receive source code or can get
51
it if you want it; that you can change the software and use pieces of
52
it in new free programs; and that you are informed that you can do
49
55
To protect your rights, we need to make restrictions that forbid
50
anyone to deny you these rights or to ask you to surrender the rights.
51
These restrictions translate to certain responsibilities for you if
52
you distribute copies of the library, or if you modify it.
56
distributors to deny you these rights or to ask you to surrender these
57
rights. These restrictions translate to certain responsibilities for
58
you if you distribute copies of the library or if you modify it.
54
60
For example, if you distribute copies of the library, whether gratis
55
61
or for a fee, you must give the recipients all the rights that we gave
56
62
you. You must make sure that they, too, receive or can get the source
57
code. If you link a program with the library, you must provide
58
complete object files to the recipients so that they can relink them
59
with the library, after making changes to the library and recompiling
63
code. If you link other code with the library, you must provide
64
complete object files to the recipients, so that they can relink them
65
with the library after making changes to the library and recompiling
60
66
it. And you must show them these terms so they know their rights.
62
Our method of protecting your rights has two steps: (1) copyright
63
the library, and (2) offer you this license which gives you legal
68
We protect your rights with a two-step method: (1) we copyright the
69
library, and (2) we offer you this license, which gives you legal
64
70
permission to copy, distribute and/or modify the library.
66
Also, for each distributor's protection, we want to make certain
67
that everyone understands that there is no warranty for this free
68
library. If the library is modified by someone else and passed on, we
69
want its recipients to know that what they have is not the original
70
version, so that any problems introduced by others will not reflect on
71
the original authors' reputations.
72
To protect each distributor, we want to make it very clear that
73
there is no warranty for the free library. Also, if the library is
74
modified by someone else and passed on, the recipients should know
75
that what they have is not the original version, so that the original
76
author's reputation will not be affected by problems that might be
73
Finally, any free program is threatened constantly by software
74
patents. We wish to avoid the danger that companies distributing free
75
software will individually obtain patent licenses, thus in effect
76
transforming the program into proprietary software. To prevent this,
77
we have made it clear that any patent must be licensed for everyone's
78
free use or not licensed at all.
80
Most GNU software, including some libraries, is covered by the ordinary
81
GNU General Public License, which was designed for utility programs. This
82
license, the GNU Library General Public License, applies to certain
83
designated libraries. This license is quite different from the ordinary
84
one; be sure to read it in full, and don't assume that anything in it is
85
the same as in the ordinary license.
87
The reason we have a separate public license for some libraries is that
88
they blur the distinction we usually make between modifying or adding to a
89
program and simply using it. Linking a program with a library, without
90
changing the library, is in some sense simply using the library, and is
91
analogous to running a utility program or application program. However, in
92
a textual and legal sense, the linked executable is a combined work, a
93
derivative of the original library, and the ordinary General Public License
96
Because of this blurred distinction, using the ordinary General
97
Public License for libraries did not effectively promote software
98
sharing, because most developers did not use the libraries. We
99
concluded that weaker conditions might promote sharing better.
101
However, unrestricted linking of non-free programs would deprive the
102
users of those programs of all benefit from the free status of the
103
libraries themselves. This Library General Public License is intended to
104
permit developers of non-free programs to use free libraries, while
105
preserving your freedom as a user of such programs to change the free
106
libraries that are incorporated in them. (We have not seen how to achieve
107
this as regards changes in header files, but we have achieved it as regards
108
changes in the actual functions of the Library.) The hope is that this
109
will lead to faster development of free libraries.
79
Finally, software patents pose a constant threat to the existence of
80
any free program. We wish to make sure that a company cannot
81
effectively restrict the users of a free program by obtaining a
82
restrictive license from a patent holder. Therefore, we insist that
83
any patent license obtained for a version of the library must be
84
consistent with the full freedom of use specified in this license.
86
Most GNU software, including some libraries, is covered by the
87
ordinary GNU General Public License. This license, the GNU Lesser
88
General Public License, applies to certain designated libraries, and
89
is quite different from the ordinary General Public License. We use
90
this license for certain libraries in order to permit linking those
91
libraries into non-free programs.
93
When a program is linked with a library, whether statically or using
94
a shared library, the combination of the two is legally speaking a
95
combined work, a derivative of the original library. The ordinary
96
General Public License therefore permits such linking only if the
97
entire combination fits its criteria of freedom. The Lesser General
98
Public License permits more lax criteria for linking other code with
101
We call this license the "Lesser" General Public License because it
102
does Less to protect the user's freedom than the ordinary General
103
Public License. It also provides other free software developers Less
104
of an advantage over competing non-free programs. These disadvantages
105
are the reason we use the ordinary General Public License for many
106
libraries. However, the Lesser license provides advantages in certain
107
special circumstances.
109
For example, on rare occasions, there may be a special need to
110
encourage the widest possible use of a certain library, so that it
111
becomes a de-facto standard. To achieve this, non-free programs must
112
be allowed to use the library. A more frequent case is that a free
113
library does the same job as widely used non-free libraries. In this
114
case, there is little to gain by limiting the free library to free
115
software only, so we use the Lesser General Public License.
117
In other cases, permission to use a particular library in non-free
118
programs enables a greater number of people to use a large body of
119
free software. For example, permission to use the GNU C Library in
120
non-free programs enables many more people to use the whole GNU
121
operating system, as well as its variant, the GNU/Linux operating
124
Although the Lesser General Public License is Less protective of the
125
users' freedom, it does ensure that the user of a program that is
126
linked with the Library has the freedom and the wherewithal to run
127
that program using a modified version of the Library.
111
129
The precise terms and conditions for copying, distribution and
112
130
modification follow. Pay close attention to the difference between a
113
131
"work based on the library" and a "work that uses the library". The
114
former contains code derived from the library, while the latter only
115
works together with the library.
117
Note that it is possible for a library to be covered by the ordinary
118
General Public License rather than by this special one.
132
former contains code derived from the library, whereas the latter must
133
be combined with the library in order to run.
120
GNU LIBRARY GENERAL PUBLIC LICENSE
135
GNU LESSER GENERAL PUBLIC LICENSE
121
136
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
123
0. This License Agreement applies to any software library which
124
contains a notice placed by the copyright holder or other authorized
125
party saying it may be distributed under the terms of this Library
126
General Public License (also called "this License"). Each licensee is
138
0. This License Agreement applies to any software library or other
139
program which contains a notice placed by the copyright holder or
140
other authorized party saying it may be distributed under the terms of
141
this Lesser General Public License (also called "this License").
142
Each licensee is addressed as "you".
129
144
A "library" means a collection of software functions and/or data
130
145
prepared so as to be conveniently linked with application programs
300
315
Library will not necessarily be able to recompile the application
301
316
to use the modified definitions.)
303
b) Accompany the work with a written offer, valid for at
304
least three years, to give the same user the materials
305
specified in Subsection 6a, above, for a charge no more
306
than the cost of performing this distribution.
308
c) If distribution of the work is made by offering access to copy
318
b) Use a suitable shared library mechanism for linking with the
319
Library. A suitable mechanism is one that (1) uses at run time a
320
copy of the library already present on the user's computer system,
321
rather than copying library functions into the executable, and (2)
322
will operate properly with a modified version of the library, if
323
the user installs one, as long as the modified version is
324
interface-compatible with the version that the work was made with.
326
c) Accompany the work with a written offer, valid for at least
327
three years, to give the same user the materials specified in
328
Subsection 6a, above, for a charge no more than the cost of
329
performing this distribution.
331
d) If distribution of the work is made by offering access to copy
309
332
from a designated place, offer equivalent access to copy the above
310
333
specified materials from the same place.
312
d) Verify that the user has already received a copy of these
335
e) Verify that the user has already received a copy of these
313
336
materials or that you have already sent this user a copy.
315
338
For an executable, the required form of the "work that uses the
316
339
Library" must include any data and utility programs needed for
317
340
reproducing the executable from it. However, as a special exception,
318
the source code distributed need not include anything that is normally
319
distributed (in either source or binary form) with the major
341
the materials to be distributed need not include anything that is
342
normally distributed (in either source or binary form) with the major
320
343
components (compiler, kernel, and so on) of the operating system on
321
344
which the executable runs, unless that component itself accompanies
452
476
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
455
END OF TERMS AND CONDITIONS
479
END OF TERMS AND CONDITIONS
457
481
How to Apply These Terms to Your New Libraries
459
483
If you develop a new library, and you want it to be of the greatest
460
484
possible use to the public, we recommend making it free software that
461
485
everyone can redistribute and change. You can do so by permitting
462
redistribution under these terms (or, alternatively, under the terms of the
463
ordinary General Public License).
465
To apply these terms, attach the following notices to the library. It is
466
safest to attach them to the start of each source file to most effectively
467
convey the exclusion of warranty; and each file should have at least the
468
"copyright" line and a pointer to where the full notice is found.
486
redistribution under these terms (or, alternatively, under the terms
487
of the ordinary General Public License).
489
To apply these terms, attach the following notices to the library.
490
It is safest to attach them to the start of each source file to most
491
effectively convey the exclusion of warranty; and each file should
492
have at least the "copyright" line and a pointer to where the full
470
496
<one line to give the library's name and a brief idea of what it does.>
471
497
Copyright (C) <year> <name of author>
473
499
This library is free software; you can redistribute it and/or
474
modify it under the terms of the GNU Library General Public
500
modify it under the terms of the GNU Lesser General Public
475
501
License as published by the Free Software Foundation; either
476
version 2 of the License, or (at your option) any later version.
502
version 2.1 of the License, or (at your option) any later version.
478
504
This library is distributed in the hope that it will be useful,
479
505
but WITHOUT ANY WARRANTY; without even the implied warranty of
480
506
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
481
Library General Public License for more details.
507
Lesser General Public License for more details.
483
You should have received a copy of the GNU Library General Public
484
License along with this library; if not, write to the Free
485
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
509
You should have received a copy of the GNU Lesser General Public
510
License along with this library; if not, write to the Free Software
511
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
487
513
Also add information on how to contact you by electronic and paper mail.
489
You should also get your employer (if you work as a programmer) or your
490
school, if any, to sign a "copyright disclaimer" for the library, if
491
necessary. Here is a sample; alter the names:
515
You should also get your employer (if you work as a programmer) or
516
your school, if any, to sign a "copyright disclaimer" for the library,
517
if necessary. Here is a sample; alter the names:
493
519
Yoyodyne, Inc., hereby disclaims all copyright interest in the
494
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
520
library `Frob' (a library for tweaking knobs) written by James
496
523
<signature of Ty Coon>, 1 April 1990
497
524
Ty Coon, President of Vice
499
526
That's all there is to it!