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