|
Packit |
a4058c |
GNU LIBRARY GENERAL PUBLIC LICENSE
|
|
Packit |
a4058c |
Version 2, June 1991
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Copyright (C) 1991 Free Software Foundation, Inc.
|
|
Packit |
a4058c |
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
Packit |
a4058c |
Everyone is permitted to copy and distribute verbatim copies
|
|
Packit |
a4058c |
of this license document, but changing it is not allowed.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
[This is the first released version of the library GPL. It is
|
|
Packit |
a4058c |
numbered 2 because it goes with version 2 of the ordinary GPL.]
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Preamble
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
The licenses for most software are designed to take away your
|
|
Packit |
a4058c |
freedom to share and change it. By contrast, the GNU General Public
|
|
Packit |
a4058c |
Licenses are intended to guarantee your freedom to share and change
|
|
Packit |
a4058c |
free software--to make sure the software is free for all its users.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
This license, the Library General Public License, applies to some
|
|
Packit |
a4058c |
specially designated Free Software Foundation software, and to any
|
|
Packit |
a4058c |
other libraries whose authors decide to use it. You can use it for
|
|
Packit |
a4058c |
your libraries, too.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
When we speak of free software, we are referring to freedom, not
|
|
Packit |
a4058c |
price. Our General Public Licenses are designed to make sure that you
|
|
Packit |
a4058c |
have the freedom to distribute copies of free software (and charge for
|
|
Packit |
a4058c |
this service if you wish), that you receive source code or can get it
|
|
Packit |
a4058c |
if you want it, that you can change the software or use pieces of it
|
|
Packit |
a4058c |
in new free programs; and that you know you can do these things.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
To protect your rights, we need to make restrictions that forbid
|
|
Packit |
a4058c |
anyone to deny you these rights or to ask you to surrender the rights.
|
|
Packit |
a4058c |
These restrictions translate to certain responsibilities for you if
|
|
Packit |
a4058c |
you distribute copies of the library, or if you modify it.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
For example, if you distribute copies of the library, whether gratis
|
|
Packit |
a4058c |
or for a fee, you must give the recipients all the rights that we gave
|
|
Packit |
a4058c |
you. You must make sure that they, too, receive or can get the source
|
|
Packit |
a4058c |
code. If you link a program with the library, you must provide
|
|
Packit |
a4058c |
complete object files to the recipients so that they can relink them
|
|
Packit |
a4058c |
with the library, after making changes to the library and recompiling
|
|
Packit |
a4058c |
it. And you must show them these terms so they know their rights.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Our method of protecting your rights has two steps: (1) copyright
|
|
Packit |
a4058c |
the library, and (2) offer you this license which gives you legal
|
|
Packit |
a4058c |
permission to copy, distribute and/or modify the library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Also, for each distributor's protection, we want to make certain
|
|
Packit |
a4058c |
that everyone understands that there is no warranty for this free
|
|
Packit |
a4058c |
library. If the library is modified by someone else and passed on, we
|
|
Packit |
a4058c |
want its recipients to know that what they have is not the original
|
|
Packit |
a4058c |
version, so that any problems introduced by others will not reflect on
|
|
Packit |
a4058c |
the original authors' reputations.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Finally, any free program is threatened constantly by software
|
|
Packit |
a4058c |
patents. We wish to avoid the danger that companies distributing free
|
|
Packit |
a4058c |
software will individually obtain patent licenses, thus in effect
|
|
Packit |
a4058c |
transforming the program into proprietary software. To prevent this,
|
|
Packit |
a4058c |
we have made it clear that any patent must be licensed for everyone's
|
|
Packit |
a4058c |
free use or not licensed at all.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Most GNU software, including some libraries, is covered by the ordinary
|
|
Packit |
a4058c |
GNU General Public License, which was designed for utility programs. This
|
|
Packit |
a4058c |
license, the GNU Library General Public License, applies to certain
|
|
Packit |
a4058c |
designated libraries. This license is quite different from the ordinary
|
|
Packit |
a4058c |
one; be sure to read it in full, and don't assume that anything in it is
|
|
Packit |
a4058c |
the same as in the ordinary license.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
The reason we have a separate public license for some libraries is that
|
|
Packit |
a4058c |
they blur the distinction we usually make between modifying or adding to a
|
|
Packit |
a4058c |
program and simply using it. Linking a program with a library, without
|
|
Packit |
a4058c |
changing the library, is in some sense simply using the library, and is
|
|
Packit |
a4058c |
analogous to running a utility program or application program. However, in
|
|
Packit |
a4058c |
a textual and legal sense, the linked executable is a combined work, a
|
|
Packit |
a4058c |
derivative of the original library, and the ordinary General Public License
|
|
Packit |
a4058c |
treats it as such.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Because of this blurred distinction, using the ordinary General
|
|
Packit |
a4058c |
Public License for libraries did not effectively promote software
|
|
Packit |
a4058c |
sharing, because most developers did not use the libraries. We
|
|
Packit |
a4058c |
concluded that weaker conditions might promote sharing better.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
However, unrestricted linking of non-free programs would deprive the
|
|
Packit |
a4058c |
users of those programs of all benefit from the free status of the
|
|
Packit |
a4058c |
libraries themselves. This Library General Public License is intended to
|
|
Packit |
a4058c |
permit developers of non-free programs to use free libraries, while
|
|
Packit |
a4058c |
preserving your freedom as a user of such programs to change the free
|
|
Packit |
a4058c |
libraries that are incorporated in them. (We have not seen how to achieve
|
|
Packit |
a4058c |
this as regards changes in header files, but we have achieved it as regards
|
|
Packit |
a4058c |
changes in the actual functions of the Library.) The hope is that this
|
|
Packit |
a4058c |
will lead to faster development of free libraries.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
The precise terms and conditions for copying, distribution and
|
|
Packit |
a4058c |
modification follow. Pay close attention to the difference between a
|
|
Packit |
a4058c |
"work based on the library" and a "work that uses the library". The
|
|
Packit |
a4058c |
former contains code derived from the library, while the latter only
|
|
Packit |
a4058c |
works together with the library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Note that it is possible for a library to be covered by the ordinary
|
|
Packit |
a4058c |
General Public License rather than by this special one.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
GNU LIBRARY GENERAL PUBLIC LICENSE
|
|
Packit |
a4058c |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
0. This License Agreement applies to any software library which
|
|
Packit |
a4058c |
contains a notice placed by the copyright holder or other authorized
|
|
Packit |
a4058c |
party saying it may be distributed under the terms of this Library
|
|
Packit |
a4058c |
General Public License (also called "this License"). Each licensee is
|
|
Packit |
a4058c |
addressed as "you".
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
A "library" means a collection of software functions and/or data
|
|
Packit |
a4058c |
prepared so as to be conveniently linked with application programs
|
|
Packit |
a4058c |
(which use some of those functions and data) to form executables.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
The "Library", below, refers to any such software library or work
|
|
Packit |
a4058c |
which has been distributed under these terms. A "work based on the
|
|
Packit |
a4058c |
Library" means either the Library or any derivative work under
|
|
Packit |
a4058c |
copyright law: that is to say, a work containing the Library or a
|
|
Packit |
a4058c |
portion of it, either verbatim or with modifications and/or translated
|
|
Packit |
a4058c |
straightforwardly into another language. (Hereinafter, translation is
|
|
Packit |
a4058c |
included without limitation in the term "modification".)
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
"Source code" for a work means the preferred form of the work for
|
|
Packit |
a4058c |
making modifications to it. For a library, complete source code means
|
|
Packit |
a4058c |
all the source code for all modules it contains, plus any associated
|
|
Packit |
a4058c |
interface definition files, plus the scripts used to control compilation
|
|
Packit |
a4058c |
and installation of the library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Activities other than copying, distribution and modification are not
|
|
Packit |
a4058c |
covered by this License; they are outside its scope. The act of
|
|
Packit |
a4058c |
running a program using the Library is not restricted, and output from
|
|
Packit |
a4058c |
such a program is covered only if its contents constitute a work based
|
|
Packit |
a4058c |
on the Library (independent of the use of the Library in a tool for
|
|
Packit |
a4058c |
writing it). Whether that is true depends on what the Library does
|
|
Packit |
a4058c |
and what the program that uses the Library does.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
1. You may copy and distribute verbatim copies of the Library's
|
|
Packit |
a4058c |
complete source code as you receive it, in any medium, provided that
|
|
Packit |
a4058c |
you conspicuously and appropriately publish on each copy an
|
|
Packit |
a4058c |
appropriate copyright notice and disclaimer of warranty; keep intact
|
|
Packit |
a4058c |
all the notices that refer to this License and to the absence of any
|
|
Packit |
a4058c |
warranty; and distribute a copy of this License along with the
|
|
Packit |
a4058c |
Library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
You may charge a fee for the physical act of transferring a copy,
|
|
Packit |
a4058c |
and you may at your option offer warranty protection in exchange for a
|
|
Packit |
a4058c |
fee.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
2. You may modify your copy or copies of the Library or any portion
|
|
Packit |
a4058c |
of it, thus forming a work based on the Library, and copy and
|
|
Packit |
a4058c |
distribute such modifications or work under the terms of Section 1
|
|
Packit |
a4058c |
above, provided that you also meet all of these conditions:
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
a) The modified work must itself be a software library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
b) You must cause the files modified to carry prominent notices
|
|
Packit |
a4058c |
stating that you changed the files and the date of any change.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
c) You must cause the whole of the work to be licensed at no
|
|
Packit |
a4058c |
charge to all third parties under the terms of this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
d) If a facility in the modified Library refers to a function or a
|
|
Packit |
a4058c |
table of data to be supplied by an application program that uses
|
|
Packit |
a4058c |
the facility, other than as an argument passed when the facility
|
|
Packit |
a4058c |
is invoked, then you must make a good faith effort to ensure that,
|
|
Packit |
a4058c |
in the event an application does not supply such function or
|
|
Packit |
a4058c |
table, the facility still operates, and performs whatever part of
|
|
Packit |
a4058c |
its purpose remains meaningful.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
(For example, a function in a library to compute square roots has
|
|
Packit |
a4058c |
a purpose that is entirely well-defined independent of the
|
|
Packit |
a4058c |
application. Therefore, Subsection 2d requires that any
|
|
Packit |
a4058c |
application-supplied function or table used by this function must
|
|
Packit |
a4058c |
be optional: if the application does not supply it, the square
|
|
Packit |
a4058c |
root function must still compute square roots.)
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
These requirements apply to the modified work as a whole. If
|
|
Packit |
a4058c |
identifiable sections of that work are not derived from the Library,
|
|
Packit |
a4058c |
and can be reasonably considered independent and separate works in
|
|
Packit |
a4058c |
themselves, then this License, and its terms, do not apply to those
|
|
Packit |
a4058c |
sections when you distribute them as separate works. But when you
|
|
Packit |
a4058c |
distribute the same sections as part of a whole which is a work based
|
|
Packit |
a4058c |
on the Library, the distribution of the whole must be on the terms of
|
|
Packit |
a4058c |
this License, whose permissions for other licensees extend to the
|
|
Packit |
a4058c |
entire whole, and thus to each and every part regardless of who wrote
|
|
Packit |
a4058c |
it.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Thus, it is not the intent of this section to claim rights or contest
|
|
Packit |
a4058c |
your rights to work written entirely by you; rather, the intent is to
|
|
Packit |
a4058c |
exercise the right to control the distribution of derivative or
|
|
Packit |
a4058c |
collective works based on the Library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
In addition, mere aggregation of another work not based on the Library
|
|
Packit |
a4058c |
with the Library (or with a work based on the Library) on a volume of
|
|
Packit |
a4058c |
a storage or distribution medium does not bring the other work under
|
|
Packit |
a4058c |
the scope of this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
3. You may opt to apply the terms of the ordinary GNU General Public
|
|
Packit |
a4058c |
License instead of this License to a given copy of the Library. To do
|
|
Packit |
a4058c |
this, you must alter all the notices that refer to this License, so
|
|
Packit |
a4058c |
that they refer to the ordinary GNU General Public License, version 2,
|
|
Packit |
a4058c |
instead of to this License. (If a newer version than version 2 of the
|
|
Packit |
a4058c |
ordinary GNU General Public License has appeared, then you can specify
|
|
Packit |
a4058c |
that version instead if you wish.) Do not make any other change in
|
|
Packit |
a4058c |
these notices.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Once this change is made in a given copy, it is irreversible for
|
|
Packit |
a4058c |
that copy, so the ordinary GNU General Public License applies to all
|
|
Packit |
a4058c |
subsequent copies and derivative works made from that copy.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
This option is useful when you wish to copy part of the code of
|
|
Packit |
a4058c |
the Library into a program that is not a library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
4. You may copy and distribute the Library (or a portion or
|
|
Packit |
a4058c |
derivative of it, under Section 2) in object code or executable form
|
|
Packit |
a4058c |
under the terms of Sections 1 and 2 above provided that you accompany
|
|
Packit |
a4058c |
it with the complete corresponding machine-readable source code, which
|
|
Packit |
a4058c |
must be distributed under the terms of Sections 1 and 2 above on a
|
|
Packit |
a4058c |
medium customarily used for software interchange.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
If distribution of object code is made by offering access to copy
|
|
Packit |
a4058c |
from a designated place, then offering equivalent access to copy the
|
|
Packit |
a4058c |
source code from the same place satisfies the requirement to
|
|
Packit |
a4058c |
distribute the source code, even though third parties are not
|
|
Packit |
a4058c |
compelled to copy the source along with the object code.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
5. A program that contains no derivative of any portion of the
|
|
Packit |
a4058c |
Library, but is designed to work with the Library by being compiled or
|
|
Packit |
a4058c |
linked with it, is called a "work that uses the Library". Such a
|
|
Packit |
a4058c |
work, in isolation, is not a derivative work of the Library, and
|
|
Packit |
a4058c |
therefore falls outside the scope of this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
However, linking a "work that uses the Library" with the Library
|
|
Packit |
a4058c |
creates an executable that is a derivative of the Library (because it
|
|
Packit |
a4058c |
contains portions of the Library), rather than a "work that uses the
|
|
Packit |
a4058c |
library". The executable is therefore covered by this License.
|
|
Packit |
a4058c |
Section 6 states terms for distribution of such executables.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
When a "work that uses the Library" uses material from a header file
|
|
Packit |
a4058c |
that is part of the Library, the object code for the work may be a
|
|
Packit |
a4058c |
derivative work of the Library even though the source code is not.
|
|
Packit |
a4058c |
Whether this is true is especially significant if the work can be
|
|
Packit |
a4058c |
linked without the Library, or if the work is itself a library. The
|
|
Packit |
a4058c |
threshold for this to be true is not precisely defined by law.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
If such an object file uses only numerical parameters, data
|
|
Packit |
a4058c |
structure layouts and accessors, and small macros and small inline
|
|
Packit |
a4058c |
functions (ten lines or less in length), then the use of the object
|
|
Packit |
a4058c |
file is unrestricted, regardless of whether it is legally a derivative
|
|
Packit |
a4058c |
work. (Executables containing this object code plus portions of the
|
|
Packit |
a4058c |
Library will still fall under Section 6.)
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Otherwise, if the work is a derivative of the Library, you may
|
|
Packit |
a4058c |
distribute the object code for the work under the terms of Section 6.
|
|
Packit |
a4058c |
Any executables containing that work also fall under Section 6,
|
|
Packit |
a4058c |
whether or not they are linked directly with the Library itself.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
6. As an exception to the Sections above, you may also compile or
|
|
Packit |
a4058c |
link a "work that uses the Library" with the Library to produce a
|
|
Packit |
a4058c |
work containing portions of the Library, and distribute that work
|
|
Packit |
a4058c |
under terms of your choice, provided that the terms permit
|
|
Packit |
a4058c |
modification of the work for the customer's own use and reverse
|
|
Packit |
a4058c |
engineering for debugging such modifications.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
You must give prominent notice with each copy of the work that the
|
|
Packit |
a4058c |
Library is used in it and that the Library and its use are covered by
|
|
Packit |
a4058c |
this License. You must supply a copy of this License. If the work
|
|
Packit |
a4058c |
during execution displays copyright notices, you must include the
|
|
Packit |
a4058c |
copyright notice for the Library among them, as well as a reference
|
|
Packit |
a4058c |
directing the user to the copy of this License. Also, you must do one
|
|
Packit |
a4058c |
of these things:
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
a) Accompany the work with the complete corresponding
|
|
Packit |
a4058c |
machine-readable source code for the Library including whatever
|
|
Packit |
a4058c |
changes were used in the work (which must be distributed under
|
|
Packit |
a4058c |
Sections 1 and 2 above); and, if the work is an executable linked
|
|
Packit |
a4058c |
with the Library, with the complete machine-readable "work that
|
|
Packit |
a4058c |
uses the Library", as object code and/or source code, so that the
|
|
Packit |
a4058c |
user can modify the Library and then relink to produce a modified
|
|
Packit |
a4058c |
executable containing the modified Library. (It is understood
|
|
Packit |
a4058c |
that the user who changes the contents of definitions files in the
|
|
Packit |
a4058c |
Library will not necessarily be able to recompile the application
|
|
Packit |
a4058c |
to use the modified definitions.)
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
b) Accompany the work with a written offer, valid for at
|
|
Packit |
a4058c |
least three years, to give the same user the materials
|
|
Packit |
a4058c |
specified in Subsection 6a, above, for a charge no more
|
|
Packit |
a4058c |
than the cost of performing this distribution.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
c) If distribution of the work is made by offering access to copy
|
|
Packit |
a4058c |
from a designated place, offer equivalent access to copy the above
|
|
Packit |
a4058c |
specified materials from the same place.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
d) Verify that the user has already received a copy of these
|
|
Packit |
a4058c |
materials or that you have already sent this user a copy.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
For an executable, the required form of the "work that uses the
|
|
Packit |
a4058c |
Library" must include any data and utility programs needed for
|
|
Packit |
a4058c |
reproducing the executable from it. However, as a special exception,
|
|
Packit |
a4058c |
the source code distributed need not include anything that is normally
|
|
Packit |
a4058c |
distributed (in either source or binary form) with the major
|
|
Packit |
a4058c |
components (compiler, kernel, and so on) of the operating system on
|
|
Packit |
a4058c |
which the executable runs, unless that component itself accompanies
|
|
Packit |
a4058c |
the executable.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
It may happen that this requirement contradicts the license
|
|
Packit |
a4058c |
restrictions of other proprietary libraries that do not normally
|
|
Packit |
a4058c |
accompany the operating system. Such a contradiction means you cannot
|
|
Packit |
a4058c |
use both them and the Library together in an executable that you
|
|
Packit |
a4058c |
distribute.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
7. You may place library facilities that are a work based on the
|
|
Packit |
a4058c |
Library side-by-side in a single library together with other library
|
|
Packit |
a4058c |
facilities not covered by this License, and distribute such a combined
|
|
Packit |
a4058c |
library, provided that the separate distribution of the work based on
|
|
Packit |
a4058c |
the Library and of the other library facilities is otherwise
|
|
Packit |
a4058c |
permitted, and provided that you do these two things:
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
a) Accompany the combined library with a copy of the same work
|
|
Packit |
a4058c |
based on the Library, uncombined with any other library
|
|
Packit |
a4058c |
facilities. This must be distributed under the terms of the
|
|
Packit |
a4058c |
Sections above.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
b) Give prominent notice with the combined library of the fact
|
|
Packit |
a4058c |
that part of it is a work based on the Library, and explaining
|
|
Packit |
a4058c |
where to find the accompanying uncombined form of the same work.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
8. You may not copy, modify, sublicense, link with, or distribute
|
|
Packit |
a4058c |
the Library except as expressly provided under this License. Any
|
|
Packit |
a4058c |
attempt otherwise to copy, modify, sublicense, link with, or
|
|
Packit |
a4058c |
distribute the Library is void, and will automatically terminate your
|
|
Packit |
a4058c |
rights under this License. However, parties who have received copies,
|
|
Packit |
a4058c |
or rights, from you under this License will not have their licenses
|
|
Packit |
a4058c |
terminated so long as such parties remain in full compliance.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
9. You are not required to accept this License, since you have not
|
|
Packit |
a4058c |
signed it. However, nothing else grants you permission to modify or
|
|
Packit |
a4058c |
distribute the Library or its derivative works. These actions are
|
|
Packit |
a4058c |
prohibited by law if you do not accept this License. Therefore, by
|
|
Packit |
a4058c |
modifying or distributing the Library (or any work based on the
|
|
Packit |
a4058c |
Library), you indicate your acceptance of this License to do so, and
|
|
Packit |
a4058c |
all its terms and conditions for copying, distributing or modifying
|
|
Packit |
a4058c |
the Library or works based on it.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
10. Each time you redistribute the Library (or any work based on the
|
|
Packit |
a4058c |
Library), the recipient automatically receives a license from the
|
|
Packit |
a4058c |
original licensor to copy, distribute, link with or modify the Library
|
|
Packit |
a4058c |
subject to these terms and conditions. You may not impose any further
|
|
Packit |
a4058c |
restrictions on the recipients' exercise of the rights granted herein.
|
|
Packit |
a4058c |
You are not responsible for enforcing compliance by third parties to
|
|
Packit |
a4058c |
this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
11. If, as a consequence of a court judgment or allegation of patent
|
|
Packit |
a4058c |
infringement or for any other reason (not limited to patent issues),
|
|
Packit |
a4058c |
conditions are imposed on you (whether by court order, agreement or
|
|
Packit |
a4058c |
otherwise) that contradict the conditions of this License, they do not
|
|
Packit |
a4058c |
excuse you from the conditions of this License. If you cannot
|
|
Packit |
a4058c |
distribute so as to satisfy simultaneously your obligations under this
|
|
Packit |
a4058c |
License and any other pertinent obligations, then as a consequence you
|
|
Packit |
a4058c |
may not distribute the Library at all. For example, if a patent
|
|
Packit |
a4058c |
license would not permit royalty-free redistribution of the Library by
|
|
Packit |
a4058c |
all those who receive copies directly or indirectly through you, then
|
|
Packit |
a4058c |
the only way you could satisfy both it and this License would be to
|
|
Packit |
a4058c |
refrain entirely from distribution of the Library.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
If any portion of this section is held invalid or unenforceable under any
|
|
Packit |
a4058c |
particular circumstance, the balance of the section is intended to apply,
|
|
Packit |
a4058c |
and the section as a whole is intended to apply in other circumstances.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
It is not the purpose of this section to induce you to infringe any
|
|
Packit |
a4058c |
patents or other property right claims or to contest validity of any
|
|
Packit |
a4058c |
such claims; this section has the sole purpose of protecting the
|
|
Packit |
a4058c |
integrity of the free software distribution system which is
|
|
Packit |
a4058c |
implemented by public license practices. Many people have made
|
|
Packit |
a4058c |
generous contributions to the wide range of software distributed
|
|
Packit |
a4058c |
through that system in reliance on consistent application of that
|
|
Packit |
a4058c |
system; it is up to the author/donor to decide if he or she is willing
|
|
Packit |
a4058c |
to distribute software through any other system and a licensee cannot
|
|
Packit |
a4058c |
impose that choice.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
This section is intended to make thoroughly clear what is believed to
|
|
Packit |
a4058c |
be a consequence of the rest of this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
12. If the distribution and/or use of the Library is restricted in
|
|
Packit |
a4058c |
certain countries either by patents or by copyrighted interfaces, the
|
|
Packit |
a4058c |
original copyright holder who places the Library under this License may add
|
|
Packit |
a4058c |
an explicit geographical distribution limitation excluding those countries,
|
|
Packit |
a4058c |
so that distribution is permitted only in or among countries not thus
|
|
Packit |
a4058c |
excluded. In such case, this License incorporates the limitation as if
|
|
Packit |
a4058c |
written in the body of this License.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
13. The Free Software Foundation may publish revised and/or new
|
|
Packit |
a4058c |
versions of the Library General Public License from time to time.
|
|
Packit |
a4058c |
Such new versions will be similar in spirit to the present version,
|
|
Packit |
a4058c |
but may differ in detail to address new problems or concerns.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Each version is given a distinguishing version number. If the Library
|
|
Packit |
a4058c |
specifies a version number of this License which applies to it and
|
|
Packit |
a4058c |
"any later version", you have the option of following the terms and
|
|
Packit |
a4058c |
conditions either of that version or of any later version published by
|
|
Packit |
a4058c |
the Free Software Foundation. If the Library does not specify a
|
|
Packit |
a4058c |
license version number, you may choose any version ever published by
|
|
Packit |
a4058c |
the Free Software Foundation.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
14. If you wish to incorporate parts of the Library into other free
|
|
Packit |
a4058c |
programs whose distribution conditions are incompatible with these,
|
|
Packit |
a4058c |
write to the author to ask for permission. For software which is
|
|
Packit |
a4058c |
copyrighted by the Free Software Foundation, write to the Free
|
|
Packit |
a4058c |
Software Foundation; we sometimes make exceptions for this. Our
|
|
Packit |
a4058c |
decision will be guided by the two goals of preserving the free status
|
|
Packit |
a4058c |
of all derivatives of our free software and of promoting the sharing
|
|
Packit |
a4058c |
and reuse of software generally.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
NO WARRANTY
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
|
Packit |
a4058c |
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
|
Packit |
a4058c |
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
|
Packit |
a4058c |
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
|
Packit |
a4058c |
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Packit |
a4058c |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
Packit |
a4058c |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
|
Packit |
a4058c |
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
|
Packit |
a4058c |
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
|
Packit |
a4058c |
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
|
Packit |
a4058c |
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
|
Packit |
a4058c |
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
|
Packit |
a4058c |
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
|
Packit |
a4058c |
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
|
Packit |
a4058c |
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
|
Packit |
a4058c |
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
|
Packit |
a4058c |
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
Packit |
a4058c |
DAMAGES.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
END OF TERMS AND CONDITIONS
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
How to Apply These Terms to Your New Libraries
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
If you develop a new library, and you want it to be of the greatest
|
|
Packit |
a4058c |
possible use to the public, we recommend making it free software that
|
|
Packit |
a4058c |
everyone can redistribute and change. You can do so by permitting
|
|
Packit |
a4058c |
redistribution under these terms (or, alternatively, under the terms of the
|
|
Packit |
a4058c |
ordinary General Public License).
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
To apply these terms, attach the following notices to the library. It is
|
|
Packit |
a4058c |
safest to attach them to the start of each source file to most effectively
|
|
Packit |
a4058c |
convey the exclusion of warranty; and each file should have at least the
|
|
Packit |
a4058c |
"copyright" line and a pointer to where the full notice is found.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
<one line to give the library's name and a brief idea of what it does.>
|
|
Packit |
a4058c |
Copyright (C) <year> <name of author>
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
This library is free software; you can redistribute it and/or
|
|
Packit |
a4058c |
modify it under the terms of the GNU Library General Public
|
|
Packit |
a4058c |
License as published by the Free Software Foundation; either
|
|
Packit |
a4058c |
version 2 of the License, or (at your option) any later version.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
This library is distributed in the hope that it will be useful,
|
|
Packit |
a4058c |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
a4058c |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
a4058c |
Library General Public License for more details.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
You should have received a copy of the GNU Library General Public
|
|
Packit |
a4058c |
License along with this library; if not, write to the
|
|
Packit |
a4058c |
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Packit |
a4058c |
Boston, MA 02111-1307 USA.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Also add information on how to contact you by electronic and paper mail.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
You should also get your employer (if you work as a programmer) or your
|
|
Packit |
a4058c |
school, if any, to sign a "copyright disclaimer" for the library, if
|
|
Packit |
a4058c |
necessary. Here is a sample; alter the names:
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
|
Packit |
a4058c |
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
<signature of Ty Coon>, 1 April 1990
|
|
Packit |
a4058c |
Ty Coon, President of Vice
|
|
Packit |
a4058c |
|
|
Packit |
a4058c |
That's all there is to it!
|