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