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