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