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