1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 2.1, February 1999
4 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
9 [This is the first released version of the Lesser GPL. It also counts
10 as the successor of the GNU Library Public License, version 2, hence
11 the version number 2.1.]
15 The licenses for most software are designed to take away your
16 freedom to share and change it. By contrast, the GNU General Public
17 Licenses are intended to guarantee your freedom to share and change
18 free software--to make sure the software is free for all its users.
20 This license, the Lesser General Public License, applies to some
21 specially designated software packages--typically libraries--of the
22 Free Software Foundation and other authors who decide to use it. You
23 can use it too, but we suggest you first think carefully about whether
24 this license or the ordinary General Public License is the better
25 strategy to use in any particular case, based on the explanations
28 When we speak of free software, we are referring to freedom of use,
29 not price. Our General Public Licenses are designed to make sure that
30 you have the freedom to distribute copies of free software (and charge
31 for this service if you wish); that you receive source code or can get
32 it if you want it; that you can change the software and use pieces of
33 it in new free programs; and that you are informed that you can do
36 To protect your rights, we need to make restrictions that forbid
37 distributors to deny you these rights or to ask you to surrender these
38 rights. These restrictions translate to certain responsibilities for
39 you if you distribute copies of the library or if you modify it.
41 For example, if you distribute copies of the library, whether gratis
42 or for a fee, you must give the recipients all the rights that we gave
43 you. You must make sure that they, too, receive or can get the source
44 code. If you link other code with the library, you must provide
45 complete object files to the recipients, so that they can relink them
46 with the library after making changes to the library and recompiling
47 it. And you must show them these terms so they know their rights.
49 We protect your rights with a two-step method: (1) we copyright the
50 library, and (2) we offer you this license, which gives you legal
51 permission to copy, distribute and/or modify the library.
53 To protect each distributor, we want to make it very clear that
54 there is no warranty for the free library. Also, if the library is
55 modified by someone else and passed on, the recipients should know
56 that what they have is not the original version, so that the original
57 author's reputation will not be affected by problems that might be
60 Finally, software patents pose a constant threat to the existence of
61 any free program. We wish to make sure that a company cannot
62 effectively restrict the users of a free program by obtaining a
63 restrictive license from a patent holder. Therefore, we insist that
64 any patent license obtained for a version of the library must be
65 consistent with the full freedom of use specified in this license.
67 Most GNU software, including some libraries, is covered by the
68 ordinary GNU General Public License. This license, the GNU Lesser
69 General Public License, applies to certain designated libraries, and
70 is quite different from the ordinary General Public License. We use
71 this license for certain libraries in order to permit linking those
72 libraries into non-free programs.
74 When a program is linked with a library, whether statically or using
75 a shared library, the combination of the two is legally speaking a
76 combined work, a derivative of the original library. The ordinary
77 General Public License therefore permits such linking only if the
78 entire combination fits its criteria of freedom. The Lesser General
79 Public License permits more lax criteria for linking other code with
82 We call this license the "Lesser" General Public License because it
83 does Less to protect the user's freedom than the ordinary General
84 Public License. It also provides other free software developers Less
85 of an advantage over competing non-free programs. These disadvantages
86 are the reason we use the ordinary General Public License for many
87 libraries. However, the Lesser license provides advantages in certain
88 special circumstances.
90 For example, on rare occasions, there may be a special need to
91 encourage the widest possible use of a certain library, so that it
92 becomes a de-facto standard. To achieve this, non-free programs must
93 be allowed to use the library. A more frequent case is that a free
94 library does the same job as widely used non-free libraries. In this
95 case, there is little to gain by limiting the free library to free
96 software only, so we use the Lesser General Public License.
98 In other cases, permission to use a particular library in non-free
99 programs enables a greater number of people to use a large body of
100 free software. For example, permission to use the GNU C Library in
101 non-free programs enables many more people to use the whole GNU
102 operating system, as well as its variant, the GNU/Linux operating
105 Although the Lesser General Public License is Less protective of the
106 users' freedom, it does ensure that the user of a program that is
107 linked with the Library has the freedom and the wherewithal to run
108 that program using a modified version of the Library.
110 The precise terms and conditions for copying, distribution and
111 modification follow. Pay close attention to the difference between a
112 "work based on the library" and a "work that uses the library". The
113 former contains code derived from the library, whereas the latter must
114 be combined with the library in order to run.
116 GNU LESSER GENERAL PUBLIC LICENSE
117 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
119 0. This License Agreement applies to any software library or other
120 program which contains a notice placed by the copyright holder or
121 other authorized party saying it may be distributed under the terms of
122 this Lesser General Public License (also called "this License").
123 Each licensee is addressed as "you".
125 A "library" means a collection of software functions and/or data
126 prepared so as to be conveniently linked with application programs
127 (which use some of those functions and data) to form executables.
129 The "Library", below, refers to any such software library or work
130 which has been distributed under these terms. A "work based on the
131 Library" means either the Library or any derivative work under
132 copyright law: that is to say, a work containing the Library or a
133 portion of it, either verbatim or with modifications and/or translated
134 straightforwardly into another language. (Hereinafter, translation is
135 included without limitation in the term "modification".)
137 "Source code" for a work means the preferred form of the work for
138 making modifications to it. For a library, complete source code means
139 all the source code for all modules it contains, plus any associated
140 interface definition files, plus the scripts used to control
141 compilation and installation of the library.
143 Activities other than copying, distribution and modification are not
144 covered by this License; they are outside its scope. The act of
145 running a program using the Library is not restricted, and output from
146 such a program is covered only if its contents constitute a work based
147 on the Library (independent of the use of the Library in a tool for
148 writing it). Whether that is true depends on what the Library does
149 and what the program that uses the Library does.
151 1. You may copy and distribute verbatim copies of the Library's
152 complete source code as you receive it, in any medium, provided that
153 you conspicuously and appropriately publish on each copy an
154 appropriate copyright notice and disclaimer of warranty; keep intact
155 all the notices that refer to this License and to the absence of any
156 warranty; and distribute a copy of this License along with the
159 You may charge a fee for the physical act of transferring a copy,
160 and you may at your option offer warranty protection in exchange for a
163 2. You may modify your copy or copies of the Library or any portion
164 of it, thus forming a work based on the Library, and copy and
165 distribute such modifications or work under the terms of Section 1
166 above, provided that you also meet all of these conditions:
168 a) The modified work must itself be a software library.
170 b) You must cause the files modified to carry prominent notices
171 stating that you changed the files and the date of any change.
173 c) You must cause the whole of the work to be licensed at no
174 charge to all third parties under the terms of this License.
176 d) If a facility in the modified Library refers to a function or a
177 table of data to be supplied by an application program that uses
178 the facility, other than as an argument passed when the facility
179 is invoked, then you must make a good faith effort to ensure that,
180 in the event an application does not supply such function or
181 table, the facility still operates, and performs whatever part of
182 its purpose remains meaningful.
184 (For example, a function in a library to compute square roots has
185 a purpose that is entirely well-defined independent of the
186 application. Therefore, Subsection 2d requires that any
187 application-supplied function or table used by this function must
188 be optional: if the application does not supply it, the square
189 root function must still compute square roots.)
191 These requirements apply to the modified work as a whole. If
192 identifiable sections of that work are not derived from the Library,
193 and can be reasonably considered independent and separate works in
194 themselves, then this License, and its terms, do not apply to those
195 sections when you distribute them as separate works. But when you
196 distribute the same sections as part of a whole which is a work based
197 on the Library, the distribution of the whole must be on the terms of
198 this License, whose permissions for other licensees extend to the
199 entire whole, and thus to each and every part regardless of who wrote
202 Thus, it is not the intent of this section to claim rights or contest
203 your rights to work written entirely by you; rather, the intent is to
204 exercise the right to control the distribution of derivative or
205 collective works based on the Library.
207 In addition, mere aggregation of another work not based on the Library
208 with the Library (or with a work based on the Library) on a volume of
209 a storage or distribution medium does not bring the other work under
210 the scope of this License.
212 3. You may opt to apply the terms of the ordinary GNU General Public
213 License instead of this License to a given copy of the Library. To do
214 this, you must alter all the notices that refer to this License, so
215 that they refer to the ordinary GNU General Public License, version 2,
216 instead of to this License. (If a newer version than version 2 of the
217 ordinary GNU General Public License has appeared, then you can specify
218 that version instead if you wish.) Do not make any other change in
221 Once this change is made in a given copy, it is irreversible for
222 that copy, so the ordinary GNU General Public License applies to all
223 subsequent copies and derivative works made from that copy.
225 This option is useful when you wish to copy part of the code of
226 the Library into a program that is not a library.
228 4. You may copy and distribute the Library (or a portion or
229 derivative of it, under Section 2) in object code or executable form
230 under the terms of Sections 1 and 2 above provided that you accompany
231 it with the complete corresponding machine-readable source code, which
232 must be distributed under the terms of Sections 1 and 2 above on a
233 medium customarily used for software interchange.
235 If distribution of object code is made by offering access to copy
236 from a designated place, then offering equivalent access to copy the
237 source code from the same place satisfies the requirement to
238 distribute the source code, even though third parties are not
239 compelled to copy the source along with the object code.
241 5. A program that contains no derivative of any portion of the
242 Library, but is designed to work with the Library by being compiled or
243 linked with it, is called a "work that uses the Library". Such a
244 work, in isolation, is not a derivative work of the Library, and
245 therefore falls outside the scope of this License.
247 However, linking a "work that uses the Library" with the Library
248 creates an executable that is a derivative of the Library (because it
249 contains portions of the Library), rather than a "work that uses the
250 library". The executable is therefore covered by this License.
251 Section 6 states terms for distribution of such executables.
253 When a "work that uses the Library" uses material from a header file
254 that is part of the Library, the object code for the work may be a
255 derivative work of the Library even though the source code is not.
256 Whether this is true is especially significant if the work can be
257 linked without the Library, or if the work is itself a library. The
258 threshold for this to be true is not precisely defined by law.
260 If such an object file uses only numerical parameters, data
261 structure layouts and accessors, and small macros and small inline
262 functions (ten lines or less in length), then the use of the object
263 file is unrestricted, regardless of whether it is legally a derivative
264 work. (Executables containing this object code plus portions of the
265 Library will still fall under Section 6.)
267 Otherwise, if the work is a derivative of the Library, you may
268 distribute the object code for the work under the terms of Section 6.
269 Any executables containing that work also fall under Section 6,
270 whether or not they are linked directly with the Library itself.
272 6. As an exception to the Sections above, you may also combine or
273 link a "work that uses the Library" with the Library to produce a
274 work containing portions of the Library, and distribute that work
275 under terms of your choice, provided that the terms permit
276 modification of the work for the customer's own use and reverse
277 engineering for debugging such modifications.
279 You must give prominent notice with each copy of the work that the
280 Library is used in it and that the Library and its use are covered by
281 this License. You must supply a copy of this License. If the work
282 during execution displays copyright notices, you must include the
283 copyright notice for the Library among them, as well as a reference
284 directing the user to the copy of this License. Also, you must do one
287 a) Accompany the work with the complete corresponding
288 machine-readable source code for the Library including whatever
289 changes were used in the work (which must be distributed under
290 Sections 1 and 2 above); and, if the work is an executable linked
291 with the Library, with the complete machine-readable "work that
292 uses the Library", as object code and/or source code, so that the
293 user can modify the Library and then relink to produce a modified
294 executable containing the modified Library. (It is understood
295 that the user who changes the contents of definitions files in the
296 Library will not necessarily be able to recompile the application
297 to use the modified definitions.)
299 b) Use a suitable shared library mechanism for linking with the
300 Library. A suitable mechanism is one that (1) uses at run time a
301 copy of the library already present on the user's computer system,
302 rather than copying library functions into the executable, and (2)
303 will operate properly with a modified version of the library, if
304 the user installs one, as long as the modified version is
305 interface-compatible with the version that the work was made with.
307 c) Accompany the work with a written offer, valid for at least
308 three years, to give the same user the materials specified in
309 Subsection 6a, above, for a charge no more than the cost of
310 performing this distribution.
312 d) If distribution of the work is made by offering access to copy
313 from a designated place, offer equivalent access to copy the above
314 specified materials from the same place.
316 e) Verify that the user has already received a copy of these
317 materials or that you have already sent this user a copy.
319 For an executable, the required form of the "work that uses the
320 Library" must include any data and utility programs needed for
321 reproducing the executable from it. However, as a special exception,
322 the materials to be distributed need not include anything that is
323 normally distributed (in either source or binary form) with the major
324 components (compiler, kernel, and so on) of the operating system on
325 which the executable runs, unless that component itself accompanies
328 It may happen that this requirement contradicts the license
329 restrictions of other proprietary libraries that do not normally
330 accompany the operating system. Such a contradiction means you cannot
331 use both them and the Library together in an executable that you
334 7. You may place library facilities that are a work based on the
335 Library side-by-side in a single library together with other library
336 facilities not covered by this License, and distribute such a combined
337 library, provided that the separate distribution of the work based on
338 the Library and of the other library facilities is otherwise
339 permitted, and provided that you do these two things:
341 a) Accompany the combined library with a copy of the same work
342 based on the Library, uncombined with any other library
343 facilities. This must be distributed under the terms of the
346 b) Give prominent notice with the combined library of the fact
347 that part of it is a work based on the Library, and explaining
348 where to find the accompanying uncombined form of the same work.
350 8. You may not copy, modify, sublicense, link with, or distribute
351 the Library except as expressly provided under this License. Any
352 attempt otherwise to copy, modify, sublicense, link with, or
353 distribute the Library is void, and will automatically terminate your
354 rights under this License. However, parties who have received copies,
355 or rights, from you under this License will not have their licenses
356 terminated so long as such parties remain in full compliance.
358 9. You are not required to accept this License, since you have not
359 signed it. However, nothing else grants you permission to modify or
360 distribute the Library or its derivative works. These actions are
361 prohibited by law if you do not accept this License. Therefore, by
362 modifying or distributing the Library (or any work based on the
363 Library), you indicate your acceptance of this License to do so, and
364 all its terms and conditions for copying, distributing or modifying
365 the Library or works based on it.
367 10. Each time you redistribute the Library (or any work based on the
368 Library), the recipient automatically receives a license from the
369 original licensor to copy, distribute, link with or modify the Library
370 subject to these terms and conditions. You may not impose any further
371 restrictions on the recipients' exercise of the rights granted herein.
372 You are not responsible for enforcing compliance by third parties with
375 11. If, as a consequence of a court judgment or allegation of patent
376 infringement or for any other reason (not limited to patent issues),
377 conditions are imposed on you (whether by court order, agreement or
378 otherwise) that contradict the conditions of this License, they do not
379 excuse you from the conditions of this License. If you cannot
380 distribute so as to satisfy simultaneously your obligations under this
381 License and any other pertinent obligations, then as a consequence you
382 may not distribute the Library at all. For example, if a patent
383 license would not permit royalty-free redistribution of the Library by
384 all those who receive copies directly or indirectly through you, then
385 the only way you could satisfy both it and this License would be to
386 refrain entirely from distribution of the Library.
388 If any portion of this section is held invalid or unenforceable under
389 any particular circumstance, the balance of the section is intended to
390 apply, and the section as a whole is intended to apply in other
393 It is not the purpose of this section to induce you to infringe any
394 patents or other property right claims or to contest validity of any
395 such claims; this section has the sole purpose of protecting the
396 integrity of the free software distribution system which is
397 implemented by public license practices. Many people have made
398 generous contributions to the wide range of software distributed
399 through that system in reliance on consistent application of that
400 system; it is up to the author/donor to decide if he or she is willing
401 to distribute software through any other system and a licensee cannot
404 This section is intended to make thoroughly clear what is believed to
405 be a consequence of the rest of this License.
407 12. If the distribution and/or use of the Library is restricted in
408 certain countries either by patents or by copyrighted interfaces, the
409 original copyright holder who places the Library under this License
410 may add an explicit geographical distribution limitation excluding those
411 countries, so that distribution is permitted only in or among
412 countries not thus excluded. In such case, this License incorporates
413 the limitation as if written in the body of this License.
415 13. The Free Software Foundation may publish revised and/or new
416 versions of the Lesser General Public License from time to time.
417 Such new versions will be similar in spirit to the present version,
418 but may differ in detail to address new problems or concerns.
420 Each version is given a distinguishing version number. If the Library
421 specifies a version number of this License which applies to it and
422 "any later version", you have the option of following the terms and
423 conditions either of that version or of any later version published by
424 the Free Software Foundation. If the Library does not specify a
425 license version number, you may choose any version ever published by
426 the Free Software Foundation.
428 14. If you wish to incorporate parts of the Library into other free
429 programs whose distribution conditions are incompatible with these,
430 write to the author to ask for permission. For software which is
431 copyrighted by the Free Software Foundation, write to the Free
432 Software Foundation; we sometimes make exceptions for this. Our
433 decision will be guided by the two goals of preserving the free status
434 of all derivatives of our free software and of promoting the sharing
435 and reuse of software generally.
439 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
440 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
441 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
442 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
443 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
444 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
445 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
446 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
447 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
449 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
450 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
451 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
452 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
453 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
454 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
455 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
456 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
457 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
460 END OF TERMS AND CONDITIONS
462 How to Apply These Terms to Your New Libraries
464 If you develop a new library, and you want it to be of the greatest
465 possible use to the public, we recommend making it free software that
466 everyone can redistribute and change. You can do so by permitting
467 redistribution under these terms (or, alternatively, under the terms
468 of the ordinary General Public License).
470 To apply these terms, attach the following notices to the library.
471 It is safest to attach them to the start of each source file to most
472 effectively convey the exclusion of warranty; and each file should
473 have at least the "copyright" line and a pointer to where the full
477 <one line to give the library's name and a brief idea of what it does.>
478 Copyright (C) <year> <name of author>
480 This library is free software; you can redistribute it and/or
481 modify it under the terms of the GNU Lesser General Public
482 License as published by the Free Software Foundation; either
483 version 2.1 of the License, or (at your option) any later version.
485 This library is distributed in the hope that it will be useful,
486 but WITHOUT ANY WARRANTY; without even the implied warranty of
487 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
488 Lesser General Public License for more details.
490 You should have received a copy of the GNU Lesser General Public
491 License along with this library; if not, write to the Free Software
492 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
494 Also add information on how to contact you by electronic and paper mail.
496 You should also get your employer (if you work as a programmer) or
497 your school, if any, to sign a "copyright disclaimer" for the library,
498 if necessary. Here is a sample; alter the names:
500 Yoyodyne, Inc., hereby disclaims all copyright interest in the
501 library `Frob' (a library for tweaking knobs) written by James
504 <signature of Ty Coon>, 1 April 1990
505 Ty Coon, President of Vice
507 That's all there is to it!
509 ----------------------------------------------------------------------------
511 GNU GENERAL PUBLIC LICENSE
512 Version 3, 29 June 2007
514 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
515 Everyone is permitted to copy and distribute verbatim copies
516 of this license document, but changing it is not allowed.
520 The GNU General Public License is a free, copyleft license for
521 software and other kinds of works.
523 The licenses for most software and other practical works are designed
524 to take away your freedom to share and change the works. By contrast,
525 the GNU General Public License is intended to guarantee your freedom to
526 share and change all versions of a program--to make sure it remains free
527 software for all its users. We, the Free Software Foundation, use the
528 GNU General Public License for most of our software; it applies also to
529 any other work released this way by its authors. You can apply it to
532 When we speak of free software, we are referring to freedom, not
533 price. Our General Public Licenses are designed to make sure that you
534 have the freedom to distribute copies of free software (and charge for
535 them if you wish), that you receive source code or can get it if you
536 want it, that you can change the software or use pieces of it in new
537 free programs, and that you know you can do these things.
539 To protect your rights, we need to prevent others from denying you
540 these rights or asking you to surrender the rights. Therefore, you have
541 certain responsibilities if you distribute copies of the software, or if
542 you modify it: responsibilities to respect the freedom of others.
544 For example, if you distribute copies of such a program, whether
545 gratis or for a fee, you must pass on to the recipients the same
546 freedoms that you received. You must make sure that they, too, receive
547 or can get the source code. And you must show them these terms so they
550 Developers that use the GNU GPL protect your rights with two steps:
551 (1) assert copyright on the software, and (2) offer you this License
552 giving you legal permission to copy, distribute and/or modify it.
554 For the developers' and authors' protection, the GPL clearly explains
555 that there is no warranty for this free software. For both users' and
556 authors' sake, the GPL requires that modified versions be marked as
557 changed, so that their problems will not be attributed erroneously to
558 authors of previous versions.
560 Some devices are designed to deny users access to install or run
561 modified versions of the software inside them, although the manufacturer
562 can do so. This is fundamentally incompatible with the aim of
563 protecting users' freedom to change the software. The systematic
564 pattern of such abuse occurs in the area of products for individuals to
565 use, which is precisely where it is most unacceptable. Therefore, we
566 have designed this version of the GPL to prohibit the practice for those
567 products. If such problems arise substantially in other domains, we
568 stand ready to extend this provision to those domains in future versions
569 of the GPL, as needed to protect the freedom of users.
571 Finally, every program is threatened constantly by software patents.
572 States should not allow patents to restrict development and use of
573 software on general-purpose computers, but in those that do, we wish to
574 avoid the special danger that patents applied to a free program could
575 make it effectively proprietary. To prevent this, the GPL assures that
576 patents cannot be used to render the program non-free.
578 The precise terms and conditions for copying, distribution and
585 "This License" refers to version 3 of the GNU General Public License.
587 "Copyright" also means copyright-like laws that apply to other kinds of
588 works, such as semiconductor masks.
590 "The Program" refers to any copyrightable work licensed under this
591 License. Each licensee is addressed as "you". "Licensees" and
592 "recipients" may be individuals or organizations.
594 To "modify" a work means to copy from or adapt all or part of the work
595 in a fashion requiring copyright permission, other than the making of an
596 exact copy. The resulting work is called a "modified version" of the
597 earlier work or a work "based on" the earlier work.
599 A "covered work" means either the unmodified Program or a work based
602 To "propagate" a work means to do anything with it that, without
603 permission, would make you directly or secondarily liable for
604 infringement under applicable copyright law, except executing it on a
605 computer or modifying a private copy. Propagation includes copying,
606 distribution (with or without modification), making available to the
607 public, and in some countries other activities as well.
609 To "convey" a work means any kind of propagation that enables other
610 parties to make or receive copies. Mere interaction with a user through
611 a computer network, with no transfer of a copy, is not conveying.
613 An interactive user interface displays "Appropriate Legal Notices"
614 to the extent that it includes a convenient and prominently visible
615 feature that (1) displays an appropriate copyright notice, and (2)
616 tells the user that there is no warranty for the work (except to the
617 extent that warranties are provided), that licensees may convey the
618 work under this License, and how to view a copy of this License. If
619 the interface presents a list of user commands or options, such as a
620 menu, a prominent item in the list meets this criterion.
624 The "source code" for a work means the preferred form of the work
625 for making modifications to it. "Object code" means any non-source
628 A "Standard Interface" means an interface that either is an official
629 standard defined by a recognized standards body, or, in the case of
630 interfaces specified for a particular programming language, one that
631 is widely used among developers working in that language.
633 The "System Libraries" of an executable work include anything, other
634 than the work as a whole, that (a) is included in the normal form of
635 packaging a Major Component, but which is not part of that Major
636 Component, and (b) serves only to enable use of the work with that
637 Major Component, or to implement a Standard Interface for which an
638 implementation is available to the public in source code form. A
639 "Major Component", in this context, means a major essential component
640 (kernel, window system, and so on) of the specific operating system
641 (if any) on which the executable work runs, or a compiler used to
642 produce the work, or an object code interpreter used to run it.
644 The "Corresponding Source" for a work in object code form means all
645 the source code needed to generate, install, and (for an executable
646 work) run the object code and to modify the work, including scripts to
647 control those activities. However, it does not include the work's
648 System Libraries, or general-purpose tools or generally available free
649 programs which are used unmodified in performing those activities but
650 which are not part of the work. For example, Corresponding Source
651 includes interface definition files associated with source files for
652 the work, and the source code for shared libraries and dynamically
653 linked subprograms that the work is specifically designed to require,
654 such as by intimate data communication or control flow between those
655 subprograms and other parts of the work.
657 The Corresponding Source need not include anything that users
658 can regenerate automatically from other parts of the Corresponding
661 The Corresponding Source for a work in source code form is that
664 2. Basic Permissions.
666 All rights granted under this License are granted for the term of
667 copyright on the Program, and are irrevocable provided the stated
668 conditions are met. This License explicitly affirms your unlimited
669 permission to run the unmodified Program. The output from running a
670 covered work is covered by this License only if the output, given its
671 content, constitutes a covered work. This License acknowledges your
672 rights of fair use or other equivalent, as provided by copyright law.
674 You may make, run and propagate covered works that you do not
675 convey, without conditions so long as your license otherwise remains
676 in force. You may convey covered works to others for the sole purpose
677 of having them make modifications exclusively for you, or provide you
678 with facilities for running those works, provided that you comply with
679 the terms of this License in conveying all material for which you do
680 not control copyright. Those thus making or running the covered works
681 for you must do so exclusively on your behalf, under your direction
682 and control, on terms that prohibit them from making any copies of
683 your copyrighted material outside their relationship with you.
685 Conveying under any other circumstances is permitted solely under
686 the conditions stated below. Sublicensing is not allowed; section 10
687 makes it unnecessary.
689 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
691 No covered work shall be deemed part of an effective technological
692 measure under any applicable law fulfilling obligations under article
693 11 of the WIPO copyright treaty adopted on 20 December 1996, or
694 similar laws prohibiting or restricting circumvention of such
697 When you convey a covered work, you waive any legal power to forbid
698 circumvention of technological measures to the extent such circumvention
699 is effected by exercising rights under this License with respect to
700 the covered work, and you disclaim any intention to limit operation or
701 modification of the work as a means of enforcing, against the work's
702 users, your or third parties' legal rights to forbid circumvention of
703 technological measures.
705 4. Conveying Verbatim Copies.
707 You may convey verbatim copies of the Program's source code as you
708 receive it, in any medium, provided that you conspicuously and
709 appropriately publish on each copy an appropriate copyright notice;
710 keep intact all notices stating that this License and any
711 non-permissive terms added in accord with section 7 apply to the code;
712 keep intact all notices of the absence of any warranty; and give all
713 recipients a copy of this License along with the Program.
715 You may charge any price or no price for each copy that you convey,
716 and you may offer support or warranty protection for a fee.
718 5. Conveying Modified Source Versions.
720 You may convey a work based on the Program, or the modifications to
721 produce it from the Program, in the form of source code under the
722 terms of section 4, provided that you also meet all of these conditions:
724 a) The work must carry prominent notices stating that you modified
725 it, and giving a relevant date.
727 b) The work must carry prominent notices stating that it is
728 released under this License and any conditions added under section
729 7. This requirement modifies the requirement in section 4 to
730 "keep intact all notices".
732 c) You must license the entire work, as a whole, under this
733 License to anyone who comes into possession of a copy. This
734 License will therefore apply, along with any applicable section 7
735 additional terms, to the whole of the work, and all its parts,
736 regardless of how they are packaged. This License gives no
737 permission to license the work in any other way, but it does not
738 invalidate such permission if you have separately received it.
740 d) If the work has interactive user interfaces, each must display
741 Appropriate Legal Notices; however, if the Program has interactive
742 interfaces that do not display Appropriate Legal Notices, your
743 work need not make them do so.
745 A compilation of a covered work with other separate and independent
746 works, which are not by their nature extensions of the covered work,
747 and which are not combined with it such as to form a larger program,
748 in or on a volume of a storage or distribution medium, is called an
749 "aggregate" if the compilation and its resulting copyright are not
750 used to limit the access or legal rights of the compilation's users
751 beyond what the individual works permit. Inclusion of a covered work
752 in an aggregate does not cause this License to apply to the other
753 parts of the aggregate.
755 6. Conveying Non-Source Forms.
757 You may convey a covered work in object code form under the terms
758 of sections 4 and 5, provided that you also convey the
759 machine-readable Corresponding Source under the terms of this License,
760 in one of these ways:
762 a) Convey the object code in, or embodied in, a physical product
763 (including a physical distribution medium), accompanied by the
764 Corresponding Source fixed on a durable physical medium
765 customarily used for software interchange.
767 b) Convey the object code in, or embodied in, a physical product
768 (including a physical distribution medium), accompanied by a
769 written offer, valid for at least three years and valid for as
770 long as you offer spare parts or customer support for that product
771 model, to give anyone who possesses the object code either (1) a
772 copy of the Corresponding Source for all the software in the
773 product that is covered by this License, on a durable physical
774 medium customarily used for software interchange, for a price no
775 more than your reasonable cost of physically performing this
776 conveying of source, or (2) access to copy the
777 Corresponding Source from a network server at no charge.
779 c) Convey individual copies of the object code with a copy of the
780 written offer to provide the Corresponding Source. This
781 alternative is allowed only occasionally and noncommercially, and
782 only if you received the object code with such an offer, in accord
785 d) Convey the object code by offering access from a designated
786 place (gratis or for a charge), and offer equivalent access to the
787 Corresponding Source in the same way through the same place at no
788 further charge. You need not require recipients to copy the
789 Corresponding Source along with the object code. If the place to
790 copy the object code is a network server, the Corresponding Source
791 may be on a different server (operated by you or a third party)
792 that supports equivalent copying facilities, provided you maintain
793 clear directions next to the object code saying where to find the
794 Corresponding Source. Regardless of what server hosts the
795 Corresponding Source, you remain obligated to ensure that it is
796 available for as long as needed to satisfy these requirements.
798 e) Convey the object code using peer-to-peer transmission, provided
799 you inform other peers where the object code and Corresponding
800 Source of the work are being offered to the general public at no
801 charge under subsection 6d.
803 A separable portion of the object code, whose source code is excluded
804 from the Corresponding Source as a System Library, need not be
805 included in conveying the object code work.
807 A "User Product" is either (1) a "consumer product", which means any
808 tangible personal property which is normally used for personal, family,
809 or household purposes, or (2) anything designed or sold for incorporation
810 into a dwelling. In determining whether a product is a consumer product,
811 doubtful cases shall be resolved in favor of coverage. For a particular
812 product received by a particular user, "normally used" refers to a
813 typical or common use of that class of product, regardless of the status
814 of the particular user or of the way in which the particular user
815 actually uses, or expects or is expected to use, the product. A product
816 is a consumer product regardless of whether the product has substantial
817 commercial, industrial or non-consumer uses, unless such uses represent
818 the only significant mode of use of the product.
820 "Installation Information" for a User Product means any methods,
821 procedures, authorization keys, or other information required to install
822 and execute modified versions of a covered work in that User Product from
823 a modified version of its Corresponding Source. The information must
824 suffice to ensure that the continued functioning of the modified object
825 code is in no case prevented or interfered with solely because
826 modification has been made.
828 If you convey an object code work under this section in, or with, or
829 specifically for use in, a User Product, and the conveying occurs as
830 part of a transaction in which the right of possession and use of the
831 User Product is transferred to the recipient in perpetuity or for a
832 fixed term (regardless of how the transaction is characterized), the
833 Corresponding Source conveyed under this section must be accompanied
834 by the Installation Information. But this requirement does not apply
835 if neither you nor any third party retains the ability to install
836 modified object code on the User Product (for example, the work has
837 been installed in ROM).
839 The requirement to provide Installation Information does not include a
840 requirement to continue to provide support service, warranty, or updates
841 for a work that has been modified or installed by the recipient, or for
842 the User Product in which it has been modified or installed. Access to a
843 network may be denied when the modification itself materially and
844 adversely affects the operation of the network or violates the rules and
845 protocols for communication across the network.
847 Corresponding Source conveyed, and Installation Information provided,
848 in accord with this section must be in a format that is publicly
849 documented (and with an implementation available to the public in
850 source code form), and must require no special password or key for
851 unpacking, reading or copying.
855 "Additional permissions" are terms that supplement the terms of this
856 License by making exceptions from one or more of its conditions.
857 Additional permissions that are applicable to the entire Program shall
858 be treated as though they were included in this License, to the extent
859 that they are valid under applicable law. If additional permissions
860 apply only to part of the Program, that part may be used separately
861 under those permissions, but the entire Program remains governed by
862 this License without regard to the additional permissions.
864 When you convey a copy of a covered work, you may at your option
865 remove any additional permissions from that copy, or from any part of
866 it. (Additional permissions may be written to require their own
867 removal in certain cases when you modify the work.) You may place
868 additional permissions on material, added by you to a covered work,
869 for which you have or can give appropriate copyright permission.
871 Notwithstanding any other provision of this License, for material you
872 add to a covered work, you may (if authorized by the copyright holders of
873 that material) supplement the terms of this License with terms:
875 a) Disclaiming warranty or limiting liability differently from the
876 terms of sections 15 and 16 of this License; or
878 b) Requiring preservation of specified reasonable legal notices or
879 author attributions in that material or in the Appropriate Legal
880 Notices displayed by works containing it; or
882 c) Prohibiting misrepresentation of the origin of that material, or
883 requiring that modified versions of such material be marked in
884 reasonable ways as different from the original version; or
886 d) Limiting the use for publicity purposes of names of licensors or
887 authors of the material; or
889 e) Declining to grant rights under trademark law for use of some
890 trade names, trademarks, or service marks; or
892 f) Requiring indemnification of licensors and authors of that
893 material by anyone who conveys the material (or modified versions of
894 it) with contractual assumptions of liability to the recipient, for
895 any liability that these contractual assumptions directly impose on
896 those licensors and authors.
898 All other non-permissive additional terms are considered "further
899 restrictions" within the meaning of section 10. If the Program as you
900 received it, or any part of it, contains a notice stating that it is
901 governed by this License along with a term that is a further
902 restriction, you may remove that term. If a license document contains
903 a further restriction but permits relicensing or conveying under this
904 License, you may add to a covered work material governed by the terms
905 of that license document, provided that the further restriction does
906 not survive such relicensing or conveying.
908 If you add terms to a covered work in accord with this section, you
909 must place, in the relevant source files, a statement of the
910 additional terms that apply to those files, or a notice indicating
911 where to find the applicable terms.
913 Additional terms, permissive or non-permissive, may be stated in the
914 form of a separately written license, or stated as exceptions;
915 the above requirements apply either way.
919 You may not propagate or modify a covered work except as expressly
920 provided under this License. Any attempt otherwise to propagate or
921 modify it is void, and will automatically terminate your rights under
922 this License (including any patent licenses granted under the third
923 paragraph of section 11).
925 However, if you cease all violation of this License, then your
926 license from a particular copyright holder is reinstated (a)
927 provisionally, unless and until the copyright holder explicitly and
928 finally terminates your license, and (b) permanently, if the copyright
929 holder fails to notify you of the violation by some reasonable means
930 prior to 60 days after the cessation.
932 Moreover, your license from a particular copyright holder is
933 reinstated permanently if the copyright holder notifies you of the
934 violation by some reasonable means, this is the first time you have
935 received notice of violation of this License (for any work) from that
936 copyright holder, and you cure the violation prior to 30 days after
937 your receipt of the notice.
939 Termination of your rights under this section does not terminate the
940 licenses of parties who have received copies or rights from you under
941 this License. If your rights have been terminated and not permanently
942 reinstated, you do not qualify to receive new licenses for the same
943 material under section 10.
945 9. Acceptance Not Required for Having Copies.
947 You are not required to accept this License in order to receive or
948 run a copy of the Program. Ancillary propagation of a covered work
949 occurring solely as a consequence of using peer-to-peer transmission
950 to receive a copy likewise does not require acceptance. However,
951 nothing other than this License grants you permission to propagate or
952 modify any covered work. These actions infringe copyright if you do
953 not accept this License. Therefore, by modifying or propagating a
954 covered work, you indicate your acceptance of this License to do so.
956 10. Automatic Licensing of Downstream Recipients.
958 Each time you convey a covered work, the recipient automatically
959 receives a license from the original licensors, to run, modify and
960 propagate that work, subject to this License. You are not responsible
961 for enforcing compliance by third parties with this License.
963 An "entity transaction" is a transaction transferring control of an
964 organization, or substantially all assets of one, or subdividing an
965 organization, or merging organizations. If propagation of a covered
966 work results from an entity transaction, each party to that
967 transaction who receives a copy of the work also receives whatever
968 licenses to the work the party's predecessor in interest had or could
969 give under the previous paragraph, plus a right to possession of the
970 Corresponding Source of the work from the predecessor in interest, if
971 the predecessor has it or can get it with reasonable efforts.
973 You may not impose any further restrictions on the exercise of the
974 rights granted or affirmed under this License. For example, you may
975 not impose a license fee, royalty, or other charge for exercise of
976 rights granted under this License, and you may not initiate litigation
977 (including a cross-claim or counterclaim in a lawsuit) alleging that
978 any patent claim is infringed by making, using, selling, offering for
979 sale, or importing the Program or any portion of it.
983 A "contributor" is a copyright holder who authorizes use under this
984 License of the Program or a work on which the Program is based. The
985 work thus licensed is called the contributor's "contributor version".
987 A contributor's "essential patent claims" are all patent claims
988 owned or controlled by the contributor, whether already acquired or
989 hereafter acquired, that would be infringed by some manner, permitted
990 by this License, of making, using, or selling its contributor version,
991 but do not include claims that would be infringed only as a
992 consequence of further modification of the contributor version. For
993 purposes of this definition, "control" includes the right to grant
994 patent sublicenses in a manner consistent with the requirements of
997 Each contributor grants you a non-exclusive, worldwide, royalty-free
998 patent license under the contributor's essential patent claims, to
999 make, use, sell, offer for sale, import and otherwise run, modify and
1000 propagate the contents of its contributor version.
1002 In the following three paragraphs, a "patent license" is any express
1003 agreement or commitment, however denominated, not to enforce a patent
1004 (such as an express permission to practice a patent or covenant not to
1005 sue for patent infringement). To "grant" such a patent license to a
1006 party means to make such an agreement or commitment not to enforce a
1007 patent against the party.
1009 If you convey a covered work, knowingly relying on a patent license,
1010 and the Corresponding Source of the work is not available for anyone
1011 to copy, free of charge and under the terms of this License, through a
1012 publicly available network server or other readily accessible means,
1013 then you must either (1) cause the Corresponding Source to be so
1014 available, or (2) arrange to deprive yourself of the benefit of the
1015 patent license for this particular work, or (3) arrange, in a manner
1016 consistent with the requirements of this License, to extend the patent
1017 license to downstream recipients. "Knowingly relying" means you have
1018 actual knowledge that, but for the patent license, your conveying the
1019 covered work in a country, or your recipient's use of the covered work
1020 in a country, would infringe one or more identifiable patents in that
1021 country that you have reason to believe are valid.
1023 If, pursuant to or in connection with a single transaction or
1024 arrangement, you convey, or propagate by procuring conveyance of, a
1025 covered work, and grant a patent license to some of the parties
1026 receiving the covered work authorizing them to use, propagate, modify
1027 or convey a specific copy of the covered work, then the patent license
1028 you grant is automatically extended to all recipients of the covered
1029 work and works based on it.
1031 A patent license is "discriminatory" if it does not include within
1032 the scope of its coverage, prohibits the exercise of, or is
1033 conditioned on the non-exercise of one or more of the rights that are
1034 specifically granted under this License. You may not convey a covered
1035 work if you are a party to an arrangement with a third party that is
1036 in the business of distributing software, under which you make payment
1037 to the third party based on the extent of your activity of conveying
1038 the work, and under which the third party grants, to any of the
1039 parties who would receive the covered work from you, a discriminatory
1040 patent license (a) in connection with copies of the covered work
1041 conveyed by you (or copies made from those copies), or (b) primarily
1042 for and in connection with specific products or compilations that
1043 contain the covered work, unless you entered into that arrangement,
1044 or that patent license was granted, prior to 28 March 2007.
1046 Nothing in this License shall be construed as excluding or limiting
1047 any implied license or other defenses to infringement that may
1048 otherwise be available to you under applicable patent law.
1050 12. No Surrender of Others' Freedom.
1052 If conditions are imposed on you (whether by court order, agreement or
1053 otherwise) that contradict the conditions of this License, they do not
1054 excuse you from the conditions of this License. If you cannot convey a
1055 covered work so as to satisfy simultaneously your obligations under this
1056 License and any other pertinent obligations, then as a consequence you may
1057 not convey it at all. For example, if you agree to terms that obligate you
1058 to collect a royalty for further conveying from those to whom you convey
1059 the Program, the only way you could satisfy both those terms and this
1060 License would be to refrain entirely from conveying the Program.
1062 13. Use with the GNU Affero General Public License.
1064 Notwithstanding any other provision of this License, you have
1065 permission to link or combine any covered work with a work licensed
1066 under version 3 of the GNU Affero General Public License into a single
1067 combined work, and to convey the resulting work. The terms of this
1068 License will continue to apply to the part which is the covered work,
1069 but the special requirements of the GNU Affero General Public License,
1070 section 13, concerning interaction through a network will apply to the
1071 combination as such.
1073 14. Revised Versions of this License.
1075 The Free Software Foundation may publish revised and/or new versions of
1076 the GNU General Public License from time to time. Such new versions will
1077 be similar in spirit to the present version, but may differ in detail to
1078 address new problems or concerns.
1080 Each version is given a distinguishing version number. If the
1081 Program specifies that a certain numbered version of the GNU General
1082 Public License "or any later version" applies to it, you have the
1083 option of following the terms and conditions either of that numbered
1084 version or of any later version published by the Free Software
1085 Foundation. If the Program does not specify a version number of the
1086 GNU General Public License, you may choose any version ever published
1087 by the Free Software Foundation.
1089 If the Program specifies that a proxy can decide which future
1090 versions of the GNU General Public License can be used, that proxy's
1091 public statement of acceptance of a version permanently authorizes you
1092 to choose that version for the Program.
1094 Later license versions may give you additional or different
1095 permissions. However, no additional obligations are imposed on any
1096 author or copyright holder as a result of your choosing to follow a
1099 15. Disclaimer of Warranty.
1101 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1102 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1103 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1104 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1105 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1106 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1107 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1108 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1110 16. Limitation of Liability.
1112 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1113 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1114 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1115 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1116 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1117 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1118 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1119 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1122 17. Interpretation of Sections 15 and 16.
1124 If the disclaimer of warranty and limitation of liability provided
1125 above cannot be given local legal effect according to their terms,
1126 reviewing courts shall apply local law that most closely approximates
1127 an absolute waiver of all civil liability in connection with the
1128 Program, unless a warranty or assumption of liability accompanies a
1129 copy of the Program in return for a fee.
1131 END OF TERMS AND CONDITIONS
1133 How to Apply These Terms to Your New Programs
1135 If you develop a new program, and you want it to be of the greatest
1136 possible use to the public, the best way to achieve this is to make it
1137 free software which everyone can redistribute and change under these terms.
1139 To do so, attach the following notices to the program. It is safest
1140 to attach them to the start of each source file to most effectively
1141 state the exclusion of warranty; and each file should have at least
1142 the "copyright" line and a pointer to where the full notice is found.
1144 <one line to give the program's name and a brief idea of what it does.>
1145 Copyright (C) <year> <name of author>
1147 This program is free software: you can redistribute it and/or modify
1148 it under the terms of the GNU General Public License as published by
1149 the Free Software Foundation, either version 3 of the License, or
1150 (at your option) any later version.
1152 This program is distributed in the hope that it will be useful,
1153 but WITHOUT ANY WARRANTY; without even the implied warranty of
1154 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1155 GNU General Public License for more details.
1157 You should have received a copy of the GNU General Public License
1158 along with this program. If not, see <http://www.gnu.org/licenses/>.
1160 Also add information on how to contact you by electronic and paper mail.
1162 If the program does terminal interaction, make it output a short
1163 notice like this when it starts in an interactive mode:
1165 <program> Copyright (C) <year> <name of author>
1166 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1167 This is free software, and you are welcome to redistribute it
1168 under certain conditions; type `show c' for details.
1170 The hypothetical commands `show w' and `show c' should show the appropriate
1171 parts of the General Public License. Of course, your program's commands
1172 might be different; for a GUI interface, you would use an "about box".
1174 You should also get your employer (if you work as a programmer) or school,
1175 if any, to sign a "copyright disclaimer" for the program, if necessary.
1176 For more information on this, and how to apply and follow the GNU GPL, see
1177 <http://www.gnu.org/licenses/>.
1179 The GNU General Public License does not permit incorporating your program
1180 into proprietary programs. If your program is a subroutine library, you
1181 may consider it more useful to permit linking proprietary applications with
1182 the library. If this is what you want to do, use the GNU Lesser General
1183 Public License instead of this License. But first, please read
1184 <http://www.gnu.org/philosophy/why-not-lgpl.html>.