0N/AThe GNU General Public License (GPL)
0N/A
0N/AVersion 2, June 1991
0N/A
0N/ACopyright (C) 1989, 1991 Free Software Foundation, Inc.
0N/A59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0N/A
0N/AEveryone is permitted to copy and distribute verbatim copies of this license
0N/Adocument, but changing it is not allowed.
0N/A
0N/APreamble
0N/A
0N/AThe licenses for most software are designed to take away your freedom to share
0N/Aand change it. By contrast, the GNU General Public License is intended to
0N/Aguarantee your freedom to share and change free software--to make sure the
0N/Asoftware is free for all its users. This General Public License applies to
0N/Amost of the Free Software Foundation's software and to any other program whose
0N/Aauthors commit to using it. (Some other Free Software Foundation software is
0N/Acovered by the GNU Library General Public License instead.) You can apply it to
0N/Ayour programs, too.
0N/A
0N/AWhen we speak of free software, we are referring to freedom, not price. Our
0N/AGeneral Public Licenses are designed to make sure that you have the freedom to
0N/Adistribute copies of free software (and charge for this service if you wish),
0N/Athat you receive source code or can get it if you want it, that you can change
0N/Athe software or use pieces of it in new free programs; and that you know you
0N/Acan do these things.
0N/A
0N/ATo protect your rights, we need to make restrictions that forbid anyone to deny
0N/Ayou these rights or to ask you to surrender the rights. These restrictions
0N/Atranslate to certain responsibilities for you if you distribute copies of the
0N/Asoftware, or if you modify it.
0N/A
0N/AFor example, if you distribute copies of such a program, whether gratis or for
0N/Aa fee, you must give the recipients all the rights that you have. You must
0N/Amake sure that they, too, receive or can get the source code. And you must
0N/Ashow them these terms so they know their rights.
0N/A
0N/AWe protect your rights with two steps: (1) copyright the software, and (2)
0N/Aoffer you this license which gives you legal permission to copy, distribute
0N/Aand/or modify the software.
0N/A
0N/AAlso, for each author's protection and ours, we want to make certain that
0N/Aeveryone understands that there is no warranty for this free software. If the
0N/Asoftware is modified by someone else and passed on, we want its recipients to
0N/Aknow that what they have is not the original, so that any problems introduced
0N/Aby others will not reflect on the original authors' reputations.
0N/A
0N/AFinally, any free program is threatened constantly by software patents. We
0N/Awish to avoid the danger that redistributors of a free program will
0N/Aindividually obtain patent licenses, in effect making the program proprietary.
0N/ATo prevent this, we have made it clear that any patent must be licensed for
0N/Aeveryone's free use or not licensed at all.
0N/A
0N/AThe precise terms and conditions for copying, distribution and modification
0N/Afollow.
0N/A
0N/ATERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0N/A
0N/A0. This License applies to any program or other work which contains a notice
0N/Aplaced by the copyright holder saying it may be distributed under the terms of
0N/Athis General Public License. The "Program", below, refers to any such program
0N/Aor work, and a "work based on the Program" means either the Program or any
0N/Aderivative work under copyright law: that is to say, a work containing the
0N/AProgram or a portion of it, either verbatim or with modifications and/or
0N/Atranslated into another language. (Hereinafter, translation is included
0N/Awithout limitation in the term "modification".) Each licensee is addressed as
0N/A"you".
0N/A
0N/AActivities other than copying, distribution and modification are not covered by
0N/Athis License; they are outside its scope. The act of running the Program is
0N/Anot restricted, and the output from the Program is covered only if its contents
0N/Aconstitute a work based on the Program (independent of having been made by
0N/Arunning the Program). Whether that is true depends on what the Program does.
0N/A
0N/A1. You may copy and distribute verbatim copies of the Program's source code as
0N/Ayou receive it, in any medium, provided that you conspicuously and
0N/Aappropriately publish on each copy an appropriate copyright notice and
0N/Adisclaimer of warranty; keep intact all the notices that refer to this License
0N/Aand to the absence of any warranty; and give any other recipients of the
0N/AProgram a copy of this License along with the Program.
0N/A
0N/AYou may charge a fee for the physical act of transferring a copy, and you may
0N/Aat your option offer warranty protection in exchange for a fee.
0N/A
0N/A2. You may modify your copy or copies of the Program or any portion of it, thus
0N/Aforming a work based on the Program, and copy and distribute such modifications
0N/Aor work under the terms of Section 1 above, provided that you also meet all of
0N/Athese conditions:
0N/A
0N/A a) You must cause the modified files to carry prominent notices stating
0N/A that you changed the files and the date of any change.
0N/A
0N/A b) You must cause any work that you distribute or publish, that in whole or
0N/A in part contains or is derived from the Program or any part thereof, to be
0N/A licensed as a whole at no charge to all third parties under the terms of
0N/A this License.
0N/A
0N/A c) If the modified program normally reads commands interactively when run,
0N/A you must cause it, when started running for such interactive use in the
0N/A most ordinary way, to print or display an announcement including an
0N/A appropriate copyright notice and a notice that there is no warranty (or
0N/A else, saying that you provide a warranty) and that users may redistribute
0N/A the program under these conditions, and telling the user how to view a copy
0N/A of this License. (Exception: if the Program itself is interactive but does
0N/A not normally print such an announcement, your work based on the Program is
0N/A not required to print an announcement.)
0N/A
0N/AThese requirements apply to the modified work as a whole. If identifiable
0N/Asections of that work are not derived from the Program, and can be reasonably
0N/Aconsidered independent and separate works in themselves, then this License, and
0N/Aits terms, do not apply to those sections when you distribute them as separate
0N/Aworks. But when you distribute the same sections as part of a whole which is a
0N/Awork based on the Program, the distribution of the whole must be on the terms
0N/Aof this License, whose permissions for other licensees extend to the entire
0N/Awhole, and thus to each and every part regardless of who wrote it.
0N/A
0N/AThus, it is not the intent of this section to claim rights or contest your
0N/Arights to work written entirely by you; rather, the intent is to exercise the
0N/Aright to control the distribution of derivative or collective works based on
0N/Athe Program.
0N/A
0N/AIn addition, mere aggregation of another work not based on the Program with the
0N/AProgram (or with a work based on the Program) on a volume of a storage or
0N/Adistribution medium does not bring the other work under the scope of this
0N/ALicense.
0N/A
0N/A3. You may copy and distribute the Program (or a work based on it, under
0N/ASection 2) in object code or executable form under the terms of Sections 1 and
0N/A2 above provided that you also do one of the following:
0N/A
0N/A a) Accompany it with the complete corresponding machine-readable source
0N/A code, which must be distributed under the terms of Sections 1 and 2 above
0N/A on a medium customarily used for software interchange; or,
0N/A
0N/A b) Accompany it with a written offer, valid for at least three years, to
0N/A give any third party, for a charge no more than your cost of physically
0N/A performing source distribution, a complete machine-readable copy of the
0N/A corresponding source code, to be distributed under the terms of Sections 1
0N/A and 2 above on a medium customarily used for software interchange; or,
0N/A
0N/A c) Accompany it with the information you received as to the offer to
0N/A distribute corresponding source code. (This alternative is allowed only
0N/A for noncommercial distribution and only if you received the program in
0N/A object code or executable form with such an offer, in accord with
0N/A Subsection b above.)
0N/A
0N/AThe source code for a work means the preferred form of the work for making
0N/Amodifications to it. For an executable work, complete source code means all
0N/Athe source code for all modules it contains, plus any associated interface
0N/Adefinition files, plus the scripts used to control compilation and installation
0N/Aof the executable. However, as a special exception, the source code
0N/Adistributed need not include anything that is normally distributed (in either
0N/Asource or binary form) with the major components (compiler, kernel, and so on)
0N/Aof the operating system on which the executable runs, unless that component
0N/Aitself accompanies the executable.
0N/A
0N/AIf distribution of executable or object code is made by offering access to copy
0N/Afrom a designated place, then offering equivalent access to copy the source
0N/Acode from the same place counts as distribution of the source code, even though
0N/Athird parties are not compelled to copy the source along with the object code.
0N/A
0N/A4. You may not copy, modify, sublicense, or distribute the Program except as
0N/Aexpressly provided under this License. Any attempt otherwise to copy, modify,
0N/Asublicense or distribute the Program is void, and will automatically terminate
0N/Ayour rights under this License. However, parties who have received copies, or
0N/Arights, from you under this License will not have their licenses terminated so
0N/Along as such parties remain in full compliance.
0N/A
0N/A5. You are not required to accept this License, since you have not signed it.
0N/AHowever, nothing else grants you permission to modify or distribute the Program
0N/Aor its derivative works. These actions are prohibited by law if you do not
0N/Aaccept this License. Therefore, by modifying or distributing the Program (or
0N/Aany work based on the Program), you indicate your acceptance of this License to
0N/Ado so, and all its terms and conditions for copying, distributing or modifying
0N/Athe Program or works based on it.
0N/A
0N/A6. Each time you redistribute the Program (or any work based on the Program),
0N/Athe recipient automatically receives a license from the original licensor to
0N/Acopy, distribute or modify the Program subject to these terms and conditions.
0N/AYou may not impose any further restrictions on the recipients' exercise of the
0N/Arights granted herein. You are not responsible for enforcing compliance by
0N/Athird parties to this License.
0N/A
0N/A7. If, as a consequence of a court judgment or allegation of patent
0N/Ainfringement or for any other reason (not limited to patent issues), conditions
0N/Aare imposed on you (whether by court order, agreement or otherwise) that
0N/Acontradict the conditions of this License, they do not excuse you from the
0N/Aconditions of this License. If you cannot distribute so as to satisfy
0N/Asimultaneously your obligations under this License and any other pertinent
0N/Aobligations, then as a consequence you may not distribute the Program at all.
0N/AFor example, if a patent license would not permit royalty-free redistribution
0N/Aof the Program by all those who receive copies directly or indirectly through
0N/Ayou, then the only way you could satisfy both it and this License would be to
0N/Arefrain entirely from distribution of the Program.
0N/A
0N/AIf any portion of this section is held invalid or unenforceable under any
0N/Aparticular circumstance, the balance of the section is intended to apply and
0N/Athe section as a whole is intended to apply in other circumstances.
0N/A
0N/AIt is not the purpose of this section to induce you to infringe any patents or
0N/Aother property right claims or to contest validity of any such claims; this
0N/Asection has the sole purpose of protecting the integrity of the free software
0N/Adistribution system, which is implemented by public license practices. Many
0N/Apeople have made generous contributions to the wide range of software
0N/Adistributed through that system in reliance on consistent application of that
0N/Asystem; it is up to the author/donor to decide if he or she is willing to
0N/Adistribute software through any other system and a licensee cannot impose that
0N/Achoice.
0N/A
0N/AThis section is intended to make thoroughly clear what is believed to be a
0N/Aconsequence of the rest of this License.
0N/A
0N/A8. If the distribution and/or use of the Program is restricted in certain
0N/Acountries either by patents or by copyrighted interfaces, the original
0N/Acopyright holder who places the Program under this License may add an explicit
0N/Ageographical distribution limitation excluding those countries, so that
0N/Adistribution is permitted only in or among countries not thus excluded. In
0N/Asuch case, this License incorporates the limitation as if written in the body
0N/Aof this License.
0N/A
0N/A9. The Free Software Foundation may publish revised and/or new versions of the
0N/AGeneral Public License from time to time. Such new versions will be similar in
0N/Aspirit to the present version, but may differ in detail to address new problems
0N/Aor concerns.
0N/A
0N/AEach version is given a distinguishing version number. If the Program
0N/Aspecifies a version number of this License which applies to it and "any later
0N/Aversion", you have the option of following the terms and conditions either of
0N/Athat version or of any later version published by the Free Software Foundation.
0N/AIf the Program does not specify a version number of this License, you may
0N/Achoose any version ever published by the Free Software Foundation.
0N/A
0N/A10. If you wish to incorporate parts of the Program into other free programs
0N/Awhose distribution conditions are different, write to the author to ask for
0N/Apermission. For software which is copyrighted by the Free Software Foundation,
0N/Awrite to the Free Software Foundation; we sometimes make exceptions for this.
0N/AOur decision will be guided by the two goals of preserving the free status of
0N/Aall derivatives of our free software and of promoting the sharing and reuse of
0N/Asoftware generally.
0N/A
0N/ANO WARRANTY
0N/A
0N/A11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
0N/ATHE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
0N/ASTATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
0N/APROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
0N/AINCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
0N/AFITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
0N/APERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
0N/AYOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
0N/A
0N/A12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
0N/AANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE
0N/APROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
0N/AGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
0N/AINABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
0N/ABEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
0N/AFAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
0N/AOR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
0N/A
0N/AEND OF TERMS AND CONDITIONS
0N/A
0N/AHow to Apply These Terms to Your New Programs
0N/A
0N/AIf you develop a new program, and you want it to be of the greatest possible
0N/Ause to the public, the best way to achieve this is to make it free software
0N/Awhich everyone can redistribute and change under these terms.
0N/A
0N/ATo do so, attach the following notices to the program. It is safest to attach
0N/Athem to the start of each source file to most effectively convey the exclusion
0N/Aof warranty; and each file should have at least the "copyright" line and a
0N/Apointer to where the full notice is found.
0N/A
0N/A One line to give the program's name and a brief idea of what it does.
0N/A
0N/A Copyright (C) <year> <name of author>
0N/A
0N/A This program is free software; you can redistribute it and/or modify it
0N/A under the terms of the GNU General Public License as published by the Free
0N/A Software Foundation; either version 2 of the License, or (at your option)
0N/A any later version.
0N/A
0N/A This program is distributed in the hope that it will be useful, but WITHOUT
0N/A ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
0N/A more details.
0N/A
0N/A You should have received a copy of the GNU General Public License along
0N/A with this program; if not, write to the Free Software Foundation, Inc., 59
0N/A Temple Place, Suite 330, Boston, MA 02111-1307 USA
0N/A
0N/AAlso add information on how to contact you by electronic and paper mail.
0N/A
0N/AIf the program is interactive, make it output a short notice like this when it
0N/Astarts in an interactive mode:
0N/A
0N/A Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
0N/A with ABSOLUTELY NO WARRANTY; for details type 'show w'. This is free
0N/A software, and you are welcome to redistribute it under certain conditions;
0N/A type 'show c' for details.
0N/A
0N/AThe hypothetical commands 'show w' and 'show c' should show the appropriate
0N/Aparts of the General Public License. Of course, the commands you use may be
0N/Acalled something other than 'show w' and 'show c'; they could even be
0N/Amouse-clicks or menu items--whatever suits your program.
0N/A
0N/AYou should also get your employer (if you work as a programmer) or your school,
0N/Aif any, to sign a "copyright disclaimer" for the program, if necessary. Here
0N/Ais a sample; alter the names:
0N/A
0N/A Yoyodyne, Inc., hereby disclaims all copyright interest in the program
0N/A 'Gnomovision' (which makes passes at compilers) written by James Hacker.
0N/A
0N/A signature of Ty Coon, 1 April 1989
0N/A
0N/A Ty Coon, President of Vice
0N/A
0N/AThis General Public License does not permit incorporating your program into
0N/Aproprietary programs. If your program is a subroutine library, you may
0N/Aconsider it more useful to permit linking proprietary applications with the
0N/Alibrary. If this is what you want to do, use the GNU Library General Public
0N/ALicense instead of this License.
0N/A
0N/A
0N/A"CLASSPATH" EXCEPTION TO THE GPL
0N/A
3523N/ACertain source files distributed by Oracle America and/or its affiliates are
3523N/Asubject to the following clarification and special exception to the GPL, but
3523N/Aonly where Oracle has expressly included in the particular source file's header
3523N/Athe words "Oracle designates this particular file as subject to the "Classpath"
3523N/Aexception as provided by Oracle in the LICENSE file that accompanied this code."
0N/A
0N/A Linking this library statically or dynamically with other modules is making
0N/A a combined work based on this library. Thus, the terms and conditions of
0N/A the GNU General Public License cover the whole combination.
0N/A
0N/A As a special exception, the copyright holders of this library give you
0N/A permission to link this library with independent modules to produce an
0N/A executable, regardless of the license terms of these independent modules,
0N/A and to copy and distribute the resulting executable under terms of your
0N/A choice, provided that you also meet, for each linked independent module,
0N/A the terms and conditions of the license of that module. An independent
0N/A module is a module which is not derived from or based on this library. If
0N/A you modify this library, you may extend this exception to your version of
0N/A the library, but you are not obligated to do so. If you do not wish to do
0N/A so, delete this exception statement from your version.