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