1 2 GNU LESSER GENERAL PUBLIC LICENSE 3 Version 2.1, February 1999 4 5 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 6 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 7 Everyone is permitted to copy and distribute verbatim copies 8 of this license document, but changing it is not allowed. 9 10[This is the first released version of the Lesser GPL. It also counts 11 as the successor of the GNU Library Public License, version 2, hence 12 the version number 2.1.] 13 14 Preamble 15 16 The licenses for most software are designed to take away your 17freedom to share and change it. By contrast, the GNU General Public 18Licenses are intended to guarantee your freedom to share and change 19free software--to make sure the software is free for all its users. 20 21 This license, the Lesser General Public License, applies to some 22specially designated software packages--typically libraries--of the 23Free Software Foundation and other authors who decide to use it. You 24can use it too, but we suggest you first think carefully about whether 25this license or the ordinary General Public License is the better 26strategy to use in any particular case, based on the explanations below. 27 28 When we speak of free software, we are referring to freedom of use, 29not price. Our General Public Licenses are designed to make sure that 30you have the freedom to distribute copies of free software (and charge 31for this service if you wish); that you receive source code or can get 32it if you want it; that you can change the software and use pieces of 33it in new free programs; and that you are informed that you can do 34these things. 35 36 To protect your rights, we need to make restrictions that forbid 37distributors to deny you these rights or to ask you to surrender these 38rights. These restrictions translate to certain responsibilities for 39you if you distribute copies of the library or if you modify it. 40 41 For example, if you distribute copies of the library, whether gratis 42or for a fee, you must give the recipients all the rights that we gave 43you. You must make sure that they, too, receive or can get the source 44code. If you link other code with the library, you must provide 45complete object files to the recipients, so that they can relink them 46with the library after making changes to the library and recompiling 47it. And you must show them these terms so they know their rights. 48 49 We protect your rights with a two-step method: (1) we copyright the 50library, and (2) we offer you this license, which gives you legal 51permission to copy, distribute and/or modify the library. 52 53 To protect each distributor, we want to make it very clear that 54there is no warranty for the free library. Also, if the library is 55modified by someone else and passed on, the recipients should know 56that what they have is not the original version, so that the original 57author's reputation will not be affected by problems that might be 58introduced by others. 59 60 Finally, software patents pose a constant threat to the existence of 61any free program. We wish to make sure that a company cannot 62effectively restrict the users of a free program by obtaining a 63restrictive license from a patent holder. Therefore, we insist that 64any patent license obtained for a version of the library must be 65consistent with the full freedom of use specified in this license. 66 67 Most GNU software, including some libraries, is covered by the 68ordinary GNU General Public License. This license, the GNU Lesser 69General Public License, applies to certain designated libraries, and 70is quite different from the ordinary General Public License. We use 71this license for certain libraries in order to permit linking those 72libraries into non-free programs. 73 74 When a program is linked with a library, whether statically or using 75a shared library, the combination of the two is legally speaking a 76combined work, a derivative of the original library. The ordinary 77General Public License therefore permits such linking only if the 78entire combination fits its criteria of freedom. The Lesser General 79Public License permits more lax criteria for linking other code with 80the library. 81 82 We call this license the "Lesser" General Public License because it 83does Less to protect the user's freedom than the ordinary General 84Public License. It also provides other free software developers Less 85of an advantage over competing non-free programs. These disadvantages 86are the reason we use the ordinary General Public License for many 87libraries. However, the Lesser license provides advantages in certain 88special circumstances. 89 90 For example, on rare occasions, there may be a special need to 91encourage the widest possible use of a certain library, so that it becomes 92a de-facto standard. To achieve this, non-free programs must be 93allowed to use the library. A more frequent case is that a free 94library does the same job as widely used non-free libraries. In this 95case, there is little to gain by limiting the free library to free 96software only, so we use the Lesser General Public License. 97 98 In other cases, permission to use a particular library in non-free 99programs enables a greater number of people to use a large body of 100free software. For example, permission to use the GNU C Library in 101non-free programs enables many more people to use the whole GNU 102operating system, as well as its variant, the GNU/Linux operating 103system. 104 105 Although the Lesser General Public License is Less protective of the 106users' freedom, it does ensure that the user of a program that is 107linked with the Library has the freedom and the wherewithal to run 108that program using a modified version of the Library. 109 110 The precise terms and conditions for copying, distribution and 111modification follow. Pay close attention to the difference between a 112"work based on the library" and a "work that uses the library". The 113former contains code derived from the library, whereas the latter must 114be combined with the library in order to run. 115 116 GNU LESSER GENERAL PUBLIC LICENSE 117 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 118 119 0. This License Agreement applies to any software library or other 120program which contains a notice placed by the copyright holder or 121other authorized party saying it may be distributed under the terms of 122this Lesser General Public License (also called "this License"). 123Each licensee is addressed as "you". 124 125 A "library" means a collection of software functions and/or data 126prepared so as to be conveniently linked with application programs 127(which use some of those functions and data) to form executables. 128 129 The "Library", below, refers to any such software library or work 130which has been distributed under these terms. A "work based on the 131Library" means either the Library or any derivative work under 132copyright law: that is to say, a work containing the Library or a 133portion of it, either verbatim or with modifications and/or translated 134straightforwardly into another language. (Hereinafter, translation is 135included without limitation in the term "modification".) 136 137 "Source code" for a work means the preferred form of the work for 138making modifications to it. For a library, complete source code means 139all the source code for all modules it contains, plus any associated 140interface definition files, plus the scripts used to control compilation 141and installation of the library. 142 143 Activities other than copying, distribution and modification are not 144covered by this License; they are outside its scope. The act of 145running a program using the Library is not restricted, and output from 146such a program is covered only if its contents constitute a work based 147on the Library (independent of the use of the Library in a tool for 148writing it). Whether that is true depends on what the Library does 149and what the program that uses the Library does. 150 151 1. You may copy and distribute verbatim copies of the Library's 152complete source code as you receive it, in any medium, provided that 153you conspicuously and appropriately publish on each copy an 154appropriate copyright notice and disclaimer of warranty; keep intact 155all the notices that refer to this License and to the absence of any 156warranty; and distribute a copy of this License along with the 157Library. 158 159 You may charge a fee for the physical act of transferring a copy, 160and you may at your option offer warranty protection in exchange for a 161fee. 162 163 2. You may modify your copy or copies of the Library or any portion 164of it, thus forming a work based on the Library, and copy and 165distribute such modifications or work under the terms of Section 1 166above, provided that you also meet all of these conditions: 167 168 a) The modified work must itself be a software library. 169 170 b) You must cause the files modified to carry prominent notices 171 stating that you changed the files and the date of any change. 172 173 c) You must cause the whole of the work to be licensed at no 174 charge to all third parties under the terms of this License. 175 176 d) If a facility in the modified Library refers to a function or a 177 table of data to be supplied by an application program that uses 178 the facility, other than as an argument passed when the facility 179 is invoked, then you must make a good faith effort to ensure that, 180 in the event an application does not supply such function or 181 table, the facility still operates, and performs whatever part of 182 its purpose remains meaningful. 183 184 (For example, a function in a library to compute square roots has 185 a purpose that is entirely well-defined independent of the 186 application. Therefore, Subsection 2d requires that any 187 application-supplied function or table used by this function must 188 be optional: if the application does not supply it, the square 189 root function must still compute square roots.) 190 191These requirements apply to the modified work as a whole. If 192identifiable sections of that work are not derived from the Library, 193and can be reasonably considered independent and separate works in 194themselves, then this License, and its terms, do not apply to those 195sections when you distribute them as separate works. But when you 196distribute the same sections as part of a whole which is a work based 197on the Library, the distribution of the whole must be on the terms of 198this License, whose permissions for other licensees extend to the 199entire whole, and thus to each and every part regardless of who wrote 200it. 201 202Thus, it is not the intent of this section to claim rights or contest 203your rights to work written entirely by you; rather, the intent is to 204exercise the right to control the distribution of derivative or 205collective works based on the Library. 206 207In addition, mere aggregation of another work not based on the Library 208with the Library (or with a work based on the Library) on a volume of 209a storage or distribution medium does not bring the other work under 210the scope of this License. 211 212 3. You may opt to apply the terms of the ordinary GNU General Public 213License instead of this License to a given copy of the Library. To do 214this, you must alter all the notices that refer to this License, so 215that they refer to the ordinary GNU General Public License, version 2, 216instead of to this License. (If a newer version than version 2 of the 217ordinary GNU General Public License has appeared, then you can specify 218that version instead if you wish.) Do not make any other change in 219these notices. 220 221 Once this change is made in a given copy, it is irreversible for 222that copy, so the ordinary GNU General Public License applies to all 223subsequent copies and derivative works made from that copy. 224 225 This option is useful when you wish to copy part of the code of 226the Library into a program that is not a library. 227 228 4. You may copy and distribute the Library (or a portion or 229derivative of it, under Section 2) in object code or executable form 230under the terms of Sections 1 and 2 above provided that you accompany 231it with the complete corresponding machine-readable source code, which 232must be distributed under the terms of Sections 1 and 2 above on a 233medium customarily used for software interchange. 234 235 If distribution of object code is made by offering access to copy 236from a designated place, then offering equivalent access to copy the 237source code from the same place satisfies the requirement to 238distribute the source code, even though third parties are not 239compelled to copy the source along with the object code. 240 241 5. A program that contains no derivative of any portion of the 242Library, but is designed to work with the Library by being compiled or 243linked with it, is called a "work that uses the Library". Such a 244work, in isolation, is not a derivative work of the Library, and 245therefore falls outside the scope of this License. 246 247 However, linking a "work that uses the Library" with the Library 248creates an executable that is a derivative of the Library (because it 249contains portions of the Library), rather than a "work that uses the 250library". The executable is therefore covered by this License. 251Section 6 states terms for distribution of such executables. 252 253 When a "work that uses the Library" uses material from a header file 254that is part of the Library, the object code for the work may be a 255derivative work of the Library even though the source code is not. 256Whether this is true is especially significant if the work can be 257linked without the Library, or if the work is itself a library. The 258threshold for this to be true is not precisely defined by law. 259 260 If such an object file uses only numerical parameters, data 261structure layouts and accessors, and small macros and small inline 262functions (ten lines or less in length), then the use of the object 263file is unrestricted, regardless of whether it is legally a derivative 264work. (Executables containing this object code plus portions of the 265Library will still fall under Section 6.) 266 267 Otherwise, if the work is a derivative of the Library, you may 268distribute the object code for the work under the terms of Section 6. 269Any executables containing that work also fall under Section 6, 270whether or not they are linked directly with the Library itself. 271 272 6. As an exception to the Sections above, you may also combine or 273link a "work that uses the Library" with the Library to produce a 274work containing portions of the Library, and distribute that work 275under terms of your choice, provided that the terms permit 276modification of the work for the customer's own use and reverse 277engineering for debugging such modifications. 278 279 You must give prominent notice with each copy of the work that the 280Library is used in it and that the Library and its use are covered by 281this License. You must supply a copy of this License. If the work 282during execution displays copyright notices, you must include the 283copyright notice for the Library among them, as well as a reference 284directing the user to the copy of this License. Also, you must do one 285of these things: 286 287 a) Accompany the work with the complete corresponding 288 machine-readable source code for the Library including whatever 289 changes were used in the work (which must be distributed under 290 Sections 1 and 2 above); and, if the work is an executable linked 291 with the Library, with the complete machine-readable "work that 292 uses the Library", as object code and/or source code, so that the 293 user can modify the Library and then relink to produce a modified 294 executable containing the modified Library. (It is understood 295 that the user who changes the contents of definitions files in the 296 Library will not necessarily be able to recompile the application 297 to use the modified definitions.) 298 299 b) Use a suitable shared library mechanism for linking with the 300 Library. A suitable mechanism is one that (1) uses at run time a 301 copy of the library already present on the user's computer system, 302 rather than copying library functions into the executable, and (2) 303 will operate properly with a modified version of the library, if 304 the user installs one, as long as the modified version is 305 interface-compatible with the version that the work was made with. 306 307 c) Accompany the work with a written offer, valid for at 308 least three years, to give the same user the materials 309 specified in Subsection 6a, above, for a charge no more 310 than the cost of performing this distribution. 311 312 d) If distribution of the work is made by offering access to copy 313 from a designated place, offer equivalent access to copy the above 314 specified materials from the same place. 315 316 e) Verify that the user has already received a copy of these 317 materials or that you have already sent this user a copy. 318 319 For an executable, the required form of the "work that uses the 320Library" must include any data and utility programs needed for 321reproducing the executable from it. However, as a special exception, 322the materials to be distributed need not include anything that is 323normally distributed (in either source or binary form) with the major 324components (compiler, kernel, and so on) of the operating system on 325which the executable runs, unless that component itself accompanies 326the executable. 327 328 It may happen that this requirement contradicts the license 329restrictions of other proprietary libraries that do not normally 330accompany the operating system. Such a contradiction means you cannot 331use both them and the Library together in an executable that you 332distribute. 333 334 7. You may place library facilities that are a work based on the 335Library side-by-side in a single library together with other library 336facilities not covered by this License, and distribute such a combined 337library, provided that the separate distribution of the work based on 338the Library and of the other library facilities is otherwise 339permitted, and provided that you do these two things: 340 341 a) Accompany the combined library with a copy of the same work 342 based on the Library, uncombined with any other library 343 facilities. This must be distributed under the terms of the 344 Sections above. 345 346 b) Give prominent notice with the combined library of the fact 347 that part of it is a work based on the Library, and explaining 348 where to find the accompanying uncombined form of the same work. 349 350 8. You may not copy, modify, sublicense, link with, or distribute 351the Library except as expressly provided under this License. Any 352attempt otherwise to copy, modify, sublicense, link with, or 353distribute the Library is void, and will automatically terminate your 354rights under this License. However, parties who have received copies, 355or rights, from you under this License will not have their licenses 356terminated so long as such parties remain in full compliance. 357 358 9. You are not required to accept this License, since you have not 359signed it. However, nothing else grants you permission to modify or 360distribute the Library or its derivative works. These actions are 361prohibited by law if you do not accept this License. Therefore, by 362modifying or distributing the Library (or any work based on the 363Library), you indicate your acceptance of this License to do so, and 364all its terms and conditions for copying, distributing or modifying 365the Library or works based on it. 366 367 10. Each time you redistribute the Library (or any work based on the 368Library), the recipient automatically receives a license from the 369original licensor to copy, distribute, link with or modify the Library 370subject to these terms and conditions. You may not impose any further 371restrictions on the recipients' exercise of the rights granted herein. 372You are not responsible for enforcing compliance by third parties with 373this License. 374 375 11. If, as a consequence of a court judgment or allegation of patent 376infringement or for any other reason (not limited to patent issues), 377conditions are imposed on you (whether by court order, agreement or 378otherwise) that contradict the conditions of this License, they do not 379excuse you from the conditions of this License. If you cannot 380distribute so as to satisfy simultaneously your obligations under this 381License and any other pertinent obligations, then as a consequence you 382may not distribute the Library at all. For example, if a patent 383license would not permit royalty-free redistribution of the Library by 384all those who receive copies directly or indirectly through you, then 385the only way you could satisfy both it and this License would be to 386refrain entirely from distribution of the Library. 387 388If any portion of this section is held invalid or unenforceable under any 389particular circumstance, the balance of the section is intended to apply, 390and the section as a whole is intended to apply in other circumstances. 391 392It is not the purpose of this section to induce you to infringe any 393patents or other property right claims or to contest validity of any 394such claims; this section has the sole purpose of protecting the 395integrity of the free software distribution system which is 396implemented by public license practices. Many people have made 397generous contributions to the wide range of software distributed 398through that system in reliance on consistent application of that 399system; it is up to the author/donor to decide if he or she is willing 400to distribute software through any other system and a licensee cannot 401impose that choice. 402 403This section is intended to make thoroughly clear what is believed to 404be a consequence of the rest of this License. 405 406 12. If the distribution and/or use of the Library is restricted in 407certain countries either by patents or by copyrighted interfaces, the 408original copyright holder who places the Library under this License may add 409an explicit geographical distribution limitation excluding those countries, 410so that distribution is permitted only in or among countries not thus 411excluded. In such case, this License incorporates the limitation as if 412written in the body of this License. 413 414 13. The Free Software Foundation may publish revised and/or new 415versions of the Lesser General Public License from time to time. 416Such new versions will be similar in spirit to the present version, 417but may differ in detail to address new problems or concerns. 418 419Each version is given a distinguishing version number. If the Library 420specifies a version number of this License which applies to it and 421"any later version", you have the option of following the terms and 422conditions either of that version or of any later version published by 423the Free Software Foundation. If the Library does not specify a 424license version number, you may choose any version ever published by 425the Free Software Foundation. 426 427 14. If you wish to incorporate parts of the Library into other free 428programs whose distribution conditions are incompatible with these, 429write to the author to ask for permission. For software which is 430copyrighted by the Free Software Foundation, write to the Free 431Software Foundation; we sometimes make exceptions for this. Our 432decision will be guided by the two goals of preserving the free status 433of all derivatives of our free software and of promoting the sharing 434and reuse of software generally. 435 436 NO WARRANTY 437 438 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 439WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 440EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 441OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 442KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 443IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 444PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 445LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 446THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 447 448 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 449WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 450AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 451FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 452CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 453LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 454RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 455FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 456SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 457DAMAGES. 458 459 END OF TERMS AND CONDITIONS 460 461 How to Apply These Terms to Your New Libraries 462 463 If you develop a new library, and you want it to be of the greatest 464possible use to the public, we recommend making it free software that 465everyone can redistribute and change. You can do so by permitting 466redistribution under these terms (or, alternatively, under the terms of the 467ordinary General Public License). 468 469 To apply these terms, attach the following notices to the library. It is 470safest to attach them to the start of each source file to most effectively 471convey the exclusion of warranty; and each file should have at least the 472"copyright" line and a pointer to where the full notice is found. 473 474 <one line to give the library's name and a brief idea of what it does.> 475 Copyright (C) <year> <name of author> 476 477 This library is free software; you can redistribute it and/or 478 modify it under the terms of the GNU Lesser General Public 479 License as published by the Free Software Foundation; either 480 version 2.1 of the License, or (at your option) any later version. 481 482 This library is distributed in the hope that it will be useful, 483 but WITHOUT ANY WARRANTY; without even the implied warranty of 484 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 485 Lesser General Public License for more details. 486 487 You should have received a copy of the GNU Lesser General Public 488 License along with this library; if not, write to the Free Software 489 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 490 491Also add information on how to contact you by electronic and paper mail. 492 493You should also get your employer (if you work as a programmer) or your 494school, if any, to sign a "copyright disclaimer" for the library, if 495necessary. Here is a sample; alter the names: 496 497 Yoyodyne, Inc., hereby disclaims all copyright interest in the 498 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 499 500 <signature of Ty Coon>, 1 April 1990 501 Ty Coon, President of Vice 502 503That's all there is to it! 504 505 506 GNU GENERAL PUBLIC LICENSE 507 Version 3, 29 June 2007 508 509 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 510 Everyone is permitted to copy and distribute verbatim copies 511 of this license document, but changing it is not allowed. 512 513 Preamble 514 515 The GNU General Public License is a free, copyleft license for 516software and other kinds of works. 517 518 The licenses for most software and other practical works are designed 519to take away your freedom to share and change the works. By contrast, 520the GNU General Public License is intended to guarantee your freedom to 521share and change all versions of a program--to make sure it remains free 522software for all its users. We, the Free Software Foundation, use the 523GNU General Public License for most of our software; it applies also to 524any other work released this way by its authors. You can apply it to 525your programs, too. 526 527 When we speak of free software, we are referring to freedom, not 528price. Our General Public Licenses are designed to make sure that you 529have the freedom to distribute copies of free software (and charge for 530them if you wish), that you receive source code or can get it if you 531want it, that you can change the software or use pieces of it in new 532free programs, and that you know you can do these things. 533 534 To protect your rights, we need to prevent others from denying you 535these rights or asking you to surrender the rights. Therefore, you have 536certain responsibilities if you distribute copies of the software, or if 537you modify it: responsibilities to respect the freedom of others. 538 539 For example, if you distribute copies of such a program, whether 540gratis or for a fee, you must pass on to the recipients the same 541freedoms that you received. You must make sure that they, too, receive 542or can get the source code. And you must show them these terms so they 543know their rights. 544 545 Developers that use the GNU GPL protect your rights with two steps: 546(1) assert copyright on the software, and (2) offer you this License 547giving you legal permission to copy, distribute and/or modify it. 548 549 For the developers' and authors' protection, the GPL clearly explains 550that there is no warranty for this free software. For both users' and 551authors' sake, the GPL requires that modified versions be marked as 552changed, so that their problems will not be attributed erroneously to 553authors of previous versions. 554 555 Some devices are designed to deny users access to install or run 556modified versions of the software inside them, although the manufacturer 557can do so. This is fundamentally incompatible with the aim of 558protecting users' freedom to change the software. The systematic 559pattern of such abuse occurs in the area of products for individuals to 560use, which is precisely where it is most unacceptable. Therefore, we 561have designed this version of the GPL to prohibit the practice for those 562products. If such problems arise substantially in other domains, we 563stand ready to extend this provision to those domains in future versions 564of the GPL, as needed to protect the freedom of users. 565 566 Finally, every program is threatened constantly by software patents. 567States should not allow patents to restrict development and use of 568software on general-purpose computers, but in those that do, we wish to 569avoid the special danger that patents applied to a free program could 570make it effectively proprietary. To prevent this, the GPL assures that 571patents cannot be used to render the program non-free. 572 573 The precise terms and conditions for copying, distribution and 574modification follow. 575 576 TERMS AND CONDITIONS 577 578 0. Definitions. 579 580 "This License" refers to version 3 of the GNU General Public License. 581 582 "Copyright" also means copyright-like laws that apply to other kinds of 583works, such as semiconductor masks. 584 585 "The Program" refers to any copyrightable work licensed under this 586License. Each licensee is addressed as "you". "Licensees" and 587"recipients" may be individuals or organizations. 588 589 To "modify" a work means to copy from or adapt all or part of the work 590in a fashion requiring copyright permission, other than the making of an 591exact copy. The resulting work is called a "modified version" of the 592earlier work or a work "based on" the earlier work. 593 594 A "covered work" means either the unmodified Program or a work based 595on the Program. 596 597 To "propagate" a work means to do anything with it that, without 598permission, would make you directly or secondarily liable for 599infringement under applicable copyright law, except executing it on a 600computer or modifying a private copy. Propagation includes copying, 601distribution (with or without modification), making available to the 602public, and in some countries other activities as well. 603 604 To "convey" a work means any kind of propagation that enables other 605parties to make or receive copies. Mere interaction with a user through 606a computer network, with no transfer of a copy, is not conveying. 607 608 An interactive user interface displays "Appropriate Legal Notices" 609to the extent that it includes a convenient and prominently visible 610feature that (1) displays an appropriate copyright notice, and (2) 611tells the user that there is no warranty for the work (except to the 612extent that warranties are provided), that licensees may convey the 613work under this License, and how to view a copy of this License. If 614the interface presents a list of user commands or options, such as a 615menu, a prominent item in the list meets this criterion. 616 617 1. Source Code. 618 619 The "source code" for a work means the preferred form of the work 620for making modifications to it. "Object code" means any non-source 621form of a work. 622 623 A "Standard Interface" means an interface that either is an official 624standard defined by a recognized standards body, or, in the case of 625interfaces specified for a particular programming language, one that 626is widely used among developers working in that language. 627 628 The "System Libraries" of an executable work include anything, other 629than the work as a whole, that (a) is included in the normal form of 630packaging a Major Component, but which is not part of that Major 631Component, and (b) serves only to enable use of the work with that 632Major Component, or to implement a Standard Interface for which an 633implementation is available to the public in source code form. A 634"Major Component", in this context, means a major essential component 635(kernel, window system, and so on) of the specific operating system 636(if any) on which the executable work runs, or a compiler used to 637produce the work, or an object code interpreter used to run it. 638 639 The "Corresponding Source" for a work in object code form means all 640the source code needed to generate, install, and (for an executable 641work) run the object code and to modify the work, including scripts to 642control those activities. However, it does not include the work's 643System Libraries, or general-purpose tools or generally available free 644programs which are used unmodified in performing those activities but 645which are not part of the work. For example, Corresponding Source 646includes interface definition files associated with source files for 647the work, and the source code for shared libraries and dynamically 648linked subprograms that the work is specifically designed to require, 649such as by intimate data communication or control flow between those 650subprograms and other parts of the work. 651 652 The Corresponding Source need not include anything that users 653can regenerate automatically from other parts of the Corresponding 654Source. 655 656 The Corresponding Source for a work in source code form is that 657same work. 658 659 2. Basic Permissions. 660 661 All rights granted under this License are granted for the term of 662copyright on the Program, and are irrevocable provided the stated 663conditions are met. This License explicitly affirms your unlimited 664permission to run the unmodified Program. The output from running a 665covered work is covered by this License only if the output, given its 666content, constitutes a covered work. This License acknowledges your 667rights of fair use or other equivalent, as provided by copyright law. 668 669 You may make, run and propagate covered works that you do not 670convey, without conditions so long as your license otherwise remains 671in force. You may convey covered works to others for the sole purpose 672of having them make modifications exclusively for you, or provide you 673with facilities for running those works, provided that you comply with 674the terms of this License in conveying all material for which you do 675not control copyright. Those thus making or running the covered works 676for you must do so exclusively on your behalf, under your direction 677and control, on terms that prohibit them from making any copies of 678your copyrighted material outside their relationship with you. 679 680 Conveying under any other circumstances is permitted solely under 681the conditions stated below. Sublicensing is not allowed; section 10 682makes it unnecessary. 683 684 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 685 686 No covered work shall be deemed part of an effective technological 687measure under any applicable law fulfilling obligations under article 68811 of the WIPO copyright treaty adopted on 20 December 1996, or 689similar laws prohibiting or restricting circumvention of such 690measures. 691 692 When you convey a covered work, you waive any legal power to forbid 693circumvention of technological measures to the extent such circumvention 694is effected by exercising rights under this License with respect to 695the covered work, and you disclaim any intention to limit operation or 696modification of the work as a means of enforcing, against the work's 697users, your or third parties' legal rights to forbid circumvention of 698technological measures. 699 700 4. Conveying Verbatim Copies. 701 702 You may convey verbatim copies of the Program's source code as you 703receive it, in any medium, provided that you conspicuously and 704appropriately publish on each copy an appropriate copyright notice; 705keep intact all notices stating that this License and any 706non-permissive terms added in accord with section 7 apply to the code; 707keep intact all notices of the absence of any warranty; and give all 708recipients a copy of this License along with the Program. 709 710 You may charge any price or no price for each copy that you convey, 711and you may offer support or warranty protection for a fee. 712 713 5. Conveying Modified Source Versions. 714 715 You may convey a work based on the Program, or the modifications to 716produce it from the Program, in the form of source code under the 717terms of section 4, provided that you also meet all of these conditions: 718 719 a) The work must carry prominent notices stating that you modified 720 it, and giving a relevant date. 721 722 b) The work must carry prominent notices stating that it is 723 released under this License and any conditions added under section 724 7. This requirement modifies the requirement in section 4 to 725 "keep intact all notices". 726 727 c) You must license the entire work, as a whole, under this 728 License to anyone who comes into possession of a copy. This 729 License will therefore apply, along with any applicable section 7 730 additional terms, to the whole of the work, and all its parts, 731 regardless of how they are packaged. This License gives no 732 permission to license the work in any other way, but it does not 733 invalidate such permission if you have separately received it. 734 735 d) If the work has interactive user interfaces, each must display 736 Appropriate Legal Notices; however, if the Program has interactive 737 interfaces that do not display Appropriate Legal Notices, your 738 work need not make them do so. 739 740 A compilation of a covered work with other separate and independent 741works, which are not by their nature extensions of the covered work, 742and which are not combined with it such as to form a larger program, 743in or on a volume of a storage or distribution medium, is called an 744"aggregate" if the compilation and its resulting copyright are not 745used to limit the access or legal rights of the compilation's users 746beyond what the individual works permit. Inclusion of a covered work 747in an aggregate does not cause this License to apply to the other 748parts of the aggregate. 749 750 6. Conveying Non-Source Forms. 751 752 You may convey a covered work in object code form under the terms 753of sections 4 and 5, provided that you also convey the 754machine-readable Corresponding Source under the terms of this License, 755in one of these ways: 756 757 a) Convey the object code in, or embodied in, a physical product 758 (including a physical distribution medium), accompanied by the 759 Corresponding Source fixed on a durable physical medium 760 customarily used for software interchange. 761 762 b) Convey the object code in, or embodied in, a physical product 763 (including a physical distribution medium), accompanied by a 764 written offer, valid for at least three years and valid for as 765 long as you offer spare parts or customer support for that product 766 model, to give anyone who possesses the object code either (1) a 767 copy of the Corresponding Source for all the software in the 768 product that is covered by this License, on a durable physical 769 medium customarily used for software interchange, for a price no 770 more than your reasonable cost of physically performing this 771 conveying of source, or (2) access to copy the 772 Corresponding Source from a network server at no charge. 773 774 c) Convey individual copies of the object code with a copy of the 775 written offer to provide the Corresponding Source. This 776 alternative is allowed only occasionally and noncommercially, and 777 only if you received the object code with such an offer, in accord 778 with subsection 6b. 779 780 d) Convey the object code by offering access from a designated 781 place (gratis or for a charge), and offer equivalent access to the 782 Corresponding Source in the same way through the same place at no 783 further charge. You need not require recipients to copy the 784 Corresponding Source along with the object code. If the place to 785 copy the object code is a network server, the Corresponding Source 786 may be on a different server (operated by you or a third party) 787 that supports equivalent copying facilities, provided you maintain 788 clear directions next to the object code saying where to find the 789 Corresponding Source. Regardless of what server hosts the 790 Corresponding Source, you remain obligated to ensure that it is 791 available for as long as needed to satisfy these requirements. 792 793 e) Convey the object code using peer-to-peer transmission, provided 794 you inform other peers where the object code and Corresponding 795 Source of the work are being offered to the general public at no 796 charge under subsection 6d. 797 798 A separable portion of the object code, whose source code is excluded 799from the Corresponding Source as a System Library, need not be 800included in conveying the object code work. 801 802 A "User Product" is either (1) a "consumer product", which means any 803tangible personal property which is normally used for personal, family, 804or household purposes, or (2) anything designed or sold for incorporation 805into a dwelling. In determining whether a product is a consumer product, 806doubtful cases shall be resolved in favor of coverage. For a particular 807product received by a particular user, "normally used" refers to a 808typical or common use of that class of product, regardless of the status 809of the particular user or of the way in which the particular user 810actually uses, or expects or is expected to use, the product. A product 811is a consumer product regardless of whether the product has substantial 812commercial, industrial or non-consumer uses, unless such uses represent 813the only significant mode of use of the product. 814 815 "Installation Information" for a User Product means any methods, 816procedures, authorization keys, or other information required to install 817and execute modified versions of a covered work in that User Product from 818a modified version of its Corresponding Source. The information must 819suffice to ensure that the continued functioning of the modified object 820code is in no case prevented or interfered with solely because 821modification has been made. 822 823 If you convey an object code work under this section in, or with, or 824specifically for use in, a User Product, and the conveying occurs as 825part of a transaction in which the right of possession and use of the 826User Product is transferred to the recipient in perpetuity or for a 827fixed term (regardless of how the transaction is characterized), the 828Corresponding Source conveyed under this section must be accompanied 829by the Installation Information. But this requirement does not apply 830if neither you nor any third party retains the ability to install 831modified object code on the User Product (for example, the work has 832been installed in ROM). 833 834 The requirement to provide Installation Information does not include a 835requirement to continue to provide support service, warranty, or updates 836for a work that has been modified or installed by the recipient, or for 837the User Product in which it has been modified or installed. Access to a 838network may be denied when the modification itself materially and 839adversely affects the operation of the network or violates the rules and 840protocols for communication across the network. 841 842 Corresponding Source conveyed, and Installation Information provided, 843in accord with this section must be in a format that is publicly 844documented (and with an implementation available to the public in 845source code form), and must require no special password or key for 846unpacking, reading or copying. 847 848 7. Additional Terms. 849 850 "Additional permissions" are terms that supplement the terms of this 851License by making exceptions from one or more of its conditions. 852Additional permissions that are applicable to the entire Program shall 853be treated as though they were included in this License, to the extent 854that they are valid under applicable law. If additional permissions 855apply only to part of the Program, that part may be used separately 856under those permissions, but the entire Program remains governed by 857this License without regard to the additional permissions. 858 859 When you convey a copy of a covered work, you may at your option 860remove any additional permissions from that copy, or from any part of 861it. (Additional permissions may be written to require their own 862removal in certain cases when you modify the work.) You may place 863additional permissions on material, added by you to a covered work, 864for which you have or can give appropriate copyright permission. 865 866 Notwithstanding any other provision of this License, for material you 867add to a covered work, you may (if authorized by the copyright holders of 868that material) supplement the terms of this License with terms: 869 870 a) Disclaiming warranty or limiting liability differently from the 871 terms of sections 15 and 16 of this License; or 872 873 b) Requiring preservation of specified reasonable legal notices or 874 author attributions in that material or in the Appropriate Legal 875 Notices displayed by works containing it; or 876 877 c) Prohibiting misrepresentation of the origin of that material, or 878 requiring that modified versions of such material be marked in 879 reasonable ways as different from the original version; or 880 881 d) Limiting the use for publicity purposes of names of licensors or 882 authors of the material; or 883 884 e) Declining to grant rights under trademark law for use of some 885 trade names, trademarks, or service marks; or 886 887 f) Requiring indemnification of licensors and authors of that 888 material by anyone who conveys the material (or modified versions of 889 it) with contractual assumptions of liability to the recipient, for 890 any liability that these contractual assumptions directly impose on 891 those licensors and authors. 892 893 All other non-permissive additional terms are considered "further 894restrictions" within the meaning of section 10. If the Program as you 895received it, or any part of it, contains a notice stating that it is 896governed by this License along with a term that is a further 897restriction, you may remove that term. If a license document contains 898a further restriction but permits relicensing or conveying under this 899License, you may add to a covered work material governed by the terms 900of that license document, provided that the further restriction does 901not survive such relicensing or conveying. 902 903 If you add terms to a covered work in accord with this section, you 904must place, in the relevant source files, a statement of the 905additional terms that apply to those files, or a notice indicating 906where to find the applicable terms. 907 908 Additional terms, permissive or non-permissive, may be stated in the 909form of a separately written license, or stated as exceptions; 910the above requirements apply either way. 911 912 8. Termination. 913 914 You may not propagate or modify a covered work except as expressly 915provided under this License. Any attempt otherwise to propagate or 916modify it is void, and will automatically terminate your rights under 917this License (including any patent licenses granted under the third 918paragraph of section 11). 919 920 However, if you cease all violation of this License, then your 921license from a particular copyright holder is reinstated (a) 922provisionally, unless and until the copyright holder explicitly and 923finally terminates your license, and (b) permanently, if the copyright 924holder fails to notify you of the violation by some reasonable means 925prior to 60 days after the cessation. 926 927 Moreover, your license from a particular copyright holder is 928reinstated permanently if the copyright holder notifies you of the 929violation by some reasonable means, this is the first time you have 930received notice of violation of this License (for any work) from that 931copyright holder, and you cure the violation prior to 30 days after 932your receipt of the notice. 933 934 Termination of your rights under this section does not terminate the 935licenses of parties who have received copies or rights from you under 936this License. If your rights have been terminated and not permanently 937reinstated, you do not qualify to receive new licenses for the same 938material under section 10. 939 940 9. Acceptance Not Required for Having Copies. 941 942 You are not required to accept this License in order to receive or 943run a copy of the Program. Ancillary propagation of a covered work 944occurring solely as a consequence of using peer-to-peer transmission 945to receive a copy likewise does not require acceptance. However, 946nothing other than this License grants you permission to propagate or 947modify any covered work. These actions infringe copyright if you do 948not accept this License. Therefore, by modifying or propagating a 949covered work, you indicate your acceptance of this License to do so. 950 951 10. Automatic Licensing of Downstream Recipients. 952 953 Each time you convey a covered work, the recipient automatically 954receives a license from the original licensors, to run, modify and 955propagate that work, subject to this License. You are not responsible 956for enforcing compliance by third parties with this License. 957 958 An "entity transaction" is a transaction transferring control of an 959organization, or substantially all assets of one, or subdividing an 960organization, or merging organizations. If propagation of a covered 961work results from an entity transaction, each party to that 962transaction who receives a copy of the work also receives whatever 963licenses to the work the party's predecessor in interest had or could 964give under the previous paragraph, plus a right to possession of the 965Corresponding Source of the work from the predecessor in interest, if 966the predecessor has it or can get it with reasonable efforts. 967 968 You may not impose any further restrictions on the exercise of the 969rights granted or affirmed under this License. For example, you may 970not impose a license fee, royalty, or other charge for exercise of 971rights granted under this License, and you may not initiate litigation 972(including a cross-claim or counterclaim in a lawsuit) alleging that 973any patent claim is infringed by making, using, selling, offering for 974sale, or importing the Program or any portion of it. 975 976 11. Patents. 977 978 A "contributor" is a copyright holder who authorizes use under this 979License of the Program or a work on which the Program is based. The 980work thus licensed is called the contributor's "contributor version". 981 982 A contributor's "essential patent claims" are all patent claims 983owned or controlled by the contributor, whether already acquired or 984hereafter acquired, that would be infringed by some manner, permitted 985by this License, of making, using, or selling its contributor version, 986but do not include claims that would be infringed only as a 987consequence of further modification of the contributor version. For 988purposes of this definition, "control" includes the right to grant 989patent sublicenses in a manner consistent with the requirements of 990this License. 991 992 Each contributor grants you a non-exclusive, worldwide, royalty-free 993patent license under the contributor's essential patent claims, to 994make, use, sell, offer for sale, import and otherwise run, modify and 995propagate the contents of its contributor version. 996 997 In the following three paragraphs, a "patent license" is any express 998agreement or commitment, however denominated, not to enforce a patent 999(such as an express permission to practice a patent or covenant not to 1000sue for patent infringement). To "grant" such a patent license to a 1001party means to make such an agreement or commitment not to enforce a 1002patent against the party. 1003 1004 If you convey a covered work, knowingly relying on a patent license, 1005and the Corresponding Source of the work is not available for anyone 1006to copy, free of charge and under the terms of this License, through a 1007publicly available network server or other readily accessible means, 1008then you must either (1) cause the Corresponding Source to be so 1009available, or (2) arrange to deprive yourself of the benefit of the 1010patent license for this particular work, or (3) arrange, in a manner 1011consistent with the requirements of this License, to extend the patent 1012license to downstream recipients. "Knowingly relying" means you have 1013actual knowledge that, but for the patent license, your conveying the 1014covered work in a country, or your recipient's use of the covered work 1015in a country, would infringe one or more identifiable patents in that 1016country that you have reason to believe are valid. 1017 1018 If, pursuant to or in connection with a single transaction or 1019arrangement, you convey, or propagate by procuring conveyance of, a 1020covered work, and grant a patent license to some of the parties 1021receiving the covered work authorizing them to use, propagate, modify 1022or convey a specific copy of the covered work, then the patent license 1023you grant is automatically extended to all recipients of the covered 1024work and works based on it. 1025 1026 A patent license is "discriminatory" if it does not include within 1027the scope of its coverage, prohibits the exercise of, or is 1028conditioned on the non-exercise of one or more of the rights that are 1029specifically granted under this License. You may not convey a covered 1030work if you are a party to an arrangement with a third party that is 1031in the business of distributing software, under which you make payment 1032to the third party based on the extent of your activity of conveying 1033the work, and under which the third party grants, to any of the 1034parties who would receive the covered work from you, a discriminatory 1035patent license (a) in connection with copies of the covered work 1036conveyed by you (or copies made from those copies), or (b) primarily 1037for and in connection with specific products or compilations that 1038contain the covered work, unless you entered into that arrangement, 1039or that patent license was granted, prior to 28 March 2007. 1040 1041 Nothing in this License shall be construed as excluding or limiting 1042any implied license or other defenses to infringement that may 1043otherwise be available to you under applicable patent law. 1044 1045 12. No Surrender of Others' Freedom. 1046 1047 If conditions are imposed on you (whether by court order, agreement or 1048otherwise) that contradict the conditions of this License, they do not 1049excuse you from the conditions of this License. If you cannot convey a 1050covered work so as to satisfy simultaneously your obligations under this 1051License and any other pertinent obligations, then as a consequence you may 1052not convey it at all. For example, if you agree to terms that obligate you 1053to collect a royalty for further conveying from those to whom you convey 1054the Program, the only way you could satisfy both those terms and this 1055License would be to refrain entirely from conveying the Program. 1056 1057 13. Use with the GNU Affero General Public License. 1058 1059 Notwithstanding any other provision of this License, you have 1060permission to link or combine any covered work with a work licensed 1061under version 3 of the GNU Affero General Public License into a single 1062combined work, and to convey the resulting work. The terms of this 1063License will continue to apply to the part which is the covered work, 1064but the special requirements of the GNU Affero General Public License, 1065section 13, concerning interaction through a network will apply to the 1066combination as such. 1067 1068 14. Revised Versions of this License. 1069 1070 The Free Software Foundation may publish revised and/or new versions of 1071the GNU General Public License from time to time. Such new versions will 1072be similar in spirit to the present version, but may differ in detail to 1073address new problems or concerns. 1074 1075 Each version is given a distinguishing version number. If the 1076Program specifies that a certain numbered version of the GNU General 1077Public License "or any later version" applies to it, you have the 1078option of following the terms and conditions either of that numbered 1079version or of any later version published by the Free Software 1080Foundation. If the Program does not specify a version number of the 1081GNU General Public License, you may choose any version ever published 1082by the Free Software Foundation. 1083 1084 If the Program specifies that a proxy can decide which future 1085versions of the GNU General Public License can be used, that proxy's 1086public statement of acceptance of a version permanently authorizes you 1087to choose that version for the Program. 1088 1089 Later license versions may give you additional or different 1090permissions. However, no additional obligations are imposed on any 1091author or copyright holder as a result of your choosing to follow a 1092later version. 1093 1094 15. Disclaimer of Warranty. 1095 1096 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 1097APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 1098HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 1099OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 1100THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1101PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 1102IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 1103ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1104 1105 16. Limitation of Liability. 1106 1107 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1108WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 1109THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 1110GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 1111USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 1112DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 1113PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 1114EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 1115SUCH DAMAGES. 1116 1117 17. Interpretation of Sections 15 and 16. 1118 1119 If the disclaimer of warranty and limitation of liability provided 1120above cannot be given local legal effect according to their terms, 1121reviewing courts shall apply local law that most closely approximates 1122an absolute waiver of all civil liability in connection with the 1123Program, unless a warranty or assumption of liability accompanies a 1124copy of the Program in return for a fee. 1125 1126 END OF TERMS AND CONDITIONS 1127 1128 How to Apply These Terms to Your New Programs 1129 1130 If you develop a new program, and you want it to be of the greatest 1131possible use to the public, the best way to achieve this is to make it 1132free software which everyone can redistribute and change under these terms. 1133 1134 To do so, attach the following notices to the program. It is safest 1135to attach them to the start of each source file to most effectively 1136state the exclusion of warranty; and each file should have at least 1137the "copyright" line and a pointer to where the full notice is found. 1138 1139 <one line to give the program's name and a brief idea of what it does.> 1140 Copyright (C) <year> <name of author> 1141 1142 This program is free software: you can redistribute it and/or modify 1143 it under the terms of the GNU General Public License as published by 1144 the Free Software Foundation, either version 3 of the License, or 1145 (at your option) any later version. 1146 1147 This program is distributed in the hope that it will be useful, 1148 but WITHOUT ANY WARRANTY; without even the implied warranty of 1149 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1150 GNU General Public License for more details. 1151 1152 You should have received a copy of the GNU General Public License 1153 along with this program. If not, see <http://www.gnu.org/licenses/>. 1154 1155Also add information on how to contact you by electronic and paper mail. 1156 1157 If the program does terminal interaction, make it output a short 1158notice like this when it starts in an interactive mode: 1159 1160 <program> Copyright (C) <year> <name of author> 1161 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 1162 This is free software, and you are welcome to redistribute it 1163 under certain conditions; type `show c' for details. 1164 1165The hypothetical commands `show w' and `show c' should show the appropriate 1166parts of the General Public License. Of course, your program's commands 1167might be different; for a GUI interface, you would use an "about box". 1168 1169 You should also get your employer (if you work as a programmer) or school, 1170if any, to sign a "copyright disclaimer" for the program, if necessary. 1171For more information on this, and how to apply and follow the GNU GPL, see 1172<http://www.gnu.org/licenses/>. 1173 1174 The GNU General Public License does not permit incorporating your program 1175into proprietary programs. If your program is a subroutine library, you 1176may consider it more useful to permit linking proprietary applications with 1177the library. If this is what you want to do, use the GNU Lesser General 1178Public License instead of this License. But first, please read 1179<http://www.gnu.org/philosophy/why-not-lgpl.html>. 1180 GNU LIBRARY GENERAL PUBLIC LICENSE 1181 Version 2, June 1991 1182 1183 Copyright (C) 1991 Free Software Foundation, Inc. 1184 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 1185 Everyone is permitted to copy and distribute verbatim copies 1186 of this license document, but changing it is not allowed. 1187 1188[This is the first released version of the library GPL. It is 1189 numbered 2 because it goes with version 2 of the ordinary GPL.] 1190 1191 Preamble 1192 1193 The licenses for most software are designed to take away your 1194freedom to share and change it. By contrast, the GNU General Public 1195Licenses are intended to guarantee your freedom to share and change 1196free software--to make sure the software is free for all its users. 1197 1198 This license, the Library General Public License, applies to some 1199specially designated Free Software Foundation software, and to any 1200other libraries whose authors decide to use it. You can use it for 1201your libraries, too. 1202 1203 When we speak of free software, we are referring to freedom, not 1204price. Our General Public Licenses are designed to make sure that you 1205have the freedom to distribute copies of free software (and charge for 1206this service if you wish), that you receive source code or can get it 1207if you want it, that you can change the software or use pieces of it 1208in new free programs; and that you know you can do these things. 1209 1210 To protect your rights, we need to make restrictions that forbid 1211anyone to deny you these rights or to ask you to surrender the rights. 1212These restrictions translate to certain responsibilities for you if 1213you distribute copies of the library, or if you modify it. 1214 1215 For example, if you distribute copies of the library, whether gratis 1216or for a fee, you must give the recipients all the rights that we gave 1217you. You must make sure that they, too, receive or can get the source 1218code. If you link a program with the library, you must provide 1219complete object files to the recipients so that they can relink them 1220with the library, after making changes to the library and recompiling 1221it. And you must show them these terms so they know their rights. 1222 1223 Our method of protecting your rights has two steps: (1) copyright 1224the library, and (2) offer you this license which gives you legal 1225permission to copy, distribute and/or modify the library. 1226 1227 Also, for each distributor's protection, we want to make certain 1228that everyone understands that there is no warranty for this free 1229library. If the library is modified by someone else and passed on, we 1230want its recipients to know that what they have is not the original 1231version, so that any problems introduced by others will not reflect on 1232the original authors' reputations. 1233 1234 Finally, any free program is threatened constantly by software 1235patents. We wish to avoid the danger that companies distributing free 1236software will individually obtain patent licenses, thus in effect 1237transforming the program into proprietary software. To prevent this, 1238we have made it clear that any patent must be licensed for everyone's 1239free use or not licensed at all. 1240 1241 Most GNU software, including some libraries, is covered by the ordinary 1242GNU General Public License, which was designed for utility programs. This 1243license, the GNU Library General Public License, applies to certain 1244designated libraries. This license is quite different from the ordinary 1245one; be sure to read it in full, and don't assume that anything in it is 1246the same as in the ordinary license. 1247 1248 The reason we have a separate public license for some libraries is that 1249they blur the distinction we usually make between modifying or adding to a 1250program and simply using it. Linking a program with a library, without 1251changing the library, is in some sense simply using the library, and is 1252analogous to running a utility program or application program. However, in 1253a textual and legal sense, the linked executable is a combined work, a 1254derivative of the original library, and the ordinary General Public License 1255treats it as such. 1256 1257 Because of this blurred distinction, using the ordinary General 1258Public License for libraries did not effectively promote software 1259sharing, because most developers did not use the libraries. We 1260concluded that weaker conditions might promote sharing better. 1261 1262 However, unrestricted linking of non-free programs would deprive the 1263users of those programs of all benefit from the free status of the 1264libraries themselves. This Library General Public License is intended to 1265permit developers of non-free programs to use free libraries, while 1266preserving your freedom as a user of such programs to change the free 1267libraries that are incorporated in them. (We have not seen how to achieve 1268this as regards changes in header files, but we have achieved it as regards 1269changes in the actual functions of the Library.) The hope is that this 1270will lead to faster development of free libraries. 1271 1272 The precise terms and conditions for copying, distribution and 1273modification follow. Pay close attention to the difference between a 1274"work based on the library" and a "work that uses the library". The 1275former contains code derived from the library, while the latter only 1276works together with the library. 1277 1278 Note that it is possible for a library to be covered by the ordinary 1279General Public License rather than by this special one. 1280 1281 GNU LIBRARY GENERAL PUBLIC LICENSE 1282 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1283 1284 0. This License Agreement applies to any software library which 1285contains a notice placed by the copyright holder or other authorized 1286party saying it may be distributed under the terms of this Library 1287General Public License (also called "this License"). Each licensee is 1288addressed as "you". 1289 1290 A "library" means a collection of software functions and/or data 1291prepared so as to be conveniently linked with application programs 1292(which use some of those functions and data) to form executables. 1293 1294 The "Library", below, refers to any such software library or work 1295which has been distributed under these terms. A "work based on the 1296Library" means either the Library or any derivative work under 1297copyright law: that is to say, a work containing the Library or a 1298portion of it, either verbatim or with modifications and/or translated 1299straightforwardly into another language. (Hereinafter, translation is 1300included without limitation in the term "modification".) 1301 1302 "Source code" for a work means the preferred form of the work for 1303making modifications to it. For a library, complete source code means 1304all the source code for all modules it contains, plus any associated 1305interface definition files, plus the scripts used to control compilation 1306and installation of the library. 1307 1308 Activities other than copying, distribution and modification are not 1309covered by this License; they are outside its scope. The act of 1310running a program using the Library is not restricted, and output from 1311such a program is covered only if its contents constitute a work based 1312on the Library (independent of the use of the Library in a tool for 1313writing it). Whether that is true depends on what the Library does 1314and what the program that uses the Library does. 1315 1316 1. You may copy and distribute verbatim copies of the Library's 1317complete source code as you receive it, in any medium, provided that 1318you conspicuously and appropriately publish on each copy an 1319appropriate copyright notice and disclaimer of warranty; keep intact 1320all the notices that refer to this License and to the absence of any 1321warranty; and distribute a copy of this License along with the 1322Library. 1323 1324 You may charge a fee for the physical act of transferring a copy, 1325and you may at your option offer warranty protection in exchange for a 1326fee. 1327 1328 2. You may modify your copy or copies of the Library or any portion 1329of it, thus forming a work based on the Library, and copy and 1330distribute such modifications or work under the terms of Section 1 1331above, provided that you also meet all of these conditions: 1332 1333 a) The modified work must itself be a software library. 1334 1335 b) You must cause the files modified to carry prominent notices 1336 stating that you changed the files and the date of any change. 1337 1338 c) You must cause the whole of the work to be licensed at no 1339 charge to all third parties under the terms of this License. 1340 1341 d) If a facility in the modified Library refers to a function or a 1342 table of data to be supplied by an application program that uses 1343 the facility, other than as an argument passed when the facility 1344 is invoked, then you must make a good faith effort to ensure that, 1345 in the event an application does not supply such function or 1346 table, the facility still operates, and performs whatever part of 1347 its purpose remains meaningful. 1348 1349 (For example, a function in a library to compute square roots has 1350 a purpose that is entirely well-defined independent of the 1351 application. Therefore, Subsection 2d requires that any 1352 application-supplied function or table used by this function must 1353 be optional: if the application does not supply it, the square 1354 root function must still compute square roots.) 1355 1356These requirements apply to the modified work as a whole. If 1357identifiable sections of that work are not derived from the Library, 1358and can be reasonably considered independent and separate works in 1359themselves, then this License, and its terms, do not apply to those 1360sections when you distribute them as separate works. But when you 1361distribute the same sections as part of a whole which is a work based 1362on the Library, the distribution of the whole must be on the terms of 1363this License, whose permissions for other licensees extend to the 1364entire whole, and thus to each and every part regardless of who wrote 1365it. 1366 1367Thus, it is not the intent of this section to claim rights or contest 1368your rights to work written entirely by you; rather, the intent is to 1369exercise the right to control the distribution of derivative or 1370collective works based on the Library. 1371 1372In addition, mere aggregation of another work not based on the Library 1373with the Library (or with a work based on the Library) on a volume of 1374a storage or distribution medium does not bring the other work under 1375the scope of this License. 1376 1377 3. You may opt to apply the terms of the ordinary GNU General Public 1378License instead of this License to a given copy of the Library. To do 1379this, you must alter all the notices that refer to this License, so 1380that they refer to the ordinary GNU General Public License, version 2, 1381instead of to this License. (If a newer version than version 2 of the 1382ordinary GNU General Public License has appeared, then you can specify 1383that version instead if you wish.) Do not make any other change in 1384these notices. 1385 1386 Once this change is made in a given copy, it is irreversible for 1387that copy, so the ordinary GNU General Public License applies to all 1388subsequent copies and derivative works made from that copy. 1389 1390 This option is useful when you wish to copy part of the code of 1391the Library into a program that is not a library. 1392 1393 4. You may copy and distribute the Library (or a portion or 1394derivative of it, under Section 2) in object code or executable form 1395under the terms of Sections 1 and 2 above provided that you accompany 1396it with the complete corresponding machine-readable source code, which 1397must be distributed under the terms of Sections 1 and 2 above on a 1398medium customarily used for software interchange. 1399 1400 If distribution of object code is made by offering access to copy 1401from a designated place, then offering equivalent access to copy the 1402source code from the same place satisfies the requirement to 1403distribute the source code, even though third parties are not 1404compelled to copy the source along with the object code. 1405 1406 5. A program that contains no derivative of any portion of the 1407Library, but is designed to work with the Library by being compiled or 1408linked with it, is called a "work that uses the Library". Such a 1409work, in isolation, is not a derivative work of the Library, and 1410therefore falls outside the scope of this License. 1411 1412 However, linking a "work that uses the Library" with the Library 1413creates an executable that is a derivative of the Library (because it 1414contains portions of the Library), rather than a "work that uses the 1415library". The executable is therefore covered by this License. 1416Section 6 states terms for distribution of such executables. 1417 1418 When a "work that uses the Library" uses material from a header file 1419that is part of the Library, the object code for the work may be a 1420derivative work of the Library even though the source code is not. 1421Whether this is true is especially significant if the work can be 1422linked without the Library, or if the work is itself a library. The 1423threshold for this to be true is not precisely defined by law. 1424 1425 If such an object file uses only numerical parameters, data 1426structure layouts and accessors, and small macros and small inline 1427functions (ten lines or less in length), then the use of the object 1428file is unrestricted, regardless of whether it is legally a derivative 1429work. (Executables containing this object code plus portions of the 1430Library will still fall under Section 6.) 1431 1432 Otherwise, if the work is a derivative of the Library, you may 1433distribute the object code for the work under the terms of Section 6. 1434Any executables containing that work also fall under Section 6, 1435whether or not they are linked directly with the Library itself. 1436 1437 6. As an exception to the Sections above, you may also compile or 1438link a "work that uses the Library" with the Library to produce a 1439work containing portions of the Library, and distribute that work 1440under terms of your choice, provided that the terms permit 1441modification of the work for the customer's own use and reverse 1442engineering for debugging such modifications. 1443 1444 You must give prominent notice with each copy of the work that the 1445Library is used in it and that the Library and its use are covered by 1446this License. You must supply a copy of this License. If the work 1447during execution displays copyright notices, you must include the 1448copyright notice for the Library among them, as well as a reference 1449directing the user to the copy of this License. Also, you must do one 1450of these things: 1451 1452 a) Accompany the work with the complete corresponding 1453 machine-readable source code for the Library including whatever 1454 changes were used in the work (which must be distributed under 1455 Sections 1 and 2 above); and, if the work is an executable linked 1456 with the Library, with the complete machine-readable "work that 1457 uses the Library", as object code and/or source code, so that the 1458 user can modify the Library and then relink to produce a modified 1459 executable containing the modified Library. (It is understood 1460 that the user who changes the contents of definitions files in the 1461 Library will not necessarily be able to recompile the application 1462 to use the modified definitions.) 1463 1464 b) Accompany the work with a written offer, valid for at 1465 least three years, to give the same user the materials 1466 specified in Subsection 6a, above, for a charge no more 1467 than the cost of performing this distribution. 1468 1469 c) If distribution of the work is made by offering access to copy 1470 from a designated place, offer equivalent access to copy the above 1471 specified materials from the same place. 1472 1473 d) Verify that the user has already received a copy of these 1474 materials or that you have already sent this user a copy. 1475 1476 For an executable, the required form of the "work that uses the 1477Library" must include any data and utility programs needed for 1478reproducing the executable from it. However, as a special exception, 1479the source code distributed need not include anything that is normally 1480distributed (in either source or binary form) with the major 1481components (compiler, kernel, and so on) of the operating system on 1482which the executable runs, unless that component itself accompanies 1483the executable. 1484 1485 It may happen that this requirement contradicts the license 1486restrictions of other proprietary libraries that do not normally 1487accompany the operating system. Such a contradiction means you cannot 1488use both them and the Library together in an executable that you 1489distribute. 1490 1491 7. You may place library facilities that are a work based on the 1492Library side-by-side in a single library together with other library 1493facilities not covered by this License, and distribute such a combined 1494library, provided that the separate distribution of the work based on 1495the Library and of the other library facilities is otherwise 1496permitted, and provided that you do these two things: 1497 1498 a) Accompany the combined library with a copy of the same work 1499 based on the Library, uncombined with any other library 1500 facilities. This must be distributed under the terms of the 1501 Sections above. 1502 1503 b) Give prominent notice with the combined library of the fact 1504 that part of it is a work based on the Library, and explaining 1505 where to find the accompanying uncombined form of the same work. 1506 1507 8. You may not copy, modify, sublicense, link with, or distribute 1508the Library except as expressly provided under this License. Any 1509attempt otherwise to copy, modify, sublicense, link with, or 1510distribute the Library is void, and will automatically terminate your 1511rights under this License. However, parties who have received copies, 1512or rights, from you under this License will not have their licenses 1513terminated so long as such parties remain in full compliance. 1514 1515 9. You are not required to accept this License, since you have not 1516signed it. However, nothing else grants you permission to modify or 1517distribute the Library or its derivative works. These actions are 1518prohibited by law if you do not accept this License. Therefore, by 1519modifying or distributing the Library (or any work based on the 1520Library), you indicate your acceptance of this License to do so, and 1521all its terms and conditions for copying, distributing or modifying 1522the Library or works based on it. 1523 1524 10. Each time you redistribute the Library (or any work based on the 1525Library), the recipient automatically receives a license from the 1526original licensor to copy, distribute, link with or modify the Library 1527subject to these terms and conditions. You may not impose any further 1528restrictions on the recipients' exercise of the rights granted herein. 1529You are not responsible for enforcing compliance by third parties to 1530this License. 1531 1532 11. If, as a consequence of a court judgment or allegation of patent 1533infringement or for any other reason (not limited to patent issues), 1534conditions are imposed on you (whether by court order, agreement or 1535otherwise) that contradict the conditions of this License, they do not 1536excuse you from the conditions of this License. If you cannot 1537distribute so as to satisfy simultaneously your obligations under this 1538License and any other pertinent obligations, then as a consequence you 1539may not distribute the Library at all. For example, if a patent 1540license would not permit royalty-free redistribution of the Library by 1541all those who receive copies directly or indirectly through you, then 1542the only way you could satisfy both it and this License would be to 1543refrain entirely from distribution of the Library. 1544 1545If any portion of this section is held invalid or unenforceable under any 1546particular circumstance, the balance of the section is intended to apply, 1547and the section as a whole is intended to apply in other circumstances. 1548 1549It is not the purpose of this section to induce you to infringe any 1550patents or other property right claims or to contest validity of any 1551such claims; this section has the sole purpose of protecting the 1552integrity of the free software distribution system which is 1553implemented by public license practices. Many people have made 1554generous contributions to the wide range of software distributed 1555through that system in reliance on consistent application of that 1556system; it is up to the author/donor to decide if he or she is willing 1557to distribute software through any other system and a licensee cannot 1558impose that choice. 1559 1560This section is intended to make thoroughly clear what is believed to 1561be a consequence of the rest of this License. 1562 1563 12. If the distribution and/or use of the Library is restricted in 1564certain countries either by patents or by copyrighted interfaces, the 1565original copyright holder who places the Library under this License may add 1566an explicit geographical distribution limitation excluding those countries, 1567so that distribution is permitted only in or among countries not thus 1568excluded. In such case, this License incorporates the limitation as if 1569written in the body of this License. 1570 1571 13. The Free Software Foundation may publish revised and/or new 1572versions of the Library General Public License from time to time. 1573Such new versions will be similar in spirit to the present version, 1574but may differ in detail to address new problems or concerns. 1575 1576Each version is given a distinguishing version number. If the Library 1577specifies a version number of this License which applies to it and 1578"any later version", you have the option of following the terms and 1579conditions either of that version or of any later version published by 1580the Free Software Foundation. If the Library does not specify a 1581license version number, you may choose any version ever published by 1582the Free Software Foundation. 1583 1584 14. If you wish to incorporate parts of the Library into other free 1585programs whose distribution conditions are incompatible with these, 1586write to the author to ask for permission. For software which is 1587copyrighted by the Free Software Foundation, write to the Free 1588Software Foundation; we sometimes make exceptions for this. Our 1589decision will be guided by the two goals of preserving the free status 1590of all derivatives of our free software and of promoting the sharing 1591and reuse of software generally. 1592 1593 NO WARRANTY 1594 1595 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 1596WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 1597EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 1598OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 1599KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 1600IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1601PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 1602LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 1603THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1604 1605 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 1606WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 1607AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 1608FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 1609CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 1610LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 1611RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 1612FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 1613SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 1614DAMAGES. 1615 1616 END OF TERMS AND CONDITIONS 1617 1618 Appendix: How to Apply These Terms to Your New Libraries 1619 1620 If you develop a new library, and you want it to be of the greatest 1621possible use to the public, we recommend making it free software that 1622everyone can redistribute and change. You can do so by permitting 1623redistribution under these terms (or, alternatively, under the terms of the 1624ordinary General Public License). 1625 1626 To apply these terms, attach the following notices to the library. It is 1627safest to attach them to the start of each source file to most effectively 1628convey the exclusion of warranty; and each file should have at least the 1629"copyright" line and a pointer to where the full notice is found. 1630 1631 <one line to give the library's name and a brief idea of what it does.> 1632 Copyright (C) <year> <name of author> 1633 1634 This library is free software; you can redistribute it and/or 1635 modify it under the terms of the GNU Library General Public 1636 License as published by the Free Software Foundation; either 1637 version 2 of the License, or (at your option) any later version. 1638 1639 This library is distributed in the hope that it will be useful, 1640 but WITHOUT ANY WARRANTY; without even the implied warranty of 1641 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1642 Library General Public License for more details. 1643 1644 You should have received a copy of the GNU Library General Public 1645 License along with this library; if not, write to the Free 1646 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 1647 MA 02110-1301, USA 1648 1649Also add information on how to contact you by electronic and paper mail. 1650 1651You should also get your employer (if you work as a programmer) or your 1652school, if any, to sign a "copyright disclaimer" for the library, if 1653necessary. Here is a sample; alter the names: 1654 1655 Yoyodyne, Inc., hereby disclaims all copyright interest in the 1656 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 1657 1658 <signature of Ty Coon>, 1 April 1990 1659 Ty Coon, President of Vice 1660 1661That's all there is to it! 1662 GNU GENERAL PUBLIC LICENSE 1663 Version 2, June 1991 1664 1665 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 1666 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1667 Everyone is permitted to copy and distribute verbatim copies 1668 of this license document, but changing it is not allowed. 1669 1670 Preamble 1671 1672 The licenses for most software are designed to take away your 1673freedom to share and change it. By contrast, the GNU General Public 1674License is intended to guarantee your freedom to share and change free 1675software--to make sure the software is free for all its users. This 1676General Public License applies to most of the Free Software 1677Foundation's software and to any other program whose authors commit to 1678using it. (Some other Free Software Foundation software is covered by 1679the GNU Library General Public License instead.) You can apply it to 1680your programs, too. 1681 1682 When we speak of free software, we are referring to freedom, not 1683price. Our General Public Licenses are designed to make sure that you 1684have the freedom to distribute copies of free software (and charge for 1685this service if you wish), that you receive source code or can get it 1686if you want it, that you can change the software or use pieces of it 1687in new free programs; and that you know you can do these things. 1688 1689 To protect your rights, we need to make restrictions that forbid 1690anyone to deny you these rights or to ask you to surrender the rights. 1691These restrictions translate to certain responsibilities for you if you 1692distribute copies of the software, or if you modify it. 1693 1694 For example, if you distribute copies of such a program, whether 1695gratis or for a fee, you must give the recipients all the rights that 1696you have. You must make sure that they, too, receive or can get the 1697source code. And you must show them these terms so they know their 1698rights. 1699 1700 We protect your rights with two steps: (1) copyright the software, and 1701(2) offer you this license which gives you legal permission to copy, 1702distribute and/or modify the software. 1703 1704 Also, for each author's protection and ours, we want to make certain 1705that everyone understands that there is no warranty for this free 1706software. If the software is modified by someone else and passed on, we 1707want its recipients to know that what they have is not the original, so 1708that any problems introduced by others will not reflect on the original 1709authors' reputations. 1710 1711 Finally, any free program is threatened constantly by software 1712patents. We wish to avoid the danger that redistributors of a free 1713program will individually obtain patent licenses, in effect making the 1714program proprietary. To prevent this, we have made it clear that any 1715patent must be licensed for everyone's free use or not licensed at all. 1716 1717 The precise terms and conditions for copying, distribution and 1718modification follow. 1719 1720 GNU GENERAL PUBLIC LICENSE 1721 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1722 1723 0. This License applies to any program or other work which contains 1724a notice placed by the copyright holder saying it may be distributed 1725under the terms of this General Public License. The "Program", below, 1726refers to any such program or work, and a "work based on the Program" 1727means either the Program or any derivative work under copyright law: 1728that is to say, a work containing the Program or a portion of it, 1729either verbatim or with modifications and/or translated into another 1730language. (Hereinafter, translation is included without limitation in 1731the term "modification".) Each licensee is addressed as "you". 1732 1733Activities other than copying, distribution and modification are not 1734covered by this License; they are outside its scope. The act of 1735running the Program is not restricted, and the output from the Program 1736is covered only if its contents constitute a work based on the 1737Program (independent of having been made by running the Program). 1738Whether that is true depends on what the Program does. 1739 1740 1. You may copy and distribute verbatim copies of the Program's 1741source code as you receive it, in any medium, provided that you 1742conspicuously and appropriately publish on each copy an appropriate 1743copyright notice and disclaimer of warranty; keep intact all the 1744notices that refer to this License and to the absence of any warranty; 1745and give any other recipients of the Program a copy of this License 1746along with the Program. 1747 1748You may charge a fee for the physical act of transferring a copy, and 1749you may at your option offer warranty protection in exchange for a fee. 1750 1751 2. You may modify your copy or copies of the Program or any portion 1752of it, thus forming a work based on the Program, and copy and 1753distribute such modifications or work under the terms of Section 1 1754above, provided that you also meet all of these conditions: 1755 1756 a) You must cause the modified files to carry prominent notices 1757 stating that you changed the files and the date of any change. 1758 1759 b) You must cause any work that you distribute or publish, that in 1760 whole or in part contains or is derived from the Program or any 1761 part thereof, to be licensed as a whole at no charge to all third 1762 parties under the terms of this License. 1763 1764 c) If the modified program normally reads commands interactively 1765 when run, you must cause it, when started running for such 1766 interactive use in the most ordinary way, to print or display an 1767 announcement including an appropriate copyright notice and a 1768 notice that there is no warranty (or else, saying that you provide 1769 a warranty) and that users may redistribute the program under 1770 these conditions, and telling the user how to view a copy of this 1771 License. (Exception: if the Program itself is interactive but 1772 does not normally print such an announcement, your work based on 1773 the Program is not required to print an announcement.) 1774 1775These requirements apply to the modified work as a whole. If 1776identifiable sections of that work are not derived from the Program, 1777and can be reasonably considered independent and separate works in 1778themselves, then this License, and its terms, do not apply to those 1779sections when you distribute them as separate works. But when you 1780distribute the same sections as part of a whole which is a work based 1781on the Program, the distribution of the whole must be on the terms of 1782this License, whose permissions for other licensees extend to the 1783entire whole, and thus to each and every part regardless of who wrote it. 1784 1785Thus, it is not the intent of this section to claim rights or contest 1786your rights to work written entirely by you; rather, the intent is to 1787exercise the right to control the distribution of derivative or 1788collective works based on the Program. 1789 1790In addition, mere aggregation of another work not based on the Program 1791with the Program (or with a work based on the Program) on a volume of 1792a storage or distribution medium does not bring the other work under 1793the scope of this License. 1794 1795 3. You may copy and distribute the Program (or a work based on it, 1796under Section 2) in object code or executable form under the terms of 1797Sections 1 and 2 above provided that you also do one of the following: 1798 1799 a) Accompany it with the complete corresponding machine-readable 1800 source code, which must be distributed under the terms of Sections 1801 1 and 2 above on a medium customarily used for software interchange; or, 1802 1803 b) Accompany it with a written offer, valid for at least three 1804 years, to give any third party, for a charge no more than your 1805 cost of physically performing source distribution, a complete 1806 machine-readable copy of the corresponding source code, to be 1807 distributed under the terms of Sections 1 and 2 above on a medium 1808 customarily used for software interchange; or, 1809 1810 c) Accompany it with the information you received as to the offer 1811 to distribute corresponding source code. (This alternative is 1812 allowed only for noncommercial distribution and only if you 1813 received the program in object code or executable form with such 1814 an offer, in accord with Subsection b above.) 1815 1816The source code for a work means the preferred form of the work for 1817making modifications to it. For an executable work, complete source 1818code means all the source code for all modules it contains, plus any 1819associated interface definition files, plus the scripts used to 1820control compilation and installation of the executable. However, as a 1821special exception, the source code distributed need not include 1822anything that is normally distributed (in either source or binary 1823form) with the major components (compiler, kernel, and so on) of the 1824operating system on which the executable runs, unless that component 1825itself accompanies the executable. 1826 1827If distribution of executable or object code is made by offering 1828access to copy from a designated place, then offering equivalent 1829access to copy the source code from the same place counts as 1830distribution of the source code, even though third parties are not 1831compelled to copy the source along with the object code. 1832 1833 4. You may not copy, modify, sublicense, or distribute the Program 1834except as expressly provided under this License. Any attempt 1835otherwise to copy, modify, sublicense or distribute the Program is 1836void, and will automatically terminate your rights under this License. 1837However, parties who have received copies, or rights, from you under 1838this License will not have their licenses terminated so long as such 1839parties remain in full compliance. 1840 1841 5. You are not required to accept this License, since you have not 1842signed it. However, nothing else grants you permission to modify or 1843distribute the Program or its derivative works. These actions are 1844prohibited by law if you do not accept this License. Therefore, by 1845modifying or distributing the Program (or any work based on the 1846Program), you indicate your acceptance of this License to do so, and 1847all its terms and conditions for copying, distributing or modifying 1848the Program or works based on it. 1849 1850 6. Each time you redistribute the Program (or any work based on the 1851Program), the recipient automatically receives a license from the 1852original licensor to copy, distribute or modify the Program subject to 1853these terms and conditions. You may not impose any further 1854restrictions on the recipients' exercise of the rights granted herein. 1855You are not responsible for enforcing compliance by third parties to 1856this License. 1857 1858 7. If, as a consequence of a court judgment or allegation of patent 1859infringement or for any other reason (not limited to patent issues), 1860conditions are imposed on you (whether by court order, agreement or 1861otherwise) that contradict the conditions of this License, they do not 1862excuse you from the conditions of this License. If you cannot 1863distribute so as to satisfy simultaneously your obligations under this 1864License and any other pertinent obligations, then as a consequence you 1865may not distribute the Program at all. For example, if a patent 1866license would not permit royalty-free redistribution of the Program by 1867all those who receive copies directly or indirectly through you, then 1868the only way you could satisfy both it and this License would be to 1869refrain entirely from distribution of the Program. 1870 1871If any portion of this section is held invalid or unenforceable under 1872any particular circumstance, the balance of the section is intended to 1873apply and the section as a whole is intended to apply in other 1874circumstances. 1875 1876It is not the purpose of this section to induce you to infringe any 1877patents or other property right claims or to contest validity of any 1878such claims; this section has the sole purpose of protecting the 1879integrity of the free software distribution system, which is 1880implemented by public license practices. Many people have made 1881generous contributions to the wide range of software distributed 1882through that system in reliance on consistent application of that 1883system; it is up to the author/donor to decide if he or she is willing 1884to distribute software through any other system and a licensee cannot 1885impose that choice. 1886 1887This section is intended to make thoroughly clear what is believed to 1888be a consequence of the rest of this License. 1889 1890 8. If the distribution and/or use of the Program is restricted in 1891certain countries either by patents or by copyrighted interfaces, the 1892original copyright holder who places the Program under this License 1893may add an explicit geographical distribution limitation excluding 1894those countries, so that distribution is permitted only in or among 1895countries not thus excluded. In such case, this License incorporates 1896the limitation as if written in the body of this License. 1897 1898 9. The Free Software Foundation may publish revised and/or new versions 1899of the General Public License from time to time. Such new versions will 1900be similar in spirit to the present version, but may differ in detail to 1901address new problems or concerns. 1902 1903Each version is given a distinguishing version number. If the Program 1904specifies a version number of this License which applies to it and "any 1905later version", you have the option of following the terms and conditions 1906either of that version or of any later version published by the Free 1907Software Foundation. If the Program does not specify a version number of 1908this License, you may choose any version ever published by the Free Software 1909Foundation. 1910 1911 10. If you wish to incorporate parts of the Program into other free 1912programs whose distribution conditions are different, write to the author 1913to ask for permission. For software which is copyrighted by the Free 1914Software Foundation, write to the Free Software Foundation; we sometimes 1915make exceptions for this. Our decision will be guided by the two goals 1916of preserving the free status of all derivatives of our free software and 1917of promoting the sharing and reuse of software generally. 1918 1919 NO WARRANTY 1920 1921 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 1922FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 1923OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 1924PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 1925OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1926MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 1927TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 1928PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 1929REPAIR OR CORRECTION. 1930 1931 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1932WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 1933REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 1934INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 1935OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 1936TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 1937YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 1938PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 1939POSSIBILITY OF SUCH DAMAGES. 1940 1941 END OF TERMS AND CONDITIONS 1942 1943 How to Apply These Terms to Your New Programs 1944 1945 If you develop a new program, and you want it to be of the greatest 1946possible use to the public, the best way to achieve this is to make it 1947free software which everyone can redistribute and change under these terms. 1948 1949 To do so, attach the following notices to the program. It is safest 1950to attach them to the start of each source file to most effectively 1951convey the exclusion of warranty; and each file should have at least 1952the "copyright" line and a pointer to where the full notice is found. 1953 1954 <one line to give the program's name and a brief idea of what it does.> 1955 Copyright (C) <year> <name of author> 1956 1957 This program is free software; you can redistribute it and/or modify 1958 it under the terms of the GNU General Public License as published by 1959 the Free Software Foundation; either version 2 of the License, or 1960 (at your option) any later version. 1961 1962 This program is distributed in the hope that it will be useful, 1963 but WITHOUT ANY WARRANTY; without even the implied warranty of 1964 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1965 GNU General Public License for more details. 1966 1967 You should have received a copy of the GNU General Public License 1968 along with this program; if not, write to the Free Software 1969 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 1970 1971 1972Also add information on how to contact you by electronic and paper mail. 1973 1974If the program is interactive, make it output a short notice like this 1975when it starts in an interactive mode: 1976 1977 Gnomovision version 69, Copyright (C) year name of author 1978 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 1979 This is free software, and you are welcome to redistribute it 1980 under certain conditions; type `show c' for details. 1981 1982The hypothetical commands `show w' and `show c' should show the appropriate 1983parts of the General Public License. Of course, the commands you use may 1984be called something other than `show w' and `show c'; they could even be 1985mouse-clicks or menu items--whatever suits your program. 1986 1987You should also get your employer (if you work as a programmer) or your 1988school, if any, to sign a "copyright disclaimer" for the program, if 1989necessary. Here is a sample; alter the names: 1990 1991 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 1992 `Gnomovision' (which makes passes at compilers) written by James Hacker. 1993 1994 <signature of Ty Coon>, 1 April 1989 1995 Ty Coon, President of Vice 1996 1997This General Public License does not permit incorporating your program into 1998proprietary programs. If your program is a subroutine library, you may 1999consider it more useful to permit linking proprietary applications with the 2000library. If this is what you want to do, use the GNU Library General 2001Public License instead of this License. 2002 GNU LESSER GENERAL PUBLIC LICENSE 2003 Version 3, 29 June 2007 2004 2005 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 2006 Everyone is permitted to copy and distribute verbatim copies 2007 of this license document, but changing it is not allowed. 2008 2009 2010 This version of the GNU Lesser General Public License incorporates 2011the terms and conditions of version 3 of the GNU General Public 2012License, supplemented by the additional permissions listed below. 2013 2014 0. Additional Definitions. 2015 2016 As used herein, "this License" refers to version 3 of the GNU Lesser 2017General Public License, and the "GNU GPL" refers to version 3 of the GNU 2018General Public License. 2019 2020 "The Library" refers to a covered work governed by this License, 2021other than an Application or a Combined Work as defined below. 2022 2023 An "Application" is any work that makes use of an interface provided 2024by the Library, but which is not otherwise based on the Library. 2025Defining a subclass of a class defined by the Library is deemed a mode 2026of using an interface provided by the Library. 2027 2028 A "Combined Work" is a work produced by combining or linking an 2029Application with the Library. The particular version of the Library 2030with which the Combined Work was made is also called the "Linked 2031Version". 2032 2033 The "Minimal Corresponding Source" for a Combined Work means the 2034Corresponding Source for the Combined Work, excluding any source code 2035for portions of the Combined Work that, considered in isolation, are 2036based on the Application, and not on the Linked Version. 2037 2038 The "Corresponding Application Code" for a Combined Work means the 2039object code and/or source code for the Application, including any data 2040and utility programs needed for reproducing the Combined Work from the 2041Application, but excluding the System Libraries of the Combined Work. 2042 2043 1. Exception to Section 3 of the GNU GPL. 2044 2045 You may convey a covered work under sections 3 and 4 of this License 2046without being bound by section 3 of the GNU GPL. 2047 2048 2. Conveying Modified Versions. 2049 2050 If you modify a copy of the Library, and, in your modifications, a 2051facility refers to a function or data to be supplied by an Application 2052that uses the facility (other than as an argument passed when the 2053facility is invoked), then you may convey a copy of the modified 2054version: 2055 2056 a) under this License, provided that you make a good faith effort to 2057 ensure that, in the event an Application does not supply the 2058 function or data, the facility still operates, and performs 2059 whatever part of its purpose remains meaningful, or 2060 2061 b) under the GNU GPL, with none of the additional permissions of 2062 this License applicable to that copy. 2063 2064 3. Object Code Incorporating Material from Library Header Files. 2065 2066 The object code form of an Application may incorporate material from 2067a header file that is part of the Library. You may convey such object 2068code under terms of your choice, provided that, if the incorporated 2069material is not limited to numerical parameters, data structure 2070layouts and accessors, or small macros, inline functions and templates 2071(ten or fewer lines in length), you do both of the following: 2072 2073 a) Give prominent notice with each copy of the object code that the 2074 Library is used in it and that the Library and its use are 2075 covered by this License. 2076 2077 b) Accompany the object code with a copy of the GNU GPL and this license 2078 document. 2079 2080 4. Combined Works. 2081 2082 You may convey a Combined Work under terms of your choice that, 2083taken together, effectively do not restrict modification of the 2084portions of the Library contained in the Combined Work and reverse 2085engineering for debugging such modifications, if you also do each of 2086the following: 2087 2088 a) Give prominent notice with each copy of the Combined Work that 2089 the Library is used in it and that the Library and its use are 2090 covered by this License. 2091 2092 b) Accompany the Combined Work with a copy of the GNU GPL and this license 2093 document. 2094 2095 c) For a Combined Work that displays copyright notices during 2096 execution, include the copyright notice for the Library among 2097 these notices, as well as a reference directing the user to the 2098 copies of the GNU GPL and this license document. 2099 2100 d) Do one of the following: 2101 2102 0) Convey the Minimal Corresponding Source under the terms of this 2103 License, and the Corresponding Application Code in a form 2104 suitable for, and under terms that permit, the user to 2105 recombine or relink the Application with a modified version of 2106 the Linked Version to produce a modified Combined Work, in the 2107 manner specified by section 6 of the GNU GPL for conveying 2108 Corresponding Source. 2109 2110 1) Use a suitable shared library mechanism for linking with the 2111 Library. A suitable mechanism is one that (a) uses at run time 2112 a copy of the Library already present on the user's computer 2113 system, and (b) will operate properly with a modified version 2114 of the Library that is interface-compatible with the Linked 2115 Version. 2116 2117 e) Provide Installation Information, but only if you would otherwise 2118 be required to provide such information under section 6 of the 2119 GNU GPL, and only to the extent that such information is 2120 necessary to install and execute a modified version of the 2121 Combined Work produced by recombining or relinking the 2122 Application with a modified version of the Linked Version. (If 2123 you use option 4d0, the Installation Information must accompany 2124 the Minimal Corresponding Source and Corresponding Application 2125 Code. If you use option 4d1, you must provide the Installation 2126 Information in the manner specified by section 6 of the GNU GPL 2127 for conveying Corresponding Source.) 2128 2129 5. Combined Libraries. 2130 2131 You may place library facilities that are a work based on the 2132Library side by side in a single library together with other library 2133facilities that are not Applications and are not covered by this 2134License, and convey such a combined library under terms of your 2135choice, if you do both of the following: 2136 2137 a) Accompany the combined library with a copy of the same work based 2138 on the Library, uncombined with any other library facilities, 2139 conveyed under the terms of this License. 2140 2141 b) Give prominent notice with the combined library that part of it 2142 is a work based on the Library, and explaining where to find the 2143 accompanying uncombined form of the same work. 2144 2145 6. Revised Versions of the GNU Lesser General Public License. 2146 2147 The Free Software Foundation may publish revised and/or new versions 2148of the GNU Lesser General Public License from time to time. Such new 2149versions will be similar in spirit to the present version, but may 2150differ in detail to address new problems or concerns. 2151 2152 Each version is given a distinguishing version number. If the 2153Library as you received it specifies that a certain numbered version 2154of the GNU Lesser General Public License "or any later version" 2155applies to it, you have the option of following the terms and 2156conditions either of that published version or of any later version 2157published by the Free Software Foundation. If the Library as you 2158received it does not specify a version number of the GNU Lesser 2159General Public License, you may choose any version of the GNU Lesser 2160General Public License ever published by the Free Software Foundation. 2161 2162 If the Library as you received it specifies that a proxy can decide 2163whether future versions of the GNU Lesser General Public License shall 2164apply, that proxy's public statement of acceptance of any version is 2165permanent authorization for you to choose that version for the 2166Library. 2167The newlib subdirectory is a collection of software from several sources. 2168 2169Each file may have its own copyright/license that is embedded in the source 2170file. Unless otherwise noted in the body of the source file(s), the following copyright 2171notices will apply to the contents of the newlib subdirectory: 2172 2173(1) Red Hat Incorporated 2174 2175Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved. 2176 2177This copyrighted material is made available to anyone wishing to use, 2178modify, copy, or redistribute it subject to the terms and conditions 2179of the BSD License. This program is distributed in the hope that 2180it will be useful, but WITHOUT ANY WARRANTY expressed or implied, 2181including the implied warranties of MERCHANTABILITY or FITNESS FOR 2182A PARTICULAR PURPOSE. A copy of this license is available at 2183http://www.opensource.org/licenses. Any Red Hat trademarks that are 2184incorporated in the source code or documentation are not subject to 2185the BSD License and may only be used or replicated with the express 2186permission of Red Hat, Inc. 2187 2188(2) University of California, Berkeley 2189 2190Copyright (c) 1981-2000 The Regents of the University of California. 2191All rights reserved. 2192 2193Redistribution and use in source and binary forms, with or without modification, 2194are permitted provided that the following conditions are met: 2195 2196 * Redistributions of source code must retain the above copyright notice, 2197 this list of conditions and the following disclaimer. 2198 * Redistributions in binary form must reproduce the above copyright notice, 2199 this list of conditions and the following disclaimer in the documentation 2200 and/or other materials provided with the distribution. 2201 * Neither the name of the University nor the names of its contributors 2202 may be used to endorse or promote products derived from this software 2203 without specific prior written permission. 2204 2205THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 2206AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 2207WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2208IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 2209INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2210NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 2211PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 2212WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2213ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 2214OF SUCH DAMAGE. 2215 2216(3) David M. Gay (AT&T 1991, Lucent 1998) 2217 2218The author of this software is David M. Gay. 2219 2220Copyright (c) 1991 by AT&T. 2221 2222Permission to use, copy, modify, and distribute this software for any 2223purpose without fee is hereby granted, provided that this entire notice 2224is included in all copies of any software which is or includes a copy 2225or modification of this software and in all copies of the supporting 2226documentation for such software. 2227 2228THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED 2229WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY 2230REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY 2231OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. 2232 2233------------------------------------------------------------------- 2234 2235The author of this software is David M. Gay. 2236 2237Copyright (C) 1998-2001 by Lucent Technologies 2238All Rights Reserved 2239 2240Permission to use, copy, modify, and distribute this software and 2241its documentation for any purpose and without fee is hereby 2242granted, provided that the above copyright notice appear in all 2243copies and that both that the copyright notice and this 2244permission notice and warranty disclaimer appear in supporting 2245documentation, and that the name of Lucent or any of its entities 2246not be used in advertising or publicity pertaining to 2247distribution of the software without specific, written prior 2248permission. 2249 2250LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 2251INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. 2252IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY 2253SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 2254WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER 2255IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 2256ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 2257THIS SOFTWARE. 2258 2259 2260(4) Advanced Micro Devices 2261 2262Copyright 1989, 1990 Advanced Micro Devices, Inc. 2263 2264This software is the property of Advanced Micro Devices, Inc (AMD) which 2265specifically grants the user the right to modify, use and distribute this 2266software provided this notice is not removed or altered. All other rights 2267are reserved by AMD. 2268 2269AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS 2270SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL 2271DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR 2272USE OF THIS SOFTWARE. 2273 2274So that all may benefit from your experience, please report any problems 2275or suggestions about this software to the 29K Technical Support Center at 2276800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or 22770031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118. 2278 2279Advanced Micro Devices, Inc. 228029K Support Products 2281Mail Stop 573 22825900 E. Ben White Blvd. 2283Austin, TX 78741 2284800-292-9263 2285 2286(5) 2287 2288(6) 2289 2290(7) Sun Microsystems 2291 2292Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 2293 2294Developed at SunPro, a Sun Microsystems, Inc. business. 2295Permission to use, copy, modify, and distribute this 2296software is freely granted, provided that this notice is preserved. 2297 2298(8) Hewlett Packard 2299 2300(c) Copyright 1986 HEWLETT-PACKARD COMPANY 2301 2302To anyone who acknowledges that this file is provided "AS IS" 2303without any express or implied warranty: 2304 permission to use, copy, modify, and distribute this file 2305for any purpose is hereby granted without fee, provided that 2306the above copyright notice and this notice appears in all 2307copies, and that the name of Hewlett-Packard Company not be 2308used in advertising or publicity pertaining to distribution 2309of the software without specific, written prior permission. 2310Hewlett-Packard Company makes no representations about the 2311suitability of this software for any purpose. 2312 2313(9) Hans-Peter Nilsson 2314 2315Copyright (C) 2001 Hans-Peter Nilsson 2316 2317Permission to use, copy, modify, and distribute this software is 2318freely granted, provided that the above copyright notice, this notice 2319and the following disclaimer are preserved with no changes. 2320 2321THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 2322IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 2323WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2324PURPOSE. 2325 2326(10) Stephane Carrez (m68hc11-elf/m68hc12-elf targets only) 2327 2328Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez ([email protected]) 2329 2330The authors hereby grant permission to use, copy, modify, distribute, 2331and license this software and its documentation for any purpose, provided 2332that existing copyright notices are retained in all copies and that this 2333notice is included verbatim in any distributions. No written agreement, 2334license, or royalty fee is required for any of the authorized uses. 2335Modifications to this software may be copyrighted by their authors 2336and need not follow the licensing terms described here, provided that 2337the new terms are clearly indicated on the first page of each file where 2338they apply. 2339 2340(11) Christopher G. Demetriou 2341 2342Copyright (c) 2001 Christopher G. Demetriou 2343All rights reserved. 2344 2345Redistribution and use in source and binary forms, with or without 2346modification, are permitted provided that the following conditions 2347are met: 23481. Redistributions of source code must retain the above copyright 2349 notice, this list of conditions and the following disclaimer. 23502. Redistributions in binary form must reproduce the above copyright 2351 notice, this list of conditions and the following disclaimer in the 2352 documentation and/or other materials provided with the distribution. 23533. The name of the author may not be used to endorse or promote products 2354 derived from this software without specific prior written permission. 2355 2356THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 2357IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2358OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2359IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2360INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2361NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2362DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2363THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2364(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2365THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2366 2367(12) SuperH, Inc. 2368 2369Copyright 2002 SuperH, Inc. All rights reserved 2370 2371This software is the property of SuperH, Inc (SuperH) which specifically 2372grants the user the right to modify, use and distribute this software 2373provided this notice is not removed or altered. All other rights are 2374reserved by SuperH. 2375 2376SUPERH MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO 2377THIS SOFTWARE. IN NO EVENT SHALL SUPERH BE LIABLE FOR INDIRECT, SPECIAL, 2378INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM 2379THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE. 2380 2381So that all may benefit from your experience, please report any problems 2382or suggestions about this software to the SuperH Support Center via 2383e-mail at [email protected] . 2384 2385SuperH, Inc. 2386405 River Oaks Parkway 2387San Jose 2388CA 95134 2389USA 2390 2391(13) Royal Institute of Technology 2392 2393Copyright (c) 1999 Kungliga Tekniska Högskolan 2394(Royal Institute of Technology, Stockholm, Sweden). 2395All rights reserved. 2396 2397Redistribution and use in source and binary forms, with or without 2398modification, are permitted provided that the following conditions 2399are met: 2400 24011. Redistributions of source code must retain the above copyright 2402 notice, this list of conditions and the following disclaimer. 2403 24042. Redistributions in binary form must reproduce the above copyright 2405 notice, this list of conditions and the following disclaimer in the 2406 documentation and/or other materials provided with the distribution. 2407 24083. Neither the name of KTH nor the names of its contributors may be 2409 used to endorse or promote products derived from this software without 2410 specific prior written permission. 2411 2412THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY 2413EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2414IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 2415PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE 2416LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2417CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2418SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 2419BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 2420WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 2421OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 2422ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2423 2424(14) Alexey Zelkin 2425 2426Copyright (c) 2000, 2001 Alexey Zelkin <[email protected]> 2427All rights reserved. 2428 2429Redistribution and use in source and binary forms, with or without 2430modification, are permitted provided that the following conditions 2431are met: 24321. Redistributions of source code must retain the above copyright 2433 notice, this list of conditions and the following disclaimer. 24342. Redistributions in binary form must reproduce the above copyright 2435 notice, this list of conditions and the following disclaimer in the 2436 documentation and/or other materials provided with the distribution. 2437 2438THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2439ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2440IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2441ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2442FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2443DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2444OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2445HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2446LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2447OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2448SUCH DAMAGE. 2449 2450(15) Andrey A. Chernov 2451 2452Copyright (C) 1997 by Andrey A. Chernov, Moscow, Russia. 2453All rights reserved. 2454 2455Redistribution and use in source and binary forms, with or without 2456modification, are permitted provided that the following conditions 2457are met: 24581. Redistributions of source code must retain the above copyright 2459 notice, this list of conditions and the following disclaimer. 24602. Redistributions in binary form must reproduce the above copyright 2461 notice, this list of conditions and the following disclaimer in the 2462 documentation and/or other materials provided with the distribution. 2463 2464THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 2465ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2466IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2467ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2468FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2469DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2470OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2471HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2472LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2473OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2474SUCH DAMAGE. 2475 2476(16) FreeBSD 2477 2478Copyright (c) 1997-2002 FreeBSD Project. 2479All rights reserved. 2480 2481Redistribution and use in source and binary forms, with or without 2482modification, are permitted provided that the following conditions 2483are met: 24841. Redistributions of source code must retain the above copyright 2485 notice, this list of conditions and the following disclaimer. 24862. Redistributions in binary form must reproduce the above copyright 2487 notice, this list of conditions and the following disclaimer in the 2488 documentation and/or other materials provided with the distribution. 2489 2490THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2491ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2492IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2493ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2494FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2495DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2496OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2497HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2498LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2499OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2500SUCH DAMAGE. 2501 2502(17) S. L. Moshier 2503 2504Author: S. L. Moshier. 2505 2506Copyright (c) 1984,2000 S.L. Moshier 2507 2508Permission to use, copy, modify, and distribute this software for any 2509purpose without fee is hereby granted, provided that this entire notice 2510is included in all copies of any software which is or includes a copy 2511or modification of this software and in all copies of the supporting 2512documentation for such software. 2513 2514THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED 2515WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION 2516OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS 2517SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. 2518 2519(18) Citrus Project 2520 2521Copyright (c)1999 Citrus Project, 2522All rights reserved. 2523 2524Redistribution and use in source and binary forms, with or without 2525modification, are permitted provided that the following conditions 2526are met: 25271. Redistributions of source code must retain the above copyright 2528 notice, this list of conditions and the following disclaimer. 25292. Redistributions in binary form must reproduce the above copyright 2530 notice, this list of conditions and the following disclaimer in the 2531 documentation and/or other materials provided with the distribution. 2532 2533THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2534ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2535IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2536ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2537FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2538DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2539OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2540HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2541LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2542OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2543SUCH DAMAGE. 2544 2545(19) Todd C. Miller 2546 2547Copyright (c) 1998 Todd C. Miller <[email protected]> 2548All rights reserved. 2549 2550Redistribution and use in source and binary forms, with or without 2551modification, are permitted provided that the following conditions 2552are met: 25531. Redistributions of source code must retain the above copyright 2554 notice, this list of conditions and the following disclaimer. 25552. Redistributions in binary form must reproduce the above copyright 2556 notice, this list of conditions and the following disclaimer in the 2557 documentation and/or other materials provided with the distribution. 25583. The name of the author may not be used to endorse or promote products 2559 derived from this software without specific prior written permission. 2560 2561THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 2562INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 2563AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 2564THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 2565EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 2566PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 2567OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 2568WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 2569OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 2570ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2571 2572(20) DJ Delorie (i386) 2573Copyright (C) 1991 DJ Delorie 2574All rights reserved. 2575 2576Redistribution, modification, and use in source and binary forms is permitted 2577provided that the above copyright notice and following paragraph are 2578duplicated in all such forms. 2579 2580This file is distributed WITHOUT ANY WARRANTY; without even the implied 2581warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 2582 2583(21) Free Software Foundation LGPL License (*-linux* targets only) 2584 2585 Copyright (C) 1990-1999, 2000, 2001 Free Software Foundation, Inc. 2586 This file is part of the GNU C Library. 2587 Contributed by Mark Kettenis <[email protected]>, 1997. 2588 2589 The GNU C Library is free software; you can redistribute it and/or 2590 modify it under the terms of the GNU Lesser General Public 2591 License as published by the Free Software Foundation; either 2592 version 2.1 of the License, or (at your option) any later version. 2593 2594 The GNU C Library is distributed in the hope that it will be useful, 2595 but WITHOUT ANY WARRANTY; without even the implied warranty of 2596 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2597 Lesser General Public License for more details. 2598 2599 You should have received a copy of the GNU Lesser General Public 2600 License along with the GNU C Library; if not, write to the Free 2601 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 2602 02110-1301 USA. 2603 2604(22) Xavier Leroy LGPL License (i[3456]86-*-linux* targets only) 2605 2606Copyright (C) 1996 Xavier Leroy ([email protected]) 2607 2608This program is free software; you can redistribute it and/or 2609modify it under the terms of the GNU Library General Public License 2610as published by the Free Software Foundation; either version 2 2611of the License, or (at your option) any later version. 2612 2613This program is distributed in the hope that it will be useful, 2614but WITHOUT ANY WARRANTY; without even the implied warranty of 2615MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2616GNU Library General Public License for more details. 2617 2618(23) Intel (i960) 2619 2620Copyright (c) 1993 Intel Corporation 2621 2622Intel hereby grants you permission to copy, modify, and distribute this 2623software and its documentation. Intel grants this permission provided 2624that the above copyright notice appears in all copies and that both the 2625copyright notice and this permission notice appear in supporting 2626documentation. In addition, Intel grants this permission provided that 2627you prominently mark as "not part of the original" any modifications 2628made to this software or documentation, and that the name of Intel 2629Corporation not be used in advertising or publicity pertaining to 2630distribution of the software or the documentation without specific, 2631written prior permission. 2632 2633Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR 2634IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY 2635OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or 2636representations regarding the use of, or the results of the use of, 2637the software and documentation in terms of correctness, accuracy, 2638reliability, currentness, or otherwise; and you rely on the software, 2639documentation and results solely at your own risk. 2640 2641IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS, 2642LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES 2643OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM 2644PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER. 2645 2646(24) Hewlett-Packard (hppa targets only) 2647 2648(c) Copyright 1986 HEWLETT-PACKARD COMPANY 2649 2650To anyone who acknowledges that this file is provided "AS IS" 2651without any express or implied warranty: 2652 permission to use, copy, modify, and distribute this file 2653for any purpose is hereby granted without fee, provided that 2654the above copyright notice and this notice appears in all 2655copies, and that the name of Hewlett-Packard Company not be 2656used in advertising or publicity pertaining to distribution 2657of the software without specific, written prior permission. 2658Hewlett-Packard Company makes no representations about the 2659suitability of this software for any purpose. 2660 2661(25) Henry Spencer (only *-linux targets) 2662 2663Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved. 2664This software is not subject to any license of the American Telephone 2665and Telegraph Company or of the Regents of the University of California. 2666 2667Permission is granted to anyone to use this software for any purpose on 2668any computer system, and to alter it and redistribute it, subject 2669to the following restrictions: 2670 26711. The author is not responsible for the consequences of use of this 2672 software, no matter how awful, even if they arise from flaws in it. 2673 26742. The origin of this software must not be misrepresented, either by 2675 explicit claim or by omission. Since few users ever read sources, 2676 credits must appear in the documentation. 2677 26783. Altered versions must be plainly marked as such, and must not be 2679 misrepresented as being the original software. Since few users 2680 ever read sources, credits must appear in the documentation. 2681 26824. This notice may not be removed or altered. 2683 2684(26) Mike Barcroft 2685 2686Copyright (c) 2001 Mike Barcroft <[email protected]> 2687All rights reserved. 2688 2689Redistribution and use in source and binary forms, with or without 2690modification, are permitted provided that the following conditions 2691are met: 26921. Redistributions of source code must retain the above copyright 2693 notice, this list of conditions and the following disclaimer. 26942. Redistributions in binary form must reproduce the above copyright 2695 notice, this list of conditions and the following disclaimer in the 2696 documentation and/or other materials provided with the distribution. 2697 2698THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2699ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2700IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2701ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2702FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2703DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2704OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2705HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2706LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2707OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2708SUCH DAMAGE. 2709 2710(27) Konstantin Chuguev (--enable-newlib-iconv) 2711 2712Copyright (c) 1999, 2000 2713 Konstantin Chuguev. All rights reserved. 2714 2715Redistribution and use in source and binary forms, with or without 2716modification, are permitted provided that the following conditions 2717are met: 27181. Redistributions of source code must retain the above copyright 2719 notice, this list of conditions and the following disclaimer. 27202. Redistributions in binary form must reproduce the above copyright 2721 notice, this list of conditions and the following disclaimer in the 2722 documentation and/or other materials provided with the distribution. 2723 2724THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2725ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2726IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2727ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2728FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2729DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2730OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2731HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2732LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2733OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2734SUCH DAMAGE. 2735 2736 iconv (Charset Conversion Library) v2.0 2737 2738(28) Artem Bityuckiy (--enable-newlib-iconv) 2739 2740Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation. 2741Rights transferred to Franklin Electronic Publishers. 2742 2743Redistribution and use in source and binary forms, with or without 2744modification, are permitted provided that the following conditions 2745are met: 27461. Redistributions of source code must retain the above copyright 2747 notice, this list of conditions and the following disclaimer. 27482. Redistributions in binary form must reproduce the above copyright 2749 notice, this list of conditions and the following disclaimer in the 2750 documentation and/or other materials provided with the distribution. 2751 2752THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2753ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2754IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2755ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2756FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2757DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2758OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2759HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2760LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2762SUCH DAMAGE. 2763 2764(29) IBM, Sony, Toshiba (only spu-* targets) 2765 2766 (C) Copyright 2001,2006, 2767 International Business Machines Corporation, 2768 Sony Computer Entertainment, Incorporated, 2769 Toshiba Corporation, 2770 2771 All rights reserved. 2772 2773 Redistribution and use in source and binary forms, with or without 2774 modification, are permitted provided that the following conditions are met: 2775 2776 * Redistributions of source code must retain the above copyright notice, 2777 this list of conditions and the following disclaimer. 2778 * Redistributions in binary form must reproduce the above copyright 2779 notice, this list of conditions and the following disclaimer in the 2780 documentation and/or other materials provided with the distribution. 2781 * Neither the names of the copyright holders nor the names of their 2782 contributors may be used to endorse or promote products derived from this 2783 software without specific prior written permission. 2784 2785 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 2786 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2787 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2788 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 2789 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2790 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2791 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2792 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2793 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2794 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2795 POSSIBILITY OF SUCH DAMAGE. 2796 2797(30) - Alex Tatmanjants (targets using libc/posix) 2798 2799 Copyright (c) 1995 Alex Tatmanjants <[email protected]> 2800 at Electronni Visti IA, Kiev, Ukraine. 2801 All rights reserved. 2802 2803 Redistribution and use in source and binary forms, with or without 2804 modification, are permitted provided that the following conditions 2805 are met: 2806 1. Redistributions of source code must retain the above copyright 2807 notice, this list of conditions and the following disclaimer. 2808 2. Redistributions in binary form must reproduce the above copyright 2809 notice, this list of conditions and the following disclaimer in the 2810 documentation and/or other materials provided with the distribution. 2811 2812 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 2813 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2814 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2815 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 2816 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2817 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2818 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2819 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2820 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2821 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2822 SUCH DAMAGE. 2823 2824(31) - M. Warner Losh (targets using libc/posix) 2825 2826 Copyright (c) 1998, M. Warner Losh <[email protected]> 2827 All rights reserved. 2828 2829 Redistribution and use in source and binary forms, with or without 2830 modification, are permitted provided that the following conditions 2831 are met: 2832 1. Redistributions of source code must retain the above copyright 2833 notice, this list of conditions and the following disclaimer. 2834 2. Redistributions in binary form must reproduce the above copyright 2835 notice, this list of conditions and the following disclaimer in the 2836 documentation and/or other materials provided with the distribution. 2837 2838 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2839 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2840 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2841 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2842 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2843 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2844 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2845 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2846 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2847 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2848 SUCH DAMAGE. 2849 2850(32) - Andrey A. Chernov (targets using libc/posix) 2851 2852 Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia. 2853 All rights reserved. 2854 2855 Redistribution and use in source and binary forms, with or without 2856 modification, are permitted provided that the following conditions 2857 are met: 2858 1. Redistributions of source code must retain the above copyright 2859 notice, this list of conditions and the following disclaimer. 2860 2. Redistributions in binary form must reproduce the above copyright 2861 notice, this list of conditions and the following disclaimer in the 2862 documentation and/or other materials provided with the distribution. 2863 2864 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 2865 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2866 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2867 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2868 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2869 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2870 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2871 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2872 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2873 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2874 SUCH DAMAGE. 2875 2876(33) - Daniel Eischen (targets using libc/posix) 2877 2878 Copyright (c) 2001 Daniel Eischen <[email protected]>. 2879 All rights reserved. 2880 2881 Redistribution and use in source and binary forms, with or without 2882 modification, are permitted provided that the following conditions 2883 are met: 2884 1. Redistributions of source code must retain the above copyright 2885 notice, this list of conditions and the following disclaimer. 2886 2. Redistributions in binary form must reproduce the above copyright 2887 notice, this list of conditions and the following disclaimer in the 2888 documentation and/or other materials provided with the distribution. 2889 2890 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2891 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2892 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2893 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2894 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2895 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2896 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2897 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2898 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2899 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2900 SUCH DAMAGE. 2901 2902 2903(34) - Jon Beniston (only lm32-* targets) 2904 2905 Contributed by Jon Beniston <[email protected]> 2906 2907 Redistribution and use in source and binary forms, with or without 2908 modification, are permitted provided that the following conditions 2909 are met: 2910 1. Redistributions of source code must retain the above copyright 2911 notice, this list of conditions and the following disclaimer. 2912 2. Redistributions in binary form must reproduce the above copyright 2913 notice, this list of conditions and the following disclaimer in the 2914 documentation and/or other materials provided with the distribution. 2915 2916 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 2917 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2918 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2919 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 2920 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2921 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2922 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2923 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2924 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2925 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2926 SUCH DAMAGE. 2927 2928 2929(35) - ARM Ltd (arm and thumb variant targets only) 2930 2931 Copyright (c) 2009 ARM Ltd 2932 All rights reserved. 2933 2934 Redistribution and use in source and binary forms, with or without 2935 modification, are permitted provided that the following conditions 2936 are met: 2937 1. Redistributions of source code must retain the above copyright 2938 notice, this list of conditions and the following disclaimer. 2939 2. Redistributions in binary form must reproduce the above copyright 2940 notice, this list of conditions and the following disclaimer in the 2941 documentation and/or other materials provided with the distribution. 2942 3. The name of the company may not be used to endorse or promote 2943 products derived from this software without specific prior written 2944 permission. 2945 2946 THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED 2947 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2948 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2949 IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2950 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 2951 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 2952 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 2953 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 2954 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 2955 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2956 2957(36) - Xilinx, Inc. (microblaze-* and powerpc-* targets) 2958 2959Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved. 2960 2961Redistribution and use in source and binary forms, with or without 2962modification, are permitted provided that the following conditions are 2963met: 2964 29651. Redistributions source code must retain the above copyright notice, 2966this list of conditions and the following disclaimer. 2967 29682. Redistributions in binary form must reproduce the above copyright 2969notice, this list of conditions and the following disclaimer in the 2970documentation and/or other materials provided with the distribution. 2971 29723. Neither the name of Xilinx nor the names of its contributors may be 2973used to endorse or promote products derived from this software without 2974specific prior written permission. 2975 2976THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS 2977IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2978TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 2979PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2980HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2981SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 2982TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 2983PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 2984LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 2985NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 2986SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2987 2988 2989(37) Texas Instruments Incorporated (tic6x-* targets) 2990 2991Copyright (c) 1996-2010 Texas Instruments Incorporated 2992http://www.ti.com/ 2993 2994 Redistribution and use in source and binary forms, with or without 2995 modification, are permitted provided that the following conditions 2996 are met: 2997 2998 Redistributions of source code must retain the above copyright 2999 notice, this list of conditions and the following disclaimer. 3000 3001 Redistributions in binary form must reproduce the above copyright 3002 notice, this list of conditions and the following disclaimer in 3003 the documentation and/or other materials provided with the 3004 distribution. 3005 3006 Neither the name of Texas Instruments Incorporated nor the names 3007 of its contributors may be used to endorse or promote products 3008 derived from this software without specific prior written 3009 permission. 3010 3011 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 3012 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3013 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 3014 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 3015 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 3016 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 3017 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 3018 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 3019 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 3020 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3021 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3022 3023(38) National Semiconductor (cr16-* and crx-* targets) 3024 3025Copyright (c) 2004 National Semiconductor Corporation 3026 3027The authors hereby grant permission to use, copy, modify, distribute, 3028and license this software and its documentation for any purpose, provided 3029that existing copyright notices are retained in all copies and that this 3030notice is included verbatim in any distributions. No written agreement, 3031license, or royalty fee is required for any of the authorized uses. 3032Modifications to this software may be copyrighted by their authors 3033and need not follow the licensing terms described here, provided that 3034the new terms are clearly indicated on the first page of each file where 3035they apply. 3036 3037(39) - Adapteva, Inc. (epiphany-* targets) 3038 3039Copyright (c) 2011, Adapteva, Inc. 3040All rights reserved. 3041 3042Redistribution and use in source and binary forms, with or without 3043modification, are permitted provided that the following conditions are met: 3044 * Redistributions of source code must retain the above copyright notice, this 3045 list of conditions and the following disclaimer. 3046 * Redistributions in binary form must reproduce the above copyright notice, 3047 this list of conditions and the following disclaimer in the documentation 3048 and/or other materials provided with the distribution. 3049 * Neither the name of Adapteva nor the names of its contributors may be used 3050 to endorse or promote products derived from this software without specific 3051 prior written permission. 3052 3053THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 3054ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 3055WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 3056DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 3057FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3058DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 3059SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 3060CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 3061OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 3062OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3063 3064(40) - Altera Corportion (nios2-* targets) 3065 3066Copyright (c) 2003 Altera Corporation 3067All rights reserved. 3068 3069Redistribution and use in source and binary forms, with or without 3070modification, are permitted provided that the following conditions 3071are met: 3072 3073 o Redistributions of source code must retain the above copyright 3074 notice, this list of conditions and the following disclaimer. 3075 o Redistributions in binary form must reproduce the above copyright 3076 notice, this list of conditions and the following disclaimer in the 3077 documentation and/or other materials provided with the distribution. 3078 o Neither the name of Altera Corporation nor the names of its 3079 contributors may be used to endorse or promote products derived from 3080 this software without specific prior written permission. 3081 3082THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER, 3083AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 3084INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 3085AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 3086THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 3087INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 3088BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 3089OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 3090ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 3091TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 3092USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3093 3094(41) Ed Schouten - Free BSD 3095 3096Copyright (c) 2008 Ed Schouten <[email protected]> 3097All rights reserved. 3098 3099Redistribution and use in source and binary forms, with or without 3100modification, are permitted provided that the following conditions 3101are met: 31021. Redistributions of source code must retain the above copyright 3103 notice, this list of conditions and the following disclaimer. 31042. Redistributions in binary form must reproduce the above copyright 3105 notice, this list of conditions and the following disclaimer in the 3106 documentation and/or other materials provided with the distribution. 3107 3108THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 3109ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 3110IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3111ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 3112FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3113DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3114OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3115HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3116LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3117OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3118SUCH DAMAGE. 3119 3120 GNU GENERAL PUBLIC LICENSE 3121 Version 3, 29 June 2007 3122 3123 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 3124 Everyone is permitted to copy and distribute verbatim copies 3125 of this license document, but changing it is not allowed. 3126 3127 Preamble 3128 3129 The GNU General Public License is a free, copyleft license for 3130software and other kinds of works. 3131 3132 The licenses for most software and other practical works are designed 3133to take away your freedom to share and change the works. By contrast, 3134the GNU General Public License is intended to guarantee your freedom to 3135share and change all versions of a program--to make sure it remains free 3136software for all its users. We, the Free Software Foundation, use the 3137GNU General Public License for most of our software; it applies also to 3138any other work released this way by its authors. You can apply it to 3139your programs, too. 3140 3141 When we speak of free software, we are referring to freedom, not 3142price. Our General Public Licenses are designed to make sure that you 3143have the freedom to distribute copies of free software (and charge for 3144them if you wish), that you receive source code or can get it if you 3145want it, that you can change the software or use pieces of it in new 3146free programs, and that you know you can do these things. 3147 3148 To protect your rights, we need to prevent others from denying you 3149these rights or asking you to surrender the rights. Therefore, you have 3150certain responsibilities if you distribute copies of the software, or if 3151you modify it: responsibilities to respect the freedom of others. 3152 3153 For example, if you distribute copies of such a program, whether 3154gratis or for a fee, you must pass on to the recipients the same 3155freedoms that you received. You must make sure that they, too, receive 3156or can get the source code. And you must show them these terms so they 3157know their rights. 3158 3159 Developers that use the GNU GPL protect your rights with two steps: 3160(1) assert copyright on the software, and (2) offer you this License 3161giving you legal permission to copy, distribute and/or modify it. 3162 3163 For the developers' and authors' protection, the GPL clearly explains 3164that there is no warranty for this free software. For both users' and 3165authors' sake, the GPL requires that modified versions be marked as 3166changed, so that their problems will not be attributed erroneously to 3167authors of previous versions. 3168 3169 Some devices are designed to deny users access to install or run 3170modified versions of the software inside them, although the manufacturer 3171can do so. This is fundamentally incompatible with the aim of 3172protecting users' freedom to change the software. The systematic 3173pattern of such abuse occurs in the area of products for individuals to 3174use, which is precisely where it is most unacceptable. Therefore, we 3175have designed this version of the GPL to prohibit the practice for those 3176products. If such problems arise substantially in other domains, we 3177stand ready to extend this provision to those domains in future versions 3178of the GPL, as needed to protect the freedom of users. 3179 3180 Finally, every program is threatened constantly by software patents. 3181States should not allow patents to restrict development and use of 3182software on general-purpose computers, but in those that do, we wish to 3183avoid the special danger that patents applied to a free program could 3184make it effectively proprietary. To prevent this, the GPL assures that 3185patents cannot be used to render the program non-free. 3186 3187 The precise terms and conditions for copying, distribution and 3188modification follow. 3189 3190 TERMS AND CONDITIONS 3191 3192 0. Definitions. 3193 3194 "This License" refers to version 3 of the GNU General Public License. 3195 3196 "Copyright" also means copyright-like laws that apply to other kinds of 3197works, such as semiconductor masks. 3198 3199 "The Program" refers to any copyrightable work licensed under this 3200License. Each licensee is addressed as "you". "Licensees" and 3201"recipients" may be individuals or organizations. 3202 3203 To "modify" a work means to copy from or adapt all or part of the work 3204in a fashion requiring copyright permission, other than the making of an 3205exact copy. The resulting work is called a "modified version" of the 3206earlier work or a work "based on" the earlier work. 3207 3208 A "covered work" means either the unmodified Program or a work based 3209on the Program. 3210 3211 To "propagate" a work means to do anything with it that, without 3212permission, would make you directly or secondarily liable for 3213infringement under applicable copyright law, except executing it on a 3214computer or modifying a private copy. Propagation includes copying, 3215distribution (with or without modification), making available to the 3216public, and in some countries other activities as well. 3217 3218 To "convey" a work means any kind of propagation that enables other 3219parties to make or receive copies. Mere interaction with a user through 3220a computer network, with no transfer of a copy, is not conveying. 3221 3222 An interactive user interface displays "Appropriate Legal Notices" 3223to the extent that it includes a convenient and prominently visible 3224feature that (1) displays an appropriate copyright notice, and (2) 3225tells the user that there is no warranty for the work (except to the 3226extent that warranties are provided), that licensees may convey the 3227work under this License, and how to view a copy of this License. If 3228the interface presents a list of user commands or options, such as a 3229menu, a prominent item in the list meets this criterion. 3230 3231 1. Source Code. 3232 3233 The "source code" for a work means the preferred form of the work 3234for making modifications to it. "Object code" means any non-source 3235form of a work. 3236 3237 A "Standard Interface" means an interface that either is an official 3238standard defined by a recognized standards body, or, in the case of 3239interfaces specified for a particular programming language, one that 3240is widely used among developers working in that language. 3241 3242 The "System Libraries" of an executable work include anything, other 3243than the work as a whole, that (a) is included in the normal form of 3244packaging a Major Component, but which is not part of that Major 3245Component, and (b) serves only to enable use of the work with that 3246Major Component, or to implement a Standard Interface for which an 3247implementation is available to the public in source code form. A 3248"Major Component", in this context, means a major essential component 3249(kernel, window system, and so on) of the specific operating system 3250(if any) on which the executable work runs, or a compiler used to 3251produce the work, or an object code interpreter used to run it. 3252 3253 The "Corresponding Source" for a work in object code form means all 3254the source code needed to generate, install, and (for an executable 3255work) run the object code and to modify the work, including scripts to 3256control those activities. However, it does not include the work's 3257System Libraries, or general-purpose tools or generally available free 3258programs which are used unmodified in performing those activities but 3259which are not part of the work. For example, Corresponding Source 3260includes interface definition files associated with source files for 3261the work, and the source code for shared libraries and dynamically 3262linked subprograms that the work is specifically designed to require, 3263such as by intimate data communication or control flow between those 3264subprograms and other parts of the work. 3265 3266 The Corresponding Source need not include anything that users 3267can regenerate automatically from other parts of the Corresponding 3268Source. 3269 3270 The Corresponding Source for a work in source code form is that 3271same work. 3272 3273 2. Basic Permissions. 3274 3275 All rights granted under this License are granted for the term of 3276copyright on the Program, and are irrevocable provided the stated 3277conditions are met. This License explicitly affirms your unlimited 3278permission to run the unmodified Program. The output from running a 3279covered work is covered by this License only if the output, given its 3280content, constitutes a covered work. This License acknowledges your 3281rights of fair use or other equivalent, as provided by copyright law. 3282 3283 You may make, run and propagate covered works that you do not 3284convey, without conditions so long as your license otherwise remains 3285in force. You may convey covered works to others for the sole purpose 3286of having them make modifications exclusively for you, or provide you 3287with facilities for running those works, provided that you comply with 3288the terms of this License in conveying all material for which you do 3289not control copyright. Those thus making or running the covered works 3290for you must do so exclusively on your behalf, under your direction 3291and control, on terms that prohibit them from making any copies of 3292your copyrighted material outside their relationship with you. 3293 3294 Conveying under any other circumstances is permitted solely under 3295the conditions stated below. Sublicensing is not allowed; section 10 3296makes it unnecessary. 3297 3298 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 3299 3300 No covered work shall be deemed part of an effective technological 3301measure under any applicable law fulfilling obligations under article 330211 of the WIPO copyright treaty adopted on 20 December 1996, or 3303similar laws prohibiting or restricting circumvention of such 3304measures. 3305 3306 When you convey a covered work, you waive any legal power to forbid 3307circumvention of technological measures to the extent such circumvention 3308is effected by exercising rights under this License with respect to 3309the covered work, and you disclaim any intention to limit operation or 3310modification of the work as a means of enforcing, against the work's 3311users, your or third parties' legal rights to forbid circumvention of 3312technological measures. 3313 3314 4. Conveying Verbatim Copies. 3315 3316 You may convey verbatim copies of the Program's source code as you 3317receive it, in any medium, provided that you conspicuously and 3318appropriately publish on each copy an appropriate copyright notice; 3319keep intact all notices stating that this License and any 3320non-permissive terms added in accord with section 7 apply to the code; 3321keep intact all notices of the absence of any warranty; and give all 3322recipients a copy of this License along with the Program. 3323 3324 You may charge any price or no price for each copy that you convey, 3325and you may offer support or warranty protection for a fee. 3326 3327 5. Conveying Modified Source Versions. 3328 3329 You may convey a work based on the Program, or the modifications to 3330produce it from the Program, in the form of source code under the 3331terms of section 4, provided that you also meet all of these conditions: 3332 3333 a) The work must carry prominent notices stating that you modified 3334 it, and giving a relevant date. 3335 3336 b) The work must carry prominent notices stating that it is 3337 released under this License and any conditions added under section 3338 7. This requirement modifies the requirement in section 4 to 3339 "keep intact all notices". 3340 3341 c) You must license the entire work, as a whole, under this 3342 License to anyone who comes into possession of a copy. This 3343 License will therefore apply, along with any applicable section 7 3344 additional terms, to the whole of the work, and all its parts, 3345 regardless of how they are packaged. This License gives no 3346 permission to license the work in any other way, but it does not 3347 invalidate such permission if you have separately received it. 3348 3349 d) If the work has interactive user interfaces, each must display 3350 Appropriate Legal Notices; however, if the Program has interactive 3351 interfaces that do not display Appropriate Legal Notices, your 3352 work need not make them do so. 3353 3354 A compilation of a covered work with other separate and independent 3355works, which are not by their nature extensions of the covered work, 3356and which are not combined with it such as to form a larger program, 3357in or on a volume of a storage or distribution medium, is called an 3358"aggregate" if the compilation and its resulting copyright are not 3359used to limit the access or legal rights of the compilation's users 3360beyond what the individual works permit. Inclusion of a covered work 3361in an aggregate does not cause this License to apply to the other 3362parts of the aggregate. 3363 3364 6. Conveying Non-Source Forms. 3365 3366 You may convey a covered work in object code form under the terms 3367of sections 4 and 5, provided that you also convey the 3368machine-readable Corresponding Source under the terms of this License, 3369in one of these ways: 3370 3371 a) Convey the object code in, or embodied in, a physical product 3372 (including a physical distribution medium), accompanied by the 3373 Corresponding Source fixed on a durable physical medium 3374 customarily used for software interchange. 3375 3376 b) Convey the object code in, or embodied in, a physical product 3377 (including a physical distribution medium), accompanied by a 3378 written offer, valid for at least three years and valid for as 3379 long as you offer spare parts or customer support for that product 3380 model, to give anyone who possesses the object code either (1) a 3381 copy of the Corresponding Source for all the software in the 3382 product that is covered by this License, on a durable physical 3383 medium customarily used for software interchange, for a price no 3384 more than your reasonable cost of physically performing this 3385 conveying of source, or (2) access to copy the 3386 Corresponding Source from a network server at no charge. 3387 3388 c) Convey individual copies of the object code with a copy of the 3389 written offer to provide the Corresponding Source. This 3390 alternative is allowed only occasionally and noncommercially, and 3391 only if you received the object code with such an offer, in accord 3392 with subsection 6b. 3393 3394 d) Convey the object code by offering access from a designated 3395 place (gratis or for a charge), and offer equivalent access to the 3396 Corresponding Source in the same way through the same place at no 3397 further charge. You need not require recipients to copy the 3398 Corresponding Source along with the object code. If the place to 3399 copy the object code is a network server, the Corresponding Source 3400 may be on a different server (operated by you or a third party) 3401 that supports equivalent copying facilities, provided you maintain 3402 clear directions next to the object code saying where to find the 3403 Corresponding Source. Regardless of what server hosts the 3404 Corresponding Source, you remain obligated to ensure that it is 3405 available for as long as needed to satisfy these requirements. 3406 3407 e) Convey the object code using peer-to-peer transmission, provided 3408 you inform other peers where the object code and Corresponding 3409 Source of the work are being offered to the general public at no 3410 charge under subsection 6d. 3411 3412 A separable portion of the object code, whose source code is excluded 3413from the Corresponding Source as a System Library, need not be 3414included in conveying the object code work. 3415 3416 A "User Product" is either (1) a "consumer product", which means any 3417tangible personal property which is normally used for personal, family, 3418or household purposes, or (2) anything designed or sold for incorporation 3419into a dwelling. In determining whether a product is a consumer product, 3420doubtful cases shall be resolved in favor of coverage. For a particular 3421product received by a particular user, "normally used" refers to a 3422typical or common use of that class of product, regardless of the status 3423of the particular user or of the way in which the particular user 3424actually uses, or expects or is expected to use, the product. A product 3425is a consumer product regardless of whether the product has substantial 3426commercial, industrial or non-consumer uses, unless such uses represent 3427the only significant mode of use of the product. 3428 3429 "Installation Information" for a User Product means any methods, 3430procedures, authorization keys, or other information required to install 3431and execute modified versions of a covered work in that User Product from 3432a modified version of its Corresponding Source. The information must 3433suffice to ensure that the continued functioning of the modified object 3434code is in no case prevented or interfered with solely because 3435modification has been made. 3436 3437 If you convey an object code work under this section in, or with, or 3438specifically for use in, a User Product, and the conveying occurs as 3439part of a transaction in which the right of possession and use of the 3440User Product is transferred to the recipient in perpetuity or for a 3441fixed term (regardless of how the transaction is characterized), the 3442Corresponding Source conveyed under this section must be accompanied 3443by the Installation Information. But this requirement does not apply 3444if neither you nor any third party retains the ability to install 3445modified object code on the User Product (for example, the work has 3446been installed in ROM). 3447 3448 The requirement to provide Installation Information does not include a 3449requirement to continue to provide support service, warranty, or updates 3450for a work that has been modified or installed by the recipient, or for 3451the User Product in which it has been modified or installed. Access to a 3452network may be denied when the modification itself materially and 3453adversely affects the operation of the network or violates the rules and 3454protocols for communication across the network. 3455 3456 Corresponding Source conveyed, and Installation Information provided, 3457in accord with this section must be in a format that is publicly 3458documented (and with an implementation available to the public in 3459source code form), and must require no special password or key for 3460unpacking, reading or copying. 3461 3462 7. Additional Terms. 3463 3464 "Additional permissions" are terms that supplement the terms of this 3465License by making exceptions from one or more of its conditions. 3466Additional permissions that are applicable to the entire Program shall 3467be treated as though they were included in this License, to the extent 3468that they are valid under applicable law. If additional permissions 3469apply only to part of the Program, that part may be used separately 3470under those permissions, but the entire Program remains governed by 3471this License without regard to the additional permissions. 3472 3473 When you convey a copy of a covered work, you may at your option 3474remove any additional permissions from that copy, or from any part of 3475it. (Additional permissions may be written to require their own 3476removal in certain cases when you modify the work.) You may place 3477additional permissions on material, added by you to a covered work, 3478for which you have or can give appropriate copyright permission. 3479 3480 Notwithstanding any other provision of this License, for material you 3481add to a covered work, you may (if authorized by the copyright holders of 3482that material) supplement the terms of this License with terms: 3483 3484 a) Disclaiming warranty or limiting liability differently from the 3485 terms of sections 15 and 16 of this License; or 3486 3487 b) Requiring preservation of specified reasonable legal notices or 3488 author attributions in that material or in the Appropriate Legal 3489 Notices displayed by works containing it; or 3490 3491 c) Prohibiting misrepresentation of the origin of that material, or 3492 requiring that modified versions of such material be marked in 3493 reasonable ways as different from the original version; or 3494 3495 d) Limiting the use for publicity purposes of names of licensors or 3496 authors of the material; or 3497 3498 e) Declining to grant rights under trademark law for use of some 3499 trade names, trademarks, or service marks; or 3500 3501 f) Requiring indemnification of licensors and authors of that 3502 material by anyone who conveys the material (or modified versions of 3503 it) with contractual assumptions of liability to the recipient, for 3504 any liability that these contractual assumptions directly impose on 3505 those licensors and authors. 3506 3507 All other non-permissive additional terms are considered "further 3508restrictions" within the meaning of section 10. If the Program as you 3509received it, or any part of it, contains a notice stating that it is 3510governed by this License along with a term that is a further 3511restriction, you may remove that term. If a license document contains 3512a further restriction but permits relicensing or conveying under this 3513License, you may add to a covered work material governed by the terms 3514of that license document, provided that the further restriction does 3515not survive such relicensing or conveying. 3516 3517 If you add terms to a covered work in accord with this section, you 3518must place, in the relevant source files, a statement of the 3519additional terms that apply to those files, or a notice indicating 3520where to find the applicable terms. 3521 3522 Additional terms, permissive or non-permissive, may be stated in the 3523form of a separately written license, or stated as exceptions; 3524the above requirements apply either way. 3525 3526 8. Termination. 3527 3528 You may not propagate or modify a covered work except as expressly 3529provided under this License. Any attempt otherwise to propagate or 3530modify it is void, and will automatically terminate your rights under 3531this License (including any patent licenses granted under the third 3532paragraph of section 11). 3533 3534 However, if you cease all violation of this License, then your 3535license from a particular copyright holder is reinstated (a) 3536provisionally, unless and until the copyright holder explicitly and 3537finally terminates your license, and (b) permanently, if the copyright 3538holder fails to notify you of the violation by some reasonable means 3539prior to 60 days after the cessation. 3540 3541 Moreover, your license from a particular copyright holder is 3542reinstated permanently if the copyright holder notifies you of the 3543violation by some reasonable means, this is the first time you have 3544received notice of violation of this License (for any work) from that 3545copyright holder, and you cure the violation prior to 30 days after 3546your receipt of the notice. 3547 3548 Termination of your rights under this section does not terminate the 3549licenses of parties who have received copies or rights from you under 3550this License. If your rights have been terminated and not permanently 3551reinstated, you do not qualify to receive new licenses for the same 3552material under section 10. 3553 3554 9. Acceptance Not Required for Having Copies. 3555 3556 You are not required to accept this License in order to receive or 3557run a copy of the Program. Ancillary propagation of a covered work 3558occurring solely as a consequence of using peer-to-peer transmission 3559to receive a copy likewise does not require acceptance. However, 3560nothing other than this License grants you permission to propagate or 3561modify any covered work. These actions infringe copyright if you do 3562not accept this License. Therefore, by modifying or propagating a 3563covered work, you indicate your acceptance of this License to do so. 3564 3565 10. Automatic Licensing of Downstream Recipients. 3566 3567 Each time you convey a covered work, the recipient automatically 3568receives a license from the original licensors, to run, modify and 3569propagate that work, subject to this License. You are not responsible 3570for enforcing compliance by third parties with this License. 3571 3572 An "entity transaction" is a transaction transferring control of an 3573organization, or substantially all assets of one, or subdividing an 3574organization, or merging organizations. If propagation of a covered 3575work results from an entity transaction, each party to that 3576transaction who receives a copy of the work also receives whatever 3577licenses to the work the party's predecessor in interest had or could 3578give under the previous paragraph, plus a right to possession of the 3579Corresponding Source of the work from the predecessor in interest, if 3580the predecessor has it or can get it with reasonable efforts. 3581 3582 You may not impose any further restrictions on the exercise of the 3583rights granted or affirmed under this License. For example, you may 3584not impose a license fee, royalty, or other charge for exercise of 3585rights granted under this License, and you may not initiate litigation 3586(including a cross-claim or counterclaim in a lawsuit) alleging that 3587any patent claim is infringed by making, using, selling, offering for 3588sale, or importing the Program or any portion of it. 3589 3590 11. Patents. 3591 3592 A "contributor" is a copyright holder who authorizes use under this 3593License of the Program or a work on which the Program is based. The 3594work thus licensed is called the contributor's "contributor version". 3595 3596 A contributor's "essential patent claims" are all patent claims 3597owned or controlled by the contributor, whether already acquired or 3598hereafter acquired, that would be infringed by some manner, permitted 3599by this License, of making, using, or selling its contributor version, 3600but do not include claims that would be infringed only as a 3601consequence of further modification of the contributor version. For 3602purposes of this definition, "control" includes the right to grant 3603patent sublicenses in a manner consistent with the requirements of 3604this License. 3605 3606 Each contributor grants you a non-exclusive, worldwide, royalty-free 3607patent license under the contributor's essential patent claims, to 3608make, use, sell, offer for sale, import and otherwise run, modify and 3609propagate the contents of its contributor version. 3610 3611 In the following three paragraphs, a "patent license" is any express 3612agreement or commitment, however denominated, not to enforce a patent 3613(such as an express permission to practice a patent or covenant not to 3614sue for patent infringement). To "grant" such a patent license to a 3615party means to make such an agreement or commitment not to enforce a 3616patent against the party. 3617 3618 If you convey a covered work, knowingly relying on a patent license, 3619and the Corresponding Source of the work is not available for anyone 3620to copy, free of charge and under the terms of this License, through a 3621publicly available network server or other readily accessible means, 3622then you must either (1) cause the Corresponding Source to be so 3623available, or (2) arrange to deprive yourself of the benefit of the 3624patent license for this particular work, or (3) arrange, in a manner 3625consistent with the requirements of this License, to extend the patent 3626license to downstream recipients. "Knowingly relying" means you have 3627actual knowledge that, but for the patent license, your conveying the 3628covered work in a country, or your recipient's use of the covered work 3629in a country, would infringe one or more identifiable patents in that 3630country that you have reason to believe are valid. 3631 3632 If, pursuant to or in connection with a single transaction or 3633arrangement, you convey, or propagate by procuring conveyance of, a 3634covered work, and grant a patent license to some of the parties 3635receiving the covered work authorizing them to use, propagate, modify 3636or convey a specific copy of the covered work, then the patent license 3637you grant is automatically extended to all recipients of the covered 3638work and works based on it. 3639 3640 A patent license is "discriminatory" if it does not include within 3641the scope of its coverage, prohibits the exercise of, or is 3642conditioned on the non-exercise of one or more of the rights that are 3643specifically granted under this License. You may not convey a covered 3644work if you are a party to an arrangement with a third party that is 3645in the business of distributing software, under which you make payment 3646to the third party based on the extent of your activity of conveying 3647the work, and under which the third party grants, to any of the 3648parties who would receive the covered work from you, a discriminatory 3649patent license (a) in connection with copies of the covered work 3650conveyed by you (or copies made from those copies), or (b) primarily 3651for and in connection with specific products or compilations that 3652contain the covered work, unless you entered into that arrangement, 3653or that patent license was granted, prior to 28 March 2007. 3654 3655 Nothing in this License shall be construed as excluding or limiting 3656any implied license or other defenses to infringement that may 3657otherwise be available to you under applicable patent law. 3658 3659 12. No Surrender of Others' Freedom. 3660 3661 If conditions are imposed on you (whether by court order, agreement or 3662otherwise) that contradict the conditions of this License, they do not 3663excuse you from the conditions of this License. If you cannot convey a 3664covered work so as to satisfy simultaneously your obligations under this 3665License and any other pertinent obligations, then as a consequence you may 3666not convey it at all. For example, if you agree to terms that obligate you 3667to collect a royalty for further conveying from those to whom you convey 3668the Program, the only way you could satisfy both those terms and this 3669License would be to refrain entirely from conveying the Program. 3670 3671 13. Use with the GNU Affero General Public License. 3672 3673 Notwithstanding any other provision of this License, you have 3674permission to link or combine any covered work with a work licensed 3675under version 3 of the GNU Affero General Public License into a single 3676combined work, and to convey the resulting work. The terms of this 3677License will continue to apply to the part which is the covered work, 3678but the special requirements of the GNU Affero General Public License, 3679section 13, concerning interaction through a network will apply to the 3680combination as such. 3681 3682 14. Revised Versions of this License. 3683 3684 The Free Software Foundation may publish revised and/or new versions of 3685the GNU General Public License from time to time. Such new versions will 3686be similar in spirit to the present version, but may differ in detail to 3687address new problems or concerns. 3688 3689 Each version is given a distinguishing version number. If the 3690Program specifies that a certain numbered version of the GNU General 3691Public License "or any later version" applies to it, you have the 3692option of following the terms and conditions either of that numbered 3693version or of any later version published by the Free Software 3694Foundation. If the Program does not specify a version number of the 3695GNU General Public License, you may choose any version ever published 3696by the Free Software Foundation. 3697 3698 If the Program specifies that a proxy can decide which future 3699versions of the GNU General Public License can be used, that proxy's 3700public statement of acceptance of a version permanently authorizes you 3701to choose that version for the Program. 3702 3703 Later license versions may give you additional or different 3704permissions. However, no additional obligations are imposed on any 3705author or copyright holder as a result of your choosing to follow a 3706later version. 3707 3708 15. Disclaimer of Warranty. 3709 3710 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 3711APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 3712HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 3713OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 3714THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 3715PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 3716IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 3717ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 3718 3719 16. Limitation of Liability. 3720 3721 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 3722WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 3723THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 3724GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 3725USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 3726DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 3727PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 3728EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 3729SUCH DAMAGES. 3730 3731 17. Interpretation of Sections 15 and 16. 3732 3733 If the disclaimer of warranty and limitation of liability provided 3734above cannot be given local legal effect according to their terms, 3735reviewing courts shall apply local law that most closely approximates 3736an absolute waiver of all civil liability in connection with the 3737Program, unless a warranty or assumption of liability accompanies a 3738copy of the Program in return for a fee. 3739 3740 END OF TERMS AND CONDITIONS 3741 3742 How to Apply These Terms to Your New Programs 3743 3744 If you develop a new program, and you want it to be of the greatest 3745possible use to the public, the best way to achieve this is to make it 3746free software which everyone can redistribute and change under these terms. 3747 3748 To do so, attach the following notices to the program. It is safest 3749to attach them to the start of each source file to most effectively 3750state the exclusion of warranty; and each file should have at least 3751the "copyright" line and a pointer to where the full notice is found. 3752 3753 <one line to give the program's name and a brief idea of what it does.> 3754 Copyright (C) <year> <name of author> 3755 3756 This program is free software: you can redistribute it and/or modify 3757 it under the terms of the GNU General Public License as published by 3758 the Free Software Foundation, either version 3 of the License, or 3759 (at your option) any later version. 3760 3761 This program is distributed in the hope that it will be useful, 3762 but WITHOUT ANY WARRANTY; without even the implied warranty of 3763 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3764 GNU General Public License for more details. 3765 3766 You should have received a copy of the GNU General Public License 3767 along with this program. If not, see <http://www.gnu.org/licenses/>. 3768 3769Also add information on how to contact you by electronic and paper mail. 3770 3771 If the program does terminal interaction, make it output a short 3772notice like this when it starts in an interactive mode: 3773 3774 <program> Copyright (C) <year> <name of author> 3775 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 3776 This is free software, and you are welcome to redistribute it 3777 under certain conditions; type `show c' for details. 3778 3779The hypothetical commands `show w' and `show c' should show the appropriate 3780parts of the General Public License. Of course, your program's commands 3781might be different; for a GUI interface, you would use an "about box". 3782 3783 You should also get your employer (if you work as a programmer) or school, 3784if any, to sign a "copyright disclaimer" for the program, if necessary. 3785For more information on this, and how to apply and follow the GNU GPL, see 3786<http://www.gnu.org/licenses/>. 3787 3788 The GNU General Public License does not permit incorporating your program 3789into proprietary programs. If your program is a subroutine library, you 3790may consider it more useful to permit linking proprietary applications with 3791the library. If this is what you want to do, use the GNU Lesser General 3792Public License instead of this License. But first, please read 3793<http://www.gnu.org/philosophy/why-not-lgpl.html>. 3794 GNU GENERAL PUBLIC LICENSE 3795 Version 2, June 1991 3796 3797 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 3798 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 3799 Everyone is permitted to copy and distribute verbatim copies 3800 of this license document, but changing it is not allowed. 3801 3802 Preamble 3803 3804 The licenses for most software are designed to take away your 3805freedom to share and change it. By contrast, the GNU General Public 3806License is intended to guarantee your freedom to share and change free 3807software--to make sure the software is free for all its users. This 3808General Public License applies to most of the Free Software 3809Foundation's software and to any other program whose authors commit to 3810using it. (Some other Free Software Foundation software is covered by 3811the GNU Library General Public License instead.) You can apply it to 3812your programs, too. 3813 3814 When we speak of free software, we are referring to freedom, not 3815price. Our General Public Licenses are designed to make sure that you 3816have the freedom to distribute copies of free software (and charge for 3817this service if you wish), that you receive source code or can get it 3818if you want it, that you can change the software or use pieces of it 3819in new free programs; and that you know you can do these things. 3820 3821 To protect your rights, we need to make restrictions that forbid 3822anyone to deny you these rights or to ask you to surrender the rights. 3823These restrictions translate to certain responsibilities for you if you 3824distribute copies of the software, or if you modify it. 3825 3826 For example, if you distribute copies of such a program, whether 3827gratis or for a fee, you must give the recipients all the rights that 3828you have. You must make sure that they, too, receive or can get the 3829source code. And you must show them these terms so they know their 3830rights. 3831 3832 We protect your rights with two steps: (1) copyright the software, and 3833(2) offer you this license which gives you legal permission to copy, 3834distribute and/or modify the software. 3835 3836 Also, for each author's protection and ours, we want to make certain 3837that everyone understands that there is no warranty for this free 3838software. If the software is modified by someone else and passed on, we 3839want its recipients to know that what they have is not the original, so 3840that any problems introduced by others will not reflect on the original 3841authors' reputations. 3842 3843 Finally, any free program is threatened constantly by software 3844patents. We wish to avoid the danger that redistributors of a free 3845program will individually obtain patent licenses, in effect making the 3846program proprietary. To prevent this, we have made it clear that any 3847patent must be licensed for everyone's free use or not licensed at all. 3848 3849 The precise terms and conditions for copying, distribution and 3850modification follow. 3851 3852 GNU GENERAL PUBLIC LICENSE 3853 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 3854 3855 0. This License applies to any program or other work which contains 3856a notice placed by the copyright holder saying it may be distributed 3857under the terms of this General Public License. The "Program", below, 3858refers to any such program or work, and a "work based on the Program" 3859means either the Program or any derivative work under copyright law: 3860that is to say, a work containing the Program or a portion of it, 3861either verbatim or with modifications and/or translated into another 3862language. (Hereinafter, translation is included without limitation in 3863the term "modification".) Each licensee is addressed as "you". 3864 3865Activities other than copying, distribution and modification are not 3866covered by this License; they are outside its scope. The act of 3867running the Program is not restricted, and the output from the Program 3868is covered only if its contents constitute a work based on the 3869Program (independent of having been made by running the Program). 3870Whether that is true depends on what the Program does. 3871 3872 1. You may copy and distribute verbatim copies of the Program's 3873source code as you receive it, in any medium, provided that you 3874conspicuously and appropriately publish on each copy an appropriate 3875copyright notice and disclaimer of warranty; keep intact all the 3876notices that refer to this License and to the absence of any warranty; 3877and give any other recipients of the Program a copy of this License 3878along with the Program. 3879 3880You may charge a fee for the physical act of transferring a copy, and 3881you may at your option offer warranty protection in exchange for a fee. 3882 3883 2. You may modify your copy or copies of the Program or any portion 3884of it, thus forming a work based on the Program, and copy and 3885distribute such modifications or work under the terms of Section 1 3886above, provided that you also meet all of these conditions: 3887 3888 a) You must cause the modified files to carry prominent notices 3889 stating that you changed the files and the date of any change. 3890 3891 b) You must cause any work that you distribute or publish, that in 3892 whole or in part contains or is derived from the Program or any 3893 part thereof, to be licensed as a whole at no charge to all third 3894 parties under the terms of this License. 3895 3896 c) If the modified program normally reads commands interactively 3897 when run, you must cause it, when started running for such 3898 interactive use in the most ordinary way, to print or display an 3899 announcement including an appropriate copyright notice and a 3900 notice that there is no warranty (or else, saying that you provide 3901 a warranty) and that users may redistribute the program under 3902 these conditions, and telling the user how to view a copy of this 3903 License. (Exception: if the Program itself is interactive but 3904 does not normally print such an announcement, your work based on 3905 the Program is not required to print an announcement.) 3906 3907These requirements apply to the modified work as a whole. If 3908identifiable sections of that work are not derived from the Program, 3909and can be reasonably considered independent and separate works in 3910themselves, then this License, and its terms, do not apply to those 3911sections when you distribute them as separate works. But when you 3912distribute the same sections as part of a whole which is a work based 3913on the Program, the distribution of the whole must be on the terms of 3914this License, whose permissions for other licensees extend to the 3915entire whole, and thus to each and every part regardless of who wrote it. 3916 3917Thus, it is not the intent of this section to claim rights or contest 3918your rights to work written entirely by you; rather, the intent is to 3919exercise the right to control the distribution of derivative or 3920collective works based on the Program. 3921 3922In addition, mere aggregation of another work not based on the Program 3923with the Program (or with a work based on the Program) on a volume of 3924a storage or distribution medium does not bring the other work under 3925the scope of this License. 3926 3927 3. You may copy and distribute the Program (or a work based on it, 3928under Section 2) in object code or executable form under the terms of 3929Sections 1 and 2 above provided that you also do one of the following: 3930 3931 a) Accompany it with the complete corresponding machine-readable 3932 source code, which must be distributed under the terms of Sections 3933 1 and 2 above on a medium customarily used for software interchange; or, 3934 3935 b) Accompany it with a written offer, valid for at least three 3936 years, to give any third party, for a charge no more than your 3937 cost of physically performing source distribution, a complete 3938 machine-readable copy of the corresponding source code, to be 3939 distributed under the terms of Sections 1 and 2 above on a medium 3940 customarily used for software interchange; or, 3941 3942 c) Accompany it with the information you received as to the offer 3943 to distribute corresponding source code. (This alternative is 3944 allowed only for noncommercial distribution and only if you 3945 received the program in object code or executable form with such 3946 an offer, in accord with Subsection b above.) 3947 3948The source code for a work means the preferred form of the work for 3949making modifications to it. For an executable work, complete source 3950code means all the source code for all modules it contains, plus any 3951associated interface definition files, plus the scripts used to 3952control compilation and installation of the executable. However, as a 3953special exception, the source code distributed need not include 3954anything that is normally distributed (in either source or binary 3955form) with the major components (compiler, kernel, and so on) of the 3956operating system on which the executable runs, unless that component 3957itself accompanies the executable. 3958 3959If distribution of executable or object code is made by offering 3960access to copy from a designated place, then offering equivalent 3961access to copy the source code from the same place counts as 3962distribution of the source code, even though third parties are not 3963compelled to copy the source along with the object code. 3964 3965 4. You may not copy, modify, sublicense, or distribute the Program 3966except as expressly provided under this License. Any attempt 3967otherwise to copy, modify, sublicense or distribute the Program is 3968void, and will automatically terminate your rights under this License. 3969However, parties who have received copies, or rights, from you under 3970this License will not have their licenses terminated so long as such 3971parties remain in full compliance. 3972 3973 5. You are not required to accept this License, since you have not 3974signed it. However, nothing else grants you permission to modify or 3975distribute the Program or its derivative works. These actions are 3976prohibited by law if you do not accept this License. Therefore, by 3977modifying or distributing the Program (or any work based on the 3978Program), you indicate your acceptance of this License to do so, and 3979all its terms and conditions for copying, distributing or modifying 3980the Program or works based on it. 3981 3982 6. Each time you redistribute the Program (or any work based on the 3983Program), the recipient automatically receives a license from the 3984original licensor to copy, distribute or modify the Program subject to 3985these terms and conditions. You may not impose any further 3986restrictions on the recipients' exercise of the rights granted herein. 3987You are not responsible for enforcing compliance by third parties to 3988this License. 3989 3990 7. If, as a consequence of a court judgment or allegation of patent 3991infringement or for any other reason (not limited to patent issues), 3992conditions are imposed on you (whether by court order, agreement or 3993otherwise) that contradict the conditions of this License, they do not 3994excuse you from the conditions of this License. If you cannot 3995distribute so as to satisfy simultaneously your obligations under this 3996License and any other pertinent obligations, then as a consequence you 3997may not distribute the Program at all. For example, if a patent 3998license would not permit royalty-free redistribution of the Program by 3999all those who receive copies directly or indirectly through you, then 4000the only way you could satisfy both it and this License would be to 4001refrain entirely from distribution of the Program. 4002 4003If any portion of this section is held invalid or unenforceable under 4004any particular circumstance, the balance of the section is intended to 4005apply and the section as a whole is intended to apply in other 4006circumstances. 4007 4008It is not the purpose of this section to induce you to infringe any 4009patents or other property right claims or to contest validity of any 4010such claims; this section has the sole purpose of protecting the 4011integrity of the free software distribution system, which is 4012implemented by public license practices. Many people have made 4013generous contributions to the wide range of software distributed 4014through that system in reliance on consistent application of that 4015system; it is up to the author/donor to decide if he or she is willing 4016to distribute software through any other system and a licensee cannot 4017impose that choice. 4018 4019This section is intended to make thoroughly clear what is believed to 4020be a consequence of the rest of this License. 4021 4022 8. If the distribution and/or use of the Program is restricted in 4023certain countries either by patents or by copyrighted interfaces, the 4024original copyright holder who places the Program under this License 4025may add an explicit geographical distribution limitation excluding 4026those countries, so that distribution is permitted only in or among 4027countries not thus excluded. In such case, this License incorporates 4028the limitation as if written in the body of this License. 4029 4030 9. The Free Software Foundation may publish revised and/or new versions 4031of the General Public License from time to time. Such new versions will 4032be similar in spirit to the present version, but may differ in detail to 4033address new problems or concerns. 4034 4035Each version is given a distinguishing version number. If the Program 4036specifies a version number of this License which applies to it and "any 4037later version", you have the option of following the terms and conditions 4038either of that version or of any later version published by the Free 4039Software Foundation. If the Program does not specify a version number of 4040this License, you may choose any version ever published by the Free Software 4041Foundation. 4042 4043 10. If you wish to incorporate parts of the Program into other free 4044programs whose distribution conditions are different, write to the author 4045to ask for permission. For software which is copyrighted by the Free 4046Software Foundation, write to the Free Software Foundation; we sometimes 4047make exceptions for this. Our decision will be guided by the two goals 4048of preserving the free status of all derivatives of our free software and 4049of promoting the sharing and reuse of software generally. 4050 4051 NO WARRANTY 4052 4053 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 4054FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 4055OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 4056PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 4057OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 4058MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 4059TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 4060PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 4061REPAIR OR CORRECTION. 4062 4063 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 4064WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 4065REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 4066INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 4067OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 4068TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 4069YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 4070PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 4071POSSIBILITY OF SUCH DAMAGES. 4072 4073 END OF TERMS AND CONDITIONS 4074 4075 How to Apply These Terms to Your New Programs 4076 4077 If you develop a new program, and you want it to be of the greatest 4078possible use to the public, the best way to achieve this is to make it 4079free software which everyone can redistribute and change under these terms. 4080 4081 To do so, attach the following notices to the program. It is safest 4082to attach them to the start of each source file to most effectively 4083convey the exclusion of warranty; and each file should have at least 4084the "copyright" line and a pointer to where the full notice is found. 4085 4086 <one line to give the program's name and a brief idea of what it does.> 4087 Copyright (C) <year> <name of author> 4088 4089 This program is free software; you can redistribute it and/or modify 4090 it under the terms of the GNU General Public License as published by 4091 the Free Software Foundation; either version 2 of the License, or 4092 (at your option) any later version. 4093 4094 This program is distributed in the hope that it will be useful, 4095 but WITHOUT ANY WARRANTY; without even the implied warranty of 4096 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4097 GNU General Public License for more details. 4098 4099 You should have received a copy of the GNU General Public License 4100 along with this program; if not, write to the Free Software 4101 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 4102 4103 4104Also add information on how to contact you by electronic and paper mail. 4105 4106If the program is interactive, make it output a short notice like this 4107when it starts in an interactive mode: 4108 4109 Gnomovision version 69, Copyright (C) year name of author 4110 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 4111 This is free software, and you are welcome to redistribute it 4112 under certain conditions; type `show c' for details. 4113 4114The hypothetical commands `show w' and `show c' should show the appropriate 4115parts of the General Public License. Of course, the commands you use may 4116be called something other than `show w' and `show c'; they could even be 4117mouse-clicks or menu items--whatever suits your program. 4118 4119You should also get your employer (if you work as a programmer) or your 4120school, if any, to sign a "copyright disclaimer" for the program, if 4121necessary. Here is a sample; alter the names: 4122 4123 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 4124 `Gnomovision' (which makes passes at compilers) written by James Hacker. 4125 4126 <signature of Ty Coon>, 1 April 1989 4127 Ty Coon, President of Vice 4128 4129This General Public License does not permit incorporating your program into 4130proprietary programs. If your program is a subroutine library, you may 4131consider it more useful to permit linking proprietary applications with the 4132library. If this is what you want to do, use the GNU Library General 4133Public License instead of this License. 4134 GNU GENERAL PUBLIC LICENSE 4135 Version 3, 29 June 2007 4136 4137 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 4138 Everyone is permitted to copy and distribute verbatim copies 4139 of this license document, but changing it is not allowed. 4140 4141 Preamble 4142 4143 The GNU General Public License is a free, copyleft license for 4144software and other kinds of works. 4145 4146 The licenses for most software and other practical works are designed 4147to take away your freedom to share and change the works. By contrast, 4148the GNU General Public License is intended to guarantee your freedom to 4149share and change all versions of a program--to make sure it remains free 4150software for all its users. We, the Free Software Foundation, use the 4151GNU General Public License for most of our software; it applies also to 4152any other work released this way by its authors. You can apply it to 4153your programs, too. 4154 4155 When we speak of free software, we are referring to freedom, not 4156price. Our General Public Licenses are designed to make sure that you 4157have the freedom to distribute copies of free software (and charge for 4158them if you wish), that you receive source code or can get it if you 4159want it, that you can change the software or use pieces of it in new 4160free programs, and that you know you can do these things. 4161 4162 To protect your rights, we need to prevent others from denying you 4163these rights or asking you to surrender the rights. Therefore, you have 4164certain responsibilities if you distribute copies of the software, or if 4165you modify it: responsibilities to respect the freedom of others. 4166 4167 For example, if you distribute copies of such a program, whether 4168gratis or for a fee, you must pass on to the recipients the same 4169freedoms that you received. You must make sure that they, too, receive 4170or can get the source code. And you must show them these terms so they 4171know their rights. 4172 4173 Developers that use the GNU GPL protect your rights with two steps: 4174(1) assert copyright on the software, and (2) offer you this License 4175giving you legal permission to copy, distribute and/or modify it. 4176 4177 For the developers' and authors' protection, the GPL clearly explains 4178that there is no warranty for this free software. For both users' and 4179authors' sake, the GPL requires that modified versions be marked as 4180changed, so that their problems will not be attributed erroneously to 4181authors of previous versions. 4182 4183 Some devices are designed to deny users access to install or run 4184modified versions of the software inside them, although the manufacturer 4185can do so. This is fundamentally incompatible with the aim of 4186protecting users' freedom to change the software. The systematic 4187pattern of such abuse occurs in the area of products for individuals to 4188use, which is precisely where it is most unacceptable. Therefore, we 4189have designed this version of the GPL to prohibit the practice for those 4190products. If such problems arise substantially in other domains, we 4191stand ready to extend this provision to those domains in future versions 4192of the GPL, as needed to protect the freedom of users. 4193 4194 Finally, every program is threatened constantly by software patents. 4195States should not allow patents to restrict development and use of 4196software on general-purpose computers, but in those that do, we wish to 4197avoid the special danger that patents applied to a free program could 4198make it effectively proprietary. To prevent this, the GPL assures that 4199patents cannot be used to render the program non-free. 4200 4201 The precise terms and conditions for copying, distribution and 4202modification follow. 4203 4204 TERMS AND CONDITIONS 4205 4206 0. Definitions. 4207 4208 "This License" refers to version 3 of the GNU General Public License. 4209 4210 "Copyright" also means copyright-like laws that apply to other kinds of 4211works, such as semiconductor masks. 4212 4213 "The Program" refers to any copyrightable work licensed under this 4214License. Each licensee is addressed as "you". "Licensees" and 4215"recipients" may be individuals or organizations. 4216 4217 To "modify" a work means to copy from or adapt all or part of the work 4218in a fashion requiring copyright permission, other than the making of an 4219exact copy. The resulting work is called a "modified version" of the 4220earlier work or a work "based on" the earlier work. 4221 4222 A "covered work" means either the unmodified Program or a work based 4223on the Program. 4224 4225 To "propagate" a work means to do anything with it that, without 4226permission, would make you directly or secondarily liable for 4227infringement under applicable copyright law, except executing it on a 4228computer or modifying a private copy. Propagation includes copying, 4229distribution (with or without modification), making available to the 4230public, and in some countries other activities as well. 4231 4232 To "convey" a work means any kind of propagation that enables other 4233parties to make or receive copies. Mere interaction with a user through 4234a computer network, with no transfer of a copy, is not conveying. 4235 4236 An interactive user interface displays "Appropriate Legal Notices" 4237to the extent that it includes a convenient and prominently visible 4238feature that (1) displays an appropriate copyright notice, and (2) 4239tells the user that there is no warranty for the work (except to the 4240extent that warranties are provided), that licensees may convey the 4241work under this License, and how to view a copy of this License. If 4242the interface presents a list of user commands or options, such as a 4243menu, a prominent item in the list meets this criterion. 4244 4245 1. Source Code. 4246 4247 The "source code" for a work means the preferred form of the work 4248for making modifications to it. "Object code" means any non-source 4249form of a work. 4250 4251 A "Standard Interface" means an interface that either is an official 4252standard defined by a recognized standards body, or, in the case of 4253interfaces specified for a particular programming language, one that 4254is widely used among developers working in that language. 4255 4256 The "System Libraries" of an executable work include anything, other 4257than the work as a whole, that (a) is included in the normal form of 4258packaging a Major Component, but which is not part of that Major 4259Component, and (b) serves only to enable use of the work with that 4260Major Component, or to implement a Standard Interface for which an 4261implementation is available to the public in source code form. A 4262"Major Component", in this context, means a major essential component 4263(kernel, window system, and so on) of the specific operating system 4264(if any) on which the executable work runs, or a compiler used to 4265produce the work, or an object code interpreter used to run it. 4266 4267 The "Corresponding Source" for a work in object code form means all 4268the source code needed to generate, install, and (for an executable 4269work) run the object code and to modify the work, including scripts to 4270control those activities. However, it does not include the work's 4271System Libraries, or general-purpose tools or generally available free 4272programs which are used unmodified in performing those activities but 4273which are not part of the work. For example, Corresponding Source 4274includes interface definition files associated with source files for 4275the work, and the source code for shared libraries and dynamically 4276linked subprograms that the work is specifically designed to require, 4277such as by intimate data communication or control flow between those 4278subprograms and other parts of the work. 4279 4280 The Corresponding Source need not include anything that users 4281can regenerate automatically from other parts of the Corresponding 4282Source. 4283 4284 The Corresponding Source for a work in source code form is that 4285same work. 4286 4287 2. Basic Permissions. 4288 4289 All rights granted under this License are granted for the term of 4290copyright on the Program, and are irrevocable provided the stated 4291conditions are met. This License explicitly affirms your unlimited 4292permission to run the unmodified Program. The output from running a 4293covered work is covered by this License only if the output, given its 4294content, constitutes a covered work. This License acknowledges your 4295rights of fair use or other equivalent, as provided by copyright law. 4296 4297 You may make, run and propagate covered works that you do not 4298convey, without conditions so long as your license otherwise remains 4299in force. You may convey covered works to others for the sole purpose 4300of having them make modifications exclusively for you, or provide you 4301with facilities for running those works, provided that you comply with 4302the terms of this License in conveying all material for which you do 4303not control copyright. Those thus making or running the covered works 4304for you must do so exclusively on your behalf, under your direction 4305and control, on terms that prohibit them from making any copies of 4306your copyrighted material outside their relationship with you. 4307 4308 Conveying under any other circumstances is permitted solely under 4309the conditions stated below. Sublicensing is not allowed; section 10 4310makes it unnecessary. 4311 4312 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 4313 4314 No covered work shall be deemed part of an effective technological 4315measure under any applicable law fulfilling obligations under article 431611 of the WIPO copyright treaty adopted on 20 December 1996, or 4317similar laws prohibiting or restricting circumvention of such 4318measures. 4319 4320 When you convey a covered work, you waive any legal power to forbid 4321circumvention of technological measures to the extent such circumvention 4322is effected by exercising rights under this License with respect to 4323the covered work, and you disclaim any intention to limit operation or 4324modification of the work as a means of enforcing, against the work's 4325users, your or third parties' legal rights to forbid circumvention of 4326technological measures. 4327 4328 4. Conveying Verbatim Copies. 4329 4330 You may convey verbatim copies of the Program's source code as you 4331receive it, in any medium, provided that you conspicuously and 4332appropriately publish on each copy an appropriate copyright notice; 4333keep intact all notices stating that this License and any 4334non-permissive terms added in accord with section 7 apply to the code; 4335keep intact all notices of the absence of any warranty; and give all 4336recipients a copy of this License along with the Program. 4337 4338 You may charge any price or no price for each copy that you convey, 4339and you may offer support or warranty protection for a fee. 4340 4341 5. Conveying Modified Source Versions. 4342 4343 You may convey a work based on the Program, or the modifications to 4344produce it from the Program, in the form of source code under the 4345terms of section 4, provided that you also meet all of these conditions: 4346 4347 a) The work must carry prominent notices stating that you modified 4348 it, and giving a relevant date. 4349 4350 b) The work must carry prominent notices stating that it is 4351 released under this License and any conditions added under section 4352 7. This requirement modifies the requirement in section 4 to 4353 "keep intact all notices". 4354 4355 c) You must license the entire work, as a whole, under this 4356 License to anyone who comes into possession of a copy. This 4357 License will therefore apply, along with any applicable section 7 4358 additional terms, to the whole of the work, and all its parts, 4359 regardless of how they are packaged. This License gives no 4360 permission to license the work in any other way, but it does not 4361 invalidate such permission if you have separately received it. 4362 4363 d) If the work has interactive user interfaces, each must display 4364 Appropriate Legal Notices; however, if the Program has interactive 4365 interfaces that do not display Appropriate Legal Notices, your 4366 work need not make them do so. 4367 4368 A compilation of a covered work with other separate and independent 4369works, which are not by their nature extensions of the covered work, 4370and which are not combined with it such as to form a larger program, 4371in or on a volume of a storage or distribution medium, is called an 4372"aggregate" if the compilation and its resulting copyright are not 4373used to limit the access or legal rights of the compilation's users 4374beyond what the individual works permit. Inclusion of a covered work 4375in an aggregate does not cause this License to apply to the other 4376parts of the aggregate. 4377 4378 6. Conveying Non-Source Forms. 4379 4380 You may convey a covered work in object code form under the terms 4381of sections 4 and 5, provided that you also convey the 4382machine-readable Corresponding Source under the terms of this License, 4383in one of these ways: 4384 4385 a) Convey the object code in, or embodied in, a physical product 4386 (including a physical distribution medium), accompanied by the 4387 Corresponding Source fixed on a durable physical medium 4388 customarily used for software interchange. 4389 4390 b) Convey the object code in, or embodied in, a physical product 4391 (including a physical distribution medium), accompanied by a 4392 written offer, valid for at least three years and valid for as 4393 long as you offer spare parts or customer support for that product 4394 model, to give anyone who possesses the object code either (1) a 4395 copy of the Corresponding Source for all the software in the 4396 product that is covered by this License, on a durable physical 4397 medium customarily used for software interchange, for a price no 4398 more than your reasonable cost of physically performing this 4399 conveying of source, or (2) access to copy the 4400 Corresponding Source from a network server at no charge. 4401 4402 c) Convey individual copies of the object code with a copy of the 4403 written offer to provide the Corresponding Source. This 4404 alternative is allowed only occasionally and noncommercially, and 4405 only if you received the object code with such an offer, in accord 4406 with subsection 6b. 4407 4408 d) Convey the object code by offering access from a designated 4409 place (gratis or for a charge), and offer equivalent access to the 4410 Corresponding Source in the same way through the same place at no 4411 further charge. You need not require recipients to copy the 4412 Corresponding Source along with the object code. If the place to 4413 copy the object code is a network server, the Corresponding Source 4414 may be on a different server (operated by you or a third party) 4415 that supports equivalent copying facilities, provided you maintain 4416 clear directions next to the object code saying where to find the 4417 Corresponding Source. Regardless of what server hosts the 4418 Corresponding Source, you remain obligated to ensure that it is 4419 available for as long as needed to satisfy these requirements. 4420 4421 e) Convey the object code using peer-to-peer transmission, provided 4422 you inform other peers where the object code and Corresponding 4423 Source of the work are being offered to the general public at no 4424 charge under subsection 6d. 4425 4426 A separable portion of the object code, whose source code is excluded 4427from the Corresponding Source as a System Library, need not be 4428included in conveying the object code work. 4429 4430 A "User Product" is either (1) a "consumer product", which means any 4431tangible personal property which is normally used for personal, family, 4432or household purposes, or (2) anything designed or sold for incorporation 4433into a dwelling. In determining whether a product is a consumer product, 4434doubtful cases shall be resolved in favor of coverage. For a particular 4435product received by a particular user, "normally used" refers to a 4436typical or common use of that class of product, regardless of the status 4437of the particular user or of the way in which the particular user 4438actually uses, or expects or is expected to use, the product. A product 4439is a consumer product regardless of whether the product has substantial 4440commercial, industrial or non-consumer uses, unless such uses represent 4441the only significant mode of use of the product. 4442 4443 "Installation Information" for a User Product means any methods, 4444procedures, authorization keys, or other information required to install 4445and execute modified versions of a covered work in that User Product from 4446a modified version of its Corresponding Source. The information must 4447suffice to ensure that the continued functioning of the modified object 4448code is in no case prevented or interfered with solely because 4449modification has been made. 4450 4451 If you convey an object code work under this section in, or with, or 4452specifically for use in, a User Product, and the conveying occurs as 4453part of a transaction in which the right of possession and use of the 4454User Product is transferred to the recipient in perpetuity or for a 4455fixed term (regardless of how the transaction is characterized), the 4456Corresponding Source conveyed under this section must be accompanied 4457by the Installation Information. But this requirement does not apply 4458if neither you nor any third party retains the ability to install 4459modified object code on the User Product (for example, the work has 4460been installed in ROM). 4461 4462 The requirement to provide Installation Information does not include a 4463requirement to continue to provide support service, warranty, or updates 4464for a work that has been modified or installed by the recipient, or for 4465the User Product in which it has been modified or installed. Access to a 4466network may be denied when the modification itself materially and 4467adversely affects the operation of the network or violates the rules and 4468protocols for communication across the network. 4469 4470 Corresponding Source conveyed, and Installation Information provided, 4471in accord with this section must be in a format that is publicly 4472documented (and with an implementation available to the public in 4473source code form), and must require no special password or key for 4474unpacking, reading or copying. 4475 4476 7. Additional Terms. 4477 4478 "Additional permissions" are terms that supplement the terms of this 4479License by making exceptions from one or more of its conditions. 4480Additional permissions that are applicable to the entire Program shall 4481be treated as though they were included in this License, to the extent 4482that they are valid under applicable law. If additional permissions 4483apply only to part of the Program, that part may be used separately 4484under those permissions, but the entire Program remains governed by 4485this License without regard to the additional permissions. 4486 4487 When you convey a copy of a covered work, you may at your option 4488remove any additional permissions from that copy, or from any part of 4489it. (Additional permissions may be written to require their own 4490removal in certain cases when you modify the work.) You may place 4491additional permissions on material, added by you to a covered work, 4492for which you have or can give appropriate copyright permission. 4493 4494 Notwithstanding any other provision of this License, for material you 4495add to a covered work, you may (if authorized by the copyright holders of 4496that material) supplement the terms of this License with terms: 4497 4498 a) Disclaiming warranty or limiting liability differently from the 4499 terms of sections 15 and 16 of this License; or 4500 4501 b) Requiring preservation of specified reasonable legal notices or 4502 author attributions in that material or in the Appropriate Legal 4503 Notices displayed by works containing it; or 4504 4505 c) Prohibiting misrepresentation of the origin of that material, or 4506 requiring that modified versions of such material be marked in 4507 reasonable ways as different from the original version; or 4508 4509 d) Limiting the use for publicity purposes of names of licensors or 4510 authors of the material; or 4511 4512 e) Declining to grant rights under trademark law for use of some 4513 trade names, trademarks, or service marks; or 4514 4515 f) Requiring indemnification of licensors and authors of that 4516 material by anyone who conveys the material (or modified versions of 4517 it) with contractual assumptions of liability to the recipient, for 4518 any liability that these contractual assumptions directly impose on 4519 those licensors and authors. 4520 4521 All other non-permissive additional terms are considered "further 4522restrictions" within the meaning of section 10. If the Program as you 4523received it, or any part of it, contains a notice stating that it is 4524governed by this License along with a term that is a further 4525restriction, you may remove that term. If a license document contains 4526a further restriction but permits relicensing or conveying under this 4527License, you may add to a covered work material governed by the terms 4528of that license document, provided that the further restriction does 4529not survive such relicensing or conveying. 4530 4531 If you add terms to a covered work in accord with this section, you 4532must place, in the relevant source files, a statement of the 4533additional terms that apply to those files, or a notice indicating 4534where to find the applicable terms. 4535 4536 Additional terms, permissive or non-permissive, may be stated in the 4537form of a separately written license, or stated as exceptions; 4538the above requirements apply either way. 4539 4540 8. Termination. 4541 4542 You may not propagate or modify a covered work except as expressly 4543provided under this License. Any attempt otherwise to propagate or 4544modify it is void, and will automatically terminate your rights under 4545this License (including any patent licenses granted under the third 4546paragraph of section 11). 4547 4548 However, if you cease all violation of this License, then your 4549license from a particular copyright holder is reinstated (a) 4550provisionally, unless and until the copyright holder explicitly and 4551finally terminates your license, and (b) permanently, if the copyright 4552holder fails to notify you of the violation by some reasonable means 4553prior to 60 days after the cessation. 4554 4555 Moreover, your license from a particular copyright holder is 4556reinstated permanently if the copyright holder notifies you of the 4557violation by some reasonable means, this is the first time you have 4558received notice of violation of this License (for any work) from that 4559copyright holder, and you cure the violation prior to 30 days after 4560your receipt of the notice. 4561 4562 Termination of your rights under this section does not terminate the 4563licenses of parties who have received copies or rights from you under 4564this License. If your rights have been terminated and not permanently 4565reinstated, you do not qualify to receive new licenses for the same 4566material under section 10. 4567 4568 9. Acceptance Not Required for Having Copies. 4569 4570 You are not required to accept this License in order to receive or 4571run a copy of the Program. Ancillary propagation of a covered work 4572occurring solely as a consequence of using peer-to-peer transmission 4573to receive a copy likewise does not require acceptance. However, 4574nothing other than this License grants you permission to propagate or 4575modify any covered work. These actions infringe copyright if you do 4576not accept this License. Therefore, by modifying or propagating a 4577covered work, you indicate your acceptance of this License to do so. 4578 4579 10. Automatic Licensing of Downstream Recipients. 4580 4581 Each time you convey a covered work, the recipient automatically 4582receives a license from the original licensors, to run, modify and 4583propagate that work, subject to this License. You are not responsible 4584for enforcing compliance by third parties with this License. 4585 4586 An "entity transaction" is a transaction transferring control of an 4587organization, or substantially all assets of one, or subdividing an 4588organization, or merging organizations. If propagation of a covered 4589work results from an entity transaction, each party to that 4590transaction who receives a copy of the work also receives whatever 4591licenses to the work the party's predecessor in interest had or could 4592give under the previous paragraph, plus a right to possession of the 4593Corresponding Source of the work from the predecessor in interest, if 4594the predecessor has it or can get it with reasonable efforts. 4595 4596 You may not impose any further restrictions on the exercise of the 4597rights granted or affirmed under this License. For example, you may 4598not impose a license fee, royalty, or other charge for exercise of 4599rights granted under this License, and you may not initiate litigation 4600(including a cross-claim or counterclaim in a lawsuit) alleging that 4601any patent claim is infringed by making, using, selling, offering for 4602sale, or importing the Program or any portion of it. 4603 4604 11. Patents. 4605 4606 A "contributor" is a copyright holder who authorizes use under this 4607License of the Program or a work on which the Program is based. The 4608work thus licensed is called the contributor's "contributor version". 4609 4610 A contributor's "essential patent claims" are all patent claims 4611owned or controlled by the contributor, whether already acquired or 4612hereafter acquired, that would be infringed by some manner, permitted 4613by this License, of making, using, or selling its contributor version, 4614but do not include claims that would be infringed only as a 4615consequence of further modification of the contributor version. For 4616purposes of this definition, "control" includes the right to grant 4617patent sublicenses in a manner consistent with the requirements of 4618this License. 4619 4620 Each contributor grants you a non-exclusive, worldwide, royalty-free 4621patent license under the contributor's essential patent claims, to 4622make, use, sell, offer for sale, import and otherwise run, modify and 4623propagate the contents of its contributor version. 4624 4625 In the following three paragraphs, a "patent license" is any express 4626agreement or commitment, however denominated, not to enforce a patent 4627(such as an express permission to practice a patent or covenant not to 4628sue for patent infringement). To "grant" such a patent license to a 4629party means to make such an agreement or commitment not to enforce a 4630patent against the party. 4631 4632 If you convey a covered work, knowingly relying on a patent license, 4633and the Corresponding Source of the work is not available for anyone 4634to copy, free of charge and under the terms of this License, through a 4635publicly available network server or other readily accessible means, 4636then you must either (1) cause the Corresponding Source to be so 4637available, or (2) arrange to deprive yourself of the benefit of the 4638patent license for this particular work, or (3) arrange, in a manner 4639consistent with the requirements of this License, to extend the patent 4640license to downstream recipients. "Knowingly relying" means you have 4641actual knowledge that, but for the patent license, your conveying the 4642covered work in a country, or your recipient's use of the covered work 4643in a country, would infringe one or more identifiable patents in that 4644country that you have reason to believe are valid. 4645 4646 If, pursuant to or in connection with a single transaction or 4647arrangement, you convey, or propagate by procuring conveyance of, a 4648covered work, and grant a patent license to some of the parties 4649receiving the covered work authorizing them to use, propagate, modify 4650or convey a specific copy of the covered work, then the patent license 4651you grant is automatically extended to all recipients of the covered 4652work and works based on it. 4653 4654 A patent license is "discriminatory" if it does not include within 4655the scope of its coverage, prohibits the exercise of, or is 4656conditioned on the non-exercise of one or more of the rights that are 4657specifically granted under this License. You may not convey a covered 4658work if you are a party to an arrangement with a third party that is 4659in the business of distributing software, under which you make payment 4660to the third party based on the extent of your activity of conveying 4661the work, and under which the third party grants, to any of the 4662parties who would receive the covered work from you, a discriminatory 4663patent license (a) in connection with copies of the covered work 4664conveyed by you (or copies made from those copies), or (b) primarily 4665for and in connection with specific products or compilations that 4666contain the covered work, unless you entered into that arrangement, 4667or that patent license was granted, prior to 28 March 2007. 4668 4669 Nothing in this License shall be construed as excluding or limiting 4670any implied license or other defenses to infringement that may 4671otherwise be available to you under applicable patent law. 4672 4673 12. No Surrender of Others' Freedom. 4674 4675 If conditions are imposed on you (whether by court order, agreement or 4676otherwise) that contradict the conditions of this License, they do not 4677excuse you from the conditions of this License. If you cannot convey a 4678covered work so as to satisfy simultaneously your obligations under this 4679License and any other pertinent obligations, then as a consequence you may 4680not convey it at all. For example, if you agree to terms that obligate you 4681to collect a royalty for further conveying from those to whom you convey 4682the Program, the only way you could satisfy both those terms and this 4683License would be to refrain entirely from conveying the Program. 4684 4685 13. Use with the GNU Affero General Public License. 4686 4687 Notwithstanding any other provision of this License, you have 4688permission to link or combine any covered work with a work licensed 4689under version 3 of the GNU Affero General Public License into a single 4690combined work, and to convey the resulting work. The terms of this 4691License will continue to apply to the part which is the covered work, 4692but the special requirements of the GNU Affero General Public License, 4693section 13, concerning interaction through a network will apply to the 4694combination as such. 4695 4696 14. Revised Versions of this License. 4697 4698 The Free Software Foundation may publish revised and/or new versions of 4699the GNU General Public License from time to time. Such new versions will 4700be similar in spirit to the present version, but may differ in detail to 4701address new problems or concerns. 4702 4703 Each version is given a distinguishing version number. If the 4704Program specifies that a certain numbered version of the GNU General 4705Public License "or any later version" applies to it, you have the 4706option of following the terms and conditions either of that numbered 4707version or of any later version published by the Free Software 4708Foundation. If the Program does not specify a version number of the 4709GNU General Public License, you may choose any version ever published 4710by the Free Software Foundation. 4711 4712 If the Program specifies that a proxy can decide which future 4713versions of the GNU General Public License can be used, that proxy's 4714public statement of acceptance of a version permanently authorizes you 4715to choose that version for the Program. 4716 4717 Later license versions may give you additional or different 4718permissions. However, no additional obligations are imposed on any 4719author or copyright holder as a result of your choosing to follow a 4720later version. 4721 4722 15. Disclaimer of Warranty. 4723 4724 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 4725APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 4726HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 4727OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 4728THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 4729PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 4730IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 4731ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 4732 4733 16. Limitation of Liability. 4734 4735 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 4736WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 4737THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 4738GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 4739USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 4740DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 4741PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 4742EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 4743SUCH DAMAGES. 4744 4745 17. Interpretation of Sections 15 and 16. 4746 4747 If the disclaimer of warranty and limitation of liability provided 4748above cannot be given local legal effect according to their terms, 4749reviewing courts shall apply local law that most closely approximates 4750an absolute waiver of all civil liability in connection with the 4751Program, unless a warranty or assumption of liability accompanies a 4752copy of the Program in return for a fee. 4753 4754 END OF TERMS AND CONDITIONS 4755 4756 How to Apply These Terms to Your New Programs 4757 4758 If you develop a new program, and you want it to be of the greatest 4759possible use to the public, the best way to achieve this is to make it 4760free software which everyone can redistribute and change under these terms. 4761 4762 To do so, attach the following notices to the program. It is safest 4763to attach them to the start of each source file to most effectively 4764state the exclusion of warranty; and each file should have at least 4765the "copyright" line and a pointer to where the full notice is found. 4766 4767 <one line to give the program's name and a brief idea of what it does.> 4768 Copyright (C) <year> <name of author> 4769 4770 This program is free software: you can redistribute it and/or modify 4771 it under the terms of the GNU General Public License as published by 4772 the Free Software Foundation, either version 3 of the License, or 4773 (at your option) any later version. 4774 4775 This program is distributed in the hope that it will be useful, 4776 but WITHOUT ANY WARRANTY; without even the implied warranty of 4777 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4778 GNU General Public License for more details. 4779 4780 You should have received a copy of the GNU General Public License 4781 along with this program. If not, see <http://www.gnu.org/licenses/>. 4782 4783Also add information on how to contact you by electronic and paper mail. 4784 4785 If the program does terminal interaction, make it output a short 4786notice like this when it starts in an interactive mode: 4787 4788 <program> Copyright (C) <year> <name of author> 4789 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 4790 This is free software, and you are welcome to redistribute it 4791 under certain conditions; type `show c' for details. 4792 4793The hypothetical commands `show w' and `show c' should show the appropriate 4794parts of the General Public License. Of course, your program's commands 4795might be different; for a GUI interface, you would use an "about box". 4796 4797 You should also get your employer (if you work as a programmer) or school, 4798if any, to sign a "copyright disclaimer" for the program, if necessary. 4799For more information on this, and how to apply and follow the GNU GPL, see 4800<http://www.gnu.org/licenses/>. 4801 4802 The GNU General Public License does not permit incorporating your program 4803into proprietary programs. If your program is a subroutine library, you 4804may consider it more useful to permit linking proprietary applications with 4805the library. If this is what you want to do, use the GNU Lesser General 4806Public License instead of this License. But first, please read 4807<http://www.gnu.org/philosophy/why-not-lgpl.html>. 4808The libgloss subdirectory is a collection of software from several sources. 4809 4810Each file may have its own copyright/license that is embedded in the source 4811file. Unless otherwise noted in the body of the source file(s), the following copyright 4812notices will apply to the contents of the libgloss subdirectory: 4813 4814(1) Red Hat Incorporated 4815 4816Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved. 4817 4818This copyrighted material is made available to anyone wishing to use, modify, 4819copy, or redistribute it subject to the terms and conditions of the BSD 4820License. This program is distributed in the hope that it will be useful, 4821but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties 4822of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license 4823is available at http://www.opensource.org/licenses. Any Red Hat trademarks that 4824are incorporated in the source code or documentation are not subject to the BSD 4825License and may only be used or replicated with the express permission of 4826Red Hat, Inc. 4827 4828(2) University of California, Berkeley 4829 4830Copyright (c) 1981-2000 The Regents of the University of California. 4831All rights reserved. 4832 4833Redistribution and use in source and binary forms, with or without modification, 4834are permitted provided that the following conditions are met: 4835 4836 * Redistributions of source code must retain the above copyright notice, 4837 this list of conditions and the following disclaimer. 4838 * Redistributions in binary form must reproduce the above copyright notice, 4839 this list of conditions and the following disclaimer in the documentation 4840 and/or other materials provided with the distribution. 4841 * Neither the name of the University nor the names of its contributors may 4842 be used to endorse or promote products derived from this software without 4843 specific prior written permission. 4844 4845THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 4846AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 4847WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 4848IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 4849INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 4850NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 4851PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 4852WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 4853ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY 4854OF SUCH DAMAGE. 4855 4856(3) DJ Delorie 4857 4858Copyright (C) 1993 DJ Delorie 4859All rights reserved. 4860 4861Redistribution, modification, and use in source and binary forms is permitted 4862provided that the above copyright notice and following paragraph are 4863duplicated in all such forms. 4864 4865This file is distributed WITHOUT ANY WARRANTY; without even the implied 4866warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 4867 4868(4) (formerly GPL for fr30) 4869 4870The GPL is no longer applicable to the fr30 platform. The piece of 4871code (syscalls.c) referencing the GPL has been officially relicensed. 4872 4873(5) Advanced Micro Devices 4874 4875Copyright 1989, 1990 Advanced Micro Devices, Inc. 4876 4877This software is the property of Advanced Micro Devices, Inc (AMD) which 4878specifically grants the user the right to modify, use and distribute this 4879software provided this notice is not removed or altered. All other rights 4880are reserved by AMD. 4881 4882AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS 4883SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL 4884DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR 4885USE OF THIS SOFTWARE. 4886 4887So that all may benefit from your experience, please report any problems 4888or suggestions about this software to the 29K Technical Support Center at 4889800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or 48900031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118. 4891 4892Advanced Micro Devices, Inc. 489329K Support Products 4894Mail Stop 573 48955900 E. Ben White Blvd. 4896Austin, TX 78741 4897800-292-9263 4898 4899(6) - Analog Devices, Inc. (bfin-* targets) 4900 4901Copyright (C) 2006, 2008, 2009, 2011, 2012 Analog Devices, Inc. 4902 4903The authors hereby grant permission to use, copy, modify, distribute, 4904and license this software and its documentation for any purpose, provided 4905that existing copyright notices are retained in all copies and that this 4906notice is included verbatim in any distributions. No written agreement, 4907license, or royalty fee is required for any of the authorized uses. 4908Modifications to this software may be copyrighted by their authors 4909and need not follow the licensing terms described here, provided that 4910the new terms are clearly indicated on the first page of each file where 4911they apply. 4912 4913(7) University of Utah and the Computer Systems Laboratory (CSL) 4914 [applies only to hppa*-*-pro* targets] 4915Copyright (c) 1990,1994 The University of Utah and 4916the Computer Systems Laboratory (CSL). All rights reserved. 4917 4918Permission to use, copy, modify and distribute this software is hereby 4919granted provided that (1) source code retains these copyright, permission, 4920and disclaimer notices, and (2) redistributions including binaries 4921reproduce the notices in supporting documentation, and (3) all advertising 4922materials mentioning features or use of this software display the following 4923acknowledgement: ``This product includes software developed by the 4924Computer Systems Laboratory at the University of Utah.'' 4925 4926THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS 4927IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF 4928ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 4929 4930CSL requests users of this software to return to [email protected] any 4931improvements that they make and grant CSL redistribution rights. 4932 4933(8) Sun Microsystems 4934 4935Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4936 4937Developed at SunPro, a Sun Microsystems, Inc. business. 4938Permission to use, copy, modify, and distribute this 4939software is freely granted, provided that this notice is preserved. 4940 4941(9) Hewlett Packard 4942 4943(c) Copyright 1986 HEWLETT-PACKARD COMPANY 4944 4945To anyone who acknowledges that this file is provided "AS IS" 4946without any express or implied warranty: 4947 4948permission to use, copy, modify, and distribute this file 4949for any purpose is hereby granted without fee, provided that 4950the above copyright notice and this notice appears in all 4951copies, and that the name of Hewlett-Packard Company not be 4952used in advertising or publicity pertaining to distribution 4953of the software without specific, written prior permission. 4954Hewlett-Packard Company makes no representations about the 4955suitability of this software for any purpose. 4956 4957(10) Hans-Peter Nilsson 4958 4959Copyright (C) 2001 Hans-Peter Nilsson 4960 4961Permission to use, copy, modify, and distribute this software is 4962freely granted, provided that the above copyright notice, this notice 4963and the following disclaimer are preserved with no changes. 4964 4965THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 4966IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 4967WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 4968PURPOSE. 4969 4970(11) IBM Corp. spu processor (only spu-* targets) 4971 4972(C) Copyright IBM Corp. 2005, 2006 4973 4974All rights reserved. 4975 4976Redistribution and use in source and binary forms, with or without 4977modification, are permitted provided that the following conditions are met: 4978 4979 * Redistributions of source code must retain the above copyright notice, 4980this list of conditions and the following disclaimer. 4981 * Redistributions in binary form must reproduce the above copyright 4982notice, this list of conditions and the following disclaimer in the 4983documentation and/or other materials provided with the distribution. 4984 * Neither the name of IBM nor the names of its contributors may be 4985used to endorse or promote products derived from this software without 4986specific prior written permission. 4987 4988THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 4989AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 4990IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 4991ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 4992LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 4993CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 4994SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 4995INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 4996CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 4997ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 4998POSSIBILITY OF SUCH DAMAGE. 4999 5000(12) Jon Beniston (only lm32-* targets) 5001 5002 Contributed by Jon Beniston <[email protected]> 5003 5004 Redistribution and use in source and binary forms, with or without 5005 modification, are permitted provided that the following conditions 5006 are met: 5007 1. Redistributions of source code must retain the above copyright 5008 notice, this list of conditions and the following disclaimer. 5009 2. Redistributions in binary form must reproduce the above copyright 5010 notice, this list of conditions and the following disclaimer in the 5011 documentation and/or other materials provided with the distribution. 5012 5013 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 5014 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 5015 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 5016 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 5017 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5018 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 5019 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 5020 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 5021 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 5022 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 5023 SUCH DAMAGE. 5024 5025(13) - Xilinx, Inc. (microblaze-* and powerpc-* targets) 5026 5027Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved. 5028 5029Redistribution and use in source and binary forms, with or without 5030modification, are permitted provided that the following conditions are 5031met: 5032 50331. Redistributions source code must retain the above copyright notice, 5034this list of conditions and the following disclaimer. 5035 50362. Redistributions in binary form must reproduce the above copyright 5037notice, this list of conditions and the following disclaimer in the 5038documentation and/or other materials provided with the distribution. 5039 50403. Neither the name of Xilinx nor the names of its contributors may be 5041used to endorse or promote products derived from this software without 5042specific prior written permission. 5043 5044THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS 5045IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 5046TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 5047PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 5048HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 5049SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 5050TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 5051PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 5052LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 5053NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 5054SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5055 5056 5057(14) - National Semiconductor Corporation 5058 5059Copyright (c) 2004 National Semiconductor Corporation 5060 5061The authors hereby grant permission to use, copy, modify, distribute, 5062and license this software and its documentation for any purpose, provided 5063that existing copyright notices are retained in all copies and that this 5064notice is included verbatim in any distributions. No written agreement, 5065license, or royalty fee is required for any of the authorized uses. 5066Modifications to this software may be copyrighted by their authors 5067and need not follow the licensing terms described here, provided that 5068the new terms are clearly indicated on the first page of each file where 5069they apply. 5070 5071 5072(15) - CodeSourcery, Inc. (tic6x-* targets) 5073 5074Copyright (c) 2010 CodeSourcery, Inc. 5075All rights reserved. 5076 5077Redistribution and use in source and binary forms, with or without 5078modification, are permitted provided that the following conditions are met: 5079 * Redistributions of source code must retain the above copyright 5080 notice, this list of conditions and the following disclaimer. 5081 * Redistributions in binary form must reproduce the above copyright 5082 notice, this list of conditions and the following disclaimer in the 5083 documentation and/or other materials provided with the distribution. 5084 * Neither the name of CodeSourcery nor the 5085 names of its contributors may be used to endorse or promote products 5086 derived from this software without specific prior written permission. 5087 5088THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY 5089EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 5090WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 5091DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE FOR ANY 5092DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 5093(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 5094LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 5095ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 5096(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 5097SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5098 5099 5100(16) - GPL with exception (sparc-*leon*, crx-*, cr16-* targets only) 5101 5102 Copyright (C) 1992 Free Software Foundation, Inc. 5103 Written By David Vinayak Henkel-Wallace, June 1992 5104 5105This file is free software; you can redistribute it and/or modify it 5106under the terms of the GNU General Public License as published by the 5107Free Software Foundation; either version 2, or (at your option) any 5108later version. 5109 5110In addition to the permissions in the GNU General Public License, the 5111Free Software Foundation gives you unlimited permission to link the 5112compiled version of this file with other programs, and to distribute 5113those programs without any restriction coming from the use of this 5114file. (The General Public License restrictions do apply in other 5115respects; for example, they cover modification of the file, and 5116distribution when not linked into another program.) 5117 5118This file is distributed in the hope that it will be useful, but 5119WITHOUT ANY WARRANTY; without even the implied warranty of 5120MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 5121General Public License for more details. 5122 5123You should have received a copy of the GNU General Public License 5124along with this program; see the file COPYING. If not, write to 5125the Free Software Foundation, 59 Temple Place - Suite 330, 5126Boston, MA 02111-1307, USA. 5127 5128 As a special exception, if you link this library with files 5129 compiled with GCC to produce an executable, this does not cause 5130 the resulting executable to be covered by the GNU General Public License. 5131 This exception does not however invalidate any other reasons why 5132 the executable file might be covered by the GNU General Public License. 5133 5134 5135(17) - Adapteva, Inc. (epiphany-* targets) 5136 5137Copyright (c) 2011, Adapteva, Inc. 5138All rights reserved. 5139 5140Redistribution and use in source and binary forms, with or without 5141modification, are permitted provided that the following conditions are met: 5142 * Redistributions of source code must retain the above copyright notice, this 5143 list of conditions and the following disclaimer. 5144 * Redistributions in binary form must reproduce the above copyright notice, 5145 this list of conditions and the following disclaimer in the documentation 5146 and/or other materials provided with the distribution. 5147 * Neither the name of Adapteva nor the names of its contributors may be used 5148 to endorse or promote products derived from this software without specific 5149 prior written permission. 5150 5151THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 5152ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 5153WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 5154DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 5155FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 5156DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 5157SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 5158CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 5159OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 5160OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 5161 5162 GNU GENERAL PUBLIC LICENSE 5163 Version 3, 29 June 2007 5164 5165 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 5166 Everyone is permitted to copy and distribute verbatim copies 5167 of this license document, but changing it is not allowed. 5168 5169 Preamble 5170 5171 The GNU General Public License is a free, copyleft license for 5172software and other kinds of works. 5173 5174 The licenses for most software and other practical works are designed 5175to take away your freedom to share and change the works. By contrast, 5176the GNU General Public License is intended to guarantee your freedom to 5177share and change all versions of a program--to make sure it remains free 5178software for all its users. We, the Free Software Foundation, use the 5179GNU General Public License for most of our software; it applies also to 5180any other work released this way by its authors. You can apply it to 5181your programs, too. 5182 5183 When we speak of free software, we are referring to freedom, not 5184price. Our General Public Licenses are designed to make sure that you 5185have the freedom to distribute copies of free software (and charge for 5186them if you wish), that you receive source code or can get it if you 5187want it, that you can change the software or use pieces of it in new 5188free programs, and that you know you can do these things. 5189 5190 To protect your rights, we need to prevent others from denying you 5191these rights or asking you to surrender the rights. Therefore, you have 5192certain responsibilities if you distribute copies of the software, or if 5193you modify it: responsibilities to respect the freedom of others. 5194 5195 For example, if you distribute copies of such a program, whether 5196gratis or for a fee, you must pass on to the recipients the same 5197freedoms that you received. You must make sure that they, too, receive 5198or can get the source code. And you must show them these terms so they 5199know their rights. 5200 5201 Developers that use the GNU GPL protect your rights with two steps: 5202(1) assert copyright on the software, and (2) offer you this License 5203giving you legal permission to copy, distribute and/or modify it. 5204 5205 For the developers' and authors' protection, the GPL clearly explains 5206that there is no warranty for this free software. For both users' and 5207authors' sake, the GPL requires that modified versions be marked as 5208changed, so that their problems will not be attributed erroneously to 5209authors of previous versions. 5210 5211 Some devices are designed to deny users access to install or run 5212modified versions of the software inside them, although the manufacturer 5213can do so. This is fundamentally incompatible with the aim of 5214protecting users' freedom to change the software. The systematic 5215pattern of such abuse occurs in the area of products for individuals to 5216use, which is precisely where it is most unacceptable. Therefore, we 5217have designed this version of the GPL to prohibit the practice for those 5218products. If such problems arise substantially in other domains, we 5219stand ready to extend this provision to those domains in future versions 5220of the GPL, as needed to protect the freedom of users. 5221 5222 Finally, every program is threatened constantly by software patents. 5223States should not allow patents to restrict development and use of 5224software on general-purpose computers, but in those that do, we wish to 5225avoid the special danger that patents applied to a free program could 5226make it effectively proprietary. To prevent this, the GPL assures that 5227patents cannot be used to render the program non-free. 5228 5229 The precise terms and conditions for copying, distribution and 5230modification follow. 5231 5232 TERMS AND CONDITIONS 5233 5234 0. Definitions. 5235 5236 "This License" refers to version 3 of the GNU General Public License. 5237 5238 "Copyright" also means copyright-like laws that apply to other kinds of 5239works, such as semiconductor masks. 5240 5241 "The Program" refers to any copyrightable work licensed under this 5242License. Each licensee is addressed as "you". "Licensees" and 5243"recipients" may be individuals or organizations. 5244 5245 To "modify" a work means to copy from or adapt all or part of the work 5246in a fashion requiring copyright permission, other than the making of an 5247exact copy. The resulting work is called a "modified version" of the 5248earlier work or a work "based on" the earlier work. 5249 5250 A "covered work" means either the unmodified Program or a work based 5251on the Program. 5252 5253 To "propagate" a work means to do anything with it that, without 5254permission, would make you directly or secondarily liable for 5255infringement under applicable copyright law, except executing it on a 5256computer or modifying a private copy. Propagation includes copying, 5257distribution (with or without modification), making available to the 5258public, and in some countries other activities as well. 5259 5260 To "convey" a work means any kind of propagation that enables other 5261parties to make or receive copies. Mere interaction with a user through 5262a computer network, with no transfer of a copy, is not conveying. 5263 5264 An interactive user interface displays "Appropriate Legal Notices" 5265to the extent that it includes a convenient and prominently visible 5266feature that (1) displays an appropriate copyright notice, and (2) 5267tells the user that there is no warranty for the work (except to the 5268extent that warranties are provided), that licensees may convey the 5269work under this License, and how to view a copy of this License. If 5270the interface presents a list of user commands or options, such as a 5271menu, a prominent item in the list meets this criterion. 5272 5273 1. Source Code. 5274 5275 The "source code" for a work means the preferred form of the work 5276for making modifications to it. "Object code" means any non-source 5277form of a work. 5278 5279 A "Standard Interface" means an interface that either is an official 5280standard defined by a recognized standards body, or, in the case of 5281interfaces specified for a particular programming language, one that 5282is widely used among developers working in that language. 5283 5284 The "System Libraries" of an executable work include anything, other 5285than the work as a whole, that (a) is included in the normal form of 5286packaging a Major Component, but which is not part of that Major 5287Component, and (b) serves only to enable use of the work with that 5288Major Component, or to implement a Standard Interface for which an 5289implementation is available to the public in source code form. A 5290"Major Component", in this context, means a major essential component 5291(kernel, window system, and so on) of the specific operating system 5292(if any) on which the executable work runs, or a compiler used to 5293produce the work, or an object code interpreter used to run it. 5294 5295 The "Corresponding Source" for a work in object code form means all 5296the source code needed to generate, install, and (for an executable 5297work) run the object code and to modify the work, including scripts to 5298control those activities. However, it does not include the work's 5299System Libraries, or general-purpose tools or generally available free 5300programs which are used unmodified in performing those activities but 5301which are not part of the work. For example, Corresponding Source 5302includes interface definition files associated with source files for 5303the work, and the source code for shared libraries and dynamically 5304linked subprograms that the work is specifically designed to require, 5305such as by intimate data communication or control flow between those 5306subprograms and other parts of the work. 5307 5308 The Corresponding Source need not include anything that users 5309can regenerate automatically from other parts of the Corresponding 5310Source. 5311 5312 The Corresponding Source for a work in source code form is that 5313same work. 5314 5315 2. Basic Permissions. 5316 5317 All rights granted under this License are granted for the term of 5318copyright on the Program, and are irrevocable provided the stated 5319conditions are met. This License explicitly affirms your unlimited 5320permission to run the unmodified Program. The output from running a 5321covered work is covered by this License only if the output, given its 5322content, constitutes a covered work. This License acknowledges your 5323rights of fair use or other equivalent, as provided by copyright law. 5324 5325 You may make, run and propagate covered works that you do not 5326convey, without conditions so long as your license otherwise remains 5327in force. You may convey covered works to others for the sole purpose 5328of having them make modifications exclusively for you, or provide you 5329with facilities for running those works, provided that you comply with 5330the terms of this License in conveying all material for which you do 5331not control copyright. Those thus making or running the covered works 5332for you must do so exclusively on your behalf, under your direction 5333and control, on terms that prohibit them from making any copies of 5334your copyrighted material outside their relationship with you. 5335 5336 Conveying under any other circumstances is permitted solely under 5337the conditions stated below. Sublicensing is not allowed; section 10 5338makes it unnecessary. 5339 5340 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 5341 5342 No covered work shall be deemed part of an effective technological 5343measure under any applicable law fulfilling obligations under article 534411 of the WIPO copyright treaty adopted on 20 December 1996, or 5345similar laws prohibiting or restricting circumvention of such 5346measures. 5347 5348 When you convey a covered work, you waive any legal power to forbid 5349circumvention of technological measures to the extent such circumvention 5350is effected by exercising rights under this License with respect to 5351the covered work, and you disclaim any intention to limit operation or 5352modification of the work as a means of enforcing, against the work's 5353users, your or third parties' legal rights to forbid circumvention of 5354technological measures. 5355 5356 4. Conveying Verbatim Copies. 5357 5358 You may convey verbatim copies of the Program's source code as you 5359receive it, in any medium, provided that you conspicuously and 5360appropriately publish on each copy an appropriate copyright notice; 5361keep intact all notices stating that this License and any 5362non-permissive terms added in accord with section 7 apply to the code; 5363keep intact all notices of the absence of any warranty; and give all 5364recipients a copy of this License along with the Program. 5365 5366 You may charge any price or no price for each copy that you convey, 5367and you may offer support or warranty protection for a fee. 5368 5369 5. Conveying Modified Source Versions. 5370 5371 You may convey a work based on the Program, or the modifications to 5372produce it from the Program, in the form of source code under the 5373terms of section 4, provided that you also meet all of these conditions: 5374 5375 a) The work must carry prominent notices stating that you modified 5376 it, and giving a relevant date. 5377 5378 b) The work must carry prominent notices stating that it is 5379 released under this License and any conditions added under section 5380 7. This requirement modifies the requirement in section 4 to 5381 "keep intact all notices". 5382 5383 c) You must license the entire work, as a whole, under this 5384 License to anyone who comes into possession of a copy. This 5385 License will therefore apply, along with any applicable section 7 5386 additional terms, to the whole of the work, and all its parts, 5387 regardless of how they are packaged. This License gives no 5388 permission to license the work in any other way, but it does not 5389 invalidate such permission if you have separately received it. 5390 5391 d) If the work has interactive user interfaces, each must display 5392 Appropriate Legal Notices; however, if the Program has interactive 5393 interfaces that do not display Appropriate Legal Notices, your 5394 work need not make them do so. 5395 5396 A compilation of a covered work with other separate and independent 5397works, which are not by their nature extensions of the covered work, 5398and which are not combined with it such as to form a larger program, 5399in or on a volume of a storage or distribution medium, is called an 5400"aggregate" if the compilation and its resulting copyright are not 5401used to limit the access or legal rights of the compilation's users 5402beyond what the individual works permit. Inclusion of a covered work 5403in an aggregate does not cause this License to apply to the other 5404parts of the aggregate. 5405 5406 6. Conveying Non-Source Forms. 5407 5408 You may convey a covered work in object code form under the terms 5409of sections 4 and 5, provided that you also convey the 5410machine-readable Corresponding Source under the terms of this License, 5411in one of these ways: 5412 5413 a) Convey the object code in, or embodied in, a physical product 5414 (including a physical distribution medium), accompanied by the 5415 Corresponding Source fixed on a durable physical medium 5416 customarily used for software interchange. 5417 5418 b) Convey the object code in, or embodied in, a physical product 5419 (including a physical distribution medium), accompanied by a 5420 written offer, valid for at least three years and valid for as 5421 long as you offer spare parts or customer support for that product 5422 model, to give anyone who possesses the object code either (1) a 5423 copy of the Corresponding Source for all the software in the 5424 product that is covered by this License, on a durable physical 5425 medium customarily used for software interchange, for a price no 5426 more than your reasonable cost of physically performing this 5427 conveying of source, or (2) access to copy the 5428 Corresponding Source from a network server at no charge. 5429 5430 c) Convey individual copies of the object code with a copy of the 5431 written offer to provide the Corresponding Source. This 5432 alternative is allowed only occasionally and noncommercially, and 5433 only if you received the object code with such an offer, in accord 5434 with subsection 6b. 5435 5436 d) Convey the object code by offering access from a designated 5437 place (gratis or for a charge), and offer equivalent access to the 5438 Corresponding Source in the same way through the same place at no 5439 further charge. You need not require recipients to copy the 5440 Corresponding Source along with the object code. If the place to 5441 copy the object code is a network server, the Corresponding Source 5442 may be on a different server (operated by you or a third party) 5443 that supports equivalent copying facilities, provided you maintain 5444 clear directions next to the object code saying where to find the 5445 Corresponding Source. Regardless of what server hosts the 5446 Corresponding Source, you remain obligated to ensure that it is 5447 available for as long as needed to satisfy these requirements. 5448 5449 e) Convey the object code using peer-to-peer transmission, provided 5450 you inform other peers where the object code and Corresponding 5451 Source of the work are being offered to the general public at no 5452 charge under subsection 6d. 5453 5454 A separable portion of the object code, whose source code is excluded 5455from the Corresponding Source as a System Library, need not be 5456included in conveying the object code work. 5457 5458 A "User Product" is either (1) a "consumer product", which means any 5459tangible personal property which is normally used for personal, family, 5460or household purposes, or (2) anything designed or sold for incorporation 5461into a dwelling. In determining whether a product is a consumer product, 5462doubtful cases shall be resolved in favor of coverage. For a particular 5463product received by a particular user, "normally used" refers to a 5464typical or common use of that class of product, regardless of the status 5465of the particular user or of the way in which the particular user 5466actually uses, or expects or is expected to use, the product. A product 5467is a consumer product regardless of whether the product has substantial 5468commercial, industrial or non-consumer uses, unless such uses represent 5469the only significant mode of use of the product. 5470 5471 "Installation Information" for a User Product means any methods, 5472procedures, authorization keys, or other information required to install 5473and execute modified versions of a covered work in that User Product from 5474a modified version of its Corresponding Source. The information must 5475suffice to ensure that the continued functioning of the modified object 5476code is in no case prevented or interfered with solely because 5477modification has been made. 5478 5479 If you convey an object code work under this section in, or with, or 5480specifically for use in, a User Product, and the conveying occurs as 5481part of a transaction in which the right of possession and use of the 5482User Product is transferred to the recipient in perpetuity or for a 5483fixed term (regardless of how the transaction is characterized), the 5484Corresponding Source conveyed under this section must be accompanied 5485by the Installation Information. But this requirement does not apply 5486if neither you nor any third party retains the ability to install 5487modified object code on the User Product (for example, the work has 5488been installed in ROM). 5489 5490 The requirement to provide Installation Information does not include a 5491requirement to continue to provide support service, warranty, or updates 5492for a work that has been modified or installed by the recipient, or for 5493the User Product in which it has been modified or installed. Access to a 5494network may be denied when the modification itself materially and 5495adversely affects the operation of the network or violates the rules and 5496protocols for communication across the network. 5497 5498 Corresponding Source conveyed, and Installation Information provided, 5499in accord with this section must be in a format that is publicly 5500documented (and with an implementation available to the public in 5501source code form), and must require no special password or key for 5502unpacking, reading or copying. 5503 5504 7. Additional Terms. 5505 5506 "Additional permissions" are terms that supplement the terms of this 5507License by making exceptions from one or more of its conditions. 5508Additional permissions that are applicable to the entire Program shall 5509be treated as though they were included in this License, to the extent 5510that they are valid under applicable law. If additional permissions 5511apply only to part of the Program, that part may be used separately 5512under those permissions, but the entire Program remains governed by 5513this License without regard to the additional permissions. 5514 5515 When you convey a copy of a covered work, you may at your option 5516remove any additional permissions from that copy, or from any part of 5517it. (Additional permissions may be written to require their own 5518removal in certain cases when you modify the work.) You may place 5519additional permissions on material, added by you to a covered work, 5520for which you have or can give appropriate copyright permission. 5521 5522 Notwithstanding any other provision of this License, for material you 5523add to a covered work, you may (if authorized by the copyright holders of 5524that material) supplement the terms of this License with terms: 5525 5526 a) Disclaiming warranty or limiting liability differently from the 5527 terms of sections 15 and 16 of this License; or 5528 5529 b) Requiring preservation of specified reasonable legal notices or 5530 author attributions in that material or in the Appropriate Legal 5531 Notices displayed by works containing it; or 5532 5533 c) Prohibiting misrepresentation of the origin of that material, or 5534 requiring that modified versions of such material be marked in 5535 reasonable ways as different from the original version; or 5536 5537 d) Limiting the use for publicity purposes of names of licensors or 5538 authors of the material; or 5539 5540 e) Declining to grant rights under trademark law for use of some 5541 trade names, trademarks, or service marks; or 5542 5543 f) Requiring indemnification of licensors and authors of that 5544 material by anyone who conveys the material (or modified versions of 5545 it) with contractual assumptions of liability to the recipient, for 5546 any liability that these contractual assumptions directly impose on 5547 those licensors and authors. 5548 5549 All other non-permissive additional terms are considered "further 5550restrictions" within the meaning of section 10. If the Program as you 5551received it, or any part of it, contains a notice stating that it is 5552governed by this License along with a term that is a further 5553restriction, you may remove that term. If a license document contains 5554a further restriction but permits relicensing or conveying under this 5555License, you may add to a covered work material governed by the terms 5556of that license document, provided that the further restriction does 5557not survive such relicensing or conveying. 5558 5559 If you add terms to a covered work in accord with this section, you 5560must place, in the relevant source files, a statement of the 5561additional terms that apply to those files, or a notice indicating 5562where to find the applicable terms. 5563 5564 Additional terms, permissive or non-permissive, may be stated in the 5565form of a separately written license, or stated as exceptions; 5566the above requirements apply either way. 5567 5568 8. Termination. 5569 5570 You may not propagate or modify a covered work except as expressly 5571provided under this License. Any attempt otherwise to propagate or 5572modify it is void, and will automatically terminate your rights under 5573this License (including any patent licenses granted under the third 5574paragraph of section 11). 5575 5576 However, if you cease all violation of this License, then your 5577license from a particular copyright holder is reinstated (a) 5578provisionally, unless and until the copyright holder explicitly and 5579finally terminates your license, and (b) permanently, if the copyright 5580holder fails to notify you of the violation by some reasonable means 5581prior to 60 days after the cessation. 5582 5583 Moreover, your license from a particular copyright holder is 5584reinstated permanently if the copyright holder notifies you of the 5585violation by some reasonable means, this is the first time you have 5586received notice of violation of this License (for any work) from that 5587copyright holder, and you cure the violation prior to 30 days after 5588your receipt of the notice. 5589 5590 Termination of your rights under this section does not terminate the 5591licenses of parties who have received copies or rights from you under 5592this License. If your rights have been terminated and not permanently 5593reinstated, you do not qualify to receive new licenses for the same 5594material under section 10. 5595 5596 9. Acceptance Not Required for Having Copies. 5597 5598 You are not required to accept this License in order to receive or 5599run a copy of the Program. Ancillary propagation of a covered work 5600occurring solely as a consequence of using peer-to-peer transmission 5601to receive a copy likewise does not require acceptance. However, 5602nothing other than this License grants you permission to propagate or 5603modify any covered work. These actions infringe copyright if you do 5604not accept this License. Therefore, by modifying or propagating a 5605covered work, you indicate your acceptance of this License to do so. 5606 5607 10. Automatic Licensing of Downstream Recipients. 5608 5609 Each time you convey a covered work, the recipient automatically 5610receives a license from the original licensors, to run, modify and 5611propagate that work, subject to this License. You are not responsible 5612for enforcing compliance by third parties with this License. 5613 5614 An "entity transaction" is a transaction transferring control of an 5615organization, or substantially all assets of one, or subdividing an 5616organization, or merging organizations. If propagation of a covered 5617work results from an entity transaction, each party to that 5618transaction who receives a copy of the work also receives whatever 5619licenses to the work the party's predecessor in interest had or could 5620give under the previous paragraph, plus a right to possession of the 5621Corresponding Source of the work from the predecessor in interest, if 5622the predecessor has it or can get it with reasonable efforts. 5623 5624 You may not impose any further restrictions on the exercise of the 5625rights granted or affirmed under this License. For example, you may 5626not impose a license fee, royalty, or other charge for exercise of 5627rights granted under this License, and you may not initiate litigation 5628(including a cross-claim or counterclaim in a lawsuit) alleging that 5629any patent claim is infringed by making, using, selling, offering for 5630sale, or importing the Program or any portion of it. 5631 5632 11. Patents. 5633 5634 A "contributor" is a copyright holder who authorizes use under this 5635License of the Program or a work on which the Program is based. The 5636work thus licensed is called the contributor's "contributor version". 5637 5638 A contributor's "essential patent claims" are all patent claims 5639owned or controlled by the contributor, whether already acquired or 5640hereafter acquired, that would be infringed by some manner, permitted 5641by this License, of making, using, or selling its contributor version, 5642but do not include claims that would be infringed only as a 5643consequence of further modification of the contributor version. For 5644purposes of this definition, "control" includes the right to grant 5645patent sublicenses in a manner consistent with the requirements of 5646this License. 5647 5648 Each contributor grants you a non-exclusive, worldwide, royalty-free 5649patent license under the contributor's essential patent claims, to 5650make, use, sell, offer for sale, import and otherwise run, modify and 5651propagate the contents of its contributor version. 5652 5653 In the following three paragraphs, a "patent license" is any express 5654agreement or commitment, however denominated, not to enforce a patent 5655(such as an express permission to practice a patent or covenant not to 5656sue for patent infringement). To "grant" such a patent license to a 5657party means to make such an agreement or commitment not to enforce a 5658patent against the party. 5659 5660 If you convey a covered work, knowingly relying on a patent license, 5661and the Corresponding Source of the work is not available for anyone 5662to copy, free of charge and under the terms of this License, through a 5663publicly available network server or other readily accessible means, 5664then you must either (1) cause the Corresponding Source to be so 5665available, or (2) arrange to deprive yourself of the benefit of the 5666patent license for this particular work, or (3) arrange, in a manner 5667consistent with the requirements of this License, to extend the patent 5668license to downstream recipients. "Knowingly relying" means you have 5669actual knowledge that, but for the patent license, your conveying the 5670covered work in a country, or your recipient's use of the covered work 5671in a country, would infringe one or more identifiable patents in that 5672country that you have reason to believe are valid. 5673 5674 If, pursuant to or in connection with a single transaction or 5675arrangement, you convey, or propagate by procuring conveyance of, a 5676covered work, and grant a patent license to some of the parties 5677receiving the covered work authorizing them to use, propagate, modify 5678or convey a specific copy of the covered work, then the patent license 5679you grant is automatically extended to all recipients of the covered 5680work and works based on it. 5681 5682 A patent license is "discriminatory" if it does not include within 5683the scope of its coverage, prohibits the exercise of, or is 5684conditioned on the non-exercise of one or more of the rights that are 5685specifically granted under this License. You may not convey a covered 5686work if you are a party to an arrangement with a third party that is 5687in the business of distributing software, under which you make payment 5688to the third party based on the extent of your activity of conveying 5689the work, and under which the third party grants, to any of the 5690parties who would receive the covered work from you, a discriminatory 5691patent license (a) in connection with copies of the covered work 5692conveyed by you (or copies made from those copies), or (b) primarily 5693for and in connection with specific products or compilations that 5694contain the covered work, unless you entered into that arrangement, 5695or that patent license was granted, prior to 28 March 2007. 5696 5697 Nothing in this License shall be construed as excluding or limiting 5698any implied license or other defenses to infringement that may 5699otherwise be available to you under applicable patent law. 5700 5701 12. No Surrender of Others' Freedom. 5702 5703 If conditions are imposed on you (whether by court order, agreement or 5704otherwise) that contradict the conditions of this License, they do not 5705excuse you from the conditions of this License. If you cannot convey a 5706covered work so as to satisfy simultaneously your obligations under this 5707License and any other pertinent obligations, then as a consequence you may 5708not convey it at all. For example, if you agree to terms that obligate you 5709to collect a royalty for further conveying from those to whom you convey 5710the Program, the only way you could satisfy both those terms and this 5711License would be to refrain entirely from conveying the Program. 5712 5713 13. Use with the GNU Affero General Public License. 5714 5715 Notwithstanding any other provision of this License, you have 5716permission to link or combine any covered work with a work licensed 5717under version 3 of the GNU Affero General Public License into a single 5718combined work, and to convey the resulting work. The terms of this 5719License will continue to apply to the part which is the covered work, 5720but the special requirements of the GNU Affero General Public License, 5721section 13, concerning interaction through a network will apply to the 5722combination as such. 5723 5724 14. Revised Versions of this License. 5725 5726 The Free Software Foundation may publish revised and/or new versions of 5727the GNU General Public License from time to time. Such new versions will 5728be similar in spirit to the present version, but may differ in detail to 5729address new problems or concerns. 5730 5731 Each version is given a distinguishing version number. If the 5732Program specifies that a certain numbered version of the GNU General 5733Public License "or any later version" applies to it, you have the 5734option of following the terms and conditions either of that numbered 5735version or of any later version published by the Free Software 5736Foundation. If the Program does not specify a version number of the 5737GNU General Public License, you may choose any version ever published 5738by the Free Software Foundation. 5739 5740 If the Program specifies that a proxy can decide which future 5741versions of the GNU General Public License can be used, that proxy's 5742public statement of acceptance of a version permanently authorizes you 5743to choose that version for the Program. 5744 5745 Later license versions may give you additional or different 5746permissions. However, no additional obligations are imposed on any 5747author or copyright holder as a result of your choosing to follow a 5748later version. 5749 5750 15. Disclaimer of Warranty. 5751 5752 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 5753APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 5754HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 5755OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 5756THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 5757PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 5758IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 5759ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 5760 5761 16. Limitation of Liability. 5762 5763 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 5764WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 5765THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 5766GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 5767USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 5768DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 5769PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 5770EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 5771SUCH DAMAGES. 5772 5773 17. Interpretation of Sections 15 and 16. 5774 5775 If the disclaimer of warranty and limitation of liability provided 5776above cannot be given local legal effect according to their terms, 5777reviewing courts shall apply local law that most closely approximates 5778an absolute waiver of all civil liability in connection with the 5779Program, unless a warranty or assumption of liability accompanies a 5780copy of the Program in return for a fee. 5781 5782 END OF TERMS AND CONDITIONS 5783 5784 How to Apply These Terms to Your New Programs 5785 5786 If you develop a new program, and you want it to be of the greatest 5787possible use to the public, the best way to achieve this is to make it 5788free software which everyone can redistribute and change under these terms. 5789 5790 To do so, attach the following notices to the program. It is safest 5791to attach them to the start of each source file to most effectively 5792state the exclusion of warranty; and each file should have at least 5793the "copyright" line and a pointer to where the full notice is found. 5794 5795 <one line to give the program's name and a brief idea of what it does.> 5796 Copyright (C) <year> <name of author> 5797 5798 This program is free software: you can redistribute it and/or modify 5799 it under the terms of the GNU General Public License as published by 5800 the Free Software Foundation, either version 3 of the License, or 5801 (at your option) any later version. 5802 5803 This program is distributed in the hope that it will be useful, 5804 but WITHOUT ANY WARRANTY; without even the implied warranty of 5805 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5806 GNU General Public License for more details. 5807 5808 You should have received a copy of the GNU General Public License 5809 along with this program. If not, see <http://www.gnu.org/licenses/>. 5810 5811Also add information on how to contact you by electronic and paper mail. 5812 5813 If the program does terminal interaction, make it output a short 5814notice like this when it starts in an interactive mode: 5815 5816 <program> Copyright (C) <year> <name of author> 5817 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 5818 This is free software, and you are welcome to redistribute it 5819 under certain conditions; type `show c' for details. 5820 5821The hypothetical commands `show w' and `show c' should show the appropriate 5822parts of the General Public License. Of course, your program's commands 5823might be different; for a GUI interface, you would use an "about box". 5824 5825 You should also get your employer (if you work as a programmer) or school, 5826if any, to sign a "copyright disclaimer" for the program, if necessary. 5827For more information on this, and how to apply and follow the GNU GPL, see 5828<http://www.gnu.org/licenses/>. 5829 5830 The GNU General Public License does not permit incorporating your program 5831into proprietary programs. If your program is a subroutine library, you 5832may consider it more useful to permit linking proprietary applications with 5833the library. If this is what you want to do, use the GNU Lesser General 5834Public License instead of this License. But first, please read 5835<http://www.gnu.org/philosophy/why-not-lgpl.html>. 5836GCC RUNTIME LIBRARY EXCEPTION 5837 5838Version 3.1, 31 March 2009 5839 5840Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/> 5841 5842Everyone is permitted to copy and distribute verbatim copies of this 5843license document, but changing it is not allowed. 5844 5845This GCC Runtime Library Exception ("Exception") is an additional 5846permission under section 7 of the GNU General Public License, version 58473 ("GPLv3"). It applies to a given file (the "Runtime Library") that 5848bears a notice placed by the copyright holder of the file stating that 5849the file is governed by GPLv3 along with this Exception. 5850 5851When you use GCC to compile a program, GCC may combine portions of 5852certain GCC header files and runtime libraries with the compiled 5853program. The purpose of this Exception is to allow compilation of 5854non-GPL (including proprietary) programs to use, in this way, the 5855header files and runtime libraries covered by this Exception. 5856 58570. Definitions. 5858 5859A file is an "Independent Module" if it either requires the Runtime 5860Library for execution after a Compilation Process, or makes use of an 5861interface provided by the Runtime Library, but is not otherwise based 5862on the Runtime Library. 5863 5864"GCC" means a version of the GNU Compiler Collection, with or without 5865modifications, governed by version 3 (or a specified later version) of 5866the GNU General Public License (GPL) with the option of using any 5867subsequent versions published by the FSF. 5868 5869"GPL-compatible Software" is software whose conditions of propagation, 5870modification and use would permit combination with GCC in accord with 5871the license of GCC. 5872 5873"Target Code" refers to output from any compiler for a real or virtual 5874target processor architecture, in executable form or suitable for 5875input to an assembler, loader, linker and/or execution 5876phase. Notwithstanding that, Target Code does not include data in any 5877format that is used as a compiler intermediate representation, or used 5878for producing a compiler intermediate representation. 5879 5880The "Compilation Process" transforms code entirely represented in 5881non-intermediate languages designed for human-written code, and/or in 5882Java Virtual Machine byte code, into Target Code. Thus, for example, 5883use of source code generators and preprocessors need not be considered 5884part of the Compilation Process, since the Compilation Process can be 5885understood as starting with the output of the generators or 5886preprocessors. 5887 5888A Compilation Process is "Eligible" if it is done using GCC, alone or 5889with other GPL-compatible software, or if it is done without using any 5890work based on GCC. For example, using non-GPL-compatible Software to 5891optimize any GCC intermediate representations would not qualify as an 5892Eligible Compilation Process. 5893 58941. Grant of Additional Permission. 5895 5896You have permission to propagate a work of Target Code formed by 5897combining the Runtime Library with Independent Modules, even if such 5898propagation would otherwise violate the terms of GPLv3, provided that 5899all Target Code was generated by Eligible Compilation Processes. You 5900may then convey such a combination under terms of your choice, 5901consistent with the licensing of the Independent Modules. 5902 59032. No Weakening of GCC Copyleft. 5904 5905The availability of this Exception does not imply any general 5906presumption that third-party software is unaffected by the copyleft 5907requirements of the license of GCC. 5908 5909 GNU LESSER GENERAL PUBLIC LICENSE 5910 Version 2.1, February 1999 5911 5912 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5913 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 5914 Everyone is permitted to copy and distribute verbatim copies 5915 of this license document, but changing it is not allowed. 5916 5917[This is the first released version of the Lesser GPL. It also counts 5918 as the successor of the GNU Library Public License, version 2, hence 5919 the version number 2.1.] 5920 5921 Preamble 5922 5923 The licenses for most software are designed to take away your 5924freedom to share and change it. By contrast, the GNU General Public 5925Licenses are intended to guarantee your freedom to share and change 5926free software--to make sure the software is free for all its users. 5927 5928 This license, the Lesser General Public License, applies to some 5929specially designated software packages--typically libraries--of the 5930Free Software Foundation and other authors who decide to use it. You 5931can use it too, but we suggest you first think carefully about whether 5932this license or the ordinary General Public License is the better 5933strategy to use in any particular case, based on the explanations below. 5934 5935 When we speak of free software, we are referring to freedom of use, 5936not price. Our General Public Licenses are designed to make sure that 5937you have the freedom to distribute copies of free software (and charge 5938for this service if you wish); that you receive source code or can get 5939it if you want it; that you can change the software and use pieces of 5940it in new free programs; and that you are informed that you can do 5941these things. 5942 5943 To protect your rights, we need to make restrictions that forbid 5944distributors to deny you these rights or to ask you to surrender these 5945rights. These restrictions translate to certain responsibilities for 5946you if you distribute copies of the library or if you modify it. 5947 5948 For example, if you distribute copies of the library, whether gratis 5949or for a fee, you must give the recipients all the rights that we gave 5950you. You must make sure that they, too, receive or can get the source 5951code. If you link other code with the library, you must provide 5952complete object files to the recipients, so that they can relink them 5953with the library after making changes to the library and recompiling 5954it. And you must show them these terms so they know their rights. 5955 5956 We protect your rights with a two-step method: (1) we copyright the 5957library, and (2) we offer you this license, which gives you legal 5958permission to copy, distribute and/or modify the library. 5959 5960 To protect each distributor, we want to make it very clear that 5961there is no warranty for the free library. Also, if the library is 5962modified by someone else and passed on, the recipients should know 5963that what they have is not the original version, so that the original 5964author's reputation will not be affected by problems that might be 5965introduced by others. 5966 5967 Finally, software patents pose a constant threat to the existence of 5968any free program. We wish to make sure that a company cannot 5969effectively restrict the users of a free program by obtaining a 5970restrictive license from a patent holder. Therefore, we insist that 5971any patent license obtained for a version of the library must be 5972consistent with the full freedom of use specified in this license. 5973 5974 Most GNU software, including some libraries, is covered by the 5975ordinary GNU General Public License. This license, the GNU Lesser 5976General Public License, applies to certain designated libraries, and 5977is quite different from the ordinary General Public License. We use 5978this license for certain libraries in order to permit linking those 5979libraries into non-free programs. 5980 5981 When a program is linked with a library, whether statically or using 5982a shared library, the combination of the two is legally speaking a 5983combined work, a derivative of the original library. The ordinary 5984General Public License therefore permits such linking only if the 5985entire combination fits its criteria of freedom. The Lesser General 5986Public License permits more lax criteria for linking other code with 5987the library. 5988 5989 We call this license the "Lesser" General Public License because it 5990does Less to protect the user's freedom than the ordinary General 5991Public License. It also provides other free software developers Less 5992of an advantage over competing non-free programs. These disadvantages 5993are the reason we use the ordinary General Public License for many 5994libraries. However, the Lesser license provides advantages in certain 5995special circumstances. 5996 5997 For example, on rare occasions, there may be a special need to 5998encourage the widest possible use of a certain library, so that it becomes 5999a de-facto standard. To achieve this, non-free programs must be 6000allowed to use the library. A more frequent case is that a free 6001library does the same job as widely used non-free libraries. In this 6002case, there is little to gain by limiting the free library to free 6003software only, so we use the Lesser General Public License. 6004 6005 In other cases, permission to use a particular library in non-free 6006programs enables a greater number of people to use a large body of 6007free software. For example, permission to use the GNU C Library in 6008non-free programs enables many more people to use the whole GNU 6009operating system, as well as its variant, the GNU/Linux operating 6010system. 6011 6012 Although the Lesser General Public License is Less protective of the 6013users' freedom, it does ensure that the user of a program that is 6014linked with the Library has the freedom and the wherewithal to run 6015that program using a modified version of the Library. 6016 6017 The precise terms and conditions for copying, distribution and 6018modification follow. Pay close attention to the difference between a 6019"work based on the library" and a "work that uses the library". The 6020former contains code derived from the library, whereas the latter must 6021be combined with the library in order to run. 6022 6023 GNU LESSER GENERAL PUBLIC LICENSE 6024 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 6025 6026 0. This License Agreement applies to any software library or other 6027program which contains a notice placed by the copyright holder or 6028other authorized party saying it may be distributed under the terms of 6029this Lesser General Public License (also called "this License"). 6030Each licensee is addressed as "you". 6031 6032 A "library" means a collection of software functions and/or data 6033prepared so as to be conveniently linked with application programs 6034(which use some of those functions and data) to form executables. 6035 6036 The "Library", below, refers to any such software library or work 6037which has been distributed under these terms. A "work based on the 6038Library" means either the Library or any derivative work under 6039copyright law: that is to say, a work containing the Library or a 6040portion of it, either verbatim or with modifications and/or translated 6041straightforwardly into another language. (Hereinafter, translation is 6042included without limitation in the term "modification".) 6043 6044 "Source code" for a work means the preferred form of the work for 6045making modifications to it. For a library, complete source code means 6046all the source code for all modules it contains, plus any associated 6047interface definition files, plus the scripts used to control compilation 6048and installation of the library. 6049 6050 Activities other than copying, distribution and modification are not 6051covered by this License; they are outside its scope. The act of 6052running a program using the Library is not restricted, and output from 6053such a program is covered only if its contents constitute a work based 6054on the Library (independent of the use of the Library in a tool for 6055writing it). Whether that is true depends on what the Library does 6056and what the program that uses the Library does. 6057 6058 1. You may copy and distribute verbatim copies of the Library's 6059complete source code as you receive it, in any medium, provided that 6060you conspicuously and appropriately publish on each copy an 6061appropriate copyright notice and disclaimer of warranty; keep intact 6062all the notices that refer to this License and to the absence of any 6063warranty; and distribute a copy of this License along with the 6064Library. 6065 6066 You may charge a fee for the physical act of transferring a copy, 6067and you may at your option offer warranty protection in exchange for a 6068fee. 6069 6070 2. You may modify your copy or copies of the Library or any portion 6071of it, thus forming a work based on the Library, and copy and 6072distribute such modifications or work under the terms of Section 1 6073above, provided that you also meet all of these conditions: 6074 6075 a) The modified work must itself be a software library. 6076 6077 b) You must cause the files modified to carry prominent notices 6078 stating that you changed the files and the date of any change. 6079 6080 c) You must cause the whole of the work to be licensed at no 6081 charge to all third parties under the terms of this License. 6082 6083 d) If a facility in the modified Library refers to a function or a 6084 table of data to be supplied by an application program that uses 6085 the facility, other than as an argument passed when the facility 6086 is invoked, then you must make a good faith effort to ensure that, 6087 in the event an application does not supply such function or 6088 table, the facility still operates, and performs whatever part of 6089 its purpose remains meaningful. 6090 6091 (For example, a function in a library to compute square roots has 6092 a purpose that is entirely well-defined independent of the 6093 application. Therefore, Subsection 2d requires that any 6094 application-supplied function or table used by this function must 6095 be optional: if the application does not supply it, the square 6096 root function must still compute square roots.) 6097 6098These requirements apply to the modified work as a whole. If 6099identifiable sections of that work are not derived from the Library, 6100and can be reasonably considered independent and separate works in 6101themselves, then this License, and its terms, do not apply to those 6102sections when you distribute them as separate works. But when you 6103distribute the same sections as part of a whole which is a work based 6104on the Library, the distribution of the whole must be on the terms of 6105this License, whose permissions for other licensees extend to the 6106entire whole, and thus to each and every part regardless of who wrote 6107it. 6108 6109Thus, it is not the intent of this section to claim rights or contest 6110your rights to work written entirely by you; rather, the intent is to 6111exercise the right to control the distribution of derivative or 6112collective works based on the Library. 6113 6114In addition, mere aggregation of another work not based on the Library 6115with the Library (or with a work based on the Library) on a volume of 6116a storage or distribution medium does not bring the other work under 6117the scope of this License. 6118 6119 3. You may opt to apply the terms of the ordinary GNU General Public 6120License instead of this License to a given copy of the Library. To do 6121this, you must alter all the notices that refer to this License, so 6122that they refer to the ordinary GNU General Public License, version 2, 6123instead of to this License. (If a newer version than version 2 of the 6124ordinary GNU General Public License has appeared, then you can specify 6125that version instead if you wish.) Do not make any other change in 6126these notices. 6127 6128 Once this change is made in a given copy, it is irreversible for 6129that copy, so the ordinary GNU General Public License applies to all 6130subsequent copies and derivative works made from that copy. 6131 6132 This option is useful when you wish to copy part of the code of 6133the Library into a program that is not a library. 6134 6135 4. You may copy and distribute the Library (or a portion or 6136derivative of it, under Section 2) in object code or executable form 6137under the terms of Sections 1 and 2 above provided that you accompany 6138it with the complete corresponding machine-readable source code, which 6139must be distributed under the terms of Sections 1 and 2 above on a 6140medium customarily used for software interchange. 6141 6142 If distribution of object code is made by offering access to copy 6143from a designated place, then offering equivalent access to copy the 6144source code from the same place satisfies the requirement to 6145distribute the source code, even though third parties are not 6146compelled to copy the source along with the object code. 6147 6148 5. A program that contains no derivative of any portion of the 6149Library, but is designed to work with the Library by being compiled or 6150linked with it, is called a "work that uses the Library". Such a 6151work, in isolation, is not a derivative work of the Library, and 6152therefore falls outside the scope of this License. 6153 6154 However, linking a "work that uses the Library" with the Library 6155creates an executable that is a derivative of the Library (because it 6156contains portions of the Library), rather than a "work that uses the 6157library". The executable is therefore covered by this License. 6158Section 6 states terms for distribution of such executables. 6159 6160 When a "work that uses the Library" uses material from a header file 6161that is part of the Library, the object code for the work may be a 6162derivative work of the Library even though the source code is not. 6163Whether this is true is especially significant if the work can be 6164linked without the Library, or if the work is itself a library. The 6165threshold for this to be true is not precisely defined by law. 6166 6167 If such an object file uses only numerical parameters, data 6168structure layouts and accessors, and small macros and small inline 6169functions (ten lines or less in length), then the use of the object 6170file is unrestricted, regardless of whether it is legally a derivative 6171work. (Executables containing this object code plus portions of the 6172Library will still fall under Section 6.) 6173 6174 Otherwise, if the work is a derivative of the Library, you may 6175distribute the object code for the work under the terms of Section 6. 6176Any executables containing that work also fall under Section 6, 6177whether or not they are linked directly with the Library itself. 6178 6179 6. As an exception to the Sections above, you may also combine or 6180link a "work that uses the Library" with the Library to produce a 6181work containing portions of the Library, and distribute that work 6182under terms of your choice, provided that the terms permit 6183modification of the work for the customer's own use and reverse 6184engineering for debugging such modifications. 6185 6186 You must give prominent notice with each copy of the work that the 6187Library is used in it and that the Library and its use are covered by 6188this License. You must supply a copy of this License. If the work 6189during execution displays copyright notices, you must include the 6190copyright notice for the Library among them, as well as a reference 6191directing the user to the copy of this License. Also, you must do one 6192of these things: 6193 6194 a) Accompany the work with the complete corresponding 6195 machine-readable source code for the Library including whatever 6196 changes were used in the work (which must be distributed under 6197 Sections 1 and 2 above); and, if the work is an executable linked 6198 with the Library, with the complete machine-readable "work that 6199 uses the Library", as object code and/or source code, so that the 6200 user can modify the Library and then relink to produce a modified 6201 executable containing the modified Library. (It is understood 6202 that the user who changes the contents of definitions files in the 6203 Library will not necessarily be able to recompile the application 6204 to use the modified definitions.) 6205 6206 b) Use a suitable shared library mechanism for linking with the 6207 Library. A suitable mechanism is one that (1) uses at run time a 6208 copy of the library already present on the user's computer system, 6209 rather than copying library functions into the executable, and (2) 6210 will operate properly with a modified version of the library, if 6211 the user installs one, as long as the modified version is 6212 interface-compatible with the version that the work was made with. 6213 6214 c) Accompany the work with a written offer, valid for at 6215 least three years, to give the same user the materials 6216 specified in Subsection 6a, above, for a charge no more 6217 than the cost of performing this distribution. 6218 6219 d) If distribution of the work is made by offering access to copy 6220 from a designated place, offer equivalent access to copy the above 6221 specified materials from the same place. 6222 6223 e) Verify that the user has already received a copy of these 6224 materials or that you have already sent this user a copy. 6225 6226 For an executable, the required form of the "work that uses the 6227Library" must include any data and utility programs needed for 6228reproducing the executable from it. However, as a special exception, 6229the materials to be distributed need not include anything that is 6230normally distributed (in either source or binary form) with the major 6231components (compiler, kernel, and so on) of the operating system on 6232which the executable runs, unless that component itself accompanies 6233the executable. 6234 6235 It may happen that this requirement contradicts the license 6236restrictions of other proprietary libraries that do not normally 6237accompany the operating system. Such a contradiction means you cannot 6238use both them and the Library together in an executable that you 6239distribute. 6240 6241 7. You may place library facilities that are a work based on the 6242Library side-by-side in a single library together with other library 6243facilities not covered by this License, and distribute such a combined 6244library, provided that the separate distribution of the work based on 6245the Library and of the other library facilities is otherwise 6246permitted, and provided that you do these two things: 6247 6248 a) Accompany the combined library with a copy of the same work 6249 based on the Library, uncombined with any other library 6250 facilities. This must be distributed under the terms of the 6251 Sections above. 6252 6253 b) Give prominent notice with the combined library of the fact 6254 that part of it is a work based on the Library, and explaining 6255 where to find the accompanying uncombined form of the same work. 6256 6257 8. You may not copy, modify, sublicense, link with, or distribute 6258the Library except as expressly provided under this License. Any 6259attempt otherwise to copy, modify, sublicense, link with, or 6260distribute the Library is void, and will automatically terminate your 6261rights under this License. However, parties who have received copies, 6262or rights, from you under this License will not have their licenses 6263terminated so long as such parties remain in full compliance. 6264 6265 9. You are not required to accept this License, since you have not 6266signed it. However, nothing else grants you permission to modify or 6267distribute the Library or its derivative works. These actions are 6268prohibited by law if you do not accept this License. Therefore, by 6269modifying or distributing the Library (or any work based on the 6270Library), you indicate your acceptance of this License to do so, and 6271all its terms and conditions for copying, distributing or modifying 6272the Library or works based on it. 6273 6274 10. Each time you redistribute the Library (or any work based on the 6275Library), the recipient automatically receives a license from the 6276original licensor to copy, distribute, link with or modify the Library 6277subject to these terms and conditions. You may not impose any further 6278restrictions on the recipients' exercise of the rights granted herein. 6279You are not responsible for enforcing compliance by third parties with 6280this License. 6281 6282 11. If, as a consequence of a court judgment or allegation of patent 6283infringement or for any other reason (not limited to patent issues), 6284conditions are imposed on you (whether by court order, agreement or 6285otherwise) that contradict the conditions of this License, they do not 6286excuse you from the conditions of this License. If you cannot 6287distribute so as to satisfy simultaneously your obligations under this 6288License and any other pertinent obligations, then as a consequence you 6289may not distribute the Library at all. For example, if a patent 6290license would not permit royalty-free redistribution of the Library by 6291all those who receive copies directly or indirectly through you, then 6292the only way you could satisfy both it and this License would be to 6293refrain entirely from distribution of the Library. 6294 6295If any portion of this section is held invalid or unenforceable under any 6296particular circumstance, the balance of the section is intended to apply, 6297and the section as a whole is intended to apply in other circumstances. 6298 6299It is not the purpose of this section to induce you to infringe any 6300patents or other property right claims or to contest validity of any 6301such claims; this section has the sole purpose of protecting the 6302integrity of the free software distribution system which is 6303implemented by public license practices. Many people have made 6304generous contributions to the wide range of software distributed 6305through that system in reliance on consistent application of that 6306system; it is up to the author/donor to decide if he or she is willing 6307to distribute software through any other system and a licensee cannot 6308impose that choice. 6309 6310This section is intended to make thoroughly clear what is believed to 6311be a consequence of the rest of this License. 6312 6313 12. If the distribution and/or use of the Library is restricted in 6314certain countries either by patents or by copyrighted interfaces, the 6315original copyright holder who places the Library under this License may add 6316an explicit geographical distribution limitation excluding those countries, 6317so that distribution is permitted only in or among countries not thus 6318excluded. In such case, this License incorporates the limitation as if 6319written in the body of this License. 6320 6321 13. The Free Software Foundation may publish revised and/or new 6322versions of the Lesser General Public License from time to time. 6323Such new versions will be similar in spirit to the present version, 6324but may differ in detail to address new problems or concerns. 6325 6326Each version is given a distinguishing version number. If the Library 6327specifies a version number of this License which applies to it and 6328"any later version", you have the option of following the terms and 6329conditions either of that version or of any later version published by 6330the Free Software Foundation. If the Library does not specify a 6331license version number, you may choose any version ever published by 6332the Free Software Foundation. 6333 6334 14. If you wish to incorporate parts of the Library into other free 6335programs whose distribution conditions are incompatible with these, 6336write to the author to ask for permission. For software which is 6337copyrighted by the Free Software Foundation, write to the Free 6338Software Foundation; we sometimes make exceptions for this. Our 6339decision will be guided by the two goals of preserving the free status 6340of all derivatives of our free software and of promoting the sharing 6341and reuse of software generally. 6342 6343 NO WARRANTY 6344 6345 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 6346WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 6347EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 6348OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 6349KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 6350IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 6351PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 6352LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 6353THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 6354 6355 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 6356WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 6357AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 6358FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 6359CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 6360LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 6361RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 6362FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 6363SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 6364DAMAGES. 6365 6366 END OF TERMS AND CONDITIONS 6367 6368 How to Apply These Terms to Your New Libraries 6369 6370 If you develop a new library, and you want it to be of the greatest 6371possible use to the public, we recommend making it free software that 6372everyone can redistribute and change. You can do so by permitting 6373redistribution under these terms (or, alternatively, under the terms of the 6374ordinary General Public License). 6375 6376 To apply these terms, attach the following notices to the library. It is 6377safest to attach them to the start of each source file to most effectively 6378convey the exclusion of warranty; and each file should have at least the 6379"copyright" line and a pointer to where the full notice is found. 6380 6381 <one line to give the library's name and a brief idea of what it does.> 6382 Copyright (C) <year> <name of author> 6383 6384 This library is free software; you can redistribute it and/or 6385 modify it under the terms of the GNU Lesser General Public 6386 License as published by the Free Software Foundation; either 6387 version 2.1 of the License, or (at your option) any later version. 6388 6389 This library is distributed in the hope that it will be useful, 6390 but WITHOUT ANY WARRANTY; without even the implied warranty of 6391 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 6392 Lesser General Public License for more details. 6393 6394 You should have received a copy of the GNU Lesser General Public 6395 License along with this library; if not, write to the Free Software 6396 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6397 6398Also add information on how to contact you by electronic and paper mail. 6399 6400You should also get your employer (if you work as a programmer) or your 6401school, if any, to sign a "copyright disclaimer" for the library, if 6402necessary. Here is a sample; alter the names: 6403 6404 Yoyodyne, Inc., hereby disclaims all copyright interest in the 6405 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 6406 6407 <signature of Ty Coon>, 1 April 1990 6408 Ty Coon, President of Vice 6409 6410That's all there is to it! 6411 6412 6413 GNU GENERAL PUBLIC LICENSE 6414 Version 3, 29 June 2007 6415 6416 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 6417 Everyone is permitted to copy and distribute verbatim copies 6418 of this license document, but changing it is not allowed. 6419 6420 Preamble 6421 6422 The GNU General Public License is a free, copyleft license for 6423software and other kinds of works. 6424 6425 The licenses for most software and other practical works are designed 6426to take away your freedom to share and change the works. By contrast, 6427the GNU General Public License is intended to guarantee your freedom to 6428share and change all versions of a program--to make sure it remains free 6429software for all its users. We, the Free Software Foundation, use the 6430GNU General Public License for most of our software; it applies also to 6431any other work released this way by its authors. You can apply it to 6432your programs, too. 6433 6434 When we speak of free software, we are referring to freedom, not 6435price. Our General Public Licenses are designed to make sure that you 6436have the freedom to distribute copies of free software (and charge for 6437them if you wish), that you receive source code or can get it if you 6438want it, that you can change the software or use pieces of it in new 6439free programs, and that you know you can do these things. 6440 6441 To protect your rights, we need to prevent others from denying you 6442these rights or asking you to surrender the rights. Therefore, you have 6443certain responsibilities if you distribute copies of the software, or if 6444you modify it: responsibilities to respect the freedom of others. 6445 6446 For example, if you distribute copies of such a program, whether 6447gratis or for a fee, you must pass on to the recipients the same 6448freedoms that you received. You must make sure that they, too, receive 6449or can get the source code. And you must show them these terms so they 6450know their rights. 6451 6452 Developers that use the GNU GPL protect your rights with two steps: 6453(1) assert copyright on the software, and (2) offer you this License 6454giving you legal permission to copy, distribute and/or modify it. 6455 6456 For the developers' and authors' protection, the GPL clearly explains 6457that there is no warranty for this free software. For both users' and 6458authors' sake, the GPL requires that modified versions be marked as 6459changed, so that their problems will not be attributed erroneously to 6460authors of previous versions. 6461 6462 Some devices are designed to deny users access to install or run 6463modified versions of the software inside them, although the manufacturer 6464can do so. This is fundamentally incompatible with the aim of 6465protecting users' freedom to change the software. The systematic 6466pattern of such abuse occurs in the area of products for individuals to 6467use, which is precisely where it is most unacceptable. Therefore, we 6468have designed this version of the GPL to prohibit the practice for those 6469products. If such problems arise substantially in other domains, we 6470stand ready to extend this provision to those domains in future versions 6471of the GPL, as needed to protect the freedom of users. 6472 6473 Finally, every program is threatened constantly by software patents. 6474States should not allow patents to restrict development and use of 6475software on general-purpose computers, but in those that do, we wish to 6476avoid the special danger that patents applied to a free program could 6477make it effectively proprietary. To prevent this, the GPL assures that 6478patents cannot be used to render the program non-free. 6479 6480 The precise terms and conditions for copying, distribution and 6481modification follow. 6482 6483 TERMS AND CONDITIONS 6484 6485 0. Definitions. 6486 6487 "This License" refers to version 3 of the GNU General Public License. 6488 6489 "Copyright" also means copyright-like laws that apply to other kinds of 6490works, such as semiconductor masks. 6491 6492 "The Program" refers to any copyrightable work licensed under this 6493License. Each licensee is addressed as "you". "Licensees" and 6494"recipients" may be individuals or organizations. 6495 6496 To "modify" a work means to copy from or adapt all or part of the work 6497in a fashion requiring copyright permission, other than the making of an 6498exact copy. The resulting work is called a "modified version" of the 6499earlier work or a work "based on" the earlier work. 6500 6501 A "covered work" means either the unmodified Program or a work based 6502on the Program. 6503 6504 To "propagate" a work means to do anything with it that, without 6505permission, would make you directly or secondarily liable for 6506infringement under applicable copyright law, except executing it on a 6507computer or modifying a private copy. Propagation includes copying, 6508distribution (with or without modification), making available to the 6509public, and in some countries other activities as well. 6510 6511 To "convey" a work means any kind of propagation that enables other 6512parties to make or receive copies. Mere interaction with a user through 6513a computer network, with no transfer of a copy, is not conveying. 6514 6515 An interactive user interface displays "Appropriate Legal Notices" 6516to the extent that it includes a convenient and prominently visible 6517feature that (1) displays an appropriate copyright notice, and (2) 6518tells the user that there is no warranty for the work (except to the 6519extent that warranties are provided), that licensees may convey the 6520work under this License, and how to view a copy of this License. If 6521the interface presents a list of user commands or options, such as a 6522menu, a prominent item in the list meets this criterion. 6523 6524 1. Source Code. 6525 6526 The "source code" for a work means the preferred form of the work 6527for making modifications to it. "Object code" means any non-source 6528form of a work. 6529 6530 A "Standard Interface" means an interface that either is an official 6531standard defined by a recognized standards body, or, in the case of 6532interfaces specified for a particular programming language, one that 6533is widely used among developers working in that language. 6534 6535 The "System Libraries" of an executable work include anything, other 6536than the work as a whole, that (a) is included in the normal form of 6537packaging a Major Component, but which is not part of that Major 6538Component, and (b) serves only to enable use of the work with that 6539Major Component, or to implement a Standard Interface for which an 6540implementation is available to the public in source code form. A 6541"Major Component", in this context, means a major essential component 6542(kernel, window system, and so on) of the specific operating system 6543(if any) on which the executable work runs, or a compiler used to 6544produce the work, or an object code interpreter used to run it. 6545 6546 The "Corresponding Source" for a work in object code form means all 6547the source code needed to generate, install, and (for an executable 6548work) run the object code and to modify the work, including scripts to 6549control those activities. However, it does not include the work's 6550System Libraries, or general-purpose tools or generally available free 6551programs which are used unmodified in performing those activities but 6552which are not part of the work. For example, Corresponding Source 6553includes interface definition files associated with source files for 6554the work, and the source code for shared libraries and dynamically 6555linked subprograms that the work is specifically designed to require, 6556such as by intimate data communication or control flow between those 6557subprograms and other parts of the work. 6558 6559 The Corresponding Source need not include anything that users 6560can regenerate automatically from other parts of the Corresponding 6561Source. 6562 6563 The Corresponding Source for a work in source code form is that 6564same work. 6565 6566 2. Basic Permissions. 6567 6568 All rights granted under this License are granted for the term of 6569copyright on the Program, and are irrevocable provided the stated 6570conditions are met. This License explicitly affirms your unlimited 6571permission to run the unmodified Program. The output from running a 6572covered work is covered by this License only if the output, given its 6573content, constitutes a covered work. This License acknowledges your 6574rights of fair use or other equivalent, as provided by copyright law. 6575 6576 You may make, run and propagate covered works that you do not 6577convey, without conditions so long as your license otherwise remains 6578in force. You may convey covered works to others for the sole purpose 6579of having them make modifications exclusively for you, or provide you 6580with facilities for running those works, provided that you comply with 6581the terms of this License in conveying all material for which you do 6582not control copyright. Those thus making or running the covered works 6583for you must do so exclusively on your behalf, under your direction 6584and control, on terms that prohibit them from making any copies of 6585your copyrighted material outside their relationship with you. 6586 6587 Conveying under any other circumstances is permitted solely under 6588the conditions stated below. Sublicensing is not allowed; section 10 6589makes it unnecessary. 6590 6591 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 6592 6593 No covered work shall be deemed part of an effective technological 6594measure under any applicable law fulfilling obligations under article 659511 of the WIPO copyright treaty adopted on 20 December 1996, or 6596similar laws prohibiting or restricting circumvention of such 6597measures. 6598 6599 When you convey a covered work, you waive any legal power to forbid 6600circumvention of technological measures to the extent such circumvention 6601is effected by exercising rights under this License with respect to 6602the covered work, and you disclaim any intention to limit operation or 6603modification of the work as a means of enforcing, against the work's 6604users, your or third parties' legal rights to forbid circumvention of 6605technological measures. 6606 6607 4. Conveying Verbatim Copies. 6608 6609 You may convey verbatim copies of the Program's source code as you 6610receive it, in any medium, provided that you conspicuously and 6611appropriately publish on each copy an appropriate copyright notice; 6612keep intact all notices stating that this License and any 6613non-permissive terms added in accord with section 7 apply to the code; 6614keep intact all notices of the absence of any warranty; and give all 6615recipients a copy of this License along with the Program. 6616 6617 You may charge any price or no price for each copy that you convey, 6618and you may offer support or warranty protection for a fee. 6619 6620 5. Conveying Modified Source Versions. 6621 6622 You may convey a work based on the Program, or the modifications to 6623produce it from the Program, in the form of source code under the 6624terms of section 4, provided that you also meet all of these conditions: 6625 6626 a) The work must carry prominent notices stating that you modified 6627 it, and giving a relevant date. 6628 6629 b) The work must carry prominent notices stating that it is 6630 released under this License and any conditions added under section 6631 7. This requirement modifies the requirement in section 4 to 6632 "keep intact all notices". 6633 6634 c) You must license the entire work, as a whole, under this 6635 License to anyone who comes into possession of a copy. This 6636 License will therefore apply, along with any applicable section 7 6637 additional terms, to the whole of the work, and all its parts, 6638 regardless of how they are packaged. This License gives no 6639 permission to license the work in any other way, but it does not 6640 invalidate such permission if you have separately received it. 6641 6642 d) If the work has interactive user interfaces, each must display 6643 Appropriate Legal Notices; however, if the Program has interactive 6644 interfaces that do not display Appropriate Legal Notices, your 6645 work need not make them do so. 6646 6647 A compilation of a covered work with other separate and independent 6648works, which are not by their nature extensions of the covered work, 6649and which are not combined with it such as to form a larger program, 6650in or on a volume of a storage or distribution medium, is called an 6651"aggregate" if the compilation and its resulting copyright are not 6652used to limit the access or legal rights of the compilation's users 6653beyond what the individual works permit. Inclusion of a covered work 6654in an aggregate does not cause this License to apply to the other 6655parts of the aggregate. 6656 6657 6. Conveying Non-Source Forms. 6658 6659 You may convey a covered work in object code form under the terms 6660of sections 4 and 5, provided that you also convey the 6661machine-readable Corresponding Source under the terms of this License, 6662in one of these ways: 6663 6664 a) Convey the object code in, or embodied in, a physical product 6665 (including a physical distribution medium), accompanied by the 6666 Corresponding Source fixed on a durable physical medium 6667 customarily used for software interchange. 6668 6669 b) Convey the object code in, or embodied in, a physical product 6670 (including a physical distribution medium), accompanied by a 6671 written offer, valid for at least three years and valid for as 6672 long as you offer spare parts or customer support for that product 6673 model, to give anyone who possesses the object code either (1) a 6674 copy of the Corresponding Source for all the software in the 6675 product that is covered by this License, on a durable physical 6676 medium customarily used for software interchange, for a price no 6677 more than your reasonable cost of physically performing this 6678 conveying of source, or (2) access to copy the 6679 Corresponding Source from a network server at no charge. 6680 6681 c) Convey individual copies of the object code with a copy of the 6682 written offer to provide the Corresponding Source. This 6683 alternative is allowed only occasionally and noncommercially, and 6684 only if you received the object code with such an offer, in accord 6685 with subsection 6b. 6686 6687 d) Convey the object code by offering access from a designated 6688 place (gratis or for a charge), and offer equivalent access to the 6689 Corresponding Source in the same way through the same place at no 6690 further charge. You need not require recipients to copy the 6691 Corresponding Source along with the object code. If the place to 6692 copy the object code is a network server, the Corresponding Source 6693 may be on a different server (operated by you or a third party) 6694 that supports equivalent copying facilities, provided you maintain 6695 clear directions next to the object code saying where to find the 6696 Corresponding Source. Regardless of what server hosts the 6697 Corresponding Source, you remain obligated to ensure that it is 6698 available for as long as needed to satisfy these requirements. 6699 6700 e) Convey the object code using peer-to-peer transmission, provided 6701 you inform other peers where the object code and Corresponding 6702 Source of the work are being offered to the general public at no 6703 charge under subsection 6d. 6704 6705 A separable portion of the object code, whose source code is excluded 6706from the Corresponding Source as a System Library, need not be 6707included in conveying the object code work. 6708 6709 A "User Product" is either (1) a "consumer product", which means any 6710tangible personal property which is normally used for personal, family, 6711or household purposes, or (2) anything designed or sold for incorporation 6712into a dwelling. In determining whether a product is a consumer product, 6713doubtful cases shall be resolved in favor of coverage. For a particular 6714product received by a particular user, "normally used" refers to a 6715typical or common use of that class of product, regardless of the status 6716of the particular user or of the way in which the particular user 6717actually uses, or expects or is expected to use, the product. A product 6718is a consumer product regardless of whether the product has substantial 6719commercial, industrial or non-consumer uses, unless such uses represent 6720the only significant mode of use of the product. 6721 6722 "Installation Information" for a User Product means any methods, 6723procedures, authorization keys, or other information required to install 6724and execute modified versions of a covered work in that User Product from 6725a modified version of its Corresponding Source. The information must 6726suffice to ensure that the continued functioning of the modified object 6727code is in no case prevented or interfered with solely because 6728modification has been made. 6729 6730 If you convey an object code work under this section in, or with, or 6731specifically for use in, a User Product, and the conveying occurs as 6732part of a transaction in which the right of possession and use of the 6733User Product is transferred to the recipient in perpetuity or for a 6734fixed term (regardless of how the transaction is characterized), the 6735Corresponding Source conveyed under this section must be accompanied 6736by the Installation Information. But this requirement does not apply 6737if neither you nor any third party retains the ability to install 6738modified object code on the User Product (for example, the work has 6739been installed in ROM). 6740 6741 The requirement to provide Installation Information does not include a 6742requirement to continue to provide support service, warranty, or updates 6743for a work that has been modified or installed by the recipient, or for 6744the User Product in which it has been modified or installed. Access to a 6745network may be denied when the modification itself materially and 6746adversely affects the operation of the network or violates the rules and 6747protocols for communication across the network. 6748 6749 Corresponding Source conveyed, and Installation Information provided, 6750in accord with this section must be in a format that is publicly 6751documented (and with an implementation available to the public in 6752source code form), and must require no special password or key for 6753unpacking, reading or copying. 6754 6755 7. Additional Terms. 6756 6757 "Additional permissions" are terms that supplement the terms of this 6758License by making exceptions from one or more of its conditions. 6759Additional permissions that are applicable to the entire Program shall 6760be treated as though they were included in this License, to the extent 6761that they are valid under applicable law. If additional permissions 6762apply only to part of the Program, that part may be used separately 6763under those permissions, but the entire Program remains governed by 6764this License without regard to the additional permissions. 6765 6766 When you convey a copy of a covered work, you may at your option 6767remove any additional permissions from that copy, or from any part of 6768it. (Additional permissions may be written to require their own 6769removal in certain cases when you modify the work.) You may place 6770additional permissions on material, added by you to a covered work, 6771for which you have or can give appropriate copyright permission. 6772 6773 Notwithstanding any other provision of this License, for material you 6774add to a covered work, you may (if authorized by the copyright holders of 6775that material) supplement the terms of this License with terms: 6776 6777 a) Disclaiming warranty or limiting liability differently from the 6778 terms of sections 15 and 16 of this License; or 6779 6780 b) Requiring preservation of specified reasonable legal notices or 6781 author attributions in that material or in the Appropriate Legal 6782 Notices displayed by works containing it; or 6783 6784 c) Prohibiting misrepresentation of the origin of that material, or 6785 requiring that modified versions of such material be marked in 6786 reasonable ways as different from the original version; or 6787 6788 d) Limiting the use for publicity purposes of names of licensors or 6789 authors of the material; or 6790 6791 e) Declining to grant rights under trademark law for use of some 6792 trade names, trademarks, or service marks; or 6793 6794 f) Requiring indemnification of licensors and authors of that 6795 material by anyone who conveys the material (or modified versions of 6796 it) with contractual assumptions of liability to the recipient, for 6797 any liability that these contractual assumptions directly impose on 6798 those licensors and authors. 6799 6800 All other non-permissive additional terms are considered "further 6801restrictions" within the meaning of section 10. If the Program as you 6802received it, or any part of it, contains a notice stating that it is 6803governed by this License along with a term that is a further 6804restriction, you may remove that term. If a license document contains 6805a further restriction but permits relicensing or conveying under this 6806License, you may add to a covered work material governed by the terms 6807of that license document, provided that the further restriction does 6808not survive such relicensing or conveying. 6809 6810 If you add terms to a covered work in accord with this section, you 6811must place, in the relevant source files, a statement of the 6812additional terms that apply to those files, or a notice indicating 6813where to find the applicable terms. 6814 6815 Additional terms, permissive or non-permissive, may be stated in the 6816form of a separately written license, or stated as exceptions; 6817the above requirements apply either way. 6818 6819 8. Termination. 6820 6821 You may not propagate or modify a covered work except as expressly 6822provided under this License. Any attempt otherwise to propagate or 6823modify it is void, and will automatically terminate your rights under 6824this License (including any patent licenses granted under the third 6825paragraph of section 11). 6826 6827 However, if you cease all violation of this License, then your 6828license from a particular copyright holder is reinstated (a) 6829provisionally, unless and until the copyright holder explicitly and 6830finally terminates your license, and (b) permanently, if the copyright 6831holder fails to notify you of the violation by some reasonable means 6832prior to 60 days after the cessation. 6833 6834 Moreover, your license from a particular copyright holder is 6835reinstated permanently if the copyright holder notifies you of the 6836violation by some reasonable means, this is the first time you have 6837received notice of violation of this License (for any work) from that 6838copyright holder, and you cure the violation prior to 30 days after 6839your receipt of the notice. 6840 6841 Termination of your rights under this section does not terminate the 6842licenses of parties who have received copies or rights from you under 6843this License. If your rights have been terminated and not permanently 6844reinstated, you do not qualify to receive new licenses for the same 6845material under section 10. 6846 6847 9. Acceptance Not Required for Having Copies. 6848 6849 You are not required to accept this License in order to receive or 6850run a copy of the Program. Ancillary propagation of a covered work 6851occurring solely as a consequence of using peer-to-peer transmission 6852to receive a copy likewise does not require acceptance. However, 6853nothing other than this License grants you permission to propagate or 6854modify any covered work. These actions infringe copyright if you do 6855not accept this License. Therefore, by modifying or propagating a 6856covered work, you indicate your acceptance of this License to do so. 6857 6858 10. Automatic Licensing of Downstream Recipients. 6859 6860 Each time you convey a covered work, the recipient automatically 6861receives a license from the original licensors, to run, modify and 6862propagate that work, subject to this License. You are not responsible 6863for enforcing compliance by third parties with this License. 6864 6865 An "entity transaction" is a transaction transferring control of an 6866organization, or substantially all assets of one, or subdividing an 6867organization, or merging organizations. If propagation of a covered 6868work results from an entity transaction, each party to that 6869transaction who receives a copy of the work also receives whatever 6870licenses to the work the party's predecessor in interest had or could 6871give under the previous paragraph, plus a right to possession of the 6872Corresponding Source of the work from the predecessor in interest, if 6873the predecessor has it or can get it with reasonable efforts. 6874 6875 You may not impose any further restrictions on the exercise of the 6876rights granted or affirmed under this License. For example, you may 6877not impose a license fee, royalty, or other charge for exercise of 6878rights granted under this License, and you may not initiate litigation 6879(including a cross-claim or counterclaim in a lawsuit) alleging that 6880any patent claim is infringed by making, using, selling, offering for 6881sale, or importing the Program or any portion of it. 6882 6883 11. Patents. 6884 6885 A "contributor" is a copyright holder who authorizes use under this 6886License of the Program or a work on which the Program is based. The 6887work thus licensed is called the contributor's "contributor version". 6888 6889 A contributor's "essential patent claims" are all patent claims 6890owned or controlled by the contributor, whether already acquired or 6891hereafter acquired, that would be infringed by some manner, permitted 6892by this License, of making, using, or selling its contributor version, 6893but do not include claims that would be infringed only as a 6894consequence of further modification of the contributor version. For 6895purposes of this definition, "control" includes the right to grant 6896patent sublicenses in a manner consistent with the requirements of 6897this License. 6898 6899 Each contributor grants you a non-exclusive, worldwide, royalty-free 6900patent license under the contributor's essential patent claims, to 6901make, use, sell, offer for sale, import and otherwise run, modify and 6902propagate the contents of its contributor version. 6903 6904 In the following three paragraphs, a "patent license" is any express 6905agreement or commitment, however denominated, not to enforce a patent 6906(such as an express permission to practice a patent or covenant not to 6907sue for patent infringement). To "grant" such a patent license to a 6908party means to make such an agreement or commitment not to enforce a 6909patent against the party. 6910 6911 If you convey a covered work, knowingly relying on a patent license, 6912and the Corresponding Source of the work is not available for anyone 6913to copy, free of charge and under the terms of this License, through a 6914publicly available network server or other readily accessible means, 6915then you must either (1) cause the Corresponding Source to be so 6916available, or (2) arrange to deprive yourself of the benefit of the 6917patent license for this particular work, or (3) arrange, in a manner 6918consistent with the requirements of this License, to extend the patent 6919license to downstream recipients. "Knowingly relying" means you have 6920actual knowledge that, but for the patent license, your conveying the 6921covered work in a country, or your recipient's use of the covered work 6922in a country, would infringe one or more identifiable patents in that 6923country that you have reason to believe are valid. 6924 6925 If, pursuant to or in connection with a single transaction or 6926arrangement, you convey, or propagate by procuring conveyance of, a 6927covered work, and grant a patent license to some of the parties 6928receiving the covered work authorizing them to use, propagate, modify 6929or convey a specific copy of the covered work, then the patent license 6930you grant is automatically extended to all recipients of the covered 6931work and works based on it. 6932 6933 A patent license is "discriminatory" if it does not include within 6934the scope of its coverage, prohibits the exercise of, or is 6935conditioned on the non-exercise of one or more of the rights that are 6936specifically granted under this License. You may not convey a covered 6937work if you are a party to an arrangement with a third party that is 6938in the business of distributing software, under which you make payment 6939to the third party based on the extent of your activity of conveying 6940the work, and under which the third party grants, to any of the 6941parties who would receive the covered work from you, a discriminatory 6942patent license (a) in connection with copies of the covered work 6943conveyed by you (or copies made from those copies), or (b) primarily 6944for and in connection with specific products or compilations that 6945contain the covered work, unless you entered into that arrangement, 6946or that patent license was granted, prior to 28 March 2007. 6947 6948 Nothing in this License shall be construed as excluding or limiting 6949any implied license or other defenses to infringement that may 6950otherwise be available to you under applicable patent law. 6951 6952 12. No Surrender of Others' Freedom. 6953 6954 If conditions are imposed on you (whether by court order, agreement or 6955otherwise) that contradict the conditions of this License, they do not 6956excuse you from the conditions of this License. If you cannot convey a 6957covered work so as to satisfy simultaneously your obligations under this 6958License and any other pertinent obligations, then as a consequence you may 6959not convey it at all. For example, if you agree to terms that obligate you 6960to collect a royalty for further conveying from those to whom you convey 6961the Program, the only way you could satisfy both those terms and this 6962License would be to refrain entirely from conveying the Program. 6963 6964 13. Use with the GNU Affero General Public License. 6965 6966 Notwithstanding any other provision of this License, you have 6967permission to link or combine any covered work with a work licensed 6968under version 3 of the GNU Affero General Public License into a single 6969combined work, and to convey the resulting work. The terms of this 6970License will continue to apply to the part which is the covered work, 6971but the special requirements of the GNU Affero General Public License, 6972section 13, concerning interaction through a network will apply to the 6973combination as such. 6974 6975 14. Revised Versions of this License. 6976 6977 The Free Software Foundation may publish revised and/or new versions of 6978the GNU General Public License from time to time. Such new versions will 6979be similar in spirit to the present version, but may differ in detail to 6980address new problems or concerns. 6981 6982 Each version is given a distinguishing version number. If the 6983Program specifies that a certain numbered version of the GNU General 6984Public License "or any later version" applies to it, you have the 6985option of following the terms and conditions either of that numbered 6986version or of any later version published by the Free Software 6987Foundation. If the Program does not specify a version number of the 6988GNU General Public License, you may choose any version ever published 6989by the Free Software Foundation. 6990 6991 If the Program specifies that a proxy can decide which future 6992versions of the GNU General Public License can be used, that proxy's 6993public statement of acceptance of a version permanently authorizes you 6994to choose that version for the Program. 6995 6996 Later license versions may give you additional or different 6997permissions. However, no additional obligations are imposed on any 6998author or copyright holder as a result of your choosing to follow a 6999later version. 7000 7001 15. Disclaimer of Warranty. 7002 7003 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 7004APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 7005HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 7006OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 7007THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 7008PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 7009IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 7010ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 7011 7012 16. Limitation of Liability. 7013 7014 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 7015WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 7016THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 7017GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 7018USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 7019DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 7020PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 7021EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 7022SUCH DAMAGES. 7023 7024 17. Interpretation of Sections 15 and 16. 7025 7026 If the disclaimer of warranty and limitation of liability provided 7027above cannot be given local legal effect according to their terms, 7028reviewing courts shall apply local law that most closely approximates 7029an absolute waiver of all civil liability in connection with the 7030Program, unless a warranty or assumption of liability accompanies a 7031copy of the Program in return for a fee. 7032 7033 END OF TERMS AND CONDITIONS 7034 7035 How to Apply These Terms to Your New Programs 7036 7037 If you develop a new program, and you want it to be of the greatest 7038possible use to the public, the best way to achieve this is to make it 7039free software which everyone can redistribute and change under these terms. 7040 7041 To do so, attach the following notices to the program. It is safest 7042to attach them to the start of each source file to most effectively 7043state the exclusion of warranty; and each file should have at least 7044the "copyright" line and a pointer to where the full notice is found. 7045 7046 <one line to give the program's name and a brief idea of what it does.> 7047 Copyright (C) <year> <name of author> 7048 7049 This program is free software: you can redistribute it and/or modify 7050 it under the terms of the GNU General Public License as published by 7051 the Free Software Foundation, either version 3 of the License, or 7052 (at your option) any later version. 7053 7054 This program is distributed in the hope that it will be useful, 7055 but WITHOUT ANY WARRANTY; without even the implied warranty of 7056 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7057 GNU General Public License for more details. 7058 7059 You should have received a copy of the GNU General Public License 7060 along with this program. If not, see <http://www.gnu.org/licenses/>. 7061 7062Also add information on how to contact you by electronic and paper mail. 7063 7064 If the program does terminal interaction, make it output a short 7065notice like this when it starts in an interactive mode: 7066 7067 <program> Copyright (C) <year> <name of author> 7068 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 7069 This is free software, and you are welcome to redistribute it 7070 under certain conditions; type `show c' for details. 7071 7072The hypothetical commands `show w' and `show c' should show the appropriate 7073parts of the General Public License. Of course, your program's commands 7074might be different; for a GUI interface, you would use an "about box". 7075 7076 You should also get your employer (if you work as a programmer) or school, 7077if any, to sign a "copyright disclaimer" for the program, if necessary. 7078For more information on this, and how to apply and follow the GNU GPL, see 7079<http://www.gnu.org/licenses/>. 7080 7081 The GNU General Public License does not permit incorporating your program 7082into proprietary programs. If your program is a subroutine library, you 7083may consider it more useful to permit linking proprietary applications with 7084the library. If this is what you want to do, use the GNU Lesser General 7085Public License instead of this License. But first, please read 7086<http://www.gnu.org/philosophy/why-not-lgpl.html>. 7087 7088 GNU LESSER GENERAL PUBLIC LICENSE 7089 Version 2.1, February 1999 7090 7091 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 7092 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 7093 Everyone is permitted to copy and distribute verbatim copies 7094 of this license document, but changing it is not allowed. 7095 7096[This is the first released version of the Lesser GPL. It also counts 7097 as the successor of the GNU Library Public License, version 2, hence 7098 the version number 2.1.] 7099 7100 Preamble 7101 7102 The licenses for most software are designed to take away your 7103freedom to share and change it. By contrast, the GNU General Public 7104Licenses are intended to guarantee your freedom to share and change 7105free software--to make sure the software is free for all its users. 7106 7107 This license, the Lesser General Public License, applies to some 7108specially designated software packages--typically libraries--of the 7109Free Software Foundation and other authors who decide to use it. You 7110can use it too, but we suggest you first think carefully about whether 7111this license or the ordinary General Public License is the better 7112strategy to use in any particular case, based on the explanations 7113below. 7114 7115 When we speak of free software, we are referring to freedom of use, 7116not price. Our General Public Licenses are designed to make sure that 7117you have the freedom to distribute copies of free software (and charge 7118for this service if you wish); that you receive source code or can get 7119it if you want it; that you can change the software and use pieces of 7120it in new free programs; and that you are informed that you can do 7121these things. 7122 7123 To protect your rights, we need to make restrictions that forbid 7124distributors to deny you these rights or to ask you to surrender these 7125rights. These restrictions translate to certain responsibilities for 7126you if you distribute copies of the library or if you modify it. 7127 7128 For example, if you distribute copies of the library, whether gratis 7129or for a fee, you must give the recipients all the rights that we gave 7130you. You must make sure that they, too, receive or can get the source 7131code. If you link other code with the library, you must provide 7132complete object files to the recipients, so that they can relink them 7133with the library after making changes to the library and recompiling 7134it. And you must show them these terms so they know their rights. 7135 7136 We protect your rights with a two-step method: (1) we copyright the 7137library, and (2) we offer you this license, which gives you legal 7138permission to copy, distribute and/or modify the library. 7139 7140 To protect each distributor, we want to make it very clear that 7141there is no warranty for the free library. Also, if the library is 7142modified by someone else and passed on, the recipients should know 7143that what they have is not the original version, so that the original 7144author's reputation will not be affected by problems that might be 7145introduced by others. 7146 7147 Finally, software patents pose a constant threat to the existence of 7148any free program. We wish to make sure that a company cannot 7149effectively restrict the users of a free program by obtaining a 7150restrictive license from a patent holder. Therefore, we insist that 7151any patent license obtained for a version of the library must be 7152consistent with the full freedom of use specified in this license. 7153 7154 Most GNU software, including some libraries, is covered by the 7155ordinary GNU General Public License. This license, the GNU Lesser 7156General Public License, applies to certain designated libraries, and 7157is quite different from the ordinary General Public License. We use 7158this license for certain libraries in order to permit linking those 7159libraries into non-free programs. 7160 7161 When a program is linked with a library, whether statically or using 7162a shared library, the combination of the two is legally speaking a 7163combined work, a derivative of the original library. The ordinary 7164General Public License therefore permits such linking only if the 7165entire combination fits its criteria of freedom. The Lesser General 7166Public License permits more lax criteria for linking other code with 7167the library. 7168 7169 We call this license the "Lesser" General Public License because it 7170does Less to protect the user's freedom than the ordinary General 7171Public License. It also provides other free software developers Less 7172of an advantage over competing non-free programs. These disadvantages 7173are the reason we use the ordinary General Public License for many 7174libraries. However, the Lesser license provides advantages in certain 7175special circumstances. 7176 7177 For example, on rare occasions, there may be a special need to 7178encourage the widest possible use of a certain library, so that it 7179becomes a de-facto standard. To achieve this, non-free programs must 7180be allowed to use the library. A more frequent case is that a free 7181library does the same job as widely used non-free libraries. In this 7182case, there is little to gain by limiting the free library to free 7183software only, so we use the Lesser General Public License. 7184 7185 In other cases, permission to use a particular library in non-free 7186programs enables a greater number of people to use a large body of 7187free software. For example, permission to use the GNU C Library in 7188non-free programs enables many more people to use the whole GNU 7189operating system, as well as its variant, the GNU/Linux operating 7190system. 7191 7192 Although the Lesser General Public License is Less protective of the 7193users' freedom, it does ensure that the user of a program that is 7194linked with the Library has the freedom and the wherewithal to run 7195that program using a modified version of the Library. 7196 7197 The precise terms and conditions for copying, distribution and 7198modification follow. Pay close attention to the difference between a 7199"work based on the library" and a "work that uses the library". The 7200former contains code derived from the library, whereas the latter must 7201be combined with the library in order to run. 7202 7203 GNU LESSER GENERAL PUBLIC LICENSE 7204 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 7205 7206 0. This License Agreement applies to any software library or other 7207program which contains a notice placed by the copyright holder or 7208other authorized party saying it may be distributed under the terms of 7209this Lesser General Public License (also called "this License"). 7210Each licensee is addressed as "you". 7211 7212 A "library" means a collection of software functions and/or data 7213prepared so as to be conveniently linked with application programs 7214(which use some of those functions and data) to form executables. 7215 7216 The "Library", below, refers to any such software library or work 7217which has been distributed under these terms. A "work based on the 7218Library" means either the Library or any derivative work under 7219copyright law: that is to say, a work containing the Library or a 7220portion of it, either verbatim or with modifications and/or translated 7221straightforwardly into another language. (Hereinafter, translation is 7222included without limitation in the term "modification".) 7223 7224 "Source code" for a work means the preferred form of the work for 7225making modifications to it. For a library, complete source code means 7226all the source code for all modules it contains, plus any associated 7227interface definition files, plus the scripts used to control 7228compilation and installation of the library. 7229 7230 Activities other than copying, distribution and modification are not 7231covered by this License; they are outside its scope. The act of 7232running a program using the Library is not restricted, and output from 7233such a program is covered only if its contents constitute a work based 7234on the Library (independent of the use of the Library in a tool for 7235writing it). Whether that is true depends on what the Library does 7236and what the program that uses the Library does. 7237 7238 1. You may copy and distribute verbatim copies of the Library's 7239complete source code as you receive it, in any medium, provided that 7240you conspicuously and appropriately publish on each copy an 7241appropriate copyright notice and disclaimer of warranty; keep intact 7242all the notices that refer to this License and to the absence of any 7243warranty; and distribute a copy of this License along with the 7244Library. 7245 7246 You may charge a fee for the physical act of transferring a copy, 7247and you may at your option offer warranty protection in exchange for a 7248fee. 7249 7250 2. You may modify your copy or copies of the Library or any portion 7251of it, thus forming a work based on the Library, and copy and 7252distribute such modifications or work under the terms of Section 1 7253above, provided that you also meet all of these conditions: 7254 7255 a) The modified work must itself be a software library. 7256 7257 b) You must cause the files modified to carry prominent notices 7258 stating that you changed the files and the date of any change. 7259 7260 c) You must cause the whole of the work to be licensed at no 7261 charge to all third parties under the terms of this License. 7262 7263 d) If a facility in the modified Library refers to a function or a 7264 table of data to be supplied by an application program that uses 7265 the facility, other than as an argument passed when the facility 7266 is invoked, then you must make a good faith effort to ensure that, 7267 in the event an application does not supply such function or 7268 table, the facility still operates, and performs whatever part of 7269 its purpose remains meaningful. 7270 7271 (For example, a function in a library to compute square roots has 7272 a purpose that is entirely well-defined independent of the 7273 application. Therefore, Subsection 2d requires that any 7274 application-supplied function or table used by this function must 7275 be optional: if the application does not supply it, the square 7276 root function must still compute square roots.) 7277 7278These requirements apply to the modified work as a whole. If 7279identifiable sections of that work are not derived from the Library, 7280and can be reasonably considered independent and separate works in 7281themselves, then this License, and its terms, do not apply to those 7282sections when you distribute them as separate works. But when you 7283distribute the same sections as part of a whole which is a work based 7284on the Library, the distribution of the whole must be on the terms of 7285this License, whose permissions for other licensees extend to the 7286entire whole, and thus to each and every part regardless of who wrote 7287it. 7288 7289Thus, it is not the intent of this section to claim rights or contest 7290your rights to work written entirely by you; rather, the intent is to 7291exercise the right to control the distribution of derivative or 7292collective works based on the Library. 7293 7294In addition, mere aggregation of another work not based on the Library 7295with the Library (or with a work based on the Library) on a volume of 7296a storage or distribution medium does not bring the other work under 7297the scope of this License. 7298 7299 3. You may opt to apply the terms of the ordinary GNU General Public 7300License instead of this License to a given copy of the Library. To do 7301this, you must alter all the notices that refer to this License, so 7302that they refer to the ordinary GNU General Public License, version 2, 7303instead of to this License. (If a newer version than version 2 of the 7304ordinary GNU General Public License has appeared, then you can specify 7305that version instead if you wish.) Do not make any other change in 7306these notices. 7307 7308 Once this change is made in a given copy, it is irreversible for 7309that copy, so the ordinary GNU General Public License applies to all 7310subsequent copies and derivative works made from that copy. 7311 7312 This option is useful when you wish to copy part of the code of 7313the Library into a program that is not a library. 7314 7315 4. You may copy and distribute the Library (or a portion or 7316derivative of it, under Section 2) in object code or executable form 7317under the terms of Sections 1 and 2 above provided that you accompany 7318it with the complete corresponding machine-readable source code, which 7319must be distributed under the terms of Sections 1 and 2 above on a 7320medium customarily used for software interchange. 7321 7322 If distribution of object code is made by offering access to copy 7323from a designated place, then offering equivalent access to copy the 7324source code from the same place satisfies the requirement to 7325distribute the source code, even though third parties are not 7326compelled to copy the source along with the object code. 7327 7328 5. A program that contains no derivative of any portion of the 7329Library, but is designed to work with the Library by being compiled or 7330linked with it, is called a "work that uses the Library". Such a 7331work, in isolation, is not a derivative work of the Library, and 7332therefore falls outside the scope of this License. 7333 7334 However, linking a "work that uses the Library" with the Library 7335creates an executable that is a derivative of the Library (because it 7336contains portions of the Library), rather than a "work that uses the 7337library". The executable is therefore covered by this License. 7338Section 6 states terms for distribution of such executables. 7339 7340 When a "work that uses the Library" uses material from a header file 7341that is part of the Library, the object code for the work may be a 7342derivative work of the Library even though the source code is not. 7343Whether this is true is especially significant if the work can be 7344linked without the Library, or if the work is itself a library. The 7345threshold for this to be true is not precisely defined by law. 7346 7347 If such an object file uses only numerical parameters, data 7348structure layouts and accessors, and small macros and small inline 7349functions (ten lines or less in length), then the use of the object 7350file is unrestricted, regardless of whether it is legally a derivative 7351work. (Executables containing this object code plus portions of the 7352Library will still fall under Section 6.) 7353 7354 Otherwise, if the work is a derivative of the Library, you may 7355distribute the object code for the work under the terms of Section 6. 7356Any executables containing that work also fall under Section 6, 7357whether or not they are linked directly with the Library itself. 7358 7359 6. As an exception to the Sections above, you may also combine or 7360link a "work that uses the Library" with the Library to produce a 7361work containing portions of the Library, and distribute that work 7362under terms of your choice, provided that the terms permit 7363modification of the work for the customer's own use and reverse 7364engineering for debugging such modifications. 7365 7366 You must give prominent notice with each copy of the work that the 7367Library is used in it and that the Library and its use are covered by 7368this License. You must supply a copy of this License. If the work 7369during execution displays copyright notices, you must include the 7370copyright notice for the Library among them, as well as a reference 7371directing the user to the copy of this License. Also, you must do one 7372of these things: 7373 7374 a) Accompany the work with the complete corresponding 7375 machine-readable source code for the Library including whatever 7376 changes were used in the work (which must be distributed under 7377 Sections 1 and 2 above); and, if the work is an executable linked 7378 with the Library, with the complete machine-readable "work that 7379 uses the Library", as object code and/or source code, so that the 7380 user can modify the Library and then relink to produce a modified 7381 executable containing the modified Library. (It is understood 7382 that the user who changes the contents of definitions files in the 7383 Library will not necessarily be able to recompile the application 7384 to use the modified definitions.) 7385 7386 b) Use a suitable shared library mechanism for linking with the 7387 Library. A suitable mechanism is one that (1) uses at run time a 7388 copy of the library already present on the user's computer system, 7389 rather than copying library functions into the executable, and (2) 7390 will operate properly with a modified version of the library, if 7391 the user installs one, as long as the modified version is 7392 interface-compatible with the version that the work was made with. 7393 7394 c) Accompany the work with a written offer, valid for at least 7395 three years, to give the same user the materials specified in 7396 Subsection 6a, above, for a charge no more than the cost of 7397 performing this distribution. 7398 7399 d) If distribution of the work is made by offering access to copy 7400 from a designated place, offer equivalent access to copy the above 7401 specified materials from the same place. 7402 7403 e) Verify that the user has already received a copy of these 7404 materials or that you have already sent this user a copy. 7405 7406 For an executable, the required form of the "work that uses the 7407Library" must include any data and utility programs needed for 7408reproducing the executable from it. However, as a special exception, 7409the materials to be distributed need not include anything that is 7410normally distributed (in either source or binary form) with the major 7411components (compiler, kernel, and so on) of the operating system on 7412which the executable runs, unless that component itself accompanies 7413the executable. 7414 7415 It may happen that this requirement contradicts the license 7416restrictions of other proprietary libraries that do not normally 7417accompany the operating system. Such a contradiction means you cannot 7418use both them and the Library together in an executable that you 7419distribute. 7420 7421 7. You may place library facilities that are a work based on the 7422Library side-by-side in a single library together with other library 7423facilities not covered by this License, and distribute such a combined 7424library, provided that the separate distribution of the work based on 7425the Library and of the other library facilities is otherwise 7426permitted, and provided that you do these two things: 7427 7428 a) Accompany the combined library with a copy of the same work 7429 based on the Library, uncombined with any other library 7430 facilities. This must be distributed under the terms of the 7431 Sections above. 7432 7433 b) Give prominent notice with the combined library of the fact 7434 that part of it is a work based on the Library, and explaining 7435 where to find the accompanying uncombined form of the same work. 7436 7437 8. You may not copy, modify, sublicense, link with, or distribute 7438the Library except as expressly provided under this License. Any 7439attempt otherwise to copy, modify, sublicense, link with, or 7440distribute the Library is void, and will automatically terminate your 7441rights under this License. However, parties who have received copies, 7442or rights, from you under this License will not have their licenses 7443terminated so long as such parties remain in full compliance. 7444 7445 9. You are not required to accept this License, since you have not 7446signed it. However, nothing else grants you permission to modify or 7447distribute the Library or its derivative works. These actions are 7448prohibited by law if you do not accept this License. Therefore, by 7449modifying or distributing the Library (or any work based on the 7450Library), you indicate your acceptance of this License to do so, and 7451all its terms and conditions for copying, distributing or modifying 7452the Library or works based on it. 7453 7454 10. Each time you redistribute the Library (or any work based on the 7455Library), the recipient automatically receives a license from the 7456original licensor to copy, distribute, link with or modify the Library 7457subject to these terms and conditions. You may not impose any further 7458restrictions on the recipients' exercise of the rights granted herein. 7459You are not responsible for enforcing compliance by third parties with 7460this License. 7461 7462 11. If, as a consequence of a court judgment or allegation of patent 7463infringement or for any other reason (not limited to patent issues), 7464conditions are imposed on you (whether by court order, agreement or 7465otherwise) that contradict the conditions of this License, they do not 7466excuse you from the conditions of this License. If you cannot 7467distribute so as to satisfy simultaneously your obligations under this 7468License and any other pertinent obligations, then as a consequence you 7469may not distribute the Library at all. For example, if a patent 7470license would not permit royalty-free redistribution of the Library by 7471all those who receive copies directly or indirectly through you, then 7472the only way you could satisfy both it and this License would be to 7473refrain entirely from distribution of the Library. 7474 7475If any portion of this section is held invalid or unenforceable under 7476any particular circumstance, the balance of the section is intended to 7477apply, and the section as a whole is intended to apply in other 7478circumstances. 7479 7480It is not the purpose of this section to induce you to infringe any 7481patents or other property right claims or to contest validity of any 7482such claims; this section has the sole purpose of protecting the 7483integrity of the free software distribution system which is 7484implemented by public license practices. Many people have made 7485generous contributions to the wide range of software distributed 7486through that system in reliance on consistent application of that 7487system; it is up to the author/donor to decide if he or she is willing 7488to distribute software through any other system and a licensee cannot 7489impose that choice. 7490 7491This section is intended to make thoroughly clear what is believed to 7492be a consequence of the rest of this License. 7493 7494 12. If the distribution and/or use of the Library is restricted in 7495certain countries either by patents or by copyrighted interfaces, the 7496original copyright holder who places the Library under this License 7497may add an explicit geographical distribution limitation excluding those 7498countries, so that distribution is permitted only in or among 7499countries not thus excluded. In such case, this License incorporates 7500the limitation as if written in the body of this License. 7501 7502 13. The Free Software Foundation may publish revised and/or new 7503versions of the Lesser General Public License from time to time. 7504Such new versions will be similar in spirit to the present version, 7505but may differ in detail to address new problems or concerns. 7506 7507Each version is given a distinguishing version number. If the Library 7508specifies a version number of this License which applies to it and 7509"any later version", you have the option of following the terms and 7510conditions either of that version or of any later version published by 7511the Free Software Foundation. If the Library does not specify a 7512license version number, you may choose any version ever published by 7513the Free Software Foundation. 7514 7515 14. If you wish to incorporate parts of the Library into other free 7516programs whose distribution conditions are incompatible with these, 7517write to the author to ask for permission. For software which is 7518copyrighted by the Free Software Foundation, write to the Free 7519Software Foundation; we sometimes make exceptions for this. Our 7520decision will be guided by the two goals of preserving the free status 7521of all derivatives of our free software and of promoting the sharing 7522and reuse of software generally. 7523 7524 NO WARRANTY 7525 7526 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 7527WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 7528EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 7529OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 7530KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 7531IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 7532PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 7533LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 7534THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 7535 7536 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 7537WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 7538AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 7539FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 7540CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 7541LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 7542RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 7543FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 7544SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 7545DAMAGES. 7546 7547 END OF TERMS AND CONDITIONS 7548 7549 How to Apply These Terms to Your New Libraries 7550 7551 If you develop a new library, and you want it to be of the greatest 7552possible use to the public, we recommend making it free software that 7553everyone can redistribute and change. You can do so by permitting 7554redistribution under these terms (or, alternatively, under the terms 7555of the ordinary General Public License). 7556 7557 To apply these terms, attach the following notices to the library. 7558It is safest to attach them to the start of each source file to most 7559effectively convey the exclusion of warranty; and each file should 7560have at least the "copyright" line and a pointer to where the full 7561notice is found. 7562 7563 7564 <one line to give the library's name and a brief idea of what it does.> 7565 Copyright (C) <year> <name of author> 7566 7567 This library is free software; you can redistribute it and/or 7568 modify it under the terms of the GNU Lesser General Public 7569 License as published by the Free Software Foundation; either 7570 version 2.1 of the License, or (at your option) any later version. 7571 7572 This library is distributed in the hope that it will be useful, 7573 but WITHOUT ANY WARRANTY; without even the implied warranty of 7574 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 7575 Lesser General Public License for more details. 7576 7577 You should have received a copy of the GNU Lesser General Public 7578 License along with this library; if not, write to the Free Software 7579 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 7580 7581Also add information on how to contact you by electronic and paper mail. 7582 7583You should also get your employer (if you work as a programmer) or 7584your school, if any, to sign a "copyright disclaimer" for the library, 7585if necessary. Here is a sample; alter the names: 7586 7587 Yoyodyne, Inc., hereby disclaims all copyright interest in the 7588 library `Frob' (a library for tweaking knobs) written by James 7589 Random Hacker. 7590 7591 <signature of Ty Coon>, 1 April 1990 7592 Ty Coon, President of Vice 7593 7594That's all there is to it! 7595 7596 7597 GNU GENERAL PUBLIC LICENSE 7598 Version 2, June 1991 7599 7600 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 7601 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 7602 Everyone is permitted to copy and distribute verbatim copies 7603 of this license document, but changing it is not allowed. 7604 7605 Preamble 7606 7607 The licenses for most software are designed to take away your 7608freedom to share and change it. By contrast, the GNU General Public 7609License is intended to guarantee your freedom to share and change free 7610software--to make sure the software is free for all its users. This 7611General Public License applies to most of the Free Software 7612Foundation's software and to any other program whose authors commit to 7613using it. (Some other Free Software Foundation software is covered by 7614the GNU Library General Public License instead.) You can apply it to 7615your programs, too. 7616 7617 When we speak of free software, we are referring to freedom, not 7618price. Our General Public Licenses are designed to make sure that you 7619have the freedom to distribute copies of free software (and charge for 7620this service if you wish), that you receive source code or can get it 7621if you want it, that you can change the software or use pieces of it 7622in new free programs; and that you know you can do these things. 7623 7624 To protect your rights, we need to make restrictions that forbid 7625anyone to deny you these rights or to ask you to surrender the rights. 7626These restrictions translate to certain responsibilities for you if you 7627distribute copies of the software, or if you modify it. 7628 7629 For example, if you distribute copies of such a program, whether 7630gratis or for a fee, you must give the recipients all the rights that 7631you have. You must make sure that they, too, receive or can get the 7632source code. And you must show them these terms so they know their 7633rights. 7634 7635 We protect your rights with two steps: (1) copyright the software, and 7636(2) offer you this license which gives you legal permission to copy, 7637distribute and/or modify the software. 7638 7639 Also, for each author's protection and ours, we want to make certain 7640that everyone understands that there is no warranty for this free 7641software. If the software is modified by someone else and passed on, we 7642want its recipients to know that what they have is not the original, so 7643that any problems introduced by others will not reflect on the original 7644authors' reputations. 7645 7646 Finally, any free program is threatened constantly by software 7647patents. We wish to avoid the danger that redistributors of a free 7648program will individually obtain patent licenses, in effect making the 7649program proprietary. To prevent this, we have made it clear that any 7650patent must be licensed for everyone's free use or not licensed at all. 7651 7652 The precise terms and conditions for copying, distribution and 7653modification follow. 7654 7655 GNU GENERAL PUBLIC LICENSE 7656 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 7657 7658 0. This License applies to any program or other work which contains 7659a notice placed by the copyright holder saying it may be distributed 7660under the terms of this General Public License. The "Program", below, 7661refers to any such program or work, and a "work based on the Program" 7662means either the Program or any derivative work under copyright law: 7663that is to say, a work containing the Program or a portion of it, 7664either verbatim or with modifications and/or translated into another 7665language. (Hereinafter, translation is included without limitation in 7666the term "modification".) Each licensee is addressed as "you". 7667 7668Activities other than copying, distribution and modification are not 7669covered by this License; they are outside its scope. The act of 7670running the Program is not restricted, and the output from the Program 7671is covered only if its contents constitute a work based on the 7672Program (independent of having been made by running the Program). 7673Whether that is true depends on what the Program does. 7674 7675 1. You may copy and distribute verbatim copies of the Program's 7676source code as you receive it, in any medium, provided that you 7677conspicuously and appropriately publish on each copy an appropriate 7678copyright notice and disclaimer of warranty; keep intact all the 7679notices that refer to this License and to the absence of any warranty; 7680and give any other recipients of the Program a copy of this License 7681along with the Program. 7682 7683You may charge a fee for the physical act of transferring a copy, and 7684you may at your option offer warranty protection in exchange for a fee. 7685 7686 2. You may modify your copy or copies of the Program or any portion 7687of it, thus forming a work based on the Program, and copy and 7688distribute such modifications or work under the terms of Section 1 7689above, provided that you also meet all of these conditions: 7690 7691 a) You must cause the modified files to carry prominent notices 7692 stating that you changed the files and the date of any change. 7693 7694 b) You must cause any work that you distribute or publish, that in 7695 whole or in part contains or is derived from the Program or any 7696 part thereof, to be licensed as a whole at no charge to all third 7697 parties under the terms of this License. 7698 7699 c) If the modified program normally reads commands interactively 7700 when run, you must cause it, when started running for such 7701 interactive use in the most ordinary way, to print or display an 7702 announcement including an appropriate copyright notice and a 7703 notice that there is no warranty (or else, saying that you provide 7704 a warranty) and that users may redistribute the program under 7705 these conditions, and telling the user how to view a copy of this 7706 License. (Exception: if the Program itself is interactive but 7707 does not normally print such an announcement, your work based on 7708 the Program is not required to print an announcement.) 7709 7710These requirements apply to the modified work as a whole. If 7711identifiable sections of that work are not derived from the Program, 7712and can be reasonably considered independent and separate works in 7713themselves, then this License, and its terms, do not apply to those 7714sections when you distribute them as separate works. But when you 7715distribute the same sections as part of a whole which is a work based 7716on the Program, the distribution of the whole must be on the terms of 7717this License, whose permissions for other licensees extend to the 7718entire whole, and thus to each and every part regardless of who wrote it. 7719 7720Thus, it is not the intent of this section to claim rights or contest 7721your rights to work written entirely by you; rather, the intent is to 7722exercise the right to control the distribution of derivative or 7723collective works based on the Program. 7724 7725In addition, mere aggregation of another work not based on the Program 7726with the Program (or with a work based on the Program) on a volume of 7727a storage or distribution medium does not bring the other work under 7728the scope of this License. 7729 7730 3. You may copy and distribute the Program (or a work based on it, 7731under Section 2) in object code or executable form under the terms of 7732Sections 1 and 2 above provided that you also do one of the following: 7733 7734 a) Accompany it with the complete corresponding machine-readable 7735 source code, which must be distributed under the terms of Sections 7736 1 and 2 above on a medium customarily used for software interchange; or, 7737 7738 b) Accompany it with a written offer, valid for at least three 7739 years, to give any third party, for a charge no more than your 7740 cost of physically performing source distribution, a complete 7741 machine-readable copy of the corresponding source code, to be 7742 distributed under the terms of Sections 1 and 2 above on a medium 7743 customarily used for software interchange; or, 7744 7745 c) Accompany it with the information you received as to the offer 7746 to distribute corresponding source code. (This alternative is 7747 allowed only for noncommercial distribution and only if you 7748 received the program in object code or executable form with such 7749 an offer, in accord with Subsection b above.) 7750 7751The source code for a work means the preferred form of the work for 7752making modifications to it. For an executable work, complete source 7753code means all the source code for all modules it contains, plus any 7754associated interface definition files, plus the scripts used to 7755control compilation and installation of the executable. However, as a 7756special exception, the source code distributed need not include 7757anything that is normally distributed (in either source or binary 7758form) with the major components (compiler, kernel, and so on) of the 7759operating system on which the executable runs, unless that component 7760itself accompanies the executable. 7761 7762If distribution of executable or object code is made by offering 7763access to copy from a designated place, then offering equivalent 7764access to copy the source code from the same place counts as 7765distribution of the source code, even though third parties are not 7766compelled to copy the source along with the object code. 7767 7768 4. You may not copy, modify, sublicense, or distribute the Program 7769except as expressly provided under this License. Any attempt 7770otherwise to copy, modify, sublicense or distribute the Program is 7771void, and will automatically terminate your rights under this License. 7772However, parties who have received copies, or rights, from you under 7773this License will not have their licenses terminated so long as such 7774parties remain in full compliance. 7775 7776 5. You are not required to accept this License, since you have not 7777signed it. However, nothing else grants you permission to modify or 7778distribute the Program or its derivative works. These actions are 7779prohibited by law if you do not accept this License. Therefore, by 7780modifying or distributing the Program (or any work based on the 7781Program), you indicate your acceptance of this License to do so, and 7782all its terms and conditions for copying, distributing or modifying 7783the Program or works based on it. 7784 7785 6. Each time you redistribute the Program (or any work based on the 7786Program), the recipient automatically receives a license from the 7787original licensor to copy, distribute or modify the Program subject to 7788these terms and conditions. You may not impose any further 7789restrictions on the recipients' exercise of the rights granted herein. 7790You are not responsible for enforcing compliance by third parties to 7791this License. 7792 7793 7. If, as a consequence of a court judgment or allegation of patent 7794infringement or for any other reason (not limited to patent issues), 7795conditions are imposed on you (whether by court order, agreement or 7796otherwise) that contradict the conditions of this License, they do not 7797excuse you from the conditions of this License. If you cannot 7798distribute so as to satisfy simultaneously your obligations under this 7799License and any other pertinent obligations, then as a consequence you 7800may not distribute the Program at all. For example, if a patent 7801license would not permit royalty-free redistribution of the Program by 7802all those who receive copies directly or indirectly through you, then 7803the only way you could satisfy both it and this License would be to 7804refrain entirely from distribution of the Program. 7805 7806If any portion of this section is held invalid or unenforceable under 7807any particular circumstance, the balance of the section is intended to 7808apply and the section as a whole is intended to apply in other 7809circumstances. 7810 7811It is not the purpose of this section to induce you to infringe any 7812patents or other property right claims or to contest validity of any 7813such claims; this section has the sole purpose of protecting the 7814integrity of the free software distribution system, which is 7815implemented by public license practices. Many people have made 7816generous contributions to the wide range of software distributed 7817through that system in reliance on consistent application of that 7818system; it is up to the author/donor to decide if he or she is willing 7819to distribute software through any other system and a licensee cannot 7820impose that choice. 7821 7822This section is intended to make thoroughly clear what is believed to 7823be a consequence of the rest of this License. 7824 7825 8. If the distribution and/or use of the Program is restricted in 7826certain countries either by patents or by copyrighted interfaces, the 7827original copyright holder who places the Program under this License 7828may add an explicit geographical distribution limitation excluding 7829those countries, so that distribution is permitted only in or among 7830countries not thus excluded. In such case, this License incorporates 7831the limitation as if written in the body of this License. 7832 7833 9. The Free Software Foundation may publish revised and/or new versions 7834of the General Public License from time to time. Such new versions will 7835be similar in spirit to the present version, but may differ in detail to 7836address new problems or concerns. 7837 7838Each version is given a distinguishing version number. If the Program 7839specifies a version number of this License which applies to it and "any 7840later version", you have the option of following the terms and conditions 7841either of that version or of any later version published by the Free 7842Software Foundation. If the Program does not specify a version number of 7843this License, you may choose any version ever published by the Free Software 7844Foundation. 7845 7846 10. If you wish to incorporate parts of the Program into other free 7847programs whose distribution conditions are different, write to the author 7848to ask for permission. For software which is copyrighted by the Free 7849Software Foundation, write to the Free Software Foundation; we sometimes 7850make exceptions for this. Our decision will be guided by the two goals 7851of preserving the free status of all derivatives of our free software and 7852of promoting the sharing and reuse of software generally. 7853 7854 NO WARRANTY 7855 7856 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 7857FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 7858OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 7859PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 7860OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 7861MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 7862TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 7863PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 7864REPAIR OR CORRECTION. 7865 7866 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 7867WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 7868REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 7869INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 7870OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 7871TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 7872YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 7873PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 7874POSSIBILITY OF SUCH DAMAGES. 7875 7876 END OF TERMS AND CONDITIONS 7877 7878 How to Apply These Terms to Your New Programs 7879 7880 If you develop a new program, and you want it to be of the greatest 7881possible use to the public, the best way to achieve this is to make it 7882free software which everyone can redistribute and change under these terms. 7883 7884 To do so, attach the following notices to the program. It is safest 7885to attach them to the start of each source file to most effectively 7886convey the exclusion of warranty; and each file should have at least 7887the "copyright" line and a pointer to where the full notice is found. 7888 7889 <one line to give the program's name and a brief idea of what it does.> 7890 Copyright (C) <year> <name of author> 7891 7892 This program is free software; you can redistribute it and/or modify 7893 it under the terms of the GNU General Public License as published by 7894 the Free Software Foundation; either version 2 of the License, or 7895 (at your option) any later version. 7896 7897 This program is distributed in the hope that it will be useful, 7898 but WITHOUT ANY WARRANTY; without even the implied warranty of 7899 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7900 GNU General Public License for more details. 7901 7902 You should have received a copy of the GNU General Public License 7903 along with this program; if not, write to the Free Software 7904 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 7905 7906 7907Also add information on how to contact you by electronic and paper mail. 7908 7909If the program is interactive, make it output a short notice like this 7910when it starts in an interactive mode: 7911 7912 Gnomovision version 69, Copyright (C) year name of author 7913 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 7914 This is free software, and you are welcome to redistribute it 7915 under certain conditions; type `show c' for details. 7916 7917The hypothetical commands `show w' and `show c' should show the appropriate 7918parts of the General Public License. Of course, the commands you use may 7919be called something other than `show w' and `show c'; they could even be 7920mouse-clicks or menu items--whatever suits your program. 7921 7922You should also get your employer (if you work as a programmer) or your 7923school, if any, to sign a "copyright disclaimer" for the program, if 7924necessary. Here is a sample; alter the names: 7925 7926 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 7927 `Gnomovision' (which makes passes at compilers) written by James Hacker. 7928 7929 <signature of Ty Coon>, 1 April 1989 7930 Ty Coon, President of Vice 7931 7932This General Public License does not permit incorporating your program into 7933proprietary programs. If your program is a subroutine library, you may 7934consider it more useful to permit linking proprietary applications with the 7935library. If this is what you want to do, use the GNU Library General 7936Public License instead of this License. 7937 GNU GENERAL PUBLIC LICENSE 7938 Version 3, 29 June 2007 7939 7940 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 7941 Everyone is permitted to copy and distribute verbatim copies 7942 of this license document, but changing it is not allowed. 7943 7944 Preamble 7945 7946 The GNU General Public License is a free, copyleft license for 7947software and other kinds of works. 7948 7949 The licenses for most software and other practical works are designed 7950to take away your freedom to share and change the works. By contrast, 7951the GNU General Public License is intended to guarantee your freedom to 7952share and change all versions of a program--to make sure it remains free 7953software for all its users. We, the Free Software Foundation, use the 7954GNU General Public License for most of our software; it applies also to 7955any other work released this way by its authors. You can apply it to 7956your programs, too. 7957 7958 When we speak of free software, we are referring to freedom, not 7959price. Our General Public Licenses are designed to make sure that you 7960have the freedom to distribute copies of free software (and charge for 7961them if you wish), that you receive source code or can get it if you 7962want it, that you can change the software or use pieces of it in new 7963free programs, and that you know you can do these things. 7964 7965 To protect your rights, we need to prevent others from denying you 7966these rights or asking you to surrender the rights. Therefore, you have 7967certain responsibilities if you distribute copies of the software, or if 7968you modify it: responsibilities to respect the freedom of others. 7969 7970 For example, if you distribute copies of such a program, whether 7971gratis or for a fee, you must pass on to the recipients the same 7972freedoms that you received. You must make sure that they, too, receive 7973or can get the source code. And you must show them these terms so they 7974know their rights. 7975 7976 Developers that use the GNU GPL protect your rights with two steps: 7977(1) assert copyright on the software, and (2) offer you this License 7978giving you legal permission to copy, distribute and/or modify it. 7979 7980 For the developers' and authors' protection, the GPL clearly explains 7981that there is no warranty for this free software. For both users' and 7982authors' sake, the GPL requires that modified versions be marked as 7983changed, so that their problems will not be attributed erroneously to 7984authors of previous versions. 7985 7986 Some devices are designed to deny users access to install or run 7987modified versions of the software inside them, although the manufacturer 7988can do so. This is fundamentally incompatible with the aim of 7989protecting users' freedom to change the software. The systematic 7990pattern of such abuse occurs in the area of products for individuals to 7991use, which is precisely where it is most unacceptable. Therefore, we 7992have designed this version of the GPL to prohibit the practice for those 7993products. If such problems arise substantially in other domains, we 7994stand ready to extend this provision to those domains in future versions 7995of the GPL, as needed to protect the freedom of users. 7996 7997 Finally, every program is threatened constantly by software patents. 7998States should not allow patents to restrict development and use of 7999software on general-purpose computers, but in those that do, we wish to 8000avoid the special danger that patents applied to a free program could 8001make it effectively proprietary. To prevent this, the GPL assures that 8002patents cannot be used to render the program non-free. 8003 8004 The precise terms and conditions for copying, distribution and 8005modification follow. 8006 8007 TERMS AND CONDITIONS 8008 8009 0. Definitions. 8010 8011 "This License" refers to version 3 of the GNU General Public License. 8012 8013 "Copyright" also means copyright-like laws that apply to other kinds of 8014works, such as semiconductor masks. 8015 8016 "The Program" refers to any copyrightable work licensed under this 8017License. Each licensee is addressed as "you". "Licensees" and 8018"recipients" may be individuals or organizations. 8019 8020 To "modify" a work means to copy from or adapt all or part of the work 8021in a fashion requiring copyright permission, other than the making of an 8022exact copy. The resulting work is called a "modified version" of the 8023earlier work or a work "based on" the earlier work. 8024 8025 A "covered work" means either the unmodified Program or a work based 8026on the Program. 8027 8028 To "propagate" a work means to do anything with it that, without 8029permission, would make you directly or secondarily liable for 8030infringement under applicable copyright law, except executing it on a 8031computer or modifying a private copy. Propagation includes copying, 8032distribution (with or without modification), making available to the 8033public, and in some countries other activities as well. 8034 8035 To "convey" a work means any kind of propagation that enables other 8036parties to make or receive copies. Mere interaction with a user through 8037a computer network, with no transfer of a copy, is not conveying. 8038 8039 An interactive user interface displays "Appropriate Legal Notices" 8040to the extent that it includes a convenient and prominently visible 8041feature that (1) displays an appropriate copyright notice, and (2) 8042tells the user that there is no warranty for the work (except to the 8043extent that warranties are provided), that licensees may convey the 8044work under this License, and how to view a copy of this License. If 8045the interface presents a list of user commands or options, such as a 8046menu, a prominent item in the list meets this criterion. 8047 8048 1. Source Code. 8049 8050 The "source code" for a work means the preferred form of the work 8051for making modifications to it. "Object code" means any non-source 8052form of a work. 8053 8054 A "Standard Interface" means an interface that either is an official 8055standard defined by a recognized standards body, or, in the case of 8056interfaces specified for a particular programming language, one that 8057is widely used among developers working in that language. 8058 8059 The "System Libraries" of an executable work include anything, other 8060than the work as a whole, that (a) is included in the normal form of 8061packaging a Major Component, but which is not part of that Major 8062Component, and (b) serves only to enable use of the work with that 8063Major Component, or to implement a Standard Interface for which an 8064implementation is available to the public in source code form. A 8065"Major Component", in this context, means a major essential component 8066(kernel, window system, and so on) of the specific operating system 8067(if any) on which the executable work runs, or a compiler used to 8068produce the work, or an object code interpreter used to run it. 8069 8070 The "Corresponding Source" for a work in object code form means all 8071the source code needed to generate, install, and (for an executable 8072work) run the object code and to modify the work, including scripts to 8073control those activities. However, it does not include the work's 8074System Libraries, or general-purpose tools or generally available free 8075programs which are used unmodified in performing those activities but 8076which are not part of the work. For example, Corresponding Source 8077includes interface definition files associated with source files for 8078the work, and the source code for shared libraries and dynamically 8079linked subprograms that the work is specifically designed to require, 8080such as by intimate data communication or control flow between those 8081subprograms and other parts of the work. 8082 8083 The Corresponding Source need not include anything that users 8084can regenerate automatically from other parts of the Corresponding 8085Source. 8086 8087 The Corresponding Source for a work in source code form is that 8088same work. 8089 8090 2. Basic Permissions. 8091 8092 All rights granted under this License are granted for the term of 8093copyright on the Program, and are irrevocable provided the stated 8094conditions are met. This License explicitly affirms your unlimited 8095permission to run the unmodified Program. The output from running a 8096covered work is covered by this License only if the output, given its 8097content, constitutes a covered work. This License acknowledges your 8098rights of fair use or other equivalent, as provided by copyright law. 8099 8100 You may make, run and propagate covered works that you do not 8101convey, without conditions so long as your license otherwise remains 8102in force. You may convey covered works to others for the sole purpose 8103of having them make modifications exclusively for you, or provide you 8104with facilities for running those works, provided that you comply with 8105the terms of this License in conveying all material for which you do 8106not control copyright. Those thus making or running the covered works 8107for you must do so exclusively on your behalf, under your direction 8108and control, on terms that prohibit them from making any copies of 8109your copyrighted material outside their relationship with you. 8110 8111 Conveying under any other circumstances is permitted solely under 8112the conditions stated below. Sublicensing is not allowed; section 10 8113makes it unnecessary. 8114 8115 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 8116 8117 No covered work shall be deemed part of an effective technological 8118measure under any applicable law fulfilling obligations under article 811911 of the WIPO copyright treaty adopted on 20 December 1996, or 8120similar laws prohibiting or restricting circumvention of such 8121measures. 8122 8123 When you convey a covered work, you waive any legal power to forbid 8124circumvention of technological measures to the extent such circumvention 8125is effected by exercising rights under this License with respect to 8126the covered work, and you disclaim any intention to limit operation or 8127modification of the work as a means of enforcing, against the work's 8128users, your or third parties' legal rights to forbid circumvention of 8129technological measures. 8130 8131 4. Conveying Verbatim Copies. 8132 8133 You may convey verbatim copies of the Program's source code as you 8134receive it, in any medium, provided that you conspicuously and 8135appropriately publish on each copy an appropriate copyright notice; 8136keep intact all notices stating that this License and any 8137non-permissive terms added in accord with section 7 apply to the code; 8138keep intact all notices of the absence of any warranty; and give all 8139recipients a copy of this License along with the Program. 8140 8141 You may charge any price or no price for each copy that you convey, 8142and you may offer support or warranty protection for a fee. 8143 8144 5. Conveying Modified Source Versions. 8145 8146 You may convey a work based on the Program, or the modifications to 8147produce it from the Program, in the form of source code under the 8148terms of section 4, provided that you also meet all of these conditions: 8149 8150 a) The work must carry prominent notices stating that you modified 8151 it, and giving a relevant date. 8152 8153 b) The work must carry prominent notices stating that it is 8154 released under this License and any conditions added under section 8155 7. This requirement modifies the requirement in section 4 to 8156 "keep intact all notices". 8157 8158 c) You must license the entire work, as a whole, under this 8159 License to anyone who comes into possession of a copy. This 8160 License will therefore apply, along with any applicable section 7 8161 additional terms, to the whole of the work, and all its parts, 8162 regardless of how they are packaged. This License gives no 8163 permission to license the work in any other way, but it does not 8164 invalidate such permission if you have separately received it. 8165 8166 d) If the work has interactive user interfaces, each must display 8167 Appropriate Legal Notices; however, if the Program has interactive 8168 interfaces that do not display Appropriate Legal Notices, your 8169 work need not make them do so. 8170 8171 A compilation of a covered work with other separate and independent 8172works, which are not by their nature extensions of the covered work, 8173and which are not combined with it such as to form a larger program, 8174in or on a volume of a storage or distribution medium, is called an 8175"aggregate" if the compilation and its resulting copyright are not 8176used to limit the access or legal rights of the compilation's users 8177beyond what the individual works permit. Inclusion of a covered work 8178in an aggregate does not cause this License to apply to the other 8179parts of the aggregate. 8180 8181 6. Conveying Non-Source Forms. 8182 8183 You may convey a covered work in object code form under the terms 8184of sections 4 and 5, provided that you also convey the 8185machine-readable Corresponding Source under the terms of this License, 8186in one of these ways: 8187 8188 a) Convey the object code in, or embodied in, a physical product 8189 (including a physical distribution medium), accompanied by the 8190 Corresponding Source fixed on a durable physical medium 8191 customarily used for software interchange. 8192 8193 b) Convey the object code in, or embodied in, a physical product 8194 (including a physical distribution medium), accompanied by a 8195 written offer, valid for at least three years and valid for as 8196 long as you offer spare parts or customer support for that product 8197 model, to give anyone who possesses the object code either (1) a 8198 copy of the Corresponding Source for all the software in the 8199 product that is covered by this License, on a durable physical 8200 medium customarily used for software interchange, for a price no 8201 more than your reasonable cost of physically performing this 8202 conveying of source, or (2) access to copy the 8203 Corresponding Source from a network server at no charge. 8204 8205 c) Convey individual copies of the object code with a copy of the 8206 written offer to provide the Corresponding Source. This 8207 alternative is allowed only occasionally and noncommercially, and 8208 only if you received the object code with such an offer, in accord 8209 with subsection 6b. 8210 8211 d) Convey the object code by offering access from a designated 8212 place (gratis or for a charge), and offer equivalent access to the 8213 Corresponding Source in the same way through the same place at no 8214 further charge. You need not require recipients to copy the 8215 Corresponding Source along with the object code. If the place to 8216 copy the object code is a network server, the Corresponding Source 8217 may be on a different server (operated by you or a third party) 8218 that supports equivalent copying facilities, provided you maintain 8219 clear directions next to the object code saying where to find the 8220 Corresponding Source. Regardless of what server hosts the 8221 Corresponding Source, you remain obligated to ensure that it is 8222 available for as long as needed to satisfy these requirements. 8223 8224 e) Convey the object code using peer-to-peer transmission, provided 8225 you inform other peers where the object code and Corresponding 8226 Source of the work are being offered to the general public at no 8227 charge under subsection 6d. 8228 8229 A separable portion of the object code, whose source code is excluded 8230from the Corresponding Source as a System Library, need not be 8231included in conveying the object code work. 8232 8233 A "User Product" is either (1) a "consumer product", which means any 8234tangible personal property which is normally used for personal, family, 8235or household purposes, or (2) anything designed or sold for incorporation 8236into a dwelling. In determining whether a product is a consumer product, 8237doubtful cases shall be resolved in favor of coverage. For a particular 8238product received by a particular user, "normally used" refers to a 8239typical or common use of that class of product, regardless of the status 8240of the particular user or of the way in which the particular user 8241actually uses, or expects or is expected to use, the product. A product 8242is a consumer product regardless of whether the product has substantial 8243commercial, industrial or non-consumer uses, unless such uses represent 8244the only significant mode of use of the product. 8245 8246 "Installation Information" for a User Product means any methods, 8247procedures, authorization keys, or other information required to install 8248and execute modified versions of a covered work in that User Product from 8249a modified version of its Corresponding Source. The information must 8250suffice to ensure that the continued functioning of the modified object 8251code is in no case prevented or interfered with solely because 8252modification has been made. 8253 8254 If you convey an object code work under this section in, or with, or 8255specifically for use in, a User Product, and the conveying occurs as 8256part of a transaction in which the right of possession and use of the 8257User Product is transferred to the recipient in perpetuity or for a 8258fixed term (regardless of how the transaction is characterized), the 8259Corresponding Source conveyed under this section must be accompanied 8260by the Installation Information. But this requirement does not apply 8261if neither you nor any third party retains the ability to install 8262modified object code on the User Product (for example, the work has 8263been installed in ROM). 8264 8265 The requirement to provide Installation Information does not include a 8266requirement to continue to provide support service, warranty, or updates 8267for a work that has been modified or installed by the recipient, or for 8268the User Product in which it has been modified or installed. Access to a 8269network may be denied when the modification itself materially and 8270adversely affects the operation of the network or violates the rules and 8271protocols for communication across the network. 8272 8273 Corresponding Source conveyed, and Installation Information provided, 8274in accord with this section must be in a format that is publicly 8275documented (and with an implementation available to the public in 8276source code form), and must require no special password or key for 8277unpacking, reading or copying. 8278 8279 7. Additional Terms. 8280 8281 "Additional permissions" are terms that supplement the terms of this 8282License by making exceptions from one or more of its conditions. 8283Additional permissions that are applicable to the entire Program shall 8284be treated as though they were included in this License, to the extent 8285that they are valid under applicable law. If additional permissions 8286apply only to part of the Program, that part may be used separately 8287under those permissions, but the entire Program remains governed by 8288this License without regard to the additional permissions. 8289 8290 When you convey a copy of a covered work, you may at your option 8291remove any additional permissions from that copy, or from any part of 8292it. (Additional permissions may be written to require their own 8293removal in certain cases when you modify the work.) You may place 8294additional permissions on material, added by you to a covered work, 8295for which you have or can give appropriate copyright permission. 8296 8297 Notwithstanding any other provision of this License, for material you 8298add to a covered work, you may (if authorized by the copyright holders of 8299that material) supplement the terms of this License with terms: 8300 8301 a) Disclaiming warranty or limiting liability differently from the 8302 terms of sections 15 and 16 of this License; or 8303 8304 b) Requiring preservation of specified reasonable legal notices or 8305 author attributions in that material or in the Appropriate Legal 8306 Notices displayed by works containing it; or 8307 8308 c) Prohibiting misrepresentation of the origin of that material, or 8309 requiring that modified versions of such material be marked in 8310 reasonable ways as different from the original version; or 8311 8312 d) Limiting the use for publicity purposes of names of licensors or 8313 authors of the material; or 8314 8315 e) Declining to grant rights under trademark law for use of some 8316 trade names, trademarks, or service marks; or 8317 8318 f) Requiring indemnification of licensors and authors of that 8319 material by anyone who conveys the material (or modified versions of 8320 it) with contractual assumptions of liability to the recipient, for 8321 any liability that these contractual assumptions directly impose on 8322 those licensors and authors. 8323 8324 All other non-permissive additional terms are considered "further 8325restrictions" within the meaning of section 10. If the Program as you 8326received it, or any part of it, contains a notice stating that it is 8327governed by this License along with a term that is a further 8328restriction, you may remove that term. If a license document contains 8329a further restriction but permits relicensing or conveying under this 8330License, you may add to a covered work material governed by the terms 8331of that license document, provided that the further restriction does 8332not survive such relicensing or conveying. 8333 8334 If you add terms to a covered work in accord with this section, you 8335must place, in the relevant source files, a statement of the 8336additional terms that apply to those files, or a notice indicating 8337where to find the applicable terms. 8338 8339 Additional terms, permissive or non-permissive, may be stated in the 8340form of a separately written license, or stated as exceptions; 8341the above requirements apply either way. 8342 8343 8. Termination. 8344 8345 You may not propagate or modify a covered work except as expressly 8346provided under this License. Any attempt otherwise to propagate or 8347modify it is void, and will automatically terminate your rights under 8348this License (including any patent licenses granted under the third 8349paragraph of section 11). 8350 8351 However, if you cease all violation of this License, then your 8352license from a particular copyright holder is reinstated (a) 8353provisionally, unless and until the copyright holder explicitly and 8354finally terminates your license, and (b) permanently, if the copyright 8355holder fails to notify you of the violation by some reasonable means 8356prior to 60 days after the cessation. 8357 8358 Moreover, your license from a particular copyright holder is 8359reinstated permanently if the copyright holder notifies you of the 8360violation by some reasonable means, this is the first time you have 8361received notice of violation of this License (for any work) from that 8362copyright holder, and you cure the violation prior to 30 days after 8363your receipt of the notice. 8364 8365 Termination of your rights under this section does not terminate the 8366licenses of parties who have received copies or rights from you under 8367this License. If your rights have been terminated and not permanently 8368reinstated, you do not qualify to receive new licenses for the same 8369material under section 10. 8370 8371 9. Acceptance Not Required for Having Copies. 8372 8373 You are not required to accept this License in order to receive or 8374run a copy of the Program. Ancillary propagation of a covered work 8375occurring solely as a consequence of using peer-to-peer transmission 8376to receive a copy likewise does not require acceptance. However, 8377nothing other than this License grants you permission to propagate or 8378modify any covered work. These actions infringe copyright if you do 8379not accept this License. Therefore, by modifying or propagating a 8380covered work, you indicate your acceptance of this License to do so. 8381 8382 10. Automatic Licensing of Downstream Recipients. 8383 8384 Each time you convey a covered work, the recipient automatically 8385receives a license from the original licensors, to run, modify and 8386propagate that work, subject to this License. You are not responsible 8387for enforcing compliance by third parties with this License. 8388 8389 An "entity transaction" is a transaction transferring control of an 8390organization, or substantially all assets of one, or subdividing an 8391organization, or merging organizations. If propagation of a covered 8392work results from an entity transaction, each party to that 8393transaction who receives a copy of the work also receives whatever 8394licenses to the work the party's predecessor in interest had or could 8395give under the previous paragraph, plus a right to possession of the 8396Corresponding Source of the work from the predecessor in interest, if 8397the predecessor has it or can get it with reasonable efforts. 8398 8399 You may not impose any further restrictions on the exercise of the 8400rights granted or affirmed under this License. For example, you may 8401not impose a license fee, royalty, or other charge for exercise of 8402rights granted under this License, and you may not initiate litigation 8403(including a cross-claim or counterclaim in a lawsuit) alleging that 8404any patent claim is infringed by making, using, selling, offering for 8405sale, or importing the Program or any portion of it. 8406 8407 11. Patents. 8408 8409 A "contributor" is a copyright holder who authorizes use under this 8410License of the Program or a work on which the Program is based. The 8411work thus licensed is called the contributor's "contributor version". 8412 8413 A contributor's "essential patent claims" are all patent claims 8414owned or controlled by the contributor, whether already acquired or 8415hereafter acquired, that would be infringed by some manner, permitted 8416by this License, of making, using, or selling its contributor version, 8417but do not include claims that would be infringed only as a 8418consequence of further modification of the contributor version. For 8419purposes of this definition, "control" includes the right to grant 8420patent sublicenses in a manner consistent with the requirements of 8421this License. 8422 8423 Each contributor grants you a non-exclusive, worldwide, royalty-free 8424patent license under the contributor's essential patent claims, to 8425make, use, sell, offer for sale, import and otherwise run, modify and 8426propagate the contents of its contributor version. 8427 8428 In the following three paragraphs, a "patent license" is any express 8429agreement or commitment, however denominated, not to enforce a patent 8430(such as an express permission to practice a patent or covenant not to 8431sue for patent infringement). To "grant" such a patent license to a 8432party means to make such an agreement or commitment not to enforce a 8433patent against the party. 8434 8435 If you convey a covered work, knowingly relying on a patent license, 8436and the Corresponding Source of the work is not available for anyone 8437to copy, free of charge and under the terms of this License, through a 8438publicly available network server or other readily accessible means, 8439then you must either (1) cause the Corresponding Source to be so 8440available, or (2) arrange to deprive yourself of the benefit of the 8441patent license for this particular work, or (3) arrange, in a manner 8442consistent with the requirements of this License, to extend the patent 8443license to downstream recipients. "Knowingly relying" means you have 8444actual knowledge that, but for the patent license, your conveying the 8445covered work in a country, or your recipient's use of the covered work 8446in a country, would infringe one or more identifiable patents in that 8447country that you have reason to believe are valid. 8448 8449 If, pursuant to or in connection with a single transaction or 8450arrangement, you convey, or propagate by procuring conveyance of, a 8451covered work, and grant a patent license to some of the parties 8452receiving the covered work authorizing them to use, propagate, modify 8453or convey a specific copy of the covered work, then the patent license 8454you grant is automatically extended to all recipients of the covered 8455work and works based on it. 8456 8457 A patent license is "discriminatory" if it does not include within 8458the scope of its coverage, prohibits the exercise of, or is 8459conditioned on the non-exercise of one or more of the rights that are 8460specifically granted under this License. You may not convey a covered 8461work if you are a party to an arrangement with a third party that is 8462in the business of distributing software, under which you make payment 8463to the third party based on the extent of your activity of conveying 8464the work, and under which the third party grants, to any of the 8465parties who would receive the covered work from you, a discriminatory 8466patent license (a) in connection with copies of the covered work 8467conveyed by you (or copies made from those copies), or (b) primarily 8468for and in connection with specific products or compilations that 8469contain the covered work, unless you entered into that arrangement, 8470or that patent license was granted, prior to 28 March 2007. 8471 8472 Nothing in this License shall be construed as excluding or limiting 8473any implied license or other defenses to infringement that may 8474otherwise be available to you under applicable patent law. 8475 8476 12. No Surrender of Others' Freedom. 8477 8478 If conditions are imposed on you (whether by court order, agreement or 8479otherwise) that contradict the conditions of this License, they do not 8480excuse you from the conditions of this License. If you cannot convey a 8481covered work so as to satisfy simultaneously your obligations under this 8482License and any other pertinent obligations, then as a consequence you may 8483not convey it at all. For example, if you agree to terms that obligate you 8484to collect a royalty for further conveying from those to whom you convey 8485the Program, the only way you could satisfy both those terms and this 8486License would be to refrain entirely from conveying the Program. 8487 8488 13. Use with the GNU Affero General Public License. 8489 8490 Notwithstanding any other provision of this License, you have 8491permission to link or combine any covered work with a work licensed 8492under version 3 of the GNU Affero General Public License into a single 8493combined work, and to convey the resulting work. The terms of this 8494License will continue to apply to the part which is the covered work, 8495but the special requirements of the GNU Affero General Public License, 8496section 13, concerning interaction through a network will apply to the 8497combination as such. 8498 8499 14. Revised Versions of this License. 8500 8501 The Free Software Foundation may publish revised and/or new versions of 8502the GNU General Public License from time to time. Such new versions will 8503be similar in spirit to the present version, but may differ in detail to 8504address new problems or concerns. 8505 8506 Each version is given a distinguishing version number. If the 8507Program specifies that a certain numbered version of the GNU General 8508Public License "or any later version" applies to it, you have the 8509option of following the terms and conditions either of that numbered 8510version or of any later version published by the Free Software 8511Foundation. If the Program does not specify a version number of the 8512GNU General Public License, you may choose any version ever published 8513by the Free Software Foundation. 8514 8515 If the Program specifies that a proxy can decide which future 8516versions of the GNU General Public License can be used, that proxy's 8517public statement of acceptance of a version permanently authorizes you 8518to choose that version for the Program. 8519 8520 Later license versions may give you additional or different 8521permissions. However, no additional obligations are imposed on any 8522author or copyright holder as a result of your choosing to follow a 8523later version. 8524 8525 15. Disclaimer of Warranty. 8526 8527 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 8528APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 8529HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 8530OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 8531THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 8532PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 8533IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 8534ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 8535 8536 16. Limitation of Liability. 8537 8538 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 8539WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 8540THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 8541GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 8542USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 8543DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 8544PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 8545EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 8546SUCH DAMAGES. 8547 8548 17. Interpretation of Sections 15 and 16. 8549 8550 If the disclaimer of warranty and limitation of liability provided 8551above cannot be given local legal effect according to their terms, 8552reviewing courts shall apply local law that most closely approximates 8553an absolute waiver of all civil liability in connection with the 8554Program, unless a warranty or assumption of liability accompanies a 8555copy of the Program in return for a fee. 8556 8557 END OF TERMS AND CONDITIONS 8558 8559 How to Apply These Terms to Your New Programs 8560 8561 If you develop a new program, and you want it to be of the greatest 8562possible use to the public, the best way to achieve this is to make it 8563free software which everyone can redistribute and change under these terms. 8564 8565 To do so, attach the following notices to the program. It is safest 8566to attach them to the start of each source file to most effectively 8567state the exclusion of warranty; and each file should have at least 8568the "copyright" line and a pointer to where the full notice is found. 8569 8570 <one line to give the program's name and a brief idea of what it does.> 8571 Copyright (C) <year> <name of author> 8572 8573 This program is free software: you can redistribute it and/or modify 8574 it under the terms of the GNU General Public License as published by 8575 the Free Software Foundation, either version 3 of the License, or 8576 (at your option) any later version. 8577 8578 This program is distributed in the hope that it will be useful, 8579 but WITHOUT ANY WARRANTY; without even the implied warranty of 8580 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 8581 GNU General Public License for more details. 8582 8583 You should have received a copy of the GNU General Public License 8584 along with this program. If not, see <http://www.gnu.org/licenses/>. 8585 8586Also add information on how to contact you by electronic and paper mail. 8587 8588 If the program does terminal interaction, make it output a short 8589notice like this when it starts in an interactive mode: 8590 8591 <program> Copyright (C) <year> <name of author> 8592 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 8593 This is free software, and you are welcome to redistribute it 8594 under certain conditions; type `show c' for details. 8595 8596The hypothetical commands `show w' and `show c' should show the appropriate 8597parts of the General Public License. Of course, your program's commands 8598might be different; for a GUI interface, you would use an "about box". 8599 8600 You should also get your employer (if you work as a programmer) or school, 8601if any, to sign a "copyright disclaimer" for the program, if necessary. 8602For more information on this, and how to apply and follow the GNU GPL, see 8603<http://www.gnu.org/licenses/>. 8604 8605 The GNU General Public License does not permit incorporating your program 8606into proprietary programs. If your program is a subroutine library, you 8607may consider it more useful to permit linking proprietary applications with 8608the library. If this is what you want to do, use the GNU Lesser General 8609Public License instead of this License. But first, please read 8610<http://www.gnu.org/philosophy/why-not-lgpl.html>. 8611 GNU LESSER GENERAL PUBLIC LICENSE 8612 Version 2.1, February 1999 8613 8614 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 8615 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 8616 Everyone is permitted to copy and distribute verbatim copies 8617 of this license document, but changing it is not allowed. 8618 8619[This is the first released version of the Lesser GPL. It also counts 8620 as the successor of the GNU Library Public License, version 2, hence 8621 the version number 2.1.] 8622 8623 Preamble 8624 8625 The licenses for most software are designed to take away your 8626freedom to share and change it. By contrast, the GNU General Public 8627Licenses are intended to guarantee your freedom to share and change 8628free software--to make sure the software is free for all its users. 8629 8630 This license, the Lesser General Public License, applies to some 8631specially designated software packages--typically libraries--of the 8632Free Software Foundation and other authors who decide to use it. You 8633can use it too, but we suggest you first think carefully about whether 8634this license or the ordinary General Public License is the better 8635strategy to use in any particular case, based on the explanations below. 8636 8637 When we speak of free software, we are referring to freedom of use, 8638not price. Our General Public Licenses are designed to make sure that 8639you have the freedom to distribute copies of free software (and charge 8640for this service if you wish); that you receive source code or can get 8641it if you want it; that you can change the software and use pieces of 8642it in new free programs; and that you are informed that you can do 8643these things. 8644 8645 To protect your rights, we need to make restrictions that forbid 8646distributors to deny you these rights or to ask you to surrender these 8647rights. These restrictions translate to certain responsibilities for 8648you if you distribute copies of the library or if you modify it. 8649 8650 For example, if you distribute copies of the library, whether gratis 8651or for a fee, you must give the recipients all the rights that we gave 8652you. You must make sure that they, too, receive or can get the source 8653code. If you link other code with the library, you must provide 8654complete object files to the recipients, so that they can relink them 8655with the library after making changes to the library and recompiling 8656it. And you must show them these terms so they know their rights. 8657 8658 We protect your rights with a two-step method: (1) we copyright the 8659library, and (2) we offer you this license, which gives you legal 8660permission to copy, distribute and/or modify the library. 8661 8662 To protect each distributor, we want to make it very clear that 8663there is no warranty for the free library. Also, if the library is 8664modified by someone else and passed on, the recipients should know 8665that what they have is not the original version, so that the original 8666author's reputation will not be affected by problems that might be 8667introduced by others. 8668 8669 Finally, software patents pose a constant threat to the existence of 8670any free program. We wish to make sure that a company cannot 8671effectively restrict the users of a free program by obtaining a 8672restrictive license from a patent holder. Therefore, we insist that 8673any patent license obtained for a version of the library must be 8674consistent with the full freedom of use specified in this license. 8675 8676 Most GNU software, including some libraries, is covered by the 8677ordinary GNU General Public License. This license, the GNU Lesser 8678General Public License, applies to certain designated libraries, and 8679is quite different from the ordinary General Public License. We use 8680this license for certain libraries in order to permit linking those 8681libraries into non-free programs. 8682 8683 When a program is linked with a library, whether statically or using 8684a shared library, the combination of the two is legally speaking a 8685combined work, a derivative of the original library. The ordinary 8686General Public License therefore permits such linking only if the 8687entire combination fits its criteria of freedom. The Lesser General 8688Public License permits more lax criteria for linking other code with 8689the library. 8690 8691 We call this license the "Lesser" General Public License because it 8692does Less to protect the user's freedom than the ordinary General 8693Public License. It also provides other free software developers Less 8694of an advantage over competing non-free programs. These disadvantages 8695are the reason we use the ordinary General Public License for many 8696libraries. However, the Lesser license provides advantages in certain 8697special circumstances. 8698 8699 For example, on rare occasions, there may be a special need to 8700encourage the widest possible use of a certain library, so that it becomes 8701a de-facto standard. To achieve this, non-free programs must be 8702allowed to use the library. A more frequent case is that a free 8703library does the same job as widely used non-free libraries. In this 8704case, there is little to gain by limiting the free library to free 8705software only, so we use the Lesser General Public License. 8706 8707 In other cases, permission to use a particular library in non-free 8708programs enables a greater number of people to use a large body of 8709free software. For example, permission to use the GNU C Library in 8710non-free programs enables many more people to use the whole GNU 8711operating system, as well as its variant, the GNU/Linux operating 8712system. 8713 8714 Although the Lesser General Public License is Less protective of the 8715users' freedom, it does ensure that the user of a program that is 8716linked with the Library has the freedom and the wherewithal to run 8717that program using a modified version of the Library. 8718 8719 The precise terms and conditions for copying, distribution and 8720modification follow. Pay close attention to the difference between a 8721"work based on the library" and a "work that uses the library". The 8722former contains code derived from the library, whereas the latter must 8723be combined with the library in order to run. 8724 8725 GNU LESSER GENERAL PUBLIC LICENSE 8726 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 8727 8728 0. This License Agreement applies to any software library or other 8729program which contains a notice placed by the copyright holder or 8730other authorized party saying it may be distributed under the terms of 8731this Lesser General Public License (also called "this License"). 8732Each licensee is addressed as "you". 8733 8734 A "library" means a collection of software functions and/or data 8735prepared so as to be conveniently linked with application programs 8736(which use some of those functions and data) to form executables. 8737 8738 The "Library", below, refers to any such software library or work 8739which has been distributed under these terms. A "work based on the 8740Library" means either the Library or any derivative work under 8741copyright law: that is to say, a work containing the Library or a 8742portion of it, either verbatim or with modifications and/or translated 8743straightforwardly into another language. (Hereinafter, translation is 8744included without limitation in the term "modification".) 8745 8746 "Source code" for a work means the preferred form of the work for 8747making modifications to it. For a library, complete source code means 8748all the source code for all modules it contains, plus any associated 8749interface definition files, plus the scripts used to control compilation 8750and installation of the library. 8751 8752 Activities other than copying, distribution and modification are not 8753covered by this License; they are outside its scope. The act of 8754running a program using the Library is not restricted, and output from 8755such a program is covered only if its contents constitute a work based 8756on the Library (independent of the use of the Library in a tool for 8757writing it). Whether that is true depends on what the Library does 8758and what the program that uses the Library does. 8759 8760 1. You may copy and distribute verbatim copies of the Library's 8761complete source code as you receive it, in any medium, provided that 8762you conspicuously and appropriately publish on each copy an 8763appropriate copyright notice and disclaimer of warranty; keep intact 8764all the notices that refer to this License and to the absence of any 8765warranty; and distribute a copy of this License along with the 8766Library. 8767 8768 You may charge a fee for the physical act of transferring a copy, 8769and you may at your option offer warranty protection in exchange for a 8770fee. 8771 8772 2. You may modify your copy or copies of the Library or any portion 8773of it, thus forming a work based on the Library, and copy and 8774distribute such modifications or work under the terms of Section 1 8775above, provided that you also meet all of these conditions: 8776 8777 a) The modified work must itself be a software library. 8778 8779 b) You must cause the files modified to carry prominent notices 8780 stating that you changed the files and the date of any change. 8781 8782 c) You must cause the whole of the work to be licensed at no 8783 charge to all third parties under the terms of this License. 8784 8785 d) If a facility in the modified Library refers to a function or a 8786 table of data to be supplied by an application program that uses 8787 the facility, other than as an argument passed when the facility 8788 is invoked, then you must make a good faith effort to ensure that, 8789 in the event an application does not supply such function or 8790 table, the facility still operates, and performs whatever part of 8791 its purpose remains meaningful. 8792 8793 (For example, a function in a library to compute square roots has 8794 a purpose that is entirely well-defined independent of the 8795 application. Therefore, Subsection 2d requires that any 8796 application-supplied function or table used by this function must 8797 be optional: if the application does not supply it, the square 8798 root function must still compute square roots.) 8799 8800These requirements apply to the modified work as a whole. If 8801identifiable sections of that work are not derived from the Library, 8802and can be reasonably considered independent and separate works in 8803themselves, then this License, and its terms, do not apply to those 8804sections when you distribute them as separate works. But when you 8805distribute the same sections as part of a whole which is a work based 8806on the Library, the distribution of the whole must be on the terms of 8807this License, whose permissions for other licensees extend to the 8808entire whole, and thus to each and every part regardless of who wrote 8809it. 8810 8811Thus, it is not the intent of this section to claim rights or contest 8812your rights to work written entirely by you; rather, the intent is to 8813exercise the right to control the distribution of derivative or 8814collective works based on the Library. 8815 8816In addition, mere aggregation of another work not based on the Library 8817with the Library (or with a work based on the Library) on a volume of 8818a storage or distribution medium does not bring the other work under 8819the scope of this License. 8820 8821 3. You may opt to apply the terms of the ordinary GNU General Public 8822License instead of this License to a given copy of the Library. To do 8823this, you must alter all the notices that refer to this License, so 8824that they refer to the ordinary GNU General Public License, version 2, 8825instead of to this License. (If a newer version than version 2 of the 8826ordinary GNU General Public License has appeared, then you can specify 8827that version instead if you wish.) Do not make any other change in 8828these notices. 8829 8830 Once this change is made in a given copy, it is irreversible for 8831that copy, so the ordinary GNU General Public License applies to all 8832subsequent copies and derivative works made from that copy. 8833 8834 This option is useful when you wish to copy part of the code of 8835the Library into a program that is not a library. 8836 8837 4. You may copy and distribute the Library (or a portion or 8838derivative of it, under Section 2) in object code or executable form 8839under the terms of Sections 1 and 2 above provided that you accompany 8840it with the complete corresponding machine-readable source code, which 8841must be distributed under the terms of Sections 1 and 2 above on a 8842medium customarily used for software interchange. 8843 8844 If distribution of object code is made by offering access to copy 8845from a designated place, then offering equivalent access to copy the 8846source code from the same place satisfies the requirement to 8847distribute the source code, even though third parties are not 8848compelled to copy the source along with the object code. 8849 8850 5. A program that contains no derivative of any portion of the 8851Library, but is designed to work with the Library by being compiled or 8852linked with it, is called a "work that uses the Library". Such a 8853work, in isolation, is not a derivative work of the Library, and 8854therefore falls outside the scope of this License. 8855 8856 However, linking a "work that uses the Library" with the Library 8857creates an executable that is a derivative of the Library (because it 8858contains portions of the Library), rather than a "work that uses the 8859library". The executable is therefore covered by this License. 8860Section 6 states terms for distribution of such executables. 8861 8862 When a "work that uses the Library" uses material from a header file 8863that is part of the Library, the object code for the work may be a 8864derivative work of the Library even though the source code is not. 8865Whether this is true is especially significant if the work can be 8866linked without the Library, or if the work is itself a library. The 8867threshold for this to be true is not precisely defined by law. 8868 8869 If such an object file uses only numerical parameters, data 8870structure layouts and accessors, and small macros and small inline 8871functions (ten lines or less in length), then the use of the object 8872file is unrestricted, regardless of whether it is legally a derivative 8873work. (Executables containing this object code plus portions of the 8874Library will still fall under Section 6.) 8875 8876 Otherwise, if the work is a derivative of the Library, you may 8877distribute the object code for the work under the terms of Section 6. 8878Any executables containing that work also fall under Section 6, 8879whether or not they are linked directly with the Library itself. 8880 8881 6. As an exception to the Sections above, you may also combine or 8882link a "work that uses the Library" with the Library to produce a 8883work containing portions of the Library, and distribute that work 8884under terms of your choice, provided that the terms permit 8885modification of the work for the customer's own use and reverse 8886engineering for debugging such modifications. 8887 8888 You must give prominent notice with each copy of the work that the 8889Library is used in it and that the Library and its use are covered by 8890this License. You must supply a copy of this License. If the work 8891during execution displays copyright notices, you must include the 8892copyright notice for the Library among them, as well as a reference 8893directing the user to the copy of this License. Also, you must do one 8894of these things: 8895 8896 a) Accompany the work with the complete corresponding 8897 machine-readable source code for the Library including whatever 8898 changes were used in the work (which must be distributed under 8899 Sections 1 and 2 above); and, if the work is an executable linked 8900 with the Library, with the complete machine-readable "work that 8901 uses the Library", as object code and/or source code, so that the 8902 user can modify the Library and then relink to produce a modified 8903 executable containing the modified Library. (It is understood 8904 that the user who changes the contents of definitions files in the 8905 Library will not necessarily be able to recompile the application 8906 to use the modified definitions.) 8907 8908 b) Use a suitable shared library mechanism for linking with the 8909 Library. A suitable mechanism is one that (1) uses at run time a 8910 copy of the library already present on the user's computer system, 8911 rather than copying library functions into the executable, and (2) 8912 will operate properly with a modified version of the library, if 8913 the user installs one, as long as the modified version is 8914 interface-compatible with the version that the work was made with. 8915 8916 c) Accompany the work with a written offer, valid for at 8917 least three years, to give the same user the materials 8918 specified in Subsection 6a, above, for a charge no more 8919 than the cost of performing this distribution. 8920 8921 d) If distribution of the work is made by offering access to copy 8922 from a designated place, offer equivalent access to copy the above 8923 specified materials from the same place. 8924 8925 e) Verify that the user has already received a copy of these 8926 materials or that you have already sent this user a copy. 8927 8928 For an executable, the required form of the "work that uses the 8929Library" must include any data and utility programs needed for 8930reproducing the executable from it. However, as a special exception, 8931the materials to be distributed need not include anything that is 8932normally distributed (in either source or binary form) with the major 8933components (compiler, kernel, and so on) of the operating system on 8934which the executable runs, unless that component itself accompanies 8935the executable. 8936 8937 It may happen that this requirement contradicts the license 8938restrictions of other proprietary libraries that do not normally 8939accompany the operating system. Such a contradiction means you cannot 8940use both them and the Library together in an executable that you 8941distribute. 8942 8943 7. You may place library facilities that are a work based on the 8944Library side-by-side in a single library together with other library 8945facilities not covered by this License, and distribute such a combined 8946library, provided that the separate distribution of the work based on 8947the Library and of the other library facilities is otherwise 8948permitted, and provided that you do these two things: 8949 8950 a) Accompany the combined library with a copy of the same work 8951 based on the Library, uncombined with any other library 8952 facilities. This must be distributed under the terms of the 8953 Sections above. 8954 8955 b) Give prominent notice with the combined library of the fact 8956 that part of it is a work based on the Library, and explaining 8957 where to find the accompanying uncombined form of the same work. 8958 8959 8. You may not copy, modify, sublicense, link with, or distribute 8960the Library except as expressly provided under this License. Any 8961attempt otherwise to copy, modify, sublicense, link with, or 8962distribute the Library is void, and will automatically terminate your 8963rights under this License. However, parties who have received copies, 8964or rights, from you under this License will not have their licenses 8965terminated so long as such parties remain in full compliance. 8966 8967 9. You are not required to accept this License, since you have not 8968signed it. However, nothing else grants you permission to modify or 8969distribute the Library or its derivative works. These actions are 8970prohibited by law if you do not accept this License. Therefore, by 8971modifying or distributing the Library (or any work based on the 8972Library), you indicate your acceptance of this License to do so, and 8973all its terms and conditions for copying, distributing or modifying 8974the Library or works based on it. 8975 8976 10. Each time you redistribute the Library (or any work based on the 8977Library), the recipient automatically receives a license from the 8978original licensor to copy, distribute, link with or modify the Library 8979subject to these terms and conditions. You may not impose any further 8980restrictions on the recipients' exercise of the rights granted herein. 8981You are not responsible for enforcing compliance by third parties with 8982this License. 8983 8984 11. If, as a consequence of a court judgment or allegation of patent 8985infringement or for any other reason (not limited to patent issues), 8986conditions are imposed on you (whether by court order, agreement or 8987otherwise) that contradict the conditions of this License, they do not 8988excuse you from the conditions of this License. If you cannot 8989distribute so as to satisfy simultaneously your obligations under this 8990License and any other pertinent obligations, then as a consequence you 8991may not distribute the Library at all. For example, if a patent 8992license would not permit royalty-free redistribution of the Library by 8993all those who receive copies directly or indirectly through you, then 8994the only way you could satisfy both it and this License would be to 8995refrain entirely from distribution of the Library. 8996 8997If any portion of this section is held invalid or unenforceable under any 8998particular circumstance, the balance of the section is intended to apply, 8999and the section as a whole is intended to apply in other circumstances. 9000 9001It is not the purpose of this section to induce you to infringe any 9002patents or other property right claims or to contest validity of any 9003such claims; this section has the sole purpose of protecting the 9004integrity of the free software distribution system which is 9005implemented by public license practices. Many people have made 9006generous contributions to the wide range of software distributed 9007through that system in reliance on consistent application of that 9008system; it is up to the author/donor to decide if he or she is willing 9009to distribute software through any other system and a licensee cannot 9010impose that choice. 9011 9012This section is intended to make thoroughly clear what is believed to 9013be a consequence of the rest of this License. 9014 9015 12. If the distribution and/or use of the Library is restricted in 9016certain countries either by patents or by copyrighted interfaces, the 9017original copyright holder who places the Library under this License may add 9018an explicit geographical distribution limitation excluding those countries, 9019so that distribution is permitted only in or among countries not thus 9020excluded. In such case, this License incorporates the limitation as if 9021written in the body of this License. 9022 9023 13. The Free Software Foundation may publish revised and/or new 9024versions of the Lesser General Public License from time to time. 9025Such new versions will be similar in spirit to the present version, 9026but may differ in detail to address new problems or concerns. 9027 9028Each version is given a distinguishing version number. If the Library 9029specifies a version number of this License which applies to it and 9030"any later version", you have the option of following the terms and 9031conditions either of that version or of any later version published by 9032the Free Software Foundation. If the Library does not specify a 9033license version number, you may choose any version ever published by 9034the Free Software Foundation. 9035 9036 14. If you wish to incorporate parts of the Library into other free 9037programs whose distribution conditions are incompatible with these, 9038write to the author to ask for permission. For software which is 9039copyrighted by the Free Software Foundation, write to the Free 9040Software Foundation; we sometimes make exceptions for this. Our 9041decision will be guided by the two goals of preserving the free status 9042of all derivatives of our free software and of promoting the sharing 9043and reuse of software generally. 9044 9045 NO WARRANTY 9046 9047 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 9048WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 9049EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 9050OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 9051KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 9052IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 9053PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 9054LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 9055THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 9056 9057 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 9058WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 9059AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 9060FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 9061CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 9062LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 9063RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 9064FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 9065SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 9066DAMAGES. 9067 9068 END OF TERMS AND CONDITIONS 9069 9070 How to Apply These Terms to Your New Libraries 9071 9072 If you develop a new library, and you want it to be of the greatest 9073possible use to the public, we recommend making it free software that 9074everyone can redistribute and change. You can do so by permitting 9075redistribution under these terms (or, alternatively, under the terms of the 9076ordinary General Public License). 9077 9078 To apply these terms, attach the following notices to the library. It is 9079safest to attach them to the start of each source file to most effectively 9080convey the exclusion of warranty; and each file should have at least the 9081"copyright" line and a pointer to where the full notice is found. 9082 9083 <one line to give the library's name and a brief idea of what it does.> 9084 Copyright (C) <year> <name of author> 9085 9086 This library is free software; you can redistribute it and/or 9087 modify it under the terms of the GNU Lesser General Public 9088 License as published by the Free Software Foundation; either 9089 version 2.1 of the License, or (at your option) any later version. 9090 9091 This library is distributed in the hope that it will be useful, 9092 but WITHOUT ANY WARRANTY; without even the implied warranty of 9093 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 9094 Lesser General Public License for more details. 9095 9096 You should have received a copy of the GNU Lesser General Public 9097 License along with this library; if not, write to the Free Software 9098 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 9099 9100Also add information on how to contact you by electronic and paper mail. 9101 9102You should also get your employer (if you work as a programmer) or your 9103school, if any, to sign a "copyright disclaimer" for the library, if 9104necessary. Here is a sample; alter the names: 9105 9106 Yoyodyne, Inc., hereby disclaims all copyright interest in the 9107 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 9108 9109 <signature of Ty Coon>, 1 April 1990 9110 Ty Coon, President of Vice 9111 9112That's all there is to it! 9113 9114 9115 GNU GENERAL PUBLIC LICENSE 9116 Version 2, June 1991 9117 9118 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 9119 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 9120 Everyone is permitted to copy and distribute verbatim copies 9121 of this license document, but changing it is not allowed. 9122 9123 Preamble 9124 9125 The licenses for most software are designed to take away your 9126freedom to share and change it. By contrast, the GNU General Public 9127License is intended to guarantee your freedom to share and change free 9128software--to make sure the software is free for all its users. This 9129General Public License applies to most of the Free Software 9130Foundation's software and to any other program whose authors commit to 9131using it. (Some other Free Software Foundation software is covered by 9132the GNU Library General Public License instead.) You can apply it to 9133your programs, too. 9134 9135 When we speak of free software, we are referring to freedom, not 9136price. Our General Public Licenses are designed to make sure that you 9137have the freedom to distribute copies of free software (and charge for 9138this service if you wish), that you receive source code or can get it 9139if you want it, that you can change the software or use pieces of it 9140in new free programs; and that you know you can do these things. 9141 9142 To protect your rights, we need to make restrictions that forbid 9143anyone to deny you these rights or to ask you to surrender the rights. 9144These restrictions translate to certain responsibilities for you if you 9145distribute copies of the software, or if you modify it. 9146 9147 For example, if you distribute copies of such a program, whether 9148gratis or for a fee, you must give the recipients all the rights that 9149you have. You must make sure that they, too, receive or can get the 9150source code. And you must show them these terms so they know their 9151rights. 9152 9153 We protect your rights with two steps: (1) copyright the software, and 9154(2) offer you this license which gives you legal permission to copy, 9155distribute and/or modify the software. 9156 9157 Also, for each author's protection and ours, we want to make certain 9158that everyone understands that there is no warranty for this free 9159software. If the software is modified by someone else and passed on, we 9160want its recipients to know that what they have is not the original, so 9161that any problems introduced by others will not reflect on the original 9162authors' reputations. 9163 9164 Finally, any free program is threatened constantly by software 9165patents. We wish to avoid the danger that redistributors of a free 9166program will individually obtain patent licenses, in effect making the 9167program proprietary. To prevent this, we have made it clear that any 9168patent must be licensed for everyone's free use or not licensed at all. 9169 9170 The precise terms and conditions for copying, distribution and 9171modification follow. 9172 9173 GNU GENERAL PUBLIC LICENSE 9174 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 9175 9176 0. This License applies to any program or other work which contains 9177a notice placed by the copyright holder saying it may be distributed 9178under the terms of this General Public License. The "Program", below, 9179refers to any such program or work, and a "work based on the Program" 9180means either the Program or any derivative work under copyright law: 9181that is to say, a work containing the Program or a portion of it, 9182either verbatim or with modifications and/or translated into another 9183language. (Hereinafter, translation is included without limitation in 9184the term "modification".) Each licensee is addressed as "you". 9185 9186Activities other than copying, distribution and modification are not 9187covered by this License; they are outside its scope. The act of 9188running the Program is not restricted, and the output from the Program 9189is covered only if its contents constitute a work based on the 9190Program (independent of having been made by running the Program). 9191Whether that is true depends on what the Program does. 9192 9193 1. You may copy and distribute verbatim copies of the Program's 9194source code as you receive it, in any medium, provided that you 9195conspicuously and appropriately publish on each copy an appropriate 9196copyright notice and disclaimer of warranty; keep intact all the 9197notices that refer to this License and to the absence of any warranty; 9198and give any other recipients of the Program a copy of this License 9199along with the Program. 9200 9201You may charge a fee for the physical act of transferring a copy, and 9202you may at your option offer warranty protection in exchange for a fee. 9203 9204 2. You may modify your copy or copies of the Program or any portion 9205of it, thus forming a work based on the Program, and copy and 9206distribute such modifications or work under the terms of Section 1 9207above, provided that you also meet all of these conditions: 9208 9209 a) You must cause the modified files to carry prominent notices 9210 stating that you changed the files and the date of any change. 9211 9212 b) You must cause any work that you distribute or publish, that in 9213 whole or in part contains or is derived from the Program or any 9214 part thereof, to be licensed as a whole at no charge to all third 9215 parties under the terms of this License. 9216 9217 c) If the modified program normally reads commands interactively 9218 when run, you must cause it, when started running for such 9219 interactive use in the most ordinary way, to print or display an 9220 announcement including an appropriate copyright notice and a 9221 notice that there is no warranty (or else, saying that you provide 9222 a warranty) and that users may redistribute the program under 9223 these conditions, and telling the user how to view a copy of this 9224 License. (Exception: if the Program itself is interactive but 9225 does not normally print such an announcement, your work based on 9226 the Program is not required to print an announcement.) 9227 9228These requirements apply to the modified work as a whole. If 9229identifiable sections of that work are not derived from the Program, 9230and can be reasonably considered independent and separate works in 9231themselves, then this License, and its terms, do not apply to those 9232sections when you distribute them as separate works. But when you 9233distribute the same sections as part of a whole which is a work based 9234on the Program, the distribution of the whole must be on the terms of 9235this License, whose permissions for other licensees extend to the 9236entire whole, and thus to each and every part regardless of who wrote it. 9237 9238Thus, it is not the intent of this section to claim rights or contest 9239your rights to work written entirely by you; rather, the intent is to 9240exercise the right to control the distribution of derivative or 9241collective works based on the Program. 9242 9243In addition, mere aggregation of another work not based on the Program 9244with the Program (or with a work based on the Program) on a volume of 9245a storage or distribution medium does not bring the other work under 9246the scope of this License. 9247 9248 3. You may copy and distribute the Program (or a work based on it, 9249under Section 2) in object code or executable form under the terms of 9250Sections 1 and 2 above provided that you also do one of the following: 9251 9252 a) Accompany it with the complete corresponding machine-readable 9253 source code, which must be distributed under the terms of Sections 9254 1 and 2 above on a medium customarily used for software interchange; or, 9255 9256 b) Accompany it with a written offer, valid for at least three 9257 years, to give any third party, for a charge no more than your 9258 cost of physically performing source distribution, a complete 9259 machine-readable copy of the corresponding source code, to be 9260 distributed under the terms of Sections 1 and 2 above on a medium 9261 customarily used for software interchange; or, 9262 9263 c) Accompany it with the information you received as to the offer 9264 to distribute corresponding source code. (This alternative is 9265 allowed only for noncommercial distribution and only if you 9266 received the program in object code or executable form with such 9267 an offer, in accord with Subsection b above.) 9268 9269The source code for a work means the preferred form of the work for 9270making modifications to it. For an executable work, complete source 9271code means all the source code for all modules it contains, plus any 9272associated interface definition files, plus the scripts used to 9273control compilation and installation of the executable. However, as a 9274special exception, the source code distributed need not include 9275anything that is normally distributed (in either source or binary 9276form) with the major components (compiler, kernel, and so on) of the 9277operating system on which the executable runs, unless that component 9278itself accompanies the executable. 9279 9280If distribution of executable or object code is made by offering 9281access to copy from a designated place, then offering equivalent 9282access to copy the source code from the same place counts as 9283distribution of the source code, even though third parties are not 9284compelled to copy the source along with the object code. 9285 9286 4. You may not copy, modify, sublicense, or distribute the Program 9287except as expressly provided under this License. Any attempt 9288otherwise to copy, modify, sublicense or distribute the Program is 9289void, and will automatically terminate your rights under this License. 9290However, parties who have received copies, or rights, from you under 9291this License will not have their licenses terminated so long as such 9292parties remain in full compliance. 9293 9294 5. You are not required to accept this License, since you have not 9295signed it. However, nothing else grants you permission to modify or 9296distribute the Program or its derivative works. These actions are 9297prohibited by law if you do not accept this License. Therefore, by 9298modifying or distributing the Program (or any work based on the 9299Program), you indicate your acceptance of this License to do so, and 9300all its terms and conditions for copying, distributing or modifying 9301the Program or works based on it. 9302 9303 6. Each time you redistribute the Program (or any work based on the 9304Program), the recipient automatically receives a license from the 9305original licensor to copy, distribute or modify the Program subject to 9306these terms and conditions. You may not impose any further 9307restrictions on the recipients' exercise of the rights granted herein. 9308You are not responsible for enforcing compliance by third parties to 9309this License. 9310 9311 7. If, as a consequence of a court judgment or allegation of patent 9312infringement or for any other reason (not limited to patent issues), 9313conditions are imposed on you (whether by court order, agreement or 9314otherwise) that contradict the conditions of this License, they do not 9315excuse you from the conditions of this License. If you cannot 9316distribute so as to satisfy simultaneously your obligations under this 9317License and any other pertinent obligations, then as a consequence you 9318may not distribute the Program at all. For example, if a patent 9319license would not permit royalty-free redistribution of the Program by 9320all those who receive copies directly or indirectly through you, then 9321the only way you could satisfy both it and this License would be to 9322refrain entirely from distribution of the Program. 9323 9324If any portion of this section is held invalid or unenforceable under 9325any particular circumstance, the balance of the section is intended to 9326apply and the section as a whole is intended to apply in other 9327circumstances. 9328 9329It is not the purpose of this section to induce you to infringe any 9330patents or other property right claims or to contest validity of any 9331such claims; this section has the sole purpose of protecting the 9332integrity of the free software distribution system, which is 9333implemented by public license practices. Many people have made 9334generous contributions to the wide range of software distributed 9335through that system in reliance on consistent application of that 9336system; it is up to the author/donor to decide if he or she is willing 9337to distribute software through any other system and a licensee cannot 9338impose that choice. 9339 9340This section is intended to make thoroughly clear what is believed to 9341be a consequence of the rest of this License. 9342 9343 8. If the distribution and/or use of the Program is restricted in 9344certain countries either by patents or by copyrighted interfaces, the 9345original copyright holder who places the Program under this License 9346may add an explicit geographical distribution limitation excluding 9347those countries, so that distribution is permitted only in or among 9348countries not thus excluded. In such case, this License incorporates 9349the limitation as if written in the body of this License. 9350 9351 9. The Free Software Foundation may publish revised and/or new versions 9352of the General Public License from time to time. Such new versions will 9353be similar in spirit to the present version, but may differ in detail to 9354address new problems or concerns. 9355 9356Each version is given a distinguishing version number. If the Program 9357specifies a version number of this License which applies to it and "any 9358later version", you have the option of following the terms and conditions 9359either of that version or of any later version published by the Free 9360Software Foundation. If the Program does not specify a version number of 9361this License, you may choose any version ever published by the Free Software 9362Foundation. 9363 9364 10. If you wish to incorporate parts of the Program into other free 9365programs whose distribution conditions are different, write to the author 9366to ask for permission. For software which is copyrighted by the Free 9367Software Foundation, write to the Free Software Foundation; we sometimes 9368make exceptions for this. Our decision will be guided by the two goals 9369of preserving the free status of all derivatives of our free software and 9370of promoting the sharing and reuse of software generally. 9371 9372 NO WARRANTY 9373 9374 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 9375FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 9376OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 9377PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 9378OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 9379MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 9380TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 9381PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 9382REPAIR OR CORRECTION. 9383 9384 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 9385WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 9386REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 9387INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 9388OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 9389TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 9390YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 9391PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 9392POSSIBILITY OF SUCH DAMAGES. 9393 9394 END OF TERMS AND CONDITIONS 9395 9396 How to Apply These Terms to Your New Programs 9397 9398 If you develop a new program, and you want it to be of the greatest 9399possible use to the public, the best way to achieve this is to make it 9400free software which everyone can redistribute and change under these terms. 9401 9402 To do so, attach the following notices to the program. It is safest 9403to attach them to the start of each source file to most effectively 9404convey the exclusion of warranty; and each file should have at least 9405the "copyright" line and a pointer to where the full notice is found. 9406 9407 <one line to give the program's name and a brief idea of what it does.> 9408 Copyright (C) <year> <name of author> 9409 9410 This program is free software; you can redistribute it and/or modify 9411 it under the terms of the GNU General Public License as published by 9412 the Free Software Foundation; either version 2 of the License, or 9413 (at your option) any later version. 9414 9415 This program is distributed in the hope that it will be useful, 9416 but WITHOUT ANY WARRANTY; without even the implied warranty of 9417 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9418 GNU General Public License for more details. 9419 9420 You should have received a copy of the GNU General Public License 9421 along with this program; if not, write to the Free Software 9422 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 9423 9424 9425Also add information on how to contact you by electronic and paper mail. 9426 9427If the program is interactive, make it output a short notice like this 9428when it starts in an interactive mode: 9429 9430 Gnomovision version 69, Copyright (C) year name of author 9431 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 9432 This is free software, and you are welcome to redistribute it 9433 under certain conditions; type `show c' for details. 9434 9435The hypothetical commands `show w' and `show c' should show the appropriate 9436parts of the General Public License. Of course, the commands you use may 9437be called something other than `show w' and `show c'; they could even be 9438mouse-clicks or menu items--whatever suits your program. 9439 9440You should also get your employer (if you work as a programmer) or your 9441school, if any, to sign a "copyright disclaimer" for the program, if 9442necessary. Here is a sample; alter the names: 9443 9444 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 9445 `Gnomovision' (which makes passes at compilers) written by James Hacker. 9446 9447 <signature of Ty Coon>, 1 April 1989 9448 Ty Coon, President of Vice 9449 9450This General Public License does not permit incorporating your program into 9451proprietary programs. If your program is a subroutine library, you may 9452consider it more useful to permit linking proprietary applications with the 9453library. If this is what you want to do, use the GNU Library General 9454Public License instead of this License. 9455 GNU LESSER GENERAL PUBLIC LICENSE 9456 Version 3, 29 June 2007 9457 9458 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 9459 Everyone is permitted to copy and distribute verbatim copies 9460 of this license document, but changing it is not allowed. 9461 9462 9463 This version of the GNU Lesser General Public License incorporates 9464the terms and conditions of version 3 of the GNU General Public 9465License, supplemented by the additional permissions listed below. 9466 9467 0. Additional Definitions. 9468 9469 As used herein, "this License" refers to version 3 of the GNU Lesser 9470General Public License, and the "GNU GPL" refers to version 3 of the GNU 9471General Public License. 9472 9473 "The Library" refers to a covered work governed by this License, 9474other than an Application or a Combined Work as defined below. 9475 9476 An "Application" is any work that makes use of an interface provided 9477by the Library, but which is not otherwise based on the Library. 9478Defining a subclass of a class defined by the Library is deemed a mode 9479of using an interface provided by the Library. 9480 9481 A "Combined Work" is a work produced by combining or linking an 9482Application with the Library. The particular version of the Library 9483with which the Combined Work was made is also called the "Linked 9484Version". 9485 9486 The "Minimal Corresponding Source" for a Combined Work means the 9487Corresponding Source for the Combined Work, excluding any source code 9488for portions of the Combined Work that, considered in isolation, are 9489based on the Application, and not on the Linked Version. 9490 9491 The "Corresponding Application Code" for a Combined Work means the 9492object code and/or source code for the Application, including any data 9493and utility programs needed for reproducing the Combined Work from the 9494Application, but excluding the System Libraries of the Combined Work. 9495 9496 1. Exception to Section 3 of the GNU GPL. 9497 9498 You may convey a covered work under sections 3 and 4 of this License 9499without being bound by section 3 of the GNU GPL. 9500 9501 2. Conveying Modified Versions. 9502 9503 If you modify a copy of the Library, and, in your modifications, a 9504facility refers to a function or data to be supplied by an Application 9505that uses the facility (other than as an argument passed when the 9506facility is invoked), then you may convey a copy of the modified 9507version: 9508 9509 a) under this License, provided that you make a good faith effort to 9510 ensure that, in the event an Application does not supply the 9511 function or data, the facility still operates, and performs 9512 whatever part of its purpose remains meaningful, or 9513 9514 b) under the GNU GPL, with none of the additional permissions of 9515 this License applicable to that copy. 9516 9517 3. Object Code Incorporating Material from Library Header Files. 9518 9519 The object code form of an Application may incorporate material from 9520a header file that is part of the Library. You may convey such object 9521code under terms of your choice, provided that, if the incorporated 9522material is not limited to numerical parameters, data structure 9523layouts and accessors, or small macros, inline functions and templates 9524(ten or fewer lines in length), you do both of the following: 9525 9526 a) Give prominent notice with each copy of the object code that the 9527 Library is used in it and that the Library and its use are 9528 covered by this License. 9529 9530 b) Accompany the object code with a copy of the GNU GPL and this license 9531 document. 9532 9533 4. Combined Works. 9534 9535 You may convey a Combined Work under terms of your choice that, 9536taken together, effectively do not restrict modification of the 9537portions of the Library contained in the Combined Work and reverse 9538engineering for debugging such modifications, if you also do each of 9539the following: 9540 9541 a) Give prominent notice with each copy of the Combined Work that 9542 the Library is used in it and that the Library and its use are 9543 covered by this License. 9544 9545 b) Accompany the Combined Work with a copy of the GNU GPL and this license 9546 document. 9547 9548 c) For a Combined Work that displays copyright notices during 9549 execution, include the copyright notice for the Library among 9550 these notices, as well as a reference directing the user to the 9551 copies of the GNU GPL and this license document. 9552 9553 d) Do one of the following: 9554 9555 0) Convey the Minimal Corresponding Source under the terms of this 9556 License, and the Corresponding Application Code in a form 9557 suitable for, and under terms that permit, the user to 9558 recombine or relink the Application with a modified version of 9559 the Linked Version to produce a modified Combined Work, in the 9560 manner specified by section 6 of the GNU GPL for conveying 9561 Corresponding Source. 9562 9563 1) Use a suitable shared library mechanism for linking with the 9564 Library. A suitable mechanism is one that (a) uses at run time 9565 a copy of the Library already present on the user's computer 9566 system, and (b) will operate properly with a modified version 9567 of the Library that is interface-compatible with the Linked 9568 Version. 9569 9570 e) Provide Installation Information, but only if you would otherwise 9571 be required to provide such information under section 6 of the 9572 GNU GPL, and only to the extent that such information is 9573 necessary to install and execute a modified version of the 9574 Combined Work produced by recombining or relinking the 9575 Application with a modified version of the Linked Version. (If 9576 you use option 4d0, the Installation Information must accompany 9577 the Minimal Corresponding Source and Corresponding Application 9578 Code. If you use option 4d1, you must provide the Installation 9579 Information in the manner specified by section 6 of the GNU GPL 9580 for conveying Corresponding Source.) 9581 9582 5. Combined Libraries. 9583 9584 You may place library facilities that are a work based on the 9585Library side by side in a single library together with other library 9586facilities that are not Applications and are not covered by this 9587License, and convey such a combined library under terms of your 9588choice, if you do both of the following: 9589 9590 a) Accompany the combined library with a copy of the same work based 9591 on the Library, uncombined with any other library facilities, 9592 conveyed under the terms of this License. 9593 9594 b) Give prominent notice with the combined library that part of it 9595 is a work based on the Library, and explaining where to find the 9596 accompanying uncombined form of the same work. 9597 9598 6. Revised Versions of the GNU Lesser General Public License. 9599 9600 The Free Software Foundation may publish revised and/or new versions 9601of the GNU Lesser General Public License from time to time. Such new 9602versions will be similar in spirit to the present version, but may 9603differ in detail to address new problems or concerns. 9604 9605 Each version is given a distinguishing version number. If the 9606Library as you received it specifies that a certain numbered version 9607of the GNU Lesser General Public License "or any later version" 9608applies to it, you have the option of following the terms and 9609conditions either of that published version or of any later version 9610published by the Free Software Foundation. If the Library as you 9611received it does not specify a version number of the GNU Lesser 9612General Public License, you may choose any version of the GNU Lesser 9613General Public License ever published by the Free Software Foundation. 9614 9615 If the Library as you received it specifies that a proxy can decide 9616whether future versions of the GNU Lesser General Public License shall 9617apply, that proxy's public statement of acceptance of any version is 9618permanent authorization for you to choose that version for the 9619Library. 9620 GNU GENERAL PUBLIC LICENSE 9621 Version 2, June 1991 9622 9623 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 9624 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 9625 Everyone is permitted to copy and distribute verbatim copies 9626 of this license document, but changing it is not allowed. 9627 9628 Preamble 9629 9630 The licenses for most software are designed to take away your 9631freedom to share and change it. By contrast, the GNU General Public 9632License is intended to guarantee your freedom to share and change free 9633software--to make sure the software is free for all its users. This 9634General Public License applies to most of the Free Software 9635Foundation's software and to any other program whose authors commit to 9636using it. (Some other Free Software Foundation software is covered by 9637the GNU Library General Public License instead.) You can apply it to 9638your programs, too. 9639 9640 When we speak of free software, we are referring to freedom, not 9641price. Our General Public Licenses are designed to make sure that you 9642have the freedom to distribute copies of free software (and charge for 9643this service if you wish), that you receive source code or can get it 9644if you want it, that you can change the software or use pieces of it 9645in new free programs; and that you know you can do these things. 9646 9647 To protect your rights, we need to make restrictions that forbid 9648anyone to deny you these rights or to ask you to surrender the rights. 9649These restrictions translate to certain responsibilities for you if you 9650distribute copies of the software, or if you modify it. 9651 9652 For example, if you distribute copies of such a program, whether 9653gratis or for a fee, you must give the recipients all the rights that 9654you have. You must make sure that they, too, receive or can get the 9655source code. And you must show them these terms so they know their 9656rights. 9657 9658 We protect your rights with two steps: (1) copyright the software, and 9659(2) offer you this license which gives you legal permission to copy, 9660distribute and/or modify the software. 9661 9662 Also, for each author's protection and ours, we want to make certain 9663that everyone understands that there is no warranty for this free 9664software. If the software is modified by someone else and passed on, we 9665want its recipients to know that what they have is not the original, so 9666that any problems introduced by others will not reflect on the original 9667authors' reputations. 9668 9669 Finally, any free program is threatened constantly by software 9670patents. We wish to avoid the danger that redistributors of a free 9671program will individually obtain patent licenses, in effect making the 9672program proprietary. To prevent this, we have made it clear that any 9673patent must be licensed for everyone's free use or not licensed at all. 9674 9675 The precise terms and conditions for copying, distribution and 9676modification follow. 9677 9678 GNU GENERAL PUBLIC LICENSE 9679 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 9680 9681 0. This License applies to any program or other work which contains 9682a notice placed by the copyright holder saying it may be distributed 9683under the terms of this General Public License. The "Program", below, 9684refers to any such program or work, and a "work based on the Program" 9685means either the Program or any derivative work under copyright law: 9686that is to say, a work containing the Program or a portion of it, 9687either verbatim or with modifications and/or translated into another 9688language. (Hereinafter, translation is included without limitation in 9689the term "modification".) Each licensee is addressed as "you". 9690 9691Activities other than copying, distribution and modification are not 9692covered by this License; they are outside its scope. The act of 9693running the Program is not restricted, and the output from the Program 9694is covered only if its contents constitute a work based on the 9695Program (independent of having been made by running the Program). 9696Whether that is true depends on what the Program does. 9697 9698 1. You may copy and distribute verbatim copies of the Program's 9699source code as you receive it, in any medium, provided that you 9700conspicuously and appropriately publish on each copy an appropriate 9701copyright notice and disclaimer of warranty; keep intact all the 9702notices that refer to this License and to the absence of any warranty; 9703and give any other recipients of the Program a copy of this License 9704along with the Program. 9705 9706You may charge a fee for the physical act of transferring a copy, and 9707you may at your option offer warranty protection in exchange for a fee. 9708 9709 2. You may modify your copy or copies of the Program or any portion 9710of it, thus forming a work based on the Program, and copy and 9711distribute such modifications or work under the terms of Section 1 9712above, provided that you also meet all of these conditions: 9713 9714 a) You must cause the modified files to carry prominent notices 9715 stating that you changed the files and the date of any change. 9716 9717 b) You must cause any work that you distribute or publish, that in 9718 whole or in part contains or is derived from the Program or any 9719 part thereof, to be licensed as a whole at no charge to all third 9720 parties under the terms of this License. 9721 9722 c) If the modified program normally reads commands interactively 9723 when run, you must cause it, when started running for such 9724 interactive use in the most ordinary way, to print or display an 9725 announcement including an appropriate copyright notice and a 9726 notice that there is no warranty (or else, saying that you provide 9727 a warranty) and that users may redistribute the program under 9728 these conditions, and telling the user how to view a copy of this 9729 License. (Exception: if the Program itself is interactive but 9730 does not normally print such an announcement, your work based on 9731 the Program is not required to print an announcement.) 9732 9733These requirements apply to the modified work as a whole. If 9734identifiable sections of that work are not derived from the Program, 9735and can be reasonably considered independent and separate works in 9736themselves, then this License, and its terms, do not apply to those 9737sections when you distribute them as separate works. But when you 9738distribute the same sections as part of a whole which is a work based 9739on the Program, the distribution of the whole must be on the terms of 9740this License, whose permissions for other licensees extend to the 9741entire whole, and thus to each and every part regardless of who wrote it. 9742 9743Thus, it is not the intent of this section to claim rights or contest 9744your rights to work written entirely by you; rather, the intent is to 9745exercise the right to control the distribution of derivative or 9746collective works based on the Program. 9747 9748In addition, mere aggregation of another work not based on the Program 9749with the Program (or with a work based on the Program) on a volume of 9750a storage or distribution medium does not bring the other work under 9751the scope of this License. 9752 9753 3. You may copy and distribute the Program (or a work based on it, 9754under Section 2) in object code or executable form under the terms of 9755Sections 1 and 2 above provided that you also do one of the following: 9756 9757 a) Accompany it with the complete corresponding machine-readable 9758 source code, which must be distributed under the terms of Sections 9759 1 and 2 above on a medium customarily used for software interchange; or, 9760 9761 b) Accompany it with a written offer, valid for at least three 9762 years, to give any third party, for a charge no more than your 9763 cost of physically performing source distribution, a complete 9764 machine-readable copy of the corresponding source code, to be 9765 distributed under the terms of Sections 1 and 2 above on a medium 9766 customarily used for software interchange; or, 9767 9768 c) Accompany it with the information you received as to the offer 9769 to distribute corresponding source code. (This alternative is 9770 allowed only for noncommercial distribution and only if you 9771 received the program in object code or executable form with such 9772 an offer, in accord with Subsection b above.) 9773 9774The source code for a work means the preferred form of the work for 9775making modifications to it. For an executable work, complete source 9776code means all the source code for all modules it contains, plus any 9777associated interface definition files, plus the scripts used to 9778control compilation and installation of the executable. However, as a 9779special exception, the source code distributed need not include 9780anything that is normally distributed (in either source or binary 9781form) with the major components (compiler, kernel, and so on) of the 9782operating system on which the executable runs, unless that component 9783itself accompanies the executable. 9784 9785If distribution of executable or object code is made by offering 9786access to copy from a designated place, then offering equivalent 9787access to copy the source code from the same place counts as 9788distribution of the source code, even though third parties are not 9789compelled to copy the source along with the object code. 9790 9791 4. You may not copy, modify, sublicense, or distribute the Program 9792except as expressly provided under this License. Any attempt 9793otherwise to copy, modify, sublicense or distribute the Program is 9794void, and will automatically terminate your rights under this License. 9795However, parties who have received copies, or rights, from you under 9796this License will not have their licenses terminated so long as such 9797parties remain in full compliance. 9798 9799 5. You are not required to accept this License, since you have not 9800signed it. However, nothing else grants you permission to modify or 9801distribute the Program or its derivative works. These actions are 9802prohibited by law if you do not accept this License. Therefore, by 9803modifying or distributing the Program (or any work based on the 9804Program), you indicate your acceptance of this License to do so, and 9805all its terms and conditions for copying, distributing or modifying 9806the Program or works based on it. 9807 9808 6. Each time you redistribute the Program (or any work based on the 9809Program), the recipient automatically receives a license from the 9810original licensor to copy, distribute or modify the Program subject to 9811these terms and conditions. You may not impose any further 9812restrictions on the recipients' exercise of the rights granted herein. 9813You are not responsible for enforcing compliance by third parties to 9814this License. 9815 9816 7. If, as a consequence of a court judgment or allegation of patent 9817infringement or for any other reason (not limited to patent issues), 9818conditions are imposed on you (whether by court order, agreement or 9819otherwise) that contradict the conditions of this License, they do not 9820excuse you from the conditions of this License. If you cannot 9821distribute so as to satisfy simultaneously your obligations under this 9822License and any other pertinent obligations, then as a consequence you 9823may not distribute the Program at all. For example, if a patent 9824license would not permit royalty-free redistribution of the Program by 9825all those who receive copies directly or indirectly through you, then 9826the only way you could satisfy both it and this License would be to 9827refrain entirely from distribution of the Program. 9828 9829If any portion of this section is held invalid or unenforceable under 9830any particular circumstance, the balance of the section is intended to 9831apply and the section as a whole is intended to apply in other 9832circumstances. 9833 9834It is not the purpose of this section to induce you to infringe any 9835patents or other property right claims or to contest validity of any 9836such claims; this section has the sole purpose of protecting the 9837integrity of the free software distribution system, which is 9838implemented by public license practices. Many people have made 9839generous contributions to the wide range of software distributed 9840through that system in reliance on consistent application of that 9841system; it is up to the author/donor to decide if he or she is willing 9842to distribute software through any other system and a licensee cannot 9843impose that choice. 9844 9845This section is intended to make thoroughly clear what is believed to 9846be a consequence of the rest of this License. 9847 9848 8. If the distribution and/or use of the Program is restricted in 9849certain countries either by patents or by copyrighted interfaces, the 9850original copyright holder who places the Program under this License 9851may add an explicit geographical distribution limitation excluding 9852those countries, so that distribution is permitted only in or among 9853countries not thus excluded. In such case, this License incorporates 9854the limitation as if written in the body of this License. 9855 9856 9. The Free Software Foundation may publish revised and/or new versions 9857of the General Public License from time to time. Such new versions will 9858be similar in spirit to the present version, but may differ in detail to 9859address new problems or concerns. 9860 9861Each version is given a distinguishing version number. If the Program 9862specifies a version number of this License which applies to it and "any 9863later version", you have the option of following the terms and conditions 9864either of that version or of any later version published by the Free 9865Software Foundation. If the Program does not specify a version number of 9866this License, you may choose any version ever published by the Free Software 9867Foundation. 9868 9869 10. If you wish to incorporate parts of the Program into other free 9870programs whose distribution conditions are different, write to the author 9871to ask for permission. For software which is copyrighted by the Free 9872Software Foundation, write to the Free Software Foundation; we sometimes 9873make exceptions for this. Our decision will be guided by the two goals 9874of preserving the free status of all derivatives of our free software and 9875of promoting the sharing and reuse of software generally. 9876 9877 NO WARRANTY 9878 9879 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 9880FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 9881OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 9882PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 9883OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 9884MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 9885TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 9886PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 9887REPAIR OR CORRECTION. 9888 9889 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 9890WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 9891REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 9892INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 9893OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 9894TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 9895YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 9896PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 9897POSSIBILITY OF SUCH DAMAGES. 9898 9899 END OF TERMS AND CONDITIONS 9900 9901 How to Apply These Terms to Your New Programs 9902 9903 If you develop a new program, and you want it to be of the greatest 9904possible use to the public, the best way to achieve this is to make it 9905free software which everyone can redistribute and change under these terms. 9906 9907 To do so, attach the following notices to the program. It is safest 9908to attach them to the start of each source file to most effectively 9909convey the exclusion of warranty; and each file should have at least 9910the "copyright" line and a pointer to where the full notice is found. 9911 9912 <one line to give the program's name and a brief idea of what it does.> 9913 Copyright (C) 19yy <name of author> 9914 9915 This program is free software; you can redistribute it and/or modify 9916 it under the terms of the GNU General Public License as published by 9917 the Free Software Foundation; either version 2 of the License, or 9918 (at your option) any later version. 9919 9920 This program is distributed in the hope that it will be useful, 9921 but WITHOUT ANY WARRANTY; without even the implied warranty of 9922 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9923 GNU General Public License for more details. 9924 9925 You should have received a copy of the GNU General Public License 9926 along with this program; if not, write to the Free Software 9927 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 9928 9929 9930Also add information on how to contact you by electronic and paper mail. 9931 9932If the program is interactive, make it output a short notice like this 9933when it starts in an interactive mode: 9934 9935 Gnomovision version 69, Copyright (C) 19yy name of author 9936 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 9937 This is free software, and you are welcome to redistribute it 9938 under certain conditions; type `show c' for details. 9939 9940The hypothetical commands `show w' and `show c' should show the appropriate 9941parts of the General Public License. Of course, the commands you use may 9942be called something other than `show w' and `show c'; they could even be 9943mouse-clicks or menu items--whatever suits your program. 9944 9945You should also get your employer (if you work as a programmer) or your 9946school, if any, to sign a "copyright disclaimer" for the program, if 9947necessary. Here is a sample; alter the names: 9948 9949 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 9950 `Gnomovision' (which makes passes at compilers) written by James Hacker. 9951 9952 <signature of Ty Coon>, 1 April 1989 9953 Ty Coon, President of Vice 9954 9955This General Public License does not permit incorporating your program into 9956proprietary programs. If your program is a subroutine library, you may 9957consider it more useful to permit linking proprietary applications with the 9958library. If this is what you want to do, use the GNU Library General 9959Public License instead of this License. 9960 GNU GENERAL PUBLIC LICENSE 9961 Version 2, June 1991 9962 9963 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 9964 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 9965 Everyone is permitted to copy and distribute verbatim copies 9966 of this license document, but changing it is not allowed. 9967 9968 Preamble 9969 9970 The licenses for most software are designed to take away your 9971freedom to share and change it. By contrast, the GNU General Public 9972License is intended to guarantee your freedom to share and change free 9973software--to make sure the software is free for all its users. This 9974General Public License applies to most of the Free Software 9975Foundation's software and to any other program whose authors commit to 9976using it. (Some other Free Software Foundation software is covered by 9977the GNU Library General Public License instead.) You can apply it to 9978your programs, too. 9979 9980 When we speak of free software, we are referring to freedom, not 9981price. Our General Public Licenses are designed to make sure that you 9982have the freedom to distribute copies of free software (and charge for 9983this service if you wish), that you receive source code or can get it 9984if you want it, that you can change the software or use pieces of it 9985in new free programs; and that you know you can do these things. 9986 9987 To protect your rights, we need to make restrictions that forbid 9988anyone to deny you these rights or to ask you to surrender the rights. 9989These restrictions translate to certain responsibilities for you if you 9990distribute copies of the software, or if you modify it. 9991 9992 For example, if you distribute copies of such a program, whether 9993gratis or for a fee, you must give the recipients all the rights that 9994you have. You must make sure that they, too, receive or can get the 9995source code. And you must show them these terms so they know their 9996rights. 9997 9998 We protect your rights with two steps: (1) copyright the software, and 9999(2) offer you this license which gives you legal permission to copy, 10000distribute and/or modify the software. 10001 10002 Also, for each author's protection and ours, we want to make certain 10003that everyone understands that there is no warranty for this free 10004software. If the software is modified by someone else and passed on, we 10005want its recipients to know that what they have is not the original, so 10006that any problems introduced by others will not reflect on the original 10007authors' reputations. 10008 10009 Finally, any free program is threatened constantly by software 10010patents. We wish to avoid the danger that redistributors of a free 10011program will individually obtain patent licenses, in effect making the 10012program proprietary. To prevent this, we have made it clear that any 10013patent must be licensed for everyone's free use or not licensed at all. 10014 10015 The precise terms and conditions for copying, distribution and 10016modification follow. 10017 10018 GNU GENERAL PUBLIC LICENSE 10019 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 10020 10021 0. This License applies to any program or other work which contains 10022a notice placed by the copyright holder saying it may be distributed 10023under the terms of this General Public License. The "Program", below, 10024refers to any such program or work, and a "work based on the Program" 10025means either the Program or any derivative work under copyright law: 10026that is to say, a work containing the Program or a portion of it, 10027either verbatim or with modifications and/or translated into another 10028language. (Hereinafter, translation is included without limitation in 10029the term "modification".) Each licensee is addressed as "you". 10030 10031Activities other than copying, distribution and modification are not 10032covered by this License; they are outside its scope. The act of 10033running the Program is not restricted, and the output from the Program 10034is covered only if its contents constitute a work based on the 10035Program (independent of having been made by running the Program). 10036Whether that is true depends on what the Program does. 10037 10038 1. You may copy and distribute verbatim copies of the Program's 10039source code as you receive it, in any medium, provided that you 10040conspicuously and appropriately publish on each copy an appropriate 10041copyright notice and disclaimer of warranty; keep intact all the 10042notices that refer to this License and to the absence of any warranty; 10043and give any other recipients of the Program a copy of this License 10044along with the Program. 10045 10046You may charge a fee for the physical act of transferring a copy, and 10047you may at your option offer warranty protection in exchange for a fee. 10048 10049 2. You may modify your copy or copies of the Program or any portion 10050of it, thus forming a work based on the Program, and copy and 10051distribute such modifications or work under the terms of Section 1 10052above, provided that you also meet all of these conditions: 10053 10054 a) You must cause the modified files to carry prominent notices 10055 stating that you changed the files and the date of any change. 10056 10057 b) You must cause any work that you distribute or publish, that in 10058 whole or in part contains or is derived from the Program or any 10059 part thereof, to be licensed as a whole at no charge to all third 10060 parties under the terms of this License. 10061 10062 c) If the modified program normally reads commands interactively 10063 when run, you must cause it, when started running for such 10064 interactive use in the most ordinary way, to print or display an 10065 announcement including an appropriate copyright notice and a 10066 notice that there is no warranty (or else, saying that you provide 10067 a warranty) and that users may redistribute the program under 10068 these conditions, and telling the user how to view a copy of this 10069 License. (Exception: if the Program itself is interactive but 10070 does not normally print such an announcement, your work based on 10071 the Program is not required to print an announcement.) 10072 10073These requirements apply to the modified work as a whole. If 10074identifiable sections of that work are not derived from the Program, 10075and can be reasonably considered independent and separate works in 10076themselves, then this License, and its terms, do not apply to those 10077sections when you distribute them as separate works. But when you 10078distribute the same sections as part of a whole which is a work based 10079on the Program, the distribution of the whole must be on the terms of 10080this License, whose permissions for other licensees extend to the 10081entire whole, and thus to each and every part regardless of who wrote it. 10082 10083Thus, it is not the intent of this section to claim rights or contest 10084your rights to work written entirely by you; rather, the intent is to 10085exercise the right to control the distribution of derivative or 10086collective works based on the Program. 10087 10088In addition, mere aggregation of another work not based on the Program 10089with the Program (or with a work based on the Program) on a volume of 10090a storage or distribution medium does not bring the other work under 10091the scope of this License. 10092 10093 3. You may copy and distribute the Program (or a work based on it, 10094under Section 2) in object code or executable form under the terms of 10095Sections 1 and 2 above provided that you also do one of the following: 10096 10097 a) Accompany it with the complete corresponding machine-readable 10098 source code, which must be distributed under the terms of Sections 10099 1 and 2 above on a medium customarily used for software interchange; or, 10100 10101 b) Accompany it with a written offer, valid for at least three 10102 years, to give any third party, for a charge no more than your 10103 cost of physically performing source distribution, a complete 10104 machine-readable copy of the corresponding source code, to be 10105 distributed under the terms of Sections 1 and 2 above on a medium 10106 customarily used for software interchange; or, 10107 10108 c) Accompany it with the information you received as to the offer 10109 to distribute corresponding source code. (This alternative is 10110 allowed only for noncommercial distribution and only if you 10111 received the program in object code or executable form with such 10112 an offer, in accord with Subsection b above.) 10113 10114The source code for a work means the preferred form of the work for 10115making modifications to it. For an executable work, complete source 10116code means all the source code for all modules it contains, plus any 10117associated interface definition files, plus the scripts used to 10118control compilation and installation of the executable. However, as a 10119special exception, the source code distributed need not include 10120anything that is normally distributed (in either source or binary 10121form) with the major components (compiler, kernel, and so on) of the 10122operating system on which the executable runs, unless that component 10123itself accompanies the executable. 10124 10125If distribution of executable or object code is made by offering 10126access to copy from a designated place, then offering equivalent 10127access to copy the source code from the same place counts as 10128distribution of the source code, even though third parties are not 10129compelled to copy the source along with the object code. 10130 10131 4. You may not copy, modify, sublicense, or distribute the Program 10132except as expressly provided under this License. Any attempt 10133otherwise to copy, modify, sublicense or distribute the Program is 10134void, and will automatically terminate your rights under this License. 10135However, parties who have received copies, or rights, from you under 10136this License will not have their licenses terminated so long as such 10137parties remain in full compliance. 10138 10139 5. You are not required to accept this License, since you have not 10140signed it. However, nothing else grants you permission to modify or 10141distribute the Program or its derivative works. These actions are 10142prohibited by law if you do not accept this License. Therefore, by 10143modifying or distributing the Program (or any work based on the 10144Program), you indicate your acceptance of this License to do so, and 10145all its terms and conditions for copying, distributing or modifying 10146the Program or works based on it. 10147 10148 6. Each time you redistribute the Program (or any work based on the 10149Program), the recipient automatically receives a license from the 10150original licensor to copy, distribute or modify the Program subject to 10151these terms and conditions. You may not impose any further 10152restrictions on the recipients' exercise of the rights granted herein. 10153You are not responsible for enforcing compliance by third parties to 10154this License. 10155 10156 7. If, as a consequence of a court judgment or allegation of patent 10157infringement or for any other reason (not limited to patent issues), 10158conditions are imposed on you (whether by court order, agreement or 10159otherwise) that contradict the conditions of this License, they do not 10160excuse you from the conditions of this License. If you cannot 10161distribute so as to satisfy simultaneously your obligations under this 10162License and any other pertinent obligations, then as a consequence you 10163may not distribute the Program at all. For example, if a patent 10164license would not permit royalty-free redistribution of the Program by 10165all those who receive copies directly or indirectly through you, then 10166the only way you could satisfy both it and this License would be to 10167refrain entirely from distribution of the Program. 10168 10169If any portion of this section is held invalid or unenforceable under 10170any particular circumstance, the balance of the section is intended to 10171apply and the section as a whole is intended to apply in other 10172circumstances. 10173 10174It is not the purpose of this section to induce you to infringe any 10175patents or other property right claims or to contest validity of any 10176such claims; this section has the sole purpose of protecting the 10177integrity of the free software distribution system, which is 10178implemented by public license practices. Many people have made 10179generous contributions to the wide range of software distributed 10180through that system in reliance on consistent application of that 10181system; it is up to the author/donor to decide if he or she is willing 10182to distribute software through any other system and a licensee cannot 10183impose that choice. 10184 10185This section is intended to make thoroughly clear what is believed to 10186be a consequence of the rest of this License. 10187 10188 8. If the distribution and/or use of the Program is restricted in 10189certain countries either by patents or by copyrighted interfaces, the 10190original copyright holder who places the Program under this License 10191may add an explicit geographical distribution limitation excluding 10192those countries, so that distribution is permitted only in or among 10193countries not thus excluded. In such case, this License incorporates 10194the limitation as if written in the body of this License. 10195 10196 9. The Free Software Foundation may publish revised and/or new versions 10197of the General Public License from time to time. Such new versions will 10198be similar in spirit to the present version, but may differ in detail to 10199address new problems or concerns. 10200 10201Each version is given a distinguishing version number. If the Program 10202specifies a version number of this License which applies to it and "any 10203later version", you have the option of following the terms and conditions 10204either of that version or of any later version published by the Free 10205Software Foundation. If the Program does not specify a version number of 10206this License, you may choose any version ever published by the Free Software 10207Foundation. 10208 10209 10. If you wish to incorporate parts of the Program into other free 10210programs whose distribution conditions are different, write to the author 10211to ask for permission. For software which is copyrighted by the Free 10212Software Foundation, write to the Free Software Foundation; we sometimes 10213make exceptions for this. Our decision will be guided by the two goals 10214of preserving the free status of all derivatives of our free software and 10215of promoting the sharing and reuse of software generally. 10216 10217 NO WARRANTY 10218 10219 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 10220FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 10221OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 10222PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 10223OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 10224MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 10225TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 10226PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 10227REPAIR OR CORRECTION. 10228 10229 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 10230WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 10231REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 10232INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 10233OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 10234TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 10235YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 10236PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 10237POSSIBILITY OF SUCH DAMAGES. 10238 10239 END OF TERMS AND CONDITIONS 10240 10241 How to Apply These Terms to Your New Programs 10242 10243 If you develop a new program, and you want it to be of the greatest 10244possible use to the public, the best way to achieve this is to make it 10245free software which everyone can redistribute and change under these terms. 10246 10247 To do so, attach the following notices to the program. It is safest 10248to attach them to the start of each source file to most effectively 10249convey the exclusion of warranty; and each file should have at least 10250the "copyright" line and a pointer to where the full notice is found. 10251 10252 <one line to give the program's name and a brief idea of what it does.> 10253 Copyright (C) <year> <name of author> 10254 10255 This program is free software; you can redistribute it and/or modify 10256 it under the terms of the GNU General Public License as published by 10257 the Free Software Foundation; either version 2 of the License, or 10258 (at your option) any later version. 10259 10260 This program is distributed in the hope that it will be useful, 10261 but WITHOUT ANY WARRANTY; without even the implied warranty of 10262 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10263 GNU General Public License for more details. 10264 10265 You should have received a copy of the GNU General Public License 10266 along with this program; if not, write to the Free Software 10267 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 10268 10269 10270Also add information on how to contact you by electronic and paper mail. 10271 10272If the program is interactive, make it output a short notice like this 10273when it starts in an interactive mode: 10274 10275 Gnomovision version 69, Copyright (C) year name of author 10276 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 10277 This is free software, and you are welcome to redistribute it 10278 under certain conditions; type `show c' for details. 10279 10280The hypothetical commands `show w' and `show c' should show the appropriate 10281parts of the General Public License. Of course, the commands you use may 10282be called something other than `show w' and `show c'; they could even be 10283mouse-clicks or menu items--whatever suits your program. 10284 10285You should also get your employer (if you work as a programmer) or your 10286school, if any, to sign a "copyright disclaimer" for the program, if 10287necessary. Here is a sample; alter the names: 10288 10289 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 10290 `Gnomovision' (which makes passes at compilers) written by James Hacker. 10291 10292 <signature of Ty Coon>, 1 April 1989 10293 Ty Coon, President of Vice 10294 10295This General Public License does not permit incorporating your program into 10296proprietary programs. If your program is a subroutine library, you may 10297consider it more useful to permit linking proprietary applications with the 10298library. If this is what you want to do, use the GNU Library General 10299Public License instead of this License. 10300 10301 GNU LESSER GENERAL PUBLIC LICENSE 10302 Version 2.1, February 1999 10303 10304 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 10305 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 10306 Everyone is permitted to copy and distribute verbatim copies 10307 of this license document, but changing it is not allowed. 10308 10309[This is the first released version of the Lesser GPL. It also counts 10310 as the successor of the GNU Library Public License, version 2, hence 10311 the version number 2.1.] 10312 10313 Preamble 10314 10315 The licenses for most software are designed to take away your 10316freedom to share and change it. By contrast, the GNU General Public 10317Licenses are intended to guarantee your freedom to share and change 10318free software--to make sure the software is free for all its users. 10319 10320 This license, the Lesser General Public License, applies to some 10321specially designated software packages--typically libraries--of the 10322Free Software Foundation and other authors who decide to use it. You 10323can use it too, but we suggest you first think carefully about whether 10324this license or the ordinary General Public License is the better 10325strategy to use in any particular case, based on the explanations 10326below. 10327 10328 When we speak of free software, we are referring to freedom of use, 10329not price. Our General Public Licenses are designed to make sure that 10330you have the freedom to distribute copies of free software (and charge 10331for this service if you wish); that you receive source code or can get 10332it if you want it; that you can change the software and use pieces of 10333it in new free programs; and that you are informed that you can do 10334these things. 10335 10336 To protect your rights, we need to make restrictions that forbid 10337distributors to deny you these rights or to ask you to surrender these 10338rights. These restrictions translate to certain responsibilities for 10339you if you distribute copies of the library or if you modify it. 10340 10341 For example, if you distribute copies of the library, whether gratis 10342or for a fee, you must give the recipients all the rights that we gave 10343you. You must make sure that they, too, receive or can get the source 10344code. If you link other code with the library, you must provide 10345complete object files to the recipients, so that they can relink them 10346with the library after making changes to the library and recompiling 10347it. And you must show them these terms so they know their rights. 10348 10349 We protect your rights with a two-step method: (1) we copyright the 10350library, and (2) we offer you this license, which gives you legal 10351permission to copy, distribute and/or modify the library. 10352 10353 To protect each distributor, we want to make it very clear that 10354there is no warranty for the free library. Also, if the library is 10355modified by someone else and passed on, the recipients should know 10356that what they have is not the original version, so that the original 10357author's reputation will not be affected by problems that might be 10358introduced by others. 10359^L 10360 Finally, software patents pose a constant threat to the existence of 10361any free program. We wish to make sure that a company cannot 10362effectively restrict the users of a free program by obtaining a 10363restrictive license from a patent holder. Therefore, we insist that 10364any patent license obtained for a version of the library must be 10365consistent with the full freedom of use specified in this license. 10366 10367 Most GNU software, including some libraries, is covered by the 10368ordinary GNU General Public License. This license, the GNU Lesser 10369General Public License, applies to certain designated libraries, and 10370is quite different from the ordinary General Public License. We use 10371this license for certain libraries in order to permit linking those 10372libraries into non-free programs. 10373 10374 When a program is linked with a library, whether statically or using 10375a shared library, the combination of the two is legally speaking a 10376combined work, a derivative of the original library. The ordinary 10377General Public License therefore permits such linking only if the 10378entire combination fits its criteria of freedom. The Lesser General 10379Public License permits more lax criteria for linking other code with 10380the library. 10381 10382 We call this license the "Lesser" General Public License because it 10383does Less to protect the user's freedom than the ordinary General 10384Public License. It also provides other free software developers Less 10385of an advantage over competing non-free programs. These disadvantages 10386are the reason we use the ordinary General Public License for many 10387libraries. However, the Lesser license provides advantages in certain 10388special circumstances. 10389 10390 For example, on rare occasions, there may be a special need to 10391encourage the widest possible use of a certain library, so that it 10392becomes 10393a de-facto standard. To achieve this, non-free programs must be 10394allowed to use the library. A more frequent case is that a free 10395library does the same job as widely used non-free libraries. In this 10396case, there is little to gain by limiting the free library to free 10397software only, so we use the Lesser General Public License. 10398 10399 In other cases, permission to use a particular library in non-free 10400programs enables a greater number of people to use a large body of 10401free software. For example, permission to use the GNU C Library in 10402non-free programs enables many more people to use the whole GNU 10403operating system, as well as its variant, the GNU/Linux operating 10404system. 10405 10406 Although the Lesser General Public License is Less protective of the 10407users' freedom, it does ensure that the user of a program that is 10408linked with the Library has the freedom and the wherewithal to run 10409that program using a modified version of the Library. 10410 10411 The precise terms and conditions for copying, distribution and 10412modification follow. Pay close attention to the difference between a 10413"work based on the library" and a "work that uses the library". The 10414former contains code derived from the library, whereas the latter must 10415be combined with the library in order to run. 10416^L 10417 GNU LESSER GENERAL PUBLIC LICENSE 10418 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 10419 10420 0. This License Agreement applies to any software library or other 10421program which contains a notice placed by the copyright holder or 10422other authorized party saying it may be distributed under the terms of 10423this Lesser General Public License (also called "this License"). 10424Each licensee is addressed as "you". 10425 10426 A "library" means a collection of software functions and/or data 10427prepared so as to be conveniently linked with application programs 10428(which use some of those functions and data) to form executables. 10429 10430 The "Library", below, refers to any such software library or work 10431which has been distributed under these terms. A "work based on the 10432Library" means either the Library or any derivative work under 10433copyright law: that is to say, a work containing the Library or a 10434portion of it, either verbatim or with modifications and/or translated 10435straightforwardly into another language. (Hereinafter, translation is 10436included without limitation in the term "modification".) 10437 10438 "Source code" for a work means the preferred form of the work for 10439making modifications to it. For a library, complete source code means 10440all the source code for all modules it contains, plus any associated 10441interface definition files, plus the scripts used to control 10442compilation 10443and installation of the library. 10444 10445 Activities other than copying, distribution and modification are not 10446covered by this License; they are outside its scope. The act of 10447running a program using the Library is not restricted, and output from 10448such a program is covered only if its contents constitute a work based 10449on the Library (independent of the use of the Library in a tool for 10450writing it). Whether that is true depends on what the Library does 10451and what the program that uses the Library does. 10452 10453 1. You may copy and distribute verbatim copies of the Library's 10454complete source code as you receive it, in any medium, provided that 10455you conspicuously and appropriately publish on each copy an 10456appropriate copyright notice and disclaimer of warranty; keep intact 10457all the notices that refer to this License and to the absence of any 10458warranty; and distribute a copy of this License along with the 10459Library. 10460 10461 You may charge a fee for the physical act of transferring a copy, 10462and you may at your option offer warranty protection in exchange for a 10463fee. 10464 10465 2. You may modify your copy or copies of the Library or any portion 10466of it, thus forming a work based on the Library, and copy and 10467distribute such modifications or work under the terms of Section 1 10468above, provided that you also meet all of these conditions: 10469 10470 a) The modified work must itself be a software library. 10471 10472 b) You must cause the files modified to carry prominent notices 10473 stating that you changed the files and the date of any change. 10474 10475 c) You must cause the whole of the work to be licensed at no 10476 charge to all third parties under the terms of this License. 10477 10478 d) If a facility in the modified Library refers to a function or a 10479 table of data to be supplied by an application program that uses 10480 the facility, other than as an argument passed when the facility 10481 is invoked, then you must make a good faith effort to ensure that, 10482 in the event an application does not supply such function or 10483 table, the facility still operates, and performs whatever part of 10484 its purpose remains meaningful. 10485 10486 (For example, a function in a library to compute square roots has 10487 a purpose that is entirely well-defined independent of the 10488 application. Therefore, Subsection 2d requires that any 10489 application-supplied function or table used by this function must 10490 be optional: if the application does not supply it, the square 10491 root function must still compute square roots.) 10492 10493These requirements apply to the modified work as a whole. If 10494identifiable sections of that work are not derived from the Library, 10495and can be reasonably considered independent and separate works in 10496themselves, then this License, and its terms, do not apply to those 10497sections when you distribute them as separate works. But when you 10498distribute the same sections as part of a whole which is a work based 10499on the Library, the distribution of the whole must be on the terms of 10500this License, whose permissions for other licensees extend to the 10501entire whole, and thus to each and every part regardless of who wrote 10502it. 10503 10504Thus, it is not the intent of this section to claim rights or contest 10505your rights to work written entirely by you; rather, the intent is to 10506exercise the right to control the distribution of derivative or 10507collective works based on the Library. 10508 10509In addition, mere aggregation of another work not based on the Library 10510with the Library (or with a work based on the Library) on a volume of 10511a storage or distribution medium does not bring the other work under 10512the scope of this License. 10513 10514 3. You may opt to apply the terms of the ordinary GNU General Public 10515License instead of this License to a given copy of the Library. To do 10516this, you must alter all the notices that refer to this License, so 10517that they refer to the ordinary GNU General Public License, version 2, 10518instead of to this License. (If a newer version than version 2 of the 10519ordinary GNU General Public License has appeared, then you can specify 10520that version instead if you wish.) Do not make any other change in 10521these notices. 10522^L 10523 Once this change is made in a given copy, it is irreversible for 10524that copy, so the ordinary GNU General Public License applies to all 10525subsequent copies and derivative works made from that copy. 10526 10527 This option is useful when you wish to copy part of the code of 10528the Library into a program that is not a library. 10529 10530 4. You may copy and distribute the Library (or a portion or 10531derivative of it, under Section 2) in object code or executable form 10532under the terms of Sections 1 and 2 above provided that you accompany 10533it with the complete corresponding machine-readable source code, which 10534must be distributed under the terms of Sections 1 and 2 above on a 10535medium customarily used for software interchange. 10536 10537 If distribution of object code is made by offering access to copy 10538from a designated place, then offering equivalent access to copy the 10539source code from the same place satisfies the requirement to 10540distribute the source code, even though third parties are not 10541compelled to copy the source along with the object code. 10542 10543 5. A program that contains no derivative of any portion of the 10544Library, but is designed to work with the Library by being compiled or 10545linked with it, is called a "work that uses the Library". Such a 10546work, in isolation, is not a derivative work of the Library, and 10547therefore falls outside the scope of this License. 10548 10549 However, linking a "work that uses the Library" with the Library 10550creates an executable that is a derivative of the Library (because it 10551contains portions of the Library), rather than a "work that uses the 10552library". The executable is therefore covered by this License. 10553Section 6 states terms for distribution of such executables. 10554 10555 When a "work that uses the Library" uses material from a header file 10556that is part of the Library, the object code for the work may be a 10557derivative work of the Library even though the source code is not. 10558Whether this is true is especially significant if the work can be 10559linked without the Library, or if the work is itself a library. The 10560threshold for this to be true is not precisely defined by law. 10561 10562 If such an object file uses only numerical parameters, data 10563structure layouts and accessors, and small macros and small inline 10564functions (ten lines or less in length), then the use of the object 10565file is unrestricted, regardless of whether it is legally a derivative 10566work. (Executables containing this object code plus portions of the 10567Library will still fall under Section 6.) 10568 10569 Otherwise, if the work is a derivative of the Library, you may 10570distribute the object code for the work under the terms of Section 6. 10571Any executables containing that work also fall under Section 6, 10572whether or not they are linked directly with the Library itself. 10573^L 10574 6. As an exception to the Sections above, you may also combine or 10575link a "work that uses the Library" with the Library to produce a 10576work containing portions of the Library, and distribute that work 10577under terms of your choice, provided that the terms permit 10578modification of the work for the customer's own use and reverse 10579engineering for debugging such modifications. 10580 10581 You must give prominent notice with each copy of the work that the 10582Library is used in it and that the Library and its use are covered by 10583this License. You must supply a copy of this License. If the work 10584during execution displays copyright notices, you must include the 10585copyright notice for the Library among them, as well as a reference 10586directing the user to the copy of this License. Also, you must do one 10587of these things: 10588 10589 a) Accompany the work with the complete corresponding 10590 machine-readable source code for the Library including whatever 10591 changes were used in the work (which must be distributed under 10592 Sections 1 and 2 above); and, if the work is an executable linked 10593 with the Library, with the complete machine-readable "work that 10594 uses the Library", as object code and/or source code, so that the 10595 user can modify the Library and then relink to produce a modified 10596 executable containing the modified Library. (It is understood 10597 that the user who changes the contents of definitions files in the 10598 Library will not necessarily be able to recompile the application 10599 to use the modified definitions.) 10600 10601 b) Use a suitable shared library mechanism for linking with the 10602 Library. A suitable mechanism is one that (1) uses at run time a 10603 copy of the library already present on the user's computer system, 10604 rather than copying library functions into the executable, and (2) 10605 will operate properly with a modified version of the library, if 10606 the user installs one, as long as the modified version is 10607 interface-compatible with the version that the work was made with. 10608 10609 c) Accompany the work with a written offer, valid for at 10610 least three years, to give the same user the materials 10611 specified in Subsection 6a, above, for a charge no more 10612 than the cost of performing this distribution. 10613 10614 d) If distribution of the work is made by offering access to copy 10615 from a designated place, offer equivalent access to copy the above 10616 specified materials from the same place. 10617 10618 e) Verify that the user has already received a copy of these 10619 materials or that you have already sent this user a copy. 10620 10621 For an executable, the required form of the "work that uses the 10622Library" must include any data and utility programs needed for 10623reproducing the executable from it. However, as a special exception, 10624the materials to be distributed need not include anything that is 10625normally distributed (in either source or binary form) with the major 10626components (compiler, kernel, and so on) of the operating system on 10627which the executable runs, unless that component itself accompanies 10628the executable. 10629 10630 It may happen that this requirement contradicts the license 10631restrictions of other proprietary libraries that do not normally 10632accompany the operating system. Such a contradiction means you cannot 10633use both them and the Library together in an executable that you 10634distribute. 10635^L 10636 7. You may place library facilities that are a work based on the 10637Library side-by-side in a single library together with other library 10638facilities not covered by this License, and distribute such a combined 10639library, provided that the separate distribution of the work based on 10640the Library and of the other library facilities is otherwise 10641permitted, and provided that you do these two things: 10642 10643 a) Accompany the combined library with a copy of the same work 10644 based on the Library, uncombined with any other library 10645 facilities. This must be distributed under the terms of the 10646 Sections above. 10647 10648 b) Give prominent notice with the combined library of the fact 10649 that part of it is a work based on the Library, and explaining 10650 where to find the accompanying uncombined form of the same work. 10651 10652 8. You may not copy, modify, sublicense, link with, or distribute 10653the Library except as expressly provided under this License. Any 10654attempt otherwise to copy, modify, sublicense, link with, or 10655distribute the Library is void, and will automatically terminate your 10656rights under this License. However, parties who have received copies, 10657or rights, from you under this License will not have their licenses 10658terminated so long as such parties remain in full compliance. 10659 10660 9. You are not required to accept this License, since you have not 10661signed it. However, nothing else grants you permission to modify or 10662distribute the Library or its derivative works. These actions are 10663prohibited by law if you do not accept this License. Therefore, by 10664modifying or distributing the Library (or any work based on the 10665Library), you indicate your acceptance of this License to do so, and 10666all its terms and conditions for copying, distributing or modifying 10667the Library or works based on it. 10668 10669 10. Each time you redistribute the Library (or any work based on the 10670Library), the recipient automatically receives a license from the 10671original licensor to copy, distribute, link with or modify the Library 10672subject to these terms and conditions. You may not impose any further 10673restrictions on the recipients' exercise of the rights granted herein. 10674You are not responsible for enforcing compliance by third parties with 10675this License. 10676^L 10677 11. If, as a consequence of a court judgment or allegation of patent 10678infringement or for any other reason (not limited to patent issues), 10679conditions are imposed on you (whether by court order, agreement or 10680otherwise) that contradict the conditions of this License, they do not 10681excuse you from the conditions of this License. If you cannot 10682distribute so as to satisfy simultaneously your obligations under this 10683License and any other pertinent obligations, then as a consequence you 10684may not distribute the Library at all. For example, if a patent 10685license would not permit royalty-free redistribution of the Library by 10686all those who receive copies directly or indirectly through you, then 10687the only way you could satisfy both it and this License would be to 10688refrain entirely from distribution of the Library. 10689 10690If any portion of this section is held invalid or unenforceable under 10691any particular circumstance, the balance of the section is intended to 10692apply, and the section as a whole is intended to apply in other 10693circumstances. 10694 10695It is not the purpose of this section to induce you to infringe any 10696patents or other property right claims or to contest validity of any 10697such claims; this section has the sole purpose of protecting the 10698integrity of the free software distribution system which is 10699implemented by public license practices. Many people have made 10700generous contributions to the wide range of software distributed 10701through that system in reliance on consistent application of that 10702system; it is up to the author/donor to decide if he or she is willing 10703to distribute software through any other system and a licensee cannot 10704impose that choice. 10705 10706This section is intended to make thoroughly clear what is believed to 10707be a consequence of the rest of this License. 10708 10709 12. If the distribution and/or use of the Library is restricted in 10710certain countries either by patents or by copyrighted interfaces, the 10711original copyright holder who places the Library under this License 10712may add an explicit geographical distribution limitation excluding those 10713countries, so that distribution is permitted only in or among 10714countries not thus excluded. In such case, this License incorporates 10715the limitation as if written in the body of this License. 10716 10717 13. The Free Software Foundation may publish revised and/or new 10718versions of the Lesser General Public License from time to time. 10719Such new versions will be similar in spirit to the present version, 10720but may differ in detail to address new problems or concerns. 10721 10722Each version is given a distinguishing version number. If the Library 10723specifies a version number of this License which applies to it and 10724"any later version", you have the option of following the terms and 10725conditions either of that version or of any later version published by 10726the Free Software Foundation. If the Library does not specify a 10727license version number, you may choose any version ever published by 10728the Free Software Foundation. 10729^L 10730 14. If you wish to incorporate parts of the Library into other free 10731programs whose distribution conditions are incompatible with these, 10732write to the author to ask for permission. For software which is 10733copyrighted by the Free Software Foundation, write to the Free 10734Software Foundation; we sometimes make exceptions for this. Our 10735decision will be guided by the two goals of preserving the free status 10736of all derivatives of our free software and of promoting the sharing 10737and reuse of software generally. 10738 10739 NO WARRANTY 10740 10741 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 10742WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 10743EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 10744OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 10745KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 10746IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 10747PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 10748LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 10749THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 10750 10751 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 10752WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 10753AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 10754FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 10755CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 10756LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 10757RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 10758FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 10759SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 10760DAMAGES. 10761 10762 END OF TERMS AND CONDITIONS 10763^L 10764 How to Apply These Terms to Your New Libraries 10765 10766 If you develop a new library, and you want it to be of the greatest 10767possible use to the public, we recommend making it free software that 10768everyone can redistribute and change. You can do so by permitting 10769redistribution under these terms (or, alternatively, under the terms 10770of the ordinary General Public License). 10771 10772 To apply these terms, attach the following notices to the library. 10773It is safest to attach them to the start of each source file to most 10774effectively convey the exclusion of warranty; and each file should 10775have at least the "copyright" line and a pointer to where the full 10776notice is found. 10777 10778 10779 <one line to give the library's name and a brief idea of what it 10780does.> 10781 Copyright (C) <year> <name of author> 10782 10783 This library is free software; you can redistribute it and/or 10784 modify it under the terms of the GNU Lesser General Public 10785 License as published by the Free Software Foundation; either 10786 version 2 of the License, or (at your option) any later version. 10787 10788 This library is distributed in the hope that it will be useful, 10789 but WITHOUT ANY WARRANTY; without even the implied warranty of 10790 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 10791 Lesser General Public License for more details. 10792 10793 You should have received a copy of the GNU Lesser General Public 10794 License along with this library; if not, write to the Free Software 10795 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 10796 10797Also add information on how to contact you by electronic and paper 10798mail. 10799 10800You should also get your employer (if you work as a programmer) or 10801your 10802school, if any, to sign a "copyright disclaimer" for the library, if 10803necessary. Here is a sample; alter the names: 10804 10805 Yoyodyne, Inc., hereby disclaims all copyright interest in the 10806 library `Frob' (a library for tweaking knobs) written by James 10807Random Hacker. 10808 10809 <signature of Ty Coon>, 1 April 1990 10810 Ty Coon, President of Vice 10811 10812That's all there is to it! 10813 10814 10815 GNU LESSER GENERAL PUBLIC LICENSE 10816 Version 3, 29 June 2007 10817 10818 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 10819 Everyone is permitted to copy and distribute verbatim copies 10820 of this license document, but changing it is not allowed. 10821 10822 10823 This version of the GNU Lesser General Public License incorporates 10824the terms and conditions of version 3 of the GNU General Public 10825License, supplemented by the additional permissions listed below. 10826 10827 0. Additional Definitions. 10828 10829 As used herein, "this License" refers to version 3 of the GNU Lesser 10830General Public License, and the "GNU GPL" refers to version 3 of the GNU 10831General Public License. 10832 10833 "The Library" refers to a covered work governed by this License, 10834other than an Application or a Combined Work as defined below. 10835 10836 An "Application" is any work that makes use of an interface provided 10837by the Library, but which is not otherwise based on the Library. 10838Defining a subclass of a class defined by the Library is deemed a mode 10839of using an interface provided by the Library. 10840 10841 A "Combined Work" is a work produced by combining or linking an 10842Application with the Library. The particular version of the Library 10843with which the Combined Work was made is also called the "Linked 10844Version". 10845 10846 The "Minimal Corresponding Source" for a Combined Work means the 10847Corresponding Source for the Combined Work, excluding any source code 10848for portions of the Combined Work that, considered in isolation, are 10849based on the Application, and not on the Linked Version. 10850 10851 The "Corresponding Application Code" for a Combined Work means the 10852object code and/or source code for the Application, including any data 10853and utility programs needed for reproducing the Combined Work from the 10854Application, but excluding the System Libraries of the Combined Work. 10855 10856 1. Exception to Section 3 of the GNU GPL. 10857 10858 You may convey a covered work under sections 3 and 4 of this License 10859without being bound by section 3 of the GNU GPL. 10860 10861 2. Conveying Modified Versions. 10862 10863 If you modify a copy of the Library, and, in your modifications, a 10864facility refers to a function or data to be supplied by an Application 10865that uses the facility (other than as an argument passed when the 10866facility is invoked), then you may convey a copy of the modified 10867version: 10868 10869 a) under this License, provided that you make a good faith effort to 10870 ensure that, in the event an Application does not supply the 10871 function or data, the facility still operates, and performs 10872 whatever part of its purpose remains meaningful, or 10873 10874 b) under the GNU GPL, with none of the additional permissions of 10875 this License applicable to that copy. 10876 10877 3. Object Code Incorporating Material from Library Header Files. 10878 10879 The object code form of an Application may incorporate material from 10880a header file that is part of the Library. You may convey such object 10881code under terms of your choice, provided that, if the incorporated 10882material is not limited to numerical parameters, data structure 10883layouts and accessors, or small macros, inline functions and templates 10884(ten or fewer lines in length), you do both of the following: 10885 10886 a) Give prominent notice with each copy of the object code that the 10887 Library is used in it and that the Library and its use are 10888 covered by this License. 10889 10890 b) Accompany the object code with a copy of the GNU GPL and this license 10891 document. 10892 10893 4. Combined Works. 10894 10895 You may convey a Combined Work under terms of your choice that, 10896taken together, effectively do not restrict modification of the 10897portions of the Library contained in the Combined Work and reverse 10898engineering for debugging such modifications, if you also do each of 10899the following: 10900 10901 a) Give prominent notice with each copy of the Combined Work that 10902 the Library is used in it and that the Library and its use are 10903 covered by this License. 10904 10905 b) Accompany the Combined Work with a copy of the GNU GPL and this license 10906 document. 10907 10908 c) For a Combined Work that displays copyright notices during 10909 execution, include the copyright notice for the Library among 10910 these notices, as well as a reference directing the user to the 10911 copies of the GNU GPL and this license document. 10912 10913 d) Do one of the following: 10914 10915 0) Convey the Minimal Corresponding Source under the terms of this 10916 License, and the Corresponding Application Code in a form 10917 suitable for, and under terms that permit, the user to 10918 recombine or relink the Application with a modified version of 10919 the Linked Version to produce a modified Combined Work, in the 10920 manner specified by section 6 of the GNU GPL for conveying 10921 Corresponding Source. 10922 10923 1) Use a suitable shared library mechanism for linking with the 10924 Library. A suitable mechanism is one that (a) uses at run time 10925 a copy of the Library already present on the user's computer 10926 system, and (b) will operate properly with a modified version 10927 of the Library that is interface-compatible with the Linked 10928 Version. 10929 10930 e) Provide Installation Information, but only if you would otherwise 10931 be required to provide such information under section 6 of the 10932 GNU GPL, and only to the extent that such information is 10933 necessary to install and execute a modified version of the 10934 Combined Work produced by recombining or relinking the 10935 Application with a modified version of the Linked Version. (If 10936 you use option 4d0, the Installation Information must accompany 10937 the Minimal Corresponding Source and Corresponding Application 10938 Code. If you use option 4d1, you must provide the Installation 10939 Information in the manner specified by section 6 of the GNU GPL 10940 for conveying Corresponding Source.) 10941 10942 5. Combined Libraries. 10943 10944 You may place library facilities that are a work based on the 10945Library side by side in a single library together with other library 10946facilities that are not Applications and are not covered by this 10947License, and convey such a combined library under terms of your 10948choice, if you do both of the following: 10949 10950 a) Accompany the combined library with a copy of the same work based 10951 on the Library, uncombined with any other library facilities, 10952 conveyed under the terms of this License. 10953 10954 b) Give prominent notice with the combined library that part of it 10955 is a work based on the Library, and explaining where to find the 10956 accompanying uncombined form of the same work. 10957 10958 6. Revised Versions of the GNU Lesser General Public License. 10959 10960 The Free Software Foundation may publish revised and/or new versions 10961of the GNU Lesser General Public License from time to time. Such new 10962versions will be similar in spirit to the present version, but may 10963differ in detail to address new problems or concerns. 10964 10965 Each version is given a distinguishing version number. If the 10966Library as you received it specifies that a certain numbered version 10967of the GNU Lesser General Public License "or any later version" 10968applies to it, you have the option of following the terms and 10969conditions either of that published version or of any later version 10970published by the Free Software Foundation. If the Library as you 10971received it does not specify a version number of the GNU Lesser 10972General Public License, you may choose any version of the GNU Lesser 10973General Public License ever published by the Free Software Foundation. 10974 10975 If the Library as you received it specifies that a proxy can decide 10976whether future versions of the GNU Lesser General Public License shall 10977apply, that proxy's public statement of acceptance of any version is 10978permanent authorization for you to choose that version for the 10979Library. 10980 GNU LESSER GENERAL PUBLIC LICENSE 10981 Version 2.1, February 1999 10982 10983 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 10984 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 10985 Everyone is permitted to copy and distribute verbatim copies 10986 of this license document, but changing it is not allowed. 10987 10988[This is the first released version of the Lesser GPL. It also counts 10989 as the successor of the GNU Library Public License, version 2, hence 10990 the version number 2.1.] 10991 10992 Preamble 10993 10994 The licenses for most software are designed to take away your 10995freedom to share and change it. By contrast, the GNU General Public 10996Licenses are intended to guarantee your freedom to share and change 10997free software--to make sure the software is free for all its users. 10998 10999 This license, the Lesser General Public License, applies to some 11000specially designated software packages--typically libraries--of the 11001Free Software Foundation and other authors who decide to use it. You 11002can use it too, but we suggest you first think carefully about whether 11003this license or the ordinary General Public License is the better 11004strategy to use in any particular case, based on the explanations below. 11005 11006 When we speak of free software, we are referring to freedom of use, 11007not price. Our General Public Licenses are designed to make sure that 11008you have the freedom to distribute copies of free software (and charge 11009for this service if you wish); that you receive source code or can get 11010it if you want it; that you can change the software and use pieces of 11011it in new free programs; and that you are informed that you can do 11012these things. 11013 11014 To protect your rights, we need to make restrictions that forbid 11015distributors to deny you these rights or to ask you to surrender these 11016rights. These restrictions translate to certain responsibilities for 11017you if you distribute copies of the library or if you modify it. 11018 11019 For example, if you distribute copies of the library, whether gratis 11020or for a fee, you must give the recipients all the rights that we gave 11021you. You must make sure that they, too, receive or can get the source 11022code. If you link other code with the library, you must provide 11023complete object files to the recipients, so that they can relink them 11024with the library after making changes to the library and recompiling 11025it. And you must show them these terms so they know their rights. 11026 11027 We protect your rights with a two-step method: (1) we copyright the 11028library, and (2) we offer you this license, which gives you legal 11029permission to copy, distribute and/or modify the library. 11030 11031 To protect each distributor, we want to make it very clear that 11032there is no warranty for the free library. Also, if the library is 11033modified by someone else and passed on, the recipients should know 11034that what they have is not the original version, so that the original 11035author's reputation will not be affected by problems that might be 11036introduced by others. 11037 11038 Finally, software patents pose a constant threat to the existence of 11039any free program. We wish to make sure that a company cannot 11040effectively restrict the users of a free program by obtaining a 11041restrictive license from a patent holder. Therefore, we insist that 11042any patent license obtained for a version of the library must be 11043consistent with the full freedom of use specified in this license. 11044 11045 Most GNU software, including some libraries, is covered by the 11046ordinary GNU General Public License. This license, the GNU Lesser 11047General Public License, applies to certain designated libraries, and 11048is quite different from the ordinary General Public License. We use 11049this license for certain libraries in order to permit linking those 11050libraries into non-free programs. 11051 11052 When a program is linked with a library, whether statically or using 11053a shared library, the combination of the two is legally speaking a 11054combined work, a derivative of the original library. The ordinary 11055General Public License therefore permits such linking only if the 11056entire combination fits its criteria of freedom. The Lesser General 11057Public License permits more lax criteria for linking other code with 11058the library. 11059 11060 We call this license the "Lesser" General Public License because it 11061does Less to protect the user's freedom than the ordinary General 11062Public License. It also provides other free software developers Less 11063of an advantage over competing non-free programs. These disadvantages 11064are the reason we use the ordinary General Public License for many 11065libraries. However, the Lesser license provides advantages in certain 11066special circumstances. 11067 11068 For example, on rare occasions, there may be a special need to 11069encourage the widest possible use of a certain library, so that it becomes 11070a de-facto standard. To achieve this, non-free programs must be 11071allowed to use the library. A more frequent case is that a free 11072library does the same job as widely used non-free libraries. In this 11073case, there is little to gain by limiting the free library to free 11074software only, so we use the Lesser General Public License. 11075 11076 In other cases, permission to use a particular library in non-free 11077programs enables a greater number of people to use a large body of 11078free software. For example, permission to use the GNU C Library in 11079non-free programs enables many more people to use the whole GNU 11080operating system, as well as its variant, the GNU/Linux operating 11081system. 11082 11083 Although the Lesser General Public License is Less protective of the 11084users' freedom, it does ensure that the user of a program that is 11085linked with the Library has the freedom and the wherewithal to run 11086that program using a modified version of the Library. 11087 11088 The precise terms and conditions for copying, distribution and 11089modification follow. Pay close attention to the difference between a 11090"work based on the library" and a "work that uses the library". The 11091former contains code derived from the library, whereas the latter must 11092be combined with the library in order to run. 11093 11094 GNU LESSER GENERAL PUBLIC LICENSE 11095 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 11096 11097 0. This License Agreement applies to any software library or other 11098program which contains a notice placed by the copyright holder or 11099other authorized party saying it may be distributed under the terms of 11100this Lesser General Public License (also called "this License"). 11101Each licensee is addressed as "you". 11102 11103 A "library" means a collection of software functions and/or data 11104prepared so as to be conveniently linked with application programs 11105(which use some of those functions and data) to form executables. 11106 11107 The "Library", below, refers to any such software library or work 11108which has been distributed under these terms. A "work based on the 11109Library" means either the Library or any derivative work under 11110copyright law: that is to say, a work containing the Library or a 11111portion of it, either verbatim or with modifications and/or translated 11112straightforwardly into another language. (Hereinafter, translation is 11113included without limitation in the term "modification".) 11114 11115 "Source code" for a work means the preferred form of the work for 11116making modifications to it. For a library, complete source code means 11117all the source code for all modules it contains, plus any associated 11118interface definition files, plus the scripts used to control compilation 11119and installation of the library. 11120 11121 Activities other than copying, distribution and modification are not 11122covered by this License; they are outside its scope. The act of 11123running a program using the Library is not restricted, and output from 11124such a program is covered only if its contents constitute a work based 11125on the Library (independent of the use of the Library in a tool for 11126writing it). Whether that is true depends on what the Library does 11127and what the program that uses the Library does. 11128 11129 1. You may copy and distribute verbatim copies of the Library's 11130complete source code as you receive it, in any medium, provided that 11131you conspicuously and appropriately publish on each copy an 11132appropriate copyright notice and disclaimer of warranty; keep intact 11133all the notices that refer to this License and to the absence of any 11134warranty; and distribute a copy of this License along with the 11135Library. 11136 11137 You may charge a fee for the physical act of transferring a copy, 11138and you may at your option offer warranty protection in exchange for a 11139fee. 11140 11141 2. You may modify your copy or copies of the Library or any portion 11142of it, thus forming a work based on the Library, and copy and 11143distribute such modifications or work under the terms of Section 1 11144above, provided that you also meet all of these conditions: 11145 11146 a) The modified work must itself be a software library. 11147 11148 b) You must cause the files modified to carry prominent notices 11149 stating that you changed the files and the date of any change. 11150 11151 c) You must cause the whole of the work to be licensed at no 11152 charge to all third parties under the terms of this License. 11153 11154 d) If a facility in the modified Library refers to a function or a 11155 table of data to be supplied by an application program that uses 11156 the facility, other than as an argument passed when the facility 11157 is invoked, then you must make a good faith effort to ensure that, 11158 in the event an application does not supply such function or 11159 table, the facility still operates, and performs whatever part of 11160 its purpose remains meaningful. 11161 11162 (For example, a function in a library to compute square roots has 11163 a purpose that is entirely well-defined independent of the 11164 application. Therefore, Subsection 2d requires that any 11165 application-supplied function or table used by this function must 11166 be optional: if the application does not supply it, the square 11167 root function must still compute square roots.) 11168 11169These requirements apply to the modified work as a whole. If 11170identifiable sections of that work are not derived from the Library, 11171and can be reasonably considered independent and separate works in 11172themselves, then this License, and its terms, do not apply to those 11173sections when you distribute them as separate works. But when you 11174distribute the same sections as part of a whole which is a work based 11175on the Library, the distribution of the whole must be on the terms of 11176this License, whose permissions for other licensees extend to the 11177entire whole, and thus to each and every part regardless of who wrote 11178it. 11179 11180Thus, it is not the intent of this section to claim rights or contest 11181your rights to work written entirely by you; rather, the intent is to 11182exercise the right to control the distribution of derivative or 11183collective works based on the Library. 11184 11185In addition, mere aggregation of another work not based on the Library 11186with the Library (or with a work based on the Library) on a volume of 11187a storage or distribution medium does not bring the other work under 11188the scope of this License. 11189 11190 3. You may opt to apply the terms of the ordinary GNU General Public 11191License instead of this License to a given copy of the Library. To do 11192this, you must alter all the notices that refer to this License, so 11193that they refer to the ordinary GNU General Public License, version 2, 11194instead of to this License. (If a newer version than version 2 of the 11195ordinary GNU General Public License has appeared, then you can specify 11196that version instead if you wish.) Do not make any other change in 11197these notices. 11198 11199 Once this change is made in a given copy, it is irreversible for 11200that copy, so the ordinary GNU General Public License applies to all 11201subsequent copies and derivative works made from that copy. 11202 11203 This option is useful when you wish to copy part of the code of 11204the Library into a program that is not a library. 11205 11206 4. You may copy and distribute the Library (or a portion or 11207derivative of it, under Section 2) in object code or executable form 11208under the terms of Sections 1 and 2 above provided that you accompany 11209it with the complete corresponding machine-readable source code, which 11210must be distributed under the terms of Sections 1 and 2 above on a 11211medium customarily used for software interchange. 11212 11213 If distribution of object code is made by offering access to copy 11214from a designated place, then offering equivalent access to copy the 11215source code from the same place satisfies the requirement to 11216distribute the source code, even though third parties are not 11217compelled to copy the source along with the object code. 11218 11219 5. A program that contains no derivative of any portion of the 11220Library, but is designed to work with the Library by being compiled or 11221linked with it, is called a "work that uses the Library". Such a 11222work, in isolation, is not a derivative work of the Library, and 11223therefore falls outside the scope of this License. 11224 11225 However, linking a "work that uses the Library" with the Library 11226creates an executable that is a derivative of the Library (because it 11227contains portions of the Library), rather than a "work that uses the 11228library". The executable is therefore covered by this License. 11229Section 6 states terms for distribution of such executables. 11230 11231 When a "work that uses the Library" uses material from a header file 11232that is part of the Library, the object code for the work may be a 11233derivative work of the Library even though the source code is not. 11234Whether this is true is especially significant if the work can be 11235linked without the Library, or if the work is itself a library. The 11236threshold for this to be true is not precisely defined by law. 11237 11238 If such an object file uses only numerical parameters, data 11239structure layouts and accessors, and small macros and small inline 11240functions (ten lines or less in length), then the use of the object 11241file is unrestricted, regardless of whether it is legally a derivative 11242work. (Executables containing this object code plus portions of the 11243Library will still fall under Section 6.) 11244 11245 Otherwise, if the work is a derivative of the Library, you may 11246distribute the object code for the work under the terms of Section 6. 11247Any executables containing that work also fall under Section 6, 11248whether or not they are linked directly with the Library itself. 11249 11250 6. As an exception to the Sections above, you may also combine or 11251link a "work that uses the Library" with the Library to produce a 11252work containing portions of the Library, and distribute that work 11253under terms of your choice, provided that the terms permit 11254modification of the work for the customer's own use and reverse 11255engineering for debugging such modifications. 11256 11257 You must give prominent notice with each copy of the work that the 11258Library is used in it and that the Library and its use are covered by 11259this License. You must supply a copy of this License. If the work 11260during execution displays copyright notices, you must include the 11261copyright notice for the Library among them, as well as a reference 11262directing the user to the copy of this License. Also, you must do one 11263of these things: 11264 11265 a) Accompany the work with the complete corresponding 11266 machine-readable source code for the Library including whatever 11267 changes were used in the work (which must be distributed under 11268 Sections 1 and 2 above); and, if the work is an executable linked 11269 with the Library, with the complete machine-readable "work that 11270 uses the Library", as object code and/or source code, so that the 11271 user can modify the Library and then relink to produce a modified 11272 executable containing the modified Library. (It is understood 11273 that the user who changes the contents of definitions files in the 11274 Library will not necessarily be able to recompile the application 11275 to use the modified definitions.) 11276 11277 b) Use a suitable shared library mechanism for linking with the 11278 Library. A suitable mechanism is one that (1) uses at run time a 11279 copy of the library already present on the user's computer system, 11280 rather than copying library functions into the executable, and (2) 11281 will operate properly with a modified version of the library, if 11282 the user installs one, as long as the modified version is 11283 interface-compatible with the version that the work was made with. 11284 11285 c) Accompany the work with a written offer, valid for at 11286 least three years, to give the same user the materials 11287 specified in Subsection 6a, above, for a charge no more 11288 than the cost of performing this distribution. 11289 11290 d) If distribution of the work is made by offering access to copy 11291 from a designated place, offer equivalent access to copy the above 11292 specified materials from the same place. 11293 11294 e) Verify that the user has already received a copy of these 11295 materials or that you have already sent this user a copy. 11296 11297 For an executable, the required form of the "work that uses the 11298Library" must include any data and utility programs needed for 11299reproducing the executable from it. However, as a special exception, 11300the materials to be distributed need not include anything that is 11301normally distributed (in either source or binary form) with the major 11302components (compiler, kernel, and so on) of the operating system on 11303which the executable runs, unless that component itself accompanies 11304the executable. 11305 11306 It may happen that this requirement contradicts the license 11307restrictions of other proprietary libraries that do not normally 11308accompany the operating system. Such a contradiction means you cannot 11309use both them and the Library together in an executable that you 11310distribute. 11311 11312 7. You may place library facilities that are a work based on the 11313Library side-by-side in a single library together with other library 11314facilities not covered by this License, and distribute such a combined 11315library, provided that the separate distribution of the work based on 11316the Library and of the other library facilities is otherwise 11317permitted, and provided that you do these two things: 11318 11319 a) Accompany the combined library with a copy of the same work 11320 based on the Library, uncombined with any other library 11321 facilities. This must be distributed under the terms of the 11322 Sections above. 11323 11324 b) Give prominent notice with the combined library of the fact 11325 that part of it is a work based on the Library, and explaining 11326 where to find the accompanying uncombined form of the same work. 11327 11328 8. You may not copy, modify, sublicense, link with, or distribute 11329the Library except as expressly provided under this License. Any 11330attempt otherwise to copy, modify, sublicense, link with, or 11331distribute the Library is void, and will automatically terminate your 11332rights under this License. However, parties who have received copies, 11333or rights, from you under this License will not have their licenses 11334terminated so long as such parties remain in full compliance. 11335 11336 9. You are not required to accept this License, since you have not 11337signed it. However, nothing else grants you permission to modify or 11338distribute the Library or its derivative works. These actions are 11339prohibited by law if you do not accept this License. Therefore, by 11340modifying or distributing the Library (or any work based on the 11341Library), you indicate your acceptance of this License to do so, and 11342all its terms and conditions for copying, distributing or modifying 11343the Library or works based on it. 11344 11345 10. Each time you redistribute the Library (or any work based on the 11346Library), the recipient automatically receives a license from the 11347original licensor to copy, distribute, link with or modify the Library 11348subject to these terms and conditions. You may not impose any further 11349restrictions on the recipients' exercise of the rights granted herein. 11350You are not responsible for enforcing compliance by third parties with 11351this License. 11352 11353 11. If, as a consequence of a court judgment or allegation of patent 11354infringement or for any other reason (not limited to patent issues), 11355conditions are imposed on you (whether by court order, agreement or 11356otherwise) that contradict the conditions of this License, they do not 11357excuse you from the conditions of this License. If you cannot 11358distribute so as to satisfy simultaneously your obligations under this 11359License and any other pertinent obligations, then as a consequence you 11360may not distribute the Library at all. For example, if a patent 11361license would not permit royalty-free redistribution of the Library by 11362all those who receive copies directly or indirectly through you, then 11363the only way you could satisfy both it and this License would be to 11364refrain entirely from distribution of the Library. 11365 11366If any portion of this section is held invalid or unenforceable under any 11367particular circumstance, the balance of the section is intended to apply, 11368and the section as a whole is intended to apply in other circumstances. 11369 11370It is not the purpose of this section to induce you to infringe any 11371patents or other property right claims or to contest validity of any 11372such claims; this section has the sole purpose of protecting the 11373integrity of the free software distribution system which is 11374implemented by public license practices. Many people have made 11375generous contributions to the wide range of software distributed 11376through that system in reliance on consistent application of that 11377system; it is up to the author/donor to decide if he or she is willing 11378to distribute software through any other system and a licensee cannot 11379impose that choice. 11380 11381This section is intended to make thoroughly clear what is believed to 11382be a consequence of the rest of this License. 11383 11384 12. If the distribution and/or use of the Library is restricted in 11385certain countries either by patents or by copyrighted interfaces, the 11386original copyright holder who places the Library under this License may add 11387an explicit geographical distribution limitation excluding those countries, 11388so that distribution is permitted only in or among countries not thus 11389excluded. In such case, this License incorporates the limitation as if 11390written in the body of this License. 11391 11392 13. The Free Software Foundation may publish revised and/or new 11393versions of the Lesser General Public License from time to time. 11394Such new versions will be similar in spirit to the present version, 11395but may differ in detail to address new problems or concerns. 11396 11397Each version is given a distinguishing version number. If the Library 11398specifies a version number of this License which applies to it and 11399"any later version", you have the option of following the terms and 11400conditions either of that version or of any later version published by 11401the Free Software Foundation. If the Library does not specify a 11402license version number, you may choose any version ever published by 11403the Free Software Foundation. 11404 11405 14. If you wish to incorporate parts of the Library into other free 11406programs whose distribution conditions are incompatible with these, 11407write to the author to ask for permission. For software which is 11408copyrighted by the Free Software Foundation, write to the Free 11409Software Foundation; we sometimes make exceptions for this. Our 11410decision will be guided by the two goals of preserving the free status 11411of all derivatives of our free software and of promoting the sharing 11412and reuse of software generally. 11413 11414 NO WARRANTY 11415 11416 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 11417WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 11418EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 11419OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 11420KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 11421IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 11422PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 11423LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 11424THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 11425 11426 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 11427WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 11428AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 11429FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 11430CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 11431LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 11432RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 11433FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 11434SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 11435DAMAGES. 11436 11437 END OF TERMS AND CONDITIONS 11438 11439 How to Apply These Terms to Your New Libraries 11440 11441 If you develop a new library, and you want it to be of the greatest 11442possible use to the public, we recommend making it free software that 11443everyone can redistribute and change. You can do so by permitting 11444redistribution under these terms (or, alternatively, under the terms of the 11445ordinary General Public License). 11446 11447 To apply these terms, attach the following notices to the library. It is 11448safest to attach them to the start of each source file to most effectively 11449convey the exclusion of warranty; and each file should have at least the 11450"copyright" line and a pointer to where the full notice is found. 11451 11452 <one line to give the library's name and a brief idea of what it does.> 11453 Copyright (C) <year> <name of author> 11454 11455 This library is free software; you can redistribute it and/or 11456 modify it under the terms of the GNU Lesser General Public 11457 License as published by the Free Software Foundation; either 11458 version 2.1 of the License, or (at your option) any later version. 11459 11460 This library is distributed in the hope that it will be useful, 11461 but WITHOUT ANY WARRANTY; without even the implied warranty of 11462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11463 Lesser General Public License for more details. 11464 11465 You should have received a copy of the GNU Lesser General Public 11466 License along with this library; if not, write to the Free Software 11467 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 11468 11469Also add information on how to contact you by electronic and paper mail. 11470 11471You should also get your employer (if you work as a programmer) or your 11472school, if any, to sign a "copyright disclaimer" for the library, if 11473necessary. Here is a sample; alter the names: 11474 11475 Yoyodyne, Inc., hereby disclaims all copyright interest in the 11476 library `Frob' (a library for tweaking knobs) written by James Random Hacker. 11477 11478 <signature of Ty Coon>, 1 April 1990 11479 Ty Coon, President of Vice 11480 11481That's all there is to it! 11482 11483 11484 GNU GENERAL PUBLIC LICENSE 11485 Version 3, 29 June 2007 11486 11487 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 11488 Everyone is permitted to copy and distribute verbatim copies 11489 of this license document, but changing it is not allowed. 11490 11491 Preamble 11492 11493 The GNU General Public License is a free, copyleft license for 11494software and other kinds of works. 11495 11496 The licenses for most software and other practical works are designed 11497to take away your freedom to share and change the works. By contrast, 11498the GNU General Public License is intended to guarantee your freedom to 11499share and change all versions of a program--to make sure it remains free 11500software for all its users. We, the Free Software Foundation, use the 11501GNU General Public License for most of our software; it applies also to 11502any other work released this way by its authors. You can apply it to 11503your programs, too. 11504 11505 When we speak of free software, we are referring to freedom, not 11506price. Our General Public Licenses are designed to make sure that you 11507have the freedom to distribute copies of free software (and charge for 11508them if you wish), that you receive source code or can get it if you 11509want it, that you can change the software or use pieces of it in new 11510free programs, and that you know you can do these things. 11511 11512 To protect your rights, we need to prevent others from denying you 11513these rights or asking you to surrender the rights. Therefore, you have 11514certain responsibilities if you distribute copies of the software, or if 11515you modify it: responsibilities to respect the freedom of others. 11516 11517 For example, if you distribute copies of such a program, whether 11518gratis or for a fee, you must pass on to the recipients the same 11519freedoms that you received. You must make sure that they, too, receive 11520or can get the source code. And you must show them these terms so they 11521know their rights. 11522 11523 Developers that use the GNU GPL protect your rights with two steps: 11524(1) assert copyright on the software, and (2) offer you this License 11525giving you legal permission to copy, distribute and/or modify it. 11526 11527 For the developers' and authors' protection, the GPL clearly explains 11528that there is no warranty for this free software. For both users' and 11529authors' sake, the GPL requires that modified versions be marked as 11530changed, so that their problems will not be attributed erroneously to 11531authors of previous versions. 11532 11533 Some devices are designed to deny users access to install or run 11534modified versions of the software inside them, although the manufacturer 11535can do so. This is fundamentally incompatible with the aim of 11536protecting users' freedom to change the software. The systematic 11537pattern of such abuse occurs in the area of products for individuals to 11538use, which is precisely where it is most unacceptable. Therefore, we 11539have designed this version of the GPL to prohibit the practice for those 11540products. If such problems arise substantially in other domains, we 11541stand ready to extend this provision to those domains in future versions 11542of the GPL, as needed to protect the freedom of users. 11543 11544 Finally, every program is threatened constantly by software patents. 11545States should not allow patents to restrict development and use of 11546software on general-purpose computers, but in those that do, we wish to 11547avoid the special danger that patents applied to a free program could 11548make it effectively proprietary. To prevent this, the GPL assures that 11549patents cannot be used to render the program non-free. 11550 11551 The precise terms and conditions for copying, distribution and 11552modification follow. 11553 11554 TERMS AND CONDITIONS 11555 11556 0. Definitions. 11557 11558 "This License" refers to version 3 of the GNU General Public License. 11559 11560 "Copyright" also means copyright-like laws that apply to other kinds of 11561works, such as semiconductor masks. 11562 11563 "The Program" refers to any copyrightable work licensed under this 11564License. Each licensee is addressed as "you". "Licensees" and 11565"recipients" may be individuals or organizations. 11566 11567 To "modify" a work means to copy from or adapt all or part of the work 11568in a fashion requiring copyright permission, other than the making of an 11569exact copy. The resulting work is called a "modified version" of the 11570earlier work or a work "based on" the earlier work. 11571 11572 A "covered work" means either the unmodified Program or a work based 11573on the Program. 11574 11575 To "propagate" a work means to do anything with it that, without 11576permission, would make you directly or secondarily liable for 11577infringement under applicable copyright law, except executing it on a 11578computer or modifying a private copy. Propagation includes copying, 11579distribution (with or without modification), making available to the 11580public, and in some countries other activities as well. 11581 11582 To "convey" a work means any kind of propagation that enables other 11583parties to make or receive copies. Mere interaction with a user through 11584a computer network, with no transfer of a copy, is not conveying. 11585 11586 An interactive user interface displays "Appropriate Legal Notices" 11587to the extent that it includes a convenient and prominently visible 11588feature that (1) displays an appropriate copyright notice, and (2) 11589tells the user that there is no warranty for the work (except to the 11590extent that warranties are provided), that licensees may convey the 11591work under this License, and how to view a copy of this License. If 11592the interface presents a list of user commands or options, such as a 11593menu, a prominent item in the list meets this criterion. 11594 11595 1. Source Code. 11596 11597 The "source code" for a work means the preferred form of the work 11598for making modifications to it. "Object code" means any non-source 11599form of a work. 11600 11601 A "Standard Interface" means an interface that either is an official 11602standard defined by a recognized standards body, or, in the case of 11603interfaces specified for a particular programming language, one that 11604is widely used among developers working in that language. 11605 11606 The "System Libraries" of an executable work include anything, other 11607than the work as a whole, that (a) is included in the normal form of 11608packaging a Major Component, but which is not part of that Major 11609Component, and (b) serves only to enable use of the work with that 11610Major Component, or to implement a Standard Interface for which an 11611implementation is available to the public in source code form. A 11612"Major Component", in this context, means a major essential component 11613(kernel, window system, and so on) of the specific operating system 11614(if any) on which the executable work runs, or a compiler used to 11615produce the work, or an object code interpreter used to run it. 11616 11617 The "Corresponding Source" for a work in object code form means all 11618the source code needed to generate, install, and (for an executable 11619work) run the object code and to modify the work, including scripts to 11620control those activities. However, it does not include the work's 11621System Libraries, or general-purpose tools or generally available free 11622programs which are used unmodified in performing those activities but 11623which are not part of the work. For example, Corresponding Source 11624includes interface definition files associated with source files for 11625the work, and the source code for shared libraries and dynamically 11626linked subprograms that the work is specifically designed to require, 11627such as by intimate data communication or control flow between those 11628subprograms and other parts of the work. 11629 11630 The Corresponding Source need not include anything that users 11631can regenerate automatically from other parts of the Corresponding 11632Source. 11633 11634 The Corresponding Source for a work in source code form is that 11635same work. 11636 11637 2. Basic Permissions. 11638 11639 All rights granted under this License are granted for the term of 11640copyright on the Program, and are irrevocable provided the stated 11641conditions are met. This License explicitly affirms your unlimited 11642permission to run the unmodified Program. The output from running a 11643covered work is covered by this License only if the output, given its 11644content, constitutes a covered work. This License acknowledges your 11645rights of fair use or other equivalent, as provided by copyright law. 11646 11647 You may make, run and propagate covered works that you do not 11648convey, without conditions so long as your license otherwise remains 11649in force. You may convey covered works to others for the sole purpose 11650of having them make modifications exclusively for you, or provide you 11651with facilities for running those works, provided that you comply with 11652the terms of this License in conveying all material for which you do 11653not control copyright. Those thus making or running the covered works 11654for you must do so exclusively on your behalf, under your direction 11655and control, on terms that prohibit them from making any copies of 11656your copyrighted material outside their relationship with you. 11657 11658 Conveying under any other circumstances is permitted solely under 11659the conditions stated below. Sublicensing is not allowed; section 10 11660makes it unnecessary. 11661 11662 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 11663 11664 No covered work shall be deemed part of an effective technological 11665measure under any applicable law fulfilling obligations under article 1166611 of the WIPO copyright treaty adopted on 20 December 1996, or 11667similar laws prohibiting or restricting circumvention of such 11668measures. 11669 11670 When you convey a covered work, you waive any legal power to forbid 11671circumvention of technological measures to the extent such circumvention 11672is effected by exercising rights under this License with respect to 11673the covered work, and you disclaim any intention to limit operation or 11674modification of the work as a means of enforcing, against the work's 11675users, your or third parties' legal rights to forbid circumvention of 11676technological measures. 11677 11678 4. Conveying Verbatim Copies. 11679 11680 You may convey verbatim copies of the Program's source code as you 11681receive it, in any medium, provided that you conspicuously and 11682appropriately publish on each copy an appropriate copyright notice; 11683keep intact all notices stating that this License and any 11684non-permissive terms added in accord with section 7 apply to the code; 11685keep intact all notices of the absence of any warranty; and give all 11686recipients a copy of this License along with the Program. 11687 11688 You may charge any price or no price for each copy that you convey, 11689and you may offer support or warranty protection for a fee. 11690 11691 5. Conveying Modified Source Versions. 11692 11693 You may convey a work based on the Program, or the modifications to 11694produce it from the Program, in the form of source code under the 11695terms of section 4, provided that you also meet all of these conditions: 11696 11697 a) The work must carry prominent notices stating that you modified 11698 it, and giving a relevant date. 11699 11700 b) The work must carry prominent notices stating that it is 11701 released under this License and any conditions added under section 11702 7. This requirement modifies the requirement in section 4 to 11703 "keep intact all notices". 11704 11705 c) You must license the entire work, as a whole, under this 11706 License to anyone who comes into possession of a copy. This 11707 License will therefore apply, along with any applicable section 7 11708 additional terms, to the whole of the work, and all its parts, 11709 regardless of how they are packaged. This License gives no 11710 permission to license the work in any other way, but it does not 11711 invalidate such permission if you have separately received it. 11712 11713 d) If the work has interactive user interfaces, each must display 11714 Appropriate Legal Notices; however, if the Program has interactive 11715 interfaces that do not display Appropriate Legal Notices, your 11716 work need not make them do so. 11717 11718 A compilation of a covered work with other separate and independent 11719works, which are not by their nature extensions of the covered work, 11720and which are not combined with it such as to form a larger program, 11721in or on a volume of a storage or distribution medium, is called an 11722"aggregate" if the compilation and its resulting copyright are not 11723used to limit the access or legal rights of the compilation's users 11724beyond what the individual works permit. Inclusion of a covered work 11725in an aggregate does not cause this License to apply to the other 11726parts of the aggregate. 11727 11728 6. Conveying Non-Source Forms. 11729 11730 You may convey a covered work in object code form under the terms 11731of sections 4 and 5, provided that you also convey the 11732machine-readable Corresponding Source under the terms of this License, 11733in one of these ways: 11734 11735 a) Convey the object code in, or embodied in, a physical product 11736 (including a physical distribution medium), accompanied by the 11737 Corresponding Source fixed on a durable physical medium 11738 customarily used for software interchange. 11739 11740 b) Convey the object code in, or embodied in, a physical product 11741 (including a physical distribution medium), accompanied by a 11742 written offer, valid for at least three years and valid for as 11743 long as you offer spare parts or customer support for that product 11744 model, to give anyone who possesses the object code either (1) a 11745 copy of the Corresponding Source for all the software in the 11746 product that is covered by this License, on a durable physical 11747 medium customarily used for software interchange, for a price no 11748 more than your reasonable cost of physically performing this 11749 conveying of source, or (2) access to copy the 11750 Corresponding Source from a network server at no charge. 11751 11752 c) Convey individual copies of the object code with a copy of the 11753 written offer to provide the Corresponding Source. This 11754 alternative is allowed only occasionally and noncommercially, and 11755 only if you received the object code with such an offer, in accord 11756 with subsection 6b. 11757 11758 d) Convey the object code by offering access from a designated 11759 place (gratis or for a charge), and offer equivalent access to the 11760 Corresponding Source in the same way through the same place at no 11761 further charge. You need not require recipients to copy the 11762 Corresponding Source along with the object code. If the place to 11763 copy the object code is a network server, the Corresponding Source 11764 may be on a different server (operated by you or a third party) 11765 that supports equivalent copying facilities, provided you maintain 11766 clear directions next to the object code saying where to find the 11767 Corresponding Source. Regardless of what server hosts the 11768 Corresponding Source, you remain obligated to ensure that it is 11769 available for as long as needed to satisfy these requirements. 11770 11771 e) Convey the object code using peer-to-peer transmission, provided 11772 you inform other peers where the object code and Corresponding 11773 Source of the work are being offered to the general public at no 11774 charge under subsection 6d. 11775 11776 A separable portion of the object code, whose source code is excluded 11777from the Corresponding Source as a System Library, need not be 11778included in conveying the object code work. 11779 11780 A "User Product" is either (1) a "consumer product", which means any 11781tangible personal property which is normally used for personal, family, 11782or household purposes, or (2) anything designed or sold for incorporation 11783into a dwelling. In determining whether a product is a consumer product, 11784doubtful cases shall be resolved in favor of coverage. For a particular 11785product received by a particular user, "normally used" refers to a 11786typical or common use of that class of product, regardless of the status 11787of the particular user or of the way in which the particular user 11788actually uses, or expects or is expected to use, the product. A product 11789is a consumer product regardless of whether the product has substantial 11790commercial, industrial or non-consumer uses, unless such uses represent 11791the only significant mode of use of the product. 11792 11793 "Installation Information" for a User Product means any methods, 11794procedures, authorization keys, or other information required to install 11795and execute modified versions of a covered work in that User Product from 11796a modified version of its Corresponding Source. The information must 11797suffice to ensure that the continued functioning of the modified object 11798code is in no case prevented or interfered with solely because 11799modification has been made. 11800 11801 If you convey an object code work under this section in, or with, or 11802specifically for use in, a User Product, and the conveying occurs as 11803part of a transaction in which the right of possession and use of the 11804User Product is transferred to the recipient in perpetuity or for a 11805fixed term (regardless of how the transaction is characterized), the 11806Corresponding Source conveyed under this section must be accompanied 11807by the Installation Information. But this requirement does not apply 11808if neither you nor any third party retains the ability to install 11809modified object code on the User Product (for example, the work has 11810been installed in ROM). 11811 11812 The requirement to provide Installation Information does not include a 11813requirement to continue to provide support service, warranty, or updates 11814for a work that has been modified or installed by the recipient, or for 11815the User Product in which it has been modified or installed. Access to a 11816network may be denied when the modification itself materially and 11817adversely affects the operation of the network or violates the rules and 11818protocols for communication across the network. 11819 11820 Corresponding Source conveyed, and Installation Information provided, 11821in accord with this section must be in a format that is publicly 11822documented (and with an implementation available to the public in 11823source code form), and must require no special password or key for 11824unpacking, reading or copying. 11825 11826 7. Additional Terms. 11827 11828 "Additional permissions" are terms that supplement the terms of this 11829License by making exceptions from one or more of its conditions. 11830Additional permissions that are applicable to the entire Program shall 11831be treated as though they were included in this License, to the extent 11832that they are valid under applicable law. If additional permissions 11833apply only to part of the Program, that part may be used separately 11834under those permissions, but the entire Program remains governed by 11835this License without regard to the additional permissions. 11836 11837 When you convey a copy of a covered work, you may at your option 11838remove any additional permissions from that copy, or from any part of 11839it. (Additional permissions may be written to require their own 11840removal in certain cases when you modify the work.) You may place 11841additional permissions on material, added by you to a covered work, 11842for which you have or can give appropriate copyright permission. 11843 11844 Notwithstanding any other provision of this License, for material you 11845add to a covered work, you may (if authorized by the copyright holders of 11846that material) supplement the terms of this License with terms: 11847 11848 a) Disclaiming warranty or limiting liability differently from the 11849 terms of sections 15 and 16 of this License; or 11850 11851 b) Requiring preservation of specified reasonable legal notices or 11852 author attributions in that material or in the Appropriate Legal 11853 Notices displayed by works containing it; or 11854 11855 c) Prohibiting misrepresentation of the origin of that material, or 11856 requiring that modified versions of such material be marked in 11857 reasonable ways as different from the original version; or 11858 11859 d) Limiting the use for publicity purposes of names of licensors or 11860 authors of the material; or 11861 11862 e) Declining to grant rights under trademark law for use of some 11863 trade names, trademarks, or service marks; or 11864 11865 f) Requiring indemnification of licensors and authors of that 11866 material by anyone who conveys the material (or modified versions of 11867 it) with contractual assumptions of liability to the recipient, for 11868 any liability that these contractual assumptions directly impose on 11869 those licensors and authors. 11870 11871 All other non-permissive additional terms are considered "further 11872restrictions" within the meaning of section 10. If the Program as you 11873received it, or any part of it, contains a notice stating that it is 11874governed by this License along with a term that is a further 11875restriction, you may remove that term. If a license document contains 11876a further restriction but permits relicensing or conveying under this 11877License, you may add to a covered work material governed by the terms 11878of that license document, provided that the further restriction does 11879not survive such relicensing or conveying. 11880 11881 If you add terms to a covered work in accord with this section, you 11882must place, in the relevant source files, a statement of the 11883additional terms that apply to those files, or a notice indicating 11884where to find the applicable terms. 11885 11886 Additional terms, permissive or non-permissive, may be stated in the 11887form of a separately written license, or stated as exceptions; 11888the above requirements apply either way. 11889 11890 8. Termination. 11891 11892 You may not propagate or modify a covered work except as expressly 11893provided under this License. Any attempt otherwise to propagate or 11894modify it is void, and will automatically terminate your rights under 11895this License (including any patent licenses granted under the third 11896paragraph of section 11). 11897 11898 However, if you cease all violation of this License, then your 11899license from a particular copyright holder is reinstated (a) 11900provisionally, unless and until the copyright holder explicitly and 11901finally terminates your license, and (b) permanently, if the copyright 11902holder fails to notify you of the violation by some reasonable means 11903prior to 60 days after the cessation. 11904 11905 Moreover, your license from a particular copyright holder is 11906reinstated permanently if the copyright holder notifies you of the 11907violation by some reasonable means, this is the first time you have 11908received notice of violation of this License (for any work) from that 11909copyright holder, and you cure the violation prior to 30 days after 11910your receipt of the notice. 11911 11912 Termination of your rights under this section does not terminate the 11913licenses of parties who have received copies or rights from you under 11914this License. If your rights have been terminated and not permanently 11915reinstated, you do not qualify to receive new licenses for the same 11916material under section 10. 11917 11918 9. Acceptance Not Required for Having Copies. 11919 11920 You are not required to accept this License in order to receive or 11921run a copy of the Program. Ancillary propagation of a covered work 11922occurring solely as a consequence of using peer-to-peer transmission 11923to receive a copy likewise does not require acceptance. However, 11924nothing other than this License grants you permission to propagate or 11925modify any covered work. These actions infringe copyright if you do 11926not accept this License. Therefore, by modifying or propagating a 11927covered work, you indicate your acceptance of this License to do so. 11928 11929 10. Automatic Licensing of Downstream Recipients. 11930 11931 Each time you convey a covered work, the recipient automatically 11932receives a license from the original licensors, to run, modify and 11933propagate that work, subject to this License. You are not responsible 11934for enforcing compliance by third parties with this License. 11935 11936 An "entity transaction" is a transaction transferring control of an 11937organization, or substantially all assets of one, or subdividing an 11938organization, or merging organizations. If propagation of a covered 11939work results from an entity transaction, each party to that 11940transaction who receives a copy of the work also receives whatever 11941licenses to the work the party's predecessor in interest had or could 11942give under the previous paragraph, plus a right to possession of the 11943Corresponding Source of the work from the predecessor in interest, if 11944the predecessor has it or can get it with reasonable efforts. 11945 11946 You may not impose any further restrictions on the exercise of the 11947rights granted or affirmed under this License. For example, you may 11948not impose a license fee, royalty, or other charge for exercise of 11949rights granted under this License, and you may not initiate litigation 11950(including a cross-claim or counterclaim in a lawsuit) alleging that 11951any patent claim is infringed by making, using, selling, offering for 11952sale, or importing the Program or any portion of it. 11953 11954 11. Patents. 11955 11956 A "contributor" is a copyright holder who authorizes use under this 11957License of the Program or a work on which the Program is based. The 11958work thus licensed is called the contributor's "contributor version". 11959 11960 A contributor's "essential patent claims" are all patent claims 11961owned or controlled by the contributor, whether already acquired or 11962hereafter acquired, that would be infringed by some manner, permitted 11963by this License, of making, using, or selling its contributor version, 11964but do not include claims that would be infringed only as a 11965consequence of further modification of the contributor version. For 11966purposes of this definition, "control" includes the right to grant 11967patent sublicenses in a manner consistent with the requirements of 11968this License. 11969 11970 Each contributor grants you a non-exclusive, worldwide, royalty-free 11971patent license under the contributor's essential patent claims, to 11972make, use, sell, offer for sale, import and otherwise run, modify and 11973propagate the contents of its contributor version. 11974 11975 In the following three paragraphs, a "patent license" is any express 11976agreement or commitment, however denominated, not to enforce a patent 11977(such as an express permission to practice a patent or covenant not to 11978sue for patent infringement). To "grant" such a patent license to a 11979party means to make such an agreement or commitment not to enforce a 11980patent against the party. 11981 11982 If you convey a covered work, knowingly relying on a patent license, 11983and the Corresponding Source of the work is not available for anyone 11984to copy, free of charge and under the terms of this License, through a 11985publicly available network server or other readily accessible means, 11986then you must either (1) cause the Corresponding Source to be so 11987available, or (2) arrange to deprive yourself of the benefit of the 11988patent license for this particular work, or (3) arrange, in a manner 11989consistent with the requirements of this License, to extend the patent 11990license to downstream recipients. "Knowingly relying" means you have 11991actual knowledge that, but for the patent license, your conveying the 11992covered work in a country, or your recipient's use of the covered work 11993in a country, would infringe one or more identifiable patents in that 11994country that you have reason to believe are valid. 11995 11996 If, pursuant to or in connection with a single transaction or 11997arrangement, you convey, or propagate by procuring conveyance of, a 11998covered work, and grant a patent license to some of the parties 11999receiving the covered work authorizing them to use, propagate, modify 12000or convey a specific copy of the covered work, then the patent license 12001you grant is automatically extended to all recipients of the covered 12002work and works based on it. 12003 12004 A patent license is "discriminatory" if it does not include within 12005the scope of its coverage, prohibits the exercise of, or is 12006conditioned on the non-exercise of one or more of the rights that are 12007specifically granted under this License. You may not convey a covered 12008work if you are a party to an arrangement with a third party that is 12009in the business of distributing software, under which you make payment 12010to the third party based on the extent of your activity of conveying 12011the work, and under which the third party grants, to any of the 12012parties who would receive the covered work from you, a discriminatory 12013patent license (a) in connection with copies of the covered work 12014conveyed by you (or copies made from those copies), or (b) primarily 12015for and in connection with specific products or compilations that 12016contain the covered work, unless you entered into that arrangement, 12017or that patent license was granted, prior to 28 March 2007. 12018 12019 Nothing in this License shall be construed as excluding or limiting 12020any implied license or other defenses to infringement that may 12021otherwise be available to you under applicable patent law. 12022 12023 12. No Surrender of Others' Freedom. 12024 12025 If conditions are imposed on you (whether by court order, agreement or 12026otherwise) that contradict the conditions of this License, they do not 12027excuse you from the conditions of this License. If you cannot convey a 12028covered work so as to satisfy simultaneously your obligations under this 12029License and any other pertinent obligations, then as a consequence you may 12030not convey it at all. For example, if you agree to terms that obligate you 12031to collect a royalty for further conveying from those to whom you convey 12032the Program, the only way you could satisfy both those terms and this 12033License would be to refrain entirely from conveying the Program. 12034 12035 13. Use with the GNU Affero General Public License. 12036 12037 Notwithstanding any other provision of this License, you have 12038permission to link or combine any covered work with a work licensed 12039under version 3 of the GNU Affero General Public License into a single 12040combined work, and to convey the resulting work. The terms of this 12041License will continue to apply to the part which is the covered work, 12042but the special requirements of the GNU Affero General Public License, 12043section 13, concerning interaction through a network will apply to the 12044combination as such. 12045 12046 14. Revised Versions of this License. 12047 12048 The Free Software Foundation may publish revised and/or new versions of 12049the GNU General Public License from time to time. Such new versions will 12050be similar in spirit to the present version, but may differ in detail to 12051address new problems or concerns. 12052 12053 Each version is given a distinguishing version number. If the 12054Program specifies that a certain numbered version of the GNU General 12055Public License "or any later version" applies to it, you have the 12056option of following the terms and conditions either of that numbered 12057version or of any later version published by the Free Software 12058Foundation. If the Program does not specify a version number of the 12059GNU General Public License, you may choose any version ever published 12060by the Free Software Foundation. 12061 12062 If the Program specifies that a proxy can decide which future 12063versions of the GNU General Public License can be used, that proxy's 12064public statement of acceptance of a version permanently authorizes you 12065to choose that version for the Program. 12066 12067 Later license versions may give you additional or different 12068permissions. However, no additional obligations are imposed on any 12069author or copyright holder as a result of your choosing to follow a 12070later version. 12071 12072 15. Disclaimer of Warranty. 12073 12074 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 12075APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 12076HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 12077OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 12078THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 12079PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 12080IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 12081ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12082 12083 16. Limitation of Liability. 12084 12085 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 12086WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 12087THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 12088GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 12089USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 12090DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 12091PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 12092EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 12093SUCH DAMAGES. 12094 12095 17. Interpretation of Sections 15 and 16. 12096 12097 If the disclaimer of warranty and limitation of liability provided 12098above cannot be given local legal effect according to their terms, 12099reviewing courts shall apply local law that most closely approximates 12100an absolute waiver of all civil liability in connection with the 12101Program, unless a warranty or assumption of liability accompanies a 12102copy of the Program in return for a fee. 12103 12104 END OF TERMS AND CONDITIONS 12105 12106 How to Apply These Terms to Your New Programs 12107 12108 If you develop a new program, and you want it to be of the greatest 12109possible use to the public, the best way to achieve this is to make it 12110free software which everyone can redistribute and change under these terms. 12111 12112 To do so, attach the following notices to the program. It is safest 12113to attach them to the start of each source file to most effectively 12114state the exclusion of warranty; and each file should have at least 12115the "copyright" line and a pointer to where the full notice is found. 12116 12117 <one line to give the program's name and a brief idea of what it does.> 12118 Copyright (C) <year> <name of author> 12119 12120 This program is free software: you can redistribute it and/or modify 12121 it under the terms of the GNU General Public License as published by 12122 the Free Software Foundation, either version 3 of the License, or 12123 (at your option) any later version. 12124 12125 This program is distributed in the hope that it will be useful, 12126 but WITHOUT ANY WARRANTY; without even the implied warranty of 12127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12128 GNU General Public License for more details. 12129 12130 You should have received a copy of the GNU General Public License 12131 along with this program. If not, see <http://www.gnu.org/licenses/>. 12132 12133Also add information on how to contact you by electronic and paper mail. 12134 12135 If the program does terminal interaction, make it output a short 12136notice like this when it starts in an interactive mode: 12137 12138 <program> Copyright (C) <year> <name of author> 12139 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 12140 This is free software, and you are welcome to redistribute it 12141 under certain conditions; type `show c' for details. 12142 12143The hypothetical commands `show w' and `show c' should show the appropriate 12144parts of the General Public License. Of course, your program's commands 12145might be different; for a GUI interface, you would use an "about box". 12146 12147 You should also get your employer (if you work as a programmer) or school, 12148if any, to sign a "copyright disclaimer" for the program, if necessary. 12149For more information on this, and how to apply and follow the GNU GPL, see 12150<http://www.gnu.org/licenses/>. 12151 12152 The GNU General Public License does not permit incorporating your program 12153into proprietary programs. If your program is a subroutine library, you 12154may consider it more useful to permit linking proprietary applications with 12155the library. If this is what you want to do, use the GNU Lesser General 12156Public License instead of this License. But first, please read 12157<http://www.gnu.org/philosophy/why-not-lgpl.html>. 12158 GNU GENERAL PUBLIC LICENSE 12159 Version 2, June 1991 12160 12161 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 12162 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 12163 Everyone is permitted to copy and distribute verbatim copies 12164 of this license document, but changing it is not allowed. 12165 12166 Preamble 12167 12168 The licenses for most software are designed to take away your 12169freedom to share and change it. By contrast, the GNU General Public 12170License is intended to guarantee your freedom to share and change free 12171software--to make sure the software is free for all its users. This 12172General Public License applies to most of the Free Software 12173Foundation's software and to any other program whose authors commit to 12174using it. (Some other Free Software Foundation software is covered by 12175the GNU Library General Public License instead.) You can apply it to 12176your programs, too. 12177 12178 When we speak of free software, we are referring to freedom, not 12179price. Our General Public Licenses are designed to make sure that you 12180have the freedom to distribute copies of free software (and charge for 12181this service if you wish), that you receive source code or can get it 12182if you want it, that you can change the software or use pieces of it 12183in new free programs; and that you know you can do these things. 12184 12185 To protect your rights, we need to make restrictions that forbid 12186anyone to deny you these rights or to ask you to surrender the rights. 12187These restrictions translate to certain responsibilities for you if you 12188distribute copies of the software, or if you modify it. 12189 12190 For example, if you distribute copies of such a program, whether 12191gratis or for a fee, you must give the recipients all the rights that 12192you have. You must make sure that they, too, receive or can get the 12193source code. And you must show them these terms so they know their 12194rights. 12195 12196 We protect your rights with two steps: (1) copyright the software, and 12197(2) offer you this license which gives you legal permission to copy, 12198distribute and/or modify the software. 12199 12200 Also, for each author's protection and ours, we want to make certain 12201that everyone understands that there is no warranty for this free 12202software. If the software is modified by someone else and passed on, we 12203want its recipients to know that what they have is not the original, so 12204that any problems introduced by others will not reflect on the original 12205authors' reputations. 12206 12207 Finally, any free program is threatened constantly by software 12208patents. We wish to avoid the danger that redistributors of a free 12209program will individually obtain patent licenses, in effect making the 12210program proprietary. To prevent this, we have made it clear that any 12211patent must be licensed for everyone's free use or not licensed at all. 12212 12213 The precise terms and conditions for copying, distribution and 12214modification follow. 12215 12216 GNU GENERAL PUBLIC LICENSE 12217 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12218 12219 0. This License applies to any program or other work which contains 12220a notice placed by the copyright holder saying it may be distributed 12221under the terms of this General Public License. The "Program", below, 12222refers to any such program or work, and a "work based on the Program" 12223means either the Program or any derivative work under copyright law: 12224that is to say, a work containing the Program or a portion of it, 12225either verbatim or with modifications and/or translated into another 12226language. (Hereinafter, translation is included without limitation in 12227the term "modification".) Each licensee is addressed as "you". 12228 12229Activities other than copying, distribution and modification are not 12230covered by this License; they are outside its scope. The act of 12231running the Program is not restricted, and the output from the Program 12232is covered only if its contents constitute a work based on the 12233Program (independent of having been made by running the Program). 12234Whether that is true depends on what the Program does. 12235 12236 1. You may copy and distribute verbatim copies of the Program's 12237source code as you receive it, in any medium, provided that you 12238conspicuously and appropriately publish on each copy an appropriate 12239copyright notice and disclaimer of warranty; keep intact all the 12240notices that refer to this License and to the absence of any warranty; 12241and give any other recipients of the Program a copy of this License 12242along with the Program. 12243 12244You may charge a fee for the physical act of transferring a copy, and 12245you may at your option offer warranty protection in exchange for a fee. 12246 12247 2. You may modify your copy or copies of the Program or any portion 12248of it, thus forming a work based on the Program, and copy and 12249distribute such modifications or work under the terms of Section 1 12250above, provided that you also meet all of these conditions: 12251 12252 a) You must cause the modified files to carry prominent notices 12253 stating that you changed the files and the date of any change. 12254 12255 b) You must cause any work that you distribute or publish, that in 12256 whole or in part contains or is derived from the Program or any 12257 part thereof, to be licensed as a whole at no charge to all third 12258 parties under the terms of this License. 12259 12260 c) If the modified program normally reads commands interactively 12261 when run, you must cause it, when started running for such 12262 interactive use in the most ordinary way, to print or display an 12263 announcement including an appropriate copyright notice and a 12264 notice that there is no warranty (or else, saying that you provide 12265 a warranty) and that users may redistribute the program under 12266 these conditions, and telling the user how to view a copy of this 12267 License. (Exception: if the Program itself is interactive but 12268 does not normally print such an announcement, your work based on 12269 the Program is not required to print an announcement.) 12270 12271These requirements apply to the modified work as a whole. If 12272identifiable sections of that work are not derived from the Program, 12273and can be reasonably considered independent and separate works in 12274themselves, then this License, and its terms, do not apply to those 12275sections when you distribute them as separate works. But when you 12276distribute the same sections as part of a whole which is a work based 12277on the Program, the distribution of the whole must be on the terms of 12278this License, whose permissions for other licensees extend to the 12279entire whole, and thus to each and every part regardless of who wrote it. 12280 12281Thus, it is not the intent of this section to claim rights or contest 12282your rights to work written entirely by you; rather, the intent is to 12283exercise the right to control the distribution of derivative or 12284collective works based on the Program. 12285 12286In addition, mere aggregation of another work not based on the Program 12287with the Program (or with a work based on the Program) on a volume of 12288a storage or distribution medium does not bring the other work under 12289the scope of this License. 12290 12291 3. You may copy and distribute the Program (or a work based on it, 12292under Section 2) in object code or executable form under the terms of 12293Sections 1 and 2 above provided that you also do one of the following: 12294 12295 a) Accompany it with the complete corresponding machine-readable 12296 source code, which must be distributed under the terms of Sections 12297 1 and 2 above on a medium customarily used for software interchange; or, 12298 12299 b) Accompany it with a written offer, valid for at least three 12300 years, to give any third party, for a charge no more than your 12301 cost of physically performing source distribution, a complete 12302 machine-readable copy of the corresponding source code, to be 12303 distributed under the terms of Sections 1 and 2 above on a medium 12304 customarily used for software interchange; or, 12305 12306 c) Accompany it with the information you received as to the offer 12307 to distribute corresponding source code. (This alternative is 12308 allowed only for noncommercial distribution and only if you 12309 received the program in object code or executable form with such 12310 an offer, in accord with Subsection b above.) 12311 12312The source code for a work means the preferred form of the work for 12313making modifications to it. For an executable work, complete source 12314code means all the source code for all modules it contains, plus any 12315associated interface definition files, plus the scripts used to 12316control compilation and installation of the executable. However, as a 12317special exception, the source code distributed need not include 12318anything that is normally distributed (in either source or binary 12319form) with the major components (compiler, kernel, and so on) of the 12320operating system on which the executable runs, unless that component 12321itself accompanies the executable. 12322 12323If distribution of executable or object code is made by offering 12324access to copy from a designated place, then offering equivalent 12325access to copy the source code from the same place counts as 12326distribution of the source code, even though third parties are not 12327compelled to copy the source along with the object code. 12328 12329 4. You may not copy, modify, sublicense, or distribute the Program 12330except as expressly provided under this License. Any attempt 12331otherwise to copy, modify, sublicense or distribute the Program is 12332void, and will automatically terminate your rights under this License. 12333However, parties who have received copies, or rights, from you under 12334this License will not have their licenses terminated so long as such 12335parties remain in full compliance. 12336 12337 5. You are not required to accept this License, since you have not 12338signed it. However, nothing else grants you permission to modify or 12339distribute the Program or its derivative works. These actions are 12340prohibited by law if you do not accept this License. Therefore, by 12341modifying or distributing the Program (or any work based on the 12342Program), you indicate your acceptance of this License to do so, and 12343all its terms and conditions for copying, distributing or modifying 12344the Program or works based on it. 12345 12346 6. Each time you redistribute the Program (or any work based on the 12347Program), the recipient automatically receives a license from the 12348original licensor to copy, distribute or modify the Program subject to 12349these terms and conditions. You may not impose any further 12350restrictions on the recipients' exercise of the rights granted herein. 12351You are not responsible for enforcing compliance by third parties to 12352this License. 12353 12354 7. If, as a consequence of a court judgment or allegation of patent 12355infringement or for any other reason (not limited to patent issues), 12356conditions are imposed on you (whether by court order, agreement or 12357otherwise) that contradict the conditions of this License, they do not 12358excuse you from the conditions of this License. If you cannot 12359distribute so as to satisfy simultaneously your obligations under this 12360License and any other pertinent obligations, then as a consequence you 12361may not distribute the Program at all. For example, if a patent 12362license would not permit royalty-free redistribution of the Program by 12363all those who receive copies directly or indirectly through you, then 12364the only way you could satisfy both it and this License would be to 12365refrain entirely from distribution of the Program. 12366 12367If any portion of this section is held invalid or unenforceable under 12368any particular circumstance, the balance of the section is intended to 12369apply and the section as a whole is intended to apply in other 12370circumstances. 12371 12372It is not the purpose of this section to induce you to infringe any 12373patents or other property right claims or to contest validity of any 12374such claims; this section has the sole purpose of protecting the 12375integrity of the free software distribution system, which is 12376implemented by public license practices. Many people have made 12377generous contributions to the wide range of software distributed 12378through that system in reliance on consistent application of that 12379system; it is up to the author/donor to decide if he or she is willing 12380to distribute software through any other system and a licensee cannot 12381impose that choice. 12382 12383This section is intended to make thoroughly clear what is believed to 12384be a consequence of the rest of this License. 12385 12386 8. If the distribution and/or use of the Program is restricted in 12387certain countries either by patents or by copyrighted interfaces, the 12388original copyright holder who places the Program under this License 12389may add an explicit geographical distribution limitation excluding 12390those countries, so that distribution is permitted only in or among 12391countries not thus excluded. In such case, this License incorporates 12392the limitation as if written in the body of this License. 12393 12394 9. The Free Software Foundation may publish revised and/or new versions 12395of the General Public License from time to time. Such new versions will 12396be similar in spirit to the present version, but may differ in detail to 12397address new problems or concerns. 12398 12399Each version is given a distinguishing version number. If the Program 12400specifies a version number of this License which applies to it and "any 12401later version", you have the option of following the terms and conditions 12402either of that version or of any later version published by the Free 12403Software Foundation. If the Program does not specify a version number of 12404this License, you may choose any version ever published by the Free Software 12405Foundation. 12406 12407 10. If you wish to incorporate parts of the Program into other free 12408programs whose distribution conditions are different, write to the author 12409to ask for permission. For software which is copyrighted by the Free 12410Software Foundation, write to the Free Software Foundation; we sometimes 12411make exceptions for this. Our decision will be guided by the two goals 12412of preserving the free status of all derivatives of our free software and 12413of promoting the sharing and reuse of software generally. 12414 12415 NO WARRANTY 12416 12417 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 12418FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 12419OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 12420PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 12421OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 12422MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 12423TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 12424PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 12425REPAIR OR CORRECTION. 12426 12427 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 12428WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 12429REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 12430INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 12431OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 12432TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 12433YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 12434PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 12435POSSIBILITY OF SUCH DAMAGES. 12436 12437 END OF TERMS AND CONDITIONS 12438 12439 How to Apply These Terms to Your New Programs 12440 12441 If you develop a new program, and you want it to be of the greatest 12442possible use to the public, the best way to achieve this is to make it 12443free software which everyone can redistribute and change under these terms. 12444 12445 To do so, attach the following notices to the program. It is safest 12446to attach them to the start of each source file to most effectively 12447convey the exclusion of warranty; and each file should have at least 12448the "copyright" line and a pointer to where the full notice is found. 12449 12450 <one line to give the program's name and a brief idea of what it does.> 12451 Copyright (C) <year> <name of author> 12452 12453 This program is free software; you can redistribute it and/or modify 12454 it under the terms of the GNU General Public License as published by 12455 the Free Software Foundation; either version 2 of the License, or 12456 (at your option) any later version. 12457 12458 This program is distributed in the hope that it will be useful, 12459 but WITHOUT ANY WARRANTY; without even the implied warranty of 12460 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12461 GNU General Public License for more details. 12462 12463 You should have received a copy of the GNU General Public License 12464 along with this program; if not, write to the Free Software 12465 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 12466 12467 12468Also add information on how to contact you by electronic and paper mail. 12469 12470If the program is interactive, make it output a short notice like this 12471when it starts in an interactive mode: 12472 12473 Gnomovision version 69, Copyright (C) year name of author 12474 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 12475 This is free software, and you are welcome to redistribute it 12476 under certain conditions; type `show c' for details. 12477 12478The hypothetical commands `show w' and `show c' should show the appropriate 12479parts of the General Public License. Of course, the commands you use may 12480be called something other than `show w' and `show c'; they could even be 12481mouse-clicks or menu items--whatever suits your program. 12482 12483You should also get your employer (if you work as a programmer) or your 12484school, if any, to sign a "copyright disclaimer" for the program, if 12485necessary. Here is a sample; alter the names: 12486 12487 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 12488 `Gnomovision' (which makes passes at compilers) written by James Hacker. 12489 12490 <signature of Ty Coon>, 1 April 1989 12491 Ty Coon, President of Vice 12492 12493This General Public License does not permit incorporating your program into 12494proprietary programs. If your program is a subroutine library, you may 12495consider it more useful to permit linking proprietary applications with the 12496library. If this is what you want to do, use the GNU Library General 12497Public License instead of this License. 12498 GNU LESSER GENERAL PUBLIC LICENSE 12499 Version 3, 29 June 2007 12500 12501 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 12502 Everyone is permitted to copy and distribute verbatim copies 12503 of this license document, but changing it is not allowed. 12504 12505 12506 This version of the GNU Lesser General Public License incorporates 12507the terms and conditions of version 3 of the GNU General Public 12508License, supplemented by the additional permissions listed below. 12509 12510 0. Additional Definitions. 12511 12512 As used herein, "this License" refers to version 3 of the GNU Lesser 12513General Public License, and the "GNU GPL" refers to version 3 of the GNU 12514General Public License. 12515 12516 "The Library" refers to a covered work governed by this License, 12517other than an Application or a Combined Work as defined below. 12518 12519 An "Application" is any work that makes use of an interface provided 12520by the Library, but which is not otherwise based on the Library. 12521Defining a subclass of a class defined by the Library is deemed a mode 12522of using an interface provided by the Library. 12523 12524 A "Combined Work" is a work produced by combining or linking an 12525Application with the Library. The particular version of the Library 12526with which the Combined Work was made is also called the "Linked 12527Version". 12528 12529 The "Minimal Corresponding Source" for a Combined Work means the 12530Corresponding Source for the Combined Work, excluding any source code 12531for portions of the Combined Work that, considered in isolation, are 12532based on the Application, and not on the Linked Version. 12533 12534 The "Corresponding Application Code" for a Combined Work means the 12535object code and/or source code for the Application, including any data 12536and utility programs needed for reproducing the Combined Work from the 12537Application, but excluding the System Libraries of the Combined Work. 12538 12539 1. Exception to Section 3 of the GNU GPL. 12540 12541 You may convey a covered work under sections 3 and 4 of this License 12542without being bound by section 3 of the GNU GPL. 12543 12544 2. Conveying Modified Versions. 12545 12546 If you modify a copy of the Library, and, in your modifications, a 12547facility refers to a function or data to be supplied by an Application 12548that uses the facility (other than as an argument passed when the 12549facility is invoked), then you may convey a copy of the modified 12550version: 12551 12552 a) under this License, provided that you make a good faith effort to 12553 ensure that, in the event an Application does not supply the 12554 function or data, the facility still operates, and performs 12555 whatever part of its purpose remains meaningful, or 12556 12557 b) under the GNU GPL, with none of the additional permissions of 12558 this License applicable to that copy. 12559 12560 3. Object Code Incorporating Material from Library Header Files. 12561 12562 The object code form of an Application may incorporate material from 12563a header file that is part of the Library. You may convey such object 12564code under terms of your choice, provided that, if the incorporated 12565material is not limited to numerical parameters, data structure 12566layouts and accessors, or small macros, inline functions and templates 12567(ten or fewer lines in length), you do both of the following: 12568 12569 a) Give prominent notice with each copy of the object code that the 12570 Library is used in it and that the Library and its use are 12571 covered by this License. 12572 12573 b) Accompany the object code with a copy of the GNU GPL and this license 12574 document. 12575 12576 4. Combined Works. 12577 12578 You may convey a Combined Work under terms of your choice that, 12579taken together, effectively do not restrict modification of the 12580portions of the Library contained in the Combined Work and reverse 12581engineering for debugging such modifications, if you also do each of 12582the following: 12583 12584 a) Give prominent notice with each copy of the Combined Work that 12585 the Library is used in it and that the Library and its use are 12586 covered by this License. 12587 12588 b) Accompany the Combined Work with a copy of the GNU GPL and this license 12589 document. 12590 12591 c) For a Combined Work that displays copyright notices during 12592 execution, include the copyright notice for the Library among 12593 these notices, as well as a reference directing the user to the 12594 copies of the GNU GPL and this license document. 12595 12596 d) Do one of the following: 12597 12598 0) Convey the Minimal Corresponding Source under the terms of this 12599 License, and the Corresponding Application Code in a form 12600 suitable for, and under terms that permit, the user to 12601 recombine or relink the Application with a modified version of 12602 the Linked Version to produce a modified Combined Work, in the 12603 manner specified by section 6 of the GNU GPL for conveying 12604 Corresponding Source. 12605 12606 1) Use a suitable shared library mechanism for linking with the 12607 Library. A suitable mechanism is one that (a) uses at run time 12608 a copy of the Library already present on the user's computer 12609 system, and (b) will operate properly with a modified version 12610 of the Library that is interface-compatible with the Linked 12611 Version. 12612 12613 e) Provide Installation Information, but only if you would otherwise 12614 be required to provide such information under section 6 of the 12615 GNU GPL, and only to the extent that such information is 12616 necessary to install and execute a modified version of the 12617 Combined Work produced by recombining or relinking the 12618 Application with a modified version of the Linked Version. (If 12619 you use option 4d0, the Installation Information must accompany 12620 the Minimal Corresponding Source and Corresponding Application 12621 Code. If you use option 4d1, you must provide the Installation 12622 Information in the manner specified by section 6 of the GNU GPL 12623 for conveying Corresponding Source.) 12624 12625 5. Combined Libraries. 12626 12627 You may place library facilities that are a work based on the 12628Library side by side in a single library together with other library 12629facilities that are not Applications and are not covered by this 12630License, and convey such a combined library under terms of your 12631choice, if you do both of the following: 12632 12633 a) Accompany the combined library with a copy of the same work based 12634 on the Library, uncombined with any other library facilities, 12635 conveyed under the terms of this License. 12636 12637 b) Give prominent notice with the combined library that part of it 12638 is a work based on the Library, and explaining where to find the 12639 accompanying uncombined form of the same work. 12640 12641 6. Revised Versions of the GNU Lesser General Public License. 12642 12643 The Free Software Foundation may publish revised and/or new versions 12644of the GNU Lesser General Public License from time to time. Such new 12645versions will be similar in spirit to the present version, but may 12646differ in detail to address new problems or concerns. 12647 12648 Each version is given a distinguishing version number. If the 12649Library as you received it specifies that a certain numbered version 12650of the GNU Lesser General Public License "or any later version" 12651applies to it, you have the option of following the terms and 12652conditions either of that published version or of any later version 12653published by the Free Software Foundation. If the Library as you 12654received it does not specify a version number of the GNU Lesser 12655General Public License, you may choose any version of the GNU Lesser 12656General Public License ever published by the Free Software Foundation. 12657 12658 If the Library as you received it specifies that a proxy can decide 12659whether future versions of the GNU Lesser General Public License shall 12660apply, that proxy's public statement of acceptance of any version is 12661permanent authorization for you to choose that version for the 12662Library. 12663 GNU GENERAL PUBLIC LICENSE 12664 Version 3, 29 June 2007 12665 12666 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 12667 Everyone is permitted to copy and distribute verbatim copies 12668 of this license document, but changing it is not allowed. 12669 12670 Preamble 12671 12672 The GNU General Public License is a free, copyleft license for 12673software and other kinds of works. 12674 12675 The licenses for most software and other practical works are designed 12676to take away your freedom to share and change the works. By contrast, 12677the GNU General Public License is intended to guarantee your freedom to 12678share and change all versions of a program--to make sure it remains free 12679software for all its users. We, the Free Software Foundation, use the 12680GNU General Public License for most of our software; it applies also to 12681any other work released this way by its authors. You can apply it to 12682your programs, too. 12683 12684 When we speak of free software, we are referring to freedom, not 12685price. Our General Public Licenses are designed to make sure that you 12686have the freedom to distribute copies of free software (and charge for 12687them if you wish), that you receive source code or can get it if you 12688want it, that you can change the software or use pieces of it in new 12689free programs, and that you know you can do these things. 12690 12691 To protect your rights, we need to prevent others from denying you 12692these rights or asking you to surrender the rights. Therefore, you have 12693certain responsibilities if you distribute copies of the software, or if 12694you modify it: responsibilities to respect the freedom of others. 12695 12696 For example, if you distribute copies of such a program, whether 12697gratis or for a fee, you must pass on to the recipients the same 12698freedoms that you received. You must make sure that they, too, receive 12699or can get the source code. And you must show them these terms so they 12700know their rights. 12701 12702 Developers that use the GNU GPL protect your rights with two steps: 12703(1) assert copyright on the software, and (2) offer you this License 12704giving you legal permission to copy, distribute and/or modify it. 12705 12706 For the developers' and authors' protection, the GPL clearly explains 12707that there is no warranty for this free software. For both users' and 12708authors' sake, the GPL requires that modified versions be marked as 12709changed, so that their problems will not be attributed erroneously to 12710authors of previous versions. 12711 12712 Some devices are designed to deny users access to install or run 12713modified versions of the software inside them, although the manufacturer 12714can do so. This is fundamentally incompatible with the aim of 12715protecting users' freedom to change the software. The systematic 12716pattern of such abuse occurs in the area of products for individuals to 12717use, which is precisely where it is most unacceptable. Therefore, we 12718have designed this version of the GPL to prohibit the practice for those 12719products. If such problems arise substantially in other domains, we 12720stand ready to extend this provision to those domains in future versions 12721of the GPL, as needed to protect the freedom of users. 12722 12723 Finally, every program is threatened constantly by software patents. 12724States should not allow patents to restrict development and use of 12725software on general-purpose computers, but in those that do, we wish to 12726avoid the special danger that patents applied to a free program could 12727make it effectively proprietary. To prevent this, the GPL assures that 12728patents cannot be used to render the program non-free. 12729 12730 The precise terms and conditions for copying, distribution and 12731modification follow. 12732 12733 TERMS AND CONDITIONS 12734 12735 0. Definitions. 12736 12737 "This License" refers to version 3 of the GNU General Public License. 12738 12739 "Copyright" also means copyright-like laws that apply to other kinds of 12740works, such as semiconductor masks. 12741 12742 "The Program" refers to any copyrightable work licensed under this 12743License. Each licensee is addressed as "you". "Licensees" and 12744"recipients" may be individuals or organizations. 12745 12746 To "modify" a work means to copy from or adapt all or part of the work 12747in a fashion requiring copyright permission, other than the making of an 12748exact copy. The resulting work is called a "modified version" of the 12749earlier work or a work "based on" the earlier work. 12750 12751 A "covered work" means either the unmodified Program or a work based 12752on the Program. 12753 12754 To "propagate" a work means to do anything with it that, without 12755permission, would make you directly or secondarily liable for 12756infringement under applicable copyright law, except executing it on a 12757computer or modifying a private copy. Propagation includes copying, 12758distribution (with or without modification), making available to the 12759public, and in some countries other activities as well. 12760 12761 To "convey" a work means any kind of propagation that enables other 12762parties to make or receive copies. Mere interaction with a user through 12763a computer network, with no transfer of a copy, is not conveying. 12764 12765 An interactive user interface displays "Appropriate Legal Notices" 12766to the extent that it includes a convenient and prominently visible 12767feature that (1) displays an appropriate copyright notice, and (2) 12768tells the user that there is no warranty for the work (except to the 12769extent that warranties are provided), that licensees may convey the 12770work under this License, and how to view a copy of this License. If 12771the interface presents a list of user commands or options, such as a 12772menu, a prominent item in the list meets this criterion. 12773 12774 1. Source Code. 12775 12776 The "source code" for a work means the preferred form of the work 12777for making modifications to it. "Object code" means any non-source 12778form of a work. 12779 12780 A "Standard Interface" means an interface that either is an official 12781standard defined by a recognized standards body, or, in the case of 12782interfaces specified for a particular programming language, one that 12783is widely used among developers working in that language. 12784 12785 The "System Libraries" of an executable work include anything, other 12786than the work as a whole, that (a) is included in the normal form of 12787packaging a Major Component, but which is not part of that Major 12788Component, and (b) serves only to enable use of the work with that 12789Major Component, or to implement a Standard Interface for which an 12790implementation is available to the public in source code form. A 12791"Major Component", in this context, means a major essential component 12792(kernel, window system, and so on) of the specific operating system 12793(if any) on which the executable work runs, or a compiler used to 12794produce the work, or an object code interpreter used to run it. 12795 12796 The "Corresponding Source" for a work in object code form means all 12797the source code needed to generate, install, and (for an executable 12798work) run the object code and to modify the work, including scripts to 12799control those activities. However, it does not include the work's 12800System Libraries, or general-purpose tools or generally available free 12801programs which are used unmodified in performing those activities but 12802which are not part of the work. For example, Corresponding Source 12803includes interface definition files associated with source files for 12804the work, and the source code for shared libraries and dynamically 12805linked subprograms that the work is specifically designed to require, 12806such as by intimate data communication or control flow between those 12807subprograms and other parts of the work. 12808 12809 The Corresponding Source need not include anything that users 12810can regenerate automatically from other parts of the Corresponding 12811Source. 12812 12813 The Corresponding Source for a work in source code form is that 12814same work. 12815 12816 2. Basic Permissions. 12817 12818 All rights granted under this License are granted for the term of 12819copyright on the Program, and are irrevocable provided the stated 12820conditions are met. This License explicitly affirms your unlimited 12821permission to run the unmodified Program. The output from running a 12822covered work is covered by this License only if the output, given its 12823content, constitutes a covered work. This License acknowledges your 12824rights of fair use or other equivalent, as provided by copyright law. 12825 12826 You may make, run and propagate covered works that you do not 12827convey, without conditions so long as your license otherwise remains 12828in force. You may convey covered works to others for the sole purpose 12829of having them make modifications exclusively for you, or provide you 12830with facilities for running those works, provided that you comply with 12831the terms of this License in conveying all material for which you do 12832not control copyright. Those thus making or running the covered works 12833for you must do so exclusively on your behalf, under your direction 12834and control, on terms that prohibit them from making any copies of 12835your copyrighted material outside their relationship with you. 12836 12837 Conveying under any other circumstances is permitted solely under 12838the conditions stated below. Sublicensing is not allowed; section 10 12839makes it unnecessary. 12840 12841 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 12842 12843 No covered work shall be deemed part of an effective technological 12844measure under any applicable law fulfilling obligations under article 1284511 of the WIPO copyright treaty adopted on 20 December 1996, or 12846similar laws prohibiting or restricting circumvention of such 12847measures. 12848 12849 When you convey a covered work, you waive any legal power to forbid 12850circumvention of technological measures to the extent such circumvention 12851is effected by exercising rights under this License with respect to 12852the covered work, and you disclaim any intention to limit operation or 12853modification of the work as a means of enforcing, against the work's 12854users, your or third parties' legal rights to forbid circumvention of 12855technological measures. 12856 12857 4. Conveying Verbatim Copies. 12858 12859 You may convey verbatim copies of the Program's source code as you 12860receive it, in any medium, provided that you conspicuously and 12861appropriately publish on each copy an appropriate copyright notice; 12862keep intact all notices stating that this License and any 12863non-permissive terms added in accord with section 7 apply to the code; 12864keep intact all notices of the absence of any warranty; and give all 12865recipients a copy of this License along with the Program. 12866 12867 You may charge any price or no price for each copy that you convey, 12868and you may offer support or warranty protection for a fee. 12869 12870 5. Conveying Modified Source Versions. 12871 12872 You may convey a work based on the Program, or the modifications to 12873produce it from the Program, in the form of source code under the 12874terms of section 4, provided that you also meet all of these conditions: 12875 12876 a) The work must carry prominent notices stating that you modified 12877 it, and giving a relevant date. 12878 12879 b) The work must carry prominent notices stating that it is 12880 released under this License and any conditions added under section 12881 7. This requirement modifies the requirement in section 4 to 12882 "keep intact all notices". 12883 12884 c) You must license the entire work, as a whole, under this 12885 License to anyone who comes into possession of a copy. This 12886 License will therefore apply, along with any applicable section 7 12887 additional terms, to the whole of the work, and all its parts, 12888 regardless of how they are packaged. This License gives no 12889 permission to license the work in any other way, but it does not 12890 invalidate such permission if you have separately received it. 12891 12892 d) If the work has interactive user interfaces, each must display 12893 Appropriate Legal Notices; however, if the Program has interactive 12894 interfaces that do not display Appropriate Legal Notices, your 12895 work need not make them do so. 12896 12897 A compilation of a covered work with other separate and independent 12898works, which are not by their nature extensions of the covered work, 12899and which are not combined with it such as to form a larger program, 12900in or on a volume of a storage or distribution medium, is called an 12901"aggregate" if the compilation and its resulting copyright are not 12902used to limit the access or legal rights of the compilation's users 12903beyond what the individual works permit. Inclusion of a covered work 12904in an aggregate does not cause this License to apply to the other 12905parts of the aggregate. 12906 12907 6. Conveying Non-Source Forms. 12908 12909 You may convey a covered work in object code form under the terms 12910of sections 4 and 5, provided that you also convey the 12911machine-readable Corresponding Source under the terms of this License, 12912in one of these ways: 12913 12914 a) Convey the object code in, or embodied in, a physical product 12915 (including a physical distribution medium), accompanied by the 12916 Corresponding Source fixed on a durable physical medium 12917 customarily used for software interchange. 12918 12919 b) Convey the object code in, or embodied in, a physical product 12920 (including a physical distribution medium), accompanied by a 12921 written offer, valid for at least three years and valid for as 12922 long as you offer spare parts or customer support for that product 12923 model, to give anyone who possesses the object code either (1) a 12924 copy of the Corresponding Source for all the software in the 12925 product that is covered by this License, on a durable physical 12926 medium customarily used for software interchange, for a price no 12927 more than your reasonable cost of physically performing this 12928 conveying of source, or (2) access to copy the 12929 Corresponding Source from a network server at no charge. 12930 12931 c) Convey individual copies of the object code with a copy of the 12932 written offer to provide the Corresponding Source. This 12933 alternative is allowed only occasionally and noncommercially, and 12934 only if you received the object code with such an offer, in accord 12935 with subsection 6b. 12936 12937 d) Convey the object code by offering access from a designated 12938 place (gratis or for a charge), and offer equivalent access to the 12939 Corresponding Source in the same way through the same place at no 12940 further charge. You need not require recipients to copy the 12941 Corresponding Source along with the object code. If the place to 12942 copy the object code is a network server, the Corresponding Source 12943 may be on a different server (operated by you or a third party) 12944 that supports equivalent copying facilities, provided you maintain 12945 clear directions next to the object code saying where to find the 12946 Corresponding Source. Regardless of what server hosts the 12947 Corresponding Source, you remain obligated to ensure that it is 12948 available for as long as needed to satisfy these requirements. 12949 12950 e) Convey the object code using peer-to-peer transmission, provided 12951 you inform other peers where the object code and Corresponding 12952 Source of the work are being offered to the general public at no 12953 charge under subsection 6d. 12954 12955 A separable portion of the object code, whose source code is excluded 12956from the Corresponding Source as a System Library, need not be 12957included in conveying the object code work. 12958 12959 A "User Product" is either (1) a "consumer product", which means any 12960tangible personal property which is normally used for personal, family, 12961or household purposes, or (2) anything designed or sold for incorporation 12962into a dwelling. In determining whether a product is a consumer product, 12963doubtful cases shall be resolved in favor of coverage. For a particular 12964product received by a particular user, "normally used" refers to a 12965typical or common use of that class of product, regardless of the status 12966of the particular user or of the way in which the particular user 12967actually uses, or expects or is expected to use, the product. A product 12968is a consumer product regardless of whether the product has substantial 12969commercial, industrial or non-consumer uses, unless such uses represent 12970the only significant mode of use of the product. 12971 12972 "Installation Information" for a User Product means any methods, 12973procedures, authorization keys, or other information required to install 12974and execute modified versions of a covered work in that User Product from 12975a modified version of its Corresponding Source. The information must 12976suffice to ensure that the continued functioning of the modified object 12977code is in no case prevented or interfered with solely because 12978modification has been made. 12979 12980 If you convey an object code work under this section in, or with, or 12981specifically for use in, a User Product, and the conveying occurs as 12982part of a transaction in which the right of possession and use of the 12983User Product is transferred to the recipient in perpetuity or for a 12984fixed term (regardless of how the transaction is characterized), the 12985Corresponding Source conveyed under this section must be accompanied 12986by the Installation Information. But this requirement does not apply 12987if neither you nor any third party retains the ability to install 12988modified object code on the User Product (for example, the work has 12989been installed in ROM). 12990 12991 The requirement to provide Installation Information does not include a 12992requirement to continue to provide support service, warranty, or updates 12993for a work that has been modified or installed by the recipient, or for 12994the User Product in which it has been modified or installed. Access to a 12995network may be denied when the modification itself materially and 12996adversely affects the operation of the network or violates the rules and 12997protocols for communication across the network. 12998 12999 Corresponding Source conveyed, and Installation Information provided, 13000in accord with this section must be in a format that is publicly 13001documented (and with an implementation available to the public in 13002source code form), and must require no special password or key for 13003unpacking, reading or copying. 13004 13005 7. Additional Terms. 13006 13007 "Additional permissions" are terms that supplement the terms of this 13008License by making exceptions from one or more of its conditions. 13009Additional permissions that are applicable to the entire Program shall 13010be treated as though they were included in this License, to the extent 13011that they are valid under applicable law. If additional permissions 13012apply only to part of the Program, that part may be used separately 13013under those permissions, but the entire Program remains governed by 13014this License without regard to the additional permissions. 13015 13016 When you convey a copy of a covered work, you may at your option 13017remove any additional permissions from that copy, or from any part of 13018it. (Additional permissions may be written to require their own 13019removal in certain cases when you modify the work.) You may place 13020additional permissions on material, added by you to a covered work, 13021for which you have or can give appropriate copyright permission. 13022 13023 Notwithstanding any other provision of this License, for material you 13024add to a covered work, you may (if authorized by the copyright holders of 13025that material) supplement the terms of this License with terms: 13026 13027 a) Disclaiming warranty or limiting liability differently from the 13028 terms of sections 15 and 16 of this License; or 13029 13030 b) Requiring preservation of specified reasonable legal notices or 13031 author attributions in that material or in the Appropriate Legal 13032 Notices displayed by works containing it; or 13033 13034 c) Prohibiting misrepresentation of the origin of that material, or 13035 requiring that modified versions of such material be marked in 13036 reasonable ways as different from the original version; or 13037 13038 d) Limiting the use for publicity purposes of names of licensors or 13039 authors of the material; or 13040 13041 e) Declining to grant rights under trademark law for use of some 13042 trade names, trademarks, or service marks; or 13043 13044 f) Requiring indemnification of licensors and authors of that 13045 material by anyone who conveys the material (or modified versions of 13046 it) with contractual assumptions of liability to the recipient, for 13047 any liability that these contractual assumptions directly impose on 13048 those licensors and authors. 13049 13050 All other non-permissive additional terms are considered "further 13051restrictions" within the meaning of section 10. If the Program as you 13052received it, or any part of it, contains a notice stating that it is 13053governed by this License along with a term that is a further 13054restriction, you may remove that term. If a license document contains 13055a further restriction but permits relicensing or conveying under this 13056License, you may add to a covered work material governed by the terms 13057of that license document, provided that the further restriction does 13058not survive such relicensing or conveying. 13059 13060 If you add terms to a covered work in accord with this section, you 13061must place, in the relevant source files, a statement of the 13062additional terms that apply to those files, or a notice indicating 13063where to find the applicable terms. 13064 13065 Additional terms, permissive or non-permissive, may be stated in the 13066form of a separately written license, or stated as exceptions; 13067the above requirements apply either way. 13068 13069 8. Termination. 13070 13071 You may not propagate or modify a covered work except as expressly 13072provided under this License. Any attempt otherwise to propagate or 13073modify it is void, and will automatically terminate your rights under 13074this License (including any patent licenses granted under the third 13075paragraph of section 11). 13076 13077 However, if you cease all violation of this License, then your 13078license from a particular copyright holder is reinstated (a) 13079provisionally, unless and until the copyright holder explicitly and 13080finally terminates your license, and (b) permanently, if the copyright 13081holder fails to notify you of the violation by some reasonable means 13082prior to 60 days after the cessation. 13083 13084 Moreover, your license from a particular copyright holder is 13085reinstated permanently if the copyright holder notifies you of the 13086violation by some reasonable means, this is the first time you have 13087received notice of violation of this License (for any work) from that 13088copyright holder, and you cure the violation prior to 30 days after 13089your receipt of the notice. 13090 13091 Termination of your rights under this section does not terminate the 13092licenses of parties who have received copies or rights from you under 13093this License. If your rights have been terminated and not permanently 13094reinstated, you do not qualify to receive new licenses for the same 13095material under section 10. 13096 13097 9. Acceptance Not Required for Having Copies. 13098 13099 You are not required to accept this License in order to receive or 13100run a copy of the Program. Ancillary propagation of a covered work 13101occurring solely as a consequence of using peer-to-peer transmission 13102to receive a copy likewise does not require acceptance. However, 13103nothing other than this License grants you permission to propagate or 13104modify any covered work. These actions infringe copyright if you do 13105not accept this License. Therefore, by modifying or propagating a 13106covered work, you indicate your acceptance of this License to do so. 13107 13108 10. Automatic Licensing of Downstream Recipients. 13109 13110 Each time you convey a covered work, the recipient automatically 13111receives a license from the original licensors, to run, modify and 13112propagate that work, subject to this License. You are not responsible 13113for enforcing compliance by third parties with this License. 13114 13115 An "entity transaction" is a transaction transferring control of an 13116organization, or substantially all assets of one, or subdividing an 13117organization, or merging organizations. If propagation of a covered 13118work results from an entity transaction, each party to that 13119transaction who receives a copy of the work also receives whatever 13120licenses to the work the party's predecessor in interest had or could 13121give under the previous paragraph, plus a right to possession of the 13122Corresponding Source of the work from the predecessor in interest, if 13123the predecessor has it or can get it with reasonable efforts. 13124 13125 You may not impose any further restrictions on the exercise of the 13126rights granted or affirmed under this License. For example, you may 13127not impose a license fee, royalty, or other charge for exercise of 13128rights granted under this License, and you may not initiate litigation 13129(including a cross-claim or counterclaim in a lawsuit) alleging that 13130any patent claim is infringed by making, using, selling, offering for 13131sale, or importing the Program or any portion of it. 13132 13133 11. Patents. 13134 13135 A "contributor" is a copyright holder who authorizes use under this 13136License of the Program or a work on which the Program is based. The 13137work thus licensed is called the contributor's "contributor version". 13138 13139 A contributor's "essential patent claims" are all patent claims 13140owned or controlled by the contributor, whether already acquired or 13141hereafter acquired, that would be infringed by some manner, permitted 13142by this License, of making, using, or selling its contributor version, 13143but do not include claims that would be infringed only as a 13144consequence of further modification of the contributor version. For 13145purposes of this definition, "control" includes the right to grant 13146patent sublicenses in a manner consistent with the requirements of 13147this License. 13148 13149 Each contributor grants you a non-exclusive, worldwide, royalty-free 13150patent license under the contributor's essential patent claims, to 13151make, use, sell, offer for sale, import and otherwise run, modify and 13152propagate the contents of its contributor version. 13153 13154 In the following three paragraphs, a "patent license" is any express 13155agreement or commitment, however denominated, not to enforce a patent 13156(such as an express permission to practice a patent or covenant not to 13157sue for patent infringement). To "grant" such a patent license to a 13158party means to make such an agreement or commitment not to enforce a 13159patent against the party. 13160 13161 If you convey a covered work, knowingly relying on a patent license, 13162and the Corresponding Source of the work is not available for anyone 13163to copy, free of charge and under the terms of this License, through a 13164publicly available network server or other readily accessible means, 13165then you must either (1) cause the Corresponding Source to be so 13166available, or (2) arrange to deprive yourself of the benefit of the 13167patent license for this particular work, or (3) arrange, in a manner 13168consistent with the requirements of this License, to extend the patent 13169license to downstream recipients. "Knowingly relying" means you have 13170actual knowledge that, but for the patent license, your conveying the 13171covered work in a country, or your recipient's use of the covered work 13172in a country, would infringe one or more identifiable patents in that 13173country that you have reason to believe are valid. 13174 13175 If, pursuant to or in connection with a single transaction or 13176arrangement, you convey, or propagate by procuring conveyance of, a 13177covered work, and grant a patent license to some of the parties 13178receiving the covered work authorizing them to use, propagate, modify 13179or convey a specific copy of the covered work, then the patent license 13180you grant is automatically extended to all recipients of the covered 13181work and works based on it. 13182 13183 A patent license is "discriminatory" if it does not include within 13184the scope of its coverage, prohibits the exercise of, or is 13185conditioned on the non-exercise of one or more of the rights that are 13186specifically granted under this License. You may not convey a covered 13187work if you are a party to an arrangement with a third party that is 13188in the business of distributing software, under which you make payment 13189to the third party based on the extent of your activity of conveying 13190the work, and under which the third party grants, to any of the 13191parties who would receive the covered work from you, a discriminatory 13192patent license (a) in connection with copies of the covered work 13193conveyed by you (or copies made from those copies), or (b) primarily 13194for and in connection with specific products or compilations that 13195contain the covered work, unless you entered into that arrangement, 13196or that patent license was granted, prior to 28 March 2007. 13197 13198 Nothing in this License shall be construed as excluding or limiting 13199any implied license or other defenses to infringement that may 13200otherwise be available to you under applicable patent law. 13201 13202 12. No Surrender of Others' Freedom. 13203 13204 If conditions are imposed on you (whether by court order, agreement or 13205otherwise) that contradict the conditions of this License, they do not 13206excuse you from the conditions of this License. If you cannot convey a 13207covered work so as to satisfy simultaneously your obligations under this 13208License and any other pertinent obligations, then as a consequence you may 13209not convey it at all. For example, if you agree to terms that obligate you 13210to collect a royalty for further conveying from those to whom you convey 13211the Program, the only way you could satisfy both those terms and this 13212License would be to refrain entirely from conveying the Program. 13213 13214 13. Use with the GNU Affero General Public License. 13215 13216 Notwithstanding any other provision of this License, you have 13217permission to link or combine any covered work with a work licensed 13218under version 3 of the GNU Affero General Public License into a single 13219combined work, and to convey the resulting work. The terms of this 13220License will continue to apply to the part which is the covered work, 13221but the special requirements of the GNU Affero General Public License, 13222section 13, concerning interaction through a network will apply to the 13223combination as such. 13224 13225 14. Revised Versions of this License. 13226 13227 The Free Software Foundation may publish revised and/or new versions of 13228the GNU General Public License from time to time. Such new versions will 13229be similar in spirit to the present version, but may differ in detail to 13230address new problems or concerns. 13231 13232 Each version is given a distinguishing version number. If the 13233Program specifies that a certain numbered version of the GNU General 13234Public License "or any later version" applies to it, you have the 13235option of following the terms and conditions either of that numbered 13236version or of any later version published by the Free Software 13237Foundation. If the Program does not specify a version number of the 13238GNU General Public License, you may choose any version ever published 13239by the Free Software Foundation. 13240 13241 If the Program specifies that a proxy can decide which future 13242versions of the GNU General Public License can be used, that proxy's 13243public statement of acceptance of a version permanently authorizes you 13244to choose that version for the Program. 13245 13246 Later license versions may give you additional or different 13247permissions. However, no additional obligations are imposed on any 13248author or copyright holder as a result of your choosing to follow a 13249later version. 13250 13251 15. Disclaimer of Warranty. 13252 13253 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 13254APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 13255HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 13256OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 13257THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 13258PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 13259IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 13260ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 13261 13262 16. Limitation of Liability. 13263 13264 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 13265WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 13266THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 13267GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 13268USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 13269DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 13270PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 13271EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 13272SUCH DAMAGES. 13273 13274 17. Interpretation of Sections 15 and 16. 13275 13276 If the disclaimer of warranty and limitation of liability provided 13277above cannot be given local legal effect according to their terms, 13278reviewing courts shall apply local law that most closely approximates 13279an absolute waiver of all civil liability in connection with the 13280Program, unless a warranty or assumption of liability accompanies a 13281copy of the Program in return for a fee. 13282 13283 END OF TERMS AND CONDITIONS 13284 13285 How to Apply These Terms to Your New Programs 13286 13287 If you develop a new program, and you want it to be of the greatest 13288possible use to the public, the best way to achieve this is to make it 13289free software which everyone can redistribute and change under these terms. 13290 13291 To do so, attach the following notices to the program. It is safest 13292to attach them to the start of each source file to most effectively 13293state the exclusion of warranty; and each file should have at least 13294the "copyright" line and a pointer to where the full notice is found. 13295 13296 <one line to give the program's name and a brief idea of what it does.> 13297 Copyright (C) <year> <name of author> 13298 13299 This program is free software: you can redistribute it and/or modify 13300 it under the terms of the GNU General Public License as published by 13301 the Free Software Foundation, either version 3 of the License, or 13302 (at your option) any later version. 13303 13304 This program is distributed in the hope that it will be useful, 13305 but WITHOUT ANY WARRANTY; without even the implied warranty of 13306 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13307 GNU General Public License for more details. 13308 13309 You should have received a copy of the GNU General Public License 13310 along with this program. If not, see <http://www.gnu.org/licenses/>. 13311 13312Also add information on how to contact you by electronic and paper mail. 13313 13314 If the program does terminal interaction, make it output a short 13315notice like this when it starts in an interactive mode: 13316 13317 <program> Copyright (C) <year> <name of author> 13318 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 13319 This is free software, and you are welcome to redistribute it 13320 under certain conditions; type `show c' for details. 13321 13322The hypothetical commands `show w' and `show c' should show the appropriate 13323parts of the General Public License. Of course, your program's commands 13324might be different; for a GUI interface, you would use an "about box". 13325 13326 You should also get your employer (if you work as a programmer) or school, 13327if any, to sign a "copyright disclaimer" for the program, if necessary. 13328For more information on this, and how to apply and follow the GNU GPL, see 13329<http://www.gnu.org/licenses/>. 13330 13331 The GNU General Public License does not permit incorporating your program 13332into proprietary programs. If your program is a subroutine library, you 13333may consider it more useful to permit linking proprietary applications with 13334the library. If this is what you want to do, use the GNU Lesser General 13335Public License instead of this License. But first, please read 13336<http://www.gnu.org/philosophy/why-not-lgpl.html>. 13337 GNU LESSER GENERAL PUBLIC LICENSE 13338 Version 3, 29 June 2007 13339 13340 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 13341 Everyone is permitted to copy and distribute verbatim copies 13342 of this license document, but changing it is not allowed. 13343 13344 13345 This version of the GNU Lesser General Public License incorporates 13346the terms and conditions of version 3 of the GNU General Public 13347License, supplemented by the additional permissions listed below. 13348 13349 0. Additional Definitions. 13350 13351 As used herein, "this License" refers to version 3 of the GNU Lesser 13352General Public License, and the "GNU GPL" refers to version 3 of the GNU 13353General Public License. 13354 13355 "The Library" refers to a covered work governed by this License, 13356other than an Application or a Combined Work as defined below. 13357 13358 An "Application" is any work that makes use of an interface provided 13359by the Library, but which is not otherwise based on the Library. 13360Defining a subclass of a class defined by the Library is deemed a mode 13361of using an interface provided by the Library. 13362 13363 A "Combined Work" is a work produced by combining or linking an 13364Application with the Library. The particular version of the Library 13365with which the Combined Work was made is also called the "Linked 13366Version". 13367 13368 The "Minimal Corresponding Source" for a Combined Work means the 13369Corresponding Source for the Combined Work, excluding any source code 13370for portions of the Combined Work that, considered in isolation, are 13371based on the Application, and not on the Linked Version. 13372 13373 The "Corresponding Application Code" for a Combined Work means the 13374object code and/or source code for the Application, including any data 13375and utility programs needed for reproducing the Combined Work from the 13376Application, but excluding the System Libraries of the Combined Work. 13377 13378 1. Exception to Section 3 of the GNU GPL. 13379 13380 You may convey a covered work under sections 3 and 4 of this License 13381without being bound by section 3 of the GNU GPL. 13382 13383 2. Conveying Modified Versions. 13384 13385 If you modify a copy of the Library, and, in your modifications, a 13386facility refers to a function or data to be supplied by an Application 13387that uses the facility (other than as an argument passed when the 13388facility is invoked), then you may convey a copy of the modified 13389version: 13390 13391 a) under this License, provided that you make a good faith effort to 13392 ensure that, in the event an Application does not supply the 13393 function or data, the facility still operates, and performs 13394 whatever part of its purpose remains meaningful, or 13395 13396 b) under the GNU GPL, with none of the additional permissions of 13397 this License applicable to that copy. 13398 13399 3. Object Code Incorporating Material from Library Header Files. 13400 13401 The object code form of an Application may incorporate material from 13402a header file that is part of the Library. You may convey such object 13403code under terms of your choice, provided that, if the incorporated 13404material is not limited to numerical parameters, data structure 13405layouts and accessors, or small macros, inline functions and templates 13406(ten or fewer lines in length), you do both of the following: 13407 13408 a) Give prominent notice with each copy of the object code that the 13409 Library is used in it and that the Library and its use are 13410 covered by this License. 13411 13412 b) Accompany the object code with a copy of the GNU GPL and this license 13413 document. 13414 13415 4. Combined Works. 13416 13417 You may convey a Combined Work under terms of your choice that, 13418taken together, effectively do not restrict modification of the 13419portions of the Library contained in the Combined Work and reverse 13420engineering for debugging such modifications, if you also do each of 13421the following: 13422 13423 a) Give prominent notice with each copy of the Combined Work that 13424 the Library is used in it and that the Library and its use are 13425 covered by this License. 13426 13427 b) Accompany the Combined Work with a copy of the GNU GPL and this license 13428 document. 13429 13430 c) For a Combined Work that displays copyright notices during 13431 execution, include the copyright notice for the Library among 13432 these notices, as well as a reference directing the user to the 13433 copies of the GNU GPL and this license document. 13434 13435 d) Do one of the following: 13436 13437 0) Convey the Minimal Corresponding Source under the terms of this 13438 License, and the Corresponding Application Code in a form 13439 suitable for, and under terms that permit, the user to 13440 recombine or relink the Application with a modified version of 13441 the Linked Version to produce a modified Combined Work, in the 13442 manner specified by section 6 of the GNU GPL for conveying 13443 Corresponding Source. 13444 13445 1) Use a suitable shared library mechanism for linking with the 13446 Library. A suitable mechanism is one that (a) uses at run time 13447 a copy of the Library already present on the user's computer 13448 system, and (b) will operate properly with a modified version 13449 of the Library that is interface-compatible with the Linked 13450 Version. 13451 13452 e) Provide Installation Information, but only if you would otherwise 13453 be required to provide such information under section 6 of the 13454 GNU GPL, and only to the extent that such information is 13455 necessary to install and execute a modified version of the 13456 Combined Work produced by recombining or relinking the 13457 Application with a modified version of the Linked Version. (If 13458 you use option 4d0, the Installation Information must accompany 13459 the Minimal Corresponding Source and Corresponding Application 13460 Code. If you use option 4d1, you must provide the Installation 13461 Information in the manner specified by section 6 of the GNU GPL 13462 for conveying Corresponding Source.) 13463 13464 5. Combined Libraries. 13465 13466 You may place library facilities that are a work based on the 13467Library side by side in a single library together with other library 13468facilities that are not Applications and are not covered by this 13469License, and convey such a combined library under terms of your 13470choice, if you do both of the following: 13471 13472 a) Accompany the combined library with a copy of the same work based 13473 on the Library, uncombined with any other library facilities, 13474 conveyed under the terms of this License. 13475 13476 b) Give prominent notice with the combined library that part of it 13477 is a work based on the Library, and explaining where to find the 13478 accompanying uncombined form of the same work. 13479 13480 6. Revised Versions of the GNU Lesser General Public License. 13481 13482 The Free Software Foundation may publish revised and/or new versions 13483of the GNU Lesser General Public License from time to time. Such new 13484versions will be similar in spirit to the present version, but may 13485differ in detail to address new problems or concerns. 13486 13487 Each version is given a distinguishing version number. If the 13488Library as you received it specifies that a certain numbered version 13489of the GNU Lesser General Public License "or any later version" 13490applies to it, you have the option of following the terms and 13491conditions either of that published version or of any later version 13492published by the Free Software Foundation. If the Library as you 13493received it does not specify a version number of the GNU Lesser 13494General Public License, you may choose any version of the GNU Lesser 13495General Public License ever published by the Free Software Foundation. 13496 13497 If the Library as you received it specifies that a proxy can decide 13498whether future versions of the GNU Lesser General Public License shall 13499apply, that proxy's public statement of acceptance of any version is 13500permanent authorization for you to choose that version for the 13501Library. 13502 GNU GENERAL PUBLIC LICENSE 13503 Version 3, 29 June 2007 13504 13505 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 13506 Everyone is permitted to copy and distribute verbatim copies 13507 of this license document, but changing it is not allowed. 13508 13509 Preamble 13510 13511 The GNU General Public License is a free, copyleft license for 13512software and other kinds of works. 13513 13514 The licenses for most software and other practical works are designed 13515to take away your freedom to share and change the works. By contrast, 13516the GNU General Public License is intended to guarantee your freedom to 13517share and change all versions of a program--to make sure it remains free 13518software for all its users. We, the Free Software Foundation, use the 13519GNU General Public License for most of our software; it applies also to 13520any other work released this way by its authors. You can apply it to 13521your programs, too. 13522 13523 When we speak of free software, we are referring to freedom, not 13524price. Our General Public Licenses are designed to make sure that you 13525have the freedom to distribute copies of free software (and charge for 13526them if you wish), that you receive source code or can get it if you 13527want it, that you can change the software or use pieces of it in new 13528free programs, and that you know you can do these things. 13529 13530 To protect your rights, we need to prevent others from denying you 13531these rights or asking you to surrender the rights. Therefore, you have 13532certain responsibilities if you distribute copies of the software, or if 13533you modify it: responsibilities to respect the freedom of others. 13534 13535 For example, if you distribute copies of such a program, whether 13536gratis or for a fee, you must pass on to the recipients the same 13537freedoms that you received. You must make sure that they, too, receive 13538or can get the source code. And you must show them these terms so they 13539know their rights. 13540 13541 Developers that use the GNU GPL protect your rights with two steps: 13542(1) assert copyright on the software, and (2) offer you this License 13543giving you legal permission to copy, distribute and/or modify it. 13544 13545 For the developers' and authors' protection, the GPL clearly explains 13546that there is no warranty for this free software. For both users' and 13547authors' sake, the GPL requires that modified versions be marked as 13548changed, so that their problems will not be attributed erroneously to 13549authors of previous versions. 13550 13551 Some devices are designed to deny users access to install or run 13552modified versions of the software inside them, although the manufacturer 13553can do so. This is fundamentally incompatible with the aim of 13554protecting users' freedom to change the software. The systematic 13555pattern of such abuse occurs in the area of products for individuals to 13556use, which is precisely where it is most unacceptable. Therefore, we 13557have designed this version of the GPL to prohibit the practice for those 13558products. If such problems arise substantially in other domains, we 13559stand ready to extend this provision to those domains in future versions 13560of the GPL, as needed to protect the freedom of users. 13561 13562 Finally, every program is threatened constantly by software patents. 13563States should not allow patents to restrict development and use of 13564software on general-purpose computers, but in those that do, we wish to 13565avoid the special danger that patents applied to a free program could 13566make it effectively proprietary. To prevent this, the GPL assures that 13567patents cannot be used to render the program non-free. 13568 13569 The precise terms and conditions for copying, distribution and 13570modification follow. 13571 13572 TERMS AND CONDITIONS 13573 13574 0. Definitions. 13575 13576 "This License" refers to version 3 of the GNU General Public License. 13577 13578 "Copyright" also means copyright-like laws that apply to other kinds of 13579works, such as semiconductor masks. 13580 13581 "The Program" refers to any copyrightable work licensed under this 13582License. Each licensee is addressed as "you". "Licensees" and 13583"recipients" may be individuals or organizations. 13584 13585 To "modify" a work means to copy from or adapt all or part of the work 13586in a fashion requiring copyright permission, other than the making of an 13587exact copy. The resulting work is called a "modified version" of the 13588earlier work or a work "based on" the earlier work. 13589 13590 A "covered work" means either the unmodified Program or a work based 13591on the Program. 13592 13593 To "propagate" a work means to do anything with it that, without 13594permission, would make you directly or secondarily liable for 13595infringement under applicable copyright law, except executing it on a 13596computer or modifying a private copy. Propagation includes copying, 13597distribution (with or without modification), making available to the 13598public, and in some countries other activities as well. 13599 13600 To "convey" a work means any kind of propagation that enables other 13601parties to make or receive copies. Mere interaction with a user through 13602a computer network, with no transfer of a copy, is not conveying. 13603 13604 An interactive user interface displays "Appropriate Legal Notices" 13605to the extent that it includes a convenient and prominently visible 13606feature that (1) displays an appropriate copyright notice, and (2) 13607tells the user that there is no warranty for the work (except to the 13608extent that warranties are provided), that licensees may convey the 13609work under this License, and how to view a copy of this License. If 13610the interface presents a list of user commands or options, such as a 13611menu, a prominent item in the list meets this criterion. 13612 13613 1. Source Code. 13614 13615 The "source code" for a work means the preferred form of the work 13616for making modifications to it. "Object code" means any non-source 13617form of a work. 13618 13619 A "Standard Interface" means an interface that either is an official 13620standard defined by a recognized standards body, or, in the case of 13621interfaces specified for a particular programming language, one that 13622is widely used among developers working in that language. 13623 13624 The "System Libraries" of an executable work include anything, other 13625than the work as a whole, that (a) is included in the normal form of 13626packaging a Major Component, but which is not part of that Major 13627Component, and (b) serves only to enable use of the work with that 13628Major Component, or to implement a Standard Interface for which an 13629implementation is available to the public in source code form. A 13630"Major Component", in this context, means a major essential component 13631(kernel, window system, and so on) of the specific operating system 13632(if any) on which the executable work runs, or a compiler used to 13633produce the work, or an object code interpreter used to run it. 13634 13635 The "Corresponding Source" for a work in object code form means all 13636the source code needed to generate, install, and (for an executable 13637work) run the object code and to modify the work, including scripts to 13638control those activities. However, it does not include the work's 13639System Libraries, or general-purpose tools or generally available free 13640programs which are used unmodified in performing those activities but 13641which are not part of the work. For example, Corresponding Source 13642includes interface definition files associated with source files for 13643the work, and the source code for shared libraries and dynamically 13644linked subprograms that the work is specifically designed to require, 13645such as by intimate data communication or control flow between those 13646subprograms and other parts of the work. 13647 13648 The Corresponding Source need not include anything that users 13649can regenerate automatically from other parts of the Corresponding 13650Source. 13651 13652 The Corresponding Source for a work in source code form is that 13653same work. 13654 13655 2. Basic Permissions. 13656 13657 All rights granted under this License are granted for the term of 13658copyright on the Program, and are irrevocable provided the stated 13659conditions are met. This License explicitly affirms your unlimited 13660permission to run the unmodified Program. The output from running a 13661covered work is covered by this License only if the output, given its 13662content, constitutes a covered work. This License acknowledges your 13663rights of fair use or other equivalent, as provided by copyright law. 13664 13665 You may make, run and propagate covered works that you do not 13666convey, without conditions so long as your license otherwise remains 13667in force. You may convey covered works to others for the sole purpose 13668of having them make modifications exclusively for you, or provide you 13669with facilities for running those works, provided that you comply with 13670the terms of this License in conveying all material for which you do 13671not control copyright. Those thus making or running the covered works 13672for you must do so exclusively on your behalf, under your direction 13673and control, on terms that prohibit them from making any copies of 13674your copyrighted material outside their relationship with you. 13675 13676 Conveying under any other circumstances is permitted solely under 13677the conditions stated below. Sublicensing is not allowed; section 10 13678makes it unnecessary. 13679 13680 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 13681 13682 No covered work shall be deemed part of an effective technological 13683measure under any applicable law fulfilling obligations under article 1368411 of the WIPO copyright treaty adopted on 20 December 1996, or 13685similar laws prohibiting or restricting circumvention of such 13686measures. 13687 13688 When you convey a covered work, you waive any legal power to forbid 13689circumvention of technological measures to the extent such circumvention 13690is effected by exercising rights under this License with respect to 13691the covered work, and you disclaim any intention to limit operation or 13692modification of the work as a means of enforcing, against the work's 13693users, your or third parties' legal rights to forbid circumvention of 13694technological measures. 13695 13696 4. Conveying Verbatim Copies. 13697 13698 You may convey verbatim copies of the Program's source code as you 13699receive it, in any medium, provided that you conspicuously and 13700appropriately publish on each copy an appropriate copyright notice; 13701keep intact all notices stating that this License and any 13702non-permissive terms added in accord with section 7 apply to the code; 13703keep intact all notices of the absence of any warranty; and give all 13704recipients a copy of this License along with the Program. 13705 13706 You may charge any price or no price for each copy that you convey, 13707and you may offer support or warranty protection for a fee. 13708 13709 5. Conveying Modified Source Versions. 13710 13711 You may convey a work based on the Program, or the modifications to 13712produce it from the Program, in the form of source code under the 13713terms of section 4, provided that you also meet all of these conditions: 13714 13715 a) The work must carry prominent notices stating that you modified 13716 it, and giving a relevant date. 13717 13718 b) The work must carry prominent notices stating that it is 13719 released under this License and any conditions added under section 13720 7. This requirement modifies the requirement in section 4 to 13721 "keep intact all notices". 13722 13723 c) You must license the entire work, as a whole, under this 13724 License to anyone who comes into possession of a copy. This 13725 License will therefore apply, along with any applicable section 7 13726 additional terms, to the whole of the work, and all its parts, 13727 regardless of how they are packaged. This License gives no 13728 permission to license the work in any other way, but it does not 13729 invalidate such permission if you have separately received it. 13730 13731 d) If the work has interactive user interfaces, each must display 13732 Appropriate Legal Notices; however, if the Program has interactive 13733 interfaces that do not display Appropriate Legal Notices, your 13734 work need not make them do so. 13735 13736 A compilation of a covered work with other separate and independent 13737works, which are not by their nature extensions of the covered work, 13738and which are not combined with it such as to form a larger program, 13739in or on a volume of a storage or distribution medium, is called an 13740"aggregate" if the compilation and its resulting copyright are not 13741used to limit the access or legal rights of the compilation's users 13742beyond what the individual works permit. Inclusion of a covered work 13743in an aggregate does not cause this License to apply to the other 13744parts of the aggregate. 13745 13746 6. Conveying Non-Source Forms. 13747 13748 You may convey a covered work in object code form under the terms 13749of sections 4 and 5, provided that you also convey the 13750machine-readable Corresponding Source under the terms of this License, 13751in one of these ways: 13752 13753 a) Convey the object code in, or embodied in, a physical product 13754 (including a physical distribution medium), accompanied by the 13755 Corresponding Source fixed on a durable physical medium 13756 customarily used for software interchange. 13757 13758 b) Convey the object code in, or embodied in, a physical product 13759 (including a physical distribution medium), accompanied by a 13760 written offer, valid for at least three years and valid for as 13761 long as you offer spare parts or customer support for that product 13762 model, to give anyone who possesses the object code either (1) a 13763 copy of the Corresponding Source for all the software in the 13764 product that is covered by this License, on a durable physical 13765 medium customarily used for software interchange, for a price no 13766 more than your reasonable cost of physically performing this 13767 conveying of source, or (2) access to copy the 13768 Corresponding Source from a network server at no charge. 13769 13770 c) Convey individual copies of the object code with a copy of the 13771 written offer to provide the Corresponding Source. This 13772 alternative is allowed only occasionally and noncommercially, and 13773 only if you received the object code with such an offer, in accord 13774 with subsection 6b. 13775 13776 d) Convey the object code by offering access from a designated 13777 place (gratis or for a charge), and offer equivalent access to the 13778 Corresponding Source in the same way through the same place at no 13779 further charge. You need not require recipients to copy the 13780 Corresponding Source along with the object code. If the place to 13781 copy the object code is a network server, the Corresponding Source 13782 may be on a different server (operated by you or a third party) 13783 that supports equivalent copying facilities, provided you maintain 13784 clear directions next to the object code saying where to find the 13785 Corresponding Source. Regardless of what server hosts the 13786 Corresponding Source, you remain obligated to ensure that it is 13787 available for as long as needed to satisfy these requirements. 13788 13789 e) Convey the object code using peer-to-peer transmission, provided 13790 you inform other peers where the object code and Corresponding 13791 Source of the work are being offered to the general public at no 13792 charge under subsection 6d. 13793 13794 A separable portion of the object code, whose source code is excluded 13795from the Corresponding Source as a System Library, need not be 13796included in conveying the object code work. 13797 13798 A "User Product" is either (1) a "consumer product", which means any 13799tangible personal property which is normally used for personal, family, 13800or household purposes, or (2) anything designed or sold for incorporation 13801into a dwelling. In determining whether a product is a consumer product, 13802doubtful cases shall be resolved in favor of coverage. For a particular 13803product received by a particular user, "normally used" refers to a 13804typical or common use of that class of product, regardless of the status 13805of the particular user or of the way in which the particular user 13806actually uses, or expects or is expected to use, the product. A product 13807is a consumer product regardless of whether the product has substantial 13808commercial, industrial or non-consumer uses, unless such uses represent 13809the only significant mode of use of the product. 13810 13811 "Installation Information" for a User Product means any methods, 13812procedures, authorization keys, or other information required to install 13813and execute modified versions of a covered work in that User Product from 13814a modified version of its Corresponding Source. The information must 13815suffice to ensure that the continued functioning of the modified object 13816code is in no case prevented or interfered with solely because 13817modification has been made. 13818 13819 If you convey an object code work under this section in, or with, or 13820specifically for use in, a User Product, and the conveying occurs as 13821part of a transaction in which the right of possession and use of the 13822User Product is transferred to the recipient in perpetuity or for a 13823fixed term (regardless of how the transaction is characterized), the 13824Corresponding Source conveyed under this section must be accompanied 13825by the Installation Information. But this requirement does not apply 13826if neither you nor any third party retains the ability to install 13827modified object code on the User Product (for example, the work has 13828been installed in ROM). 13829 13830 The requirement to provide Installation Information does not include a 13831requirement to continue to provide support service, warranty, or updates 13832for a work that has been modified or installed by the recipient, or for 13833the User Product in which it has been modified or installed. Access to a 13834network may be denied when the modification itself materially and 13835adversely affects the operation of the network or violates the rules and 13836protocols for communication across the network. 13837 13838 Corresponding Source conveyed, and Installation Information provided, 13839in accord with this section must be in a format that is publicly 13840documented (and with an implementation available to the public in 13841source code form), and must require no special password or key for 13842unpacking, reading or copying. 13843 13844 7. Additional Terms. 13845 13846 "Additional permissions" are terms that supplement the terms of this 13847License by making exceptions from one or more of its conditions. 13848Additional permissions that are applicable to the entire Program shall 13849be treated as though they were included in this License, to the extent 13850that they are valid under applicable law. If additional permissions 13851apply only to part of the Program, that part may be used separately 13852under those permissions, but the entire Program remains governed by 13853this License without regard to the additional permissions. 13854 13855 When you convey a copy of a covered work, you may at your option 13856remove any additional permissions from that copy, or from any part of 13857it. (Additional permissions may be written to require their own 13858removal in certain cases when you modify the work.) You may place 13859additional permissions on material, added by you to a covered work, 13860for which you have or can give appropriate copyright permission. 13861 13862 Notwithstanding any other provision of this License, for material you 13863add to a covered work, you may (if authorized by the copyright holders of 13864that material) supplement the terms of this License with terms: 13865 13866 a) Disclaiming warranty or limiting liability differently from the 13867 terms of sections 15 and 16 of this License; or 13868 13869 b) Requiring preservation of specified reasonable legal notices or 13870 author attributions in that material or in the Appropriate Legal 13871 Notices displayed by works containing it; or 13872 13873 c) Prohibiting misrepresentation of the origin of that material, or 13874 requiring that modified versions of such material be marked in 13875 reasonable ways as different from the original version; or 13876 13877 d) Limiting the use for publicity purposes of names of licensors or 13878 authors of the material; or 13879 13880 e) Declining to grant rights under trademark law for use of some 13881 trade names, trademarks, or service marks; or 13882 13883 f) Requiring indemnification of licensors and authors of that 13884 material by anyone who conveys the material (or modified versions of 13885 it) with contractual assumptions of liability to the recipient, for 13886 any liability that these contractual assumptions directly impose on 13887 those licensors and authors. 13888 13889 All other non-permissive additional terms are considered "further 13890restrictions" within the meaning of section 10. If the Program as you 13891received it, or any part of it, contains a notice stating that it is 13892governed by this License along with a term that is a further 13893restriction, you may remove that term. If a license document contains 13894a further restriction but permits relicensing or conveying under this 13895License, you may add to a covered work material governed by the terms 13896of that license document, provided that the further restriction does 13897not survive such relicensing or conveying. 13898 13899 If you add terms to a covered work in accord with this section, you 13900must place, in the relevant source files, a statement of the 13901additional terms that apply to those files, or a notice indicating 13902where to find the applicable terms. 13903 13904 Additional terms, permissive or non-permissive, may be stated in the 13905form of a separately written license, or stated as exceptions; 13906the above requirements apply either way. 13907 13908 8. Termination. 13909 13910 You may not propagate or modify a covered work except as expressly 13911provided under this License. Any attempt otherwise to propagate or 13912modify it is void, and will automatically terminate your rights under 13913this License (including any patent licenses granted under the third 13914paragraph of section 11). 13915 13916 However, if you cease all violation of this License, then your 13917license from a particular copyright holder is reinstated (a) 13918provisionally, unless and until the copyright holder explicitly and 13919finally terminates your license, and (b) permanently, if the copyright 13920holder fails to notify you of the violation by some reasonable means 13921prior to 60 days after the cessation. 13922 13923 Moreover, your license from a particular copyright holder is 13924reinstated permanently if the copyright holder notifies you of the 13925violation by some reasonable means, this is the first time you have 13926received notice of violation of this License (for any work) from that 13927copyright holder, and you cure the violation prior to 30 days after 13928your receipt of the notice. 13929 13930 Termination of your rights under this section does not terminate the 13931licenses of parties who have received copies or rights from you under 13932this License. If your rights have been terminated and not permanently 13933reinstated, you do not qualify to receive new licenses for the same 13934material under section 10. 13935 13936 9. Acceptance Not Required for Having Copies. 13937 13938 You are not required to accept this License in order to receive or 13939run a copy of the Program. Ancillary propagation of a covered work 13940occurring solely as a consequence of using peer-to-peer transmission 13941to receive a copy likewise does not require acceptance. However, 13942nothing other than this License grants you permission to propagate or 13943modify any covered work. These actions infringe copyright if you do 13944not accept this License. Therefore, by modifying or propagating a 13945covered work, you indicate your acceptance of this License to do so. 13946 13947 10. Automatic Licensing of Downstream Recipients. 13948 13949 Each time you convey a covered work, the recipient automatically 13950receives a license from the original licensors, to run, modify and 13951propagate that work, subject to this License. You are not responsible 13952for enforcing compliance by third parties with this License. 13953 13954 An "entity transaction" is a transaction transferring control of an 13955organization, or substantially all assets of one, or subdividing an 13956organization, or merging organizations. If propagation of a covered 13957work results from an entity transaction, each party to that 13958transaction who receives a copy of the work also receives whatever 13959licenses to the work the party's predecessor in interest had or could 13960give under the previous paragraph, plus a right to possession of the 13961Corresponding Source of the work from the predecessor in interest, if 13962the predecessor has it or can get it with reasonable efforts. 13963 13964 You may not impose any further restrictions on the exercise of the 13965rights granted or affirmed under this License. For example, you may 13966not impose a license fee, royalty, or other charge for exercise of 13967rights granted under this License, and you may not initiate litigation 13968(including a cross-claim or counterclaim in a lawsuit) alleging that 13969any patent claim is infringed by making, using, selling, offering for 13970sale, or importing the Program or any portion of it. 13971 13972 11. Patents. 13973 13974 A "contributor" is a copyright holder who authorizes use under this 13975License of the Program or a work on which the Program is based. The 13976work thus licensed is called the contributor's "contributor version". 13977 13978 A contributor's "essential patent claims" are all patent claims 13979owned or controlled by the contributor, whether already acquired or 13980hereafter acquired, that would be infringed by some manner, permitted 13981by this License, of making, using, or selling its contributor version, 13982but do not include claims that would be infringed only as a 13983consequence of further modification of the contributor version. For 13984purposes of this definition, "control" includes the right to grant 13985patent sublicenses in a manner consistent with the requirements of 13986this License. 13987 13988 Each contributor grants you a non-exclusive, worldwide, royalty-free 13989patent license under the contributor's essential patent claims, to 13990make, use, sell, offer for sale, import and otherwise run, modify and 13991propagate the contents of its contributor version. 13992 13993 In the following three paragraphs, a "patent license" is any express 13994agreement or commitment, however denominated, not to enforce a patent 13995(such as an express permission to practice a patent or covenant not to 13996sue for patent infringement). To "grant" such a patent license to a 13997party means to make such an agreement or commitment not to enforce a 13998patent against the party. 13999 14000 If you convey a covered work, knowingly relying on a patent license, 14001and the Corresponding Source of the work is not available for anyone 14002to copy, free of charge and under the terms of this License, through a 14003publicly available network server or other readily accessible means, 14004then you must either (1) cause the Corresponding Source to be so 14005available, or (2) arrange to deprive yourself of the benefit of the 14006patent license for this particular work, or (3) arrange, in a manner 14007consistent with the requirements of this License, to extend the patent 14008license to downstream recipients. "Knowingly relying" means you have 14009actual knowledge that, but for the patent license, your conveying the 14010covered work in a country, or your recipient's use of the covered work 14011in a country, would infringe one or more identifiable patents in that 14012country that you have reason to believe are valid. 14013 14014 If, pursuant to or in connection with a single transaction or 14015arrangement, you convey, or propagate by procuring conveyance of, a 14016covered work, and grant a patent license to some of the parties 14017receiving the covered work authorizing them to use, propagate, modify 14018or convey a specific copy of the covered work, then the patent license 14019you grant is automatically extended to all recipients of the covered 14020work and works based on it. 14021 14022 A patent license is "discriminatory" if it does not include within 14023the scope of its coverage, prohibits the exercise of, or is 14024conditioned on the non-exercise of one or more of the rights that are 14025specifically granted under this License. You may not convey a covered 14026work if you are a party to an arrangement with a third party that is 14027in the business of distributing software, under which you make payment 14028to the third party based on the extent of your activity of conveying 14029the work, and under which the third party grants, to any of the 14030parties who would receive the covered work from you, a discriminatory 14031patent license (a) in connection with copies of the covered work 14032conveyed by you (or copies made from those copies), or (b) primarily 14033for and in connection with specific products or compilations that 14034contain the covered work, unless you entered into that arrangement, 14035or that patent license was granted, prior to 28 March 2007. 14036 14037 Nothing in this License shall be construed as excluding or limiting 14038any implied license or other defenses to infringement that may 14039otherwise be available to you under applicable patent law. 14040 14041 12. No Surrender of Others' Freedom. 14042 14043 If conditions are imposed on you (whether by court order, agreement or 14044otherwise) that contradict the conditions of this License, they do not 14045excuse you from the conditions of this License. If you cannot convey a 14046covered work so as to satisfy simultaneously your obligations under this 14047License and any other pertinent obligations, then as a consequence you may 14048not convey it at all. For example, if you agree to terms that obligate you 14049to collect a royalty for further conveying from those to whom you convey 14050the Program, the only way you could satisfy both those terms and this 14051License would be to refrain entirely from conveying the Program. 14052 14053 13. Use with the GNU Affero General Public License. 14054 14055 Notwithstanding any other provision of this License, you have 14056permission to link or combine any covered work with a work licensed 14057under version 3 of the GNU Affero General Public License into a single 14058combined work, and to convey the resulting work. The terms of this 14059License will continue to apply to the part which is the covered work, 14060but the special requirements of the GNU Affero General Public License, 14061section 13, concerning interaction through a network will apply to the 14062combination as such. 14063 14064 14. Revised Versions of this License. 14065 14066 The Free Software Foundation may publish revised and/or new versions of 14067the GNU General Public License from time to time. Such new versions will 14068be similar in spirit to the present version, but may differ in detail to 14069address new problems or concerns. 14070 14071 Each version is given a distinguishing version number. If the 14072Program specifies that a certain numbered version of the GNU General 14073Public License "or any later version" applies to it, you have the 14074option of following the terms and conditions either of that numbered 14075version or of any later version published by the Free Software 14076Foundation. If the Program does not specify a version number of the 14077GNU General Public License, you may choose any version ever published 14078by the Free Software Foundation. 14079 14080 If the Program specifies that a proxy can decide which future 14081versions of the GNU General Public License can be used, that proxy's 14082public statement of acceptance of a version permanently authorizes you 14083to choose that version for the Program. 14084 14085 Later license versions may give you additional or different 14086permissions. However, no additional obligations are imposed on any 14087author or copyright holder as a result of your choosing to follow a 14088later version. 14089 14090 15. Disclaimer of Warranty. 14091 14092 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 14093APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 14094HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 14095OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 14096THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 14097PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 14098IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 14099ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 14100 14101 16. Limitation of Liability. 14102 14103 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 14104WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 14105THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 14106GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 14107USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 14108DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 14109PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 14110EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 14111SUCH DAMAGES. 14112 14113 17. Interpretation of Sections 15 and 16. 14114 14115 If the disclaimer of warranty and limitation of liability provided 14116above cannot be given local legal effect according to their terms, 14117reviewing courts shall apply local law that most closely approximates 14118an absolute waiver of all civil liability in connection with the 14119Program, unless a warranty or assumption of liability accompanies a 14120copy of the Program in return for a fee. 14121 14122 END OF TERMS AND CONDITIONS 14123 14124 How to Apply These Terms to Your New Programs 14125 14126 If you develop a new program, and you want it to be of the greatest 14127possible use to the public, the best way to achieve this is to make it 14128free software which everyone can redistribute and change under these terms. 14129 14130 To do so, attach the following notices to the program. It is safest 14131to attach them to the start of each source file to most effectively 14132state the exclusion of warranty; and each file should have at least 14133the "copyright" line and a pointer to where the full notice is found. 14134 14135 <one line to give the program's name and a brief idea of what it does.> 14136 Copyright (C) <year> <name of author> 14137 14138 This program is free software: you can redistribute it and/or modify 14139 it under the terms of the GNU General Public License as published by 14140 the Free Software Foundation, either version 3 of the License, or 14141 (at your option) any later version. 14142 14143 This program is distributed in the hope that it will be useful, 14144 but WITHOUT ANY WARRANTY; without even the implied warranty of 14145 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14146 GNU General Public License for more details. 14147 14148 You should have received a copy of the GNU General Public License 14149 along with this program. If not, see <http://www.gnu.org/licenses/>. 14150 14151Also add information on how to contact you by electronic and paper mail. 14152 14153 If the program does terminal interaction, make it output a short 14154notice like this when it starts in an interactive mode: 14155 14156 <program> Copyright (C) <year> <name of author> 14157 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 14158 This is free software, and you are welcome to redistribute it 14159 under certain conditions; type `show c' for details. 14160 14161The hypothetical commands `show w' and `show c' should show the appropriate 14162parts of the General Public License. Of course, your program's commands 14163might be different; for a GUI interface, you would use an "about box". 14164 14165 You should also get your employer (if you work as a programmer) or school, 14166if any, to sign a "copyright disclaimer" for the program, if necessary. 14167For more information on this, and how to apply and follow the GNU GPL, see 14168<http://www.gnu.org/licenses/>. 14169 14170 The GNU General Public License does not permit incorporating your program 14171into proprietary programs. If your program is a subroutine library, you 14172may consider it more useful to permit linking proprietary applications with 14173the library. If this is what you want to do, use the GNU Lesser General 14174Public License instead of this License. But first, please read 14175<http://www.gnu.org/philosophy/why-not-lgpl.html>. 14176 GNU LESSER GENERAL PUBLIC LICENSE 14177 Version 3, 29 June 2007 14178 14179 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 14180 Everyone is permitted to copy and distribute verbatim copies 14181 of this license document, but changing it is not allowed. 14182 14183 14184 This version of the GNU Lesser General Public License incorporates 14185the terms and conditions of version 3 of the GNU General Public 14186License, supplemented by the additional permissions listed below. 14187 14188 0. Additional Definitions. 14189 14190 As used herein, "this License" refers to version 3 of the GNU Lesser 14191General Public License, and the "GNU GPL" refers to version 3 of the GNU 14192General Public License. 14193 14194 "The Library" refers to a covered work governed by this License, 14195other than an Application or a Combined Work as defined below. 14196 14197 An "Application" is any work that makes use of an interface provided 14198by the Library, but which is not otherwise based on the Library. 14199Defining a subclass of a class defined by the Library is deemed a mode 14200of using an interface provided by the Library. 14201 14202 A "Combined Work" is a work produced by combining or linking an 14203Application with the Library. The particular version of the Library 14204with which the Combined Work was made is also called the "Linked 14205Version". 14206 14207 The "Minimal Corresponding Source" for a Combined Work means the 14208Corresponding Source for the Combined Work, excluding any source code 14209for portions of the Combined Work that, considered in isolation, are 14210based on the Application, and not on the Linked Version. 14211 14212 The "Corresponding Application Code" for a Combined Work means the 14213object code and/or source code for the Application, including any data 14214and utility programs needed for reproducing the Combined Work from the 14215Application, but excluding the System Libraries of the Combined Work. 14216 14217 1. Exception to Section 3 of the GNU GPL. 14218 14219 You may convey a covered work under sections 3 and 4 of this License 14220without being bound by section 3 of the GNU GPL. 14221 14222 2. Conveying Modified Versions. 14223 14224 If you modify a copy of the Library, and, in your modifications, a 14225facility refers to a function or data to be supplied by an Application 14226that uses the facility (other than as an argument passed when the 14227facility is invoked), then you may convey a copy of the modified 14228version: 14229 14230 a) under this License, provided that you make a good faith effort to 14231 ensure that, in the event an Application does not supply the 14232 function or data, the facility still operates, and performs 14233 whatever part of its purpose remains meaningful, or 14234 14235 b) under the GNU GPL, with none of the additional permissions of 14236 this License applicable to that copy. 14237 14238 3. Object Code Incorporating Material from Library Header Files. 14239 14240 The object code form of an Application may incorporate material from 14241a header file that is part of the Library. You may convey such object 14242code under terms of your choice, provided that, if the incorporated 14243material is not limited to numerical parameters, data structure 14244layouts and accessors, or small macros, inline functions and templates 14245(ten or fewer lines in length), you do both of the following: 14246 14247 a) Give prominent notice with each copy of the object code that the 14248 Library is used in it and that the Library and its use are 14249 covered by this License. 14250 14251 b) Accompany the object code with a copy of the GNU GPL and this license 14252 document. 14253 14254 4. Combined Works. 14255 14256 You may convey a Combined Work under terms of your choice that, 14257taken together, effectively do not restrict modification of the 14258portions of the Library contained in the Combined Work and reverse 14259engineering for debugging such modifications, if you also do each of 14260the following: 14261 14262 a) Give prominent notice with each copy of the Combined Work that 14263 the Library is used in it and that the Library and its use are 14264 covered by this License. 14265 14266 b) Accompany the Combined Work with a copy of the GNU GPL and this license 14267 document. 14268 14269 c) For a Combined Work that displays copyright notices during 14270 execution, include the copyright notice for the Library among 14271 these notices, as well as a reference directing the user to the 14272 copies of the GNU GPL and this license document. 14273 14274 d) Do one of the following: 14275 14276 0) Convey the Minimal Corresponding Source under the terms of this 14277 License, and the Corresponding Application Code in a form 14278 suitable for, and under terms that permit, the user to 14279 recombine or relink the Application with a modified version of 14280 the Linked Version to produce a modified Combined Work, in the 14281 manner specified by section 6 of the GNU GPL for conveying 14282 Corresponding Source. 14283 14284 1) Use a suitable shared library mechanism for linking with the 14285 Library. A suitable mechanism is one that (a) uses at run time 14286 a copy of the Library already present on the user's computer 14287 system, and (b) will operate properly with a modified version 14288 of the Library that is interface-compatible with the Linked 14289 Version. 14290 14291 e) Provide Installation Information, but only if you would otherwise 14292 be required to provide such information under section 6 of the 14293 GNU GPL, and only to the extent that such information is 14294 necessary to install and execute a modified version of the 14295 Combined Work produced by recombining or relinking the 14296 Application with a modified version of the Linked Version. (If 14297 you use option 4d0, the Installation Information must accompany 14298 the Minimal Corresponding Source and Corresponding Application 14299 Code. If you use option 4d1, you must provide the Installation 14300 Information in the manner specified by section 6 of the GNU GPL 14301 for conveying Corresponding Source.) 14302 14303 5. Combined Libraries. 14304 14305 You may place library facilities that are a work based on the 14306Library side by side in a single library together with other library 14307facilities that are not Applications and are not covered by this 14308License, and convey such a combined library under terms of your 14309choice, if you do both of the following: 14310 14311 a) Accompany the combined library with a copy of the same work based 14312 on the Library, uncombined with any other library facilities, 14313 conveyed under the terms of this License. 14314 14315 b) Give prominent notice with the combined library that part of it 14316 is a work based on the Library, and explaining where to find the 14317 accompanying uncombined form of the same work. 14318 14319 6. Revised Versions of the GNU Lesser General Public License. 14320 14321 The Free Software Foundation may publish revised and/or new versions 14322of the GNU Lesser General Public License from time to time. Such new 14323versions will be similar in spirit to the present version, but may 14324differ in detail to address new problems or concerns. 14325 14326 Each version is given a distinguishing version number. If the 14327Library as you received it specifies that a certain numbered version 14328of the GNU Lesser General Public License "or any later version" 14329applies to it, you have the option of following the terms and 14330conditions either of that published version or of any later version 14331published by the Free Software Foundation. If the Library as you 14332received it does not specify a version number of the GNU Lesser 14333General Public License, you may choose any version of the GNU Lesser 14334General Public License ever published by the Free Software Foundation. 14335 14336 If the Library as you received it specifies that a proxy can decide 14337whether future versions of the GNU Lesser General Public License shall 14338apply, that proxy's public statement of acceptance of any version is 14339permanent authorization for you to choose that version for the 14340Library. 14341