11d68314aSopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 21d68314aSopenharmony_ci Version 2.1, February 1999 31d68314aSopenharmony_ci 41d68314aSopenharmony_ci Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51d68314aSopenharmony_ci 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 61d68314aSopenharmony_ci Everyone is permitted to copy and distribute verbatim copies 71d68314aSopenharmony_ci of this license document, but changing it is not allowed. 81d68314aSopenharmony_ci 91d68314aSopenharmony_ci[This is the first released version of the Lesser GPL. It also counts 101d68314aSopenharmony_ci as the successor of the GNU Library Public License, version 2, hence 111d68314aSopenharmony_ci the version number 2.1.] 121d68314aSopenharmony_ci 131d68314aSopenharmony_ci Preamble 141d68314aSopenharmony_ci 151d68314aSopenharmony_ci The licenses for most software are designed to take away your 161d68314aSopenharmony_cifreedom to share and change it. By contrast, the GNU General Public 171d68314aSopenharmony_ciLicenses are intended to guarantee your freedom to share and change 181d68314aSopenharmony_cifree software--to make sure the software is free for all its users. 191d68314aSopenharmony_ci 201d68314aSopenharmony_ci This license, the Lesser General Public License, applies to some 211d68314aSopenharmony_cispecially designated software packages--typically libraries--of the 221d68314aSopenharmony_ciFree Software Foundation and other authors who decide to use it. You 231d68314aSopenharmony_cican use it too, but we suggest you first think carefully about whether 241d68314aSopenharmony_cithis license or the ordinary General Public License is the better 251d68314aSopenharmony_cistrategy to use in any particular case, based on the explanations below. 261d68314aSopenharmony_ci 271d68314aSopenharmony_ci When we speak of free software, we are referring to freedom of use, 281d68314aSopenharmony_cinot price. Our General Public Licenses are designed to make sure that 291d68314aSopenharmony_ciyou have the freedom to distribute copies of free software (and charge 301d68314aSopenharmony_cifor this service if you wish); that you receive source code or can get 311d68314aSopenharmony_ciit if you want it; that you can change the software and use pieces of 321d68314aSopenharmony_ciit in new free programs; and that you are informed that you can do 331d68314aSopenharmony_cithese things. 341d68314aSopenharmony_ci 351d68314aSopenharmony_ci To protect your rights, we need to make restrictions that forbid 361d68314aSopenharmony_cidistributors to deny you these rights or to ask you to surrender these 371d68314aSopenharmony_cirights. These restrictions translate to certain responsibilities for 381d68314aSopenharmony_ciyou if you distribute copies of the library or if you modify it. 391d68314aSopenharmony_ci 401d68314aSopenharmony_ci For example, if you distribute copies of the library, whether gratis 411d68314aSopenharmony_cior for a fee, you must give the recipients all the rights that we gave 421d68314aSopenharmony_ciyou. You must make sure that they, too, receive or can get the source 431d68314aSopenharmony_cicode. If you link other code with the library, you must provide 441d68314aSopenharmony_cicomplete object files to the recipients, so that they can relink them 451d68314aSopenharmony_ciwith the library after making changes to the library and recompiling 461d68314aSopenharmony_ciit. And you must show them these terms so they know their rights. 471d68314aSopenharmony_ci 481d68314aSopenharmony_ci We protect your rights with a two-step method: (1) we copyright the 491d68314aSopenharmony_cilibrary, and (2) we offer you this license, which gives you legal 501d68314aSopenharmony_cipermission to copy, distribute and/or modify the library. 511d68314aSopenharmony_ci 521d68314aSopenharmony_ci To protect each distributor, we want to make it very clear that 531d68314aSopenharmony_cithere is no warranty for the free library. Also, if the library is 541d68314aSopenharmony_cimodified by someone else and passed on, the recipients should know 551d68314aSopenharmony_cithat what they have is not the original version, so that the original 561d68314aSopenharmony_ciauthor's reputation will not be affected by problems that might be 571d68314aSopenharmony_ciintroduced by others. 581d68314aSopenharmony_ci 591d68314aSopenharmony_ci Finally, software patents pose a constant threat to the existence of 601d68314aSopenharmony_ciany free program. We wish to make sure that a company cannot 611d68314aSopenharmony_cieffectively restrict the users of a free program by obtaining a 621d68314aSopenharmony_cirestrictive license from a patent holder. Therefore, we insist that 631d68314aSopenharmony_ciany patent license obtained for a version of the library must be 641d68314aSopenharmony_ciconsistent with the full freedom of use specified in this license. 651d68314aSopenharmony_ci 661d68314aSopenharmony_ci Most GNU software, including some libraries, is covered by the 671d68314aSopenharmony_ciordinary GNU General Public License. This license, the GNU Lesser 681d68314aSopenharmony_ciGeneral Public License, applies to certain designated libraries, and 691d68314aSopenharmony_ciis quite different from the ordinary General Public License. We use 701d68314aSopenharmony_cithis license for certain libraries in order to permit linking those 711d68314aSopenharmony_cilibraries into non-free programs. 721d68314aSopenharmony_ci 731d68314aSopenharmony_ci When a program is linked with a library, whether statically or using 741d68314aSopenharmony_cia shared library, the combination of the two is legally speaking a 751d68314aSopenharmony_cicombined work, a derivative of the original library. The ordinary 761d68314aSopenharmony_ciGeneral Public License therefore permits such linking only if the 771d68314aSopenharmony_cientire combination fits its criteria of freedom. The Lesser General 781d68314aSopenharmony_ciPublic License permits more lax criteria for linking other code with 791d68314aSopenharmony_cithe library. 801d68314aSopenharmony_ci 811d68314aSopenharmony_ci We call this license the "Lesser" General Public License because it 821d68314aSopenharmony_cidoes Less to protect the user's freedom than the ordinary General 831d68314aSopenharmony_ciPublic License. It also provides other free software developers Less 841d68314aSopenharmony_ciof an advantage over competing non-free programs. These disadvantages 851d68314aSopenharmony_ciare the reason we use the ordinary General Public License for many 861d68314aSopenharmony_cilibraries. However, the Lesser license provides advantages in certain 871d68314aSopenharmony_cispecial circumstances. 881d68314aSopenharmony_ci 891d68314aSopenharmony_ci For example, on rare occasions, there may be a special need to 901d68314aSopenharmony_ciencourage the widest possible use of a certain library, so that it becomes 911d68314aSopenharmony_cia de-facto standard. To achieve this, non-free programs must be 921d68314aSopenharmony_ciallowed to use the library. A more frequent case is that a free 931d68314aSopenharmony_cilibrary does the same job as widely used non-free libraries. In this 941d68314aSopenharmony_cicase, there is little to gain by limiting the free library to free 951d68314aSopenharmony_cisoftware only, so we use the Lesser General Public License. 961d68314aSopenharmony_ci 971d68314aSopenharmony_ci In other cases, permission to use a particular library in non-free 981d68314aSopenharmony_ciprograms enables a greater number of people to use a large body of 991d68314aSopenharmony_cifree software. For example, permission to use the GNU C Library in 1001d68314aSopenharmony_cinon-free programs enables many more people to use the whole GNU 1011d68314aSopenharmony_cioperating system, as well as its variant, the GNU/Linux operating 1021d68314aSopenharmony_cisystem. 1031d68314aSopenharmony_ci 1041d68314aSopenharmony_ci Although the Lesser General Public License is Less protective of the 1051d68314aSopenharmony_ciusers' freedom, it does ensure that the user of a program that is 1061d68314aSopenharmony_cilinked with the Library has the freedom and the wherewithal to run 1071d68314aSopenharmony_cithat program using a modified version of the Library. 1081d68314aSopenharmony_ci 1091d68314aSopenharmony_ci The precise terms and conditions for copying, distribution and 1101d68314aSopenharmony_cimodification follow. Pay close attention to the difference between a 1111d68314aSopenharmony_ci"work based on the library" and a "work that uses the library". The 1121d68314aSopenharmony_ciformer contains code derived from the library, whereas the latter must 1131d68314aSopenharmony_cibe combined with the library in order to run. 1141d68314aSopenharmony_ci 1151d68314aSopenharmony_ci GNU LESSER GENERAL PUBLIC LICENSE 1161d68314aSopenharmony_ci TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1171d68314aSopenharmony_ci 1181d68314aSopenharmony_ci 0. This License Agreement applies to any software library or other 1191d68314aSopenharmony_ciprogram which contains a notice placed by the copyright holder or 1201d68314aSopenharmony_ciother authorized party saying it may be distributed under the terms of 1211d68314aSopenharmony_cithis Lesser General Public License (also called "this License"). 1221d68314aSopenharmony_ciEach licensee is addressed as "you". 1231d68314aSopenharmony_ci 1241d68314aSopenharmony_ci A "library" means a collection of software functions and/or data 1251d68314aSopenharmony_ciprepared so as to be conveniently linked with application programs 1261d68314aSopenharmony_ci(which use some of those functions and data) to form executables. 1271d68314aSopenharmony_ci 1281d68314aSopenharmony_ci The "Library", below, refers to any such software library or work 1291d68314aSopenharmony_ciwhich has been distributed under these terms. A "work based on the 1301d68314aSopenharmony_ciLibrary" means either the Library or any derivative work under 1311d68314aSopenharmony_cicopyright law: that is to say, a work containing the Library or a 1321d68314aSopenharmony_ciportion of it, either verbatim or with modifications and/or translated 1331d68314aSopenharmony_cistraightforwardly into another language. (Hereinafter, translation is 1341d68314aSopenharmony_ciincluded without limitation in the term "modification".) 1351d68314aSopenharmony_ci 1361d68314aSopenharmony_ci "Source code" for a work means the preferred form of the work for 1371d68314aSopenharmony_cimaking modifications to it. For a library, complete source code means 1381d68314aSopenharmony_ciall the source code for all modules it contains, plus any associated 1391d68314aSopenharmony_ciinterface definition files, plus the scripts used to control compilation 1401d68314aSopenharmony_ciand installation of the library. 1411d68314aSopenharmony_ci 1421d68314aSopenharmony_ci Activities other than copying, distribution and modification are not 1431d68314aSopenharmony_cicovered by this License; they are outside its scope. The act of 1441d68314aSopenharmony_cirunning a program using the Library is not restricted, and output from 1451d68314aSopenharmony_cisuch a program is covered only if its contents constitute a work based 1461d68314aSopenharmony_cion the Library (independent of the use of the Library in a tool for 1471d68314aSopenharmony_ciwriting it). Whether that is true depends on what the Library does 1481d68314aSopenharmony_ciand what the program that uses the Library does. 1491d68314aSopenharmony_ci 1501d68314aSopenharmony_ci 1. You may copy and distribute verbatim copies of the Library's 1511d68314aSopenharmony_cicomplete source code as you receive it, in any medium, provided that 1521d68314aSopenharmony_ciyou conspicuously and appropriately publish on each copy an 1531d68314aSopenharmony_ciappropriate copyright notice and disclaimer of warranty; keep intact 1541d68314aSopenharmony_ciall the notices that refer to this License and to the absence of any 1551d68314aSopenharmony_ciwarranty; and distribute a copy of this License along with the 1561d68314aSopenharmony_ciLibrary. 1571d68314aSopenharmony_ci 1581d68314aSopenharmony_ci You may charge a fee for the physical act of transferring a copy, 1591d68314aSopenharmony_ciand you may at your option offer warranty protection in exchange for a 1601d68314aSopenharmony_cifee. 1611d68314aSopenharmony_ci 1621d68314aSopenharmony_ci 2. You may modify your copy or copies of the Library or any portion 1631d68314aSopenharmony_ciof it, thus forming a work based on the Library, and copy and 1641d68314aSopenharmony_cidistribute such modifications or work under the terms of Section 1 1651d68314aSopenharmony_ciabove, provided that you also meet all of these conditions: 1661d68314aSopenharmony_ci 1671d68314aSopenharmony_ci a) The modified work must itself be a software library. 1681d68314aSopenharmony_ci 1691d68314aSopenharmony_ci b) You must cause the files modified to carry prominent notices 1701d68314aSopenharmony_ci stating that you changed the files and the date of any change. 1711d68314aSopenharmony_ci 1721d68314aSopenharmony_ci c) You must cause the whole of the work to be licensed at no 1731d68314aSopenharmony_ci charge to all third parties under the terms of this License. 1741d68314aSopenharmony_ci 1751d68314aSopenharmony_ci d) If a facility in the modified Library refers to a function or a 1761d68314aSopenharmony_ci table of data to be supplied by an application program that uses 1771d68314aSopenharmony_ci the facility, other than as an argument passed when the facility 1781d68314aSopenharmony_ci is invoked, then you must make a good faith effort to ensure that, 1791d68314aSopenharmony_ci in the event an application does not supply such function or 1801d68314aSopenharmony_ci table, the facility still operates, and performs whatever part of 1811d68314aSopenharmony_ci its purpose remains meaningful. 1821d68314aSopenharmony_ci 1831d68314aSopenharmony_ci (For example, a function in a library to compute square roots has 1841d68314aSopenharmony_ci a purpose that is entirely well-defined independent of the 1851d68314aSopenharmony_ci application. Therefore, Subsection 2d requires that any 1861d68314aSopenharmony_ci application-supplied function or table used by this function must 1871d68314aSopenharmony_ci be optional: if the application does not supply it, the square 1881d68314aSopenharmony_ci root function must still compute square roots.) 1891d68314aSopenharmony_ci 1901d68314aSopenharmony_ciThese requirements apply to the modified work as a whole. If 1911d68314aSopenharmony_ciidentifiable sections of that work are not derived from the Library, 1921d68314aSopenharmony_ciand can be reasonably considered independent and separate works in 1931d68314aSopenharmony_cithemselves, then this License, and its terms, do not apply to those 1941d68314aSopenharmony_cisections when you distribute them as separate works. But when you 1951d68314aSopenharmony_cidistribute the same sections as part of a whole which is a work based 1961d68314aSopenharmony_cion the Library, the distribution of the whole must be on the terms of 1971d68314aSopenharmony_cithis License, whose permissions for other licensees extend to the 1981d68314aSopenharmony_cientire whole, and thus to each and every part regardless of who wrote 1991d68314aSopenharmony_ciit. 2001d68314aSopenharmony_ci 2011d68314aSopenharmony_ciThus, it is not the intent of this section to claim rights or contest 2021d68314aSopenharmony_ciyour rights to work written entirely by you; rather, the intent is to 2031d68314aSopenharmony_ciexercise the right to control the distribution of derivative or 2041d68314aSopenharmony_cicollective works based on the Library. 2051d68314aSopenharmony_ci 2061d68314aSopenharmony_ciIn addition, mere aggregation of another work not based on the Library 2071d68314aSopenharmony_ciwith the Library (or with a work based on the Library) on a volume of 2081d68314aSopenharmony_cia storage or distribution medium does not bring the other work under 2091d68314aSopenharmony_cithe scope of this License. 2101d68314aSopenharmony_ci 2111d68314aSopenharmony_ci 3. You may opt to apply the terms of the ordinary GNU General Public 2121d68314aSopenharmony_ciLicense instead of this License to a given copy of the Library. To do 2131d68314aSopenharmony_cithis, you must alter all the notices that refer to this License, so 2141d68314aSopenharmony_cithat they refer to the ordinary GNU General Public License, version 2, 2151d68314aSopenharmony_ciinstead of to this License. (If a newer version than version 2 of the 2161d68314aSopenharmony_ciordinary GNU General Public License has appeared, then you can specify 2171d68314aSopenharmony_cithat version instead if you wish.) Do not make any other change in 2181d68314aSopenharmony_cithese notices. 2191d68314aSopenharmony_ci 2201d68314aSopenharmony_ci Once this change is made in a given copy, it is irreversible for 2211d68314aSopenharmony_cithat copy, so the ordinary GNU General Public License applies to all 2221d68314aSopenharmony_cisubsequent copies and derivative works made from that copy. 2231d68314aSopenharmony_ci 2241d68314aSopenharmony_ci This option is useful when you wish to copy part of the code of 2251d68314aSopenharmony_cithe Library into a program that is not a library. 2261d68314aSopenharmony_ci 2271d68314aSopenharmony_ci 4. You may copy and distribute the Library (or a portion or 2281d68314aSopenharmony_ciderivative of it, under Section 2) in object code or executable form 2291d68314aSopenharmony_ciunder the terms of Sections 1 and 2 above provided that you accompany 2301d68314aSopenharmony_ciit with the complete corresponding machine-readable source code, which 2311d68314aSopenharmony_cimust be distributed under the terms of Sections 1 and 2 above on a 2321d68314aSopenharmony_cimedium customarily used for software interchange. 2331d68314aSopenharmony_ci 2341d68314aSopenharmony_ci If distribution of object code is made by offering access to copy 2351d68314aSopenharmony_cifrom a designated place, then offering equivalent access to copy the 2361d68314aSopenharmony_cisource code from the same place satisfies the requirement to 2371d68314aSopenharmony_cidistribute the source code, even though third parties are not 2381d68314aSopenharmony_cicompelled to copy the source along with the object code. 2391d68314aSopenharmony_ci 2401d68314aSopenharmony_ci 5. A program that contains no derivative of any portion of the 2411d68314aSopenharmony_ciLibrary, but is designed to work with the Library by being compiled or 2421d68314aSopenharmony_cilinked with it, is called a "work that uses the Library". Such a 2431d68314aSopenharmony_ciwork, in isolation, is not a derivative work of the Library, and 2441d68314aSopenharmony_citherefore falls outside the scope of this License. 2451d68314aSopenharmony_ci 2461d68314aSopenharmony_ci However, linking a "work that uses the Library" with the Library 2471d68314aSopenharmony_cicreates an executable that is a derivative of the Library (because it 2481d68314aSopenharmony_cicontains portions of the Library), rather than a "work that uses the 2491d68314aSopenharmony_cilibrary". The executable is therefore covered by this License. 2501d68314aSopenharmony_ciSection 6 states terms for distribution of such executables. 2511d68314aSopenharmony_ci 2521d68314aSopenharmony_ci When a "work that uses the Library" uses material from a header file 2531d68314aSopenharmony_cithat is part of the Library, the object code for the work may be a 2541d68314aSopenharmony_ciderivative work of the Library even though the source code is not. 2551d68314aSopenharmony_ciWhether this is true is especially significant if the work can be 2561d68314aSopenharmony_cilinked without the Library, or if the work is itself a library. The 2571d68314aSopenharmony_cithreshold for this to be true is not precisely defined by law. 2581d68314aSopenharmony_ci 2591d68314aSopenharmony_ci If such an object file uses only numerical parameters, data 2601d68314aSopenharmony_cistructure layouts and accessors, and small macros and small inline 2611d68314aSopenharmony_cifunctions (ten lines or less in length), then the use of the object 2621d68314aSopenharmony_cifile is unrestricted, regardless of whether it is legally a derivative 2631d68314aSopenharmony_ciwork. (Executables containing this object code plus portions of the 2641d68314aSopenharmony_ciLibrary will still fall under Section 6.) 2651d68314aSopenharmony_ci 2661d68314aSopenharmony_ci Otherwise, if the work is a derivative of the Library, you may 2671d68314aSopenharmony_cidistribute the object code for the work under the terms of Section 6. 2681d68314aSopenharmony_ciAny executables containing that work also fall under Section 6, 2691d68314aSopenharmony_ciwhether or not they are linked directly with the Library itself. 2701d68314aSopenharmony_ci 2711d68314aSopenharmony_ci 6. As an exception to the Sections above, you may also combine or 2721d68314aSopenharmony_cilink a "work that uses the Library" with the Library to produce a 2731d68314aSopenharmony_ciwork containing portions of the Library, and distribute that work 2741d68314aSopenharmony_ciunder terms of your choice, provided that the terms permit 2751d68314aSopenharmony_cimodification of the work for the customer's own use and reverse 2761d68314aSopenharmony_ciengineering for debugging such modifications. 2771d68314aSopenharmony_ci 2781d68314aSopenharmony_ci You must give prominent notice with each copy of the work that the 2791d68314aSopenharmony_ciLibrary is used in it and that the Library and its use are covered by 2801d68314aSopenharmony_cithis License. You must supply a copy of this License. If the work 2811d68314aSopenharmony_ciduring execution displays copyright notices, you must include the 2821d68314aSopenharmony_cicopyright notice for the Library among them, as well as a reference 2831d68314aSopenharmony_cidirecting the user to the copy of this License. Also, you must do one 2841d68314aSopenharmony_ciof these things: 2851d68314aSopenharmony_ci 2861d68314aSopenharmony_ci a) Accompany the work with the complete corresponding 2871d68314aSopenharmony_ci machine-readable source code for the Library including whatever 2881d68314aSopenharmony_ci changes were used in the work (which must be distributed under 2891d68314aSopenharmony_ci Sections 1 and 2 above); and, if the work is an executable linked 2901d68314aSopenharmony_ci with the Library, with the complete machine-readable "work that 2911d68314aSopenharmony_ci uses the Library", as object code and/or source code, so that the 2921d68314aSopenharmony_ci user can modify the Library and then relink to produce a modified 2931d68314aSopenharmony_ci executable containing the modified Library. (It is understood 2941d68314aSopenharmony_ci that the user who changes the contents of definitions files in the 2951d68314aSopenharmony_ci Library will not necessarily be able to recompile the application 2961d68314aSopenharmony_ci to use the modified definitions.) 2971d68314aSopenharmony_ci 2981d68314aSopenharmony_ci b) Use a suitable shared library mechanism for linking with the 2991d68314aSopenharmony_ci Library. A suitable mechanism is one that (1) uses at run time a 3001d68314aSopenharmony_ci copy of the library already present on the user's computer system, 3011d68314aSopenharmony_ci rather than copying library functions into the executable, and (2) 3021d68314aSopenharmony_ci will operate properly with a modified version of the library, if 3031d68314aSopenharmony_ci the user installs one, as long as the modified version is 3041d68314aSopenharmony_ci interface-compatible with the version that the work was made with. 3051d68314aSopenharmony_ci 3061d68314aSopenharmony_ci c) Accompany the work with a written offer, valid for at 3071d68314aSopenharmony_ci least three years, to give the same user the materials 3081d68314aSopenharmony_ci specified in Subsection 6a, above, for a charge no more 3091d68314aSopenharmony_ci than the cost of performing this distribution. 3101d68314aSopenharmony_ci 3111d68314aSopenharmony_ci d) If distribution of the work is made by offering access to copy 3121d68314aSopenharmony_ci from a designated place, offer equivalent access to copy the above 3131d68314aSopenharmony_ci specified materials from the same place. 3141d68314aSopenharmony_ci 3151d68314aSopenharmony_ci e) Verify that the user has already received a copy of these 3161d68314aSopenharmony_ci materials or that you have already sent this user a copy. 3171d68314aSopenharmony_ci 3181d68314aSopenharmony_ci For an executable, the required form of the "work that uses the 3191d68314aSopenharmony_ciLibrary" must include any data and utility programs needed for 3201d68314aSopenharmony_cireproducing the executable from it. However, as a special exception, 3211d68314aSopenharmony_cithe materials to be distributed need not include anything that is 3221d68314aSopenharmony_cinormally distributed (in either source or binary form) with the major 3231d68314aSopenharmony_cicomponents (compiler, kernel, and so on) of the operating system on 3241d68314aSopenharmony_ciwhich the executable runs, unless that component itself accompanies 3251d68314aSopenharmony_cithe executable. 3261d68314aSopenharmony_ci 3271d68314aSopenharmony_ci It may happen that this requirement contradicts the license 3281d68314aSopenharmony_cirestrictions of other proprietary libraries that do not normally 3291d68314aSopenharmony_ciaccompany the operating system. Such a contradiction means you cannot 3301d68314aSopenharmony_ciuse both them and the Library together in an executable that you 3311d68314aSopenharmony_cidistribute. 3321d68314aSopenharmony_ci 3331d68314aSopenharmony_ci 7. You may place library facilities that are a work based on the 3341d68314aSopenharmony_ciLibrary side-by-side in a single library together with other library 3351d68314aSopenharmony_cifacilities not covered by this License, and distribute such a combined 3361d68314aSopenharmony_cilibrary, provided that the separate distribution of the work based on 3371d68314aSopenharmony_cithe Library and of the other library facilities is otherwise 3381d68314aSopenharmony_cipermitted, and provided that you do these two things: 3391d68314aSopenharmony_ci 3401d68314aSopenharmony_ci a) Accompany the combined library with a copy of the same work 3411d68314aSopenharmony_ci based on the Library, uncombined with any other library 3421d68314aSopenharmony_ci facilities. This must be distributed under the terms of the 3431d68314aSopenharmony_ci Sections above. 3441d68314aSopenharmony_ci 3451d68314aSopenharmony_ci b) Give prominent notice with the combined library of the fact 3461d68314aSopenharmony_ci that part of it is a work based on the Library, and explaining 3471d68314aSopenharmony_ci where to find the accompanying uncombined form of the same work. 3481d68314aSopenharmony_ci 3491d68314aSopenharmony_ci 8. You may not copy, modify, sublicense, link with, or distribute 3501d68314aSopenharmony_cithe Library except as expressly provided under this License. Any 3511d68314aSopenharmony_ciattempt otherwise to copy, modify, sublicense, link with, or 3521d68314aSopenharmony_cidistribute the Library is void, and will automatically terminate your 3531d68314aSopenharmony_cirights under this License. However, parties who have received copies, 3541d68314aSopenharmony_cior rights, from you under this License will not have their licenses 3551d68314aSopenharmony_citerminated so long as such parties remain in full compliance. 3561d68314aSopenharmony_ci 3571d68314aSopenharmony_ci 9. You are not required to accept this License, since you have not 3581d68314aSopenharmony_cisigned it. However, nothing else grants you permission to modify or 3591d68314aSopenharmony_cidistribute the Library or its derivative works. These actions are 3601d68314aSopenharmony_ciprohibited by law if you do not accept this License. Therefore, by 3611d68314aSopenharmony_cimodifying or distributing the Library (or any work based on the 3621d68314aSopenharmony_ciLibrary), you indicate your acceptance of this License to do so, and 3631d68314aSopenharmony_ciall its terms and conditions for copying, distributing or modifying 3641d68314aSopenharmony_cithe Library or works based on it. 3651d68314aSopenharmony_ci 3661d68314aSopenharmony_ci 10. Each time you redistribute the Library (or any work based on the 3671d68314aSopenharmony_ciLibrary), the recipient automatically receives a license from the 3681d68314aSopenharmony_cioriginal licensor to copy, distribute, link with or modify the Library 3691d68314aSopenharmony_cisubject to these terms and conditions. You may not impose any further 3701d68314aSopenharmony_cirestrictions on the recipients' exercise of the rights granted herein. 3711d68314aSopenharmony_ciYou are not responsible for enforcing compliance by third parties with 3721d68314aSopenharmony_cithis License. 3731d68314aSopenharmony_ci 3741d68314aSopenharmony_ci 11. If, as a consequence of a court judgment or allegation of patent 3751d68314aSopenharmony_ciinfringement or for any other reason (not limited to patent issues), 3761d68314aSopenharmony_ciconditions are imposed on you (whether by court order, agreement or 3771d68314aSopenharmony_ciotherwise) that contradict the conditions of this License, they do not 3781d68314aSopenharmony_ciexcuse you from the conditions of this License. If you cannot 3791d68314aSopenharmony_cidistribute so as to satisfy simultaneously your obligations under this 3801d68314aSopenharmony_ciLicense and any other pertinent obligations, then as a consequence you 3811d68314aSopenharmony_cimay not distribute the Library at all. For example, if a patent 3821d68314aSopenharmony_cilicense would not permit royalty-free redistribution of the Library by 3831d68314aSopenharmony_ciall those who receive copies directly or indirectly through you, then 3841d68314aSopenharmony_cithe only way you could satisfy both it and this License would be to 3851d68314aSopenharmony_cirefrain entirely from distribution of the Library. 3861d68314aSopenharmony_ci 3871d68314aSopenharmony_ciIf any portion of this section is held invalid or unenforceable under any 3881d68314aSopenharmony_ciparticular circumstance, the balance of the section is intended to apply, 3891d68314aSopenharmony_ciand the section as a whole is intended to apply in other circumstances. 3901d68314aSopenharmony_ci 3911d68314aSopenharmony_ciIt is not the purpose of this section to induce you to infringe any 3921d68314aSopenharmony_cipatents or other property right claims or to contest validity of any 3931d68314aSopenharmony_cisuch claims; this section has the sole purpose of protecting the 3941d68314aSopenharmony_ciintegrity of the free software distribution system which is 3951d68314aSopenharmony_ciimplemented by public license practices. Many people have made 3961d68314aSopenharmony_cigenerous contributions to the wide range of software distributed 3971d68314aSopenharmony_cithrough that system in reliance on consistent application of that 3981d68314aSopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing 3991d68314aSopenharmony_cito distribute software through any other system and a licensee cannot 4001d68314aSopenharmony_ciimpose that choice. 4011d68314aSopenharmony_ci 4021d68314aSopenharmony_ciThis section is intended to make thoroughly clear what is believed to 4031d68314aSopenharmony_cibe a consequence of the rest of this License. 4041d68314aSopenharmony_ci 4051d68314aSopenharmony_ci 12. If the distribution and/or use of the Library is restricted in 4061d68314aSopenharmony_cicertain countries either by patents or by copyrighted interfaces, the 4071d68314aSopenharmony_cioriginal copyright holder who places the Library under this License may add 4081d68314aSopenharmony_cian explicit geographical distribution limitation excluding those countries, 4091d68314aSopenharmony_ciso that distribution is permitted only in or among countries not thus 4101d68314aSopenharmony_ciexcluded. In such case, this License incorporates the limitation as if 4111d68314aSopenharmony_ciwritten in the body of this License. 4121d68314aSopenharmony_ci 4131d68314aSopenharmony_ci 13. The Free Software Foundation may publish revised and/or new 4141d68314aSopenharmony_civersions of the Lesser General Public License from time to time. 4151d68314aSopenharmony_ciSuch new versions will be similar in spirit to the present version, 4161d68314aSopenharmony_cibut may differ in detail to address new problems or concerns. 4171d68314aSopenharmony_ci 4181d68314aSopenharmony_ciEach version is given a distinguishing version number. If the Library 4191d68314aSopenharmony_cispecifies a version number of this License which applies to it and 4201d68314aSopenharmony_ci"any later version", you have the option of following the terms and 4211d68314aSopenharmony_ciconditions either of that version or of any later version published by 4221d68314aSopenharmony_cithe Free Software Foundation. If the Library does not specify a 4231d68314aSopenharmony_cilicense version number, you may choose any version ever published by 4241d68314aSopenharmony_cithe Free Software Foundation. 4251d68314aSopenharmony_ci 4261d68314aSopenharmony_ci 14. If you wish to incorporate parts of the Library into other free 4271d68314aSopenharmony_ciprograms whose distribution conditions are incompatible with these, 4281d68314aSopenharmony_ciwrite to the author to ask for permission. For software which is 4291d68314aSopenharmony_cicopyrighted by the Free Software Foundation, write to the Free 4301d68314aSopenharmony_ciSoftware Foundation; we sometimes make exceptions for this. Our 4311d68314aSopenharmony_cidecision will be guided by the two goals of preserving the free status 4321d68314aSopenharmony_ciof all derivatives of our free software and of promoting the sharing 4331d68314aSopenharmony_ciand reuse of software generally. 4341d68314aSopenharmony_ci 4351d68314aSopenharmony_ci NO WARRANTY 4361d68314aSopenharmony_ci 4371d68314aSopenharmony_ci 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 4381d68314aSopenharmony_ciWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 4391d68314aSopenharmony_ciEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 4401d68314aSopenharmony_ciOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 4411d68314aSopenharmony_ciKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 4421d68314aSopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 4431d68314aSopenharmony_ciPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 4441d68314aSopenharmony_ciLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 4451d68314aSopenharmony_ciTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 4461d68314aSopenharmony_ci 4471d68314aSopenharmony_ci 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 4481d68314aSopenharmony_ciWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 4491d68314aSopenharmony_ciAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 4501d68314aSopenharmony_ciFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 4511d68314aSopenharmony_ciCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 4521d68314aSopenharmony_ciLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 4531d68314aSopenharmony_ciRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 4541d68314aSopenharmony_ciFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 4551d68314aSopenharmony_ciSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 4561d68314aSopenharmony_ciDAMAGES. 4571d68314aSopenharmony_ci 4581d68314aSopenharmony_ci END OF TERMS AND CONDITIONS 4591d68314aSopenharmony_ci 4601d68314aSopenharmony_ci How to Apply These Terms to Your New Libraries 4611d68314aSopenharmony_ci 4621d68314aSopenharmony_ci If you develop a new library, and you want it to be of the greatest 4631d68314aSopenharmony_cipossible use to the public, we recommend making it free software that 4641d68314aSopenharmony_cieveryone can redistribute and change. You can do so by permitting 4651d68314aSopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the 4661d68314aSopenharmony_ciordinary General Public License). 4671d68314aSopenharmony_ci 4681d68314aSopenharmony_ci To apply these terms, attach the following notices to the library. It is 4691d68314aSopenharmony_cisafest to attach them to the start of each source file to most effectively 4701d68314aSopenharmony_ciconvey the exclusion of warranty; and each file should have at least the 4711d68314aSopenharmony_ci"copyright" line and a pointer to where the full notice is found. 4721d68314aSopenharmony_ci 4731d68314aSopenharmony_ci <one line to give the library's name and a brief idea of what it does.> 4741d68314aSopenharmony_ci Copyright (C) <year> <name of author> 4751d68314aSopenharmony_ci 4761d68314aSopenharmony_ci This library is free software; you can redistribute it and/or 4771d68314aSopenharmony_ci modify it under the terms of the GNU Lesser General Public 4781d68314aSopenharmony_ci License as published by the Free Software Foundation; either 4791d68314aSopenharmony_ci version 2.1 of the License, or (at your option) any later version. 4801d68314aSopenharmony_ci 4811d68314aSopenharmony_ci This library is distributed in the hope that it will be useful, 4821d68314aSopenharmony_ci but WITHOUT ANY WARRANTY; without even the implied warranty of 4831d68314aSopenharmony_ci MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 4841d68314aSopenharmony_ci Lesser General Public License for more details. 4851d68314aSopenharmony_ci 4861d68314aSopenharmony_ci You should have received a copy of the GNU Lesser General Public 4871d68314aSopenharmony_ci License along with this library; if not, write to the Free Software 4881d68314aSopenharmony_ci Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 4891d68314aSopenharmony_ci 4901d68314aSopenharmony_ciAlso add information on how to contact you by electronic and paper mail. 4911d68314aSopenharmony_ci 4921d68314aSopenharmony_ciYou should also get your employer (if you work as a programmer) or your 4931d68314aSopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if 4941d68314aSopenharmony_cinecessary. Here is a sample; alter the names: 4951d68314aSopenharmony_ci 4961d68314aSopenharmony_ci Yoyodyne, Inc., hereby disclaims all copyright interest in the 4971d68314aSopenharmony_ci library `Frob' (a library for tweaking knobs) written by James Random Hacker. 4981d68314aSopenharmony_ci 4991d68314aSopenharmony_ci <signature of Ty Coon>, 1 April 1990 5001d68314aSopenharmony_ci Ty Coon, President of Vice 5011d68314aSopenharmony_ci 5021d68314aSopenharmony_ciThat's all there is to it! 503