1*964f066aSwikidesign GNU GENERAL PUBLIC LICENSE 2*964f066aSwikidesign Version 2, June 1991 3*964f066aSwikidesign 4*964f066aSwikidesign Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5*964f066aSwikidesign 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6*964f066aSwikidesign Everyone is permitted to copy and distribute verbatim copies 7*964f066aSwikidesign of this license document, but changing it is not allowed. 8*964f066aSwikidesign 9*964f066aSwikidesign Preamble 10*964f066aSwikidesign 11*964f066aSwikidesign The licenses for most software are designed to take away your 12*964f066aSwikidesignfreedom to share and change it. By contrast, the GNU General Public 13*964f066aSwikidesignLicense is intended to guarantee your freedom to share and change free 14*964f066aSwikidesignsoftware--to make sure the software is free for all its users. This 15*964f066aSwikidesignGeneral Public License applies to most of the Free Software 16*964f066aSwikidesignFoundation's software and to any other program whose authors commit to 17*964f066aSwikidesignusing it. (Some other Free Software Foundation software is covered by 18*964f066aSwikidesignthe GNU Library General Public License instead.) You can apply it to 19*964f066aSwikidesignyour programs, too. 20*964f066aSwikidesign 21*964f066aSwikidesign When we speak of free software, we are referring to freedom, not 22*964f066aSwikidesignprice. Our General Public Licenses are designed to make sure that you 23*964f066aSwikidesignhave the freedom to distribute copies of free software (and charge for 24*964f066aSwikidesignthis service if you wish), that you receive source code or can get it 25*964f066aSwikidesignif you want it, that you can change the software or use pieces of it 26*964f066aSwikidesignin new free programs; and that you know you can do these things. 27*964f066aSwikidesign 28*964f066aSwikidesign To protect your rights, we need to make restrictions that forbid 29*964f066aSwikidesignanyone to deny you these rights or to ask you to surrender the rights. 30*964f066aSwikidesignThese restrictions translate to certain responsibilities for you if you 31*964f066aSwikidesigndistribute copies of the software, or if you modify it. 32*964f066aSwikidesign 33*964f066aSwikidesign For example, if you distribute copies of such a program, whether 34*964f066aSwikidesigngratis or for a fee, you must give the recipients all the rights that 35*964f066aSwikidesignyou have. You must make sure that they, too, receive or can get the 36*964f066aSwikidesignsource code. And you must show them these terms so they know their 37*964f066aSwikidesignrights. 38*964f066aSwikidesign 39*964f066aSwikidesign We protect your rights with two steps: (1) copyright the software, and 40*964f066aSwikidesign(2) offer you this license which gives you legal permission to copy, 41*964f066aSwikidesigndistribute and/or modify the software. 42*964f066aSwikidesign 43*964f066aSwikidesign Also, for each author's protection and ours, we want to make certain 44*964f066aSwikidesignthat everyone understands that there is no warranty for this free 45*964f066aSwikidesignsoftware. If the software is modified by someone else and passed on, we 46*964f066aSwikidesignwant its recipients to know that what they have is not the original, so 47*964f066aSwikidesignthat any problems introduced by others will not reflect on the original 48*964f066aSwikidesignauthors' reputations. 49*964f066aSwikidesign 50*964f066aSwikidesign Finally, any free program is threatened constantly by software 51*964f066aSwikidesignpatents. We wish to avoid the danger that redistributors of a free 52*964f066aSwikidesignprogram will individually obtain patent licenses, in effect making the 53*964f066aSwikidesignprogram proprietary. To prevent this, we have made it clear that any 54*964f066aSwikidesignpatent must be licensed for everyone's free use or not licensed at all. 55*964f066aSwikidesign 56*964f066aSwikidesign The precise terms and conditions for copying, distribution and 57*964f066aSwikidesignmodification follow. 58*964f066aSwikidesign 59*964f066aSwikidesign GNU GENERAL PUBLIC LICENSE 60*964f066aSwikidesign TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*964f066aSwikidesign 62*964f066aSwikidesign 0. This License applies to any program or other work which contains 63*964f066aSwikidesigna notice placed by the copyright holder saying it may be distributed 64*964f066aSwikidesignunder the terms of this General Public License. The "Program", below, 65*964f066aSwikidesignrefers to any such program or work, and a "work based on the Program" 66*964f066aSwikidesignmeans either the Program or any derivative work under copyright law: 67*964f066aSwikidesignthat is to say, a work containing the Program or a portion of it, 68*964f066aSwikidesigneither verbatim or with modifications and/or translated into another 69*964f066aSwikidesignlanguage. (Hereinafter, translation is included without limitation in 70*964f066aSwikidesignthe term "modification".) Each licensee is addressed as "you". 71*964f066aSwikidesign 72*964f066aSwikidesignActivities other than copying, distribution and modification are not 73*964f066aSwikidesigncovered by this License; they are outside its scope. The act of 74*964f066aSwikidesignrunning the Program is not restricted, and the output from the Program 75*964f066aSwikidesignis covered only if its contents constitute a work based on the 76*964f066aSwikidesignProgram (independent of having been made by running the Program). 77*964f066aSwikidesignWhether that is true depends on what the Program does. 78*964f066aSwikidesign 79*964f066aSwikidesign 1. You may copy and distribute verbatim copies of the Program's 80*964f066aSwikidesignsource code as you receive it, in any medium, provided that you 81*964f066aSwikidesignconspicuously and appropriately publish on each copy an appropriate 82*964f066aSwikidesigncopyright notice and disclaimer of warranty; keep intact all the 83*964f066aSwikidesignnotices that refer to this License and to the absence of any warranty; 84*964f066aSwikidesignand give any other recipients of the Program a copy of this License 85*964f066aSwikidesignalong with the Program. 86*964f066aSwikidesign 87*964f066aSwikidesignYou may charge a fee for the physical act of transferring a copy, and 88*964f066aSwikidesignyou may at your option offer warranty protection in exchange for a fee. 89*964f066aSwikidesign 90*964f066aSwikidesign 2. You may modify your copy or copies of the Program or any portion 91*964f066aSwikidesignof it, thus forming a work based on the Program, and copy and 92*964f066aSwikidesigndistribute such modifications or work under the terms of Section 1 93*964f066aSwikidesignabove, provided that you also meet all of these conditions: 94*964f066aSwikidesign 95*964f066aSwikidesign a) You must cause the modified files to carry prominent notices 96*964f066aSwikidesign stating that you changed the files and the date of any change. 97*964f066aSwikidesign 98*964f066aSwikidesign b) You must cause any work that you distribute or publish, that in 99*964f066aSwikidesign whole or in part contains or is derived from the Program or any 100*964f066aSwikidesign part thereof, to be licensed as a whole at no charge to all third 101*964f066aSwikidesign parties under the terms of this License. 102*964f066aSwikidesign 103*964f066aSwikidesign c) If the modified program normally reads commands interactively 104*964f066aSwikidesign when run, you must cause it, when started running for such 105*964f066aSwikidesign interactive use in the most ordinary way, to print or display an 106*964f066aSwikidesign announcement including an appropriate copyright notice and a 107*964f066aSwikidesign notice that there is no warranty (or else, saying that you provide 108*964f066aSwikidesign a warranty) and that users may redistribute the program under 109*964f066aSwikidesign these conditions, and telling the user how to view a copy of this 110*964f066aSwikidesign License. (Exception: if the Program itself is interactive but 111*964f066aSwikidesign does not normally print such an announcement, your work based on 112*964f066aSwikidesign the Program is not required to print an announcement.) 113*964f066aSwikidesign 114*964f066aSwikidesignThese requirements apply to the modified work as a whole. If 115*964f066aSwikidesignidentifiable sections of that work are not derived from the Program, 116*964f066aSwikidesignand can be reasonably considered independent and separate works in 117*964f066aSwikidesignthemselves, then this License, and its terms, do not apply to those 118*964f066aSwikidesignsections when you distribute them as separate works. But when you 119*964f066aSwikidesigndistribute the same sections as part of a whole which is a work based 120*964f066aSwikidesignon the Program, the distribution of the whole must be on the terms of 121*964f066aSwikidesignthis License, whose permissions for other licensees extend to the 122*964f066aSwikidesignentire whole, and thus to each and every part regardless of who wrote it. 123*964f066aSwikidesign 124*964f066aSwikidesignThus, it is not the intent of this section to claim rights or contest 125*964f066aSwikidesignyour rights to work written entirely by you; rather, the intent is to 126*964f066aSwikidesignexercise the right to control the distribution of derivative or 127*964f066aSwikidesigncollective works based on the Program. 128*964f066aSwikidesign 129*964f066aSwikidesignIn addition, mere aggregation of another work not based on the Program 130*964f066aSwikidesignwith the Program (or with a work based on the Program) on a volume of 131*964f066aSwikidesigna storage or distribution medium does not bring the other work under 132*964f066aSwikidesignthe scope of this License. 133*964f066aSwikidesign 134*964f066aSwikidesign 3. You may copy and distribute the Program (or a work based on it, 135*964f066aSwikidesignunder Section 2) in object code or executable form under the terms of 136*964f066aSwikidesignSections 1 and 2 above provided that you also do one of the following: 137*964f066aSwikidesign 138*964f066aSwikidesign a) Accompany it with the complete corresponding machine-readable 139*964f066aSwikidesign source code, which must be distributed under the terms of Sections 140*964f066aSwikidesign 1 and 2 above on a medium customarily used for software interchange; or, 141*964f066aSwikidesign 142*964f066aSwikidesign b) Accompany it with a written offer, valid for at least three 143*964f066aSwikidesign years, to give any third party, for a charge no more than your 144*964f066aSwikidesign cost of physically performing source distribution, a complete 145*964f066aSwikidesign machine-readable copy of the corresponding source code, to be 146*964f066aSwikidesign distributed under the terms of Sections 1 and 2 above on a medium 147*964f066aSwikidesign customarily used for software interchange; or, 148*964f066aSwikidesign 149*964f066aSwikidesign c) Accompany it with the information you received as to the offer 150*964f066aSwikidesign to distribute corresponding source code. (This alternative is 151*964f066aSwikidesign allowed only for noncommercial distribution and only if you 152*964f066aSwikidesign received the program in object code or executable form with such 153*964f066aSwikidesign an offer, in accord with Subsection b above.) 154*964f066aSwikidesign 155*964f066aSwikidesignThe source code for a work means the preferred form of the work for 156*964f066aSwikidesignmaking modifications to it. For an executable work, complete source 157*964f066aSwikidesigncode means all the source code for all modules it contains, plus any 158*964f066aSwikidesignassociated interface definition files, plus the scripts used to 159*964f066aSwikidesigncontrol compilation and installation of the executable. However, as a 160*964f066aSwikidesignspecial exception, the source code distributed need not include 161*964f066aSwikidesignanything that is normally distributed (in either source or binary 162*964f066aSwikidesignform) with the major components (compiler, kernel, and so on) of the 163*964f066aSwikidesignoperating system on which the executable runs, unless that component 164*964f066aSwikidesignitself accompanies the executable. 165*964f066aSwikidesign 166*964f066aSwikidesignIf distribution of executable or object code is made by offering 167*964f066aSwikidesignaccess to copy from a designated place, then offering equivalent 168*964f066aSwikidesignaccess to copy the source code from the same place counts as 169*964f066aSwikidesigndistribution of the source code, even though third parties are not 170*964f066aSwikidesigncompelled to copy the source along with the object code. 171*964f066aSwikidesign 172*964f066aSwikidesign 4. You may not copy, modify, sublicense, or distribute the Program 173*964f066aSwikidesignexcept as expressly provided under this License. Any attempt 174*964f066aSwikidesignotherwise to copy, modify, sublicense or distribute the Program is 175*964f066aSwikidesignvoid, and will automatically terminate your rights under this License. 176*964f066aSwikidesignHowever, parties who have received copies, or rights, from you under 177*964f066aSwikidesignthis License will not have their licenses terminated so long as such 178*964f066aSwikidesignparties remain in full compliance. 179*964f066aSwikidesign 180*964f066aSwikidesign 5. You are not required to accept this License, since you have not 181*964f066aSwikidesignsigned it. However, nothing else grants you permission to modify or 182*964f066aSwikidesigndistribute the Program or its derivative works. These actions are 183*964f066aSwikidesignprohibited by law if you do not accept this License. Therefore, by 184*964f066aSwikidesignmodifying or distributing the Program (or any work based on the 185*964f066aSwikidesignProgram), you indicate your acceptance of this License to do so, and 186*964f066aSwikidesignall its terms and conditions for copying, distributing or modifying 187*964f066aSwikidesignthe Program or works based on it. 188*964f066aSwikidesign 189*964f066aSwikidesign 6. Each time you redistribute the Program (or any work based on the 190*964f066aSwikidesignProgram), the recipient automatically receives a license from the 191*964f066aSwikidesignoriginal licensor to copy, distribute or modify the Program subject to 192*964f066aSwikidesignthese terms and conditions. You may not impose any further 193*964f066aSwikidesignrestrictions on the recipients' exercise of the rights granted herein. 194*964f066aSwikidesignYou are not responsible for enforcing compliance by third parties to 195*964f066aSwikidesignthis License. 196*964f066aSwikidesign 197*964f066aSwikidesign 7. If, as a consequence of a court judgment or allegation of patent 198*964f066aSwikidesigninfringement or for any other reason (not limited to patent issues), 199*964f066aSwikidesignconditions are imposed on you (whether by court order, agreement or 200*964f066aSwikidesignotherwise) that contradict the conditions of this License, they do not 201*964f066aSwikidesignexcuse you from the conditions of this License. If you cannot 202*964f066aSwikidesigndistribute so as to satisfy simultaneously your obligations under this 203*964f066aSwikidesignLicense and any other pertinent obligations, then as a consequence you 204*964f066aSwikidesignmay not distribute the Program at all. For example, if a patent 205*964f066aSwikidesignlicense would not permit royalty-free redistribution of the Program by 206*964f066aSwikidesignall those who receive copies directly or indirectly through you, then 207*964f066aSwikidesignthe only way you could satisfy both it and this License would be to 208*964f066aSwikidesignrefrain entirely from distribution of the Program. 209*964f066aSwikidesign 210*964f066aSwikidesignIf any portion of this section is held invalid or unenforceable under 211*964f066aSwikidesignany particular circumstance, the balance of the section is intended to 212*964f066aSwikidesignapply and the section as a whole is intended to apply in other 213*964f066aSwikidesigncircumstances. 214*964f066aSwikidesign 215*964f066aSwikidesignIt is not the purpose of this section to induce you to infringe any 216*964f066aSwikidesignpatents or other property right claims or to contest validity of any 217*964f066aSwikidesignsuch claims; this section has the sole purpose of protecting the 218*964f066aSwikidesignintegrity of the free software distribution system, which is 219*964f066aSwikidesignimplemented by public license practices. Many people have made 220*964f066aSwikidesigngenerous contributions to the wide range of software distributed 221*964f066aSwikidesignthrough that system in reliance on consistent application of that 222*964f066aSwikidesignsystem; it is up to the author/donor to decide if he or she is willing 223*964f066aSwikidesignto distribute software through any other system and a licensee cannot 224*964f066aSwikidesignimpose that choice. 225*964f066aSwikidesign 226*964f066aSwikidesignThis section is intended to make thoroughly clear what is believed to 227*964f066aSwikidesignbe a consequence of the rest of this License. 228*964f066aSwikidesign 229*964f066aSwikidesign 8. If the distribution and/or use of the Program is restricted in 230*964f066aSwikidesigncertain countries either by patents or by copyrighted interfaces, the 231*964f066aSwikidesignoriginal copyright holder who places the Program under this License 232*964f066aSwikidesignmay add an explicit geographical distribution limitation excluding 233*964f066aSwikidesignthose countries, so that distribution is permitted only in or among 234*964f066aSwikidesigncountries not thus excluded. In such case, this License incorporates 235*964f066aSwikidesignthe limitation as if written in the body of this License. 236*964f066aSwikidesign 237*964f066aSwikidesign 9. The Free Software Foundation may publish revised and/or new versions 238*964f066aSwikidesignof the General Public License from time to time. Such new versions will 239*964f066aSwikidesignbe similar in spirit to the present version, but may differ in detail to 240*964f066aSwikidesignaddress new problems or concerns. 241*964f066aSwikidesign 242*964f066aSwikidesignEach version is given a distinguishing version number. If the Program 243*964f066aSwikidesignspecifies a version number of this License which applies to it and "any 244*964f066aSwikidesignlater version", you have the option of following the terms and conditions 245*964f066aSwikidesigneither of that version or of any later version published by the Free 246*964f066aSwikidesignSoftware Foundation. If the Program does not specify a version number of 247*964f066aSwikidesignthis License, you may choose any version ever published by the Free Software 248*964f066aSwikidesignFoundation. 249*964f066aSwikidesign 250*964f066aSwikidesign 10. If you wish to incorporate parts of the Program into other free 251*964f066aSwikidesignprograms whose distribution conditions are different, write to the author 252*964f066aSwikidesignto ask for permission. For software which is copyrighted by the Free 253*964f066aSwikidesignSoftware Foundation, write to the Free Software Foundation; we sometimes 254*964f066aSwikidesignmake exceptions for this. Our decision will be guided by the two goals 255*964f066aSwikidesignof preserving the free status of all derivatives of our free software and 256*964f066aSwikidesignof promoting the sharing and reuse of software generally. 257*964f066aSwikidesign 258*964f066aSwikidesign NO WARRANTY 259*964f066aSwikidesign 260*964f066aSwikidesign 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*964f066aSwikidesignFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*964f066aSwikidesignOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*964f066aSwikidesignPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*964f066aSwikidesignOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*964f066aSwikidesignMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*964f066aSwikidesignTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*964f066aSwikidesignPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*964f066aSwikidesignREPAIR OR CORRECTION. 269*964f066aSwikidesign 270*964f066aSwikidesign 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*964f066aSwikidesignWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*964f066aSwikidesignREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*964f066aSwikidesignINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*964f066aSwikidesignOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*964f066aSwikidesignTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*964f066aSwikidesignYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*964f066aSwikidesignPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*964f066aSwikidesignPOSSIBILITY OF SUCH DAMAGES. 279*964f066aSwikidesign 280*964f066aSwikidesign END OF TERMS AND CONDITIONS 281*964f066aSwikidesign 282*964f066aSwikidesign How to Apply These Terms to Your New Programs 283*964f066aSwikidesign 284*964f066aSwikidesign If you develop a new program, and you want it to be of the greatest 285*964f066aSwikidesignpossible use to the public, the best way to achieve this is to make it 286*964f066aSwikidesignfree software which everyone can redistribute and change under these terms. 287*964f066aSwikidesign 288*964f066aSwikidesign To do so, attach the following notices to the program. It is safest 289*964f066aSwikidesignto attach them to the start of each source file to most effectively 290*964f066aSwikidesignconvey the exclusion of warranty; and each file should have at least 291*964f066aSwikidesignthe "copyright" line and a pointer to where the full notice is found. 292*964f066aSwikidesign 293*964f066aSwikidesign <one line to give the program's name and a brief idea of what it does.> 294*964f066aSwikidesign Copyright (C) <year> <name of author> 295*964f066aSwikidesign 296*964f066aSwikidesign This program is free software; you can redistribute it and/or modify 297*964f066aSwikidesign it under the terms of the GNU General Public License as published by 298*964f066aSwikidesign the Free Software Foundation; either version 2 of the License, or 299*964f066aSwikidesign (at your option) any later version. 300*964f066aSwikidesign 301*964f066aSwikidesign This program is distributed in the hope that it will be useful, 302*964f066aSwikidesign but WITHOUT ANY WARRANTY; without even the implied warranty of 303*964f066aSwikidesign MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*964f066aSwikidesign GNU General Public License for more details. 305*964f066aSwikidesign 306*964f066aSwikidesign You should have received a copy of the GNU General Public License 307*964f066aSwikidesign along with this program; if not, write to the Free Software 308*964f066aSwikidesign Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 309*964f066aSwikidesign 310*964f066aSwikidesign 311*964f066aSwikidesignAlso add information on how to contact you by electronic and paper mail. 312*964f066aSwikidesign 313*964f066aSwikidesignIf the program is interactive, make it output a short notice like this 314*964f066aSwikidesignwhen it starts in an interactive mode: 315*964f066aSwikidesign 316*964f066aSwikidesign Gnomovision version 69, Copyright (C) year name of author 317*964f066aSwikidesign Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318*964f066aSwikidesign This is free software, and you are welcome to redistribute it 319*964f066aSwikidesign under certain conditions; type `show c' for details. 320*964f066aSwikidesign 321*964f066aSwikidesignThe hypothetical commands `show w' and `show c' should show the appropriate 322*964f066aSwikidesignparts of the General Public License. Of course, the commands you use may 323*964f066aSwikidesignbe called something other than `show w' and `show c'; they could even be 324*964f066aSwikidesignmouse-clicks or menu items--whatever suits your program. 325*964f066aSwikidesign 326*964f066aSwikidesignYou should also get your employer (if you work as a programmer) or your 327*964f066aSwikidesignschool, if any, to sign a "copyright disclaimer" for the program, if 328*964f066aSwikidesignnecessary. Here is a sample; alter the names: 329*964f066aSwikidesign 330*964f066aSwikidesign Yoyodyne, Inc., hereby disclaims all copyright interest in the program 331*964f066aSwikidesign `Gnomovision' (which makes passes at compilers) written by James Hacker. 332*964f066aSwikidesign 333*964f066aSwikidesign <signature of Ty Coon>, 1 April 1989 334*964f066aSwikidesign Ty Coon, President of Vice 335*964f066aSwikidesign 336*964f066aSwikidesignThis General Public License does not permit incorporating your program into 337*964f066aSwikidesignproprietary programs. If your program is a subroutine library, you may 338*964f066aSwikidesignconsider it more useful to permit linking proprietary applications with the 339*964f066aSwikidesignlibrary. If this is what you want to do, use the GNU Library General 340*964f066aSwikidesignPublic License instead of this License. 341