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