⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lgpl.texi

📁 CFL是Unix下的通用抽象库,以简化Unix下的系统软件开发,CFL库中包含几个分组的函数和宏
💻 TEXI
📖 第 1 页 / 共 2 页
字号:
@c \input texinfo.tex    @c -*-texinfo-*-@c @c %**start of header@c All text is ignored before the setfilename.@setfilename LGPL.info@center GNU LESSER GENERAL PUBLIC LICENSE@center Version 2.1, February 1999@sp 1Copyright @copyright{} 1991, 1999 Free Software Foundation, Inc.,59 Temple Place, Suite 330, Boston, MA  02111-1307  USA Everyone is permitted to copy and distribute verbatim copies of thislicense document, but changing it is not allowed.[This is the first released version of the Lesser GPL.  It also countsas the successor of the GNU Library Public License, version 2, hence theversion number 2.1.]@sp 1@center Preamble@sp 1The licenses for most software are designed to take away your freedom toshare and change it.  By contrast, the GNU General Public Licenses areintended to guarantee your freedom to share and change free software--tomake sure the software is free for all its users.This license, the Lesser General Public License, applies to somespecially designated software packages--typically libraries--of the FreeSoftware Foundation and other authors who decide to use it.  You can useit too, but we suggest you first think carefully about whether thislicense or the ordinary General Public License is the better strategy touse in any particular case, based on the explanations below.When we speak of free software, we are referring to freedom of use, notprice.  Our General Public Licenses are designed to make sure that youhave the freedom to distribute copies of free software (and charge forthis service if you wish); that you receive source code or can get it ifyou want it; that you can change the software and use pieces of it innew free programs; and that you are informed that you can do thesethings.To protect your rights, we need to make restrictions that forbiddistributors to deny you these rights or to ask you to surrender theserights.  These restrictions translate to certain responsibilities foryou if you distribute copies of the library or if you modify it.For example, if you distribute copies of the library, whether gratis orfor a fee, you must give the recipients all the rights that we gave you.You must make sure that they, too, receive or can get the source code.If you link other code with the library, you must provide completeobject files to the recipients, so that they can relink them with thelibrary after making changes to the library and recompiling it.  And youmust show them these terms so they know their rights.We protect your rights with a two-step method: (1) we copyright thelibrary, and (2) we offer you this license, which gives you legalpermission to copy, distribute and/or modify the library.To protect each distributor, we want to make it very clear that there isno warranty for the free library.  Also, if the library is modified bysomeone else and passed on, the recipients should know that what theyhave is not the original version, so that the original author'sreputation will not be affected by problems that might be introduced byothers.Finally, software patents pose a constant threat to the existence of anyfree program.  We wish to make sure that a company cannot effectivelyrestrict the users of a free program by obtaining a restrictive licensefrom a patent holder.  Therefore, we insist that any patent licenseobtained for a version of the library must be consistent with the fullfreedom of use specified in this license.Most GNU software, including some libraries, is covered by the ordinaryGNU General Public License.  This license, the GNU Lesser General PublicLicense, applies to certain designated libraries, and is quite differentfrom the ordinary General Public License.  We use this license forcertain libraries in order to permit linking those libraries intonon-free programs.When a program is linked with a library, whether statically or using ashared library, the combination of the two is legally speaking acombined work, a derivative of the original library.  The ordinaryGeneral Public License therefore permits such linking only if the entirecombination fits its criteria of freedom.  The Lesser General PublicLicense permits more lax criteria for linking other code with thelibrary.We call this license the ``Lesser'' General Public License because it doesLess to protect the user's freedom than the ordinary General PublicLicense.  It also provides other free software developers Less of anadvantage over competing non-free programs.  These disadvantages are thereason we use the ordinary General Public License for many libraries.However, the Lesser license provides advantages in certain specialcircumstances.For example, on rare occasions, there may be a special need to encouragethe widest possible use of a certain library, so that it becomes ade-facto standard.  To achieve this, non-free programs must be allowedto use the library.  A more frequent case is that a free library doesthe same job as widely used non-free libraries.  In this case, there islittle to gain by limiting the free library to free software only, so weuse the Lesser General Public License.In other cases, permission to use a particular library in non-freeprograms enables a greater number of people to use a large body of freesoftware.  For example, permission to use the GNU C Library in non-freeprograms enables many more people to use the whole GNU operating system,as well as its variant, the GNU/Linux operating system.Although the Lesser General Public License is Less protective of theusers' freedom, it does ensure that the user of a program that is linkedwith the Library has the freedom and the wherewithal to run that programusing a modified version of the Library.The precise terms and conditions for copying, distribution andmodification follow.  Pay close attention to the difference between a``work based on the library'' and a ``work that uses the library''.  Theformer contains code derived from the library, whereas the latter mustbe combined with the library in order to run.@page@center GNU LESSER GENERAL PUBLIC LICENSE@center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION@enumerate 0@sp 1@itemThis License Agreement applies to any software library or other programwhich contains a notice placed by the copyright holder or otherauthorized party saying it may be distributed under the terms of thisLesser General Public License (also called ``this License'').  Eachlicensee is addressed as ``you''.A ``library'' means a collection of software functions and/or dataprepared so as to be conveniently linked with application programs(which use some of those functions and data) to form executables.The ``Library'', below, refers to any such software library or work whichhas been distributed under these terms.  A ``work based on the Library''means either the Library or any derivative work under copyright law:that is to say, a work containing the Library or a portion of it, eitherverbatim or with modifications and/or translated straightforwardly intoanother language.  (Hereinafter, translation is included withoutlimitation in the term ``modification''.)``Source code'' for a work means the preferred form of the work for makingmodifications to it.  For a library, complete source code means all thesource code for all modules it contains, plus any associated interfacedefinition files, plus the scripts used to control compilation andinstallation of the library.Activities other than copying, distribution and modification are notcovered by this License; they are outside its scope.  The act of runninga program using the Library is not restricted, and output from such aprogram is covered only if its contents constitute a work based on theLibrary (independent of the use of the Library in a tool for writingit).  Whether that is true depends on what the Library does and what theprogram that uses the Library does.@sp 1@itemYou may copy and distribute verbatim copies of the Library's completesource code as you receive it, in any medium, provided that youconspicuously and appropriately publish on each copy an appropriatecopyright notice and disclaimer of warranty; keep intact all the noticesthat refer to this License and to the absence of any warranty; anddistribute a copy of this License along with the Library.You may charge a fee for the physical act of transferring a copy, andyou may at your option offer warranty protection in exchange for a fee.@sp 1@itemYou may modify your copy or copies of the Library or any portion of it,thus forming a work based on the Library, and copy and distribute suchmodifications or work under the terms of Section 1 above, provided thatyou also meet all of these conditions:@enumerate a@itemThe modified work must itself be a software library.@sp 1@itemYou must cause the files modified to carry prominent notices statingthat you changed the files and the date of any change.@sp 1@itemYou must cause the whole of the work to be licensed at no charge to allthird parties under the terms of this License.@sp 1@itemIf a facility in the modified Library refers to a function or a table ofdata to be supplied by an application program that uses the facility,other than as an argument passed when the facility is invoked, then youmust make a good faith effort to ensure that, in the event anapplication does not supply such function or table, the facility stilloperates, and performs whatever part of its purpose remains meaningful.(For example, a function in a library to compute square roots has apurpose that is entirely well-defined independent of the application.Therefore, Subsection 2d requires that any application-supplied functionor table used by this function must be optional: if the application doesnot supply it, the square root function must still compute squareroots.)@end enumerateThese requirements apply to the modified work as a whole.  Ifidentifiable sections of that work are not derived from the Library, andcan be reasonably considered independent and separate works inthemselves, then this License, and its terms, do not apply to thosesections when you distribute them as separate works.  But when youdistribute the same sections as part of a whole which is a work based onthe Library, the distribution of the whole must be on the terms of thisLicense, whose permissions for other licensees extend to the entirewhole, and thus to each and every part regardless of who wrote it.Thus, it is not the intent of this section to claim rights or contestyour rights to work written entirely by you; rather, the intent is toexercise the right to control the distribution of derivative orcollective works based on the Library.In addition, mere aggregation of another work not based on the Librarywith the Library (or with a work based on the Library) on a volume of astorage or distribution medium does not bring the other work under thescope of this License.@sp 1@itemYou may opt to apply the terms of the ordinary GNU General PublicLicense instead of this License to a given copy of the Library.  To dothis, you must alter all the notices that refer to this License, so thatthey refer to the ordinary GNU General Public License, version 2,instead of to this License.  (If a newer version than version 2 of theordinary GNU General Public License has appeared, then you can specifythat version instead if you wish.)  Do not make any other change inthese notices.Once this change is made in a given copy, it is irreversible for thatcopy, so the ordinary GNU General Public License applies to allsubsequent copies and derivative works made from that copy.This option is useful when you wish to copy part of the code of theLibrary into a program that is not a library.@sp 1@itemYou may copy and distribute the Library (or a portion or derivative ofit, under Section 2) in object code or executable form under the termsof 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.@sp 1@itemA program that contains no derivative of any portion of the Library, butis designed to work with the Library by being compiled or linked withit, 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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -