1073fd033Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 2073fd033Sopenharmony_ci Version 2.1, February 1999 3073fd033Sopenharmony_ci 4073fd033Sopenharmony_ci Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5073fd033Sopenharmony_ci 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6073fd033Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 7073fd033Sopenharmony_ci of this license document, but changing it is not allowed. 8073fd033Sopenharmony_ci 9073fd033Sopenharmony_ci[This is the first released version of the Lesser GPL. It also counts 10073fd033Sopenharmony_ci as the successor of the GNU Library Public License, version 2, hence 11073fd033Sopenharmony_ci the version number 2.1.] 12073fd033Sopenharmony_ci 13073fd033Sopenharmony_ci Preamble 14073fd033Sopenharmony_ci 15073fd033Sopenharmony_ci The licenses for most software are designed to take away your 16073fd033Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 17073fd033Sopenharmony_ciLicenses are intended to guarantee your freedom to share and change 18073fd033Sopenharmony_cifree software--to make sure the software is free for all its users. 19073fd033Sopenharmony_ci 20073fd033Sopenharmony_ci This license, the Lesser General Public License, applies to some 21073fd033Sopenharmony_cispecially designated software packages--typically libraries--of the 22073fd033Sopenharmony_ciFree Software Foundation and other authors who decide to use it. You 23073fd033Sopenharmony_cican use it too, but we suggest you first think carefully about whether 24073fd033Sopenharmony_cithis license or the ordinary General Public License is the better 25073fd033Sopenharmony_cistrategy to use in any particular case, based on the explanations below. 26073fd033Sopenharmony_ci 27073fd033Sopenharmony_ci When we speak of free software, we are referring to freedom of use, 28073fd033Sopenharmony_cinot price. Our General Public Licenses are designed to make sure that 29073fd033Sopenharmony_ciyou have the freedom to distribute copies of free software (and charge 30073fd033Sopenharmony_cifor this service if you wish); that you receive source code or can get 31073fd033Sopenharmony_ciit if you want it; that you can change the software and use pieces of 32073fd033Sopenharmony_ciit in new free programs; and that you are informed that you can do 33073fd033Sopenharmony_cithese things. 34073fd033Sopenharmony_ci 35073fd033Sopenharmony_ci To protect your rights, we need to make restrictions that forbid 36073fd033Sopenharmony_cidistributors to deny you these rights or to ask you to surrender these 37073fd033Sopenharmony_cirights. These restrictions translate to certain responsibilities for 38073fd033Sopenharmony_ciyou if you distribute copies of the library or if you modify it. 39073fd033Sopenharmony_ci 40073fd033Sopenharmony_ci For example, if you distribute copies of the library, whether gratis 41073fd033Sopenharmony_cior for a fee, you must give the recipients all the rights that we gave 42073fd033Sopenharmony_ciyou. You must make sure that they, too, receive or can get the source 43073fd033Sopenharmony_cicode. If you link other code with the library, you must provide 44073fd033Sopenharmony_cicomplete object files to the recipients, so that they can relink them 45073fd033Sopenharmony_ciwith the library after making changes to the library and recompiling 46073fd033Sopenharmony_ciit. And you must show them these terms so they know their rights. 47073fd033Sopenharmony_ci 48073fd033Sopenharmony_ci We protect your rights with a two-step method: (1) we copyright the 49073fd033Sopenharmony_cilibrary, and (2) we offer you this license, which gives you legal 50073fd033Sopenharmony_cipermission to copy, distribute and/or modify the library. 51073fd033Sopenharmony_ci 52073fd033Sopenharmony_ci To protect each distributor, we want to make it very clear that 53073fd033Sopenharmony_cithere is no warranty for the free library. Also, if the library is 54073fd033Sopenharmony_cimodified by someone else and passed on, the recipients should know 55073fd033Sopenharmony_cithat what they have is not the original version, so that the original 56073fd033Sopenharmony_ciauthor's reputation will not be affected by problems that might be 57073fd033Sopenharmony_ciintroduced by others. 58073fd033Sopenharmony_ci 59073fd033Sopenharmony_ci Finally, software patents pose a constant threat to the existence of 60073fd033Sopenharmony_ciany free program. We wish to make sure that a company cannot 61073fd033Sopenharmony_cieffectively restrict the users of a free program by obtaining a 62073fd033Sopenharmony_cirestrictive license from a patent holder. Therefore, we insist that 63073fd033Sopenharmony_ciany patent license obtained for a version of the library must be 64073fd033Sopenharmony_ciconsistent with the full freedom of use specified in this license. 65073fd033Sopenharmony_ci 66073fd033Sopenharmony_ci Most GNU software, including some libraries, is covered by the 67073fd033Sopenharmony_ciordinary GNU General Public License. This license, the GNU Lesser 68073fd033Sopenharmony_ciGeneral Public License, applies to certain designated libraries, and 69073fd033Sopenharmony_ciis quite different from the ordinary General Public License. We use 70073fd033Sopenharmony_cithis license for certain libraries in order to permit linking those 71073fd033Sopenharmony_cilibraries into non-free programs. 72073fd033Sopenharmony_ci 73073fd033Sopenharmony_ci When a program is linked with a library, whether statically or using 74073fd033Sopenharmony_cia shared library, the combination of the two is legally speaking a 75073fd033Sopenharmony_cicombined work, a derivative of the original library. The ordinary 76073fd033Sopenharmony_ciGeneral Public License therefore permits such linking only if the 77073fd033Sopenharmony_cientire combination fits its criteria of freedom. The Lesser General 78073fd033Sopenharmony_ciPublic License permits more lax criteria for linking other code with 79073fd033Sopenharmony_cithe library. 80073fd033Sopenharmony_ci 81073fd033Sopenharmony_ci We call this license the "Lesser" General Public License because it 82073fd033Sopenharmony_cidoes Less to protect the user's freedom than the ordinary General 83073fd033Sopenharmony_ciPublic License. It also provides other free software developers Less 84073fd033Sopenharmony_ciof an advantage over competing non-free programs. These disadvantages 85073fd033Sopenharmony_ciare the reason we use the ordinary General Public License for many 86073fd033Sopenharmony_cilibraries. However, the Lesser license provides advantages in certain 87073fd033Sopenharmony_cispecial circumstances. 88073fd033Sopenharmony_ci 89073fd033Sopenharmony_ci For example, on rare occasions, there may be a special need to 90073fd033Sopenharmony_ciencourage the widest possible use of a certain library, so that it becomes 91073fd033Sopenharmony_cia de-facto standard. To achieve this, non-free programs must be 92073fd033Sopenharmony_ciallowed to use the library. A more frequent case is that a free 93073fd033Sopenharmony_cilibrary does the same job as widely used non-free libraries. In this 94073fd033Sopenharmony_cicase, there is little to gain by limiting the free library to free 95073fd033Sopenharmony_cisoftware only, so we use the Lesser General Public License. 96073fd033Sopenharmony_ci 97073fd033Sopenharmony_ci In other cases, permission to use a particular library in non-free 98073fd033Sopenharmony_ciprograms enables a greater number of people to use a large body of 99073fd033Sopenharmony_cifree software. For example, permission to use the GNU C Library in 100073fd033Sopenharmony_cinon-free programs enables many more people to use the whole GNU 101073fd033Sopenharmony_cioperating system, as well as its variant, the GNU/Linux operating 102073fd033Sopenharmony_cisystem. 103073fd033Sopenharmony_ci 104073fd033Sopenharmony_ci Although the Lesser General Public License is Less protective of the 105073fd033Sopenharmony_ciusers' freedom, it does ensure that the user of a program that is 106073fd033Sopenharmony_cilinked with the Library has the freedom and the wherewithal to run 107073fd033Sopenharmony_cithat program using a modified version of the Library. 108073fd033Sopenharmony_ci 109073fd033Sopenharmony_ci The precise terms and conditions for copying, distribution and 110073fd033Sopenharmony_cimodification follow. Pay close attention to the difference between a 111073fd033Sopenharmony_ci"work based on the library" and a "work that uses the library". The 112073fd033Sopenharmony_ciformer contains code derived from the library, whereas the latter must 113073fd033Sopenharmony_cibe combined with the library in order to run. 114073fd033Sopenharmony_ci 115073fd033Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 116073fd033Sopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117073fd033Sopenharmony_ci 118073fd033Sopenharmony_ci 0. This License Agreement applies to any software library or other 119073fd033Sopenharmony_ciprogram which contains a notice placed by the copyright holder or 120073fd033Sopenharmony_ciother authorized party saying it may be distributed under the terms of 121073fd033Sopenharmony_cithis Lesser General Public License (also called "this License"). 122073fd033Sopenharmony_ciEach licensee is addressed as "you". 123073fd033Sopenharmony_ci 124073fd033Sopenharmony_ci A "library" means a collection of software functions and/or data 125073fd033Sopenharmony_ciprepared so as to be conveniently linked with application programs 126073fd033Sopenharmony_ci(which use some of those functions and data) to form executables. 127073fd033Sopenharmony_ci 128073fd033Sopenharmony_ci The "Library", below, refers to any such software library or work 129073fd033Sopenharmony_ciwhich has been distributed under these terms. A "work based on the 130073fd033Sopenharmony_ciLibrary" means either the Library or any derivative work under 131073fd033Sopenharmony_cicopyright law: that is to say, a work containing the Library or a 132073fd033Sopenharmony_ciportion of it, either verbatim or with modifications and/or translated 133073fd033Sopenharmony_cistraightforwardly into another language. (Hereinafter, translation is 134073fd033Sopenharmony_ciincluded without limitation in the term "modification".) 135073fd033Sopenharmony_ci 136073fd033Sopenharmony_ci "Source code" for a work means the preferred form of the work for 137073fd033Sopenharmony_cimaking modifications to it. For a library, complete source code means 138073fd033Sopenharmony_ciall the source code for all modules it contains, plus any associated 139073fd033Sopenharmony_ciinterface definition files, plus the scripts used to control compilation 140073fd033Sopenharmony_ciand installation of the library. 141073fd033Sopenharmony_ci 142073fd033Sopenharmony_ci Activities other than copying, distribution and modification are not 143073fd033Sopenharmony_cicovered by this License; they are outside its scope. The act of 144073fd033Sopenharmony_cirunning a program using the Library is not restricted, and output from 145073fd033Sopenharmony_cisuch a program is covered only if its contents constitute a work based 146073fd033Sopenharmony_cion the Library (independent of the use of the Library in a tool for 147073fd033Sopenharmony_ciwriting it). Whether that is true depends on what the Library does 148073fd033Sopenharmony_ciand what the program that uses the Library does. 149073fd033Sopenharmony_ci 150073fd033Sopenharmony_ci 1. You may copy and distribute verbatim copies of the Library's 151073fd033Sopenharmony_cicomplete source code as you receive it, in any medium, provided that 152073fd033Sopenharmony_ciyou conspicuously and appropriately publish on each copy an 153073fd033Sopenharmony_ciappropriate copyright notice and disclaimer of warranty; keep intact 154073fd033Sopenharmony_ciall the notices that refer to this License and to the absence of any 155073fd033Sopenharmony_ciwarranty; and distribute a copy of this License along with the 156073fd033Sopenharmony_ciLibrary. 157073fd033Sopenharmony_ci 158073fd033Sopenharmony_ci You may charge a fee for the physical act of transferring a copy, 159073fd033Sopenharmony_ciand you may at your option offer warranty protection in exchange for a 160073fd033Sopenharmony_cifee. 161073fd033Sopenharmony_ci 162073fd033Sopenharmony_ci 2. You may modify your copy or copies of the Library or any portion 163073fd033Sopenharmony_ciof it, thus forming a work based on the Library, and copy and 164073fd033Sopenharmony_cidistribute such modifications or work under the terms of Section 1 165073fd033Sopenharmony_ciabove, provided that you also meet all of these conditions: 166073fd033Sopenharmony_ci 167073fd033Sopenharmony_ci a) The modified work must itself be a software library. 168073fd033Sopenharmony_ci 169073fd033Sopenharmony_ci b) You must cause the files modified to carry prominent notices 170073fd033Sopenharmony_ci stating that you changed the files and the date of any change. 171073fd033Sopenharmony_ci 172073fd033Sopenharmony_ci c) You must cause the whole of the work to be licensed at no 173073fd033Sopenharmony_ci charge to all third parties under the terms of this License. 174073fd033Sopenharmony_ci 175073fd033Sopenharmony_ci d) If a facility in the modified Library refers to a function or a 176073fd033Sopenharmony_ci table of data to be supplied by an application program that uses 177073fd033Sopenharmony_ci the facility, other than as an argument passed when the facility 178073fd033Sopenharmony_ci is invoked, then you must make a good faith effort to ensure that, 179073fd033Sopenharmony_ci in the event an application does not supply such function or 180073fd033Sopenharmony_ci table, the facility still operates, and performs whatever part of 181073fd033Sopenharmony_ci its purpose remains meaningful. 182073fd033Sopenharmony_ci 183073fd033Sopenharmony_ci (For example, a function in a library to compute square roots has 184073fd033Sopenharmony_ci a purpose that is entirely well-defined independent of the 185073fd033Sopenharmony_ci application. Therefore, Subsection 2d requires that any 186073fd033Sopenharmony_ci application-supplied function or table used by this function must 187073fd033Sopenharmony_ci be optional: if the application does not supply it, the square 188073fd033Sopenharmony_ci root function must still compute square roots.) 189073fd033Sopenharmony_ci 190073fd033Sopenharmony_ciThese requirements apply to the modified work as a whole. If 191073fd033Sopenharmony_ciidentifiable sections of that work are not derived from the Library, 192073fd033Sopenharmony_ciand can be reasonably considered independent and separate works in 193073fd033Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 194073fd033Sopenharmony_cisections when you distribute them as separate works. But when you 195073fd033Sopenharmony_cidistribute the same sections as part of a whole which is a work based 196073fd033Sopenharmony_cion the Library, the distribution of the whole must be on the terms of 197073fd033Sopenharmony_cithis License, whose permissions for other licensees extend to the 198073fd033Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote 199073fd033Sopenharmony_ciit. 200073fd033Sopenharmony_ci 201073fd033Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 202073fd033Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 203073fd033Sopenharmony_ciexercise the right to control the distribution of derivative or 204073fd033Sopenharmony_cicollective works based on the Library. 205073fd033Sopenharmony_ci 206073fd033Sopenharmony_ciIn addition, mere aggregation of another work not based on the Library 207073fd033Sopenharmony_ciwith the Library (or with a work based on the Library) on a volume of 208073fd033Sopenharmony_cia storage or distribution medium does not bring the other work under 209073fd033Sopenharmony_cithe scope of this License. 210073fd033Sopenharmony_ci 211073fd033Sopenharmony_ci 3. You may opt to apply the terms of the ordinary GNU General Public 212073fd033Sopenharmony_ciLicense instead of this License to a given copy of the Library. To do 213073fd033Sopenharmony_cithis, you must alter all the notices that refer to this License, so 214073fd033Sopenharmony_cithat they refer to the ordinary GNU General Public License, version 2, 215073fd033Sopenharmony_ciinstead of to this License. (If a newer version than version 2 of the 216073fd033Sopenharmony_ciordinary GNU General Public License has appeared, then you can specify 217073fd033Sopenharmony_cithat version instead if you wish.) Do not make any other change in 218073fd033Sopenharmony_cithese notices. 219073fd033Sopenharmony_ci 220073fd033Sopenharmony_ci Once this change is made in a given copy, it is irreversible for 221073fd033Sopenharmony_cithat copy, so the ordinary GNU General Public License applies to all 222073fd033Sopenharmony_cisubsequent copies and derivative works made from that copy. 223073fd033Sopenharmony_ci 224073fd033Sopenharmony_ci This option is useful when you wish to copy part of the code of 225073fd033Sopenharmony_cithe Library into a program that is not a library. 226073fd033Sopenharmony_ci 227073fd033Sopenharmony_ci 4. You may copy and distribute the Library (or a portion or 228073fd033Sopenharmony_ciderivative of it, under Section 2) in object code or executable form 229073fd033Sopenharmony_ciunder the terms of Sections 1 and 2 above provided that you accompany 230073fd033Sopenharmony_ciit with the complete corresponding machine-readable source code, which 231073fd033Sopenharmony_cimust be distributed under the terms of Sections 1 and 2 above on a 232073fd033Sopenharmony_cimedium customarily used for software interchange. 233073fd033Sopenharmony_ci 234073fd033Sopenharmony_ci If distribution of object code is made by offering access to copy 235073fd033Sopenharmony_cifrom a designated place, then offering equivalent access to copy the 236073fd033Sopenharmony_cisource code from the same place satisfies the requirement to 237073fd033Sopenharmony_cidistribute the source code, even though third parties are not 238073fd033Sopenharmony_cicompelled to copy the source along with the object code. 239073fd033Sopenharmony_ci 240073fd033Sopenharmony_ci 5. A program that contains no derivative of any portion of the 241073fd033Sopenharmony_ciLibrary, but is designed to work with the Library by being compiled or 242073fd033Sopenharmony_cilinked with it, is called a "work that uses the Library". Such a 243073fd033Sopenharmony_ciwork, in isolation, is not a derivative work of the Library, and 244073fd033Sopenharmony_citherefore falls outside the scope of this License. 245073fd033Sopenharmony_ci 246073fd033Sopenharmony_ci However, linking a "work that uses the Library" with the Library 247073fd033Sopenharmony_cicreates an executable that is a derivative of the Library (because it 248073fd033Sopenharmony_cicontains portions of the Library), rather than a "work that uses the 249073fd033Sopenharmony_cilibrary". The executable is therefore covered by this License. 250073fd033Sopenharmony_ciSection 6 states terms for distribution of such executables. 251073fd033Sopenharmony_ci 252073fd033Sopenharmony_ci When a "work that uses the Library" uses material from a header file 253073fd033Sopenharmony_cithat is part of the Library, the object code for the work may be a 254073fd033Sopenharmony_ciderivative work of the Library even though the source code is not. 255073fd033Sopenharmony_ciWhether this is true is especially significant if the work can be 256073fd033Sopenharmony_cilinked without the Library, or if the work is itself a library. The 257073fd033Sopenharmony_cithreshold for this to be true is not precisely defined by law. 258073fd033Sopenharmony_ci 259073fd033Sopenharmony_ci If such an object file uses only numerical parameters, data 260073fd033Sopenharmony_cistructure layouts and accessors, and small macros and small inline 261073fd033Sopenharmony_cifunctions (ten lines or less in length), then the use of the object 262073fd033Sopenharmony_cifile is unrestricted, regardless of whether it is legally a derivative 263073fd033Sopenharmony_ciwork. (Executables containing this object code plus portions of the 264073fd033Sopenharmony_ciLibrary will still fall under Section 6.) 265073fd033Sopenharmony_ci 266073fd033Sopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 267073fd033Sopenharmony_cidistribute the object code for the work under the terms of Section 6. 268073fd033Sopenharmony_ciAny executables containing that work also fall under Section 6, 269073fd033Sopenharmony_ciwhether or not they are linked directly with the Library itself. 270073fd033Sopenharmony_ci 271073fd033Sopenharmony_ci 6. As an exception to the Sections above, you may also combine or 272073fd033Sopenharmony_cilink a "work that uses the Library" with the Library to produce a 273073fd033Sopenharmony_ciwork containing portions of the Library, and distribute that work 274073fd033Sopenharmony_ciunder terms of your choice, provided that the terms permit 275073fd033Sopenharmony_cimodification of the work for the customer's own use and reverse 276073fd033Sopenharmony_ciengineering for debugging such modifications. 277073fd033Sopenharmony_ci 278073fd033Sopenharmony_ci You must give prominent notice with each copy of the work that the 279073fd033Sopenharmony_ciLibrary is used in it and that the Library and its use are covered by 280073fd033Sopenharmony_cithis License. You must supply a copy of this License. If the work 281073fd033Sopenharmony_ciduring execution displays copyright notices, you must include the 282073fd033Sopenharmony_cicopyright notice for the Library among them, as well as a reference 283073fd033Sopenharmony_cidirecting the user to the copy of this License. Also, you must do one 284073fd033Sopenharmony_ciof these things: 285073fd033Sopenharmony_ci 286073fd033Sopenharmony_ci a) Accompany the work with the complete corresponding 287073fd033Sopenharmony_ci machine-readable source code for the Library including whatever 288073fd033Sopenharmony_ci changes were used in the work (which must be distributed under 289073fd033Sopenharmony_ci Sections 1 and 2 above); and, if the work is an executable linked 290073fd033Sopenharmony_ci with the Library, with the complete machine-readable "work that 291073fd033Sopenharmony_ci uses the Library", as object code and/or source code, so that the 292073fd033Sopenharmony_ci user can modify the Library and then relink to produce a modified 293073fd033Sopenharmony_ci executable containing the modified Library. (It is understood 294073fd033Sopenharmony_ci that the user who changes the contents of definitions files in the 295073fd033Sopenharmony_ci Library will not necessarily be able to recompile the application 296073fd033Sopenharmony_ci to use the modified definitions.) 297073fd033Sopenharmony_ci 298073fd033Sopenharmony_ci b) Use a suitable shared library mechanism for linking with the 299073fd033Sopenharmony_ci Library. A suitable mechanism is one that (1) uses at run time a 300073fd033Sopenharmony_ci copy of the library already present on the user's computer system, 301073fd033Sopenharmony_ci rather than copying library functions into the executable, and (2) 302073fd033Sopenharmony_ci will operate properly with a modified version of the library, if 303073fd033Sopenharmony_ci the user installs one, as long as the modified version is 304073fd033Sopenharmony_ci interface-compatible with the version that the work was made with. 305073fd033Sopenharmony_ci 306073fd033Sopenharmony_ci c) Accompany the work with a written offer, valid for at 307073fd033Sopenharmony_ci least three years, to give the same user the materials 308073fd033Sopenharmony_ci specified in Subsection 6a, above, for a charge no more 309073fd033Sopenharmony_ci than the cost of performing this distribution. 310073fd033Sopenharmony_ci 311073fd033Sopenharmony_ci d) If distribution of the work is made by offering access to copy 312073fd033Sopenharmony_ci from a designated place, offer equivalent access to copy the above 313073fd033Sopenharmony_ci specified materials from the same place. 314073fd033Sopenharmony_ci 315073fd033Sopenharmony_ci e) Verify that the user has already received a copy of these 316073fd033Sopenharmony_ci materials or that you have already sent this user a copy. 317073fd033Sopenharmony_ci 318073fd033Sopenharmony_ci For an executable, the required form of the "work that uses the 319073fd033Sopenharmony_ciLibrary" must include any data and utility programs needed for 320073fd033Sopenharmony_cireproducing the executable from it. However, as a special exception, 321073fd033Sopenharmony_cithe materials to be distributed need not include anything that is 322073fd033Sopenharmony_cinormally distributed (in either source or binary form) with the major 323073fd033Sopenharmony_cicomponents (compiler, kernel, and so on) of the operating system on 324073fd033Sopenharmony_ciwhich the executable runs, unless that component itself accompanies 325073fd033Sopenharmony_cithe executable. 326073fd033Sopenharmony_ci 327073fd033Sopenharmony_ci It may happen that this requirement contradicts the license 328073fd033Sopenharmony_cirestrictions of other proprietary libraries that do not normally 329073fd033Sopenharmony_ciaccompany the operating system. Such a contradiction means you cannot 330073fd033Sopenharmony_ciuse both them and the Library together in an executable that you 331073fd033Sopenharmony_cidistribute. 332073fd033Sopenharmony_ci 333073fd033Sopenharmony_ci 7. You may place library facilities that are a work based on the 334073fd033Sopenharmony_ciLibrary side-by-side in a single library together with other library 335073fd033Sopenharmony_cifacilities not covered by this License, and distribute such a combined 336073fd033Sopenharmony_cilibrary, provided that the separate distribution of the work based on 337073fd033Sopenharmony_cithe Library and of the other library facilities is otherwise 338073fd033Sopenharmony_cipermitted, and provided that you do these two things: 339073fd033Sopenharmony_ci 340073fd033Sopenharmony_ci a) Accompany the combined library with a copy of the same work 341073fd033Sopenharmony_ci based on the Library, uncombined with any other library 342073fd033Sopenharmony_ci facilities. This must be distributed under the terms of the 343073fd033Sopenharmony_ci Sections above. 344073fd033Sopenharmony_ci 345073fd033Sopenharmony_ci b) Give prominent notice with the combined library of the fact 346073fd033Sopenharmony_ci that part of it is a work based on the Library, and explaining 347073fd033Sopenharmony_ci where to find the accompanying uncombined form of the same work. 348073fd033Sopenharmony_ci 349073fd033Sopenharmony_ci 8. You may not copy, modify, sublicense, link with, or distribute 350073fd033Sopenharmony_cithe Library except as expressly provided under this License. Any 351073fd033Sopenharmony_ciattempt otherwise to copy, modify, sublicense, link with, or 352073fd033Sopenharmony_cidistribute the Library is void, and will automatically terminate your 353073fd033Sopenharmony_cirights under this License. However, parties who have received copies, 354073fd033Sopenharmony_cior rights, from you under this License will not have their licenses 355073fd033Sopenharmony_citerminated so long as such parties remain in full compliance. 356073fd033Sopenharmony_ci 357073fd033Sopenharmony_ci 9. You are not required to accept this License, since you have not 358073fd033Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 359073fd033Sopenharmony_cidistribute the Library or its derivative works. These actions are 360073fd033Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 361073fd033Sopenharmony_cimodifying or distributing the Library (or any work based on the 362073fd033Sopenharmony_ciLibrary), you indicate your acceptance of this License to do so, and 363073fd033Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 364073fd033Sopenharmony_cithe Library or works based on it. 365073fd033Sopenharmony_ci 366073fd033Sopenharmony_ci 10. Each time you redistribute the Library (or any work based on the 367073fd033Sopenharmony_ciLibrary), the recipient automatically receives a license from the 368073fd033Sopenharmony_cioriginal licensor to copy, distribute, link with or modify the Library 369073fd033Sopenharmony_cisubject to these terms and conditions. You may not impose any further 370073fd033Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 371073fd033Sopenharmony_ciYou are not responsible for enforcing compliance by third parties with 372073fd033Sopenharmony_cithis License. 373073fd033Sopenharmony_ci 374073fd033Sopenharmony_ci 11. If, as a consequence of a court judgment or allegation of patent 375073fd033Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 376073fd033Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 377073fd033Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 378073fd033Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 379073fd033Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 380073fd033Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 381073fd033Sopenharmony_cimay not distribute the Library at all. For example, if a patent 382073fd033Sopenharmony_cilicense would not permit royalty-free redistribution of the Library by 383073fd033Sopenharmony_ciall those who receive copies directly or indirectly through you, then 384073fd033Sopenharmony_cithe only way you could satisfy both it and this License would be to 385073fd033Sopenharmony_cirefrain entirely from distribution of the Library. 386073fd033Sopenharmony_ci 387073fd033Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under any 388073fd033Sopenharmony_ciparticular circumstance, the balance of the section is intended to apply, 389073fd033Sopenharmony_ciand the section as a whole is intended to apply in other circumstances. 390073fd033Sopenharmony_ci 391073fd033Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 392073fd033Sopenharmony_cipatents or other property right claims or to contest validity of any 393073fd033Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 394073fd033Sopenharmony_ciintegrity of the free software distribution system which is 395073fd033Sopenharmony_ciimplemented by public license practices. Many people have made 396073fd033Sopenharmony_cigenerous contributions to the wide range of software distributed 397073fd033Sopenharmony_cithrough that system in reliance on consistent application of that 398073fd033Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 399073fd033Sopenharmony_cito distribute software through any other system and a licensee cannot 400073fd033Sopenharmony_ciimpose that choice. 401073fd033Sopenharmony_ci 402073fd033Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 403073fd033Sopenharmony_cibe a consequence of the rest of this License. 404073fd033Sopenharmony_ci 405073fd033Sopenharmony_ci 12. If the distribution and/or use of the Library is restricted in 406073fd033Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 407073fd033Sopenharmony_cioriginal copyright holder who places the Library under this License may add 408073fd033Sopenharmony_cian explicit geographical distribution limitation excluding those countries, 409073fd033Sopenharmony_ciso that distribution is permitted only in or among countries not thus 410073fd033Sopenharmony_ciexcluded. In such case, this License incorporates the limitation as if 411073fd033Sopenharmony_ciwritten in the body of this License. 412073fd033Sopenharmony_ci 413073fd033Sopenharmony_ci 13. The Free Software Foundation may publish revised and/or new 414073fd033Sopenharmony_civersions of the Lesser General Public License from time to time. 415073fd033Sopenharmony_ciSuch new versions will be similar in spirit to the present version, 416073fd033Sopenharmony_cibut may differ in detail to address new problems or concerns. 417073fd033Sopenharmony_ci 418073fd033Sopenharmony_ciEach version is given a distinguishing version number. If the Library 419073fd033Sopenharmony_cispecifies a version number of this License which applies to it and 420073fd033Sopenharmony_ci"any later version", you have the option of following the terms and 421073fd033Sopenharmony_ciconditions either of that version or of any later version published by 422073fd033Sopenharmony_cithe Free Software Foundation. If the Library does not specify a 423073fd033Sopenharmony_cilicense version number, you may choose any version ever published by 424073fd033Sopenharmony_cithe Free Software Foundation. 425073fd033Sopenharmony_ci 426073fd033Sopenharmony_ci 14. If you wish to incorporate parts of the Library into other free 427073fd033Sopenharmony_ciprograms whose distribution conditions are incompatible with these, 428073fd033Sopenharmony_ciwrite to the author to ask for permission. For software which is 429073fd033Sopenharmony_cicopyrighted by the Free Software Foundation, write to the Free 430073fd033Sopenharmony_ciSoftware Foundation; we sometimes make exceptions for this. Our 431073fd033Sopenharmony_cidecision will be guided by the two goals of preserving the free status 432073fd033Sopenharmony_ciof all derivatives of our free software and of promoting the sharing 433073fd033Sopenharmony_ciand reuse of software generally. 434073fd033Sopenharmony_ci 435073fd033Sopenharmony_ci NO WARRANTY 436073fd033Sopenharmony_ci 437073fd033Sopenharmony_ci 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438073fd033Sopenharmony_ciWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439073fd033Sopenharmony_ciEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440073fd033Sopenharmony_ciOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441073fd033Sopenharmony_ciKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442073fd033Sopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443073fd033Sopenharmony_ciPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444073fd033Sopenharmony_ciLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445073fd033Sopenharmony_ciTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446073fd033Sopenharmony_ci 447073fd033Sopenharmony_ci 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448073fd033Sopenharmony_ciWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449073fd033Sopenharmony_ciAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450073fd033Sopenharmony_ciFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451073fd033Sopenharmony_ciCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452073fd033Sopenharmony_ciLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453073fd033Sopenharmony_ciRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454073fd033Sopenharmony_ciFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455073fd033Sopenharmony_ciSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456073fd033Sopenharmony_ciDAMAGES. 457073fd033Sopenharmony_ci 458073fd033Sopenharmony_ci END OF TERMS AND CONDITIONS 459073fd033Sopenharmony_ci 460073fd033Sopenharmony_ci How to Apply These Terms to Your New Libraries 461073fd033Sopenharmony_ci 462073fd033Sopenharmony_ci If you develop a new library, and you want it to be of the greatest 463073fd033Sopenharmony_cipossible use to the public, we recommend making it free software that 464073fd033Sopenharmony_cieveryone can redistribute and change. You can do so by permitting 465073fd033Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 466073fd033Sopenharmony_ciordinary General Public License). 467073fd033Sopenharmony_ci 468073fd033Sopenharmony_ci To apply these terms, attach the following notices to the library. It is 469073fd033Sopenharmony_cisafest to attach them to the start of each source file to most effectively 470073fd033Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 471073fd033Sopenharmony_ci"copyright" line and a pointer to where the full notice is found. 472073fd033Sopenharmony_ci 473073fd033Sopenharmony_ci <one line to give the library's name and a brief idea of what it does.> 474073fd033Sopenharmony_ci Copyright (C) <year> <name of author> 475073fd033Sopenharmony_ci 476073fd033Sopenharmony_ci This library is free software; you can redistribute it and/or 477073fd033Sopenharmony_ci modify it under the terms of the GNU Lesser General Public 478073fd033Sopenharmony_ci License as published by the Free Software Foundation; either 479073fd033Sopenharmony_ci version 2.1 of the License, or (at your option) any later version. 480073fd033Sopenharmony_ci 481073fd033Sopenharmony_ci This library is distributed in the hope that it will be useful, 482073fd033Sopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 483073fd033Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484073fd033Sopenharmony_ci Lesser General Public License for more details. 485073fd033Sopenharmony_ci 486073fd033Sopenharmony_ci You should have received a copy of the GNU Lesser General Public 487073fd033Sopenharmony_ci License along with this library; if not, write to the Free Software 488073fd033Sopenharmony_ci Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 489073fd033Sopenharmony_ci 490073fd033Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 491073fd033Sopenharmony_ci 492073fd033Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 493073fd033Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 494073fd033Sopenharmony_cinecessary. Here is a sample; alter the names: 495073fd033Sopenharmony_ci 496073fd033Sopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the 497073fd033Sopenharmony_ci library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498073fd033Sopenharmony_ci 499073fd033Sopenharmony_ci <signature of Ty Coon>, 1 April 1990 500073fd033Sopenharmony_ci Ty Coon, President of Vice 501073fd033Sopenharmony_ci 502073fd033Sopenharmony_ciThat's all there is to it! 503073fd033Sopenharmony_ci 504073fd033Sopenharmony_ci 505