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