📄 gpl-license
字号:
The GNU General Public License (GPL)Version 2, June 1991Copyright (C) 1989, 1991 Free Software Foundation, Inc.59 Temple Place, Suite 330, Boston, MA 02111-1307 USAEveryone is permitted to copy and distribute verbatim copiesof this license document, but changing it is not allowed.PreambleThe licenses for most software are designed to take away your freedom toshare and change it. By contrast, the GNU General Public License is intendedto guarantee your freedom to share and change free software--to make surethe software is free for all its users. This General Public License appliesto most of the Free Software Foundation's software and to any other programwhose authors commit to using it. (Some other Free Software Foundationsoftware is covered by the GNU Library General Public License instead.) Youcan apply it to your programs, too.When we speak of free software, we are referring to freedom, not price. OurGeneral Public Licenses are designed to make sure that you have the freedomto distribute copies of free software (and charge for this service if youwish), that you receive source code or can get it if you want it, that youcan change the software or use pieces of it in new free programs; and thatyou know you can do these things.To protect your rights, we need to make restrictions that forbid anyone todeny you these rights or to ask you to surrender the rights. Theserestrictions translate to certain responsibilities for you if you distributecopies of the software, or if you modify it.For example, if you distribute copies of such a program, whether gratis orfor a fee, you must give the recipients all the rights that you have. Youmust make sure that they, too, receive or can get the source code. And youmust show them these terms so they know their rights.We protect your rights with two steps: (1) copyright the software, and (2)offer you this license which gives you legal permission to copy, distributeand/or modify the software.Also, for each author's protection and ours, we want to make certain thateveryone understands that there is no warranty for this free software. Ifthe software is modified by someone else and passed on, we want itsrecipients to know that what they have is not the original, so that anyproblems introduced by others will not reflect on the original authors'reputations.Finally, any free program is threatened constantly by software patents. Wewish to avoid the danger that redistributors of a free program willindividually obtain patent licenses, in effect making the programproprietary. To prevent this, we have made it clear that any patent must belicensed for everyone's free use or not licensed at all.The precise terms and conditions for copying, distribution and modificationfollow.TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".Activities other than copying, distribution and modification are not coveredby this License; they are outside its scope. The act of running the Programis not restricted, and the output from the Program is covered only if itscontents constitute a work based on the Program (independent of having beenmade by running the Program). Whether that is true depends on what theProgram does.1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.You may charge a fee for the physical act of transferring a copy, and youmay at your option offer warranty protection in exchange for a fee.2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)These requirements apply to the modified work as a whole. If identifiablesections of that work are not derived from the Program, and can bereasonably considered independent and separate works in themselves, thenthis License, and its terms, do not apply to those sections when youdistribute them as separate works. But when you distribute the same sectionsas part of a whole which is a work based on the Program, the distribution ofthe whole must be on the terms of this License, whose permissions for otherlicensees extend to the entire whole, and thus to each and every partregardless of who wrote it.Thus, it is not the intent of this section to claim rights or contest yourrights to work written entirely by you; rather, the intent is to exercisethe right to control the distribution of derivative or collective worksbased on the Program.In addition, mere aggregation of another work not based on the Program withthe Program (or with a work based on the Program) on a volume of a storageor distribution medium does not bring the other work under the scope of thisLicense.3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)The source code for a work means the preferred form of the work for makingmodifications to it. For an executable work, complete source code means allthe source code for all modules it contains, plus any associated interfacedefinition files, plus the scripts used to control compilation andinstallation of the executable. However, as a special exception, the sourcecode distributed need not include anything that is normally distributed (ineither source or binary form) with the major components (compiler, kernel,and so on) of the operating system on which the executable runs, unless thatcomponent itself accompanies the executable.If distribution of executable or object code is made by offering access tocopy from a designated place, then offering equivalent access to copy thesource code from the same place counts as distribution of the source code,even though third parties are not compelled to copy the source along withthe object code.4. You may not copy, modify, sublicense, or distribute the Program except as
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -