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