commit | author | age
|
64311d
|
1 |
|
MT |
2 |
This package with all its parts is |
|
3 |
|
|
4 |
Copyright (c) 1995 - 2015 by Steffen Beyer. |
|
5 |
All rights reserved. |
|
6 |
|
|
7 |
This package is free software; you can use, modify and redistribute |
|
8 |
it under the same terms as Perl itself, i.e., at your option, under |
|
9 |
the terms either of the "Artistic License" or the "GNU General Public |
|
10 |
License". |
|
11 |
|
|
12 |
The C library at the core of the module "Date::Calc::XS" can, at your |
|
13 |
discretion, also be used, modified and redistributed under the terms |
|
14 |
of the "GNU Library General Public License". |
|
15 |
|
|
16 |
Please refer to the files "Artistic.txt", "GNU_GPL.txt" and |
|
17 |
"GNU_LGPL.txt" in the "license" subdirectory of this distribution |
|
18 |
for any details! |
|
19 |
|
|
20 |
|
|
21 |
--- Artistic.txt ---------------------------------------------------------- |
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
The "Artistic License" |
|
27 |
|
|
28 |
Preamble |
|
29 |
|
|
30 |
The intent of this document is to state the conditions under which a |
|
31 |
Package may be copied, such that the Copyright Holder maintains some |
|
32 |
semblance of artistic control over the development of the package, |
|
33 |
while giving the users of the package the right to use and distribute |
|
34 |
the Package in a more-or-less customary fashion, plus the right to make |
|
35 |
reasonable modifications. |
|
36 |
|
|
37 |
Definitions: |
|
38 |
|
|
39 |
"Package" refers to the collection of files distributed by the |
|
40 |
Copyright Holder, and derivatives of that collection of files |
|
41 |
created through textual modification. |
|
42 |
|
|
43 |
"Standard Version" refers to such a Package if it has not been |
|
44 |
modified, or has been modified in accordance with the wishes |
|
45 |
of the Copyright Holder as specified below. |
|
46 |
|
|
47 |
"Copyright Holder" is whoever is named in the copyright or |
|
48 |
copyrights for the package. |
|
49 |
|
|
50 |
"You" is you, if you're thinking about copying or distributing |
|
51 |
this Package. |
|
52 |
|
|
53 |
"Reasonable copying fee" is whatever you can justify on the |
|
54 |
basis of media cost, duplication charges, time of people involved, |
|
55 |
and so on. (You will not be required to justify it to the |
|
56 |
Copyright Holder, but only to the computing community at large |
|
57 |
as a market that must bear the fee.) |
|
58 |
|
|
59 |
"Freely Available" means that no fee is charged for the item |
|
60 |
itself, though there may be fees involved in handling the item. |
|
61 |
It also means that recipients of the item may redistribute it |
|
62 |
under the same conditions they received it. |
|
63 |
|
|
64 |
1. You may make and give away verbatim copies of the source form of the |
|
65 |
Standard Version of this Package without restriction, provided that you |
|
66 |
duplicate all of the original copyright notices and associated disclaimers. |
|
67 |
|
|
68 |
2. You may apply bug fixes, portability fixes and other modifications |
|
69 |
derived from the Public Domain or from the Copyright Holder. A Package |
|
70 |
modified in such a way shall still be considered the Standard Version. |
|
71 |
|
|
72 |
3. You may otherwise modify your copy of this Package in any way, provided |
|
73 |
that you insert a prominent notice in each changed file stating how and |
|
74 |
when you changed that file, and provided that you do at least ONE of the |
|
75 |
following: |
|
76 |
|
|
77 |
a) place your modifications in the Public Domain or otherwise make them |
|
78 |
Freely Available, such as by posting said modifications to Usenet or |
|
79 |
an equivalent medium, or placing the modifications on a major archive |
|
80 |
site such as uunet.uu.net, or by allowing the Copyright Holder to include |
|
81 |
your modifications in the Standard Version of the Package. |
|
82 |
|
|
83 |
b) use the modified Package only within your corporation or organization. |
|
84 |
|
|
85 |
c) rename any non-standard executables so the names do not conflict |
|
86 |
with standard executables, which must also be provided, and provide |
|
87 |
a separate manual page for each non-standard executable that clearly |
|
88 |
documents how it differs from the Standard Version. |
|
89 |
|
|
90 |
d) make other distribution arrangements with the Copyright Holder. |
|
91 |
|
|
92 |
4. You may distribute the programs of this Package in object code or |
|
93 |
executable form, provided that you do at least ONE of the following: |
|
94 |
|
|
95 |
a) distribute a Standard Version of the executables and library files, |
|
96 |
together with instructions (in the manual page or equivalent) on where |
|
97 |
to get the Standard Version. |
|
98 |
|
|
99 |
b) accompany the distribution with the machine-readable source of |
|
100 |
the Package with your modifications. |
|
101 |
|
|
102 |
c) give non-standard executables non-standard names, and clearly |
|
103 |
document the differences in manual pages (or equivalent), together |
|
104 |
with instructions on where to get the Standard Version. |
|
105 |
|
|
106 |
d) make other distribution arrangements with the Copyright Holder. |
|
107 |
|
|
108 |
5. You may charge a reasonable copying fee for any distribution of this |
|
109 |
Package. You may charge any fee you choose for support of this |
|
110 |
Package. You may not charge a fee for this Package itself. However, |
|
111 |
you may distribute this Package in aggregate with other (possibly |
|
112 |
commercial) programs as part of a larger (possibly commercial) software |
|
113 |
distribution provided that you do not advertise this Package as a |
|
114 |
product of your own. You may embed this Package's interpreter within |
|
115 |
an executable of yours (by linking); this shall be construed as a mere |
|
116 |
form of aggregation, provided that the complete Standard Version of the |
|
117 |
interpreter is so embedded. |
|
118 |
|
|
119 |
6. The scripts and library files supplied as input to or produced as |
|
120 |
output from the programs of this Package do not automatically fall |
|
121 |
under the copyright of this Package, but belong to whoever generated |
|
122 |
them, and may be sold commercially, and may be aggregated with this |
|
123 |
Package. If such scripts or library files are aggregated with this |
|
124 |
Package via the so-called "undump" or "unexec" methods of producing a |
|
125 |
binary executable image, then distribution of such an image shall |
|
126 |
neither be construed as a distribution of this Package nor shall it |
|
127 |
fall under the restrictions of Paragraphs 3 and 4, provided that you do |
|
128 |
not represent such an executable image as a Standard Version of this |
|
129 |
Package. |
|
130 |
|
|
131 |
7. C subroutines (or comparably compiled subroutines in other |
|
132 |
languages) supplied by you and linked into this Package in order to |
|
133 |
emulate subroutines and variables of the language defined by this |
|
134 |
Package shall not be considered part of this Package, but are the |
|
135 |
equivalent of input as in Paragraph 6, provided these subroutines do |
|
136 |
not change the language in any way that would cause it to fail the |
|
137 |
regression tests for the language. |
|
138 |
|
|
139 |
8. Aggregation of this Package with a commercial distribution is always |
|
140 |
permitted provided that the use of this Package is embedded; that is, |
|
141 |
when no overt attempt is made to make this Package's interfaces visible |
|
142 |
to the end user of the commercial distribution. Such use shall not be |
|
143 |
construed as a distribution of this Package. |
|
144 |
|
|
145 |
9. The name of the Copyright Holder may not be used to endorse or promote |
|
146 |
products derived from this software without specific prior written permission. |
|
147 |
|
|
148 |
10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR |
|
149 |
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED |
|
150 |
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
|
151 |
|
|
152 |
The End |
|
153 |
|
|
154 |
|
|
155 |
--- GNU_GPL.txt ----------------------------------------------------------- |
|
156 |
|
|
157 |
GNU GENERAL PUBLIC LICENSE |
|
158 |
Version 2, June 1991 |
|
159 |
|
|
160 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
|
161 |
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
162 |
Everyone is permitted to copy and distribute verbatim copies |
|
163 |
of this license document, but changing it is not allowed. |
|
164 |
|
|
165 |
Preamble |
|
166 |
|
|
167 |
The licenses for most software are designed to take away your |
|
168 |
freedom to share and change it. By contrast, the GNU General Public |
|
169 |
License is intended to guarantee your freedom to share and change free |
|
170 |
software--to make sure the software is free for all its users. This |
|
171 |
General Public License applies to most of the Free Software |
|
172 |
Foundation's software and to any other program whose authors commit to |
|
173 |
using it. (Some other Free Software Foundation software is covered by |
|
174 |
the GNU Library General Public License instead.) You can apply it to |
|
175 |
your programs, too. |
|
176 |
|
|
177 |
When we speak of free software, we are referring to freedom, not |
|
178 |
price. Our General Public Licenses are designed to make sure that you |
|
179 |
have the freedom to distribute copies of free software (and charge for |
|
180 |
this service if you wish), that you receive source code or can get it |
|
181 |
if you want it, that you can change the software or use pieces of it |
|
182 |
in new free programs; and that you know you can do these things. |
|
183 |
|
|
184 |
To protect your rights, we need to make restrictions that forbid |
|
185 |
anyone to deny you these rights or to ask you to surrender the rights. |
|
186 |
These restrictions translate to certain responsibilities for you if you |
|
187 |
distribute copies of the software, or if you modify it. |
|
188 |
|
|
189 |
For example, if you distribute copies of such a program, whether |
|
190 |
gratis or for a fee, you must give the recipients all the rights that |
|
191 |
you have. You must make sure that they, too, receive or can get the |
|
192 |
source code. And you must show them these terms so they know their |
|
193 |
rights. |
|
194 |
|
|
195 |
We protect your rights with two steps: (1) copyright the software, and |
|
196 |
(2) offer you this license which gives you legal permission to copy, |
|
197 |
distribute and/or modify the software. |
|
198 |
|
|
199 |
Also, for each author's protection and ours, we want to make certain |
|
200 |
that everyone understands that there is no warranty for this free |
|
201 |
software. If the software is modified by someone else and passed on, we |
|
202 |
want its recipients to know that what they have is not the original, so |
|
203 |
that any problems introduced by others will not reflect on the original |
|
204 |
authors' reputations. |
|
205 |
|
|
206 |
Finally, any free program is threatened constantly by software |
|
207 |
patents. We wish to avoid the danger that redistributors of a free |
|
208 |
program will individually obtain patent licenses, in effect making the |
|
209 |
program proprietary. To prevent this, we have made it clear that any |
|
210 |
patent must be licensed for everyone's free use or not licensed at all. |
|
211 |
|
|
212 |
The precise terms and conditions for copying, distribution and |
|
213 |
modification follow. |
|
214 |
|
|
215 |
GNU GENERAL PUBLIC LICENSE |
|
216 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
217 |
|
|
218 |
0. This License applies to any program or other work which contains |
|
219 |
a notice placed by the copyright holder saying it may be distributed |
|
220 |
under the terms of this General Public License. The "Program", below, |
|
221 |
refers to any such program or work, and a "work based on the Program" |
|
222 |
means either the Program or any derivative work under copyright law: |
|
223 |
that is to say, a work containing the Program or a portion of it, |
|
224 |
either verbatim or with modifications and/or translated into another |
|
225 |
language. (Hereinafter, translation is included without limitation in |
|
226 |
the term "modification".) Each licensee is addressed as "you". |
|
227 |
|
|
228 |
Activities other than copying, distribution and modification are not |
|
229 |
covered by this License; they are outside its scope. The act of |
|
230 |
running the Program is not restricted, and the output from the Program |
|
231 |
is covered only if its contents constitute a work based on the |
|
232 |
Program (independent of having been made by running the Program). |
|
233 |
Whether that is true depends on what the Program does. |
|
234 |
|
|
235 |
1. You may copy and distribute verbatim copies of the Program's |
|
236 |
source code as you receive it, in any medium, provided that you |
|
237 |
conspicuously and appropriately publish on each copy an appropriate |
|
238 |
copyright notice and disclaimer of warranty; keep intact all the |
|
239 |
notices that refer to this License and to the absence of any warranty; |
|
240 |
and give any other recipients of the Program a copy of this License |
|
241 |
along with the Program. |
|
242 |
|
|
243 |
You may charge a fee for the physical act of transferring a copy, and |
|
244 |
you may at your option offer warranty protection in exchange for a fee. |
|
245 |
|
|
246 |
2. You may modify your copy or copies of the Program or any portion |
|
247 |
of it, thus forming a work based on the Program, and copy and |
|
248 |
distribute such modifications or work under the terms of Section 1 |
|
249 |
above, provided that you also meet all of these conditions: |
|
250 |
|
|
251 |
a) You must cause the modified files to carry prominent notices |
|
252 |
stating that you changed the files and the date of any change. |
|
253 |
|
|
254 |
b) You must cause any work that you distribute or publish, that in |
|
255 |
whole or in part contains or is derived from the Program or any |
|
256 |
part thereof, to be licensed as a whole at no charge to all third |
|
257 |
parties under the terms of this License. |
|
258 |
|
|
259 |
c) If the modified program normally reads commands interactively |
|
260 |
when run, you must cause it, when started running for such |
|
261 |
interactive use in the most ordinary way, to print or display an |
|
262 |
announcement including an appropriate copyright notice and a |
|
263 |
notice that there is no warranty (or else, saying that you provide |
|
264 |
a warranty) and that users may redistribute the program under |
|
265 |
these conditions, and telling the user how to view a copy of this |
|
266 |
License. (Exception: if the Program itself is interactive but |
|
267 |
does not normally print such an announcement, your work based on |
|
268 |
the Program is not required to print an announcement.) |
|
269 |
|
|
270 |
These requirements apply to the modified work as a whole. If |
|
271 |
identifiable sections of that work are not derived from the Program, |
|
272 |
and can be reasonably considered independent and separate works in |
|
273 |
themselves, then this License, and its terms, do not apply to those |
|
274 |
sections when you distribute them as separate works. But when you |
|
275 |
distribute the same sections as part of a whole which is a work based |
|
276 |
on the Program, the distribution of the whole must be on the terms of |
|
277 |
this License, whose permissions for other licensees extend to the |
|
278 |
entire whole, and thus to each and every part regardless of who wrote it. |
|
279 |
|
|
280 |
Thus, it is not the intent of this section to claim rights or contest |
|
281 |
your rights to work written entirely by you; rather, the intent is to |
|
282 |
exercise the right to control the distribution of derivative or |
|
283 |
collective works based on the Program. |
|
284 |
|
|
285 |
In addition, mere aggregation of another work not based on the Program |
|
286 |
with the Program (or with a work based on the Program) on a volume of |
|
287 |
a storage or distribution medium does not bring the other work under |
|
288 |
the scope of this License. |
|
289 |
|
|
290 |
3. You may copy and distribute the Program (or a work based on it, |
|
291 |
under Section 2) in object code or executable form under the terms of |
|
292 |
Sections 1 and 2 above provided that you also do one of the following: |
|
293 |
|
|
294 |
a) Accompany it with the complete corresponding machine-readable |
|
295 |
source code, which must be distributed under the terms of Sections |
|
296 |
1 and 2 above on a medium customarily used for software interchange; or, |
|
297 |
|
|
298 |
b) Accompany it with a written offer, valid for at least three |
|
299 |
years, to give any third party, for a charge no more than your |
|
300 |
cost of physically performing source distribution, a complete |
|
301 |
machine-readable copy of the corresponding source code, to be |
|
302 |
distributed under the terms of Sections 1 and 2 above on a medium |
|
303 |
customarily used for software interchange; or, |
|
304 |
|
|
305 |
c) Accompany it with the information you received as to the offer |
|
306 |
to distribute corresponding source code. (This alternative is |
|
307 |
allowed only for noncommercial distribution and only if you |
|
308 |
received the program in object code or executable form with such |
|
309 |
an offer, in accord with Subsection b above.) |
|
310 |
|
|
311 |
The source code for a work means the preferred form of the work for |
|
312 |
making modifications to it. For an executable work, complete source |
|
313 |
code means all the source code for all modules it contains, plus any |
|
314 |
associated interface definition files, plus the scripts used to |
|
315 |
control compilation and installation of the executable. However, as a |
|
316 |
special exception, the source code distributed need not include |
|
317 |
anything that is normally distributed (in either source or binary |
|
318 |
form) with the major components (compiler, kernel, and so on) of the |
|
319 |
operating system on which the executable runs, unless that component |
|
320 |
itself accompanies the executable. |
|
321 |
|
|
322 |
If distribution of executable or object code is made by offering |
|
323 |
access to copy from a designated place, then offering equivalent |
|
324 |
access to copy the source code from the same place counts as |
|
325 |
distribution of the source code, even though third parties are not |
|
326 |
compelled to copy the source along with the object code. |
|
327 |
|
|
328 |
4. You may not copy, modify, sublicense, or distribute the Program |
|
329 |
except as expressly provided under this License. Any attempt |
|
330 |
otherwise to copy, modify, sublicense or distribute the Program is |
|
331 |
void, and will automatically terminate your rights under this License. |
|
332 |
However, parties who have received copies, or rights, from you under |
|
333 |
this License will not have their licenses terminated so long as such |
|
334 |
parties remain in full compliance. |
|
335 |
|
|
336 |
5. You are not required to accept this License, since you have not |
|
337 |
signed it. However, nothing else grants you permission to modify or |
|
338 |
distribute the Program or its derivative works. These actions are |
|
339 |
prohibited by law if you do not accept this License. Therefore, by |
|
340 |
modifying or distributing the Program (or any work based on the |
|
341 |
Program), you indicate your acceptance of this License to do so, and |
|
342 |
all its terms and conditions for copying, distributing or modifying |
|
343 |
the Program or works based on it. |
|
344 |
|
|
345 |
6. Each time you redistribute the Program (or any work based on the |
|
346 |
Program), the recipient automatically receives a license from the |
|
347 |
original licensor to copy, distribute or modify the Program subject to |
|
348 |
these terms and conditions. You may not impose any further |
|
349 |
restrictions on the recipients' exercise of the rights granted herein. |
|
350 |
You are not responsible for enforcing compliance by third parties to |
|
351 |
this License. |
|
352 |
|
|
353 |
7. If, as a consequence of a court judgment or allegation of patent |
|
354 |
infringement or for any other reason (not limited to patent issues), |
|
355 |
conditions are imposed on you (whether by court order, agreement or |
|
356 |
otherwise) that contradict the conditions of this License, they do not |
|
357 |
excuse you from the conditions of this License. If you cannot |
|
358 |
distribute so as to satisfy simultaneously your obligations under this |
|
359 |
License and any other pertinent obligations, then as a consequence you |
|
360 |
may not distribute the Program at all. For example, if a patent |
|
361 |
license would not permit royalty-free redistribution of the Program by |
|
362 |
all those who receive copies directly or indirectly through you, then |
|
363 |
the only way you could satisfy both it and this License would be to |
|
364 |
refrain entirely from distribution of the Program. |
|
365 |
|
|
366 |
If any portion of this section is held invalid or unenforceable under |
|
367 |
any particular circumstance, the balance of the section is intended to |
|
368 |
apply and the section as a whole is intended to apply in other |
|
369 |
circumstances. |
|
370 |
|
|
371 |
It is not the purpose of this section to induce you to infringe any |
|
372 |
patents or other property right claims or to contest validity of any |
|
373 |
such claims; this section has the sole purpose of protecting the |
|
374 |
integrity of the free software distribution system, which is |
|
375 |
implemented by public license practices. Many people have made |
|
376 |
generous contributions to the wide range of software distributed |
|
377 |
through that system in reliance on consistent application of that |
|
378 |
system; it is up to the author/donor to decide if he or she is willing |
|
379 |
to distribute software through any other system and a licensee cannot |
|
380 |
impose that choice. |
|
381 |
|
|
382 |
This section is intended to make thoroughly clear what is believed to |
|
383 |
be a consequence of the rest of this License. |
|
384 |
|
|
385 |
8. If the distribution and/or use of the Program is restricted in |
|
386 |
certain countries either by patents or by copyrighted interfaces, the |
|
387 |
original copyright holder who places the Program under this License |
|
388 |
may add an explicit geographical distribution limitation excluding |
|
389 |
those countries, so that distribution is permitted only in or among |
|
390 |
countries not thus excluded. In such case, this License incorporates |
|
391 |
the limitation as if written in the body of this License. |
|
392 |
|
|
393 |
9. The Free Software Foundation may publish revised and/or new versions |
|
394 |
of the General Public License from time to time. Such new versions will |
|
395 |
be similar in spirit to the present version, but may differ in detail to |
|
396 |
address new problems or concerns. |
|
397 |
|
|
398 |
Each version is given a distinguishing version number. If the Program |
|
399 |
specifies a version number of this License which applies to it and "any |
|
400 |
later version", you have the option of following the terms and conditions |
|
401 |
either of that version or of any later version published by the Free |
|
402 |
Software Foundation. If the Program does not specify a version number of |
|
403 |
this License, you may choose any version ever published by the Free Software |
|
404 |
Foundation. |
|
405 |
|
|
406 |
10. If you wish to incorporate parts of the Program into other free |
|
407 |
programs whose distribution conditions are different, write to the author |
|
408 |
to ask for permission. For software which is copyrighted by the Free |
|
409 |
Software Foundation, write to the Free Software Foundation; we sometimes |
|
410 |
make exceptions for this. Our decision will be guided by the two goals |
|
411 |
of preserving the free status of all derivatives of our free software and |
|
412 |
of promoting the sharing and reuse of software generally. |
|
413 |
|
|
414 |
NO WARRANTY |
|
415 |
|
|
416 |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
|
417 |
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
|
418 |
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
|
419 |
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
|
420 |
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
421 |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
|
422 |
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
423 |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
|
424 |
REPAIR OR CORRECTION. |
|
425 |
|
|
426 |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
|
427 |
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
428 |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
|
429 |
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
|
430 |
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
|
431 |
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
|
432 |
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
|
433 |
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
|
434 |
POSSIBILITY OF SUCH DAMAGES. |
|
435 |
|
|
436 |
END OF TERMS AND CONDITIONS |
|
437 |
|
|
438 |
How to Apply These Terms to Your New Programs |
|
439 |
|
|
440 |
If you develop a new program, and you want it to be of the greatest |
|
441 |
possible use to the public, the best way to achieve this is to make it |
|
442 |
free software which everyone can redistribute and change under these terms. |
|
443 |
|
|
444 |
To do so, attach the following notices to the program. It is safest |
|
445 |
to attach them to the start of each source file to most effectively |
|
446 |
convey the exclusion of warranty; and each file should have at least |
|
447 |
the "copyright" line and a pointer to where the full notice is found. |
|
448 |
|
|
449 |
<one line to give the program's name and a brief idea of what it does.> |
|
450 |
Copyright (C) 19yy <name of author> |
|
451 |
|
|
452 |
This program is free software; you can redistribute it and/or modify |
|
453 |
it under the terms of the GNU General Public License as published by |
|
454 |
the Free Software Foundation; either version 2 of the License, or |
|
455 |
(at your option) any later version. |
|
456 |
|
|
457 |
This program is distributed in the hope that it will be useful, |
|
458 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
459 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
460 |
GNU General Public License for more details. |
|
461 |
|
|
462 |
You should have received a copy of the GNU General Public License |
|
463 |
along with this program; if not, write to the Free Software |
|
464 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
465 |
|
|
466 |
|
|
467 |
Also add information on how to contact you by electronic and paper mail. |
|
468 |
|
|
469 |
If the program is interactive, make it output a short notice like this |
|
470 |
when it starts in an interactive mode: |
|
471 |
|
|
472 |
Gnomovision version 69, Copyright (C) 19yy name of author |
|
473 |
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
|
474 |
This is free software, and you are welcome to redistribute it |
|
475 |
under certain conditions; type `show c' for details. |
|
476 |
|
|
477 |
The hypothetical commands `show w' and `show c' should show the appropriate |
|
478 |
parts of the General Public License. Of course, the commands you use may |
|
479 |
be called something other than `show w' and `show c'; they could even be |
|
480 |
mouse-clicks or menu items--whatever suits your program. |
|
481 |
|
|
482 |
You should also get your employer (if you work as a programmer) or your |
|
483 |
school, if any, to sign a "copyright disclaimer" for the program, if |
|
484 |
necessary. Here is a sample; alter the names: |
|
485 |
|
|
486 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
|
487 |
`Gnomovision' (which makes passes at compilers) written by James Hacker. |
|
488 |
|
|
489 |
<signature of Ty Coon>, 1 April 1989 |
|
490 |
Ty Coon, President of Vice |
|
491 |
|
|
492 |
This General Public License does not permit incorporating your program into |
|
493 |
proprietary programs. If your program is a subroutine library, you may |
|
494 |
consider it more useful to permit linking proprietary applications with the |
|
495 |
library. If this is what you want to do, use the GNU Library General |
|
496 |
Public License instead of this License. |
|
497 |
|
|
498 |
|
|
499 |
--- GNU_LGPL.txt ---------------------------------------------------------- |
|
500 |
|
|
501 |
GNU LIBRARY GENERAL PUBLIC LICENSE |
|
502 |
Version 2, June 1991 |
|
503 |
|
|
504 |
Copyright (C) 1991 Free Software Foundation, Inc. |
|
505 |
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
506 |
Everyone is permitted to copy and distribute verbatim copies |
|
507 |
of this license document, but changing it is not allowed. |
|
508 |
|
|
509 |
[This is the first released version of the library GPL. It is |
|
510 |
numbered 2 because it goes with version 2 of the ordinary GPL.] |
|
511 |
|
|
512 |
Preamble |
|
513 |
|
|
514 |
The licenses for most software are designed to take away your |
|
515 |
freedom to share and change it. By contrast, the GNU General Public |
|
516 |
Licenses are intended to guarantee your freedom to share and change |
|
517 |
free software--to make sure the software is free for all its users. |
|
518 |
|
|
519 |
This license, the Library General Public License, applies to some |
|
520 |
specially designated Free Software Foundation software, and to any |
|
521 |
other libraries whose authors decide to use it. You can use it for |
|
522 |
your libraries, too. |
|
523 |
|
|
524 |
When we speak of free software, we are referring to freedom, not |
|
525 |
price. Our General Public Licenses are designed to make sure that you |
|
526 |
have the freedom to distribute copies of free software (and charge for |
|
527 |
this service if you wish), that you receive source code or can get it |
|
528 |
if you want it, that you can change the software or use pieces of it |
|
529 |
in new free programs; and that you know you can do these things. |
|
530 |
|
|
531 |
To protect your rights, we need to make restrictions that forbid |
|
532 |
anyone to deny you these rights or to ask you to surrender the rights. |
|
533 |
These restrictions translate to certain responsibilities for you if |
|
534 |
you distribute copies of the library, or if you modify it. |
|
535 |
|
|
536 |
For example, if you distribute copies of the library, whether gratis |
|
537 |
or for a fee, you must give the recipients all the rights that we gave |
|
538 |
you. You must make sure that they, too, receive or can get the source |
|
539 |
code. If you link a program with the library, you must provide |
|
540 |
complete object files to the recipients so that they can relink them |
|
541 |
with the library, after making changes to the library and recompiling |
|
542 |
it. And you must show them these terms so they know their rights. |
|
543 |
|
|
544 |
Our method of protecting your rights has two steps: (1) copyright |
|
545 |
the library, and (2) offer you this license which gives you legal |
|
546 |
permission to copy, distribute and/or modify the library. |
|
547 |
|
|
548 |
Also, for each distributor's protection, we want to make certain |
|
549 |
that everyone understands that there is no warranty for this free |
|
550 |
library. If the library is modified by someone else and passed on, we |
|
551 |
want its recipients to know that what they have is not the original |
|
552 |
version, so that any problems introduced by others will not reflect on |
|
553 |
the original authors' reputations. |
|
554 |
|
|
555 |
Finally, any free program is threatened constantly by software |
|
556 |
patents. We wish to avoid the danger that companies distributing free |
|
557 |
software will individually obtain patent licenses, thus in effect |
|
558 |
transforming the program into proprietary software. To prevent this, |
|
559 |
we have made it clear that any patent must be licensed for everyone's |
|
560 |
free use or not licensed at all. |
|
561 |
|
|
562 |
Most GNU software, including some libraries, is covered by the ordinary |
|
563 |
GNU General Public License, which was designed for utility programs. This |
|
564 |
license, the GNU Library General Public License, applies to certain |
|
565 |
designated libraries. This license is quite different from the ordinary |
|
566 |
one; be sure to read it in full, and don't assume that anything in it is |
|
567 |
the same as in the ordinary license. |
|
568 |
|
|
569 |
The reason we have a separate public license for some libraries is that |
|
570 |
they blur the distinction we usually make between modifying or adding to a |
|
571 |
program and simply using it. Linking a program with a library, without |
|
572 |
changing the library, is in some sense simply using the library, and is |
|
573 |
analogous to running a utility program or application program. However, in |
|
574 |
a textual and legal sense, the linked executable is a combined work, a |
|
575 |
derivative of the original library, and the ordinary General Public License |
|
576 |
treats it as such. |
|
577 |
|
|
578 |
Because of this blurred distinction, using the ordinary General |
|
579 |
Public License for libraries did not effectively promote software |
|
580 |
sharing, because most developers did not use the libraries. We |
|
581 |
concluded that weaker conditions might promote sharing better. |
|
582 |
|
|
583 |
However, unrestricted linking of non-free programs would deprive the |
|
584 |
users of those programs of all benefit from the free status of the |
|
585 |
libraries themselves. This Library General Public License is intended to |
|
586 |
permit developers of non-free programs to use free libraries, while |
|
587 |
preserving your freedom as a user of such programs to change the free |
|
588 |
libraries that are incorporated in them. (We have not seen how to achieve |
|
589 |
this as regards changes in header files, but we have achieved it as regards |
|
590 |
changes in the actual functions of the Library.) The hope is that this |
|
591 |
will lead to faster development of free libraries. |
|
592 |
|
|
593 |
The precise terms and conditions for copying, distribution and |
|
594 |
modification follow. Pay close attention to the difference between a |
|
595 |
"work based on the library" and a "work that uses the library". The |
|
596 |
former contains code derived from the library, while the latter only |
|
597 |
works together with the library. |
|
598 |
|
|
599 |
Note that it is possible for a library to be covered by the ordinary |
|
600 |
General Public License rather than by this special one. |
|
601 |
|
|
602 |
GNU LIBRARY GENERAL PUBLIC LICENSE |
|
603 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
604 |
|
|
605 |
0. This License Agreement applies to any software library which |
|
606 |
contains a notice placed by the copyright holder or other authorized |
|
607 |
party saying it may be distributed under the terms of this Library |
|
608 |
General Public License (also called "this License"). Each licensee is |
|
609 |
addressed as "you". |
|
610 |
|
|
611 |
A "library" means a collection of software functions and/or data |
|
612 |
prepared so as to be conveniently linked with application programs |
|
613 |
(which use some of those functions and data) to form executables. |
|
614 |
|
|
615 |
The "Library", below, refers to any such software library or work |
|
616 |
which has been distributed under these terms. A "work based on the |
|
617 |
Library" means either the Library or any derivative work under |
|
618 |
copyright law: that is to say, a work containing the Library or a |
|
619 |
portion of it, either verbatim or with modifications and/or translated |
|
620 |
straightforwardly into another language. (Hereinafter, translation is |
|
621 |
included without limitation in the term "modification".) |
|
622 |
|
|
623 |
"Source code" for a work means the preferred form of the work for |
|
624 |
making modifications to it. For a library, complete source code means |
|
625 |
all the source code for all modules it contains, plus any associated |
|
626 |
interface definition files, plus the scripts used to control compilation |
|
627 |
and installation of the library. |
|
628 |
|
|
629 |
Activities other than copying, distribution and modification are not |
|
630 |
covered by this License; they are outside its scope. The act of |
|
631 |
running a program using the Library is not restricted, and output from |
|
632 |
such a program is covered only if its contents constitute a work based |
|
633 |
on the Library (independent of the use of the Library in a tool for |
|
634 |
writing it). Whether that is true depends on what the Library does |
|
635 |
and what the program that uses the Library does. |
|
636 |
|
|
637 |
1. You may copy and distribute verbatim copies of the Library's |
|
638 |
complete source code as you receive it, in any medium, provided that |
|
639 |
you conspicuously and appropriately publish on each copy an |
|
640 |
appropriate copyright notice and disclaimer of warranty; keep intact |
|
641 |
all the notices that refer to this License and to the absence of any |
|
642 |
warranty; and distribute a copy of this License along with the |
|
643 |
Library. |
|
644 |
|
|
645 |
You may charge a fee for the physical act of transferring a copy, |
|
646 |
and you may at your option offer warranty protection in exchange for a |
|
647 |
fee. |
|
648 |
|
|
649 |
2. You may modify your copy or copies of the Library or any portion |
|
650 |
of it, thus forming a work based on the Library, and copy and |
|
651 |
distribute such modifications or work under the terms of Section 1 |
|
652 |
above, provided that you also meet all of these conditions: |
|
653 |
|
|
654 |
a) The modified work must itself be a software library. |
|
655 |
|
|
656 |
b) You must cause the files modified to carry prominent notices |
|
657 |
stating that you changed the files and the date of any change. |
|
658 |
|
|
659 |
c) You must cause the whole of the work to be licensed at no |
|
660 |
charge to all third parties under the terms of this License. |
|
661 |
|
|
662 |
d) If a facility in the modified Library refers to a function or a |
|
663 |
table of data to be supplied by an application program that uses |
|
664 |
the facility, other than as an argument passed when the facility |
|
665 |
is invoked, then you must make a good faith effort to ensure that, |
|
666 |
in the event an application does not supply such function or |
|
667 |
table, the facility still operates, and performs whatever part of |
|
668 |
its purpose remains meaningful. |
|
669 |
|
|
670 |
(For example, a function in a library to compute square roots has |
|
671 |
a purpose that is entirely well-defined independent of the |
|
672 |
application. Therefore, Subsection 2d requires that any |
|
673 |
application-supplied function or table used by this function must |
|
674 |
be optional: if the application does not supply it, the square |
|
675 |
root function must still compute square roots.) |
|
676 |
|
|
677 |
These requirements apply to the modified work as a whole. If |
|
678 |
identifiable sections of that work are not derived from the Library, |
|
679 |
and can be reasonably considered independent and separate works in |
|
680 |
themselves, then this License, and its terms, do not apply to those |
|
681 |
sections when you distribute them as separate works. But when you |
|
682 |
distribute the same sections as part of a whole which is a work based |
|
683 |
on the Library, the distribution of the whole must be on the terms of |
|
684 |
this License, whose permissions for other licensees extend to the |
|
685 |
entire whole, and thus to each and every part regardless of who wrote |
|
686 |
it. |
|
687 |
|
|
688 |
Thus, it is not the intent of this section to claim rights or contest |
|
689 |
your rights to work written entirely by you; rather, the intent is to |
|
690 |
exercise the right to control the distribution of derivative or |
|
691 |
collective works based on the Library. |
|
692 |
|
|
693 |
In addition, mere aggregation of another work not based on the Library |
|
694 |
with the Library (or with a work based on the Library) on a volume of |
|
695 |
a storage or distribution medium does not bring the other work under |
|
696 |
the scope of this License. |
|
697 |
|
|
698 |
3. You may opt to apply the terms of the ordinary GNU General Public |
|
699 |
License instead of this License to a given copy of the Library. To do |
|
700 |
this, you must alter all the notices that refer to this License, so |
|
701 |
that they refer to the ordinary GNU General Public License, version 2, |
|
702 |
instead of to this License. (If a newer version than version 2 of the |
|
703 |
ordinary GNU General Public License has appeared, then you can specify |
|
704 |
that version instead if you wish.) Do not make any other change in |
|
705 |
these notices. |
|
706 |
|
|
707 |
Once this change is made in a given copy, it is irreversible for |
|
708 |
that copy, so the ordinary GNU General Public License applies to all |
|
709 |
subsequent copies and derivative works made from that copy. |
|
710 |
|
|
711 |
This option is useful when you wish to copy part of the code of |
|
712 |
the Library into a program that is not a library. |
|
713 |
|
|
714 |
4. You may copy and distribute the Library (or a portion or |
|
715 |
derivative of it, under Section 2) in object code or executable form |
|
716 |
under the terms of Sections 1 and 2 above provided that you accompany |
|
717 |
it with the complete corresponding machine-readable source code, which |
|
718 |
must be distributed under the terms of Sections 1 and 2 above on a |
|
719 |
medium customarily used for software interchange. |
|
720 |
|
|
721 |
If distribution of object code is made by offering access to copy |
|
722 |
from a designated place, then offering equivalent access to copy the |
|
723 |
source code from the same place satisfies the requirement to |
|
724 |
distribute the source code, even though third parties are not |
|
725 |
compelled to copy the source along with the object code. |
|
726 |
|
|
727 |
5. A program that contains no derivative of any portion of the |
|
728 |
Library, but is designed to work with the Library by being compiled or |
|
729 |
linked with it, is called a "work that uses the Library". Such a |
|
730 |
work, in isolation, is not a derivative work of the Library, and |
|
731 |
therefore falls outside the scope of this License. |
|
732 |
|
|
733 |
However, linking a "work that uses the Library" with the Library |
|
734 |
creates an executable that is a derivative of the Library (because it |
|
735 |
contains portions of the Library), rather than a "work that uses the |
|
736 |
library". The executable is therefore covered by this License. |
|
737 |
Section 6 states terms for distribution of such executables. |
|
738 |
|
|
739 |
When a "work that uses the Library" uses material from a header file |
|
740 |
that is part of the Library, the object code for the work may be a |
|
741 |
derivative work of the Library even though the source code is not. |
|
742 |
Whether this is true is especially significant if the work can be |
|
743 |
linked without the Library, or if the work is itself a library. The |
|
744 |
threshold for this to be true is not precisely defined by law. |
|
745 |
|
|
746 |
If such an object file uses only numerical parameters, data |
|
747 |
structure layouts and accessors, and small macros and small inline |
|
748 |
functions (ten lines or less in length), then the use of the object |
|
749 |
file is unrestricted, regardless of whether it is legally a derivative |
|
750 |
work. (Executables containing this object code plus portions of the |
|
751 |
Library will still fall under Section 6.) |
|
752 |
|
|
753 |
Otherwise, if the work is a derivative of the Library, you may |
|
754 |
distribute the object code for the work under the terms of Section 6. |
|
755 |
Any executables containing that work also fall under Section 6, |
|
756 |
whether or not they are linked directly with the Library itself. |
|
757 |
|
|
758 |
6. As an exception to the Sections above, you may also compile or |
|
759 |
link a "work that uses the Library" with the Library to produce a |
|
760 |
work containing portions of the Library, and distribute that work |
|
761 |
under terms of your choice, provided that the terms permit |
|
762 |
modification of the work for the customer's own use and reverse |
|
763 |
engineering for debugging such modifications. |
|
764 |
|
|
765 |
You must give prominent notice with each copy of the work that the |
|
766 |
Library is used in it and that the Library and its use are covered by |
|
767 |
this License. You must supply a copy of this License. If the work |
|
768 |
during execution displays copyright notices, you must include the |
|
769 |
copyright notice for the Library among them, as well as a reference |
|
770 |
directing the user to the copy of this License. Also, you must do one |
|
771 |
of these things: |
|
772 |
|
|
773 |
a) Accompany the work with the complete corresponding |
|
774 |
machine-readable source code for the Library including whatever |
|
775 |
changes were used in the work (which must be distributed under |
|
776 |
Sections 1 and 2 above); and, if the work is an executable linked |
|
777 |
with the Library, with the complete machine-readable "work that |
|
778 |
uses the Library", as object code and/or source code, so that the |
|
779 |
user can modify the Library and then relink to produce a modified |
|
780 |
executable containing the modified Library. (It is understood |
|
781 |
that the user who changes the contents of definitions files in the |
|
782 |
Library will not necessarily be able to recompile the application |
|
783 |
to use the modified definitions.) |
|
784 |
|
|
785 |
b) Accompany the work with a written offer, valid for at |
|
786 |
least three years, to give the same user the materials |
|
787 |
specified in Subsection 6a, above, for a charge no more |
|
788 |
than the cost of performing this distribution. |
|
789 |
|
|
790 |
c) If distribution of the work is made by offering access to copy |
|
791 |
from a designated place, offer equivalent access to copy the above |
|
792 |
specified materials from the same place. |
|
793 |
|
|
794 |
d) Verify that the user has already received a copy of these |
|
795 |
materials or that you have already sent this user a copy. |
|
796 |
|
|
797 |
For an executable, the required form of the "work that uses the |
|
798 |
Library" must include any data and utility programs needed for |
|
799 |
reproducing the executable from it. However, as a special exception, |
|
800 |
the source code distributed need not include anything that is normally |
|
801 |
distributed (in either source or binary form) with the major |
|
802 |
components (compiler, kernel, and so on) of the operating system on |
|
803 |
which the executable runs, unless that component itself accompanies |
|
804 |
the executable. |
|
805 |
|
|
806 |
It may happen that this requirement contradicts the license |
|
807 |
restrictions of other proprietary libraries that do not normally |
|
808 |
accompany the operating system. Such a contradiction means you cannot |
|
809 |
use both them and the Library together in an executable that you |
|
810 |
distribute. |
|
811 |
|
|
812 |
7. You may place library facilities that are a work based on the |
|
813 |
Library side-by-side in a single library together with other library |
|
814 |
facilities not covered by this License, and distribute such a combined |
|
815 |
library, provided that the separate distribution of the work based on |
|
816 |
the Library and of the other library facilities is otherwise |
|
817 |
permitted, and provided that you do these two things: |
|
818 |
|
|
819 |
a) Accompany the combined library with a copy of the same work |
|
820 |
based on the Library, uncombined with any other library |
|
821 |
facilities. This must be distributed under the terms of the |
|
822 |
Sections above. |
|
823 |
|
|
824 |
b) Give prominent notice with the combined library of the fact |
|
825 |
that part of it is a work based on the Library, and explaining |
|
826 |
where to find the accompanying uncombined form of the same work. |
|
827 |
|
|
828 |
8. You may not copy, modify, sublicense, link with, or distribute |
|
829 |
the Library except as expressly provided under this License. Any |
|
830 |
attempt otherwise to copy, modify, sublicense, link with, or |
|
831 |
distribute the Library is void, and will automatically terminate your |
|
832 |
rights under this License. However, parties who have received copies, |
|
833 |
or rights, from you under this License will not have their licenses |
|
834 |
terminated so long as such parties remain in full compliance. |
|
835 |
|
|
836 |
9. You are not required to accept this License, since you have not |
|
837 |
signed it. However, nothing else grants you permission to modify or |
|
838 |
distribute the Library or its derivative works. These actions are |
|
839 |
prohibited by law if you do not accept this License. Therefore, by |
|
840 |
modifying or distributing the Library (or any work based on the |
|
841 |
Library), you indicate your acceptance of this License to do so, and |
|
842 |
all its terms and conditions for copying, distributing or modifying |
|
843 |
the Library or works based on it. |
|
844 |
|
|
845 |
10. Each time you redistribute the Library (or any work based on the |
|
846 |
Library), the recipient automatically receives a license from the |
|
847 |
original licensor to copy, distribute, link with or modify the Library |
|
848 |
subject to these terms and conditions. You may not impose any further |
|
849 |
restrictions on the recipients' exercise of the rights granted herein. |
|
850 |
You are not responsible for enforcing compliance by third parties to |
|
851 |
this License. |
|
852 |
|
|
853 |
11. If, as a consequence of a court judgment or allegation of patent |
|
854 |
infringement or for any other reason (not limited to patent issues), |
|
855 |
conditions are imposed on you (whether by court order, agreement or |
|
856 |
otherwise) that contradict the conditions of this License, they do not |
|
857 |
excuse you from the conditions of this License. If you cannot |
|
858 |
distribute so as to satisfy simultaneously your obligations under this |
|
859 |
License and any other pertinent obligations, then as a consequence you |
|
860 |
may not distribute the Library at all. For example, if a patent |
|
861 |
license would not permit royalty-free redistribution of the Library by |
|
862 |
all those who receive copies directly or indirectly through you, then |
|
863 |
the only way you could satisfy both it and this License would be to |
|
864 |
refrain entirely from distribution of the Library. |
|
865 |
|
|
866 |
If any portion of this section is held invalid or unenforceable under any |
|
867 |
particular circumstance, the balance of the section is intended to apply, |
|
868 |
and the section as a whole is intended to apply in other circumstances. |
|
869 |
|
|
870 |
It is not the purpose of this section to induce you to infringe any |
|
871 |
patents or other property right claims or to contest validity of any |
|
872 |
such claims; this section has the sole purpose of protecting the |
|
873 |
integrity of the free software distribution system which is |
|
874 |
implemented by public license practices. Many people have made |
|
875 |
generous contributions to the wide range of software distributed |
|
876 |
through that system in reliance on consistent application of that |
|
877 |
system; it is up to the author/donor to decide if he or she is willing |
|
878 |
to distribute software through any other system and a licensee cannot |
|
879 |
impose that choice. |
|
880 |
|
|
881 |
This section is intended to make thoroughly clear what is believed to |
|
882 |
be a consequence of the rest of this License. |
|
883 |
|
|
884 |
12. If the distribution and/or use of the Library is restricted in |
|
885 |
certain countries either by patents or by copyrighted interfaces, the |
|
886 |
original copyright holder who places the Library under this License may add |
|
887 |
an explicit geographical distribution limitation excluding those countries, |
|
888 |
so that distribution is permitted only in or among countries not thus |
|
889 |
excluded. In such case, this License incorporates the limitation as if |
|
890 |
written in the body of this License. |
|
891 |
|
|
892 |
13. The Free Software Foundation may publish revised and/or new |
|
893 |
versions of the Library General Public License from time to time. |
|
894 |
Such new versions will be similar in spirit to the present version, |
|
895 |
but may differ in detail to address new problems or concerns. |
|
896 |
|
|
897 |
Each version is given a distinguishing version number. If the Library |
|
898 |
specifies a version number of this License which applies to it and |
|
899 |
"any later version", you have the option of following the terms and |
|
900 |
conditions either of that version or of any later version published by |
|
901 |
the Free Software Foundation. If the Library does not specify a |
|
902 |
license version number, you may choose any version ever published by |
|
903 |
the Free Software Foundation. |
|
904 |
|
|
905 |
14. If you wish to incorporate parts of the Library into other free |
|
906 |
programs whose distribution conditions are incompatible with these, |
|
907 |
write to the author to ask for permission. For software which is |
|
908 |
copyrighted by the Free Software Foundation, write to the Free |
|
909 |
Software Foundation; we sometimes make exceptions for this. Our |
|
910 |
decision will be guided by the two goals of preserving the free status |
|
911 |
of all derivatives of our free software and of promoting the sharing |
|
912 |
and reuse of software generally. |
|
913 |
|
|
914 |
NO WARRANTY |
|
915 |
|
|
916 |
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
|
917 |
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
|
918 |
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
|
919 |
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
|
920 |
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
|
921 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
922 |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
|
923 |
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
|
924 |
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
|
925 |
|
|
926 |
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
|
927 |
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
|
928 |
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
|
929 |
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
|
930 |
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
|
931 |
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
|
932 |
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
|
933 |
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
|
934 |
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
|
935 |
DAMAGES. |
|
936 |
|
|
937 |
END OF TERMS AND CONDITIONS |
|
938 |
|
|
939 |
How to Apply These Terms to Your New Libraries |
|
940 |
|
|
941 |
If you develop a new library, and you want it to be of the greatest |
|
942 |
possible use to the public, we recommend making it free software that |
|
943 |
everyone can redistribute and change. You can do so by permitting |
|
944 |
redistribution under these terms (or, alternatively, under the terms of the |
|
945 |
ordinary General Public License). |
|
946 |
|
|
947 |
To apply these terms, attach the following notices to the library. It is |
|
948 |
safest to attach them to the start of each source file to most effectively |
|
949 |
convey the exclusion of warranty; and each file should have at least the |
|
950 |
"copyright" line and a pointer to where the full notice is found. |
|
951 |
|
|
952 |
<one line to give the library's name and a brief idea of what it does.> |
|
953 |
Copyright (C) <year> <name of author> |
|
954 |
|
|
955 |
This library is free software; you can redistribute it and/or |
|
956 |
modify it under the terms of the GNU Library General Public |
|
957 |
License as published by the Free Software Foundation; either |
|
958 |
version 2 of the License, or (at your option) any later version. |
|
959 |
|
|
960 |
This library is distributed in the hope that it will be useful, |
|
961 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
962 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
963 |
Library General Public License for more details. |
|
964 |
|
|
965 |
You should have received a copy of the GNU Library General Public |
|
966 |
License along with this library; if not, write to the Free Software |
|
967 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
968 |
|
|
969 |
Also add information on how to contact you by electronic and paper mail. |
|
970 |
|
|
971 |
You should also get your employer (if you work as a programmer) or your |
|
972 |
school, if any, to sign a "copyright disclaimer" for the library, if |
|
973 |
necessary. Here is a sample; alter the names: |
|
974 |
|
|
975 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the |
|
976 |
library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
|
977 |
|
|
978 |
<signature of Ty Coon>, 1 April 1990 |
|
979 |
Ty Coon, President of Vice |
|
980 |
|
|
981 |
That's all there is to it! |