File indexing completed on 2025-01-26 03:40:29
0001 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 0002 "http://www.w3.org/TR/html40/strict.dtd"> 0003 <HTML LANG="en-US"> 0004 <HEAD> 0005 <TITLE>GNU Lesser General Public License</TITLE> 0006 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"> 0007 <META HTTP-EQUIV="Content-Language" CONTENT="en-US"> 0008 <META NAME="description" CONTENT="GNU lesser general public license (for inclusion in library distributions)"> 0009 <META NAME="keywords" CONTENT="gnu, Gnu, GNU, license, licence, software, free software, software license, software licence, GNU general public license, GNU General Public License, library licence, library license, software library, software libraries, GNU lesser general public license, GNU Lesser General Public License"> 0010 <META NAME="robots" CONTENT="none"> 0011 <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> 0012 <LINK REL="stylesheet" HREF="kde-default.css" TYPE="text/css"> 0013 </HEAD> 0014 <BODY CLASS="license"> 0015 <H1>GNU LESSER GENERAL PUBLIC LICENSE</H1> 0016 <P>Version 2.1, February 1999</P> 0017 0018 <P>Copyright (C) 1991, 1999 Free Software Foundation, Inc. 0019 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA<BR> 0020 Everyone is permitted to copy and distribute verbatim copies 0021 of this license document, but changing it is not allowed.</P> 0022 0023 <P>[This is the first released version of the Lesser GPL. It also counts 0024 as the successor of the GNU Library Public License, version 2, hence 0025 the version number 2.1.]</P> 0026 0027 <H2>Preamble</H2> 0028 0029 <P>The licenses for most software are designed to take away your 0030 freedom to share and change it. By contrast, the GNU General Public 0031 Licenses are intended to guarantee your freedom to share and change 0032 free software--to make sure the software is free for all its users.</P> 0033 0034 <P>This license, the Lesser General Public License, applies to some 0035 specially designated software packages--typically libraries--of the 0036 Free Software Foundation and other authors who decide to use it. You 0037 can use it too, but we suggest you first think carefully about whether 0038 this license or the ordinary General Public License is the better 0039 strategy to use in any particular case, based on the explanations below.</P> 0040 0041 <P>When we speak of free software, we are referring to freedom of use, 0042 not price. Our General Public Licenses are designed to make sure that 0043 you have the freedom to distribute copies of free software (and charge 0044 for this service if you wish); that you receive source code or can get 0045 it if you want it; that you can change the software and use pieces of 0046 it in new free programs; and that you are informed that you can do 0047 these things.</P> 0048 0049 <P>To protect your rights, we need to make restrictions that forbid 0050 distributors to deny you these rights or to ask you to surrender these 0051 rights. These restrictions translate to certain responsibilities for 0052 you if you distribute copies of the library or if you modify it.</P> 0053 0054 <P>For example, if you distribute copies of the library, whether gratis 0055 or for a fee, you must give the recipients all the rights that we gave 0056 you. You must make sure that they, too, receive or can get the source 0057 code. If you link other code with the library, you must provide 0058 complete object files to the recipients, so that they can relink them 0059 with the library after making changes to the library and recompiling 0060 it. And you must show them these terms so they know their rights.</P> 0061 0062 <P>We protect your rights with a two-step method: (1) we copyright the 0063 library, and (2) we offer you this license, which gives you legal 0064 permission to copy, distribute and/or modify the library.</P> 0065 0066 <P>To protect each distributor, we want to make it very clear that 0067 there is no warranty for the free library. Also, if the library is 0068 modified by someone else and passed on, the recipients should know 0069 that what they have is not the original version, so that the original 0070 author's reputation will not be affected by problems that might be 0071 introduced by others.</P> 0072 0073 <P>Finally, software patents pose a constant threat to the existence of 0074 any free program. We wish to make sure that a company cannot 0075 effectively restrict the users of a free program by obtaining a 0076 restrictive license from a patent holder. Therefore, we insist that 0077 any patent license obtained for a version of the library must be 0078 consistent with the full freedom of use specified in this license.</P> 0079 0080 <P>Most GNU software, including some libraries, is covered by the 0081 ordinary GNU General Public License. This license, the GNU Lesser 0082 General Public License, applies to certain designated libraries, and 0083 is quite different from the ordinary General Public License. We use 0084 this license for certain libraries in order to permit linking those 0085 libraries into non-free programs.</P> 0086 0087 <P>When a program is linked with a library, whether statically or using 0088 a shared library, the combination of the two is legally speaking a 0089 combined work, a derivative of the original library. The ordinary 0090 General Public License therefore permits such linking only if the 0091 entire combination fits its criteria of freedom. The Lesser General 0092 Public License permits more lax criteria for linking other code with 0093 the library.</P> 0094 0095 <P>We call this license the "Lesser" General Public License because it 0096 does Less to protect the user's freedom than the ordinary General 0097 Public License. It also provides other free software developers Less 0098 of an advantage over competing non-free programs. These disadvantages 0099 are the reason we use the ordinary General Public License for many 0100 libraries. However, the Lesser license provides advantages in certain 0101 special circumstances.</P> 0102 0103 <P>For example, on rare occasions, there may be a special need to 0104 encourage the widest possible use of a certain library, so that it becomes 0105 a de-facto standard. To achieve this, non-free programs must be 0106 allowed to use the library. A more frequent case is that a free 0107 library does the same job as widely used non-free libraries. In this 0108 case, there is little to gain by limiting the free library to free 0109 software only, so we use the Lesser General Public License.</P> 0110 0111 <P>In other cases, permission to use a particular library in non-free 0112 programs enables a greater number of people to use a large body of 0113 free software. For example, permission to use the GNU C Library in 0114 non-free programs enables many more people to use the whole GNU 0115 operating system, as well as its variant, the GNU/Linux operating 0116 system.</P> 0117 0118 <P>Although the Lesser General Public License is Less protective of the 0119 users' freedom, it does ensure that the user of a program that is 0120 linked with the Library has the freedom and the wherewithal to run 0121 that program using a modified version of the Library.</P> 0122 0123 <P>The precise terms and conditions for copying, distribution and 0124 modification follow. Pay close attention to the difference between a 0125 "work based on the library" and a "work that uses the library". The 0126 former contains code derived from the library, whereas the latter must 0127 be combined with the library in order to run.</P> 0128 0129 <H2>GNU Lesser General Public License<BR> 0130 Terms And Conditions For Copying, Distribution And Modification</H2> 0131 0132 <P>0. This License Agreement applies to any software library or other 0133 program which contains a notice placed by the copyright holder or 0134 other authorized party saying it may be distributed under the terms of 0135 this Lesser General Public License (also called "this License"). 0136 Each licensee is addressed as "you".</P> 0137 0138 <P>A "library" means a collection of software functions and/or data 0139 prepared so as to be conveniently linked with application programs 0140 (which use some of those functions and data) to form executables.</P> 0141 0142 <P>The "Library", below, refers to any such software library or work 0143 which has been distributed under these terms. A "work based on the 0144 Library" means either the Library or any derivative work under 0145 copyright law: that is to say, a work containing the Library or a 0146 portion of it, either verbatim or with modifications and/or translated 0147 straightforwardly into another language. (Hereinafter, translation is 0148 included without limitation in the term "modification".)</P> 0149 0150 <P>"Source code" for a work means the preferred form of the work for 0151 making modifications to it. For a library, complete source code means 0152 all the source code for all modules it contains, plus any associated 0153 interface definition files, plus the scripts used to control compilation 0154 and installation of the library.</P> 0155 0156 <P>Activities other than copying, distribution and modification are not 0157 covered by this License; they are outside its scope. The act of 0158 running a program using the Library is not restricted, and output from 0159 such a program is covered only if its contents constitute a work based 0160 on the Library (independent of the use of the Library in a tool for 0161 writing it). Whether that is true depends on what the Library does 0162 and what the program that uses the Library does.</P> 0163 0164 <P>1. You may copy and distribute verbatim copies of the Library's 0165 complete source code as you receive it, in any medium, provided that 0166 you conspicuously and appropriately publish on each copy an 0167 appropriate copyright notice and disclaimer of warranty; keep intact 0168 all the notices that refer to this License and to the absence of any 0169 warranty; and distribute a copy of this License along with the 0170 Library.</P> 0171 0172 <P>You may charge a fee for the physical act of transferring a copy, 0173 and you may at your option offer warranty protection in exchange for a 0174 fee.</P> 0175 0176 <P>2. You may modify your copy or copies of the Library or any portion 0177 of it, thus forming a work based on the Library, and copy and 0178 distribute such modifications or work under the terms of Section 1 0179 above, provided that you also meet all of these conditions:</P> 0180 0181 <OL STYLE="list-style-type: lower-alpha;"> 0182 <LI> 0183 <P>The modified work must itself be a software library.</P> 0184 </LI> 0185 0186 <LI> 0187 <P>You must cause the files modified to carry prominent notices 0188 stating that you changed the files and the date of any change.</P> 0189 </LI> 0190 0191 <LI> 0192 <P>You must cause the whole of the work to be licensed at no 0193 charge to all third parties under the terms of this License.</P> 0194 </LI> 0195 0196 <LI> 0197 <P>If a facility in the modified Library refers to a function or a 0198 table of data to be supplied by an application program that uses 0199 the facility, other than as an argument passed when the facility 0200 is invoked, then you must make a good faith effort to ensure that, 0201 in the event an application does not supply such function or 0202 table, the facility still operates, and performs whatever part of 0203 its purpose remains meaningful.</P> 0204 0205 <P>(For example, a function in a library to compute square roots has 0206 a purpose that is entirely well-defined independent of the 0207 application. Therefore, Subsection 2d requires that any 0208 application-supplied function or table used by this function must 0209 be optional: if the application does not supply it, the square 0210 root function must still compute square roots.)</P> 0211 </LI> 0212 </OL> 0213 0214 <P>These requirements apply to the modified work as a whole. If 0215 identifiable sections of that work are not derived from the Library, 0216 and can be reasonably considered independent and separate works in 0217 themselves, then this License, and its terms, do not apply to those 0218 sections when you distribute them as separate works. But when you 0219 distribute the same sections as part of a whole which is a work based 0220 on the Library, the distribution of the whole must be on the terms of 0221 this License, whose permissions for other licensees extend to the 0222 entire whole, and thus to each and every part regardless of who wrote 0223 it.</P> 0224 0225 <P>Thus, it is not the intent of this section to claim rights or contest 0226 your rights to work written entirely by you; rather, the intent is to 0227 exercise the right to control the distribution of derivative or 0228 collective works based on the Library.</P> 0229 0230 <P>In addition, mere aggregation of another work not based on the Library 0231 with the Library (or with a work based on the Library) on a volume of 0232 a storage or distribution medium does not bring the other work under 0233 the scope of this License.</P> 0234 0235 <P>3. You may opt to apply the terms of the ordinary GNU General Public 0236 License instead of this License to a given copy of the Library. To do 0237 this, you must alter all the notices that refer to this License, so 0238 that they refer to the ordinary GNU General Public License, version 2, 0239 instead of to this License. (If a newer version than version 2 of the 0240 ordinary GNU General Public License has appeared, then you can specify 0241 that version instead if you wish.) Do not make any other change in 0242 these notices.</P> 0243 0244 <P>Once this change is made in a given copy, it is irreversible for 0245 that copy, so the ordinary GNU General Public License applies to all 0246 subsequent copies and derivative works made from that copy.</P> 0247 0248 <P>This option is useful when you wish to copy part of the code of 0249 the Library into a program that is not a library.</P> 0250 0251 <P>4. You may copy and distribute the Library (or a portion or 0252 derivative of it, under Section 2) in object code or executable form 0253 under the terms of Sections 1 and 2 above provided that you accompany 0254 it with the complete corresponding machine-readable source code, which 0255 must be distributed under the terms of Sections 1 and 2 above on a 0256 medium customarily used for software interchange.</P> 0257 0258 <P>If distribution of object code is made by offering access to copy 0259 from a designated place, then offering equivalent access to copy the 0260 source code from the same place satisfies the requirement to 0261 distribute the source code, even though third parties are not 0262 compelled to copy the source along with the object code.</P> 0263 0264 <P>5. A program that contains no derivative of any portion of the 0265 Library, but is designed to work with the Library by being compiled or 0266 linked with it, is called a "work that uses the Library". Such a 0267 work, in isolation, is not a derivative work of the Library, and 0268 therefore falls outside the scope of this License.</P> 0269 0270 <P>However, linking a "work that uses the Library" with the Library 0271 creates an executable that is a derivative of the Library (because it 0272 contains portions of the Library), rather than a "work that uses the 0273 library". The executable is therefore covered by this License. 0274 Section 6 states terms for distribution of such executables.</P> 0275 0276 <P>When a "work that uses the Library" uses material from a header file 0277 that is part of the Library, the object code for the work may be a 0278 derivative work of the Library even though the source code is not. 0279 Whether this is true is especially significant if the work can be 0280 linked without the Library, or if the work is itself a library. The 0281 threshold for this to be true is not precisely defined by law.</P> 0282 0283 <P>If such an object file uses only numerical parameters, data 0284 structure layouts and accessors, and small macros and small inline 0285 functions (ten lines or less in length), then the use of the object 0286 file is unrestricted, regardless of whether it is legally a derivative 0287 work. (Executables containing this object code plus portions of the 0288 Library will still fall under Section 6.)</P> 0289 0290 <P>Otherwise, if the work is a derivative of the Library, you may 0291 distribute the object code for the work under the terms of Section 6. 0292 Any executables containing that work also fall under Section 6, 0293 whether or not they are linked directly with the Library itself.</P> 0294 0295 <P>6. As an exception to the Sections above, you may also combine or 0296 link a "work that uses the Library" with the Library to produce a 0297 work containing portions of the Library, and distribute that work 0298 under terms of your choice, provided that the terms permit 0299 modification of the work for the customer's own use and reverse 0300 engineering for debugging such modifications.</P> 0301 0302 <P>You must give prominent notice with each copy of the work that the 0303 Library is used in it and that the Library and its use are covered by 0304 this License. You must supply a copy of this License. If the work 0305 during execution displays copyright notices, you must include the 0306 copyright notice for the Library among them, as well as a reference 0307 directing the user to the copy of this License. Also, you must do one 0308 of these things:</P> 0309 0310 <OL STYLE="list-style-type: lower-alpha;"> 0311 <LI> 0312 <P>Accompany the work with the complete corresponding 0313 machine-readable source code for the Library including whatever 0314 changes were used in the work (which must be distributed under 0315 Sections 1 and 2 above); and, if the work is an executable linked 0316 with the Library, with the complete machine-readable "work that 0317 uses the Library", as object code and/or source code, so that the 0318 user can modify the Library and then relink to produce a modified 0319 executable containing the modified Library. (It is understood 0320 that the user who changes the contents of definitions files in the 0321 Library will not necessarily be able to recompile the application 0322 to use the modified definitions.)</P> 0323 </LI> 0324 0325 <LI> 0326 <P>Use a suitable shared library mechanism for linking with the 0327 Library. A suitable mechanism is one that (1) uses at run time a 0328 copy of the library already present on the user's computer system, 0329 rather than copying library functions into the executable, and (2) 0330 will operate properly with a modified version of the library, if 0331 the user installs one, as long as the modified version is 0332 interface-compatible with the version that the work was made with.</P> 0333 </LI> 0334 0335 <LI> 0336 <P>Accompany the work with a written offer, valid for at 0337 least three years, to give the same user the materials 0338 specified in Subsection 6a, above, for a charge no more 0339 than the cost of performing this distribution.</P> 0340 </LI> 0341 0342 <LI> 0343 <P>If distribution of the work is made by offering access to copy 0344 from a designated place, offer equivalent access to copy the above 0345 specified materials from the same place.</P> 0346 </LI> 0347 0348 <LI> 0349 <P>Verify that the user has already received a copy of these 0350 materials or that you have already sent this user a copy.</P> 0351 </LI> 0352 </OL> 0353 0354 <P>For an executable, the required form of the "work that uses the 0355 Library" must include any data and utility programs needed for 0356 reproducing the executable from it. However, as a special exception, 0357 the materials to be distributed need not include anything that is 0358 normally distributed (in either source or binary form) with the major 0359 components (compiler, kernel, and so on) of the operating system on 0360 which the executable runs, unless that component itself accompanies 0361 the executable.</P> 0362 0363 <P>It may happen that this requirement contradicts the license 0364 restrictions of other proprietary libraries that do not normally 0365 accompany the operating system. Such a contradiction means you cannot 0366 use both them and the Library together in an executable that you 0367 distribute.</P> 0368 0369 <P>7. You may place library facilities that are a work based on the 0370 Library side-by-side in a single library together with other library 0371 facilities not covered by this License, and distribute such a combined 0372 library, provided that the separate distribution of the work based on 0373 the Library and of the other library facilities is otherwise 0374 permitted, and provided that you do these two things:</P> 0375 0376 <OL STYLE="list-style-type: lower-alpha;"> 0377 <LI> 0378 <P>Accompany the combined library with a copy of the same work 0379 based on the Library, uncombined with any other library 0380 facilities. This must be distributed under the terms of the 0381 Sections above.</P> 0382 </LI> 0383 0384 <LI> 0385 <P>Give prominent notice with the combined library of the fact 0386 that part of it is a work based on the Library, and explaining 0387 where to find the accompanying uncombined form of the same work.</P> 0388 </LI> 0389 </OL> 0390 0391 <P>8. You may not copy, modify, sublicense, link with, or distribute 0392 the Library except as expressly provided under this License. Any 0393 attempt otherwise to copy, modify, sublicense, link with, or 0394 distribute the Library is void, and will automatically terminate your 0395 rights under this License. However, parties who have received copies, 0396 or rights, from you under this License will not have their licenses 0397 terminated so long as such parties remain in full compliance.</P> 0398 0399 <P>9. You are not required to accept this License, since you have not 0400 signed it. However, nothing else grants you permission to modify or 0401 distribute the Library or its derivative works. These actions are 0402 prohibited by law if you do not accept this License. Therefore, by 0403 modifying or distributing the Library (or any work based on the 0404 Library), you indicate your acceptance of this License to do so, and 0405 all its terms and conditions for copying, distributing or modifying 0406 the Library or works based on it.</P> 0407 0408 <P>10. Each time you redistribute the Library (or any work based on the 0409 Library), the recipient automatically receives a license from the 0410 original licensor to copy, distribute, link with or modify the Library 0411 subject to these terms and conditions. You may not impose any further 0412 restrictions on the recipients' exercise of the rights granted herein. 0413 You are not responsible for enforcing compliance by third parties with 0414 this License.</P> 0415 0416 <P>11. If, as a consequence of a court judgment or allegation of patent 0417 infringement or for any other reason (not limited to patent issues), 0418 conditions are imposed on you (whether by court order, agreement or 0419 otherwise) that contradict the conditions of this License, they do not 0420 excuse you from the conditions of this License. If you cannot 0421 distribute so as to satisfy simultaneously your obligations under this 0422 License and any other pertinent obligations, then as a consequence you 0423 may not distribute the Library at all. For example, if a patent 0424 license would not permit royalty-free redistribution of the Library by 0425 all those who receive copies directly or indirectly through you, then 0426 the only way you could satisfy both it and this License would be to 0427 refrain entirely from distribution of the Library.</P> 0428 0429 <P>If any portion of this section is held invalid or unenforceable under any 0430 particular circumstance, the balance of the section is intended to apply, 0431 and the section as a whole is intended to apply in other circumstances.</P> 0432 0433 <P>It is not the purpose of this section to induce you to infringe any 0434 patents or other property right claims or to contest validity of any 0435 such claims; this section has the sole purpose of protecting the 0436 integrity of the free software distribution system which is 0437 implemented by public license practices. Many people have made 0438 generous contributions to the wide range of software distributed 0439 through that system in reliance on consistent application of that 0440 system; it is up to the author/donor to decide if he or she is willing 0441 to distribute software through any other system and a licensee cannot 0442 impose that choice.</P> 0443 0444 <P>This section is intended to make thoroughly clear what is believed to 0445 be a consequence of the rest of this License.</P> 0446 0447 <P>12. If the distribution and/or use of the Library is restricted in 0448 certain countries either by patents or by copyrighted interfaces, the 0449 original copyright holder who places the Library under this License may add 0450 an explicit geographical distribution limitation excluding those countries, 0451 so that distribution is permitted only in or among countries not thus 0452 excluded. In such case, this License incorporates the limitation as if 0453 written in the body of this License.</P> 0454 0455 <P>13. The Free Software Foundation may publish revised and/or new 0456 versions of the Lesser General Public License from time to time. 0457 Such new versions will be similar in spirit to the present version, 0458 but may differ in detail to address new problems or concerns.</P> 0459 0460 <P>Each version is given a distinguishing version number. If the Library 0461 specifies a version number of this License which applies to it and 0462 "any later version", you have the option of following the terms and 0463 conditions either of that version or of any later version published by 0464 the Free Software Foundation. If the Library does not specify a 0465 license version number, you may choose any version ever published by 0466 the Free Software Foundation.</P> 0467 0468 <P>14. If you wish to incorporate parts of the Library into other free 0469 programs whose distribution conditions are incompatible with these, 0470 write to the author to ask for permission. For software which is 0471 copyrighted by the Free Software Foundation, write to the Free 0472 Software Foundation; we sometimes make exceptions for this. Our 0473 decision will be guided by the two goals of preserving the free status 0474 of all derivatives of our free software and of promoting the sharing 0475 and reuse of software generally.</P> 0476 0477 <H2>No Warranty</H2> 0478 0479 <P>15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 0480 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 0481 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 0482 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 0483 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 0484 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 0485 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 0486 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 0487 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</P> 0488 0489 <P>16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 0490 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 0491 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 0492 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 0493 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 0494 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 0495 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 0496 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 0497 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 0498 DAMAGES.</P> 0499 0500 <DIV STYLE="text-align: center;">END OF TERMS AND CONDITIONS</DIV> 0501 </BODY> 0502 </HTML>