📄 lgpl.txt
字号:
When a "work that uses the Library" uses material from a headerfile that is part of the Library, the object code for the workmay be a derivative work of the Library even though the sourcecode is not. Whether this is true is especially significant ifthe work can be linked without the Library, or if the work isitself a library. The threshold for this to be true is notprecisely defined by law.If such an object file uses only numerical parameters, datastructure layouts and accessors, and small macros and smallinline functions (ten lines or less in length), then the use ofthe object file is unrestricted, regardless of whether it islegally a derivative work. (Executables containing this objectcode plus portions of the Library will still fall under Section6.)Otherwise, if the work is a derivative of the Library, you maydistribute the object code for the work under the terms ofSection 6. Any executables containing that work also fall underSection 6, whether or not they are linked directly with theLibrary itself. 6. As an exception to the Sections above, you may also compileor link a "work that uses the Library" with the Library toproduce a work containing portions of the Library, anddistribute that work under terms of your choice, provided thatthe terms permit modification of the work for the customer's ownuse and reverse engineering for debugging such modifications.You must give prominent notice with each copy of the work thatthe Library is used in it and that the Library and its use arecovered by this License. You must supply a copy of thisLicense. If the work during execution displays copyrightnotices, you must include the copyright notice for the Libraryamong them, as well as a reference directing the user to thecopy 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) 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. c) 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. d) 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 theLibrary" must include any data and utility programs needed forreproducing the executable from it. However, as a specialexception, the source code distributed need not include anythingthat is normally distributed (in either source or binary form)with the major components (compiler, kernel, and so on) of theoperating system on which the executable runs, unless thatcomponent itself accompanies the executable.It may happen that this requirement contradicts the licenserestrictions of other proprietary libraries that do not normallyaccompany the operating system. Such a contradiction means youcannot use both them and the Library together in an executablethat you distribute. 7. You may place library facilities that are a work based on theLibrary side-by-side in a single library together with otherlibrary facilities not covered by this License, and distributesuch a combined library, provided that the separate distributionof the work based on the Library and of the other libraryfacilities is otherwise permitted, and provided that you dothese 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, ordistribute the Library except as expressly provided under thisLicense. Any attempt otherwise to copy, modify, sublicense,link with, or distribute the Library is void, and willautomatically terminate your rights under this License.However, parties who have received copies, or rights, from youunder this License will not have their licenses terminated solong as such parties remain in full compliance.9. You are not required to accept this License, since you havenot signed it. However, nothing else grants you permission tomodify or distribute the Library or its derivative works. Theseactions are prohibited by law if you do not accept thisLicense. Therefore, by modifying or distributing the Library(or any work based on the Library), you indicate your acceptanceof this License to do so, and all its terms and conditions forcopying, distributing or modifying the Library or works based onit.10. Each time you redistribute the Library (or any work based onthe Library), the recipient automatically receives a licensefrom the original licensor to copy, distribute, link with ormodify the Library subject to these terms and conditions. Youmay not impose any further restrictions on the recipients'exercise of the rights granted herein. You are not responsiblefor enforcing compliance by third parties to this License. 11. If, as a consequence of a court judgment or allegation ofpatent infringement or for any other reason (not limited topatent issues), conditions are imposed on you (whether by courtorder, agreement or otherwise) that contradict the conditions ofthis License, they do not excuse you from the conditions of thisLicense. If you cannot distribute so as to satisfysimultaneously your obligations under this License and any otherpertinent obligations, then as a consequence you may notdistribute the Library at all. For example, if a patent licensewould not permit royalty-free redistribution of the Library byall those who receive copies directly or indirectly through you,then the only way you could satisfy both it and this Licensewould be to refrain entirely from distribution of the Library.If any portion of this section is held invalid or unenforceableunder any particular circumstance, the balance of the section isintended to apply, and the section as a whole is intended toapply in other circumstances.It is not the purpose of this section to induce you to infringeany patents or other property right claims or to contestvalidity of any such claims; this section has the sole purposeof protecting the integrity of the free software distributionsystem which is implemented by public license practices. Manypeople have made generous contributions to the wide range ofsoftware distributed through that system in reliance onconsistent application of that system; it is up to theauthor/donor to decide if he or she is willing to distributesoftware through any other system and a licensee cannot imposethat choice.This section is intended to make thoroughly clear what isbelieved to be a consequence of the rest of this License.12. If the distribution and/or use of the Library is restrictedin certain countries either by patents or by copyrightedinterfaces, the original copyright holder who places the Libraryunder this License may add an explicit geographical distributionlimitation excluding those countries, so that distribution ispermitted only in or among countries not thus excluded. In suchcase, this License incorporates the limitation as if written inthe body of this License.13. The Free Software Foundation may publish revised and/or newversions of the Library General Public License from time totime. Such new versions will be similar in spirit to the presentversion, but may differ in detail to address new problems orconcerns.Each version is given a distinguishing version number. If theLibrary specifies a version number of this License which appliesto it and "any later version", you have the option of followingthe terms and conditions either of that version or of any laterversion published by the Free Software Foundation. If theLibrary does not specify a license version number, you maychoose any version ever published by the Free SoftwareFoundation.14. If you wish to incorporate parts of the Library into otherfree programs whose distribution conditions are incompatiblewith these, write to the author to ask for permission. Forsoftware which is copyrighted by the Free Software Foundation,write to the Free Software Foundation; we sometimes makeexceptions for this. Our decision will be guided by the twogoals of preserving the free status of all derivatives of ourfree software and of promoting the sharing and reuse of softwaregenerally. NO WARRANTY 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NOWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OROTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND,EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THELIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUMETHE COST OF ALL NECESSARY 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 YOUFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIALDAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THELIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEINGRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR AFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IFSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New LibrariesIf you develop a new library, and you want it to be of thegreatest possible use to the public, we recommend making it freesoftware that everyone can redistribute and change. You can doso by permitting redistribution under these terms (or,alternatively, under the terms of the ordinary General PublicLicense).To apply these terms, attach the following notices to thelibrary. It is safest to attach them to the start of eachsource file to most effectively convey the exclusion ofwarranty; and each file should have at least the "copyright"line and a pointer to where the full notice is found. <one line to give the library's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.Also add information on how to contact you by electronic and paper mail.You should also get your employer (if you work as a programmer) or yourschool, if any, to sign a "copyright disclaimer" for the library, ifnecessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. <signature of Ty Coon>, 1 April 1990 Ty Coon, President of ViceThat's all there is to it!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -