準備編and a “work that uses the library”. The former contains code derived from thelibrary, whereas the latter must be combined with the library in order to run.GNU LESSER GENERAL PUBLIC LICENSETERMS AND CONDITIONS FOR COPYING,DISTRIBUTION AND MODIFICATION0. This License Agreement applies to any software library or other program whichcontains a notice placed by the copyright holder or other authorized party sayingit may be distributed under the terms of this Lesser General Public License (alsocalled “this License”). Each licensee is addressed as “you”.A “library” means a collection of software functions and/or data prepared soas to be conveniently linked with application programs (which use some of thosefunctions and data) to form executables.The “Library”, below, refers to any such software library or work which has beendistributed under these terms. A “work based on the Library” means either theLibrary or any derivative work under copyright law: that is to say, a work containingthe Library or a portion of it, either verbatim or with modifications and/or translatedstraightforwardly into another 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 the source codefor all modules it contains, plus any associated interface definition files, plus thescripts used to control compilation and installation of the library.Activities other than copying, distribution and modification are not covered by thisLicense; they are outside its scope. The act of running a program using the Libraryis not restricted, and output from such a program is covered only if its contentsconstitute a work based on the Library (independent of the use of the Library in a toolfor writing it). Whether that is true depends on what the Library does and what theprogram that uses the Library does.1. You may copy and distribute verbatim copies of the Library’s complete sourcecode as you receive it, in any medium, provided that you conspicuously andappropriately publish on each copy an appropriate copyright notice and disclaimerof warranty; keep intact all the notices that refer to this License and to the absenceof any warranty; and distribute a copy of this License along with the Library.You may charge a fee for the physical act of transferring a copy, and you may atyour option offer warranty protection in exchange for a fee.2. You may modify your copy or copies of the Library or any portion of it, thusforming a work based on the Library, and copy and distribute such modifications orwork under the terms of Section 1 above, provided that you also meet all of theseconditions:a) The modified work must itself be a software library.b) You must cause the files modified to carry prominent notices stating thatyou changed the files and the date of any change.c) You must cause the whole of the work to be licensed at no charge to allthird parties under the terms of this License.d)If a facility in the modified Library refers to a function or a table of datato be supplied by an application program that uses the facility, otherthan as an argument passed when the facility is invoked, then you mustmake a good faith effort to ensure that, in the event an application doesnot supply such 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 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 does notsupply it, the square root function must still compute square roots.)These requirements apply to the modified work as a whole. If identifiable sectionsof that work are not derived from the Library, and can be reasonably consideredindependent and separate works in themselves, then this License, and its terms,do not apply to those sections when you distribute them as separate works. Butwhen you distribute the same sections as part of a whole which is a work basedon the Library, the distribution of the whole must be on the terms of this License,whose permissions for other licensees extend to the entire whole, and thus to eachand every part regardless of who wrote it.Thus, it is not the intent of this section to claim rights or contest your rights towork written entirely by you; rather, the intent is to exercise the right to control thedistribution of derivative or collective works based on the Library.In addition, mere aggregation of another work not based on the Library withthe Library (or with a work based on the Library) on a volume of a storage ordistribution medium does not bring the other work under the scope of this License.3. You may opt to apply the terms of the ordinary GNU General Public Licenseinstead of this License to a given copy of the Library. To do this, you must alter allthe notices that refer to this License, so that they refer to the ordinary GNU GeneralPublic License, version 2, instead of to this License. (If a newer version than version2 of the ordinary GNU General Public License has appeared, then you can specifythat 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 that copy, sothe ordinary GNU General Public License applies to all subsequent copies andderivative works made from that copy.This option is useful when you wish to copy part of the code of the Library into aprogram that is not a library.4. You may copy and distribute the Library (or a portion or derivative of it,under Section 2) in object code or executable form under the terms of Sections1 and 2 above provided that you accompany it with the complete correspondingmachinereadable source code, which must be distributed under the terms ofSections 1 and 2 above on a medium customarily 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 source code fromthe same place satisfies the requirement to distribute the source code, even though26_32R1BDP準備編_ブック.indb 89third parties are not compelled to copy the source along with the object code.5. A program that contains no derivative of any portion of the Library, but isdesigned to work with the Library by being compiled or linked with it, is called a“work that uses the Library”. Such a work, in isolation, is not a derivative work ofthe Library, and therefore falls outside the scope of this License.However, linking a “work that uses the Library” with the Library creates anexecutable that is a derivative of the Library (because it contains portionsof the Library), rather than a “work that uses the library”. The executable istherefore covered by this License. Section 6 states terms for distribution of suchexecutables.When a “work that uses the Library” uses material from a header file that is partof the Library, the object code for the work may be a derivative work of the Libraryeven though the source code is not. Whether this is true is especially significantif the work can be linked without the Library, or if the work is itself a library. Thethreshold for this to be true is not precisely defined by law.If such an object file uses only numerical parameters, data structure layouts andaccessors, and small macros and small inline functions (ten lines or less in length),then the use of the object file is unrestricted, regardless of whether it is legallya derivative work. (Executables containing this object code plus portions of theLibrary will still fall under Section 6.)Otherwise, if the work is a derivative of the Library, you may distribute the objectcode for the work under the terms of Section 6. Any executables containing thatwork also fall under Section 6, whether or not they are linked directly with theLibrary 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 work containingportions of the Library, and distribute that work under terms of your choice,provided that the terms permit modification of the work for the customer’so w n u s e a n d re v e r s e e n g i n e e r i n g f o r d e b u g g i n g s u c h m o d i f i c a t i o n s .You must give prominent notice with each copy of the work that the Library is usedin it and that the Library and its use are covered by this License. You must supplya copy of this License. If the work during execution displays copyright notices,you must include the copyright notice for the Library among them, as well as areference directing the user to the copy of this License. Also, you must do one ofthese things:a) Accompany the work with the complete corresponding machine-readablesource code for the Library including whatever changes were used in thework (which must be distributed under Sections 1 and 2 above); and,if the work is an executable linked with the Library, with the completemachine-readable “work that uses the Library”, as object code and/or source code, so that the user can modify the Library and then relinkto produce a modified executable containing the modified Library. (It isunderstood that the user who changes the contents of definitions files inthe Library will not necessarily be able to recompile the application to usethe modified definitions.)b) Use a suitable shared library mechanism for linking with the Library. Asuitable mechanism is one that (1) uses at run time a copy of the libraryalready present on the user’s computer system, rather than copyinglibrary functions into the executable, and (2) will operate properly witha modified version of the library, if the user installs one, as long as themodified version is interface-compatible with the version that the workwas made with.c) Accompany the work with a written offer, valid for at least three years, togive the same user the materials specified in Subsection 6a, above, for acharge no more than the cost of performing this distribution.d) If distribution of the work is made by offering access to copy from adesignated place, offer equivalent access to copy the above specifiedmaterials from the same place.e) Verify that the user has already received a copy of these materials or thatyou have already sent this user a copy.For an executable, the required form of the “work that uses the Library” mustinclude any data and utility programs needed for reproducing the executable fromit. However, as a special exception, the materials to be distributed need not includeanything that is normally distributed (in either source or binary form) with the majorcomponents (compiler, kernel, and so on) of the operating system on which theexecutable runs, unless that component itself accompanies the executable.It may happen that this requirement contradicts the license restrictions of otherproprietary libraries that do not normally accompany the operating system. Sucha contradiction means you cannot use both them and the Library together in anexecutable that you distribute.7. You may place library facilities that are a work based on the Library sideby-side in a single library together with other library facilities not covered bythis License, and distribute such a combined library, provided that the separatedistribution of the work based on the Library and of the other library facilities isotherwise permitted, and provided that you do these two things:a) Accompany the combined library with a copy of the same work basedon the Library, uncombined with any other library facilities. This must bedistributed under the terms of the Sections above.b) Give prominent notice with the combined library of the fact that partof it is a work based on the Library, and explaining where to find theaccompanying uncombined form of the same work.8. You may not copy, modify, sublicense, link with, or distribute the Libraryexcept as expressly provided under this License. Any attempt otherwise to copy,modify, sublicense, link with, or distribute the Library is void, and will automaticallyterminate your rights under this License. However, parties who have receivedcopies, or rights, from you under this License will not have their licenses terminatedso long as such parties remain in full compliance.9. You are not required to accept this License, since you have not signed it.However, nothing else grants you permission to modify or distribute the Library orits derivative works. These actions are prohibited by law if you do not accept thisLicense. Therefore, by modifying or distributing the Library (or any work based on資料エンドユーザーライセンスアグリーメント原文892010/03/11 10:55:57