📄 license.txt
字号:
Library into a program that is not a library.4. You may copy and distribute the Library (or a portion or derivativeof it, under Section 2) in object code or executable form under theterms of Sections 1 and 2 above provided that you accompany it with thecomplete corresponding machine-readable source code, which must bedistributed under the terms of Sections 1 and 2 above on a mediumcustomarily used for software interchange.If distribution of object code is made by offering access to copy from adesignated place, then offering equivalent access to copy the sourcecode from the same place satisfies the requirement to distribute thesource code, even though third parties are not compelled to copy thesource along with the object code.5. A program that contains no derivative of any portion of the Library,but is designed to work with the Library by being compiled or linkedwith it, is called a "work that uses the Library". Such a work, inisolation, is not a derivative work of the Library, and therefore fallsoutside the scope of this License.However, linking a "work that uses the Library" with the Library createsan executable that is a derivative of the Library (because it containsportions of the Library), rather than a "work that uses the library".The executable is therefore covered by this License. Section 6 statesterms for distribution of such executables.When a "work that uses the Library" uses material from a header filethat is part of the Library, the object code for the work may be aderivative work of the Library even though the source code is not.Whether this is true is especially significant if the work can be linkedwithout the Library, or if the work is itself a library. The thresholdfor this to be true is not precisely defined by law.If such an object file uses only numerical parameters, data structurelayouts and accessors, and small macros and small inline functions (tenlines or less in length), then the use of the object file isunrestricted, regardless of whether it is legally a derivative work.(Executables containing this object code plus portions of the Librarywill still fall under Section 6.)Otherwise, if the work is a derivative of the Library, you maydistribute the object code for the work under the terms of Section 6.Any executables containing that work also fall under Section 6, whetheror not they are linked directly with the Library itself.6. As an exception to the Sections above, you may also combine or link a"work that uses the Library" with the Library to produce a workcontaining portions of the Library, and distribute that work under termsof your choice, provided that the terms permit modification of the workfor the customer's own use and reverse engineering for debugging suchmodifications.You must give prominent notice with each copy of the work that theLibrary is used in it and that the Library and its use are covered bythis License. You must supply a copy of this License. If the work duringexecution displays copyright notices, you must include the copyrightnotice for the Library among them, as well as a reference directing theuser to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library"must include any data and utility programs needed for reproducing theexecutable from it. However, as a special exception, the materials to bedistributed need not include anything that is normally distributed (ineither source or binary form) with the major components (compiler,kernel, and so on) of the operating system on which the executable runs,unless that component itself accompanies the executable.It may happen that this requirement contradicts the license restrictionsof other proprietary libraries that do not normally accompany theoperating system. Such a contradiction means you cannot use both themand the Library together in an executable that you distribute.7. You may place library facilities that are a work based on the Libraryside-by-side in a single library together with other library facilitiesnot covered by this License, and distribute such a combined library,provided that the separate distribution of the work based on the Libraryand of the other library facilities is otherwise permitted, and providedthat you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute theLibrary except as expressly provided under this License. Any attemptotherwise to copy, modify, sublicense, link with, or distribute theLibrary is void, and will automatically terminate your rights under thisLicense. However, parties who have received copies, or rights, from youunder this License will not have their licenses terminated so long assuch parties remain in full compliance.9. You are not required to accept this License, since you have notsigned it. However, nothing else grants you permission to modify ordistribute the Library or its derivative works. These actions areprohibited by law if you do not accept this License. Therefore, bymodifying or distributing the Library (or any work based on theLibrary), you indicate your acceptance of this License to do so, and allits terms and conditions for copying, distributing or modifying theLibrary or works based on it.10. Each time you redistribute the Library (or any work based on theLibrary), the recipient automatically receives a license from theoriginal licensor to copy, distribute, link with or modify the Librarysubject to these terms and conditions. You may not impose any furtherrestrictions on the recipients' exercise of the rights granted herein.You are not responsible for enforcing compliance by third parties withthis License.11. If, as a consequence of a court judgment or allegation of patentinfringement or for any other reason (not limited to patent issues),conditions are imposed on you (whether by court order, agreement orotherwise) that contradict the conditions of this License, they do notexcuse you from the conditions of this License. If you cannot distributeso as to satisfy simultaneously your obligations under this License andany other pertinent obligations, then as a consequence you may notdistribute the Library at all. For example, if a patent license wouldnot permit royalty-free redistribution of the Library by all those whoreceive copies directly or indirectly through you, then the only way youcould satisfy both it and this License would be to refrain entirely fromdistribution of the Library.If any portion of this section is held invalid or unenforceable underany particular circumstance, the balance of the section is intended toapply, and the section as a whole is intended to apply in othercircumstances.It is not the purpose of this section to induce you to infringe anypatents or other property right claims or to contest validity of anysuch claims; this section has the sole purpose of protecting theintegrity of the free software distribution system which is implementedby public license practices. Many people have made generouscontributions to the wide range of software distributed through thatsystem in reliance on consistent application of that system; it is up tothe author/donor to decide if he or she is willing to distributesoftware through any other system and a licensee cannot impose thatchoice.This section is intended to make thoroughly clear what is believed to bea consequence of the rest of this License.12. If the distribution and/or use of the Library is restricted incertain countries either by patents or by copyrighted interfaces, theoriginal copyright holder who places the Library under this License mayadd an explicit geographical distribution limitation excluding thosecountries, so that distribution is permitted only in or among countriesnot thus excluded. In such case, this License incorporates thelimitation as if written in the body of this License.13. The Free Software Foundation may publish revised and/or new versionsof the Lesser General Public License from time to time. Such newversions will be similar in spirit to the present version, but maydiffer in detail to address new problems or concerns.Each version is given a distinguishing version number. If the Libraryspecifies a version number of this License which applies to it and "anylater version", you have the option of following the terms andconditions either of that version or of any later version published bythe Free Software Foundation. If the Library does not specify a licenseversion number, you may choose any version ever published by the FreeSoftware Foundation.14. If you wish to incorporate parts of the Library into other freeprograms whose distribution conditions are incompatible with these,write to the author to ask for permission. For software which iscopyrighted by the Free Software Foundation, write to the Free SoftwareFoundation; we sometimes make exceptions for this. Our decision will beguided by the two goals of preserving the free status of all derivativesof our free software and of promoting the sharing and reuse of softwaregenerally.NO WARRANTY15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTYFOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHENOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIESPROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHEREXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THEENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITHYOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALLNECESSARY SERVICING, REPAIR OR CORRECTION.16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO INWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFYAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FORDAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIALDAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDEREDINACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OFTHE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OROTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -