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