操作編When a program is linked with a library, whether statically or usinga shared 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 theentire combination fi ts its criteria of freedom. The Lesser GeneralPublic License permits more lax criteria for linking other code withthe library.1. You may copy and distribute verbatim copies of the Library’scomplete source code as you receive it, in any medium, providedthat you conspicuously and appropriately publish on each copyan appropriate copyright notice and disclaimer of warranty; keepintact all the notices that refer to this License and to the absenceof any warranty; and distribute a copy of this License along withthe Library.We call this license the “Lesser” General Public License because itdoes Less to protect the user’s freedom than the ordinary GeneralPublic License. It also provides other free software developersLess of an advantage over competing nonfree programs. Thesedisadvantages are the reason we use the ordinary General PublicLicense for many libraries. However, the Lesser license providesadvantages in certain special circumstances.You may charge a fee for the physical act of transferring a copy,and you may at your option offer warranty protection in exchangefor a fee.For example, on rare occasions, there may be a special need toencourage the widest possible use of a certain library, so that itbecomes a de-facto standard. To achieve this, non-free programsmust be allowed to use the library. A more frequent case is that afree library does the same job as widely used non-free libraries.In this case, there is little to gain by limiting the free library to freesoftware only, so we use the Lesser General Public License.In other cases, permission to use a particular library in nonfreeprograms enables a greater number of people to use a largebody of free software. For example, permission to use the GNUC Library in non-free programs enables many more people to usethe whole GNU operating system, as well as its variant, the GNU/Linux operating system.Although the Lesser General Public License is Less protective ofthe users’ freedom, it does ensure that the user of a program thatis linked with the Library has the freedom and the wherewithal torun that program using a modifi ed 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 lattermust be combined with the library in order to run.GNU LESSER GENERAL PUBLIC LICENSE TERMSAND CONDITIONS FOR COPYING, DISTRIBUTION ANDMODIFICATION0. This License Agreement applies to any software library or otherprogram which contains a notice placed by the copyright holder orother authorized party saying it may be distributed under the termsof this Lesser General Public License (also called “this License”).Each licensee 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 workwhich has been distributed under these terms. A “work based onthe Library” means either the Library or any derivative work undercopyright law: that is to say, a work containing the Library or aportion of it, either verbatim or with modifi cations and/or translatedstraightforwardly into another language. (Hereinafter, translation isincluded without limitation in the term “modifi cation”.)“Source code” for a work means the preferred form of the workfor making modifi cations to it. For a library, complete sourcecode means all the source code for all modules it contains, plusany associated interface defi nition fi les, plus the scripts used tocontrol compilation and installation of the library.Activities other than copying, distribution and modifi cation arenot covered by thisLicense; they are outside its scope. The act ofrunning a program using the Library is not restricted, and outputfrom such a program is covered only if its contents constitute awork based on the Library (independent of the use of the Libraryin a tool for writing it). Whether that is true depends on what theLibrary does and what the program that uses the Library does.2. You may modify your copy or copies of the Library or any portionof it, thus forming a work based on the Library, and copy anddistribute such modifi cations or work under the terms of Section 1above, provided that you also meet all of these conditions:a) The modifi ed work must itself be a software library.b) You must cause the fi les modifi ed to carry prominentnotices stating that you changed the fi les and the date ofany change.c) You must cause the whole of the work to be licensed at nocharge to all third parties under the terms of this License.d) If a facility in the modifi ed Library refers to a function or atable of data to be supplied by an application program thatuses the facility, other than as an argument passed whenthe facility is invoked, then you must make a good faith effortto ensure that, in the event an application does not supplysuch function or table, the facility still operates, and performswhatever part of its purpose remains meaningful.(For example, a function in a library to compute square rootshas a purpose that is entirely well-defined independent ofthe application. Therefore, Subsection 2d requires that anyapplication-supplied function or table used by this functionmust be optional: if the application does not supply it, thesquare root function must still compute square roots.)These requirements apply to the modifi ed work as a whole. Ifidentifi able sections of that work are not derived from the Library,and can be reasonably considered independent and separateworks in themselves, then this License, and its terms, do not applyto those sections when you distribute them as separate works.But when you distribute the same sections as part of a wholewhich is a work based on the Library, the distribution of the wholemust be on the terms of this License, whose permissions for otherlicensees extend to the entire whole, and thus to each and everypart 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 isto exercise the right to control the distribution of derivative orcollective works based on the Library.In addition, mere aggregation of another work not based on theLibrary with the Library (or with a work based on the Library) ona volume of a storage or distribution medium does not bring theother work under the scope of this License.3. You may opt to apply the terms of the ordinary GNU GeneralPublic License instead of this License to a given copy of theLibrary. To do this, you must alter all the notices that refer to thisLicense, so that they refer to the ordinary GNU General PublicLicense, version 2, instead of to this License. (If a newer versionthan version 2 of the ordinary GNU General Public License hasappeared, then you can specify that version instead if you wish.)Do not make any other change in these 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.117Book-HW32 manual.indb 1172010/10/4 上午 11:53:27