12fe4e5f8Sopenharmony_ci GNU GENERAL PUBLIC LICENSE 22fe4e5f8Sopenharmony_ci Version 2, June 1991 32fe4e5f8Sopenharmony_ci 42fe4e5f8Sopenharmony_ci Copyright (C) 1989, 1991 Free Software Foundation, Inc., 52fe4e5f8Sopenharmony_ci 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 62fe4e5f8Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 72fe4e5f8Sopenharmony_ci of this license document, but changing it is not allowed. 82fe4e5f8Sopenharmony_ci 92fe4e5f8Sopenharmony_ci Preamble 102fe4e5f8Sopenharmony_ci 112fe4e5f8Sopenharmony_ci The licenses for most software are designed to take away your 122fe4e5f8Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 132fe4e5f8Sopenharmony_ciLicense is intended to guarantee your freedom to share and change free 142fe4e5f8Sopenharmony_cisoftware--to make sure the software is free for all its users. This 152fe4e5f8Sopenharmony_ciGeneral Public License applies to most of the Free Software 162fe4e5f8Sopenharmony_ciFoundation's software and to any other program whose authors commit to 172fe4e5f8Sopenharmony_ciusing it. (Some other Free Software Foundation software is covered by 182fe4e5f8Sopenharmony_cithe GNU Lesser General Public License instead.) You can apply it to 192fe4e5f8Sopenharmony_ciyour programs, too. 202fe4e5f8Sopenharmony_ci 212fe4e5f8Sopenharmony_ci When we speak of free software, we are referring to freedom, not 222fe4e5f8Sopenharmony_ciprice. Our General Public Licenses are designed to make sure that you 232fe4e5f8Sopenharmony_cihave the freedom to distribute copies of free software (and charge for 242fe4e5f8Sopenharmony_cithis service if you wish), that you receive source code or can get it 252fe4e5f8Sopenharmony_ciif you want it, that you can change the software or use pieces of it 262fe4e5f8Sopenharmony_ciin new free programs; and that you know you can do these things. 272fe4e5f8Sopenharmony_ci 282fe4e5f8Sopenharmony_ci To protect your rights, we need to make restrictions that forbid 292fe4e5f8Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights. 302fe4e5f8Sopenharmony_ciThese restrictions translate to certain responsibilities for you if you 312fe4e5f8Sopenharmony_cidistribute copies of the software, or if you modify it. 322fe4e5f8Sopenharmony_ci 332fe4e5f8Sopenharmony_ci For example, if you distribute copies of such a program, whether 342fe4e5f8Sopenharmony_cigratis or for a fee, you must give the recipients all the rights that 352fe4e5f8Sopenharmony_ciyou have. You must make sure that they, too, receive or can get the 362fe4e5f8Sopenharmony_cisource code. And you must show them these terms so they know their 372fe4e5f8Sopenharmony_cirights. 382fe4e5f8Sopenharmony_ci 392fe4e5f8Sopenharmony_ci We protect your rights with two steps: (1) copyright the software, and 402fe4e5f8Sopenharmony_ci(2) offer you this license which gives you legal permission to copy, 412fe4e5f8Sopenharmony_cidistribute and/or modify the software. 422fe4e5f8Sopenharmony_ci 432fe4e5f8Sopenharmony_ci Also, for each author's protection and ours, we want to make certain 442fe4e5f8Sopenharmony_cithat everyone understands that there is no warranty for this free 452fe4e5f8Sopenharmony_cisoftware. If the software is modified by someone else and passed on, we 462fe4e5f8Sopenharmony_ciwant its recipients to know that what they have is not the original, so 472fe4e5f8Sopenharmony_cithat any problems introduced by others will not reflect on the original 482fe4e5f8Sopenharmony_ciauthors' reputations. 492fe4e5f8Sopenharmony_ci 502fe4e5f8Sopenharmony_ci Finally, any free program is threatened constantly by software 512fe4e5f8Sopenharmony_cipatents. We wish to avoid the danger that redistributors of a free 522fe4e5f8Sopenharmony_ciprogram will individually obtain patent licenses, in effect making the 532fe4e5f8Sopenharmony_ciprogram proprietary. To prevent this, we have made it clear that any 542fe4e5f8Sopenharmony_cipatent must be licensed for everyone's free use or not licensed at all. 552fe4e5f8Sopenharmony_ci 562fe4e5f8Sopenharmony_ci The precise terms and conditions for copying, distribution and 572fe4e5f8Sopenharmony_cimodification follow. 582fe4e5f8Sopenharmony_ci 592fe4e5f8Sopenharmony_ci GNU GENERAL PUBLIC LICENSE 602fe4e5f8Sopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 612fe4e5f8Sopenharmony_ci 622fe4e5f8Sopenharmony_ci 0. This License applies to any program or other work which contains 632fe4e5f8Sopenharmony_cia notice placed by the copyright holder saying it may be distributed 642fe4e5f8Sopenharmony_ciunder the terms of this General Public License. The "Program", below, 652fe4e5f8Sopenharmony_cirefers to any such program or work, and a "work based on the Program" 662fe4e5f8Sopenharmony_cimeans either the Program or any derivative work under copyright law: 672fe4e5f8Sopenharmony_cithat is to say, a work containing the Program or a portion of it, 682fe4e5f8Sopenharmony_cieither verbatim or with modifications and/or translated into another 692fe4e5f8Sopenharmony_cilanguage. (Hereinafter, translation is included without limitation in 702fe4e5f8Sopenharmony_cithe term "modification".) Each licensee is addressed as "you". 712fe4e5f8Sopenharmony_ci 722fe4e5f8Sopenharmony_ciActivities other than copying, distribution and modification are not 732fe4e5f8Sopenharmony_cicovered by this License; they are outside its scope. The act of 742fe4e5f8Sopenharmony_cirunning the Program is not restricted, and the output from the Program 752fe4e5f8Sopenharmony_ciis covered only if its contents constitute a work based on the 762fe4e5f8Sopenharmony_ciProgram (independent of having been made by running the Program). 772fe4e5f8Sopenharmony_ciWhether that is true depends on what the Program does. 782fe4e5f8Sopenharmony_ci 792fe4e5f8Sopenharmony_ci 1. You may copy and distribute verbatim copies of the Program's 802fe4e5f8Sopenharmony_cisource code as you receive it, in any medium, provided that you 812fe4e5f8Sopenharmony_ciconspicuously and appropriately publish on each copy an appropriate 822fe4e5f8Sopenharmony_cicopyright notice and disclaimer of warranty; keep intact all the 832fe4e5f8Sopenharmony_cinotices that refer to this License and to the absence of any warranty; 842fe4e5f8Sopenharmony_ciand give any other recipients of the Program a copy of this License 852fe4e5f8Sopenharmony_cialong with the Program. 862fe4e5f8Sopenharmony_ci 872fe4e5f8Sopenharmony_ciYou may charge a fee for the physical act of transferring a copy, and 882fe4e5f8Sopenharmony_ciyou may at your option offer warranty protection in exchange for a fee. 892fe4e5f8Sopenharmony_ci 902fe4e5f8Sopenharmony_ci 2. You may modify your copy or copies of the Program or any portion 912fe4e5f8Sopenharmony_ciof it, thus forming a work based on the Program, and copy and 922fe4e5f8Sopenharmony_cidistribute such modifications or work under the terms of Section 1 932fe4e5f8Sopenharmony_ciabove, provided that you also meet all of these conditions: 942fe4e5f8Sopenharmony_ci 952fe4e5f8Sopenharmony_ci a) You must cause the modified files to carry prominent notices 962fe4e5f8Sopenharmony_ci stating that you changed the files and the date of any change. 972fe4e5f8Sopenharmony_ci 982fe4e5f8Sopenharmony_ci b) You must cause any work that you distribute or publish, that in 992fe4e5f8Sopenharmony_ci whole or in part contains or is derived from the Program or any 1002fe4e5f8Sopenharmony_ci part thereof, to be licensed as a whole at no charge to all third 1012fe4e5f8Sopenharmony_ci parties under the terms of this License. 1022fe4e5f8Sopenharmony_ci 1032fe4e5f8Sopenharmony_ci c) If the modified program normally reads commands interactively 1042fe4e5f8Sopenharmony_ci when run, you must cause it, when started running for such 1052fe4e5f8Sopenharmony_ci interactive use in the most ordinary way, to print or display an 1062fe4e5f8Sopenharmony_ci announcement including an appropriate copyright notice and a 1072fe4e5f8Sopenharmony_ci notice that there is no warranty (or else, saying that you provide 1082fe4e5f8Sopenharmony_ci a warranty) and that users may redistribute the program under 1092fe4e5f8Sopenharmony_ci these conditions, and telling the user how to view a copy of this 1102fe4e5f8Sopenharmony_ci License. (Exception: if the Program itself is interactive but 1112fe4e5f8Sopenharmony_ci does not normally print such an announcement, your work based on 1122fe4e5f8Sopenharmony_ci the Program is not required to print an announcement.) 1132fe4e5f8Sopenharmony_ci 1142fe4e5f8Sopenharmony_ciThese requirements apply to the modified work as a whole. If 1152fe4e5f8Sopenharmony_ciidentifiable sections of that work are not derived from the Program, 1162fe4e5f8Sopenharmony_ciand can be reasonably considered independent and separate works in 1172fe4e5f8Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 1182fe4e5f8Sopenharmony_cisections when you distribute them as separate works. But when you 1192fe4e5f8Sopenharmony_cidistribute the same sections as part of a whole which is a work based 1202fe4e5f8Sopenharmony_cion the Program, the distribution of the whole must be on the terms of 1212fe4e5f8Sopenharmony_cithis License, whose permissions for other licensees extend to the 1222fe4e5f8Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote it. 1232fe4e5f8Sopenharmony_ci 1242fe4e5f8Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 1252fe4e5f8Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 1262fe4e5f8Sopenharmony_ciexercise the right to control the distribution of derivative or 1272fe4e5f8Sopenharmony_cicollective works based on the Program. 1282fe4e5f8Sopenharmony_ci 1292fe4e5f8Sopenharmony_ciIn addition, mere aggregation of another work not based on the Program 1302fe4e5f8Sopenharmony_ciwith the Program (or with a work based on the Program) on a volume of 1312fe4e5f8Sopenharmony_cia storage or distribution medium does not bring the other work under 1322fe4e5f8Sopenharmony_cithe scope of this License. 1332fe4e5f8Sopenharmony_ci 1342fe4e5f8Sopenharmony_ci 3. You may copy and distribute the Program (or a work based on it, 1352fe4e5f8Sopenharmony_ciunder Section 2) in object code or executable form under the terms of 1362fe4e5f8Sopenharmony_ciSections 1 and 2 above provided that you also do one of the following: 1372fe4e5f8Sopenharmony_ci 1382fe4e5f8Sopenharmony_ci a) Accompany it with the complete corresponding machine-readable 1392fe4e5f8Sopenharmony_ci source code, which must be distributed under the terms of Sections 1402fe4e5f8Sopenharmony_ci 1 and 2 above on a medium customarily used for software interchange; or, 1412fe4e5f8Sopenharmony_ci 1422fe4e5f8Sopenharmony_ci b) Accompany it with a written offer, valid for at least three 1432fe4e5f8Sopenharmony_ci years, to give any third party, for a charge no more than your 1442fe4e5f8Sopenharmony_ci cost of physically performing source distribution, a complete 1452fe4e5f8Sopenharmony_ci machine-readable copy of the corresponding source code, to be 1462fe4e5f8Sopenharmony_ci distributed under the terms of Sections 1 and 2 above on a medium 1472fe4e5f8Sopenharmony_ci customarily used for software interchange; or, 1482fe4e5f8Sopenharmony_ci 1492fe4e5f8Sopenharmony_ci c) Accompany it with the information you received as to the offer 1502fe4e5f8Sopenharmony_ci to distribute corresponding source code. (This alternative is 1512fe4e5f8Sopenharmony_ci allowed only for noncommercial distribution and only if you 1522fe4e5f8Sopenharmony_ci received the program in object code or executable form with such 1532fe4e5f8Sopenharmony_ci an offer, in accord with Subsection b above.) 1542fe4e5f8Sopenharmony_ci 1552fe4e5f8Sopenharmony_ciThe source code for a work means the preferred form of the work for 1562fe4e5f8Sopenharmony_cimaking modifications to it. For an executable work, complete source 1572fe4e5f8Sopenharmony_cicode means all the source code for all modules it contains, plus any 1582fe4e5f8Sopenharmony_ciassociated interface definition files, plus the scripts used to 1592fe4e5f8Sopenharmony_cicontrol compilation and installation of the executable. However, as a 1602fe4e5f8Sopenharmony_cispecial exception, the source code distributed need not include 1612fe4e5f8Sopenharmony_cianything that is normally distributed (in either source or binary 1622fe4e5f8Sopenharmony_ciform) with the major components (compiler, kernel, and so on) of the 1632fe4e5f8Sopenharmony_cioperating system on which the executable runs, unless that component 1642fe4e5f8Sopenharmony_ciitself accompanies the executable. 1652fe4e5f8Sopenharmony_ci 1662fe4e5f8Sopenharmony_ciIf distribution of executable or object code is made by offering 1672fe4e5f8Sopenharmony_ciaccess to copy from a designated place, then offering equivalent 1682fe4e5f8Sopenharmony_ciaccess to copy the source code from the same place counts as 1692fe4e5f8Sopenharmony_cidistribution of the source code, even though third parties are not 1702fe4e5f8Sopenharmony_cicompelled to copy the source along with the object code. 1712fe4e5f8Sopenharmony_ci 1722fe4e5f8Sopenharmony_ci 4. You may not copy, modify, sublicense, or distribute the Program 1732fe4e5f8Sopenharmony_ciexcept as expressly provided under this License. Any attempt 1742fe4e5f8Sopenharmony_ciotherwise to copy, modify, sublicense or distribute the Program is 1752fe4e5f8Sopenharmony_civoid, and will automatically terminate your rights under this License. 1762fe4e5f8Sopenharmony_ciHowever, parties who have received copies, or rights, from you under 1772fe4e5f8Sopenharmony_cithis License will not have their licenses terminated so long as such 1782fe4e5f8Sopenharmony_ciparties remain in full compliance. 1792fe4e5f8Sopenharmony_ci 1802fe4e5f8Sopenharmony_ci 5. You are not required to accept this License, since you have not 1812fe4e5f8Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 1822fe4e5f8Sopenharmony_cidistribute the Program or its derivative works. These actions are 1832fe4e5f8Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 1842fe4e5f8Sopenharmony_cimodifying or distributing the Program (or any work based on the 1852fe4e5f8Sopenharmony_ciProgram), you indicate your acceptance of this License to do so, and 1862fe4e5f8Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 1872fe4e5f8Sopenharmony_cithe Program or works based on it. 1882fe4e5f8Sopenharmony_ci 1892fe4e5f8Sopenharmony_ci 6. Each time you redistribute the Program (or any work based on the 1902fe4e5f8Sopenharmony_ciProgram), the recipient automatically receives a license from the 1912fe4e5f8Sopenharmony_cioriginal licensor to copy, distribute or modify the Program subject to 1922fe4e5f8Sopenharmony_cithese terms and conditions. You may not impose any further 1932fe4e5f8Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 1942fe4e5f8Sopenharmony_ciYou are not responsible for enforcing compliance by third parties to 1952fe4e5f8Sopenharmony_cithis License. 1962fe4e5f8Sopenharmony_ci 1972fe4e5f8Sopenharmony_ci 7. If, as a consequence of a court judgment or allegation of patent 1982fe4e5f8Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 1992fe4e5f8Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 2002fe4e5f8Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 2012fe4e5f8Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 2022fe4e5f8Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 2032fe4e5f8Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 2042fe4e5f8Sopenharmony_cimay not distribute the Program at all. For example, if a patent 2052fe4e5f8Sopenharmony_cilicense would not permit royalty-free redistribution of the Program by 2062fe4e5f8Sopenharmony_ciall those who receive copies directly or indirectly through you, then 2072fe4e5f8Sopenharmony_cithe only way you could satisfy both it and this License would be to 2082fe4e5f8Sopenharmony_cirefrain entirely from distribution of the Program. 2092fe4e5f8Sopenharmony_ci 2102fe4e5f8Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under 2112fe4e5f8Sopenharmony_ciany particular circumstance, the balance of the section is intended to 2122fe4e5f8Sopenharmony_ciapply and the section as a whole is intended to apply in other 2132fe4e5f8Sopenharmony_cicircumstances. 2142fe4e5f8Sopenharmony_ci 2152fe4e5f8Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 2162fe4e5f8Sopenharmony_cipatents or other property right claims or to contest validity of any 2172fe4e5f8Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 2182fe4e5f8Sopenharmony_ciintegrity of the free software distribution system, which is 2192fe4e5f8Sopenharmony_ciimplemented by public license practices. Many people have made 2202fe4e5f8Sopenharmony_cigenerous contributions to the wide range of software distributed 2212fe4e5f8Sopenharmony_cithrough that system in reliance on consistent application of that 2222fe4e5f8Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 2232fe4e5f8Sopenharmony_cito distribute software through any other system and a licensee cannot 2242fe4e5f8Sopenharmony_ciimpose that choice. 2252fe4e5f8Sopenharmony_ci 2262fe4e5f8Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 2272fe4e5f8Sopenharmony_cibe a consequence of the rest of this License. 2282fe4e5f8Sopenharmony_ci 2292fe4e5f8Sopenharmony_ci 8. If the distribution and/or use of the Program is restricted in 2302fe4e5f8Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 2312fe4e5f8Sopenharmony_cioriginal copyright holder who places the Program under this License 2322fe4e5f8Sopenharmony_cimay add an explicit geographical distribution limitation excluding 2332fe4e5f8Sopenharmony_cithose countries, so that distribution is permitted only in or among 2342fe4e5f8Sopenharmony_cicountries not thus excluded. In such case, this License incorporates 2352fe4e5f8Sopenharmony_cithe limitation as if written in the body of this License. 2362fe4e5f8Sopenharmony_ci 2372fe4e5f8Sopenharmony_ci 9. The Free Software Foundation may publish revised and/or new versions 2382fe4e5f8Sopenharmony_ciof the General Public License from time to time. Such new versions will 2392fe4e5f8Sopenharmony_cibe similar in spirit to the present version, but may differ in detail to 2402fe4e5f8Sopenharmony_ciaddress new problems or concerns. 2412fe4e5f8Sopenharmony_ci 2422fe4e5f8Sopenharmony_ciEach version is given a distinguishing version number. If the Program 2432fe4e5f8Sopenharmony_cispecifies a version number of this License which applies to it and "any 2442fe4e5f8Sopenharmony_cilater version", you have the option of following the terms and conditions 2452fe4e5f8Sopenharmony_cieither of that version or of any later version published by the Free 2462fe4e5f8Sopenharmony_ciSoftware Foundation. If the Program does not specify a version number of 2472fe4e5f8Sopenharmony_cithis License, you may choose any version ever published by the Free Software 2482fe4e5f8Sopenharmony_ciFoundation. 2492fe4e5f8Sopenharmony_ci 2502fe4e5f8Sopenharmony_ci 10. If you wish to incorporate parts of the Program into other free 2512fe4e5f8Sopenharmony_ciprograms whose distribution conditions are different, write to the author 2522fe4e5f8Sopenharmony_cito ask for permission. For software which is copyrighted by the Free 2532fe4e5f8Sopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes 2542fe4e5f8Sopenharmony_cimake exceptions for this. Our decision will be guided by the two goals 2552fe4e5f8Sopenharmony_ciof preserving the free status of all derivatives of our free software and 2562fe4e5f8Sopenharmony_ciof promoting the sharing and reuse of software generally. 2572fe4e5f8Sopenharmony_ci 2582fe4e5f8Sopenharmony_ci NO WARRANTY 2592fe4e5f8Sopenharmony_ci 2602fe4e5f8Sopenharmony_ci 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 2612fe4e5f8Sopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 2622fe4e5f8Sopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 2632fe4e5f8Sopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 2642fe4e5f8Sopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2652fe4e5f8Sopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 2662fe4e5f8Sopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 2672fe4e5f8Sopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 2682fe4e5f8Sopenharmony_ciREPAIR OR CORRECTION. 2692fe4e5f8Sopenharmony_ci 2702fe4e5f8Sopenharmony_ci 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 2712fe4e5f8Sopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 2722fe4e5f8Sopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 2732fe4e5f8Sopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 2742fe4e5f8Sopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 2752fe4e5f8Sopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 2762fe4e5f8Sopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 2772fe4e5f8Sopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 2782fe4e5f8Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGES. 2792fe4e5f8Sopenharmony_ci 2802fe4e5f8Sopenharmony_ci END OF TERMS AND CONDITIONS 2812fe4e5f8Sopenharmony_ci 2822fe4e5f8Sopenharmony_ci How to Apply These Terms to Your New Programs 2832fe4e5f8Sopenharmony_ci 2842fe4e5f8Sopenharmony_ci If you develop a new program, and you want it to be of the greatest 2852fe4e5f8Sopenharmony_cipossible use to the public, the best way to achieve this is to make it 2862fe4e5f8Sopenharmony_cifree software which everyone can redistribute and change under these terms. 2872fe4e5f8Sopenharmony_ci 2882fe4e5f8Sopenharmony_ci To do so, attach the following notices to the program. It is safest 2892fe4e5f8Sopenharmony_cito attach them to the start of each source file to most effectively 2902fe4e5f8Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least 2912fe4e5f8Sopenharmony_cithe "copyright" line and a pointer to where the full notice is found. 2922fe4e5f8Sopenharmony_ci 2932fe4e5f8Sopenharmony_ci <one line to give the program's name and a brief idea of what it does.> 2942fe4e5f8Sopenharmony_ci Copyright (C) <year> <name of author> 2952fe4e5f8Sopenharmony_ci 2962fe4e5f8Sopenharmony_ci This program is free software; you can redistribute it and/or modify 2972fe4e5f8Sopenharmony_ci it under the terms of the GNU General Public License as published by 2982fe4e5f8Sopenharmony_ci the Free Software Foundation; either version 2 of the License, or 2992fe4e5f8Sopenharmony_ci (at your option) any later version. 3002fe4e5f8Sopenharmony_ci 3012fe4e5f8Sopenharmony_ci This program is distributed in the hope that it will be useful, 3022fe4e5f8Sopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 3032fe4e5f8Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3042fe4e5f8Sopenharmony_ci GNU General Public License for more details. 3052fe4e5f8Sopenharmony_ci 3062fe4e5f8Sopenharmony_ci You should have received a copy of the GNU General Public License along 3072fe4e5f8Sopenharmony_ci with this program; if not, write to the Free Software Foundation, Inc., 3082fe4e5f8Sopenharmony_ci 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 3092fe4e5f8Sopenharmony_ci 3102fe4e5f8Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 3112fe4e5f8Sopenharmony_ci 3122fe4e5f8Sopenharmony_ciIf the program is interactive, make it output a short notice like this 3132fe4e5f8Sopenharmony_ciwhen it starts in an interactive mode: 3142fe4e5f8Sopenharmony_ci 3152fe4e5f8Sopenharmony_ci Gnomovision version 69, Copyright (C) year name of author 3162fe4e5f8Sopenharmony_ci Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 3172fe4e5f8Sopenharmony_ci This is free software, and you are welcome to redistribute it 3182fe4e5f8Sopenharmony_ci under certain conditions; type `show c' for details. 3192fe4e5f8Sopenharmony_ci 3202fe4e5f8Sopenharmony_ciThe hypothetical commands `show w' and `show c' should show the appropriate 3212fe4e5f8Sopenharmony_ciparts of the General Public License. Of course, the commands you use may 3222fe4e5f8Sopenharmony_cibe called something other than `show w' and `show c'; they could even be 3232fe4e5f8Sopenharmony_cimouse-clicks or menu items--whatever suits your program. 3242fe4e5f8Sopenharmony_ci 3252fe4e5f8Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 3262fe4e5f8Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if 3272fe4e5f8Sopenharmony_cinecessary. Here is a sample; alter the names: 3282fe4e5f8Sopenharmony_ci 3292fe4e5f8Sopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the program 3302fe4e5f8Sopenharmony_ci `Gnomovision' (which makes passes at compilers) written by James Hacker. 3312fe4e5f8Sopenharmony_ci 3322fe4e5f8Sopenharmony_ci <signature of Ty Coon>, 1 April 1989 3332fe4e5f8Sopenharmony_ci Ty Coon, President of Vice 3342fe4e5f8Sopenharmony_ci 3352fe4e5f8Sopenharmony_ciThis General Public License does not permit incorporating your program into 3362fe4e5f8Sopenharmony_ciproprietary programs. If your program is a subroutine library, you may 3372fe4e5f8Sopenharmony_ciconsider it more useful to permit linking proprietary applications with the 3382fe4e5f8Sopenharmony_cilibrary. If this is what you want to do, use the GNU Lesser General 3392fe4e5f8Sopenharmony_ciPublic License instead of this License. 340