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 specifi es a
version number of this License which a
pp
lies to it and "an
y
later version",
y
ou have
t
he 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 s
p
ecif
y
a version number of this License,
y
ou ma
y
choose an
y
version eve
r
p
ublished b
y
the Free Software Foundation
.
1
0. If
y
ou wish to incor
p
orate
p
arts of the Pro
g
ram into other free
p
ro
g
rams
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 exce
p
tions for this
.
O
ur decision will be
g
uided b
y
the two
g
oals of
p
reservin
g
the free status o
f
all derivatives of our free software and of
p
romotin
g
the sharin
g
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
y
ou develo
p
a new
p
ro
g
ram, and
y
ou want it to be of the
g
reatest
p
ossible use to
t
he
p
ublic, the best wa
y
to achieve this is to make it free software which ever
y
one
can re
di
str
ib
ute an
d
c
h
an
g
e 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
t
he start of each source fi le to most effectivel
y
conve
y
the exclusion of warrant
y;
and each fi le should have at least the "co
py
ri
g
ht" line and a
p
ointer to where the
full notice is found
.
one line to
g
ive the pro
g
ram's name and an idea of what it does
.
C
o
py
ri
g
ht
(
C
)
yyyy
name of autho
r
T
his
p
ro
g
ram is free software;
y
ou can redistribute it and/or modif
y
it under the
t
erms of the GNU General Public License as
p
ublished b
y
the Free Software Foun-
d
ation; either version 2 of the License, or
(
at
y
our o
p
tion
)
an
y
later version
.
T
his
p
ro
g
ram is distributed in the ho
p
e that it will be useful, but WITHOUT AN
Y
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 co
py
of the GNU General Public License alon
g
with
t
his
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
p
ro
g
ram is interactive, make it out
p
ut 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 h
yp
othetical commands `show w
'
and `show c
'
should show the a
pp
ro
p
riate
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
g
et
y
our em
p
lo
y
er
(
if
y
ou work as a
p
ro
g
rammer
)
or
y
our school
,
i
f an
y
, to si
g
n a "co
py
ri
g
ht disclaimer" for the
p
ro
g
ram, if necessar
y
. Here is a sam
p
le
;
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
p
asses at com
p
ilers
)
written b
y
James Hacke
r
.
si
g
nature of T
y
Coon, 1 A
p
ril 198
9
Ty
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
p
ermit linkin
g
p
ro
p
rietar
y
a
pp
lications with the librar
y
. If this is what
y
ou
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 fi 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 desi
g
ned to take awa
y
y
our freedom to share
and chan
g
e it. B
y
contrast, the GNU General Public Licenses are intended to
g
uar-
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, a
pp
lies to some s
p
eciall
y
desi
g
nated
software
p
acka
g
es--t
yp
icall
y
libraries--of the Free Software Foundation and othe
r
authors who decide to use it. You can use it too, but we su
gg
est
y
ou fi rst think
c
arefull
y
about whether this license or the ordinar
y
General Public License is the
b
etter strate
gy
to use
i
n an
y
p
art
i
cu
l
ar case,
b
ase
d
on t
h
e ex
pl
anat
i
ons
b
e
l
ow
.
When we s
p
eak of free software, we are referrin
g
to freedom of use, not
p
rice.
O
ur General Public Licenses are desi
g
ned to make sure that
y
ou have the freedom
t
o distribute co
p
ies of free software
(
and char
g
e for this service if
y
ou 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
p
ieces of it in new free
p
ro
g
rams; and that
y
ou are informed that
y
ou can
d
o t
h
ese t
hi
n
g
s
.
To
p
rotect
y
our ri
g
hts, 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
y
ou modif
y
it
.
For exam
p
le, if
y
ou distribute co
p
ies of the librar
y
, whether
g
ratis or for a fee,
y
ou
must
gi
ve t
h
e rec
ipi
ents a
ll
t
h
e r
igh
ts t
h
at we
g
ave
y
ou.
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
p
rovide com
p
lete ob
j
ect fi les to the reci
p
ients, so that the
y
can relink
t
hem with the librar
y
after makin
g
chan
g
es to the librar
y
and recom
p
ilin
g
it. And
y
ou must s
h
ow t
h
em t
h
ese terms so t
h
e
y
k
now t
h
e
i
r r
igh
ts
.
We
p
rotect
y
our ri
g
hts with a two-ste
p
method:
(
1
)
we co
py
ri
g
ht the librar
y
, and
(
2
)
we offer
y
ou this license, which
g
ives
y
ou le
g
al
p
ermission to co
py
, distribute
and/or modif
y
the librar
y.
T
o
p
rotect eac
h
di
str
ib
utor, we want to ma
k
e
i
t ver
y
c
l
ear t
h
at t
h
ere
i
s no warrant
y
for the free librar
y
. Also, if the librar
y
is modifi ed b
y
someone else and
p
assed 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
by
ot
h
ers
.
Finall
y
, software
p
atents
p
ose a constant threat to the existence of an
y
free
p
ro-
g
ram. We wish to make sure that a com
p
an
y
cannot effectivel
y
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 s
p
ecifi ed in this license
.
Most GNU software, includin
g
some libraries, is covered b
y
the ordinar
y
GNU
G
eneral Public License. This license, the GNU Lesser General Public License, a
p
-
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
p
ro
g
rams
.
Wh
en a
p
ro
g
ram
i
s
li
n
k
e
d
w
i
t
h
a
lib
rar
y
, w
h
et
h
er stat
i
ca
lly
or us
i
n
g
a s
h
are
d
lib
rar
y,
t
he combination of the two is le
g
all
y
s
p
eakin
g
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
nl
y
if the entire combination fi ts its criteria of freedom. The Lesser General Public
License
p
ermits more lax criteria for linkin
g
other code with the librar
y.
We call this license the "Lesser" General Public License because it does Less
t
o
p
rotect the user's freedom than the ordinar
y
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
p
ro
g
rams. These disadvanta
g
es are the reason we use the ordinar
y
General
P
ublic License for man
y
libraries. However, the Lesser license
p
rovides advanta
g
es
i
n certa
i
n s
p
ec
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-
q
uent case is that a free librar
y
does the same
j
ob as widel
y
used non-free libraries.
In this case, there is little to
g
ain b
y
limitin
g
the free librar
y
to free software onl
y
, 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
,
p
ermission to use the GNU C Librar
y
in non-free
p
ro
g
rams enables man
y
more
p
eo
p
le to use the whole GNU o
p
eratin
g
s
y
stem, 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
p
ro
g
ram usin
g
a modifi ed version o
f
th
e
Lib
rar
y.
The
p
recise terms and conditions for co
py
in
g
, distribution and modifi cation follow.
P
a
y
close attention to the difference between a "work based on the librar
y
" and
a "work that uses the librar
y
". The former contains code derived from the librar
y,
w
h
ereas t
h
e
l
atter must
b
e com
bi
ne
d
w
i
t
h
t
h
e
lib
rar
y
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 A
g
reement a
pp
lies to an
y
software librar
y
or other
p
ro
g
ram which
c
onta
i
ns a not
i
ce
pl
ace
d
by
t
h
e co
py
r
igh
t
h
o
ld
er or ot
h
er aut
h
or
i
ze
d
p
art
y
sa
yi
n
g
i
t ma
y
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