1*6cb05674SAndreas Gohr GNU LESSER GENERAL PUBLIC LICENSE 2*6cb05674SAndreas Gohr Version 2.1, February 1999 3*6cb05674SAndreas Gohr 4*6cb05674SAndreas Gohr Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5*6cb05674SAndreas Gohr 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*6cb05674SAndreas Gohr Everyone is permitted to copy and distribute verbatim copies 7*6cb05674SAndreas Gohr of this license document, but changing it is not allowed. 8*6cb05674SAndreas Gohr 9*6cb05674SAndreas Gohr[This is the first released version of the Lesser GPL. It also counts 10*6cb05674SAndreas Gohr as the successor of the GNU Library Public License, version 2, hence 11*6cb05674SAndreas Gohr the version number 2.1.] 12*6cb05674SAndreas Gohr 13*6cb05674SAndreas Gohr Preamble 14*6cb05674SAndreas Gohr 15*6cb05674SAndreas Gohr The licenses for most software are designed to take away your 16*6cb05674SAndreas Gohrfreedom to share and change it. By contrast, the GNU General Public 17*6cb05674SAndreas GohrLicenses are intended to guarantee your freedom to share and change 18*6cb05674SAndreas Gohrfree software--to make sure the software is free for all its users. 19*6cb05674SAndreas Gohr 20*6cb05674SAndreas Gohr This license, the Lesser General Public License, applies to some 21*6cb05674SAndreas Gohrspecially designated software packages--typically libraries--of the 22*6cb05674SAndreas GohrFree Software Foundation and other authors who decide to use it. You 23*6cb05674SAndreas Gohrcan use it too, but we suggest you first think carefully about whether 24*6cb05674SAndreas Gohrthis license or the ordinary General Public License is the better 25*6cb05674SAndreas Gohrstrategy to use in any particular case, based on the explanations below. 26*6cb05674SAndreas Gohr 27*6cb05674SAndreas Gohr When we speak of free software, we are referring to freedom of use, 28*6cb05674SAndreas Gohrnot price. Our General Public Licenses are designed to make sure that 29*6cb05674SAndreas Gohryou have the freedom to distribute copies of free software (and charge 30*6cb05674SAndreas Gohrfor this service if you wish); that you receive source code or can get 31*6cb05674SAndreas Gohrit if you want it; that you can change the software and use pieces of 32*6cb05674SAndreas Gohrit in new free programs; and that you are informed that you can do 33*6cb05674SAndreas Gohrthese things. 34*6cb05674SAndreas Gohr 35*6cb05674SAndreas Gohr To protect your rights, we need to make restrictions that forbid 36*6cb05674SAndreas Gohrdistributors to deny you these rights or to ask you to surrender these 37*6cb05674SAndreas Gohrrights. These restrictions translate to certain responsibilities for 38*6cb05674SAndreas Gohryou if you distribute copies of the library or if you modify it. 39*6cb05674SAndreas Gohr 40*6cb05674SAndreas Gohr For example, if you distribute copies of the library, whether gratis 41*6cb05674SAndreas Gohror for a fee, you must give the recipients all the rights that we gave 42*6cb05674SAndreas Gohryou. You must make sure that they, too, receive or can get the source 43*6cb05674SAndreas Gohrcode. If you link other code with the library, you must provide 44*6cb05674SAndreas Gohrcomplete object files to the recipients, so that they can relink them 45*6cb05674SAndreas Gohrwith the library after making changes to the library and recompiling 46*6cb05674SAndreas Gohrit. And you must show them these terms so they know their rights. 47*6cb05674SAndreas Gohr 48*6cb05674SAndreas Gohr We protect your rights with a two-step method: (1) we copyright the 49*6cb05674SAndreas Gohrlibrary, and (2) we offer you this license, which gives you legal 50*6cb05674SAndreas Gohrpermission to copy, distribute and/or modify the library. 51*6cb05674SAndreas Gohr 52*6cb05674SAndreas Gohr To protect each distributor, we want to make it very clear that 53*6cb05674SAndreas Gohrthere is no warranty for the free library. Also, if the library is 54*6cb05674SAndreas Gohrmodified by someone else and passed on, the recipients should know 55*6cb05674SAndreas Gohrthat what they have is not the original version, so that the original 56*6cb05674SAndreas Gohrauthor's reputation will not be affected by problems that might be 57*6cb05674SAndreas Gohrintroduced by others. 58*6cb05674SAndreas Gohr 59*6cb05674SAndreas Gohr Finally, software patents pose a constant threat to the existence of 60*6cb05674SAndreas Gohrany free program. We wish to make sure that a company cannot 61*6cb05674SAndreas Gohreffectively restrict the users of a free program by obtaining a 62*6cb05674SAndreas Gohrrestrictive license from a patent holder. Therefore, we insist that 63*6cb05674SAndreas Gohrany patent license obtained for a version of the library must be 64*6cb05674SAndreas Gohrconsistent with the full freedom of use specified in this license. 65*6cb05674SAndreas Gohr 66*6cb05674SAndreas Gohr Most GNU software, including some libraries, is covered by the 67*6cb05674SAndreas Gohrordinary GNU General Public License. This license, the GNU Lesser 68*6cb05674SAndreas GohrGeneral Public License, applies to certain designated libraries, and 69*6cb05674SAndreas Gohris quite different from the ordinary General Public License. We use 70*6cb05674SAndreas Gohrthis license for certain libraries in order to permit linking those 71*6cb05674SAndreas Gohrlibraries into non-free programs. 72*6cb05674SAndreas Gohr 73*6cb05674SAndreas Gohr When a program is linked with a library, whether statically or using 74*6cb05674SAndreas Gohra shared library, the combination of the two is legally speaking a 75*6cb05674SAndreas Gohrcombined work, a derivative of the original library. The ordinary 76*6cb05674SAndreas GohrGeneral Public License therefore permits such linking only if the 77*6cb05674SAndreas Gohrentire combination fits its criteria of freedom. The Lesser General 78*6cb05674SAndreas GohrPublic License permits more lax criteria for linking other code with 79*6cb05674SAndreas Gohrthe library. 80*6cb05674SAndreas Gohr 81*6cb05674SAndreas Gohr We call this license the "Lesser" General Public License because it 82*6cb05674SAndreas Gohrdoes Less to protect the user's freedom than the ordinary General 83*6cb05674SAndreas GohrPublic License. It also provides other free software developers Less 84*6cb05674SAndreas Gohrof an advantage over competing non-free programs. These disadvantages 85*6cb05674SAndreas Gohrare the reason we use the ordinary General Public License for many 86*6cb05674SAndreas Gohrlibraries. However, the Lesser license provides advantages in certain 87*6cb05674SAndreas Gohrspecial circumstances. 88*6cb05674SAndreas Gohr 89*6cb05674SAndreas Gohr For example, on rare occasions, there may be a special need to 90*6cb05674SAndreas Gohrencourage the widest possible use of a certain library, so that it becomes 91*6cb05674SAndreas Gohra de-facto standard. To achieve this, non-free programs must be 92*6cb05674SAndreas Gohrallowed to use the library. A more frequent case is that a free 93*6cb05674SAndreas Gohrlibrary does the same job as widely used non-free libraries. In this 94*6cb05674SAndreas Gohrcase, there is little to gain by limiting the free library to free 95*6cb05674SAndreas Gohrsoftware only, so we use the Lesser General Public License. 96*6cb05674SAndreas Gohr 97*6cb05674SAndreas Gohr In other cases, permission to use a particular library in non-free 98*6cb05674SAndreas Gohrprograms enables a greater number of people to use a large body of 99*6cb05674SAndreas Gohrfree software. For example, permission to use the GNU C Library in 100*6cb05674SAndreas Gohrnon-free programs enables many more people to use the whole GNU 101*6cb05674SAndreas Gohroperating system, as well as its variant, the GNU/Linux operating 102*6cb05674SAndreas Gohrsystem. 103*6cb05674SAndreas Gohr 104*6cb05674SAndreas Gohr Although the Lesser General Public License is Less protective of the 105*6cb05674SAndreas Gohrusers' freedom, it does ensure that the user of a program that is 106*6cb05674SAndreas Gohrlinked with the Library has the freedom and the wherewithal to run 107*6cb05674SAndreas Gohrthat program using a modified version of the Library. 108*6cb05674SAndreas Gohr 109*6cb05674SAndreas Gohr The precise terms and conditions for copying, distribution and 110*6cb05674SAndreas Gohrmodification follow. Pay close attention to the difference between a 111*6cb05674SAndreas Gohr"work based on the library" and a "work that uses the library". The 112*6cb05674SAndreas Gohrformer contains code derived from the library, whereas the latter must 113*6cb05674SAndreas Gohrbe combined with the library in order to run. 114*6cb05674SAndreas Gohr 115*6cb05674SAndreas Gohr GNU LESSER GENERAL PUBLIC LICENSE 116*6cb05674SAndreas Gohr TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117*6cb05674SAndreas Gohr 118*6cb05674SAndreas Gohr 0. This License Agreement applies to any software library or other 119*6cb05674SAndreas Gohrprogram which contains a notice placed by the copyright holder or 120*6cb05674SAndreas Gohrother authorized party saying it may be distributed under the terms of 121*6cb05674SAndreas Gohrthis Lesser General Public License (also called "this License"). 122*6cb05674SAndreas GohrEach licensee is addressed as "you". 123*6cb05674SAndreas Gohr 124*6cb05674SAndreas Gohr A "library" means a collection of software functions and/or data 125*6cb05674SAndreas Gohrprepared so as to be conveniently linked with application programs 126*6cb05674SAndreas Gohr(which use some of those functions and data) to form executables. 127*6cb05674SAndreas Gohr 128*6cb05674SAndreas Gohr The "Library", below, refers to any such software library or work 129*6cb05674SAndreas Gohrwhich has been distributed under these terms. A "work based on the 130*6cb05674SAndreas GohrLibrary" means either the Library or any derivative work under 131*6cb05674SAndreas Gohrcopyright law: that is to say, a work containing the Library or a 132*6cb05674SAndreas Gohrportion of it, either verbatim or with modifications and/or translated 133*6cb05674SAndreas Gohrstraightforwardly into another language. (Hereinafter, translation is 134*6cb05674SAndreas Gohrincluded without limitation in the term "modification".) 135*6cb05674SAndreas Gohr 136*6cb05674SAndreas Gohr "Source code" for a work means the preferred form of the work for 137*6cb05674SAndreas Gohrmaking modifications to it. For a library, complete source code means 138*6cb05674SAndreas Gohrall the source code for all modules it contains, plus any associated 139*6cb05674SAndreas Gohrinterface definition files, plus the scripts used to control compilation 140*6cb05674SAndreas Gohrand installation of the library. 141*6cb05674SAndreas Gohr 142*6cb05674SAndreas Gohr Activities other than copying, distribution and modification are not 143*6cb05674SAndreas Gohrcovered by this License; they are outside its scope. The act of 144*6cb05674SAndreas Gohrrunning a program using the Library is not restricted, and output from 145*6cb05674SAndreas Gohrsuch a program is covered only if its contents constitute a work based 146*6cb05674SAndreas Gohron the Library (independent of the use of the Library in a tool for 147*6cb05674SAndreas Gohrwriting it). Whether that is true depends on what the Library does 148*6cb05674SAndreas Gohrand what the program that uses the Library does. 149*6cb05674SAndreas Gohr 150*6cb05674SAndreas Gohr 1. You may copy and distribute verbatim copies of the Library's 151*6cb05674SAndreas Gohrcomplete source code as you receive it, in any medium, provided that 152*6cb05674SAndreas Gohryou conspicuously and appropriately publish on each copy an 153*6cb05674SAndreas Gohrappropriate copyright notice and disclaimer of warranty; keep intact 154*6cb05674SAndreas Gohrall the notices that refer to this License and to the absence of any 155*6cb05674SAndreas Gohrwarranty; and distribute a copy of this License along with the 156*6cb05674SAndreas GohrLibrary. 157*6cb05674SAndreas Gohr 158*6cb05674SAndreas Gohr You may charge a fee for the physical act of transferring a copy, 159*6cb05674SAndreas Gohrand you may at your option offer warranty protection in exchange for a 160*6cb05674SAndreas Gohrfee. 161*6cb05674SAndreas Gohr 162*6cb05674SAndreas Gohr 2. You may modify your copy or copies of the Library or any portion 163*6cb05674SAndreas Gohrof it, thus forming a work based on the Library, and copy and 164*6cb05674SAndreas Gohrdistribute such modifications or work under the terms of Section 1 165*6cb05674SAndreas Gohrabove, provided that you also meet all of these conditions: 166*6cb05674SAndreas Gohr 167*6cb05674SAndreas Gohr a) The modified work must itself be a software library. 168*6cb05674SAndreas Gohr 169*6cb05674SAndreas Gohr b) You must cause the files modified to carry prominent notices 170*6cb05674SAndreas Gohr stating that you changed the files and the date of any change. 171*6cb05674SAndreas Gohr 172*6cb05674SAndreas Gohr c) You must cause the whole of the work to be licensed at no 173*6cb05674SAndreas Gohr charge to all third parties under the terms of this License. 174*6cb05674SAndreas Gohr 175*6cb05674SAndreas Gohr d) If a facility in the modified Library refers to a function or a 176*6cb05674SAndreas Gohr table of data to be supplied by an application program that uses 177*6cb05674SAndreas Gohr the facility, other than as an argument passed when the facility 178*6cb05674SAndreas Gohr is invoked, then you must make a good faith effort to ensure that, 179*6cb05674SAndreas Gohr in the event an application does not supply such function or 180*6cb05674SAndreas Gohr table, the facility still operates, and performs whatever part of 181*6cb05674SAndreas Gohr its purpose remains meaningful. 182*6cb05674SAndreas Gohr 183*6cb05674SAndreas Gohr (For example, a function in a library to compute square roots has 184*6cb05674SAndreas Gohr a purpose that is entirely well-defined independent of the 185*6cb05674SAndreas Gohr application. Therefore, Subsection 2d requires that any 186*6cb05674SAndreas Gohr application-supplied function or table used by this function must 187*6cb05674SAndreas Gohr be optional: if the application does not supply it, the square 188*6cb05674SAndreas Gohr root function must still compute square roots.) 189*6cb05674SAndreas Gohr 190*6cb05674SAndreas GohrThese requirements apply to the modified work as a whole. If 191*6cb05674SAndreas Gohridentifiable sections of that work are not derived from the Library, 192*6cb05674SAndreas Gohrand can be reasonably considered independent and separate works in 193*6cb05674SAndreas Gohrthemselves, then this License, and its terms, do not apply to those 194*6cb05674SAndreas Gohrsections when you distribute them as separate works. But when you 195*6cb05674SAndreas Gohrdistribute the same sections as part of a whole which is a work based 196*6cb05674SAndreas Gohron the Library, the distribution of the whole must be on the terms of 197*6cb05674SAndreas Gohrthis License, whose permissions for other licensees extend to the 198*6cb05674SAndreas Gohrentire whole, and thus to each and every part regardless of who wrote 199*6cb05674SAndreas Gohrit. 200*6cb05674SAndreas Gohr 201*6cb05674SAndreas GohrThus, it is not the intent of this section to claim rights or contest 202*6cb05674SAndreas Gohryour rights to work written entirely by you; rather, the intent is to 203*6cb05674SAndreas Gohrexercise the right to control the distribution of derivative or 204*6cb05674SAndreas Gohrcollective works based on the Library. 205*6cb05674SAndreas Gohr 206*6cb05674SAndreas GohrIn addition, mere aggregation of another work not based on the Library 207*6cb05674SAndreas Gohrwith the Library (or with a work based on the Library) on a volume of 208*6cb05674SAndreas Gohra storage or distribution medium does not bring the other work under 209*6cb05674SAndreas Gohrthe scope of this License. 210*6cb05674SAndreas Gohr 211*6cb05674SAndreas Gohr 3. You may opt to apply the terms of the ordinary GNU General Public 212*6cb05674SAndreas GohrLicense instead of this License to a given copy of the Library. To do 213*6cb05674SAndreas Gohrthis, you must alter all the notices that refer to this License, so 214*6cb05674SAndreas Gohrthat they refer to the ordinary GNU General Public License, version 2, 215*6cb05674SAndreas Gohrinstead of to this License. (If a newer version than version 2 of the 216*6cb05674SAndreas Gohrordinary GNU General Public License has appeared, then you can specify 217*6cb05674SAndreas Gohrthat version instead if you wish.) Do not make any other change in 218*6cb05674SAndreas Gohrthese notices. 219*6cb05674SAndreas Gohr 220*6cb05674SAndreas Gohr Once this change is made in a given copy, it is irreversible for 221*6cb05674SAndreas Gohrthat copy, so the ordinary GNU General Public License applies to all 222*6cb05674SAndreas Gohrsubsequent copies and derivative works made from that copy. 223*6cb05674SAndreas Gohr 224*6cb05674SAndreas Gohr This option is useful when you wish to copy part of the code of 225*6cb05674SAndreas Gohrthe Library into a program that is not a library. 226*6cb05674SAndreas Gohr 227*6cb05674SAndreas Gohr 4. You may copy and distribute the Library (or a portion or 228*6cb05674SAndreas Gohrderivative of it, under Section 2) in object code or executable form 229*6cb05674SAndreas Gohrunder the terms of Sections 1 and 2 above provided that you accompany 230*6cb05674SAndreas Gohrit with the complete corresponding machine-readable source code, which 231*6cb05674SAndreas Gohrmust be distributed under the terms of Sections 1 and 2 above on a 232*6cb05674SAndreas Gohrmedium customarily used for software interchange. 233*6cb05674SAndreas Gohr 234*6cb05674SAndreas Gohr If distribution of object code is made by offering access to copy 235*6cb05674SAndreas Gohrfrom a designated place, then offering equivalent access to copy the 236*6cb05674SAndreas Gohrsource code from the same place satisfies the requirement to 237*6cb05674SAndreas Gohrdistribute the source code, even though third parties are not 238*6cb05674SAndreas Gohrcompelled to copy the source along with the object code. 239*6cb05674SAndreas Gohr 240*6cb05674SAndreas Gohr 5. A program that contains no derivative of any portion of the 241*6cb05674SAndreas GohrLibrary, but is designed to work with the Library by being compiled or 242*6cb05674SAndreas Gohrlinked with it, is called a "work that uses the Library". Such a 243*6cb05674SAndreas Gohrwork, in isolation, is not a derivative work of the Library, and 244*6cb05674SAndreas Gohrtherefore falls outside the scope of this License. 245*6cb05674SAndreas Gohr 246*6cb05674SAndreas Gohr However, linking a "work that uses the Library" with the Library 247*6cb05674SAndreas Gohrcreates an executable that is a derivative of the Library (because it 248*6cb05674SAndreas Gohrcontains portions of the Library), rather than a "work that uses the 249*6cb05674SAndreas Gohrlibrary". The executable is therefore covered by this License. 250*6cb05674SAndreas GohrSection 6 states terms for distribution of such executables. 251*6cb05674SAndreas Gohr 252*6cb05674SAndreas Gohr When a "work that uses the Library" uses material from a header file 253*6cb05674SAndreas Gohrthat is part of the Library, the object code for the work may be a 254*6cb05674SAndreas Gohrderivative work of the Library even though the source code is not. 255*6cb05674SAndreas GohrWhether this is true is especially significant if the work can be 256*6cb05674SAndreas Gohrlinked without the Library, or if the work is itself a library. The 257*6cb05674SAndreas Gohrthreshold for this to be true is not precisely defined by law. 258*6cb05674SAndreas Gohr 259*6cb05674SAndreas Gohr If such an object file uses only numerical parameters, data 260*6cb05674SAndreas Gohrstructure layouts and accessors, and small macros and small inline 261*6cb05674SAndreas Gohrfunctions (ten lines or less in length), then the use of the object 262*6cb05674SAndreas Gohrfile is unrestricted, regardless of whether it is legally a derivative 263*6cb05674SAndreas Gohrwork. (Executables containing this object code plus portions of the 264*6cb05674SAndreas GohrLibrary will still fall under Section 6.) 265*6cb05674SAndreas Gohr 266*6cb05674SAndreas Gohr Otherwise, if the work is a derivative of the Library, you may 267*6cb05674SAndreas Gohrdistribute the object code for the work under the terms of Section 6. 268*6cb05674SAndreas GohrAny executables containing that work also fall under Section 6, 269*6cb05674SAndreas Gohrwhether or not they are linked directly with the Library itself. 270*6cb05674SAndreas Gohr 271*6cb05674SAndreas Gohr 6. As an exception to the Sections above, you may also combine or 272*6cb05674SAndreas Gohrlink a "work that uses the Library" with the Library to produce a 273*6cb05674SAndreas Gohrwork containing portions of the Library, and distribute that work 274*6cb05674SAndreas Gohrunder terms of your choice, provided that the terms permit 275*6cb05674SAndreas Gohrmodification of the work for the customer's own use and reverse 276*6cb05674SAndreas Gohrengineering for debugging such modifications. 277*6cb05674SAndreas Gohr 278*6cb05674SAndreas Gohr You must give prominent notice with each copy of the work that the 279*6cb05674SAndreas GohrLibrary is used in it and that the Library and its use are covered by 280*6cb05674SAndreas Gohrthis License. You must supply a copy of this License. If the work 281*6cb05674SAndreas Gohrduring execution displays copyright notices, you must include the 282*6cb05674SAndreas Gohrcopyright notice for the Library among them, as well as a reference 283*6cb05674SAndreas Gohrdirecting the user to the copy of this License. Also, you must do one 284*6cb05674SAndreas Gohrof these things: 285*6cb05674SAndreas Gohr 286*6cb05674SAndreas Gohr a) Accompany the work with the complete corresponding 287*6cb05674SAndreas Gohr machine-readable source code for the Library including whatever 288*6cb05674SAndreas Gohr changes were used in the work (which must be distributed under 289*6cb05674SAndreas Gohr Sections 1 and 2 above); and, if the work is an executable linked 290*6cb05674SAndreas Gohr with the Library, with the complete machine-readable "work that 291*6cb05674SAndreas Gohr uses the Library", as object code and/or source code, so that the 292*6cb05674SAndreas Gohr user can modify the Library and then relink to produce a modified 293*6cb05674SAndreas Gohr executable containing the modified Library. (It is understood 294*6cb05674SAndreas Gohr that the user who changes the contents of definitions files in the 295*6cb05674SAndreas Gohr Library will not necessarily be able to recompile the application 296*6cb05674SAndreas Gohr to use the modified definitions.) 297*6cb05674SAndreas Gohr 298*6cb05674SAndreas Gohr b) Use a suitable shared library mechanism for linking with the 299*6cb05674SAndreas Gohr Library. A suitable mechanism is one that (1) uses at run time a 300*6cb05674SAndreas Gohr copy of the library already present on the user's computer system, 301*6cb05674SAndreas Gohr rather than copying library functions into the executable, and (2) 302*6cb05674SAndreas Gohr will operate properly with a modified version of the library, if 303*6cb05674SAndreas Gohr the user installs one, as long as the modified version is 304*6cb05674SAndreas Gohr interface-compatible with the version that the work was made with. 305*6cb05674SAndreas Gohr 306*6cb05674SAndreas Gohr c) Accompany the work with a written offer, valid for at 307*6cb05674SAndreas Gohr least three years, to give the same user the materials 308*6cb05674SAndreas Gohr specified in Subsection 6a, above, for a charge no more 309*6cb05674SAndreas Gohr than the cost of performing this distribution. 310*6cb05674SAndreas Gohr 311*6cb05674SAndreas Gohr d) If distribution of the work is made by offering access to copy 312*6cb05674SAndreas Gohr from a designated place, offer equivalent access to copy the above 313*6cb05674SAndreas Gohr specified materials from the same place. 314*6cb05674SAndreas Gohr 315*6cb05674SAndreas Gohr e) Verify that the user has already received a copy of these 316*6cb05674SAndreas Gohr materials or that you have already sent this user a copy. 317*6cb05674SAndreas Gohr 318*6cb05674SAndreas Gohr For an executable, the required form of the "work that uses the 319*6cb05674SAndreas GohrLibrary" must include any data and utility programs needed for 320*6cb05674SAndreas Gohrreproducing the executable from it. However, as a special exception, 321*6cb05674SAndreas Gohrthe materials to be distributed need not include anything that is 322*6cb05674SAndreas Gohrnormally distributed (in either source or binary form) with the major 323*6cb05674SAndreas Gohrcomponents (compiler, kernel, and so on) of the operating system on 324*6cb05674SAndreas Gohrwhich the executable runs, unless that component itself accompanies 325*6cb05674SAndreas Gohrthe executable. 326*6cb05674SAndreas Gohr 327*6cb05674SAndreas Gohr It may happen that this requirement contradicts the license 328*6cb05674SAndreas Gohrrestrictions of other proprietary libraries that do not normally 329*6cb05674SAndreas Gohraccompany the operating system. Such a contradiction means you cannot 330*6cb05674SAndreas Gohruse both them and the Library together in an executable that you 331*6cb05674SAndreas Gohrdistribute. 332*6cb05674SAndreas Gohr 333*6cb05674SAndreas Gohr 7. You may place library facilities that are a work based on the 334*6cb05674SAndreas GohrLibrary side-by-side in a single library together with other library 335*6cb05674SAndreas Gohrfacilities not covered by this License, and distribute such a combined 336*6cb05674SAndreas Gohrlibrary, provided that the separate distribution of the work based on 337*6cb05674SAndreas Gohrthe Library and of the other library facilities is otherwise 338*6cb05674SAndreas Gohrpermitted, and provided that you do these two things: 339*6cb05674SAndreas Gohr 340*6cb05674SAndreas Gohr a) Accompany the combined library with a copy of the same work 341*6cb05674SAndreas Gohr based on the Library, uncombined with any other library 342*6cb05674SAndreas Gohr facilities. This must be distributed under the terms of the 343*6cb05674SAndreas Gohr Sections above. 344*6cb05674SAndreas Gohr 345*6cb05674SAndreas Gohr b) Give prominent notice with the combined library of the fact 346*6cb05674SAndreas Gohr that part of it is a work based on the Library, and explaining 347*6cb05674SAndreas Gohr where to find the accompanying uncombined form of the same work. 348*6cb05674SAndreas Gohr 349*6cb05674SAndreas Gohr 8. You may not copy, modify, sublicense, link with, or distribute 350*6cb05674SAndreas Gohrthe Library except as expressly provided under this License. Any 351*6cb05674SAndreas Gohrattempt otherwise to copy, modify, sublicense, link with, or 352*6cb05674SAndreas Gohrdistribute the Library is void, and will automatically terminate your 353*6cb05674SAndreas Gohrrights under this License. However, parties who have received copies, 354*6cb05674SAndreas Gohror rights, from you under this License will not have their licenses 355*6cb05674SAndreas Gohrterminated so long as such parties remain in full compliance. 356*6cb05674SAndreas Gohr 357*6cb05674SAndreas Gohr 9. You are not required to accept this License, since you have not 358*6cb05674SAndreas Gohrsigned it. However, nothing else grants you permission to modify or 359*6cb05674SAndreas Gohrdistribute the Library or its derivative works. These actions are 360*6cb05674SAndreas Gohrprohibited by law if you do not accept this License. Therefore, by 361*6cb05674SAndreas Gohrmodifying or distributing the Library (or any work based on the 362*6cb05674SAndreas GohrLibrary), you indicate your acceptance of this License to do so, and 363*6cb05674SAndreas Gohrall its terms and conditions for copying, distributing or modifying 364*6cb05674SAndreas Gohrthe Library or works based on it. 365*6cb05674SAndreas Gohr 366*6cb05674SAndreas Gohr 10. Each time you redistribute the Library (or any work based on the 367*6cb05674SAndreas GohrLibrary), the recipient automatically receives a license from the 368*6cb05674SAndreas Gohroriginal licensor to copy, distribute, link with or modify the Library 369*6cb05674SAndreas Gohrsubject to these terms and conditions. You may not impose any further 370*6cb05674SAndreas Gohrrestrictions on the recipients' exercise of the rights granted herein. 371*6cb05674SAndreas GohrYou are not responsible for enforcing compliance by third parties with 372*6cb05674SAndreas Gohrthis License. 373*6cb05674SAndreas Gohr 374*6cb05674SAndreas Gohr 11. If, as a consequence of a court judgment or allegation of patent 375*6cb05674SAndreas Gohrinfringement or for any other reason (not limited to patent issues), 376*6cb05674SAndreas Gohrconditions are imposed on you (whether by court order, agreement or 377*6cb05674SAndreas Gohrotherwise) that contradict the conditions of this License, they do not 378*6cb05674SAndreas Gohrexcuse you from the conditions of this License. If you cannot 379*6cb05674SAndreas Gohrdistribute so as to satisfy simultaneously your obligations under this 380*6cb05674SAndreas GohrLicense and any other pertinent obligations, then as a consequence you 381*6cb05674SAndreas Gohrmay not distribute the Library at all. For example, if a patent 382*6cb05674SAndreas Gohrlicense would not permit royalty-free redistribution of the Library by 383*6cb05674SAndreas Gohrall those who receive copies directly or indirectly through you, then 384*6cb05674SAndreas Gohrthe only way you could satisfy both it and this License would be to 385*6cb05674SAndreas Gohrrefrain entirely from distribution of the Library. 386*6cb05674SAndreas Gohr 387*6cb05674SAndreas GohrIf any portion of this section is held invalid or unenforceable under any 388*6cb05674SAndreas Gohrparticular circumstance, the balance of the section is intended to apply, 389*6cb05674SAndreas Gohrand the section as a whole is intended to apply in other circumstances. 390*6cb05674SAndreas Gohr 391*6cb05674SAndreas GohrIt is not the purpose of this section to induce you to infringe any 392*6cb05674SAndreas Gohrpatents or other property right claims or to contest validity of any 393*6cb05674SAndreas Gohrsuch claims; this section has the sole purpose of protecting the 394*6cb05674SAndreas Gohrintegrity of the free software distribution system which is 395*6cb05674SAndreas Gohrimplemented by public license practices. Many people have made 396*6cb05674SAndreas Gohrgenerous contributions to the wide range of software distributed 397*6cb05674SAndreas Gohrthrough that system in reliance on consistent application of that 398*6cb05674SAndreas Gohrsystem; it is up to the author/donor to decide if he or she is willing 399*6cb05674SAndreas Gohrto distribute software through any other system and a licensee cannot 400*6cb05674SAndreas Gohrimpose that choice. 401*6cb05674SAndreas Gohr 402*6cb05674SAndreas GohrThis section is intended to make thoroughly clear what is believed to 403*6cb05674SAndreas Gohrbe a consequence of the rest of this License. 404*6cb05674SAndreas Gohr 405*6cb05674SAndreas Gohr 12. If the distribution and/or use of the Library is restricted in 406*6cb05674SAndreas Gohrcertain countries either by patents or by copyrighted interfaces, the 407*6cb05674SAndreas Gohroriginal copyright holder who places the Library under this License may add 408*6cb05674SAndreas Gohran explicit geographical distribution limitation excluding those countries, 409*6cb05674SAndreas Gohrso that distribution is permitted only in or among countries not thus 410*6cb05674SAndreas Gohrexcluded. In such case, this License incorporates the limitation as if 411*6cb05674SAndreas Gohrwritten in the body of this License. 412*6cb05674SAndreas Gohr 413*6cb05674SAndreas Gohr 13. The Free Software Foundation may publish revised and/or new 414*6cb05674SAndreas Gohrversions of the Lesser General Public License from time to time. 415*6cb05674SAndreas GohrSuch new versions will be similar in spirit to the present version, 416*6cb05674SAndreas Gohrbut may differ in detail to address new problems or concerns. 417*6cb05674SAndreas Gohr 418*6cb05674SAndreas GohrEach version is given a distinguishing version number. If the Library 419*6cb05674SAndreas Gohrspecifies a version number of this License which applies to it and 420*6cb05674SAndreas Gohr"any later version", you have the option of following the terms and 421*6cb05674SAndreas Gohrconditions either of that version or of any later version published by 422*6cb05674SAndreas Gohrthe Free Software Foundation. If the Library does not specify a 423*6cb05674SAndreas Gohrlicense version number, you may choose any version ever published by 424*6cb05674SAndreas Gohrthe Free Software Foundation. 425*6cb05674SAndreas Gohr 426*6cb05674SAndreas Gohr 14. If you wish to incorporate parts of the Library into other free 427*6cb05674SAndreas Gohrprograms whose distribution conditions are incompatible with these, 428*6cb05674SAndreas Gohrwrite to the author to ask for permission. For software which is 429*6cb05674SAndreas Gohrcopyrighted by the Free Software Foundation, write to the Free 430*6cb05674SAndreas GohrSoftware Foundation; we sometimes make exceptions for this. Our 431*6cb05674SAndreas Gohrdecision will be guided by the two goals of preserving the free status 432*6cb05674SAndreas Gohrof all derivatives of our free software and of promoting the sharing 433*6cb05674SAndreas Gohrand reuse of software generally. 434*6cb05674SAndreas Gohr 435*6cb05674SAndreas Gohr NO WARRANTY 436*6cb05674SAndreas Gohr 437*6cb05674SAndreas Gohr 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438*6cb05674SAndreas GohrWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439*6cb05674SAndreas GohrEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440*6cb05674SAndreas GohrOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441*6cb05674SAndreas GohrKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442*6cb05674SAndreas GohrIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443*6cb05674SAndreas GohrPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444*6cb05674SAndreas GohrLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445*6cb05674SAndreas GohrTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446*6cb05674SAndreas Gohr 447*6cb05674SAndreas Gohr 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448*6cb05674SAndreas GohrWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449*6cb05674SAndreas GohrAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450*6cb05674SAndreas GohrFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451*6cb05674SAndreas GohrCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452*6cb05674SAndreas GohrLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453*6cb05674SAndreas GohrRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454*6cb05674SAndreas GohrFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455*6cb05674SAndreas GohrSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456*6cb05674SAndreas GohrDAMAGES. 457