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