162306a36Sopenharmony_ciValid-License-Identifier: LGPL-2.0 262306a36Sopenharmony_ciValid-License-Identifier: LGPL-2.0+ 362306a36Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/LGPL-2.0.html 462306a36Sopenharmony_ciUsage-Guide: 562306a36Sopenharmony_ci To use this license in source code, put one of the following SPDX 662306a36Sopenharmony_ci tag/value pairs into a comment according to the placement 762306a36Sopenharmony_ci guidelines in the licensing rules documentation. 862306a36Sopenharmony_ci For 'GNU Library General Public License (LGPL) version 2.0 only' use: 962306a36Sopenharmony_ci SPDX-License-Identifier: LGPL-2.0 1062306a36Sopenharmony_ci For 'GNU Library General Public License (LGPL) version 2.0 or any later 1162306a36Sopenharmony_ci version' use: 1262306a36Sopenharmony_ci SPDX-License-Identifier: LGPL-2.0+ 1362306a36Sopenharmony_ciLicense-Text: 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciGNU LIBRARY GENERAL PUBLIC LICENSE 1662306a36Sopenharmony_ciVersion 2, June 1991 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciCopyright (C) 1991 Free Software Foundation, Inc. 1962306a36Sopenharmony_ci51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciEveryone is permitted to copy and distribute verbatim copies of this 2262306a36Sopenharmony_cilicense document, but changing it is not allowed. 2362306a36Sopenharmony_ci 2462306a36Sopenharmony_ci[This is the first released version of the library GPL. It is numbered 2 2562306a36Sopenharmony_cibecause it goes with version 2 of the ordinary GPL.] 2662306a36Sopenharmony_ci 2762306a36Sopenharmony_ciPreamble 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciThe licenses for most software are designed to take away your freedom to 3062306a36Sopenharmony_cishare and change it. By contrast, the GNU General Public Licenses are 3162306a36Sopenharmony_ciintended to guarantee your freedom to share and change free software--to 3262306a36Sopenharmony_cimake sure the software is free for all its users. 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciThis license, the Library General Public License, applies to some specially 3562306a36Sopenharmony_cidesignated Free Software Foundation software, and to any other libraries 3662306a36Sopenharmony_ciwhose authors decide to use it. You can use it for your libraries, too. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ciWhen we speak of free software, we are referring to freedom, not price. Our 3962306a36Sopenharmony_ciGeneral Public Licenses are designed to make sure that you have the freedom 4062306a36Sopenharmony_cito distribute copies of free software (and charge for this service if you 4162306a36Sopenharmony_ciwish), that you receive source code or can get it if you want it, that you 4262306a36Sopenharmony_cican change the software or use pieces of it in new free programs; and that 4362306a36Sopenharmony_ciyou know you can do these things. 4462306a36Sopenharmony_ci 4562306a36Sopenharmony_ciTo protect your rights, we need to make restrictions that forbid anyone to 4662306a36Sopenharmony_cideny you these rights or to ask you to surrender the rights. These 4762306a36Sopenharmony_cirestrictions translate to certain responsibilities for you if you 4862306a36Sopenharmony_cidistribute copies of the library, or if you modify it. 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ciFor example, if you distribute copies of the library, whether gratis or for 5162306a36Sopenharmony_cia fee, you must give the recipients all the rights that we gave you. You 5262306a36Sopenharmony_cimust make sure that they, too, receive or can get the source code. If you 5362306a36Sopenharmony_cilink a program with the library, you must provide complete object files to 5462306a36Sopenharmony_cithe recipients so that they can relink them with the library, after making 5562306a36Sopenharmony_cichanges to the library and recompiling it. And you must show them these 5662306a36Sopenharmony_citerms so they know their rights. 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ciOur method of protecting your rights has two steps: (1) copyright the 5962306a36Sopenharmony_cilibrary, and (2) offer you this license which gives you legal permission to 6062306a36Sopenharmony_cicopy, distribute and/or modify the library. 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ciAlso, for each distributor's protection, we want to make certain that 6362306a36Sopenharmony_cieveryone understands that there is no warranty for this free library. If 6462306a36Sopenharmony_cithe library is modified by someone else and passed on, we want its 6562306a36Sopenharmony_cirecipients to know that what they have is not the original version, so that 6662306a36Sopenharmony_ciany problems introduced by others will not reflect on the original authors' 6762306a36Sopenharmony_cireputations. 6862306a36Sopenharmony_ci 6962306a36Sopenharmony_ciFinally, any free program is threatened constantly by software patents. We 7062306a36Sopenharmony_ciwish to avoid the danger that companies distributing free software will 7162306a36Sopenharmony_ciindividually obtain patent licenses, thus in effect transforming the 7262306a36Sopenharmony_ciprogram into proprietary software. To prevent this, we have made it clear 7362306a36Sopenharmony_cithat any patent must be licensed for everyone's free use or not licensed at 7462306a36Sopenharmony_ciall. 7562306a36Sopenharmony_ci 7662306a36Sopenharmony_ciMost GNU software, including some libraries, is covered by the ordinary GNU 7762306a36Sopenharmony_ciGeneral Public License, which was designed for utility programs. This 7862306a36Sopenharmony_cilicense, the GNU Library General Public License, applies to certain 7962306a36Sopenharmony_cidesignated libraries. This license is quite different from the ordinary 8062306a36Sopenharmony_cione; be sure to read it in full, and don't assume that anything in it is 8162306a36Sopenharmony_cithe same as in the ordinary license. 8262306a36Sopenharmony_ci 8362306a36Sopenharmony_ciThe reason we have a separate public license for some libraries is that 8462306a36Sopenharmony_cithey blur the distinction we usually make between modifying or adding to a 8562306a36Sopenharmony_ciprogram and simply using it. Linking a program with a library, without 8662306a36Sopenharmony_cichanging the library, is in some sense simply using the library, and is 8762306a36Sopenharmony_cianalogous to running a utility program or application program. However, in 8862306a36Sopenharmony_cia textual and legal sense, the linked executable is a combined work, a 8962306a36Sopenharmony_ciderivative of the original library, and the ordinary General Public License 9062306a36Sopenharmony_citreats it as such. 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ciBecause of this blurred distinction, using the ordinary General Public 9362306a36Sopenharmony_ciLicense for libraries did not effectively promote software sharing, because 9462306a36Sopenharmony_cimost developers did not use the libraries. We concluded that weaker 9562306a36Sopenharmony_ciconditions might promote sharing better. 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ciHowever, unrestricted linking of non-free programs would deprive the users 9862306a36Sopenharmony_ciof those programs of all benefit from the free status of the libraries 9962306a36Sopenharmony_cithemselves. This Library General Public License is intended to permit 10062306a36Sopenharmony_cidevelopers of non-free programs to use free libraries, while preserving 10162306a36Sopenharmony_ciyour freedom as a user of such programs to change the free libraries that 10262306a36Sopenharmony_ciare incorporated in them. (We have not seen how to achieve this as regards 10362306a36Sopenharmony_cichanges in header files, but we have achieved it as regards changes in the 10462306a36Sopenharmony_ciactual functions of the Library.) The hope is that this will lead to faster 10562306a36Sopenharmony_cidevelopment of free libraries. 10662306a36Sopenharmony_ci 10762306a36Sopenharmony_ciThe precise terms and conditions for copying, distribution and modification 10862306a36Sopenharmony_cifollow. Pay close attention to the difference between a "work based on the 10962306a36Sopenharmony_cilibrary" and a "work that uses the library". The former contains code 11062306a36Sopenharmony_ciderived from the library, while the latter only works together with the 11162306a36Sopenharmony_cilibrary. 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ciNote that it is possible for a library to be covered by the ordinary 11462306a36Sopenharmony_ciGeneral Public License rather than by this special one. 11562306a36Sopenharmony_ci 11662306a36Sopenharmony_ciTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 11762306a36Sopenharmony_ci 11862306a36Sopenharmony_ci0. This License Agreement applies to any software library which contains a 11962306a36Sopenharmony_ci notice placed by the copyright holder or other authorized party saying 12062306a36Sopenharmony_ci it may be distributed under the terms of this Library General Public 12162306a36Sopenharmony_ci License (also called "this License"). Each licensee is addressed as 12262306a36Sopenharmony_ci "you". 12362306a36Sopenharmony_ci 12462306a36Sopenharmony_ci A "library" means a collection of software functions and/or data 12562306a36Sopenharmony_ci prepared so as to be conveniently linked with application programs 12662306a36Sopenharmony_ci (which use some of those functions and data) to form executables. 12762306a36Sopenharmony_ci 12862306a36Sopenharmony_ci The "Library", below, refers to any such software library or work which 12962306a36Sopenharmony_ci has been distributed under these terms. A "work based on the Library" 13062306a36Sopenharmony_ci means either the Library or any derivative work under copyright law: 13162306a36Sopenharmony_ci that is to say, a work containing the Library or a portion of it, either 13262306a36Sopenharmony_ci verbatim or with modifications and/or translated straightforwardly into 13362306a36Sopenharmony_ci another language. (Hereinafter, translation is included without 13462306a36Sopenharmony_ci limitation in the term "modification".) 13562306a36Sopenharmony_ci 13662306a36Sopenharmony_ci "Source code" for a work means the preferred form of the work for making 13762306a36Sopenharmony_ci modifications to it. For a library, complete source code means all the 13862306a36Sopenharmony_ci source code for all modules it contains, plus any associated interface 13962306a36Sopenharmony_ci definition files, plus the scripts used to control compilation and 14062306a36Sopenharmony_ci installation of the library. 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ci Activities other than copying, distribution and modification are not 14362306a36Sopenharmony_ci covered by this License; they are outside its scope. The act of running 14462306a36Sopenharmony_ci a program using the Library is not restricted, and output from such a 14562306a36Sopenharmony_ci program is covered only if its contents constitute a work based on the 14662306a36Sopenharmony_ci Library (independent of the use of the Library in a tool for writing 14762306a36Sopenharmony_ci it). Whether that is true depends on what the Library does and what the 14862306a36Sopenharmony_ci program that uses the Library does. 14962306a36Sopenharmony_ci 15062306a36Sopenharmony_ci1. You may copy and distribute verbatim copies of the Library's complete 15162306a36Sopenharmony_ci source code as you receive it, in any medium, provided that you 15262306a36Sopenharmony_ci conspicuously and appropriately publish on each copy an appropriate 15362306a36Sopenharmony_ci copyright notice and disclaimer of warranty; keep intact all the notices 15462306a36Sopenharmony_ci that refer to this License and to the absence of any warranty; and 15562306a36Sopenharmony_ci distribute a copy of this License along with the Library. 15662306a36Sopenharmony_ci 15762306a36Sopenharmony_ci You may charge a fee for the physical act of transferring a copy, and 15862306a36Sopenharmony_ci you may at your option offer warranty protection in exchange for a fee. 15962306a36Sopenharmony_ci 16062306a36Sopenharmony_ci2. You may modify your copy or copies of the Library or any portion of it, 16162306a36Sopenharmony_ci thus forming a work based on the Library, and copy and distribute such 16262306a36Sopenharmony_ci modifications or work under the terms of Section 1 above, provided that 16362306a36Sopenharmony_ci you also meet all of these conditions: 16462306a36Sopenharmony_ci 16562306a36Sopenharmony_ci a) The modified work must itself be a software library. 16662306a36Sopenharmony_ci 16762306a36Sopenharmony_ci b) You must cause the files modified to carry prominent notices stating 16862306a36Sopenharmony_ci that you changed the files and the date of any change. 16962306a36Sopenharmony_ci 17062306a36Sopenharmony_ci c) You must cause the whole of the work to be licensed at no charge to 17162306a36Sopenharmony_ci all third parties under the terms of this License. 17262306a36Sopenharmony_ci 17362306a36Sopenharmony_ci d) If a facility in the modified Library refers to a function or a table 17462306a36Sopenharmony_ci of data to be supplied by an application program that uses the 17562306a36Sopenharmony_ci facility, other than as an argument passed when the facility is 17662306a36Sopenharmony_ci invoked, then you must make a good faith effort to ensure that, in 17762306a36Sopenharmony_ci the event an application does not supply such function or table, the 17862306a36Sopenharmony_ci facility still operates, and performs whatever part of its purpose 17962306a36Sopenharmony_ci remains meaningful. 18062306a36Sopenharmony_ci 18162306a36Sopenharmony_ci (For example, a function in a library to compute square roots has a 18262306a36Sopenharmony_ci purpose that is entirely well-defined independent of the 18362306a36Sopenharmony_ci application. Therefore, Subsection 2d requires that any 18462306a36Sopenharmony_ci application-supplied function or table used by this function must be 18562306a36Sopenharmony_ci optional: if the application does not supply it, the square root 18662306a36Sopenharmony_ci function must still compute square roots.) 18762306a36Sopenharmony_ci 18862306a36Sopenharmony_ci These requirements apply to the modified work as a whole. If 18962306a36Sopenharmony_ci identifiable sections of that work are not derived from the Library, and 19062306a36Sopenharmony_ci can be reasonably considered independent and separate works in 19162306a36Sopenharmony_ci themselves, then this License, and its terms, do not apply to those 19262306a36Sopenharmony_ci sections when you distribute them as separate works. But when you 19362306a36Sopenharmony_ci distribute the same sections as part of a whole which is a work based on 19462306a36Sopenharmony_ci the Library, the distribution of the whole must be on the terms of this 19562306a36Sopenharmony_ci License, whose permissions for other licensees extend to the entire 19662306a36Sopenharmony_ci whole, and thus to each and every part regardless of who wrote it. 19762306a36Sopenharmony_ci 19862306a36Sopenharmony_ci Thus, it is not the intent of this section to claim rights or contest 19962306a36Sopenharmony_ci your rights to work written entirely by you; rather, the intent is to 20062306a36Sopenharmony_ci exercise the right to control the distribution of derivative or 20162306a36Sopenharmony_ci collective works based on the Library. 20262306a36Sopenharmony_ci 20362306a36Sopenharmony_ci In addition, mere aggregation of another work not based on the Library 20462306a36Sopenharmony_ci with the Library (or with a work based on the Library) on a volume of a 20562306a36Sopenharmony_ci storage or distribution medium does not bring the other work under the 20662306a36Sopenharmony_ci scope of this License. 20762306a36Sopenharmony_ci 20862306a36Sopenharmony_ci3. You may opt to apply the terms of the ordinary GNU General Public 20962306a36Sopenharmony_ci License instead of this License to a given copy of the Library. To do 21062306a36Sopenharmony_ci this, you must alter all the notices that refer to this License, so that 21162306a36Sopenharmony_ci they refer to the ordinary GNU General Public License, version 2, 21262306a36Sopenharmony_ci instead of to this License. (If a newer version than version 2 of the 21362306a36Sopenharmony_ci ordinary GNU General Public License has appeared, then you can specify 21462306a36Sopenharmony_ci that version instead if you wish.) Do not make any other change in these 21562306a36Sopenharmony_ci notices. 21662306a36Sopenharmony_ci 21762306a36Sopenharmony_ci Once this change is made in a given copy, it is irreversible for that 21862306a36Sopenharmony_ci copy, so the ordinary GNU General Public License applies to all 21962306a36Sopenharmony_ci subsequent copies and derivative works made from that copy. 22062306a36Sopenharmony_ci 22162306a36Sopenharmony_ci This option is useful when you wish to copy part of the code of the 22262306a36Sopenharmony_ci Library into a program that is not a library. 22362306a36Sopenharmony_ci 22462306a36Sopenharmony_ci4. You may copy and distribute the Library (or a portion or derivative of 22562306a36Sopenharmony_ci it, under Section 2) in object code or executable form under the terms 22662306a36Sopenharmony_ci of Sections 1 and 2 above provided that you accompany it with the 22762306a36Sopenharmony_ci complete corresponding machine-readable source code, which must be 22862306a36Sopenharmony_ci distributed under the terms of Sections 1 and 2 above on a medium 22962306a36Sopenharmony_ci customarily used for software interchange. 23062306a36Sopenharmony_ci 23162306a36Sopenharmony_ci If distribution of object code is made by offering access to copy from a 23262306a36Sopenharmony_ci designated place, then offering equivalent access to copy the source 23362306a36Sopenharmony_ci code from the same place satisfies the requirement to distribute the 23462306a36Sopenharmony_ci source code, even though third parties are not compelled to copy the 23562306a36Sopenharmony_ci source along with the object code. 23662306a36Sopenharmony_ci 23762306a36Sopenharmony_ci5. A program that contains no derivative of any portion of the Library, but 23862306a36Sopenharmony_ci is designed to work with the Library by being compiled or linked with 23962306a36Sopenharmony_ci it, is called a "work that uses the Library". Such a work, in isolation, 24062306a36Sopenharmony_ci is not a derivative work of the Library, and therefore falls outside the 24162306a36Sopenharmony_ci scope of this License. 24262306a36Sopenharmony_ci 24362306a36Sopenharmony_ci However, linking a "work that uses the Library" with the Library creates 24462306a36Sopenharmony_ci an executable that is a derivative of the Library (because it contains 24562306a36Sopenharmony_ci portions of the Library), rather than a "work that uses the 24662306a36Sopenharmony_ci library". The executable is therefore covered by this License. Section 6 24762306a36Sopenharmony_ci states terms for distribution of such executables. 24862306a36Sopenharmony_ci 24962306a36Sopenharmony_ci When a "work that uses the Library" uses material from a header file 25062306a36Sopenharmony_ci that is part of the Library, the object code for the work may be a 25162306a36Sopenharmony_ci derivative work of the Library even though the source code is 25262306a36Sopenharmony_ci not. Whether this is true is especially significant if the work can be 25362306a36Sopenharmony_ci linked without the Library, or if the work is itself a library. The 25462306a36Sopenharmony_ci threshold for this to be true is not precisely defined by law. 25562306a36Sopenharmony_ci 25662306a36Sopenharmony_ci If such an object file uses only numerical parameters, data structure 25762306a36Sopenharmony_ci layouts and accessors, and small macros and small inline functions (ten 25862306a36Sopenharmony_ci lines or less in length), then the use of the object file is 25962306a36Sopenharmony_ci unrestricted, regardless of whether it is legally a derivative 26062306a36Sopenharmony_ci work. (Executables containing this object code plus portions of the 26162306a36Sopenharmony_ci Library will still fall under Section 6.) 26262306a36Sopenharmony_ci 26362306a36Sopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 26462306a36Sopenharmony_ci distribute the object code for the work under the terms of Section 26562306a36Sopenharmony_ci 6. Any executables containing that work also fall under Section 6, 26662306a36Sopenharmony_ci whether or not they are linked directly with the Library itself. 26762306a36Sopenharmony_ci 26862306a36Sopenharmony_ci6. As an exception to the Sections above, you may also compile or link a 26962306a36Sopenharmony_ci "work that uses the Library" with the Library to produce a work 27062306a36Sopenharmony_ci containing portions of the Library, and distribute that work under terms 27162306a36Sopenharmony_ci of your choice, provided that the terms permit modification of the work 27262306a36Sopenharmony_ci for the customer's own use and reverse engineering for debugging such 27362306a36Sopenharmony_ci modifications. 27462306a36Sopenharmony_ci 27562306a36Sopenharmony_ci You must give prominent notice with each copy of the work that the 27662306a36Sopenharmony_ci Library is used in it and that the Library and its use are covered by 27762306a36Sopenharmony_ci this License. You must supply a copy of this License. If the work during 27862306a36Sopenharmony_ci execution displays copyright notices, you must include the copyright 27962306a36Sopenharmony_ci notice for the Library among them, as well as a reference directing the 28062306a36Sopenharmony_ci user to the copy of this License. Also, you must do one of these things: 28162306a36Sopenharmony_ci 28262306a36Sopenharmony_ci a) Accompany the work with the complete corresponding machine-readable 28362306a36Sopenharmony_ci source code for the Library including whatever changes were used in 28462306a36Sopenharmony_ci the work (which must be distributed under Sections 1 and 2 above); 28562306a36Sopenharmony_ci and, if the work is an executable linked with the Library, with the 28662306a36Sopenharmony_ci complete machine-readable "work that uses the Library", as object 28762306a36Sopenharmony_ci code and/or source code, so that the user can modify the Library and 28862306a36Sopenharmony_ci then relink to produce a modified executable containing the modified 28962306a36Sopenharmony_ci Library. (It is understood that the user who changes the contents of 29062306a36Sopenharmony_ci definitions files in the Library will not necessarily be able to 29162306a36Sopenharmony_ci recompile the application to use the modified definitions.) 29262306a36Sopenharmony_ci 29362306a36Sopenharmony_ci b) Accompany the work with a written offer, valid for at least three 29462306a36Sopenharmony_ci years, to give the same user the materials specified in Subsection 29562306a36Sopenharmony_ci 6a, above, for a charge no more than the cost of performing this 29662306a36Sopenharmony_ci distribution. 29762306a36Sopenharmony_ci 29862306a36Sopenharmony_ci c) If distribution of the work is made by offering access to copy from a 29962306a36Sopenharmony_ci designated place, offer equivalent access to copy the above specified 30062306a36Sopenharmony_ci materials from the same place. 30162306a36Sopenharmony_ci 30262306a36Sopenharmony_ci d) Verify that the user has already received a copy of these materials 30362306a36Sopenharmony_ci or that you have already sent this user a copy. 30462306a36Sopenharmony_ci 30562306a36Sopenharmony_ci For an executable, the required form of the "work that uses the Library" 30662306a36Sopenharmony_ci must include any data and utility programs needed for reproducing the 30762306a36Sopenharmony_ci executable from it. However, as a special exception, the source code 30862306a36Sopenharmony_ci distributed need not include anything that is normally distributed (in 30962306a36Sopenharmony_ci either source or binary form) with the major components (compiler, 31062306a36Sopenharmony_ci kernel, and so on) of the operating system on which the executable runs, 31162306a36Sopenharmony_ci unless that component itself accompanies the executable. 31262306a36Sopenharmony_ci 31362306a36Sopenharmony_ci It may happen that this requirement contradicts the license restrictions 31462306a36Sopenharmony_ci of other proprietary libraries that do not normally accompany the 31562306a36Sopenharmony_ci operating system. Such a contradiction means you cannot use both them 31662306a36Sopenharmony_ci and the Library together in an executable that you distribute. 31762306a36Sopenharmony_ci 31862306a36Sopenharmony_ci7. You may place library facilities that are a work based on the Library 31962306a36Sopenharmony_ci side-by-side in a single library together with other library facilities 32062306a36Sopenharmony_ci not covered by this License, and distribute such a combined library, 32162306a36Sopenharmony_ci provided that the separate distribution of the work based on the Library 32262306a36Sopenharmony_ci and of the other library facilities is otherwise permitted, and provided 32362306a36Sopenharmony_ci that you do these two things: 32462306a36Sopenharmony_ci 32562306a36Sopenharmony_ci a) Accompany the combined library with a copy of the same work based on 32662306a36Sopenharmony_ci the Library, uncombined with any other library facilities. This must 32762306a36Sopenharmony_ci be distributed under the terms of the Sections above. 32862306a36Sopenharmony_ci 32962306a36Sopenharmony_ci b) Give prominent notice with the combined library of the fact that part 33062306a36Sopenharmony_ci of it is a work based on the Library, and explaining where to find 33162306a36Sopenharmony_ci the accompanying uncombined form of the same work. 33262306a36Sopenharmony_ci 33362306a36Sopenharmony_ci8. You may not copy, modify, sublicense, link with, or distribute the 33462306a36Sopenharmony_ci Library except as expressly provided under this License. Any attempt 33562306a36Sopenharmony_ci otherwise to copy, modify, sublicense, link with, or distribute the 33662306a36Sopenharmony_ci Library is void, and will automatically terminate your rights under this 33762306a36Sopenharmony_ci License. However, parties who have received copies, or rights, from you 33862306a36Sopenharmony_ci under this License will not have their licenses terminated so long as 33962306a36Sopenharmony_ci such parties remain in full compliance. 34062306a36Sopenharmony_ci 34162306a36Sopenharmony_ci9. You are not required to accept this License, since you have not signed 34262306a36Sopenharmony_ci it. However, nothing else grants you permission to modify or distribute 34362306a36Sopenharmony_ci the Library or its derivative works. These actions are prohibited by law 34462306a36Sopenharmony_ci if you do not accept this License. Therefore, by modifying or 34562306a36Sopenharmony_ci distributing the Library (or any work based on the Library), you 34662306a36Sopenharmony_ci indicate your acceptance of this License to do so, and all its terms and 34762306a36Sopenharmony_ci conditions for copying, distributing or modifying the Library or works 34862306a36Sopenharmony_ci based on it. 34962306a36Sopenharmony_ci 35062306a36Sopenharmony_ci10. Each time you redistribute the Library (or any work based on the 35162306a36Sopenharmony_ci Library), the recipient automatically receives a license from the 35262306a36Sopenharmony_ci original licensor to copy, distribute, link with or modify the Library 35362306a36Sopenharmony_ci subject to these terms and conditions. You may not impose any further 35462306a36Sopenharmony_ci restrictions on the recipients' exercise of the rights granted 35562306a36Sopenharmony_ci herein. You are not responsible for enforcing compliance by third 35662306a36Sopenharmony_ci parties to this License. 35762306a36Sopenharmony_ci 35862306a36Sopenharmony_ci11. If, as a consequence of a court judgment or allegation of patent 35962306a36Sopenharmony_ci infringement or for any other reason (not limited to patent issues), 36062306a36Sopenharmony_ci conditions are imposed on you (whether by court order, agreement or 36162306a36Sopenharmony_ci otherwise) that contradict the conditions of this License, they do not 36262306a36Sopenharmony_ci excuse you from the conditions of this License. If you cannot 36362306a36Sopenharmony_ci distribute so as to satisfy simultaneously your obligations under this 36462306a36Sopenharmony_ci License and any other pertinent obligations, then as a consequence you 36562306a36Sopenharmony_ci may not distribute the Library at all. For example, if a patent license 36662306a36Sopenharmony_ci would not permit royalty-free redistribution of the Library by all 36762306a36Sopenharmony_ci those who receive copies directly or indirectly through you, then the 36862306a36Sopenharmony_ci only way you could satisfy both it and this License would be to refrain 36962306a36Sopenharmony_ci entirely from distribution of the Library. 37062306a36Sopenharmony_ci 37162306a36Sopenharmony_ci If any portion of this section is held invalid or unenforceable under 37262306a36Sopenharmony_ci any particular circumstance, the balance of the section is intended to 37362306a36Sopenharmony_ci apply, and the section as a whole is intended to apply in other 37462306a36Sopenharmony_ci circumstances. 37562306a36Sopenharmony_ci 37662306a36Sopenharmony_ci It is not the purpose of this section to induce you to infringe any 37762306a36Sopenharmony_ci patents or other property right claims or to contest validity of any 37862306a36Sopenharmony_ci such claims; this section has the sole purpose of protecting the 37962306a36Sopenharmony_ci integrity of the free software distribution system which is implemented 38062306a36Sopenharmony_ci by public license practices. Many people have made generous 38162306a36Sopenharmony_ci contributions to the wide range of software distributed through that 38262306a36Sopenharmony_ci system in reliance on consistent application of that system; it is up 38362306a36Sopenharmony_ci to the author/donor to decide if he or she is willing to distribute 38462306a36Sopenharmony_ci software through any other system and a licensee cannot impose that 38562306a36Sopenharmony_ci choice. 38662306a36Sopenharmony_ci 38762306a36Sopenharmony_ci This section is intended to make thoroughly clear what is believed to 38862306a36Sopenharmony_ci be a consequence of the rest of this License. 38962306a36Sopenharmony_ci 39062306a36Sopenharmony_ci12. If the distribution and/or use of the Library is restricted in certain 39162306a36Sopenharmony_ci countries either by patents or by copyrighted interfaces, the original 39262306a36Sopenharmony_ci copyright holder who places the Library under this License may add an 39362306a36Sopenharmony_ci explicit geographical distribution limitation excluding those 39462306a36Sopenharmony_ci countries, so that distribution is permitted only in or among countries 39562306a36Sopenharmony_ci not thus excluded. In such case, this License incorporates the 39662306a36Sopenharmony_ci limitation as if written in the body of this License. 39762306a36Sopenharmony_ci 39862306a36Sopenharmony_ci13. The Free Software Foundation may publish revised and/or new versions of 39962306a36Sopenharmony_ci the Library General Public License from time to time. Such new versions 40062306a36Sopenharmony_ci will be similar in spirit to the present version, but may differ in 40162306a36Sopenharmony_ci detail to address new problems or concerns. 40262306a36Sopenharmony_ci 40362306a36Sopenharmony_ci Each version is given a distinguishing version number. If the Library 40462306a36Sopenharmony_ci specifies a version number of this License which applies to it and "any 40562306a36Sopenharmony_ci later version", you have the option of following the terms and 40662306a36Sopenharmony_ci conditions either of that version or of any later version published by 40762306a36Sopenharmony_ci the Free Software Foundation. If the Library does not specify a license 40862306a36Sopenharmony_ci version number, you may choose any version ever published by the Free 40962306a36Sopenharmony_ci Software Foundation. 41062306a36Sopenharmony_ci 41162306a36Sopenharmony_ci14. If you wish to incorporate parts of the Library into other free 41262306a36Sopenharmony_ci programs whose distribution conditions are incompatible with these, 41362306a36Sopenharmony_ci write to the author to ask for permission. For software which is 41462306a36Sopenharmony_ci copyrighted by the Free Software Foundation, write to the Free Software 41562306a36Sopenharmony_ci Foundation; we sometimes make exceptions for this. Our decision will be 41662306a36Sopenharmony_ci guided by the two goals of preserving the free status of all 41762306a36Sopenharmony_ci derivatives of our free software and of promoting the sharing and reuse 41862306a36Sopenharmony_ci of software generally. 41962306a36Sopenharmony_ci 42062306a36Sopenharmony_ciNO WARRANTY 42162306a36Sopenharmony_ci 42262306a36Sopenharmony_ci15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 42362306a36Sopenharmony_ci FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 42462306a36Sopenharmony_ci OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 42562306a36Sopenharmony_ci PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER 42662306a36Sopenharmony_ci EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 42762306a36Sopenharmony_ci WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE 42862306a36Sopenharmony_ci ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH 42962306a36Sopenharmony_ci YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL 43062306a36Sopenharmony_ci NECESSARY SERVICING, REPAIR OR CORRECTION. 43162306a36Sopenharmony_ci 43262306a36Sopenharmony_ci16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 43362306a36Sopenharmony_ci WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 43462306a36Sopenharmony_ci REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR 43562306a36Sopenharmony_ci DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL 43662306a36Sopenharmony_ci DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY 43762306a36Sopenharmony_ci (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED 43862306a36Sopenharmony_ci INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF 43962306a36Sopenharmony_ci THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR 44062306a36Sopenharmony_ci OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 44162306a36Sopenharmony_ci 44262306a36Sopenharmony_ciEND OF TERMS AND CONDITIONS 44362306a36Sopenharmony_ci 44462306a36Sopenharmony_ciHow to Apply These Terms to Your New Libraries 44562306a36Sopenharmony_ci 44662306a36Sopenharmony_ciIf you develop a new library, and you want it to be of the greatest 44762306a36Sopenharmony_cipossible use to the public, we recommend making it free software that 44862306a36Sopenharmony_cieveryone can redistribute and change. You can do so by permitting 44962306a36Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 45062306a36Sopenharmony_ciordinary General Public License). 45162306a36Sopenharmony_ci 45262306a36Sopenharmony_ciTo apply these terms, attach the following notices to the library. It is 45362306a36Sopenharmony_cisafest to attach them to the start of each source file to most effectively 45462306a36Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 45562306a36Sopenharmony_ci"copyright" line and a pointer to where the full notice is found. 45662306a36Sopenharmony_ci 45762306a36Sopenharmony_cione line to give the library's name and an idea of what it does. 45862306a36Sopenharmony_ciCopyright (C) year name of author 45962306a36Sopenharmony_ci 46062306a36Sopenharmony_ciThis library is free software; you can redistribute it and/or modify it 46162306a36Sopenharmony_ciunder the terms of the GNU Library General Public License as published by 46262306a36Sopenharmony_cithe Free Software Foundation; either version 2 of the License, or (at your 46362306a36Sopenharmony_cioption) any later version. 46462306a36Sopenharmony_ci 46562306a36Sopenharmony_ciThis library is distributed in the hope that it will be useful, but WITHOUT 46662306a36Sopenharmony_ciANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 46762306a36Sopenharmony_ciFITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 46862306a36Sopenharmony_ciLicense for more details. 46962306a36Sopenharmony_ci 47062306a36Sopenharmony_ciYou should have received a copy of the GNU Library General Public License 47162306a36Sopenharmony_cialong with this library; if not, write to the Free Software Foundation, 47262306a36Sopenharmony_ciInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 47362306a36Sopenharmony_ci 47462306a36Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 47562306a36Sopenharmony_ci 47662306a36Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your 47762306a36Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 47862306a36Sopenharmony_cinecessary. Here is a sample; alter the names: 47962306a36Sopenharmony_ci 48062306a36Sopenharmony_ciYoyodyne, Inc., hereby disclaims all copyright interest in 48162306a36Sopenharmony_cithe library `Frob' (a library for tweaking knobs) written 48262306a36Sopenharmony_ciby James Random Hacker. 48362306a36Sopenharmony_ci 48462306a36Sopenharmony_cisignature of Ty Coon, 1 April 1990 48562306a36Sopenharmony_ciTy Coon, President of Vice 48662306a36Sopenharmony_ci 48762306a36Sopenharmony_ciThat's all there is to it! 488