1 -------------------------------------------------------------------- |
1 GNU LESSER GENERAL PUBLIC LICENSE |
2 Copyright (c) 1999 Mike Scott |
|
3 Copyright (C) 1998,1999,2000,2001,2002 Nikos Mavroyanopoulos |
|
4 Copyright 1999 Dr B. R. Gladman |
|
5 -------------------------------------------------------------------- |
|
6 |
|
7 GNU LESSER GENERAL PUBLIC LICENSE |
|
8 Version 2.1, February 1999 |
2 Version 2.1, February 1999 |
9 |
3 |
10 Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
4 Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
11 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
12 Everyone is permitted to copy and distribute verbatim copies |
6 Everyone is permitted to copy and distribute verbatim copies |
13 of this license document, but changing it is not allowed. |
7 of this license document, but changing it is not allowed. |
14 |
8 |
15 [This is the first released version of the Lesser GPL. It also counts |
9 [This is the first released version of the Lesser GPL. It also counts |
16 as the successor of the GNU Library Public License, version 2, hence |
10 as the successor of the GNU Library Public License, version 2, hence |
272 |
263 |
273 Otherwise, if the work is a derivative of the Library, you may |
264 Otherwise, if the work is a derivative of the Library, you may |
274 distribute the object code for the work under the terms of Section 6. |
265 distribute the object code for the work under the terms of Section 6. |
275 Any executables containing that work also fall under Section 6, |
266 Any executables containing that work also fall under Section 6, |
276 whether or not they are linked directly with the Library itself. |
267 whether or not they are linked directly with the Library itself. |
277 ^L |
268 |
278 6. As an exception to the Sections above, you may also combine or |
269 6. As an exception to the Sections above, you may also combine or |
279 link a "work that uses the Library" with the Library to produce a |
270 link a "work that uses the Library" with the Library to produce a |
280 work containing portions of the Library, and distribute that work |
271 work containing portions of the Library, and distribute that work |
281 under terms of your choice, provided that the terms permit |
272 under terms of your choice, provided that the terms permit |
282 modification of the work for the customer's own use and reverse |
273 modification of the work for the customer's own use and reverse |
283 engineering for debugging such modifications. |
274 engineering for debugging such modifications. |
284 |
275 |
285 You must give prominent notice with each copy of the work that the |
276 You must give prominent notice with each copy of the work that the |
286 Library is used in it and that the Library and its use are covered by |
277 This option is useful when you wish to copy part of the code of |
287 this License. You must supply a copy of this License. If the work |
278 the Library into a program that is not a library. |
288 during execution displays copyright notices, you must include the |
279 |
289 copyright notice for the Library among them, as well as a reference |
280 4. You may copy and distribute the Library (or a portion or |
290 directing the user to the copy of this License. Also, you must do one |
281 derivative of it, under Section 2) in object code or executable form |
291 of these things: |
282 under the terms of Sections 1 and 2 above provided that you accompany |
292 |
283 it with the complete corresponding machine-readable source code, which |
293 a) Accompany the work with the complete corresponding |
284 must be distributed under the terms of Sections 1 and 2 above on a |
294 machine-readable source code for the Library including whatever |
285 medium customarily used for software interchange. |
295 changes were used in the work (which must be distributed under |
286 |
296 Sections 1 and 2 above); and, if the work is an executable linked |
287 If distribution of object code is made by offering access to copy |
297 with the Library, with the complete machine-readable "work that |
288 from a designated place, then offering equivalent access to copy the |
298 uses the Library", as object code and/or source code, so that the |
289 source code from the same place satisfies the requirement to |
299 user can modify the Library and then relink to produce a modified |
290 distribute the source code, even though third parties are not |
300 executable containing the modified Library. (It is understood |
291 compelled to copy the source along with the object code. |
301 that the user who changes the contents of definitions files in the |
292 |
302 Library will not necessarily be able to recompile the application |
293 5. A program that contains no derivative of any portion of the |
303 to use the modified definitions.) |
294 Library, but is designed to work with the Library by being compiled or |
304 |
295 linked with it, is called a "work that uses the Library". Such a |
305 b) Use a suitable shared library mechanism for linking with the |
296 work, in isolation, is not a derivative work of the Library, and |
306 Library. A suitable mechanism is one that (1) uses at run time a |
297 therefore falls outside the scope of this License. |
307 copy of the library already present on the user's computer system, |
298 |
308 rather than copying library functions into the executable, and (2) |
299 However, linking a "work that uses the Library" with the Library |
309 will operate properly with a modified version of the library, if |
300 creates an executable that is a derivative of the Library (because it |
310 the user installs one, as long as the modified version is |
301 contains portions of the Library), rather than a "work that uses the |
311 interface-compatible with the version that the work was made with. |
302 library". The executable is therefore covered by this License. |
312 |
303 Section 6 states terms for distribution of such executables. |
313 c) Accompany the work with a written offer, valid for at least |
304 |
314 three years, to give the same user the materials specified in |
305 When a "work that uses the Library" uses material from a header file |
315 Subsection 6a, above, for a charge no more than the cost of |
306 that is part of the Library, the object code for the work may be a |
316 performing this distribution. |
307 derivative work of the Library even though the source code is not. |
317 |
308 Whether this is true is especially significant if the work can be |
318 d) If distribution of the work is made by offering access to copy |
309 linked without the Library, or if the work is itself a library. The |
319 from a designated place, offer equivalent access to copy the above |
310 threshold for this to be true is not precisely defined by law. |
320 specified materials from the same place. |
311 |
321 |
312 If such an object file uses only numerical parameters, data |
322 e) Verify that the user has already received a copy of these |
313 structure layouts and accessors, and small macros and small inline |
323 materials or that you have already sent this user a copy. |
314 functions (ten lines or less in length), then the use of the object |
324 |
315 file is unrestricted, regardless of whether it is legally a derivative |
325 For an executable, the required form of the "work that uses the |
316 work. (Executables containing this object code plus portions of the |
326 Library" must include any data and utility programs needed for |
317 Library will still fall under Section 6.) |
327 reproducing the executable from it. However, as a special exception, |
318 |
328 the materials to be distributed need not include anything that is |
319 Otherwise, if the work is a derivative of the Library, you may |
329 normally distributed (in either source or binary form) with the major |
320 distribute the object code for the work under the terms of Section 6. |
330 components (compiler, kernel, and so on) of the operating system on |
321 Any executables containing that work also fall under Section 6, |
331 which the executable runs, unless that component itself accompanies |
322 whether or not they are linked directly with the Library itself. |
332 the executable. |
323 |
333 |
324 6. As an exception to the Sections above, you may also combine or |
334 It may happen that this requirement contradicts the license |
325 link a "work that uses the Library" with the Library to produce a |
335 restrictions of other proprietary libraries that do not normally |
326 work containing portions of the Library, and distribute that work |
336 accompany the operating system. Such a contradiction means you cannot |
327 under terms of your choice, provided that the terms permit |
337 use both them and the Library together in an executable that you |
328 modification of the work for the customer's own use and reverse |
338 distribute. |
329 engineering for debugging such modifications. |
339 ^L |
330 |
340 7. You may place library facilities that are a work based on the |
331 You must give prominent notice with each copy of the work that the |
341 Library side-by-side in a single library together with other library |
|
342 facilities not covered by this License, and distribute such a combined |
332 facilities not covered by this License, and distribute such a combined |
343 library, provided that the separate distribution of the work based on |
333 library, provided that the separate distribution of the work based on |
344 the Library and of the other library facilities is otherwise |
334 the Library and of the other library facilities is otherwise |
345 permitted, and provided that you do these two things: |
335 permitted, and provided that you do these two things: |
346 |
336 |
410 This section is intended to make thoroughly clear what is believed to |
398 This section is intended to make thoroughly clear what is believed to |
411 be a consequence of the rest of this License. |
399 be a consequence of the rest of this License. |
412 |
400 |
413 12. If the distribution and/or use of the Library is restricted in |
401 12. If the distribution and/or use of the Library is restricted in |
414 certain countries either by patents or by copyrighted interfaces, the |
402 certain countries either by patents or by copyrighted interfaces, the |
415 original copyright holder who places the Library under this License |
403 original copyright holder who places the Library under this License may add |
416 may add an explicit geographical distribution limitation excluding those |
404 an explicit geographical distribution limitation excluding those countries, |
417 countries, so that distribution is permitted only in or among |
405 so that distribution is permitted only in or among countries not thus |
418 countries not thus excluded. In such case, this License incorporates |
406 excluded. In such case, this License incorporates the limitation as if |
419 the limitation as if written in the body of this License. |
407 written in the body of this License. |
420 |
408 |
421 13. The Free Software Foundation may publish revised and/or new |
409 13. The Free Software Foundation may publish revised and/or new |
422 versions of the Lesser General Public License from time to time. |
410 versions of the Lesser General Public License from time to time. |
423 Such new versions will be similar in spirit to the present version, |
411 Such new versions will be similar in spirit to the present version, |
424 but may differ in detail to address new problems or concerns. |
412 but may differ in detail to address new problems or concerns. |
449 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
437 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
450 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
438 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
451 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
439 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
452 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
440 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
453 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
441 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
454 |
442 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
455 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
|
456 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
443 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
457 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
444 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
458 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
445 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
459 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
446 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
460 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
447 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
462 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
449 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
463 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
450 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
464 DAMAGES. |
451 DAMAGES. |
465 |
452 |
466 END OF TERMS AND CONDITIONS |
453 END OF TERMS AND CONDITIONS |
467 ^L |
454 |
468 How to Apply These Terms to Your New Libraries |
455 How to Apply These Terms to Your New Libraries |
469 |
456 |
470 If you develop a new library, and you want it to be of the greatest |
457 If you develop a new library, and you want it to be of the greatest |
471 possible use to the public, we recommend making it free software that |
458 possible use to the public, we recommend making it free software that |
472 everyone can redistribute and change. You can do so by permitting |
459 everyone can redistribute and change. You can do so by permitting |
473 redistribution under these terms (or, alternatively, under the terms |
460 redistribution under these terms (or, alternatively, under the terms of the |
474 of the ordinary General Public License). |
461 ordinary General Public License). |
475 |
462 |
476 To apply these terms, attach the following notices to the library. |
463 To apply these terms, attach the following notices to the library. It is |
477 It is safest to attach them to the start of each source file to most |
464 safest to attach them to the start of each source file to most effectively |
478 effectively convey the exclusion of warranty; and each file should |
465 convey the exclusion of warranty; and each file should have at least the |
479 have at least the "copyright" line and a pointer to where the full |
466 "copyright" line and a pointer to where the full notice is found. |
480 notice is found. |
|
481 |
|
482 |
467 |
483 <one line to give the library's name and a brief idea of what it does.> |
468 <one line to give the library's name and a brief idea of what it does.> |
484 Copyright (C) <year> <name of author> |
469 Copyright (C) <year> <name of author> |
485 |
470 |
486 This library is free software; you can redistribute it and/or |
471 This library is free software; you can redistribute it and/or |
493 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
494 Lesser General Public License for more details. |
479 Lesser General Public License for more details. |
495 |
480 |
496 You should have received a copy of the GNU Lesser General Public |
481 You should have received a copy of the GNU Lesser General Public |
497 License along with this library; if not, write to the Free Software |
482 License along with this library; if not, write to the Free Software |
498 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
483 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
499 |
484 |
500 Also add information on how to contact you by electronic and paper mail. |
485 Also add information on how to contact you by electronic and paper mail. |
501 |
486 |
502 You should also get your employer (if you work as a programmer) or |
487 You should also get your employer (if you work as a programmer) or your |
503 your school, if any, to sign a "copyright disclaimer" for the library, |
488 school, if any, to sign a "copyright disclaimer" for the library, if |
504 if necessary. Here is a sample; alter the names: |
489 necessary. Here is a sample; alter the names: |
505 |
490 |
506 Yoyodyne, Inc., hereby disclaims all copyright interest in the |
491 Yoyodyne, Inc., hereby disclaims all copyright interest in the |
507 library `Frob' (a library for tweaking knobs) written by James |
492 library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
508 Random Hacker. |
|
509 |
493 |
510 <signature of Ty Coon>, 1 April 1990 |
494 <signature of Ty Coon>, 1 April 1990 |
511 Ty Coon, President of Vice |
495 Ty Coon, President of Vice |
512 |
|
513 That's all there is to it! |
|
514 |
|
515 |
|