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