@omrips/viewstl 2.0.0-rc.4 → 2.0.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +19 -173
  2. package/build/{v2/THIRD-PARTY-NOTICES.txt → THIRD-PARTY-NOTICES.txt} +1006 -1006
  3. package/build/{v2/cad → cad}/occt-import-js.source.txt +19 -19
  4. package/build/chunks/archive-JU75RPTU.js +1 -0
  5. package/build/{v2/chunks/cad-VY42CMP4.js → chunks/cad-4JYHORYZ.js} +1 -1
  6. package/build/{v2/chunks/chunk-JH3H3JWA.js → chunks/chunk-OP2L7L4N.js} +1 -1
  7. package/build/{v2/chunks/chunk-ZMK3UZZE.js → chunks/chunk-PQYEV7WH.js} +1 -1
  8. package/build/{v2/chunks/chunk-R3HNTB5A.js → chunks/chunk-Y6VY64LY.js} +1 -1
  9. package/build/{v2/chunks/export-7OP4ZGGJ.js → chunks/export-VM6OQCQJ.js} +3 -3
  10. package/build/{v2/chunks/export-cad-QPBT756V.js → chunks/export-cad-QXCB6UDU.js} +1 -1
  11. package/build/{v2/chunks/export-zip-EDCWH5PX.js → chunks/export-zip-PVXETVLK.js} +1 -1
  12. package/build/{v2/chunks/print-check-2PU7CSL3.js → chunks/print-check-NJ4IONC5.js} +1 -1
  13. package/build/{v2/chunks/scene-export-KQBS7VRJ.js → chunks/scene-export-ZIXMUNLI.js} +1 -1
  14. package/build/chunks/scene-reader-JGHERXR2.js +1 -0
  15. package/build/{v2/node → node}/analysis-worker.js +11 -11
  16. package/build/{v2/node → node}/index.cjs +7 -7
  17. package/build/{v2/node → node}/index.js +6 -6
  18. package/build/stl_viewer.min.js +51 -0
  19. package/build/{v2/viewstl.cjs → viewstl.cjs} +752 -125
  20. package/build/{v2/viewstl.d.cts → viewstl.d.cts} +50 -0
  21. package/build/{v2/viewstl.d.ts → viewstl.d.ts} +50 -0
  22. package/build/{v2/viewstl.js → viewstl.js} +752 -125
  23. package/build/viewstl.min.js +51 -0
  24. package/build/{v2/viewstl.worker.js → viewstl.worker.js} +1 -1
  25. package/docs/releases/2.0.0-rc.5.md +46 -0
  26. package/docs/v2-compatibility.md +5 -5
  27. package/docs/v2-usage.md +128 -21
  28. package/docs/v2-verification.md +141 -0
  29. package/legacy/README.md +14 -8
  30. package/package.json +18 -35
  31. package/build/v2/README.md +0 -15
  32. package/build/v2/chunks/archive-VGS4J4Z7.js +0 -1
  33. package/build/v2/chunks/scene-reader-APUJOPUR.js +0 -1
  34. package/build/v2/stl_viewer.min.js +0 -51
  35. package/build/v2/viewstl.min.js +0 -51
  36. /package/build/{v2/cad → cad}/occt-import-js.js +0 -0
  37. /package/build/{v2/cad → cad}/occt-import-js.wasm +0 -0
  38. /package/build/{v2/cad → cad}/prepare-cad.source.txt +0 -0
  39. /package/build/{v2/chunks/chunk-U33KANV7.js → chunks/chunk-IK3WL53C.js} +0 -0
  40. /package/build/{v2/chunks/chunk-JS56KC3I.js → chunks/chunk-W5KVLGVR.js} +0 -0
  41. /package/build/{v2/chunks → chunks}/chunk-ZSV4PTIA.js +0 -0
  42. /package/build/{v2/node → node}/index.d.cts +0 -0
  43. /package/build/{v2/node → node}/index.d.ts +0 -0
@@ -117,1013 +117,1013 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
117
117
 
118
118
 
119
119
  occt-import-js 0.0.23 (LGPL-2.1; optional STEP/IGES worker)
120
- GNU LESSER GENERAL PUBLIC LICENSE
121
- Version 2.1, February 1999
122
-
123
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
124
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
125
- Everyone is permitted to copy and distribute verbatim copies
126
- of this license document, but changing it is not allowed.
127
-
128
- [This is the first released version of the Lesser GPL. It also counts
129
- as the successor of the GNU Library Public License, version 2, hence
130
- the version number 2.1.]
131
-
132
- Preamble
133
-
134
- The licenses for most software are designed to take away your
135
- freedom to share and change it. By contrast, the GNU General Public
136
- Licenses are intended to guarantee your freedom to share and change
137
- free software--to make sure the software is free for all its users.
138
-
139
- This license, the Lesser General Public License, applies to some
140
- specially designated software packages--typically libraries--of the
141
- Free Software Foundation and other authors who decide to use it. You
142
- can use it too, but we suggest you first think carefully about whether
143
- this license or the ordinary General Public License is the better
144
- strategy to use in any particular case, based on the explanations below.
145
-
146
- When we speak of free software, we are referring to freedom of use,
147
- not price. Our General Public Licenses are designed to make sure that
148
- you have the freedom to distribute copies of free software (and charge
149
- for this service if you wish); that you receive source code or can get
150
- it if you want it; that you can change the software and use pieces of
151
- it in new free programs; and that you are informed that you can do
152
- these things.
153
-
154
- To protect your rights, we need to make restrictions that forbid
155
- distributors to deny you these rights or to ask you to surrender these
156
- rights. These restrictions translate to certain responsibilities for
157
- you if you distribute copies of the library or if you modify it.
158
-
159
- For example, if you distribute copies of the library, whether gratis
160
- or for a fee, you must give the recipients all the rights that we gave
161
- you. You must make sure that they, too, receive or can get the source
162
- code. If you link other code with the library, you must provide
163
- complete object files to the recipients, so that they can relink them
164
- with the library after making changes to the library and recompiling
165
- it. And you must show them these terms so they know their rights.
166
-
167
- We protect your rights with a two-step method: (1) we copyright the
168
- library, and (2) we offer you this license, which gives you legal
169
- permission to copy, distribute and/or modify the library.
170
-
171
- To protect each distributor, we want to make it very clear that
172
- there is no warranty for the free library. Also, if the library is
173
- modified by someone else and passed on, the recipients should know
174
- that what they have is not the original version, so that the original
175
- author's reputation will not be affected by problems that might be
176
- introduced by others.
177
-
178
- Finally, software patents pose a constant threat to the existence of
179
- any free program. We wish to make sure that a company cannot
180
- effectively restrict the users of a free program by obtaining a
181
- restrictive license from a patent holder. Therefore, we insist that
182
- any patent license obtained for a version of the library must be
183
- consistent with the full freedom of use specified in this license.
184
-
185
- Most GNU software, including some libraries, is covered by the
186
- ordinary GNU General Public License. This license, the GNU Lesser
187
- General Public License, applies to certain designated libraries, and
188
- is quite different from the ordinary General Public License. We use
189
- this license for certain libraries in order to permit linking those
190
- libraries into non-free programs.
191
-
192
- When a program is linked with a library, whether statically or using
193
- a shared library, the combination of the two is legally speaking a
194
- combined work, a derivative of the original library. The ordinary
195
- General Public License therefore permits such linking only if the
196
- entire combination fits its criteria of freedom. The Lesser General
197
- Public License permits more lax criteria for linking other code with
198
- the library.
199
-
200
- We call this license the "Lesser" General Public License because it
201
- does Less to protect the user's freedom than the ordinary General
202
- Public License. It also provides other free software developers Less
203
- of an advantage over competing non-free programs. These disadvantages
204
- are the reason we use the ordinary General Public License for many
205
- libraries. However, the Lesser license provides advantages in certain
206
- special circumstances.
207
-
208
- For example, on rare occasions, there may be a special need to
209
- encourage the widest possible use of a certain library, so that it becomes
210
- a de-facto standard. To achieve this, non-free programs must be
211
- allowed to use the library. A more frequent case is that a free
212
- library does the same job as widely used non-free libraries. In this
213
- case, there is little to gain by limiting the free library to free
214
- software only, so we use the Lesser General Public License.
215
-
216
- In other cases, permission to use a particular library in non-free
217
- programs enables a greater number of people to use a large body of
218
- free software. For example, permission to use the GNU C Library in
219
- non-free programs enables many more people to use the whole GNU
220
- operating system, as well as its variant, the GNU/Linux operating
221
- system.
222
-
223
- Although the Lesser General Public License is Less protective of the
224
- users' freedom, it does ensure that the user of a program that is
225
- linked with the Library has the freedom and the wherewithal to run
226
- that program using a modified version of the Library.
227
-
228
- The precise terms and conditions for copying, distribution and
229
- modification follow. Pay close attention to the difference between a
230
- "work based on the library" and a "work that uses the library". The
231
- former contains code derived from the library, whereas the latter must
232
- be combined with the library in order to run.
233
-
234
- GNU LESSER GENERAL PUBLIC LICENSE
235
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
236
-
237
- 0. This License Agreement applies to any software library or other
238
- program which contains a notice placed by the copyright holder or
239
- other authorized party saying it may be distributed under the terms of
240
- this Lesser General Public License (also called "this License").
241
- Each licensee is addressed as "you".
242
-
243
- A "library" means a collection of software functions and/or data
244
- prepared so as to be conveniently linked with application programs
245
- (which use some of those functions and data) to form executables.
246
-
247
- The "Library", below, refers to any such software library or work
248
- which has been distributed under these terms. A "work based on the
249
- Library" means either the Library or any derivative work under
250
- copyright law: that is to say, a work containing the Library or a
251
- portion of it, either verbatim or with modifications and/or translated
252
- straightforwardly into another language. (Hereinafter, translation is
253
- included without limitation in the term "modification".)
254
-
255
- "Source code" for a work means the preferred form of the work for
256
- making modifications to it. For a library, complete source code means
257
- all the source code for all modules it contains, plus any associated
258
- interface definition files, plus the scripts used to control compilation
259
- and installation of the library.
260
-
261
- Activities other than copying, distribution and modification are not
262
- covered by this License; they are outside its scope. The act of
263
- running a program using the Library is not restricted, and output from
264
- such a program is covered only if its contents constitute a work based
265
- on the Library (independent of the use of the Library in a tool for
266
- writing it). Whether that is true depends on what the Library does
267
- and what the program that uses the Library does.
268
-
269
- 1. You may copy and distribute verbatim copies of the Library's
270
- complete source code as you receive it, in any medium, provided that
271
- you conspicuously and appropriately publish on each copy an
272
- appropriate copyright notice and disclaimer of warranty; keep intact
273
- all the notices that refer to this License and to the absence of any
274
- warranty; and distribute a copy of this License along with the
275
- Library.
276
-
277
- You may charge a fee for the physical act of transferring a copy,
278
- and you may at your option offer warranty protection in exchange for a
279
- fee.
280
-
281
- 2. You may modify your copy or copies of the Library or any portion
282
- of it, thus forming a work based on the Library, and copy and
283
- distribute such modifications or work under the terms of Section 1
284
- above, provided that you also meet all of these conditions:
285
-
286
- a) The modified work must itself be a software library.
287
-
288
- b) You must cause the files modified to carry prominent notices
289
- stating that you changed the files and the date of any change.
290
-
291
- c) You must cause the whole of the work to be licensed at no
292
- charge to all third parties under the terms of this License.
293
-
294
- d) If a facility in the modified Library refers to a function or a
295
- table of data to be supplied by an application program that uses
296
- the facility, other than as an argument passed when the facility
297
- is invoked, then you must make a good faith effort to ensure that,
298
- in the event an application does not supply such function or
299
- table, the facility still operates, and performs whatever part of
300
- its purpose remains meaningful.
301
-
302
- (For example, a function in a library to compute square roots has
303
- a purpose that is entirely well-defined independent of the
304
- application. Therefore, Subsection 2d requires that any
305
- application-supplied function or table used by this function must
306
- be optional: if the application does not supply it, the square
307
- root function must still compute square roots.)
308
-
309
- These requirements apply to the modified work as a whole. If
310
- identifiable sections of that work are not derived from the Library,
311
- and can be reasonably considered independent and separate works in
312
- themselves, then this License, and its terms, do not apply to those
313
- sections when you distribute them as separate works. But when you
314
- distribute the same sections as part of a whole which is a work based
315
- on the Library, the distribution of the whole must be on the terms of
316
- this License, whose permissions for other licensees extend to the
317
- entire whole, and thus to each and every part regardless of who wrote
318
- it.
319
-
320
- Thus, it is not the intent of this section to claim rights or contest
321
- your rights to work written entirely by you; rather, the intent is to
322
- exercise the right to control the distribution of derivative or
323
- collective works based on the Library.
324
-
325
- In addition, mere aggregation of another work not based on the Library
326
- with the Library (or with a work based on the Library) on a volume of
327
- a storage or distribution medium does not bring the other work under
328
- the scope of this License.
329
-
330
- 3. You may opt to apply the terms of the ordinary GNU General Public
331
- License instead of this License to a given copy of the Library. To do
332
- this, you must alter all the notices that refer to this License, so
333
- that they refer to the ordinary GNU General Public License, version 2,
334
- instead of to this License. (If a newer version than version 2 of the
335
- ordinary GNU General Public License has appeared, then you can specify
336
- that version instead if you wish.) Do not make any other change in
337
- these notices.
338
-
339
- Once this change is made in a given copy, it is irreversible for
340
- that copy, so the ordinary GNU General Public License applies to all
341
- subsequent copies and derivative works made from that copy.
342
-
343
- This option is useful when you wish to copy part of the code of
344
- the Library into a program that is not a library.
345
-
346
- 4. You may copy and distribute the Library (or a portion or
347
- derivative of it, under Section 2) in object code or executable form
348
- under the terms of Sections 1 and 2 above provided that you accompany
349
- it with the complete corresponding machine-readable source code, which
350
- must be distributed under the terms of Sections 1 and 2 above on a
351
- medium customarily used for software interchange.
352
-
353
- If distribution of object code is made by offering access to copy
354
- from a designated place, then offering equivalent access to copy the
355
- source code from the same place satisfies the requirement to
356
- distribute the source code, even though third parties are not
357
- compelled to copy the source along with the object code.
358
-
359
- 5. A program that contains no derivative of any portion of the
360
- Library, but is designed to work with the Library by being compiled or
361
- linked with it, is called a "work that uses the Library". Such a
362
- work, in isolation, is not a derivative work of the Library, and
363
- therefore falls outside the scope of this License.
364
-
365
- However, linking a "work that uses the Library" with the Library
366
- creates an executable that is a derivative of the Library (because it
367
- contains portions of the Library), rather than a "work that uses the
368
- library". The executable is therefore covered by this License.
369
- Section 6 states terms for distribution of such executables.
370
-
371
- When a "work that uses the Library" uses material from a header file
372
- that is part of the Library, the object code for the work may be a
373
- derivative work of the Library even though the source code is not.
374
- Whether this is true is especially significant if the work can be
375
- linked without the Library, or if the work is itself a library. The
376
- threshold for this to be true is not precisely defined by law.
377
-
378
- If such an object file uses only numerical parameters, data
379
- structure layouts and accessors, and small macros and small inline
380
- functions (ten lines or less in length), then the use of the object
381
- file is unrestricted, regardless of whether it is legally a derivative
382
- work. (Executables containing this object code plus portions of the
383
- Library will still fall under Section 6.)
384
-
385
- Otherwise, if the work is a derivative of the Library, you may
386
- distribute the object code for the work under the terms of Section 6.
387
- Any executables containing that work also fall under Section 6,
388
- whether or not they are linked directly with the Library itself.
389
-
390
- 6. As an exception to the Sections above, you may also combine or
391
- link a "work that uses the Library" with the Library to produce a
392
- work containing portions of the Library, and distribute that work
393
- under terms of your choice, provided that the terms permit
394
- modification of the work for the customer's own use and reverse
395
- engineering for debugging such modifications.
396
-
397
- You must give prominent notice with each copy of the work that the
398
- Library is used in it and that the Library and its use are covered by
399
- this License. You must supply a copy of this License. If the work
400
- during execution displays copyright notices, you must include the
401
- copyright notice for the Library among them, as well as a reference
402
- directing the user to the copy of this License. Also, you must do one
403
- of these things:
404
-
405
- a) Accompany the work with the complete corresponding
406
- machine-readable source code for the Library including whatever
407
- changes were used in the work (which must be distributed under
408
- Sections 1 and 2 above); and, if the work is an executable linked
409
- with the Library, with the complete machine-readable "work that
410
- uses the Library", as object code and/or source code, so that the
411
- user can modify the Library and then relink to produce a modified
412
- executable containing the modified Library. (It is understood
413
- that the user who changes the contents of definitions files in the
414
- Library will not necessarily be able to recompile the application
415
- to use the modified definitions.)
416
-
417
- b) Use a suitable shared library mechanism for linking with the
418
- Library. A suitable mechanism is one that (1) uses at run time a
419
- copy of the library already present on the user's computer system,
420
- rather than copying library functions into the executable, and (2)
421
- will operate properly with a modified version of the library, if
422
- the user installs one, as long as the modified version is
423
- interface-compatible with the version that the work was made with.
424
-
425
- c) Accompany the work with a written offer, valid for at
426
- least three years, to give the same user the materials
427
- specified in Subsection 6a, above, for a charge no more
428
- than the cost of performing this distribution.
429
-
430
- d) If distribution of the work is made by offering access to copy
431
- from a designated place, offer equivalent access to copy the above
432
- specified materials from the same place.
433
-
434
- e) Verify that the user has already received a copy of these
435
- materials or that you have already sent this user a copy.
436
-
437
- For an executable, the required form of the "work that uses the
438
- Library" must include any data and utility programs needed for
439
- reproducing the executable from it. However, as a special exception,
440
- the materials to be distributed need not include anything that is
441
- normally distributed (in either source or binary form) with the major
442
- components (compiler, kernel, and so on) of the operating system on
443
- which the executable runs, unless that component itself accompanies
444
- the executable.
445
-
446
- It may happen that this requirement contradicts the license
447
- restrictions of other proprietary libraries that do not normally
448
- accompany the operating system. Such a contradiction means you cannot
449
- use both them and the Library together in an executable that you
450
- distribute.
451
-
452
- 7. You may place library facilities that are a work based on the
453
- Library side-by-side in a single library together with other library
454
- facilities not covered by this License, and distribute such a combined
455
- library, provided that the separate distribution of the work based on
456
- the Library and of the other library facilities is otherwise
457
- permitted, and provided that you do these two things:
458
-
459
- a) Accompany the combined library with a copy of the same work
460
- based on the Library, uncombined with any other library
461
- facilities. This must be distributed under the terms of the
462
- Sections above.
463
-
464
- b) Give prominent notice with the combined library of the fact
465
- that part of it is a work based on the Library, and explaining
466
- where to find the accompanying uncombined form of the same work.
467
-
468
- 8. You may not copy, modify, sublicense, link with, or distribute
469
- the Library except as expressly provided under this License. Any
470
- attempt otherwise to copy, modify, sublicense, link with, or
471
- distribute the Library is void, and will automatically terminate your
472
- rights under this License. However, parties who have received copies,
473
- or rights, from you under this License will not have their licenses
474
- terminated so long as such parties remain in full compliance.
475
-
476
- 9. You are not required to accept this License, since you have not
477
- signed it. However, nothing else grants you permission to modify or
478
- distribute the Library or its derivative works. These actions are
479
- prohibited by law if you do not accept this License. Therefore, by
480
- modifying or distributing the Library (or any work based on the
481
- Library), you indicate your acceptance of this License to do so, and
482
- all its terms and conditions for copying, distributing or modifying
483
- the Library or works based on it.
484
-
485
- 10. Each time you redistribute the Library (or any work based on the
486
- Library), the recipient automatically receives a license from the
487
- original licensor to copy, distribute, link with or modify the Library
488
- subject to these terms and conditions. You may not impose any further
489
- restrictions on the recipients' exercise of the rights granted herein.
490
- You are not responsible for enforcing compliance by third parties with
491
- this License.
492
-
493
- 11. If, as a consequence of a court judgment or allegation of patent
494
- infringement or for any other reason (not limited to patent issues),
495
- conditions are imposed on you (whether by court order, agreement or
496
- otherwise) that contradict the conditions of this License, they do not
497
- excuse you from the conditions of this License. If you cannot
498
- distribute so as to satisfy simultaneously your obligations under this
499
- License and any other pertinent obligations, then as a consequence you
500
- may not distribute the Library at all. For example, if a patent
501
- license would not permit royalty-free redistribution of the Library by
502
- all those who receive copies directly or indirectly through you, then
503
- the only way you could satisfy both it and this License would be to
504
- refrain entirely from distribution of the Library.
505
-
506
- If any portion of this section is held invalid or unenforceable under any
507
- particular circumstance, the balance of the section is intended to apply,
508
- and the section as a whole is intended to apply in other circumstances.
509
-
510
- It is not the purpose of this section to induce you to infringe any
511
- patents or other property right claims or to contest validity of any
512
- such claims; this section has the sole purpose of protecting the
513
- integrity of the free software distribution system which is
514
- implemented by public license practices. Many people have made
515
- generous contributions to the wide range of software distributed
516
- through that system in reliance on consistent application of that
517
- system; it is up to the author/donor to decide if he or she is willing
518
- to distribute software through any other system and a licensee cannot
519
- impose that choice.
520
-
521
- This section is intended to make thoroughly clear what is believed to
522
- be a consequence of the rest of this License.
523
-
524
- 12. If the distribution and/or use of the Library is restricted in
525
- certain countries either by patents or by copyrighted interfaces, the
526
- original copyright holder who places the Library under this License may add
527
- an explicit geographical distribution limitation excluding those countries,
528
- so that distribution is permitted only in or among countries not thus
529
- excluded. In such case, this License incorporates the limitation as if
530
- written in the body of this License.
531
-
532
- 13. The Free Software Foundation may publish revised and/or new
533
- versions of the Lesser General Public License from time to time.
534
- Such new versions will be similar in spirit to the present version,
535
- but may differ in detail to address new problems or concerns.
536
-
537
- Each version is given a distinguishing version number. If the Library
538
- specifies a version number of this License which applies to it and
539
- "any later version", you have the option of following the terms and
540
- conditions either of that version or of any later version published by
541
- the Free Software Foundation. If the Library does not specify a
542
- license version number, you may choose any version ever published by
543
- the Free Software Foundation.
544
-
545
- 14. If you wish to incorporate parts of the Library into other free
546
- programs whose distribution conditions are incompatible with these,
547
- write to the author to ask for permission. For software which is
548
- copyrighted by the Free Software Foundation, write to the Free
549
- Software Foundation; we sometimes make exceptions for this. Our
550
- decision will be guided by the two goals of preserving the free status
551
- of all derivatives of our free software and of promoting the sharing
552
- and reuse of software generally.
553
-
554
- NO WARRANTY
555
-
556
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
557
- WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
558
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
559
- OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
560
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
561
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
562
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
563
- LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
564
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
565
-
566
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
567
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
568
- AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
569
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
570
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
571
- LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
572
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
573
- FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
574
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
575
- DAMAGES.
576
-
577
- END OF TERMS AND CONDITIONS
578
-
579
- How to Apply These Terms to Your New Libraries
580
-
581
- If you develop a new library, and you want it to be of the greatest
582
- possible use to the public, we recommend making it free software that
583
- everyone can redistribute and change. You can do so by permitting
584
- redistribution under these terms (or, alternatively, under the terms of the
585
- ordinary General Public License).
586
-
587
- To apply these terms, attach the following notices to the library. It is
588
- safest to attach them to the start of each source file to most effectively
589
- convey the exclusion of warranty; and each file should have at least the
590
- "copyright" line and a pointer to where the full notice is found.
591
-
592
- <one line to give the library's name and a brief idea of what it does.>
593
- Copyright (C) <year> <name of author>
594
-
595
- This library is free software; you can redistribute it and/or
596
- modify it under the terms of the GNU Lesser General Public
597
- License as published by the Free Software Foundation; either
598
- version 2.1 of the License, or (at your option) any later version.
599
-
600
- This library is distributed in the hope that it will be useful,
601
- but WITHOUT ANY WARRANTY; without even the implied warranty of
602
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
603
- Lesser General Public License for more details.
604
-
605
- You should have received a copy of the GNU Lesser General Public
606
- License along with this library; if not, write to the Free Software
607
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
608
- USA
609
-
610
- Also add information on how to contact you by electronic and paper mail.
611
-
612
- You should also get your employer (if you work as a programmer) or your
613
- school, if any, to sign a "copyright disclaimer" for the library, if
614
- necessary. Here is a sample; alter the names:
615
-
616
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
617
- library `Frob' (a library for tweaking knobs) written by James Random
618
- Hacker.
619
-
620
- <signature of Ty Coon>, 1 April 1990
621
- Ty Coon, President of Vice
622
-
623
- That's all there is to it!
120
+ GNU LESSER GENERAL PUBLIC LICENSE
121
+ Version 2.1, February 1999
122
+
123
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
124
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
125
+ Everyone is permitted to copy and distribute verbatim copies
126
+ of this license document, but changing it is not allowed.
127
+
128
+ [This is the first released version of the Lesser GPL. It also counts
129
+ as the successor of the GNU Library Public License, version 2, hence
130
+ the version number 2.1.]
131
+
132
+ Preamble
133
+
134
+ The licenses for most software are designed to take away your
135
+ freedom to share and change it. By contrast, the GNU General Public
136
+ Licenses are intended to guarantee your freedom to share and change
137
+ free software--to make sure the software is free for all its users.
138
+
139
+ This license, the Lesser General Public License, applies to some
140
+ specially designated software packages--typically libraries--of the
141
+ Free Software Foundation and other authors who decide to use it. You
142
+ can use it too, but we suggest you first think carefully about whether
143
+ this license or the ordinary General Public License is the better
144
+ strategy to use in any particular case, based on the explanations below.
145
+
146
+ When we speak of free software, we are referring to freedom of use,
147
+ not price. Our General Public Licenses are designed to make sure that
148
+ you have the freedom to distribute copies of free software (and charge
149
+ for this service if you wish); that you receive source code or can get
150
+ it if you want it; that you can change the software and use pieces of
151
+ it in new free programs; and that you are informed that you can do
152
+ these things.
153
+
154
+ To protect your rights, we need to make restrictions that forbid
155
+ distributors to deny you these rights or to ask you to surrender these
156
+ rights. These restrictions translate to certain responsibilities for
157
+ you if you distribute copies of the library or if you modify it.
158
+
159
+ For example, if you distribute copies of the library, whether gratis
160
+ or for a fee, you must give the recipients all the rights that we gave
161
+ you. You must make sure that they, too, receive or can get the source
162
+ code. If you link other code with the library, you must provide
163
+ complete object files to the recipients, so that they can relink them
164
+ with the library after making changes to the library and recompiling
165
+ it. And you must show them these terms so they know their rights.
166
+
167
+ We protect your rights with a two-step method: (1) we copyright the
168
+ library, and (2) we offer you this license, which gives you legal
169
+ permission to copy, distribute and/or modify the library.
170
+
171
+ To protect each distributor, we want to make it very clear that
172
+ there is no warranty for the free library. Also, if the library is
173
+ modified by someone else and passed on, the recipients should know
174
+ that what they have is not the original version, so that the original
175
+ author's reputation will not be affected by problems that might be
176
+ introduced by others.
177
+
178
+ Finally, software patents pose a constant threat to the existence of
179
+ any free program. We wish to make sure that a company cannot
180
+ effectively restrict the users of a free program by obtaining a
181
+ restrictive license from a patent holder. Therefore, we insist that
182
+ any patent license obtained for a version of the library must be
183
+ consistent with the full freedom of use specified in this license.
184
+
185
+ Most GNU software, including some libraries, is covered by the
186
+ ordinary GNU General Public License. This license, the GNU Lesser
187
+ General Public License, applies to certain designated libraries, and
188
+ is quite different from the ordinary General Public License. We use
189
+ this license for certain libraries in order to permit linking those
190
+ libraries into non-free programs.
191
+
192
+ When a program is linked with a library, whether statically or using
193
+ a shared library, the combination of the two is legally speaking a
194
+ combined work, a derivative of the original library. The ordinary
195
+ General Public License therefore permits such linking only if the
196
+ entire combination fits its criteria of freedom. The Lesser General
197
+ Public License permits more lax criteria for linking other code with
198
+ the library.
199
+
200
+ We call this license the "Lesser" General Public License because it
201
+ does Less to protect the user's freedom than the ordinary General
202
+ Public License. It also provides other free software developers Less
203
+ of an advantage over competing non-free programs. These disadvantages
204
+ are the reason we use the ordinary General Public License for many
205
+ libraries. However, the Lesser license provides advantages in certain
206
+ special circumstances.
207
+
208
+ For example, on rare occasions, there may be a special need to
209
+ encourage the widest possible use of a certain library, so that it becomes
210
+ a de-facto standard. To achieve this, non-free programs must be
211
+ allowed to use the library. A more frequent case is that a free
212
+ library does the same job as widely used non-free libraries. In this
213
+ case, there is little to gain by limiting the free library to free
214
+ software only, so we use the Lesser General Public License.
215
+
216
+ In other cases, permission to use a particular library in non-free
217
+ programs enables a greater number of people to use a large body of
218
+ free software. For example, permission to use the GNU C Library in
219
+ non-free programs enables many more people to use the whole GNU
220
+ operating system, as well as its variant, the GNU/Linux operating
221
+ system.
222
+
223
+ Although the Lesser General Public License is Less protective of the
224
+ users' freedom, it does ensure that the user of a program that is
225
+ linked with the Library has the freedom and the wherewithal to run
226
+ that program using a modified version of the Library.
227
+
228
+ The precise terms and conditions for copying, distribution and
229
+ modification follow. Pay close attention to the difference between a
230
+ "work based on the library" and a "work that uses the library". The
231
+ former contains code derived from the library, whereas the latter must
232
+ be combined with the library in order to run.
233
+
234
+ GNU LESSER GENERAL PUBLIC LICENSE
235
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
236
+
237
+ 0. This License Agreement applies to any software library or other
238
+ program which contains a notice placed by the copyright holder or
239
+ other authorized party saying it may be distributed under the terms of
240
+ this Lesser General Public License (also called "this License").
241
+ Each licensee is addressed as "you".
242
+
243
+ A "library" means a collection of software functions and/or data
244
+ prepared so as to be conveniently linked with application programs
245
+ (which use some of those functions and data) to form executables.
246
+
247
+ The "Library", below, refers to any such software library or work
248
+ which has been distributed under these terms. A "work based on the
249
+ Library" means either the Library or any derivative work under
250
+ copyright law: that is to say, a work containing the Library or a
251
+ portion of it, either verbatim or with modifications and/or translated
252
+ straightforwardly into another language. (Hereinafter, translation is
253
+ included without limitation in the term "modification".)
254
+
255
+ "Source code" for a work means the preferred form of the work for
256
+ making modifications to it. For a library, complete source code means
257
+ all the source code for all modules it contains, plus any associated
258
+ interface definition files, plus the scripts used to control compilation
259
+ and installation of the library.
260
+
261
+ Activities other than copying, distribution and modification are not
262
+ covered by this License; they are outside its scope. The act of
263
+ running a program using the Library is not restricted, and output from
264
+ such a program is covered only if its contents constitute a work based
265
+ on the Library (independent of the use of the Library in a tool for
266
+ writing it). Whether that is true depends on what the Library does
267
+ and what the program that uses the Library does.
268
+
269
+ 1. You may copy and distribute verbatim copies of the Library's
270
+ complete source code as you receive it, in any medium, provided that
271
+ you conspicuously and appropriately publish on each copy an
272
+ appropriate copyright notice and disclaimer of warranty; keep intact
273
+ all the notices that refer to this License and to the absence of any
274
+ warranty; and distribute a copy of this License along with the
275
+ Library.
276
+
277
+ You may charge a fee for the physical act of transferring a copy,
278
+ and you may at your option offer warranty protection in exchange for a
279
+ fee.
280
+
281
+ 2. You may modify your copy or copies of the Library or any portion
282
+ of it, thus forming a work based on the Library, and copy and
283
+ distribute such modifications or work under the terms of Section 1
284
+ above, provided that you also meet all of these conditions:
285
+
286
+ a) The modified work must itself be a software library.
287
+
288
+ b) You must cause the files modified to carry prominent notices
289
+ stating that you changed the files and the date of any change.
290
+
291
+ c) You must cause the whole of the work to be licensed at no
292
+ charge to all third parties under the terms of this License.
293
+
294
+ d) If a facility in the modified Library refers to a function or a
295
+ table of data to be supplied by an application program that uses
296
+ the facility, other than as an argument passed when the facility
297
+ is invoked, then you must make a good faith effort to ensure that,
298
+ in the event an application does not supply such function or
299
+ table, the facility still operates, and performs whatever part of
300
+ its purpose remains meaningful.
301
+
302
+ (For example, a function in a library to compute square roots has
303
+ a purpose that is entirely well-defined independent of the
304
+ application. Therefore, Subsection 2d requires that any
305
+ application-supplied function or table used by this function must
306
+ be optional: if the application does not supply it, the square
307
+ root function must still compute square roots.)
308
+
309
+ These requirements apply to the modified work as a whole. If
310
+ identifiable sections of that work are not derived from the Library,
311
+ and can be reasonably considered independent and separate works in
312
+ themselves, then this License, and its terms, do not apply to those
313
+ sections when you distribute them as separate works. But when you
314
+ distribute the same sections as part of a whole which is a work based
315
+ on the Library, the distribution of the whole must be on the terms of
316
+ this License, whose permissions for other licensees extend to the
317
+ entire whole, and thus to each and every part regardless of who wrote
318
+ it.
319
+
320
+ Thus, it is not the intent of this section to claim rights or contest
321
+ your rights to work written entirely by you; rather, the intent is to
322
+ exercise the right to control the distribution of derivative or
323
+ collective works based on the Library.
324
+
325
+ In addition, mere aggregation of another work not based on the Library
326
+ with the Library (or with a work based on the Library) on a volume of
327
+ a storage or distribution medium does not bring the other work under
328
+ the scope of this License.
329
+
330
+ 3. You may opt to apply the terms of the ordinary GNU General Public
331
+ License instead of this License to a given copy of the Library. To do
332
+ this, you must alter all the notices that refer to this License, so
333
+ that they refer to the ordinary GNU General Public License, version 2,
334
+ instead of to this License. (If a newer version than version 2 of the
335
+ ordinary GNU General Public License has appeared, then you can specify
336
+ that version instead if you wish.) Do not make any other change in
337
+ these notices.
338
+
339
+ Once this change is made in a given copy, it is irreversible for
340
+ that copy, so the ordinary GNU General Public License applies to all
341
+ subsequent copies and derivative works made from that copy.
342
+
343
+ This option is useful when you wish to copy part of the code of
344
+ the Library into a program that is not a library.
345
+
346
+ 4. You may copy and distribute the Library (or a portion or
347
+ derivative of it, under Section 2) in object code or executable form
348
+ under the terms of Sections 1 and 2 above provided that you accompany
349
+ it with the complete corresponding machine-readable source code, which
350
+ must be distributed under the terms of Sections 1 and 2 above on a
351
+ medium customarily used for software interchange.
352
+
353
+ If distribution of object code is made by offering access to copy
354
+ from a designated place, then offering equivalent access to copy the
355
+ source code from the same place satisfies the requirement to
356
+ distribute the source code, even though third parties are not
357
+ compelled to copy the source along with the object code.
358
+
359
+ 5. A program that contains no derivative of any portion of the
360
+ Library, but is designed to work with the Library by being compiled or
361
+ linked with it, is called a "work that uses the Library". Such a
362
+ work, in isolation, is not a derivative work of the Library, and
363
+ therefore falls outside the scope of this License.
364
+
365
+ However, linking a "work that uses the Library" with the Library
366
+ creates an executable that is a derivative of the Library (because it
367
+ contains portions of the Library), rather than a "work that uses the
368
+ library". The executable is therefore covered by this License.
369
+ Section 6 states terms for distribution of such executables.
370
+
371
+ When a "work that uses the Library" uses material from a header file
372
+ that is part of the Library, the object code for the work may be a
373
+ derivative work of the Library even though the source code is not.
374
+ Whether this is true is especially significant if the work can be
375
+ linked without the Library, or if the work is itself a library. The
376
+ threshold for this to be true is not precisely defined by law.
377
+
378
+ If such an object file uses only numerical parameters, data
379
+ structure layouts and accessors, and small macros and small inline
380
+ functions (ten lines or less in length), then the use of the object
381
+ file is unrestricted, regardless of whether it is legally a derivative
382
+ work. (Executables containing this object code plus portions of the
383
+ Library will still fall under Section 6.)
384
+
385
+ Otherwise, if the work is a derivative of the Library, you may
386
+ distribute the object code for the work under the terms of Section 6.
387
+ Any executables containing that work also fall under Section 6,
388
+ whether or not they are linked directly with the Library itself.
389
+
390
+ 6. As an exception to the Sections above, you may also combine or
391
+ link a "work that uses the Library" with the Library to produce a
392
+ work containing portions of the Library, and distribute that work
393
+ under terms of your choice, provided that the terms permit
394
+ modification of the work for the customer's own use and reverse
395
+ engineering for debugging such modifications.
396
+
397
+ You must give prominent notice with each copy of the work that the
398
+ Library is used in it and that the Library and its use are covered by
399
+ this License. You must supply a copy of this License. If the work
400
+ during execution displays copyright notices, you must include the
401
+ copyright notice for the Library among them, as well as a reference
402
+ directing the user to the copy of this License. Also, you must do one
403
+ of these things:
404
+
405
+ a) Accompany the work with the complete corresponding
406
+ machine-readable source code for the Library including whatever
407
+ changes were used in the work (which must be distributed under
408
+ Sections 1 and 2 above); and, if the work is an executable linked
409
+ with the Library, with the complete machine-readable "work that
410
+ uses the Library", as object code and/or source code, so that the
411
+ user can modify the Library and then relink to produce a modified
412
+ executable containing the modified Library. (It is understood
413
+ that the user who changes the contents of definitions files in the
414
+ Library will not necessarily be able to recompile the application
415
+ to use the modified definitions.)
416
+
417
+ b) Use a suitable shared library mechanism for linking with the
418
+ Library. A suitable mechanism is one that (1) uses at run time a
419
+ copy of the library already present on the user's computer system,
420
+ rather than copying library functions into the executable, and (2)
421
+ will operate properly with a modified version of the library, if
422
+ the user installs one, as long as the modified version is
423
+ interface-compatible with the version that the work was made with.
424
+
425
+ c) Accompany the work with a written offer, valid for at
426
+ least three years, to give the same user the materials
427
+ specified in Subsection 6a, above, for a charge no more
428
+ than the cost of performing this distribution.
429
+
430
+ d) If distribution of the work is made by offering access to copy
431
+ from a designated place, offer equivalent access to copy the above
432
+ specified materials from the same place.
433
+
434
+ e) Verify that the user has already received a copy of these
435
+ materials or that you have already sent this user a copy.
436
+
437
+ For an executable, the required form of the "work that uses the
438
+ Library" must include any data and utility programs needed for
439
+ reproducing the executable from it. However, as a special exception,
440
+ the materials to be distributed need not include anything that is
441
+ normally distributed (in either source or binary form) with the major
442
+ components (compiler, kernel, and so on) of the operating system on
443
+ which the executable runs, unless that component itself accompanies
444
+ the executable.
445
+
446
+ It may happen that this requirement contradicts the license
447
+ restrictions of other proprietary libraries that do not normally
448
+ accompany the operating system. Such a contradiction means you cannot
449
+ use both them and the Library together in an executable that you
450
+ distribute.
451
+
452
+ 7. You may place library facilities that are a work based on the
453
+ Library side-by-side in a single library together with other library
454
+ facilities not covered by this License, and distribute such a combined
455
+ library, provided that the separate distribution of the work based on
456
+ the Library and of the other library facilities is otherwise
457
+ permitted, and provided that you do these two things:
458
+
459
+ a) Accompany the combined library with a copy of the same work
460
+ based on the Library, uncombined with any other library
461
+ facilities. This must be distributed under the terms of the
462
+ Sections above.
463
+
464
+ b) Give prominent notice with the combined library of the fact
465
+ that part of it is a work based on the Library, and explaining
466
+ where to find the accompanying uncombined form of the same work.
467
+
468
+ 8. You may not copy, modify, sublicense, link with, or distribute
469
+ the Library except as expressly provided under this License. Any
470
+ attempt otherwise to copy, modify, sublicense, link with, or
471
+ distribute the Library is void, and will automatically terminate your
472
+ rights under this License. However, parties who have received copies,
473
+ or rights, from you under this License will not have their licenses
474
+ terminated so long as such parties remain in full compliance.
475
+
476
+ 9. You are not required to accept this License, since you have not
477
+ signed it. However, nothing else grants you permission to modify or
478
+ distribute the Library or its derivative works. These actions are
479
+ prohibited by law if you do not accept this License. Therefore, by
480
+ modifying or distributing the Library (or any work based on the
481
+ Library), you indicate your acceptance of this License to do so, and
482
+ all its terms and conditions for copying, distributing or modifying
483
+ the Library or works based on it.
484
+
485
+ 10. Each time you redistribute the Library (or any work based on the
486
+ Library), the recipient automatically receives a license from the
487
+ original licensor to copy, distribute, link with or modify the Library
488
+ subject to these terms and conditions. You may not impose any further
489
+ restrictions on the recipients' exercise of the rights granted herein.
490
+ You are not responsible for enforcing compliance by third parties with
491
+ this License.
492
+
493
+ 11. If, as a consequence of a court judgment or allegation of patent
494
+ infringement or for any other reason (not limited to patent issues),
495
+ conditions are imposed on you (whether by court order, agreement or
496
+ otherwise) that contradict the conditions of this License, they do not
497
+ excuse you from the conditions of this License. If you cannot
498
+ distribute so as to satisfy simultaneously your obligations under this
499
+ License and any other pertinent obligations, then as a consequence you
500
+ may not distribute the Library at all. For example, if a patent
501
+ license would not permit royalty-free redistribution of the Library by
502
+ all those who receive copies directly or indirectly through you, then
503
+ the only way you could satisfy both it and this License would be to
504
+ refrain entirely from distribution of the Library.
505
+
506
+ If any portion of this section is held invalid or unenforceable under any
507
+ particular circumstance, the balance of the section is intended to apply,
508
+ and the section as a whole is intended to apply in other circumstances.
509
+
510
+ It is not the purpose of this section to induce you to infringe any
511
+ patents or other property right claims or to contest validity of any
512
+ such claims; this section has the sole purpose of protecting the
513
+ integrity of the free software distribution system which is
514
+ implemented by public license practices. Many people have made
515
+ generous contributions to the wide range of software distributed
516
+ through that system in reliance on consistent application of that
517
+ system; it is up to the author/donor to decide if he or she is willing
518
+ to distribute software through any other system and a licensee cannot
519
+ impose that choice.
520
+
521
+ This section is intended to make thoroughly clear what is believed to
522
+ be a consequence of the rest of this License.
523
+
524
+ 12. If the distribution and/or use of the Library is restricted in
525
+ certain countries either by patents or by copyrighted interfaces, the
526
+ original copyright holder who places the Library under this License may add
527
+ an explicit geographical distribution limitation excluding those countries,
528
+ so that distribution is permitted only in or among countries not thus
529
+ excluded. In such case, this License incorporates the limitation as if
530
+ written in the body of this License.
531
+
532
+ 13. The Free Software Foundation may publish revised and/or new
533
+ versions of the Lesser General Public License from time to time.
534
+ Such new versions will be similar in spirit to the present version,
535
+ but may differ in detail to address new problems or concerns.
536
+
537
+ Each version is given a distinguishing version number. If the Library
538
+ specifies a version number of this License which applies to it and
539
+ "any later version", you have the option of following the terms and
540
+ conditions either of that version or of any later version published by
541
+ the Free Software Foundation. If the Library does not specify a
542
+ license version number, you may choose any version ever published by
543
+ the Free Software Foundation.
544
+
545
+ 14. If you wish to incorporate parts of the Library into other free
546
+ programs whose distribution conditions are incompatible with these,
547
+ write to the author to ask for permission. For software which is
548
+ copyrighted by the Free Software Foundation, write to the Free
549
+ Software Foundation; we sometimes make exceptions for this. Our
550
+ decision will be guided by the two goals of preserving the free status
551
+ of all derivatives of our free software and of promoting the sharing
552
+ and reuse of software generally.
553
+
554
+ NO WARRANTY
555
+
556
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
557
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
558
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
559
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
560
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
561
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
562
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
563
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
564
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
565
+
566
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
567
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
568
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
569
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
570
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
571
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
572
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
573
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
574
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
575
+ DAMAGES.
576
+
577
+ END OF TERMS AND CONDITIONS
578
+
579
+ How to Apply These Terms to Your New Libraries
580
+
581
+ If you develop a new library, and you want it to be of the greatest
582
+ possible use to the public, we recommend making it free software that
583
+ everyone can redistribute and change. You can do so by permitting
584
+ redistribution under these terms (or, alternatively, under the terms of the
585
+ ordinary General Public License).
586
+
587
+ To apply these terms, attach the following notices to the library. It is
588
+ safest to attach them to the start of each source file to most effectively
589
+ convey the exclusion of warranty; and each file should have at least the
590
+ "copyright" line and a pointer to where the full notice is found.
591
+
592
+ <one line to give the library's name and a brief idea of what it does.>
593
+ Copyright (C) <year> <name of author>
594
+
595
+ This library is free software; you can redistribute it and/or
596
+ modify it under the terms of the GNU Lesser General Public
597
+ License as published by the Free Software Foundation; either
598
+ version 2.1 of the License, or (at your option) any later version.
599
+
600
+ This library is distributed in the hope that it will be useful,
601
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
602
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
603
+ Lesser General Public License for more details.
604
+
605
+ You should have received a copy of the GNU Lesser General Public
606
+ License along with this library; if not, write to the Free Software
607
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
608
+ USA
609
+
610
+ Also add information on how to contact you by electronic and paper mail.
611
+
612
+ You should also get your employer (if you work as a programmer) or your
613
+ school, if any, to sign a "copyright disclaimer" for the library, if
614
+ necessary. Here is a sample; alter the names:
615
+
616
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
617
+ library `Frob' (a library for tweaking knobs) written by James Random
618
+ Hacker.
619
+
620
+ <signature of Ty Coon>, 1 April 1990
621
+ Ty Coon, President of Vice
622
+
623
+ That's all there is to it!
624
624
 
625
625
 
626
626
  Open CASCADE Technology (optional STEP/IGES worker)
627
- GNU LESSER GENERAL PUBLIC LICENSE
628
- Version 2.1, February 1999
629
-
630
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
631
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
632
- Everyone is permitted to copy and distribute verbatim copies
633
- of this license document, but changing it is not allowed.
634
-
635
- [This is the first released version of the Lesser GPL. It also counts
636
- as the successor of the GNU Library Public License, version 2, hence
637
- the version number 2.1.]
638
-
639
- Preamble
640
-
641
- The licenses for most software are designed to take away your
642
- freedom to share and change it. By contrast, the GNU General Public
643
- Licenses are intended to guarantee your freedom to share and change
644
- free software--to make sure the software is free for all its users.
645
-
646
- This license, the Lesser General Public License, applies to some
647
- specially designated software packages--typically libraries--of the
648
- Free Software Foundation and other authors who decide to use it. You
649
- can use it too, but we suggest you first think carefully about whether
650
- this license or the ordinary General Public License is the better
651
- strategy to use in any particular case, based on the explanations below.
652
-
653
- When we speak of free software, we are referring to freedom of use,
654
- not price. Our General Public Licenses are designed to make sure that
655
- you have the freedom to distribute copies of free software (and charge
656
- for this service if you wish); that you receive source code or can get
657
- it if you want it; that you can change the software and use pieces of
658
- it in new free programs; and that you are informed that you can do
659
- these things.
660
-
661
- To protect your rights, we need to make restrictions that forbid
662
- distributors to deny you these rights or to ask you to surrender these
663
- rights. These restrictions translate to certain responsibilities for
664
- you if you distribute copies of the library or if you modify it.
665
-
666
- For example, if you distribute copies of the library, whether gratis
667
- or for a fee, you must give the recipients all the rights that we gave
668
- you. You must make sure that they, too, receive or can get the source
669
- code. If you link other code with the library, you must provide
670
- complete object files to the recipients, so that they can relink them
671
- with the library after making changes to the library and recompiling
672
- it. And you must show them these terms so they know their rights.
673
-
674
- We protect your rights with a two-step method: (1) we copyright the
675
- library, and (2) we offer you this license, which gives you legal
676
- permission to copy, distribute and/or modify the library.
677
-
678
- To protect each distributor, we want to make it very clear that
679
- there is no warranty for the free library. Also, if the library is
680
- modified by someone else and passed on, the recipients should know
681
- that what they have is not the original version, so that the original
682
- author's reputation will not be affected by problems that might be
683
- introduced by others.
684
-
685
- Finally, software patents pose a constant threat to the existence of
686
- any free program. We wish to make sure that a company cannot
687
- effectively restrict the users of a free program by obtaining a
688
- restrictive license from a patent holder. Therefore, we insist that
689
- any patent license obtained for a version of the library must be
690
- consistent with the full freedom of use specified in this license.
691
-
692
- Most GNU software, including some libraries, is covered by the
693
- ordinary GNU General Public License. This license, the GNU Lesser
694
- General Public License, applies to certain designated libraries, and
695
- is quite different from the ordinary General Public License. We use
696
- this license for certain libraries in order to permit linking those
697
- libraries into non-free programs.
698
-
699
- When a program is linked with a library, whether statically or using
700
- a shared library, the combination of the two is legally speaking a
701
- combined work, a derivative of the original library. The ordinary
702
- General Public License therefore permits such linking only if the
703
- entire combination fits its criteria of freedom. The Lesser General
704
- Public License permits more lax criteria for linking other code with
705
- the library.
706
-
707
- We call this license the "Lesser" General Public License because it
708
- does Less to protect the user's freedom than the ordinary General
709
- Public License. It also provides other free software developers Less
710
- of an advantage over competing non-free programs. These disadvantages
711
- are the reason we use the ordinary General Public License for many
712
- libraries. However, the Lesser license provides advantages in certain
713
- special circumstances.
714
-
715
- For example, on rare occasions, there may be a special need to
716
- encourage the widest possible use of a certain library, so that it becomes
717
- a de-facto standard. To achieve this, non-free programs must be
718
- allowed to use the library. A more frequent case is that a free
719
- library does the same job as widely used non-free libraries. In this
720
- case, there is little to gain by limiting the free library to free
721
- software only, so we use the Lesser General Public License.
722
-
723
- In other cases, permission to use a particular library in non-free
724
- programs enables a greater number of people to use a large body of
725
- free software. For example, permission to use the GNU C Library in
726
- non-free programs enables many more people to use the whole GNU
727
- operating system, as well as its variant, the GNU/Linux operating
728
- system.
729
-
730
- Although the Lesser General Public License is Less protective of the
731
- users' freedom, it does ensure that the user of a program that is
732
- linked with the Library has the freedom and the wherewithal to run
733
- that program using a modified version of the Library.
734
-
735
- The precise terms and conditions for copying, distribution and
736
- modification follow. Pay close attention to the difference between a
737
- "work based on the library" and a "work that uses the library". The
738
- former contains code derived from the library, whereas the latter must
739
- be combined with the library in order to run.
740
-
741
- GNU LESSER GENERAL PUBLIC LICENSE
742
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
743
-
744
- 0. This License Agreement applies to any software library or other
745
- program which contains a notice placed by the copyright holder or
746
- other authorized party saying it may be distributed under the terms of
747
- this Lesser General Public License (also called "this License").
748
- Each licensee is addressed as "you".
749
-
750
- A "library" means a collection of software functions and/or data
751
- prepared so as to be conveniently linked with application programs
752
- (which use some of those functions and data) to form executables.
753
-
754
- The "Library", below, refers to any such software library or work
755
- which has been distributed under these terms. A "work based on the
756
- Library" means either the Library or any derivative work under
757
- copyright law: that is to say, a work containing the Library or a
758
- portion of it, either verbatim or with modifications and/or translated
759
- straightforwardly into another language. (Hereinafter, translation is
760
- included without limitation in the term "modification".)
761
-
762
- "Source code" for a work means the preferred form of the work for
763
- making modifications to it. For a library, complete source code means
764
- all the source code for all modules it contains, plus any associated
765
- interface definition files, plus the scripts used to control compilation
766
- and installation of the library.
767
-
768
- Activities other than copying, distribution and modification are not
769
- covered by this License; they are outside its scope. The act of
770
- running a program using the Library is not restricted, and output from
771
- such a program is covered only if its contents constitute a work based
772
- on the Library (independent of the use of the Library in a tool for
773
- writing it). Whether that is true depends on what the Library does
774
- and what the program that uses the Library does.
775
-
776
- 1. You may copy and distribute verbatim copies of the Library's
777
- complete source code as you receive it, in any medium, provided that
778
- you conspicuously and appropriately publish on each copy an
779
- appropriate copyright notice and disclaimer of warranty; keep intact
780
- all the notices that refer to this License and to the absence of any
781
- warranty; and distribute a copy of this License along with the
782
- Library.
783
-
784
- You may charge a fee for the physical act of transferring a copy,
785
- and you may at your option offer warranty protection in exchange for a
786
- fee.
787
-
788
- 2. You may modify your copy or copies of the Library or any portion
789
- of it, thus forming a work based on the Library, and copy and
790
- distribute such modifications or work under the terms of Section 1
791
- above, provided that you also meet all of these conditions:
792
-
793
- a) The modified work must itself be a software library.
794
-
795
- b) You must cause the files modified to carry prominent notices
796
- stating that you changed the files and the date of any change.
797
-
798
- c) You must cause the whole of the work to be licensed at no
799
- charge to all third parties under the terms of this License.
800
-
801
- d) If a facility in the modified Library refers to a function or a
802
- table of data to be supplied by an application program that uses
803
- the facility, other than as an argument passed when the facility
804
- is invoked, then you must make a good faith effort to ensure that,
805
- in the event an application does not supply such function or
806
- table, the facility still operates, and performs whatever part of
807
- its purpose remains meaningful.
808
-
809
- (For example, a function in a library to compute square roots has
810
- a purpose that is entirely well-defined independent of the
811
- application. Therefore, Subsection 2d requires that any
812
- application-supplied function or table used by this function must
813
- be optional: if the application does not supply it, the square
814
- root function must still compute square roots.)
815
-
816
- These requirements apply to the modified work as a whole. If
817
- identifiable sections of that work are not derived from the Library,
818
- and can be reasonably considered independent and separate works in
819
- themselves, then this License, and its terms, do not apply to those
820
- sections when you distribute them as separate works. But when you
821
- distribute the same sections as part of a whole which is a work based
822
- on the Library, the distribution of the whole must be on the terms of
823
- this License, whose permissions for other licensees extend to the
824
- entire whole, and thus to each and every part regardless of who wrote
825
- it.
826
-
827
- Thus, it is not the intent of this section to claim rights or contest
828
- your rights to work written entirely by you; rather, the intent is to
829
- exercise the right to control the distribution of derivative or
830
- collective works based on the Library.
831
-
832
- In addition, mere aggregation of another work not based on the Library
833
- with the Library (or with a work based on the Library) on a volume of
834
- a storage or distribution medium does not bring the other work under
835
- the scope of this License.
836
-
837
- 3. You may opt to apply the terms of the ordinary GNU General Public
838
- License instead of this License to a given copy of the Library. To do
839
- this, you must alter all the notices that refer to this License, so
840
- that they refer to the ordinary GNU General Public License, version 2,
841
- instead of to this License. (If a newer version than version 2 of the
842
- ordinary GNU General Public License has appeared, then you can specify
843
- that version instead if you wish.) Do not make any other change in
844
- these notices.
845
-
846
- Once this change is made in a given copy, it is irreversible for
847
- that copy, so the ordinary GNU General Public License applies to all
848
- subsequent copies and derivative works made from that copy.
849
-
850
- This option is useful when you wish to copy part of the code of
851
- the Library into a program that is not a library.
852
-
853
- 4. You may copy and distribute the Library (or a portion or
854
- derivative of it, under Section 2) in object code or executable form
855
- under the terms of Sections 1 and 2 above provided that you accompany
856
- it with the complete corresponding machine-readable source code, which
857
- must be distributed under the terms of Sections 1 and 2 above on a
858
- medium customarily used for software interchange.
859
-
860
- If distribution of object code is made by offering access to copy
861
- from a designated place, then offering equivalent access to copy the
862
- source code from the same place satisfies the requirement to
863
- distribute the source code, even though third parties are not
864
- compelled to copy the source along with the object code.
865
-
866
- 5. A program that contains no derivative of any portion of the
867
- Library, but is designed to work with the Library by being compiled or
868
- linked with it, is called a "work that uses the Library". Such a
869
- work, in isolation, is not a derivative work of the Library, and
870
- therefore falls outside the scope of this License.
871
-
872
- However, linking a "work that uses the Library" with the Library
873
- creates an executable that is a derivative of the Library (because it
874
- contains portions of the Library), rather than a "work that uses the
875
- library". The executable is therefore covered by this License.
876
- Section 6 states terms for distribution of such executables.
877
-
878
- When a "work that uses the Library" uses material from a header file
879
- that is part of the Library, the object code for the work may be a
880
- derivative work of the Library even though the source code is not.
881
- Whether this is true is especially significant if the work can be
882
- linked without the Library, or if the work is itself a library. The
883
- threshold for this to be true is not precisely defined by law.
884
-
885
- If such an object file uses only numerical parameters, data
886
- structure layouts and accessors, and small macros and small inline
887
- functions (ten lines or less in length), then the use of the object
888
- file is unrestricted, regardless of whether it is legally a derivative
889
- work. (Executables containing this object code plus portions of the
890
- Library will still fall under Section 6.)
891
-
892
- Otherwise, if the work is a derivative of the Library, you may
893
- distribute the object code for the work under the terms of Section 6.
894
- Any executables containing that work also fall under Section 6,
895
- whether or not they are linked directly with the Library itself.
896
-
897
- 6. As an exception to the Sections above, you may also combine or
898
- link a "work that uses the Library" with the Library to produce a
899
- work containing portions of the Library, and distribute that work
900
- under terms of your choice, provided that the terms permit
901
- modification of the work for the customer's own use and reverse
902
- engineering for debugging such modifications.
903
-
904
- You must give prominent notice with each copy of the work that the
905
- Library is used in it and that the Library and its use are covered by
906
- this License. You must supply a copy of this License. If the work
907
- during execution displays copyright notices, you must include the
908
- copyright notice for the Library among them, as well as a reference
909
- directing the user to the copy of this License. Also, you must do one
910
- of these things:
911
-
912
- a) Accompany the work with the complete corresponding
913
- machine-readable source code for the Library including whatever
914
- changes were used in the work (which must be distributed under
915
- Sections 1 and 2 above); and, if the work is an executable linked
916
- with the Library, with the complete machine-readable "work that
917
- uses the Library", as object code and/or source code, so that the
918
- user can modify the Library and then relink to produce a modified
919
- executable containing the modified Library. (It is understood
920
- that the user who changes the contents of definitions files in the
921
- Library will not necessarily be able to recompile the application
922
- to use the modified definitions.)
923
-
924
- b) Use a suitable shared library mechanism for linking with the
925
- Library. A suitable mechanism is one that (1) uses at run time a
926
- copy of the library already present on the user's computer system,
927
- rather than copying library functions into the executable, and (2)
928
- will operate properly with a modified version of the library, if
929
- the user installs one, as long as the modified version is
930
- interface-compatible with the version that the work was made with.
931
-
932
- c) Accompany the work with a written offer, valid for at
933
- least three years, to give the same user the materials
934
- specified in Subsection 6a, above, for a charge no more
935
- than the cost of performing this distribution.
936
-
937
- d) If distribution of the work is made by offering access to copy
938
- from a designated place, offer equivalent access to copy the above
939
- specified materials from the same place.
940
-
941
- e) Verify that the user has already received a copy of these
942
- materials or that you have already sent this user a copy.
943
-
944
- For an executable, the required form of the "work that uses the
945
- Library" must include any data and utility programs needed for
946
- reproducing the executable from it. However, as a special exception,
947
- the materials to be distributed need not include anything that is
948
- normally distributed (in either source or binary form) with the major
949
- components (compiler, kernel, and so on) of the operating system on
950
- which the executable runs, unless that component itself accompanies
951
- the executable.
952
-
953
- It may happen that this requirement contradicts the license
954
- restrictions of other proprietary libraries that do not normally
955
- accompany the operating system. Such a contradiction means you cannot
956
- use both them and the Library together in an executable that you
957
- distribute.
958
-
959
- 7. You may place library facilities that are a work based on the
960
- Library side-by-side in a single library together with other library
961
- facilities not covered by this License, and distribute such a combined
962
- library, provided that the separate distribution of the work based on
963
- the Library and of the other library facilities is otherwise
964
- permitted, and provided that you do these two things:
965
-
966
- a) Accompany the combined library with a copy of the same work
967
- based on the Library, uncombined with any other library
968
- facilities. This must be distributed under the terms of the
969
- Sections above.
970
-
971
- b) Give prominent notice with the combined library of the fact
972
- that part of it is a work based on the Library, and explaining
973
- where to find the accompanying uncombined form of the same work.
974
-
975
- 8. You may not copy, modify, sublicense, link with, or distribute
976
- the Library except as expressly provided under this License. Any
977
- attempt otherwise to copy, modify, sublicense, link with, or
978
- distribute the Library is void, and will automatically terminate your
979
- rights under this License. However, parties who have received copies,
980
- or rights, from you under this License will not have their licenses
981
- terminated so long as such parties remain in full compliance.
982
-
983
- 9. You are not required to accept this License, since you have not
984
- signed it. However, nothing else grants you permission to modify or
985
- distribute the Library or its derivative works. These actions are
986
- prohibited by law if you do not accept this License. Therefore, by
987
- modifying or distributing the Library (or any work based on the
988
- Library), you indicate your acceptance of this License to do so, and
989
- all its terms and conditions for copying, distributing or modifying
990
- the Library or works based on it.
991
-
992
- 10. Each time you redistribute the Library (or any work based on the
993
- Library), the recipient automatically receives a license from the
994
- original licensor to copy, distribute, link with or modify the Library
995
- subject to these terms and conditions. You may not impose any further
996
- restrictions on the recipients' exercise of the rights granted herein.
997
- You are not responsible for enforcing compliance by third parties with
998
- this License.
999
-
1000
- 11. If, as a consequence of a court judgment or allegation of patent
1001
- infringement or for any other reason (not limited to patent issues),
1002
- conditions are imposed on you (whether by court order, agreement or
1003
- otherwise) that contradict the conditions of this License, they do not
1004
- excuse you from the conditions of this License. If you cannot
1005
- distribute so as to satisfy simultaneously your obligations under this
1006
- License and any other pertinent obligations, then as a consequence you
1007
- may not distribute the Library at all. For example, if a patent
1008
- license would not permit royalty-free redistribution of the Library by
1009
- all those who receive copies directly or indirectly through you, then
1010
- the only way you could satisfy both it and this License would be to
1011
- refrain entirely from distribution of the Library.
1012
-
1013
- If any portion of this section is held invalid or unenforceable under any
1014
- particular circumstance, the balance of the section is intended to apply,
1015
- and the section as a whole is intended to apply in other circumstances.
1016
-
1017
- It is not the purpose of this section to induce you to infringe any
1018
- patents or other property right claims or to contest validity of any
1019
- such claims; this section has the sole purpose of protecting the
1020
- integrity of the free software distribution system which is
1021
- implemented by public license practices. Many people have made
1022
- generous contributions to the wide range of software distributed
1023
- through that system in reliance on consistent application of that
1024
- system; it is up to the author/donor to decide if he or she is willing
1025
- to distribute software through any other system and a licensee cannot
1026
- impose that choice.
1027
-
1028
- This section is intended to make thoroughly clear what is believed to
1029
- be a consequence of the rest of this License.
1030
-
1031
- 12. If the distribution and/or use of the Library is restricted in
1032
- certain countries either by patents or by copyrighted interfaces, the
1033
- original copyright holder who places the Library under this License may add
1034
- an explicit geographical distribution limitation excluding those countries,
1035
- so that distribution is permitted only in or among countries not thus
1036
- excluded. In such case, this License incorporates the limitation as if
1037
- written in the body of this License.
1038
-
1039
- 13. The Free Software Foundation may publish revised and/or new
1040
- versions of the Lesser General Public License from time to time.
1041
- Such new versions will be similar in spirit to the present version,
1042
- but may differ in detail to address new problems or concerns.
1043
-
1044
- Each version is given a distinguishing version number. If the Library
1045
- specifies a version number of this License which applies to it and
1046
- "any later version", you have the option of following the terms and
1047
- conditions either of that version or of any later version published by
1048
- the Free Software Foundation. If the Library does not specify a
1049
- license version number, you may choose any version ever published by
1050
- the Free Software Foundation.
1051
-
1052
- 14. If you wish to incorporate parts of the Library into other free
1053
- programs whose distribution conditions are incompatible with these,
1054
- write to the author to ask for permission. For software which is
1055
- copyrighted by the Free Software Foundation, write to the Free
1056
- Software Foundation; we sometimes make exceptions for this. Our
1057
- decision will be guided by the two goals of preserving the free status
1058
- of all derivatives of our free software and of promoting the sharing
1059
- and reuse of software generally.
1060
-
1061
- NO WARRANTY
1062
-
1063
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1064
- WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1065
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1066
- OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1067
- KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1068
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1069
- PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1070
- LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1071
- THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1072
-
1073
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1074
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1075
- AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1076
- FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1077
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1078
- LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1079
- RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1080
- FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1081
- SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1082
- DAMAGES.
1083
-
1084
- END OF TERMS AND CONDITIONS
1085
-
1086
- How to Apply These Terms to Your New Libraries
1087
-
1088
- If you develop a new library, and you want it to be of the greatest
1089
- possible use to the public, we recommend making it free software that
1090
- everyone can redistribute and change. You can do so by permitting
1091
- redistribution under these terms (or, alternatively, under the terms of the
1092
- ordinary General Public License).
1093
-
1094
- To apply these terms, attach the following notices to the library. It is
1095
- safest to attach them to the start of each source file to most effectively
1096
- convey the exclusion of warranty; and each file should have at least the
1097
- "copyright" line and a pointer to where the full notice is found.
1098
-
1099
- <one line to give the library's name and a brief idea of what it does.>
1100
- Copyright (C) <year> <name of author>
1101
-
1102
- This library is free software; you can redistribute it and/or
1103
- modify it under the terms of the GNU Lesser General Public
1104
- License as published by the Free Software Foundation; either
1105
- version 2.1 of the License, or (at your option) any later version.
1106
-
1107
- This library is distributed in the hope that it will be useful,
1108
- but WITHOUT ANY WARRANTY; without even the implied warranty of
1109
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1110
- Lesser General Public License for more details.
1111
-
1112
- You should have received a copy of the GNU Lesser General Public
1113
- License along with this library; if not, write to the Free Software
1114
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1115
-
1116
- Also add information on how to contact you by electronic and paper mail.
1117
-
1118
- You should also get your employer (if you work as a programmer) or your
1119
- school, if any, to sign a "copyright disclaimer" for the library, if
1120
- necessary. Here is a sample; alter the names:
1121
-
1122
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
1123
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1124
-
1125
- <signature of Ty Coon>, 1 April 1990
1126
- Ty Coon, President of Vice
1127
-
1128
- That's all there is to it!
627
+ GNU LESSER GENERAL PUBLIC LICENSE
628
+ Version 2.1, February 1999
629
+
630
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
631
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
632
+ Everyone is permitted to copy and distribute verbatim copies
633
+ of this license document, but changing it is not allowed.
634
+
635
+ [This is the first released version of the Lesser GPL. It also counts
636
+ as the successor of the GNU Library Public License, version 2, hence
637
+ the version number 2.1.]
638
+
639
+ Preamble
640
+
641
+ The licenses for most software are designed to take away your
642
+ freedom to share and change it. By contrast, the GNU General Public
643
+ Licenses are intended to guarantee your freedom to share and change
644
+ free software--to make sure the software is free for all its users.
645
+
646
+ This license, the Lesser General Public License, applies to some
647
+ specially designated software packages--typically libraries--of the
648
+ Free Software Foundation and other authors who decide to use it. You
649
+ can use it too, but we suggest you first think carefully about whether
650
+ this license or the ordinary General Public License is the better
651
+ strategy to use in any particular case, based on the explanations below.
652
+
653
+ When we speak of free software, we are referring to freedom of use,
654
+ not price. Our General Public Licenses are designed to make sure that
655
+ you have the freedom to distribute copies of free software (and charge
656
+ for this service if you wish); that you receive source code or can get
657
+ it if you want it; that you can change the software and use pieces of
658
+ it in new free programs; and that you are informed that you can do
659
+ these things.
660
+
661
+ To protect your rights, we need to make restrictions that forbid
662
+ distributors to deny you these rights or to ask you to surrender these
663
+ rights. These restrictions translate to certain responsibilities for
664
+ you if you distribute copies of the library or if you modify it.
665
+
666
+ For example, if you distribute copies of the library, whether gratis
667
+ or for a fee, you must give the recipients all the rights that we gave
668
+ you. You must make sure that they, too, receive or can get the source
669
+ code. If you link other code with the library, you must provide
670
+ complete object files to the recipients, so that they can relink them
671
+ with the library after making changes to the library and recompiling
672
+ it. And you must show them these terms so they know their rights.
673
+
674
+ We protect your rights with a two-step method: (1) we copyright the
675
+ library, and (2) we offer you this license, which gives you legal
676
+ permission to copy, distribute and/or modify the library.
677
+
678
+ To protect each distributor, we want to make it very clear that
679
+ there is no warranty for the free library. Also, if the library is
680
+ modified by someone else and passed on, the recipients should know
681
+ that what they have is not the original version, so that the original
682
+ author's reputation will not be affected by problems that might be
683
+ introduced by others.
684
+
685
+ Finally, software patents pose a constant threat to the existence of
686
+ any free program. We wish to make sure that a company cannot
687
+ effectively restrict the users of a free program by obtaining a
688
+ restrictive license from a patent holder. Therefore, we insist that
689
+ any patent license obtained for a version of the library must be
690
+ consistent with the full freedom of use specified in this license.
691
+
692
+ Most GNU software, including some libraries, is covered by the
693
+ ordinary GNU General Public License. This license, the GNU Lesser
694
+ General Public License, applies to certain designated libraries, and
695
+ is quite different from the ordinary General Public License. We use
696
+ this license for certain libraries in order to permit linking those
697
+ libraries into non-free programs.
698
+
699
+ When a program is linked with a library, whether statically or using
700
+ a shared library, the combination of the two is legally speaking a
701
+ combined work, a derivative of the original library. The ordinary
702
+ General Public License therefore permits such linking only if the
703
+ entire combination fits its criteria of freedom. The Lesser General
704
+ Public License permits more lax criteria for linking other code with
705
+ the library.
706
+
707
+ We call this license the "Lesser" General Public License because it
708
+ does Less to protect the user's freedom than the ordinary General
709
+ Public License. It also provides other free software developers Less
710
+ of an advantage over competing non-free programs. These disadvantages
711
+ are the reason we use the ordinary General Public License for many
712
+ libraries. However, the Lesser license provides advantages in certain
713
+ special circumstances.
714
+
715
+ For example, on rare occasions, there may be a special need to
716
+ encourage the widest possible use of a certain library, so that it becomes
717
+ a de-facto standard. To achieve this, non-free programs must be
718
+ allowed to use the library. A more frequent case is that a free
719
+ library does the same job as widely used non-free libraries. In this
720
+ case, there is little to gain by limiting the free library to free
721
+ software only, so we use the Lesser General Public License.
722
+
723
+ In other cases, permission to use a particular library in non-free
724
+ programs enables a greater number of people to use a large body of
725
+ free software. For example, permission to use the GNU C Library in
726
+ non-free programs enables many more people to use the whole GNU
727
+ operating system, as well as its variant, the GNU/Linux operating
728
+ system.
729
+
730
+ Although the Lesser General Public License is Less protective of the
731
+ users' freedom, it does ensure that the user of a program that is
732
+ linked with the Library has the freedom and the wherewithal to run
733
+ that program using a modified version of the Library.
734
+
735
+ The precise terms and conditions for copying, distribution and
736
+ modification follow. Pay close attention to the difference between a
737
+ "work based on the library" and a "work that uses the library". The
738
+ former contains code derived from the library, whereas the latter must
739
+ be combined with the library in order to run.
740
+
741
+ GNU LESSER GENERAL PUBLIC LICENSE
742
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
743
+
744
+ 0. This License Agreement applies to any software library or other
745
+ program which contains a notice placed by the copyright holder or
746
+ other authorized party saying it may be distributed under the terms of
747
+ this Lesser General Public License (also called "this License").
748
+ Each licensee is addressed as "you".
749
+
750
+ A "library" means a collection of software functions and/or data
751
+ prepared so as to be conveniently linked with application programs
752
+ (which use some of those functions and data) to form executables.
753
+
754
+ The "Library", below, refers to any such software library or work
755
+ which has been distributed under these terms. A "work based on the
756
+ Library" means either the Library or any derivative work under
757
+ copyright law: that is to say, a work containing the Library or a
758
+ portion of it, either verbatim or with modifications and/or translated
759
+ straightforwardly into another language. (Hereinafter, translation is
760
+ included without limitation in the term "modification".)
761
+
762
+ "Source code" for a work means the preferred form of the work for
763
+ making modifications to it. For a library, complete source code means
764
+ all the source code for all modules it contains, plus any associated
765
+ interface definition files, plus the scripts used to control compilation
766
+ and installation of the library.
767
+
768
+ Activities other than copying, distribution and modification are not
769
+ covered by this License; they are outside its scope. The act of
770
+ running a program using the Library is not restricted, and output from
771
+ such a program is covered only if its contents constitute a work based
772
+ on the Library (independent of the use of the Library in a tool for
773
+ writing it). Whether that is true depends on what the Library does
774
+ and what the program that uses the Library does.
775
+
776
+ 1. You may copy and distribute verbatim copies of the Library's
777
+ complete source code as you receive it, in any medium, provided that
778
+ you conspicuously and appropriately publish on each copy an
779
+ appropriate copyright notice and disclaimer of warranty; keep intact
780
+ all the notices that refer to this License and to the absence of any
781
+ warranty; and distribute a copy of this License along with the
782
+ Library.
783
+
784
+ You may charge a fee for the physical act of transferring a copy,
785
+ and you may at your option offer warranty protection in exchange for a
786
+ fee.
787
+
788
+ 2. You may modify your copy or copies of the Library or any portion
789
+ of it, thus forming a work based on the Library, and copy and
790
+ distribute such modifications or work under the terms of Section 1
791
+ above, provided that you also meet all of these conditions:
792
+
793
+ a) The modified work must itself be a software library.
794
+
795
+ b) You must cause the files modified to carry prominent notices
796
+ stating that you changed the files and the date of any change.
797
+
798
+ c) You must cause the whole of the work to be licensed at no
799
+ charge to all third parties under the terms of this License.
800
+
801
+ d) If a facility in the modified Library refers to a function or a
802
+ table of data to be supplied by an application program that uses
803
+ the facility, other than as an argument passed when the facility
804
+ is invoked, then you must make a good faith effort to ensure that,
805
+ in the event an application does not supply such function or
806
+ table, the facility still operates, and performs whatever part of
807
+ its purpose remains meaningful.
808
+
809
+ (For example, a function in a library to compute square roots has
810
+ a purpose that is entirely well-defined independent of the
811
+ application. Therefore, Subsection 2d requires that any
812
+ application-supplied function or table used by this function must
813
+ be optional: if the application does not supply it, the square
814
+ root function must still compute square roots.)
815
+
816
+ These requirements apply to the modified work as a whole. If
817
+ identifiable sections of that work are not derived from the Library,
818
+ and can be reasonably considered independent and separate works in
819
+ themselves, then this License, and its terms, do not apply to those
820
+ sections when you distribute them as separate works. But when you
821
+ distribute the same sections as part of a whole which is a work based
822
+ on the Library, the distribution of the whole must be on the terms of
823
+ this License, whose permissions for other licensees extend to the
824
+ entire whole, and thus to each and every part regardless of who wrote
825
+ it.
826
+
827
+ Thus, it is not the intent of this section to claim rights or contest
828
+ your rights to work written entirely by you; rather, the intent is to
829
+ exercise the right to control the distribution of derivative or
830
+ collective works based on the Library.
831
+
832
+ In addition, mere aggregation of another work not based on the Library
833
+ with the Library (or with a work based on the Library) on a volume of
834
+ a storage or distribution medium does not bring the other work under
835
+ the scope of this License.
836
+
837
+ 3. You may opt to apply the terms of the ordinary GNU General Public
838
+ License instead of this License to a given copy of the Library. To do
839
+ this, you must alter all the notices that refer to this License, so
840
+ that they refer to the ordinary GNU General Public License, version 2,
841
+ instead of to this License. (If a newer version than version 2 of the
842
+ ordinary GNU General Public License has appeared, then you can specify
843
+ that version instead if you wish.) Do not make any other change in
844
+ these notices.
845
+
846
+ Once this change is made in a given copy, it is irreversible for
847
+ that copy, so the ordinary GNU General Public License applies to all
848
+ subsequent copies and derivative works made from that copy.
849
+
850
+ This option is useful when you wish to copy part of the code of
851
+ the Library into a program that is not a library.
852
+
853
+ 4. You may copy and distribute the Library (or a portion or
854
+ derivative of it, under Section 2) in object code or executable form
855
+ under the terms of Sections 1 and 2 above provided that you accompany
856
+ it with the complete corresponding machine-readable source code, which
857
+ must be distributed under the terms of Sections 1 and 2 above on a
858
+ medium customarily used for software interchange.
859
+
860
+ If distribution of object code is made by offering access to copy
861
+ from a designated place, then offering equivalent access to copy the
862
+ source code from the same place satisfies the requirement to
863
+ distribute the source code, even though third parties are not
864
+ compelled to copy the source along with the object code.
865
+
866
+ 5. A program that contains no derivative of any portion of the
867
+ Library, but is designed to work with the Library by being compiled or
868
+ linked with it, is called a "work that uses the Library". Such a
869
+ work, in isolation, is not a derivative work of the Library, and
870
+ therefore falls outside the scope of this License.
871
+
872
+ However, linking a "work that uses the Library" with the Library
873
+ creates an executable that is a derivative of the Library (because it
874
+ contains portions of the Library), rather than a "work that uses the
875
+ library". The executable is therefore covered by this License.
876
+ Section 6 states terms for distribution of such executables.
877
+
878
+ When a "work that uses the Library" uses material from a header file
879
+ that is part of the Library, the object code for the work may be a
880
+ derivative work of the Library even though the source code is not.
881
+ Whether this is true is especially significant if the work can be
882
+ linked without the Library, or if the work is itself a library. The
883
+ threshold for this to be true is not precisely defined by law.
884
+
885
+ If such an object file uses only numerical parameters, data
886
+ structure layouts and accessors, and small macros and small inline
887
+ functions (ten lines or less in length), then the use of the object
888
+ file is unrestricted, regardless of whether it is legally a derivative
889
+ work. (Executables containing this object code plus portions of the
890
+ Library will still fall under Section 6.)
891
+
892
+ Otherwise, if the work is a derivative of the Library, you may
893
+ distribute the object code for the work under the terms of Section 6.
894
+ Any executables containing that work also fall under Section 6,
895
+ whether or not they are linked directly with the Library itself.
896
+
897
+ 6. As an exception to the Sections above, you may also combine or
898
+ link a "work that uses the Library" with the Library to produce a
899
+ work containing portions of the Library, and distribute that work
900
+ under terms of your choice, provided that the terms permit
901
+ modification of the work for the customer's own use and reverse
902
+ engineering for debugging such modifications.
903
+
904
+ You must give prominent notice with each copy of the work that the
905
+ Library is used in it and that the Library and its use are covered by
906
+ this License. You must supply a copy of this License. If the work
907
+ during execution displays copyright notices, you must include the
908
+ copyright notice for the Library among them, as well as a reference
909
+ directing the user to the copy of this License. Also, you must do one
910
+ of these things:
911
+
912
+ a) Accompany the work with the complete corresponding
913
+ machine-readable source code for the Library including whatever
914
+ changes were used in the work (which must be distributed under
915
+ Sections 1 and 2 above); and, if the work is an executable linked
916
+ with the Library, with the complete machine-readable "work that
917
+ uses the Library", as object code and/or source code, so that the
918
+ user can modify the Library and then relink to produce a modified
919
+ executable containing the modified Library. (It is understood
920
+ that the user who changes the contents of definitions files in the
921
+ Library will not necessarily be able to recompile the application
922
+ to use the modified definitions.)
923
+
924
+ b) Use a suitable shared library mechanism for linking with the
925
+ Library. A suitable mechanism is one that (1) uses at run time a
926
+ copy of the library already present on the user's computer system,
927
+ rather than copying library functions into the executable, and (2)
928
+ will operate properly with a modified version of the library, if
929
+ the user installs one, as long as the modified version is
930
+ interface-compatible with the version that the work was made with.
931
+
932
+ c) Accompany the work with a written offer, valid for at
933
+ least three years, to give the same user the materials
934
+ specified in Subsection 6a, above, for a charge no more
935
+ than the cost of performing this distribution.
936
+
937
+ d) If distribution of the work is made by offering access to copy
938
+ from a designated place, offer equivalent access to copy the above
939
+ specified materials from the same place.
940
+
941
+ e) Verify that the user has already received a copy of these
942
+ materials or that you have already sent this user a copy.
943
+
944
+ For an executable, the required form of the "work that uses the
945
+ Library" must include any data and utility programs needed for
946
+ reproducing the executable from it. However, as a special exception,
947
+ the materials to be distributed need not include anything that is
948
+ normally distributed (in either source or binary form) with the major
949
+ components (compiler, kernel, and so on) of the operating system on
950
+ which the executable runs, unless that component itself accompanies
951
+ the executable.
952
+
953
+ It may happen that this requirement contradicts the license
954
+ restrictions of other proprietary libraries that do not normally
955
+ accompany the operating system. Such a contradiction means you cannot
956
+ use both them and the Library together in an executable that you
957
+ distribute.
958
+
959
+ 7. You may place library facilities that are a work based on the
960
+ Library side-by-side in a single library together with other library
961
+ facilities not covered by this License, and distribute such a combined
962
+ library, provided that the separate distribution of the work based on
963
+ the Library and of the other library facilities is otherwise
964
+ permitted, and provided that you do these two things:
965
+
966
+ a) Accompany the combined library with a copy of the same work
967
+ based on the Library, uncombined with any other library
968
+ facilities. This must be distributed under the terms of the
969
+ Sections above.
970
+
971
+ b) Give prominent notice with the combined library of the fact
972
+ that part of it is a work based on the Library, and explaining
973
+ where to find the accompanying uncombined form of the same work.
974
+
975
+ 8. You may not copy, modify, sublicense, link with, or distribute
976
+ the Library except as expressly provided under this License. Any
977
+ attempt otherwise to copy, modify, sublicense, link with, or
978
+ distribute the Library is void, and will automatically terminate your
979
+ rights under this License. However, parties who have received copies,
980
+ or rights, from you under this License will not have their licenses
981
+ terminated so long as such parties remain in full compliance.
982
+
983
+ 9. You are not required to accept this License, since you have not
984
+ signed it. However, nothing else grants you permission to modify or
985
+ distribute the Library or its derivative works. These actions are
986
+ prohibited by law if you do not accept this License. Therefore, by
987
+ modifying or distributing the Library (or any work based on the
988
+ Library), you indicate your acceptance of this License to do so, and
989
+ all its terms and conditions for copying, distributing or modifying
990
+ the Library or works based on it.
991
+
992
+ 10. Each time you redistribute the Library (or any work based on the
993
+ Library), the recipient automatically receives a license from the
994
+ original licensor to copy, distribute, link with or modify the Library
995
+ subject to these terms and conditions. You may not impose any further
996
+ restrictions on the recipients' exercise of the rights granted herein.
997
+ You are not responsible for enforcing compliance by third parties with
998
+ this License.
999
+
1000
+ 11. If, as a consequence of a court judgment or allegation of patent
1001
+ infringement or for any other reason (not limited to patent issues),
1002
+ conditions are imposed on you (whether by court order, agreement or
1003
+ otherwise) that contradict the conditions of this License, they do not
1004
+ excuse you from the conditions of this License. If you cannot
1005
+ distribute so as to satisfy simultaneously your obligations under this
1006
+ License and any other pertinent obligations, then as a consequence you
1007
+ may not distribute the Library at all. For example, if a patent
1008
+ license would not permit royalty-free redistribution of the Library by
1009
+ all those who receive copies directly or indirectly through you, then
1010
+ the only way you could satisfy both it and this License would be to
1011
+ refrain entirely from distribution of the Library.
1012
+
1013
+ If any portion of this section is held invalid or unenforceable under any
1014
+ particular circumstance, the balance of the section is intended to apply,
1015
+ and the section as a whole is intended to apply in other circumstances.
1016
+
1017
+ It is not the purpose of this section to induce you to infringe any
1018
+ patents or other property right claims or to contest validity of any
1019
+ such claims; this section has the sole purpose of protecting the
1020
+ integrity of the free software distribution system which is
1021
+ implemented by public license practices. Many people have made
1022
+ generous contributions to the wide range of software distributed
1023
+ through that system in reliance on consistent application of that
1024
+ system; it is up to the author/donor to decide if he or she is willing
1025
+ to distribute software through any other system and a licensee cannot
1026
+ impose that choice.
1027
+
1028
+ This section is intended to make thoroughly clear what is believed to
1029
+ be a consequence of the rest of this License.
1030
+
1031
+ 12. If the distribution and/or use of the Library is restricted in
1032
+ certain countries either by patents or by copyrighted interfaces, the
1033
+ original copyright holder who places the Library under this License may add
1034
+ an explicit geographical distribution limitation excluding those countries,
1035
+ so that distribution is permitted only in or among countries not thus
1036
+ excluded. In such case, this License incorporates the limitation as if
1037
+ written in the body of this License.
1038
+
1039
+ 13. The Free Software Foundation may publish revised and/or new
1040
+ versions of the Lesser General Public License from time to time.
1041
+ Such new versions will be similar in spirit to the present version,
1042
+ but may differ in detail to address new problems or concerns.
1043
+
1044
+ Each version is given a distinguishing version number. If the Library
1045
+ specifies a version number of this License which applies to it and
1046
+ "any later version", you have the option of following the terms and
1047
+ conditions either of that version or of any later version published by
1048
+ the Free Software Foundation. If the Library does not specify a
1049
+ license version number, you may choose any version ever published by
1050
+ the Free Software Foundation.
1051
+
1052
+ 14. If you wish to incorporate parts of the Library into other free
1053
+ programs whose distribution conditions are incompatible with these,
1054
+ write to the author to ask for permission. For software which is
1055
+ copyrighted by the Free Software Foundation, write to the Free
1056
+ Software Foundation; we sometimes make exceptions for this. Our
1057
+ decision will be guided by the two goals of preserving the free status
1058
+ of all derivatives of our free software and of promoting the sharing
1059
+ and reuse of software generally.
1060
+
1061
+ NO WARRANTY
1062
+
1063
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1064
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1065
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1066
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1067
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1068
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1069
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1070
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1071
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1072
+
1073
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1074
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1075
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1076
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1077
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1078
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1079
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1080
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1081
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1082
+ DAMAGES.
1083
+
1084
+ END OF TERMS AND CONDITIONS
1085
+
1086
+ How to Apply These Terms to Your New Libraries
1087
+
1088
+ If you develop a new library, and you want it to be of the greatest
1089
+ possible use to the public, we recommend making it free software that
1090
+ everyone can redistribute and change. You can do so by permitting
1091
+ redistribution under these terms (or, alternatively, under the terms of the
1092
+ ordinary General Public License).
1093
+
1094
+ To apply these terms, attach the following notices to the library. It is
1095
+ safest to attach them to the start of each source file to most effectively
1096
+ convey the exclusion of warranty; and each file should have at least the
1097
+ "copyright" line and a pointer to where the full notice is found.
1098
+
1099
+ <one line to give the library's name and a brief idea of what it does.>
1100
+ Copyright (C) <year> <name of author>
1101
+
1102
+ This library is free software; you can redistribute it and/or
1103
+ modify it under the terms of the GNU Lesser General Public
1104
+ License as published by the Free Software Foundation; either
1105
+ version 2.1 of the License, or (at your option) any later version.
1106
+
1107
+ This library is distributed in the hope that it will be useful,
1108
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
1109
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1110
+ Lesser General Public License for more details.
1111
+
1112
+ You should have received a copy of the GNU Lesser General Public
1113
+ License along with this library; if not, write to the Free Software
1114
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
1115
+
1116
+ Also add information on how to contact you by electronic and paper mail.
1117
+
1118
+ You should also get your employer (if you work as a programmer) or your
1119
+ school, if any, to sign a "copyright disclaimer" for the library, if
1120
+ necessary. Here is a sample; alter the names:
1121
+
1122
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
1123
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
1124
+
1125
+ <signature of Ty Coon>, 1 April 1990
1126
+ Ty Coon, President of Vice
1127
+
1128
+ That's all there is to it!
1129
1129