1*10465441SEvalZero GNU LESSER GENERAL PUBLIC LICENSE 2*10465441SEvalZero Version 2.1, February 1999 3*10465441SEvalZero 4*10465441SEvalZero Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5*10465441SEvalZero 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 6*10465441SEvalZero Everyone is permitted to copy and distribute verbatim copies 7*10465441SEvalZero of this license document, but changing it is not allowed. 8*10465441SEvalZero 9*10465441SEvalZero[This is the first released version of the Lesser GPL. It also counts 10*10465441SEvalZero as the successor of the GNU Library Public License, version 2, hence 11*10465441SEvalZero the version number 2.1.] 12*10465441SEvalZero 13*10465441SEvalZero Preamble 14*10465441SEvalZero 15*10465441SEvalZero The licenses for most software are designed to take away your 16*10465441SEvalZerofreedom to share and change it. By contrast, the GNU General Public 17*10465441SEvalZeroLicenses are intended to guarantee your freedom to share and change 18*10465441SEvalZerofree software--to make sure the software is free for all its users. 19*10465441SEvalZero 20*10465441SEvalZero This license, the Lesser General Public License, applies to some 21*10465441SEvalZerospecially designated software packages--typically libraries--of the 22*10465441SEvalZeroFree Software Foundation and other authors who decide to use it. You 23*10465441SEvalZerocan use it too, but we suggest you first think carefully about whether 24*10465441SEvalZerothis license or the ordinary General Public License is the better 25*10465441SEvalZerostrategy to use in any particular case, based on the explanations below. 26*10465441SEvalZero 27*10465441SEvalZero When we speak of free software, we are referring to freedom of use, 28*10465441SEvalZeronot price. Our General Public Licenses are designed to make sure that 29*10465441SEvalZeroyou have the freedom to distribute copies of free software (and charge 30*10465441SEvalZerofor this service if you wish); that you receive source code or can get 31*10465441SEvalZeroit if you want it; that you can change the software and use pieces of 32*10465441SEvalZeroit in new free programs; and that you are informed that you can do 33*10465441SEvalZerothese things. 34*10465441SEvalZero 35*10465441SEvalZero To protect your rights, we need to make restrictions that forbid 36*10465441SEvalZerodistributors to deny you these rights or to ask you to surrender these 37*10465441SEvalZerorights. These restrictions translate to certain responsibilities for 38*10465441SEvalZeroyou if you distribute copies of the library or if you modify it. 39*10465441SEvalZero 40*10465441SEvalZero For example, if you distribute copies of the library, whether gratis 41*10465441SEvalZeroor for a fee, you must give the recipients all the rights that we gave 42*10465441SEvalZeroyou. You must make sure that they, too, receive or can get the source 43*10465441SEvalZerocode. If you link other code with the library, you must provide 44*10465441SEvalZerocomplete object files to the recipients, so that they can relink them 45*10465441SEvalZerowith the library after making changes to the library and recompiling 46*10465441SEvalZeroit. And you must show them these terms so they know their rights. 47*10465441SEvalZero 48*10465441SEvalZero We protect your rights with a two-step method: (1) we copyright the 49*10465441SEvalZerolibrary, and (2) we offer you this license, which gives you legal 50*10465441SEvalZeropermission to copy, distribute and/or modify the library. 51*10465441SEvalZero 52*10465441SEvalZero To protect each distributor, we want to make it very clear that 53*10465441SEvalZerothere is no warranty for the free library. Also, if the library is 54*10465441SEvalZeromodified by someone else and passed on, the recipients should know 55*10465441SEvalZerothat what they have is not the original version, so that the original 56*10465441SEvalZeroauthor's reputation will not be affected by problems that might be 57*10465441SEvalZerointroduced by others. 58*10465441SEvalZero 59*10465441SEvalZero Finally, software patents pose a constant threat to the existence of 60*10465441SEvalZeroany free program. We wish to make sure that a company cannot 61*10465441SEvalZeroeffectively restrict the users of a free program by obtaining a 62*10465441SEvalZerorestrictive license from a patent holder. Therefore, we insist that 63*10465441SEvalZeroany patent license obtained for a version of the library must be 64*10465441SEvalZeroconsistent with the full freedom of use specified in this license. 65*10465441SEvalZero 66*10465441SEvalZero Most GNU software, including some libraries, is covered by the 67*10465441SEvalZeroordinary GNU General Public License. This license, the GNU Lesser 68*10465441SEvalZeroGeneral Public License, applies to certain designated libraries, and 69*10465441SEvalZerois quite different from the ordinary General Public License. We use 70*10465441SEvalZerothis license for certain libraries in order to permit linking those 71*10465441SEvalZerolibraries into non-free programs. 72*10465441SEvalZero 73*10465441SEvalZero When a program is linked with a library, whether statically or using 74*10465441SEvalZeroa shared library, the combination of the two is legally speaking a 75*10465441SEvalZerocombined work, a derivative of the original library. The ordinary 76*10465441SEvalZeroGeneral Public License therefore permits such linking only if the 77*10465441SEvalZeroentire combination fits its criteria of freedom. The Lesser General 78*10465441SEvalZeroPublic License permits more lax criteria for linking other code with 79*10465441SEvalZerothe library. 80*10465441SEvalZero 81*10465441SEvalZero We call this license the "Lesser" General Public License because it 82*10465441SEvalZerodoes Less to protect the user's freedom than the ordinary General 83*10465441SEvalZeroPublic License. It also provides other free software developers Less 84*10465441SEvalZeroof an advantage over competing non-free programs. These disadvantages 85*10465441SEvalZeroare the reason we use the ordinary General Public License for many 86*10465441SEvalZerolibraries. However, the Lesser license provides advantages in certain 87*10465441SEvalZerospecial circumstances. 88*10465441SEvalZero 89*10465441SEvalZero For example, on rare occasions, there may be a special need to 90*10465441SEvalZeroencourage the widest possible use of a certain library, so that it becomes 91*10465441SEvalZeroa de-facto standard. To achieve this, non-free programs must be 92*10465441SEvalZeroallowed to use the library. A more frequent case is that a free 93*10465441SEvalZerolibrary does the same job as widely used non-free libraries. In this 94*10465441SEvalZerocase, there is little to gain by limiting the free library to free 95*10465441SEvalZerosoftware only, so we use the Lesser General Public License. 96*10465441SEvalZero 97*10465441SEvalZero In other cases, permission to use a particular library in non-free 98*10465441SEvalZeroprograms enables a greater number of people to use a large body of 99*10465441SEvalZerofree software. For example, permission to use the GNU C Library in 100*10465441SEvalZeronon-free programs enables many more people to use the whole GNU 101*10465441SEvalZerooperating system, as well as its variant, the GNU/Linux operating 102*10465441SEvalZerosystem. 103*10465441SEvalZero 104*10465441SEvalZero Although the Lesser General Public License is Less protective of the 105*10465441SEvalZerousers' freedom, it does ensure that the user of a program that is 106*10465441SEvalZerolinked with the Library has the freedom and the wherewithal to run 107*10465441SEvalZerothat program using a modified version of the Library. 108*10465441SEvalZero 109*10465441SEvalZero The precise terms and conditions for copying, distribution and 110*10465441SEvalZeromodification follow. Pay close attention to the difference between a 111*10465441SEvalZero"work based on the library" and a "work that uses the library". The 112*10465441SEvalZeroformer contains code derived from the library, whereas the latter must 113*10465441SEvalZerobe combined with the library in order to run. 114*10465441SEvalZero 115*10465441SEvalZero GNU LESSER GENERAL PUBLIC LICENSE 116*10465441SEvalZero TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117*10465441SEvalZero 118*10465441SEvalZero 0. This License Agreement applies to any software library or other 119*10465441SEvalZeroprogram which contains a notice placed by the copyright holder or 120*10465441SEvalZeroother authorized party saying it may be distributed under the terms of 121*10465441SEvalZerothis Lesser General Public License (also called "this License"). 122*10465441SEvalZeroEach licensee is addressed as "you". 123*10465441SEvalZero 124*10465441SEvalZero A "library" means a collection of software functions and/or data 125*10465441SEvalZeroprepared so as to be conveniently linked with application programs 126*10465441SEvalZero(which use some of those functions and data) to form executables. 127*10465441SEvalZero 128*10465441SEvalZero The "Library", below, refers to any such software library or work 129*10465441SEvalZerowhich has been distributed under these terms. A "work based on the 130*10465441SEvalZeroLibrary" means either the Library or any derivative work under 131*10465441SEvalZerocopyright law: that is to say, a work containing the Library or a 132*10465441SEvalZeroportion of it, either verbatim or with modifications and/or translated 133*10465441SEvalZerostraightforwardly into another language. (Hereinafter, translation is 134*10465441SEvalZeroincluded without limitation in the term "modification".) 135*10465441SEvalZero 136*10465441SEvalZero "Source code" for a work means the preferred form of the work for 137*10465441SEvalZeromaking modifications to it. For a library, complete source code means 138*10465441SEvalZeroall the source code for all modules it contains, plus any associated 139*10465441SEvalZerointerface definition files, plus the scripts used to control compilation 140*10465441SEvalZeroand installation of the library. 141*10465441SEvalZero 142*10465441SEvalZero Activities other than copying, distribution and modification are not 143*10465441SEvalZerocovered by this License; they are outside its scope. The act of 144*10465441SEvalZerorunning a program using the Library is not restricted, and output from 145*10465441SEvalZerosuch a program is covered only if its contents constitute a work based 146*10465441SEvalZeroon the Library (independent of the use of the Library in a tool for 147*10465441SEvalZerowriting it). Whether that is true depends on what the Library does 148*10465441SEvalZeroand what the program that uses the Library does. 149*10465441SEvalZero 150*10465441SEvalZero 1. You may copy and distribute verbatim copies of the Library's 151*10465441SEvalZerocomplete source code as you receive it, in any medium, provided that 152*10465441SEvalZeroyou conspicuously and appropriately publish on each copy an 153*10465441SEvalZeroappropriate copyright notice and disclaimer of warranty; keep intact 154*10465441SEvalZeroall the notices that refer to this License and to the absence of any 155*10465441SEvalZerowarranty; and distribute a copy of this License along with the 156*10465441SEvalZeroLibrary. 157*10465441SEvalZero 158*10465441SEvalZero You may charge a fee for the physical act of transferring a copy, 159*10465441SEvalZeroand you may at your option offer warranty protection in exchange for a 160*10465441SEvalZerofee. 161*10465441SEvalZero 162*10465441SEvalZero 2. You may modify your copy or copies of the Library or any portion 163*10465441SEvalZeroof it, thus forming a work based on the Library, and copy and 164*10465441SEvalZerodistribute such modifications or work under the terms of Section 1 165*10465441SEvalZeroabove, provided that you also meet all of these conditions: 166*10465441SEvalZero 167*10465441SEvalZero a) The modified work must itself be a software library. 168*10465441SEvalZero 169*10465441SEvalZero b) You must cause the files modified to carry prominent notices 170*10465441SEvalZero stating that you changed the files and the date of any change. 171*10465441SEvalZero 172*10465441SEvalZero c) You must cause the whole of the work to be licensed at no 173*10465441SEvalZero charge to all third parties under the terms of this License. 174*10465441SEvalZero 175*10465441SEvalZero d) If a facility in the modified Library refers to a function or a 176*10465441SEvalZero table of data to be supplied by an application program that uses 177*10465441SEvalZero the facility, other than as an argument passed when the facility 178*10465441SEvalZero is invoked, then you must make a good faith effort to ensure that, 179*10465441SEvalZero in the event an application does not supply such function or 180*10465441SEvalZero table, the facility still operates, and performs whatever part of 181*10465441SEvalZero its purpose remains meaningful. 182*10465441SEvalZero 183*10465441SEvalZero (For example, a function in a library to compute square roots has 184*10465441SEvalZero a purpose that is entirely well-defined independent of the 185*10465441SEvalZero application. Therefore, Subsection 2d requires that any 186*10465441SEvalZero application-supplied function or table used by this function must 187*10465441SEvalZero be optional: if the application does not supply it, the square 188*10465441SEvalZero root function must still compute square roots.) 189*10465441SEvalZero 190*10465441SEvalZeroThese requirements apply to the modified work as a whole. If 191*10465441SEvalZeroidentifiable sections of that work are not derived from the Library, 192*10465441SEvalZeroand can be reasonably considered independent and separate works in 193*10465441SEvalZerothemselves, then this License, and its terms, do not apply to those 194*10465441SEvalZerosections when you distribute them as separate works. But when you 195*10465441SEvalZerodistribute the same sections as part of a whole which is a work based 196*10465441SEvalZeroon the Library, the distribution of the whole must be on the terms of 197*10465441SEvalZerothis License, whose permissions for other licensees extend to the 198*10465441SEvalZeroentire whole, and thus to each and every part regardless of who wrote 199*10465441SEvalZeroit. 200*10465441SEvalZero 201*10465441SEvalZeroThus, it is not the intent of this section to claim rights or contest 202*10465441SEvalZeroyour rights to work written entirely by you; rather, the intent is to 203*10465441SEvalZeroexercise the right to control the distribution of derivative or 204*10465441SEvalZerocollective works based on the Library. 205*10465441SEvalZero 206*10465441SEvalZeroIn addition, mere aggregation of another work not based on the Library 207*10465441SEvalZerowith the Library (or with a work based on the Library) on a volume of 208*10465441SEvalZeroa storage or distribution medium does not bring the other work under 209*10465441SEvalZerothe scope of this License. 210*10465441SEvalZero 211*10465441SEvalZero 3. You may opt to apply the terms of the ordinary GNU General Public 212*10465441SEvalZeroLicense instead of this License to a given copy of the Library. To do 213*10465441SEvalZerothis, you must alter all the notices that refer to this License, so 214*10465441SEvalZerothat they refer to the ordinary GNU General Public License, version 2, 215*10465441SEvalZeroinstead of to this License. (If a newer version than version 2 of the 216*10465441SEvalZeroordinary GNU General Public License has appeared, then you can specify 217*10465441SEvalZerothat version instead if you wish.) Do not make any other change in 218*10465441SEvalZerothese notices. 219*10465441SEvalZero 220*10465441SEvalZero Once this change is made in a given copy, it is irreversible for 221*10465441SEvalZerothat copy, so the ordinary GNU General Public License applies to all 222*10465441SEvalZerosubsequent copies and derivative works made from that copy. 223*10465441SEvalZero 224*10465441SEvalZero This option is useful when you wish to copy part of the code of 225*10465441SEvalZerothe Library into a program that is not a library. 226*10465441SEvalZero 227*10465441SEvalZero 4. You may copy and distribute the Library (or a portion or 228*10465441SEvalZeroderivative of it, under Section 2) in object code or executable form 229*10465441SEvalZerounder the terms of Sections 1 and 2 above provided that you accompany 230*10465441SEvalZeroit with the complete corresponding machine-readable source code, which 231*10465441SEvalZeromust be distributed under the terms of Sections 1 and 2 above on a 232*10465441SEvalZeromedium customarily used for software interchange. 233*10465441SEvalZero 234*10465441SEvalZero If distribution of object code is made by offering access to copy 235*10465441SEvalZerofrom a designated place, then offering equivalent access to copy the 236*10465441SEvalZerosource code from the same place satisfies the requirement to 237*10465441SEvalZerodistribute the source code, even though third parties are not 238*10465441SEvalZerocompelled to copy the source along with the object code. 239*10465441SEvalZero 240*10465441SEvalZero 5. A program that contains no derivative of any portion of the 241*10465441SEvalZeroLibrary, but is designed to work with the Library by being compiled or 242*10465441SEvalZerolinked with it, is called a "work that uses the Library". Such a 243*10465441SEvalZerowork, in isolation, is not a derivative work of the Library, and 244*10465441SEvalZerotherefore falls outside the scope of this License. 245*10465441SEvalZero 246*10465441SEvalZero However, linking a "work that uses the Library" with the Library 247*10465441SEvalZerocreates an executable that is a derivative of the Library (because it 248*10465441SEvalZerocontains portions of the Library), rather than a "work that uses the 249*10465441SEvalZerolibrary". The executable is therefore covered by this License. 250*10465441SEvalZeroSection 6 states terms for distribution of such executables. 251*10465441SEvalZero 252*10465441SEvalZero When a "work that uses the Library" uses material from a header file 253*10465441SEvalZerothat is part of the Library, the object code for the work may be a 254*10465441SEvalZeroderivative work of the Library even though the source code is not. 255*10465441SEvalZeroWhether this is true is especially significant if the work can be 256*10465441SEvalZerolinked without the Library, or if the work is itself a library. The 257*10465441SEvalZerothreshold for this to be true is not precisely defined by law. 258*10465441SEvalZero 259*10465441SEvalZero If such an object file uses only numerical parameters, data 260*10465441SEvalZerostructure layouts and accessors, and small macros and small inline 261*10465441SEvalZerofunctions (ten lines or less in length), then the use of the object 262*10465441SEvalZerofile is unrestricted, regardless of whether it is legally a derivative 263*10465441SEvalZerowork. (Executables containing this object code plus portions of the 264*10465441SEvalZeroLibrary will still fall under Section 6.) 265*10465441SEvalZero 266*10465441SEvalZero Otherwise, if the work is a derivative of the Library, you may 267*10465441SEvalZerodistribute the object code for the work under the terms of Section 6. 268*10465441SEvalZeroAny executables containing that work also fall under Section 6, 269*10465441SEvalZerowhether or not they are linked directly with the Library itself. 270*10465441SEvalZero 271*10465441SEvalZero 6. As an exception to the Sections above, you may also combine or 272*10465441SEvalZerolink a "work that uses the Library" with the Library to produce a 273*10465441SEvalZerowork containing portions of the Library, and distribute that work 274*10465441SEvalZerounder terms of your choice, provided that the terms permit 275*10465441SEvalZeromodification of the work for the customer's own use and reverse 276*10465441SEvalZeroengineering for debugging such modifications. 277*10465441SEvalZero 278*10465441SEvalZero You must give prominent notice with each copy of the work that the 279*10465441SEvalZeroLibrary is used in it and that the Library and its use are covered by 280*10465441SEvalZerothis License. You must supply a copy of this License. If the work 281*10465441SEvalZeroduring execution displays copyright notices, you must include the 282*10465441SEvalZerocopyright notice for the Library among them, as well as a reference 283*10465441SEvalZerodirecting the user to the copy of this License. Also, you must do one 284*10465441SEvalZeroof these things: 285*10465441SEvalZero 286*10465441SEvalZero a) Accompany the work with the complete corresponding 287*10465441SEvalZero machine-readable source code for the Library including whatever 288*10465441SEvalZero changes were used in the work (which must be distributed under 289*10465441SEvalZero Sections 1 and 2 above); and, if the work is an executable linked 290*10465441SEvalZero with the Library, with the complete machine-readable "work that 291*10465441SEvalZero uses the Library", as object code and/or source code, so that the 292*10465441SEvalZero user can modify the Library and then relink to produce a modified 293*10465441SEvalZero executable containing the modified Library. (It is understood 294*10465441SEvalZero that the user who changes the contents of definitions files in the 295*10465441SEvalZero Library will not necessarily be able to recompile the application 296*10465441SEvalZero to use the modified definitions.) 297*10465441SEvalZero 298*10465441SEvalZero b) Use a suitable shared library mechanism for linking with the 299*10465441SEvalZero Library. A suitable mechanism is one that (1) uses at run time a 300*10465441SEvalZero copy of the library already present on the user's computer system, 301*10465441SEvalZero rather than copying library functions into the executable, and (2) 302*10465441SEvalZero will operate properly with a modified version of the library, if 303*10465441SEvalZero the user installs one, as long as the modified version is 304*10465441SEvalZero interface-compatible with the version that the work was made with. 305*10465441SEvalZero 306*10465441SEvalZero c) Accompany the work with a written offer, valid for at 307*10465441SEvalZero least three years, to give the same user the materials 308*10465441SEvalZero specified in Subsection 6a, above, for a charge no more 309*10465441SEvalZero than the cost of performing this distribution. 310*10465441SEvalZero 311*10465441SEvalZero d) If distribution of the work is made by offering access to copy 312*10465441SEvalZero from a designated place, offer equivalent access to copy the above 313*10465441SEvalZero specified materials from the same place. 314*10465441SEvalZero 315*10465441SEvalZero e) Verify that the user has already received a copy of these 316*10465441SEvalZero materials or that you have already sent this user a copy. 317*10465441SEvalZero 318*10465441SEvalZero For an executable, the required form of the "work that uses the 319*10465441SEvalZeroLibrary" must include any data and utility programs needed for 320*10465441SEvalZeroreproducing the executable from it. However, as a special exception, 321*10465441SEvalZerothe materials to be distributed need not include anything that is 322*10465441SEvalZeronormally distributed (in either source or binary form) with the major 323*10465441SEvalZerocomponents (compiler, kernel, and so on) of the operating system on 324*10465441SEvalZerowhich the executable runs, unless that component itself accompanies 325*10465441SEvalZerothe executable. 326*10465441SEvalZero 327*10465441SEvalZero It may happen that this requirement contradicts the license 328*10465441SEvalZerorestrictions of other proprietary libraries that do not normally 329*10465441SEvalZeroaccompany the operating system. Such a contradiction means you cannot 330*10465441SEvalZerouse both them and the Library together in an executable that you 331*10465441SEvalZerodistribute. 332*10465441SEvalZero 333*10465441SEvalZero 7. You may place library facilities that are a work based on the 334*10465441SEvalZeroLibrary side-by-side in a single library together with other library 335*10465441SEvalZerofacilities not covered by this License, and distribute such a combined 336*10465441SEvalZerolibrary, provided that the separate distribution of the work based on 337*10465441SEvalZerothe Library and of the other library facilities is otherwise 338*10465441SEvalZeropermitted, and provided that you do these two things: 339*10465441SEvalZero 340*10465441SEvalZero a) Accompany the combined library with a copy of the same work 341*10465441SEvalZero based on the Library, uncombined with any other library 342*10465441SEvalZero facilities. This must be distributed under the terms of the 343*10465441SEvalZero Sections above. 344*10465441SEvalZero 345*10465441SEvalZero b) Give prominent notice with the combined library of the fact 346*10465441SEvalZero that part of it is a work based on the Library, and explaining 347*10465441SEvalZero where to find the accompanying uncombined form of the same work. 348*10465441SEvalZero 349*10465441SEvalZero 8. You may not copy, modify, sublicense, link with, or distribute 350*10465441SEvalZerothe Library except as expressly provided under this License. Any 351*10465441SEvalZeroattempt otherwise to copy, modify, sublicense, link with, or 352*10465441SEvalZerodistribute the Library is void, and will automatically terminate your 353*10465441SEvalZerorights under this License. However, parties who have received copies, 354*10465441SEvalZeroor rights, from you under this License will not have their licenses 355*10465441SEvalZeroterminated so long as such parties remain in full compliance. 356*10465441SEvalZero 357*10465441SEvalZero 9. You are not required to accept this License, since you have not 358*10465441SEvalZerosigned it. However, nothing else grants you permission to modify or 359*10465441SEvalZerodistribute the Library or its derivative works. These actions are 360*10465441SEvalZeroprohibited by law if you do not accept this License. Therefore, by 361*10465441SEvalZeromodifying or distributing the Library (or any work based on the 362*10465441SEvalZeroLibrary), you indicate your acceptance of this License to do so, and 363*10465441SEvalZeroall its terms and conditions for copying, distributing or modifying 364*10465441SEvalZerothe Library or works based on it. 365*10465441SEvalZero 366*10465441SEvalZero 10. Each time you redistribute the Library (or any work based on the 367*10465441SEvalZeroLibrary), the recipient automatically receives a license from the 368*10465441SEvalZerooriginal licensor to copy, distribute, link with or modify the Library 369*10465441SEvalZerosubject to these terms and conditions. You may not impose any further 370*10465441SEvalZerorestrictions on the recipients' exercise of the rights granted herein. 371*10465441SEvalZeroYou are not responsible for enforcing compliance by third parties with 372*10465441SEvalZerothis License. 373*10465441SEvalZero 374*10465441SEvalZero 11. If, as a consequence of a court judgment or allegation of patent 375*10465441SEvalZeroinfringement or for any other reason (not limited to patent issues), 376*10465441SEvalZeroconditions are imposed on you (whether by court order, agreement or 377*10465441SEvalZerootherwise) that contradict the conditions of this License, they do not 378*10465441SEvalZeroexcuse you from the conditions of this License. If you cannot 379*10465441SEvalZerodistribute so as to satisfy simultaneously your obligations under this 380*10465441SEvalZeroLicense and any other pertinent obligations, then as a consequence you 381*10465441SEvalZeromay not distribute the Library at all. For example, if a patent 382*10465441SEvalZerolicense would not permit royalty-free redistribution of the Library by 383*10465441SEvalZeroall those who receive copies directly or indirectly through you, then 384*10465441SEvalZerothe only way you could satisfy both it and this License would be to 385*10465441SEvalZerorefrain entirely from distribution of the Library. 386*10465441SEvalZero 387*10465441SEvalZeroIf any portion of this section is held invalid or unenforceable under any 388*10465441SEvalZeroparticular circumstance, the balance of the section is intended to apply, 389*10465441SEvalZeroand the section as a whole is intended to apply in other circumstances. 390*10465441SEvalZero 391*10465441SEvalZeroIt is not the purpose of this section to induce you to infringe any 392*10465441SEvalZeropatents or other property right claims or to contest validity of any 393*10465441SEvalZerosuch claims; this section has the sole purpose of protecting the 394*10465441SEvalZerointegrity of the free software distribution system which is 395*10465441SEvalZeroimplemented by public license practices. Many people have made 396*10465441SEvalZerogenerous contributions to the wide range of software distributed 397*10465441SEvalZerothrough that system in reliance on consistent application of that 398*10465441SEvalZerosystem; it is up to the author/donor to decide if he or she is willing 399*10465441SEvalZeroto distribute software through any other system and a licensee cannot 400*10465441SEvalZeroimpose that choice. 401*10465441SEvalZero 402*10465441SEvalZeroThis section is intended to make thoroughly clear what is believed to 403*10465441SEvalZerobe a consequence of the rest of this License. 404*10465441SEvalZero 405*10465441SEvalZero 12. If the distribution and/or use of the Library is restricted in 406*10465441SEvalZerocertain countries either by patents or by copyrighted interfaces, the 407*10465441SEvalZerooriginal copyright holder who places the Library under this License may add 408*10465441SEvalZeroan explicit geographical distribution limitation excluding those countries, 409*10465441SEvalZeroso that distribution is permitted only in or among countries not thus 410*10465441SEvalZeroexcluded. In such case, this License incorporates the limitation as if 411*10465441SEvalZerowritten in the body of this License. 412*10465441SEvalZero 413*10465441SEvalZero 13. The Free Software Foundation may publish revised and/or new 414*10465441SEvalZeroversions of the Lesser General Public License from time to time. 415*10465441SEvalZeroSuch new versions will be similar in spirit to the present version, 416*10465441SEvalZerobut may differ in detail to address new problems or concerns. 417*10465441SEvalZero 418*10465441SEvalZeroEach version is given a distinguishing version number. If the Library 419*10465441SEvalZerospecifies a version number of this License which applies to it and 420*10465441SEvalZero"any later version", you have the option of following the terms and 421*10465441SEvalZeroconditions either of that version or of any later version published by 422*10465441SEvalZerothe Free Software Foundation. If the Library does not specify a 423*10465441SEvalZerolicense version number, you may choose any version ever published by 424*10465441SEvalZerothe Free Software Foundation. 425*10465441SEvalZero 426*10465441SEvalZero 14. If you wish to incorporate parts of the Library into other free 427*10465441SEvalZeroprograms whose distribution conditions are incompatible with these, 428*10465441SEvalZerowrite to the author to ask for permission. For software which is 429*10465441SEvalZerocopyrighted by the Free Software Foundation, write to the Free 430*10465441SEvalZeroSoftware Foundation; we sometimes make exceptions for this. Our 431*10465441SEvalZerodecision will be guided by the two goals of preserving the free status 432*10465441SEvalZeroof all derivatives of our free software and of promoting the sharing 433*10465441SEvalZeroand reuse of software generally. 434*10465441SEvalZero 435*10465441SEvalZero NO WARRANTY 436*10465441SEvalZero 437*10465441SEvalZero 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438*10465441SEvalZeroWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439*10465441SEvalZeroEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440*10465441SEvalZeroOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441*10465441SEvalZeroKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442*10465441SEvalZeroIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443*10465441SEvalZeroPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444*10465441SEvalZeroLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445*10465441SEvalZeroTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446*10465441SEvalZero 447*10465441SEvalZero 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448*10465441SEvalZeroWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449*10465441SEvalZeroAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450*10465441SEvalZeroFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451*10465441SEvalZeroCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452*10465441SEvalZeroLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453*10465441SEvalZeroRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454*10465441SEvalZeroFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455*10465441SEvalZeroSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456*10465441SEvalZeroDAMAGES. 457*10465441SEvalZero 458*10465441SEvalZero END OF TERMS AND CONDITIONS 459*10465441SEvalZero 460*10465441SEvalZero How to Apply These Terms to Your New Libraries 461*10465441SEvalZero 462*10465441SEvalZero If you develop a new library, and you want it to be of the greatest 463*10465441SEvalZeropossible use to the public, we recommend making it free software that 464*10465441SEvalZeroeveryone can redistribute and change. You can do so by permitting 465*10465441SEvalZeroredistribution under these terms (or, alternatively, under the terms of the 466*10465441SEvalZeroordinary General Public License). 467*10465441SEvalZero 468*10465441SEvalZero To apply these terms, attach the following notices to the library. It is 469*10465441SEvalZerosafest to attach them to the start of each source file to most effectively 470*10465441SEvalZeroconvey the exclusion of warranty; and each file should have at least the 471*10465441SEvalZero"copyright" line and a pointer to where the full notice is found. 472*10465441SEvalZero 473*10465441SEvalZero <one line to give the library's name and a brief idea of what it does.> 474*10465441SEvalZero Copyright (C) <year> <name of author> 475*10465441SEvalZero 476*10465441SEvalZero This library is free software; you can redistribute it and/or 477*10465441SEvalZero modify it under the terms of the GNU Lesser General Public 478*10465441SEvalZero License as published by the Free Software Foundation; either 479*10465441SEvalZero version 2.1 of the License, or (at your option) any later version. 480*10465441SEvalZero 481*10465441SEvalZero This library is distributed in the hope that it will be useful, 482*10465441SEvalZero but WITHOUT ANY WARRANTY; without even the implied warranty of 483*10465441SEvalZero MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484*10465441SEvalZero Lesser General Public License for more details. 485*10465441SEvalZero 486*10465441SEvalZero You should have received a copy of the GNU Lesser General Public 487*10465441SEvalZero License along with this library; if not, write to the Free Software 488*10465441SEvalZero Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 489*10465441SEvalZero 490*10465441SEvalZeroAlso add information on how to contact you by electronic and paper mail. 491*10465441SEvalZero 492*10465441SEvalZeroYou should also get your employer (if you work as a programmer) or your 493*10465441SEvalZeroschool, if any, to sign a "copyright disclaimer" for the library, if 494*10465441SEvalZeronecessary. Here is a sample; alter the names: 495*10465441SEvalZero 496*10465441SEvalZero Yoyodyne, Inc., hereby disclaims all copyright interest in the 497*10465441SEvalZero library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498*10465441SEvalZero 499*10465441SEvalZero <signature of Ty Coon>, 1 April 1990 500*10465441SEvalZero Ty Coon, President of Vice 501*10465441SEvalZero 502*10465441SEvalZeroThat's all there is to it! 503*10465441SEvalZero 504*10465441SEvalZero 505