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