121308Sache GNU GENERAL PUBLIC LICENSE 221308Sache Version 2, June 1991 321308Sache 421308Sache Copyright (C) 1989, 1991 Free Software Foundation, Inc. 558310Sache 59 Temple Place, Suite 330, Boston, MA 02111 USA 621308Sache Everyone is permitted to copy and distribute verbatim copies 721308Sache of this license document, but changing it is not allowed. 821308Sache 921308Sache Preamble 1021308Sache 1121308Sache The licenses for most software are designed to take away your 1221308Sachefreedom to share and change it. By contrast, the GNU General Public 1321308SacheLicense is intended to guarantee your freedom to share and change free 1421308Sachesoftware--to make sure the software is free for all its users. This 1521308SacheGeneral Public License applies to most of the Free Software 1621308SacheFoundation's software and to any other program whose authors commit to 1721308Sacheusing it. (Some other Free Software Foundation software is covered by 1821308Sachethe GNU Library General Public License instead.) You can apply it to 1921308Sacheyour programs, too. 2021308Sache 2121308Sache When we speak of free software, we are referring to freedom, not 2221308Sacheprice. Our General Public Licenses are designed to make sure that you 2321308Sachehave the freedom to distribute copies of free software (and charge for 2421308Sachethis service if you wish), that you receive source code or can get it 2521308Sacheif you want it, that you can change the software or use pieces of it 2621308Sachein new free programs; and that you know you can do these things. 2721308Sache 2821308Sache To protect your rights, we need to make restrictions that forbid 2921308Sacheanyone to deny you these rights or to ask you to surrender the rights. 3021308SacheThese restrictions translate to certain responsibilities for you if you 3121308Sachedistribute copies of the software, or if you modify it. 3221308Sache 3321308Sache For example, if you distribute copies of such a program, whether 3421308Sachegratis or for a fee, you must give the recipients all the rights that 3521308Sacheyou have. You must make sure that they, too, receive or can get the 3621308Sachesource code. And you must show them these terms so they know their 3721308Sacherights. 3821308Sache 3921308Sache We protect your rights with two steps: (1) copyright the software, and 4021308Sache(2) offer you this license which gives you legal permission to copy, 4121308Sachedistribute and/or modify the software. 4221308Sache 4321308Sache Also, for each author's protection and ours, we want to make certain 4421308Sachethat everyone understands that there is no warranty for this free 4521308Sachesoftware. If the software is modified by someone else and passed on, we 4621308Sachewant its recipients to know that what they have is not the original, so 4721308Sachethat any problems introduced by others will not reflect on the original 4821308Sacheauthors' reputations. 4921308Sache 5021308Sache Finally, any free program is threatened constantly by software 5121308Sachepatents. We wish to avoid the danger that redistributors of a free 5221308Sacheprogram will individually obtain patent licenses, in effect making the 5321308Sacheprogram proprietary. To prevent this, we have made it clear that any 5421308Sachepatent must be licensed for everyone's free use or not licensed at all. 5521308Sache 5621308Sache The precise terms and conditions for copying, distribution and 5721308Sachemodification follow. 5821308Sache 5921308Sache GNU GENERAL PUBLIC LICENSE 6021308Sache TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 6121308Sache 6221308Sache 0. This License applies to any program or other work which contains 6321308Sachea notice placed by the copyright holder saying it may be distributed 6421308Sacheunder the terms of this General Public License. The "Program", below, 6521308Sacherefers to any such program or work, and a "work based on the Program" 6621308Sachemeans either the Program or any derivative work under copyright law: 6721308Sachethat is to say, a work containing the Program or a portion of it, 6821308Sacheeither verbatim or with modifications and/or translated into another 6921308Sachelanguage. (Hereinafter, translation is included without limitation in 7021308Sachethe term "modification".) Each licensee is addressed as "you". 7121308Sache 7221308SacheActivities other than copying, distribution and modification are not 7321308Sachecovered by this License; they are outside its scope. The act of 7421308Sacherunning the Program is not restricted, and the output from the Program 7521308Sacheis covered only if its contents constitute a work based on the 7621308SacheProgram (independent of having been made by running the Program). 7721308SacheWhether that is true depends on what the Program does. 7821308Sache 7921308Sache 1. You may copy and distribute verbatim copies of the Program's 8021308Sachesource code as you receive it, in any medium, provided that you 8121308Sacheconspicuously and appropriately publish on each copy an appropriate 8221308Sachecopyright notice and disclaimer of warranty; keep intact all the 8321308Sachenotices that refer to this License and to the absence of any warranty; 8421308Sacheand give any other recipients of the Program a copy of this License 8521308Sachealong with the Program. 8621308Sache 8721308SacheYou may charge a fee for the physical act of transferring a copy, and 8821308Sacheyou may at your option offer warranty protection in exchange for a fee. 8921308Sache 9021308Sache 2. You may modify your copy or copies of the Program or any portion 9121308Sacheof it, thus forming a work based on the Program, and copy and 9221308Sachedistribute such modifications or work under the terms of Section 1 9321308Sacheabove, provided that you also meet all of these conditions: 9421308Sache 9521308Sache a) You must cause the modified files to carry prominent notices 9621308Sache stating that you changed the files and the date of any change. 9721308Sache 9821308Sache b) You must cause any work that you distribute or publish, that in 9921308Sache whole or in part contains or is derived from the Program or any 10021308Sache part thereof, to be licensed as a whole at no charge to all third 10121308Sache parties under the terms of this License. 10221308Sache 10321308Sache c) If the modified program normally reads commands interactively 10421308Sache when run, you must cause it, when started running for such 10521308Sache interactive use in the most ordinary way, to print or display an 10621308Sache announcement including an appropriate copyright notice and a 10721308Sache notice that there is no warranty (or else, saying that you provide 10821308Sache a warranty) and that users may redistribute the program under 10921308Sache these conditions, and telling the user how to view a copy of this 11021308Sache License. (Exception: if the Program itself is interactive but 11121308Sache does not normally print such an announcement, your work based on 11221308Sache the Program is not required to print an announcement.) 11321308Sache 11421308SacheThese requirements apply to the modified work as a whole. If 11521308Sacheidentifiable sections of that work are not derived from the Program, 11621308Sacheand can be reasonably considered independent and separate works in 11721308Sachethemselves, then this License, and its terms, do not apply to those 11821308Sachesections when you distribute them as separate works. But when you 11921308Sachedistribute the same sections as part of a whole which is a work based 12021308Sacheon the Program, the distribution of the whole must be on the terms of 12121308Sachethis License, whose permissions for other licensees extend to the 12221308Sacheentire whole, and thus to each and every part regardless of who wrote it. 12321308Sache 12421308SacheThus, it is not the intent of this section to claim rights or contest 12521308Sacheyour rights to work written entirely by you; rather, the intent is to 12621308Sacheexercise the right to control the distribution of derivative or 12721308Sachecollective works based on the Program. 12821308Sache 12921308SacheIn addition, mere aggregation of another work not based on the Program 13021308Sachewith the Program (or with a work based on the Program) on a volume of 13121308Sachea storage or distribution medium does not bring the other work under 13221308Sachethe scope of this License. 13321308Sache 13421308Sache 3. You may copy and distribute the Program (or a work based on it, 13521308Sacheunder Section 2) in object code or executable form under the terms of 13621308SacheSections 1 and 2 above provided that you also do one of the following: 13721308Sache 13821308Sache a) Accompany it with the complete corresponding machine-readable 13921308Sache source code, which must be distributed under the terms of Sections 14021308Sache 1 and 2 above on a medium customarily used for software interchange; or, 14121308Sache 14221308Sache b) Accompany it with a written offer, valid for at least three 14321308Sache years, to give any third party, for a charge no more than your 14421308Sache cost of physically performing source distribution, a complete 14521308Sache machine-readable copy of the corresponding source code, to be 14621308Sache distributed under the terms of Sections 1 and 2 above on a medium 14721308Sache customarily used for software interchange; or, 14821308Sache 14921308Sache c) Accompany it with the information you received as to the offer 15021308Sache to distribute corresponding source code. (This alternative is 15121308Sache allowed only for noncommercial distribution and only if you 15221308Sache received the program in object code or executable form with such 15321308Sache an offer, in accord with Subsection b above.) 15421308Sache 15521308SacheThe source code for a work means the preferred form of the work for 15621308Sachemaking modifications to it. For an executable work, complete source 15721308Sachecode means all the source code for all modules it contains, plus any 15821308Sacheassociated interface definition files, plus the scripts used to 15921308Sachecontrol compilation and installation of the executable. However, as a 16021308Sachespecial exception, the source code distributed need not include 16121308Sacheanything that is normally distributed (in either source or binary 16221308Sacheform) with the major components (compiler, kernel, and so on) of the 16321308Sacheoperating system on which the executable runs, unless that component 16421308Sacheitself accompanies the executable. 16521308Sache 16621308SacheIf distribution of executable or object code is made by offering 16721308Sacheaccess to copy from a designated place, then offering equivalent 16821308Sacheaccess to copy the source code from the same place counts as 16921308Sachedistribution of the source code, even though third parties are not 17021308Sachecompelled to copy the source along with the object code. 17121308Sache 17221308Sache 4. You may not copy, modify, sublicense, or distribute the Program 17321308Sacheexcept as expressly provided under this License. Any attempt 17421308Sacheotherwise to copy, modify, sublicense or distribute the Program is 17521308Sachevoid, and will automatically terminate your rights under this License. 17621308SacheHowever, parties who have received copies, or rights, from you under 17721308Sachethis License will not have their licenses terminated so long as such 17821308Sacheparties remain in full compliance. 17921308Sache 18021308Sache 5. You are not required to accept this License, since you have not 18121308Sachesigned it. However, nothing else grants you permission to modify or 18221308Sachedistribute the Program or its derivative works. These actions are 18321308Sacheprohibited by law if you do not accept this License. Therefore, by 18421308Sachemodifying or distributing the Program (or any work based on the 18521308SacheProgram), you indicate your acceptance of this License to do so, and 18621308Sacheall its terms and conditions for copying, distributing or modifying 18721308Sachethe Program or works based on it. 18821308Sache 18921308Sache 6. Each time you redistribute the Program (or any work based on the 19021308SacheProgram), the recipient automatically receives a license from the 19121308Sacheoriginal licensor to copy, distribute or modify the Program subject to 19221308Sachethese terms and conditions. You may not impose any further 19321308Sacherestrictions on the recipients' exercise of the rights granted herein. 19421308SacheYou are not responsible for enforcing compliance by third parties to 19521308Sachethis License. 19621308Sache 19721308Sache 7. If, as a consequence of a court judgment or allegation of patent 19821308Sacheinfringement or for any other reason (not limited to patent issues), 19921308Sacheconditions are imposed on you (whether by court order, agreement or 20021308Sacheotherwise) that contradict the conditions of this License, they do not 20121308Sacheexcuse you from the conditions of this License. If you cannot 20221308Sachedistribute so as to satisfy simultaneously your obligations under this 20321308SacheLicense and any other pertinent obligations, then as a consequence you 20421308Sachemay not distribute the Program at all. For example, if a patent 20521308Sachelicense would not permit royalty-free redistribution of the Program by 20621308Sacheall those who receive copies directly or indirectly through you, then 20721308Sachethe only way you could satisfy both it and this License would be to 20821308Sacherefrain entirely from distribution of the Program. 20921308Sache 21021308SacheIf any portion of this section is held invalid or unenforceable under 21121308Sacheany particular circumstance, the balance of the section is intended to 21221308Sacheapply and the section as a whole is intended to apply in other 21321308Sachecircumstances. 21421308Sache 21521308SacheIt is not the purpose of this section to induce you to infringe any 21621308Sachepatents or other property right claims or to contest validity of any 21721308Sachesuch claims; this section has the sole purpose of protecting the 21821308Sacheintegrity of the free software distribution system, which is 21921308Sacheimplemented by public license practices. Many people have made 22021308Sachegenerous contributions to the wide range of software distributed 22121308Sachethrough that system in reliance on consistent application of that 22221308Sachesystem; it is up to the author/donor to decide if he or she is willing 22321308Sacheto distribute software through any other system and a licensee cannot 22421308Sacheimpose that choice. 22521308Sache 22621308SacheThis section is intended to make thoroughly clear what is believed to 22721308Sachebe a consequence of the rest of this License. 22821308Sache 22921308Sache 8. If the distribution and/or use of the Program is restricted in 23021308Sachecertain countries either by patents or by copyrighted interfaces, the 23121308Sacheoriginal copyright holder who places the Program under this License 23221308Sachemay add an explicit geographical distribution limitation excluding 23321308Sachethose countries, so that distribution is permitted only in or among 23421308Sachecountries not thus excluded. In such case, this License incorporates 23521308Sachethe limitation as if written in the body of this License. 23621308Sache 23721308Sache 9. The Free Software Foundation may publish revised and/or new versions 23821308Sacheof the General Public License from time to time. Such new versions will 23921308Sachebe similar in spirit to the present version, but may differ in detail to 24021308Sacheaddress new problems or concerns. 24121308Sache 24221308SacheEach version is given a distinguishing version number. If the Program 24321308Sachespecifies a version number of this License which applies to it and "any 24421308Sachelater version", you have the option of following the terms and conditions 24521308Sacheeither of that version or of any later version published by the Free 24621308SacheSoftware Foundation. If the Program does not specify a version number of 24721308Sachethis License, you may choose any version ever published by the Free Software 24821308SacheFoundation. 24921308Sache 25021308Sache 10. If you wish to incorporate parts of the Program into other free 25121308Sacheprograms whose distribution conditions are different, write to the author 25221308Sacheto ask for permission. For software which is copyrighted by the Free 25321308SacheSoftware Foundation, write to the Free Software Foundation; we sometimes 25421308Sachemake exceptions for this. Our decision will be guided by the two goals 25521308Sacheof preserving the free status of all derivatives of our free software and 25621308Sacheof promoting the sharing and reuse of software generally. 25721308Sache 25821308Sache NO WARRANTY 25921308Sache 26021308Sache 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 26121308SacheFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 26221308SacheOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 26321308SachePROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 26421308SacheOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 26521308SacheMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 26621308SacheTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 26721308SachePROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 26821308SacheREPAIR OR CORRECTION. 26921308Sache 27021308Sache 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 27121308SacheWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 27221308SacheREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 27321308SacheINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 27421308SacheOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 27521308SacheTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 27621308SacheYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 27721308SachePROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 27821308SachePOSSIBILITY OF SUCH DAMAGES. 27921308Sache 28021308Sache END OF TERMS AND CONDITIONS 28121308Sache 28221308Sache Appendix: How to Apply These Terms to Your New Programs 28321308Sache 28421308Sache If you develop a new program, and you want it to be of the greatest 28521308Sachepossible use to the public, the best way to achieve this is to make it 28621308Sachefree software which everyone can redistribute and change under these terms. 28721308Sache 28821308Sache To do so, attach the following notices to the program. It is safest 28921308Sacheto attach them to the start of each source file to most effectively 29021308Sacheconvey the exclusion of warranty; and each file should have at least 29121308Sachethe "copyright" line and a pointer to where the full notice is found. 29221308Sache 29321308Sache <one line to give the program's name and a brief idea of what it does.> 29421308Sache Copyright (C) 19yy <name of author> 29521308Sache 29621308Sache This program is free software; you can redistribute it and/or modify 29721308Sache it under the terms of the GNU General Public License as published by 29821308Sache the Free Software Foundation; either version 2 of the License, or 29921308Sache (at your option) any later version. 30021308Sache 30121308Sache This program is distributed in the hope that it will be useful, 30221308Sache but WITHOUT ANY WARRANTY; without even the implied warranty of 30321308Sache MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30421308Sache GNU General Public License for more details. 30521308Sache 30621308Sache You should have received a copy of the GNU General Public License 30721308Sache along with this program; if not, write to the Free Software 30858310Sache Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 30921308Sache 31021308SacheAlso add information on how to contact you by electronic and paper mail. 31121308Sache 31221308SacheIf the program is interactive, make it output a short notice like this 31321308Sachewhen it starts in an interactive mode: 31421308Sache 31521308Sache Gnomovision version 69, Copyright (C) 19yy name of author 31621308Sache Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 31721308Sache This is free software, and you are welcome to redistribute it 31821308Sache under certain conditions; type `show c' for details. 31921308Sache 32021308SacheThe hypothetical commands `show w' and `show c' should show the appropriate 32121308Sacheparts of the General Public License. Of course, the commands you use may 32221308Sachebe called something other than `show w' and `show c'; they could even be 32321308Sachemouse-clicks or menu items--whatever suits your program. 32421308Sache 32521308SacheYou should also get your employer (if you work as a programmer) or your 32621308Sacheschool, if any, to sign a "copyright disclaimer" for the program, if 32721308Sachenecessary. Here is a sample; alter the names: 32821308Sache 32921308Sache Yoyodyne, Inc., hereby disclaims all copyright interest in the program 33021308Sache `Gnomovision' (which makes passes at compilers) written by James Hacker. 33121308Sache 33221308Sache <signature of Ty Coon>, 1 April 1989 33321308Sache Ty Coon, President of Vice 33421308Sache 33521308SacheThis General Public License does not permit incorporating your program into 33621308Sacheproprietary programs. If your program is a subroutine library, you may 33721308Sacheconsider it more useful to permit linking proprietary applications with the 33821308Sachelibrary. If this is what you want to do, use the GNU Library General 33921308SachePublic License instead of this License. 340