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