either by patents or by copyrighted interfaces, the original copyright holder who
p
l
aces t
h
e
P
rogram un
d
er t
hi
s
Li
cense may a
dd
an exp
li
c
i
t geograp
hi
ca
l
di
str
ib
u-
ti
on
li
m
i
tat
i
on exc
l
u
di
ng t
h
ose countr
i
es, so t
h
at
di
str
ib
ut
i
on
i
s perm
i
tte
d
on
l
y
i
n
o
r among countr
i
es not t
h
us exc
l
u
d
e
d
.
I
n suc
h
case, t
hi
s
Li
cense
i
ncorporates
t
he limitation as if written in the body of this License
.
9. The Free Software Foundation may publish revised and/or new versions of the
G
eneral Public License from time to time. Such new versions will be similar in
spirit to the present version, but may differ in detail to address new problems o
r
concerns
.
Each version is given a distinguishing version number. If the Program speciÀ es a
version number of this License which applies to it and "any later version", you have
the o
p
tion of followin
g
the terms and conditions either of that version or of an
y
l
ater version
p
ublished b
y
the Free Software Foundation. If the Pro
g
ram does
not specify a version number of this License, you may choose any version eve
r
published by the Free Software Foundation
.
1
0. If you wish to incorporate parts of the Program into other free programs
whose distribution conditions are different
,
write to the author to ask fo
r
p
ermission. For software which is co
py
ri
g
hted b
y
the Free Software Foundation,
write to the Free Software Foundation; we sometimes make exceptions for this
.
O
ur decision will be guided by the two goals of preserving the free status o
f
all derivatives of our free software and of promoting the sharing and reuse o
f
software
g
enerall
y.
N
O WARRANT
Y
1
1. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE
,
THERE IS NO
WARRANTY FOR THE PROGRAM
,
TO THE EXTENT PERMITTED BY AP-
P
LICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
C
OPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PRO-
G
RAM "AS IS" WITHOUT WARRANTY OF ANY KIND
,
EITHER EXPRESSED
O
R IMPLIED
,
INCLUDING
,
BUT NOT LIMITED TO
,
THE IMPLIED WARRAN-
T
IES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.
T
HE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
P
ROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE
,
YOU ASSUME THE COST OF ALL NECESSARY SERVICING
,
REPAIR O
R
C
ORRECTION
.
1
2. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
IN WRITING WILL ANY COPYRIGHT HOLDER
,
OR ANY OTHER PART
Y
WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PER-
MITTED ABOVE
,
BE LIABLE TO YOU FOR DAMAGES
,
INCLUDING AN
Y
G
ENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARIS-
ING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUD-
ING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES O
R
A
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PRO-
G
RAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED
O
F THE POSSIBILITY OF SUCH DAMAGES
.
END OF TERMS AND CONDITION
S
How to A
pp
l
y
These Terms to Your New Pro
g
ram
s
If you develop a new program, and you want it to be of the greatest possible use to
the public, the best way to achieve this is to make it free software which everyone
can re
di
str
ib
ute an
d
c
h
ange un
d
er t
h
ese terms
.
T
o do so, attach the followin
g
notices to the
p
ro
g
ram. It is safest to attach them to
the start of each source À le to most effectivel
y
conve
y
the exclusion of warrant
y;
and each À le should have at least the "copyright" line and a pointer to where the
full notice is found
.
one line to give the program's name and an idea of what it does
.
C
o
py
ri
g
ht
(
C
)
yyyy
name of autho
r
T
his program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foun-
d
ation; either version 2 of the License, or (at your option) any later version
.
T
his program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the im
p
lied warrant
y
of MERCHANTABILITY or FIT-
N
ESS FOR A PARTICULAR PURPOSE. See the GNU General Public License fo
r
more
d
eta
il
s
.
You should have received a copy of the GNU General Public License along with
this
p
ro
g
ram; if not, write to the Free Software Foundation, Inc., 51 Franklin Street
,
F
ifth Floor
,
Boston
,
MA 02110-1301
,
USA. Also add information on how to contact
y
ou
by
e
l
ectron
i
c an
d
p
a
p
er ma
il.
If the program is interactive, make it output a short notice like this when it starts in
an
i
nteract
i
ve mo
d
e
:
G
nomovision version 69, Co
py
ri
g
ht
(
C
)
year name of author
Gnomovision comes
r
with ABSOLUTELY NO WARRANTY; for details t
yp
e `show w'. This is free
software, and
y
ou are welcome to redistribute it under certain conditions; t
yp
e
`show c' for details
.
T
he hypothetical commands `show w
'
and `show c
'
should show the appropriate
p
arts of the General Public License. Of course, the commands
y
ou use ma
y
be
called somethin
g
other than `show w' and `show c'; the
y
could even be mouse-
c
li
c
k
s or menu
i
tems--w
h
atever su
i
ts
y
our
p
ro
g
ram.
You should also get your employer (if you work as a programmer) or your school
,
i
f any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample
;
a
l
ter t
h
e names
:
Yo
y
od
y
ne, Inc., hereb
y
disclaims all co
py
ri
g
ht interest in the
p
ro
g
ram `Gnomovision'
(which makes passes at compilers) written by James Hacker.
signature of Ty Coon, 1 April 198
9
T
y Coon, President of Vice
T
his General Public License does not
p
ermit incor
p
oratin
g
y
our
p
ro
g
ram into
p
ro-
p
rietar
y
p
ro
g
rams. If
y
our
p
ro
g
ram is a subroutine librar
y
,
y
ou ma
y
consider it more
useful to permit linking proprietary applications with the library. If this is what you
want to do
,
use the GNU Lesser General Public License instead of this License
.
If
y
ou are interested in obtainin
g
GPL source code used in this
p
roduct,
p
lease
contact P&F USA
,
Inc.
,
P
O Box 430 Daleville
,
IN 47334-0430 U.S.A
.
LGP
L
G
NU LESSER GENERAL PUBLIC LICENS
E
V
ersion 2.1, February 199
9
C
opyright (C) 1991, 1999 Free Software Foundation, Inc
.
51 Franklin Street
,
Fifth Floor
,
Boston
,
MA 02110-1301 US
A
Everyone is permitted to copy and distribute verbatim copies of this license docu-
ment,
b
ut c
h
ang
i
ng
i
t
i
s not a
ll
owe
d.
[
This is the À rst released version of the Lesser GPL. It also counts as the successor
o
f the GNU Library Public License, version 2, hence the version number 2.1.]
P
ream
bl
e
The licenses for most software are designed to take away your freedom to share
and change it. By contrast, the GNU General Public Licenses are intended to guar-
antee
y
our freedom to share and chan
g
e free software--to make sure the software
i
s free for all its users
.
This license, the Lesser General Public License, applies to some specially designated
software packages--typically libraries--of the Free Software Foundation and othe
r
authors who decide to use it. You can use it too, but we suggest you À rst think
c
arefull
y
about whether this license or the ordinar
y
General Public License is the
b
etter strategy to use
i
n any part
i
cu
l
ar case,
b
ase
d
on t
h
e exp
l
anat
i
ons
b
e
l
ow
.
When we speak of free software, we are referring to freedom of use, not price.
O
ur General Public Licenses are designed to make sure that you have the freedom
t
o distribute copies of free software (and charge for this service if you wish)
;
t
hat
y
ou receive source code or can
g
et it if
y
ou want it; that
y
ou can chan
g
e the
software and use pieces of it in new free programs; and that you are informed that
y
ou can
d
o t
h
ese t
hi
ngs
.
To protect your rights, we need to make restrictions that forbid distributors to
d
en
y
y
ou t
h
ese r
igh
ts or to as
k
y
ou to surren
d
er t
h
ese r
igh
ts.
Th
ese restr
i
ct
i
ons
t
ranslate to certain res
p
onsibilities for
y
ou if
y
ou distribute co
p
ies of the librar
y
o
r
i
f you modify it
.
For example, if you distribute copies of the library, whether gratis or for a fee, you
must g
i
ve t
h
e rec
i
p
i
ents a
ll
t
h
e r
i
g
h
ts t
h
at we gave you.
Y
ou must ma
k
e sure t
h
at
t
he
y
, too, receive or can
g
et the source code. If
y
ou link other code with the librar
y,
y
ou must provide complete object À les to the recipients, so that they can relink
t
hem with the library after making changes to the library and recompiling it. And
y
ou must s
h
ow t
h
em t
h
ese terms so t
h
ey
k
now t
h
e
i
r r
i
g
h
ts
.
We protect your rights with a two-step method: (1) we copyright the library, and
(
2
)
we offer
y
ou this license, which
g
ives
y
ou le
g
al
p
ermission to co
py
, distribute
and/or modify the library
.
T
o protect eac
h
di
str
ib
utor, we want to ma
k
e
i
t very c
l
ear t
h
at t
h
ere
i
s no warranty
for the free library. Also, if the library is modiÀ ed by someone else and passed on
,
th
e rec
ipi
ents s
h
ou
ld
k
now t
h
at w
h
at t
h
e
y
h
ave
i
s not t
h
e or
igi
na
l
vers
i
on, so t
h
at
t
he ori
g
inal author's re
p
utation will not be affected b
y
p
roblems that mi
g
ht be
i
ntro
d
uce
d
b
y ot
h
ers.
Finally, software patents pose a constant threat to the existence of any free pro-
gram. We wish to make sure that a company cannot effectively restrict the users
o
f a free
p
ro
g
ram b
y
obtainin
g
a restrictive license from a
p
atent holder. Therefore
,
we insist that an
y
p
atent license obtained for a version of the librar
y
must be
c
onsistent with the full freedom of use speciÀ ed in this license
.
Most GNU software, including some libraries, is covered by the ordinary GNU
G
eneral Public License. This license, the GNU Lesser General Public License, ap-
p
lies to certain desi
g
nated libraries, and is
q
uite different from the ordinar
y
General
P
ublic License. We use this license for certain libraries in order to
p
ermit linkin
g
t
hose libraries into non-free programs.
Wh
en a program
i
s
li
n
k
e
d
w
i
t
h
a
lib
rary, w
h
et
h
er stat
i
ca
ll
y or us
i
ng a s
h
are
d
lib
rary
,
t
he combination of the two is legally speaking a combined work, a derivative of the
o
ri
g
inal librar
y
. The ordinar
y
General Public License therefore
p
ermits such linkin
g
o
nly if the entire combination À ts its criteria of freedom. The Lesser General Public
License permits more lax criteria for linking other code with the library
.
We call this license the "Lesser" General Public License because it does Less
t
o protect the user's freedom than the ordinary General Public License. It also
p
rovides other free software develo
p
ers Less of an advanta
g
e over com
p
etin
g
non-
free programs. These disadvantages are the reason we use the ordinary General
P
ublic License for many libraries. However, the Lesser license provides advantages
i
n certa
i
n spec
i
a
l
c
i
rcumstances
.
F
or exam
pl
e, on rare occas
i
ons, t
h
ere ma
y
b
e a s
p
ec
i
a
l
nee
d
to encoura
g
e t
h
e
widest
p
ossible use of a certain librar
y
, so that it becomes a de-facto standard. To
achieve this, non-free
p
ro
g
rams must be allowed to use the librar
y
. A more fre-
quent case is that a free library does the same job as widely used non-free libraries.
In this case, there is little to gain by limiting the free library to free software only, so
we use the Lesser General Public License
.
In other cases,
p
ermission to use a
p
articular librar
y
in non-free
p
ro
g
rams enables
a
g
reater number of
p
eo
p
le to use a lar
g
e bod
y
of free software. For exam
p
le
,
permission to use the GNU C Library in non-free programs enables many more
people to use the whole GNU operating system, as well as its variant, the GNU/
Li
nux o
p
erat
i
n
g
s
y
stem
.
Althou
g
h the Lesser General Public License is Less
p
rotective of the users' free-
d
om, it does ensure that the user of a
p
ro
g
ram that is linked with the Librar
y
has
t
he freedom and the wherewithal to run that program using a modiÀ ed version o
f
th
e
Lib
rary
.
The
p
recise terms and conditions for co
py
in
g
, distribution and modiÀ cation follow.
P
a
y
close attention to the difference between a "work based on the librar
y
" and
a "work that uses the library". The former contains code derived from the library
,
w
h
ereas t
h
e
l
atter must
b
e com
bi
ne
d
w
i
t
h
t
h
e
lib
rary
i
n or
d
er to run
.
G
NU LESSER GENERAL PUBLIC LICENS
E
T
ERMS AND CONDITIONS FOR COPYING
,
DISTRIBUTION AND MODIFICA-
T
IO
N
0. This License Agreement applies to any software library or other program which
c
onta
i
ns a not
i
ce p
l
ace
d
b
y t
h
e copyr
i
g
h
t
h
o
ld
er or ot
h
er aut
h
or
i
ze
d
party say
i
ng
i
t may be distributed under the terms of this Lesser General Public License (also
c
alled "this License"
)
. Each licensee is addressed as "
y
ou"
.
A "librar
y
" means a collection of software functions and/or data
p
re
p
ared so as to