Rev 1372 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>GNU Lesser General Public License</title><meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"><STYLE>BODY { FONT-SIZE: 12px }</STYLE></head><body><H3>GNU Lesser General Public License</H3><TT><P>Version 2.1, February 1999</P><BLOCKQUOTE><P>Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place, Suite330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distributeverbatim copies of this license document, but changing it is not allowed.</P><P>[This is the first released version of the Lesser GPL. It also counts as thesuccessor of the GNU Library Public License, version 2, hence the versionnumber 2.1.]</P></BLOCKQUOTE><H4>Preamble</H4><P>The licenses for most software are designed to take away your freedom to shareand change it. By contrast, the GNU General Public Licenses are intended toguarantee your freedom to share and change free software--to make sure thesoftware is free for all its users.</P><P>This license, the Lesser General Public License, applies to some speciallydesignated software packages--typically libraries--of the Free SoftwareFoundation and other authors who decide to use it. You can use it too, but wesuggest you first think carefully about whether this license or the ordinaryGeneral Public License is the better strategy to use in any particular case,based on the explanations below.</P><P>When we speak of free software, we are referring to freedom of use, not price.Our General Public Licenses are designed to make sure that you have the freedomto distribute copies of free software (and charge for this service if youwish); that you receive source code or can get it if you want it; that you canchange the software and use pieces of it in new free programs; and that you areinformed that you can do these things.</P><P>To protect your rights, we need to make restrictions that forbid distributors todeny you these rights or to ask you to surrender these rights. Theserestrictions translate to certain responsibilities for you if you distributecopies of the library or if you modify it.</P><P>For example, if you distribute copies of the library, whether gratis or for afee, you must give the recipients all the rights that we gave you. You mustmake sure that they, too, receive or can get the source code. If you link othercode with the library, you must provide complete object files to therecipients, so that they can relink them with the library after making changesto the library and recompiling it. And you must show them these terms so theyknow their rights.</P><P>We protect your rights with a two-step method: (1) we copyright the library, and(2) we offer you this license, which gives you legal permission to copy,distribute and/or modify the library.</P><P>To protect each distributor, we want to make it very clear that there is nowarranty for the free library. Also, if the library is modified by someone elseand passed on, the recipients should know that what they have is not theoriginal version, so that the original author's reputation will not be affectedby problems that might be introduced by others.</P><P>Finally, software patents pose a constant threat to the existence of any freeprogram. We wish to make sure that a company cannot effectively restrict theusers of a free program by obtaining a restrictive license from a patentholder. Therefore, we insist that any patent license obtained for a version ofthe library must be consistent with the full freedom of use specified in thislicense.</P><P>Most GNU software, including some libraries, is covered by the ordinary GNUGeneral Public License. This license, the GNU Lesser General Public License,applies to certain designated libraries, and is quite different from theordinary General Public License. We use this license for certain libraries inorder to permit linking those libraries into non-free programs.</P><P>When a program is linked with a library, whether statically or using a sharedlibrary, the combination of the two is legally speaking a combined work, aderivative of the original library. The ordinary General Public Licensetherefore permits such linking only if the entire combination fits its criteriaof freedom. The Lesser General Public License permits more lax criteria forlinking other code with the library.</P><P>We call this license the "Lesser" General Public License because it does Less toprotect the user's freedom than the ordinary General Public License. It alsoprovides other free software developers Less of an advantage over competingnon-free programs. These disadvantages are the reason we use the ordinaryGeneral Public License for many libraries. However, the Lesser license providesadvantages in certain special circumstances.</P><P>For example, on rare occasions, there may be a special need to encourage thewidest possible use of a certain library, so that it becomes a de-factostandard. To achieve this, non-free programs must be allowed to use thelibrary. A more frequent case is that a free library does the same job aswidely used non-free libraries. In this case, there is little to gain bylimiting the free library to free software only, so we use the Lesser GeneralPublic License.</P><P>In other cases, permission to use a particular library in non-free programsenables a greater number of people to use a large body of free software. Forexample, permission to use the GNU C Library in non-free programs enables manymore people to use the whole GNU operating system, as well as its variant, theGNU/Linux operating system.</P><P>Although the Lesser General Public License is Less protective of the users'freedom, it does ensure that the user of a program that is linked with theLibrary has the freedom and the wherewithal to run that program using amodified version of the Library.</P><P>The precise terms and conditions for copying, distribution and modificationfollow. Pay close attention to the difference between a "work based on thelibrary" and a "work that uses the library". The former contains code derivedfrom the library, whereas the latter must be combined with the library in orderto run.</P><H4>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</H4><P><STRONG>0.</STRONG> This License Agreement applies to any software library orother program which contains a notice placed by the copyright holder or otherauthorized party saying it may be distributed under the terms of this LesserGeneral Public License (also called "this License"). Each licensee is addressedas "you".</P><P>A "library" means a collection of software functions and/or data prepared so asto be conveniently linked with application programs (which use some of thosefunctions and data) to form executables.</P><P>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 workcontaining the Library or a portion of it, either verbatim or withmodifications and/or translated straightforwardly into another language.(Hereinafter, translation is included without limitation in the term"modification".)</P><P>"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 sourcecode for all modules it contains, plus any associated interface definitionfiles, plus the scripts used to control compilation and installation of thelibrary.</P><P>Activities other than copying, distribution and modification are not covered bythis License; they are outside its scope. The act of running a program usingthe Library is not restricted, and output from such a program is covered onlyif its contents constitute a work based on the Library (independent of the useof the Library in a tool for writing it). Whether that is true depends on whatthe Library does and what the program that uses the Library does.</P><P><STRONG>1.</STRONG> You may copy and distribute verbatim copies of the Library'scomplete source code as you receive it, in any medium, provided that youconspicuously and appropriately publish on each copy an appropriate copyrightnotice and disclaimer of warranty; keep intact all the notices that refer tothis License and to the absence of any warranty; and distribute a copy of thisLicense along with the Library.</P><P>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.</P><P><STRONG>2.</STRONG> You may modify your copy or copies of the Library or anyportion of it, thus forming a work based on the Library, and copy anddistribute such modifications or work under the terms of Section 1 above,provided that you also meet all of these conditions:</P><BLOCKQUOTE><P>a) The modified work must itself be a software library.</P><P>b) You must cause the files modified to carry prominent notices stating that youchanged the files and the date of any change.</P><P>c) You must cause the whole of the work to be licensed at no charge to all thirdparties under the terms of this License.</P><P>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, other than asan argument passed when the facility is invoked, then you must make a goodfaith effort to ensure that, in the event an application does not supply suchfunction or table, the facility still operates, and performs whatever part ofits purpose remains meaningful.</P><P>(For example, a function in a library to compute square roots has a purpose thatis entirely well-defined independent of the application. Therefore, Subsection2d requires that any application-supplied function or table used by thisfunction must be optional: if the application does not supply it, the squareroot function must still compute square roots.)</P><P>These requirements apply to the modified work as a whole. If identifiablesections of that work are not derived from the Library, and can be reasonablyconsidered independent and separate works in themselves, then this License, andits terms, do not apply to those sections when you distribute them as separateworks. But when you distribute the same sections as part of a whole which is awork based on the Library, the distribution of the whole must be on the termsof this License, whose permissions for other licensees extend to the entirewhole, and thus to each and every part regardless of who wrote it.</P><P>Thus, it is not the intent of this section to claim rights or contest yourrights to work written entirely by you; rather, the intent is to exercise theright to control the distribution of derivative or collective works based onthe Library.</P><P>In addition, mere aggregation of another work not based on the Library with theLibrary (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 thisLicense.</P></BLOCKQUOTE><P><STRONG>3.</STRONG> You may opt to apply the terms of the ordinary GNU GeneralPublic License 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 that theyrefer to the ordinary GNU General Public License, version 2, instead of to thisLicense. (If a newer version than version 2 of the ordinary GNU General PublicLicense has appeared, then you can specify that version instead if you wish.)Do not make any other change in these notices.</P><P>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.</P><P>This option is useful when you wish to copy part of the code of the Library intoa program that is not a library.</P><P><STRONG>4.</STRONG> You may copy and distribute the Library (or a portion orderivative of it, under Section 2) in object code or executable form under theterms of Sections 1 and 2 above provided that you accompany it with thecomplete corresponding machine-readable source code, which must be distributedunder the terms of Sections 1 and 2 above on a medium customarily used forsoftware interchange.</P><P>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, eventhough third parties are not compelled to copy the source along with the objectcode.</P><P><STRONG>5.</STRONG> A program that contains no derivative of any portion of theLibrary, but is designed to work with the Library by being compiled or linkedwith it, is called a "work that uses the Library". Such a work, in isolation,is not a derivative work of the Library, and therefore falls outside the scopeof this License.</P><P>However, linking a "work that uses the Library" with the Library creates anexecutable that is a derivative of the Library (because it contains portions ofthe Library), rather than a "work that uses the library". The executable istherefore covered by this License. Section 6 states terms for distribution ofsuch executables.</P><P>When a "work that uses the Library" uses material from a header file that ispart of the Library, the object code for the work may be a derivative work ofthe Library even though the source code is not. Whether this is true isespecially significant if the work can be linked without the Library, or if thework is itself a library. The threshold for this to be true is not preciselydefined by law.</P><P>If such an object file uses only numerical parameters, data structure layoutsand accessors, and small macros and small inline functions (ten lines or lessin length), then the use of the object file is unrestricted, regardless ofwhether it is legally a derivative work. (Executables containing this objectcode plus portions of the Library will still fall under Section 6.)</P><P>Otherwise, if the work is a derivative of the Library, you may distribute theobject code for the work under the terms of Section 6. Any executablescontaining that work also fall under Section 6, whether or not they are linkeddirectly with the Library itself.</P><P><STRONG>6.</STRONG> As an exception to the Sections above, you may also combineor link a "work that uses the Library" with the Library to produce a workcontaining portions of the Library, and distribute that work under terms ofyour choice, provided that the terms permit modification of the work for thecustomer's own use and reverse engineering for debugging such modifications.</P><P>You must give prominent notice with each copy of the work that the Library isused in it and that the Library and its use are covered by this License. Youmust supply a copy of this License. If the work during execution displayscopyright notices, you must include the copyright notice for the Library amongthem, as well as a reference directing the user to the copy of this License.Also, you must do one of these things:</P><BLOCKQUOTE><P>a) Accompany the work with the complete corresponding machine-readable sourcecode for the Library including whatever changes were used in the work (whichmust be distributed under Sections 1 and 2 above); and, if the work is anexecutable linked with the Library, with the complete machine-readable "workthat uses the Library", as object code and/or source code, so that the user canmodify the Library and then relink to produce a modified executable containingthe modified Library. (It is understood that the user who changes the contentsof definitions files in the Library will not necessarily be able to recompilethe application to use the modified definitions.)</P><P>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 copying libraryfunctions into the executable, and (2) will operate properly with a modifiedversion of the library, if the user installs one, as long as the modifiedversion is interface-compatible with the version that the work was made with.</P><P>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.</P><P>d) If distribution of the work is made by offering access to copy from adesignated place, offer equivalent access to copy the above specified materialsfrom the same place.</P><P>e) Verify that the user has already received a copy of these materials or thatyou have already sent this user a copy.</P></BLOCKQUOTE><P>For an executable, the required form of the "work that uses the Library" mustinclude any data and utility programs needed for reproducing the executablefrom it. However, as a special exception, the materials to be distributed neednot include anything that is normally distributed (in either source or binaryform) with the major components (compiler, kernel, and so on) of the operatingsystem on which the executable runs, unless that component itself accompaniesthe executable.</P><P>It may happen that this requirement contradicts the license restrictions ofother proprietary libraries that do not normally accompany the operatingsystem. Such a contradiction means you cannot use both them and the Librarytogether in an executable that you distribute.</P><P><STRONG>7.</STRONG> You may place library facilities that are a work based onthe Library side-by-side in a single library together with other libraryfacilities not covered by this License, and distribute such a combined library,provided that the separate distribution of the work based on the Library and ofthe other library facilities is otherwise permitted, and provided that you dothese two things:</P><BLOCKQUOTE><P>a) Accompany the combined library with a copy of the same work based on theLibrary, uncombined with any other library facilities. This must be distributedunder the terms of the Sections above.</P><P>b) Give prominent notice with the combined library of the fact that part of itis a work based on the Library, and explaining where to find the accompanyinguncombined form of the same work.</P></BLOCKQUOTE><P><STRONG>8.</STRONG> You may not copy, modify, sublicense, link with, ordistribute the Library except as expressly provided under this License. Anyattempt otherwise to copy, modify, sublicense, link with, or distribute theLibrary is void, and will automatically terminate your rights under thisLicense. However, parties who have received copies, or rights, from you underthis License will not have their licenses terminated so long as such partiesremain in full compliance.</P><P><STRONG>9.</STRONG> You are not required to accept this License, since you havenot signed it. However, nothing else grants you permission to modify ordistribute the Library or its derivative works. These actions are prohibited bylaw if you do not accept this License. Therefore, by modifying or distributingthe Library (or any work based on the Library), you indicate your acceptance ofthis License to do so, and all its terms and conditions for copying,distributing or modifying the Library or works based on it.</P><P><STRONG>10.</STRONG> Each time you redistribute the Library (or any work basedon the Library), the recipient automatically receives a license from theoriginal licensor to copy, distribute, link with or modify the Library subjectto these terms and conditions. You may not impose any further restrictions onthe recipients' exercise of the rights granted herein. You are not responsiblefor enforcing compliance by third parties with this License.</P><P><STRONG>11.</STRONG> If, as a consequence of a court judgment or allegation ofpatent infringement or for any other reason (not limited to patent issues),conditions are imposed on you (whether by court order, agreement or otherwise)that contradict the conditions of this License, they do not excuse you from theconditions of this License. If you cannot distribute so as to satisfysimultaneously your obligations under this License and any other pertinentobligations, then as a consequence you may not distribute the Library at all.For example, if a patent license would not permit royalty-free redistributionof the Library by all those who receive copies directly or indirectly throughyou, then the only way you could satisfy both it and this License would be torefrain entirely from distribution of the Library.</P><P>If any portion of this section is held invalid or unenforceable under anyparticular circumstance, the balance of the section is intended to apply, andthe section as a whole is intended to apply in other circumstances.</P><P>It is not the purpose of this section to induce you to infringe any patents orother property right claims or to contest validity of any such claims; thissection has the sole purpose of protecting the integrity of the free softwaredistribution system which is implemented by public license practices. Manypeople have made generous contributions to the wide range of softwaredistributed through that system in reliance on consistent application of thatsystem; it is up to the author/donor to decide if he or she is willing todistribute software through any other system and a licensee cannot impose thatchoice.</P><P>This section is intended to make thoroughly clear what is believed to be aconsequence of the rest of this License.</P><P><STRONG>12.</STRONG> If the distribution and/or use of the Library is restrictedin certain countries either by patents or by copyrighted interfaces, theoriginal copyright holder who places the Library under this License may add anexplicit geographical distribution limitation excluding those countries, sothat distribution is permitted only in or among countries not thus excluded. Insuch case, this License incorporates the limitation as if written in the bodyof this License.</P><P><STRONG>13.</STRONG> The Free Software Foundation may publish revised and/or newversions of the Lesser General Public License from time to time. Such newversions will be similar in spirit to the present version, but may differ indetail to address new problems or concerns.</P><P>Each version is given a distinguishing version number. If the Library specifiesa version number of this License which applies to it and "any later version",you have the option of following the terms and conditions either of thatversion or of any later version published by the Free Software Foundation. Ifthe Library does not specify a license version number, you may choose anyversion ever published by the Free Software Foundation.</P><P><STRONG>14.</STRONG> If you wish to incorporate parts of the Library into otherfree programs whose distribution conditions are incompatible with these, writeto the author to ask for permission. For software which is copyrighted by theFree Software Foundation, write to the Free Software Foundation; we sometimesmake exceptions for this. Our decision will be guided by the two goals ofpreserving the free status of all derivatives of our free software and ofpromoting the sharing and reuse of software generally.</P><P>NO WARRANTY</P><P><STRONG>15. </STRONG>BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NOWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPTWHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIESPROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED ORIMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THEQUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVEDEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR ORCORRECTION.</P><P><STRONG>16.</STRONG> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TOIN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/ORREDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUTOF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSSOF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRDPARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVENIF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCHDAMAGES.</P><H4><STRONG>END OF TERMS AND CONDITIONS</STRONG></H4></TT></body></html>