Blame Manual/Licenses/GPL.texi

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