Debian Codegraph @

src/Doc/LICENSE.html

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