Debian Codegraph @

COPYING

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