For example, on rare occasions, there may
Activities other than copying,
be a special need to encourage the widest
distribution and modification are not
possible use of a certain library, so that it
covered by this License; they are outside
becomes a de-facto standard. To achieve
its scope. The act of running a program
this, non-free programs must be allowed to
using the Library is not restricted, and
use the library. A more frequent case is that
output from such a program is covered
a free library does the same job as widely
only if its contents constitute a work
used non-free libraries. In this case, there is
based on the Library (independent of
little to gain by limiting the free library to
the use of the Library in a tool for writing
free software only, so we use the Lesser
it). Whether that is true depends on
General Public License.
what the Library does and what the
In other cases, permission to use a
program that uses the Library does.
particular library in non-free programs
1. You may copy and distribute verbatim
enables a greater number of people to use
copies of the Library's complete source
a large body of free software. For example,
code as you receive it, in any medium,
permission to use the GNU C Library in non-
provided that you conspicuously and
free programs enables many more people
appropriately publish on each copy an
to use the whole GNU operating system, as
appropriate copyright notice and
well as its variant, the GNU/Linux operating
disclaimer of warranty; keep intact all
system.
the notices that refer to this License and
to the absence of any warranty; and
Although the Lesser General Public License
distribute a copy of this License along
is Less protective of the users' freedom, it
with the Library.
does ensure that the user of a program that
is linked with the Library has the freedom
You may charge a fee for the physical
and the wherewithal to run that program
act of transferring a copy, and you may
using a modified version of the Library.
at your option offer warranty protection
in exchange for a fee.
The precise terms and conditions for
copying, distribution and modification
2. You may modify your copy or copies of
follow. Pay close attention to the difference
the Library or any portion of it, thus
between a "work based on the library" and a
forming a work based on the Library,
"work that uses the library". The former
and copy and distribute such
contains code derived from the library,
modifications or work under the terms
whereas the latter must be combined with
of Section 1 above, provided that you
the library in order to run.
also meet all of these conditions:
a) The modified work must itself be a
TERMS AND CONDITIONS FOR
software library.
COPYING, DISTRIBUTION AND
b)You must cause the files modified to
MODIFICATION
carry prominent notices stating that
you changed the files and the date of
0. This License Agreement applies to any
any change.
software library or other program which
contains a notice placed by the
c) You must cause the whole of the work
copyright holder or other authorized
to be licensed at no charge to all third
party saying it may be distributed under
parties under the terms of this
the terms of this Lesser General Public
License.
License (also called "this License").
d)If a facility in the modified Library
Each licensee is addressed as "you".
refers to a function or a table of data
A "library" means a collection of
to be supplied by an application
software functions and/or data
program that uses the facility, other
prepared so as to be conveniently linked
than as an argument passed when
with application programs (which use
the facility is invoked, then you must
some of those functions and data) to
make a good faith effort to ensure
form executables.
that, in the event an application does
not supply such function or table, the
The "Library", below, refers to any such
facility still operates, and performs
software library or work which has been
whatever part of its purpose remains
distributed under these terms. A "work
meaningful.
based on the Library" means either the
Library or any derivative work under
(For example, a function in a library to
copyright law: that is to say, a work
compute square roots has a purpose
containing the Library or a portion of it,
that is entirely well-defined independent
either verbatim or with modifications
of the application. Therefore,
and/or translated straightforwardly into
Subsection 2d requires that any
another language. (Hereinafter,
application-supplied function or table
translation is included without
used by this function must be optional:
limitation in the term "modification".)
if the application does not supply it, the
square root function must still compute
"Source code" for a work means the
square roots.)
preferred form of the work for making
modifications to it. For a library,
These requirements apply to the
complete source code means all the
modified work as a whole. If identifiable
source code for all modules it contains,
sections of that work are not derived
plus any associated interface definition
from the Library, and can be reasonably
files, plus the scripts used to control
considered independent and separate
compilation and installation of the
works in themselves, then this License,
library.
and its terms, do not apply to those
sections when you distribute them as
Such a work, in isolation, is not a
separate works. But when you distribute
derivative work of the Library, and
the same sections as part of a whole
therefore falls outside the scope of this
which is a work based on the Library,
License.
the distribution of the whole must be on
However, linking a "work that uses the
the terms of this License, whose
Library" with the Library creates an
permissions for other licensees extend
executable that is a derivative of the
to the entire whole, and thus to each
Library (because it contains portions of
and every part regardless of who wrote
the Library), rather than a "work that
it.
uses the library". The executable is
Thus, it is not the intent of this section to
therefore covered by this License.
claim rights or contest your rights to
Section 6 states terms for distribution of
work written entirely by you; rather, the
such executables.
intent is to exercise the right to control
When a "work that uses the Library"
the distribution of derivative or
uses material from a header file that is
collective works based on the Library.
part of the Library, the object code for
In addition, mere aggregation of
the work may be a derivative work of the
another work not based on the Library
Library even though the source code is
with the Library (or with a work based on
not. Whether this is true is especially
the Library) on a volume of a storage or
significant if the work can be linked
distribution medium does not bring the
without the Library, or if the work is itself
other work under the scope of this
a library. The threshold for this to be true
License.
is not precisely defined by law.
3. You may opt to apply the terms of the
If such an object file uses only
ordinary GNU General Public License
numerical parameters, data structure
instead of this License to a given copy of
layouts and accessors, and small
the Library. To do this, you must alter all
macros and small inline functions (ten
the notices that refer to this License, so
lines or less in length), then the use of
that they refer to the ordinary GNU
the object file is unrestricted,
General Public License, version 2,
regardless of whether it is legally a
instead of to this License. (If a newer
derivative work. (Executables
version than version 2 of the ordinary
containing this object code plus
GNU General Public License has
portions of the Library will still fall under
appeared, then you can specify that
Section 6.)
version instead if you wish.) Do not
Otherwise, if the work is a derivative of
make any other change in these
the Library, you may distribute the
notices.
object code for the work under the
Once this change is made in a given
terms of Section 6. Any executables
copy, it is irreversible for that copy, so
containing that work also fall under
the ordinary GNU General Public
Section 6, whether or not they are linked
License applies to all subsequent
directly with the Library itself.
copies and derivative works made from
6. As an exception to the Sections above,
that copy.
you may also combine or link a "work
This option is useful when you wish to
that uses the Library" with the Library to
copy part of the code of the Library into
produce a work containing portions of
a program that is not a library.
the Library, and distribute that work
under terms of your choice, provided
4. You may copy and distribute the Library
that the terms permit modification of
(or a portion or derivative of it, under
the work for the customer's own use
Section 2) in object code or executable
and reverse engineering for debugging
form under the terms of Sections 1 and
2 above provided that you accompany it
such modifications.
with the complete corresponding
You must give prominent notice with
machine-readable source code, which
each copy of the work that the Library is
must be distributed under the terms of
used in it and that the Library and its
Sections 1 and 2 above on a medium
use are covered by this License. You
customarily used for software
must supply a copy of this License. If the
interchange.
work during execution displays
copyright notices, you must include the
If distribution of object code is made by
copyright notice for the Library among
offering access to copy from a
them, as well as a reference directing
designated place, then offering
the user to the copy of this License.
equivalent access to copy the source
Also, you must do one of these things:
code from the same place satisfies the
requirement to distribute the source
a) Accompany the work with the
code, even though third parties are not
complete corresponding machine-
compelled to copy the source along
readable source code for the Library
with the object code.
including whatever changes were
used in the work (which must be
5. A program that contains no derivative of
distributed under Sections 1 and 2
any portion of the Library, but is
above); and, if the work is an
designed to work with the Library by
executable linked with the Library,
being compiled or linked with it, is
with the complete machine-readable
called a "work that uses the Library".
"work that uses the Library", as object
code and/or source code, so that the
user can modify the Library and then
a) Accompany the combined library
relink to produce a modified
with a copy of the same work based
executable containing the modified
on the Library, uncombined with any
Library. (It is understood that the user
other library facilities. This must be
who changes the contents of
distributed under the terms of the
definitions files in the Library will not
Sections above.
necessarily be able to recompile the
b)Give prominent notice with the
application to use the modified
combined library of the fact that part
definitions.)
of it is a work based on the Library,
b)Use a suitable shared library
and explaining where to find the
mechanism for linking with the
accompanying uncombined form of
Library. A suitable mechanism is one
the same work.
that (1) uses at run time a copy of the
8. You may not copy, modify, sublicense,
library already present on the user's
link with, or distribute the Library except
computer system, rather than
as expressly provided under this
copying library functions into the
License. Any attempt otherwise to copy,
executable, and (2) will operate
modify, sublicense, link with, or
properly with a modified version of the
distribute the Library is void, and will
library, if the user installs one, as long
automatically terminate your rights
as the modified version is interface-
under this License. However, parties
compatible with the version that the
who have received copies, or rights,
work was made with.
from you under this License will not
c) Accompany the work with a written
have their licenses terminated so long
offer, valid for at least three years, to
as such parties remain in full
give the same user the materials
compliance.
specified in Subsection 6a, above, for
9. You are not required to accept this
a charge no more than the cost of
License, since you have not signed it.
performing this distribution.
However, nothing else grants you
d)If distribution of the work is made by
permission to modify or distribute the
offering access to copy from a
Library or its derivative works. These
designated place, offer equivalent
actions are prohibited by law if you do
access to copy the above specified
not accept this License. Therefore, by
materials from the same place.
modifying or distributing the Library (or
e) Verify that the user has already
any work based on the Library), you
received a copy of these materials or
indicate your acceptance of this
License to do so, and all its terms and
that you have already sent this user a
copy.
conditions for copying, distributing or
modifying the Library or works based on
For an executable, the required form of
it.
the "work that uses the Library" must
10. Each time you redistribute the Library
include any data and utility programs
(or any work based on the Library), the
needed for reproducing the executable
recipient automatically receives a
from it. However, as a special exception,
license from the original licensor to
the materials to be distributed need not
copy, distribute, link with or modify the
include anything that is normally
Library subject to these terms and
distributed (in either source or binary
conditions. You may not impose any
form) with the major components
further restrictions on the recipients'
(compiler, kernel, and so on) of the
exercise of the rights granted herein.
operating system on which the
You are not responsible for enforcing
executable runs, unless that
compliance by third parties with this
component itself accompanies the
License.
executable.
11. If, as a consequence of a court
It may happen that this requirement
contradicts the license restrictions of
judgment or allegation of patent
other proprietary libraries that do not
infringement or for any other reason
normally accompany the operating
(not limited to patent issues),
system. Such a contradiction means
conditions are imposed on you (whether
you cannot use both them and the
by court order, agreement or otherwise)
Library together in an executable that
that contradict the conditions of this
you distribute.
License, they do not excuse you from
the conditions of this License. If you
7. You may place library facilities that are a
cannot distribute so as to satisfy
work based on the Library side-by-side
simultaneously your obligations under
in a single library together with other
this License and any other pertinent
library facilities not covered by this
obligations, then as a consequence you
License, and distribute such a
may not distribute the Library at all. For
combined library, provided that the
example, if a patent license would not
separate distribution of the work based
permit royalty-free redistribution of the
on the Library and of the other library
Library by all those who receive copies
facilities is otherwise permitted, and
directly or indirectly through you, then
provided that you do these two things:
the only way you could satisfy both it
and this License would be to refrain
entirely from distribution of the Library.
08
08
53
Es