2. You may modify your copy or copies of
3. You may copy and distribute the
the Program or any portion of it, thus
Program (or a work based on it, under
forming a work based on the Program,
Section 2) in object code or executable
and copy and distribute such
form under the terms of Sections 1 and
modifications or work under the terms
2 above provided that you also do one of
of Section 1 above, provided that you
the following:
also meet all of these conditions:
a) Accompany it with the complete
a) You must cause the modified files to
corresponding machine-readable
carry prominent notices stating that
source code, which must be
you changed the files and the date of
distributed under the terms of
any change.
Sections 1 and 2 above on a medium
b)You must cause any work that you
customarily used for software
interchange; or,
distribute or publish, that in whole or
in part contains or is derived from the
b)Accompany it with a written offer,
Program or any part thereof, to be
valid for at least three years, to give
licensed as a whole at no charge to all
any third party, for a charge no more
third parties under the terms of this
than your cost of physically
License.
performing source distribution, a
complete machine-readable copy of
c) If the modified program normally
the corresponding source code, to be
reads commands interactively when
distributed under the terms of
run, you must cause it, when started
Sections 1 and 2 above on a medium
running for such interactive use in
customarily used for software
the most ordinary way, to print or
interchange; or,
display an announcement including
an appropriate copyright notice and a
c) Accompany it with the information
notice that there is no warranty (or
you received as to the offer to
else, saying that you provide a
distribute corresponding source
warranty) and that users may
code. (This alternative is allowed only
redistribute the program under these
for noncommercial distribution and
conditions, and telling the user how
only if you received the program in
to view a copy of this License.
object code or executable form with
(Exception: if the Program itself is
such an offer, in accord with
interactive but does not normally
Subsection b above.)
print such an announcement, your
The source code for a work means the
work based on the Program is not
preferred form of the work for making
required to print an announcement.)
modifications to it. For an executable
These requirements apply to the
work, complete source code means all
modified work as a whole. If identifiable
the source code for all modules it
sections of that work are not derived
contains, plus any associated interface
from the Program, and can be
definition files, plus the scripts used to
reasonably considered independent
control compilation and installation of
and separate works in themselves, then
the executable. However, as a special
this License, and its terms, do not apply
exception, the source code distributed
to those sections when you distribute
need not include anything that is
them as separate works. But when you
normally distributed (in either source or
distribute the same sections as part of a
binary form) with the major
whole which is a work based on the
components (compiler, kernel, and so
Program, the distribution of the whole
on) of the operating system on which
must be on the terms of this License,
the executable runs, unless that
whose permissions for other licensees
component itself accompanies the
extend to the entire whole, and thus to
executable.
each and every part regardless of who
If distribution of executable or object
wrote it.
code is made by offering access to copy
Thus, it is not the intent of this section to
from a designated place, then offering
claim rights or contest your rights to
equivalent access to copy the source
work written entirely by you; rather, the
code from the same place counts as
intent is to exercise the right to control
distribution of the source code, even
the distribution of derivative or
though third parties are not compelled
collective works based on the Program.
to copy the source along with the object
code.
In addition, mere aggregation of
another work not based on the Program
4. You may not copy, modify, sublicense,
with the Program (or with a work based
or distribute the Program except as
on the Program) on a volume of a
expressly provided under this License.
storage or distribution medium does
Any attempt otherwise to copy, modify,
not bring the other work under the
sublicense or distribute the Program is
scope of this License.
void, and will automatically terminate
your rights under this License.
made generous contributions to the
However, parties who have received
wide range of software distributed
copies, or rights, from you under this
through that system in reliance on
License will not have their licenses
consistent application of that system; it
terminated so long as such parties
is up to the author/donor to decide if he
remain in full compliance.
or she is willing to distribute software
through any other system and a
5. You are not required to accept this
licensee cannot impose that choice.
License, since you have not signed it.
However, nothing else grants you
This section is intended to make
permission to modify or distribute the
thoroughly clear what is believed to be a
Program or its derivative works. These
consequence of the rest of this License.
actions are prohibited by law if you do
8. If the distribution and/or use of the
not accept this License. Therefore, by
Program is restricted in certain
modifying or distributing the Program
countries either by patents or by
(or any work based on the Program),
copyrighted interfaces, the original
you indicate your acceptance of this
copyright holder who places the
License to do so, and all its terms and
Program under this License may add an
conditions for copying, distributing or
explicit geographical distribution
modifying the Program or works based
limitation excluding those countries, so
on it.
that distribution is permitted only in or
6. Each time you redistribute the Program
among countries not thus excluded. In
(or any work based on the Program), the
such case, this License incorporates
recipient automatically receives a
the limitation as if written in the body of
license from the original licensor to
this License.
copy, distribute or modify the Program
9. The Free Software Foundation may
subject to these terms and conditions.
publish revised and/or new versions of
You may not impose any further
the General Public License from time to
restrictions on the recipients' exercise
time. Such new versions will be similar
of the rights granted herein. You are not
in spirit to the present version, but may
responsible for enforcing compliance
differ in detail to address new problems
by third parties to this License.
or concerns.
7. If, as a consequence of a court
Each version is given a distinguishing
judgment or allegation of patent
version number. If the Program
infringement or for any other reason
specifies a version number of this
(not limited to patent issues),
License which applies to it and "any
conditions are imposed on you (whether
later version", you have the option of
by court order, agreement or otherwise)
following the terms and conditions
that contradict the conditions of this
either of that version or of any later
License, they do not excuse you from
version published by the Free Software
the conditions of this License. If you
Foundation. If the Program does not
cannot distribute so as to satisfy
specify a version number of this
simultaneously your obligations under
License, you may choose any version
this License and any other pertinent
ever published by the Free Software
obligations, then as a consequence you
Foundation.
may not distribute the Program at all.
10. If you wish to incorporate parts of the
For example, if a patent license would
Program into other free programs
not permit royalty-free redistribution of
whose distribution conditions are
the Program by all those who receive
different, write to the author to ask for
copies directly or indirectly through you,
permission. For software which is
then the only way you could satisfy both
copyrighted by the Free Software
it and this License would be to refrain
Foundation, write to the Free Software
entirely from distribution of the
Foundation; we sometimes make
Program.
exceptions for this. Our decision will be
If any portion of this section is held
guided by the two goals of preserving
invalid or unenforceable under any
the free status of all derivatives of our
particular circumstance, the balance of
free software and of promoting the
the section is intended to apply and the
sharing and reuse of software generally.
section as a whole is intended to apply
NO WARRANTY
in other circumstances.
11. BECAUSE THE PROGRAM IS
It is not the purpose of this section to
LICENSED FREE OF CHARGE, THERE
induce you to infringe any patents or
IS NO WARRANTY FOR THE
other property right claims or to contest
PROGRAM, TO THE EXTENT
validity of any such claims; this section
PERMITTED BY APPLICABLE LAW.
has the sole purpose of protecting the
EXCEPT WHEN OTHERWISE STATED
integrity of the free software distribution
IN WRITING THE COPYRIGHT
system, which is implemented by public
HOLDERS AND/OR OTHER PARTIES
license practices. Many people have
PROVIDE THE PROGRAM "AS IS"
This program is distributed in the hope that
WITHOUT WARRANTY OF ANY KIND,
it will be useful, but WITHOUT ANY
EITHER EXPRESSED OR IMPLIED,
WARRANTY; without even the implied
INCLUDING, BUT NOT LIMITED TO, THE
warranty of MERCHANTABILITY or FITNESS
IMPLIED WARRANTIES OF
FOR A PARTICULAR PURPOSE. See the
MERCHANTABILITY AND FITNESS FOR
GNU General Public License for more
A PARTICULAR PURPOSE. THE
details.
ENTIRE RISK AS TO THE QUALITY AND
You should have received a copy of the GNU
PERFORMANCE OF THE PROGRAM IS
General Public License
WITH YOU. SHOULD THE PROGRAM
along with this program; if not, write to the
PROVE DEFECTIVE, YOU ASSUME THE
Free Software Foundation, Inc., 51 Franklin
COST OF ALL NECESSARY SERVICING,
Street, Fifth Floor, Boston, MA 02110-1301,
REPAIR OR CORRECTION.
USA.
12. IN NO EVENT UNLESS REQUIRED BY
Also add information on how to contact you
APPLICABLE LAW OR AGREED TO IN
by electronic and paper mail.
WRITING WILL ANY COPYRIGHT
If the program is interactive, make it output
HOLDER, OR ANY OTHER PARTY WHO
a short notice like this when it starts in an
MAY MODIFY AND/OR REDISTRIBUTE
interactive mode:
THE PROGRAM AS PERMITTED
Gnomovision version 69, Copyright (C) year
ABOVE, BE LIABLE TO YOU FOR
name of author
DAMAGES, INCLUDING ANY
Gnomovision comes with ABSOLUTELY NO
GENERAL, SPECIAL, INCIDENTAL OR
WARRANTY; for details type 'show w'. This
CONSEQUENTIAL DAMAGES ARISING
is free software, and you are welcome to
OUT OF THE USE OR INABILITY TO USE
redistribute it under certain conditions;
THE PROGRAM (INCLUDING BUT NOT
type 'show c' for details.
LIMITED TO LOSS OF DATA OR DATA
The hypothetical commands 'show w' and
BEING RENDERED INACCURATE OR
'show c' should show the appropriate parts
LOSSES SUSTAINED BY YOU OR
of the General Public License. Of course,
THIRD PARTIES OR A FAILURE OF THE
the commands you use may be called
PROGRAM TO OPERATE WITH ANY
something other than 'show w' and 'show
OTHER PROGRAMS), EVEN IF SUCH
c'; they could even be mouse-clicks or
HOLDER OR OTHER PARTY HAS BEEN
menu items--whatever suits your program.
ADVISED OF THE POSSIBILITY OF
You should also get your employer (if you
SUCH DAMAGES.
work as a programmer) or your school, if
END OF TERMS AND
any, to sign a "copyright disclaimer" for the
CONDITIONS
program, if necessary. Here is a sample;
alter the names:
How to Apply These Terms to
Yoyodyne, Inc., hereby disclaims all
Your New Programs
copyright interest in the program
'Gnomovision' (which makes passes at
If you develop a new program, and you want
compilers) written by James Hacker.
it to be of the greatest possible use to the
signature of Ty Coon, 1 April 1989
public, the best way to achieve this is to
Ty Coon, President of Vice
make it free software which everyone can
redistribute and change under these terms.
This General Public License does not
permit incorporating your program into
To do so, attach the following notices to the
proprietary programs. If your program is a
program. It is safest to attach them to the
start of each source file to most effectively
subroutine library, you may consider it
more useful to permit linking proprietary
convey the exclusion of warranty; and each
applications with the library. If this is what
file should have at least the "copyright" line
and a pointer to where the full notice is
you want to do, use the GNU Lesser General
Public License instead of this License.
found.
one line to give the program's name and an
GNU LESSER GENERAL PUBLIC
idea of what it does.
LICENSE
Copyright (C) yyyy name of author
Version 2.1, February 1999
This program is free software; you can
Copyright (C) 1991, 1999 Free Software
redistribute it and/or modify it under the
Foundation, Inc.
terms of the GNU General Public License as
51 Franklin Street, Fifth Floor, Boston, MA
published by the Free Software Foundation;
02110-1301 USA
either version 2 of the License, or (at your
option) any later version.
Everyone is permitted to copy and distribute
verbatim copies of this license document,
but changing it is not allowed.