1*735d6239SKiyoung Kim GNU LESSER GENERAL PUBLIC LICENSE 2*735d6239SKiyoung Kim Version 2.1, February 1999 3*735d6239SKiyoung Kim 4*735d6239SKiyoung Kim Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5*735d6239SKiyoung Kim 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6*735d6239SKiyoung Kim Everyone is permitted to copy and distribute verbatim copies 7*735d6239SKiyoung Kim of this license document, but changing it is not allowed. 8*735d6239SKiyoung Kim 9*735d6239SKiyoung Kim[This is the first released version of the Lesser GPL. It also counts 10*735d6239SKiyoung Kim as the successor of the GNU Library Public License, version 2, hence 11*735d6239SKiyoung Kim the version number 2.1.] 12*735d6239SKiyoung Kim 13*735d6239SKiyoung Kim Preamble 14*735d6239SKiyoung Kim 15*735d6239SKiyoung Kim The licenses for most software are designed to take away your 16*735d6239SKiyoung Kimfreedom to share and change it. By contrast, the GNU General Public 17*735d6239SKiyoung KimLicenses are intended to guarantee your freedom to share and change 18*735d6239SKiyoung Kimfree software--to make sure the software is free for all its users. 19*735d6239SKiyoung Kim 20*735d6239SKiyoung Kim This license, the Lesser General Public License, applies to some 21*735d6239SKiyoung Kimspecially designated software packages--typically libraries--of the 22*735d6239SKiyoung KimFree Software Foundation and other authors who decide to use it. You 23*735d6239SKiyoung Kimcan use it too, but we suggest you first think carefully about whether 24*735d6239SKiyoung Kimthis license or the ordinary General Public License is the better 25*735d6239SKiyoung Kimstrategy to use in any particular case, based on the explanations below. 26*735d6239SKiyoung Kim 27*735d6239SKiyoung Kim When we speak of free software, we are referring to freedom of use, 28*735d6239SKiyoung Kimnot price. Our General Public Licenses are designed to make sure that 29*735d6239SKiyoung Kimyou have the freedom to distribute copies of free software (and charge 30*735d6239SKiyoung Kimfor this service if you wish); that you receive source code or can get 31*735d6239SKiyoung Kimit if you want it; that you can change the software and use pieces of 32*735d6239SKiyoung Kimit in new free programs; and that you are informed that you can do 33*735d6239SKiyoung Kimthese things. 34*735d6239SKiyoung Kim 35*735d6239SKiyoung Kim To protect your rights, we need to make restrictions that forbid 36*735d6239SKiyoung Kimdistributors to deny you these rights or to ask you to surrender these 37*735d6239SKiyoung Kimrights. These restrictions translate to certain responsibilities for 38*735d6239SKiyoung Kimyou if you distribute copies of the library or if you modify it. 39*735d6239SKiyoung Kim 40*735d6239SKiyoung Kim For example, if you distribute copies of the library, whether gratis 41*735d6239SKiyoung Kimor for a fee, you must give the recipients all the rights that we gave 42*735d6239SKiyoung Kimyou. You must make sure that they, too, receive or can get the source 43*735d6239SKiyoung Kimcode. If you link other code with the library, you must provide 44*735d6239SKiyoung Kimcomplete object files to the recipients, so that they can relink them 45*735d6239SKiyoung Kimwith the library after making changes to the library and recompiling 46*735d6239SKiyoung Kimit. And you must show them these terms so they know their rights. 47*735d6239SKiyoung Kim 48*735d6239SKiyoung Kim We protect your rights with a two-step method: (1) we copyright the 49*735d6239SKiyoung Kimlibrary, and (2) we offer you this license, which gives you legal 50*735d6239SKiyoung Kimpermission to copy, distribute and/or modify the library. 51*735d6239SKiyoung Kim 52*735d6239SKiyoung Kim To protect each distributor, we want to make it very clear that 53*735d6239SKiyoung Kimthere is no warranty for the free library. Also, if the library is 54*735d6239SKiyoung Kimmodified by someone else and passed on, the recipients should know 55*735d6239SKiyoung Kimthat what they have is not the original version, so that the original 56*735d6239SKiyoung Kimauthor's reputation will not be affected by problems that might be 57*735d6239SKiyoung Kimintroduced by others. 58*735d6239SKiyoung Kim 59*735d6239SKiyoung Kim Finally, software patents pose a constant threat to the existence of 60*735d6239SKiyoung Kimany free program. We wish to make sure that a company cannot 61*735d6239SKiyoung Kimeffectively restrict the users of a free program by obtaining a 62*735d6239SKiyoung Kimrestrictive license from a patent holder. Therefore, we insist that 63*735d6239SKiyoung Kimany patent license obtained for a version of the library must be 64*735d6239SKiyoung Kimconsistent with the full freedom of use specified in this license. 65*735d6239SKiyoung Kim 66*735d6239SKiyoung Kim Most GNU software, including some libraries, is covered by the 67*735d6239SKiyoung Kimordinary GNU General Public License. This license, the GNU Lesser 68*735d6239SKiyoung KimGeneral Public License, applies to certain designated libraries, and 69*735d6239SKiyoung Kimis quite different from the ordinary General Public License. We use 70*735d6239SKiyoung Kimthis license for certain libraries in order to permit linking those 71*735d6239SKiyoung Kimlibraries into non-free programs. 72*735d6239SKiyoung Kim 73*735d6239SKiyoung Kim When a program is linked with a library, whether statically or using 74*735d6239SKiyoung Kima shared library, the combination of the two is legally speaking a 75*735d6239SKiyoung Kimcombined work, a derivative of the original library. The ordinary 76*735d6239SKiyoung KimGeneral Public License therefore permits such linking only if the 77*735d6239SKiyoung Kimentire combination fits its criteria of freedom. The Lesser General 78*735d6239SKiyoung KimPublic License permits more lax criteria for linking other code with 79*735d6239SKiyoung Kimthe library. 80*735d6239SKiyoung Kim 81*735d6239SKiyoung Kim We call this license the "Lesser" General Public License because it 82*735d6239SKiyoung Kimdoes Less to protect the user's freedom than the ordinary General 83*735d6239SKiyoung KimPublic License. It also provides other free software developers Less 84*735d6239SKiyoung Kimof an advantage over competing non-free programs. These disadvantages 85*735d6239SKiyoung Kimare the reason we use the ordinary General Public License for many 86*735d6239SKiyoung Kimlibraries. However, the Lesser license provides advantages in certain 87*735d6239SKiyoung Kimspecial circumstances. 88*735d6239SKiyoung Kim 89*735d6239SKiyoung Kim For example, on rare occasions, there may be a special need to 90*735d6239SKiyoung Kimencourage the widest possible use of a certain library, so that it becomes 91*735d6239SKiyoung Kima de-facto standard. To achieve this, non-free programs must be 92*735d6239SKiyoung Kimallowed to use the library. A more frequent case is that a free 93*735d6239SKiyoung Kimlibrary does the same job as widely used non-free libraries. In this 94*735d6239SKiyoung Kimcase, there is little to gain by limiting the free library to free 95*735d6239SKiyoung Kimsoftware only, so we use the Lesser General Public License. 96*735d6239SKiyoung Kim 97*735d6239SKiyoung Kim In other cases, permission to use a particular library in non-free 98*735d6239SKiyoung Kimprograms enables a greater number of people to use a large body of 99*735d6239SKiyoung Kimfree software. For example, permission to use the GNU C Library in 100*735d6239SKiyoung Kimnon-free programs enables many more people to use the whole GNU 101*735d6239SKiyoung Kimoperating system, as well as its variant, the GNU/Linux operating 102*735d6239SKiyoung Kimsystem. 103*735d6239SKiyoung Kim 104*735d6239SKiyoung Kim Although the Lesser General Public License is Less protective of the 105*735d6239SKiyoung Kimusers' freedom, it does ensure that the user of a program that is 106*735d6239SKiyoung Kimlinked with the Library has the freedom and the wherewithal to run 107*735d6239SKiyoung Kimthat program using a modified version of the Library. 108*735d6239SKiyoung Kim 109*735d6239SKiyoung Kim The precise terms and conditions for copying, distribution and 110*735d6239SKiyoung Kimmodification follow. Pay close attention to the difference between a 111*735d6239SKiyoung Kim"work based on the library" and a "work that uses the library". The 112*735d6239SKiyoung Kimformer contains code derived from the library, whereas the latter must 113*735d6239SKiyoung Kimbe combined with the library in order to run. 114*735d6239SKiyoung Kim 115*735d6239SKiyoung Kim GNU LESSER GENERAL PUBLIC LICENSE 116*735d6239SKiyoung Kim TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117*735d6239SKiyoung Kim 118*735d6239SKiyoung Kim 0. This License Agreement applies to any software library or other 119*735d6239SKiyoung Kimprogram which contains a notice placed by the copyright holder or 120*735d6239SKiyoung Kimother authorized party saying it may be distributed under the terms of 121*735d6239SKiyoung Kimthis Lesser General Public License (also called "this License"). 122*735d6239SKiyoung KimEach licensee is addressed as "you". 123*735d6239SKiyoung Kim 124*735d6239SKiyoung Kim A "library" means a collection of software functions and/or data 125*735d6239SKiyoung Kimprepared so as to be conveniently linked with application programs 126*735d6239SKiyoung Kim(which use some of those functions and data) to form executables. 127*735d6239SKiyoung Kim 128*735d6239SKiyoung Kim The "Library", below, refers to any such software library or work 129*735d6239SKiyoung Kimwhich has been distributed under these terms. A "work based on the 130*735d6239SKiyoung KimLibrary" means either the Library or any derivative work under 131*735d6239SKiyoung Kimcopyright law: that is to say, a work containing the Library or a 132*735d6239SKiyoung Kimportion of it, either verbatim or with modifications and/or translated 133*735d6239SKiyoung Kimstraightforwardly into another language. (Hereinafter, translation is 134*735d6239SKiyoung Kimincluded without limitation in the term "modification".) 135*735d6239SKiyoung Kim 136*735d6239SKiyoung Kim "Source code" for a work means the preferred form of the work for 137*735d6239SKiyoung Kimmaking modifications to it. For a library, complete source code means 138*735d6239SKiyoung Kimall the source code for all modules it contains, plus any associated 139*735d6239SKiyoung Kiminterface definition files, plus the scripts used to control compilation 140*735d6239SKiyoung Kimand installation of the library. 141*735d6239SKiyoung Kim 142*735d6239SKiyoung Kim Activities other than copying, distribution and modification are not 143*735d6239SKiyoung Kimcovered by this License; they are outside its scope. The act of 144*735d6239SKiyoung Kimrunning a program using the Library is not restricted, and output from 145*735d6239SKiyoung Kimsuch a program is covered only if its contents constitute a work based 146*735d6239SKiyoung Kimon the Library (independent of the use of the Library in a tool for 147*735d6239SKiyoung Kimwriting it). Whether that is true depends on what the Library does 148*735d6239SKiyoung Kimand what the program that uses the Library does. 149*735d6239SKiyoung Kim 150*735d6239SKiyoung Kim 1. You may copy and distribute verbatim copies of the Library's 151*735d6239SKiyoung Kimcomplete source code as you receive it, in any medium, provided that 152*735d6239SKiyoung Kimyou conspicuously and appropriately publish on each copy an 153*735d6239SKiyoung Kimappropriate copyright notice and disclaimer of warranty; keep intact 154*735d6239SKiyoung Kimall the notices that refer to this License and to the absence of any 155*735d6239SKiyoung Kimwarranty; and distribute a copy of this License along with the 156*735d6239SKiyoung KimLibrary. 157*735d6239SKiyoung Kim 158*735d6239SKiyoung Kim You may charge a fee for the physical act of transferring a copy, 159*735d6239SKiyoung Kimand you may at your option offer warranty protection in exchange for a 160*735d6239SKiyoung Kimfee. 161*735d6239SKiyoung Kim 162*735d6239SKiyoung Kim 2. You may modify your copy or copies of the Library or any portion 163*735d6239SKiyoung Kimof it, thus forming a work based on the Library, and copy and 164*735d6239SKiyoung Kimdistribute such modifications or work under the terms of Section 1 165*735d6239SKiyoung Kimabove, provided that you also meet all of these conditions: 166*735d6239SKiyoung Kim 167*735d6239SKiyoung Kim a) The modified work must itself be a software library. 168*735d6239SKiyoung Kim 169*735d6239SKiyoung Kim b) You must cause the files modified to carry prominent notices 170*735d6239SKiyoung Kim stating that you changed the files and the date of any change. 171*735d6239SKiyoung Kim 172*735d6239SKiyoung Kim c) You must cause the whole of the work to be licensed at no 173*735d6239SKiyoung Kim charge to all third parties under the terms of this License. 174*735d6239SKiyoung Kim 175*735d6239SKiyoung Kim d) If a facility in the modified Library refers to a function or a 176*735d6239SKiyoung Kim table of data to be supplied by an application program that uses 177*735d6239SKiyoung Kim the facility, other than as an argument passed when the facility 178*735d6239SKiyoung Kim is invoked, then you must make a good faith effort to ensure that, 179*735d6239SKiyoung Kim in the event an application does not supply such function or 180*735d6239SKiyoung Kim table, the facility still operates, and performs whatever part of 181*735d6239SKiyoung Kim its purpose remains meaningful. 182*735d6239SKiyoung Kim 183*735d6239SKiyoung Kim (For example, a function in a library to compute square roots has 184*735d6239SKiyoung Kim a purpose that is entirely well-defined independent of the 185*735d6239SKiyoung Kim application. Therefore, Subsection 2d requires that any 186*735d6239SKiyoung Kim application-supplied function or table used by this function must 187*735d6239SKiyoung Kim be optional: if the application does not supply it, the square 188*735d6239SKiyoung Kim root function must still compute square roots.) 189*735d6239SKiyoung Kim 190*735d6239SKiyoung KimThese requirements apply to the modified work as a whole. If 191*735d6239SKiyoung Kimidentifiable sections of that work are not derived from the Library, 192*735d6239SKiyoung Kimand can be reasonably considered independent and separate works in 193*735d6239SKiyoung Kimthemselves, then this License, and its terms, do not apply to those 194*735d6239SKiyoung Kimsections when you distribute them as separate works. But when you 195*735d6239SKiyoung Kimdistribute the same sections as part of a whole which is a work based 196*735d6239SKiyoung Kimon the Library, the distribution of the whole must be on the terms of 197*735d6239SKiyoung Kimthis License, whose permissions for other licensees extend to the 198*735d6239SKiyoung Kimentire whole, and thus to each and every part regardless of who wrote 199*735d6239SKiyoung Kimit. 200*735d6239SKiyoung Kim 201*735d6239SKiyoung KimThus, it is not the intent of this section to claim rights or contest 202*735d6239SKiyoung Kimyour rights to work written entirely by you; rather, the intent is to 203*735d6239SKiyoung Kimexercise the right to control the distribution of derivative or 204*735d6239SKiyoung Kimcollective works based on the Library. 205*735d6239SKiyoung Kim 206*735d6239SKiyoung KimIn addition, mere aggregation of another work not based on the Library 207*735d6239SKiyoung Kimwith the Library (or with a work based on the Library) on a volume of 208*735d6239SKiyoung Kima storage or distribution medium does not bring the other work under 209*735d6239SKiyoung Kimthe scope of this License. 210*735d6239SKiyoung Kim 211*735d6239SKiyoung Kim 3. You may opt to apply the terms of the ordinary GNU General Public 212*735d6239SKiyoung KimLicense instead of this License to a given copy of the Library. To do 213*735d6239SKiyoung Kimthis, you must alter all the notices that refer to this License, so 214*735d6239SKiyoung Kimthat they refer to the ordinary GNU General Public License, version 2, 215*735d6239SKiyoung Kiminstead of to this License. (If a newer version than version 2 of the 216*735d6239SKiyoung Kimordinary GNU General Public License has appeared, then you can specify 217*735d6239SKiyoung Kimthat version instead if you wish.) Do not make any other change in 218*735d6239SKiyoung Kimthese notices. 219*735d6239SKiyoung Kim 220*735d6239SKiyoung Kim Once this change is made in a given copy, it is irreversible for 221*735d6239SKiyoung Kimthat copy, so the ordinary GNU General Public License applies to all 222*735d6239SKiyoung Kimsubsequent copies and derivative works made from that copy. 223*735d6239SKiyoung Kim 224*735d6239SKiyoung Kim This option is useful when you wish to copy part of the code of 225*735d6239SKiyoung Kimthe Library into a program that is not a library. 226*735d6239SKiyoung Kim 227*735d6239SKiyoung Kim 4. You may copy and distribute the Library (or a portion or 228*735d6239SKiyoung Kimderivative of it, under Section 2) in object code or executable form 229*735d6239SKiyoung Kimunder the terms of Sections 1 and 2 above provided that you accompany 230*735d6239SKiyoung Kimit with the complete corresponding machine-readable source code, which 231*735d6239SKiyoung Kimmust be distributed under the terms of Sections 1 and 2 above on a 232*735d6239SKiyoung Kimmedium customarily used for software interchange. 233*735d6239SKiyoung Kim 234*735d6239SKiyoung Kim If distribution of object code is made by offering access to copy 235*735d6239SKiyoung Kimfrom a designated place, then offering equivalent access to copy the 236*735d6239SKiyoung Kimsource code from the same place satisfies the requirement to 237*735d6239SKiyoung Kimdistribute the source code, even though third parties are not 238*735d6239SKiyoung Kimcompelled to copy the source along with the object code. 239*735d6239SKiyoung Kim 240*735d6239SKiyoung Kim 5. A program that contains no derivative of any portion of the 241*735d6239SKiyoung KimLibrary, but is designed to work with the Library by being compiled or 242*735d6239SKiyoung Kimlinked with it, is called a "work that uses the Library". Such a 243*735d6239SKiyoung Kimwork, in isolation, is not a derivative work of the Library, and 244*735d6239SKiyoung Kimtherefore falls outside the scope of this License. 245*735d6239SKiyoung Kim 246*735d6239SKiyoung Kim However, linking a "work that uses the Library" with the Library 247*735d6239SKiyoung Kimcreates an executable that is a derivative of the Library (because it 248*735d6239SKiyoung Kimcontains portions of the Library), rather than a "work that uses the 249*735d6239SKiyoung Kimlibrary". The executable is therefore covered by this License. 250*735d6239SKiyoung KimSection 6 states terms for distribution of such executables. 251*735d6239SKiyoung Kim 252*735d6239SKiyoung Kim When a "work that uses the Library" uses material from a header file 253*735d6239SKiyoung Kimthat is part of the Library, the object code for the work may be a 254*735d6239SKiyoung Kimderivative work of the Library even though the source code is not. 255*735d6239SKiyoung KimWhether this is true is especially significant if the work can be 256*735d6239SKiyoung Kimlinked without the Library, or if the work is itself a library. The 257*735d6239SKiyoung Kimthreshold for this to be true is not precisely defined by law. 258*735d6239SKiyoung Kim 259*735d6239SKiyoung Kim If such an object file uses only numerical parameters, data 260*735d6239SKiyoung Kimstructure layouts and accessors, and small macros and small inline 261*735d6239SKiyoung Kimfunctions (ten lines or less in length), then the use of the object 262*735d6239SKiyoung Kimfile is unrestricted, regardless of whether it is legally a derivative 263*735d6239SKiyoung Kimwork. (Executables containing this object code plus portions of the 264*735d6239SKiyoung KimLibrary will still fall under Section 6.) 265*735d6239SKiyoung Kim 266*735d6239SKiyoung Kim Otherwise, if the work is a derivative of the Library, you may 267*735d6239SKiyoung Kimdistribute the object code for the work under the terms of Section 6. 268*735d6239SKiyoung KimAny executables containing that work also fall under Section 6, 269*735d6239SKiyoung Kimwhether or not they are linked directly with the Library itself. 270*735d6239SKiyoung Kim 271*735d6239SKiyoung Kim 6. As an exception to the Sections above, you may also combine or 272*735d6239SKiyoung Kimlink a "work that uses the Library" with the Library to produce a 273*735d6239SKiyoung Kimwork containing portions of the Library, and distribute that work 274*735d6239SKiyoung Kimunder terms of your choice, provided that the terms permit 275*735d6239SKiyoung Kimmodification of the work for the customer's own use and reverse 276*735d6239SKiyoung Kimengineering for debugging such modifications. 277*735d6239SKiyoung Kim 278*735d6239SKiyoung Kim You must give prominent notice with each copy of the work that the 279*735d6239SKiyoung KimLibrary is used in it and that the Library and its use are covered by 280*735d6239SKiyoung Kimthis License. You must supply a copy of this License. If the work 281*735d6239SKiyoung Kimduring execution displays copyright notices, you must include the 282*735d6239SKiyoung Kimcopyright notice for the Library among them, as well as a reference 283*735d6239SKiyoung Kimdirecting the user to the copy of this License. Also, you must do one 284*735d6239SKiyoung Kimof these things: 285*735d6239SKiyoung Kim 286*735d6239SKiyoung Kim a) Accompany the work with the complete corresponding 287*735d6239SKiyoung Kim machine-readable source code for the Library including whatever 288*735d6239SKiyoung Kim changes were used in the work (which must be distributed under 289*735d6239SKiyoung Kim Sections 1 and 2 above); and, if the work is an executable linked 290*735d6239SKiyoung Kim with the Library, with the complete machine-readable "work that 291*735d6239SKiyoung Kim uses the Library", as object code and/or source code, so that the 292*735d6239SKiyoung Kim user can modify the Library and then relink to produce a modified 293*735d6239SKiyoung Kim executable containing the modified Library. (It is understood 294*735d6239SKiyoung Kim that the user who changes the contents of definitions files in the 295*735d6239SKiyoung Kim Library will not necessarily be able to recompile the application 296*735d6239SKiyoung Kim to use the modified definitions.) 297*735d6239SKiyoung Kim 298*735d6239SKiyoung Kim b) Use a suitable shared library mechanism for linking with the 299*735d6239SKiyoung Kim Library. A suitable mechanism is one that (1) uses at run time a 300*735d6239SKiyoung Kim copy of the library already present on the user's computer system, 301*735d6239SKiyoung Kim rather than copying library functions into the executable, and (2) 302*735d6239SKiyoung Kim will operate properly with a modified version of the library, if 303*735d6239SKiyoung Kim the user installs one, as long as the modified version is 304*735d6239SKiyoung Kim interface-compatible with the version that the work was made with. 305*735d6239SKiyoung Kim 306*735d6239SKiyoung Kim c) Accompany the work with a written offer, valid for at 307*735d6239SKiyoung Kim least three years, to give the same user the materials 308*735d6239SKiyoung Kim specified in Subsection 6a, above, for a charge no more 309*735d6239SKiyoung Kim than the cost of performing this distribution. 310*735d6239SKiyoung Kim 311*735d6239SKiyoung Kim d) If distribution of the work is made by offering access to copy 312*735d6239SKiyoung Kim from a designated place, offer equivalent access to copy the above 313*735d6239SKiyoung Kim specified materials from the same place. 314*735d6239SKiyoung Kim 315*735d6239SKiyoung Kim e) Verify that the user has already received a copy of these 316*735d6239SKiyoung Kim materials or that you have already sent this user a copy. 317*735d6239SKiyoung Kim 318*735d6239SKiyoung Kim For an executable, the required form of the "work that uses the 319*735d6239SKiyoung KimLibrary" must include any data and utility programs needed for 320*735d6239SKiyoung Kimreproducing the executable from it. However, as a special exception, 321*735d6239SKiyoung Kimthe materials to be distributed need not include anything that is 322*735d6239SKiyoung Kimnormally distributed (in either source or binary form) with the major 323*735d6239SKiyoung Kimcomponents (compiler, kernel, and so on) of the operating system on 324*735d6239SKiyoung Kimwhich the executable runs, unless that component itself accompanies 325*735d6239SKiyoung Kimthe executable. 326*735d6239SKiyoung Kim 327*735d6239SKiyoung Kim It may happen that this requirement contradicts the license 328*735d6239SKiyoung Kimrestrictions of other proprietary libraries that do not normally 329*735d6239SKiyoung Kimaccompany the operating system. Such a contradiction means you cannot 330*735d6239SKiyoung Kimuse both them and the Library together in an executable that you 331*735d6239SKiyoung Kimdistribute. 332*735d6239SKiyoung Kim 333*735d6239SKiyoung Kim 7. You may place library facilities that are a work based on the 334*735d6239SKiyoung KimLibrary side-by-side in a single library together with other library 335*735d6239SKiyoung Kimfacilities not covered by this License, and distribute such a combined 336*735d6239SKiyoung Kimlibrary, provided that the separate distribution of the work based on 337*735d6239SKiyoung Kimthe Library and of the other library facilities is otherwise 338*735d6239SKiyoung Kimpermitted, and provided that you do these two things: 339*735d6239SKiyoung Kim 340*735d6239SKiyoung Kim a) Accompany the combined library with a copy of the same work 341*735d6239SKiyoung Kim based on the Library, uncombined with any other library 342*735d6239SKiyoung Kim facilities. This must be distributed under the terms of the 343*735d6239SKiyoung Kim Sections above. 344*735d6239SKiyoung Kim 345*735d6239SKiyoung Kim b) Give prominent notice with the combined library of the fact 346*735d6239SKiyoung Kim that part of it is a work based on the Library, and explaining 347*735d6239SKiyoung Kim where to find the accompanying uncombined form of the same work. 348*735d6239SKiyoung Kim 349*735d6239SKiyoung Kim 8. You may not copy, modify, sublicense, link with, or distribute 350*735d6239SKiyoung Kimthe Library except as expressly provided under this License. Any 351*735d6239SKiyoung Kimattempt otherwise to copy, modify, sublicense, link with, or 352*735d6239SKiyoung Kimdistribute the Library is void, and will automatically terminate your 353*735d6239SKiyoung Kimrights under this License. However, parties who have received copies, 354*735d6239SKiyoung Kimor rights, from you under this License will not have their licenses 355*735d6239SKiyoung Kimterminated so long as such parties remain in full compliance. 356*735d6239SKiyoung Kim 357*735d6239SKiyoung Kim 9. You are not required to accept this License, since you have not 358*735d6239SKiyoung Kimsigned it. However, nothing else grants you permission to modify or 359*735d6239SKiyoung Kimdistribute the Library or its derivative works. These actions are 360*735d6239SKiyoung Kimprohibited by law if you do not accept this License. Therefore, by 361*735d6239SKiyoung Kimmodifying or distributing the Library (or any work based on the 362*735d6239SKiyoung KimLibrary), you indicate your acceptance of this License to do so, and 363*735d6239SKiyoung Kimall its terms and conditions for copying, distributing or modifying 364*735d6239SKiyoung Kimthe Library or works based on it. 365*735d6239SKiyoung Kim 366*735d6239SKiyoung Kim 10. Each time you redistribute the Library (or any work based on the 367*735d6239SKiyoung KimLibrary), the recipient automatically receives a license from the 368*735d6239SKiyoung Kimoriginal licensor to copy, distribute, link with or modify the Library 369*735d6239SKiyoung Kimsubject to these terms and conditions. You may not impose any further 370*735d6239SKiyoung Kimrestrictions on the recipients' exercise of the rights granted herein. 371*735d6239SKiyoung KimYou are not responsible for enforcing compliance by third parties with 372*735d6239SKiyoung Kimthis License. 373*735d6239SKiyoung Kim 374*735d6239SKiyoung Kim 11. If, as a consequence of a court judgment or allegation of patent 375*735d6239SKiyoung Kiminfringement or for any other reason (not limited to patent issues), 376*735d6239SKiyoung Kimconditions are imposed on you (whether by court order, agreement or 377*735d6239SKiyoung Kimotherwise) that contradict the conditions of this License, they do not 378*735d6239SKiyoung Kimexcuse you from the conditions of this License. If you cannot 379*735d6239SKiyoung Kimdistribute so as to satisfy simultaneously your obligations under this 380*735d6239SKiyoung KimLicense and any other pertinent obligations, then as a consequence you 381*735d6239SKiyoung Kimmay not distribute the Library at all. For example, if a patent 382*735d6239SKiyoung Kimlicense would not permit royalty-free redistribution of the Library by 383*735d6239SKiyoung Kimall those who receive copies directly or indirectly through you, then 384*735d6239SKiyoung Kimthe only way you could satisfy both it and this License would be to 385*735d6239SKiyoung Kimrefrain entirely from distribution of the Library. 386*735d6239SKiyoung Kim 387*735d6239SKiyoung KimIf any portion of this section is held invalid or unenforceable under any 388*735d6239SKiyoung Kimparticular circumstance, the balance of the section is intended to apply, 389*735d6239SKiyoung Kimand the section as a whole is intended to apply in other circumstances. 390*735d6239SKiyoung Kim 391*735d6239SKiyoung KimIt is not the purpose of this section to induce you to infringe any 392*735d6239SKiyoung Kimpatents or other property right claims or to contest validity of any 393*735d6239SKiyoung Kimsuch claims; this section has the sole purpose of protecting the 394*735d6239SKiyoung Kimintegrity of the free software distribution system which is 395*735d6239SKiyoung Kimimplemented by public license practices. Many people have made 396*735d6239SKiyoung Kimgenerous contributions to the wide range of software distributed 397*735d6239SKiyoung Kimthrough that system in reliance on consistent application of that 398*735d6239SKiyoung Kimsystem; it is up to the author/donor to decide if he or she is willing 399*735d6239SKiyoung Kimto distribute software through any other system and a licensee cannot 400*735d6239SKiyoung Kimimpose that choice. 401*735d6239SKiyoung Kim 402*735d6239SKiyoung KimThis section is intended to make thoroughly clear what is believed to 403*735d6239SKiyoung Kimbe a consequence of the rest of this License. 404*735d6239SKiyoung Kim 405*735d6239SKiyoung Kim 12. If the distribution and/or use of the Library is restricted in 406*735d6239SKiyoung Kimcertain countries either by patents or by copyrighted interfaces, the 407*735d6239SKiyoung Kimoriginal copyright holder who places the Library under this License may add 408*735d6239SKiyoung Kiman explicit geographical distribution limitation excluding those countries, 409*735d6239SKiyoung Kimso that distribution is permitted only in or among countries not thus 410*735d6239SKiyoung Kimexcluded. In such case, this License incorporates the limitation as if 411*735d6239SKiyoung Kimwritten in the body of this License. 412*735d6239SKiyoung Kim 413*735d6239SKiyoung Kim 13. The Free Software Foundation may publish revised and/or new 414*735d6239SKiyoung Kimversions of the Lesser General Public License from time to time. 415*735d6239SKiyoung KimSuch new versions will be similar in spirit to the present version, 416*735d6239SKiyoung Kimbut may differ in detail to address new problems or concerns. 417*735d6239SKiyoung Kim 418*735d6239SKiyoung KimEach version is given a distinguishing version number. If the Library 419*735d6239SKiyoung Kimspecifies a version number of this License which applies to it and 420*735d6239SKiyoung Kim"any later version", you have the option of following the terms and 421*735d6239SKiyoung Kimconditions either of that version or of any later version published by 422*735d6239SKiyoung Kimthe Free Software Foundation. If the Library does not specify a 423*735d6239SKiyoung Kimlicense version number, you may choose any version ever published by 424*735d6239SKiyoung Kimthe Free Software Foundation. 425*735d6239SKiyoung Kim 426*735d6239SKiyoung Kim 14. If you wish to incorporate parts of the Library into other free 427*735d6239SKiyoung Kimprograms whose distribution conditions are incompatible with these, 428*735d6239SKiyoung Kimwrite to the author to ask for permission. For software which is 429*735d6239SKiyoung Kimcopyrighted by the Free Software Foundation, write to the Free 430*735d6239SKiyoung KimSoftware Foundation; we sometimes make exceptions for this. Our 431*735d6239SKiyoung Kimdecision will be guided by the two goals of preserving the free status 432*735d6239SKiyoung Kimof all derivatives of our free software and of promoting the sharing 433*735d6239SKiyoung Kimand reuse of software generally. 434*735d6239SKiyoung Kim 435*735d6239SKiyoung Kim NO WARRANTY 436*735d6239SKiyoung Kim 437*735d6239SKiyoung Kim 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438*735d6239SKiyoung KimWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439*735d6239SKiyoung KimEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440*735d6239SKiyoung KimOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441*735d6239SKiyoung KimKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442*735d6239SKiyoung KimIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443*735d6239SKiyoung KimPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444*735d6239SKiyoung KimLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445*735d6239SKiyoung KimTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446*735d6239SKiyoung Kim 447*735d6239SKiyoung Kim 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448*735d6239SKiyoung KimWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449*735d6239SKiyoung KimAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450*735d6239SKiyoung KimFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451*735d6239SKiyoung KimCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452*735d6239SKiyoung KimLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453*735d6239SKiyoung KimRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454*735d6239SKiyoung KimFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455*735d6239SKiyoung KimSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456*735d6239SKiyoung KimDAMAGES. 457*735d6239SKiyoung Kim 458*735d6239SKiyoung Kim END OF TERMS AND CONDITIONS 459*735d6239SKiyoung Kim 460*735d6239SKiyoung Kim How to Apply These Terms to Your New Libraries 461*735d6239SKiyoung Kim 462*735d6239SKiyoung Kim If you develop a new library, and you want it to be of the greatest 463*735d6239SKiyoung Kimpossible use to the public, we recommend making it free software that 464*735d6239SKiyoung Kimeveryone can redistribute and change. You can do so by permitting 465*735d6239SKiyoung Kimredistribution under these terms (or, alternatively, under the terms of the 466*735d6239SKiyoung Kimordinary General Public License). 467*735d6239SKiyoung Kim 468*735d6239SKiyoung Kim To apply these terms, attach the following notices to the library. It is 469*735d6239SKiyoung Kimsafest to attach them to the start of each source file to most effectively 470*735d6239SKiyoung Kimconvey the exclusion of warranty; and each file should have at least the 471*735d6239SKiyoung Kim"copyright" line and a pointer to where the full notice is found. 472*735d6239SKiyoung Kim 473*735d6239SKiyoung Kim <one line to give the library's name and a brief idea of what it does.> 474*735d6239SKiyoung Kim Copyright (C) <year> <name of author> 475*735d6239SKiyoung Kim 476*735d6239SKiyoung Kim This library is free software; you can redistribute it and/or 477*735d6239SKiyoung Kim modify it under the terms of the GNU Lesser General Public 478*735d6239SKiyoung Kim License as published by the Free Software Foundation; either 479*735d6239SKiyoung Kim version 2.1 of the License, or (at your option) any later version. 480*735d6239SKiyoung Kim 481*735d6239SKiyoung Kim This library is distributed in the hope that it will be useful, 482*735d6239SKiyoung Kim but WITHOUT ANY WARRANTY; without even the implied warranty of 483*735d6239SKiyoung Kim MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484*735d6239SKiyoung Kim Lesser General Public License for more details. 485*735d6239SKiyoung Kim 486*735d6239SKiyoung Kim You should have received a copy of the GNU Lesser General Public 487*735d6239SKiyoung Kim License along with this library; if not, write to the Free Software 488*735d6239SKiyoung Kim Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 489*735d6239SKiyoung Kim 490*735d6239SKiyoung KimAlso add information on how to contact you by electronic and paper mail. 491*735d6239SKiyoung Kim 492*735d6239SKiyoung KimYou should also get your employer (if you work as a programmer) or your 493*735d6239SKiyoung Kimschool, if any, to sign a "copyright disclaimer" for the library, if 494*735d6239SKiyoung Kimnecessary. Here is a sample; alter the names: 495*735d6239SKiyoung Kim 496*735d6239SKiyoung Kim Yoyodyne, Inc., hereby disclaims all copyright interest in the 497*735d6239SKiyoung Kim library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498*735d6239SKiyoung Kim 499*735d6239SKiyoung Kim <signature of Ty Coon>, 1 April 1990 500*735d6239SKiyoung Kim Ty Coon, President of Vice 501*735d6239SKiyoung Kim 502*735d6239SKiyoung KimThat's all there is to it! 503*735d6239SKiyoung Kim 504*735d6239SKiyoung Kim 505