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