1217309Snwhitehorn GNU LESSER GENERAL PUBLIC LICENSE 2217309Snwhitehorn Version 2.1, February 1999 3217309Snwhitehorn 4217309Snwhitehorn Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5217309Snwhitehorn 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 6217309Snwhitehorn Everyone is permitted to copy and distribute verbatim copies 7217309Snwhitehorn of this license document, but changing it is not allowed. 8217309Snwhitehorn 9217309Snwhitehorn[This is the first released version of the Lesser GPL. It also counts 10217309Snwhitehorn as the successor of the GNU Library Public License, version 2, hence 11217309Snwhitehorn the version number 2.1.] 12217309Snwhitehorn 13217309Snwhitehorn Preamble 14217309Snwhitehorn 15217309Snwhitehorn The licenses for most software are designed to take away your 16217309Snwhitehornfreedom to share and change it. By contrast, the GNU General Public 17217309SnwhitehornLicenses are intended to guarantee your freedom to share and change 18217309Snwhitehornfree software--to make sure the software is free for all its users. 19217309Snwhitehorn 20217309Snwhitehorn This license, the Lesser General Public License, applies to some 21217309Snwhitehornspecially designated software packages--typically libraries--of the 22217309SnwhitehornFree Software Foundation and other authors who decide to use it. You 23217309Snwhitehorncan use it too, but we suggest you first think carefully about whether 24217309Snwhitehornthis license or the ordinary General Public License is the better 25217309Snwhitehornstrategy to use in any particular case, based on the explanations below. 26217309Snwhitehorn 27217309Snwhitehorn When we speak of free software, we are referring to freedom of use, 28217309Snwhitehornnot price. Our General Public Licenses are designed to make sure that 29217309Snwhitehornyou have the freedom to distribute copies of free software (and charge 30217309Snwhitehornfor this service if you wish); that you receive source code or can get 31217309Snwhitehornit if you want it; that you can change the software and use pieces of 32217309Snwhitehornit in new free programs; and that you are informed that you can do 33217309Snwhitehornthese things. 34217309Snwhitehorn 35217309Snwhitehorn To protect your rights, we need to make restrictions that forbid 36217309Snwhitehorndistributors to deny you these rights or to ask you to surrender these 37217309Snwhitehornrights. These restrictions translate to certain responsibilities for 38217309Snwhitehornyou if you distribute copies of the library or if you modify it. 39217309Snwhitehorn 40217309Snwhitehorn For example, if you distribute copies of the library, whether gratis 41217309Snwhitehornor for a fee, you must give the recipients all the rights that we gave 42217309Snwhitehornyou. You must make sure that they, too, receive or can get the source 43217309Snwhitehorncode. If you link other code with the library, you must provide 44217309Snwhitehorncomplete object files to the recipients, so that they can relink them 45217309Snwhitehornwith the library after making changes to the library and recompiling 46217309Snwhitehornit. And you must show them these terms so they know their rights. 47217309Snwhitehorn 48217309Snwhitehorn We protect your rights with a two-step method: (1) we copyright the 49217309Snwhitehornlibrary, and (2) we offer you this license, which gives you legal 50217309Snwhitehornpermission to copy, distribute and/or modify the library. 51217309Snwhitehorn 52217309Snwhitehorn To protect each distributor, we want to make it very clear that 53217309Snwhitehornthere is no warranty for the free library. Also, if the library is 54217309Snwhitehornmodified by someone else and passed on, the recipients should know 55217309Snwhitehornthat what they have is not the original version, so that the original 56217309Snwhitehornauthor's reputation will not be affected by problems that might be 57217309Snwhitehornintroduced by others. 58217309Snwhitehorn 59217309Snwhitehorn Finally, software patents pose a constant threat to the existence of 60217309Snwhitehornany free program. We wish to make sure that a company cannot 61217309Snwhitehorneffectively restrict the users of a free program by obtaining a 62217309Snwhitehornrestrictive license from a patent holder. Therefore, we insist that 63217309Snwhitehornany patent license obtained for a version of the library must be 64217309Snwhitehornconsistent with the full freedom of use specified in this license. 65217309Snwhitehorn 66217309Snwhitehorn Most GNU software, including some libraries, is covered by the 67217309Snwhitehornordinary GNU General Public License. This license, the GNU Lesser 68217309SnwhitehornGeneral Public License, applies to certain designated libraries, and 69217309Snwhitehornis quite different from the ordinary General Public License. We use 70217309Snwhitehornthis license for certain libraries in order to permit linking those 71217309Snwhitehornlibraries into non-free programs. 72217309Snwhitehorn 73217309Snwhitehorn When a program is linked with a library, whether statically or using 74217309Snwhitehorna shared library, the combination of the two is legally speaking a 75217309Snwhitehorncombined work, a derivative of the original library. The ordinary 76217309SnwhitehornGeneral Public License therefore permits such linking only if the 77217309Snwhitehornentire combination fits its criteria of freedom. The Lesser General 78217309SnwhitehornPublic License permits more lax criteria for linking other code with 79217309Snwhitehornthe library. 80217309Snwhitehorn 81217309Snwhitehorn We call this license the "Lesser" General Public License because it 82217309Snwhitehorndoes Less to protect the user's freedom than the ordinary General 83217309SnwhitehornPublic License. It also provides other free software developers Less 84217309Snwhitehornof an advantage over competing non-free programs. These disadvantages 85217309Snwhitehornare the reason we use the ordinary General Public License for many 86217309Snwhitehornlibraries. However, the Lesser license provides advantages in certain 87217309Snwhitehornspecial circumstances. 88217309Snwhitehorn 89217309Snwhitehorn For example, on rare occasions, there may be a special need to 90217309Snwhitehornencourage the widest possible use of a certain library, so that it becomes 91217309Snwhitehorna de-facto standard. To achieve this, non-free programs must be 92217309Snwhitehornallowed to use the library. A more frequent case is that a free 93217309Snwhitehornlibrary does the same job as widely used non-free libraries. In this 94217309Snwhitehorncase, there is little to gain by limiting the free library to free 95217309Snwhitehornsoftware only, so we use the Lesser General Public License. 96217309Snwhitehorn 97217309Snwhitehorn In other cases, permission to use a particular library in non-free 98217309Snwhitehornprograms enables a greater number of people to use a large body of 99217309Snwhitehornfree software. For example, permission to use the GNU C Library in 100217309Snwhitehornnon-free programs enables many more people to use the whole GNU 101217309Snwhitehornoperating system, as well as its variant, the GNU/Linux operating 102217309Snwhitehornsystem. 103217309Snwhitehorn 104217309Snwhitehorn Although the Lesser General Public License is Less protective of the 105217309Snwhitehornusers' freedom, it does ensure that the user of a program that is 106217309Snwhitehornlinked with the Library has the freedom and the wherewithal to run 107217309Snwhitehornthat program using a modified version of the Library. 108217309Snwhitehorn 109217309Snwhitehorn The precise terms and conditions for copying, distribution and 110217309Snwhitehornmodification follow. Pay close attention to the difference between a 111217309Snwhitehorn"work based on the library" and a "work that uses the library". The 112217309Snwhitehornformer contains code derived from the library, whereas the latter must 113217309Snwhitehornbe combined with the library in order to run. 114217309Snwhitehorn 115217309Snwhitehorn GNU LESSER GENERAL PUBLIC LICENSE 116217309Snwhitehorn TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117217309Snwhitehorn 118217309Snwhitehorn 0. This License Agreement applies to any software library or other 119217309Snwhitehornprogram which contains a notice placed by the copyright holder or 120217309Snwhitehornother authorized party saying it may be distributed under the terms of 121217309Snwhitehornthis Lesser General Public License (also called "this License"). 122217309SnwhitehornEach licensee is addressed as "you". 123217309Snwhitehorn 124217309Snwhitehorn A "library" means a collection of software functions and/or data 125217309Snwhitehornprepared so as to be conveniently linked with application programs 126217309Snwhitehorn(which use some of those functions and data) to form executables. 127217309Snwhitehorn 128217309Snwhitehorn The "Library", below, refers to any such software library or work 129217309Snwhitehornwhich has been distributed under these terms. A "work based on the 130217309SnwhitehornLibrary" means either the Library or any derivative work under 131217309Snwhitehorncopyright law: that is to say, a work containing the Library or a 132217309Snwhitehornportion of it, either verbatim or with modifications and/or translated 133217309Snwhitehornstraightforwardly into another language. (Hereinafter, translation is 134217309Snwhitehornincluded without limitation in the term "modification".) 135217309Snwhitehorn 136217309Snwhitehorn "Source code" for a work means the preferred form of the work for 137217309Snwhitehornmaking modifications to it. For a library, complete source code means 138217309Snwhitehornall the source code for all modules it contains, plus any associated 139217309Snwhitehorninterface definition files, plus the scripts used to control compilation 140217309Snwhitehornand installation of the library. 141217309Snwhitehorn 142217309Snwhitehorn Activities other than copying, distribution and modification are not 143217309Snwhitehorncovered by this License; they are outside its scope. The act of 144217309Snwhitehornrunning a program using the Library is not restricted, and output from 145217309Snwhitehornsuch a program is covered only if its contents constitute a work based 146217309Snwhitehornon the Library (independent of the use of the Library in a tool for 147217309Snwhitehornwriting it). Whether that is true depends on what the Library does 148217309Snwhitehornand what the program that uses the Library does. 149217309Snwhitehorn 150217309Snwhitehorn 1. You may copy and distribute verbatim copies of the Library's 151217309Snwhitehorncomplete source code as you receive it, in any medium, provided that 152217309Snwhitehornyou conspicuously and appropriately publish on each copy an 153217309Snwhitehornappropriate copyright notice and disclaimer of warranty; keep intact 154217309Snwhitehornall the notices that refer to this License and to the absence of any 155217309Snwhitehornwarranty; and distribute a copy of this License along with the 156217309SnwhitehornLibrary. 157217309Snwhitehorn 158217309Snwhitehorn You may charge a fee for the physical act of transferring a copy, 159217309Snwhitehornand you may at your option offer warranty protection in exchange for a 160217309Snwhitehornfee. 161217309Snwhitehorn 162217309Snwhitehorn 2. You may modify your copy or copies of the Library or any portion 163217309Snwhitehornof it, thus forming a work based on the Library, and copy and 164217309Snwhitehorndistribute such modifications or work under the terms of Section 1 165217309Snwhitehornabove, provided that you also meet all of these conditions: 166217309Snwhitehorn 167217309Snwhitehorn a) The modified work must itself be a software library. 168217309Snwhitehorn 169217309Snwhitehorn b) You must cause the files modified to carry prominent notices 170217309Snwhitehorn stating that you changed the files and the date of any change. 171217309Snwhitehorn 172217309Snwhitehorn c) You must cause the whole of the work to be licensed at no 173217309Snwhitehorn charge to all third parties under the terms of this License. 174217309Snwhitehorn 175217309Snwhitehorn d) If a facility in the modified Library refers to a function or a 176217309Snwhitehorn table of data to be supplied by an application program that uses 177217309Snwhitehorn the facility, other than as an argument passed when the facility 178217309Snwhitehorn is invoked, then you must make a good faith effort to ensure that, 179217309Snwhitehorn in the event an application does not supply such function or 180217309Snwhitehorn table, the facility still operates, and performs whatever part of 181217309Snwhitehorn its purpose remains meaningful. 182217309Snwhitehorn 183217309Snwhitehorn (For example, a function in a library to compute square roots has 184217309Snwhitehorn a purpose that is entirely well-defined independent of the 185217309Snwhitehorn application. Therefore, Subsection 2d requires that any 186217309Snwhitehorn application-supplied function or table used by this function must 187217309Snwhitehorn be optional: if the application does not supply it, the square 188217309Snwhitehorn root function must still compute square roots.) 189217309Snwhitehorn 190217309SnwhitehornThese requirements apply to the modified work as a whole. If 191217309Snwhitehornidentifiable sections of that work are not derived from the Library, 192217309Snwhitehornand can be reasonably considered independent and separate works in 193217309Snwhitehornthemselves, then this License, and its terms, do not apply to those 194217309Snwhitehornsections when you distribute them as separate works. But when you 195217309Snwhitehorndistribute the same sections as part of a whole which is a work based 196217309Snwhitehornon the Library, the distribution of the whole must be on the terms of 197217309Snwhitehornthis License, whose permissions for other licensees extend to the 198217309Snwhitehornentire whole, and thus to each and every part regardless of who wrote 199217309Snwhitehornit. 200217309Snwhitehorn 201217309SnwhitehornThus, it is not the intent of this section to claim rights or contest 202217309Snwhitehornyour rights to work written entirely by you; rather, the intent is to 203217309Snwhitehornexercise the right to control the distribution of derivative or 204217309Snwhitehorncollective works based on the Library. 205217309Snwhitehorn 206217309SnwhitehornIn addition, mere aggregation of another work not based on the Library 207217309Snwhitehornwith the Library (or with a work based on the Library) on a volume of 208217309Snwhitehorna storage or distribution medium does not bring the other work under 209217309Snwhitehornthe scope of this License. 210217309Snwhitehorn 211217309Snwhitehorn 3. You may opt to apply the terms of the ordinary GNU General Public 212217309SnwhitehornLicense instead of this License to a given copy of the Library. To do 213217309Snwhitehornthis, you must alter all the notices that refer to this License, so 214217309Snwhitehornthat they refer to the ordinary GNU General Public License, version 2, 215217309Snwhitehorninstead of to this License. (If a newer version than version 2 of the 216217309Snwhitehornordinary GNU General Public License has appeared, then you can specify 217217309Snwhitehornthat version instead if you wish.) Do not make any other change in 218217309Snwhitehornthese notices. 219217309Snwhitehorn 220217309Snwhitehorn Once this change is made in a given copy, it is irreversible for 221217309Snwhitehornthat copy, so the ordinary GNU General Public License applies to all 222217309Snwhitehornsubsequent copies and derivative works made from that copy. 223217309Snwhitehorn 224217309Snwhitehorn This option is useful when you wish to copy part of the code of 225217309Snwhitehornthe Library into a program that is not a library. 226217309Snwhitehorn 227217309Snwhitehorn 4. You may copy and distribute the Library (or a portion or 228217309Snwhitehornderivative of it, under Section 2) in object code or executable form 229217309Snwhitehornunder the terms of Sections 1 and 2 above provided that you accompany 230217309Snwhitehornit with the complete corresponding machine-readable source code, which 231217309Snwhitehornmust be distributed under the terms of Sections 1 and 2 above on a 232217309Snwhitehornmedium customarily used for software interchange. 233217309Snwhitehorn 234217309Snwhitehorn If distribution of object code is made by offering access to copy 235217309Snwhitehornfrom a designated place, then offering equivalent access to copy the 236217309Snwhitehornsource code from the same place satisfies the requirement to 237217309Snwhitehorndistribute the source code, even though third parties are not 238217309Snwhitehorncompelled to copy the source along with the object code. 239217309Snwhitehorn 240217309Snwhitehorn 5. A program that contains no derivative of any portion of the 241217309SnwhitehornLibrary, but is designed to work with the Library by being compiled or 242217309Snwhitehornlinked with it, is called a "work that uses the Library". Such a 243217309Snwhitehornwork, in isolation, is not a derivative work of the Library, and 244217309Snwhitehorntherefore falls outside the scope of this License. 245217309Snwhitehorn 246217309Snwhitehorn However, linking a "work that uses the Library" with the Library 247217309Snwhitehorncreates an executable that is a derivative of the Library (because it 248217309Snwhitehorncontains portions of the Library), rather than a "work that uses the 249217309Snwhitehornlibrary". The executable is therefore covered by this License. 250217309SnwhitehornSection 6 states terms for distribution of such executables. 251217309Snwhitehorn 252217309Snwhitehorn When a "work that uses the Library" uses material from a header file 253217309Snwhitehornthat is part of the Library, the object code for the work may be a 254217309Snwhitehornderivative work of the Library even though the source code is not. 255217309SnwhitehornWhether this is true is especially significant if the work can be 256217309Snwhitehornlinked without the Library, or if the work is itself a library. The 257217309Snwhitehornthreshold for this to be true is not precisely defined by law. 258217309Snwhitehorn 259217309Snwhitehorn If such an object file uses only numerical parameters, data 260217309Snwhitehornstructure layouts and accessors, and small macros and small inline 261217309Snwhitehornfunctions (ten lines or less in length), then the use of the object 262217309Snwhitehornfile is unrestricted, regardless of whether it is legally a derivative 263217309Snwhitehornwork. (Executables containing this object code plus portions of the 264217309SnwhitehornLibrary will still fall under Section 6.) 265217309Snwhitehorn 266217309Snwhitehorn Otherwise, if the work is a derivative of the Library, you may 267217309Snwhitehorndistribute the object code for the work under the terms of Section 6. 268217309SnwhitehornAny executables containing that work also fall under Section 6, 269217309Snwhitehornwhether or not they are linked directly with the Library itself. 270217309Snwhitehorn 271217309Snwhitehorn 6. As an exception to the Sections above, you may also combine or 272217309Snwhitehornlink a "work that uses the Library" with the Library to produce a 273217309Snwhitehornwork containing portions of the Library, and distribute that work 274217309Snwhitehornunder terms of your choice, provided that the terms permit 275217309Snwhitehornmodification of the work for the customer's own use and reverse 276217309Snwhitehornengineering for debugging such modifications. 277217309Snwhitehorn 278217309Snwhitehorn You must give prominent notice with each copy of the work that the 279217309SnwhitehornLibrary is used in it and that the Library and its use are covered by 280217309Snwhitehornthis License. You must supply a copy of this License. If the work 281217309Snwhitehornduring execution displays copyright notices, you must include the 282217309Snwhitehorncopyright notice for the Library among them, as well as a reference 283217309Snwhitehorndirecting the user to the copy of this License. Also, you must do one 284217309Snwhitehornof these things: 285217309Snwhitehorn 286217309Snwhitehorn a) Accompany the work with the complete corresponding 287217309Snwhitehorn machine-readable source code for the Library including whatever 288217309Snwhitehorn changes were used in the work (which must be distributed under 289217309Snwhitehorn Sections 1 and 2 above); and, if the work is an executable linked 290217309Snwhitehorn with the Library, with the complete machine-readable "work that 291217309Snwhitehorn uses the Library", as object code and/or source code, so that the 292217309Snwhitehorn user can modify the Library and then relink to produce a modified 293217309Snwhitehorn executable containing the modified Library. (It is understood 294217309Snwhitehorn that the user who changes the contents of definitions files in the 295217309Snwhitehorn Library will not necessarily be able to recompile the application 296217309Snwhitehorn to use the modified definitions.) 297217309Snwhitehorn 298217309Snwhitehorn b) Use a suitable shared library mechanism for linking with the 299217309Snwhitehorn Library. A suitable mechanism is one that (1) uses at run time a 300217309Snwhitehorn copy of the library already present on the user's computer system, 301217309Snwhitehorn rather than copying library functions into the executable, and (2) 302217309Snwhitehorn will operate properly with a modified version of the library, if 303217309Snwhitehorn the user installs one, as long as the modified version is 304217309Snwhitehorn interface-compatible with the version that the work was made with. 305217309Snwhitehorn 306217309Snwhitehorn c) Accompany the work with a written offer, valid for at 307217309Snwhitehorn least three years, to give the same user the materials 308217309Snwhitehorn specified in Subsection 6a, above, for a charge no more 309217309Snwhitehorn than the cost of performing this distribution. 310217309Snwhitehorn 311217309Snwhitehorn d) If distribution of the work is made by offering access to copy 312217309Snwhitehorn from a designated place, offer equivalent access to copy the above 313217309Snwhitehorn specified materials from the same place. 314217309Snwhitehorn 315217309Snwhitehorn e) Verify that the user has already received a copy of these 316217309Snwhitehorn materials or that you have already sent this user a copy. 317217309Snwhitehorn 318217309Snwhitehorn For an executable, the required form of the "work that uses the 319217309SnwhitehornLibrary" must include any data and utility programs needed for 320217309Snwhitehornreproducing the executable from it. However, as a special exception, 321217309Snwhitehornthe materials to be distributed need not include anything that is 322217309Snwhitehornnormally distributed (in either source or binary form) with the major 323217309Snwhitehorncomponents (compiler, kernel, and so on) of the operating system on 324217309Snwhitehornwhich the executable runs, unless that component itself accompanies 325217309Snwhitehornthe executable. 326217309Snwhitehorn 327217309Snwhitehorn It may happen that this requirement contradicts the license 328217309Snwhitehornrestrictions of other proprietary libraries that do not normally 329217309Snwhitehornaccompany the operating system. Such a contradiction means you cannot 330217309Snwhitehornuse both them and the Library together in an executable that you 331217309Snwhitehorndistribute. 332217309Snwhitehorn 333217309Snwhitehorn 7. You may place library facilities that are a work based on the 334217309SnwhitehornLibrary side-by-side in a single library together with other library 335217309Snwhitehornfacilities not covered by this License, and distribute such a combined 336217309Snwhitehornlibrary, provided that the separate distribution of the work based on 337217309Snwhitehornthe Library and of the other library facilities is otherwise 338217309Snwhitehornpermitted, and provided that you do these two things: 339217309Snwhitehorn 340217309Snwhitehorn a) Accompany the combined library with a copy of the same work 341217309Snwhitehorn based on the Library, uncombined with any other library 342217309Snwhitehorn facilities. This must be distributed under the terms of the 343217309Snwhitehorn Sections above. 344217309Snwhitehorn 345217309Snwhitehorn b) Give prominent notice with the combined library of the fact 346217309Snwhitehorn that part of it is a work based on the Library, and explaining 347217309Snwhitehorn where to find the accompanying uncombined form of the same work. 348217309Snwhitehorn 349217309Snwhitehorn 8. You may not copy, modify, sublicense, link with, or distribute 350217309Snwhitehornthe Library except as expressly provided under this License. Any 351217309Snwhitehornattempt otherwise to copy, modify, sublicense, link with, or 352217309Snwhitehorndistribute the Library is void, and will automatically terminate your 353217309Snwhitehornrights under this License. However, parties who have received copies, 354217309Snwhitehornor rights, from you under this License will not have their licenses 355217309Snwhitehornterminated so long as such parties remain in full compliance. 356217309Snwhitehorn 357217309Snwhitehorn 9. You are not required to accept this License, since you have not 358217309Snwhitehornsigned it. However, nothing else grants you permission to modify or 359217309Snwhitehorndistribute the Library or its derivative works. These actions are 360217309Snwhitehornprohibited by law if you do not accept this License. Therefore, by 361217309Snwhitehornmodifying or distributing the Library (or any work based on the 362217309SnwhitehornLibrary), you indicate your acceptance of this License to do so, and 363217309Snwhitehornall its terms and conditions for copying, distributing or modifying 364217309Snwhitehornthe Library or works based on it. 365217309Snwhitehorn 366217309Snwhitehorn 10. Each time you redistribute the Library (or any work based on the 367217309SnwhitehornLibrary), the recipient automatically receives a license from the 368217309Snwhitehornoriginal licensor to copy, distribute, link with or modify the Library 369217309Snwhitehornsubject to these terms and conditions. You may not impose any further 370217309Snwhitehornrestrictions on the recipients' exercise of the rights granted herein. 371217309SnwhitehornYou are not responsible for enforcing compliance by third parties with 372217309Snwhitehornthis License. 373217309Snwhitehorn 374217309Snwhitehorn 11. If, as a consequence of a court judgment or allegation of patent 375217309Snwhitehorninfringement or for any other reason (not limited to patent issues), 376217309Snwhitehornconditions are imposed on you (whether by court order, agreement or 377217309Snwhitehornotherwise) that contradict the conditions of this License, they do not 378217309Snwhitehornexcuse you from the conditions of this License. If you cannot 379217309Snwhitehorndistribute so as to satisfy simultaneously your obligations under this 380217309SnwhitehornLicense and any other pertinent obligations, then as a consequence you 381217309Snwhitehornmay not distribute the Library at all. For example, if a patent 382217309Snwhitehornlicense would not permit royalty-free redistribution of the Library by 383217309Snwhitehornall those who receive copies directly or indirectly through you, then 384217309Snwhitehornthe only way you could satisfy both it and this License would be to 385217309Snwhitehornrefrain entirely from distribution of the Library. 386217309Snwhitehorn 387217309SnwhitehornIf any portion of this section is held invalid or unenforceable under any 388217309Snwhitehornparticular circumstance, the balance of the section is intended to apply, 389217309Snwhitehornand the section as a whole is intended to apply in other circumstances. 390217309Snwhitehorn 391217309SnwhitehornIt is not the purpose of this section to induce you to infringe any 392217309Snwhitehornpatents or other property right claims or to contest validity of any 393217309Snwhitehornsuch claims; this section has the sole purpose of protecting the 394217309Snwhitehornintegrity of the free software distribution system which is 395217309Snwhitehornimplemented by public license practices. Many people have made 396217309Snwhitehorngenerous contributions to the wide range of software distributed 397217309Snwhitehornthrough that system in reliance on consistent application of that 398217309Snwhitehornsystem; it is up to the author/donor to decide if he or she is willing 399217309Snwhitehornto distribute software through any other system and a licensee cannot 400217309Snwhitehornimpose that choice. 401217309Snwhitehorn 402217309SnwhitehornThis section is intended to make thoroughly clear what is believed to 403217309Snwhitehornbe a consequence of the rest of this License. 404217309Snwhitehorn 405217309Snwhitehorn 12. If the distribution and/or use of the Library is restricted in 406217309Snwhitehorncertain countries either by patents or by copyrighted interfaces, the 407217309Snwhitehornoriginal copyright holder who places the Library under this License may add 408217309Snwhitehornan explicit geographical distribution limitation excluding those countries, 409217309Snwhitehornso that distribution is permitted only in or among countries not thus 410217309Snwhitehornexcluded. In such case, this License incorporates the limitation as if 411217309Snwhitehornwritten in the body of this License. 412217309Snwhitehorn 413217309Snwhitehorn 13. The Free Software Foundation may publish revised and/or new 414217309Snwhitehornversions of the Lesser General Public License from time to time. 415217309SnwhitehornSuch new versions will be similar in spirit to the present version, 416217309Snwhitehornbut may differ in detail to address new problems or concerns. 417217309Snwhitehorn 418217309SnwhitehornEach version is given a distinguishing version number. If the Library 419217309Snwhitehornspecifies a version number of this License which applies to it and 420217309Snwhitehorn"any later version", you have the option of following the terms and 421217309Snwhitehornconditions either of that version or of any later version published by 422217309Snwhitehornthe Free Software Foundation. If the Library does not specify a 423217309Snwhitehornlicense version number, you may choose any version ever published by 424217309Snwhitehornthe Free Software Foundation. 425217309Snwhitehorn 426217309Snwhitehorn 14. If you wish to incorporate parts of the Library into other free 427217309Snwhitehornprograms whose distribution conditions are incompatible with these, 428217309Snwhitehornwrite to the author to ask for permission. For software which is 429217309Snwhitehorncopyrighted by the Free Software Foundation, write to the Free 430217309SnwhitehornSoftware Foundation; we sometimes make exceptions for this. Our 431217309Snwhitehorndecision will be guided by the two goals of preserving the free status 432217309Snwhitehornof all derivatives of our free software and of promoting the sharing 433217309Snwhitehornand reuse of software generally. 434217309Snwhitehorn 435217309Snwhitehorn NO WARRANTY 436217309Snwhitehorn 437217309Snwhitehorn 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438217309SnwhitehornWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439217309SnwhitehornEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440217309SnwhitehornOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441217309SnwhitehornKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442217309SnwhitehornIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443217309SnwhitehornPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444217309SnwhitehornLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445217309SnwhitehornTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446217309Snwhitehorn 447217309Snwhitehorn 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448217309SnwhitehornWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449217309SnwhitehornAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450217309SnwhitehornFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451217309SnwhitehornCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452217309SnwhitehornLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453217309SnwhitehornRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454217309SnwhitehornFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455217309SnwhitehornSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456217309SnwhitehornDAMAGES. 457217309Snwhitehorn 458217309Snwhitehorn END OF TERMS AND CONDITIONS 459217309Snwhitehorn 460217309Snwhitehorn How to Apply These Terms to Your New Libraries 461217309Snwhitehorn 462217309Snwhitehorn If you develop a new library, and you want it to be of the greatest 463217309Snwhitehornpossible use to the public, we recommend making it free software that 464217309Snwhitehorneveryone can redistribute and change. You can do so by permitting 465217309Snwhitehornredistribution under these terms (or, alternatively, under the terms of the 466217309Snwhitehornordinary General Public License). 467217309Snwhitehorn 468217309Snwhitehorn To apply these terms, attach the following notices to the library. It is 469217309Snwhitehornsafest to attach them to the start of each source file to most effectively 470217309Snwhitehornconvey the exclusion of warranty; and each file should have at least the 471217309Snwhitehorn"copyright" line and a pointer to where the full notice is found. 472217309Snwhitehorn 473217309Snwhitehorn <one line to give the library's name and a brief idea of what it does.> 474217309Snwhitehorn Copyright (C) <year> <name of author> 475217309Snwhitehorn 476217309Snwhitehorn This library is free software; you can redistribute it and/or 477217309Snwhitehorn modify it under the terms of the GNU Lesser General Public 478217309Snwhitehorn License as published by the Free Software Foundation; either 479217309Snwhitehorn version 2.1 of the License, or (at your option) any later version. 480217309Snwhitehorn 481217309Snwhitehorn This library is distributed in the hope that it will be useful, 482217309Snwhitehorn but WITHOUT ANY WARRANTY; without even the implied warranty of 483217309Snwhitehorn MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484217309Snwhitehorn Lesser General Public License for more details. 485217309Snwhitehorn 486217309Snwhitehorn You should have received a copy of the GNU Lesser General Public 487217309Snwhitehorn License along with this library; if not, write to the Free Software 488217309Snwhitehorn Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 489217309Snwhitehorn 490217309SnwhitehornAlso add information on how to contact you by electronic and paper mail. 491217309Snwhitehorn 492217309SnwhitehornYou should also get your employer (if you work as a programmer) or your 493217309Snwhitehornschool, if any, to sign a "copyright disclaimer" for the library, if 494217309Snwhitehornnecessary. Here is a sample; alter the names: 495217309Snwhitehorn 496217309Snwhitehorn Yoyodyne, Inc., hereby disclaims all copyright interest in the 497217309Snwhitehorn library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498217309Snwhitehorn 499217309Snwhitehorn <signature of Ty Coon>, 1 April 1990 500217309Snwhitehorn Ty Coon, President of Vice 501217309Snwhitehorn 502217309SnwhitehornThat's all there is to it! 503217309Snwhitehorn 504217309Snwhitehorn 505