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