1b815c7f3Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 2b815c7f3Sopenharmony_ci Version 2.1, February 1999 3b815c7f3Sopenharmony_ci 4b815c7f3Sopenharmony_ci Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5b815c7f3Sopenharmony_ci 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6b815c7f3Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 7b815c7f3Sopenharmony_ci of this license document, but changing it is not allowed. 8b815c7f3Sopenharmony_ci 9b815c7f3Sopenharmony_ci[This is the first released version of the Lesser GPL. It also counts 10b815c7f3Sopenharmony_ci as the successor of the GNU Library Public License, version 2, hence 11b815c7f3Sopenharmony_ci the version number 2.1.] 12b815c7f3Sopenharmony_ci 13b815c7f3Sopenharmony_ci Preamble 14b815c7f3Sopenharmony_ci 15b815c7f3Sopenharmony_ci The licenses for most software are designed to take away your 16b815c7f3Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 17b815c7f3Sopenharmony_ciLicenses are intended to guarantee your freedom to share and change 18b815c7f3Sopenharmony_cifree software--to make sure the software is free for all its users. 19b815c7f3Sopenharmony_ci 20b815c7f3Sopenharmony_ci This license, the Lesser General Public License, applies to some 21b815c7f3Sopenharmony_cispecially designated software packages--typically libraries--of the 22b815c7f3Sopenharmony_ciFree Software Foundation and other authors who decide to use it. You 23b815c7f3Sopenharmony_cican use it too, but we suggest you first think carefully about whether 24b815c7f3Sopenharmony_cithis license or the ordinary General Public License is the better 25b815c7f3Sopenharmony_cistrategy to use in any particular case, based on the explanations below. 26b815c7f3Sopenharmony_ci 27b815c7f3Sopenharmony_ci When we speak of free software, we are referring to freedom of use, 28b815c7f3Sopenharmony_cinot price. Our General Public Licenses are designed to make sure that 29b815c7f3Sopenharmony_ciyou have the freedom to distribute copies of free software (and charge 30b815c7f3Sopenharmony_cifor this service if you wish); that you receive source code or can get 31b815c7f3Sopenharmony_ciit if you want it; that you can change the software and use pieces of 32b815c7f3Sopenharmony_ciit in new free programs; and that you are informed that you can do 33b815c7f3Sopenharmony_cithese things. 34b815c7f3Sopenharmony_ci 35b815c7f3Sopenharmony_ci To protect your rights, we need to make restrictions that forbid 36b815c7f3Sopenharmony_cidistributors to deny you these rights or to ask you to surrender these 37b815c7f3Sopenharmony_cirights. These restrictions translate to certain responsibilities for 38b815c7f3Sopenharmony_ciyou if you distribute copies of the library or if you modify it. 39b815c7f3Sopenharmony_ci 40b815c7f3Sopenharmony_ci For example, if you distribute copies of the library, whether gratis 41b815c7f3Sopenharmony_cior for a fee, you must give the recipients all the rights that we gave 42b815c7f3Sopenharmony_ciyou. You must make sure that they, too, receive or can get the source 43b815c7f3Sopenharmony_cicode. If you link other code with the library, you must provide 44b815c7f3Sopenharmony_cicomplete object files to the recipients, so that they can relink them 45b815c7f3Sopenharmony_ciwith the library after making changes to the library and recompiling 46b815c7f3Sopenharmony_ciit. And you must show them these terms so they know their rights. 47b815c7f3Sopenharmony_ci 48b815c7f3Sopenharmony_ci We protect your rights with a two-step method: (1) we copyright the 49b815c7f3Sopenharmony_cilibrary, and (2) we offer you this license, which gives you legal 50b815c7f3Sopenharmony_cipermission to copy, distribute and/or modify the library. 51b815c7f3Sopenharmony_ci 52b815c7f3Sopenharmony_ci To protect each distributor, we want to make it very clear that 53b815c7f3Sopenharmony_cithere is no warranty for the free library. Also, if the library is 54b815c7f3Sopenharmony_cimodified by someone else and passed on, the recipients should know 55b815c7f3Sopenharmony_cithat what they have is not the original version, so that the original 56b815c7f3Sopenharmony_ciauthor's reputation will not be affected by problems that might be 57b815c7f3Sopenharmony_ciintroduced by others. 58b815c7f3Sopenharmony_ci 59b815c7f3Sopenharmony_ci Finally, software patents pose a constant threat to the existence of 60b815c7f3Sopenharmony_ciany free program. We wish to make sure that a company cannot 61b815c7f3Sopenharmony_cieffectively restrict the users of a free program by obtaining a 62b815c7f3Sopenharmony_cirestrictive license from a patent holder. Therefore, we insist that 63b815c7f3Sopenharmony_ciany patent license obtained for a version of the library must be 64b815c7f3Sopenharmony_ciconsistent with the full freedom of use specified in this license. 65b815c7f3Sopenharmony_ci 66b815c7f3Sopenharmony_ci Most GNU software, including some libraries, is covered by the 67b815c7f3Sopenharmony_ciordinary GNU General Public License. This license, the GNU Lesser 68b815c7f3Sopenharmony_ciGeneral Public License, applies to certain designated libraries, and 69b815c7f3Sopenharmony_ciis quite different from the ordinary General Public License. We use 70b815c7f3Sopenharmony_cithis license for certain libraries in order to permit linking those 71b815c7f3Sopenharmony_cilibraries into non-free programs. 72b815c7f3Sopenharmony_ci 73b815c7f3Sopenharmony_ci When a program is linked with a library, whether statically or using 74b815c7f3Sopenharmony_cia shared library, the combination of the two is legally speaking a 75b815c7f3Sopenharmony_cicombined work, a derivative of the original library. The ordinary 76b815c7f3Sopenharmony_ciGeneral Public License therefore permits such linking only if the 77b815c7f3Sopenharmony_cientire combination fits its criteria of freedom. The Lesser General 78b815c7f3Sopenharmony_ciPublic License permits more lax criteria for linking other code with 79b815c7f3Sopenharmony_cithe library. 80b815c7f3Sopenharmony_ci 81b815c7f3Sopenharmony_ci We call this license the "Lesser" General Public License because it 82b815c7f3Sopenharmony_cidoes Less to protect the user's freedom than the ordinary General 83b815c7f3Sopenharmony_ciPublic License. It also provides other free software developers Less 84b815c7f3Sopenharmony_ciof an advantage over competing non-free programs. These disadvantages 85b815c7f3Sopenharmony_ciare the reason we use the ordinary General Public License for many 86b815c7f3Sopenharmony_cilibraries. However, the Lesser license provides advantages in certain 87b815c7f3Sopenharmony_cispecial circumstances. 88b815c7f3Sopenharmony_ci 89b815c7f3Sopenharmony_ci For example, on rare occasions, there may be a special need to 90b815c7f3Sopenharmony_ciencourage the widest possible use of a certain library, so that it becomes 91b815c7f3Sopenharmony_cia de-facto standard. To achieve this, non-free programs must be 92b815c7f3Sopenharmony_ciallowed to use the library. A more frequent case is that a free 93b815c7f3Sopenharmony_cilibrary does the same job as widely used non-free libraries. In this 94b815c7f3Sopenharmony_cicase, there is little to gain by limiting the free library to free 95b815c7f3Sopenharmony_cisoftware only, so we use the Lesser General Public License. 96b815c7f3Sopenharmony_ci 97b815c7f3Sopenharmony_ci In other cases, permission to use a particular library in non-free 98b815c7f3Sopenharmony_ciprograms enables a greater number of people to use a large body of 99b815c7f3Sopenharmony_cifree software. For example, permission to use the GNU C Library in 100b815c7f3Sopenharmony_cinon-free programs enables many more people to use the whole GNU 101b815c7f3Sopenharmony_cioperating system, as well as its variant, the GNU/Linux operating 102b815c7f3Sopenharmony_cisystem. 103b815c7f3Sopenharmony_ci 104b815c7f3Sopenharmony_ci Although the Lesser General Public License is Less protective of the 105b815c7f3Sopenharmony_ciusers' freedom, it does ensure that the user of a program that is 106b815c7f3Sopenharmony_cilinked with the Library has the freedom and the wherewithal to run 107b815c7f3Sopenharmony_cithat program using a modified version of the Library. 108b815c7f3Sopenharmony_ci 109b815c7f3Sopenharmony_ci The precise terms and conditions for copying, distribution and 110b815c7f3Sopenharmony_cimodification follow. Pay close attention to the difference between a 111b815c7f3Sopenharmony_ci"work based on the library" and a "work that uses the library". The 112b815c7f3Sopenharmony_ciformer contains code derived from the library, whereas the latter must 113b815c7f3Sopenharmony_cibe combined with the library in order to run. 114b815c7f3Sopenharmony_ci 115b815c7f3Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 116b815c7f3Sopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117b815c7f3Sopenharmony_ci 118b815c7f3Sopenharmony_ci 0. This License Agreement applies to any software library or other 119b815c7f3Sopenharmony_ciprogram which contains a notice placed by the copyright holder or 120b815c7f3Sopenharmony_ciother authorized party saying it may be distributed under the terms of 121b815c7f3Sopenharmony_cithis Lesser General Public License (also called "this License"). 122b815c7f3Sopenharmony_ciEach licensee is addressed as "you". 123b815c7f3Sopenharmony_ci 124b815c7f3Sopenharmony_ci A "library" means a collection of software functions and/or data 125b815c7f3Sopenharmony_ciprepared so as to be conveniently linked with application programs 126b815c7f3Sopenharmony_ci(which use some of those functions and data) to form executables. 127b815c7f3Sopenharmony_ci 128b815c7f3Sopenharmony_ci The "Library", below, refers to any such software library or work 129b815c7f3Sopenharmony_ciwhich has been distributed under these terms. A "work based on the 130b815c7f3Sopenharmony_ciLibrary" means either the Library or any derivative work under 131b815c7f3Sopenharmony_cicopyright law: that is to say, a work containing the Library or a 132b815c7f3Sopenharmony_ciportion of it, either verbatim or with modifications and/or translated 133b815c7f3Sopenharmony_cistraightforwardly into another language. (Hereinafter, translation is 134b815c7f3Sopenharmony_ciincluded without limitation in the term "modification".) 135b815c7f3Sopenharmony_ci 136b815c7f3Sopenharmony_ci "Source code" for a work means the preferred form of the work for 137b815c7f3Sopenharmony_cimaking modifications to it. For a library, complete source code means 138b815c7f3Sopenharmony_ciall the source code for all modules it contains, plus any associated 139b815c7f3Sopenharmony_ciinterface definition files, plus the scripts used to control compilation 140b815c7f3Sopenharmony_ciand installation of the library. 141b815c7f3Sopenharmony_ci 142b815c7f3Sopenharmony_ci Activities other than copying, distribution and modification are not 143b815c7f3Sopenharmony_cicovered by this License; they are outside its scope. The act of 144b815c7f3Sopenharmony_cirunning a program using the Library is not restricted, and output from 145b815c7f3Sopenharmony_cisuch a program is covered only if its contents constitute a work based 146b815c7f3Sopenharmony_cion the Library (independent of the use of the Library in a tool for 147b815c7f3Sopenharmony_ciwriting it). Whether that is true depends on what the Library does 148b815c7f3Sopenharmony_ciand what the program that uses the Library does. 149b815c7f3Sopenharmony_ci 150b815c7f3Sopenharmony_ci 1. You may copy and distribute verbatim copies of the Library's 151b815c7f3Sopenharmony_cicomplete source code as you receive it, in any medium, provided that 152b815c7f3Sopenharmony_ciyou conspicuously and appropriately publish on each copy an 153b815c7f3Sopenharmony_ciappropriate copyright notice and disclaimer of warranty; keep intact 154b815c7f3Sopenharmony_ciall the notices that refer to this License and to the absence of any 155b815c7f3Sopenharmony_ciwarranty; and distribute a copy of this License along with the 156b815c7f3Sopenharmony_ciLibrary. 157b815c7f3Sopenharmony_ci 158b815c7f3Sopenharmony_ci You may charge a fee for the physical act of transferring a copy, 159b815c7f3Sopenharmony_ciand you may at your option offer warranty protection in exchange for a 160b815c7f3Sopenharmony_cifee. 161b815c7f3Sopenharmony_ci 162b815c7f3Sopenharmony_ci 2. You may modify your copy or copies of the Library or any portion 163b815c7f3Sopenharmony_ciof it, thus forming a work based on the Library, and copy and 164b815c7f3Sopenharmony_cidistribute such modifications or work under the terms of Section 1 165b815c7f3Sopenharmony_ciabove, provided that you also meet all of these conditions: 166b815c7f3Sopenharmony_ci 167b815c7f3Sopenharmony_ci a) The modified work must itself be a software library. 168b815c7f3Sopenharmony_ci 169b815c7f3Sopenharmony_ci b) You must cause the files modified to carry prominent notices 170b815c7f3Sopenharmony_ci stating that you changed the files and the date of any change. 171b815c7f3Sopenharmony_ci 172b815c7f3Sopenharmony_ci c) You must cause the whole of the work to be licensed at no 173b815c7f3Sopenharmony_ci charge to all third parties under the terms of this License. 174b815c7f3Sopenharmony_ci 175b815c7f3Sopenharmony_ci d) If a facility in the modified Library refers to a function or a 176b815c7f3Sopenharmony_ci table of data to be supplied by an application program that uses 177b815c7f3Sopenharmony_ci the facility, other than as an argument passed when the facility 178b815c7f3Sopenharmony_ci is invoked, then you must make a good faith effort to ensure that, 179b815c7f3Sopenharmony_ci in the event an application does not supply such function or 180b815c7f3Sopenharmony_ci table, the facility still operates, and performs whatever part of 181b815c7f3Sopenharmony_ci its purpose remains meaningful. 182b815c7f3Sopenharmony_ci 183b815c7f3Sopenharmony_ci (For example, a function in a library to compute square roots has 184b815c7f3Sopenharmony_ci a purpose that is entirely well-defined independent of the 185b815c7f3Sopenharmony_ci application. Therefore, Subsection 2d requires that any 186b815c7f3Sopenharmony_ci application-supplied function or table used by this function must 187b815c7f3Sopenharmony_ci be optional: if the application does not supply it, the square 188b815c7f3Sopenharmony_ci root function must still compute square roots.) 189b815c7f3Sopenharmony_ci 190b815c7f3Sopenharmony_ciThese requirements apply to the modified work as a whole. If 191b815c7f3Sopenharmony_ciidentifiable sections of that work are not derived from the Library, 192b815c7f3Sopenharmony_ciand can be reasonably considered independent and separate works in 193b815c7f3Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 194b815c7f3Sopenharmony_cisections when you distribute them as separate works. But when you 195b815c7f3Sopenharmony_cidistribute the same sections as part of a whole which is a work based 196b815c7f3Sopenharmony_cion the Library, the distribution of the whole must be on the terms of 197b815c7f3Sopenharmony_cithis License, whose permissions for other licensees extend to the 198b815c7f3Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote 199b815c7f3Sopenharmony_ciit. 200b815c7f3Sopenharmony_ci 201b815c7f3Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 202b815c7f3Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 203b815c7f3Sopenharmony_ciexercise the right to control the distribution of derivative or 204b815c7f3Sopenharmony_cicollective works based on the Library. 205b815c7f3Sopenharmony_ci 206b815c7f3Sopenharmony_ciIn addition, mere aggregation of another work not based on the Library 207b815c7f3Sopenharmony_ciwith the Library (or with a work based on the Library) on a volume of 208b815c7f3Sopenharmony_cia storage or distribution medium does not bring the other work under 209b815c7f3Sopenharmony_cithe scope of this License. 210b815c7f3Sopenharmony_ci 211b815c7f3Sopenharmony_ci 3. You may opt to apply the terms of the ordinary GNU General Public 212b815c7f3Sopenharmony_ciLicense instead of this License to a given copy of the Library. To do 213b815c7f3Sopenharmony_cithis, you must alter all the notices that refer to this License, so 214b815c7f3Sopenharmony_cithat they refer to the ordinary GNU General Public License, version 2, 215b815c7f3Sopenharmony_ciinstead of to this License. (If a newer version than version 2 of the 216b815c7f3Sopenharmony_ciordinary GNU General Public License has appeared, then you can specify 217b815c7f3Sopenharmony_cithat version instead if you wish.) Do not make any other change in 218b815c7f3Sopenharmony_cithese notices. 219b815c7f3Sopenharmony_ci 220b815c7f3Sopenharmony_ci Once this change is made in a given copy, it is irreversible for 221b815c7f3Sopenharmony_cithat copy, so the ordinary GNU General Public License applies to all 222b815c7f3Sopenharmony_cisubsequent copies and derivative works made from that copy. 223b815c7f3Sopenharmony_ci 224b815c7f3Sopenharmony_ci This option is useful when you wish to copy part of the code of 225b815c7f3Sopenharmony_cithe Library into a program that is not a library. 226b815c7f3Sopenharmony_ci 227b815c7f3Sopenharmony_ci 4. You may copy and distribute the Library (or a portion or 228b815c7f3Sopenharmony_ciderivative of it, under Section 2) in object code or executable form 229b815c7f3Sopenharmony_ciunder the terms of Sections 1 and 2 above provided that you accompany 230b815c7f3Sopenharmony_ciit with the complete corresponding machine-readable source code, which 231b815c7f3Sopenharmony_cimust be distributed under the terms of Sections 1 and 2 above on a 232b815c7f3Sopenharmony_cimedium customarily used for software interchange. 233b815c7f3Sopenharmony_ci 234b815c7f3Sopenharmony_ci If distribution of object code is made by offering access to copy 235b815c7f3Sopenharmony_cifrom a designated place, then offering equivalent access to copy the 236b815c7f3Sopenharmony_cisource code from the same place satisfies the requirement to 237b815c7f3Sopenharmony_cidistribute the source code, even though third parties are not 238b815c7f3Sopenharmony_cicompelled to copy the source along with the object code. 239b815c7f3Sopenharmony_ci 240b815c7f3Sopenharmony_ci 5. A program that contains no derivative of any portion of the 241b815c7f3Sopenharmony_ciLibrary, but is designed to work with the Library by being compiled or 242b815c7f3Sopenharmony_cilinked with it, is called a "work that uses the Library". Such a 243b815c7f3Sopenharmony_ciwork, in isolation, is not a derivative work of the Library, and 244b815c7f3Sopenharmony_citherefore falls outside the scope of this License. 245b815c7f3Sopenharmony_ci 246b815c7f3Sopenharmony_ci However, linking a "work that uses the Library" with the Library 247b815c7f3Sopenharmony_cicreates an executable that is a derivative of the Library (because it 248b815c7f3Sopenharmony_cicontains portions of the Library), rather than a "work that uses the 249b815c7f3Sopenharmony_cilibrary". The executable is therefore covered by this License. 250b815c7f3Sopenharmony_ciSection 6 states terms for distribution of such executables. 251b815c7f3Sopenharmony_ci 252b815c7f3Sopenharmony_ci When a "work that uses the Library" uses material from a header file 253b815c7f3Sopenharmony_cithat is part of the Library, the object code for the work may be a 254b815c7f3Sopenharmony_ciderivative work of the Library even though the source code is not. 255b815c7f3Sopenharmony_ciWhether this is true is especially significant if the work can be 256b815c7f3Sopenharmony_cilinked without the Library, or if the work is itself a library. The 257b815c7f3Sopenharmony_cithreshold for this to be true is not precisely defined by law. 258b815c7f3Sopenharmony_ci 259b815c7f3Sopenharmony_ci If such an object file uses only numerical parameters, data 260b815c7f3Sopenharmony_cistructure layouts and accessors, and small macros and small inline 261b815c7f3Sopenharmony_cifunctions (ten lines or less in length), then the use of the object 262b815c7f3Sopenharmony_cifile is unrestricted, regardless of whether it is legally a derivative 263b815c7f3Sopenharmony_ciwork. (Executables containing this object code plus portions of the 264b815c7f3Sopenharmony_ciLibrary will still fall under Section 6.) 265b815c7f3Sopenharmony_ci 266b815c7f3Sopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 267b815c7f3Sopenharmony_cidistribute the object code for the work under the terms of Section 6. 268b815c7f3Sopenharmony_ciAny executables containing that work also fall under Section 6, 269b815c7f3Sopenharmony_ciwhether or not they are linked directly with the Library itself. 270b815c7f3Sopenharmony_ci 271b815c7f3Sopenharmony_ci 6. As an exception to the Sections above, you may also combine or 272b815c7f3Sopenharmony_cilink a "work that uses the Library" with the Library to produce a 273b815c7f3Sopenharmony_ciwork containing portions of the Library, and distribute that work 274b815c7f3Sopenharmony_ciunder terms of your choice, provided that the terms permit 275b815c7f3Sopenharmony_cimodification of the work for the customer's own use and reverse 276b815c7f3Sopenharmony_ciengineering for debugging such modifications. 277b815c7f3Sopenharmony_ci 278b815c7f3Sopenharmony_ci You must give prominent notice with each copy of the work that the 279b815c7f3Sopenharmony_ciLibrary is used in it and that the Library and its use are covered by 280b815c7f3Sopenharmony_cithis License. You must supply a copy of this License. If the work 281b815c7f3Sopenharmony_ciduring execution displays copyright notices, you must include the 282b815c7f3Sopenharmony_cicopyright notice for the Library among them, as well as a reference 283b815c7f3Sopenharmony_cidirecting the user to the copy of this License. Also, you must do one 284b815c7f3Sopenharmony_ciof these things: 285b815c7f3Sopenharmony_ci 286b815c7f3Sopenharmony_ci a) Accompany the work with the complete corresponding 287b815c7f3Sopenharmony_ci machine-readable source code for the Library including whatever 288b815c7f3Sopenharmony_ci changes were used in the work (which must be distributed under 289b815c7f3Sopenharmony_ci Sections 1 and 2 above); and, if the work is an executable linked 290b815c7f3Sopenharmony_ci with the Library, with the complete machine-readable "work that 291b815c7f3Sopenharmony_ci uses the Library", as object code and/or source code, so that the 292b815c7f3Sopenharmony_ci user can modify the Library and then relink to produce a modified 293b815c7f3Sopenharmony_ci executable containing the modified Library. (It is understood 294b815c7f3Sopenharmony_ci that the user who changes the contents of definitions files in the 295b815c7f3Sopenharmony_ci Library will not necessarily be able to recompile the application 296b815c7f3Sopenharmony_ci to use the modified definitions.) 297b815c7f3Sopenharmony_ci 298b815c7f3Sopenharmony_ci b) Use a suitable shared library mechanism for linking with the 299b815c7f3Sopenharmony_ci Library. A suitable mechanism is one that (1) uses at run time a 300b815c7f3Sopenharmony_ci copy of the library already present on the user's computer system, 301b815c7f3Sopenharmony_ci rather than copying library functions into the executable, and (2) 302b815c7f3Sopenharmony_ci will operate properly with a modified version of the library, if 303b815c7f3Sopenharmony_ci the user installs one, as long as the modified version is 304b815c7f3Sopenharmony_ci interface-compatible with the version that the work was made with. 305b815c7f3Sopenharmony_ci 306b815c7f3Sopenharmony_ci c) Accompany the work with a written offer, valid for at 307b815c7f3Sopenharmony_ci least three years, to give the same user the materials 308b815c7f3Sopenharmony_ci specified in Subsection 6a, above, for a charge no more 309b815c7f3Sopenharmony_ci than the cost of performing this distribution. 310b815c7f3Sopenharmony_ci 311b815c7f3Sopenharmony_ci d) If distribution of the work is made by offering access to copy 312b815c7f3Sopenharmony_ci from a designated place, offer equivalent access to copy the above 313b815c7f3Sopenharmony_ci specified materials from the same place. 314b815c7f3Sopenharmony_ci 315b815c7f3Sopenharmony_ci e) Verify that the user has already received a copy of these 316b815c7f3Sopenharmony_ci materials or that you have already sent this user a copy. 317b815c7f3Sopenharmony_ci 318b815c7f3Sopenharmony_ci For an executable, the required form of the "work that uses the 319b815c7f3Sopenharmony_ciLibrary" must include any data and utility programs needed for 320b815c7f3Sopenharmony_cireproducing the executable from it. However, as a special exception, 321b815c7f3Sopenharmony_cithe materials to be distributed need not include anything that is 322b815c7f3Sopenharmony_cinormally distributed (in either source or binary form) with the major 323b815c7f3Sopenharmony_cicomponents (compiler, kernel, and so on) of the operating system on 324b815c7f3Sopenharmony_ciwhich the executable runs, unless that component itself accompanies 325b815c7f3Sopenharmony_cithe executable. 326b815c7f3Sopenharmony_ci 327b815c7f3Sopenharmony_ci It may happen that this requirement contradicts the license 328b815c7f3Sopenharmony_cirestrictions of other proprietary libraries that do not normally 329b815c7f3Sopenharmony_ciaccompany the operating system. Such a contradiction means you cannot 330b815c7f3Sopenharmony_ciuse both them and the Library together in an executable that you 331b815c7f3Sopenharmony_cidistribute. 332b815c7f3Sopenharmony_ci 333b815c7f3Sopenharmony_ci 7. You may place library facilities that are a work based on the 334b815c7f3Sopenharmony_ciLibrary side-by-side in a single library together with other library 335b815c7f3Sopenharmony_cifacilities not covered by this License, and distribute such a combined 336b815c7f3Sopenharmony_cilibrary, provided that the separate distribution of the work based on 337b815c7f3Sopenharmony_cithe Library and of the other library facilities is otherwise 338b815c7f3Sopenharmony_cipermitted, and provided that you do these two things: 339b815c7f3Sopenharmony_ci 340b815c7f3Sopenharmony_ci a) Accompany the combined library with a copy of the same work 341b815c7f3Sopenharmony_ci based on the Library, uncombined with any other library 342b815c7f3Sopenharmony_ci facilities. This must be distributed under the terms of the 343b815c7f3Sopenharmony_ci Sections above. 344b815c7f3Sopenharmony_ci 345b815c7f3Sopenharmony_ci b) Give prominent notice with the combined library of the fact 346b815c7f3Sopenharmony_ci that part of it is a work based on the Library, and explaining 347b815c7f3Sopenharmony_ci where to find the accompanying uncombined form of the same work. 348b815c7f3Sopenharmony_ci 349b815c7f3Sopenharmony_ci 8. You may not copy, modify, sublicense, link with, or distribute 350b815c7f3Sopenharmony_cithe Library except as expressly provided under this License. Any 351b815c7f3Sopenharmony_ciattempt otherwise to copy, modify, sublicense, link with, or 352b815c7f3Sopenharmony_cidistribute the Library is void, and will automatically terminate your 353b815c7f3Sopenharmony_cirights under this License. However, parties who have received copies, 354b815c7f3Sopenharmony_cior rights, from you under this License will not have their licenses 355b815c7f3Sopenharmony_citerminated so long as such parties remain in full compliance. 356b815c7f3Sopenharmony_ci 357b815c7f3Sopenharmony_ci 9. You are not required to accept this License, since you have not 358b815c7f3Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 359b815c7f3Sopenharmony_cidistribute the Library or its derivative works. These actions are 360b815c7f3Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 361b815c7f3Sopenharmony_cimodifying or distributing the Library (or any work based on the 362b815c7f3Sopenharmony_ciLibrary), you indicate your acceptance of this License to do so, and 363b815c7f3Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 364b815c7f3Sopenharmony_cithe Library or works based on it. 365b815c7f3Sopenharmony_ci 366b815c7f3Sopenharmony_ci 10. Each time you redistribute the Library (or any work based on the 367b815c7f3Sopenharmony_ciLibrary), the recipient automatically receives a license from the 368b815c7f3Sopenharmony_cioriginal licensor to copy, distribute, link with or modify the Library 369b815c7f3Sopenharmony_cisubject to these terms and conditions. You may not impose any further 370b815c7f3Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 371b815c7f3Sopenharmony_ciYou are not responsible for enforcing compliance by third parties with 372b815c7f3Sopenharmony_cithis License. 373b815c7f3Sopenharmony_ci 374b815c7f3Sopenharmony_ci 11. If, as a consequence of a court judgment or allegation of patent 375b815c7f3Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 376b815c7f3Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 377b815c7f3Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 378b815c7f3Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 379b815c7f3Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 380b815c7f3Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 381b815c7f3Sopenharmony_cimay not distribute the Library at all. For example, if a patent 382b815c7f3Sopenharmony_cilicense would not permit royalty-free redistribution of the Library by 383b815c7f3Sopenharmony_ciall those who receive copies directly or indirectly through you, then 384b815c7f3Sopenharmony_cithe only way you could satisfy both it and this License would be to 385b815c7f3Sopenharmony_cirefrain entirely from distribution of the Library. 386b815c7f3Sopenharmony_ci 387b815c7f3Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under any 388b815c7f3Sopenharmony_ciparticular circumstance, the balance of the section is intended to apply, 389b815c7f3Sopenharmony_ciand the section as a whole is intended to apply in other circumstances. 390b815c7f3Sopenharmony_ci 391b815c7f3Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 392b815c7f3Sopenharmony_cipatents or other property right claims or to contest validity of any 393b815c7f3Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 394b815c7f3Sopenharmony_ciintegrity of the free software distribution system which is 395b815c7f3Sopenharmony_ciimplemented by public license practices. Many people have made 396b815c7f3Sopenharmony_cigenerous contributions to the wide range of software distributed 397b815c7f3Sopenharmony_cithrough that system in reliance on consistent application of that 398b815c7f3Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 399b815c7f3Sopenharmony_cito distribute software through any other system and a licensee cannot 400b815c7f3Sopenharmony_ciimpose that choice. 401b815c7f3Sopenharmony_ci 402b815c7f3Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 403b815c7f3Sopenharmony_cibe a consequence of the rest of this License. 404b815c7f3Sopenharmony_ci 405b815c7f3Sopenharmony_ci 12. If the distribution and/or use of the Library is restricted in 406b815c7f3Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 407b815c7f3Sopenharmony_cioriginal copyright holder who places the Library under this License may add 408b815c7f3Sopenharmony_cian explicit geographical distribution limitation excluding those countries, 409b815c7f3Sopenharmony_ciso that distribution is permitted only in or among countries not thus 410b815c7f3Sopenharmony_ciexcluded. In such case, this License incorporates the limitation as if 411b815c7f3Sopenharmony_ciwritten in the body of this License. 412b815c7f3Sopenharmony_ci 413b815c7f3Sopenharmony_ci 13. The Free Software Foundation may publish revised and/or new 414b815c7f3Sopenharmony_civersions of the Lesser General Public License from time to time. 415b815c7f3Sopenharmony_ciSuch new versions will be similar in spirit to the present version, 416b815c7f3Sopenharmony_cibut may differ in detail to address new problems or concerns. 417b815c7f3Sopenharmony_ci 418b815c7f3Sopenharmony_ciEach version is given a distinguishing version number. If the Library 419b815c7f3Sopenharmony_cispecifies a version number of this License which applies to it and 420b815c7f3Sopenharmony_ci"any later version", you have the option of following the terms and 421b815c7f3Sopenharmony_ciconditions either of that version or of any later version published by 422b815c7f3Sopenharmony_cithe Free Software Foundation. If the Library does not specify a 423b815c7f3Sopenharmony_cilicense version number, you may choose any version ever published by 424b815c7f3Sopenharmony_cithe Free Software Foundation. 425b815c7f3Sopenharmony_ci 426b815c7f3Sopenharmony_ci 14. If you wish to incorporate parts of the Library into other free 427b815c7f3Sopenharmony_ciprograms whose distribution conditions are incompatible with these, 428b815c7f3Sopenharmony_ciwrite to the author to ask for permission. For software which is 429b815c7f3Sopenharmony_cicopyrighted by the Free Software Foundation, write to the Free 430b815c7f3Sopenharmony_ciSoftware Foundation; we sometimes make exceptions for this. Our 431b815c7f3Sopenharmony_cidecision will be guided by the two goals of preserving the free status 432b815c7f3Sopenharmony_ciof all derivatives of our free software and of promoting the sharing 433b815c7f3Sopenharmony_ciand reuse of software generally. 434b815c7f3Sopenharmony_ci 435b815c7f3Sopenharmony_ci NO WARRANTY 436b815c7f3Sopenharmony_ci 437b815c7f3Sopenharmony_ci 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438b815c7f3Sopenharmony_ciWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439b815c7f3Sopenharmony_ciEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440b815c7f3Sopenharmony_ciOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441b815c7f3Sopenharmony_ciKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442b815c7f3Sopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443b815c7f3Sopenharmony_ciPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444b815c7f3Sopenharmony_ciLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445b815c7f3Sopenharmony_ciTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446b815c7f3Sopenharmony_ci 447b815c7f3Sopenharmony_ci 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448b815c7f3Sopenharmony_ciWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449b815c7f3Sopenharmony_ciAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450b815c7f3Sopenharmony_ciFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451b815c7f3Sopenharmony_ciCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452b815c7f3Sopenharmony_ciLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453b815c7f3Sopenharmony_ciRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454b815c7f3Sopenharmony_ciFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455b815c7f3Sopenharmony_ciSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456b815c7f3Sopenharmony_ciDAMAGES. 457b815c7f3Sopenharmony_ci 458b815c7f3Sopenharmony_ci END OF TERMS AND CONDITIONS 459b815c7f3Sopenharmony_ci 460b815c7f3Sopenharmony_ci How to Apply These Terms to Your New Libraries 461b815c7f3Sopenharmony_ci 462b815c7f3Sopenharmony_ci If you develop a new library, and you want it to be of the greatest 463b815c7f3Sopenharmony_cipossible use to the public, we recommend making it free software that 464b815c7f3Sopenharmony_cieveryone can redistribute and change. You can do so by permitting 465b815c7f3Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 466b815c7f3Sopenharmony_ciordinary General Public License). 467b815c7f3Sopenharmony_ci 468b815c7f3Sopenharmony_ci To apply these terms, attach the following notices to the library. It is 469b815c7f3Sopenharmony_cisafest to attach them to the start of each source file to most effectively 470b815c7f3Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 471b815c7f3Sopenharmony_ci"copyright" line and a pointer to where the full notice is found. 472b815c7f3Sopenharmony_ci 473b815c7f3Sopenharmony_ci <one line to give the library's name and a brief idea of what it does.> 474b815c7f3Sopenharmony_ci Copyright (C) <year> <name of author> 475b815c7f3Sopenharmony_ci 476b815c7f3Sopenharmony_ci This library is free software; you can redistribute it and/or 477b815c7f3Sopenharmony_ci modify it under the terms of the GNU Lesser General Public 478b815c7f3Sopenharmony_ci License as published by the Free Software Foundation; either 479b815c7f3Sopenharmony_ci version 2.1 of the License, or (at your option) any later version. 480b815c7f3Sopenharmony_ci 481b815c7f3Sopenharmony_ci This library is distributed in the hope that it will be useful, 482b815c7f3Sopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 483b815c7f3Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484b815c7f3Sopenharmony_ci Lesser General Public License for more details. 485b815c7f3Sopenharmony_ci 486b815c7f3Sopenharmony_ci You should have received a copy of the GNU Lesser General Public 487b815c7f3Sopenharmony_ci License along with this library; if not, write to the Free Software 488b815c7f3Sopenharmony_ci Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 489b815c7f3Sopenharmony_ci 490b815c7f3Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 491b815c7f3Sopenharmony_ci 492b815c7f3Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 493b815c7f3Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 494b815c7f3Sopenharmony_cinecessary. Here is a sample; alter the names: 495b815c7f3Sopenharmony_ci 496b815c7f3Sopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the 497b815c7f3Sopenharmony_ci library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498b815c7f3Sopenharmony_ci 499b815c7f3Sopenharmony_ci <signature of Ty Coon>, 1 April 1990 500b815c7f3Sopenharmony_ci Ty Coon, President of Vice 501b815c7f3Sopenharmony_ci 502b815c7f3Sopenharmony_ciThat's all there is to it! 503b815c7f3Sopenharmony_ci 504