17c2aad20Sopenharmony_ciValid-License-Identifier: LGPL-2.1 27c2aad20Sopenharmony_ciValid-License-Identifier: LGPL-2.1+ 37c2aad20Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/LGPL-2.1.html 47c2aad20Sopenharmony_ciUsage-Guide: 57c2aad20Sopenharmony_ci To use this license in source code, put one of the following SPDX 67c2aad20Sopenharmony_ci tag/value pairs into a comment according to the placement 77c2aad20Sopenharmony_ci guidelines in the licensing rules documentation. 87c2aad20Sopenharmony_ci For 'GNU Lesser General Public License (LGPL) version 2.1 only' use: 97c2aad20Sopenharmony_ci SPDX-License-Identifier: LGPL-2.1 107c2aad20Sopenharmony_ci For 'GNU Lesser General Public License (LGPL) version 2.1 or any later 117c2aad20Sopenharmony_ci version' use: 127c2aad20Sopenharmony_ci SPDX-License-Identifier: LGPL-2.1+ 137c2aad20Sopenharmony_ciLicense-Text: 147c2aad20Sopenharmony_ci 157c2aad20Sopenharmony_ciGNU LESSER GENERAL PUBLIC LICENSE 167c2aad20Sopenharmony_ciVersion 2.1, February 1999 177c2aad20Sopenharmony_ci 187c2aad20Sopenharmony_ciCopyright (C) 1991, 1999 Free Software Foundation, Inc. 197c2aad20Sopenharmony_ci51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 207c2aad20Sopenharmony_ci 217c2aad20Sopenharmony_ciEveryone is permitted to copy and distribute verbatim copies of this 227c2aad20Sopenharmony_cilicense document, but changing it is not allowed. 237c2aad20Sopenharmony_ci 247c2aad20Sopenharmony_ci[This is the first released version of the Lesser GPL. It also counts as 257c2aad20Sopenharmony_cithe successor of the GNU Library Public License, version 2, hence the 267c2aad20Sopenharmony_civersion number 2.1.] 277c2aad20Sopenharmony_ci 287c2aad20Sopenharmony_ciPreamble 297c2aad20Sopenharmony_ci 307c2aad20Sopenharmony_ciThe licenses for most software are designed to take away your freedom to 317c2aad20Sopenharmony_cishare and change it. By contrast, the GNU General Public Licenses are 327c2aad20Sopenharmony_ciintended to guarantee your freedom to share and change free software--to 337c2aad20Sopenharmony_cimake sure the software is free for all its users. 347c2aad20Sopenharmony_ci 357c2aad20Sopenharmony_ciThis license, the Lesser General Public License, applies to some specially 367c2aad20Sopenharmony_cidesignated software packages--typically libraries--of the Free Software 377c2aad20Sopenharmony_ciFoundation and other authors who decide to use it. You can use it too, but 387c2aad20Sopenharmony_ciwe suggest you first think carefully about whether this license or the 397c2aad20Sopenharmony_ciordinary General Public License is the better strategy to use in any 407c2aad20Sopenharmony_ciparticular case, based on the explanations below. 417c2aad20Sopenharmony_ci 427c2aad20Sopenharmony_ciWhen we speak of free software, we are referring to freedom of use, not 437c2aad20Sopenharmony_ciprice. Our General Public Licenses are designed to make sure that you have 447c2aad20Sopenharmony_cithe freedom to distribute copies of free software (and charge for this 457c2aad20Sopenharmony_ciservice if you wish); that you receive source code or can get it if you 467c2aad20Sopenharmony_ciwant it; that you can change the software and use pieces of it in new free 477c2aad20Sopenharmony_ciprograms; and that you are informed that you can do these things. 487c2aad20Sopenharmony_ci 497c2aad20Sopenharmony_ciTo protect your rights, we need to make restrictions that forbid 507c2aad20Sopenharmony_cidistributors to deny you these rights or to ask you to surrender these 517c2aad20Sopenharmony_cirights. These restrictions translate to certain responsibilities for you if 527c2aad20Sopenharmony_ciyou distribute copies of the library or if you modify it. 537c2aad20Sopenharmony_ci 547c2aad20Sopenharmony_ciFor example, if you distribute copies of the library, whether gratis or for 557c2aad20Sopenharmony_cia fee, you must give the recipients all the rights that we gave you. You 567c2aad20Sopenharmony_cimust make sure that they, too, receive or can get the source code. If you 577c2aad20Sopenharmony_cilink other code with the library, you must provide complete object files to 587c2aad20Sopenharmony_cithe recipients, so that they can relink them with the library after making 597c2aad20Sopenharmony_cichanges to the library and recompiling it. And you must show them these 607c2aad20Sopenharmony_citerms so they know their rights. 617c2aad20Sopenharmony_ci 627c2aad20Sopenharmony_ciWe protect your rights with a two-step method: (1) we copyright the 637c2aad20Sopenharmony_cilibrary, and (2) we offer you this license, which gives you legal 647c2aad20Sopenharmony_cipermission to copy, distribute and/or modify the library. 657c2aad20Sopenharmony_ci 667c2aad20Sopenharmony_ciTo protect each distributor, we want to make it very clear that there is no 677c2aad20Sopenharmony_ciwarranty for the free library. Also, if the library is modified by someone 687c2aad20Sopenharmony_cielse and passed on, the recipients should know that what they have is not 697c2aad20Sopenharmony_cithe original version, so that the original author's reputation will not be 707c2aad20Sopenharmony_ciaffected by problems that might be introduced by others. 717c2aad20Sopenharmony_ci 727c2aad20Sopenharmony_ciFinally, software patents pose a constant threat to the existence of any 737c2aad20Sopenharmony_cifree program. We wish to make sure that a company cannot effectively 747c2aad20Sopenharmony_cirestrict the users of a free program by obtaining a restrictive license 757c2aad20Sopenharmony_cifrom a patent holder. Therefore, we insist that any patent license obtained 767c2aad20Sopenharmony_cifor a version of the library must be consistent with the full freedom of 777c2aad20Sopenharmony_ciuse specified in this license. 787c2aad20Sopenharmony_ci 797c2aad20Sopenharmony_ciMost GNU software, including some libraries, is covered by the ordinary GNU 807c2aad20Sopenharmony_ciGeneral Public License. This license, the GNU Lesser General Public 817c2aad20Sopenharmony_ciLicense, applies to certain designated libraries, and is quite different 827c2aad20Sopenharmony_cifrom the ordinary General Public License. We use this license for certain 837c2aad20Sopenharmony_cilibraries in order to permit linking those libraries into non-free 847c2aad20Sopenharmony_ciprograms. 857c2aad20Sopenharmony_ci 867c2aad20Sopenharmony_ciWhen a program is linked with a library, whether statically or using a 877c2aad20Sopenharmony_cishared library, the combination of the two is legally speaking a combined 887c2aad20Sopenharmony_ciwork, a derivative of the original library. The ordinary General Public 897c2aad20Sopenharmony_ciLicense therefore permits such linking only if the entire combination fits 907c2aad20Sopenharmony_ciits criteria of freedom. The Lesser General Public License permits more lax 917c2aad20Sopenharmony_cicriteria for linking other code with the library. 927c2aad20Sopenharmony_ci 937c2aad20Sopenharmony_ciWe call this license the "Lesser" General Public License because it does 947c2aad20Sopenharmony_ciLess to protect the user's freedom than the ordinary General Public 957c2aad20Sopenharmony_ciLicense. It also provides other free software developers Less of an 967c2aad20Sopenharmony_ciadvantage over competing non-free programs. These disadvantages are the 977c2aad20Sopenharmony_cireason we use the ordinary General Public License for many 987c2aad20Sopenharmony_cilibraries. However, the Lesser license provides advantages in certain 997c2aad20Sopenharmony_cispecial circumstances. 1007c2aad20Sopenharmony_ci 1017c2aad20Sopenharmony_ciFor example, on rare occasions, there may be a special need to encourage 1027c2aad20Sopenharmony_cithe widest possible use of a certain library, so that it becomes a de-facto 1037c2aad20Sopenharmony_cistandard. To achieve this, non-free programs must be allowed to use the 1047c2aad20Sopenharmony_cilibrary. A more frequent case is that a free library does the same job as 1057c2aad20Sopenharmony_ciwidely used non-free libraries. In this case, there is little to gain by 1067c2aad20Sopenharmony_cilimiting the free library to free software only, so we use the Lesser 1077c2aad20Sopenharmony_ciGeneral Public License. 1087c2aad20Sopenharmony_ci 1097c2aad20Sopenharmony_ciIn other cases, permission to use a particular library in non-free programs 1107c2aad20Sopenharmony_cienables a greater number of people to use a large body of free 1117c2aad20Sopenharmony_cisoftware. For example, permission to use the GNU C Library in non-free 1127c2aad20Sopenharmony_ciprograms enables many more people to use the whole GNU operating system, as 1137c2aad20Sopenharmony_ciwell as its variant, the GNU/Linux operating system. 1147c2aad20Sopenharmony_ci 1157c2aad20Sopenharmony_ciAlthough the Lesser General Public License is Less protective of the users' 1167c2aad20Sopenharmony_cifreedom, it does ensure that the user of a program that is linked with the 1177c2aad20Sopenharmony_ciLibrary has the freedom and the wherewithal to run that program using a 1187c2aad20Sopenharmony_cimodified version of the Library. 1197c2aad20Sopenharmony_ci 1207c2aad20Sopenharmony_ciThe precise terms and conditions for copying, distribution and modification 1217c2aad20Sopenharmony_cifollow. Pay close attention to the difference between a "work based on the 1227c2aad20Sopenharmony_cilibrary" and a "work that uses the library". The former contains code 1237c2aad20Sopenharmony_ciderived from the library, whereas the latter must be combined with the 1247c2aad20Sopenharmony_cilibrary in order to run. 1257c2aad20Sopenharmony_ci 1267c2aad20Sopenharmony_ciTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1277c2aad20Sopenharmony_ci 1287c2aad20Sopenharmony_ci0. This License Agreement applies to any software library or other program 1297c2aad20Sopenharmony_ci which contains a notice placed by the copyright holder or other 1307c2aad20Sopenharmony_ci authorized party saying it may be distributed under the terms of this 1317c2aad20Sopenharmony_ci Lesser General Public License (also called "this License"). Each 1327c2aad20Sopenharmony_ci licensee is addressed as "you". 1337c2aad20Sopenharmony_ci 1347c2aad20Sopenharmony_ci A "library" means a collection of software functions and/or data 1357c2aad20Sopenharmony_ci prepared so as to be conveniently linked with application programs 1367c2aad20Sopenharmony_ci (which use some of those functions and data) to form executables. 1377c2aad20Sopenharmony_ci 1387c2aad20Sopenharmony_ci The "Library", below, refers to any such software library or work which 1397c2aad20Sopenharmony_ci has been distributed under these terms. A "work based on the Library" 1407c2aad20Sopenharmony_ci means either the Library or any derivative work under copyright law: 1417c2aad20Sopenharmony_ci that is to say, a work containing the Library or a portion of it, either 1427c2aad20Sopenharmony_ci verbatim or with modifications and/or translated straightforwardly into 1437c2aad20Sopenharmony_ci another language. (Hereinafter, translation is included without 1447c2aad20Sopenharmony_ci limitation in the term "modification".) 1457c2aad20Sopenharmony_ci 1467c2aad20Sopenharmony_ci "Source code" for a work means the preferred form of the work for making 1477c2aad20Sopenharmony_ci modifications to it. For a library, complete source code means all the 1487c2aad20Sopenharmony_ci source code for all modules it contains, plus any associated interface 1497c2aad20Sopenharmony_ci definition files, plus the scripts used to control compilation and 1507c2aad20Sopenharmony_ci installation of the library. 1517c2aad20Sopenharmony_ci 1527c2aad20Sopenharmony_ci Activities other than copying, distribution and modification are not 1537c2aad20Sopenharmony_ci covered by this License; they are outside its scope. The act of running 1547c2aad20Sopenharmony_ci a program using the Library is not restricted, and output from such a 1557c2aad20Sopenharmony_ci program is covered only if its contents constitute a work based on the 1567c2aad20Sopenharmony_ci Library (independent of the use of the Library in a tool for writing 1577c2aad20Sopenharmony_ci it). Whether that is true depends on what the Library does and what the 1587c2aad20Sopenharmony_ci program that uses the Library does. 1597c2aad20Sopenharmony_ci 1607c2aad20Sopenharmony_ci1. You may copy and distribute verbatim copies of the Library's complete 1617c2aad20Sopenharmony_ci source code as you receive it, in any medium, provided that you 1627c2aad20Sopenharmony_ci conspicuously and appropriately publish on each copy an appropriate 1637c2aad20Sopenharmony_ci copyright notice and disclaimer of warranty; keep intact all the notices 1647c2aad20Sopenharmony_ci that refer to this License and to the absence of any warranty; and 1657c2aad20Sopenharmony_ci distribute a copy of this License along with the Library. 1667c2aad20Sopenharmony_ci 1677c2aad20Sopenharmony_ci You may charge a fee for the physical act of transferring a copy, and 1687c2aad20Sopenharmony_ci you may at your option offer warranty protection in exchange for a fee. 1697c2aad20Sopenharmony_ci 1707c2aad20Sopenharmony_ci2. You may modify your copy or copies of the Library or any portion of it, 1717c2aad20Sopenharmony_ci thus forming a work based on the Library, and copy and distribute such 1727c2aad20Sopenharmony_ci modifications or work under the terms of Section 1 above, provided that 1737c2aad20Sopenharmony_ci you also meet all of these conditions: 1747c2aad20Sopenharmony_ci 1757c2aad20Sopenharmony_ci a) The modified work must itself be a software library. 1767c2aad20Sopenharmony_ci 1777c2aad20Sopenharmony_ci b) You must cause the files modified to carry prominent notices stating 1787c2aad20Sopenharmony_ci that you changed the files and the date of any change. 1797c2aad20Sopenharmony_ci 1807c2aad20Sopenharmony_ci c) You must cause the whole of the work to be licensed at no charge to 1817c2aad20Sopenharmony_ci all third parties under the terms of this License. 1827c2aad20Sopenharmony_ci 1837c2aad20Sopenharmony_ci d) If a facility in the modified Library refers to a function or a table 1847c2aad20Sopenharmony_ci of data to be supplied by an application program that uses the 1857c2aad20Sopenharmony_ci facility, other than as an argument passed when the facility is 1867c2aad20Sopenharmony_ci invoked, then you must make a good faith effort to ensure that, in 1877c2aad20Sopenharmony_ci the event an application does not supply such function or table, the 1887c2aad20Sopenharmony_ci facility still operates, and performs whatever part of its purpose 1897c2aad20Sopenharmony_ci remains meaningful. 1907c2aad20Sopenharmony_ci 1917c2aad20Sopenharmony_ci (For example, a function in a library to compute square roots has a 1927c2aad20Sopenharmony_ci purpose that is entirely well-defined independent of the 1937c2aad20Sopenharmony_ci application. Therefore, Subsection 2d requires that any 1947c2aad20Sopenharmony_ci application-supplied function or table used by this function must be 1957c2aad20Sopenharmony_ci optional: if the application does not supply it, the square root 1967c2aad20Sopenharmony_ci function must still compute square roots.) 1977c2aad20Sopenharmony_ci 1987c2aad20Sopenharmony_ci These requirements apply to the modified work as a whole. If 1997c2aad20Sopenharmony_ci identifiable sections of that work are not derived from the Library, and 2007c2aad20Sopenharmony_ci can be reasonably considered independent and separate works in 2017c2aad20Sopenharmony_ci themselves, then this License, and its terms, do not apply to those 2027c2aad20Sopenharmony_ci sections when you distribute them as separate works. But when you 2037c2aad20Sopenharmony_ci distribute the same sections as part of a whole which is a work based on 2047c2aad20Sopenharmony_ci the Library, the distribution of the whole must be on the terms of this 2057c2aad20Sopenharmony_ci License, whose permissions for other licensees extend to the entire 2067c2aad20Sopenharmony_ci whole, and thus to each and every part regardless of who wrote it. 2077c2aad20Sopenharmony_ci 2087c2aad20Sopenharmony_ci Thus, it is not the intent of this section to claim rights or contest 2097c2aad20Sopenharmony_ci your rights to work written entirely by you; rather, the intent is to 2107c2aad20Sopenharmony_ci exercise the right to control the distribution of derivative or 2117c2aad20Sopenharmony_ci collective works based on the Library. 2127c2aad20Sopenharmony_ci 2137c2aad20Sopenharmony_ci In addition, mere aggregation of another work not based on the Library 2147c2aad20Sopenharmony_ci with the Library (or with a work based on the Library) on a volume of a 2157c2aad20Sopenharmony_ci storage or distribution medium does not bring the other work under the 2167c2aad20Sopenharmony_ci scope of this License. 2177c2aad20Sopenharmony_ci 2187c2aad20Sopenharmony_ci3. You may opt to apply the terms of the ordinary GNU General Public 2197c2aad20Sopenharmony_ci License instead of this License to a given copy of the Library. To do 2207c2aad20Sopenharmony_ci this, you must alter all the notices that refer to this License, so that 2217c2aad20Sopenharmony_ci they refer to the ordinary GNU General Public License, version 2, 2227c2aad20Sopenharmony_ci instead of to this License. (If a newer version than version 2 of the 2237c2aad20Sopenharmony_ci ordinary GNU General Public License has appeared, then you can specify 2247c2aad20Sopenharmony_ci that version instead if you wish.) Do not make any other change in these 2257c2aad20Sopenharmony_ci notices. 2267c2aad20Sopenharmony_ci 2277c2aad20Sopenharmony_ci Once this change is made in a given copy, it is irreversible for that 2287c2aad20Sopenharmony_ci copy, so the ordinary GNU General Public License applies to all 2297c2aad20Sopenharmony_ci subsequent copies and derivative works made from that copy. 2307c2aad20Sopenharmony_ci 2317c2aad20Sopenharmony_ci This option is useful when you wish to copy part of the code of the 2327c2aad20Sopenharmony_ci Library into a program that is not a library. 2337c2aad20Sopenharmony_ci 2347c2aad20Sopenharmony_ci4. You may copy and distribute the Library (or a portion or derivative of 2357c2aad20Sopenharmony_ci it, under Section 2) in object code or executable form under the terms 2367c2aad20Sopenharmony_ci of Sections 1 and 2 above provided that you accompany it with the 2377c2aad20Sopenharmony_ci complete corresponding machine-readable source code, which must be 2387c2aad20Sopenharmony_ci distributed under the terms of Sections 1 and 2 above on a medium 2397c2aad20Sopenharmony_ci customarily used for software interchange. 2407c2aad20Sopenharmony_ci 2417c2aad20Sopenharmony_ci If distribution of object code is made by offering access to copy from a 2427c2aad20Sopenharmony_ci designated place, then offering equivalent access to copy the source 2437c2aad20Sopenharmony_ci code from the same place satisfies the requirement to distribute the 2447c2aad20Sopenharmony_ci source code, even though third parties are not compelled to copy the 2457c2aad20Sopenharmony_ci source along with the object code. 2467c2aad20Sopenharmony_ci 2477c2aad20Sopenharmony_ci5. A program that contains no derivative of any portion of the Library, but 2487c2aad20Sopenharmony_ci is designed to work with the Library by being compiled or linked with 2497c2aad20Sopenharmony_ci it, is called a "work that uses the Library". Such a work, in isolation, 2507c2aad20Sopenharmony_ci is not a derivative work of the Library, and therefore falls outside the 2517c2aad20Sopenharmony_ci scope of this License. 2527c2aad20Sopenharmony_ci 2537c2aad20Sopenharmony_ci However, linking a "work that uses the Library" with the Library creates 2547c2aad20Sopenharmony_ci an executable that is a derivative of the Library (because it contains 2557c2aad20Sopenharmony_ci portions of the Library), rather than a "work that uses the 2567c2aad20Sopenharmony_ci library". The executable is therefore covered by this License. Section 6 2577c2aad20Sopenharmony_ci states terms for distribution of such executables. 2587c2aad20Sopenharmony_ci 2597c2aad20Sopenharmony_ci When a "work that uses the Library" uses material from a header file 2607c2aad20Sopenharmony_ci that is part of the Library, the object code for the work may be a 2617c2aad20Sopenharmony_ci derivative work of the Library even though the source code is 2627c2aad20Sopenharmony_ci not. Whether this is true is especially significant if the work can be 2637c2aad20Sopenharmony_ci linked without the Library, or if the work is itself a library. The 2647c2aad20Sopenharmony_ci threshold for this to be true is not precisely defined by law. 2657c2aad20Sopenharmony_ci 2667c2aad20Sopenharmony_ci If such an object file uses only numerical parameters, data structure 2677c2aad20Sopenharmony_ci layouts and accessors, and small macros and small inline functions (ten 2687c2aad20Sopenharmony_ci lines or less in length), then the use of the object file is 2697c2aad20Sopenharmony_ci unrestricted, regardless of whether it is legally a derivative 2707c2aad20Sopenharmony_ci work. (Executables containing this object code plus portions of the 2717c2aad20Sopenharmony_ci Library will still fall under Section 6.) 2727c2aad20Sopenharmony_ci 2737c2aad20Sopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 2747c2aad20Sopenharmony_ci distribute the object code for the work under the terms of Section 2757c2aad20Sopenharmony_ci 6. Any executables containing that work also fall under Section 6, 2767c2aad20Sopenharmony_ci whether or not they are linked directly with the Library itself. 2777c2aad20Sopenharmony_ci 2787c2aad20Sopenharmony_ci6. As an exception to the Sections above, you may also combine or link a 2797c2aad20Sopenharmony_ci "work that uses the Library" with the Library to produce a work 2807c2aad20Sopenharmony_ci containing portions of the Library, and distribute that work under terms 2817c2aad20Sopenharmony_ci of your choice, provided that the terms permit modification of the work 2827c2aad20Sopenharmony_ci for the customer's own use and reverse engineering for debugging such 2837c2aad20Sopenharmony_ci modifications. 2847c2aad20Sopenharmony_ci 2857c2aad20Sopenharmony_ci You must give prominent notice with each copy of the work that the 2867c2aad20Sopenharmony_ci Library is used in it and that the Library and its use are covered by 2877c2aad20Sopenharmony_ci this License. You must supply a copy of this License. If the work during 2887c2aad20Sopenharmony_ci execution displays copyright notices, you must include the copyright 2897c2aad20Sopenharmony_ci notice for the Library among them, as well as a reference directing the 2907c2aad20Sopenharmony_ci user to the copy of this License. Also, you must do one of these things: 2917c2aad20Sopenharmony_ci 2927c2aad20Sopenharmony_ci a) Accompany the work with the complete corresponding machine-readable 2937c2aad20Sopenharmony_ci source code for the Library including whatever changes were used in 2947c2aad20Sopenharmony_ci the work (which must be distributed under Sections 1 and 2 above); 2957c2aad20Sopenharmony_ci and, if the work is an executable linked with the Library, with the 2967c2aad20Sopenharmony_ci complete machine-readable "work that uses the Library", as object 2977c2aad20Sopenharmony_ci code and/or source code, so that the user can modify the Library and 2987c2aad20Sopenharmony_ci then relink to produce a modified executable containing the modified 2997c2aad20Sopenharmony_ci Library. (It is understood that the user who changes the contents of 3007c2aad20Sopenharmony_ci definitions files in the Library will not necessarily be able to 3017c2aad20Sopenharmony_ci recompile the application to use the modified definitions.) 3027c2aad20Sopenharmony_ci 3037c2aad20Sopenharmony_ci b) Use a suitable shared library mechanism for linking with the 3047c2aad20Sopenharmony_ci Library. A suitable mechanism is one that (1) uses at run time a copy 3057c2aad20Sopenharmony_ci of the library already present on the user's computer system, rather 3067c2aad20Sopenharmony_ci than copying library functions into the executable, and (2) will 3077c2aad20Sopenharmony_ci operate properly with a modified version of the library, if the user 3087c2aad20Sopenharmony_ci installs one, as long as the modified version is interface-compatible 3097c2aad20Sopenharmony_ci with the version that the work was made with. 3107c2aad20Sopenharmony_ci 3117c2aad20Sopenharmony_ci c) Accompany the work with a written offer, valid for at least three 3127c2aad20Sopenharmony_ci years, to give the same user the materials specified in Subsection 3137c2aad20Sopenharmony_ci 6a, above, for a charge no more than the cost of performing this 3147c2aad20Sopenharmony_ci distribution. 3157c2aad20Sopenharmony_ci 3167c2aad20Sopenharmony_ci d) If distribution of the work is made by offering access to copy from a 3177c2aad20Sopenharmony_ci designated place, offer equivalent access to copy the above specified 3187c2aad20Sopenharmony_ci materials from the same place. 3197c2aad20Sopenharmony_ci 3207c2aad20Sopenharmony_ci e) Verify that the user has already received a copy of these materials 3217c2aad20Sopenharmony_ci or that you have already sent this user a copy. 3227c2aad20Sopenharmony_ci 3237c2aad20Sopenharmony_ci For an executable, the required form of the "work that uses the Library" 3247c2aad20Sopenharmony_ci must include any data and utility programs needed for reproducing the 3257c2aad20Sopenharmony_ci executable from it. However, as a special exception, the materials to be 3267c2aad20Sopenharmony_ci distributed need not include anything that is normally distributed (in 3277c2aad20Sopenharmony_ci either source or binary form) with the major components (compiler, 3287c2aad20Sopenharmony_ci kernel, and so on) of the operating system on which the executable runs, 3297c2aad20Sopenharmony_ci unless that component itself accompanies the executable. 3307c2aad20Sopenharmony_ci 3317c2aad20Sopenharmony_ci It may happen that this requirement contradicts the license restrictions 3327c2aad20Sopenharmony_ci of other proprietary libraries that do not normally accompany the 3337c2aad20Sopenharmony_ci operating system. Such a contradiction means you cannot use both them 3347c2aad20Sopenharmony_ci and the Library together in an executable that you distribute. 3357c2aad20Sopenharmony_ci 3367c2aad20Sopenharmony_ci7. You may place library facilities that are a work based on the Library 3377c2aad20Sopenharmony_ci side-by-side in a single library together with other library facilities 3387c2aad20Sopenharmony_ci not covered by this License, and distribute such a combined library, 3397c2aad20Sopenharmony_ci provided that the separate distribution of the work based on the Library 3407c2aad20Sopenharmony_ci and of the other library facilities is otherwise permitted, and provided 3417c2aad20Sopenharmony_ci that you do these two things: 3427c2aad20Sopenharmony_ci 3437c2aad20Sopenharmony_ci a) Accompany the combined library with a copy of the same work based on 3447c2aad20Sopenharmony_ci the Library, uncombined with any other library facilities. This must 3457c2aad20Sopenharmony_ci be distributed under the terms of the Sections above. 3467c2aad20Sopenharmony_ci 3477c2aad20Sopenharmony_ci b) Give prominent notice with the combined library of the fact that part 3487c2aad20Sopenharmony_ci of it is a work based on the Library, and explaining where to find 3497c2aad20Sopenharmony_ci the accompanying uncombined form of the same work. 3507c2aad20Sopenharmony_ci 3517c2aad20Sopenharmony_ci8. You may not copy, modify, sublicense, link with, or distribute the 3527c2aad20Sopenharmony_ci Library except as expressly provided under this License. Any attempt 3537c2aad20Sopenharmony_ci otherwise to copy, modify, sublicense, link with, or distribute the 3547c2aad20Sopenharmony_ci Library is void, and will automatically terminate your rights under this 3557c2aad20Sopenharmony_ci License. However, parties who have received copies, or rights, from you 3567c2aad20Sopenharmony_ci under this License will not have their licenses terminated so long as 3577c2aad20Sopenharmony_ci such parties remain in full compliance. 3587c2aad20Sopenharmony_ci 3597c2aad20Sopenharmony_ci9. You are not required to accept this License, since you have not signed 3607c2aad20Sopenharmony_ci it. However, nothing else grants you permission to modify or distribute 3617c2aad20Sopenharmony_ci the Library or its derivative works. These actions are prohibited by law 3627c2aad20Sopenharmony_ci if you do not accept this License. Therefore, by modifying or 3637c2aad20Sopenharmony_ci distributing the Library (or any work based on the Library), you 3647c2aad20Sopenharmony_ci indicate your acceptance of this License to do so, and all its terms and 3657c2aad20Sopenharmony_ci conditions for copying, distributing or modifying the Library or works 3667c2aad20Sopenharmony_ci based on it. 3677c2aad20Sopenharmony_ci 3687c2aad20Sopenharmony_ci10. Each time you redistribute the Library (or any work based on the 3697c2aad20Sopenharmony_ci Library), the recipient automatically receives a license from the 3707c2aad20Sopenharmony_ci original licensor to copy, distribute, link with or modify the Library 3717c2aad20Sopenharmony_ci subject to these terms and conditions. You may not impose any further 3727c2aad20Sopenharmony_ci restrictions on the recipients' exercise of the rights granted 3737c2aad20Sopenharmony_ci herein. You are not responsible for enforcing compliance by third 3747c2aad20Sopenharmony_ci parties with this License. 3757c2aad20Sopenharmony_ci 3767c2aad20Sopenharmony_ci11. If, as a consequence of a court judgment or allegation of patent 3777c2aad20Sopenharmony_ci infringement or for any other reason (not limited to patent issues), 3787c2aad20Sopenharmony_ci conditions are imposed on you (whether by court order, agreement or 3797c2aad20Sopenharmony_ci otherwise) that contradict the conditions of this License, they do not 3807c2aad20Sopenharmony_ci excuse you from the conditions of this License. If you cannot 3817c2aad20Sopenharmony_ci distribute so as to satisfy simultaneously your obligations under this 3827c2aad20Sopenharmony_ci License and any other pertinent obligations, then as a consequence you 3837c2aad20Sopenharmony_ci may not distribute the Library at all. For example, if a patent license 3847c2aad20Sopenharmony_ci would not permit royalty-free redistribution of the Library by all 3857c2aad20Sopenharmony_ci those who receive copies directly or indirectly through you, then the 3867c2aad20Sopenharmony_ci only way you could satisfy both it and this License would be to refrain 3877c2aad20Sopenharmony_ci entirely from distribution of the Library. 3887c2aad20Sopenharmony_ci 3897c2aad20Sopenharmony_ci If any portion of this section is held invalid or unenforceable under 3907c2aad20Sopenharmony_ci any particular circumstance, the balance of the section is intended to 3917c2aad20Sopenharmony_ci apply, and the section as a whole is intended to apply in other 3927c2aad20Sopenharmony_ci circumstances. 3937c2aad20Sopenharmony_ci 3947c2aad20Sopenharmony_ci It is not the purpose of this section to induce you to infringe any 3957c2aad20Sopenharmony_ci patents or other property right claims or to contest validity of any 3967c2aad20Sopenharmony_ci such claims; this section has the sole purpose of protecting the 3977c2aad20Sopenharmony_ci integrity of the free software distribution system which is implemented 3987c2aad20Sopenharmony_ci by public license practices. Many people have made generous 3997c2aad20Sopenharmony_ci contributions to the wide range of software distributed through that 4007c2aad20Sopenharmony_ci system in reliance on consistent application of that system; it is up 4017c2aad20Sopenharmony_ci to the author/donor to decide if he or she is willing to distribute 4027c2aad20Sopenharmony_ci software through any other system and a licensee cannot impose that 4037c2aad20Sopenharmony_ci choice. 4047c2aad20Sopenharmony_ci 4057c2aad20Sopenharmony_ci This section is intended to make thoroughly clear what is believed to 4067c2aad20Sopenharmony_ci be a consequence of the rest of this License. 4077c2aad20Sopenharmony_ci 4087c2aad20Sopenharmony_ci12. If the distribution and/or use of the Library is restricted in certain 4097c2aad20Sopenharmony_ci countries either by patents or by copyrighted interfaces, the original 4107c2aad20Sopenharmony_ci copyright holder who places the Library under this License may add an 4117c2aad20Sopenharmony_ci explicit geographical distribution limitation excluding those 4127c2aad20Sopenharmony_ci countries, so that distribution is permitted only in or among countries 4137c2aad20Sopenharmony_ci not thus excluded. In such case, this License incorporates the 4147c2aad20Sopenharmony_ci limitation as if written in the body of this License. 4157c2aad20Sopenharmony_ci 4167c2aad20Sopenharmony_ci13. The Free Software Foundation may publish revised and/or new versions of 4177c2aad20Sopenharmony_ci the Lesser General Public License from time to time. Such new versions 4187c2aad20Sopenharmony_ci will be similar in spirit to the present version, but may differ in 4197c2aad20Sopenharmony_ci detail to address new problems or concerns. 4207c2aad20Sopenharmony_ci 4217c2aad20Sopenharmony_ci Each version is given a distinguishing version number. If the Library 4227c2aad20Sopenharmony_ci specifies a version number of this License which applies to it and "any 4237c2aad20Sopenharmony_ci later version", you have the option of following the terms and 4247c2aad20Sopenharmony_ci conditions either of that version or of any later version published by 4257c2aad20Sopenharmony_ci the Free Software Foundation. If the Library does not specify a license 4267c2aad20Sopenharmony_ci version number, you may choose any version ever published by the Free 4277c2aad20Sopenharmony_ci Software Foundation. 4287c2aad20Sopenharmony_ci 4297c2aad20Sopenharmony_ci14. If you wish to incorporate parts of the Library into other free 4307c2aad20Sopenharmony_ci programs whose distribution conditions are incompatible with these, 4317c2aad20Sopenharmony_ci write to the author to ask for permission. For software which is 4327c2aad20Sopenharmony_ci copyrighted by the Free Software Foundation, write to the Free Software 4337c2aad20Sopenharmony_ci Foundation; we sometimes make exceptions for this. Our decision will be 4347c2aad20Sopenharmony_ci guided by the two goals of preserving the free status of all 4357c2aad20Sopenharmony_ci derivatives of our free software and of promoting the sharing and reuse 4367c2aad20Sopenharmony_ci of software generally. 4377c2aad20Sopenharmony_ci 4387c2aad20Sopenharmony_ciNO WARRANTY 4397c2aad20Sopenharmony_ci 4407c2aad20Sopenharmony_ci15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 4417c2aad20Sopenharmony_ci FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 4427c2aad20Sopenharmony_ci OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 4437c2aad20Sopenharmony_ci PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 4447c2aad20Sopenharmony_ci EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 4457c2aad20Sopenharmony_ci WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 4467c2aad20Sopenharmony_ci ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH 4477c2aad20Sopenharmony_ci YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 4487c2aad20Sopenharmony_ci NECESSARY SERVICING, REPAIR OR CORRECTION. 4497c2aad20Sopenharmony_ci 4507c2aad20Sopenharmony_ci16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 4517c2aad20Sopenharmony_ci WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 4527c2aad20Sopenharmony_ci REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR 4537c2aad20Sopenharmony_ci DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL 4547c2aad20Sopenharmony_ci DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY 4557c2aad20Sopenharmony_ci (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED 4567c2aad20Sopenharmony_ci INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF 4577c2aad20Sopenharmony_ci THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR 4587c2aad20Sopenharmony_ci OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 4597c2aad20Sopenharmony_ci 4607c2aad20Sopenharmony_ciEND OF TERMS AND CONDITIONS 4617c2aad20Sopenharmony_ci 4627c2aad20Sopenharmony_ciHow to Apply These Terms to Your New Libraries 4637c2aad20Sopenharmony_ci 4647c2aad20Sopenharmony_ciIf you develop a new library, and you want it to be of the greatest 4657c2aad20Sopenharmony_cipossible use to the public, we recommend making it free software that 4667c2aad20Sopenharmony_cieveryone can redistribute and change. You can do so by permitting 4677c2aad20Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 4687c2aad20Sopenharmony_ciordinary General Public License). 4697c2aad20Sopenharmony_ci 4707c2aad20Sopenharmony_ciTo apply these terms, attach the following notices to the library. It is 4717c2aad20Sopenharmony_cisafest to attach them to the start of each source file to most effectively 4727c2aad20Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 4737c2aad20Sopenharmony_ci"copyright" line and a pointer to where the full notice is found. 4747c2aad20Sopenharmony_ci 4757c2aad20Sopenharmony_cione line to give the library's name and an idea of what it does. 4767c2aad20Sopenharmony_ciCopyright (C) year name of author 4777c2aad20Sopenharmony_ci 4787c2aad20Sopenharmony_ciThis library is free software; you can redistribute it and/or modify it 4797c2aad20Sopenharmony_ciunder the terms of the GNU Lesser General Public License as published by 4807c2aad20Sopenharmony_cithe Free Software Foundation; either version 2.1 of the License, or (at 4817c2aad20Sopenharmony_ciyour option) any later version. 4827c2aad20Sopenharmony_ci 4837c2aad20Sopenharmony_ciThis library is distributed in the hope that it will be useful, but WITHOUT 4847c2aad20Sopenharmony_ciANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 4857c2aad20Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 4867c2aad20Sopenharmony_cifor more details. 4877c2aad20Sopenharmony_ci 4887c2aad20Sopenharmony_ciYou should have received a copy of the GNU Lesser General Public License 4897c2aad20Sopenharmony_cialong with this library; if not, write to the Free Software Foundation, 4907c2aad20Sopenharmony_ciInc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Also add 4917c2aad20Sopenharmony_ciinformation on how to contact you by electronic and paper mail. 4927c2aad20Sopenharmony_ci 4937c2aad20Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 4947c2aad20Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 4957c2aad20Sopenharmony_cinecessary. Here is a sample; alter the names: 4967c2aad20Sopenharmony_ci 4977c2aad20Sopenharmony_ciYoyodyne, Inc., hereby disclaims all copyright interest in 4987c2aad20Sopenharmony_cithe library `Frob' (a library for tweaking knobs) written 4997c2aad20Sopenharmony_ciby James Random Hacker. 5007c2aad20Sopenharmony_ci 5017c2aad20Sopenharmony_cisignature of Ty Coon, 1 April 1990 5027c2aad20Sopenharmony_ciTy Coon, President of Vice 5037c2aad20Sopenharmony_ciThat's all there is to it! 504