1c1d0c72aSopenharmony_ciValid-License-Identifier: GPL-2.0 2c1d0c72aSopenharmony_ciValid-License-Identifier: GPL-2.0-only 3c1d0c72aSopenharmony_ciValid-License-Identifier: GPL-2.0+ 4c1d0c72aSopenharmony_ciValid-License-Identifier: GPL-2.0-or-later 5c1d0c72aSopenharmony_ciSPDX-URL: https://spdx.org/licenses/GPL-2.0.html 6c1d0c72aSopenharmony_ciUsage-Guide: 7c1d0c72aSopenharmony_ci To use this license in source code, put one of the following SPDX 8c1d0c72aSopenharmony_ci tag/value pairs into a comment according to the placement 9c1d0c72aSopenharmony_ci guidelines in the licensing rules documentation. 10c1d0c72aSopenharmony_ci For 'GNU General Public License (GPL) version 2 only' use: 11c1d0c72aSopenharmony_ci SPDX-License-Identifier: GPL-2.0 12c1d0c72aSopenharmony_ci or 13c1d0c72aSopenharmony_ci SPDX-License-Identifier: GPL-2.0-only 14c1d0c72aSopenharmony_ci For 'GNU General Public License (GPL) version 2 or any later version' use: 15c1d0c72aSopenharmony_ci SPDX-License-Identifier: GPL-2.0+ 16c1d0c72aSopenharmony_ci or 17c1d0c72aSopenharmony_ci SPDX-License-Identifier: GPL-2.0-or-later 18c1d0c72aSopenharmony_ciLicense-Text: 19c1d0c72aSopenharmony_ci 20c1d0c72aSopenharmony_ci GNU GENERAL PUBLIC LICENSE 21c1d0c72aSopenharmony_ci Version 2, June 1991 22c1d0c72aSopenharmony_ci 23c1d0c72aSopenharmony_ci Copyright (C) 1989, 1991 Free Software Foundation, Inc. 24c1d0c72aSopenharmony_ci 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25c1d0c72aSopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 26c1d0c72aSopenharmony_ci of this license document, but changing it is not allowed. 27c1d0c72aSopenharmony_ci 28c1d0c72aSopenharmony_ci Preamble 29c1d0c72aSopenharmony_ci 30c1d0c72aSopenharmony_ci The licenses for most software are designed to take away your 31c1d0c72aSopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 32c1d0c72aSopenharmony_ciLicense is intended to guarantee your freedom to share and change free 33c1d0c72aSopenharmony_cisoftware--to make sure the software is free for all its users. This 34c1d0c72aSopenharmony_ciGeneral Public License applies to most of the Free Software 35c1d0c72aSopenharmony_ciFoundation's software and to any other program whose authors commit to 36c1d0c72aSopenharmony_ciusing it. (Some other Free Software Foundation software is covered by 37c1d0c72aSopenharmony_cithe GNU Library General Public License instead.) You can apply it to 38c1d0c72aSopenharmony_ciyour programs, too. 39c1d0c72aSopenharmony_ci 40c1d0c72aSopenharmony_ci When we speak of free software, we are referring to freedom, not 41c1d0c72aSopenharmony_ciprice. Our General Public Licenses are designed to make sure that you 42c1d0c72aSopenharmony_cihave the freedom to distribute copies of free software (and charge for 43c1d0c72aSopenharmony_cithis service if you wish), that you receive source code or can get it 44c1d0c72aSopenharmony_ciif you want it, that you can change the software or use pieces of it 45c1d0c72aSopenharmony_ciin new free programs; and that you know you can do these things. 46c1d0c72aSopenharmony_ci 47c1d0c72aSopenharmony_ci To protect your rights, we need to make restrictions that forbid 48c1d0c72aSopenharmony_cianyone to deny you these rights or to ask you to surrender the rights. 49c1d0c72aSopenharmony_ciThese restrictions translate to certain responsibilities for you if you 50c1d0c72aSopenharmony_cidistribute copies of the software, or if you modify it. 51c1d0c72aSopenharmony_ci 52c1d0c72aSopenharmony_ci For example, if you distribute copies of such a program, whether 53c1d0c72aSopenharmony_cigratis or for a fee, you must give the recipients all the rights that 54c1d0c72aSopenharmony_ciyou have. You must make sure that they, too, receive or can get the 55c1d0c72aSopenharmony_cisource code. And you must show them these terms so they know their 56c1d0c72aSopenharmony_cirights. 57c1d0c72aSopenharmony_ci 58c1d0c72aSopenharmony_ci We protect your rights with two steps: (1) copyright the software, and 59c1d0c72aSopenharmony_ci(2) offer you this license which gives you legal permission to copy, 60c1d0c72aSopenharmony_cidistribute and/or modify the software. 61c1d0c72aSopenharmony_ci 62c1d0c72aSopenharmony_ci Also, for each author's protection and ours, we want to make certain 63c1d0c72aSopenharmony_cithat everyone understands that there is no warranty for this free 64c1d0c72aSopenharmony_cisoftware. If the software is modified by someone else and passed on, we 65c1d0c72aSopenharmony_ciwant its recipients to know that what they have is not the original, so 66c1d0c72aSopenharmony_cithat any problems introduced by others will not reflect on the original 67c1d0c72aSopenharmony_ciauthors' reputations. 68c1d0c72aSopenharmony_ci 69c1d0c72aSopenharmony_ci Finally, any free program is threatened constantly by software 70c1d0c72aSopenharmony_cipatents. We wish to avoid the danger that redistributors of a free 71c1d0c72aSopenharmony_ciprogram will individually obtain patent licenses, in effect making the 72c1d0c72aSopenharmony_ciprogram proprietary. To prevent this, we have made it clear that any 73c1d0c72aSopenharmony_cipatent must be licensed for everyone's free use or not licensed at all. 74c1d0c72aSopenharmony_ci 75c1d0c72aSopenharmony_ci The precise terms and conditions for copying, distribution and 76c1d0c72aSopenharmony_cimodification follow. 77c1d0c72aSopenharmony_ci 78c1d0c72aSopenharmony_ci GNU GENERAL PUBLIC LICENSE 79c1d0c72aSopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 80c1d0c72aSopenharmony_ci 81c1d0c72aSopenharmony_ci 0. This License applies to any program or other work which contains 82c1d0c72aSopenharmony_cia notice placed by the copyright holder saying it may be distributed 83c1d0c72aSopenharmony_ciunder the terms of this General Public License. The "Program", below, 84c1d0c72aSopenharmony_cirefers to any such program or work, and a "work based on the Program" 85c1d0c72aSopenharmony_cimeans either the Program or any derivative work under copyright law: 86c1d0c72aSopenharmony_cithat is to say, a work containing the Program or a portion of it, 87c1d0c72aSopenharmony_cieither verbatim or with modifications and/or translated into another 88c1d0c72aSopenharmony_cilanguage. (Hereinafter, translation is included without limitation in 89c1d0c72aSopenharmony_cithe term "modification".) Each licensee is addressed as "you". 90c1d0c72aSopenharmony_ci 91c1d0c72aSopenharmony_ciActivities other than copying, distribution and modification are not 92c1d0c72aSopenharmony_cicovered by this License; they are outside its scope. The act of 93c1d0c72aSopenharmony_cirunning the Program is not restricted, and the output from the Program 94c1d0c72aSopenharmony_ciis covered only if its contents constitute a work based on the 95c1d0c72aSopenharmony_ciProgram (independent of having been made by running the Program). 96c1d0c72aSopenharmony_ciWhether that is true depends on what the Program does. 97c1d0c72aSopenharmony_ci 98c1d0c72aSopenharmony_ci 1. You may copy and distribute verbatim copies of the Program's 99c1d0c72aSopenharmony_cisource code as you receive it, in any medium, provided that you 100c1d0c72aSopenharmony_ciconspicuously and appropriately publish on each copy an appropriate 101c1d0c72aSopenharmony_cicopyright notice and disclaimer of warranty; keep intact all the 102c1d0c72aSopenharmony_cinotices that refer to this License and to the absence of any warranty; 103c1d0c72aSopenharmony_ciand give any other recipients of the Program a copy of this License 104c1d0c72aSopenharmony_cialong with the Program. 105c1d0c72aSopenharmony_ci 106c1d0c72aSopenharmony_ciYou may charge a fee for the physical act of transferring a copy, and 107c1d0c72aSopenharmony_ciyou may at your option offer warranty protection in exchange for a fee. 108c1d0c72aSopenharmony_ci 109c1d0c72aSopenharmony_ci 2. You may modify your copy or copies of the Program or any portion 110c1d0c72aSopenharmony_ciof it, thus forming a work based on the Program, and copy and 111c1d0c72aSopenharmony_cidistribute such modifications or work under the terms of Section 1 112c1d0c72aSopenharmony_ciabove, provided that you also meet all of these conditions: 113c1d0c72aSopenharmony_ci 114c1d0c72aSopenharmony_ci a) You must cause the modified files to carry prominent notices 115c1d0c72aSopenharmony_ci stating that you changed the files and the date of any change. 116c1d0c72aSopenharmony_ci 117c1d0c72aSopenharmony_ci b) You must cause any work that you distribute or publish, that in 118c1d0c72aSopenharmony_ci whole or in part contains or is derived from the Program or any 119c1d0c72aSopenharmony_ci part thereof, to be licensed as a whole at no charge to all third 120c1d0c72aSopenharmony_ci parties under the terms of this License. 121c1d0c72aSopenharmony_ci 122c1d0c72aSopenharmony_ci c) If the modified program normally reads commands interactively 123c1d0c72aSopenharmony_ci when run, you must cause it, when started running for such 124c1d0c72aSopenharmony_ci interactive use in the most ordinary way, to print or display an 125c1d0c72aSopenharmony_ci announcement including an appropriate copyright notice and a 126c1d0c72aSopenharmony_ci notice that there is no warranty (or else, saying that you provide 127c1d0c72aSopenharmony_ci a warranty) and that users may redistribute the program under 128c1d0c72aSopenharmony_ci these conditions, and telling the user how to view a copy of this 129c1d0c72aSopenharmony_ci License. (Exception: if the Program itself is interactive but 130c1d0c72aSopenharmony_ci does not normally print such an announcement, your work based on 131c1d0c72aSopenharmony_ci the Program is not required to print an announcement.) 132c1d0c72aSopenharmony_ci 133c1d0c72aSopenharmony_ciThese requirements apply to the modified work as a whole. If 134c1d0c72aSopenharmony_ciidentifiable sections of that work are not derived from the Program, 135c1d0c72aSopenharmony_ciand can be reasonably considered independent and separate works in 136c1d0c72aSopenharmony_cithemselves, then this License, and its terms, do not apply to those 137c1d0c72aSopenharmony_cisections when you distribute them as separate works. But when you 138c1d0c72aSopenharmony_cidistribute the same sections as part of a whole which is a work based 139c1d0c72aSopenharmony_cion the Program, the distribution of the whole must be on the terms of 140c1d0c72aSopenharmony_cithis License, whose permissions for other licensees extend to the 141c1d0c72aSopenharmony_cientire whole, and thus to each and every part regardless of who wrote it. 142c1d0c72aSopenharmony_ci 143c1d0c72aSopenharmony_ciThus, it is not the intent of this section to claim rights or contest 144c1d0c72aSopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 145c1d0c72aSopenharmony_ciexercise the right to control the distribution of derivative or 146c1d0c72aSopenharmony_cicollective works based on the Program. 147c1d0c72aSopenharmony_ci 148c1d0c72aSopenharmony_ciIn addition, mere aggregation of another work not based on the Program 149c1d0c72aSopenharmony_ciwith the Program (or with a work based on the Program) on a volume of 150c1d0c72aSopenharmony_cia storage or distribution medium does not bring the other work under 151c1d0c72aSopenharmony_cithe scope of this License. 152c1d0c72aSopenharmony_ci 153c1d0c72aSopenharmony_ci 3. You may copy and distribute the Program (or a work based on it, 154c1d0c72aSopenharmony_ciunder Section 2) in object code or executable form under the terms of 155c1d0c72aSopenharmony_ciSections 1 and 2 above provided that you also do one of the following: 156c1d0c72aSopenharmony_ci 157c1d0c72aSopenharmony_ci a) Accompany it with the complete corresponding machine-readable 158c1d0c72aSopenharmony_ci source code, which must be distributed under the terms of Sections 159c1d0c72aSopenharmony_ci 1 and 2 above on a medium customarily used for software interchange; or, 160c1d0c72aSopenharmony_ci 161c1d0c72aSopenharmony_ci b) Accompany it with a written offer, valid for at least three 162c1d0c72aSopenharmony_ci years, to give any third party, for a charge no more than your 163c1d0c72aSopenharmony_ci cost of physically performing source distribution, a complete 164c1d0c72aSopenharmony_ci machine-readable copy of the corresponding source code, to be 165c1d0c72aSopenharmony_ci distributed under the terms of Sections 1 and 2 above on a medium 166c1d0c72aSopenharmony_ci customarily used for software interchange; or, 167c1d0c72aSopenharmony_ci 168c1d0c72aSopenharmony_ci c) Accompany it with the information you received as to the offer 169c1d0c72aSopenharmony_ci to distribute corresponding source code. (This alternative is 170c1d0c72aSopenharmony_ci allowed only for noncommercial distribution and only if you 171c1d0c72aSopenharmony_ci received the program in object code or executable form with such 172c1d0c72aSopenharmony_ci an offer, in accord with Subsection b above.) 173c1d0c72aSopenharmony_ci 174c1d0c72aSopenharmony_ciThe source code for a work means the preferred form of the work for 175c1d0c72aSopenharmony_cimaking modifications to it. For an executable work, complete source 176c1d0c72aSopenharmony_cicode means all the source code for all modules it contains, plus any 177c1d0c72aSopenharmony_ciassociated interface definition files, plus the scripts used to 178c1d0c72aSopenharmony_cicontrol compilation and installation of the executable. However, as a 179c1d0c72aSopenharmony_cispecial exception, the source code distributed need not include 180c1d0c72aSopenharmony_cianything that is normally distributed (in either source or binary 181c1d0c72aSopenharmony_ciform) with the major components (compiler, kernel, and so on) of the 182c1d0c72aSopenharmony_cioperating system on which the executable runs, unless that component 183c1d0c72aSopenharmony_ciitself accompanies the executable. 184c1d0c72aSopenharmony_ci 185c1d0c72aSopenharmony_ciIf distribution of executable or object code is made by offering 186c1d0c72aSopenharmony_ciaccess to copy from a designated place, then offering equivalent 187c1d0c72aSopenharmony_ciaccess to copy the source code from the same place counts as 188c1d0c72aSopenharmony_cidistribution of the source code, even though third parties are not 189c1d0c72aSopenharmony_cicompelled to copy the source along with the object code. 190c1d0c72aSopenharmony_ci 191c1d0c72aSopenharmony_ci 4. You may not copy, modify, sublicense, or distribute the Program 192c1d0c72aSopenharmony_ciexcept as expressly provided under this License. Any attempt 193c1d0c72aSopenharmony_ciotherwise to copy, modify, sublicense or distribute the Program is 194c1d0c72aSopenharmony_civoid, and will automatically terminate your rights under this License. 195c1d0c72aSopenharmony_ciHowever, parties who have received copies, or rights, from you under 196c1d0c72aSopenharmony_cithis License will not have their licenses terminated so long as such 197c1d0c72aSopenharmony_ciparties remain in full compliance. 198c1d0c72aSopenharmony_ci 199c1d0c72aSopenharmony_ci 5. You are not required to accept this License, since you have not 200c1d0c72aSopenharmony_cisigned it. However, nothing else grants you permission to modify or 201c1d0c72aSopenharmony_cidistribute the Program or its derivative works. These actions are 202c1d0c72aSopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 203c1d0c72aSopenharmony_cimodifying or distributing the Program (or any work based on the 204c1d0c72aSopenharmony_ciProgram), you indicate your acceptance of this License to do so, and 205c1d0c72aSopenharmony_ciall its terms and conditions for copying, distributing or modifying 206c1d0c72aSopenharmony_cithe Program or works based on it. 207c1d0c72aSopenharmony_ci 208c1d0c72aSopenharmony_ci 6. Each time you redistribute the Program (or any work based on the 209c1d0c72aSopenharmony_ciProgram), the recipient automatically receives a license from the 210c1d0c72aSopenharmony_cioriginal licensor to copy, distribute or modify the Program subject to 211c1d0c72aSopenharmony_cithese terms and conditions. You may not impose any further 212c1d0c72aSopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 213c1d0c72aSopenharmony_ciYou are not responsible for enforcing compliance by third parties to 214c1d0c72aSopenharmony_cithis License. 215c1d0c72aSopenharmony_ci 216c1d0c72aSopenharmony_ci 7. If, as a consequence of a court judgment or allegation of patent 217c1d0c72aSopenharmony_ciinfringement or for any other reason (not limited to patent issues), 218c1d0c72aSopenharmony_ciconditions are imposed on you (whether by court order, agreement or 219c1d0c72aSopenharmony_ciotherwise) that contradict the conditions of this License, they do not 220c1d0c72aSopenharmony_ciexcuse you from the conditions of this License. If you cannot 221c1d0c72aSopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 222c1d0c72aSopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 223c1d0c72aSopenharmony_cimay not distribute the Program at all. For example, if a patent 224c1d0c72aSopenharmony_cilicense would not permit royalty-free redistribution of the Program by 225c1d0c72aSopenharmony_ciall those who receive copies directly or indirectly through you, then 226c1d0c72aSopenharmony_cithe only way you could satisfy both it and this License would be to 227c1d0c72aSopenharmony_cirefrain entirely from distribution of the Program. 228c1d0c72aSopenharmony_ci 229c1d0c72aSopenharmony_ciIf any portion of this section is held invalid or unenforceable under 230c1d0c72aSopenharmony_ciany particular circumstance, the balance of the section is intended to 231c1d0c72aSopenharmony_ciapply and the section as a whole is intended to apply in other 232c1d0c72aSopenharmony_cicircumstances. 233c1d0c72aSopenharmony_ci 234c1d0c72aSopenharmony_ciIt is not the purpose of this section to induce you to infringe any 235c1d0c72aSopenharmony_cipatents or other property right claims or to contest validity of any 236c1d0c72aSopenharmony_cisuch claims; this section has the sole purpose of protecting the 237c1d0c72aSopenharmony_ciintegrity of the free software distribution system, which is 238c1d0c72aSopenharmony_ciimplemented by public license practices. Many people have made 239c1d0c72aSopenharmony_cigenerous contributions to the wide range of software distributed 240c1d0c72aSopenharmony_cithrough that system in reliance on consistent application of that 241c1d0c72aSopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 242c1d0c72aSopenharmony_cito distribute software through any other system and a licensee cannot 243c1d0c72aSopenharmony_ciimpose that choice. 244c1d0c72aSopenharmony_ci 245c1d0c72aSopenharmony_ciThis section is intended to make thoroughly clear what is believed to 246c1d0c72aSopenharmony_cibe a consequence of the rest of this License. 247c1d0c72aSopenharmony_ci 248c1d0c72aSopenharmony_ci 8. If the distribution and/or use of the Program is restricted in 249c1d0c72aSopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 250c1d0c72aSopenharmony_cioriginal copyright holder who places the Program under this License 251c1d0c72aSopenharmony_cimay add an explicit geographical distribution limitation excluding 252c1d0c72aSopenharmony_cithose countries, so that distribution is permitted only in or among 253c1d0c72aSopenharmony_cicountries not thus excluded. In such case, this License incorporates 254c1d0c72aSopenharmony_cithe limitation as if written in the body of this License. 255c1d0c72aSopenharmony_ci 256c1d0c72aSopenharmony_ci 9. The Free Software Foundation may publish revised and/or new versions 257c1d0c72aSopenharmony_ciof the General Public License from time to time. Such new versions will 258c1d0c72aSopenharmony_cibe similar in spirit to the present version, but may differ in detail to 259c1d0c72aSopenharmony_ciaddress new problems or concerns. 260c1d0c72aSopenharmony_ci 261c1d0c72aSopenharmony_ciEach version is given a distinguishing version number. If the Program 262c1d0c72aSopenharmony_cispecifies a version number of this License which applies to it and "any 263c1d0c72aSopenharmony_cilater version", you have the option of following the terms and conditions 264c1d0c72aSopenharmony_cieither of that version or of any later version published by the Free 265c1d0c72aSopenharmony_ciSoftware Foundation. If the Program does not specify a version number of 266c1d0c72aSopenharmony_cithis License, you may choose any version ever published by the Free Software 267c1d0c72aSopenharmony_ciFoundation. 268c1d0c72aSopenharmony_ci 269c1d0c72aSopenharmony_ci 10. If you wish to incorporate parts of the Program into other free 270c1d0c72aSopenharmony_ciprograms whose distribution conditions are different, write to the author 271c1d0c72aSopenharmony_cito ask for permission. For software which is copyrighted by the Free 272c1d0c72aSopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes 273c1d0c72aSopenharmony_cimake exceptions for this. Our decision will be guided by the two goals 274c1d0c72aSopenharmony_ciof preserving the free status of all derivatives of our free software and 275c1d0c72aSopenharmony_ciof promoting the sharing and reuse of software generally. 276c1d0c72aSopenharmony_ci 277c1d0c72aSopenharmony_ci NO WARRANTY 278c1d0c72aSopenharmony_ci 279c1d0c72aSopenharmony_ci 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 280c1d0c72aSopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 281c1d0c72aSopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 282c1d0c72aSopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 283c1d0c72aSopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 284c1d0c72aSopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 285c1d0c72aSopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 286c1d0c72aSopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 287c1d0c72aSopenharmony_ciREPAIR OR CORRECTION. 288c1d0c72aSopenharmony_ci 289c1d0c72aSopenharmony_ci 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 290c1d0c72aSopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 291c1d0c72aSopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 292c1d0c72aSopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 293c1d0c72aSopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 294c1d0c72aSopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 295c1d0c72aSopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 296c1d0c72aSopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 297c1d0c72aSopenharmony_ciPOSSIBILITY OF SUCH DAMAGES. 298c1d0c72aSopenharmony_ci 299c1d0c72aSopenharmony_ci END OF TERMS AND CONDITIONS 300c1d0c72aSopenharmony_ci 301c1d0c72aSopenharmony_ci How to Apply These Terms to Your New Programs 302c1d0c72aSopenharmony_ci 303c1d0c72aSopenharmony_ci If you develop a new program, and you want it to be of the greatest 304c1d0c72aSopenharmony_cipossible use to the public, the best way to achieve this is to make it 305c1d0c72aSopenharmony_cifree software which everyone can redistribute and change under these terms. 306c1d0c72aSopenharmony_ci 307c1d0c72aSopenharmony_ci To do so, attach the following notices to the program. It is safest 308c1d0c72aSopenharmony_cito attach them to the start of each source file to most effectively 309c1d0c72aSopenharmony_ciconvey the exclusion of warranty; and each file should have at least 310c1d0c72aSopenharmony_cithe "copyright" line and a pointer to where the full notice is found. 311c1d0c72aSopenharmony_ci 312c1d0c72aSopenharmony_ci <one line to give the program's name and a brief idea of what it does.> 313c1d0c72aSopenharmony_ci Copyright (C) <year> <name of author> 314c1d0c72aSopenharmony_ci 315c1d0c72aSopenharmony_ci This program is free software; you can redistribute it and/or modify 316c1d0c72aSopenharmony_ci it under the terms of the GNU General Public License as published by 317c1d0c72aSopenharmony_ci the Free Software Foundation; either version 2 of the License, or 318c1d0c72aSopenharmony_ci (at your option) any later version. 319c1d0c72aSopenharmony_ci 320c1d0c72aSopenharmony_ci This program is distributed in the hope that it will be useful, 321c1d0c72aSopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 322c1d0c72aSopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 323c1d0c72aSopenharmony_ci GNU General Public License for more details. 324c1d0c72aSopenharmony_ci 325c1d0c72aSopenharmony_ci You should have received a copy of the GNU General Public License 326c1d0c72aSopenharmony_ci along with this program; if not, write to the Free Software 327c1d0c72aSopenharmony_ci Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 328c1d0c72aSopenharmony_ci 329c1d0c72aSopenharmony_ci 330c1d0c72aSopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 331c1d0c72aSopenharmony_ci 332c1d0c72aSopenharmony_ciIf the program is interactive, make it output a short notice like this 333c1d0c72aSopenharmony_ciwhen it starts in an interactive mode: 334c1d0c72aSopenharmony_ci 335c1d0c72aSopenharmony_ci Gnomovision version 69, Copyright (C) year name of author 336c1d0c72aSopenharmony_ci Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 337c1d0c72aSopenharmony_ci This is free software, and you are welcome to redistribute it 338c1d0c72aSopenharmony_ci under certain conditions; type `show c' for details. 339c1d0c72aSopenharmony_ci 340c1d0c72aSopenharmony_ciThe hypothetical commands `show w' and `show c' should show the appropriate 341c1d0c72aSopenharmony_ciparts of the General Public License. Of course, the commands you use may 342c1d0c72aSopenharmony_cibe called something other than `show w' and `show c'; they could even be 343c1d0c72aSopenharmony_cimouse-clicks or menu items--whatever suits your program. 344c1d0c72aSopenharmony_ci 345c1d0c72aSopenharmony_ciYou should also get your employer (if you work as a programmer) or your 346c1d0c72aSopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if 347c1d0c72aSopenharmony_cinecessary. Here is a sample; alter the names: 348c1d0c72aSopenharmony_ci 349c1d0c72aSopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the program 350c1d0c72aSopenharmony_ci `Gnomovision' (which makes passes at compilers) written by James Hacker. 351c1d0c72aSopenharmony_ci 352c1d0c72aSopenharmony_ci <signature of Ty Coon>, 1 April 1989 353c1d0c72aSopenharmony_ci Ty Coon, President of Vice 354c1d0c72aSopenharmony_ci 355c1d0c72aSopenharmony_ciThis General Public License does not permit incorporating your program into 356c1d0c72aSopenharmony_ciproprietary programs. If your program is a subroutine library, you may 357c1d0c72aSopenharmony_ciconsider it more useful to permit linking proprietary applications with the 358c1d0c72aSopenharmony_cilibrary. If this is what you want to do, use the GNU Library General 359c1d0c72aSopenharmony_ciPublic License instead of this License. 360