]> git.ipfire.org Git - thirdparty/cups.git/blame - LICENSE.txt
Documentation/image updates.
[thirdparty/cups.git] / LICENSE.txt
CommitLineData
45dec87e 1 Common UNIX Printing System License Agreement
2
1a7e760e 3 Copyright 1997-2000 by Easy Software Products
45dec87e 4 44141 AIRPORT VIEW DR STE 204
5 HOLLYWOOD, MARYLAND 20636-3111 USA
6
7 Voice: +1.301.373.9603
8 Email: cups-info@cups.org
9 WWW: http://www.cups.org
10
1a7e760e 11INTRODUCTION
45dec87e 12
0beadd9e 13The Common UNIX Printing System(tm), or CUPS(tm), is provided under the GNU
1a7e760e 14General Public License ("GPL") and GNU Library General Public License
15("LGPL"), Version 2. A copy of these licenses follow this introduction.
45dec87e 16
1a7e760e 17The GNU LGPL applies to the CUPS API library, located in the "cups"
18subdirectory of the CUPS source distribution and in the "/usr/include/cups"
19directory and "/usr/lib/libcups.so" or "/usr/lib32/libcups.so" files in the
20binary distributions.
45dec87e 21
1a7e760e 22The GNU GPL applies to the remainder of the CUPS distribution, including the
23"pstoraster" filter which is based upon GNU Ghostscript 5.50.
24
25For those not familiar with the GNU GPL, the license basically allows you
26to:
27
0beadd9e 28 * Use the CUPS software at no charge.
29 * Distribute verbatim copies of the software in source or binary form.
30 * Sell verbatim copies of the software for a media fee, or sell support
45dec87e 31 for the software.
0beadd9e 32 * Distribute or sell printer drivers and filters that use the CUPS API so
86395b64 33 long as source code is made available under the GPL.
45dec87e 34
35What this license does not allow you to do is make changes or add features
1a7e760e 36to CUPS and then sell a binary distribution without source code. You must
86395b64 37provide source for any new drivers, changes, or additions to the software,
38and all code must be provided under the GPL.
45dec87e 39
1a7e760e 40The GNU LGPL relaxes the "link-to" restriction, allowing you to develop
41applications that use the CUPS API library under other licenses and/or
42conditions as appropriate for your application.
43
44
45TRADEMARKS
46
47Easy Software Products has trademarked the Common UNIX Printing System,
48CUPS, and CUPS logo. These names and logos may be used freely in any direct
49port or binary distribution of CUPS. To use them in derivative products,
50please contract Easy Software Products for written permission. Our intention
51is to protect the value of these trademarks and ensure that any derivative
52product meets the same high-quality standards as the original.
45dec87e 53
1a7e760e 54
55BINARY DISTRIBUTION RIGHTS
45dec87e 56
86395b64 57Easy Software Products also sells rights to the CUPS source code under a
58binary distribution license for vendors that are unable to release source
1a7e760e 59code for their drivers, additions, and modifications to CUPS under the GNU
0beadd9e 60GPL and LGPL. For pricing information please contact us at the address shown
61above.
45dec87e 62
1a7e760e 63The Common UNIX Printing System provides a "pstoraster" filter that utilizes
64GNU GhostScript 5.50 to convert PostScript files into a stream of raster
65images. For binary distribution licensing of this software, please contact:
45dec87e 66
67 Miles Jones
68 Director of Marketing
69 Artifex Software Inc.
70 454 Las Gallinas Ave., Suite 108
71 San Rafael, CA 94903 USA
72 Voice: +1.415.492.9861
73 Fax: +1.415.492.9862
74 EMail: info@arsoft.com
75
45dec87e 76
1a7e760e 77SUPPORT
45dec87e 78
1a7e760e 79Easy Software Products sells software support for CUPS as well as a
80commercial printing product based on CUPS called ESP Print Pro. You can find
81out more at our web site:
45dec87e 82
1a7e760e 83 http://www.easysw.com
0beadd9e 84\f
85 GNU GENERAL PUBLIC LICENSE
86 Version 2, June 1991
45dec87e 87
0beadd9e 88 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
89 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
90 Everyone is permitted to copy and distribute verbatim copies
91 of this license document, but changing it is not allowed.
45dec87e 92
0beadd9e 93 Preamble
45dec87e 94
0beadd9e 95 The licenses for most software are designed to take away your
1a7e760e 96freedom to share and change it. By contrast, the GNU General Public
97License is intended to guarantee your freedom to share and change free
98software--to make sure the software is free for all its users. This
99General Public License applies to most of the Free Software
100Foundation's software and to any other program whose authors commit to
101using it. (Some other Free Software Foundation software is covered by
102the GNU Library General Public License instead.) You can apply it to
103your programs, too.
104
0beadd9e 105 When we speak of free software, we are referring to freedom, not
1a7e760e 106price. Our General Public Licenses are designed to make sure that you
107have the freedom to distribute copies of free software (and charge for
108this service if you wish), that you receive source code or can get it
109if you want it, that you can change the software or use pieces of it
110in new free programs; and that you know you can do these things.
111
0beadd9e 112 To protect your rights, we need to make restrictions that forbid
1a7e760e 113anyone to deny you these rights or to ask you to surrender the rights.
114These restrictions translate to certain responsibilities for you if you
115distribute copies of the software, or if you modify it.
116
0beadd9e 117 For example, if you distribute copies of such a program, whether
1a7e760e 118gratis or for a fee, you must give the recipients all the rights that
119you have. You must make sure that they, too, receive or can get the
120source code. And you must show them these terms so they know their
121rights.
122
0beadd9e 123 We protect your rights with two steps: (1) copyright the software, and
1a7e760e 124(2) offer you this license which gives you legal permission to copy,
125distribute and/or modify the software.
126
0beadd9e 127 Also, for each author's protection and ours, we want to make certain
1a7e760e 128that everyone understands that there is no warranty for this free
129software. If the software is modified by someone else and passed on, we
130want its recipients to know that what they have is not the original, so
131that any problems introduced by others will not reflect on the original
132authors' reputations.
133
0beadd9e 134 Finally, any free program is threatened constantly by software
1a7e760e 135patents. We wish to avoid the danger that redistributors of a free
136program will individually obtain patent licenses, in effect making the
137program proprietary. To prevent this, we have made it clear that any
138patent must be licensed for everyone's free use or not licensed at all.
139
0beadd9e 140 The precise terms and conditions for copying, distribution and
1a7e760e 141modification follow.
0beadd9e 142\f
143 GNU GENERAL PUBLIC LICENSE
144 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
145
146 0. This License applies to any program or other work which contains
147a notice placed by the copyright holder saying it may be distributed
148under the terms of this General Public License. The "Program", below,
149refers to any such program or work, and a "work based on the Program"
150means either the Program or any derivative work under copyright law:
151that is to say, a work containing the Program or a portion of it,
152either verbatim or with modifications and/or translated into another
153language. (Hereinafter, translation is included without limitation in
154the term "modification".) Each licensee is addressed as "you".
155
156Activities other than copying, distribution and modification are not
157covered by this License; they are outside its scope. The act of
158running the Program is not restricted, and the output from the Program
159is covered only if its contents constitute a work based on the
160Program (independent of having been made by running the Program).
161Whether that is true depends on what the Program does.
162
163 1. You may copy and distribute verbatim copies of the Program's
1a7e760e 164source code as you receive it, in any medium, provided that you
165conspicuously and appropriately publish on each copy an appropriate
0beadd9e 166copyright notice and disclaimer of warranty; keep intact all the
167notices that refer to this License and to the absence of any warranty;
168and give any other recipients of the Program a copy of this License
169along with the Program.
170
171You may charge a fee for the physical act of transferring a copy, and
172you may at your option offer warranty protection in exchange for a fee.
173
174 2. You may modify your copy or copies of the Program or any portion
175of it, thus forming a work based on the Program, and copy and
176distribute such modifications or work under the terms of Section 1
177above, provided that you also meet all of these conditions:
178
179 a) You must cause the modified files to carry prominent notices
180 stating that you changed the files and the date of any change.
181
182 b) You must cause any work that you distribute or publish, that in
183 whole or in part contains or is derived from the Program or any
184 part thereof, to be licensed as a whole at no charge to all third
185 parties under the terms of this License.
186
187 c) If the modified program normally reads commands interactively
188 when run, you must cause it, when started running for such
189 interactive use in the most ordinary way, to print or display an
190 announcement including an appropriate copyright notice and a
191 notice that there is no warranty (or else, saying that you provide
192 a warranty) and that users may redistribute the program under
193 these conditions, and telling the user how to view a copy of this
194 License. (Exception: if the Program itself is interactive but
195 does not normally print such an announcement, your work based on
196 the Program is not required to print an announcement.)
197\f
198These requirements apply to the modified work as a whole. If
199identifiable sections of that work are not derived from the Program,
200and can be reasonably considered independent and separate works in
201themselves, then this License, and its terms, do not apply to those
202sections when you distribute them as separate works. But when you
203distribute the same sections as part of a whole which is a work based
204on the Program, the distribution of the whole must be on the terms of
205this License, whose permissions for other licensees extend to the
206entire whole, and thus to each and every part regardless of who wrote it.
207
208Thus, it is not the intent of this section to claim rights or contest
209your rights to work written entirely by you; rather, the intent is to
210exercise the right to control the distribution of derivative or
211collective works based on the Program.
212
213In addition, mere aggregation of another work not based on the Program
214with the Program (or with a work based on the Program) on a volume of
215a storage or distribution medium does not bring the other work under
216the scope of this License.
217
218 3. You may copy and distribute the Program (or a work based on it,
219under Section 2) in object code or executable form under the terms of
220Sections 1 and 2 above provided that you also do one of the following:
221
222 a) Accompany it with the complete corresponding machine-readable
223 source code, which must be distributed under the terms of Sections
224 1 and 2 above on a medium customarily used for software interchange; or,
225
226 b) Accompany it with a written offer, valid for at least three
227 years, to give any third party, for a charge no more than your
228 cost of physically performing source distribution, a complete
229 machine-readable copy of the corresponding source code, to be
230 distributed under the terms of Sections 1 and 2 above on a medium
231 customarily used for software interchange; or,
232
233 c) Accompany it with the information you received as to the offer
234 to distribute corresponding source code. (This alternative is
235 allowed only for noncommercial distribution and only if you
236 received the program in object code or executable form with such
237 an offer, in accord with Subsection b above.)
238
239The source code for a work means the preferred form of the work for
240making modifications to it. For an executable work, complete source
241code means all the source code for all modules it contains, plus any
242associated interface definition files, plus the scripts used to
243control compilation and installation of the executable. However, as a
244special exception, the source code distributed need not include
245anything that is normally distributed (in either source or binary
246form) with the major components (compiler, kernel, and so on) of the
247operating system on which the executable runs, unless that component
248itself accompanies the executable.
249
250If distribution of executable or object code is made by offering
251access to copy from a designated place, then offering equivalent
252access to copy the source code from the same place counts as
253distribution of the source code, even though third parties are not
254compelled to copy the source along with the object code.
255\f
256 4. You may not copy, modify, sublicense, or distribute the Program
257except as expressly provided under this License. Any attempt
258otherwise to copy, modify, sublicense or distribute the Program is
259void, and will automatically terminate your rights under this License.
260However, parties who have received copies, or rights, from you under
261this License will not have their licenses terminated so long as such
262parties remain in full compliance.
263
264 5. You are not required to accept this License, since you have not
265signed it. However, nothing else grants you permission to modify or
266distribute the Program or its derivative works. These actions are
267prohibited by law if you do not accept this License. Therefore, by
268modifying or distributing the Program (or any work based on the
269Program), you indicate your acceptance of this License to do so, and
270all its terms and conditions for copying, distributing or modifying
271the Program or works based on it.
272
273 6. Each time you redistribute the Program (or any work based on the
274Program), the recipient automatically receives a license from the
275original licensor to copy, distribute or modify the Program subject to
276these terms and conditions. You may not impose any further
277restrictions on the recipients' exercise of the rights granted herein.
278You are not responsible for enforcing compliance by third parties to
1a7e760e 279this License.
280
0beadd9e 281 7. If, as a consequence of a court judgment or allegation of patent
1a7e760e 282infringement or for any other reason (not limited to patent issues),
283conditions are imposed on you (whether by court order, agreement or
284otherwise) that contradict the conditions of this License, they do not
0beadd9e 285excuse you from the conditions of this License. If you cannot
286distribute so as to satisfy simultaneously your obligations under this
287License and any other pertinent obligations, then as a consequence you
288may not distribute the Program at all. For example, if a patent
289license would not permit royalty-free redistribution of the Program by
290all those who receive copies directly or indirectly through you, then
291the only way you could satisfy both it and this License would be to
292refrain entirely from distribution of the Program.
293
294If any portion of this section is held invalid or unenforceable under
295any particular circumstance, the balance of the section is intended to
296apply and the section as a whole is intended to apply in other
297circumstances.
298
299It is not the purpose of this section to induce you to infringe any
300patents or other property right claims or to contest validity of any
301such claims; this section has the sole purpose of protecting the
302integrity of the free software distribution system, which is
303implemented by public license practices. Many people have made
304generous contributions to the wide range of software distributed
305through that system in reliance on consistent application of that
306system; it is up to the author/donor to decide if he or she is willing
307to distribute software through any other system and a licensee cannot
308impose that choice.
309
310This section is intended to make thoroughly clear what is believed to
311be a consequence of the rest of this License.
312\f
313 8. If the distribution and/or use of the Program is restricted in
314certain countries either by patents or by copyrighted interfaces, the
315original copyright holder who places the Program under this License
316may add an explicit geographical distribution limitation excluding
317those countries, so that distribution is permitted only in or among
318countries not thus excluded. In such case, this License incorporates
319the limitation as if written in the body of this License.
320
321 9. The Free Software Foundation may publish revised and/or new versions
322of the General Public License from time to time. Such new versions will
1a7e760e 323be similar in spirit to the present version, but may differ in detail to
324address new problems or concerns.
325
0beadd9e 326Each version is given a distinguishing version number. If the Program
1a7e760e 327specifies a version number of this License which applies to it and "any
328later version", you have the option of following the terms and conditions
329either of that version or of any later version published by the Free
0beadd9e 330Software Foundation. If the Program does not specify a version number of
331this License, you may choose any version ever published by the Free Software
1a7e760e 332Foundation.
333
0beadd9e 334 10. If you wish to incorporate parts of the Program into other free
335programs whose distribution conditions are different, write to the author
336to ask for permission. For software which is copyrighted by the Free
1a7e760e 337Software Foundation, write to the Free Software Foundation; we sometimes
0beadd9e 338make exceptions for this. Our decision will be guided by the two goals
339of preserving the free status of all derivatives of our free software and
340of promoting the sharing and reuse of software generally.
1a7e760e 341
0beadd9e 342 NO WARRANTY
1a7e760e 343
0beadd9e 344 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
345FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1a7e760e 346OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
0beadd9e 347PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1a7e760e 348OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
0beadd9e 349MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
350TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
351PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
352REPAIR OR CORRECTION.
1a7e760e 353
0beadd9e 354 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1a7e760e 355WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
0beadd9e 356REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1a7e760e 357INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
0beadd9e 358OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
359TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
360YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
361PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1a7e760e 362POSSIBILITY OF SUCH DAMAGES.
45dec87e 363
0beadd9e 364 END OF TERMS AND CONDITIONS
365\f
366 GNU LIBRARY GENERAL PUBLIC LICENSE
367 Version 2, June 1991
368
369 Copyright (C) 1991 Free Software Foundation, Inc.
370 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
371
372 Everyone is permitted to copy and distribute verbatim copies
373 of this license document, but changing it is not allowed.
374
375 [This is the first released version of the library GPL. It is
376 numbered 2 because it goes with version 2 of the ordinary GPL.]
377
378 Preamble
379
380 The licenses for most software are designed to take away your
381freedom to share and change it. By contrast, the GNU General Public
382Licenses are intended to guarantee your freedom to share and change
383free software--to make sure the software is free for all its users.
384
385 This license, the Library General Public License, applies to some
386specially designated Free Software Foundation software, and to any
387other libraries whose authors decide to use it. You can use it for
388your libraries, too.
389
390 When we speak of free software, we are referring to freedom, not
391price. Our General Public Licenses are designed to make sure that you
392have the freedom to distribute copies of free software (and charge for
393this service if you wish), that you receive source code or can get it
394if you want it, that you can change the software or use pieces of it
395in new free programs; and that you know you can do these things.
396
397 To protect your rights, we need to make restrictions that forbid
398anyone to deny you these rights or to ask you to surrender the rights.
399These restrictions translate to certain responsibilities for you if
400you distribute copies of the library, or if you modify it.
401
402 For example, if you distribute copies of the library, whether gratis
403or for a fee, you must give the recipients all the rights that we gave
404you. You must make sure that they, too, receive or can get the source
405code. If you link a program with the library, you must provide
406complete object files to the recipients so that they can relink them
407with the library, after making changes to the library and recompiling
408it. And you must show them these terms so they know their rights.
409
410 Our method of protecting your rights has two steps: (1) copyright
411the library, and (2) offer you this license which gives you legal
412permission to copy, distribute and/or modify the library.
413
414 Also, for each distributor's protection, we want to make certain
415that everyone understands that there is no warranty for this free
416library. If the library is modified by someone else and passed on, we
417want its recipients to know that what they have is not the original
418version, so that any problems introduced by others will not reflect on
419the original authors' reputations.
420\f
421 Finally, any free program is threatened constantly by software
422patents. We wish to avoid the danger that companies distributing free
423software will individually obtain patent licenses, thus in effect
424transforming the program into proprietary software. To prevent this,
425we have made it clear that any patent must be licensed for everyone's
426free use or not licensed at all.
427
428 Most GNU software, including some libraries, is covered by the ordinary
429GNU General Public License, which was designed for utility programs. This
430license, the GNU Library General Public License, applies to certain
431designated libraries. This license is quite different from the ordinary
432one; be sure to read it in full, and don't assume that anything in it is
433the same as in the ordinary license.
434
435 The reason we have a separate public license for some libraries is that
436they blur the distinction we usually make between modifying or adding to a
437program and simply using it. Linking a program with a library, without
438changing the library, is in some sense simply using the library, and is
439analogous to running a utility program or application program. However, in
440a textual and legal sense, the linked executable is a combined work, a
441derivative of the original library, and the ordinary General Public License
442treats it as such.
443
444 Because of this blurred distinction, using the ordinary General
445Public License for libraries did not effectively promote software
446sharing, because most developers did not use the libraries. We
447concluded that weaker conditions might promote sharing better.
448
449 However, unrestricted linking of non-free programs would deprive the
450users of those programs of all benefit from the free status of the
451libraries themselves. This Library General Public License is intended to
452permit developers of non-free programs to use free libraries, while
453preserving your freedom as a user of such programs to change the free
454libraries that are incorporated in them. (We have not seen how to achieve
455this as regards changes in header files, but we have achieved it as regards
456changes in the actual functions of the Library.) The hope is that this
457will lead to faster development of free libraries.
458
459 The precise terms and conditions for copying, distribution and
460modification follow. Pay close attention to the difference between a
461"work based on the library" and a "work that uses the library". The
462former contains code derived from the library, while the latter only
463works together with the library.
464
465 Note that it is possible for a library to be covered by the ordinary
466General Public License rather than by this special one.
467\f
468 GNU LIBRARY GENERAL PUBLIC LICENSE
469 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
470
471 0. This License Agreement applies to any software library which
472contains a notice placed by the copyright holder or other authorized
473party saying it may be distributed under the terms of this Library
474General Public License (also called "this License"). Each licensee is
475addressed as "you".
476
477 A "library" means a collection of software functions and/or data
478prepared so as to be conveniently linked with application programs
479(which use some of those functions and data) to form executables.
480
481 The "Library", below, refers to any such software library or work
482which has been distributed under these terms. A "work based on the
483Library" means either the Library or any derivative work under
484copyright law: that is to say, a work containing the Library or a
485portion of it, either verbatim or with modifications and/or translated
486straightforwardly into another language. (Hereinafter, translation is
487included without limitation in the term "modification".)
488
489 "Source code" for a work means the preferred form of the work for
490making modifications to it. For a library, complete source code means
491all the source code for all modules it contains, plus any associated
492interface definition files, plus the scripts used to control compilation
493and installation of the library.
494
495 Activities other than copying, distribution and modification are not
496covered by this License; they are outside its scope. The act of
497running a program using the Library is not restricted, and output from
498such a program is covered only if its contents constitute a work based
499on the Library (independent of the use of the Library in a tool for
500writing it). Whether that is true depends on what the Library does
501and what the program that uses the Library does.
502
503 1. You may copy and distribute verbatim copies of the Library's
504complete source code as you receive it, in any medium, provided that
505you conspicuously and appropriately publish on each copy an
506appropriate copyright notice and disclaimer of warranty; keep intact
507all the notices that refer to this License and to the absence of any
508warranty; and distribute a copy of this License along with the
509Library.
510
511 You may charge a fee for the physical act of transferring a copy,
512and you may at your option offer warranty protection in exchange for a
513fee.
514\f
515 2. You may modify your copy or copies of the Library or any portion
516of it, thus forming a work based on the Library, and copy and
517distribute such modifications or work under the terms of Section 1
518above, provided that you also meet all of these conditions:
519
520 a) The modified work must itself be a software library.
521
522 b) You must cause the files modified to carry prominent notices
523 stating that you changed the files and the date of any change.
524
525 c) You must cause the whole of the work to be licensed at no
526 charge to all third parties under the terms of this License.
527
528 d) If a facility in the modified Library refers to a function or a
529 table of data to be supplied by an application program that uses
530 the facility, other than as an argument passed when the facility
531 is invoked, then you must make a good faith effort to ensure that,
532 in the event an application does not supply such function or
533 table, the facility still operates, and performs whatever part of
534 its purpose remains meaningful.
535
536 (For example, a function in a library to compute square roots has
537 a purpose that is entirely well-defined independent of the
538 application. Therefore, Subsection 2d requires that any
539 application-supplied function or table used by this function must
540 be optional: if the application does not supply it, the square
541 root function must still compute square roots.)
542
543These requirements apply to the modified work as a whole. If
544identifiable sections of that work are not derived from the Library,
545and can be reasonably considered independent and separate works in
546themselves, then this License, and its terms, do not apply to those
547sections when you distribute them as separate works. But when you
548distribute the same sections as part of a whole which is a work based
549on the Library, the distribution of the whole must be on the terms of
550this License, whose permissions for other licensees extend to the
551entire whole, and thus to each and every part regardless of who wrote
552it.
553
554Thus, it is not the intent of this section to claim rights or contest
555your rights to work written entirely by you; rather, the intent is to
556exercise the right to control the distribution of derivative or
557collective works based on the Library.
558
559In addition, mere aggregation of another work not based on the Library
560with the Library (or with a work based on the Library) on a volume of
561a storage or distribution medium does not bring the other work under
562the scope of this License.
563
564 3. You may opt to apply the terms of the ordinary GNU General Public
565License instead of this License to a given copy of the Library. To do
566this, you must alter all the notices that refer to this License, so
567that they refer to the ordinary GNU General Public License, version 2,
568instead of to this License. (If a newer version than version 2 of the
569ordinary GNU General Public License has appeared, then you can specify
570that version instead if you wish.) Do not make any other change in
571these notices.
572\f
573 Once this change is made in a given copy, it is irreversible for
574that copy, so the ordinary GNU General Public License applies to all
575subsequent copies and derivative works made from that copy.
576
577 This option is useful when you wish to copy part of the code of
578the Library into a program that is not a library.
579
580 4. You may copy and distribute the Library (or a portion or
581derivative of it, under Section 2) in object code or executable form
582under the terms of Sections 1 and 2 above provided that you accompany
583it with the complete corresponding machine-readable source code, which
584must be distributed under the terms of Sections 1 and 2 above on a
585medium customarily used for software interchange.
586
587 If distribution of object code is made by offering access to copy
588from a designated place, then offering equivalent access to copy the
589source code from the same place satisfies the requirement to
590distribute the source code, even though third parties are not
591compelled to copy the source along with the object code.
592
593 5. A program that contains no derivative of any portion of the
594Library, but is designed to work with the Library by being compiled or
595linked with it, is called a "work that uses the Library". Such a
596work, in isolation, is not a derivative work of the Library, and
597therefore falls outside the scope of this License.
598
599 However, linking a "work that uses the Library" with the Library
600creates an executable that is a derivative of the Library (because it
601contains portions of the Library), rather than a "work that uses the
602library". The executable is therefore covered by this License.
603Section 6 states terms for distribution of such executables.
604
605 When a "work that uses the Library" uses material from a header file
606that is part of the Library, the object code for the work may be a
607derivative work of the Library even though the source code is not.
608Whether this is true is especially significant if the work can be
609linked without the Library, or if the work is itself a library. The
610threshold for this to be true is not precisely defined by law.
611
612 If such an object file uses only numerical parameters, data
613structure layouts and accessors, and small macros and small inline
614functions (ten lines or less in length), then the use of the object
615file is unrestricted, regardless of whether it is legally a derivative
616work. (Executables containing this object code plus portions of the
617Library will still fall under Section 6.)
618
619 Otherwise, if the work is a derivative of the Library, you may
620distribute the object code for the work under the terms of Section 6.
621Any executables containing that work also fall under Section 6,
622whether or not they are linked directly with the Library itself.
623\f
624 6. As an exception to the Sections above, you may also compile or
625link a "work that uses the Library" with the Library to produce a
626work containing portions of the Library, and distribute that work
627under terms of your choice, provided that the terms permit
628modification of the work for the customer's own use and reverse
629engineering for debugging such modifications.
630
631 You must give prominent notice with each copy of the work that the
632Library is used in it and that the Library and its use are covered by
633this License. You must supply a copy of this License. If the work
634during execution displays copyright notices, you must include the
635copyright notice for the Library among them, as well as a reference
636directing the user to the copy of this License. Also, you must do one
637of these things:
638
639 a) Accompany the work with the complete corresponding
640 machine-readable source code for the Library including whatever
641 changes were used in the work (which must be distributed under
642 Sections 1 and 2 above); and, if the work is an executable linked
643 with the Library, with the complete machine-readable "work that
644 uses the Library", as object code and/or source code, so that the
645 user can modify the Library and then relink to produce a modified
646 executable containing the modified Library. (It is understood
647 that the user who changes the contents of definitions files in the
648 Library will not necessarily be able to recompile the application
649 to use the modified definitions.)
650
651 b) Accompany the work with a written offer, valid for at
652 least three years, to give the same user the materials
653 specified in Subsection 6a, above, for a charge no more
654 than the cost of performing this distribution.
655
656 c) If distribution of the work is made by offering access to copy
657 from a designated place, offer equivalent access to copy the above
658 specified materials from the same place.
659
660 d) Verify that the user has already received a copy of these
661 materials or that you have already sent this user a copy.
662
663 For an executable, the required form of the "work that uses the
664Library" must include any data and utility programs needed for
665reproducing the executable from it. However, as a special exception,
666the source code distributed need not include anything that is normally
667distributed (in either source or binary form) with the major
668components (compiler, kernel, and so on) of the operating system on
669which the executable runs, unless that component itself accompanies
670the executable.
671
672 It may happen that this requirement contradicts the license
673restrictions of other proprietary libraries that do not normally
674accompany the operating system. Such a contradiction means you cannot
675use both them and the Library together in an executable that you
676distribute.
677\f
678 7. You may place library facilities that are a work based on the
679Library side-by-side in a single library together with other library
680facilities not covered by this License, and distribute such a combined
681library, provided that the separate distribution of the work based on
682the Library and of the other library facilities is otherwise
683permitted, and provided that you do these two things:
684
685 a) Accompany the combined library with a copy of the same work
686 based on the Library, uncombined with any other library
687 facilities. This must be distributed under the terms of the
688 Sections above.
689
690 b) Give prominent notice with the combined library of the fact
691 that part of it is a work based on the Library, and explaining
692 where to find the accompanying uncombined form of the same work.
693
694 8. You may not copy, modify, sublicense, link with, or distribute
695the Library except as expressly provided under this License. Any
696attempt otherwise to copy, modify, sublicense, link with, or
697distribute the Library is void, and will automatically terminate your
698rights under this License. However, parties who have received copies,
699or rights, from you under this License will not have their licenses
700terminated so long as such parties remain in full compliance.
701
702 9. You are not required to accept this License, since you have not
703signed it. However, nothing else grants you permission to modify or
704distribute the Library or its derivative works. These actions are
705prohibited by law if you do not accept this License. Therefore, by
706modifying or distributing the Library (or any work based on the
707Library), you indicate your acceptance of this License to do so, and
708all its terms and conditions for copying, distributing or modifying
709the Library or works based on it.
710
711 10. Each time you redistribute the Library (or any work based on the
712Library), the recipient automatically receives a license from the
713original licensor to copy, distribute, link with or modify the Library
714subject to these terms and conditions. You may not impose any further
715restrictions on the recipients' exercise of the rights granted herein.
716You are not responsible for enforcing compliance by third parties to
717this License.
718\f
719 11. If, as a consequence of a court judgment or allegation of patent
720infringement or for any other reason (not limited to patent issues),
721conditions are imposed on you (whether by court order, agreement or
722otherwise) that contradict the conditions of this License, they do not
723excuse you from the conditions of this License. If you cannot
724distribute so as to satisfy simultaneously your obligations under this
725License and any other pertinent obligations, then as a consequence you
726may not distribute the Library at all. For example, if a patent
727license would not permit royalty-free redistribution of the Library by
728all those who receive copies directly or indirectly through you, then
729the only way you could satisfy both it and this License would be to
730refrain entirely from distribution of the Library.
731
732If any portion of this section is held invalid or unenforceable under any
733particular circumstance, the balance of the section is intended to apply,
734and the section as a whole is intended to apply in other circumstances.
735
736It is not the purpose of this section to induce you to infringe any
737patents or other property right claims or to contest validity of any
738such claims; this section has the sole purpose of protecting the
739integrity of the free software distribution system which is
740implemented by public license practices. Many people have made
741generous contributions to the wide range of software distributed
742through that system in reliance on consistent application of that
743system; it is up to the author/donor to decide if he or she is willing
744to distribute software through any other system and a licensee cannot
745impose that choice.
746
747This section is intended to make thoroughly clear what is believed to
748be a consequence of the rest of this License.
749
750 12. If the distribution and/or use of the Library is restricted in
751certain countries either by patents or by copyrighted interfaces, the
752original copyright holder who places the Library under this License may add
753an explicit geographical distribution limitation excluding those countries,
754so that distribution is permitted only in or among countries not thus
755excluded. In such case, this License incorporates the limitation as if
756written in the body of this License.
757
758 13. The Free Software Foundation may publish revised and/or new
759versions of the Library General Public License from time to time.
760Such new versions will be similar in spirit to the present version,
761but may differ in detail to address new problems or concerns.
762
763Each version is given a distinguishing version number. If the Library
764specifies a version number of this License which applies to it and
765"any later version", you have the option of following the terms and
766conditions either of that version or of any later version published by
767the Free Software Foundation. If the Library does not specify a
768license version number, you may choose any version ever published by
769the Free Software Foundation.
770\f
771 14. If you wish to incorporate parts of the Library into other free
772programs whose distribution conditions are incompatible with these,
773write to the author to ask for permission. For software which is
774copyrighted by the Free Software Foundation, write to the Free
775Software Foundation; we sometimes make exceptions for this. Our
776decision will be guided by the two goals of preserving the free status
777of all derivatives of our free software and of promoting the sharing
778and reuse of software generally.
779
780 NO WARRANTY
781
782 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
783WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
784EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
785OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
786KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
787IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
788PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
789LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
790THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
791
792 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
793WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
794AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
795FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
796CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
797LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
798RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
799FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
800SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
801DAMAGES.
802
803 END OF TERMS AND CONDITIONS