LICENSE
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED ,
INCLUDING, BU T NO T LIMITED T O , THE IMPLIED WARRANTIES
OF MERCHANT ABILI TY AND FITNESS FOR A P AR TICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QU ALITY AND
PERFORMANCE OF THE PR OGRAM IS WITH Y O U. SHOULD
THE PROGRAM PRO VE DEFECTIVE, Y OU ASSUME THE COST
OF ALL NECESS AR Y SERVICING, REP AIR OR CORRECTION.
1 2. IN NO EVENT UNLESS REQUIRED B Y APPLICABLE LAW OR
A GREED T O IN WRITING WILL ANY COPYRIGHT HOLDER, OR
ANY O THER P ARTY WHO MA Y MODIFY AND/OR REDIS TRIBU TE
THE PRO GRAM A S PERMI TTED ABO VE, BE LIABLE T O Y OU FOR
D AMA GES , INCLUDING ANY GENERAL, SPECIAL, INCIDENT AL
OR CONSEQUENTIAL DAMA GES ARISING OUT OF THE USE
OR INABILITY TO USE THE PRO GRAM (INCLUDING BU T NOT
LIMITED T O LOSS OF D A T A OR D A T A BEING RENDERED
INA CCURA TE OR LOSSES SUST AINED B Y Y O U OR THIRD
P AR TIES OR A F AILURE OF THE PRO GRAM TO OPERA TE WI TH
ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
P AR TY HA S BEEN ADVISED OF THE POSSIBILITY OF SUCH
D AMA GES .
END OF TERMS AND CONDITIONS
How to Apply These T erms t o Y our New Progr ams
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achie ve this is to make
it free software which everyone can redistribute and change under
these terms.
T o do so, at tach the f ollowing notices to the program. It is saf est
to at tac h them to the start of eac h source file to most eff ectively
conve y the exclusion of warranty; and each file should hav e at least
the “copyright” line and a pointer to where the full notice is f ound.
<one line to give the program’ s name and a brief idea of what
it does.>
Copyright (C) <year> <name of author>
This program is free software; y ou can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the F ree Sof tw are F oundation; either version 2 of the
License, or (at your option) any later v ersion.
This program is distributed in the hope that it will be useful, but
WITHO U T ANY W ARRANTY ; without e ven the implied war ranty of
MERCHANT ABILI TY or FITNESS FOR A P AR TICULAR PURPOSE.
See the GNU General Public License for more details.
Y ou should ha v e receiv ed a copy of the GNU General P ublic
License along with this program; if not, write to the F ree Sof tware
Foundation, Inc., 59 T emple Place, Suite 330, Boston, MA 021 1 1 -
1 307 USA
Also add information on how to contact you by electronic and paper
mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Cop yright (C) year name of author
Gnomovision comes with ABSOLUTEL Y NO WARRANTY ; for
details type ‘show w’ . This is free sof tware, and you are welcome
to redistribute it under certain conditions; type ‘show c’ for
details.
The h ypothetical commands ‘show w’ and ‘show c’ should show
the appropriate parts of the General P ublic License. Of course,
the commands you use may be called something other than ‘show
w’ and ‘show c’; they could even be mouse-clicks or menu items--
whatever suits y our program.
Y ou should also get your employer (if you work as a programmer) or
your school, if any , to sign a “cop yright disclaimer” for the program,
if necessary. Here is a sample; alter the names:
Y oyodyne, Inc., hereby disclaims all copyright interest in the
program ‘Gnomovision’ (whic h makes passes at compilers)
writ ten by J ames Hac ker .
<signature of T y Coon>, 1 April 1 989
T y Coon, President of Vice
This General Public License does not permit incorporating your
program into proprietar y programs. If your program is a subroutine
library, you may consider it more useful to permit linking proprietar y
applications with the library. If this is what you want to do, use the
GNU Library General Public License instead of this License.
Exhibit-B
GNU LESSER GENERAL PUBLIC LICENSE
V ersion 2.1, F ebr uary 1999
Copyright (C) 1 991, 1 999 F ree Sof tware F oundation, Inc.
59 T emple Place, Suite 330, B oston, MA 021 1 1 -1307 US A
Everyone is permit ted to copy and distribute v erbatim copies of this
license document, but c hanging it is not allow ed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1 .]
Preamble
The licenses for most sof tware are designed to take aw ay your
freedom to share and change it. By contrast, the GNU General
Public Licenses are intended to guarantee your freedom to share
and change free software--to make sure the software is free for all
its users.
This license, the Lesser General Public License, applies to some
specially designated software packages--typically libraries--of the F ree
Sof tware F oundation and other authors who decide to use it. Y ou can
use it too, but w e suggest y ou first think carefully about whether this
license or the ordinar y General Public License is the bet ter strategy
to use in any particular case, based on the explanations belo w .
When we speak of free sof tware, we are ref erring to freedom of use,
not price. Our General Public Licenses are designed to make sure
that you have the freedom to distribute copies of free software (and
c harge for this service if you wish); that you receive source code or
can get it if you want it; that you can change the sof tware and use
pieces of it in new free programs; and that y ou are informed that y ou
can do these things.
T o protect y our rights, we need to make restrictions that forbid
distributors to deny y ou these rights or to ask you to surrender these
rights. These restrictions translate to cert ain responsibilities for you
if you distribute copies of the library or if you modify it.
For example, if y ou distribute copies of the librar y , whether gratis
or for a f ee, you must give the recipients all the rights that we gave
you. Y ou must make sure that they , too, receive or can get the
source code. If you link other code with the librar y , y ou must pro vide
complete object files to the recipients, so that they can relink them
with the librar y af ter making c hanges to the librar y and recompiling
it. And you must show them these terms so they know their rights.
We protect your rights with a two-step method: (1) we cop yright
the librar y , and (2) we off er you this license, which gives you legal
permission to copy , distribute and/or modify the library .
T o protect eac h distributor , we want to make it very clear that there
is no warranty for the free library . Also, if the librar y is modified
by someone else and passed on, the recipients should know that
what they hav e is not the original v ersion, so that the original author’ s
reputation will not be aff ected b y problems that might be introduced
by others.
Finally , software patents pose a constant threat to the existence of
any free program. We wish to mak e sure that a company cannot
ef fectiv ely restrict the users of a free program b y obtaining a
restrictive license from a patent holder . Therefore, we insist that an y
patent license obtained for a v ersion of the library must be consistent
with the full freedom of use specified in this license.
Most GNU software, including some libraries, is co vered by the
ordinary GNU General Public License. T his license, the GNU Lesser
General Public License, applies to certain designated libraries, and is
quite dif f erent from the ordinary General Public License. We use this
license for certain libraries in order to permit linking those libraries
into non-free programs.
When a program is linked with a librar y , whether statically or using
a shared library , the combination of the two is legally speaking
a combined work, a deriv ative of the original librar y . The ordinary
General Public License therefore permits such linking only if the
entire combination fits its criteria of freedom. T he 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 to protect the user’ s freedom than the ordinar y General
Public License. It also provides other free sof tware dev elopers
Less of an advantage ov er competing non-free programs. These
disadvantages are the reason we use the ordinary General P ublic
License f or many libraries. Ho wev er , the Lesser license provides
n
advantages in certain special circumstances.
For e xample, on rare occasions, there may be a special need to
encourage the widest possible use of a cert ain librar y , so that it
becomes a de-facto standard. T o achiev e this, non-free programs
must be allo wed to use the librar y . A more frequent case is that
a free librar y does the same job as widely used non-free libraries.
In this case, there is little to gain by limiting the free librar y to free
sof tware only , so w e use the Lesser General P ublic License.
In other cases, permission to use a particular library in non-free
programs enables a greater number of people to use a large body of
free sof tware. For e xample, permission to use the GNU C Librar y in
non-free programs enables many more people to use the whole GNU
operating system, as well as its variant, the GNU/Linux operating
system.
Although the Lesser General Public License is Less protectiv e of the
users’ freedom, it does ensure that the user of a program that is
linked with the Librar y has the freedom and the wherewithal to run
that program using a modified v ersion of the Library .
The precise terms and conditions for copying, distribution and
modification follow . P ay close at tention to the diff erence between a
“work based on the library” and a “w ork that uses the library” .
The former contains code derived from the library , whereas the lat ter
must be combined with the library in order to run.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND
MODIFICA TION
0. This License Agreement applies to any software librar y or other
program which contains a notice placed by the copyright holder
or other authorized part y saying it may be distributed under the
terms of this Lesser General Public License (also called “this
License ”).
Each licensee is addressed as “you” .
A “librar y” means a collection of software functions and/or
data prepared so as to be conveniently linked with application
programs (whic h use some of those functions and data) to form
executables.
The “Library” , below , refers to any such sof tware librar y or work
whic h has been distributed under these terms. A “work based on
the Library” means either the Library or any deriv ative w ork under
copyright law: that is to say , a work containing the Librar y or a
portion of it, either verbatim or with modifications and/or translated
straightforwardly into another language. (Hereinaf ter , translation
is included without limitation in the term “modification ” .)
“Source code ” for a work means the pref erred form of the work
for making modifications to it. For a librar y , complete source
code means all the source code for all modules it cont ains, plus
any associated interface definition files, plus the scripts used to
control compilation and installation of the librar y .
Activities other than cop ying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running a program using the Librar y is not restricted, and output
from such a program is covered only if its contents constitute a
work based on the Librar y (independent of the use of the Librar y
in a tool for writing it). Whether that is true depends on what the
Library does and what the program that uses the Librar y does.
1 . Y ou may copy and distribute verbatim copies of the Library’ s
complete source code as you receive it, in an y medium, provided
that y ou conspicuously and appropriately publish on eac h copy
an appropriate copyright notice and disclaimer of warranty; keep
intact all the notices that refer to this License and to the absence
of any warranty; and distribute a copy of this License along with
the Library.
Y ou may charge a fee for the physical act of transferring a copy ,
and you may at your option of f er warranty protection in ex c hange
for a f ee.
2. Y ou may modify your copy or copies of the Library or any portion
of it, thus forming a work based on the Library , and copy and
distribute such modifications or work under the terms of Section
1 above, pro vided that you also meet all of these conditions:
a) The modifi ed w ork must itself be a sof tware library .
b) Y ou must cause the files modified to carr y prominent notices
stating that you c hanged the files and the date of any c hange.
c) Y ou must cause the whole of the work to be licensed at no
c harge to all third parties under the terms of this License.
d) If a f aci li ty in the modi fi ed Libra ry ref er s to a fun ct ion or a table
of da ta to be su ppl ie d by an appl ic at ion prog ra m tha t use s the
fa ci li ty , oth er than as an arg ume nt pass ed when the fa ci li ty is
in v ok ed , the n yo u mus t mak e a good fai th ef f o rt to ensur e tha t,
in th e e v ent an ap pl ica ti on does not sup ply suc h fu nct io n or
tabl e, th e f a cil ity st il l o per at es , a nd pe rf or ms wh ate v e r p art of it s
pur po se re ma in s m ea ni ngf ul .
(For example, a function in a librar y to compute square roots
has a purpose that is entirely well-defined independent of
the application. Therefore, Subsection 2d requires that an y
application-supplied function or t able used by this function
must be optional: if the application does not supply it, the
square root function must still compute square roots.)
These requirements apply to the modifi ed work as a whole. If
identifiable sections of that work are not derived from the Library ,
and can be reasonably considered independent and separate
works in themselves, then this License, and its terms, do not
apply to those sections when you distribute them as separate
works. But when you distribute the same sections as part of a
whole whic h is a work based on the Library , the distribution of the
whole must be on the terms of this License, whose permissions
for other licensees extend to the entire whole, and thus to eac h
and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to w ork written entirely by you; rather, the intent is
to ex ercise the right to control the distribution of derivative or
collective works based on the Library .
In addition, mere aggregation of another work not based on the
Library with the Library (or with a work based on the Librar y) on
a volume of a storage or distribution medium does not bring the
other work under the scope of this License.
3. Y ou may opt to apply the terms of the ordinar y GNU General
Public License instead of this License to a given copy of the
Library. T o do this, you must alter all the notices that refer to this
License, so that they refer to the ordinary GNU General P ublic
License, version 2, instead of to this License. (If a new er version
than version 2 of the ordinar y GNU General Public License has
appeared, then you can specify that version instead if you wish.)
Do not make any other c hange in these notices.
Once this change is made in a given copy , it is irrev ersible for that
copy , so the ordinar y GNU General Public License applies to all
subsequent copies and derivative w orks made from that copy .
This option is useful when you wish to copy part of the code of
the Library into a program that is not a librar y .
4. Y ou may cop y and distribute the Librar y (or a portion or derivative
of it, under Section 2) in object code or executable form under the
terms of Sections 1 and 2 above provided that you accompany it
with the complete corresponding machine-readable source code,
whic h must be distributed under the terms of Sections 1 and 2
above on a medium customarily used f or sof tware interc hange.
If distribution of object code is made by off ering access to copy
from a designated place, then off ering equivalent access to copy
the source code from the same place satisfies the requirement
to distribute the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivativ e of an y portion of the Library ,
but is designed to work with the Librar y b y being compiled or
linked with it, is called a “work that uses the Librar y” . Suc h a
work, in isolation, is not a derivative work of the Librar y , and
therefore falls outside the scope of this License.
However , linking a “work that uses the Librar y” with the Library
creates an executable that is a derivative of the Librar y (because
it cont ains portions of the Library), rather than a “work that uses
the library” . The executable is therefore co vered b y this License.
Section 6 st ates terms for distribution of suc h ex ecutables.
When a “work that uses the Library” uses material from a header
file that is part of the Librar y , the object code for the work may
be a derivative work of the Librar y ev en though the source code
is not.
Whether this is tr ue is especially significant if the work can be
linked without the Library , or if the work is itself a library . The
threshold for this to be tr ue is not precisely defined by law .
If such an object file uses only numerical parameters, dat a
struct ure la youts and accessors, and small macros and small
inline functions (ten lines or less in length), then the use of the
object file is unrestricted, regardless of whether it is legally a
derivative work. (Executables containing this object code plus