1419b0af8Sopenharmony_ciValid-License-Identifier: GPL-2.0 2419b0af8Sopenharmony_ciValid-License-Identifier: GPL-2.0-only 3419b0af8Sopenharmony_ciValid-License-Identifier: GPL-2.0+ 4419b0af8Sopenharmony_ciValid-License-Identifier: GPL-2.0-or-later 5419b0af8Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/GPL-2.0.html 6419b0af8Sopenharmony_ciUsage-Guide: 7419b0af8Sopenharmony_ci To use this license in source code, put one of the following SPDX 8419b0af8Sopenharmony_ci tag/value pairs into a comment according to the placement 9419b0af8Sopenharmony_ci guidelines in the licensing rules documentation. 10419b0af8Sopenharmony_ci For 'GNU General Public License (GPL) version 2 only' use: 11419b0af8Sopenharmony_ci SPDX-License-Identifier: GPL-2.0 12419b0af8Sopenharmony_ci or 13419b0af8Sopenharmony_ci SPDX-License-Identifier: GPL-2.0-only 14419b0af8Sopenharmony_ci For 'GNU General Public License (GPL) version 2 or any later version' use: 15419b0af8Sopenharmony_ci SPDX-License-Identifier: GPL-2.0+ 16419b0af8Sopenharmony_ci or 17419b0af8Sopenharmony_ci SPDX-License-Identifier: GPL-2.0-or-later 18419b0af8Sopenharmony_ciLicense-Text: 19419b0af8Sopenharmony_ci 20419b0af8Sopenharmony_ci GNU GENERAL PUBLIC LICENSE 21419b0af8Sopenharmony_ci Version 2, June 1991 22419b0af8Sopenharmony_ci 23419b0af8Sopenharmony_ci Copyright (C) 1989, 1991 Free Software Foundation, Inc. 24419b0af8Sopenharmony_ci 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 25419b0af8Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 26419b0af8Sopenharmony_ci of this license document, but changing it is not allowed. 27419b0af8Sopenharmony_ci 28419b0af8Sopenharmony_ci Preamble 29419b0af8Sopenharmony_ci 30419b0af8Sopenharmony_ci The licenses for most software are designed to take away your 31419b0af8Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 32419b0af8Sopenharmony_ciLicense is intended to guarantee your freedom to share and change free 33419b0af8Sopenharmony_cisoftware--to make sure the software is free for all its users. This 34419b0af8Sopenharmony_ciGeneral Public License applies to most of the Free Software 35419b0af8Sopenharmony_ciFoundation's software and to any other program whose authors commit to 36419b0af8Sopenharmony_ciusing it. (Some other Free Software Foundation software is covered by 37419b0af8Sopenharmony_cithe GNU Library General Public License instead.) You can apply it to 38419b0af8Sopenharmony_ciyour programs, too. 39419b0af8Sopenharmony_ci 40419b0af8Sopenharmony_ci When we speak of free software, we are referring to freedom, not 41419b0af8Sopenharmony_ciprice. Our General Public Licenses are designed to make sure that you 42419b0af8Sopenharmony_cihave the freedom to distribute copies of free software (and charge for 43419b0af8Sopenharmony_cithis service if you wish), that you receive source code or can get it 44419b0af8Sopenharmony_ciif you want it, that you can change the software or use pieces of it 45419b0af8Sopenharmony_ciin new free programs; and that you know you can do these things. 46419b0af8Sopenharmony_ci 47419b0af8Sopenharmony_ci To protect your rights, we need to make restrictions that forbid 48419b0af8Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights. 49419b0af8Sopenharmony_ciThese restrictions translate to certain responsibilities for you if you 50419b0af8Sopenharmony_cidistribute copies of the software, or if you modify it. 51419b0af8Sopenharmony_ci 52419b0af8Sopenharmony_ci For example, if you distribute copies of such a program, whether 53419b0af8Sopenharmony_cigratis or for a fee, you must give the recipients all the rights that 54419b0af8Sopenharmony_ciyou have. You must make sure that they, too, receive or can get the 55419b0af8Sopenharmony_cisource code. And you must show them these terms so they know their 56419b0af8Sopenharmony_cirights. 57419b0af8Sopenharmony_ci 58419b0af8Sopenharmony_ci We protect your rights with two steps: (1) copyright the software, and 59419b0af8Sopenharmony_ci(2) offer you this license which gives you legal permission to copy, 60419b0af8Sopenharmony_cidistribute and/or modify the software. 61419b0af8Sopenharmony_ci 62419b0af8Sopenharmony_ci Also, for each author's protection and ours, we want to make certain 63419b0af8Sopenharmony_cithat everyone understands that there is no warranty for this free 64419b0af8Sopenharmony_cisoftware. If the software is modified by someone else and passed on, we 65419b0af8Sopenharmony_ciwant its recipients to know that what they have is not the original, so 66419b0af8Sopenharmony_cithat any problems introduced by others will not reflect on the original 67419b0af8Sopenharmony_ciauthors' reputations. 68419b0af8Sopenharmony_ci 69419b0af8Sopenharmony_ci Finally, any free program is threatened constantly by software 70419b0af8Sopenharmony_cipatents. We wish to avoid the danger that redistributors of a free 71419b0af8Sopenharmony_ciprogram will individually obtain patent licenses, in effect making the 72419b0af8Sopenharmony_ciprogram proprietary. To prevent this, we have made it clear that any 73419b0af8Sopenharmony_cipatent must be licensed for everyone's free use or not licensed at all. 74419b0af8Sopenharmony_ci 75419b0af8Sopenharmony_ci The precise terms and conditions for copying, distribution and 76419b0af8Sopenharmony_cimodification follow. 77419b0af8Sopenharmony_ci 78419b0af8Sopenharmony_ci GNU GENERAL PUBLIC LICENSE 79419b0af8Sopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 80419b0af8Sopenharmony_ci 81419b0af8Sopenharmony_ci 0. This License applies to any program or other work which contains 82419b0af8Sopenharmony_cia notice placed by the copyright holder saying it may be distributed 83419b0af8Sopenharmony_ciunder the terms of this General Public License. The "Program", below, 84419b0af8Sopenharmony_cirefers to any such program or work, and a "work based on the Program" 85419b0af8Sopenharmony_cimeans either the Program or any derivative work under copyright law: 86419b0af8Sopenharmony_cithat is to say, a work containing the Program or a portion of it, 87419b0af8Sopenharmony_cieither verbatim or with modifications and/or translated into another 88419b0af8Sopenharmony_cilanguage. (Hereinafter, translation is included without limitation in 89419b0af8Sopenharmony_cithe term "modification".) Each licensee is addressed as "you". 90419b0af8Sopenharmony_ci 91419b0af8Sopenharmony_ciActivities other than copying, distribution and modification are not 92419b0af8Sopenharmony_cicovered by this License; they are outside its scope. The act of 93419b0af8Sopenharmony_cirunning the Program is not restricted, and the output from the Program 94419b0af8Sopenharmony_ciis covered only if its contents constitute a work based on the 95419b0af8Sopenharmony_ciProgram (independent of having been made by running the Program). 96419b0af8Sopenharmony_ciWhether that is true depends on what the Program does. 97419b0af8Sopenharmony_ci 98419b0af8Sopenharmony_ci 1. You may copy and distribute verbatim copies of the Program's 99419b0af8Sopenharmony_cisource code as you receive it, in any medium, provided that you 100419b0af8Sopenharmony_ciconspicuously and appropriately publish on each copy an appropriate 101419b0af8Sopenharmony_cicopyright notice and disclaimer of warranty; keep intact all the 102419b0af8Sopenharmony_cinotices that refer to this License and to the absence of any warranty; 103419b0af8Sopenharmony_ciand give any other recipients of the Program a copy of this License 104419b0af8Sopenharmony_cialong with the Program. 105419b0af8Sopenharmony_ci 106419b0af8Sopenharmony_ciYou may charge a fee for the physical act of transferring a copy, and 107419b0af8Sopenharmony_ciyou may at your option offer warranty protection in exchange for a fee. 108419b0af8Sopenharmony_ci 109419b0af8Sopenharmony_ci 2. You may modify your copy or copies of the Program or any portion 110419b0af8Sopenharmony_ciof it, thus forming a work based on the Program, and copy and 111419b0af8Sopenharmony_cidistribute such modifications or work under the terms of Section 1 112419b0af8Sopenharmony_ciabove, provided that you also meet all of these conditions: 113419b0af8Sopenharmony_ci 114419b0af8Sopenharmony_ci a) You must cause the modified files to carry prominent notices 115419b0af8Sopenharmony_ci stating that you changed the files and the date of any change. 116419b0af8Sopenharmony_ci 117419b0af8Sopenharmony_ci b) You must cause any work that you distribute or publish, that in 118419b0af8Sopenharmony_ci whole or in part contains or is derived from the Program or any 119419b0af8Sopenharmony_ci part thereof, to be licensed as a whole at no charge to all third 120419b0af8Sopenharmony_ci parties under the terms of this License. 121419b0af8Sopenharmony_ci 122419b0af8Sopenharmony_ci c) If the modified program normally reads commands interactively 123419b0af8Sopenharmony_ci when run, you must cause it, when started running for such 124419b0af8Sopenharmony_ci interactive use in the most ordinary way, to print or display an 125419b0af8Sopenharmony_ci announcement including an appropriate copyright notice and a 126419b0af8Sopenharmony_ci notice that there is no warranty (or else, saying that you provide 127419b0af8Sopenharmony_ci a warranty) and that users may redistribute the program under 128419b0af8Sopenharmony_ci these conditions, and telling the user how to view a copy of this 129419b0af8Sopenharmony_ci License. (Exception: if the Program itself is interactive but 130419b0af8Sopenharmony_ci does not normally print such an announcement, your work based on 131419b0af8Sopenharmony_ci the Program is not required to print an announcement.) 132419b0af8Sopenharmony_ci 133419b0af8Sopenharmony_ciThese requirements apply to the modified work as a whole. If 134419b0af8Sopenharmony_ciidentifiable sections of that work are not derived from the Program, 135419b0af8Sopenharmony_ciand can be reasonably considered independent and separate works in 136419b0af8Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 137419b0af8Sopenharmony_cisections when you distribute them as separate works. But when you 138419b0af8Sopenharmony_cidistribute the same sections as part of a whole which is a work based 139419b0af8Sopenharmony_cion the Program, the distribution of the whole must be on the terms of 140419b0af8Sopenharmony_cithis License, whose permissions for other licensees extend to the 141419b0af8Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote it. 142419b0af8Sopenharmony_ci 143419b0af8Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 144419b0af8Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 145419b0af8Sopenharmony_ciexercise the right to control the distribution of derivative or 146419b0af8Sopenharmony_cicollective works based on the Program. 147419b0af8Sopenharmony_ci 148419b0af8Sopenharmony_ciIn addition, mere aggregation of another work not based on the Program 149419b0af8Sopenharmony_ciwith the Program (or with a work based on the Program) on a volume of 150419b0af8Sopenharmony_cia storage or distribution medium does not bring the other work under 151419b0af8Sopenharmony_cithe scope of this License. 152419b0af8Sopenharmony_ci 153419b0af8Sopenharmony_ci 3. You may copy and distribute the Program (or a work based on it, 154419b0af8Sopenharmony_ciunder Section 2) in object code or executable form under the terms of 155419b0af8Sopenharmony_ciSections 1 and 2 above provided that you also do one of the following: 156419b0af8Sopenharmony_ci 157419b0af8Sopenharmony_ci a) Accompany it with the complete corresponding machine-readable 158419b0af8Sopenharmony_ci source code, which must be distributed under the terms of Sections 159419b0af8Sopenharmony_ci 1 and 2 above on a medium customarily used for software interchange; or, 160419b0af8Sopenharmony_ci 161419b0af8Sopenharmony_ci b) Accompany it with a written offer, valid for at least three 162419b0af8Sopenharmony_ci years, to give any third party, for a charge no more than your 163419b0af8Sopenharmony_ci cost of physically performing source distribution, a complete 164419b0af8Sopenharmony_ci machine-readable copy of the corresponding source code, to be 165419b0af8Sopenharmony_ci distributed under the terms of Sections 1 and 2 above on a medium 166419b0af8Sopenharmony_ci customarily used for software interchange; or, 167419b0af8Sopenharmony_ci 168419b0af8Sopenharmony_ci c) Accompany it with the information you received as to the offer 169419b0af8Sopenharmony_ci to distribute corresponding source code. (This alternative is 170419b0af8Sopenharmony_ci allowed only for noncommercial distribution and only if you 171419b0af8Sopenharmony_ci received the program in object code or executable form with such 172419b0af8Sopenharmony_ci an offer, in accord with Subsection b above.) 173419b0af8Sopenharmony_ci 174419b0af8Sopenharmony_ciThe source code for a work means the preferred form of the work for 175419b0af8Sopenharmony_cimaking modifications to it. For an executable work, complete source 176419b0af8Sopenharmony_cicode means all the source code for all modules it contains, plus any 177419b0af8Sopenharmony_ciassociated interface definition files, plus the scripts used to 178419b0af8Sopenharmony_cicontrol compilation and installation of the executable. However, as a 179419b0af8Sopenharmony_cispecial exception, the source code distributed need not include 180419b0af8Sopenharmony_cianything that is normally distributed (in either source or binary 181419b0af8Sopenharmony_ciform) with the major components (compiler, kernel, and so on) of the 182419b0af8Sopenharmony_cioperating system on which the executable runs, unless that component 183419b0af8Sopenharmony_ciitself accompanies the executable. 184419b0af8Sopenharmony_ci 185419b0af8Sopenharmony_ciIf distribution of executable or object code is made by offering 186419b0af8Sopenharmony_ciaccess to copy from a designated place, then offering equivalent 187419b0af8Sopenharmony_ciaccess to copy the source code from the same place counts as 188419b0af8Sopenharmony_cidistribution of the source code, even though third parties are not 189419b0af8Sopenharmony_cicompelled to copy the source along with the object code. 190419b0af8Sopenharmony_ci 191419b0af8Sopenharmony_ci 4. You may not copy, modify, sublicense, or distribute the Program 192419b0af8Sopenharmony_ciexcept as expressly provided under this License. Any attempt 193419b0af8Sopenharmony_ciotherwise to copy, modify, sublicense or distribute the Program is 194419b0af8Sopenharmony_civoid, and will automatically terminate your rights under this License. 195419b0af8Sopenharmony_ciHowever, parties who have received copies, or rights, from you under 196419b0af8Sopenharmony_cithis License will not have their licenses terminated so long as such 197419b0af8Sopenharmony_ciparties remain in full compliance. 198419b0af8Sopenharmony_ci 199419b0af8Sopenharmony_ci 5. You are not required to accept this License, since you have not 200419b0af8Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 201419b0af8Sopenharmony_cidistribute the Program or its derivative works. These actions are 202419b0af8Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 203419b0af8Sopenharmony_cimodifying or distributing the Program (or any work based on the 204419b0af8Sopenharmony_ciProgram), you indicate your acceptance of this License to do so, and 205419b0af8Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 206419b0af8Sopenharmony_cithe Program or works based on it. 207419b0af8Sopenharmony_ci 208419b0af8Sopenharmony_ci 6. Each time you redistribute the Program (or any work based on the 209419b0af8Sopenharmony_ciProgram), the recipient automatically receives a license from the 210419b0af8Sopenharmony_cioriginal licensor to copy, distribute or modify the Program subject to 211419b0af8Sopenharmony_cithese terms and conditions. You may not impose any further 212419b0af8Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 213419b0af8Sopenharmony_ciYou are not responsible for enforcing compliance by third parties to 214419b0af8Sopenharmony_cithis License. 215419b0af8Sopenharmony_ci 216419b0af8Sopenharmony_ci 7. If, as a consequence of a court judgment or allegation of patent 217419b0af8Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 218419b0af8Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 219419b0af8Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 220419b0af8Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 221419b0af8Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 222419b0af8Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 223419b0af8Sopenharmony_cimay not distribute the Program at all. For example, if a patent 224419b0af8Sopenharmony_cilicense would not permit royalty-free redistribution of the Program by 225419b0af8Sopenharmony_ciall those who receive copies directly or indirectly through you, then 226419b0af8Sopenharmony_cithe only way you could satisfy both it and this License would be to 227419b0af8Sopenharmony_cirefrain entirely from distribution of the Program. 228419b0af8Sopenharmony_ci 229419b0af8Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under 230419b0af8Sopenharmony_ciany particular circumstance, the balance of the section is intended to 231419b0af8Sopenharmony_ciapply and the section as a whole is intended to apply in other 232419b0af8Sopenharmony_cicircumstances. 233419b0af8Sopenharmony_ci 234419b0af8Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 235419b0af8Sopenharmony_cipatents or other property right claims or to contest validity of any 236419b0af8Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 237419b0af8Sopenharmony_ciintegrity of the free software distribution system, which is 238419b0af8Sopenharmony_ciimplemented by public license practices. Many people have made 239419b0af8Sopenharmony_cigenerous contributions to the wide range of software distributed 240419b0af8Sopenharmony_cithrough that system in reliance on consistent application of that 241419b0af8Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 242419b0af8Sopenharmony_cito distribute software through any other system and a licensee cannot 243419b0af8Sopenharmony_ciimpose that choice. 244419b0af8Sopenharmony_ci 245419b0af8Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 246419b0af8Sopenharmony_cibe a consequence of the rest of this License. 247419b0af8Sopenharmony_ci 248419b0af8Sopenharmony_ci 8. If the distribution and/or use of the Program is restricted in 249419b0af8Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 250419b0af8Sopenharmony_cioriginal copyright holder who places the Program under this License 251419b0af8Sopenharmony_cimay add an explicit geographical distribution limitation excluding 252419b0af8Sopenharmony_cithose countries, so that distribution is permitted only in or among 253419b0af8Sopenharmony_cicountries not thus excluded. In such case, this License incorporates 254419b0af8Sopenharmony_cithe limitation as if written in the body of this License. 255419b0af8Sopenharmony_ci 256419b0af8Sopenharmony_ci 9. The Free Software Foundation may publish revised and/or new versions 257419b0af8Sopenharmony_ciof the General Public License from time to time. Such new versions will 258419b0af8Sopenharmony_cibe similar in spirit to the present version, but may differ in detail to 259419b0af8Sopenharmony_ciaddress new problems or concerns. 260419b0af8Sopenharmony_ci 261419b0af8Sopenharmony_ciEach version is given a distinguishing version number. If the Program 262419b0af8Sopenharmony_cispecifies a version number of this License which applies to it and "any 263419b0af8Sopenharmony_cilater version", you have the option of following the terms and conditions 264419b0af8Sopenharmony_cieither of that version or of any later version published by the Free 265419b0af8Sopenharmony_ciSoftware Foundation. If the Program does not specify a version number of 266419b0af8Sopenharmony_cithis License, you may choose any version ever published by the Free Software 267419b0af8Sopenharmony_ciFoundation. 268419b0af8Sopenharmony_ci 269419b0af8Sopenharmony_ci 10. If you wish to incorporate parts of the Program into other free 270419b0af8Sopenharmony_ciprograms whose distribution conditions are different, write to the author 271419b0af8Sopenharmony_cito ask for permission. For software which is copyrighted by the Free 272419b0af8Sopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes 273419b0af8Sopenharmony_cimake exceptions for this. Our decision will be guided by the two goals 274419b0af8Sopenharmony_ciof preserving the free status of all derivatives of our free software and 275419b0af8Sopenharmony_ciof promoting the sharing and reuse of software generally. 276419b0af8Sopenharmony_ci 277419b0af8Sopenharmony_ci NO WARRANTY 278419b0af8Sopenharmony_ci 279419b0af8Sopenharmony_ci 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 280419b0af8Sopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 281419b0af8Sopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 282419b0af8Sopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 283419b0af8Sopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 284419b0af8Sopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 285419b0af8Sopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 286419b0af8Sopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 287419b0af8Sopenharmony_ciREPAIR OR CORRECTION. 288419b0af8Sopenharmony_ci 289419b0af8Sopenharmony_ci 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 290419b0af8Sopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 291419b0af8Sopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 292419b0af8Sopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 293419b0af8Sopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 294419b0af8Sopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 295419b0af8Sopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 296419b0af8Sopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 297419b0af8Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGES. 298419b0af8Sopenharmony_ci 299419b0af8Sopenharmony_ci END OF TERMS AND CONDITIONS 300419b0af8Sopenharmony_ci 301419b0af8Sopenharmony_ci How to Apply These Terms to Your New Programs 302419b0af8Sopenharmony_ci 303419b0af8Sopenharmony_ci If you develop a new program, and you want it to be of the greatest 304419b0af8Sopenharmony_cipossible use to the public, the best way to achieve this is to make it 305419b0af8Sopenharmony_cifree software which everyone can redistribute and change under these terms. 306419b0af8Sopenharmony_ci 307419b0af8Sopenharmony_ci To do so, attach the following notices to the program. It is safest 308419b0af8Sopenharmony_cito attach them to the start of each source file to most effectively 309419b0af8Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least 310419b0af8Sopenharmony_cithe "copyright" line and a pointer to where the full notice is found. 311419b0af8Sopenharmony_ci 312419b0af8Sopenharmony_ci <one line to give the program's name and a brief idea of what it does.> 313419b0af8Sopenharmony_ci Copyright (C) <year> <name of author> 314419b0af8Sopenharmony_ci 315419b0af8Sopenharmony_ci This program is free software; you can redistribute it and/or modify 316419b0af8Sopenharmony_ci it under the terms of the GNU General Public License as published by 317419b0af8Sopenharmony_ci the Free Software Foundation; either version 2 of the License, or 318419b0af8Sopenharmony_ci (at your option) any later version. 319419b0af8Sopenharmony_ci 320419b0af8Sopenharmony_ci This program is distributed in the hope that it will be useful, 321419b0af8Sopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 322419b0af8Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 323419b0af8Sopenharmony_ci GNU General Public License for more details. 324419b0af8Sopenharmony_ci 325419b0af8Sopenharmony_ci You should have received a copy of the GNU General Public License 326419b0af8Sopenharmony_ci along with this program; if not, write to the Free Software 327419b0af8Sopenharmony_ci Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 328419b0af8Sopenharmony_ci 329419b0af8Sopenharmony_ci 330419b0af8Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 331419b0af8Sopenharmony_ci 332419b0af8Sopenharmony_ciIf the program is interactive, make it output a short notice like this 333419b0af8Sopenharmony_ciwhen it starts in an interactive mode: 334419b0af8Sopenharmony_ci 335419b0af8Sopenharmony_ci Gnomovision version 69, Copyright (C) year name of author 336419b0af8Sopenharmony_ci Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 337419b0af8Sopenharmony_ci This is free software, and you are welcome to redistribute it 338419b0af8Sopenharmony_ci under certain conditions; type `show c' for details. 339419b0af8Sopenharmony_ci 340419b0af8Sopenharmony_ciThe hypothetical commands `show w' and `show c' should show the appropriate 341419b0af8Sopenharmony_ciparts of the General Public License. Of course, the commands you use may 342419b0af8Sopenharmony_cibe called something other than `show w' and `show c'; they could even be 343419b0af8Sopenharmony_cimouse-clicks or menu items--whatever suits your program. 344419b0af8Sopenharmony_ci 345419b0af8Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 346419b0af8Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if 347419b0af8Sopenharmony_cinecessary. Here is a sample; alter the names: 348419b0af8Sopenharmony_ci 349419b0af8Sopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the program 350419b0af8Sopenharmony_ci `Gnomovision' (which makes passes at compilers) written by James Hacker. 351419b0af8Sopenharmony_ci 352419b0af8Sopenharmony_ci <signature of Ty Coon>, 1 April 1989 353419b0af8Sopenharmony_ci Ty Coon, President of Vice 354419b0af8Sopenharmony_ci 355419b0af8Sopenharmony_ciThis General Public License does not permit incorporating your program into 356419b0af8Sopenharmony_ciproprietary programs. If your program is a subroutine library, you may 357419b0af8Sopenharmony_ciconsider it more useful to permit linking proprietary applications with the 358419b0af8Sopenharmony_cilibrary. If this is what you want to do, use the GNU Library General 359419b0af8Sopenharmony_ciPublic License instead of this License. 360