Vinay Vishal | 5717147 | 2018-09-18 20:22:00 +0530 | [diff] [blame] | 1 | # Eclipse Public License - v 2.0 |
| 2 | |
| 3 | THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE |
| 4 | PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION |
| 5 | OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. |
| 6 | |
| 7 | 1. DEFINITIONS |
| 8 | |
| 9 | "Contribution" means: |
| 10 | |
| 11 | a) in the case of the initial Contributor, the initial content |
| 12 | Distributed under this Agreement, and |
| 13 | |
| 14 | b) in the case of each subsequent Contributor: |
| 15 | i) changes to the Program, and |
| 16 | ii) additions to the Program; |
| 17 | where such changes and/or additions to the Program originate from |
| 18 | and are Distributed by that particular Contributor. A Contribution |
| 19 | "originates" from a Contributor if it was added to the Program by |
| 20 | such Contributor itself or anyone acting on such Contributor's behalf. |
| 21 | Contributions do not include changes or additions to the Program that |
| 22 | are not Modified Works. |
| 23 | |
| 24 | "Contributor" means any person or entity that Distributes the Program. |
| 25 | |
| 26 | "Licensed Patents" mean patent claims licensable by a Contributor which |
| 27 | are necessarily infringed by the use or sale of its Contribution alone |
| 28 | or when combined with the Program. |
| 29 | |
| 30 | "Program" means the Contributions Distributed in accordance with this |
| 31 | Agreement. |
| 32 | |
| 33 | "Recipient" means anyone who receives the Program under this Agreement |
| 34 | or any Secondary License (as applicable), including Contributors. |
| 35 | |
| 36 | "Derivative Works" shall mean any work, whether in Source Code or other |
| 37 | form, that is based on (or derived from) the Program and for which the |
| 38 | editorial revisions, annotations, elaborations, or other modifications |
| 39 | represent, as a whole, an original work of authorship. |
| 40 | |
| 41 | "Modified Works" shall mean any work in Source Code or other form that |
| 42 | results from an addition to, deletion from, or modification of the |
| 43 | contents of the Program, including, for purposes of clarity any new file |
| 44 | in Source Code form that contains any contents of the Program. Modified |
| 45 | Works shall not include works that contain only declarations, |
| 46 | interfaces, types, classes, structures, or files of the Program solely |
| 47 | in each case in order to link to, bind by name, or subclass the Program |
| 48 | or Modified Works thereof. |
| 49 | |
| 50 | "Distribute" means the acts of a) distributing or b) making available |
| 51 | in any manner that enables the transfer of a copy. |
| 52 | |
| 53 | "Source Code" means the form of a Program preferred for making |
| 54 | modifications, including but not limited to software source code, |
| 55 | documentation source, and configuration files. |
| 56 | |
| 57 | "Secondary License" means either the GNU General Public License, |
| 58 | Version 2.0, or any later versions of that license, including any |
| 59 | exceptions or additional permissions as identified by the initial |
| 60 | Contributor. |
| 61 | |
| 62 | 2. GRANT OF RIGHTS |
| 63 | |
| 64 | a) Subject to the terms of this Agreement, each Contributor hereby |
| 65 | grants Recipient a non-exclusive, worldwide, royalty-free copyright |
| 66 | license to reproduce, prepare Derivative Works of, publicly display, |
| 67 | publicly perform, Distribute and sublicense the Contribution of such |
| 68 | Contributor, if any, and such Derivative Works. |
| 69 | |
| 70 | b) Subject to the terms of this Agreement, each Contributor hereby |
| 71 | grants Recipient a non-exclusive, worldwide, royalty-free patent |
| 72 | license under Licensed Patents to make, use, sell, offer to sell, |
| 73 | import and otherwise transfer the Contribution of such Contributor, |
| 74 | if any, in Source Code or other form. This patent license shall |
| 75 | apply to the combination of the Contribution and the Program if, at |
| 76 | the time the Contribution is added by the Contributor, such addition |
| 77 | of the Contribution causes such combination to be covered by the |
| 78 | Licensed Patents. The patent license shall not apply to any other |
| 79 | combinations which include the Contribution. No hardware per se is |
| 80 | licensed hereunder. |
| 81 | |
| 82 | c) Recipient understands that although each Contributor grants the |
| 83 | licenses to its Contributions set forth herein, no assurances are |
| 84 | provided by any Contributor that the Program does not infringe the |
| 85 | patent or other intellectual property rights of any other entity. |
| 86 | Each Contributor disclaims any liability to Recipient for claims |
| 87 | brought by any other entity based on infringement of intellectual |
| 88 | property rights or otherwise. As a condition to exercising the |
| 89 | rights and licenses granted hereunder, each Recipient hereby |
| 90 | assumes sole responsibility to secure any other intellectual |
| 91 | property rights needed, if any. For example, if a third party |
| 92 | patent license is required to allow Recipient to Distribute the |
| 93 | Program, it is Recipient's responsibility to acquire that license |
| 94 | before distributing the Program. |
| 95 | |
| 96 | d) Each Contributor represents that to its knowledge it has |
| 97 | sufficient copyright rights in its Contribution, if any, to grant |
| 98 | the copyright license set forth in this Agreement. |
| 99 | |
| 100 | e) Notwithstanding the terms of any Secondary License, no |
| 101 | Contributor makes additional grants to any Recipient (other than |
| 102 | those set forth in this Agreement) as a result of such Recipient's |
| 103 | receipt of the Program under the terms of a Secondary License |
| 104 | (if permitted under the terms of Section 3). |
| 105 | |
| 106 | 3. REQUIREMENTS |
| 107 | |
| 108 | 3.1 If a Contributor Distributes the Program in any form, then: |
| 109 | |
| 110 | a) the Program must also be made available as Source Code, in |
| 111 | accordance with section 3.2, and the Contributor must accompany |
| 112 | the Program with a statement that the Source Code for the Program |
| 113 | is available under this Agreement, and informs Recipients how to |
| 114 | obtain it in a reasonable manner on or through a medium customarily |
| 115 | used for software exchange; and |
| 116 | |
| 117 | b) the Contributor may Distribute the Program under a license |
| 118 | different than this Agreement, provided that such license: |
| 119 | i) effectively disclaims on behalf of all other Contributors all |
| 120 | warranties and conditions, express and implied, including |
| 121 | warranties or conditions of title and non-infringement, and |
| 122 | implied warranties or conditions of merchantability and fitness |
| 123 | for a particular purpose; |
| 124 | |
| 125 | ii) effectively excludes on behalf of all other Contributors all |
| 126 | liability for damages, including direct, indirect, special, |
| 127 | incidental and consequential damages, such as lost profits; |
| 128 | |
| 129 | iii) does not attempt to limit or alter the recipients' rights |
| 130 | in the Source Code under section 3.2; and |
| 131 | |
| 132 | iv) requires any subsequent distribution of the Program by any |
| 133 | party to be under a license that satisfies the requirements |
| 134 | of this section 3. |
| 135 | |
| 136 | 3.2 When the Program is Distributed as Source Code: |
| 137 | |
| 138 | a) it must be made available under this Agreement, or if the |
| 139 | Program (i) is combined with other material in a separate file or |
| 140 | files made available under a Secondary License, and (ii) the initial |
| 141 | Contributor attached to the Source Code the notice described in |
| 142 | Exhibit A of this Agreement, then the Program may be made available |
| 143 | under the terms of such Secondary Licenses, and |
| 144 | |
| 145 | b) a copy of this Agreement must be included with each copy of |
| 146 | the Program. |
| 147 | |
| 148 | 3.3 Contributors may not remove or alter any copyright, patent, |
| 149 | trademark, attribution notices, disclaimers of warranty, or limitations |
| 150 | of liability ("notices") contained within the Program from any copy of |
| 151 | the Program which they Distribute, provided that Contributors may add |
| 152 | their own appropriate notices. |
| 153 | |
| 154 | 4. COMMERCIAL DISTRIBUTION |
| 155 | |
| 156 | Commercial distributors of software may accept certain responsibilities |
| 157 | with respect to end users, business partners and the like. While this |
| 158 | license is intended to facilitate the commercial use of the Program, |
| 159 | the Contributor who includes the Program in a commercial product |
| 160 | offering should do so in a manner which does not create potential |
| 161 | liability for other Contributors. Therefore, if a Contributor includes |
| 162 | the Program in a commercial product offering, such Contributor |
| 163 | ("Commercial Contributor") hereby agrees to defend and indemnify every |
| 164 | other Contributor ("Indemnified Contributor") against any losses, |
| 165 | damages and costs (collectively "Losses") arising from claims, lawsuits |
| 166 | and other legal actions brought by a third party against the Indemnified |
| 167 | Contributor to the extent caused by the acts or omissions of such |
| 168 | Commercial Contributor in connection with its distribution of the Program |
| 169 | in a commercial product offering. The obligations in this section do not |
| 170 | apply to any claims or Losses relating to any actual or alleged |
| 171 | intellectual property infringement. In order to qualify, an Indemnified |
| 172 | Contributor must: a) promptly notify the Commercial Contributor in |
| 173 | writing of such claim, and b) allow the Commercial Contributor to control, |
| 174 | and cooperate with the Commercial Contributor in, the defense and any |
| 175 | related settlement negotiations. The Indemnified Contributor may |
| 176 | participate in any such claim at its own expense. |
| 177 | |
| 178 | For example, a Contributor might include the Program in a commercial |
| 179 | product offering, Product X. That Contributor is then a Commercial |
| 180 | Contributor. If that Commercial Contributor then makes performance |
| 181 | claims, or offers warranties related to Product X, those performance |
| 182 | claims and warranties are such Commercial Contributor's responsibility |
| 183 | alone. Under this section, the Commercial Contributor would have to |
| 184 | defend claims against the other Contributors related to those performance |
| 185 | claims and warranties, and if a court requires any other Contributor to |
| 186 | pay any damages as a result, the Commercial Contributor must pay |
| 187 | those damages. |
| 188 | |
| 189 | 5. NO WARRANTY |
| 190 | |
| 191 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT |
| 192 | PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS" |
| 193 | BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR |
| 194 | IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF |
| 195 | TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR |
| 196 | PURPOSE. Each Recipient is solely responsible for determining the |
| 197 | appropriateness of using and distributing the Program and assumes all |
| 198 | risks associated with its exercise of rights under this Agreement, |
| 199 | including but not limited to the risks and costs of program errors, |
| 200 | compliance with applicable laws, damage to or loss of data, programs |
| 201 | or equipment, and unavailability or interruption of operations. |
| 202 | |
| 203 | 6. DISCLAIMER OF LIABILITY |
| 204 | |
| 205 | EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT |
| 206 | PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS |
| 207 | SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 208 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST |
| 209 | PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 210 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 211 | ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE |
| 212 | EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE |
| 213 | POSSIBILITY OF SUCH DAMAGES. |
| 214 | |
| 215 | 7. GENERAL |
| 216 | |
| 217 | If any provision of this Agreement is invalid or unenforceable under |
| 218 | applicable law, it shall not affect the validity or enforceability of |
| 219 | the remainder of the terms of this Agreement, and without further |
| 220 | action by the parties hereto, such provision shall be reformed to the |
| 221 | minimum extent necessary to make such provision valid and enforceable. |
| 222 | |
| 223 | If Recipient institutes patent litigation against any entity |
| 224 | (including a cross-claim or counterclaim in a lawsuit) alleging that the |
| 225 | Program itself (excluding combinations of the Program with other software |
| 226 | or hardware) infringes such Recipient's patent(s), then such Recipient's |
| 227 | rights granted under Section 2(b) shall terminate as of the date such |
| 228 | litigation is filed. |
| 229 | |
| 230 | All Recipient's rights under this Agreement shall terminate if it |
| 231 | fails to comply with any of the material terms or conditions of this |
| 232 | Agreement and does not cure such failure in a reasonable period of |
| 233 | time after becoming aware of such noncompliance. If all Recipient's |
| 234 | rights under this Agreement terminate, Recipient agrees to cease use |
| 235 | and distribution of the Program as soon as reasonably practicable. |
| 236 | However, Recipient's obligations under this Agreement and any licenses |
| 237 | granted by Recipient relating to the Program shall continue and survive. |
| 238 | |
| 239 | Everyone is permitted to copy and distribute copies of this Agreement, |
| 240 | but in order to avoid inconsistency the Agreement is copyrighted and |
| 241 | may only be modified in the following manner. The Agreement Steward |
| 242 | reserves the right to publish new versions (including revisions) of |
| 243 | this Agreement from time to time. No one other than the Agreement |
| 244 | Steward has the right to modify this Agreement. The Eclipse Foundation |
| 245 | is the initial Agreement Steward. The Eclipse Foundation may assign the |
| 246 | responsibility to serve as the Agreement Steward to a suitable separate |
| 247 | entity. Each new version of the Agreement will be given a distinguishing |
| 248 | version number. The Program (including Contributions) may always be |
| 249 | Distributed subject to the version of the Agreement under which it was |
| 250 | received. In addition, after a new version of the Agreement is published, |
| 251 | Contributor may elect to Distribute the Program (including its |
| 252 | Contributions) under the new version. |
| 253 | |
| 254 | Except as expressly stated in Sections 2(a) and 2(b) above, Recipient |
| 255 | receives no rights or licenses to the intellectual property of any |
| 256 | Contributor under this Agreement, whether expressly, by implication, |
| 257 | estoppel or otherwise. All rights in the Program not expressly granted |
| 258 | under this Agreement are reserved. Nothing in this Agreement is intended |
| 259 | to be enforceable by any entity that is not a Contributor or Recipient. |
| 260 | No third-party beneficiary rights are created under this Agreement. |
| 261 | |
| 262 | Exhibit A - Form of Secondary Licenses Notice |
| 263 | |
| 264 | "This Source Code may also be made available under the following |
| 265 | Secondary Licenses when the conditions for such availability set forth |
| 266 | in the Eclipse Public License, v. 2.0 are satisfied: {name license(s), |
| 267 | version(s), and exceptions or additional permissions here}." |
| 268 | |
| 269 | Simply including a copy of this Agreement, including this Exhibit A |
| 270 | is not sufficient to license the Source Code under Secondary Licenses. |
| 271 | |
| 272 | If it is not possible or desirable to put the notice in a particular |
| 273 | file, then You may include the notice in a location (such as a LICENSE |
| 274 | file in a relevant directory) where a recipient would be likely to |
| 275 | look for such a notice. |
| 276 | |
| 277 | You may add additional accurate notices of copyright ownership. |
| 278 | |
| 279 | --- |
| 280 | |
| 281 | ## The GNU General Public License (GPL) Version 2, June 1991 |
| 282 | |
| 283 | Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
| 284 | 51 Franklin Street, Fifth Floor |
| 285 | Boston, MA 02110-1335 |
| 286 | USA |
| 287 | |
| 288 | Everyone is permitted to copy and distribute verbatim copies |
| 289 | of this license document, but changing it is not allowed. |
| 290 | |
| 291 | Preamble |
| 292 | |
| 293 | The licenses for most software are designed to take away your freedom to |
| 294 | share and change it. By contrast, the GNU General Public License is |
| 295 | intended to guarantee your freedom to share and change free software--to |
| 296 | make sure the software is free for all its users. This General Public |
| 297 | License applies to most of the Free Software Foundation's software and |
| 298 | to any other program whose authors commit to using it. (Some other Free |
| 299 | Software Foundation software is covered by the GNU Library General |
| 300 | Public License instead.) You can apply it to your programs, too. |
| 301 | |
| 302 | When we speak of free software, we are referring to freedom, not price. |
| 303 | Our General Public Licenses are designed to make sure that you have the |
| 304 | freedom to distribute copies of free software (and charge for this |
| 305 | service if you wish), that you receive source code or can get it if you |
| 306 | want it, that you can change the software or use pieces of it in new |
| 307 | free programs; and that you know you can do these things. |
| 308 | |
| 309 | To protect your rights, we need to make restrictions that forbid anyone |
| 310 | to deny you these rights or to ask you to surrender the rights. These |
| 311 | restrictions translate to certain responsibilities for you if you |
| 312 | distribute copies of the software, or if you modify it. |
| 313 | |
| 314 | For example, if you distribute copies of such a program, whether gratis |
| 315 | or for a fee, you must give the recipients all the rights that you have. |
| 316 | You must make sure that they, too, receive or can get the source code. |
| 317 | And you must show them these terms so they know their rights. |
| 318 | |
| 319 | We protect your rights with two steps: (1) copyright the software, and |
| 320 | (2) offer you this license which gives you legal permission to copy, |
| 321 | distribute and/or modify the software. |
| 322 | |
| 323 | Also, for each author's protection and ours, we want to make certain |
| 324 | that everyone understands that there is no warranty for this free |
| 325 | software. If the software is modified by someone else and passed on, we |
| 326 | want its recipients to know that what they have is not the original, so |
| 327 | that any problems introduced by others will not reflect on the original |
| 328 | authors' reputations. |
| 329 | |
| 330 | Finally, any free program is threatened constantly by software patents. |
| 331 | We wish to avoid the danger that redistributors of a free program will |
| 332 | individually obtain patent licenses, in effect making the program |
| 333 | proprietary. To prevent this, we have made it clear that any patent must |
| 334 | be licensed for everyone's free use or not licensed at all. |
| 335 | |
| 336 | The precise terms and conditions for copying, distribution and |
| 337 | modification follow. |
| 338 | |
| 339 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 340 | |
| 341 | 0. This License applies to any program or other work which contains a |
| 342 | notice placed by the copyright holder saying it may be distributed under |
| 343 | the terms of this General Public License. The "Program", below, refers |
| 344 | to any such program or work, and a "work based on the Program" means |
| 345 | either the Program or any derivative work under copyright law: that is |
| 346 | to say, a work containing the Program or a portion of it, either |
| 347 | verbatim or with modifications and/or translated into another language. |
| 348 | (Hereinafter, translation is included without limitation in the term |
| 349 | "modification".) Each licensee is addressed as "you". |
| 350 | |
| 351 | Activities other than copying, distribution and modification are not |
| 352 | covered by this License; they are outside its scope. The act of running |
| 353 | the Program is not restricted, and the output from the Program is |
| 354 | covered only if its contents constitute a work based on the Program |
| 355 | (independent of having been made by running the Program). Whether that |
| 356 | is true depends on what the Program does. |
| 357 | |
| 358 | 1. You may copy and distribute verbatim copies of the Program's source |
| 359 | code as you receive it, in any medium, provided that you conspicuously |
| 360 | and appropriately publish on each copy an appropriate copyright notice |
| 361 | and disclaimer of warranty; keep intact all the notices that refer to |
| 362 | this License and to the absence of any warranty; and give any other |
| 363 | recipients of the Program a copy of this License along with the Program. |
| 364 | |
| 365 | You may charge a fee for the physical act of transferring a copy, and |
| 366 | you may at your option offer warranty protection in exchange for a fee. |
| 367 | |
| 368 | 2. You may modify your copy or copies of the Program or any portion of |
| 369 | it, thus forming a work based on the Program, and copy and distribute |
| 370 | such modifications or work under the terms of Section 1 above, provided |
| 371 | that you also meet all of these conditions: |
| 372 | |
| 373 | a) You must cause the modified files to carry prominent notices |
| 374 | stating that you changed the files and the date of any change. |
| 375 | |
| 376 | b) You must cause any work that you distribute or publish, that in |
| 377 | whole or in part contains or is derived from the Program or any part |
| 378 | thereof, to be licensed as a whole at no charge to all third parties |
| 379 | under the terms of this License. |
| 380 | |
| 381 | c) If the modified program normally reads commands interactively |
| 382 | when run, you must cause it, when started running for such |
| 383 | interactive use in the most ordinary way, to print or display an |
| 384 | announcement including an appropriate copyright notice and a notice |
| 385 | that there is no warranty (or else, saying that you provide a |
| 386 | warranty) and that users may redistribute the program under these |
| 387 | conditions, and telling the user how to view a copy of this License. |
| 388 | (Exception: if the Program itself is interactive but does not |
| 389 | normally print such an announcement, your work based on the Program |
| 390 | is not required to print an announcement.) |
| 391 | |
| 392 | These requirements apply to the modified work as a whole. If |
| 393 | identifiable sections of that work are not derived from the Program, and |
| 394 | can be reasonably considered independent and separate works in |
| 395 | themselves, then this License, and its terms, do not apply to those |
| 396 | sections when you distribute them as separate works. But when you |
| 397 | distribute the same sections as part of a whole which is a work based on |
| 398 | the Program, the distribution of the whole must be on the terms of this |
| 399 | License, whose permissions for other licensees extend to the entire |
| 400 | whole, and thus to each and every part regardless of who wrote it. |
| 401 | |
| 402 | Thus, it is not the intent of this section to claim rights or contest |
| 403 | your rights to work written entirely by you; rather, the intent is to |
| 404 | exercise the right to control the distribution of derivative or |
| 405 | collective works based on the Program. |
| 406 | |
| 407 | In addition, mere aggregation of another work not based on the Program |
| 408 | with the Program (or with a work based on the Program) on a volume of a |
| 409 | storage or distribution medium does not bring the other work under the |
| 410 | scope of this License. |
| 411 | |
| 412 | 3. You may copy and distribute the Program (or a work based on it, |
| 413 | under Section 2) in object code or executable form under the terms of |
| 414 | Sections 1 and 2 above provided that you also do one of the following: |
| 415 | |
| 416 | a) Accompany it with the complete corresponding machine-readable |
| 417 | source code, which must be distributed under the terms of Sections 1 |
| 418 | and 2 above on a medium customarily used for software interchange; or, |
| 419 | |
| 420 | b) Accompany it with a written offer, valid for at least three |
| 421 | years, to give any third party, for a charge no more than your cost |
| 422 | of physically performing source distribution, a complete |
| 423 | machine-readable copy of the corresponding source code, to be |
| 424 | distributed under the terms of Sections 1 and 2 above on a medium |
| 425 | customarily used for software interchange; or, |
| 426 | |
| 427 | c) Accompany it with the information you received as to the offer to |
| 428 | distribute corresponding source code. (This alternative is allowed |
| 429 | only for noncommercial distribution and only if you received the |
| 430 | program in object code or executable form with such an offer, in |
| 431 | accord with Subsection b above.) |
| 432 | |
| 433 | The source code for a work means the preferred form of the work for |
| 434 | making modifications to it. For an executable work, complete source code |
| 435 | means all the source code for all modules it contains, plus any |
| 436 | associated interface definition files, plus the scripts used to control |
| 437 | compilation and installation of the executable. However, as a special |
| 438 | exception, the source code distributed need not include anything that is |
| 439 | normally distributed (in either source or binary form) with the major |
| 440 | components (compiler, kernel, and so on) of the operating system on |
| 441 | which the executable runs, unless that component itself accompanies the |
| 442 | executable. |
| 443 | |
| 444 | If distribution of executable or object code is made by offering access |
| 445 | to copy from a designated place, then offering equivalent access to copy |
| 446 | the source code from the same place counts as distribution of the source |
| 447 | code, even though third parties are not compelled to copy the source |
| 448 | along with the object code. |
| 449 | |
| 450 | 4. You may not copy, modify, sublicense, or distribute the Program |
| 451 | except as expressly provided under this License. Any attempt otherwise |
| 452 | to copy, modify, sublicense or distribute the Program is void, and will |
| 453 | automatically terminate your rights under this License. However, parties |
| 454 | who have received copies, or rights, from you under this License will |
| 455 | not have their licenses terminated so long as such parties remain in |
| 456 | full compliance. |
| 457 | |
| 458 | 5. You are not required to accept this License, since you have not |
| 459 | signed it. However, nothing else grants you permission to modify or |
| 460 | distribute the Program or its derivative works. These actions are |
| 461 | prohibited by law if you do not accept this License. Therefore, by |
| 462 | modifying or distributing the Program (or any work based on the |
| 463 | Program), you indicate your acceptance of this License to do so, and all |
| 464 | its terms and conditions for copying, distributing or modifying the |
| 465 | Program or works based on it. |
| 466 | |
| 467 | 6. Each time you redistribute the Program (or any work based on the |
| 468 | Program), the recipient automatically receives a license from the |
| 469 | original licensor to copy, distribute or modify the Program subject to |
| 470 | these terms and conditions. You may not impose any further restrictions |
| 471 | on the recipients' exercise of the rights granted herein. You are not |
| 472 | responsible for enforcing compliance by third parties to this License. |
| 473 | |
| 474 | 7. If, as a consequence of a court judgment or allegation of patent |
| 475 | infringement or for any other reason (not limited to patent issues), |
| 476 | conditions are imposed on you (whether by court order, agreement or |
| 477 | otherwise) that contradict the conditions of this License, they do not |
| 478 | excuse you from the conditions of this License. If you cannot distribute |
| 479 | so as to satisfy simultaneously your obligations under this License and |
| 480 | any other pertinent obligations, then as a consequence you may not |
| 481 | distribute the Program at all. For example, if a patent license would |
| 482 | not permit royalty-free redistribution of the Program by all those who |
| 483 | receive copies directly or indirectly through you, then the only way you |
| 484 | could satisfy both it and this License would be to refrain entirely from |
| 485 | distribution of the Program. |
| 486 | |
| 487 | If any portion of this section is held invalid or unenforceable under |
| 488 | any particular circumstance, the balance of the section is intended to |
| 489 | apply and the section as a whole is intended to apply in other |
| 490 | circumstances. |
| 491 | |
| 492 | It is not the purpose of this section to induce you to infringe any |
| 493 | patents or other property right claims or to contest validity of any |
| 494 | such claims; this section has the sole purpose of protecting the |
| 495 | integrity of the free software distribution system, which is implemented |
| 496 | by public license practices. Many people have made generous |
| 497 | contributions to the wide range of software distributed through that |
| 498 | system in reliance on consistent application of that system; it is up to |
| 499 | the author/donor to decide if he or she is willing to distribute |
| 500 | software through any other system and a licensee cannot impose that choice. |
| 501 | |
| 502 | This section is intended to make thoroughly clear what is believed to be |
| 503 | a consequence of the rest of this License. |
| 504 | |
| 505 | 8. If the distribution and/or use of the Program is restricted in |
| 506 | certain countries either by patents or by copyrighted interfaces, the |
| 507 | original copyright holder who places the Program under this License may |
| 508 | add an explicit geographical distribution limitation excluding those |
| 509 | countries, so that distribution is permitted only in or among countries |
| 510 | not thus excluded. In such case, this License incorporates the |
| 511 | limitation as if written in the body of this License. |
| 512 | |
| 513 | 9. The Free Software Foundation may publish revised and/or new |
| 514 | versions of the General Public License from time to time. Such new |
| 515 | versions will be similar in spirit to the present version, but may |
| 516 | differ in detail to address new problems or concerns. |
| 517 | |
| 518 | Each version is given a distinguishing version number. If the Program |
| 519 | specifies a version number of this License which applies to it and "any |
| 520 | later version", you have the option of following the terms and |
| 521 | conditions either of that version or of any later version published by |
| 522 | the Free Software Foundation. If the Program does not specify a version |
| 523 | number of this License, you may choose any version ever published by the |
| 524 | Free Software Foundation. |
| 525 | |
| 526 | 10. If you wish to incorporate parts of the Program into other free |
| 527 | programs whose distribution conditions are different, write to the |
| 528 | author to ask for permission. For software which is copyrighted by the |
| 529 | Free Software Foundation, write to the Free Software Foundation; we |
| 530 | sometimes make exceptions for this. Our decision will be guided by the |
| 531 | two goals of preserving the free status of all derivatives of our free |
| 532 | software and of promoting the sharing and reuse of software generally. |
| 533 | |
| 534 | NO WARRANTY |
| 535 | |
| 536 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO |
| 537 | WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 538 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 539 | OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, |
| 540 | EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 541 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE |
| 542 | ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH |
| 543 | YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL |
| 544 | NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 545 | |
| 546 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 547 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 548 | AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR |
| 549 | DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL |
| 550 | DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM |
| 551 | (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED |
| 552 | INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF |
| 553 | THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR |
| 554 | OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
| 555 | |
| 556 | END OF TERMS AND CONDITIONS |
| 557 | |
| 558 | How to Apply These Terms to Your New Programs |
| 559 | |
| 560 | If you develop a new program, and you want it to be of the greatest |
| 561 | possible use to the public, the best way to achieve this is to make it |
| 562 | free software which everyone can redistribute and change under these terms. |
| 563 | |
| 564 | To do so, attach the following notices to the program. It is safest to |
| 565 | attach them to the start of each source file to most effectively convey |
| 566 | the exclusion of warranty; and each file should have at least the |
| 567 | "copyright" line and a pointer to where the full notice is found. |
| 568 | |
| 569 | One line to give the program's name and a brief idea of what it does. |
| 570 | Copyright (C) <year> <name of author> |
| 571 | |
| 572 | This program is free software; you can redistribute it and/or modify |
| 573 | it under the terms of the GNU General Public License as published by |
| 574 | the Free Software Foundation; either version 2 of the License, or |
| 575 | (at your option) any later version. |
| 576 | |
| 577 | This program is distributed in the hope that it will be useful, but |
| 578 | WITHOUT ANY WARRANTY; without even the implied warranty of |
| 579 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 580 | General Public License for more details. |
| 581 | |
| 582 | You should have received a copy of the GNU General Public License |
| 583 | along with this program; if not, write to the Free Software |
| 584 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA |
| 585 | |
| 586 | Also add information on how to contact you by electronic and paper mail. |
| 587 | |
| 588 | If the program is interactive, make it output a short notice like this |
| 589 | when it starts in an interactive mode: |
| 590 | |
| 591 | Gnomovision version 69, Copyright (C) year name of author |
| 592 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type |
| 593 | `show w'. This is free software, and you are welcome to redistribute |
| 594 | it under certain conditions; type `show c' for details. |
| 595 | |
| 596 | The hypothetical commands `show w' and `show c' should show the |
| 597 | appropriate parts of the General Public License. Of course, the commands |
| 598 | you use may be called something other than `show w' and `show c'; they |
| 599 | could even be mouse-clicks or menu items--whatever suits your program. |
| 600 | |
| 601 | You should also get your employer (if you work as a programmer) or your |
| 602 | school, if any, to sign a "copyright disclaimer" for the program, if |
| 603 | necessary. Here is a sample; alter the names: |
| 604 | |
| 605 | Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 606 | program `Gnomovision' (which makes passes at compilers) written by |
| 607 | James Hacker. |
| 608 | |
| 609 | signature of Ty Coon, 1 April 1989 |
| 610 | Ty Coon, President of Vice |
| 611 | |
| 612 | This General Public License does not permit incorporating your program |
| 613 | into proprietary programs. If your program is a subroutine library, you |
| 614 | may consider it more useful to permit linking proprietary applications |
| 615 | with the library. If this is what you want to do, use the GNU Library |
| 616 | General Public License instead of this License. |
| 617 | |
| 618 | --- |
| 619 | |
| 620 | ## CLASSPATH EXCEPTION |
| 621 | |
| 622 | Linking this library statically or dynamically with other modules is |
| 623 | making a combined work based on this library. Thus, the terms and |
| 624 | conditions of the GNU General Public License version 2 cover the whole |
| 625 | combination. |
| 626 | |
| 627 | As a special exception, the copyright holders of this library give you |
| 628 | permission to link this library with independent modules to produce an |
| 629 | executable, regardless of the license terms of these independent |
| 630 | modules, and to copy and distribute the resulting executable under |
| 631 | terms of your choice, provided that you also meet, for each linked |
| 632 | independent module, the terms and conditions of the license of that |
| 633 | module. An independent module is a module which is not derived from or |
| 634 | based on this library. If you modify this library, you may extend this |
| 635 | exception to your version of the library, but you are not obligated to |
| 636 | do so. If you do not wish to do so, delete this exception statement |
| 637 | from your version. |