1*d10b5556SXylleGNU GENERAL PUBLIC LICENSE 2*d10b5556SXylle Version 2, June 1991 3*d10b5556SXylle 4*d10b5556SXylle Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5*d10b5556SXylle 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*d10b5556SXylle Everyone is permitted to copy and distribute verbatim copies 7*d10b5556SXylle of this license document, but changing it is not allowed. 8*d10b5556SXylle 9*d10b5556SXylle Preamble 10*d10b5556SXylle 11*d10b5556SXylle The licenses for most software are designed to take away your 12*d10b5556SXyllefreedom to share and change it. By contrast, the GNU General Public 13*d10b5556SXylleLicense is intended to guarantee your freedom to share and change free 14*d10b5556SXyllesoftware--to make sure the software is free for all its users. This 15*d10b5556SXylleGeneral Public License applies to most of the Free Software 16*d10b5556SXylleFoundation's software and to any other program whose authors commit to 17*d10b5556SXylleusing it. (Some other Free Software Foundation software is covered by 18*d10b5556SXyllethe GNU Lesser General Public License instead.) You can apply it to 19*d10b5556SXylleyour programs, too. 20*d10b5556SXylle 21*d10b5556SXylle When we speak of free software, we are referring to freedom, not 22*d10b5556SXylleprice. Our General Public Licenses are designed to make sure that you 23*d10b5556SXyllehave the freedom to distribute copies of free software (and charge for 24*d10b5556SXyllethis service if you wish), that you receive source code or can get it 25*d10b5556SXylleif you want it, that you can change the software or use pieces of it 26*d10b5556SXyllein new free programs; and that you know you can do these things. 27*d10b5556SXylle 28*d10b5556SXylle To protect your rights, we need to make restrictions that forbid 29*d10b5556SXylleanyone to deny you these rights or to ask you to surrender the rights. 30*d10b5556SXylleThese restrictions translate to certain responsibilities for you if you 31*d10b5556SXylledistribute copies of the software, or if you modify it. 32*d10b5556SXylle 33*d10b5556SXylle For example, if you distribute copies of such a program, whether 34*d10b5556SXyllegratis or for a fee, you must give the recipients all the rights that 35*d10b5556SXylleyou have. You must make sure that they, too, receive or can get the 36*d10b5556SXyllesource code. And you must show them these terms so they know their 37*d10b5556SXyllerights. 38*d10b5556SXylle 39*d10b5556SXylle We protect your rights with two steps: (1) copyright the software, and 40*d10b5556SXylle(2) offer you this license which gives you legal permission to copy, 41*d10b5556SXylledistribute and/or modify the software. 42*d10b5556SXylle 43*d10b5556SXylle Also, for each author's protection and ours, we want to make certain 44*d10b5556SXyllethat everyone understands that there is no warranty for this free 45*d10b5556SXyllesoftware. If the software is modified by someone else and passed on, we 46*d10b5556SXyllewant its recipients to know that what they have is not the original, so 47*d10b5556SXyllethat any problems introduced by others will not reflect on the original 48*d10b5556SXylleauthors' reputations. 49*d10b5556SXylle 50*d10b5556SXylle Finally, any free program is threatened constantly by software 51*d10b5556SXyllepatents. We wish to avoid the danger that redistributors of a free 52*d10b5556SXylleprogram will individually obtain patent licenses, in effect making the 53*d10b5556SXylleprogram proprietary. To prevent this, we have made it clear that any 54*d10b5556SXyllepatent must be licensed for everyone's free use or not licensed at all. 55*d10b5556SXylle 56*d10b5556SXylle The precise terms and conditions for copying, distribution and 57*d10b5556SXyllemodification follow. 58*d10b5556SXylle 59*d10b5556SXylle GNU GENERAL PUBLIC LICENSE 60*d10b5556SXylle TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*d10b5556SXylle 62*d10b5556SXylle 0. This License applies to any program or other work which contains 63*d10b5556SXyllea notice placed by the copyright holder saying it may be distributed 64*d10b5556SXylleunder the terms of this General Public License. The "Program", below, 65*d10b5556SXyllerefers to any such program or work, and a "work based on the Program" 66*d10b5556SXyllemeans either the Program or any derivative work under copyright law: 67*d10b5556SXyllethat is to say, a work containing the Program or a portion of it, 68*d10b5556SXylleeither verbatim or with modifications and/or translated into another 69*d10b5556SXyllelanguage. (Hereinafter, translation is included without limitation in 70*d10b5556SXyllethe term "modification".) Each licensee is addressed as "you". 71*d10b5556SXylle 72*d10b5556SXylleActivities other than copying, distribution and modification are not 73*d10b5556SXyllecovered by this License; they are outside its scope. The act of 74*d10b5556SXyllerunning the Program is not restricted, and the output from the Program 75*d10b5556SXylleis covered only if its contents constitute a work based on the 76*d10b5556SXylleProgram (independent of having been made by running the Program). 77*d10b5556SXylleWhether that is true depends on what the Program does. 78*d10b5556SXylle 79*d10b5556SXylle 1. You may copy and distribute verbatim copies of the Program's 80*d10b5556SXyllesource code as you receive it, in any medium, provided that you 81*d10b5556SXylleconspicuously and appropriately publish on each copy an appropriate 82*d10b5556SXyllecopyright notice and disclaimer of warranty; keep intact all the 83*d10b5556SXyllenotices that refer to this License and to the absence of any warranty; 84*d10b5556SXylleand give any other recipients of the Program a copy of this License 85*d10b5556SXyllealong with the Program. 86*d10b5556SXylle 87*d10b5556SXylleYou may charge a fee for the physical act of transferring a copy, and 88*d10b5556SXylleyou may at your option offer warranty protection in exchange for a fee. 89*d10b5556SXylle 90*d10b5556SXylle 2. You may modify your copy or copies of the Program or any portion 91*d10b5556SXylleof it, thus forming a work based on the Program, and copy and 92*d10b5556SXylledistribute such modifications or work under the terms of Section 1 93*d10b5556SXylleabove, provided that you also meet all of these conditions: 94*d10b5556SXylle 95*d10b5556SXylle a) You must cause the modified files to carry prominent notices 96*d10b5556SXylle stating that you changed the files and the date of any change. 97*d10b5556SXylle 98*d10b5556SXylle b) You must cause any work that you distribute or publish, that in 99*d10b5556SXylle whole or in part contains or is derived from the Program or any 100*d10b5556SXylle part thereof, to be licensed as a whole at no charge to all third 101*d10b5556SXylle parties under the terms of this License. 102*d10b5556SXylle 103*d10b5556SXylle c) If the modified program normally reads commands interactively 104*d10b5556SXylle when run, you must cause it, when started running for such 105*d10b5556SXylle interactive use in the most ordinary way, to print or display an 106*d10b5556SXylle announcement including an appropriate copyright notice and a 107*d10b5556SXylle notice that there is no warranty (or else, saying that you provide 108*d10b5556SXylle a warranty) and that users may redistribute the program under 109*d10b5556SXylle these conditions, and telling the user how to view a copy of this 110*d10b5556SXylle License. (Exception: if the Program itself is interactive but 111*d10b5556SXylle does not normally print such an announcement, your work based on 112*d10b5556SXylle the Program is not required to print an announcement.) 113*d10b5556SXylle 114*d10b5556SXylleThese requirements apply to the modified work as a whole. If 115*d10b5556SXylleidentifiable sections of that work are not derived from the Program, 116*d10b5556SXylleand can be reasonably considered independent and separate works in 117*d10b5556SXyllethemselves, then this License, and its terms, do not apply to those 118*d10b5556SXyllesections when you distribute them as separate works. But when you 119*d10b5556SXylledistribute the same sections as part of a whole which is a work based 120*d10b5556SXylleon the Program, the distribution of the whole must be on the terms of 121*d10b5556SXyllethis License, whose permissions for other licensees extend to the 122*d10b5556SXylleentire whole, and thus to each and every part regardless of who wrote it. 123*d10b5556SXylle 124*d10b5556SXylleThus, it is not the intent of this section to claim rights or contest 125*d10b5556SXylleyour rights to work written entirely by you; rather, the intent is to 126*d10b5556SXylleexercise the right to control the distribution of derivative or 127*d10b5556SXyllecollective works based on the Program. 128*d10b5556SXylle 129*d10b5556SXylleIn addition, mere aggregation of another work not based on the Program 130*d10b5556SXyllewith the Program (or with a work based on the Program) on a volume of 131*d10b5556SXyllea storage or distribution medium does not bring the other work under 132*d10b5556SXyllethe scope of this License. 133*d10b5556SXylle 134*d10b5556SXylle 3. You may copy and distribute the Program (or a work based on it, 135*d10b5556SXylleunder Section 2) in object code or executable form under the terms of 136*d10b5556SXylleSections 1 and 2 above provided that you also do one of the following: 137*d10b5556SXylle 138*d10b5556SXylle a) Accompany it with the complete corresponding machine-readable 139*d10b5556SXylle source code, which must be distributed under the terms of Sections 140*d10b5556SXylle 1 and 2 above on a medium customarily used for software interchange; or, 141*d10b5556SXylle 142*d10b5556SXylle b) Accompany it with a written offer, valid for at least three 143*d10b5556SXylle years, to give any third party, for a charge no more than your 144*d10b5556SXylle cost of physically performing source distribution, a complete 145*d10b5556SXylle machine-readable copy of the corresponding source code, to be 146*d10b5556SXylle distributed under the terms of Sections 1 and 2 above on a medium 147*d10b5556SXylle customarily used for software interchange; or, 148*d10b5556SXylle 149*d10b5556SXylle c) Accompany it with the information you received as to the offer 150*d10b5556SXylle to distribute corresponding source code. (This alternative is 151*d10b5556SXylle allowed only for noncommercial distribution and only if you 152*d10b5556SXylle received the program in object code or executable form with such 153*d10b5556SXylle an offer, in accord with Subsection b above.) 154*d10b5556SXylle 155*d10b5556SXylleThe source code for a work means the preferred form of the work for 156*d10b5556SXyllemaking modifications to it. For an executable work, complete source 157*d10b5556SXyllecode means all the source code for all modules it contains, plus any 158*d10b5556SXylleassociated interface definition files, plus the scripts used to 159*d10b5556SXyllecontrol compilation and installation of the executable. However, as a 160*d10b5556SXyllespecial exception, the source code distributed need not include 161*d10b5556SXylleanything that is normally distributed (in either source or binary 162*d10b5556SXylleform) with the major components (compiler, kernel, and so on) of the 163*d10b5556SXylleoperating system on which the executable runs, unless that component 164*d10b5556SXylleitself accompanies the executable. 165*d10b5556SXylle 166*d10b5556SXylleIf distribution of executable or object code is made by offering 167*d10b5556SXylleaccess to copy from a designated place, then offering equivalent 168*d10b5556SXylleaccess to copy the source code from the same place counts as 169*d10b5556SXylledistribution of the source code, even though third parties are not 170*d10b5556SXyllecompelled to copy the source along with the object code. 171*d10b5556SXylle 172*d10b5556SXylle 4. You may not copy, modify, sublicense, or distribute the Program 173*d10b5556SXylleexcept as expressly provided under this License. Any attempt 174*d10b5556SXylleotherwise to copy, modify, sublicense or distribute the Program is 175*d10b5556SXyllevoid, and will automatically terminate your rights under this License. 176*d10b5556SXylleHowever, parties who have received copies, or rights, from you under 177*d10b5556SXyllethis License will not have their licenses terminated so long as such 178*d10b5556SXylleparties remain in full compliance. 179*d10b5556SXylle 180*d10b5556SXylle 5. You are not required to accept this License, since you have not 181*d10b5556SXyllesigned it. However, nothing else grants you permission to modify or 182*d10b5556SXylledistribute the Program or its derivative works. These actions are 183*d10b5556SXylleprohibited by law if you do not accept this License. Therefore, by 184*d10b5556SXyllemodifying or distributing the Program (or any work based on the 185*d10b5556SXylleProgram), you indicate your acceptance of this License to do so, and 186*d10b5556SXylleall its terms and conditions for copying, distributing or modifying 187*d10b5556SXyllethe Program or works based on it. 188*d10b5556SXylle 189*d10b5556SXylle 6. Each time you redistribute the Program (or any work based on the 190*d10b5556SXylleProgram), the recipient automatically receives a license from the 191*d10b5556SXylleoriginal licensor to copy, distribute or modify the Program subject to 192*d10b5556SXyllethese terms and conditions. You may not impose any further 193*d10b5556SXyllerestrictions on the recipients' exercise of the rights granted herein. 194*d10b5556SXylleYou are not responsible for enforcing compliance by third parties to 195*d10b5556SXyllethis License. 196*d10b5556SXylle 197*d10b5556SXylle 7. If, as a consequence of a court judgment or allegation of patent 198*d10b5556SXylleinfringement or for any other reason (not limited to patent issues), 199*d10b5556SXylleconditions are imposed on you (whether by court order, agreement or 200*d10b5556SXylleotherwise) that contradict the conditions of this License, they do not 201*d10b5556SXylleexcuse you from the conditions of this License. If you cannot 202*d10b5556SXylledistribute so as to satisfy simultaneously your obligations under this 203*d10b5556SXylleLicense and any other pertinent obligations, then as a consequence you 204*d10b5556SXyllemay not distribute the Program at all. For example, if a patent 205*d10b5556SXyllelicense would not permit royalty-free redistribution of the Program by 206*d10b5556SXylleall those who receive copies directly or indirectly through you, then 207*d10b5556SXyllethe only way you could satisfy both it and this License would be to 208*d10b5556SXyllerefrain entirely from distribution of the Program. 209*d10b5556SXylle 210*d10b5556SXylleIf any portion of this section is held invalid or unenforceable under 211*d10b5556SXylleany particular circumstance, the balance of the section is intended to 212*d10b5556SXylleapply and the section as a whole is intended to apply in other 213*d10b5556SXyllecircumstances. 214*d10b5556SXylle 215*d10b5556SXylleIt is not the purpose of this section to induce you to infringe any 216*d10b5556SXyllepatents or other property right claims or to contest validity of any 217*d10b5556SXyllesuch claims; this section has the sole purpose of protecting the 218*d10b5556SXylleintegrity of the free software distribution system, which is 219*d10b5556SXylleimplemented by public license practices. Many people have made 220*d10b5556SXyllegenerous contributions to the wide range of software distributed 221*d10b5556SXyllethrough that system in reliance on consistent application of that 222*d10b5556SXyllesystem; it is up to the author/donor to decide if he or she is willing 223*d10b5556SXylleto distribute software through any other system and a licensee cannot 224*d10b5556SXylleimpose that choice. 225*d10b5556SXylle 226*d10b5556SXylleThis section is intended to make thoroughly clear what is believed to 227*d10b5556SXyllebe a consequence of the rest of this License. 228*d10b5556SXylle 229*d10b5556SXylle 8. If the distribution and/or use of the Program is restricted in 230*d10b5556SXyllecertain countries either by patents or by copyrighted interfaces, the 231*d10b5556SXylleoriginal copyright holder who places the Program under this License 232*d10b5556SXyllemay add an explicit geographical distribution limitation excluding 233*d10b5556SXyllethose countries, so that distribution is permitted only in or among 234*d10b5556SXyllecountries not thus excluded. In such case, this License incorporates 235*d10b5556SXyllethe limitation as if written in the body of this License. 236*d10b5556SXylle 237*d10b5556SXylle 9. The Free Software Foundation may publish revised and/or new versions 238*d10b5556SXylleof the General Public License from time to time. Such new versions will 239*d10b5556SXyllebe similar in spirit to the present version, but may differ in detail to 240*d10b5556SXylleaddress new problems or concerns. 241*d10b5556SXylle 242*d10b5556SXylleEach version is given a distinguishing version number. If the Program 243*d10b5556SXyllespecifies a version number of this License which applies to it and "any 244*d10b5556SXyllelater version", you have the option of following the terms and conditions 245*d10b5556SXylleeither of that version or of any later version published by the Free 246*d10b5556SXylleSoftware Foundation. If the Program does not specify a version number of 247*d10b5556SXyllethis License, you may choose any version ever published by the Free Software 248*d10b5556SXylleFoundation. 249*d10b5556SXylle 250*d10b5556SXylle 10. If you wish to incorporate parts of the Program into other free 251*d10b5556SXylleprograms whose distribution conditions are different, write to the author 252*d10b5556SXylleto ask for permission. For software which is copyrighted by the Free 253*d10b5556SXylleSoftware Foundation, write to the Free Software Foundation; we sometimes 254*d10b5556SXyllemake exceptions for this. Our decision will be guided by the two goals 255*d10b5556SXylleof preserving the free status of all derivatives of our free software and 256*d10b5556SXylleof promoting the sharing and reuse of software generally. 257*d10b5556SXylle 258*d10b5556SXylle NO WARRANTY 259*d10b5556SXylle 260*d10b5556SXylle 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*d10b5556SXylleFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*d10b5556SXylleOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*d10b5556SXyllePROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*d10b5556SXylleOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*d10b5556SXylleMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*d10b5556SXylleTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*d10b5556SXyllePROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*d10b5556SXylleREPAIR OR CORRECTION. 269*d10b5556SXylle 270*d10b5556SXylle 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*d10b5556SXylleWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*d10b5556SXylleREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*d10b5556SXylleINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*d10b5556SXylleOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*d10b5556SXylleTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*d10b5556SXylleYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*d10b5556SXyllePROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*d10b5556SXyllePOSSIBILITY OF SUCH DAMAGES. 279*d10b5556SXylle 280*d10b5556SXylle END OF TERMS AND CONDITIONS 281*d10b5556SXylle 282*d10b5556SXylle How to Apply These Terms to Your New Programs 283*d10b5556SXylle 284*d10b5556SXylle If you develop a new program, and you want it to be of the greatest 285*d10b5556SXyllepossible use to the public, the best way to achieve this is to make it 286*d10b5556SXyllefree software which everyone can redistribute and change under these terms. 287*d10b5556SXylle 288*d10b5556SXylle To do so, attach the following notices to the program. It is safest 289*d10b5556SXylleto attach them to the start of each source file to most effectively 290*d10b5556SXylleconvey the exclusion of warranty; and each file should have at least 291*d10b5556SXyllethe "copyright" line and a pointer to where the full notice is found. 292*d10b5556SXylle 293*d10b5556SXylle {{description}} 294*d10b5556SXylle Copyright (C) {{year}} {{fullname}} 295*d10b5556SXylle 296*d10b5556SXylle This program is free software; you can redistribute it and/or modify 297*d10b5556SXylle it under the terms of the GNU General Public License as published by 298*d10b5556SXylle the Free Software Foundation; either version 2 of the License, or 299*d10b5556SXylle (at your option) any later version. 300*d10b5556SXylle 301*d10b5556SXylle This program is distributed in the hope that it will be useful, 302*d10b5556SXylle but WITHOUT ANY WARRANTY; without even the implied warranty of 303*d10b5556SXylle MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*d10b5556SXylle GNU General Public License for more details. 305*d10b5556SXylle 306*d10b5556SXylle You should have received a copy of the GNU General Public License along 307*d10b5556SXylle with this program; if not, write to the Free Software Foundation, Inc., 308*d10b5556SXylle 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309*d10b5556SXylle 310*d10b5556SXylleAlso add information on how to contact you by electronic and paper mail. 311*d10b5556SXylle 312*d10b5556SXylleIf the program is interactive, make it output a short notice like this 313*d10b5556SXyllewhen it starts in an interactive mode: 314*d10b5556SXylle 315*d10b5556SXylle Gnomovision version 69, Copyright (C) year name of author 316*d10b5556SXylle Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317*d10b5556SXylle This is free software, and you are welcome to redistribute it 318*d10b5556SXylle under certain conditions; type `show c' for details. 319*d10b5556SXylle 320*d10b5556SXylleThe hypothetical commands `show w' and `show c' should show the appropriate 321*d10b5556SXylleparts of the General Public License. Of course, the commands you use may 322*d10b5556SXyllebe called something other than `show w' and `show c'; they could even be 323*d10b5556SXyllemouse-clicks or menu items--whatever suits your program. 324*d10b5556SXylle 325*d10b5556SXylleYou should also get your employer (if you work as a programmer) or your 326*d10b5556SXylleschool, if any, to sign a "copyright disclaimer" for the program, if 327*d10b5556SXyllenecessary. Here is a sample; alter the names: 328*d10b5556SXylle 329*d10b5556SXylle Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330*d10b5556SXylle `Gnomovision' (which makes passes at compilers) written by James Hacker. 331*d10b5556SXylle 332*d10b5556SXylle {signature of Ty Coon}, 1 April 1989 333*d10b5556SXylle Ty Coon, President of Vice 334*d10b5556SXylle 335*d10b5556SXylleThis General Public License does not permit incorporating your program into 336*d10b5556SXylleproprietary programs. If your program is a subroutine library, you may 337*d10b5556SXylleconsider it more useful to permit linking proprietary applications with the 338*d10b5556SXyllelibrary. If this is what you want to do, use the GNU Lesser General 339*d10b5556SXyllePublic License instead of this License. 340