Debian Codegraph @

LICENSE

raw
1 This software is Copyright (c) 2009-2021 by David Muir Sharnoff.
2
3 This is free software, licensed under:
4
5 The GNU Lesser General Public License, Version 2.1, February 1999
6
7 The GNU Lesser General Public License (LGPL)
8 Version 2.1, February 1999
9
10 (The master copy of this license lives on the GNU website.)
11
12 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59
13 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
14
15 Everyone is permitted to copy and distribute verbatim copies
16 of this license document, but changing it is not allowed.
17
18 [This is the first released version of the Lesser GPL. It also
19 counts as the successor of the GNU Library Public License,
20 version 2, hence the version number 2.1.]
21
22 Preamble
23
24 The licenses for most software are designed to take away
25 your freedom to share and change it. By contrast, the GNU
26 General Public Licenses are intended to guarantee your
27 freedom to share and change free software--to make sure the
28 software is free for all its users.
29
30 This license, the Lesser General Public License, applies to
31 some specially designated software packages--typically
32 libraries--of the Free Software Foundation and other authors
33 who decide to use it. You can use it too, but we suggest you
34 first think carefully about whether this license or the ordinary
35 General Public License is the better strategy to use in any
36 particular case, based on the explanations below.
37
38 When we speak of free software, we are referring to freedom
39 of use, not price. Our General Public Licenses are designed
40 to make sure that you have the freedom to distribute copies
41 of free software (and charge for this service if you wish); that
42 you receive source code or can get it if you want it; that you
43 can change the software and use pieces of it in new free
44 programs; and that you are informed that you can do these
45 things.
46
47 To protect your rights, we need to make restrictions that
48 forbid distributors to deny you these rights or to ask you to
49 surrender these rights. These restrictions translate to certain
50 responsibilities for you if you distribute copies of the library
51 or if you modify it.
52
53 For example, if you distribute copies of the library, whether
54 gratis or for a fee, you must give the recipients all the rights
55 that we gave you. You must make sure that they, too,
56 receive or can get the source code. If you link other code
57 with the library, you must provide complete object files to the
58 recipients, so that they can relink them with the library after
59 making changes to the library and recompiling it. And you
60 must show them these terms so they know their rights.
61
62 We protect your rights with a two-step method: (1) we
63 copyright the library, and (2) we offer you this license, which
64 gives you legal permission to copy, distribute and/or modify
65 the library.
66
67 To protect each distributor, we want to make it very clear
68 that there is no warranty for the free library. Also, if the
69 library is modified by someone else and passed on, the
70 recipients should know that what they have is not the original
71 version, so that the original author's reputation will not be
72 affected by problems that might be introduced by others.
73
74 Finally, software patents pose a constant threat to the
75 existence of any free program. We wish to make sure that a
76 company cannot effectively restrict the users of a free
77 program by obtaining a restrictive license from a patent
78 holder. Therefore, we insist that any patent license obtained
79 for a version of the library must be consistent with the full
80 freedom of use specified in this license.
81
82 Most GNU software, including some libraries, is covered by
83 the ordinary GNU General Public License. This license, the
84 GNU Lesser General Public License, applies to certain
85 designated libraries, and is quite different from the ordinary
86 General Public License. We use this license for certain
87 libraries in order to permit linking those libraries into non-free
88 programs.
89
90 When a program is linked with a library, whether statically or
91 using a shared library, the combination of the two is legally
92 speaking a combined work, a derivative of the original library.
93 The ordinary General Public License therefore permits such
94 linking only if the entire combination fits its criteria of
95 freedom. The Lesser General Public License permits more
96 lax criteria for linking other code with the library.
97
98 We call this license the "Lesser" General Public License
99 because it does Less to protect the user's freedom than the
100 ordinary General Public License. It also provides other free
101 software developers Less of an advantage over competing
102 non-free programs. These disadvantages are the reason we
103 use the ordinary General Public License for many libraries.
104 However, the Lesser license provides advantages in certain
105 special circumstances.
106
107 For example, on rare occasions, there may be a special
108 need to encourage the widest possible use of a certain
109 library, so that it becomes a de-facto standard. To achieve
110 this, non-free programs must be allowed to use the library. A
111 more frequent case is that a free library does the same job
112 as widely used non-free libraries. In this case, there is little
113 to gain by limiting the free library to free software only, so we
114 use the Lesser General Public License.
115
116 In other cases, permission to use a particular library in
117 non-free programs enables a greater number of people to use
118 a large body of free software. For example, permission to
119 use the GNU C Library in non-free programs enables many
120 more people to use the whole GNU operating system, as
121 well as its variant, the GNU/Linux operating system.
122
123 Although the Lesser General Public License is Less
124 protective of the users' freedom, it does ensure that the user
125 of a program that is linked with the Library has the freedom
126 and the wherewithal to run that program using a modified
127 version of the Library.
128
129 The precise terms and conditions for copying, distribution
130 and modification follow. Pay close attention to the difference
131 between a "work based on the library" and a "work that uses
132 the library". The former contains code derived from the
133 library, whereas the latter must be combined with the library
134 in order to run.
135
136 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION
137 AND MODIFICATION
138
139 0. This License Agreement applies to any software library or
140 other program which contains a notice placed by the
141 copyright holder or other authorized party saying it may be
142 distributed under the terms of this Lesser General Public
143 License (also called "this License"). Each licensee is
144 addressed as "you".
145
146 A "library" means a collection of software functions and/or
147 data prepared so as to be conveniently linked with
148 application programs (which use some of those functions
149 and data) to form executables.
150
151 The "Library", below, refers to any such software library or
152 work which has been distributed under these terms. A "work
153 based on the Library" means either the Library or any
154 derivative work under copyright law: that is to say, a work
155 containing the Library or a portion of it, either verbatim or with
156 modifications and/or translated straightforwardly into another
157 language. (Hereinafter, translation is included without
158 limitation in the term "modification".)
159
160 "Source code" for a work means the preferred form of the
161 work for making modifications to it. For a library, complete
162 source code means all the source code for all modules it
163 contains, plus any associated interface definition files, plus
164 the scripts used to control compilation and installation of the
165 library.
166
167 Activities other than copying, distribution and modification
168 are not covered by this License; they are outside its scope.
169 The act of running a program using the Library is not
170 restricted, and output from such a program is covered only if
171 its contents constitute a work based on the Library
172 (independent of the use of the Library in a tool for writing it).
173 Whether that is true depends on what the Library does and
174 what the program that uses the Library does.
175
176 1. You may copy and distribute verbatim copies of the
177 Library's complete source code as you receive it, in any
178 medium, provided that you conspicuously and appropriately
179 publish on each copy an appropriate copyright notice and
180 disclaimer of warranty; keep intact all the notices that refer
181 to this License and to the absence of any warranty; and
182 distribute a copy of this License along with the Library.
183
184 You may charge a fee for the physical act of transferring a
185 copy, and you may at your option offer warranty protection in
186 exchange for a fee.
187
188 2. You may modify your copy or copies of the Library or any
189 portion of it, thus forming a work based on the Library, and
190 copy and distribute such modifications or work under the
191 terms of Section 1 above, provided that you also meet all of
192 these conditions:
193
194 a) The modified work must itself be a software
195 library.
196 b) You must cause the files modified to carry
197 prominent notices stating that you changed the
198 files and the date of any change.
199 c) You must cause the whole of the work to be
200 licensed at no charge to all third parties under
201 the terms of this License.
202 d) If a facility in the modified Library refers to a
203 function or a table of data to be supplied by an
204 application program that uses the facility, other
205 than as an argument passed when the facility
206 is invoked, then you must make a good faith
207 effort to ensure that, in the event an application
208 does not supply such function or table, the
209 facility still operates, and performs whatever
210 part of its purpose remains meaningful.
211
212 (For example, a function in a library to
213 compute square roots has a purpose that is
214 entirely well-defined independent of the
215 application. Therefore, Subsection 2d requires
216 that any application-supplied function or table
217 used by this function must be optional: if the
218 application does not supply it, the square root
219 function must still compute square roots.)
220
221 These requirements apply to the modified work
222 as a whole. If identifiable sections of that work
223 are not derived from the Library, and can be
224 reasonably considered independent and
225 separate works in themselves, then this
226 License, and its terms, do not apply to those
227 sections when you distribute them as separate
228 works. But when you distribute the same
229 sections as part of a whole which is a work
230 based on the Library, the distribution of the
231 whole must be on the terms of this License,
232 whose permissions for other licensees extend
233 to the entire whole, and thus to each and every
234 part regardless of who wrote it.
235
236 Thus, it is not the intent of this section to claim
237 rights or contest your rights to work written
238 entirely by you; rather, the intent is to exercise
239 the right to control the distribution of derivative
240 or collective works based on the Library.
241
242 In addition, mere aggregation of another work
243 not based on the Library with the Library (or
244 with a work based on the Library) on a volume
245 of a storage or distribution medium does not
246 bring the other work under the scope of this
247 License.
248
249 3. You may opt to apply the terms of the ordinary GNU
250 General Public License instead of this License to a given
251 copy of the Library. To do this, you must alter all the notices
252 that refer to this License, so that they refer to the ordinary
253 GNU General Public License, version 2, instead of to this
254 License. (If a newer version than version 2 of the ordinary
255 GNU General Public License has appeared, then you can
256 specify that version instead if you wish.) Do not make any
257 other change in these notices.
258
259 Once this change is made in a given copy, it is irreversible
260 for that copy, so the ordinary GNU General Public License
261 applies to all subsequent copies and derivative works made
262 from that copy.
263
264 This option is useful when you wish to copy part of the code
265 of the Library into a program that is not a library.
266
267 4. You may copy and distribute the Library (or a portion or
268 derivative of it, under Section 2) in object code or executable
269 form under the terms of Sections 1 and 2 above provided that
270 you accompany it with the complete corresponding
271 machine-readable source code, which must be distributed
272 under the terms of Sections 1 and 2 above on a medium
273 customarily used for software interchange.
274
275 If distribution of object code is made by offering access to
276 copy from a designated place, then offering equivalent
277 access to copy the source code from the same place
278 satisfies the requirement to distribute the source code, even
279 though third parties are not compelled to copy the source
280 along with the object code.
281
282 5. A program that contains no derivative of any portion of the
283 Library, but is designed to work with the Library by being
284 compiled or linked with it, is called a "work that uses the
285 Library". Such a work, in isolation, is not a derivative work of
286 the Library, and therefore falls outside the scope of this
287 License.
288
289 However, linking a "work that uses the Library" with the
290 Library creates an executable that is a derivative of the
291 Library (because it contains portions of the Library), rather
292 than a "work that uses the library". The executable is
293 therefore covered by this License. Section 6 states terms for
294 distribution of such executables.
295
296 When a "work that uses the Library" uses material from a
297 header file that is part of the Library, the object code for the
298 work may be a derivative work of the Library even though the
299 source code is not. Whether this is true is especially
300 significant if the work can be linked without the Library, or if
301 the work is itself a library. The threshold for this to be true is
302 not precisely defined by law.
303
304 If such an object file uses only numerical parameters, data
305 structure layouts and accessors, and small macros and
306 small inline functions (ten lines or less in length), then the
307 use of the object file is unrestricted, regardless of whether it
308 is legally a derivative work. (Executables containing this
309 object code plus portions of the Library will still fall under
310 Section 6.)
311
312 Otherwise, if the work is a derivative of the Library, you may
313 distribute the object code for the work under the terms of
314 Section 6. Any executables containing that work also fall
315 under Section 6, whether or not they are linked directly with
316 the Library itself.
317
318 6. As an exception to the Sections above, you may also
319 combine or link a "work that uses the Library" with the
320 Library to produce a work containing portions of the Library,
321 and distribute that work under terms of your choice, provided
322 that the terms permit modification of the work for the
323 customer's own use and reverse engineering for debugging
324 such modifications.
325
326 You must give prominent notice with each copy of the work
327 that the Library is used in it and that the Library and its use
328 are covered by this License. You must supply a copy of this
329 License. If the work during execution displays copyright
330 notices, you must include the copyright notice for the Library
331 among them, as well as a reference directing the user to the
332 copy of this License. Also, you must do one of these things:
333
334 a) Accompany the work with the complete
335 corresponding machine-readable source code
336 for the Library including whatever changes were
337 used in the work (which must be distributed
338 under Sections 1 and 2 above); and, if the work
339 is an executable linked with the Library, with
340 the complete machine-readable "work that
341 uses the Library", as object code and/or
342 source code, so that the user can modify the
343 Library and then relink to produce a modified
344 executable containing the modified Library. (It
345 is understood that the user who changes the
346 contents of definitions files in the Library will
347 not necessarily be able to recompile the
348 application to use the modified definitions.)
349
350 b) Use a suitable shared library mechanism for
351 linking with the Library. A suitable mechanism
352 is one that (1) uses at run time a copy of the
353 library already present on the user's computer
354 system, rather than copying library functions
355 into the executable, and (2) will operate
356 properly with a modified version of the library, if
357 the user installs one, as long as the modified
358 version is interface-compatible with the version
359 that the work was made with.
360
361 c) Accompany the work with a written offer,
362 valid for at least three years, to give the same
363 user the materials specified in Subsection 6a,
364 above, for a charge no more than the cost of
365 performing this distribution.
366
367 d) If distribution of the work is made by offering
368 access to copy from a designated place, offer
369 equivalent access to copy the above specified
370 materials from the same place.
371
372 e) Verify that the user has already received a
373 copy of these materials or that you have
374 already sent this user a copy.
375
376 For an executable, the required form of the "work that uses
377 the Library" must include any data and utility programs
378 needed for reproducing the executable from it. However, as a
379 special exception, the materials to be distributed need not
380 include anything that is normally distributed (in either source
381 or binary form) with the major components (compiler, kernel,
382 and so on) of the operating system on which the executable
383 runs, unless that component itself accompanies the
384 executable.
385
386 It may happen that this requirement contradicts the license
387 restrictions of other proprietary libraries that do not normally
388 accompany the operating system. Such a contradiction
389 means you cannot use both them and the Library together in
390 an executable that you distribute.
391
392 7. You may place library facilities that are a work based on
393 the Library side-by-side in a single library together with other
394 library facilities not covered by this License, and distribute
395 such a combined library, provided that the separate
396 distribution of the work based on the Library and of the other
397 library facilities is otherwise permitted, and provided that you
398 do these two things:
399
400 a) Accompany the combined library with a
401 copy of the same work based on the Library,
402 uncombined with any other library facilities.
403 This must be distributed under the terms of the
404 Sections above.
405
406 b) Give prominent notice with the combined
407 library of the fact that part of it is a work based
408 on the Library, and explaining where to find the
409 accompanying uncombined form of the same
410 work.
411
412 8. You may not copy, modify, sublicense, link with, or
413 distribute the Library except as expressly provided under this
414 License. Any attempt otherwise to copy, modify, sublicense,
415 link with, or distribute the Library is void, and will
416 automatically terminate your rights under this License.
417 However, parties who have received copies, or rights, from
418 you under this License will not have their licenses terminated
419 so long as such parties remain in full compliance.
420
421 9. You are not required to accept this License, since you
422 have not signed it. However, nothing else grants you
423 permission to modify or distribute the Library or its derivative
424 works. These actions are prohibited by law if you do not
425 accept this License. Therefore, by modifying or distributing
426 the Library (or any work based on the Library), you indicate
427 your acceptance of this License to do so, and all its terms
428 and conditions for copying, distributing or modifying the
429 Library or works based on it.
430
431 10. Each time you redistribute the Library (or any work
432 based on the Library), the recipient automatically receives a
433 license from the original licensor to copy, distribute, link with
434 or modify the Library subject to these terms and conditions.
435 You may not impose any further restrictions on the
436 recipients' exercise of the rights granted herein. You are not
437 responsible for enforcing compliance by third parties with this
438 License.
439
440 11. If, as a consequence of a court judgment or allegation of
441 patent infringement or for any other reason (not limited to
442 patent issues), conditions are imposed on you (whether by
443 court order, agreement or otherwise) that contradict the
444 conditions of this License, they do not excuse you from the
445 conditions of this License. If you cannot distribute so as to
446 satisfy simultaneously your obligations under this License
447 and any other pertinent obligations, then as a consequence
448 you may not distribute the Library at all. For example, if a
449 patent license would not permit royalty-free redistribution of
450 the Library by all those who receive copies directly or
451 indirectly through you, then the only way you could satisfy
452 both it and this License would be to refrain entirely from
453 distribution of the Library.
454
455 If any portion of this section is held invalid or unenforceable
456 under any particular circumstance, the balance of the
457 section is intended to apply, and the section as a whole is
458 intended to apply in other circumstances.
459
460 It is not the purpose of this section to induce you to infringe
461 any patents or other property right claims or to contest
462 validity of any such claims; this section has the sole purpose
463 of protecting the integrity of the free software distribution
464 system which is implemented by public license practices.
465 Many people have made generous contributions to the wide
466 range of software distributed through that system in reliance
467 on consistent application of that system; it is up to the
468 author/donor to decide if he or she is willing to distribute
469 software through any other system and a licensee cannot
470 impose that choice.
471
472 This section is intended to make thoroughly clear what is
473 believed to be a consequence of the rest of this License.
474
475 12. If the distribution and/or use of the Library is restricted in
476 certain countries either by patents or by copyrighted
477 interfaces, the original copyright holder who places the
478 Library under this License may add an explicit geographical
479 distribution limitation excluding those countries, so that
480 distribution is permitted only in or among countries not thus
481 excluded. In such case, this License incorporates the
482 limitation as if written in the body of this License.
483
484 13. The Free Software Foundation may publish revised
485 and/or new versions of the Lesser General Public License
486 from time to time. Such new versions will be similar in spirit
487 to the present version, but may differ in detail to address new
488 problems or concerns.
489
490 Each version is given a distinguishing version number. If the
491 Library specifies a version number of this License which
492 applies to it and "any later version", you have the option of
493 following the terms and conditions either of that version or of
494 any later version published by the Free Software Foundation.
495 If the Library does not specify a license version number, you
496 may choose any version ever published by the Free Software
497 Foundation.
498
499 14. If you wish to incorporate parts of the Library into other
500 free programs whose distribution conditions are incompatible
501 with these, write to the author to ask for permission. For
502 software which is copyrighted by the Free Software
503 Foundation, write to the Free Software Foundation; we
504 sometimes make exceptions for this. Our decision will be
505 guided by the two goals of preserving the free status of all
506 derivatives of our free software and of promoting the sharing
507 and reuse of software generally.
508
509 NO WARRANTY
510
511 15. BECAUSE THE LIBRARY IS LICENSED FREE OF
512 CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY,
513 TO THE EXTENT PERMITTED BY APPLICABLE LAW.
514 EXCEPT WHEN OTHERWISE STATED IN WRITING THE
515 COPYRIGHT HOLDERS AND/OR OTHER PARTIES
516 PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY
517 OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
518 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
519 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
520 A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
521 QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH
522 YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU
523 ASSUME THE COST OF ALL NECESSARY SERVICING,
524 REPAIR OR CORRECTION.
525
526 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE
527 LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
528 HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
529 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED
530 ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING
531 ANY GENERAL, SPECIAL, INCIDENTAL OR
532 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
533 OR INABILITY TO USE THE LIBRARY (INCLUDING BUT
534 NOT LIMITED TO LOSS OF DATA OR DATA BEING
535 RENDERED INACCURATE OR LOSSES SUSTAINED BY
536 YOU OR THIRD PARTIES OR A FAILURE OF THE
537 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE),
538 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
539 ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
540
541 END OF TERMS AND CONDITIONS