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