136
sections as part of a
w
hole
w
hich is a
w
ork
b
ased on the Li
b
rary, the
distri
bu
tion of the
w
hole m
u
st
b
e on the terms of this License,
w
hose
permissions for other licensees extend to the entire
w
hole, and th
u
s to
each and e
v
ery part regardless of
w
ho
w
rote it.
Th
u
s, it is not the intent of this section to claim rights or contest yo
u
r
rights to
w
ork
w
ritten entirely
b
y yo
u
; rather, the intent is to exercise the
right to control the distri
bu
tion of deri
v
ati
v
e or collecti
v
e
w
orks
b
ased on
the Li
b
rary.
In addition, mere aggregation of another
w
ork not
b
ased on the Li
b
rary
w
ith the Li
b
rary (or
w
ith a
w
ork
b
ased on the Li
b
rary) on a
v
ol
u
me of a
storage or distri
bu
tion medi
u
m does not
b
ring the other
w
ork
u
nder the
scope of this License.
3.
Yo
u
may opt to apply the terms of the ordinary G
N
U General P
ub
lic
License instead of this License to a gi
v
en copy of the Li
b
rary. To do this,
yo
u
m
u
st alter all the notices that refer to this License, so that they refer
to the ordinary G
N
U General P
ub
lic License,
v
ersion 2, instead of to this
License. (If a ne
w
er
v
ersion than
v
ersion 2 of the ordinary G
N
U General
P
ub
lic License has appeared, then yo
u
can specify that
v
ersion instead if
yo
u
w
ish.) Do not make any other change in these notices.
Once this change is made in a gi
v
en copy, it is irre
v
ersi
b
le for that copy,
so the ordinary G
N
U General P
ub
lic License applies to all s
ub
se
qu
ent
copies and deri
v
ati
v
e
w
orks made from that copy.
This option is
u
sef
u
l
w
hen yo
u
w
ish to copy part of the code of the Li
b
rary
into a program that is not a li
b
rary.
4.
Yo
u
may copy and distri
bu
te the Li
b
rary (or a portion or deri
v
ati
v
e of it,
u
nder Section 2) in o
b
ject code or exec
u
ta
b
le form
u
nder the terms of
Sections 1 and 2 a
b
o
v
e pro
v
ided that yo
u
accompany it
w
ith the
complete corresponding machine-reada
b
le so
u
rce code,
w
hich m
u
st
b
e
distri
bu
ted
u
nder the terms of Sections 1 and 2 a
b
o
v
e on a medi
u
m
c
u
stomarily
u
sed for soft
w
are interchange.
If distri
bu
tion of o
b
ject code is made
b
y offering access to copy from a
designated place, then offering e
qu
i
v
alent access to copy the so
u
rce
code from the same place satisfies the re
qu
irement to distri
bu
te the
so
u
rce code, e
v
en tho
u
gh third parties are not compelled to copy the
so
u
rce along
w
ith the o
b
ject code.
5.
A program that contains no deri
v
ati
v
e of any portion of the Li
b
rary,
bu
t is
designed to
w
ork
w
ith the Li
b
rary
b
y
b
eing compiled or linked
w
ith it, is
called a “
w
ork that
u
ses the Li
b
rary”. S
u
ch a
w
ork, in isolation, is not a
deri
v
ati
v
e
w
ork of the Li
b
rary, and therefore falls o
u
tside the scope of this
License.
Ho
w
e
v
er, linking a “
w
ork that
u
ses the Li
b
rary”
w
ith the Li
b
rary creates an
exec
u
ta
b
le that is a deri
v
ati
v
e of the Li
b
rary (
b
eca
u
se it contains portions
of the Li
b
rary), rather than a “
w
ork that
u
ses the li
b
rary”. The exec
u
ta
b
le is
therefore co
v
ered
b
y this License. Section 6 states terms for distri
bu
tion
of s
u
ch exec
u
ta
b
les.
W
hen a “
w
ork that
u
ses the Li
b
rary”
u
ses material from a header file that
is part of the Li
b
rary, the o
b
ject code for the
w
ork may
b
e a deri
v
ati
v
e
w
ork of the Li
b
rary e
v
en tho
u
gh the so
u
rce code is not.
W
hether this is
tr
u
e is especially significant if the
w
ork can
b
e linked
w
itho
u
t the Li
b
rary,
or if the
w
ork is itself a li
b
rary. The threshold for this to
b
e tr
u
e is not
precisely defined
b
y la
w
.
If s
u
ch an o
b
ject file
u
ses only n
u
merical parameters, data str
u
ct
u
re
layo
u
ts and accessors, and small macros and small inline f
u
nctions (ten
lines or less in length), then the
u
se of the o
b
ject file is
u
nrestricted,
regardless of
w
hether it is legally a deri
v
ati
v
e
w
ork. (Exec
u
ta
b
les
containing this o
b
ject code pl
u
s portions of the Li
b
rary
w
ill still fall
u
nder
Section 6.)
Other
w
ise, if the
w
ork is a deri
v
ati
v
e of the Li
b
rary, yo
u
may distri
bu
te the
o
b
ject code for the
w
ork
u
nder the terms of Section 6. Any exec
u
ta
b
les
containing that
w
ork also fall
u
nder Section 6,
w
hether or not they are
linked directly
w
ith the Li
b
rary itself.
6.
As an exception to the Sections a
b
o
v
e, yo
u
may also com
b
ine or link a
“
w
ork that
u
ses the Li
b
rary”
w
ith the Li
b
rary to prod
u
ce a
w
ork containing
portions of the Li
b
rary, and distri
bu
te that
w
ork
u
nder terms of yo
u
r
choice, pro
v
ided that the terms permit modification of the
w
ork for the
c
u
stomer’s o
w
n
u
se and re
v
erse engineering for de
bu
gging s
u
ch
modifications.
Yo
u
m
u
st gi
v
e prominent notice
w
ith each copy of the
w
ork that the
Li
b
rary is
u
sed in it and that the Li
b
rary and its
u
se are co
v
ered
b
y this
License. Yo
u
m
u
st s
u
pply a copy of this License. If the
w
ork d
u
ring
exec
u
tion displays copyright notices, yo
u
m
u
st incl
u
de the copyright
notice for the Li
b
rary among them, as
w
ell as a reference directing the
u
ser to the copy of this License. Also, yo
u
m
u
st do one of these things:
a)
Accompany the
w
ork
w
ith the complete corresponding machine-
reada
b
le so
u
rce code for the Li
b
rary incl
u
ding
w
hate
v
er changes
w
ere
u
sed in the
w
ork (
w
hich m
u
st
b
e distri
bu
ted
u
nder Sections 1 and 2
a
b
o
v
e); and, if the
w
ork is an exec
u
ta
b
le linked
w
ith the Li
b
rary,
w
ith
the complete machine-reada
b
le “
w
ork that
u
ses the Li
b
rary”, as o
b
ject
code and/or so
u
rce code, so that the
u
ser can modify the Li
b
rary and
then relink to prod
u
ce a modified exec
u
ta
b
le containing the modified
Li
b
rary. (It is
u
nderstood that the
u
ser
w
ho changes the contents of
definitions files in the Li
b
rary
w
ill not necessarily
b
e a
b
le to recompile
the application to
u
se the modified definitions.)
b)
Use a s
u
ita
b
le shared li
b
rary mechanism for linking
w
ith the Li
b
rary. A
s
u
ita
b
le mechanism is one that (1)
u
ses at r
u
n time a copy of the
li
b
rary already present on the
u
ser’s comp
u
ter system, rather than
copying li
b
rary f
u
nctions into the exec
u
ta
b
le, and (2)
w
ill operate
properly
w
ith a modified
v
ersion of the li
b
rary, if the
u
ser installs one,
as long as the modified
v
ersion is interface- compati
b
le
w
ith the
v
ersion that the
w
ork
w
as made
w
ith.
c)
Accompany the
w
ork
w
ith a
w
ritten offer,
v
alid for at least three years,
to gi
v
e the same
u
ser the materials specified in S
ub
section 6a, a
b
o
v
e,
for a charge no more than the cost of performing this distri
bu
tion.
d)
If distri
bu
tion of the
w
ork is made
b
y offering access to copy from a
designated place, offer e
qu
i
v
alent access to copy the a
b
o
v
e specified
materials from the same place.
e)
Verify that the
u
ser has already recei
v
ed a copy of these materials or
that yo
u
ha
v
e already sent this
u
ser a copy.
For an exec
u
ta
b
le, the re
qu
ired form of the “
w
ork that
u
ses the Li
b
rary”
m
u
st incl
u
de any data and
u
tility programs needed for reprod
u
cing the
exec
u
ta
b
le from it. Ho
w
e
v
er, as a special exception, the materials to
b
e
distri
bu
ted need not incl
u
de anything that is normally distri
bu
ted (in either
so
u
rce or
b
inary form)
w
ith the major components (compiler, kernel, and
so on) of the operating system on
w
hich the exec
u
ta
b
le r
u
ns,
u
nless that
component itself accompanies the exec
u
ta
b
le.
It may happen that this re
qu
irement contradicts the license restrictions of
other proprietary li
b
raries that do not normally accompany the operating
system. S
u
ch a contradiction means yo
u
cannot
u
se
b
oth them and the
Li
b
rary together in an exec
u
ta
b
le that yo
u
distri
bu
te.
7.
Yo
u
may place li
b
rary facilities that are a
w
ork
b
ased on the Li
b
rary side-
b
y-side in a single li
b
rary together
w
ith other li
b
rary facilities not co
v
ered
b
y this License, and distri
bu
te s
u
ch a com
b
ined li
b
rary, pro
v
ided that the
separate distri
bu
tion of the
w
ork
b
ased on the Li
b
rary and of the other
li
b
rary facilities is other
w
ise permitted, and pro
v
ided that yo
u
do these
t
w
o things:
a)
Accompany the com
b
ined li
b
rary
w
ith a copy of the same
w
ork
b
ased
on the Li
b
rary,
u
ncom
b
ined
w
ith any other li
b
rary facilities. This m
u
st
b
e distri
bu
ted
u
nder the terms of the Sections a
b
o
v
e.
b)
Gi
v
e prominent notice
w
ith the com
b
ined li
b
rary of the fact that part of
it is a
w
ork
b
ased on the Li
b
rary, and explaining
w
here to find the
accompanying
u
ncom
b
ined form of the same
w
ork.
8.
Yo
u
may not copy, modify, s
ub
license, link
w
ith, or distri
bu
te the Li
b
rary
except as expressly pro
v
ided
u
nder this License. Any attempt other
w
ise
to copy, modify, s
ub
license, link
w
ith, or distri
bu
te the Li
b
rary is
v
oid, and
w
ill a
u
tomatically terminate yo
u
r rights
u
nder this License. Ho
w
e
v
er,
parties
w
ho ha
v
e recei
v
ed copies, or rights, from yo
u
u
nder this License
w
ill not ha
v
e their licenses terminated so long as s
u
ch parties remain in
f
u
ll compliance.
9.
Yo
u
are not re
qu
ired to accept this License, since yo
u
ha
v
e not signed it.
Ho
w
e
v
er, nothing else grants yo
u
permission to modify or distri
bu
te the
Li
b
rary or its deri
v
ati
v
e
w
orks. These actions are prohi
b
ited
b
y la
w
if yo
u
do not accept this License. Therefore,
b
y modifying or distri
bu
ting the
Li
b
rary (or any
w
ork
b
ased on the Li
b
rary), yo
u
indicate yo
u
r acceptance
of this License to do so, and all its terms and conditions for copying,
distri
bu
ting or modifying the Li
b
rary or
w
orks
b
ased on it.
10.
Each time yo
u
redistri
bu
te the Li
b
rary (or any
w
ork
b
ased on the Li
b
rary),
the recipient a
u
tomatically recei
v
es a license from the original licensor to
copy, distri
bu
te, link
w
ith or modify the Li
b
rary s
ub
ject to these terms and
conditions. Yo
u
may not impose any f
u
rther restrictions on the recipients’
exercise of the rights granted herein. Yo
u
are not responsi
b
le for
enforcing compliance
b
y third parties
w
ith this License.
11.
If, as a conse
qu
ence of a co
u
rt j
u
dgment or allegation of patent
infringement or for any other reason (not limited to patent iss
u
es),
conditions are imposed on yo
u
(
w
hether
b
y co
u
rt order, agreement or
other
w
ise) that contradict the conditions of this License, they do not
exc
u
se yo
u
from the conditions of this License. If yo
u
cannot distri
bu
te so
as to satisfy sim
u
ltaneo
u
sly yo
u
r o
b
ligations
u
nder this License and any
other pertinent o
b
ligations, then as a conse
qu
ence yo
u
may not distri
bu
te
the Li
b
rary at all. For example, if a patent license
w
o
u
ld not permit
royalty-free redistri
bu
tion of the Li
b
rary
b
y all those
w
ho recei
v
e copies
directly or indirectly thro
u
gh yo
u
, then the only
w
ay yo
u
co
u
ld satisfy
b
oth
it and this License
w
o
u
ld
b
e to refrain entirely from distri
bu
tion of the
Li
b
rary.
If any portion of this section is held in
v
alid or
u
nenforcea
b
le
u
nder any
partic
u
lar circ
u
mstance, the
b
alance of the section is intended to apply,
and the section as a
w
hole is intended to apply in other circ
u
mstances.
It is not the p
u
rpose of this section to ind
u
ce yo
u
to infringe any patents
or other property right claims or to contest
v
alidity of any s
u
ch claims; this
section has the sole p
u
rpose of protecting the integrity of the free
soft
w
are distri
bu
tion system
w
hich is implemented
b
y p
ub
lic license
practices. Many people ha
v
e made genero
u
s contri
bu
tions to the
w
ide
range of soft
w
are distri
bu
ted thro
u
gh that system in reliance on
consistent application of that system; it is
u
p to the a
u
thor/donor to decide
if he or she is
w
illing to distri
bu
te soft
w
are thro
u
gh any other system and
a licensee cannot impose that choice.