1d5ac70f0Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 2d5ac70f0Sopenharmony_ci Version 2.1, February 1999 3d5ac70f0Sopenharmony_ci 4d5ac70f0Sopenharmony_ci Copyright (C) 1991, 1999 Free Software Foundation, Inc. 5d5ac70f0Sopenharmony_ci 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6d5ac70f0Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 7d5ac70f0Sopenharmony_ci of this license document, but changing it is not allowed. 8d5ac70f0Sopenharmony_ci 9d5ac70f0Sopenharmony_ci[This is the first released version of the Lesser GPL. It also counts 10d5ac70f0Sopenharmony_ci as the successor of the GNU Library Public License, version 2, hence 11d5ac70f0Sopenharmony_ci the version number 2.1.] 12d5ac70f0Sopenharmony_ci 13d5ac70f0Sopenharmony_ci Preamble 14d5ac70f0Sopenharmony_ci 15d5ac70f0Sopenharmony_ci The licenses for most software are designed to take away your 16d5ac70f0Sopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 17d5ac70f0Sopenharmony_ciLicenses are intended to guarantee your freedom to share and change 18d5ac70f0Sopenharmony_cifree software--to make sure the software is free for all its users. 19d5ac70f0Sopenharmony_ci 20d5ac70f0Sopenharmony_ci This license, the Lesser General Public License, applies to some 21d5ac70f0Sopenharmony_cispecially designated software packages--typically libraries--of the 22d5ac70f0Sopenharmony_ciFree Software Foundation and other authors who decide to use it. You 23d5ac70f0Sopenharmony_cican use it too, but we suggest you first think carefully about whether 24d5ac70f0Sopenharmony_cithis license or the ordinary General Public License is the better 25d5ac70f0Sopenharmony_cistrategy to use in any particular case, based on the explanations below. 26d5ac70f0Sopenharmony_ci 27d5ac70f0Sopenharmony_ci When we speak of free software, we are referring to freedom of use, 28d5ac70f0Sopenharmony_cinot price. Our General Public Licenses are designed to make sure that 29d5ac70f0Sopenharmony_ciyou have the freedom to distribute copies of free software (and charge 30d5ac70f0Sopenharmony_cifor this service if you wish); that you receive source code or can get 31d5ac70f0Sopenharmony_ciit if you want it; that you can change the software and use pieces of 32d5ac70f0Sopenharmony_ciit in new free programs; and that you are informed that you can do 33d5ac70f0Sopenharmony_cithese things. 34d5ac70f0Sopenharmony_ci 35d5ac70f0Sopenharmony_ci To protect your rights, we need to make restrictions that forbid 36d5ac70f0Sopenharmony_cidistributors to deny you these rights or to ask you to surrender these 37d5ac70f0Sopenharmony_cirights. These restrictions translate to certain responsibilities for 38d5ac70f0Sopenharmony_ciyou if you distribute copies of the library or if you modify it. 39d5ac70f0Sopenharmony_ci 40d5ac70f0Sopenharmony_ci For example, if you distribute copies of the library, whether gratis 41d5ac70f0Sopenharmony_cior for a fee, you must give the recipients all the rights that we gave 42d5ac70f0Sopenharmony_ciyou. You must make sure that they, too, receive or can get the source 43d5ac70f0Sopenharmony_cicode. If you link other code with the library, you must provide 44d5ac70f0Sopenharmony_cicomplete object files to the recipients, so that they can relink them 45d5ac70f0Sopenharmony_ciwith the library after making changes to the library and recompiling 46d5ac70f0Sopenharmony_ciit. And you must show them these terms so they know their rights. 47d5ac70f0Sopenharmony_ci 48d5ac70f0Sopenharmony_ci We protect your rights with a two-step method: (1) we copyright the 49d5ac70f0Sopenharmony_cilibrary, and (2) we offer you this license, which gives you legal 50d5ac70f0Sopenharmony_cipermission to copy, distribute and/or modify the library. 51d5ac70f0Sopenharmony_ci 52d5ac70f0Sopenharmony_ci To protect each distributor, we want to make it very clear that 53d5ac70f0Sopenharmony_cithere is no warranty for the free library. Also, if the library is 54d5ac70f0Sopenharmony_cimodified by someone else and passed on, the recipients should know 55d5ac70f0Sopenharmony_cithat what they have is not the original version, so that the original 56d5ac70f0Sopenharmony_ciauthor's reputation will not be affected by problems that might be 57d5ac70f0Sopenharmony_ciintroduced by others. 58d5ac70f0Sopenharmony_ci 59d5ac70f0Sopenharmony_ci Finally, software patents pose a constant threat to the existence of 60d5ac70f0Sopenharmony_ciany free program. We wish to make sure that a company cannot 61d5ac70f0Sopenharmony_cieffectively restrict the users of a free program by obtaining a 62d5ac70f0Sopenharmony_cirestrictive license from a patent holder. Therefore, we insist that 63d5ac70f0Sopenharmony_ciany patent license obtained for a version of the library must be 64d5ac70f0Sopenharmony_ciconsistent with the full freedom of use specified in this license. 65d5ac70f0Sopenharmony_ci 66d5ac70f0Sopenharmony_ci Most GNU software, including some libraries, is covered by the 67d5ac70f0Sopenharmony_ciordinary GNU General Public License. This license, the GNU Lesser 68d5ac70f0Sopenharmony_ciGeneral Public License, applies to certain designated libraries, and 69d5ac70f0Sopenharmony_ciis quite different from the ordinary General Public License. We use 70d5ac70f0Sopenharmony_cithis license for certain libraries in order to permit linking those 71d5ac70f0Sopenharmony_cilibraries into non-free programs. 72d5ac70f0Sopenharmony_ci 73d5ac70f0Sopenharmony_ci When a program is linked with a library, whether statically or using 74d5ac70f0Sopenharmony_cia shared library, the combination of the two is legally speaking a 75d5ac70f0Sopenharmony_cicombined work, a derivative of the original library. The ordinary 76d5ac70f0Sopenharmony_ciGeneral Public License therefore permits such linking only if the 77d5ac70f0Sopenharmony_cientire combination fits its criteria of freedom. The Lesser General 78d5ac70f0Sopenharmony_ciPublic License permits more lax criteria for linking other code with 79d5ac70f0Sopenharmony_cithe library. 80d5ac70f0Sopenharmony_ci 81d5ac70f0Sopenharmony_ci We call this license the "Lesser" General Public License because it 82d5ac70f0Sopenharmony_cidoes Less to protect the user's freedom than the ordinary General 83d5ac70f0Sopenharmony_ciPublic License. It also provides other free software developers Less 84d5ac70f0Sopenharmony_ciof an advantage over competing non-free programs. These disadvantages 85d5ac70f0Sopenharmony_ciare the reason we use the ordinary General Public License for many 86d5ac70f0Sopenharmony_cilibraries. However, the Lesser license provides advantages in certain 87d5ac70f0Sopenharmony_cispecial circumstances. 88d5ac70f0Sopenharmony_ci 89d5ac70f0Sopenharmony_ci For example, on rare occasions, there may be a special need to 90d5ac70f0Sopenharmony_ciencourage the widest possible use of a certain library, so that it becomes 91d5ac70f0Sopenharmony_cia de-facto standard. To achieve this, non-free programs must be 92d5ac70f0Sopenharmony_ciallowed to use the library. A more frequent case is that a free 93d5ac70f0Sopenharmony_cilibrary does the same job as widely used non-free libraries. In this 94d5ac70f0Sopenharmony_cicase, there is little to gain by limiting the free library to free 95d5ac70f0Sopenharmony_cisoftware only, so we use the Lesser General Public License. 96d5ac70f0Sopenharmony_ci 97d5ac70f0Sopenharmony_ci In other cases, permission to use a particular library in non-free 98d5ac70f0Sopenharmony_ciprograms enables a greater number of people to use a large body of 99d5ac70f0Sopenharmony_cifree software. For example, permission to use the GNU C Library in 100d5ac70f0Sopenharmony_cinon-free programs enables many more people to use the whole GNU 101d5ac70f0Sopenharmony_cioperating system, as well as its variant, the GNU/Linux operating 102d5ac70f0Sopenharmony_cisystem. 103d5ac70f0Sopenharmony_ci 104d5ac70f0Sopenharmony_ci Although the Lesser General Public License is Less protective of the 105d5ac70f0Sopenharmony_ciusers' freedom, it does ensure that the user of a program that is 106d5ac70f0Sopenharmony_cilinked with the Library has the freedom and the wherewithal to run 107d5ac70f0Sopenharmony_cithat program using a modified version of the Library. 108d5ac70f0Sopenharmony_ci 109d5ac70f0Sopenharmony_ci The precise terms and conditions for copying, distribution and 110d5ac70f0Sopenharmony_cimodification follow. Pay close attention to the difference between a 111d5ac70f0Sopenharmony_ci"work based on the library" and a "work that uses the library". The 112d5ac70f0Sopenharmony_ciformer contains code derived from the library, whereas the latter must 113d5ac70f0Sopenharmony_cibe combined with the library in order to run. 114d5ac70f0Sopenharmony_ci 115d5ac70f0Sopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 116d5ac70f0Sopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 117d5ac70f0Sopenharmony_ci 118d5ac70f0Sopenharmony_ci 0. This License Agreement applies to any software library or other 119d5ac70f0Sopenharmony_ciprogram which contains a notice placed by the copyright holder or 120d5ac70f0Sopenharmony_ciother authorized party saying it may be distributed under the terms of 121d5ac70f0Sopenharmony_cithis Lesser General Public License (also called "this License"). 122d5ac70f0Sopenharmony_ciEach licensee is addressed as "you". 123d5ac70f0Sopenharmony_ci 124d5ac70f0Sopenharmony_ci A "library" means a collection of software functions and/or data 125d5ac70f0Sopenharmony_ciprepared so as to be conveniently linked with application programs 126d5ac70f0Sopenharmony_ci(which use some of those functions and data) to form executables. 127d5ac70f0Sopenharmony_ci 128d5ac70f0Sopenharmony_ci The "Library", below, refers to any such software library or work 129d5ac70f0Sopenharmony_ciwhich has been distributed under these terms. A "work based on the 130d5ac70f0Sopenharmony_ciLibrary" means either the Library or any derivative work under 131d5ac70f0Sopenharmony_cicopyright law: that is to say, a work containing the Library or a 132d5ac70f0Sopenharmony_ciportion of it, either verbatim or with modifications and/or translated 133d5ac70f0Sopenharmony_cistraightforwardly into another language. (Hereinafter, translation is 134d5ac70f0Sopenharmony_ciincluded without limitation in the term "modification".) 135d5ac70f0Sopenharmony_ci 136d5ac70f0Sopenharmony_ci "Source code" for a work means the preferred form of the work for 137d5ac70f0Sopenharmony_cimaking modifications to it. For a library, complete source code means 138d5ac70f0Sopenharmony_ciall the source code for all modules it contains, plus any associated 139d5ac70f0Sopenharmony_ciinterface definition files, plus the scripts used to control compilation 140d5ac70f0Sopenharmony_ciand installation of the library. 141d5ac70f0Sopenharmony_ci 142d5ac70f0Sopenharmony_ci Activities other than copying, distribution and modification are not 143d5ac70f0Sopenharmony_cicovered by this License; they are outside its scope. The act of 144d5ac70f0Sopenharmony_cirunning a program using the Library is not restricted, and output from 145d5ac70f0Sopenharmony_cisuch a program is covered only if its contents constitute a work based 146d5ac70f0Sopenharmony_cion the Library (independent of the use of the Library in a tool for 147d5ac70f0Sopenharmony_ciwriting it). Whether that is true depends on what the Library does 148d5ac70f0Sopenharmony_ciand what the program that uses the Library does. 149d5ac70f0Sopenharmony_ci 150d5ac70f0Sopenharmony_ci 1. You may copy and distribute verbatim copies of the Library's 151d5ac70f0Sopenharmony_cicomplete source code as you receive it, in any medium, provided that 152d5ac70f0Sopenharmony_ciyou conspicuously and appropriately publish on each copy an 153d5ac70f0Sopenharmony_ciappropriate copyright notice and disclaimer of warranty; keep intact 154d5ac70f0Sopenharmony_ciall the notices that refer to this License and to the absence of any 155d5ac70f0Sopenharmony_ciwarranty; and distribute a copy of this License along with the 156d5ac70f0Sopenharmony_ciLibrary. 157d5ac70f0Sopenharmony_ci 158d5ac70f0Sopenharmony_ci You may charge a fee for the physical act of transferring a copy, 159d5ac70f0Sopenharmony_ciand you may at your option offer warranty protection in exchange for a 160d5ac70f0Sopenharmony_cifee. 161d5ac70f0Sopenharmony_ci 162d5ac70f0Sopenharmony_ci 2. You may modify your copy or copies of the Library or any portion 163d5ac70f0Sopenharmony_ciof it, thus forming a work based on the Library, and copy and 164d5ac70f0Sopenharmony_cidistribute such modifications or work under the terms of Section 1 165d5ac70f0Sopenharmony_ciabove, provided that you also meet all of these conditions: 166d5ac70f0Sopenharmony_ci 167d5ac70f0Sopenharmony_ci a) The modified work must itself be a software library. 168d5ac70f0Sopenharmony_ci 169d5ac70f0Sopenharmony_ci b) You must cause the files modified to carry prominent notices 170d5ac70f0Sopenharmony_ci stating that you changed the files and the date of any change. 171d5ac70f0Sopenharmony_ci 172d5ac70f0Sopenharmony_ci c) You must cause the whole of the work to be licensed at no 173d5ac70f0Sopenharmony_ci charge to all third parties under the terms of this License. 174d5ac70f0Sopenharmony_ci 175d5ac70f0Sopenharmony_ci d) If a facility in the modified Library refers to a function or a 176d5ac70f0Sopenharmony_ci table of data to be supplied by an application program that uses 177d5ac70f0Sopenharmony_ci the facility, other than as an argument passed when the facility 178d5ac70f0Sopenharmony_ci is invoked, then you must make a good faith effort to ensure that, 179d5ac70f0Sopenharmony_ci in the event an application does not supply such function or 180d5ac70f0Sopenharmony_ci table, the facility still operates, and performs whatever part of 181d5ac70f0Sopenharmony_ci its purpose remains meaningful. 182d5ac70f0Sopenharmony_ci 183d5ac70f0Sopenharmony_ci (For example, a function in a library to compute square roots has 184d5ac70f0Sopenharmony_ci a purpose that is entirely well-defined independent of the 185d5ac70f0Sopenharmony_ci application. Therefore, Subsection 2d requires that any 186d5ac70f0Sopenharmony_ci application-supplied function or table used by this function must 187d5ac70f0Sopenharmony_ci be optional: if the application does not supply it, the square 188d5ac70f0Sopenharmony_ci root function must still compute square roots.) 189d5ac70f0Sopenharmony_ci 190d5ac70f0Sopenharmony_ciThese requirements apply to the modified work as a whole. If 191d5ac70f0Sopenharmony_ciidentifiable sections of that work are not derived from the Library, 192d5ac70f0Sopenharmony_ciand can be reasonably considered independent and separate works in 193d5ac70f0Sopenharmony_cithemselves, then this License, and its terms, do not apply to those 194d5ac70f0Sopenharmony_cisections when you distribute them as separate works. But when you 195d5ac70f0Sopenharmony_cidistribute the same sections as part of a whole which is a work based 196d5ac70f0Sopenharmony_cion the Library, the distribution of the whole must be on the terms of 197d5ac70f0Sopenharmony_cithis License, whose permissions for other licensees extend to the 198d5ac70f0Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote 199d5ac70f0Sopenharmony_ciit. 200d5ac70f0Sopenharmony_ci 201d5ac70f0Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest 202d5ac70f0Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 203d5ac70f0Sopenharmony_ciexercise the right to control the distribution of derivative or 204d5ac70f0Sopenharmony_cicollective works based on the Library. 205d5ac70f0Sopenharmony_ci 206d5ac70f0Sopenharmony_ciIn addition, mere aggregation of another work not based on the Library 207d5ac70f0Sopenharmony_ciwith the Library (or with a work based on the Library) on a volume of 208d5ac70f0Sopenharmony_cia storage or distribution medium does not bring the other work under 209d5ac70f0Sopenharmony_cithe scope of this License. 210d5ac70f0Sopenharmony_ci 211d5ac70f0Sopenharmony_ci 3. You may opt to apply the terms of the ordinary GNU General Public 212d5ac70f0Sopenharmony_ciLicense instead of this License to a given copy of the Library. To do 213d5ac70f0Sopenharmony_cithis, you must alter all the notices that refer to this License, so 214d5ac70f0Sopenharmony_cithat they refer to the ordinary GNU General Public License, version 2, 215d5ac70f0Sopenharmony_ciinstead of to this License. (If a newer version than version 2 of the 216d5ac70f0Sopenharmony_ciordinary GNU General Public License has appeared, then you can specify 217d5ac70f0Sopenharmony_cithat version instead if you wish.) Do not make any other change in 218d5ac70f0Sopenharmony_cithese notices. 219d5ac70f0Sopenharmony_ci 220d5ac70f0Sopenharmony_ci Once this change is made in a given copy, it is irreversible for 221d5ac70f0Sopenharmony_cithat copy, so the ordinary GNU General Public License applies to all 222d5ac70f0Sopenharmony_cisubsequent copies and derivative works made from that copy. 223d5ac70f0Sopenharmony_ci 224d5ac70f0Sopenharmony_ci This option is useful when you wish to copy part of the code of 225d5ac70f0Sopenharmony_cithe Library into a program that is not a library. 226d5ac70f0Sopenharmony_ci 227d5ac70f0Sopenharmony_ci 4. You may copy and distribute the Library (or a portion or 228d5ac70f0Sopenharmony_ciderivative of it, under Section 2) in object code or executable form 229d5ac70f0Sopenharmony_ciunder the terms of Sections 1 and 2 above provided that you accompany 230d5ac70f0Sopenharmony_ciit with the complete corresponding machine-readable source code, which 231d5ac70f0Sopenharmony_cimust be distributed under the terms of Sections 1 and 2 above on a 232d5ac70f0Sopenharmony_cimedium customarily used for software interchange. 233d5ac70f0Sopenharmony_ci 234d5ac70f0Sopenharmony_ci If distribution of object code is made by offering access to copy 235d5ac70f0Sopenharmony_cifrom a designated place, then offering equivalent access to copy the 236d5ac70f0Sopenharmony_cisource code from the same place satisfies the requirement to 237d5ac70f0Sopenharmony_cidistribute the source code, even though third parties are not 238d5ac70f0Sopenharmony_cicompelled to copy the source along with the object code. 239d5ac70f0Sopenharmony_ci 240d5ac70f0Sopenharmony_ci 5. A program that contains no derivative of any portion of the 241d5ac70f0Sopenharmony_ciLibrary, but is designed to work with the Library by being compiled or 242d5ac70f0Sopenharmony_cilinked with it, is called a "work that uses the Library". Such a 243d5ac70f0Sopenharmony_ciwork, in isolation, is not a derivative work of the Library, and 244d5ac70f0Sopenharmony_citherefore falls outside the scope of this License. 245d5ac70f0Sopenharmony_ci 246d5ac70f0Sopenharmony_ci However, linking a "work that uses the Library" with the Library 247d5ac70f0Sopenharmony_cicreates an executable that is a derivative of the Library (because it 248d5ac70f0Sopenharmony_cicontains portions of the Library), rather than a "work that uses the 249d5ac70f0Sopenharmony_cilibrary". The executable is therefore covered by this License. 250d5ac70f0Sopenharmony_ciSection 6 states terms for distribution of such executables. 251d5ac70f0Sopenharmony_ci 252d5ac70f0Sopenharmony_ci When a "work that uses the Library" uses material from a header file 253d5ac70f0Sopenharmony_cithat is part of the Library, the object code for the work may be a 254d5ac70f0Sopenharmony_ciderivative work of the Library even though the source code is not. 255d5ac70f0Sopenharmony_ciWhether this is true is especially significant if the work can be 256d5ac70f0Sopenharmony_cilinked without the Library, or if the work is itself a library. The 257d5ac70f0Sopenharmony_cithreshold for this to be true is not precisely defined by law. 258d5ac70f0Sopenharmony_ci 259d5ac70f0Sopenharmony_ci If such an object file uses only numerical parameters, data 260d5ac70f0Sopenharmony_cistructure layouts and accessors, and small macros and small inline 261d5ac70f0Sopenharmony_cifunctions (ten lines or less in length), then the use of the object 262d5ac70f0Sopenharmony_cifile is unrestricted, regardless of whether it is legally a derivative 263d5ac70f0Sopenharmony_ciwork. (Executables containing this object code plus portions of the 264d5ac70f0Sopenharmony_ciLibrary will still fall under Section 6.) 265d5ac70f0Sopenharmony_ci 266d5ac70f0Sopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 267d5ac70f0Sopenharmony_cidistribute the object code for the work under the terms of Section 6. 268d5ac70f0Sopenharmony_ciAny executables containing that work also fall under Section 6, 269d5ac70f0Sopenharmony_ciwhether or not they are linked directly with the Library itself. 270d5ac70f0Sopenharmony_ci 271d5ac70f0Sopenharmony_ci 6. As an exception to the Sections above, you may also combine or 272d5ac70f0Sopenharmony_cilink a "work that uses the Library" with the Library to produce a 273d5ac70f0Sopenharmony_ciwork containing portions of the Library, and distribute that work 274d5ac70f0Sopenharmony_ciunder terms of your choice, provided that the terms permit 275d5ac70f0Sopenharmony_cimodification of the work for the customer's own use and reverse 276d5ac70f0Sopenharmony_ciengineering for debugging such modifications. 277d5ac70f0Sopenharmony_ci 278d5ac70f0Sopenharmony_ci You must give prominent notice with each copy of the work that the 279d5ac70f0Sopenharmony_ciLibrary is used in it and that the Library and its use are covered by 280d5ac70f0Sopenharmony_cithis License. You must supply a copy of this License. If the work 281d5ac70f0Sopenharmony_ciduring execution displays copyright notices, you must include the 282d5ac70f0Sopenharmony_cicopyright notice for the Library among them, as well as a reference 283d5ac70f0Sopenharmony_cidirecting the user to the copy of this License. Also, you must do one 284d5ac70f0Sopenharmony_ciof these things: 285d5ac70f0Sopenharmony_ci 286d5ac70f0Sopenharmony_ci a) Accompany the work with the complete corresponding 287d5ac70f0Sopenharmony_ci machine-readable source code for the Library including whatever 288d5ac70f0Sopenharmony_ci changes were used in the work (which must be distributed under 289d5ac70f0Sopenharmony_ci Sections 1 and 2 above); and, if the work is an executable linked 290d5ac70f0Sopenharmony_ci with the Library, with the complete machine-readable "work that 291d5ac70f0Sopenharmony_ci uses the Library", as object code and/or source code, so that the 292d5ac70f0Sopenharmony_ci user can modify the Library and then relink to produce a modified 293d5ac70f0Sopenharmony_ci executable containing the modified Library. (It is understood 294d5ac70f0Sopenharmony_ci that the user who changes the contents of definitions files in the 295d5ac70f0Sopenharmony_ci Library will not necessarily be able to recompile the application 296d5ac70f0Sopenharmony_ci to use the modified definitions.) 297d5ac70f0Sopenharmony_ci 298d5ac70f0Sopenharmony_ci b) Use a suitable shared library mechanism for linking with the 299d5ac70f0Sopenharmony_ci Library. A suitable mechanism is one that (1) uses at run time a 300d5ac70f0Sopenharmony_ci copy of the library already present on the user's computer system, 301d5ac70f0Sopenharmony_ci rather than copying library functions into the executable, and (2) 302d5ac70f0Sopenharmony_ci will operate properly with a modified version of the library, if 303d5ac70f0Sopenharmony_ci the user installs one, as long as the modified version is 304d5ac70f0Sopenharmony_ci interface-compatible with the version that the work was made with. 305d5ac70f0Sopenharmony_ci 306d5ac70f0Sopenharmony_ci c) Accompany the work with a written offer, valid for at 307d5ac70f0Sopenharmony_ci least three years, to give the same user the materials 308d5ac70f0Sopenharmony_ci specified in Subsection 6a, above, for a charge no more 309d5ac70f0Sopenharmony_ci than the cost of performing this distribution. 310d5ac70f0Sopenharmony_ci 311d5ac70f0Sopenharmony_ci d) If distribution of the work is made by offering access to copy 312d5ac70f0Sopenharmony_ci from a designated place, offer equivalent access to copy the above 313d5ac70f0Sopenharmony_ci specified materials from the same place. 314d5ac70f0Sopenharmony_ci 315d5ac70f0Sopenharmony_ci e) Verify that the user has already received a copy of these 316d5ac70f0Sopenharmony_ci materials or that you have already sent this user a copy. 317d5ac70f0Sopenharmony_ci 318d5ac70f0Sopenharmony_ci For an executable, the required form of the "work that uses the 319d5ac70f0Sopenharmony_ciLibrary" must include any data and utility programs needed for 320d5ac70f0Sopenharmony_cireproducing the executable from it. However, as a special exception, 321d5ac70f0Sopenharmony_cithe materials to be distributed need not include anything that is 322d5ac70f0Sopenharmony_cinormally distributed (in either source or binary form) with the major 323d5ac70f0Sopenharmony_cicomponents (compiler, kernel, and so on) of the operating system on 324d5ac70f0Sopenharmony_ciwhich the executable runs, unless that component itself accompanies 325d5ac70f0Sopenharmony_cithe executable. 326d5ac70f0Sopenharmony_ci 327d5ac70f0Sopenharmony_ci It may happen that this requirement contradicts the license 328d5ac70f0Sopenharmony_cirestrictions of other proprietary libraries that do not normally 329d5ac70f0Sopenharmony_ciaccompany the operating system. Such a contradiction means you cannot 330d5ac70f0Sopenharmony_ciuse both them and the Library together in an executable that you 331d5ac70f0Sopenharmony_cidistribute. 332d5ac70f0Sopenharmony_ci 333d5ac70f0Sopenharmony_ci 7. You may place library facilities that are a work based on the 334d5ac70f0Sopenharmony_ciLibrary side-by-side in a single library together with other library 335d5ac70f0Sopenharmony_cifacilities not covered by this License, and distribute such a combined 336d5ac70f0Sopenharmony_cilibrary, provided that the separate distribution of the work based on 337d5ac70f0Sopenharmony_cithe Library and of the other library facilities is otherwise 338d5ac70f0Sopenharmony_cipermitted, and provided that you do these two things: 339d5ac70f0Sopenharmony_ci 340d5ac70f0Sopenharmony_ci a) Accompany the combined library with a copy of the same work 341d5ac70f0Sopenharmony_ci based on the Library, uncombined with any other library 342d5ac70f0Sopenharmony_ci facilities. This must be distributed under the terms of the 343d5ac70f0Sopenharmony_ci Sections above. 344d5ac70f0Sopenharmony_ci 345d5ac70f0Sopenharmony_ci b) Give prominent notice with the combined library of the fact 346d5ac70f0Sopenharmony_ci that part of it is a work based on the Library, and explaining 347d5ac70f0Sopenharmony_ci where to find the accompanying uncombined form of the same work. 348d5ac70f0Sopenharmony_ci 349d5ac70f0Sopenharmony_ci 8. You may not copy, modify, sublicense, link with, or distribute 350d5ac70f0Sopenharmony_cithe Library except as expressly provided under this License. Any 351d5ac70f0Sopenharmony_ciattempt otherwise to copy, modify, sublicense, link with, or 352d5ac70f0Sopenharmony_cidistribute the Library is void, and will automatically terminate your 353d5ac70f0Sopenharmony_cirights under this License. However, parties who have received copies, 354d5ac70f0Sopenharmony_cior rights, from you under this License will not have their licenses 355d5ac70f0Sopenharmony_citerminated so long as such parties remain in full compliance. 356d5ac70f0Sopenharmony_ci 357d5ac70f0Sopenharmony_ci 9. You are not required to accept this License, since you have not 358d5ac70f0Sopenharmony_cisigned it. However, nothing else grants you permission to modify or 359d5ac70f0Sopenharmony_cidistribute the Library or its derivative works. These actions are 360d5ac70f0Sopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 361d5ac70f0Sopenharmony_cimodifying or distributing the Library (or any work based on the 362d5ac70f0Sopenharmony_ciLibrary), you indicate your acceptance of this License to do so, and 363d5ac70f0Sopenharmony_ciall its terms and conditions for copying, distributing or modifying 364d5ac70f0Sopenharmony_cithe Library or works based on it. 365d5ac70f0Sopenharmony_ci 366d5ac70f0Sopenharmony_ci 10. Each time you redistribute the Library (or any work based on the 367d5ac70f0Sopenharmony_ciLibrary), the recipient automatically receives a license from the 368d5ac70f0Sopenharmony_cioriginal licensor to copy, distribute, link with or modify the Library 369d5ac70f0Sopenharmony_cisubject to these terms and conditions. You may not impose any further 370d5ac70f0Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 371d5ac70f0Sopenharmony_ciYou are not responsible for enforcing compliance by third parties with 372d5ac70f0Sopenharmony_cithis License. 373d5ac70f0Sopenharmony_ci 374d5ac70f0Sopenharmony_ci 11. If, as a consequence of a court judgment or allegation of patent 375d5ac70f0Sopenharmony_ciinfringement or for any other reason (not limited to patent issues), 376d5ac70f0Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or 377d5ac70f0Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not 378d5ac70f0Sopenharmony_ciexcuse you from the conditions of this License. If you cannot 379d5ac70f0Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 380d5ac70f0Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 381d5ac70f0Sopenharmony_cimay not distribute the Library at all. For example, if a patent 382d5ac70f0Sopenharmony_cilicense would not permit royalty-free redistribution of the Library by 383d5ac70f0Sopenharmony_ciall those who receive copies directly or indirectly through you, then 384d5ac70f0Sopenharmony_cithe only way you could satisfy both it and this License would be to 385d5ac70f0Sopenharmony_cirefrain entirely from distribution of the Library. 386d5ac70f0Sopenharmony_ci 387d5ac70f0Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under any 388d5ac70f0Sopenharmony_ciparticular circumstance, the balance of the section is intended to apply, 389d5ac70f0Sopenharmony_ciand the section as a whole is intended to apply in other circumstances. 390d5ac70f0Sopenharmony_ci 391d5ac70f0Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any 392d5ac70f0Sopenharmony_cipatents or other property right claims or to contest validity of any 393d5ac70f0Sopenharmony_cisuch claims; this section has the sole purpose of protecting the 394d5ac70f0Sopenharmony_ciintegrity of the free software distribution system which is 395d5ac70f0Sopenharmony_ciimplemented by public license practices. Many people have made 396d5ac70f0Sopenharmony_cigenerous contributions to the wide range of software distributed 397d5ac70f0Sopenharmony_cithrough that system in reliance on consistent application of that 398d5ac70f0Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 399d5ac70f0Sopenharmony_cito distribute software through any other system and a licensee cannot 400d5ac70f0Sopenharmony_ciimpose that choice. 401d5ac70f0Sopenharmony_ci 402d5ac70f0Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to 403d5ac70f0Sopenharmony_cibe a consequence of the rest of this License. 404d5ac70f0Sopenharmony_ci 405d5ac70f0Sopenharmony_ci 12. If the distribution and/or use of the Library is restricted in 406d5ac70f0Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 407d5ac70f0Sopenharmony_cioriginal copyright holder who places the Library under this License may add 408d5ac70f0Sopenharmony_cian explicit geographical distribution limitation excluding those countries, 409d5ac70f0Sopenharmony_ciso that distribution is permitted only in or among countries not thus 410d5ac70f0Sopenharmony_ciexcluded. In such case, this License incorporates the limitation as if 411d5ac70f0Sopenharmony_ciwritten in the body of this License. 412d5ac70f0Sopenharmony_ci 413d5ac70f0Sopenharmony_ci 13. The Free Software Foundation may publish revised and/or new 414d5ac70f0Sopenharmony_civersions of the Lesser General Public License from time to time. 415d5ac70f0Sopenharmony_ciSuch new versions will be similar in spirit to the present version, 416d5ac70f0Sopenharmony_cibut may differ in detail to address new problems or concerns. 417d5ac70f0Sopenharmony_ci 418d5ac70f0Sopenharmony_ciEach version is given a distinguishing version number. If the Library 419d5ac70f0Sopenharmony_cispecifies a version number of this License which applies to it and 420d5ac70f0Sopenharmony_ci"any later version", you have the option of following the terms and 421d5ac70f0Sopenharmony_ciconditions either of that version or of any later version published by 422d5ac70f0Sopenharmony_cithe Free Software Foundation. If the Library does not specify a 423d5ac70f0Sopenharmony_cilicense version number, you may choose any version ever published by 424d5ac70f0Sopenharmony_cithe Free Software Foundation. 425d5ac70f0Sopenharmony_ci 426d5ac70f0Sopenharmony_ci 14. If you wish to incorporate parts of the Library into other free 427d5ac70f0Sopenharmony_ciprograms whose distribution conditions are incompatible with these, 428d5ac70f0Sopenharmony_ciwrite to the author to ask for permission. For software which is 429d5ac70f0Sopenharmony_cicopyrighted by the Free Software Foundation, write to the Free 430d5ac70f0Sopenharmony_ciSoftware Foundation; we sometimes make exceptions for this. Our 431d5ac70f0Sopenharmony_cidecision will be guided by the two goals of preserving the free status 432d5ac70f0Sopenharmony_ciof all derivatives of our free software and of promoting the sharing 433d5ac70f0Sopenharmony_ciand reuse of software generally. 434d5ac70f0Sopenharmony_ci 435d5ac70f0Sopenharmony_ci NO WARRANTY 436d5ac70f0Sopenharmony_ci 437d5ac70f0Sopenharmony_ci 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 438d5ac70f0Sopenharmony_ciWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 439d5ac70f0Sopenharmony_ciEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 440d5ac70f0Sopenharmony_ciOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 441d5ac70f0Sopenharmony_ciKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 442d5ac70f0Sopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 443d5ac70f0Sopenharmony_ciPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 444d5ac70f0Sopenharmony_ciLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 445d5ac70f0Sopenharmony_ciTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 446d5ac70f0Sopenharmony_ci 447d5ac70f0Sopenharmony_ci 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 448d5ac70f0Sopenharmony_ciWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 449d5ac70f0Sopenharmony_ciAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 450d5ac70f0Sopenharmony_ciFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 451d5ac70f0Sopenharmony_ciCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 452d5ac70f0Sopenharmony_ciLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 453d5ac70f0Sopenharmony_ciRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 454d5ac70f0Sopenharmony_ciFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 455d5ac70f0Sopenharmony_ciSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 456d5ac70f0Sopenharmony_ciDAMAGES. 457d5ac70f0Sopenharmony_ci 458d5ac70f0Sopenharmony_ci END OF TERMS AND CONDITIONS 459d5ac70f0Sopenharmony_ci 460d5ac70f0Sopenharmony_ci How to Apply These Terms to Your New Libraries 461d5ac70f0Sopenharmony_ci 462d5ac70f0Sopenharmony_ci If you develop a new library, and you want it to be of the greatest 463d5ac70f0Sopenharmony_cipossible use to the public, we recommend making it free software that 464d5ac70f0Sopenharmony_cieveryone can redistribute and change. You can do so by permitting 465d5ac70f0Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 466d5ac70f0Sopenharmony_ciordinary General Public License). 467d5ac70f0Sopenharmony_ci 468d5ac70f0Sopenharmony_ci To apply these terms, attach the following notices to the library. It is 469d5ac70f0Sopenharmony_cisafest to attach them to the start of each source file to most effectively 470d5ac70f0Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 471d5ac70f0Sopenharmony_ci"copyright" line and a pointer to where the full notice is found. 472d5ac70f0Sopenharmony_ci 473d5ac70f0Sopenharmony_ci <one line to give the library's name and a brief idea of what it does.> 474d5ac70f0Sopenharmony_ci Copyright (C) <year> <name of author> 475d5ac70f0Sopenharmony_ci 476d5ac70f0Sopenharmony_ci This library is free software; you can redistribute it and/or 477d5ac70f0Sopenharmony_ci modify it under the terms of the GNU Lesser General Public 478d5ac70f0Sopenharmony_ci License as published by the Free Software Foundation; either 479d5ac70f0Sopenharmony_ci version 2.1 of the License, or (at your option) any later version. 480d5ac70f0Sopenharmony_ci 481d5ac70f0Sopenharmony_ci This library is distributed in the hope that it will be useful, 482d5ac70f0Sopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 483d5ac70f0Sopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 484d5ac70f0Sopenharmony_ci Lesser General Public License for more details. 485d5ac70f0Sopenharmony_ci 486d5ac70f0Sopenharmony_ci You should have received a copy of the GNU Lesser General Public 487d5ac70f0Sopenharmony_ci License along with this library; if not, write to the Free Software 488d5ac70f0Sopenharmony_ci Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 489d5ac70f0Sopenharmony_ci 490d5ac70f0Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 491d5ac70f0Sopenharmony_ci 492d5ac70f0Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 493d5ac70f0Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 494d5ac70f0Sopenharmony_cinecessary. Here is a sample; alter the names: 495d5ac70f0Sopenharmony_ci 496d5ac70f0Sopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the 497d5ac70f0Sopenharmony_ci library `Frob' (a library for tweaking knobs) written by James Random Hacker. 498d5ac70f0Sopenharmony_ci 499d5ac70f0Sopenharmony_ci <signature of Ty Coon>, 1 April 1990 500d5ac70f0Sopenharmony_ci Ty Coon, President of Vice 501d5ac70f0Sopenharmony_ci 502d5ac70f0Sopenharmony_ciThat's all there is to it! 503d5ac70f0Sopenharmony_ci 504d5ac70f0Sopenharmony_ci 505