07
52
Nl
If you develop a n ew program, and you want it to be of the
greatest possible use to the public, the best way to achieve
this is to make it free software which everyone can
redistribute and change under the se terms.
To do so, attach t he following notices to the program. It is
safest to attach them to the sta rt of each source file to most
effecti vely conv ey the ex clusion of warra nty; an d each f ile
should have at least the “copyright” line and a pointer to
where the full notic e is found.
<one lin e to give the prog ram’s na me and a brief i dea of
what it does.>
Copyr ight © <yea r> <name of au thor>
This program is fre e software; you ca n redistribute it an d/
or modify it under the terms of the GNU General Publ ic
License as pu blished by the Fr ee Software Foundat ion;
either vers ion 2 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be
useful, but WIT HOUT ANY WARRAN TY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. S ee the GNU General Public
License for more details.
You should have received a copy of the GNU General
Public License along with this program; if not, write to
the Free So ftware Fou ndation, Inc ., 51 Frankl in Street,
Fifth Floor, Boston, MA 02110-1301 USA.
Also add infor mation on how to co ntact you by electr onic
and paper mail.
If the program is interactive, m ake it output a sh ort notice
like this when it starts in an i nteractive mode:
Gnomovision version 69, Copyright © year name of
author
Gnomovision comes wit h ABSOLUTELY NO WARRANTY;
for details type ‘ show w’. Th is is free softw are, and you
are welcome to redist ribute it under certai n conditions;
type ‘show c’ for details.
The hypothetical commands ‘show w’ and ‘show c’ should
show the appropriate parts of t he General Public License.
Of cours e, the com mands you u se may be called
something othe r than ‘show w ’ and ‘show c’; they could
even be mouse-cli cks or men u items - whatever suits you r
program.
You should also ge t your employer (i f you work as a
programmer) or your school, if an y, to sign a “copyright
disclaimer” for the pr ogram, if nece ssary. Here is a sample;
alter th e names:
Yoyodyne, Inc., hereby disclaims all copyright interest in
the program ‘Gnomovis ion’ (which makes passes at
comp ilers) writt en by Jame s Hack er.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vic e
This General Public License does not permit incorporating
your program into proprietar y programs. If your program i s
a subroutin e library, you ma y consider it more useful to
permit linking proprietary applications with the library. If
this is wha t you want to do, us e the GNU Lesser Gene ral
Public License instead of this License.
GNU LESSER GENERAL P UBLIC
LICENSE
Version 2.1, February 1999
Copyright © 1991, 199 9 Free Software Foundation , Inc.
51 Franklin Street , Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute ver batim
copies of this li cense document, but ch anging it is not
allow ed.
[This is the first released version of the Lesser GPL. It also
counts as the success or of the GNU Library Public License,
version 2, hence the version number 2. 1.]
Preamble
The licenses f or most software are designed to take away
your freedom to share and change it. By c ontrast, the GNU
General Pub lic Licenses are i ntended to guaran tee your
freedom to share and change free software - to make sure
the software is free for all its users. This l icense, the Lesser
General Public License, applies to some specially
designated software packages - typically libraries - of th e
Free Software Foundatio n and other authors who decide to
use it. You can use it too, b ut we su ggest you f irst think
carefully about whether this license or the ordinary General
Public License is the better strategy to use in any particular
case, based on the explanations below.
When we speak of free software, we are refe rring to
freedom of use, not price. Our General Public Licenses are
designed to make sur e that you have the freedom to
distribute copies of free so ftware (and charge for this
service if yo u wish); that you receive source code or can g et
it if you want it ; that you can change th e software and use
pieces of it in new free progr ams; and that you are informed
that you ca n do these thing s.
To protect you r rights, we need to m ake restrictions that
forbid distributors to deny you thes e rights or to ask you to
surrender the se rights. These re strictions tran slate to
certain responsibilities for you if you distrib ute copies of the
library or if you modify it.
For example, if you dist ribute copies of the library, whether
gratis or for a fee, you must give the recipients all the rights
that we ga ve you. Y ou must make su re that they, too,
receive or c an get the source code. If you link other code
with the library, you must provide complete object files to
the recipients, so that the y can relink them wit h the library
after making changes to the library and recompiling it. And
you must show t hem these terms so they know the ir rights.
We protect your rights with a two -step method: ( 1) we
copyright the library, and (2 ) we offer y ou this licens e,
which gives you legal permissio n to copy, distribute and/or
modify the library .
To protect e ach distr ibutor, we w ant to make it very clear
that there is n o warranty for the free librar y. Also, if the
library is modifie d by someon e else and p assed on, the
recipients should kn ow that what they have is not th e
original version, so that the original author’s reputation will
not be affected by problems that might be introdu ced by
others.
Finally, software pate nts pose a co nstant threat to the
existence of any free program. We wish to make sure that a
company cannot effec tively restrict th e users of a free
program by obtaining a rest rictive license from a patent
holder. There fore, we insist that any patent license obtained
for a version of the library must be consistent with the full
freedom of use specified in this license.
Most GNU software, including some libraries, is cov ered by
the ordinary GN U General Pub lic License. This license, the
GNU Lesser Gene ral Public License , applies to certai n
designated libraries, and is quite different fr om the ordinary
General Pu blic License. We use this li cense for ce rtain
libraries in order to permit linking those libraries into non-
free programs .
When a program i s linked with a library , whether statically
or using a shared library, the combination of the two is
legally speaking a combined work, a derivative of the
original library. The ordi nary General Public License
therefore pe rmits such linking o nly if the entir e
combination fits its criteria of freedom. The 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 protec t the user’s freedom th an the
ordinary G eneral Pub lic Licens e. It also p rovides o ther free
software de velopers Less of an advantage over competing
non-free programs. These disadvantages are the reaso n we
use the ordi nary General Public License for many li braries.
However, th e Lesser l icense pr ovides a dvantages in certa in
special circumstances.
For example, on rar e occasions, there may be a speci al
need to encourage the w idest possible use of a certain
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 ca se is that a free library does the same
job as widely used non-free libraries. In this case, there is
little to gain by limiting the fr ee library to free softwa re only,
so we use the Lesser Ge neral Public Lic ense.
In other cases, permission to use a particular library in non-
free prog rams en ables a greater n umber o f people to use a
large body of free software. For example, permission to use
the GNU C Library in non-free progra ms enables ma ny
more people to use the whole G NU operating system, as
well as its variant, the GNU Linux operating system.
Although the Lesser General Public License is Less
protective of the users’ freedom, it does en sure that the
user of a program that is linked with the Library has the
freedom and the wher ewithal to run that program us ing a
modified ve rsion of th e Library.
The precise terms and conditions for copying, distribution
and modification follow. Pa y close attentio n to the
difference between a “work based on the libr ary” and a
“work that uses the library”. The former contains code
derived from the library, wherea s the latter must be
combined with the library in order to run.
TERMS AND CONDITIONS FOR COPYING,
DISTRIBUTION AND MODIFICATION
0. This Lice nse Agreemen t applies to an y software librar y or
other prog ram which cont ains a notice pla ced by the
copyright ho lder or other author ized party saying i t may
be distributed under the terms of this Lesser General
Public License (also called “this License”). Each licensee
is addressed as “you”.
A “library” means a colle ction of software functions an d/
or data prepared so as to be conveniently linked with
applicat ion progra ms (whic h use som e of those
functions and data) to form executables.
The “Library”, below, refers to any su ch software library or
work which has been distributed under thes e terms. A
“work based on the Library” means either the Library or
any derivat ive work under copyrigh t law: that is to say, a
work containing the Library or a portion of it, eit her
verbatim or with modifications and/or translated
straightforwardly into another langua ge. (Hereinafter,
translation is includ ed without limitation in the term
“modification”.)
“Source code” for a work me ans the preferred form of the
work for making m odifications to it. For a library,
complete so urce code m eans all the s ource code for all
modules it contains, plus any associated interface
definiti on files, plus the scripts used to c ontrol
compilation and installation of the library.
Activities other than copying, distribution and
modification are not cov ered by this License; they are
outside its scope. The act of running a program using the
Library i s not restricted, and output from such a program
is covered only if its contents cons titute a work based on
the Library ( independent of the us e of the Library in a too l
for writing it). Whether that is true depends on what th e
Library does and what the pro gram that uses the Library
does.
1. You may copy and distribute verbatim co pies of the
Library’s com plete sour ce code as you receive it, in any
medium, provid ed that you conspicuousl y and
appropriately publish on each copy an appropriate
copyright notice and disc laimer of warranty; keep intact
all the notices that refer to this License and to the
absence of any warrant y; and distribute a copy of this
License along with t he Library.
You may charge a fee for the 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 Li brary or any
portion of it, thus forming a work based on t he Library,
and copy and distribute such modifica tions or work
under the terms of S ection 1 above, provided th at you
also meet all of these condition s:
a) Th e modified work must itself be a software library.
b) You must cau se the fil es modif ied to car ry promin ent
notices stating that you changed the files and the date
of any change.
c) You must caus e the whole of th e work to be lice nsed at
no charge to all third parties under the terms of this
License.
d) If a facility in the modified Library refers to a funct ion
or a table of data to be supplied by an application
program that uses the facilit y, other than as a n
argument passed when the facility is invoked, then you
must make a good faith effort to e nsure that, in the
event an application does not supply such functi on or
table, the facility still operates, and performs whatever
part of its purpose r emains meaningful. (For example,
a function in a libr ary to compute square r oots has a
purpose that is entirely well-defined independent of
the applicati on. Therefore, Subse ction 2d requires t hat
any application-supplied function or table used by this
function must be optional: i f the applicati on does not
supply it, the square root function must still compute
square roots.)
These requirements apply to the modified work as a
w h o le . I f i de n t i fia bl e s ec t i o ns o f t ha t w o rk a r e n ot d e r iv e d
from the Library, and can be reasonably considered
independent and separat e works in themselve s, then this
License, and its terms, do not apply to those sections
when you distribute them as separa te works. But when
you distribute the same section s as part of a whole which
is a work based on the Library, the distribution of the
whole must be on th e terms of this License, whose
permissions for other licensees extend to the en tire
whole, and thus to eac h and every part regardless of who
wrote it.
Thus, it is not th e intent of th is section to claim rights or
contest y our rights to work written entire ly by you; rather,
the intent is to e xercise the r ight to con trol the
distribution of derivative or collective works based on the
Library.
In addition, mere aggregation of anot her work not based
on the Library with the Library (or with a work based on
the Library) on a volume of a storage or distribution
medium does not bring the other wo rk under the scope
of this L icense.
3. You may opt to apply the terms of th e ordinary GN U
General Public Li cense instead of this Li cense to a given
copy of the Library . To do this, you must alter all the
notices that refer to this License, so that they refer to the
ordinary GN U General Publi c License, versi on 2, instead
of to this Licens e. (If a newe r version than version 2 of th e
ordinary GN U General Publi c License has appeared, then
you can specify that version instead if you wish.) Do no t
make any other change in these notices.
Once this change is made in a given copy, it is
irreversib le for that copy, so the ordinary GNU Gener al
Public License applies to all subsequent copies and
derivative works m ade from th at copy. Th is option is
useful when you wish to copy part of the code of the
Library into a pro gram that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, u nder Section 2) in object c ode or
executable form und er the terms of Section s 1 and 2
above provided that you ac company it with the complete
corresponding machine-readable source code, which
must be distributed under the terms of Sections 1 and 2
320_YXJ5_IBD_NL.book Page 52 M onday, March 2, 2009 10: 13 AM