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