操作編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 theHQWLUH FRPELQDWLRQ ¿ WV LWV FULWHULD RI IUHHGRP 7KH /HVVHU *HQHUDOPublic 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 toUXQ WKDW SURJUDP XVLQJ D PRGL¿ HG YHUVLRQ RI WKH /LEUDU\The precise terms and conditions for copying, distribution andPRGL¿FDWLRQ IROORZ 3D\ FORVH DWWHQWLRQ WR WKH GLIIHUHQFH EHWZHHQ D“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 aSRUWLRQ RI LW HLWKHU YHUEDWLP RU ZLWK PRGL¿ FDWLRQV DQGRU WUDQVODWHGstraightforwardly into another language. (Hereinafter, translation isLQFOXGHG ZLWKRXW OLPLWDWLRQ LQ WKH WHUP ³PRGL¿ FDWLRQ´“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, plusDQ\ DVVRFLDWHG LQWHUIDFH GH¿ QLWLRQ ¿ OHV SOXV WKH VFULSWV XVHG WRcontrol 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 andGLVWULEXWH VXFK PRGL¿ FDWLRQV RU ZRUN XQGHU WKH WHUPV RI 6HFWLRQ above, provided that you also meet all of these conditions:D 7KH PRGL¿ HG ZRUN PXVW LWVHOI EH D VRIWZDUH OLEUDU\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.G ,I D IDFLOLW\ LQ WKH PRGL¿ HG /LEUDU\ UHIHUV WR D IXQFWLRQ RU Dtable 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. IfLGHQWL¿ DEOH VHFWLRQV RI WKDW ZRUN DUH QRW GHULYHG IURP WKH /LEUDU\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.117料資