Warning, /frameworks/knewstuff/LICENSES/GPL-3.0-only.txt is written in an unsupported language. File is not indexed.

0001 GNU GENERAL PUBLIC LICENSE
0002 
0003 Version 3, 29 June 2007
0004 
0005 Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
0006 
0007 Everyone is permitted to copy and distribute verbatim copies of this license
0008 document, but changing it is not allowed.
0009 
0010 Preamble
0011 
0012 The GNU General Public License is a free, copyleft license for software and
0013 other kinds of works.
0014 
0015 The licenses for most software and other practical works are designed to take
0016 away your freedom to share and change the works. By contrast, the GNU General
0017 Public License is intended to guarantee your freedom to share and change all
0018 versions of a program--to make sure it remains free software for all its users.
0019 We, the Free Software Foundation, use the GNU General Public License for most
0020 of our software; it applies also to any other work released this way by its
0021 authors. You can apply it to your programs, too.
0022 
0023 When we speak of free software, we are referring to freedom, not price. Our
0024 General Public Licenses are designed to make sure that you have the freedom
0025 to distribute copies of free software (and charge for them if you wish), that
0026 you receive source code or can get it if you want it, that you can change
0027 the software or use pieces of it in new free programs, and that you know you
0028 can do these things.
0029 
0030 To protect your rights, we need to prevent others from denying you these rights
0031 or asking you to surrender the rights. Therefore, you have certain responsibilities
0032 if you distribute copies of the software, or if you modify it: responsibilities
0033 to respect the freedom of others.
0034 
0035 For example, if you distribute copies of such a program, whether gratis or
0036 for a fee, you must pass on to the recipients the same freedoms that you received.
0037 You must make sure that they, too, receive or can get the source code. And
0038 you must show them these terms so they know their rights.
0039 
0040 Developers that use the GNU GPL protect your rights with two steps: (1) assert
0041 copyright on the software, and (2) offer you this License giving you legal
0042 permission to copy, distribute and/or modify it.
0043 
0044 For the developers' and authors' protection, the GPL clearly explains that
0045 there is no warranty for this free software. For both users' and authors'
0046 sake, the GPL requires that modified versions be marked as changed, so that
0047 their problems will not be attributed erroneously to authors of previous versions.
0048 
0049 Some devices are designed to deny users access to install or run modified
0050 versions of the software inside them, although the manufacturer can do so.
0051 This is fundamentally incompatible with the aim of protecting users' freedom
0052 to change the software. The systematic pattern of such abuse occurs in the
0053 area of products for individuals to use, which is precisely where it is most
0054 unacceptable. Therefore, we have designed this version of the GPL to prohibit
0055 the practice for those products. If such problems arise substantially in other
0056 domains, we stand ready to extend this provision to those domains in future
0057 versions of the GPL, as needed to protect the freedom of users.
0058 
0059 Finally, every program is threatened constantly by software patents. States
0060 should not allow patents to restrict development and use of software on general-purpose
0061 computers, but in those that do, we wish to avoid the special danger that
0062 patents applied to a free program could make it effectively proprietary. To
0063 prevent this, the GPL assures that patents cannot be used to render the program
0064 non-free.
0065 
0066 The precise terms and conditions for copying, distribution and modification
0067 follow.
0068 
0069 TERMS AND CONDITIONS
0070 
0071    0. Definitions.
0072 
0073    "This License" refers to version 3 of the GNU General Public License.
0074 
0075 "Copyright" also means copyright-like laws that apply to other kinds of works,
0076 such as semiconductor masks.
0077 
0078 "The Program" refers to any copyrightable work licensed under this License.
0079 Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
0080 or organizations.
0081 
0082 To "modify" a work means to copy from or adapt all or part of the work in
0083 a fashion requiring copyright permission, other than the making of an exact
0084 copy. The resulting work is called a "modified version" of the earlier work
0085 or a work "based on" the earlier work.
0086 
0087 A "covered work" means either the unmodified Program or a work based on the
0088 Program.
0089 
0090 To "propagate" a work means to do anything with it that, without permission,
0091 would make you directly or secondarily liable for infringement under applicable
0092 copyright law, except executing it on a computer or modifying a private copy.
0093 Propagation includes copying, distribution (with or without modification),
0094 making available to the public, and in some countries other activities as
0095 well.
0096 
0097 To "convey" a work means any kind of propagation that enables other parties
0098 to make or receive copies. Mere interaction with a user through a computer
0099 network, with no transfer of a copy, is not conveying.
0100 
0101 An interactive user interface displays "Appropriate Legal Notices" to the
0102 extent that it includes a convenient and prominently visible feature that
0103 (1) displays an appropriate copyright notice, and (2) tells the user that
0104 there is no warranty for the work (except to the extent that warranties are
0105 provided), that licensees may convey the work under this License, and how
0106 to view a copy of this License. If the interface presents a list of user commands
0107 or options, such as a menu, a prominent item in the list meets this criterion.
0108 
0109    1. Source Code.
0110 
0111 The "source code" for a work means the preferred form of the work for making
0112 modifications to it. "Object code" means any non-source form of a work.
0113 
0114 A "Standard Interface" means an interface that either is an official standard
0115 defined by a recognized standards body, or, in the case of interfaces specified
0116 for a particular programming language, one that is widely used among developers
0117 working in that language.
0118 
0119 The "System Libraries" of an executable work include anything, other than
0120 the work as a whole, that (a) is included in the normal form of packaging
0121 a Major Component, but which is not part of that Major Component, and (b)
0122 serves only to enable use of the work with that Major Component, or to implement
0123 a Standard Interface for which an implementation is available to the public
0124 in source code form. A "Major Component", in this context, means a major essential
0125 component (kernel, window system, and so on) of the specific operating system
0126 (if any) on which the executable work runs, or a compiler used to produce
0127 the work, or an object code interpreter used to run it.
0128 
0129 The "Corresponding Source" for a work in object code form means all the source
0130 code needed to generate, install, and (for an executable work) run the object
0131 code and to modify the work, including scripts to control those activities.
0132 However, it does not include the work's System Libraries, or general-purpose
0133 tools or generally available free programs which are used unmodified in performing
0134 those activities but which are not part of the work. For example, Corresponding
0135 Source includes interface definition files associated with source files for
0136 the work, and the source code for shared libraries and dynamically linked
0137 subprograms that the work is specifically designed to require, such as by
0138 intimate data communication or control flow between those subprograms and
0139 other parts of the work.
0140 
0141 The Corresponding Source need not include anything that users can regenerate
0142 automatically from other parts of the Corresponding Source.
0143 
0144    The Corresponding Source for a work in source code form is that same work.
0145 
0146    2. Basic Permissions.
0147 
0148 All rights granted under this License are granted for the term of copyright
0149 on the Program, and are irrevocable provided the stated conditions are met.
0150 This License explicitly affirms your unlimited permission to run the unmodified
0151 Program. The output from running a covered work is covered by this License
0152 only if the output, given its content, constitutes a covered work. This License
0153 acknowledges your rights of fair use or other equivalent, as provided by copyright
0154 law.
0155 
0156 You may make, run and propagate covered works that you do not convey, without
0157 conditions so long as your license otherwise remains in force. You may convey
0158 covered works to others for the sole purpose of having them make modifications
0159 exclusively for you, or provide you with facilities for running those works,
0160 provided that you comply with the terms of this License in conveying all material
0161 for which you do not control copyright. Those thus making or running the covered
0162 works for you must do so exclusively on your behalf, under your direction
0163 and control, on terms that prohibit them from making any copies of your copyrighted
0164 material outside their relationship with you.
0165 
0166 Conveying under any other circumstances is permitted solely under the conditions
0167 stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
0168 
0169    3. Protecting Users' Legal Rights From Anti-Circumvention Law.
0170 
0171 No covered work shall be deemed part of an effective technological measure
0172 under any applicable law fulfilling obligations under article 11 of the WIPO
0173 copyright treaty adopted on 20 December 1996, or similar laws prohibiting
0174 or restricting circumvention of such measures.
0175 
0176 When you convey a covered work, you waive any legal power to forbid circumvention
0177 of technological measures to the extent such circumvention is effected by
0178 exercising rights under this License with respect to the covered work, and
0179 you disclaim any intention to limit operation or modification of the work
0180 as a means of enforcing, against the work's users, your or third parties'
0181 legal rights to forbid circumvention of technological measures.
0182 
0183    4. Conveying Verbatim Copies.
0184 
0185 You may convey verbatim copies of the Program's source code as you receive
0186 it, in any medium, provided that you conspicuously and appropriately publish
0187 on each copy an appropriate copyright notice; keep intact all notices stating
0188 that this License and any non-permissive terms added in accord with section
0189 7 apply to the code; keep intact all notices of the absence of any warranty;
0190 and give all recipients a copy of this License along with the Program.
0191 
0192 You may charge any price or no price for each copy that you convey, and you
0193 may offer support or warranty protection for a fee.
0194 
0195    5. Conveying Modified Source Versions.
0196 
0197 You may convey a work based on the Program, or the modifications to produce
0198 it from the Program, in the form of source code under the terms of section
0199 4, provided that you also meet all of these conditions:
0200 
0201 a) The work must carry prominent notices stating that you modified it, and
0202 giving a relevant date.
0203 
0204 b) The work must carry prominent notices stating that it is released under
0205 this License and any conditions added under section 7. This requirement modifies
0206 the requirement in section 4 to "keep intact all notices".
0207 
0208 c) You must license the entire work, as a whole, under this License to anyone
0209 who comes into possession of a copy. This License will therefore apply, along
0210 with any applicable section 7 additional terms, to the whole of the work,
0211 and all its parts, regardless of how they are packaged. This License gives
0212 no permission to license the work in any other way, but it does not invalidate
0213 such permission if you have separately received it.
0214 
0215 d) If the work has interactive user interfaces, each must display Appropriate
0216 Legal Notices; however, if the Program has interactive interfaces that do
0217 not display Appropriate Legal Notices, your work need not make them do so.
0218 
0219 A compilation of a covered work with other separate and independent works,
0220 which are not by their nature extensions of the covered work, and which are
0221 not combined with it such as to form a larger program, in or on a volume of
0222 a storage or distribution medium, is called an "aggregate" if the compilation
0223 and its resulting copyright are not used to limit the access or legal rights
0224 of the compilation's users beyond what the individual works permit. Inclusion
0225 of a covered work in an aggregate does not cause this License to apply to
0226 the other parts of the aggregate.
0227 
0228    6. Conveying Non-Source Forms.
0229 
0230 You may convey a covered work in object code form under the terms of sections
0231 4 and 5, provided that you also convey the machine-readable Corresponding
0232 Source under the terms of this License, in one of these ways:
0233 
0234 a) Convey the object code in, or embodied in, a physical product (including
0235 a physical distribution medium), accompanied by the Corresponding Source fixed
0236 on a durable physical medium customarily used for software interchange.
0237 
0238 b) Convey the object code in, or embodied in, a physical product (including
0239 a physical distribution medium), accompanied by a written offer, valid for
0240 at least three years and valid for as long as you offer spare parts or customer
0241 support for that product model, to give anyone who possesses the object code
0242 either (1) a copy of the Corresponding Source for all the software in the
0243 product that is covered by this License, on a durable physical medium customarily
0244 used for software interchange, for a price no more than your reasonable cost
0245 of physically performing this conveying of source, or (2) access to copy the
0246 Corresponding Source from a network server at no charge.
0247 
0248 c) Convey individual copies of the object code with a copy of the written
0249 offer to provide the Corresponding Source. This alternative is allowed only
0250 occasionally and noncommercially, and only if you received the object code
0251 with such an offer, in accord with subsection 6b.
0252 
0253 d) Convey the object code by offering access from a designated place (gratis
0254 or for a charge), and offer equivalent access to the Corresponding Source
0255 in the same way through the same place at no further charge. You need not
0256 require recipients to copy the Corresponding Source along with the object
0257 code. If the place to copy the object code is a network server, the Corresponding
0258 Source may be on a different server (operated by you or a third party) that
0259 supports equivalent copying facilities, provided you maintain clear directions
0260 next to the object code saying where to find the Corresponding Source. Regardless
0261 of what server hosts the Corresponding Source, you remain obligated to ensure
0262 that it is available for as long as needed to satisfy these requirements.
0263 
0264 e) Convey the object code using peer-to-peer transmission, provided you inform
0265 other peers where the object code and Corresponding Source of the work are
0266 being offered to the general public at no charge under subsection 6d.
0267 
0268 A separable portion of the object code, whose source code is excluded from
0269 the Corresponding Source as a System Library, need not be included in conveying
0270 the object code work.
0271 
0272 A "User Product" is either (1) a "consumer product", which means any tangible
0273 personal property which is normally used for personal, family, or household
0274 purposes, or (2) anything designed or sold for incorporation into a dwelling.
0275 In determining whether a product is a consumer product, doubtful cases shall
0276 be resolved in favor of coverage. For a particular product received by a particular
0277 user, "normally used" refers to a typical or common use of that class of product,
0278 regardless of the status of the particular user or of the way in which the
0279 particular user actually uses, or expects or is expected to use, the product.
0280 A product is a consumer product regardless of whether the product has substantial
0281 commercial, industrial or non-consumer uses, unless such uses represent the
0282 only significant mode of use of the product.
0283 
0284 "Installation Information" for a User Product means any methods, procedures,
0285 authorization keys, or other information required to install and execute modified
0286 versions of a covered work in that User Product from a modified version of
0287 its Corresponding Source. The information must suffice to ensure that the
0288 continued functioning of the modified object code is in no case prevented
0289 or interfered with solely because modification has been made.
0290 
0291 If you convey an object code work under this section in, or with, or specifically
0292 for use in, a User Product, and the conveying occurs as part of a transaction
0293 in which the right of possession and use of the User Product is transferred
0294 to the recipient in perpetuity or for a fixed term (regardless of how the
0295 transaction is characterized), the Corresponding Source conveyed under this
0296 section must be accompanied by the Installation Information. But this requirement
0297 does not apply if neither you nor any third party retains the ability to install
0298 modified object code on the User Product (for example, the work has been installed
0299 in ROM).
0300 
0301 The requirement to provide Installation Information does not include a requirement
0302 to continue to provide support service, warranty, or updates for a work that
0303 has been modified or installed by the recipient, or for the User Product in
0304 which it has been modified or installed. Access to a network may be denied
0305 when the modification itself materially and adversely affects the operation
0306 of the network or violates the rules and protocols for communication across
0307 the network.
0308 
0309 Corresponding Source conveyed, and Installation Information provided, in accord
0310 with this section must be in a format that is publicly documented (and with
0311 an implementation available to the public in source code form), and must require
0312 no special password or key for unpacking, reading or copying.
0313 
0314    7. Additional Terms.
0315 
0316 "Additional permissions" are terms that supplement the terms of this License
0317 by making exceptions from one or more of its conditions. Additional permissions
0318 that are applicable to the entire Program shall be treated as though they
0319 were included in this License, to the extent that they are valid under applicable
0320 law. If additional permissions apply only to part of the Program, that part
0321 may be used separately under those permissions, but the entire Program remains
0322 governed by this License without regard to the additional permissions.
0323 
0324 When you convey a copy of a covered work, you may at your option remove any
0325 additional permissions from that copy, or from any part of it. (Additional
0326 permissions may be written to require their own removal in certain cases when
0327 you modify the work.) You may place additional permissions on material, added
0328 by you to a covered work, for which you have or can give appropriate copyright
0329 permission.
0330 
0331 Notwithstanding any other provision of this License, for material you add
0332 to a covered work, you may (if authorized by the copyright holders of that
0333 material) supplement the terms of this License with terms:
0334 
0335 a) Disclaiming warranty or limiting liability differently from the terms of
0336 sections 15 and 16 of this License; or
0337 
0338 b) Requiring preservation of specified reasonable legal notices or author
0339 attributions in that material or in the Appropriate Legal Notices displayed
0340 by works containing it; or
0341 
0342 c) Prohibiting misrepresentation of the origin of that material, or requiring
0343 that modified versions of such material be marked in reasonable ways as different
0344 from the original version; or
0345 
0346 d) Limiting the use for publicity purposes of names of licensors or authors
0347 of the material; or
0348 
0349 e) Declining to grant rights under trademark law for use of some trade names,
0350 trademarks, or service marks; or
0351 
0352 f) Requiring indemnification of licensors and authors of that material by
0353 anyone who conveys the material (or modified versions of it) with contractual
0354 assumptions of liability to the recipient, for any liability that these contractual
0355 assumptions directly impose on those licensors and authors.
0356 
0357 All other non-permissive additional terms are considered "further restrictions"
0358 within the meaning of section 10. If the Program as you received it, or any
0359 part of it, contains a notice stating that it is governed by this License
0360 along with a term that is a further restriction, you may remove that term.
0361 If a license document contains a further restriction but permits relicensing
0362 or conveying under this License, you may add to a covered work material governed
0363 by the terms of that license document, provided that the further restriction
0364 does not survive such relicensing or conveying.
0365 
0366 If you add terms to a covered work in accord with this section, you must place,
0367 in the relevant source files, a statement of the additional terms that apply
0368 to those files, or a notice indicating where to find the applicable terms.
0369 
0370 Additional terms, permissive or non-permissive, may be stated in the form
0371 of a separately written license, or stated as exceptions; the above requirements
0372 apply either way.
0373 
0374    8. Termination.
0375 
0376 You may not propagate or modify a covered work except as expressly provided
0377 under this License. Any attempt otherwise to propagate or modify it is void,
0378 and will automatically terminate your rights under this License (including
0379 any patent licenses granted under the third paragraph of section 11).
0380 
0381 However, if you cease all violation of this License, then your license from
0382 a particular copyright holder is reinstated (a) provisionally, unless and
0383 until the copyright holder explicitly and finally terminates your license,
0384 and (b) permanently, if the copyright holder fails to notify you of the violation
0385 by some reasonable means prior to 60 days after the cessation.
0386 
0387 Moreover, your license from a particular copyright holder is reinstated permanently
0388 if the copyright holder notifies you of the violation by some reasonable means,
0389 this is the first time you have received notice of violation of this License
0390 (for any work) from that copyright holder, and you cure the violation prior
0391 to 30 days after your receipt of the notice.
0392 
0393 Termination of your rights under this section does not terminate the licenses
0394 of parties who have received copies or rights from you under this License.
0395 If your rights have been terminated and not permanently reinstated, you do
0396 not qualify to receive new licenses for the same material under section 10.
0397 
0398    9. Acceptance Not Required for Having Copies.
0399 
0400 You are not required to accept this License in order to receive or run a copy
0401 of the Program. Ancillary propagation of a covered work occurring solely as
0402 a consequence of using peer-to-peer transmission to receive a copy likewise
0403 does not require acceptance. However, nothing other than this License grants
0404 you permission to propagate or modify any covered work. These actions infringe
0405 copyright if you do not accept this License. Therefore, by modifying or propagating
0406 a covered work, you indicate your acceptance of this License to do so.
0407 
0408    10. Automatic Licensing of Downstream Recipients.
0409 
0410 Each time you convey a covered work, the recipient automatically receives
0411 a license from the original licensors, to run, modify and propagate that work,
0412 subject to this License. You are not responsible for enforcing compliance
0413 by third parties with this License.
0414 
0415 An "entity transaction" is a transaction transferring control of an organization,
0416 or substantially all assets of one, or subdividing an organization, or merging
0417 organizations. If propagation of a covered work results from an entity transaction,
0418 each party to that transaction who receives a copy of the work also receives
0419 whatever licenses to the work the party's predecessor in interest had or could
0420 give under the previous paragraph, plus a right to possession of the Corresponding
0421 Source of the work from the predecessor in interest, if the predecessor has
0422 it or can get it with reasonable efforts.
0423 
0424 You may not impose any further restrictions on the exercise of the rights
0425 granted or affirmed under this License. For example, you may not impose a
0426 license fee, royalty, or other charge for exercise of rights granted under
0427 this License, and you may not initiate litigation (including a cross-claim
0428 or counterclaim in a lawsuit) alleging that any patent claim is infringed
0429 by making, using, selling, offering for sale, or importing the Program or
0430 any portion of it.
0431 
0432    11. Patents.
0433 
0434 A "contributor" is a copyright holder who authorizes use under this License
0435 of the Program or a work on which the Program is based. The work thus licensed
0436 is called the contributor's "contributor version".
0437 
0438 A contributor's "essential patent claims" are all patent claims owned or controlled
0439 by the contributor, whether already acquired or hereafter acquired, that would
0440 be infringed by some manner, permitted by this License, of making, using,
0441 or selling its contributor version, but do not include claims that would be
0442 infringed only as a consequence of further modification of the contributor
0443 version. For purposes of this definition, "control" includes the right to
0444 grant patent sublicenses in a manner consistent with the requirements of this
0445 License.
0446 
0447 Each contributor grants you a non-exclusive, worldwide, royalty-free patent
0448 license under the contributor's essential patent claims, to make, use, sell,
0449 offer for sale, import and otherwise run, modify and propagate the contents
0450 of its contributor version.
0451 
0452 In the following three paragraphs, a "patent license" is any express agreement
0453 or commitment, however denominated, not to enforce a patent (such as an express
0454 permission to practice a patent or covenant not to sue for patent infringement).
0455 To "grant" such a patent license to a party means to make such an agreement
0456 or commitment not to enforce a patent against the party.
0457 
0458 If you convey a covered work, knowingly relying on a patent license, and the
0459 Corresponding Source of the work is not available for anyone to copy, free
0460 of charge and under the terms of this License, through a publicly available
0461 network server or other readily accessible means, then you must either (1)
0462 cause the Corresponding Source to be so available, or (2) arrange to deprive
0463 yourself of the benefit of the patent license for this particular work, or
0464 (3) arrange, in a manner consistent with the requirements of this License,
0465 to extend the patent license to downstream recipients. "Knowingly relying"
0466 means you have actual knowledge that, but for the patent license, your conveying
0467 the covered work in a country, or your recipient's use of the covered work
0468 in a country, would infringe one or more identifiable patents in that country
0469 that you have reason to believe are valid.
0470 
0471 If, pursuant to or in connection with a single transaction or arrangement,
0472 you convey, or propagate by procuring conveyance of, a covered work, and grant
0473 a patent license to some of the parties receiving the covered work authorizing
0474 them to use, propagate, modify or convey a specific copy of the covered work,
0475 then the patent license you grant is automatically extended to all recipients
0476 of the covered work and works based on it.
0477 
0478 A patent license is "discriminatory" if it does not include within the scope
0479 of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
0480 of one or more of the rights that are specifically granted under this License.
0481 You may not convey a covered work if you are a party to an arrangement with
0482 a third party that is in the business of distributing software, under which
0483 you make payment to the third party based on the extent of your activity of
0484 conveying the work, and under which the third party grants, to any of the
0485 parties who would receive the covered work from you, a discriminatory patent
0486 license (a) in connection with copies of the covered work conveyed by you
0487 (or copies made from those copies), or (b) primarily for and in connection
0488 with specific products or compilations that contain the covered work, unless
0489 you entered into that arrangement, or that patent license was granted, prior
0490 to 28 March 2007.
0491 
0492 Nothing in this License shall be construed as excluding or limiting any implied
0493 license or other defenses to infringement that may otherwise be available
0494 to you under applicable patent law.
0495 
0496    12. No Surrender of Others' Freedom.
0497 
0498 If conditions are imposed on you (whether by court order, agreement or otherwise)
0499 that contradict the conditions of this License, they do not excuse you from
0500 the conditions of this License. If you cannot convey a covered work so as
0501 to satisfy simultaneously your obligations under this License and any other
0502 pertinent obligations, then as a consequence you may not convey it at all.
0503 For example, if you agree to terms that obligate you to collect a royalty
0504 for further conveying from those to whom you convey the Program, the only
0505 way you could satisfy both those terms and this License would be to refrain
0506 entirely from conveying the Program.
0507 
0508    13. Use with the GNU Affero General Public License.
0509 
0510 Notwithstanding any other provision of this License, you have permission to
0511 link or combine any covered work with a work licensed under version 3 of the
0512 GNU Affero General Public License into a single combined work, and to convey
0513 the resulting work. The terms of this License will continue to apply to the
0514 part which is the covered work, but the special requirements of the GNU Affero
0515 General Public License, section 13, concerning interaction through a network
0516 will apply to the combination as such.
0517 
0518    14. Revised Versions of this License.
0519 
0520 The Free Software Foundation may publish revised and/or new versions of the
0521 GNU General Public License from time to time. Such new versions will be similar
0522 in spirit to the present version, but may differ in detail to address new
0523 problems or concerns.
0524 
0525 Each version is given a distinguishing version number. If the Program specifies
0526 that a certain numbered version of the GNU General Public License "or any
0527 later version" applies to it, you have the option of following the terms and
0528 conditions either of that numbered version or of any later version published
0529 by the Free Software Foundation. If the Program does not specify a version
0530 number of the GNU General Public License, you may choose any version ever
0531 published by the Free Software Foundation.
0532 
0533 If the Program specifies that a proxy can decide which future versions of
0534 the GNU General Public License can be used, that proxy's public statement
0535 of acceptance of a version permanently authorizes you to choose that version
0536 for the Program.
0537 
0538 Later license versions may give you additional or different permissions. However,
0539 no additional obligations are imposed on any author or copyright holder as
0540 a result of your choosing to follow a later version.
0541 
0542    15. Disclaimer of Warranty.
0543 
0544 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
0545 LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
0546 OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
0547 EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
0548 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
0549 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
0550 PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
0551 CORRECTION.
0552 
0553    16. Limitation of Liability.
0554 
0555 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
0556 ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
0557 AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
0558 INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
0559 USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
0560 INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
0561 PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
0562 PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
0563 
0564    17. Interpretation of Sections 15 and 16.
0565 
0566 If the disclaimer of warranty and limitation of liability provided above cannot
0567 be given local legal effect according to their terms, reviewing courts shall
0568 apply local law that most closely approximates an absolute waiver of all civil
0569 liability in connection with the Program, unless a warranty or assumption
0570 of liability accompanies a copy of the Program in return for a fee. END OF
0571 TERMS AND CONDITIONS
0572 
0573 How to Apply These Terms to Your New Programs
0574 
0575 If you develop a new program, and you want it to be of the greatest possible
0576 use to the public, the best way to achieve this is to make it free software
0577 which everyone can redistribute and change under these terms.
0578 
0579 To do so, attach the following notices to the program. It is safest to attach
0580 them to the start of each source file to most effectively state the exclusion
0581 of warranty; and each file should have at least the "copyright" line and a
0582 pointer to where the full notice is found.
0583 
0584 <one line to give the program's name and a brief idea of what it does.>
0585 
0586 Copyright (C) <year> <name of author>
0587 
0588 This program is free software: you can redistribute it and/or modify it under
0589 the terms of the GNU General Public License as published by the Free Software
0590 Foundation, either version 3 of the License, or (at your option) any later
0591 version.
0592 
0593 This program is distributed in the hope that it will be useful, but WITHOUT
0594 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
0595 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
0596 
0597 You should have received a copy of the GNU General Public License along with
0598 this program. If not, see <https://www.gnu.org/licenses/>.
0599 
0600 Also add information on how to contact you by electronic and paper mail.
0601 
0602 If the program does terminal interaction, make it output a short notice like
0603 this when it starts in an interactive mode:
0604 
0605 <program> Copyright (C) <year> <name of author>
0606 
0607 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
0608 
0609 This is free software, and you are welcome to redistribute it under certain
0610 conditions; type `show c' for details.
0611 
0612 The hypothetical commands `show w' and `show c' should show the appropriate
0613 parts of the General Public License. Of course, your program's commands might
0614 be different; for a GUI interface, you would use an "about box".
0615 
0616 You should also get your employer (if you work as a programmer) or school,
0617 if any, to sign a "copyright disclaimer" for the program, if necessary. For
0618 more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
0619 
0620 The GNU General Public License does not permit incorporating your program
0621 into proprietary programs. If your program is a subroutine library, you may
0622 consider it more useful to permit linking proprietary applications with the
0623 library. If this is what you want to do, use the GNU Lesser General Public
0624 License instead of this License. But first, please read <https://www.gnu.org/
0625 licenses /why-not-lgpl.html>.