118334Speter GNU GENERAL PUBLIC LICENSE 218334Speter Version 2, June 1991 318334Speter 418334Speter Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5169689Skan 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 618334Speter Everyone is permitted to copy and distribute verbatim copies 718334Speter of this license document, but changing it is not allowed. 818334Speter 918334Speter Preamble 1018334Speter 1118334Speter The licenses for most software are designed to take away your 1218334Speterfreedom to share and change it. By contrast, the GNU General Public 1318334SpeterLicense is intended to guarantee your freedom to share and change free 1418334Spetersoftware--to make sure the software is free for all its users. This 1518334SpeterGeneral Public License applies to most of the Free Software 1618334SpeterFoundation's software and to any other program whose authors commit to 1718334Speterusing it. (Some other Free Software Foundation software is covered by 1818334Speterthe GNU Library General Public License instead.) You can apply it to 1918334Speteryour programs, too. 2018334Speter 2118334Speter When we speak of free software, we are referring to freedom, not 2218334Speterprice. Our General Public Licenses are designed to make sure that you 2318334Speterhave the freedom to distribute copies of free software (and charge for 2418334Speterthis service if you wish), that you receive source code or can get it 2518334Speterif you want it, that you can change the software or use pieces of it 2618334Speterin new free programs; and that you know you can do these things. 2718334Speter 2818334Speter To protect your rights, we need to make restrictions that forbid 2918334Speteranyone to deny you these rights or to ask you to surrender the rights. 3018334SpeterThese restrictions translate to certain responsibilities for you if you 3118334Speterdistribute copies of the software, or if you modify it. 3218334Speter 3318334Speter For example, if you distribute copies of such a program, whether 3418334Spetergratis or for a fee, you must give the recipients all the rights that 3518334Speteryou have. You must make sure that they, too, receive or can get the 3618334Spetersource code. And you must show them these terms so they know their 3718334Speterrights. 3818334Speter 3918334Speter We protect your rights with two steps: (1) copyright the software, and 4018334Speter(2) offer you this license which gives you legal permission to copy, 4118334Speterdistribute and/or modify the software. 4218334Speter 4318334Speter Also, for each author's protection and ours, we want to make certain 4418334Speterthat everyone understands that there is no warranty for this free 4518334Spetersoftware. If the software is modified by someone else and passed on, we 4618334Speterwant its recipients to know that what they have is not the original, so 4718334Speterthat any problems introduced by others will not reflect on the original 4818334Speterauthors' reputations. 4918334Speter 5018334Speter Finally, any free program is threatened constantly by software 5118334Speterpatents. We wish to avoid the danger that redistributors of a free 5218334Speterprogram will individually obtain patent licenses, in effect making the 5318334Speterprogram proprietary. To prevent this, we have made it clear that any 5418334Speterpatent must be licensed for everyone's free use or not licensed at all. 5518334Speter 5618334Speter The precise terms and conditions for copying, distribution and 5718334Spetermodification follow. 5818334Speter 5918334Speter GNU GENERAL PUBLIC LICENSE 6018334Speter TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 6118334Speter 6218334Speter 0. This License applies to any program or other work which contains 6318334Spetera notice placed by the copyright holder saying it may be distributed 6418334Speterunder the terms of this General Public License. The "Program", below, 6518334Speterrefers to any such program or work, and a "work based on the Program" 6618334Spetermeans either the Program or any derivative work under copyright law: 6718334Speterthat is to say, a work containing the Program or a portion of it, 6818334Spetereither verbatim or with modifications and/or translated into another 6918334Speterlanguage. (Hereinafter, translation is included without limitation in 7018334Speterthe term "modification".) Each licensee is addressed as "you". 7118334Speter 7218334SpeterActivities other than copying, distribution and modification are not 7318334Spetercovered by this License; they are outside its scope. The act of 7418334Speterrunning the Program is not restricted, and the output from the Program 7518334Speteris covered only if its contents constitute a work based on the 7618334SpeterProgram (independent of having been made by running the Program). 7718334SpeterWhether that is true depends on what the Program does. 7818334Speter 7918334Speter 1. You may copy and distribute verbatim copies of the Program's 8018334Spetersource code as you receive it, in any medium, provided that you 8118334Speterconspicuously and appropriately publish on each copy an appropriate 8218334Spetercopyright notice and disclaimer of warranty; keep intact all the 8318334Speternotices that refer to this License and to the absence of any warranty; 8418334Speterand give any other recipients of the Program a copy of this License 8518334Speteralong with the Program. 8618334Speter 8718334SpeterYou may charge a fee for the physical act of transferring a copy, and 8818334Speteryou may at your option offer warranty protection in exchange for a fee. 8918334Speter 9018334Speter 2. You may modify your copy or copies of the Program or any portion 9118334Speterof it, thus forming a work based on the Program, and copy and 9218334Speterdistribute such modifications or work under the terms of Section 1 9318334Speterabove, provided that you also meet all of these conditions: 9418334Speter 9518334Speter a) You must cause the modified files to carry prominent notices 9618334Speter stating that you changed the files and the date of any change. 9718334Speter 9818334Speter b) You must cause any work that you distribute or publish, that in 9918334Speter whole or in part contains or is derived from the Program or any 10018334Speter part thereof, to be licensed as a whole at no charge to all third 10118334Speter parties under the terms of this License. 10218334Speter 10318334Speter c) If the modified program normally reads commands interactively 10418334Speter when run, you must cause it, when started running for such 10518334Speter interactive use in the most ordinary way, to print or display an 10618334Speter announcement including an appropriate copyright notice and a 10718334Speter notice that there is no warranty (or else, saying that you provide 10818334Speter a warranty) and that users may redistribute the program under 10918334Speter these conditions, and telling the user how to view a copy of this 11018334Speter License. (Exception: if the Program itself is interactive but 11118334Speter does not normally print such an announcement, your work based on 11218334Speter the Program is not required to print an announcement.) 11318334Speter 11418334SpeterThese requirements apply to the modified work as a whole. If 11518334Speteridentifiable sections of that work are not derived from the Program, 11618334Speterand can be reasonably considered independent and separate works in 11718334Speterthemselves, then this License, and its terms, do not apply to those 11818334Spetersections when you distribute them as separate works. But when you 11918334Speterdistribute the same sections as part of a whole which is a work based 12018334Speteron the Program, the distribution of the whole must be on the terms of 12118334Speterthis License, whose permissions for other licensees extend to the 12218334Speterentire whole, and thus to each and every part regardless of who wrote it. 12318334Speter 12418334SpeterThus, it is not the intent of this section to claim rights or contest 12518334Speteryour rights to work written entirely by you; rather, the intent is to 12618334Speterexercise the right to control the distribution of derivative or 12718334Spetercollective works based on the Program. 12818334Speter 12918334SpeterIn addition, mere aggregation of another work not based on the Program 13018334Speterwith the Program (or with a work based on the Program) on a volume of 13118334Spetera storage or distribution medium does not bring the other work under 13218334Speterthe scope of this License. 13318334Speter 13418334Speter 3. You may copy and distribute the Program (or a work based on it, 13518334Speterunder Section 2) in object code or executable form under the terms of 13618334SpeterSections 1 and 2 above provided that you also do one of the following: 13718334Speter 13818334Speter a) Accompany it with the complete corresponding machine-readable 13918334Speter source code, which must be distributed under the terms of Sections 14018334Speter 1 and 2 above on a medium customarily used for software interchange; or, 14118334Speter 14218334Speter b) Accompany it with a written offer, valid for at least three 14318334Speter years, to give any third party, for a charge no more than your 14418334Speter cost of physically performing source distribution, a complete 14518334Speter machine-readable copy of the corresponding source code, to be 14618334Speter distributed under the terms of Sections 1 and 2 above on a medium 14718334Speter customarily used for software interchange; or, 14818334Speter 14918334Speter c) Accompany it with the information you received as to the offer 15018334Speter to distribute corresponding source code. (This alternative is 15118334Speter allowed only for noncommercial distribution and only if you 15218334Speter received the program in object code or executable form with such 15318334Speter an offer, in accord with Subsection b above.) 15418334Speter 15518334SpeterThe source code for a work means the preferred form of the work for 15618334Spetermaking modifications to it. For an executable work, complete source 15718334Spetercode means all the source code for all modules it contains, plus any 15818334Speterassociated interface definition files, plus the scripts used to 15918334Spetercontrol compilation and installation of the executable. However, as a 16018334Speterspecial exception, the source code distributed need not include 16118334Speteranything that is normally distributed (in either source or binary 16218334Speterform) with the major components (compiler, kernel, and so on) of the 16318334Speteroperating system on which the executable runs, unless that component 16418334Speteritself accompanies the executable. 16518334Speter 16618334SpeterIf distribution of executable or object code is made by offering 16718334Speteraccess to copy from a designated place, then offering equivalent 16818334Speteraccess to copy the source code from the same place counts as 16918334Speterdistribution of the source code, even though third parties are not 17018334Spetercompelled to copy the source along with the object code. 17118334Speter 17218334Speter 4. You may not copy, modify, sublicense, or distribute the Program 17318334Speterexcept as expressly provided under this License. Any attempt 17418334Speterotherwise to copy, modify, sublicense or distribute the Program is 17518334Spetervoid, and will automatically terminate your rights under this License. 17618334SpeterHowever, parties who have received copies, or rights, from you under 17718334Speterthis License will not have their licenses terminated so long as such 17818334Speterparties remain in full compliance. 17918334Speter 18018334Speter 5. You are not required to accept this License, since you have not 18118334Spetersigned it. However, nothing else grants you permission to modify or 18218334Speterdistribute the Program or its derivative works. These actions are 18318334Speterprohibited by law if you do not accept this License. Therefore, by 18418334Spetermodifying or distributing the Program (or any work based on the 18518334SpeterProgram), you indicate your acceptance of this License to do so, and 18618334Speterall its terms and conditions for copying, distributing or modifying 18718334Speterthe Program or works based on it. 18818334Speter 18918334Speter 6. Each time you redistribute the Program (or any work based on the 19018334SpeterProgram), the recipient automatically receives a license from the 19118334Speteroriginal licensor to copy, distribute or modify the Program subject to 19218334Speterthese terms and conditions. You may not impose any further 19318334Speterrestrictions on the recipients' exercise of the rights granted herein. 19418334SpeterYou are not responsible for enforcing compliance by third parties to 19518334Speterthis License. 19618334Speter 19718334Speter 7. If, as a consequence of a court judgment or allegation of patent 19818334Speterinfringement or for any other reason (not limited to patent issues), 19918334Speterconditions are imposed on you (whether by court order, agreement or 20018334Speterotherwise) that contradict the conditions of this License, they do not 20118334Speterexcuse you from the conditions of this License. If you cannot 20218334Speterdistribute so as to satisfy simultaneously your obligations under this 20318334SpeterLicense and any other pertinent obligations, then as a consequence you 20418334Spetermay not distribute the Program at all. For example, if a patent 20518334Speterlicense would not permit royalty-free redistribution of the Program by 20618334Speterall those who receive copies directly or indirectly through you, then 20718334Speterthe only way you could satisfy both it and this License would be to 20818334Speterrefrain entirely from distribution of the Program. 20918334Speter 21018334SpeterIf any portion of this section is held invalid or unenforceable under 21118334Speterany particular circumstance, the balance of the section is intended to 21218334Speterapply and the section as a whole is intended to apply in other 21318334Spetercircumstances. 21418334Speter 21518334SpeterIt is not the purpose of this section to induce you to infringe any 21618334Speterpatents or other property right claims or to contest validity of any 21718334Spetersuch claims; this section has the sole purpose of protecting the 21818334Speterintegrity of the free software distribution system, which is 21918334Speterimplemented by public license practices. Many people have made 22018334Spetergenerous contributions to the wide range of software distributed 22118334Speterthrough that system in reliance on consistent application of that 22218334Spetersystem; it is up to the author/donor to decide if he or she is willing 22318334Speterto distribute software through any other system and a licensee cannot 22418334Speterimpose that choice. 22518334Speter 22618334SpeterThis section is intended to make thoroughly clear what is believed to 22718334Speterbe a consequence of the rest of this License. 22818334Speter 22918334Speter 8. If the distribution and/or use of the Program is restricted in 23018334Spetercertain countries either by patents or by copyrighted interfaces, the 23118334Speteroriginal copyright holder who places the Program under this License 23218334Spetermay add an explicit geographical distribution limitation excluding 23318334Speterthose countries, so that distribution is permitted only in or among 23418334Spetercountries not thus excluded. In such case, this License incorporates 23518334Speterthe limitation as if written in the body of this License. 23618334Speter 23718334Speter 9. The Free Software Foundation may publish revised and/or new versions 23818334Speterof the General Public License from time to time. Such new versions will 23918334Speterbe similar in spirit to the present version, but may differ in detail to 24018334Speteraddress new problems or concerns. 24118334Speter 24218334SpeterEach version is given a distinguishing version number. If the Program 24318334Speterspecifies a version number of this License which applies to it and "any 24418334Speterlater version", you have the option of following the terms and conditions 24518334Spetereither of that version or of any later version published by the Free 24618334SpeterSoftware Foundation. If the Program does not specify a version number of 24718334Speterthis License, you may choose any version ever published by the Free Software 24818334SpeterFoundation. 24918334Speter 25018334Speter 10. If you wish to incorporate parts of the Program into other free 25118334Speterprograms whose distribution conditions are different, write to the author 25218334Speterto ask for permission. For software which is copyrighted by the Free 25318334SpeterSoftware Foundation, write to the Free Software Foundation; we sometimes 25418334Spetermake exceptions for this. Our decision will be guided by the two goals 25518334Speterof preserving the free status of all derivatives of our free software and 25618334Speterof promoting the sharing and reuse of software generally. 25718334Speter 25818334Speter NO WARRANTY 25918334Speter 26018334Speter 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 26118334SpeterFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 26218334SpeterOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 26318334SpeterPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 26418334SpeterOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 26518334SpeterMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 26618334SpeterTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 26718334SpeterPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 26818334SpeterREPAIR OR CORRECTION. 26918334Speter 27018334Speter 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 27118334SpeterWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 27218334SpeterREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 27318334SpeterINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 27418334SpeterOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 27518334SpeterTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 27618334SpeterYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 27718334SpeterPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 27818334SpeterPOSSIBILITY OF SUCH DAMAGES. 27918334Speter 28018334Speter END OF TERMS AND CONDITIONS 28118334Speter 28251848Sobrien How to Apply These Terms to Your New Programs 28318334Speter 28418334Speter If you develop a new program, and you want it to be of the greatest 28518334Speterpossible use to the public, the best way to achieve this is to make it 28618334Speterfree software which everyone can redistribute and change under these terms. 28718334Speter 28818334Speter To do so, attach the following notices to the program. It is safest 28918334Speterto attach them to the start of each source file to most effectively 29018334Speterconvey the exclusion of warranty; and each file should have at least 29118334Speterthe "copyright" line and a pointer to where the full notice is found. 29218334Speter 29318334Speter <one line to give the program's name and a brief idea of what it does.> 29490075Sobrien Copyright (C) <year> <name of author> 29518334Speter 29618334Speter This program is free software; you can redistribute it and/or modify 29718334Speter it under the terms of the GNU General Public License as published by 29818334Speter the Free Software Foundation; either version 2 of the License, or 29918334Speter (at your option) any later version. 30018334Speter 30118334Speter This program is distributed in the hope that it will be useful, 30218334Speter but WITHOUT ANY WARRANTY; without even the implied warranty of 30318334Speter MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30418334Speter GNU General Public License for more details. 30518334Speter 30618334Speter You should have received a copy of the GNU General Public License 30718334Speter along with this program; if not, write to the Free Software 308169689Skan Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 30918334Speter 31051848Sobrien 31118334SpeterAlso add information on how to contact you by electronic and paper mail. 31218334Speter 31318334SpeterIf the program is interactive, make it output a short notice like this 31418334Speterwhen it starts in an interactive mode: 31518334Speter 31690075Sobrien Gnomovision version 69, Copyright (C) year name of author 31718334Speter Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 31818334Speter This is free software, and you are welcome to redistribute it 31918334Speter under certain conditions; type `show c' for details. 32018334Speter 32118334SpeterThe hypothetical commands `show w' and `show c' should show the appropriate 32218334Speterparts of the General Public License. Of course, the commands you use may 32318334Speterbe called something other than `show w' and `show c'; they could even be 32418334Spetermouse-clicks or menu items--whatever suits your program. 32518334Speter 32618334SpeterYou should also get your employer (if you work as a programmer) or your 32718334Speterschool, if any, to sign a "copyright disclaimer" for the program, if 32818334Speternecessary. Here is a sample; alter the names: 32918334Speter 33018334Speter Yoyodyne, Inc., hereby disclaims all copyright interest in the program 33118334Speter `Gnomovision' (which makes passes at compilers) written by James Hacker. 33218334Speter 33318334Speter <signature of Ty Coon>, 1 April 1989 33418334Speter Ty Coon, President of Vice 33518334Speter 33618334SpeterThis General Public License does not permit incorporating your program into 33718334Speterproprietary programs. If your program is a subroutine library, you may 33818334Speterconsider it more useful to permit linking proprietary applications with the 33918334Speterlibrary. If this is what you want to do, use the GNU Library General 34018334SpeterPublic License instead of this License. 341