comparison toolboxes/FullBNT-1.0.7/docs/license.gpl @ 0:e9a9cd732c1e tip

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