luis@1119: GNU GENERAL PUBLIC LICENSE luis@1119: Version 2, June 1991 luis@1119: luis@1119: Copyright (C) 1989, 1991 Free Software Foundation, Inc., luis@1119: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA luis@1119: Everyone is permitted to copy and distribute verbatim copies luis@1119: of this license document, but changing it is not allowed. luis@1119: luis@1119: Preamble luis@1119: luis@1119: The licenses for most software are designed to take away your luis@1119: freedom to share and change it. By contrast, the GNU General Public luis@1119: License is intended to guarantee your freedom to share and change free luis@1119: software--to make sure the software is free for all its users. This luis@1119: General Public License applies to most of the Free Software luis@1119: Foundation's software and to any other program whose authors commit to luis@1119: using it. (Some other Free Software Foundation software is covered by luis@1119: the GNU Lesser General Public License instead.) You can apply it to luis@1119: your programs, too. luis@1119: luis@1119: When we speak of free software, we are referring to freedom, not luis@1119: price. Our General Public Licenses are designed to make sure that you luis@1119: have the freedom to distribute copies of free software (and charge for luis@1119: this service if you wish), that you receive source code or can get it luis@1119: if you want it, that you can change the software or use pieces of it luis@1119: in new free programs; and that you know you can do these things. luis@1119: luis@1119: To protect your rights, we need to make restrictions that forbid luis@1119: anyone to deny you these rights or to ask you to surrender the rights. luis@1119: These restrictions translate to certain responsibilities for you if you luis@1119: distribute copies of the software, or if you modify it. luis@1119: luis@1119: For example, if you distribute copies of such a program, whether luis@1119: gratis or for a fee, you must give the recipients all the rights that luis@1119: you have. You must make sure that they, too, receive or can get the luis@1119: source code. And you must show them these terms so they know their luis@1119: rights. luis@1119: luis@1119: We protect your rights with two steps: (1) copyright the software, and luis@1119: (2) offer you this license which gives you legal permission to copy, luis@1119: distribute and/or modify the software. luis@1119: luis@1119: Also, for each author's protection and ours, we want to make certain luis@1119: that everyone understands that there is no warranty for this free luis@1119: software. If the software is modified by someone else and passed on, we luis@1119: want its recipients to know that what they have is not the original, so luis@1119: that any problems introduced by others will not reflect on the original luis@1119: authors' reputations. luis@1119: luis@1119: Finally, any free program is threatened constantly by software luis@1119: patents. We wish to avoid the danger that redistributors of a free luis@1119: program will individually obtain patent licenses, in effect making the luis@1119: program proprietary. To prevent this, we have made it clear that any luis@1119: patent must be licensed for everyone's free use or not licensed at all. luis@1119: luis@1119: The precise terms and conditions for copying, distribution and luis@1119: modification follow. luis@1119: luis@1119: GNU GENERAL PUBLIC LICENSE luis@1119: TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION luis@1119: luis@1119: 0. This License applies to any program or other work which contains luis@1119: a notice placed by the copyright holder saying it may be distributed luis@1119: under the terms of this General Public License. The "Program", below, luis@1119: refers to any such program or work, and a "work based on the Program" luis@1119: means either the Program or any derivative work under copyright law: luis@1119: that is to say, a work containing the Program or a portion of it, luis@1119: either verbatim or with modifications and/or translated into another luis@1119: language. (Hereinafter, translation is included without limitation in luis@1119: the term "modification".) Each licensee is addressed as "you". luis@1119: luis@1119: Activities other than copying, distribution and modification are not luis@1119: covered by this License; they are outside its scope. The act of luis@1119: running the Program is not restricted, and the output from the Program luis@1119: is covered only if its contents constitute a work based on the luis@1119: Program (independent of having been made by running the Program). luis@1119: Whether that is true depends on what the Program does. luis@1119: luis@1119: 1. You may copy and distribute verbatim copies of the Program's luis@1119: source code as you receive it, in any medium, provided that you luis@1119: conspicuously and appropriately publish on each copy an appropriate luis@1119: copyright notice and disclaimer of warranty; keep intact all the luis@1119: notices that refer to this License and to the absence of any warranty; luis@1119: and give any other recipients of the Program a copy of this License luis@1119: along with the Program. luis@1119: luis@1119: You may charge a fee for the physical act of transferring a copy, and luis@1119: you may at your option offer warranty protection in exchange for a fee. luis@1119: luis@1119: 2. You may modify your copy or copies of the Program or any portion luis@1119: of it, thus forming a work based on the Program, and copy and luis@1119: distribute such modifications or work under the terms of Section 1 luis@1119: above, provided that you also meet all of these conditions: luis@1119: luis@1119: a) You must cause the modified files to carry prominent notices luis@1119: stating that you changed the files and the date of any change. luis@1119: luis@1119: b) You must cause any work that you distribute or publish, that in luis@1119: whole or in part contains or is derived from the Program or any luis@1119: part thereof, to be licensed as a whole at no charge to all third luis@1119: parties under the terms of this License. luis@1119: luis@1119: c) If the modified program normally reads commands interactively luis@1119: when run, you must cause it, when started running for such luis@1119: interactive use in the most ordinary way, to print or display an luis@1119: announcement including an appropriate copyright notice and a luis@1119: notice that there is no warranty (or else, saying that you provide luis@1119: a warranty) and that users may redistribute the program under luis@1119: these conditions, and telling the user how to view a copy of this luis@1119: License. (Exception: if the Program itself is interactive but luis@1119: does not normally print such an announcement, your work based on luis@1119: the Program is not required to print an announcement.) luis@1119: luis@1119: These requirements apply to the modified work as a whole. If luis@1119: identifiable sections of that work are not derived from the Program, luis@1119: and can be reasonably considered independent and separate works in luis@1119: themselves, then this License, and its terms, do not apply to those luis@1119: sections when you distribute them as separate works. But when you luis@1119: distribute the same sections as part of a whole which is a work based luis@1119: on the Program, the distribution of the whole must be on the terms of luis@1119: this License, whose permissions for other licensees extend to the luis@1119: entire whole, and thus to each and every part regardless of who wrote it. luis@1119: luis@1119: Thus, it is not the intent of this section to claim rights or contest luis@1119: your rights to work written entirely by you; rather, the intent is to luis@1119: exercise the right to control the distribution of derivative or luis@1119: collective works based on the Program. luis@1119: luis@1119: In addition, mere aggregation of another work not based on the Program luis@1119: with the Program (or with a work based on the Program) on a volume of luis@1119: a storage or distribution medium does not bring the other work under luis@1119: the scope of this License. luis@1119: luis@1119: 3. You may copy and distribute the Program (or a work based on it, luis@1119: under Section 2) in object code or executable form under the terms of luis@1119: Sections 1 and 2 above provided that you also do one of the following: luis@1119: luis@1119: a) Accompany it with the complete corresponding machine-readable luis@1119: source code, which must be distributed under the terms of Sections luis@1119: 1 and 2 above on a medium customarily used for software interchange; or, luis@1119: luis@1119: b) Accompany it with a written offer, valid for at least three luis@1119: years, to give any third party, for a charge no more than your luis@1119: cost of physically performing source distribution, a complete luis@1119: machine-readable copy of the corresponding source code, to be luis@1119: distributed under the terms of Sections 1 and 2 above on a medium luis@1119: customarily used for software interchange; or, luis@1119: luis@1119: c) Accompany it with the information you received as to the offer luis@1119: to distribute corresponding source code. (This alternative is luis@1119: allowed only for noncommercial distribution and only if you luis@1119: received the program in object code or executable form with such luis@1119: an offer, in accord with Subsection b above.) luis@1119: luis@1119: The source code for a work means the preferred form of the work for luis@1119: making modifications to it. For an executable work, complete source luis@1119: code means all the source code for all modules it contains, plus any luis@1119: associated interface definition files, plus the scripts used to luis@1119: control compilation and installation of the executable. However, as a luis@1119: special exception, the source code distributed need not include luis@1119: anything that is normally distributed (in either source or binary luis@1119: form) with the major components (compiler, kernel, and so on) of the luis@1119: operating system on which the executable runs, unless that component luis@1119: itself accompanies the executable. luis@1119: luis@1119: If distribution of executable or object code is made by offering luis@1119: access to copy from a designated place, then offering equivalent luis@1119: access to copy the source code from the same place counts as luis@1119: distribution of the source code, even though third parties are not luis@1119: compelled to copy the source along with the object code. luis@1119: luis@1119: 4. You may not copy, modify, sublicense, or distribute the Program luis@1119: except as expressly provided under this License. Any attempt luis@1119: otherwise to copy, modify, sublicense or distribute the Program is luis@1119: void, and will automatically terminate your rights under this License. luis@1119: However, parties who have received copies, or rights, from you under luis@1119: this License will not have their licenses terminated so long as such luis@1119: parties remain in full compliance. luis@1119: luis@1119: 5. You are not required to accept this License, since you have not luis@1119: signed it. However, nothing else grants you permission to modify or luis@1119: distribute the Program or its derivative works. These actions are luis@1119: prohibited by law if you do not accept this License. Therefore, by luis@1119: modifying or distributing the Program (or any work based on the luis@1119: Program), you indicate your acceptance of this License to do so, and luis@1119: all its terms and conditions for copying, distributing or modifying luis@1119: the Program or works based on it. luis@1119: luis@1119: 6. Each time you redistribute the Program (or any work based on the luis@1119: Program), the recipient automatically receives a license from the luis@1119: original licensor to copy, distribute or modify the Program subject to luis@1119: these terms and conditions. You may not impose any further luis@1119: restrictions on the recipients' exercise of the rights granted herein. luis@1119: You are not responsible for enforcing compliance by third parties to luis@1119: this License. luis@1119: luis@1119: 7. If, as a consequence of a court judgment or allegation of patent luis@1119: infringement or for any other reason (not limited to patent issues), luis@1119: conditions are imposed on you (whether by court order, agreement or luis@1119: otherwise) that contradict the conditions of this License, they do not luis@1119: excuse you from the conditions of this License. If you cannot luis@1119: distribute so as to satisfy simultaneously your obligations under this luis@1119: License and any other pertinent obligations, then as a consequence you luis@1119: may not distribute the Program at all. For example, if a patent luis@1119: license would not permit royalty-free redistribution of the Program by luis@1119: all those who receive copies directly or indirectly through you, then luis@1119: the only way you could satisfy both it and this License would be to luis@1119: refrain entirely from distribution of the Program. luis@1119: luis@1119: If any portion of this section is held invalid or unenforceable under luis@1119: any particular circumstance, the balance of the section is intended to luis@1119: apply and the section as a whole is intended to apply in other luis@1119: circumstances. luis@1119: luis@1119: It is not the purpose of this section to induce you to infringe any luis@1119: patents or other property right claims or to contest validity of any luis@1119: such claims; this section has the sole purpose of protecting the luis@1119: integrity of the free software distribution system, which is luis@1119: implemented by public license practices. Many people have made luis@1119: generous contributions to the wide range of software distributed luis@1119: through that system in reliance on consistent application of that luis@1119: system; it is up to the author/donor to decide if he or she is willing luis@1119: to distribute software through any other system and a licensee cannot luis@1119: impose that choice. luis@1119: luis@1119: This section is intended to make thoroughly clear what is believed to luis@1119: be a consequence of the rest of this License. luis@1119: luis@1119: 8. If the distribution and/or use of the Program is restricted in luis@1119: certain countries either by patents or by copyrighted interfaces, the luis@1119: original copyright holder who places the Program under this License luis@1119: may add an explicit geographical distribution limitation excluding luis@1119: those countries, so that distribution is permitted only in or among luis@1119: countries not thus excluded. In such case, this License incorporates luis@1119: the limitation as if written in the body of this License. luis@1119: luis@1119: 9. The Free Software Foundation may publish revised and/or new versions luis@1119: of the General Public License from time to time. Such new versions will luis@1119: be similar in spirit to the present version, but may differ in detail to luis@1119: address new problems or concerns. luis@1119: luis@1119: Each version is given a distinguishing version number. If the Program luis@1119: specifies a version number of this License which applies to it and "any luis@1119: later version", you have the option of following the terms and conditions luis@1119: either of that version or of any later version published by the Free luis@1119: Software Foundation. If the Program does not specify a version number of luis@1119: this License, you may choose any version ever published by the Free Software luis@1119: Foundation. luis@1119: luis@1119: 10. If you wish to incorporate parts of the Program into other free luis@1119: programs whose distribution conditions are different, write to the author luis@1119: to ask for permission. For software which is copyrighted by the Free luis@1119: Software Foundation, write to the Free Software Foundation; we sometimes luis@1119: make exceptions for this. Our decision will be guided by the two goals luis@1119: of preserving the free status of all derivatives of our free software and luis@1119: of promoting the sharing and reuse of software generally. luis@1119: luis@1119: NO WARRANTY luis@1119: luis@1119: 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY luis@1119: FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN luis@1119: OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES luis@1119: PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED luis@1119: OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF luis@1119: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS luis@1119: TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE luis@1119: PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, luis@1119: REPAIR OR CORRECTION. luis@1119: luis@1119: 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING luis@1119: WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR luis@1119: REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, luis@1119: INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING luis@1119: OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED luis@1119: TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY luis@1119: YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER luis@1119: PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE luis@1119: POSSIBILITY OF SUCH DAMAGES. luis@1119: luis@1119: END OF TERMS AND CONDITIONS luis@1119: luis@1119: How to Apply These Terms to Your New Programs luis@1119: luis@1119: If you develop a new program, and you want it to be of the greatest luis@1119: possible use to the public, the best way to achieve this is to make it luis@1119: free software which everyone can redistribute and change under these terms. luis@1119: luis@1119: To do so, attach the following notices to the program. It is safest luis@1119: to attach them to the start of each source file to most effectively luis@1119: convey the exclusion of warranty; and each file should have at least luis@1119: the "copyright" line and a pointer to where the full notice is found. luis@1119: luis@1119: luis@1119: Copyright (C) luis@1119: luis@1119: This program is free software; you can redistribute it and/or modify luis@1119: it under the terms of the GNU General Public License as published by luis@1119: the Free Software Foundation; either version 2 of the License, or luis@1119: (at your option) any later version. luis@1119: luis@1119: This program is distributed in the hope that it will be useful, luis@1119: but WITHOUT ANY WARRANTY; without even the implied warranty of luis@1119: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the luis@1119: GNU General Public License for more details. luis@1119: luis@1119: You should have received a copy of the GNU General Public License along luis@1119: with this program; if not, write to the Free Software Foundation, Inc., luis@1119: 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. luis@1119: luis@1119: Also add information on how to contact you by electronic and paper mail. luis@1119: luis@1119: If the program is interactive, make it output a short notice like this luis@1119: when it starts in an interactive mode: luis@1119: luis@1119: Gnomovision version 69, Copyright (C) year name of author luis@1119: Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. luis@1119: This is free software, and you are welcome to redistribute it luis@1119: under certain conditions; type `show c' for details. luis@1119: luis@1119: The hypothetical commands `show w' and `show c' should show the appropriate luis@1119: parts of the General Public License. Of course, the commands you use may luis@1119: be called something other than `show w' and `show c'; they could even be luis@1119: mouse-clicks or menu items--whatever suits your program. luis@1119: luis@1119: You should also get your employer (if you work as a programmer) or your luis@1119: school, if any, to sign a "copyright disclaimer" for the program, if luis@1119: necessary. Here is a sample; alter the names: luis@1119: luis@1119: Yoyodyne, Inc., hereby disclaims all copyright interest in the program luis@1119: `Gnomovision' (which makes passes at compilers) written by James Hacker. luis@1119: luis@1119: , 1 April 1989 luis@1119: Ty Coon, President of Vice luis@1119: luis@1119: This General Public License does not permit incorporating your program into luis@1119: proprietary programs. If your program is a subroutine library, you may luis@1119: consider it more useful to permit linking proprietary applications with the luis@1119: library. If this is what you want to do, use the GNU Lesser General luis@1119: Public License instead of this License.