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