51
Es
08
this is to make it fre e software which every one can
redistribute and change un der these terms.
To do so, attach the fo llowing notices to the program. It i s
safest to attach the m to the start of e ach source file to mo st
effectively conve y the exclusion of war ranty; and each file
should have at least the "copyright" line and a poin ter to
where th e full no tice is fou nd.
<one line t o give the prog ram's name a nd a brief idea
of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it
and/or modify it under the terms o f the GNU General
Public Li cense as pu blished b y the Free Software
Foundation; either version 2 of the License, or (at your
option) any late r version.
This program is distri buted in the hope that it will be
useful, but WITHOUT ANY WARRANT Y; without even
the implied warr anty of MERCHANTABILIT Y or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General
Public Li cense for m ore deta ils.
You should have r eceived a copy o f the GNU General
Public License along wi th this program; if not, write t o
the Free Software Foun dation, Inc., 51 Franklin St reet,
Fifth Floor, Bosto n, MA 02110-1301 USA.
Also add infor mation on how to co ntact you by electr onic
and paper mail.
If the pro gram is inte ractive, mak e it output a short noti ce
like this when it start s in an interactive mode:
Gnomovision version 69, Copyright (C ) year name of
author
Gnomovisi on comes with A BSOLUTELY NO
WARRANTY; for details type `show w'.
This is free software, and you are wel come to
redistribute it under certai n conditions; type `show c'
for details.
The hypothetical commands `show w' and `show c' should
show the appr opriate parts of the General Public License .
Of course, the commands y ou use may be cal led
something other th an `show w' and `show c'; th ey could
even be mouse-cli cks or menu items--wh atever suits your
program.
You should also get your employer (if you work as a
programmer) or your school, if any, to sign a "copyright
d i s c l a im e r " f o r t h e p r o g r a m , i f n ec e s s a r y . H e r e i s a s a m p l e ;
alter the names:
Yoyodyne, Inc., hereby disc laims all copyright interes t in
the program
`Gnomovi sion' (which makes passes at compile rs)
written by James Hack er.
<signature of Ty Coo n>, 1 April 1989
Ty Coon, Pr esident of Vice
This Gene ral Public Lic ense does not per mit incorpora ting
your program into proprietary programs. If your program is
a subroutine library, yo u may consider i t more useful t o
permit lin king propriet ary applicat ions with th e library. If
this is what you want to do, use the GNU Lesser Gen eral
Public License instead of this Li cense.
GNU LESSER GENERAL PUB LICLICENSE
Version 2.1, Feb ruary 1999
Copyright (C) 1991, 1999 Free Software Foundation , Inc.
51 Franklin Street, F ifth Floor, Boston , MA 02110-1301 USA
Everyon e is perm itted to c opy and di stribute verbati m
copies of this license document, but changing it is not
allowed.
[This is the first released version of the Lesser GPL. It also
counts as the succe ssor of the GNU Library Public License,
version 2, hence the ver sion number 2.1.]
Preambl e
The licenses for m ost software are desig ned to take away
your freedom to share and change it. By contrast, the GNU
General Public Li censes are intended to guarantee your
freedom to share and chan ge free software--to mak e sure
the software is f ree for all its u sers.
This license , the Lesser General Public License, appl ies to
some special ly designated softwa re packages--typ ically
libraries--of th e Free Software Foundat ion and other
authors who decide to use it. You can u se it too, but we
suggest you firs t think carefully about whether this lic ense
or the ordinary General Public Licens e is the better strategy
to use in any particular case, based on the explanatio ns
below.
When we speak of free s oftware, we are referring to
freedom of use , not price. Our Gen eral Public Li censes are
designed to make sure that you have the freedom to
distribute copies of free software (and charge f or this
service if you wish) ; that you rec eive source code or ca n get
it if you want i t; that you can cha nge the software an d use
pieces of it in new fr ee programs; and that you are informed
that you can do these things.
To protect your rights, we need to make restrictions that
forbid distributors to deny you these rights or to ask you to
surrender these rig hts. These restri ctions translate to
certain re sponsibil ities for you if you distri bute copies of the
library or if you modify it.
For example, if you distribute copi es of the library, whether
g ra t i s o r f or a f e e, y o u mu s t g iv e t he r e ci p i en t s a ll t h e r i g h ts
that we gave you. You must make sure that they, too,
receive or can get the sour ce code. If you link other code
with the library, you must provi de complete object files to
the recipients, so that they can relink them with the library
after making changes to the library and recompiling it. An d
you must show them these terms so they know their r ights.
We protect your rights with a two-step meth od: (1) we
copyright the library, and (2) we offer you this license,
which give s you legal permission t o copy, dis tribute and/ or
modify the li brary.
To protect each distributor, we want to make it very clear
that there is no war ranty for the free library. Also , if the
library is modified by so meone else and passed on, the
recipients should know that what they have is not th e
origina l version, s o that the o riginal au thor's repu tation wil l
not be affected by problems that might be intro duced by
others.
Finally, software patents po se a constant threat to t he
existence of any fr ee program. We wis h to make sure that
a company cannot effec tively restrict the us ers of a free
program by obtainin g a restrictive license fro m a patent
holder. Therefore, we insist that any pate nt license
obtaine d for a version of the libra ry must be con sistent wi th
the full freedom of use specified in this license.
Most GNU sof tware, includ ing some libr aries, is cove red by
the ordinary GNU General Public License. This license, the
GNU Lesser General Public Licens e, applies to certain
designated libraries , and is quite dif ferent from the ord inary
General Public L icense. We use this license for certain
libraries in o rder to perm it linking those li braries into no n-
free programs.
When a program is linked with a library, whether statically
or using a shared library, the combination o f the two is
legally speaking a combined work, a derivati ve of the
original l ibrary. The o rdinary Gener al Public Lic ense
therefor e permits such linki ng only if t he entire
combinat ion fits it s criteria of freedom . The Less er General
Public Lic ense permits more lax crite ria for linkin g other
code with the library.
We call this li cense the "Lesser" Gen eral Public License
because it does Less to protect the us er's freedom than the
or di n ar y G en er a l P u bl ic Li ce n se . I t a l so pr ov i de s o th er f re e
software developers Less of an adva ntage over competing
non-free program s. These disadvantages are the r eason we
use the ordi nary General P ublic License for many lib raries.
However, the Les ser license provides advantages in certain
special ci rcumstances.
For example, on rare occ asions, there may be a s pecial
need to encourage t he widest possible use of a c ertain
library, so that it becomes a de-facto standard. To achieve
this, non-free programs must be allowed to use the library.
A more frequent case is that a free library does th e same
job as widely used non-free libraries. In th is case, there is
little to gain by limiting the free librar y to free software only,
so we use the Les ser General Public Lic ense.
In other cases, p ermission to use a par ticular library in non-
free programs enable s a greater number of people to use a
large body of fr ee software. For e xample, permission to use
the GNU C Library in no n-free programs en ables many
more people to use t he whole GNU operating syste m, as
well as its variant, the GNU/Lin ux operating system.
Although the Less er General Public L icense is Less
protective of the us ers' freedom, it does e nsure that the
user of a program th at is linked with the Lib rary has the
freedom and the wherewi thal to run that program using a
modified version o f the Library.
The precise terms an d conditions for copyin g, distribution
and modification follow. Pa y close attention to the
difference between a "work based on the library" an d a
"work that uses the l ibrary". The former con tains code
derived from the library, wh ereas the latter must be
combined with t he library in order to run.
GNU LESSER GENERAL PUBLIC LICE NSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION
AND MODIFICATION
0. This License Agreemen t applies to any software l ibrary
or other prog ram which contai ns a notice pla ced by the
copyright holder or other authorized party saying it may
be distributed under the terms of this Lesser General
Public Lice nse (also cal led "this Li cense"). Each
licensee is add ressed as "you".
A "library" mea ns a collectio n of software functi ons and/
or data prepared so as to be conveniently linked with
application programs (which use some of th ose
functions and data) to form executables .
The "Library", below, refers to an y such software library
or work which has be en distributed under thes e terms.
A "work based on the Library" means either the Library
or any derivative work under copyright law: that is to say,
a work containing the Library or a portion of it, either
verbatim or with modificati ons and/or translated
straightforwardly into another language. (Herein after,
translation is incl uded without limitation i n the term
"modificatio n".)
"Source code" for a work means the preferre d form of
the work for making modifica tions to it. For a library,
complete s ource code means all the source co de for all
modules it contains, plus any associated interface
definition f iles, plus the sc ripts used to contr ol
c
om
pilation and installation of the library.
Activities other than co pying, distribution and
modification are not covered by this Licens e; they are
outside its scope. The ac t of running a prog ram using
the Library is not restricted, and output from such a
program is covered only i f its conte nts constitut e a work
based on the Lib rary (independent of the us e of the
Library in a tool for writing it). Wheth er that is true
depends on what the Library does and what the
program that uses the Library does.
1. You may copy and distribute verbatim copies of the
Library 's complet e source cod e as you rec eive it, in a ny
medium, provided that you conspicuously and
appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact
all the notices that refe r to this License and to the
absence of any warranty; and distribute a copy of this
License along with the L ibrary.
You may charge a fee for th e physical act of transferring
a copy, and you may at your option offer warranty
protection in exchange for a fee.
2. You 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 Sectio n 1 above, provided that you
also meet all of these conditions:
a) The mod ified work must itself be a software lib rary.
b) Yo u must cause the f iles modified to carry prominent
notices stating that you changed the files and the
date of any change.
c) You m ust cause the wh ole of the work to be licensed
at no charge to all third parti es under the terms of
this License.
d) If a f acility in the modified Li brary refers to a function
or a table of data to be supplied by an application
program that uses the f acility, other than as an
argument passed when th e facility is invok ed, then
you must make a good faith eff ort to ensure that, in
the event an applicatio n does not supply such
function or table, the faci lity still operates, and
performs whatev er part of its purpose rem ains
meaningful .
(For example, a function in a library to com pute
square roots has a pu rpose that is entirely well-
defined independen t of the application. There fore,
Subsec tion 2d req uires tha t any applica tion-su pplied
function or table used by this fun ction must be
optional: if the applicatio n does not supply it, the
square root f unction must st ill compute sq uare
roots.)
These requirements apply to the modified work as a
whole. If identifiable sectio ns of that work are not
derived from the Library, and can be reasonabl y
consider ed independe nt and separ ate works in
themselves, then thi s License, and its terms, do no t
apply to those sections when you distribut e them as
separate works. But when yo u distribute the same
sections as part o f a whole which is a work based on the
Library, the distr ibution of the whole m ust be on the
terms of thi s License, wh ose permissi ons for other
licensees extend to the entire whole, an d thus to each
and every part regardless of wh o wrote it.
Thus, it is not the int ent of this section to claim right s or
contest your rights to w ork written entirely by you;
rather, the intent is to exercise the right t o control the
distribution of derivative or colle ctive works base d on
the Library.
In addition, mere aggregation of another work not
based on the Library wit h the Library (or with a work
based on the Library) on a volume of a storage or
distribution mediu m does not bring the other wo rk
under the scope of this License.
3. You may opt to apply the te rms of the ordinary GNU
General Publi c License instead o f this License to a giv en
copy of the Library. To do this, you mu st alter all the
notices that r efer to this Licens e, so that they r efer to the
ordinary GN U General Pub lic License, v ersion 2, in stead
of to this License. ( If a newer version than ve rsion 2 of
the ordinary GNU General Public License has appeared,
then you can spec ify that version instead i f you wish.)
Do not make any other change in these notices.
Once this change is made in a given copy, it is
irreve rsible for that copy, so the or dinary GN U General
Public License applies to all subsequent copies and
derivative works 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 library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or
executable form under the terms of Sec tions 1 and 2
above provided that you accompany it with the
complete cor responding mach ine-readable so urce
code, which must be distri buted under the terms of
Sections 1 and 2 above on a medium customarily used
for software in terchange.
If di s tr ib ut i on of ob je c t c o de is ma d e b y o ff er i ng ac c es s
to copy from a designa ted place, then offering
equivalent access to cop y the source co de from the
same place satisfies the requirement to distribute t he
source code, even though third parties are not
compelled to copy the sour ce along with the object
code.
5. A program that contain s no derivative of any portion of
the Library, but is designed to wo rk with the Library by
being compiled or linked with it, is called a "work that
uses the Library". Such a work , in isolation, is not a
BDP-140_VXCN5_IBD_ES.book Page 51 Wednesday, Septembe r 28, 2011 10:14 AM