1*37934a41SHeYicong GNU GENERAL PUBLIC LICENSE 2*37934a41SHeYicong Version 3, 29 June 2007 3*37934a41SHeYicong 4*37934a41SHeYicong Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> 5*37934a41SHeYicong Everyone is permitted to copy and distribute verbatim copies 6*37934a41SHeYicong of this license document, but changing it is not allowed. 7*37934a41SHeYicong 8*37934a41SHeYicong Preamble 9*37934a41SHeYicong 10*37934a41SHeYicong The GNU General Public License is a free, copyleft license for 11*37934a41SHeYicongsoftware and other kinds of works. 12*37934a41SHeYicong 13*37934a41SHeYicong The licenses for most software and other practical works are designed 14*37934a41SHeYicongto take away your freedom to share and change the works. By contrast, 15*37934a41SHeYicongthe GNU General Public License is intended to guarantee your freedom to 16*37934a41SHeYicongshare and change all versions of a program--to make sure it remains free 17*37934a41SHeYicongsoftware for all its users. We, the Free Software Foundation, use the 18*37934a41SHeYicongGNU General Public License for most of our software; it applies also to 19*37934a41SHeYicongany other work released this way by its authors. You can apply it to 20*37934a41SHeYicongyour programs, too. 21*37934a41SHeYicong 22*37934a41SHeYicong When we speak of free software, we are referring to freedom, not 23*37934a41SHeYicongprice. Our General Public Licenses are designed to make sure that you 24*37934a41SHeYiconghave the freedom to distribute copies of free software (and charge for 25*37934a41SHeYicongthem if you wish), that you receive source code or can get it if you 26*37934a41SHeYicongwant it, that you can change the software or use pieces of it in new 27*37934a41SHeYicongfree programs, and that you know you can do these things. 28*37934a41SHeYicong 29*37934a41SHeYicong To protect your rights, we need to prevent others from denying you 30*37934a41SHeYicongthese rights or asking you to surrender the rights. Therefore, you have 31*37934a41SHeYicongcertain responsibilities if you distribute copies of the software, or if 32*37934a41SHeYicongyou modify it: responsibilities to respect the freedom of others. 33*37934a41SHeYicong 34*37934a41SHeYicong For example, if you distribute copies of such a program, whether 35*37934a41SHeYiconggratis or for a fee, you must pass on to the recipients the same 36*37934a41SHeYicongfreedoms that you received. You must make sure that they, too, receive 37*37934a41SHeYicongor can get the source code. And you must show them these terms so they 38*37934a41SHeYicongknow their rights. 39*37934a41SHeYicong 40*37934a41SHeYicong Developers that use the GNU GPL protect your rights with two steps: 41*37934a41SHeYicong(1) assert copyright on the software, and (2) offer you this License 42*37934a41SHeYiconggiving you legal permission to copy, distribute and/or modify it. 43*37934a41SHeYicong 44*37934a41SHeYicong For the developers' and authors' protection, the GPL clearly explains 45*37934a41SHeYicongthat there is no warranty for this free software. For both users' and 46*37934a41SHeYicongauthors' sake, the GPL requires that modified versions be marked as 47*37934a41SHeYicongchanged, so that their problems will not be attributed erroneously to 48*37934a41SHeYicongauthors of previous versions. 49*37934a41SHeYicong 50*37934a41SHeYicong Some devices are designed to deny users access to install or run 51*37934a41SHeYicongmodified versions of the software inside them, although the manufacturer 52*37934a41SHeYicongcan do so. This is fundamentally incompatible with the aim of 53*37934a41SHeYicongprotecting users' freedom to change the software. The systematic 54*37934a41SHeYicongpattern of such abuse occurs in the area of products for individuals to 55*37934a41SHeYiconguse, which is precisely where it is most unacceptable. Therefore, we 56*37934a41SHeYiconghave designed this version of the GPL to prohibit the practice for those 57*37934a41SHeYicongproducts. If such problems arise substantially in other domains, we 58*37934a41SHeYicongstand ready to extend this provision to those domains in future versions 59*37934a41SHeYicongof the GPL, as needed to protect the freedom of users. 60*37934a41SHeYicong 61*37934a41SHeYicong Finally, every program is threatened constantly by software patents. 62*37934a41SHeYicongStates should not allow patents to restrict development and use of 63*37934a41SHeYicongsoftware on general-purpose computers, but in those that do, we wish to 64*37934a41SHeYicongavoid the special danger that patents applied to a free program could 65*37934a41SHeYicongmake it effectively proprietary. To prevent this, the GPL assures that 66*37934a41SHeYicongpatents cannot be used to render the program non-free. 67*37934a41SHeYicong 68*37934a41SHeYicong The precise terms and conditions for copying, distribution and 69*37934a41SHeYicongmodification follow. 70*37934a41SHeYicong 71*37934a41SHeYicong TERMS AND CONDITIONS 72*37934a41SHeYicong 73*37934a41SHeYicong 0. Definitions. 74*37934a41SHeYicong 75*37934a41SHeYicong "This License" refers to version 3 of the GNU General Public License. 76*37934a41SHeYicong 77*37934a41SHeYicong "Copyright" also means copyright-like laws that apply to other kinds of 78*37934a41SHeYicongworks, such as semiconductor masks. 79*37934a41SHeYicong 80*37934a41SHeYicong "The Program" refers to any copyrightable work licensed under this 81*37934a41SHeYicongLicense. Each licensee is addressed as "you". "Licensees" and 82*37934a41SHeYicong"recipients" may be individuals or organizations. 83*37934a41SHeYicong 84*37934a41SHeYicong To "modify" a work means to copy from or adapt all or part of the work 85*37934a41SHeYicongin a fashion requiring copyright permission, other than the making of an 86*37934a41SHeYicongexact copy. The resulting work is called a "modified version" of the 87*37934a41SHeYicongearlier work or a work "based on" the earlier work. 88*37934a41SHeYicong 89*37934a41SHeYicong A "covered work" means either the unmodified Program or a work based 90*37934a41SHeYicongon the Program. 91*37934a41SHeYicong 92*37934a41SHeYicong To "propagate" a work means to do anything with it that, without 93*37934a41SHeYicongpermission, would make you directly or secondarily liable for 94*37934a41SHeYiconginfringement under applicable copyright law, except executing it on a 95*37934a41SHeYicongcomputer or modifying a private copy. Propagation includes copying, 96*37934a41SHeYicongdistribution (with or without modification), making available to the 97*37934a41SHeYicongpublic, and in some countries other activities as well. 98*37934a41SHeYicong 99*37934a41SHeYicong To "convey" a work means any kind of propagation that enables other 100*37934a41SHeYicongparties to make or receive copies. Mere interaction with a user through 101*37934a41SHeYiconga computer network, with no transfer of a copy, is not conveying. 102*37934a41SHeYicong 103*37934a41SHeYicong An interactive user interface displays "Appropriate Legal Notices" 104*37934a41SHeYicongto the extent that it includes a convenient and prominently visible 105*37934a41SHeYicongfeature that (1) displays an appropriate copyright notice, and (2) 106*37934a41SHeYicongtells the user that there is no warranty for the work (except to the 107*37934a41SHeYicongextent that warranties are provided), that licensees may convey the 108*37934a41SHeYicongwork under this License, and how to view a copy of this License. If 109*37934a41SHeYicongthe interface presents a list of user commands or options, such as a 110*37934a41SHeYicongmenu, a prominent item in the list meets this criterion. 111*37934a41SHeYicong 112*37934a41SHeYicong 1. Source Code. 113*37934a41SHeYicong 114*37934a41SHeYicong The "source code" for a work means the preferred form of the work 115*37934a41SHeYicongfor making modifications to it. "Object code" means any non-source 116*37934a41SHeYicongform of a work. 117*37934a41SHeYicong 118*37934a41SHeYicong A "Standard Interface" means an interface that either is an official 119*37934a41SHeYicongstandard defined by a recognized standards body, or, in the case of 120*37934a41SHeYiconginterfaces specified for a particular programming language, one that 121*37934a41SHeYicongis widely used among developers working in that language. 122*37934a41SHeYicong 123*37934a41SHeYicong The "System Libraries" of an executable work include anything, other 124*37934a41SHeYicongthan the work as a whole, that (a) is included in the normal form of 125*37934a41SHeYicongpackaging a Major Component, but which is not part of that Major 126*37934a41SHeYicongComponent, and (b) serves only to enable use of the work with that 127*37934a41SHeYicongMajor Component, or to implement a Standard Interface for which an 128*37934a41SHeYicongimplementation is available to the public in source code form. A 129*37934a41SHeYicong"Major Component", in this context, means a major essential component 130*37934a41SHeYicong(kernel, window system, and so on) of the specific operating system 131*37934a41SHeYicong(if any) on which the executable work runs, or a compiler used to 132*37934a41SHeYicongproduce the work, or an object code interpreter used to run it. 133*37934a41SHeYicong 134*37934a41SHeYicong The "Corresponding Source" for a work in object code form means all 135*37934a41SHeYicongthe source code needed to generate, install, and (for an executable 136*37934a41SHeYicongwork) run the object code and to modify the work, including scripts to 137*37934a41SHeYicongcontrol those activities. However, it does not include the work's 138*37934a41SHeYicongSystem Libraries, or general-purpose tools or generally available free 139*37934a41SHeYicongprograms which are used unmodified in performing those activities but 140*37934a41SHeYicongwhich are not part of the work. For example, Corresponding Source 141*37934a41SHeYicongincludes interface definition files associated with source files for 142*37934a41SHeYicongthe work, and the source code for shared libraries and dynamically 143*37934a41SHeYiconglinked subprograms that the work is specifically designed to require, 144*37934a41SHeYicongsuch as by intimate data communication or control flow between those 145*37934a41SHeYicongsubprograms and other parts of the work. 146*37934a41SHeYicong 147*37934a41SHeYicong The Corresponding Source need not include anything that users 148*37934a41SHeYicongcan regenerate automatically from other parts of the Corresponding 149*37934a41SHeYicongSource. 150*37934a41SHeYicong 151*37934a41SHeYicong The Corresponding Source for a work in source code form is that 152*37934a41SHeYicongsame work. 153*37934a41SHeYicong 154*37934a41SHeYicong 2. Basic Permissions. 155*37934a41SHeYicong 156*37934a41SHeYicong All rights granted under this License are granted for the term of 157*37934a41SHeYicongcopyright on the Program, and are irrevocable provided the stated 158*37934a41SHeYicongconditions are met. This License explicitly affirms your unlimited 159*37934a41SHeYicongpermission to run the unmodified Program. The output from running a 160*37934a41SHeYicongcovered work is covered by this License only if the output, given its 161*37934a41SHeYicongcontent, constitutes a covered work. This License acknowledges your 162*37934a41SHeYicongrights of fair use or other equivalent, as provided by copyright law. 163*37934a41SHeYicong 164*37934a41SHeYicong You may make, run and propagate covered works that you do not 165*37934a41SHeYicongconvey, without conditions so long as your license otherwise remains 166*37934a41SHeYicongin force. You may convey covered works to others for the sole purpose 167*37934a41SHeYicongof having them make modifications exclusively for you, or provide you 168*37934a41SHeYicongwith facilities for running those works, provided that you comply with 169*37934a41SHeYicongthe terms of this License in conveying all material for which you do 170*37934a41SHeYicongnot control copyright. Those thus making or running the covered works 171*37934a41SHeYicongfor you must do so exclusively on your behalf, under your direction 172*37934a41SHeYicongand control, on terms that prohibit them from making any copies of 173*37934a41SHeYicongyour copyrighted material outside their relationship with you. 174*37934a41SHeYicong 175*37934a41SHeYicong Conveying under any other circumstances is permitted solely under 176*37934a41SHeYicongthe conditions stated below. Sublicensing is not allowed; section 10 177*37934a41SHeYicongmakes it unnecessary. 178*37934a41SHeYicong 179*37934a41SHeYicong 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180*37934a41SHeYicong 181*37934a41SHeYicong No covered work shall be deemed part of an effective technological 182*37934a41SHeYicongmeasure under any applicable law fulfilling obligations under article 183*37934a41SHeYicong11 of the WIPO copyright treaty adopted on 20 December 1996, or 184*37934a41SHeYicongsimilar laws prohibiting or restricting circumvention of such 185*37934a41SHeYicongmeasures. 186*37934a41SHeYicong 187*37934a41SHeYicong When you convey a covered work, you waive any legal power to forbid 188*37934a41SHeYicongcircumvention of technological measures to the extent such circumvention 189*37934a41SHeYicongis effected by exercising rights under this License with respect to 190*37934a41SHeYicongthe covered work, and you disclaim any intention to limit operation or 191*37934a41SHeYicongmodification of the work as a means of enforcing, against the work's 192*37934a41SHeYicongusers, your or third parties' legal rights to forbid circumvention of 193*37934a41SHeYicongtechnological measures. 194*37934a41SHeYicong 195*37934a41SHeYicong 4. Conveying Verbatim Copies. 196*37934a41SHeYicong 197*37934a41SHeYicong You may convey verbatim copies of the Program's source code as you 198*37934a41SHeYicongreceive it, in any medium, provided that you conspicuously and 199*37934a41SHeYicongappropriately publish on each copy an appropriate copyright notice; 200*37934a41SHeYicongkeep intact all notices stating that this License and any 201*37934a41SHeYicongnon-permissive terms added in accord with section 7 apply to the code; 202*37934a41SHeYicongkeep intact all notices of the absence of any warranty; and give all 203*37934a41SHeYicongrecipients a copy of this License along with the Program. 204*37934a41SHeYicong 205*37934a41SHeYicong You may charge any price or no price for each copy that you convey, 206*37934a41SHeYicongand you may offer support or warranty protection for a fee. 207*37934a41SHeYicong 208*37934a41SHeYicong 5. Conveying Modified Source Versions. 209*37934a41SHeYicong 210*37934a41SHeYicong You may convey a work based on the Program, or the modifications to 211*37934a41SHeYicongproduce it from the Program, in the form of source code under the 212*37934a41SHeYicongterms of section 4, provided that you also meet all of these conditions: 213*37934a41SHeYicong 214*37934a41SHeYicong a) The work must carry prominent notices stating that you modified 215*37934a41SHeYicong it, and giving a relevant date. 216*37934a41SHeYicong 217*37934a41SHeYicong b) The work must carry prominent notices stating that it is 218*37934a41SHeYicong released under this License and any conditions added under section 219*37934a41SHeYicong 7. This requirement modifies the requirement in section 4 to 220*37934a41SHeYicong "keep intact all notices". 221*37934a41SHeYicong 222*37934a41SHeYicong c) You must license the entire work, as a whole, under this 223*37934a41SHeYicong License to anyone who comes into possession of a copy. This 224*37934a41SHeYicong License will therefore apply, along with any applicable section 7 225*37934a41SHeYicong additional terms, to the whole of the work, and all its parts, 226*37934a41SHeYicong regardless of how they are packaged. This License gives no 227*37934a41SHeYicong permission to license the work in any other way, but it does not 228*37934a41SHeYicong invalidate such permission if you have separately received it. 229*37934a41SHeYicong 230*37934a41SHeYicong d) If the work has interactive user interfaces, each must display 231*37934a41SHeYicong Appropriate Legal Notices; however, if the Program has interactive 232*37934a41SHeYicong interfaces that do not display Appropriate Legal Notices, your 233*37934a41SHeYicong work need not make them do so. 234*37934a41SHeYicong 235*37934a41SHeYicong A compilation of a covered work with other separate and independent 236*37934a41SHeYicongworks, which are not by their nature extensions of the covered work, 237*37934a41SHeYicongand which are not combined with it such as to form a larger program, 238*37934a41SHeYicongin or on a volume of a storage or distribution medium, is called an 239*37934a41SHeYicong"aggregate" if the compilation and its resulting copyright are not 240*37934a41SHeYicongused to limit the access or legal rights of the compilation's users 241*37934a41SHeYicongbeyond what the individual works permit. Inclusion of a covered work 242*37934a41SHeYicongin an aggregate does not cause this License to apply to the other 243*37934a41SHeYicongparts of the aggregate. 244*37934a41SHeYicong 245*37934a41SHeYicong 6. Conveying Non-Source Forms. 246*37934a41SHeYicong 247*37934a41SHeYicong You may convey a covered work in object code form under the terms 248*37934a41SHeYicongof sections 4 and 5, provided that you also convey the 249*37934a41SHeYicongmachine-readable Corresponding Source under the terms of this License, 250*37934a41SHeYicongin one of these ways: 251*37934a41SHeYicong 252*37934a41SHeYicong a) Convey the object code in, or embodied in, a physical product 253*37934a41SHeYicong (including a physical distribution medium), accompanied by the 254*37934a41SHeYicong Corresponding Source fixed on a durable physical medium 255*37934a41SHeYicong customarily used for software interchange. 256*37934a41SHeYicong 257*37934a41SHeYicong b) Convey the object code in, or embodied in, a physical product 258*37934a41SHeYicong (including a physical distribution medium), accompanied by a 259*37934a41SHeYicong written offer, valid for at least three years and valid for as 260*37934a41SHeYicong long as you offer spare parts or customer support for that product 261*37934a41SHeYicong model, to give anyone who possesses the object code either (1) a 262*37934a41SHeYicong copy of the Corresponding Source for all the software in the 263*37934a41SHeYicong product that is covered by this License, on a durable physical 264*37934a41SHeYicong medium customarily used for software interchange, for a price no 265*37934a41SHeYicong more than your reasonable cost of physically performing this 266*37934a41SHeYicong conveying of source, or (2) access to copy the 267*37934a41SHeYicong Corresponding Source from a network server at no charge. 268*37934a41SHeYicong 269*37934a41SHeYicong c) Convey individual copies of the object code with a copy of the 270*37934a41SHeYicong written offer to provide the Corresponding Source. This 271*37934a41SHeYicong alternative is allowed only occasionally and noncommercially, and 272*37934a41SHeYicong only if you received the object code with such an offer, in accord 273*37934a41SHeYicong with subsection 6b. 274*37934a41SHeYicong 275*37934a41SHeYicong d) Convey the object code by offering access from a designated 276*37934a41SHeYicong place (gratis or for a charge), and offer equivalent access to the 277*37934a41SHeYicong Corresponding Source in the same way through the same place at no 278*37934a41SHeYicong further charge. You need not require recipients to copy the 279*37934a41SHeYicong Corresponding Source along with the object code. If the place to 280*37934a41SHeYicong copy the object code is a network server, the Corresponding Source 281*37934a41SHeYicong may be on a different server (operated by you or a third party) 282*37934a41SHeYicong that supports equivalent copying facilities, provided you maintain 283*37934a41SHeYicong clear directions next to the object code saying where to find the 284*37934a41SHeYicong Corresponding Source. Regardless of what server hosts the 285*37934a41SHeYicong Corresponding Source, you remain obligated to ensure that it is 286*37934a41SHeYicong available for as long as needed to satisfy these requirements. 287*37934a41SHeYicong 288*37934a41SHeYicong e) Convey the object code using peer-to-peer transmission, provided 289*37934a41SHeYicong you inform other peers where the object code and Corresponding 290*37934a41SHeYicong Source of the work are being offered to the general public at no 291*37934a41SHeYicong charge under subsection 6d. 292*37934a41SHeYicong 293*37934a41SHeYicong A separable portion of the object code, whose source code is excluded 294*37934a41SHeYicongfrom the Corresponding Source as a System Library, need not be 295*37934a41SHeYicongincluded in conveying the object code work. 296*37934a41SHeYicong 297*37934a41SHeYicong A "User Product" is either (1) a "consumer product", which means any 298*37934a41SHeYicongtangible personal property which is normally used for personal, family, 299*37934a41SHeYicongor household purposes, or (2) anything designed or sold for incorporation 300*37934a41SHeYiconginto a dwelling. In determining whether a product is a consumer product, 301*37934a41SHeYicongdoubtful cases shall be resolved in favor of coverage. For a particular 302*37934a41SHeYicongproduct received by a particular user, "normally used" refers to a 303*37934a41SHeYicongtypical or common use of that class of product, regardless of the status 304*37934a41SHeYicongof the particular user or of the way in which the particular user 305*37934a41SHeYicongactually uses, or expects or is expected to use, the product. A product 306*37934a41SHeYicongis a consumer product regardless of whether the product has substantial 307*37934a41SHeYicongcommercial, industrial or non-consumer uses, unless such uses represent 308*37934a41SHeYicongthe only significant mode of use of the product. 309*37934a41SHeYicong 310*37934a41SHeYicong "Installation Information" for a User Product means any methods, 311*37934a41SHeYicongprocedures, authorization keys, or other information required to install 312*37934a41SHeYicongand execute modified versions of a covered work in that User Product from 313*37934a41SHeYiconga modified version of its Corresponding Source. The information must 314*37934a41SHeYicongsuffice to ensure that the continued functioning of the modified object 315*37934a41SHeYicongcode is in no case prevented or interfered with solely because 316*37934a41SHeYicongmodification has been made. 317*37934a41SHeYicong 318*37934a41SHeYicong If you convey an object code work under this section in, or with, or 319*37934a41SHeYicongspecifically for use in, a User Product, and the conveying occurs as 320*37934a41SHeYicongpart of a transaction in which the right of possession and use of the 321*37934a41SHeYicongUser Product is transferred to the recipient in perpetuity or for a 322*37934a41SHeYicongfixed term (regardless of how the transaction is characterized), the 323*37934a41SHeYicongCorresponding Source conveyed under this section must be accompanied 324*37934a41SHeYicongby the Installation Information. But this requirement does not apply 325*37934a41SHeYicongif neither you nor any third party retains the ability to install 326*37934a41SHeYicongmodified object code on the User Product (for example, the work has 327*37934a41SHeYicongbeen installed in ROM). 328*37934a41SHeYicong 329*37934a41SHeYicong The requirement to provide Installation Information does not include a 330*37934a41SHeYicongrequirement to continue to provide support service, warranty, or updates 331*37934a41SHeYicongfor a work that has been modified or installed by the recipient, or for 332*37934a41SHeYicongthe User Product in which it has been modified or installed. Access to a 333*37934a41SHeYicongnetwork may be denied when the modification itself materially and 334*37934a41SHeYicongadversely affects the operation of the network or violates the rules and 335*37934a41SHeYicongprotocols for communication across the network. 336*37934a41SHeYicong 337*37934a41SHeYicong Corresponding Source conveyed, and Installation Information provided, 338*37934a41SHeYicongin accord with this section must be in a format that is publicly 339*37934a41SHeYicongdocumented (and with an implementation available to the public in 340*37934a41SHeYicongsource code form), and must require no special password or key for 341*37934a41SHeYicongunpacking, reading or copying. 342*37934a41SHeYicong 343*37934a41SHeYicong 7. Additional Terms. 344*37934a41SHeYicong 345*37934a41SHeYicong "Additional permissions" are terms that supplement the terms of this 346*37934a41SHeYicongLicense by making exceptions from one or more of its conditions. 347*37934a41SHeYicongAdditional permissions that are applicable to the entire Program shall 348*37934a41SHeYicongbe treated as though they were included in this License, to the extent 349*37934a41SHeYicongthat they are valid under applicable law. If additional permissions 350*37934a41SHeYicongapply only to part of the Program, that part may be used separately 351*37934a41SHeYicongunder those permissions, but the entire Program remains governed by 352*37934a41SHeYicongthis License without regard to the additional permissions. 353*37934a41SHeYicong 354*37934a41SHeYicong When you convey a copy of a covered work, you may at your option 355*37934a41SHeYicongremove any additional permissions from that copy, or from any part of 356*37934a41SHeYicongit. (Additional permissions may be written to require their own 357*37934a41SHeYicongremoval in certain cases when you modify the work.) You may place 358*37934a41SHeYicongadditional permissions on material, added by you to a covered work, 359*37934a41SHeYicongfor which you have or can give appropriate copyright permission. 360*37934a41SHeYicong 361*37934a41SHeYicong Notwithstanding any other provision of this License, for material you 362*37934a41SHeYicongadd to a covered work, you may (if authorized by the copyright holders of 363*37934a41SHeYicongthat material) supplement the terms of this License with terms: 364*37934a41SHeYicong 365*37934a41SHeYicong a) Disclaiming warranty or limiting liability differently from the 366*37934a41SHeYicong terms of sections 15 and 16 of this License; or 367*37934a41SHeYicong 368*37934a41SHeYicong b) Requiring preservation of specified reasonable legal notices or 369*37934a41SHeYicong author attributions in that material or in the Appropriate Legal 370*37934a41SHeYicong Notices displayed by works containing it; or 371*37934a41SHeYicong 372*37934a41SHeYicong c) Prohibiting misrepresentation of the origin of that material, or 373*37934a41SHeYicong requiring that modified versions of such material be marked in 374*37934a41SHeYicong reasonable ways as different from the original version; or 375*37934a41SHeYicong 376*37934a41SHeYicong d) Limiting the use for publicity purposes of names of licensors or 377*37934a41SHeYicong authors of the material; or 378*37934a41SHeYicong 379*37934a41SHeYicong e) Declining to grant rights under trademark law for use of some 380*37934a41SHeYicong trade names, trademarks, or service marks; or 381*37934a41SHeYicong 382*37934a41SHeYicong f) Requiring indemnification of licensors and authors of that 383*37934a41SHeYicong material by anyone who conveys the material (or modified versions of 384*37934a41SHeYicong it) with contractual assumptions of liability to the recipient, for 385*37934a41SHeYicong any liability that these contractual assumptions directly impose on 386*37934a41SHeYicong those licensors and authors. 387*37934a41SHeYicong 388*37934a41SHeYicong All other non-permissive additional terms are considered "further 389*37934a41SHeYicongrestrictions" within the meaning of section 10. If the Program as you 390*37934a41SHeYicongreceived it, or any part of it, contains a notice stating that it is 391*37934a41SHeYiconggoverned by this License along with a term that is a further 392*37934a41SHeYicongrestriction, you may remove that term. If a license document contains 393*37934a41SHeYiconga further restriction but permits relicensing or conveying under this 394*37934a41SHeYicongLicense, you may add to a covered work material governed by the terms 395*37934a41SHeYicongof that license document, provided that the further restriction does 396*37934a41SHeYicongnot survive such relicensing or conveying. 397*37934a41SHeYicong 398*37934a41SHeYicong If you add terms to a covered work in accord with this section, you 399*37934a41SHeYicongmust place, in the relevant source files, a statement of the 400*37934a41SHeYicongadditional terms that apply to those files, or a notice indicating 401*37934a41SHeYicongwhere to find the applicable terms. 402*37934a41SHeYicong 403*37934a41SHeYicong Additional terms, permissive or non-permissive, may be stated in the 404*37934a41SHeYicongform of a separately written license, or stated as exceptions; 405*37934a41SHeYicongthe above requirements apply either way. 406*37934a41SHeYicong 407*37934a41SHeYicong 8. Termination. 408*37934a41SHeYicong 409*37934a41SHeYicong You may not propagate or modify a covered work except as expressly 410*37934a41SHeYicongprovided under this License. Any attempt otherwise to propagate or 411*37934a41SHeYicongmodify it is void, and will automatically terminate your rights under 412*37934a41SHeYicongthis License (including any patent licenses granted under the third 413*37934a41SHeYicongparagraph of section 11). 414*37934a41SHeYicong 415*37934a41SHeYicong However, if you cease all violation of this License, then your 416*37934a41SHeYiconglicense from a particular copyright holder is reinstated (a) 417*37934a41SHeYicongprovisionally, unless and until the copyright holder explicitly and 418*37934a41SHeYicongfinally terminates your license, and (b) permanently, if the copyright 419*37934a41SHeYicongholder fails to notify you of the violation by some reasonable means 420*37934a41SHeYicongprior to 60 days after the cessation. 421*37934a41SHeYicong 422*37934a41SHeYicong Moreover, your license from a particular copyright holder is 423*37934a41SHeYicongreinstated permanently if the copyright holder notifies you of the 424*37934a41SHeYicongviolation by some reasonable means, this is the first time you have 425*37934a41SHeYicongreceived notice of violation of this License (for any work) from that 426*37934a41SHeYicongcopyright holder, and you cure the violation prior to 30 days after 427*37934a41SHeYicongyour receipt of the notice. 428*37934a41SHeYicong 429*37934a41SHeYicong Termination of your rights under this section does not terminate the 430*37934a41SHeYiconglicenses of parties who have received copies or rights from you under 431*37934a41SHeYicongthis License. If your rights have been terminated and not permanently 432*37934a41SHeYicongreinstated, you do not qualify to receive new licenses for the same 433*37934a41SHeYicongmaterial under section 10. 434*37934a41SHeYicong 435*37934a41SHeYicong 9. Acceptance Not Required for Having Copies. 436*37934a41SHeYicong 437*37934a41SHeYicong You are not required to accept this License in order to receive or 438*37934a41SHeYicongrun a copy of the Program. Ancillary propagation of a covered work 439*37934a41SHeYicongoccurring solely as a consequence of using peer-to-peer transmission 440*37934a41SHeYicongto receive a copy likewise does not require acceptance. However, 441*37934a41SHeYicongnothing other than this License grants you permission to propagate or 442*37934a41SHeYicongmodify any covered work. These actions infringe copyright if you do 443*37934a41SHeYicongnot accept this License. Therefore, by modifying or propagating a 444*37934a41SHeYicongcovered work, you indicate your acceptance of this License to do so. 445*37934a41SHeYicong 446*37934a41SHeYicong 10. Automatic Licensing of Downstream Recipients. 447*37934a41SHeYicong 448*37934a41SHeYicong Each time you convey a covered work, the recipient automatically 449*37934a41SHeYicongreceives a license from the original licensors, to run, modify and 450*37934a41SHeYicongpropagate that work, subject to this License. You are not responsible 451*37934a41SHeYicongfor enforcing compliance by third parties with this License. 452*37934a41SHeYicong 453*37934a41SHeYicong An "entity transaction" is a transaction transferring control of an 454*37934a41SHeYicongorganization, or substantially all assets of one, or subdividing an 455*37934a41SHeYicongorganization, or merging organizations. If propagation of a covered 456*37934a41SHeYicongwork results from an entity transaction, each party to that 457*37934a41SHeYicongtransaction who receives a copy of the work also receives whatever 458*37934a41SHeYiconglicenses to the work the party's predecessor in interest had or could 459*37934a41SHeYiconggive under the previous paragraph, plus a right to possession of the 460*37934a41SHeYicongCorresponding Source of the work from the predecessor in interest, if 461*37934a41SHeYicongthe predecessor has it or can get it with reasonable efforts. 462*37934a41SHeYicong 463*37934a41SHeYicong You may not impose any further restrictions on the exercise of the 464*37934a41SHeYicongrights granted or affirmed under this License. For example, you may 465*37934a41SHeYicongnot impose a license fee, royalty, or other charge for exercise of 466*37934a41SHeYicongrights granted under this License, and you may not initiate litigation 467*37934a41SHeYicong(including a cross-claim or counterclaim in a lawsuit) alleging that 468*37934a41SHeYicongany patent claim is infringed by making, using, selling, offering for 469*37934a41SHeYicongsale, or importing the Program or any portion of it. 470*37934a41SHeYicong 471*37934a41SHeYicong 11. Patents. 472*37934a41SHeYicong 473*37934a41SHeYicong A "contributor" is a copyright holder who authorizes use under this 474*37934a41SHeYicongLicense of the Program or a work on which the Program is based. The 475*37934a41SHeYicongwork thus licensed is called the contributor's "contributor version". 476*37934a41SHeYicong 477*37934a41SHeYicong A contributor's "essential patent claims" are all patent claims 478*37934a41SHeYicongowned or controlled by the contributor, whether already acquired or 479*37934a41SHeYiconghereafter acquired, that would be infringed by some manner, permitted 480*37934a41SHeYicongby this License, of making, using, or selling its contributor version, 481*37934a41SHeYicongbut do not include claims that would be infringed only as a 482*37934a41SHeYicongconsequence of further modification of the contributor version. For 483*37934a41SHeYicongpurposes of this definition, "control" includes the right to grant 484*37934a41SHeYicongpatent sublicenses in a manner consistent with the requirements of 485*37934a41SHeYicongthis License. 486*37934a41SHeYicong 487*37934a41SHeYicong Each contributor grants you a non-exclusive, worldwide, royalty-free 488*37934a41SHeYicongpatent license under the contributor's essential patent claims, to 489*37934a41SHeYicongmake, use, sell, offer for sale, import and otherwise run, modify and 490*37934a41SHeYicongpropagate the contents of its contributor version. 491*37934a41SHeYicong 492*37934a41SHeYicong In the following three paragraphs, a "patent license" is any express 493*37934a41SHeYicongagreement or commitment, however denominated, not to enforce a patent 494*37934a41SHeYicong(such as an express permission to practice a patent or covenant not to 495*37934a41SHeYicongsue for patent infringement). To "grant" such a patent license to a 496*37934a41SHeYicongparty means to make such an agreement or commitment not to enforce a 497*37934a41SHeYicongpatent against the party. 498*37934a41SHeYicong 499*37934a41SHeYicong If you convey a covered work, knowingly relying on a patent license, 500*37934a41SHeYicongand the Corresponding Source of the work is not available for anyone 501*37934a41SHeYicongto copy, free of charge and under the terms of this License, through a 502*37934a41SHeYicongpublicly available network server or other readily accessible means, 503*37934a41SHeYicongthen you must either (1) cause the Corresponding Source to be so 504*37934a41SHeYicongavailable, or (2) arrange to deprive yourself of the benefit of the 505*37934a41SHeYicongpatent license for this particular work, or (3) arrange, in a manner 506*37934a41SHeYicongconsistent with the requirements of this License, to extend the patent 507*37934a41SHeYiconglicense to downstream recipients. "Knowingly relying" means you have 508*37934a41SHeYicongactual knowledge that, but for the patent license, your conveying the 509*37934a41SHeYicongcovered work in a country, or your recipient's use of the covered work 510*37934a41SHeYicongin a country, would infringe one or more identifiable patents in that 511*37934a41SHeYicongcountry that you have reason to believe are valid. 512*37934a41SHeYicong 513*37934a41SHeYicong If, pursuant to or in connection with a single transaction or 514*37934a41SHeYicongarrangement, you convey, or propagate by procuring conveyance of, a 515*37934a41SHeYicongcovered work, and grant a patent license to some of the parties 516*37934a41SHeYicongreceiving the covered work authorizing them to use, propagate, modify 517*37934a41SHeYicongor convey a specific copy of the covered work, then the patent license 518*37934a41SHeYicongyou grant is automatically extended to all recipients of the covered 519*37934a41SHeYicongwork and works based on it. 520*37934a41SHeYicong 521*37934a41SHeYicong A patent license is "discriminatory" if it does not include within 522*37934a41SHeYicongthe scope of its coverage, prohibits the exercise of, or is 523*37934a41SHeYicongconditioned on the non-exercise of one or more of the rights that are 524*37934a41SHeYicongspecifically granted under this License. You may not convey a covered 525*37934a41SHeYicongwork if you are a party to an arrangement with a third party that is 526*37934a41SHeYicongin the business of distributing software, under which you make payment 527*37934a41SHeYicongto the third party based on the extent of your activity of conveying 528*37934a41SHeYicongthe work, and under which the third party grants, to any of the 529*37934a41SHeYicongparties who would receive the covered work from you, a discriminatory 530*37934a41SHeYicongpatent license (a) in connection with copies of the covered work 531*37934a41SHeYicongconveyed by you (or copies made from those copies), or (b) primarily 532*37934a41SHeYicongfor and in connection with specific products or compilations that 533*37934a41SHeYicongcontain the covered work, unless you entered into that arrangement, 534*37934a41SHeYicongor that patent license was granted, prior to 28 March 2007. 535*37934a41SHeYicong 536*37934a41SHeYicong Nothing in this License shall be construed as excluding or limiting 537*37934a41SHeYicongany implied license or other defenses to infringement that may 538*37934a41SHeYicongotherwise be available to you under applicable patent law. 539*37934a41SHeYicong 540*37934a41SHeYicong 12. No Surrender of Others' Freedom. 541*37934a41SHeYicong 542*37934a41SHeYicong If conditions are imposed on you (whether by court order, agreement or 543*37934a41SHeYicongotherwise) that contradict the conditions of this License, they do not 544*37934a41SHeYicongexcuse you from the conditions of this License. If you cannot convey a 545*37934a41SHeYicongcovered work so as to satisfy simultaneously your obligations under this 546*37934a41SHeYicongLicense and any other pertinent obligations, then as a consequence you may 547*37934a41SHeYicongnot convey it at all. For example, if you agree to terms that obligate you 548*37934a41SHeYicongto collect a royalty for further conveying from those to whom you convey 549*37934a41SHeYicongthe Program, the only way you could satisfy both those terms and this 550*37934a41SHeYicongLicense would be to refrain entirely from conveying the Program. 551*37934a41SHeYicong 552*37934a41SHeYicong 13. Use with the GNU Affero General Public License. 553*37934a41SHeYicong 554*37934a41SHeYicong Notwithstanding any other provision of this License, you have 555*37934a41SHeYicongpermission to link or combine any covered work with a work licensed 556*37934a41SHeYicongunder version 3 of the GNU Affero General Public License into a single 557*37934a41SHeYicongcombined work, and to convey the resulting work. The terms of this 558*37934a41SHeYicongLicense will continue to apply to the part which is the covered work, 559*37934a41SHeYicongbut the special requirements of the GNU Affero General Public License, 560*37934a41SHeYicongsection 13, concerning interaction through a network will apply to the 561*37934a41SHeYicongcombination as such. 562*37934a41SHeYicong 563*37934a41SHeYicong 14. Revised Versions of this License. 564*37934a41SHeYicong 565*37934a41SHeYicong The Free Software Foundation may publish revised and/or new versions of 566*37934a41SHeYicongthe GNU General Public License from time to time. Such new versions will 567*37934a41SHeYicongbe similar in spirit to the present version, but may differ in detail to 568*37934a41SHeYicongaddress new problems or concerns. 569*37934a41SHeYicong 570*37934a41SHeYicong Each version is given a distinguishing version number. If the 571*37934a41SHeYicongProgram specifies that a certain numbered version of the GNU General 572*37934a41SHeYicongPublic License "or any later version" applies to it, you have the 573*37934a41SHeYicongoption of following the terms and conditions either of that numbered 574*37934a41SHeYicongversion or of any later version published by the Free Software 575*37934a41SHeYicongFoundation. If the Program does not specify a version number of the 576*37934a41SHeYicongGNU General Public License, you may choose any version ever published 577*37934a41SHeYicongby the Free Software Foundation. 578*37934a41SHeYicong 579*37934a41SHeYicong If the Program specifies that a proxy can decide which future 580*37934a41SHeYicongversions of the GNU General Public License can be used, that proxy's 581*37934a41SHeYicongpublic statement of acceptance of a version permanently authorizes you 582*37934a41SHeYicongto choose that version for the Program. 583*37934a41SHeYicong 584*37934a41SHeYicong Later license versions may give you additional or different 585*37934a41SHeYicongpermissions. However, no additional obligations are imposed on any 586*37934a41SHeYicongauthor or copyright holder as a result of your choosing to follow a 587*37934a41SHeYiconglater version. 588*37934a41SHeYicong 589*37934a41SHeYicong 15. Disclaimer of Warranty. 590*37934a41SHeYicong 591*37934a41SHeYicong THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592*37934a41SHeYicongAPPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593*37934a41SHeYicongHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594*37934a41SHeYicongOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595*37934a41SHeYicongTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596*37934a41SHeYicongPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597*37934a41SHeYicongIS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598*37934a41SHeYicongALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599*37934a41SHeYicong 600*37934a41SHeYicong 16. Limitation of Liability. 601*37934a41SHeYicong 602*37934a41SHeYicong IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603*37934a41SHeYicongWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604*37934a41SHeYicongTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605*37934a41SHeYicongGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606*37934a41SHeYicongUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607*37934a41SHeYicongDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608*37934a41SHeYicongPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609*37934a41SHeYicongEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610*37934a41SHeYicongSUCH DAMAGES. 611*37934a41SHeYicong 612*37934a41SHeYicong 17. Interpretation of Sections 15 and 16. 613*37934a41SHeYicong 614*37934a41SHeYicong If the disclaimer of warranty and limitation of liability provided 615*37934a41SHeYicongabove cannot be given local legal effect according to their terms, 616*37934a41SHeYicongreviewing courts shall apply local law that most closely approximates 617*37934a41SHeYicongan absolute waiver of all civil liability in connection with the 618*37934a41SHeYicongProgram, unless a warranty or assumption of liability accompanies a 619*37934a41SHeYicongcopy of the Program in return for a fee. 620*37934a41SHeYicong 621*37934a41SHeYicong END OF TERMS AND CONDITIONS 622*37934a41SHeYicong 623*37934a41SHeYicong How to Apply These Terms to Your New Programs 624*37934a41SHeYicong 625*37934a41SHeYicong If you develop a new program, and you want it to be of the greatest 626*37934a41SHeYicongpossible use to the public, the best way to achieve this is to make it 627*37934a41SHeYicongfree software which everyone can redistribute and change under these terms. 628*37934a41SHeYicong 629*37934a41SHeYicong To do so, attach the following notices to the program. It is safest 630*37934a41SHeYicongto attach them to the start of each source file to most effectively 631*37934a41SHeYicongstate the exclusion of warranty; and each file should have at least 632*37934a41SHeYicongthe "copyright" line and a pointer to where the full notice is found. 633*37934a41SHeYicong 634*37934a41SHeYicong <one line to give the program's name and a brief idea of what it does.> 635*37934a41SHeYicong Copyright (C) <year> <name of author> 636*37934a41SHeYicong 637*37934a41SHeYicong This program is free software: you can redistribute it and/or modify 638*37934a41SHeYicong it under the terms of the GNU General Public License as published by 639*37934a41SHeYicong the Free Software Foundation, either version 3 of the License, or 640*37934a41SHeYicong (at your option) any later version. 641*37934a41SHeYicong 642*37934a41SHeYicong This program is distributed in the hope that it will be useful, 643*37934a41SHeYicong but WITHOUT ANY WARRANTY; without even the implied warranty of 644*37934a41SHeYicong MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645*37934a41SHeYicong GNU General Public License for more details. 646*37934a41SHeYicong 647*37934a41SHeYicong You should have received a copy of the GNU General Public License 648*37934a41SHeYicong along with this program. If not, see <https://www.gnu.org/licenses/>. 649*37934a41SHeYicong 650*37934a41SHeYicongAlso add information on how to contact you by electronic and paper mail. 651*37934a41SHeYicong 652*37934a41SHeYicong If the program does terminal interaction, make it output a short 653*37934a41SHeYicongnotice like this when it starts in an interactive mode: 654*37934a41SHeYicong 655*37934a41SHeYicong <program> Copyright (C) <year> <name of author> 656*37934a41SHeYicong This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657*37934a41SHeYicong This is free software, and you are welcome to redistribute it 658*37934a41SHeYicong under certain conditions; type `show c' for details. 659*37934a41SHeYicong 660*37934a41SHeYicongThe hypothetical commands `show w' and `show c' should show the appropriate 661*37934a41SHeYicongparts of the General Public License. Of course, your program's commands 662*37934a41SHeYicongmight be different; for a GUI interface, you would use an "about box". 663*37934a41SHeYicong 664*37934a41SHeYicong You should also get your employer (if you work as a programmer) or school, 665*37934a41SHeYicongif any, to sign a "copyright disclaimer" for the program, if necessary. 666*37934a41SHeYicongFor more information on this, and how to apply and follow the GNU GPL, see 667*37934a41SHeYicong<https://www.gnu.org/licenses/>. 668*37934a41SHeYicong 669*37934a41SHeYicong The GNU General Public License does not permit incorporating your program 670*37934a41SHeYiconginto proprietary programs. If your program is a subroutine library, you 671*37934a41SHeYicongmay consider it more useful to permit linking proprietary applications with 672*37934a41SHeYicongthe library. If this is what you want to do, use the GNU Lesser General 673*37934a41SHeYicongPublic License instead of this License. But first, please read 674*37934a41SHeYicong<https://www.gnu.org/licenses/why-not-lgpl.html>. 675