be conveniently linked with application programs (which use some of those func-
ions and data) to form executables
The "Library", below, refers to any such software library or work which has been
istributed under these terms.
"work based on the Library" means either the
rary or any
er
vat
ve wor
un
er copyr
g
t
aw: t
at
s to say, a wor
conta
n
ng
he Library or a portion of it, either verbatim or with modifi cations and/or trans-
ated straightforwardly into another language. (Hereinafter, translation is included
without limitation in the term "modifi cation".)
"Source code" for a work means the preferred form of the work for making modi-
fi cations to it. For a library, complete source code means all the source code fo
all modules it contains,
lus an
associated interface defi nition fi les,
lus the scri
ts
used to control com
ilation and installation of the librar
Activities other than co
in
, distribution and modifi cation are not covered b
this
License; the
are outside its sco
e. The act of runnin
a
ro
ram usin
the Librar
s not restricted, and out
ut from such a
ro
ram is covered onl
if its contents
constitute a work based on the Librar
inde
endent of the use of the Librar
in
a tool for writin
it
. Whether that is true de
ends on what the Librar
does and
w
at t
e
ro
ram t
at uses t
e
rar
oes
1. You ma
co
and distribute verbatim co
ies of the Librar
's com
lete source
o
e as
ou rece
ve
t,
n an
me
um,
rov
e
t
at
ou cons
cuous
an
a
-
ro
r
ate
u
s
on eac
co
an a
ro
r
ate co
r
t not
ce an
sc
a
me
f warrant
; kee
intact all the notices that refer to this License and to the
absence of an
warrant
; and distribute a co
of this License alon
with the
rar
You ma
char
e a fee for the
h
sical act of transferrin
a co
, and
ou ma
at
our o
tion offer warrant
rotection in exchan
e for a fee
2. You ma
modif
our co
or co
ies of the Librar
or an
ortion of it, thus
formin
a work based on the Librar
, and co
and distribute such modifi cations
r work under the terms of Section 1 above,
rovided that
ou also meet all o
ese con
t
ons
a
The modifi ed work must itself be a software librar
b
You must cause the fi les modifi ed to carr
rominent notices statin
that
ou
chan
ed the fi les and the date of an
chan
e
c
You must cause the whole of the work to be licensed at no char
e to all third
arties under the terms of this License
If a facilit
in the modifi ed Librar
refers to a function or a table of data to
be su
lied b
an a
lication
ro
ram that uses the facilit
, other than as an
ar
ument
assed when the facilit
is invoked, then
ou must make a
ood faith
effort to ensure that, in the event an a
lication does not su
l
such function o
able, the facilit
still o
erates, and
erforms whatever
art of its
ur
ose remains
meanin
ful
For exam
le, a function in a librar
to com
ute s
uare roots has a
ur
ose that
s entirel
well-defi ned inde
endent of the a
lication. Therefore, Subsection 2d
re
uires that an
a
lication-su
lied function or table used b
this function must
be o
tional: if the a
lication does not su
l
it, the s
uare root function must
still com
ute s
uare roots.
hese re
uirements a
l
to the modifi ed work as a whole. If identifi able sections
of that work are not derived from the Librar
, and can be reasonabl
considered
n
e
en
ent an
se
arate wor
s
n t
emse
ves, t
en t
s
cense, an
ts terms,
o
not a
to t
ose sect
ons w
en
ou
str
ute t
em as se
arate wor
s.
ut w
en
ou distribute the same sections as
art of a whole which is a work based on the
Librar
, the distribution of the whole must be on the terms of this License, whose
ermissions for other licensees extend to the entire whole, and thus to each and
ever
art re
ardless of who wrote it
hus, it is not the intent of this section to claim ri
hts or contest
our ri
hts to
wor
wr
tten ent
re
ou; rat
er, t
e
ntent
s to exerc
se t
e r
t to contro
t
e
istribution of derivative or collective works based on the Librar
In addition, mere a
re
ation of another work not based on the Librar
with the
Librar
or with a work based on the Librar
on a volume of a stora
e or distribu-
ion medium does not brin
the other work under the sco
e of this License
3. You ma
o
t to a
l
the terms of the ordinar
GNU General Public License
nstead of this License to a
iven co
of the Librar
. To do this,
ou must alte
all the notices that refer to this License, so that the
refer to the ordinar
GNU
eneral Public License, version 2, instead of to this License.
If a newer version
han version 2 of the ordinar
GNU General Public License has a
eared, then
ou can s
ecif
that version instead if
ou wish.
Do not make an
other chan
e
n t
ese not
ces
Once this chan
e is made in a
iven co
, it is irreversible for that co
, so the or-
inar
GNU General Public License a
lies to all subse
uent co
ies and derivative
works made from that co
This o
tion is useful when
ou wish to co
art of the code of the Librar
into a
ro
ram t
at
s not a
rar
4. You ma
co
and distribute the Librar
or a
ortion or derivative of it, unde
ection 2
in ob
ect code or executable form under the terms of Sections 1
and 2 above
rovided that
ou accom
an
it with the com
lete corres
ondin
machine-readable source code
which must be distributed under the terms o
ections 1 and 2 above on a medium customaril
used for software interchan
e
If distribution of ob
ect code is made b
offerin
access to co
from a desi
nated
lace, then offerin
e
uivalent access to co
the source code from the same
lace
satisfi es the re
uirement to distribute the source code, even thou
h third
arties
are not com
e
e
to co
t
e source a
on
w
t
t
e o
ect co
e
5. A
ro
ram that contains no derivative of an
ortion of the Librar
, but is
es
ne
to wor
w
t
t
e
rar
e
n
com
e
or
n
e
w
t
t,
s ca
e
a
"work that uses the Librar
". Such a work, in isolation, is not a derivative work o
he Librar
, and therefore falls outside the sco
e of this License
However, linkin
a
work that uses the Librar
with the Librar
creates an execut-
able that is a derivative of the Librar
because it contains
ortions of the Librar
rather than a "work that uses the librar
". The executable is therefore covered b
his License. Section 6 states terms for distribution of such executables
When a "work that uses the Librar
" uses material from a header fi le that is
art
of the Librar
, the ob
ect code for the work ma
be a derivative work of the
Library even though the source code is not. Whether this is true is especially signifi -
ant if the work can be linked without the Library, or if the work is itself a library.
he threshold for this to be true is not precisely defi ned by law
If such an object fi le uses only numerical parameters, data structure layouts and
accessors, and small macros and small inline functions (ten lines or less in length)
hen the use of the object fi le is unrestricted, regardless of whether it is legally
a derivative work. (Executables containing this object code plus portions of the
Library will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may distribute the object
ode for the work under the terms of Section 6. Any executables containing that
work also fall under Section 6, whether or not the
are linked directl
with the
Librar
itself
6. As an exce
tion to the Sections above,
ou ma
also combine or link a "work
hat uses the Librar
with the Librar
to
roduce a work containin
ortions
f the Librar
, and distribute that work under terms of
our choice,
rovided
hat the terms
ermit modifi cation of the work for the customer's own use and
reverse en
ineerin
for debu
in
such modifi cations
You must
ive
rominent notice with each co
of the work that the Librar
is
use
n
t an
t
at t
e
rar
an
ts use are covere
t
s
cense.
ou must
su
l
a co
of this License. If the work durin
execution dis
la
s co
ri
ht
notices,
ou must include the co
ri
ht notice for the Librar
amon
them, as well
as a reference directin
the user to the co
of this License. Also,
ou must do one
f these thin
s
a
Accom
an
the work with the com
lete corres
ondin
machine-readable
ource code for the Librar
includin
whatever chan
es were used in the work
which must be distributed under Sections 1 and 2 above
; and, if the work is an
executable linked with the Librar
, with the com
lete machine-readable
work
hat uses the Librar
", as ob
ect code and/or source code, so that the user can
modif
the Librar
and then relink to
roduce a modifi ed executable containin
he modifi ed Librar
.
It is understood that the user who chan
es the contents
f defi nitions fi les in the Librar
will not necessaril
be able to recom
ile the
a
lication to use the modifi ed defi nitions.
Use a suitable shared librar
mechanism for linkin
with the Librar
. A suitable
mechanism is one that
1
uses at run time a co
of the librar
alread
resent
n the user's com
uter s
stem, rather than co
in
librar
functions into the
executable, and
2
will o
erate
ro
erl
with a modifi ed version of the librar
, if
he user installs one, as lon
as the modifi ed version is interface-com
atible with
e vers
on t
at t
e wor
was ma
e w
t
Accom
an
the work with a written offer, valid for at least three
ears, to
ive
he same user the materials s
ecifi ed in Subsection 6a, above, for a char
e no
more than the cost of
erformin
this distribution
If distribution of the work is made b
offerin
access to co
from a desi
-
ated
lace, offer e
uivalent access to co
the above s
ecifi ed materials from
e same
ace
e
Ver if
that the user has alread
received a co
of these materials or that
ou
ave a
rea
sent t
s user a co
For an executable, the re
uired form of the "work that uses the Librar
" must
nclude an
data and utilit
ro
rams needed for re
roducin
the executable from
t.
owever, as a s
ec
a
exce
t
on, t
e mater
a
s to
e
str
ute
nee
not
nc
u
e
an
thin
that is normall
distributed
in either source or binar
form
with the
ma
or com
onents
com
iler, kernel, and so on
of the o
eratin
s
stem on which
he executable runs, unless that com
onent itself accom
anies the executable
It ma
ha
en that this re
uirement contradicts the license restrictions of othe
ro
rietar
libraries that do not normall
accom
an
the o
eratin
s
stem. Such
a contra
ct
on means
ou cannot use
ot
t
em an
t
e
rar
to
et
er
n an
executa
e t
at
ou
str
ute
7. You ma
lace librar
facilities that are a work based on the Librar
side-b
-side
n a sin
le librar
to
ether with other librar
facilities not covered b
this License
an
str
ute suc
a com
ne
rar
,
rov
e
t
at t
e se
arate
str
ut
on
f the work based on the Librar
and of the other librar
facilities is otherwise
erm
tte
, an
rov
e
t
at
ou
o t
ese two t
n
s
a
Accom
an
the combined librar
with a co
of the same work based on
he Librar
, uncombined with an
other librar
facilities. This must be distributed
nder the terms of the Sections above
Give
rominent notice with the combined librar
of the fact that
art of it
s a work based on the Librar
, and ex
lainin
where to fi nd the accom
an
in
ncombined form of the same work
8. You ma
not co
, modif
, sublicense, link with, or distribute the Librar
exce
t
as ex
ressl
rovided under this License. An
attem
t otherwise to co
, modif
su
cense,
n
w
t
, or
str
ute t
e
rar
s vo
, an
w
automat
ca
term
-
nate
our r
ts un
er t
s
cense.
owever,
art
es w
o
ave rece
ve
co
es
r ri
hts, from
ou under this License will not have their licenses terminated so
on
as such
arties remain in full com
liance
9. You are not re
uired to acce
t this License, since
ou have not si
ned it. How-
ever, nothin
else
rants
ou
ermission to modif
or distribute the Librar
or its
erivative works. These actions are
rohibited b
law if
ou do not acce
t this
License. Therefore, b
modif
in
or distributin
the Librar
or an
work based
n the Librar
,
ou indicate
our acce
tance of this License to do so, and all its
erms and conditions for co
in
, distributin
or modif
in
the Librar
or works
ase
on
t
10. Each time
ou redistribute the Librar
or an
work based on the Librar
he reci
ient automaticall
receives a license from the ori
inal licensor to co
istribute, link with or modif
the Librar
sub
ect to these terms and condi-
ions. You ma
not im
ose an
further restrictions on the reci
ients' exercise
f the ri
hts
ranted herein. You are not res
onsible for enforcin
com
liance
t
r
art
es w
t
t
s
cense
11. If, as a conse
uence of a court
ud
ment or alle
ation of
atent infrin
ement
r for an
other reason
not limited to
atent issues
, conditions are im
osed
n
ou
whether b
court order, a
reement or otherwise
that contradict the
onditions of this License, the
do not excuse
ou from the conditions of this
License. If
ou cannot distribute so as to satisf
simultaneousl
our obli
ations