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