130839Sache GNU GENERAL PUBLIC LICENSE 230839Sache Version 2, June 1991 330839Sache 430839Sache Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5170754Sdelphij 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 630839Sache Everyone is permitted to copy and distribute verbatim copies 730839Sache of this license document, but changing it is not allowed. 830839Sache 930839Sache Preamble 1030839Sache 1130839Sache The licenses for most software are designed to take away your 1230839Sachefreedom to share and change it. By contrast, the GNU General Public 1330839SacheLicense is intended to guarantee your freedom to share and change free 1430839Sachesoftware--to make sure the software is free for all its users. This 1530839SacheGeneral Public License applies to most of the Free Software 1630839SacheFoundation's software and to any other program whose authors commit to 1730839Sacheusing it. (Some other Free Software Foundation software is covered by 1830839Sachethe GNU Library General Public License instead.) You can apply it to 1930839Sacheyour programs, too. 2030839Sache 2130839Sache When we speak of free software, we are referring to freedom, not 2230839Sacheprice. Our General Public Licenses are designed to make sure that you 2330839Sachehave the freedom to distribute copies of free software (and charge for 2430839Sachethis service if you wish), that you receive source code or can get it 2530839Sacheif you want it, that you can change the software or use pieces of it 2630839Sachein new free programs; and that you know you can do these things. 2730839Sache 2830839Sache To protect your rights, we need to make restrictions that forbid 2930839Sacheanyone to deny you these rights or to ask you to surrender the rights. 3030839SacheThese restrictions translate to certain responsibilities for you if you 3130839Sachedistribute copies of the software, or if you modify it. 3230839Sache 3330839Sache For example, if you distribute copies of such a program, whether 3430839Sachegratis or for a fee, you must give the recipients all the rights that 3530839Sacheyou have. You must make sure that they, too, receive or can get the 3630839Sachesource code. And you must show them these terms so they know their 3730839Sacherights. 3830839Sache 3930839Sache We protect your rights with two steps: (1) copyright the software, and 4030839Sache(2) offer you this license which gives you legal permission to copy, 4130839Sachedistribute and/or modify the software. 4230839Sache 4330839Sache Also, for each author's protection and ours, we want to make certain 4430839Sachethat everyone understands that there is no warranty for this free 4530839Sachesoftware. If the software is modified by someone else and passed on, we 4630839Sachewant its recipients to know that what they have is not the original, so 4730839Sachethat any problems introduced by others will not reflect on the original 4830839Sacheauthors' reputations. 4930839Sache 5030839Sache Finally, any free program is threatened constantly by software 5130839Sachepatents. We wish to avoid the danger that redistributors of a free 5230839Sacheprogram will individually obtain patent licenses, in effect making the 5330839Sacheprogram proprietary. To prevent this, we have made it clear that any 5430839Sachepatent must be licensed for everyone's free use or not licensed at all. 5530839Sache 5630839Sache The precise terms and conditions for copying, distribution and 5730839Sachemodification follow. 5830839Sache 5930839Sache GNU GENERAL PUBLIC LICENSE 6030839Sache TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 6130839Sache 6230839Sache 0. This License applies to any program or other work which contains 6330839Sachea notice placed by the copyright holder saying it may be distributed 6430839Sacheunder the terms of this General Public License. The "Program", below, 6530839Sacherefers to any such program or work, and a "work based on the Program" 6630839Sachemeans either the Program or any derivative work under copyright law: 6730839Sachethat is to say, a work containing the Program or a portion of it, 6830839Sacheeither verbatim or with modifications and/or translated into another 6930839Sachelanguage. (Hereinafter, translation is included without limitation in 7030839Sachethe term "modification".) Each licensee is addressed as "you". 7130839Sache 7230839SacheActivities other than copying, distribution and modification are not 7330839Sachecovered by this License; they are outside its scope. The act of 7430839Sacherunning the Program is not restricted, and the output from the Program 7530839Sacheis covered only if its contents constitute a work based on the 7630839SacheProgram (independent of having been made by running the Program). 7730839SacheWhether that is true depends on what the Program does. 7830839Sache 7930839Sache 1. You may copy and distribute verbatim copies of the Program's 8030839Sachesource code as you receive it, in any medium, provided that you 8130839Sacheconspicuously and appropriately publish on each copy an appropriate 8230839Sachecopyright notice and disclaimer of warranty; keep intact all the 8330839Sachenotices that refer to this License and to the absence of any warranty; 8430839Sacheand give any other recipients of the Program a copy of this License 8530839Sachealong with the Program. 8630839Sache 8730839SacheYou may charge a fee for the physical act of transferring a copy, and 8830839Sacheyou may at your option offer warranty protection in exchange for a fee. 8930839Sache 9030839Sache 2. You may modify your copy or copies of the Program or any portion 9130839Sacheof it, thus forming a work based on the Program, and copy and 9230839Sachedistribute such modifications or work under the terms of Section 1 9330839Sacheabove, provided that you also meet all of these conditions: 9430839Sache 9530839Sache a) You must cause the modified files to carry prominent notices 9630839Sache stating that you changed the files and the date of any change. 9730839Sache 9830839Sache b) You must cause any work that you distribute or publish, that in 9930839Sache whole or in part contains or is derived from the Program or any 10030839Sache part thereof, to be licensed as a whole at no charge to all third 10130839Sache parties under the terms of this License. 10230839Sache 10330839Sache c) If the modified program normally reads commands interactively 10430839Sache when run, you must cause it, when started running for such 10530839Sache interactive use in the most ordinary way, to print or display an 10630839Sache announcement including an appropriate copyright notice and a 10730839Sache notice that there is no warranty (or else, saying that you provide 10830839Sache a warranty) and that users may redistribute the program under 10930839Sache these conditions, and telling the user how to view a copy of this 11030839Sache License. (Exception: if the Program itself is interactive but 11130839Sache does not normally print such an announcement, your work based on 11230839Sache the Program is not required to print an announcement.) 11330839Sache 11430839SacheThese requirements apply to the modified work as a whole. If 11530839Sacheidentifiable sections of that work are not derived from the Program, 11630839Sacheand can be reasonably considered independent and separate works in 11730839Sachethemselves, then this License, and its terms, do not apply to those 11830839Sachesections when you distribute them as separate works. But when you 11930839Sachedistribute the same sections as part of a whole which is a work based 12030839Sacheon the Program, the distribution of the whole must be on the terms of 12130839Sachethis License, whose permissions for other licensees extend to the 12230839Sacheentire whole, and thus to each and every part regardless of who wrote it. 12330839Sache 12430839SacheThus, it is not the intent of this section to claim rights or contest 12530839Sacheyour rights to work written entirely by you; rather, the intent is to 12630839Sacheexercise the right to control the distribution of derivative or 12730839Sachecollective works based on the Program. 12830839Sache 12930839SacheIn addition, mere aggregation of another work not based on the Program 13030839Sachewith the Program (or with a work based on the Program) on a volume of 13130839Sachea storage or distribution medium does not bring the other work under 13230839Sachethe scope of this License. 13330839Sache 13430839Sache 3. You may copy and distribute the Program (or a work based on it, 13530839Sacheunder Section 2) in object code or executable form under the terms of 13630839SacheSections 1 and 2 above provided that you also do one of the following: 13730839Sache 13830839Sache a) Accompany it with the complete corresponding machine-readable 13930839Sache source code, which must be distributed under the terms of Sections 14030839Sache 1 and 2 above on a medium customarily used for software interchange; or, 14130839Sache 14230839Sache b) Accompany it with a written offer, valid for at least three 14330839Sache years, to give any third party, for a charge no more than your 14430839Sache cost of physically performing source distribution, a complete 14530839Sache machine-readable copy of the corresponding source code, to be 14630839Sache distributed under the terms of Sections 1 and 2 above on a medium 14730839Sache customarily used for software interchange; or, 14830839Sache 14930839Sache c) Accompany it with the information you received as to the offer 15030839Sache to distribute corresponding source code. (This alternative is 15130839Sache allowed only for noncommercial distribution and only if you 15230839Sache received the program in object code or executable form with such 15330839Sache an offer, in accord with Subsection b above.) 15430839Sache 15530839SacheThe source code for a work means the preferred form of the work for 15630839Sachemaking modifications to it. For an executable work, complete source 15730839Sachecode means all the source code for all modules it contains, plus any 15830839Sacheassociated interface definition files, plus the scripts used to 15930839Sachecontrol compilation and installation of the executable. However, as a 16030839Sachespecial exception, the source code distributed need not include 16130839Sacheanything that is normally distributed (in either source or binary 16230839Sacheform) with the major components (compiler, kernel, and so on) of the 16330839Sacheoperating system on which the executable runs, unless that component 16430839Sacheitself accompanies the executable. 16530839Sache 16630839SacheIf distribution of executable or object code is made by offering 16730839Sacheaccess to copy from a designated place, then offering equivalent 16830839Sacheaccess to copy the source code from the same place counts as 16930839Sachedistribution of the source code, even though third parties are not 17030839Sachecompelled to copy the source along with the object code. 17130839Sache 17230839Sache 4. You may not copy, modify, sublicense, or distribute the Program 17330839Sacheexcept as expressly provided under this License. Any attempt 17430839Sacheotherwise to copy, modify, sublicense or distribute the Program is 17530839Sachevoid, and will automatically terminate your rights under this License. 17630839SacheHowever, parties who have received copies, or rights, from you under 17730839Sachethis License will not have their licenses terminated so long as such 17830839Sacheparties remain in full compliance. 17930839Sache 18030839Sache 5. You are not required to accept this License, since you have not 18130839Sachesigned it. However, nothing else grants you permission to modify or 18230839Sachedistribute the Program or its derivative works. These actions are 18330839Sacheprohibited by law if you do not accept this License. Therefore, by 18430839Sachemodifying or distributing the Program (or any work based on the 18530839SacheProgram), you indicate your acceptance of this License to do so, and 18630839Sacheall its terms and conditions for copying, distributing or modifying 18730839Sachethe Program or works based on it. 18830839Sache 18930839Sache 6. Each time you redistribute the Program (or any work based on the 19030839SacheProgram), the recipient automatically receives a license from the 19130839Sacheoriginal licensor to copy, distribute or modify the Program subject to 19230839Sachethese terms and conditions. You may not impose any further 19330839Sacherestrictions on the recipients' exercise of the rights granted herein. 19430839SacheYou are not responsible for enforcing compliance by third parties to 19530839Sachethis License. 19630839Sache 19730839Sache 7. If, as a consequence of a court judgment or allegation of patent 19830839Sacheinfringement or for any other reason (not limited to patent issues), 19930839Sacheconditions are imposed on you (whether by court order, agreement or 20030839Sacheotherwise) that contradict the conditions of this License, they do not 20130839Sacheexcuse you from the conditions of this License. If you cannot 20230839Sachedistribute so as to satisfy simultaneously your obligations under this 20330839SacheLicense and any other pertinent obligations, then as a consequence you 20430839Sachemay not distribute the Program at all. For example, if a patent 20530839Sachelicense would not permit royalty-free redistribution of the Program by 20630839Sacheall those who receive copies directly or indirectly through you, then 20730839Sachethe only way you could satisfy both it and this License would be to 20830839Sacherefrain entirely from distribution of the Program. 20930839Sache 21030839SacheIf any portion of this section is held invalid or unenforceable under 21130839Sacheany particular circumstance, the balance of the section is intended to 21230839Sacheapply and the section as a whole is intended to apply in other 21330839Sachecircumstances. 21430839Sache 21530839SacheIt is not the purpose of this section to induce you to infringe any 21630839Sachepatents or other property right claims or to contest validity of any 21730839Sachesuch claims; this section has the sole purpose of protecting the 21830839Sacheintegrity of the free software distribution system, which is 21930839Sacheimplemented by public license practices. Many people have made 22030839Sachegenerous contributions to the wide range of software distributed 22130839Sachethrough that system in reliance on consistent application of that 22230839Sachesystem; it is up to the author/donor to decide if he or she is willing 22330839Sacheto distribute software through any other system and a licensee cannot 22430839Sacheimpose that choice. 22530839Sache 22630839SacheThis section is intended to make thoroughly clear what is believed to 22730839Sachebe a consequence of the rest of this License. 22830839Sache 22930839Sache 8. If the distribution and/or use of the Program is restricted in 23030839Sachecertain countries either by patents or by copyrighted interfaces, the 23130839Sacheoriginal copyright holder who places the Program under this License 23230839Sachemay add an explicit geographical distribution limitation excluding 23330839Sachethose countries, so that distribution is permitted only in or among 23430839Sachecountries not thus excluded. In such case, this License incorporates 23530839Sachethe limitation as if written in the body of this License. 23630839Sache 23730839Sache 9. The Free Software Foundation may publish revised and/or new versions 23830839Sacheof the General Public License from time to time. Such new versions will 23930839Sachebe similar in spirit to the present version, but may differ in detail to 24030839Sacheaddress new problems or concerns. 24130839Sache 24230839SacheEach version is given a distinguishing version number. If the Program 24330839Sachespecifies a version number of this License which applies to it and "any 24430839Sachelater version", you have the option of following the terms and conditions 24530839Sacheeither of that version or of any later version published by the Free 24630839SacheSoftware Foundation. If the Program does not specify a version number of 24730839Sachethis License, you may choose any version ever published by the Free Software 24830839SacheFoundation. 24930839Sache 25030839Sache 10. If you wish to incorporate parts of the Program into other free 25130839Sacheprograms whose distribution conditions are different, write to the author 25230839Sacheto ask for permission. For software which is copyrighted by the Free 25330839SacheSoftware Foundation, write to the Free Software Foundation; we sometimes 25430839Sachemake exceptions for this. Our decision will be guided by the two goals 25530839Sacheof preserving the free status of all derivatives of our free software and 25630839Sacheof promoting the sharing and reuse of software generally. 25730839Sache 25830839Sache NO WARRANTY 25930839Sache 26030839Sache 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 26130839SacheFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 26230839SacheOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 26330839SachePROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 26430839SacheOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 26530839SacheMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 26630839SacheTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 26730839SachePROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 26830839SacheREPAIR OR CORRECTION. 26930839Sache 27030839Sache 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 27130839SacheWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 27230839SacheREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 27330839SacheINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 27430839SacheOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 27530839SacheTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 27630839SacheYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 27730839SachePROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 27830839SachePOSSIBILITY OF SUCH DAMAGES. 27930839Sache 28030839Sache END OF TERMS AND CONDITIONS 28130839Sache 282170754Sdelphij How to Apply These Terms to Your New Programs 28330839Sache 28430839Sache If you develop a new program, and you want it to be of the greatest 28530839Sachepossible use to the public, the best way to achieve this is to make it 28630839Sachefree software which everyone can redistribute and change under these terms. 28730839Sache 28830839Sache To do so, attach the following notices to the program. It is safest 28930839Sacheto attach them to the start of each source file to most effectively 29030839Sacheconvey the exclusion of warranty; and each file should have at least 29130839Sachethe "copyright" line and a pointer to where the full notice is found. 29230839Sache 29330839Sache <one line to give the program's name and a brief idea of what it does.> 294170754Sdelphij Copyright (C) <year> <name of author> 29530839Sache 29630839Sache This program is free software; you can redistribute it and/or modify 29730839Sache it under the terms of the GNU General Public License as published by 29830839Sache the Free Software Foundation; either version 2 of the License, or 29930839Sache (at your option) any later version. 30030839Sache 30130839Sache This program is distributed in the hope that it will be useful, 30230839Sache but WITHOUT ANY WARRANTY; without even the implied warranty of 30330839Sache MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30430839Sache GNU General Public License for more details. 30530839Sache 30630839Sache You should have received a copy of the GNU General Public License 30730839Sache along with this program; if not, write to the Free Software 308170754Sdelphij Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30930839Sache 310170754Sdelphij 31130839SacheAlso add information on how to contact you by electronic and paper mail. 31230839Sache 31330839SacheIf the program is interactive, make it output a short notice like this 31430839Sachewhen it starts in an interactive mode: 31530839Sache 316170754Sdelphij Gnomovision version 69, Copyright (C) year name of author 31730839Sache Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 31830839Sache This is free software, and you are welcome to redistribute it 31930839Sache under certain conditions; type `show c' for details. 32030839Sache 32130839SacheThe hypothetical commands `show w' and `show c' should show the appropriate 32230839Sacheparts of the General Public License. Of course, the commands you use may 32330839Sachebe called something other than `show w' and `show c'; they could even be 32430839Sachemouse-clicks or menu items--whatever suits your program. 32530839Sache 32630839SacheYou should also get your employer (if you work as a programmer) or your 32730839Sacheschool, if any, to sign a "copyright disclaimer" for the program, if 32830839Sachenecessary. Here is a sample; alter the names: 32930839Sache 33030839Sache Yoyodyne, Inc., hereby disclaims all copyright interest in the program 33130839Sache `Gnomovision' (which makes passes at compilers) written by James Hacker. 33230839Sache 33330839Sache <signature of Ty Coon>, 1 April 1989 33430839Sache Ty Coon, President of Vice 33530839Sache 33630839SacheThis General Public License does not permit incorporating your program into 33730839Sacheproprietary programs. If your program is a subroutine library, you may 33830839Sacheconsider it more useful to permit linking proprietary applications with the 33930839Sachelibrary. If this is what you want to do, use the GNU Library General 34030839SachePublic License instead of this License. 341