blob: 0a85b025d02129cdc431a4c089edfde869d679c4 [file] [log] [blame]
Joshua Lang904c3632017-02-02 12:54:24 -08001
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07002 GNU GENERAL PUBLIC LICENSE
3 Version 2, June 1991
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07005 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7 Everyone is permitted to copy and distribute verbatim copies
8 of this license document, but changing it is not allowed.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00009
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070010 Preamble
Lingfeng Yang15ba1812018-06-29 14:12:20 +000011
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070012 The licenses for most software are designed to take away your
13freedom to share and change it. By contrast, the GNU General Public
14License is intended to guarantee your freedom to share and change free
15software--to make sure the software is free for all its users. This
16General Public License applies to most of the Free Software
17Foundation's software and to any other program whose authors commit to
18using it. (Some other Free Software Foundation software is covered by
19the GNU Library General Public License instead.) You can apply it to
20your programs, too.
Lingfeng Yang15ba1812018-06-29 14:12:20 +000021
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070022 When we speak of free software, we are referring to freedom, not
23price. Our General Public Licenses are designed to make sure that you
24have the freedom to distribute copies of free software (and charge for
25this service if you wish), that you receive source code or can get it
26if you want it, that you can change the software or use pieces of it
27in new free programs; and that you know you can do these things.
28
29 To protect your rights, we need to make restrictions that forbid
30anyone to deny you these rights or to ask you to surrender the rights.
31These restrictions translate to certain responsibilities for you if you
32distribute copies of the software, or if you modify it.
33
34 For example, if you distribute copies of such a program, whether
35gratis or for a fee, you must give the recipients all the rights that
36you have. You must make sure that they, too, receive or can get the
37source code. And you must show them these terms so they know their
38rights.
39
40 We protect your rights with two steps: (1) copyright the software, and
41(2) offer you this license which gives you legal permission to copy,
42distribute and/or modify the software.
43
44 Also, for each author's protection and ours, we want to make certain
45that everyone understands that there is no warranty for this free
46software. If the software is modified by someone else and passed on, we
47want its recipients to know that what they have is not the original, so
48that any problems introduced by others will not reflect on the original
49authors' reputations.
50
51 Finally, any free program is threatened constantly by software
52patents. We wish to avoid the danger that redistributors of a free
53program will individually obtain patent licenses, in effect making the
54program proprietary. To prevent this, we have made it clear that any
55patent must be licensed for everyone's free use or not licensed at all.
56
57 The precise terms and conditions for copying, distribution and
58modification follow.
59
60 GNU GENERAL PUBLIC LICENSE
61 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
62
63 0. This License applies to any program or other work which contains
64a notice placed by the copyright holder saying it may be distributed
65under the terms of this General Public License. The "Program", below,
66refers to any such program or work, and a "work based on the Program"
67means either the Program or any derivative work under copyright law:
68that is to say, a work containing the Program or a portion of it,
69either verbatim or with modifications and/or translated into another
70language. (Hereinafter, translation is included without limitation in
71the term "modification".) Each licensee is addressed as "you".
72
73Activities other than copying, distribution and modification are not
74covered by this License; they are outside its scope. The act of
75running the Program is not restricted, and the output from the Program
76is covered only if its contents constitute a work based on the
77Program (independent of having been made by running the Program).
78Whether that is true depends on what the Program does.
79
80 1. You may copy and distribute verbatim copies of the Program's
81source code as you receive it, in any medium, provided that you
82conspicuously and appropriately publish on each copy an appropriate
83copyright notice and disclaimer of warranty; keep intact all the
84notices that refer to this License and to the absence of any warranty;
85and give any other recipients of the Program a copy of this License
86along with the Program.
87
88You may charge a fee for the physical act of transferring a copy, and
89you may at your option offer warranty protection in exchange for a fee.
90
91 2. You may modify your copy or copies of the Program or any portion
92of it, thus forming a work based on the Program, and copy and
93distribute such modifications or work under the terms of Section 1
94above, provided that you also meet all of these conditions:
95
96 a) You must cause the modified files to carry prominent notices
97 stating that you changed the files and the date of any change.
98
99 b) You must cause any work that you distribute or publish, that in
100 whole or in part contains or is derived from the Program or any
101 part thereof, to be licensed as a whole at no charge to all third
102 parties under the terms of this License.
103
104 c) If the modified program normally reads commands interactively
105 when run, you must cause it, when started running for such
106 interactive use in the most ordinary way, to print or display an
107 announcement including an appropriate copyright notice and a
108 notice that there is no warranty (or else, saying that you provide
109 a warranty) and that users may redistribute the program under
110 these conditions, and telling the user how to view a copy of this
111 License. (Exception: if the Program itself is interactive but
112 does not normally print such an announcement, your work based on
113 the Program is not required to print an announcement.)
114
115These requirements apply to the modified work as a whole. If
116identifiable sections of that work are not derived from the Program,
117and can be reasonably considered independent and separate works in
118themselves, then this License, and its terms, do not apply to those
119sections when you distribute them as separate works. But when you
120distribute the same sections as part of a whole which is a work based
121on the Program, the distribution of the whole must be on the terms of
122this License, whose permissions for other licensees extend to the
123entire whole, and thus to each and every part regardless of who wrote it.
124
125Thus, it is not the intent of this section to claim rights or contest
126your rights to work written entirely by you; rather, the intent is to
127exercise the right to control the distribution of derivative or
128collective works based on the Program.
129
130In addition, mere aggregation of another work not based on the Program
131with the Program (or with a work based on the Program) on a volume of
132a storage or distribution medium does not bring the other work under
133the scope of this License.
134
135 3. You may copy and distribute the Program (or a work based on it,
136under Section 2) in object code or executable form under the terms of
137Sections 1 and 2 above provided that you also do one of the following:
138
139 a) Accompany it with the complete corresponding machine-readable
140 source code, which must be distributed under the terms of Sections
141 1 and 2 above on a medium customarily used for software interchange; or,
142
143 b) Accompany it with a written offer, valid for at least three
144 years, to give any third party, for a charge no more than your
145 cost of physically performing source distribution, a complete
146 machine-readable copy of the corresponding source code, to be
147 distributed under the terms of Sections 1 and 2 above on a medium
148 customarily used for software interchange; or,
149
150 c) Accompany it with the information you received as to the offer
151 to distribute corresponding source code. (This alternative is
152 allowed only for noncommercial distribution and only if you
153 received the program in object code or executable form with such
154 an offer, in accord with Subsection b above.)
155
156The source code for a work means the preferred form of the work for
157making modifications to it. For an executable work, complete source
158code means all the source code for all modules it contains, plus any
159associated interface definition files, plus the scripts used to
160control compilation and installation of the executable. However, as a
161special exception, the source code distributed need not include
162anything that is normally distributed (in either source or binary
163form) with the major components (compiler, kernel, and so on) of the
164operating system on which the executable runs, unless that component
165itself accompanies the executable.
166
167If distribution of executable or object code is made by offering
168access to copy from a designated place, then offering equivalent
169access to copy the source code from the same place counts as
170distribution of the source code, even though third parties are not
171compelled to copy the source along with the object code.
172
173 4. You may not copy, modify, sublicense, or distribute the Program
174except as expressly provided under this License. Any attempt
175otherwise to copy, modify, sublicense or distribute the Program is
176void, and will automatically terminate your rights under this License.
177However, parties who have received copies, or rights, from you under
178this License will not have their licenses terminated so long as such
179parties remain in full compliance.
180
181 5. You are not required to accept this License, since you have not
182signed it. However, nothing else grants you permission to modify or
183distribute the Program or its derivative works. These actions are
184prohibited by law if you do not accept this License. Therefore, by
185modifying or distributing the Program (or any work based on the
186Program), you indicate your acceptance of this License to do so, and
187all its terms and conditions for copying, distributing or modifying
188the Program or works based on it.
189
190 6. Each time you redistribute the Program (or any work based on the
191Program), the recipient automatically receives a license from the
192original licensor to copy, distribute or modify the Program subject to
193these terms and conditions. You may not impose any further
194restrictions on the recipients' exercise of the rights granted herein.
195You are not responsible for enforcing compliance by third parties to
196this License.
197
198 7. If, as a consequence of a court judgment or allegation of patent
199infringement or for any other reason (not limited to patent issues),
200conditions are imposed on you (whether by court order, agreement or
201otherwise) that contradict the conditions of this License, they do not
202excuse you from the conditions of this License. If you cannot
203distribute so as to satisfy simultaneously your obligations under this
204License and any other pertinent obligations, then as a consequence you
205may not distribute the Program at all. For example, if a patent
206license would not permit royalty-free redistribution of the Program by
207all those who receive copies directly or indirectly through you, then
208the only way you could satisfy both it and this License would be to
209refrain entirely from distribution of the Program.
210
211If any portion of this section is held invalid or unenforceable under
212any particular circumstance, the balance of the section is intended to
213apply and the section as a whole is intended to apply in other
214circumstances.
215
216It is not the purpose of this section to induce you to infringe any
217patents or other property right claims or to contest validity of any
218such claims; this section has the sole purpose of protecting the
219integrity of the free software distribution system, which is
220implemented by public license practices. Many people have made
221generous contributions to the wide range of software distributed
222through that system in reliance on consistent application of that
223system; it is up to the author/donor to decide if he or she is willing
224to distribute software through any other system and a licensee cannot
225impose that choice.
226
227This section is intended to make thoroughly clear what is believed to
228be a consequence of the rest of this License.
229
230 8. If the distribution and/or use of the Program is restricted in
231certain countries either by patents or by copyrighted interfaces, the
232original copyright holder who places the Program under this License
233may add an explicit geographical distribution limitation excluding
234those countries, so that distribution is permitted only in or among
235countries not thus excluded. In such case, this License incorporates
236the limitation as if written in the body of this License.
237
238 9. The Free Software Foundation may publish revised and/or new versions
239of the General Public License from time to time. Such new versions will
240be similar in spirit to the present version, but may differ in detail to
241address new problems or concerns.
242
243Each version is given a distinguishing version number. If the Program
244specifies a version number of this License which applies to it and "any
245later version", you have the option of following the terms and conditions
246either of that version or of any later version published by the Free
247Software Foundation. If the Program does not specify a version number of
248this License, you may choose any version ever published by the Free Software
249Foundation.
250
251 10. If you wish to incorporate parts of the Program into other free
252programs whose distribution conditions are different, write to the author
253to ask for permission. For software which is copyrighted by the Free
254Software Foundation, write to the Free Software Foundation; we sometimes
255make exceptions for this. Our decision will be guided by the two goals
256of preserving the free status of all derivatives of our free software and
257of promoting the sharing and reuse of software generally.
258
259 NO WARRANTY
260
261 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
262FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
263OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
264PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
265OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
266MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
267TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
268PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
269REPAIR OR CORRECTION.
270
271 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
272WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
273REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
274INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
275OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
276TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
277YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
278PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
279POSSIBILITY OF SUCH DAMAGES.
280
281 END OF TERMS AND CONDITIONS
282
283 How to Apply These Terms to Your New Programs
284
285 If you develop a new program, and you want it to be of the greatest
286possible use to the public, the best way to achieve this is to make it
287free software which everyone can redistribute and change under these terms.
288
289 To do so, attach the following notices to the program. It is safest
290to attach them to the start of each source file to most effectively
291convey the exclusion of warranty; and each file should have at least
292the "copyright" line and a pointer to where the full notice is found.
293
294 <one line to give the program's name and a brief idea of what it does.>
295 Copyright (C) <year> <name of author>
296
297 This program is free software; you can redistribute it and/or modify
298 it under the terms of the GNU General Public License as published by
299 the Free Software Foundation; either version 2 of the License, or
300 (at your option) any later version.
301
302 This program is distributed in the hope that it will be useful,
303 but WITHOUT ANY WARRANTY; without even the implied warranty of
304 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
305 GNU General Public License for more details.
306
307 You should have received a copy of the GNU General Public License
308 along with this program; if not, write to the Free Software
309 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
310
311
312Also add information on how to contact you by electronic and paper mail.
313
314If the program is interactive, make it output a short notice like this
315when it starts in an interactive mode:
316
317 Gnomovision version 69, Copyright (C) year name of author
318 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319 This is free software, and you are welcome to redistribute it
320 under certain conditions; type `show c' for details.
321
322The hypothetical commands `show w' and `show c' should show the appropriate
323parts of the General Public License. Of course, the commands you use may
324be called something other than `show w' and `show c'; they could even be
325mouse-clicks or menu items--whatever suits your program.
326
327You should also get your employer (if you work as a programmer) or your
328school, if any, to sign a "copyright disclaimer" for the program, if
329necessary. Here is a sample; alter the names:
330
331 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332 `Gnomovision' (which makes passes at compilers) written by James Hacker.
333
334 <signature of Ty Coon>, 1 April 1989
335 Ty Coon, President of Vice
336
337This General Public License does not permit incorporating your program into
338proprietary programs. If your program is a subroutine library, you may
339consider it more useful to permit linking proprietary applications with the
340library. If this is what you want to do, use the GNU Library General
341Public License instead of this License.
342 GNU GENERAL PUBLIC LICENSE
343 Version 3, 29 June 2007
344
345 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
346 Everyone is permitted to copy and distribute verbatim copies
347 of this license document, but changing it is not allowed.
348
349 Preamble
350
351 The GNU General Public License is a free, copyleft license for
352software and other kinds of works.
353
354 The licenses for most software and other practical works are designed
355to take away your freedom to share and change the works. By contrast,
356the GNU General Public License is intended to guarantee your freedom to
357share and change all versions of a program--to make sure it remains free
358software for all its users. We, the Free Software Foundation, use the
359GNU General Public License for most of our software; it applies also to
360any other work released this way by its authors. You can apply it to
361your programs, too.
362
363 When we speak of free software, we are referring to freedom, not
364price. Our General Public Licenses are designed to make sure that you
365have the freedom to distribute copies of free software (and charge for
366them if you wish), that you receive source code or can get it if you
367want it, that you can change the software or use pieces of it in new
368free programs, and that you know you can do these things.
369
370 To protect your rights, we need to prevent others from denying you
371these rights or asking you to surrender the rights. Therefore, you have
372certain responsibilities if you distribute copies of the software, or if
373you modify it: responsibilities to respect the freedom of others.
374
375 For example, if you distribute copies of such a program, whether
376gratis or for a fee, you must pass on to the recipients the same
377freedoms that you received. You must make sure that they, too, receive
378or can get the source code. And you must show them these terms so they
379know their rights.
380
381 Developers that use the GNU GPL protect your rights with two steps:
382(1) assert copyright on the software, and (2) offer you this License
383giving you legal permission to copy, distribute and/or modify it.
384
385 For the developers' and authors' protection, the GPL clearly explains
386that there is no warranty for this free software. For both users' and
387authors' sake, the GPL requires that modified versions be marked as
388changed, so that their problems will not be attributed erroneously to
389authors of previous versions.
390
391 Some devices are designed to deny users access to install or run
392modified versions of the software inside them, although the manufacturer
393can do so. This is fundamentally incompatible with the aim of
394protecting users' freedom to change the software. The systematic
395pattern of such abuse occurs in the area of products for individuals to
396use, which is precisely where it is most unacceptable. Therefore, we
397have designed this version of the GPL to prohibit the practice for those
398products. If such problems arise substantially in other domains, we
399stand ready to extend this provision to those domains in future versions
400of the GPL, as needed to protect the freedom of users.
401
402 Finally, every program is threatened constantly by software patents.
403States should not allow patents to restrict development and use of
404software on general-purpose computers, but in those that do, we wish to
405avoid the special danger that patents applied to a free program could
406make it effectively proprietary. To prevent this, the GPL assures that
407patents cannot be used to render the program non-free.
408
409 The precise terms and conditions for copying, distribution and
410modification follow.
411
412 TERMS AND CONDITIONS
413
414 0. Definitions.
415
416 "This License" refers to version 3 of the GNU General Public License.
417
418 "Copyright" also means copyright-like laws that apply to other kinds of
419works, such as semiconductor masks.
420
421 "The Program" refers to any copyrightable work licensed under this
422License. Each licensee is addressed as "you". "Licensees" and
423"recipients" may be individuals or organizations.
424
425 To "modify" a work means to copy from or adapt all or part of the work
426in a fashion requiring copyright permission, other than the making of an
427exact copy. The resulting work is called a "modified version" of the
428earlier work or a work "based on" the earlier work.
429
430 A "covered work" means either the unmodified Program or a work based
431on the Program.
432
433 To "propagate" a work means to do anything with it that, without
434permission, would make you directly or secondarily liable for
435infringement under applicable copyright law, except executing it on a
436computer or modifying a private copy. Propagation includes copying,
437distribution (with or without modification), making available to the
438public, and in some countries other activities as well.
439
440 To "convey" a work means any kind of propagation that enables other
441parties to make or receive copies. Mere interaction with a user through
442a computer network, with no transfer of a copy, is not conveying.
443
444 An interactive user interface displays "Appropriate Legal Notices"
445to the extent that it includes a convenient and prominently visible
446feature that (1) displays an appropriate copyright notice, and (2)
447tells the user that there is no warranty for the work (except to the
448extent that warranties are provided), that licensees may convey the
449work under this License, and how to view a copy of this License. If
450the interface presents a list of user commands or options, such as a
451menu, a prominent item in the list meets this criterion.
452
453 1. Source Code.
454
455 The "source code" for a work means the preferred form of the work
456for making modifications to it. "Object code" means any non-source
457form of a work.
458
459 A "Standard Interface" means an interface that either is an official
460standard defined by a recognized standards body, or, in the case of
461interfaces specified for a particular programming language, one that
462is widely used among developers working in that language.
463
464 The "System Libraries" of an executable work include anything, other
465than the work as a whole, that (a) is included in the normal form of
466packaging a Major Component, but which is not part of that Major
467Component, and (b) serves only to enable use of the work with that
468Major Component, or to implement a Standard Interface for which an
469implementation is available to the public in source code form. A
470"Major Component", in this context, means a major essential component
471(kernel, window system, and so on) of the specific operating system
472(if any) on which the executable work runs, or a compiler used to
473produce the work, or an object code interpreter used to run it.
474
475 The "Corresponding Source" for a work in object code form means all
476the source code needed to generate, install, and (for an executable
477work) run the object code and to modify the work, including scripts to
478control those activities. However, it does not include the work's
479System Libraries, or general-purpose tools or generally available free
480programs which are used unmodified in performing those activities but
481which are not part of the work. For example, Corresponding Source
482includes interface definition files associated with source files for
483the work, and the source code for shared libraries and dynamically
484linked subprograms that the work is specifically designed to require,
485such as by intimate data communication or control flow between those
486subprograms and other parts of the work.
487
488 The Corresponding Source need not include anything that users
489can regenerate automatically from other parts of the Corresponding
490Source.
491
492 The Corresponding Source for a work in source code form is that
493same work.
494
495 2. Basic Permissions.
496
497 All rights granted under this License are granted for the term of
498copyright on the Program, and are irrevocable provided the stated
499conditions are met. This License explicitly affirms your unlimited
500permission to run the unmodified Program. The output from running a
501covered work is covered by this License only if the output, given its
502content, constitutes a covered work. This License acknowledges your
503rights of fair use or other equivalent, as provided by copyright law.
504
505 You may make, run and propagate covered works that you do not
506convey, without conditions so long as your license otherwise remains
507in force. You may convey covered works to others for the sole purpose
508of having them make modifications exclusively for you, or provide you
509with facilities for running those works, provided that you comply with
510the terms of this License in conveying all material for which you do
511not control copyright. Those thus making or running the covered works
512for you must do so exclusively on your behalf, under your direction
513and control, on terms that prohibit them from making any copies of
514your copyrighted material outside their relationship with you.
515
516 Conveying under any other circumstances is permitted solely under
517the conditions stated below. Sublicensing is not allowed; section 10
518makes it unnecessary.
519
520 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
521
522 No covered work shall be deemed part of an effective technological
523measure under any applicable law fulfilling obligations under article
52411 of the WIPO copyright treaty adopted on 20 December 1996, or
525similar laws prohibiting or restricting circumvention of such
526measures.
527
528 When you convey a covered work, you waive any legal power to forbid
529circumvention of technological measures to the extent such circumvention
530is effected by exercising rights under this License with respect to
531the covered work, and you disclaim any intention to limit operation or
532modification of the work as a means of enforcing, against the work's
533users, your or third parties' legal rights to forbid circumvention of
534technological measures.
535
536 4. Conveying Verbatim Copies.
537
538 You may convey verbatim copies of the Program's source code as you
539receive it, in any medium, provided that you conspicuously and
540appropriately publish on each copy an appropriate copyright notice;
541keep intact all notices stating that this License and any
542non-permissive terms added in accord with section 7 apply to the code;
543keep intact all notices of the absence of any warranty; and give all
544recipients a copy of this License along with the Program.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000545
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700546 You may charge any price or no price for each copy that you convey,
547and you may offer support or warranty protection for a fee.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000548
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700549 5. Conveying Modified Source Versions.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000550
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700551 You may convey a work based on the Program, or the modifications to
552produce it from the Program, in the form of source code under the
553terms of section 4, provided that you also meet all of these conditions:
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000554
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700555 a) The work must carry prominent notices stating that you modified
556 it, and giving a relevant date.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000557
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700558 b) The work must carry prominent notices stating that it is
559 released under this License and any conditions added under section
560 7. This requirement modifies the requirement in section 4 to
561 "keep intact all notices".
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000562
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700563 c) You must license the entire work, as a whole, under this
564 License to anyone who comes into possession of a copy. This
565 License will therefore apply, along with any applicable section 7
566 additional terms, to the whole of the work, and all its parts,
567 regardless of how they are packaged. This License gives no
568 permission to license the work in any other way, but it does not
569 invalidate such permission if you have separately received it.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000570
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700571 d) If the work has interactive user interfaces, each must display
572 Appropriate Legal Notices; however, if the Program has interactive
573 interfaces that do not display Appropriate Legal Notices, your
574 work need not make them do so.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000575
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700576 A compilation of a covered work with other separate and independent
577works, which are not by their nature extensions of the covered work,
578and which are not combined with it such as to form a larger program,
579in or on a volume of a storage or distribution medium, is called an
580"aggregate" if the compilation and its resulting copyright are not
581used to limit the access or legal rights of the compilation's users
582beyond what the individual works permit. Inclusion of a covered work
583in an aggregate does not cause this License to apply to the other
584parts of the aggregate.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000585
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700586 6. Conveying Non-Source Forms.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000587
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700588 You may convey a covered work in object code form under the terms
589of sections 4 and 5, provided that you also convey the
590machine-readable Corresponding Source under the terms of this License,
591in one of these ways:
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000592
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700593 a) Convey the object code in, or embodied in, a physical product
594 (including a physical distribution medium), accompanied by the
595 Corresponding Source fixed on a durable physical medium
596 customarily used for software interchange.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000597
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700598 b) Convey the object code in, or embodied in, a physical product
599 (including a physical distribution medium), accompanied by a
600 written offer, valid for at least three years and valid for as
601 long as you offer spare parts or customer support for that product
602 model, to give anyone who possesses the object code either (1) a
603 copy of the Corresponding Source for all the software in the
604 product that is covered by this License, on a durable physical
605 medium customarily used for software interchange, for a price no
606 more than your reasonable cost of physically performing this
607 conveying of source, or (2) access to copy the
608 Corresponding Source from a network server at no charge.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000609
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700610 c) Convey individual copies of the object code with a copy of the
611 written offer to provide the Corresponding Source. This
612 alternative is allowed only occasionally and noncommercially, and
613 only if you received the object code with such an offer, in accord
614 with subsection 6b.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000615
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700616 d) Convey the object code by offering access from a designated
617 place (gratis or for a charge), and offer equivalent access to the
618 Corresponding Source in the same way through the same place at no
619 further charge. You need not require recipients to copy the
620 Corresponding Source along with the object code. If the place to
621 copy the object code is a network server, the Corresponding Source
622 may be on a different server (operated by you or a third party)
623 that supports equivalent copying facilities, provided you maintain
624 clear directions next to the object code saying where to find the
625 Corresponding Source. Regardless of what server hosts the
626 Corresponding Source, you remain obligated to ensure that it is
627 available for as long as needed to satisfy these requirements.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000628
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700629 e) Convey the object code using peer-to-peer transmission, provided
630 you inform other peers where the object code and Corresponding
631 Source of the work are being offered to the general public at no
632 charge under subsection 6d.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000633
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700634 A separable portion of the object code, whose source code is excluded
635from the Corresponding Source as a System Library, need not be
636included in conveying the object code work.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000637
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700638 A "User Product" is either (1) a "consumer product", which means any
639tangible personal property which is normally used for personal, family,
640or household purposes, or (2) anything designed or sold for incorporation
641into a dwelling. In determining whether a product is a consumer product,
642doubtful cases shall be resolved in favor of coverage. For a particular
643product received by a particular user, "normally used" refers to a
644typical or common use of that class of product, regardless of the status
645of the particular user or of the way in which the particular user
646actually uses, or expects or is expected to use, the product. A product
647is a consumer product regardless of whether the product has substantial
648commercial, industrial or non-consumer uses, unless such uses represent
649the only significant mode of use of the product.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000650
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700651 "Installation Information" for a User Product means any methods,
652procedures, authorization keys, or other information required to install
653and execute modified versions of a covered work in that User Product from
654a modified version of its Corresponding Source. The information must
655suffice to ensure that the continued functioning of the modified object
656code is in no case prevented or interfered with solely because
657modification has been made.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000658
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700659 If you convey an object code work under this section in, or with, or
660specifically for use in, a User Product, and the conveying occurs as
661part of a transaction in which the right of possession and use of the
662User Product is transferred to the recipient in perpetuity or for a
663fixed term (regardless of how the transaction is characterized), the
664Corresponding Source conveyed under this section must be accompanied
665by the Installation Information. But this requirement does not apply
666if neither you nor any third party retains the ability to install
667modified object code on the User Product (for example, the work has
668been installed in ROM).
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000669
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700670 The requirement to provide Installation Information does not include a
671requirement to continue to provide support service, warranty, or updates
672for a work that has been modified or installed by the recipient, or for
673the User Product in which it has been modified or installed. Access to a
674network may be denied when the modification itself materially and
675adversely affects the operation of the network or violates the rules and
676protocols for communication across the network.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000677
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700678 Corresponding Source conveyed, and Installation Information provided,
679in accord with this section must be in a format that is publicly
680documented (and with an implementation available to the public in
681source code form), and must require no special password or key for
682unpacking, reading or copying.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000683
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700684 7. Additional Terms.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000685
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700686 "Additional permissions" are terms that supplement the terms of this
687License by making exceptions from one or more of its conditions.
688Additional permissions that are applicable to the entire Program shall
689be treated as though they were included in this License, to the extent
690that they are valid under applicable law. If additional permissions
691apply only to part of the Program, that part may be used separately
692under those permissions, but the entire Program remains governed by
693this License without regard to the additional permissions.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000694
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700695 When you convey a copy of a covered work, you may at your option
696remove any additional permissions from that copy, or from any part of
697it. (Additional permissions may be written to require their own
698removal in certain cases when you modify the work.) You may place
699additional permissions on material, added by you to a covered work,
700for which you have or can give appropriate copyright permission.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000701
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700702 Notwithstanding any other provision of this License, for material you
703add to a covered work, you may (if authorized by the copyright holders of
704that material) supplement the terms of this License with terms:
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000705
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700706 a) Disclaiming warranty or limiting liability differently from the
707 terms of sections 15 and 16 of this License; or
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000708
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700709 b) Requiring preservation of specified reasonable legal notices or
710 author attributions in that material or in the Appropriate Legal
711 Notices displayed by works containing it; or
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000712
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700713 c) Prohibiting misrepresentation of the origin of that material, or
714 requiring that modified versions of such material be marked in
715 reasonable ways as different from the original version; or
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000716
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700717 d) Limiting the use for publicity purposes of names of licensors or
718 authors of the material; or
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000719
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700720 e) Declining to grant rights under trademark law for use of some
721 trade names, trademarks, or service marks; or
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000722
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700723 f) Requiring indemnification of licensors and authors of that
724 material by anyone who conveys the material (or modified versions of
725 it) with contractual assumptions of liability to the recipient, for
726 any liability that these contractual assumptions directly impose on
727 those licensors and authors.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000728
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700729 All other non-permissive additional terms are considered "further
730restrictions" within the meaning of section 10. If the Program as you
731received it, or any part of it, contains a notice stating that it is
732governed by this License along with a term that is a further
733restriction, you may remove that term. If a license document contains
734a further restriction but permits relicensing or conveying under this
735License, you may add to a covered work material governed by the terms
736of that license document, provided that the further restriction does
737not survive such relicensing or conveying.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000738
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700739 If you add terms to a covered work in accord with this section, you
740must place, in the relevant source files, a statement of the
741additional terms that apply to those files, or a notice indicating
742where to find the applicable terms.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000743
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700744 Additional terms, permissive or non-permissive, may be stated in the
745form of a separately written license, or stated as exceptions;
746the above requirements apply either way.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000747
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700748 8. Termination.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000749
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700750 You may not propagate or modify a covered work except as expressly
751provided under this License. Any attempt otherwise to propagate or
752modify it is void, and will automatically terminate your rights under
753this License (including any patent licenses granted under the third
754paragraph of section 11).
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000755
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700756 However, if you cease all violation of this License, then your
757license from a particular copyright holder is reinstated (a)
758provisionally, unless and until the copyright holder explicitly and
759finally terminates your license, and (b) permanently, if the copyright
760holder fails to notify you of the violation by some reasonable means
761prior to 60 days after the cessation.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000762
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700763 Moreover, your license from a particular copyright holder is
764reinstated permanently if the copyright holder notifies you of the
765violation by some reasonable means, this is the first time you have
766received notice of violation of this License (for any work) from that
767copyright holder, and you cure the violation prior to 30 days after
768your receipt of the notice.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000769
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700770 Termination of your rights under this section does not terminate the
771licenses of parties who have received copies or rights from you under
772this License. If your rights have been terminated and not permanently
773reinstated, you do not qualify to receive new licenses for the same
774material under section 10.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000775
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700776 9. Acceptance Not Required for Having Copies.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000777
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700778 You are not required to accept this License in order to receive or
779run a copy of the Program. Ancillary propagation of a covered work
780occurring solely as a consequence of using peer-to-peer transmission
781to receive a copy likewise does not require acceptance. However,
782nothing other than this License grants you permission to propagate or
783modify any covered work. These actions infringe copyright if you do
784not accept this License. Therefore, by modifying or propagating a
785covered work, you indicate your acceptance of this License to do so.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000786
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700787 10. Automatic Licensing of Downstream Recipients.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000788
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700789 Each time you convey a covered work, the recipient automatically
790receives a license from the original licensors, to run, modify and
791propagate that work, subject to this License. You are not responsible
792for enforcing compliance by third parties with this License.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000793
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700794 An "entity transaction" is a transaction transferring control of an
795organization, or substantially all assets of one, or subdividing an
796organization, or merging organizations. If propagation of a covered
797work results from an entity transaction, each party to that
798transaction who receives a copy of the work also receives whatever
799licenses to the work the party's predecessor in interest had or could
800give under the previous paragraph, plus a right to possession of the
801Corresponding Source of the work from the predecessor in interest, if
802the predecessor has it or can get it with reasonable efforts.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000803
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700804 You may not impose any further restrictions on the exercise of the
805rights granted or affirmed under this License. For example, you may
806not impose a license fee, royalty, or other charge for exercise of
807rights granted under this License, and you may not initiate litigation
808(including a cross-claim or counterclaim in a lawsuit) alleging that
809any patent claim is infringed by making, using, selling, offering for
810sale, or importing the Program or any portion of it.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000811
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700812 11. Patents.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000813
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700814 A "contributor" is a copyright holder who authorizes use under this
815License of the Program or a work on which the Program is based. The
816work thus licensed is called the contributor's "contributor version".
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000817
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700818 A contributor's "essential patent claims" are all patent claims
819owned or controlled by the contributor, whether already acquired or
820hereafter acquired, that would be infringed by some manner, permitted
821by this License, of making, using, or selling its contributor version,
822but do not include claims that would be infringed only as a
823consequence of further modification of the contributor version. For
824purposes of this definition, "control" includes the right to grant
825patent sublicenses in a manner consistent with the requirements of
826this License.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000827
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700828 Each contributor grants you a non-exclusive, worldwide, royalty-free
829patent license under the contributor's essential patent claims, to
830make, use, sell, offer for sale, import and otherwise run, modify and
831propagate the contents of its contributor version.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000832
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700833 In the following three paragraphs, a "patent license" is any express
834agreement or commitment, however denominated, not to enforce a patent
835(such as an express permission to practice a patent or covenant not to
836sue for patent infringement). To "grant" such a patent license to a
837party means to make such an agreement or commitment not to enforce a
838patent against the party.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000839
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700840 If you convey a covered work, knowingly relying on a patent license,
841and the Corresponding Source of the work is not available for anyone
842to copy, free of charge and under the terms of this License, through a
843publicly available network server or other readily accessible means,
844then you must either (1) cause the Corresponding Source to be so
845available, or (2) arrange to deprive yourself of the benefit of the
846patent license for this particular work, or (3) arrange, in a manner
847consistent with the requirements of this License, to extend the patent
848license to downstream recipients. "Knowingly relying" means you have
849actual knowledge that, but for the patent license, your conveying the
850covered work in a country, or your recipient's use of the covered work
851in a country, would infringe one or more identifiable patents in that
852country that you have reason to believe are valid.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000853
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700854 If, pursuant to or in connection with a single transaction or
855arrangement, you convey, or propagate by procuring conveyance of, a
856covered work, and grant a patent license to some of the parties
857receiving the covered work authorizing them to use, propagate, modify
858or convey a specific copy of the covered work, then the patent license
859you grant is automatically extended to all recipients of the covered
860work and works based on it.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000861
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700862 A patent license is "discriminatory" if it does not include within
863the scope of its coverage, prohibits the exercise of, or is
864conditioned on the non-exercise of one or more of the rights that are
865specifically granted under this License. You may not convey a covered
866work if you are a party to an arrangement with a third party that is
867in the business of distributing software, under which you make payment
868to the third party based on the extent of your activity of conveying
869the work, and under which the third party grants, to any of the
870parties who would receive the covered work from you, a discriminatory
871patent license (a) in connection with copies of the covered work
872conveyed by you (or copies made from those copies), or (b) primarily
873for and in connection with specific products or compilations that
874contain the covered work, unless you entered into that arrangement,
875or that patent license was granted, prior to 28 March 2007.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000876
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700877 Nothing in this License shall be construed as excluding or limiting
878any implied license or other defenses to infringement that may
879otherwise be available to you under applicable patent law.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000880
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700881 12. No Surrender of Others' Freedom.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000882
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700883 If conditions are imposed on you (whether by court order, agreement or
884otherwise) that contradict the conditions of this License, they do not
885excuse you from the conditions of this License. If you cannot convey a
886covered work so as to satisfy simultaneously your obligations under this
887License and any other pertinent obligations, then as a consequence you may
888not convey it at all. For example, if you agree to terms that obligate you
889to collect a royalty for further conveying from those to whom you convey
890the Program, the only way you could satisfy both those terms and this
891License would be to refrain entirely from conveying the Program.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000892
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700893 13. Use with the GNU Affero General Public License.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000894
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700895 Notwithstanding any other provision of this License, you have
896permission to link or combine any covered work with a work licensed
897under version 3 of the GNU Affero General Public License into a single
898combined work, and to convey the resulting work. The terms of this
899License will continue to apply to the part which is the covered work,
900but the special requirements of the GNU Affero General Public License,
901section 13, concerning interaction through a network will apply to the
902combination as such.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000903
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700904 14. Revised Versions of this License.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000905
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700906 The Free Software Foundation may publish revised and/or new versions of
907the GNU General Public License from time to time. Such new versions will
908be similar in spirit to the present version, but may differ in detail to
909address new problems or concerns.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000910
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700911 Each version is given a distinguishing version number. If the
912Program specifies that a certain numbered version of the GNU General
913Public License "or any later version" applies to it, you have the
914option of following the terms and conditions either of that numbered
915version or of any later version published by the Free Software
916Foundation. If the Program does not specify a version number of the
917GNU General Public License, you may choose any version ever published
918by the Free Software Foundation.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000919
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700920 If the Program specifies that a proxy can decide which future
921versions of the GNU General Public License can be used, that proxy's
922public statement of acceptance of a version permanently authorizes you
923to choose that version for the Program.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000924
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700925 Later license versions may give you additional or different
926permissions. However, no additional obligations are imposed on any
927author or copyright holder as a result of your choosing to follow a
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000928later version.
929
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700930 15. Disclaimer of Warranty.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000931
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700932 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
933APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
934HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
935OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
936THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
937PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
938IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
939ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000940
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700941 16. Limitation of Liability.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000942
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700943 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
944WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
945THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
946GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
947USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
948DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
949PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
950EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
951SUCH DAMAGES.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000952
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700953 17. Interpretation of Sections 15 and 16.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000954
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700955 If the disclaimer of warranty and limitation of liability provided
956above cannot be given local legal effect according to their terms,
957reviewing courts shall apply local law that most closely approximates
958an absolute waiver of all civil liability in connection with the
959Program, unless a warranty or assumption of liability accompanies a
960copy of the Program in return for a fee.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000961
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700962 END OF TERMS AND CONDITIONS
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000963
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700964 How to Apply These Terms to Your New Programs
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000965
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700966 If you develop a new program, and you want it to be of the greatest
967possible use to the public, the best way to achieve this is to make it
968free software which everyone can redistribute and change under these terms.
Lingfeng Yang15ba1812018-06-29 14:12:20 +0000969
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -0700970 To do so, attach the following notices to the program. It is safest
971to attach them to the start of each source file to most effectively
972state the exclusion of warranty; and each file should have at least
973the "copyright" line and a pointer to where the full notice is found.
974
975 <one line to give the program's name and a brief idea of what it does.>
976 Copyright (C) <year> <name of author>
977
978 This program is free software: you can redistribute it and/or modify
979 it under the terms of the GNU General Public License as published by
980 the Free Software Foundation, either version 3 of the License, or
981 (at your option) any later version.
982
983 This program is distributed in the hope that it will be useful,
984 but WITHOUT ANY WARRANTY; without even the implied warranty of
985 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
986 GNU General Public License for more details.
987
988 You should have received a copy of the GNU General Public License
989 along with this program. If not, see <http://www.gnu.org/licenses/>.
990
991Also add information on how to contact you by electronic and paper mail.
992
993 If the program does terminal interaction, make it output a short
994notice like this when it starts in an interactive mode:
995
996 <program> Copyright (C) <year> <name of author>
997 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
998 This is free software, and you are welcome to redistribute it
999 under certain conditions; type `show c' for details.
1000
1001The hypothetical commands `show w' and `show c' should show the appropriate
1002parts of the General Public License. Of course, your program's commands
1003might be different; for a GUI interface, you would use an "about box".
1004
1005 You should also get your employer (if you work as a programmer) or school,
1006if any, to sign a "copyright disclaimer" for the program, if necessary.
1007For more information on this, and how to apply and follow the GNU GPL, see
1008<http://www.gnu.org/licenses/>.
1009
1010 The GNU General Public License does not permit incorporating your program
1011into proprietary programs. If your program is a subroutine library, you
1012may consider it more useful to permit linking proprietary applications with
1013the library. If this is what you want to do, use the GNU Lesser General
1014Public License instead of this License. But first, please read
1015<http://www.gnu.org/philosophy/why-not-lgpl.html>.
1016 GNU GENERAL PUBLIC LICENSE
1017 Version 3, 29 June 2007
1018
1019 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
1020 Everyone is permitted to copy and distribute verbatim copies
1021 of this license document, but changing it is not allowed.
1022
1023 Preamble
1024
1025 The GNU General Public License is a free, copyleft license for
1026software and other kinds of works.
1027
1028 The licenses for most software and other practical works are designed
1029to take away your freedom to share and change the works. By contrast,
1030the GNU General Public License is intended to guarantee your freedom to
1031share and change all versions of a program--to make sure it remains free
1032software for all its users. We, the Free Software Foundation, use the
1033GNU General Public License for most of our software; it applies also to
1034any other work released this way by its authors. You can apply it to
1035your programs, too.
1036
1037 When we speak of free software, we are referring to freedom, not
1038price. Our General Public Licenses are designed to make sure that you
1039have the freedom to distribute copies of free software (and charge for
1040them if you wish), that you receive source code or can get it if you
1041want it, that you can change the software or use pieces of it in new
1042free programs, and that you know you can do these things.
1043
1044 To protect your rights, we need to prevent others from denying you
1045these rights or asking you to surrender the rights. Therefore, you have
1046certain responsibilities if you distribute copies of the software, or if
1047you modify it: responsibilities to respect the freedom of others.
1048
1049 For example, if you distribute copies of such a program, whether
1050gratis or for a fee, you must pass on to the recipients the same
1051freedoms that you received. You must make sure that they, too, receive
1052or can get the source code. And you must show them these terms so they
1053know their rights.
1054
1055 Developers that use the GNU GPL protect your rights with two steps:
1056(1) assert copyright on the software, and (2) offer you this License
1057giving you legal permission to copy, distribute and/or modify it.
1058
1059 For the developers' and authors' protection, the GPL clearly explains
1060that there is no warranty for this free software. For both users' and
1061authors' sake, the GPL requires that modified versions be marked as
1062changed, so that their problems will not be attributed erroneously to
1063authors of previous versions.
1064
1065 Some devices are designed to deny users access to install or run
1066modified versions of the software inside them, although the manufacturer
1067can do so. This is fundamentally incompatible with the aim of
1068protecting users' freedom to change the software. The systematic
1069pattern of such abuse occurs in the area of products for individuals to
1070use, which is precisely where it is most unacceptable. Therefore, we
1071have designed this version of the GPL to prohibit the practice for those
1072products. If such problems arise substantially in other domains, we
1073stand ready to extend this provision to those domains in future versions
1074of the GPL, as needed to protect the freedom of users.
1075
1076 Finally, every program is threatened constantly by software patents.
1077States should not allow patents to restrict development and use of
1078software on general-purpose computers, but in those that do, we wish to
1079avoid the special danger that patents applied to a free program could
1080make it effectively proprietary. To prevent this, the GPL assures that
1081patents cannot be used to render the program non-free.
1082
1083 The precise terms and conditions for copying, distribution and
1084modification follow.
1085
1086 TERMS AND CONDITIONS
1087
1088 0. Definitions.
1089
1090 "This License" refers to version 3 of the GNU General Public License.
1091
1092 "Copyright" also means copyright-like laws that apply to other kinds of
1093works, such as semiconductor masks.
1094
1095 "The Program" refers to any copyrightable work licensed under this
1096License. Each licensee is addressed as "you". "Licensees" and
1097"recipients" may be individuals or organizations.
1098
1099 To "modify" a work means to copy from or adapt all or part of the work
1100in a fashion requiring copyright permission, other than the making of an
1101exact copy. The resulting work is called a "modified version" of the
1102earlier work or a work "based on" the earlier work.
1103
1104 A "covered work" means either the unmodified Program or a work based
1105on the Program.
1106
1107 To "propagate" a work means to do anything with it that, without
1108permission, would make you directly or secondarily liable for
1109infringement under applicable copyright law, except executing it on a
1110computer or modifying a private copy. Propagation includes copying,
1111distribution (with or without modification), making available to the
1112public, and in some countries other activities as well.
1113
1114 To "convey" a work means any kind of propagation that enables other
1115parties to make or receive copies. Mere interaction with a user through
1116a computer network, with no transfer of a copy, is not conveying.
1117
1118 An interactive user interface displays "Appropriate Legal Notices"
1119to the extent that it includes a convenient and prominently visible
1120feature that (1) displays an appropriate copyright notice, and (2)
1121tells the user that there is no warranty for the work (except to the
1122extent that warranties are provided), that licensees may convey the
1123work under this License, and how to view a copy of this License. If
1124the interface presents a list of user commands or options, such as a
1125menu, a prominent item in the list meets this criterion.
1126
1127 1. Source Code.
1128
1129 The "source code" for a work means the preferred form of the work
1130for making modifications to it. "Object code" means any non-source
1131form of a work.
1132
1133 A "Standard Interface" means an interface that either is an official
1134standard defined by a recognized standards body, or, in the case of
1135interfaces specified for a particular programming language, one that
1136is widely used among developers working in that language.
1137
1138 The "System Libraries" of an executable work include anything, other
1139than the work as a whole, that (a) is included in the normal form of
1140packaging a Major Component, but which is not part of that Major
1141Component, and (b) serves only to enable use of the work with that
1142Major Component, or to implement a Standard Interface for which an
1143implementation is available to the public in source code form. A
1144"Major Component", in this context, means a major essential component
1145(kernel, window system, and so on) of the specific operating system
1146(if any) on which the executable work runs, or a compiler used to
1147produce the work, or an object code interpreter used to run it.
1148
1149 The "Corresponding Source" for a work in object code form means all
1150the source code needed to generate, install, and (for an executable
1151work) run the object code and to modify the work, including scripts to
1152control those activities. However, it does not include the work's
1153System Libraries, or general-purpose tools or generally available free
1154programs which are used unmodified in performing those activities but
1155which are not part of the work. For example, Corresponding Source
1156includes interface definition files associated with source files for
1157the work, and the source code for shared libraries and dynamically
1158linked subprograms that the work is specifically designed to require,
1159such as by intimate data communication or control flow between those
1160subprograms and other parts of the work.
1161
1162 The Corresponding Source need not include anything that users
1163can regenerate automatically from other parts of the Corresponding
1164Source.
1165
1166 The Corresponding Source for a work in source code form is that
1167same work.
1168
1169 2. Basic Permissions.
1170
1171 All rights granted under this License are granted for the term of
1172copyright on the Program, and are irrevocable provided the stated
1173conditions are met. This License explicitly affirms your unlimited
1174permission to run the unmodified Program. The output from running a
1175covered work is covered by this License only if the output, given its
1176content, constitutes a covered work. This License acknowledges your
1177rights of fair use or other equivalent, as provided by copyright law.
1178
1179 You may make, run and propagate covered works that you do not
1180convey, without conditions so long as your license otherwise remains
1181in force. You may convey covered works to others for the sole purpose
1182of having them make modifications exclusively for you, or provide you
1183with facilities for running those works, provided that you comply with
1184the terms of this License in conveying all material for which you do
1185not control copyright. Those thus making or running the covered works
1186for you must do so exclusively on your behalf, under your direction
1187and control, on terms that prohibit them from making any copies of
1188your copyrighted material outside their relationship with you.
1189
1190 Conveying under any other circumstances is permitted solely under
1191the conditions stated below. Sublicensing is not allowed; section 10
1192makes it unnecessary.
1193
1194 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
1195
1196 No covered work shall be deemed part of an effective technological
1197measure under any applicable law fulfilling obligations under article
119811 of the WIPO copyright treaty adopted on 20 December 1996, or
1199similar laws prohibiting or restricting circumvention of such
1200measures.
1201
1202 When you convey a covered work, you waive any legal power to forbid
1203circumvention of technological measures to the extent such circumvention
1204is effected by exercising rights under this License with respect to
1205the covered work, and you disclaim any intention to limit operation or
1206modification of the work as a means of enforcing, against the work's
1207users, your or third parties' legal rights to forbid circumvention of
1208technological measures.
1209
1210 4. Conveying Verbatim Copies.
1211
1212 You may convey verbatim copies of the Program's source code as you
1213receive it, in any medium, provided that you conspicuously and
1214appropriately publish on each copy an appropriate copyright notice;
1215keep intact all notices stating that this License and any
1216non-permissive terms added in accord with section 7 apply to the code;
1217keep intact all notices of the absence of any warranty; and give all
1218recipients a copy of this License along with the Program.
1219
1220 You may charge any price or no price for each copy that you convey,
1221and you may offer support or warranty protection for a fee.
1222
1223 5. Conveying Modified Source Versions.
1224
1225 You may convey a work based on the Program, or the modifications to
1226produce it from the Program, in the form of source code under the
1227terms of section 4, provided that you also meet all of these conditions:
1228
1229 a) The work must carry prominent notices stating that you modified
1230 it, and giving a relevant date.
1231
1232 b) The work must carry prominent notices stating that it is
1233 released under this License and any conditions added under section
1234 7. This requirement modifies the requirement in section 4 to
1235 "keep intact all notices".
1236
1237 c) You must license the entire work, as a whole, under this
1238 License to anyone who comes into possession of a copy. This
1239 License will therefore apply, along with any applicable section 7
1240 additional terms, to the whole of the work, and all its parts,
1241 regardless of how they are packaged. This License gives no
1242 permission to license the work in any other way, but it does not
1243 invalidate such permission if you have separately received it.
1244
1245 d) If the work has interactive user interfaces, each must display
1246 Appropriate Legal Notices; however, if the Program has interactive
1247 interfaces that do not display Appropriate Legal Notices, your
1248 work need not make them do so.
1249
1250 A compilation of a covered work with other separate and independent
1251works, which are not by their nature extensions of the covered work,
1252and which are not combined with it such as to form a larger program,
1253in or on a volume of a storage or distribution medium, is called an
1254"aggregate" if the compilation and its resulting copyright are not
1255used to limit the access or legal rights of the compilation's users
1256beyond what the individual works permit. Inclusion of a covered work
1257in an aggregate does not cause this License to apply to the other
1258parts of the aggregate.
1259
1260 6. Conveying Non-Source Forms.
1261
1262 You may convey a covered work in object code form under the terms
1263of sections 4 and 5, provided that you also convey the
1264machine-readable Corresponding Source under the terms of this License,
1265in one of these ways:
1266
1267 a) Convey the object code in, or embodied in, a physical product
1268 (including a physical distribution medium), accompanied by the
1269 Corresponding Source fixed on a durable physical medium
1270 customarily used for software interchange.
1271
1272 b) Convey the object code in, or embodied in, a physical product
1273 (including a physical distribution medium), accompanied by a
1274 written offer, valid for at least three years and valid for as
1275 long as you offer spare parts or customer support for that product
1276 model, to give anyone who possesses the object code either (1) a
1277 copy of the Corresponding Source for all the software in the
1278 product that is covered by this License, on a durable physical
1279 medium customarily used for software interchange, for a price no
1280 more than your reasonable cost of physically performing this
1281 conveying of source, or (2) access to copy the
1282 Corresponding Source from a network server at no charge.
1283
1284 c) Convey individual copies of the object code with a copy of the
1285 written offer to provide the Corresponding Source. This
1286 alternative is allowed only occasionally and noncommercially, and
1287 only if you received the object code with such an offer, in accord
1288 with subsection 6b.
1289
1290 d) Convey the object code by offering access from a designated
1291 place (gratis or for a charge), and offer equivalent access to the
1292 Corresponding Source in the same way through the same place at no
1293 further charge. You need not require recipients to copy the
1294 Corresponding Source along with the object code. If the place to
1295 copy the object code is a network server, the Corresponding Source
1296 may be on a different server (operated by you or a third party)
1297 that supports equivalent copying facilities, provided you maintain
1298 clear directions next to the object code saying where to find the
1299 Corresponding Source. Regardless of what server hosts the
1300 Corresponding Source, you remain obligated to ensure that it is
1301 available for as long as needed to satisfy these requirements.
1302
1303 e) Convey the object code using peer-to-peer transmission, provided
1304 you inform other peers where the object code and Corresponding
1305 Source of the work are being offered to the general public at no
1306 charge under subsection 6d.
1307
1308 A separable portion of the object code, whose source code is excluded
1309from the Corresponding Source as a System Library, need not be
1310included in conveying the object code work.
1311
1312 A "User Product" is either (1) a "consumer product", which means any
1313tangible personal property which is normally used for personal, family,
1314or household purposes, or (2) anything designed or sold for incorporation
1315into a dwelling. In determining whether a product is a consumer product,
1316doubtful cases shall be resolved in favor of coverage. For a particular
1317product received by a particular user, "normally used" refers to a
1318typical or common use of that class of product, regardless of the status
1319of the particular user or of the way in which the particular user
1320actually uses, or expects or is expected to use, the product. A product
1321is a consumer product regardless of whether the product has substantial
1322commercial, industrial or non-consumer uses, unless such uses represent
1323the only significant mode of use of the product.
1324
1325 "Installation Information" for a User Product means any methods,
1326procedures, authorization keys, or other information required to install
1327and execute modified versions of a covered work in that User Product from
1328a modified version of its Corresponding Source. The information must
1329suffice to ensure that the continued functioning of the modified object
1330code is in no case prevented or interfered with solely because
1331modification has been made.
1332
1333 If you convey an object code work under this section in, or with, or
1334specifically for use in, a User Product, and the conveying occurs as
1335part of a transaction in which the right of possession and use of the
1336User Product is transferred to the recipient in perpetuity or for a
1337fixed term (regardless of how the transaction is characterized), the
1338Corresponding Source conveyed under this section must be accompanied
1339by the Installation Information. But this requirement does not apply
1340if neither you nor any third party retains the ability to install
1341modified object code on the User Product (for example, the work has
1342been installed in ROM).
1343
1344 The requirement to provide Installation Information does not include a
1345requirement to continue to provide support service, warranty, or updates
1346for a work that has been modified or installed by the recipient, or for
1347the User Product in which it has been modified or installed. Access to a
1348network may be denied when the modification itself materially and
1349adversely affects the operation of the network or violates the rules and
1350protocols for communication across the network.
1351
1352 Corresponding Source conveyed, and Installation Information provided,
1353in accord with this section must be in a format that is publicly
1354documented (and with an implementation available to the public in
1355source code form), and must require no special password or key for
1356unpacking, reading or copying.
1357
1358 7. Additional Terms.
1359
1360 "Additional permissions" are terms that supplement the terms of this
1361License by making exceptions from one or more of its conditions.
1362Additional permissions that are applicable to the entire Program shall
1363be treated as though they were included in this License, to the extent
1364that they are valid under applicable law. If additional permissions
1365apply only to part of the Program, that part may be used separately
1366under those permissions, but the entire Program remains governed by
1367this License without regard to the additional permissions.
1368
1369 When you convey a copy of a covered work, you may at your option
1370remove any additional permissions from that copy, or from any part of
1371it. (Additional permissions may be written to require their own
1372removal in certain cases when you modify the work.) You may place
1373additional permissions on material, added by you to a covered work,
1374for which you have or can give appropriate copyright permission.
1375
1376 Notwithstanding any other provision of this License, for material you
1377add to a covered work, you may (if authorized by the copyright holders of
1378that material) supplement the terms of this License with terms:
1379
1380 a) Disclaiming warranty or limiting liability differently from the
1381 terms of sections 15 and 16 of this License; or
1382
1383 b) Requiring preservation of specified reasonable legal notices or
1384 author attributions in that material or in the Appropriate Legal
1385 Notices displayed by works containing it; or
1386
1387 c) Prohibiting misrepresentation of the origin of that material, or
1388 requiring that modified versions of such material be marked in
1389 reasonable ways as different from the original version; or
1390
1391 d) Limiting the use for publicity purposes of names of licensors or
1392 authors of the material; or
1393
1394 e) Declining to grant rights under trademark law for use of some
1395 trade names, trademarks, or service marks; or
1396
1397 f) Requiring indemnification of licensors and authors of that
1398 material by anyone who conveys the material (or modified versions of
1399 it) with contractual assumptions of liability to the recipient, for
1400 any liability that these contractual assumptions directly impose on
1401 those licensors and authors.
1402
1403 All other non-permissive additional terms are considered "further
1404restrictions" within the meaning of section 10. If the Program as you
1405received it, or any part of it, contains a notice stating that it is
1406governed by this License along with a term that is a further
1407restriction, you may remove that term. If a license document contains
1408a further restriction but permits relicensing or conveying under this
1409License, you may add to a covered work material governed by the terms
1410of that license document, provided that the further restriction does
1411not survive such relicensing or conveying.
1412
1413 If you add terms to a covered work in accord with this section, you
1414must place, in the relevant source files, a statement of the
1415additional terms that apply to those files, or a notice indicating
1416where to find the applicable terms.
1417
1418 Additional terms, permissive or non-permissive, may be stated in the
1419form of a separately written license, or stated as exceptions;
1420the above requirements apply either way.
1421
1422 8. Termination.
1423
1424 You may not propagate or modify a covered work except as expressly
1425provided under this License. Any attempt otherwise to propagate or
1426modify it is void, and will automatically terminate your rights under
1427this License (including any patent licenses granted under the third
1428paragraph of section 11).
1429
1430 However, if you cease all violation of this License, then your
1431license from a particular copyright holder is reinstated (a)
1432provisionally, unless and until the copyright holder explicitly and
1433finally terminates your license, and (b) permanently, if the copyright
1434holder fails to notify you of the violation by some reasonable means
1435prior to 60 days after the cessation.
1436
1437 Moreover, your license from a particular copyright holder is
1438reinstated permanently if the copyright holder notifies you of the
1439violation by some reasonable means, this is the first time you have
1440received notice of violation of this License (for any work) from that
1441copyright holder, and you cure the violation prior to 30 days after
1442your receipt of the notice.
1443
1444 Termination of your rights under this section does not terminate the
1445licenses of parties who have received copies or rights from you under
1446this License. If your rights have been terminated and not permanently
1447reinstated, you do not qualify to receive new licenses for the same
1448material under section 10.
1449
1450 9. Acceptance Not Required for Having Copies.
1451
1452 You are not required to accept this License in order to receive or
1453run a copy of the Program. Ancillary propagation of a covered work
1454occurring solely as a consequence of using peer-to-peer transmission
1455to receive a copy likewise does not require acceptance. However,
1456nothing other than this License grants you permission to propagate or
1457modify any covered work. These actions infringe copyright if you do
1458not accept this License. Therefore, by modifying or propagating a
1459covered work, you indicate your acceptance of this License to do so.
1460
1461 10. Automatic Licensing of Downstream Recipients.
1462
1463 Each time you convey a covered work, the recipient automatically
1464receives a license from the original licensors, to run, modify and
1465propagate that work, subject to this License. You are not responsible
1466for enforcing compliance by third parties with this License.
1467
1468 An "entity transaction" is a transaction transferring control of an
1469organization, or substantially all assets of one, or subdividing an
1470organization, or merging organizations. If propagation of a covered
1471work results from an entity transaction, each party to that
1472transaction who receives a copy of the work also receives whatever
1473licenses to the work the party's predecessor in interest had or could
1474give under the previous paragraph, plus a right to possession of the
1475Corresponding Source of the work from the predecessor in interest, if
1476the predecessor has it or can get it with reasonable efforts.
1477
1478 You may not impose any further restrictions on the exercise of the
1479rights granted or affirmed under this License. For example, you may
1480not impose a license fee, royalty, or other charge for exercise of
1481rights granted under this License, and you may not initiate litigation
1482(including a cross-claim or counterclaim in a lawsuit) alleging that
1483any patent claim is infringed by making, using, selling, offering for
1484sale, or importing the Program or any portion of it.
1485
1486 11. Patents.
1487
1488 A "contributor" is a copyright holder who authorizes use under this
1489License of the Program or a work on which the Program is based. The
1490work thus licensed is called the contributor's "contributor version".
1491
1492 A contributor's "essential patent claims" are all patent claims
1493owned or controlled by the contributor, whether already acquired or
1494hereafter acquired, that would be infringed by some manner, permitted
1495by this License, of making, using, or selling its contributor version,
1496but do not include claims that would be infringed only as a
1497consequence of further modification of the contributor version. For
1498purposes of this definition, "control" includes the right to grant
1499patent sublicenses in a manner consistent with the requirements of
1500this License.
1501
1502 Each contributor grants you a non-exclusive, worldwide, royalty-free
1503patent license under the contributor's essential patent claims, to
1504make, use, sell, offer for sale, import and otherwise run, modify and
1505propagate the contents of its contributor version.
1506
1507 In the following three paragraphs, a "patent license" is any express
1508agreement or commitment, however denominated, not to enforce a patent
1509(such as an express permission to practice a patent or covenant not to
1510sue for patent infringement). To "grant" such a patent license to a
1511party means to make such an agreement or commitment not to enforce a
1512patent against the party.
1513
1514 If you convey a covered work, knowingly relying on a patent license,
1515and the Corresponding Source of the work is not available for anyone
1516to copy, free of charge and under the terms of this License, through a
1517publicly available network server or other readily accessible means,
1518then you must either (1) cause the Corresponding Source to be so
1519available, or (2) arrange to deprive yourself of the benefit of the
1520patent license for this particular work, or (3) arrange, in a manner
1521consistent with the requirements of this License, to extend the patent
1522license to downstream recipients. "Knowingly relying" means you have
1523actual knowledge that, but for the patent license, your conveying the
1524covered work in a country, or your recipient's use of the covered work
1525in a country, would infringe one or more identifiable patents in that
1526country that you have reason to believe are valid.
1527
1528 If, pursuant to or in connection with a single transaction or
1529arrangement, you convey, or propagate by procuring conveyance of, a
1530covered work, and grant a patent license to some of the parties
1531receiving the covered work authorizing them to use, propagate, modify
1532or convey a specific copy of the covered work, then the patent license
1533you grant is automatically extended to all recipients of the covered
1534work and works based on it.
1535
1536 A patent license is "discriminatory" if it does not include within
1537the scope of its coverage, prohibits the exercise of, or is
1538conditioned on the non-exercise of one or more of the rights that are
1539specifically granted under this License. You may not convey a covered
1540work if you are a party to an arrangement with a third party that is
1541in the business of distributing software, under which you make payment
1542to the third party based on the extent of your activity of conveying
1543the work, and under which the third party grants, to any of the
1544parties who would receive the covered work from you, a discriminatory
1545patent license (a) in connection with copies of the covered work
1546conveyed by you (or copies made from those copies), or (b) primarily
1547for and in connection with specific products or compilations that
1548contain the covered work, unless you entered into that arrangement,
1549or that patent license was granted, prior to 28 March 2007.
1550
1551 Nothing in this License shall be construed as excluding or limiting
1552any implied license or other defenses to infringement that may
1553otherwise be available to you under applicable patent law.
1554
1555 12. No Surrender of Others' Freedom.
1556
1557 If conditions are imposed on you (whether by court order, agreement or
1558otherwise) that contradict the conditions of this License, they do not
1559excuse you from the conditions of this License. If you cannot convey a
1560covered work so as to satisfy simultaneously your obligations under this
1561License and any other pertinent obligations, then as a consequence you may
1562not convey it at all. For example, if you agree to terms that obligate you
1563to collect a royalty for further conveying from those to whom you convey
1564the Program, the only way you could satisfy both those terms and this
1565License would be to refrain entirely from conveying the Program.
1566
1567 13. Use with the GNU Affero General Public License.
1568
1569 Notwithstanding any other provision of this License, you have
1570permission to link or combine any covered work with a work licensed
1571under version 3 of the GNU Affero General Public License into a single
1572combined work, and to convey the resulting work. The terms of this
1573License will continue to apply to the part which is the covered work,
1574but the special requirements of the GNU Affero General Public License,
1575section 13, concerning interaction through a network will apply to the
1576combination as such.
1577
1578 14. Revised Versions of this License.
1579
1580 The Free Software Foundation may publish revised and/or new versions of
1581the GNU General Public License from time to time. Such new versions will
1582be similar in spirit to the present version, but may differ in detail to
1583address new problems or concerns.
1584
1585 Each version is given a distinguishing version number. If the
1586Program specifies that a certain numbered version of the GNU General
1587Public License "or any later version" applies to it, you have the
1588option of following the terms and conditions either of that numbered
1589version or of any later version published by the Free Software
1590Foundation. If the Program does not specify a version number of the
1591GNU General Public License, you may choose any version ever published
1592by the Free Software Foundation.
1593
1594 If the Program specifies that a proxy can decide which future
1595versions of the GNU General Public License can be used, that proxy's
1596public statement of acceptance of a version permanently authorizes you
1597to choose that version for the Program.
1598
1599 Later license versions may give you additional or different
1600permissions. However, no additional obligations are imposed on any
1601author or copyright holder as a result of your choosing to follow a
1602later version.
1603
1604 15. Disclaimer of Warranty.
1605
1606 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1607APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1608HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1609OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1610THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1611PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1612IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1613ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1614
1615 16. Limitation of Liability.
1616
1617 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1618WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1619THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1620GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1621USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1622DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1623PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1624EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1625SUCH DAMAGES.
1626
1627 17. Interpretation of Sections 15 and 16.
1628
1629 If the disclaimer of warranty and limitation of liability provided
1630above cannot be given local legal effect according to their terms,
1631reviewing courts shall apply local law that most closely approximates
1632an absolute waiver of all civil liability in connection with the
1633Program, unless a warranty or assumption of liability accompanies a
1634copy of the Program in return for a fee.
1635
1636 END OF TERMS AND CONDITIONS
1637
1638 How to Apply These Terms to Your New Programs
1639
1640 If you develop a new program, and you want it to be of the greatest
1641possible use to the public, the best way to achieve this is to make it
1642free software which everyone can redistribute and change under these terms.
1643
1644 To do so, attach the following notices to the program. It is safest
1645to attach them to the start of each source file to most effectively
1646state the exclusion of warranty; and each file should have at least
1647the "copyright" line and a pointer to where the full notice is found.
1648
1649 <one line to give the program's name and a brief idea of what it does.>
1650 Copyright (C) <year> <name of author>
1651
1652 This program is free software: you can redistribute it and/or modify
1653 it under the terms of the GNU General Public License as published by
1654 the Free Software Foundation, either version 3 of the License, or
1655 (at your option) any later version.
1656
1657 This program is distributed in the hope that it will be useful,
1658 but WITHOUT ANY WARRANTY; without even the implied warranty of
1659 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1660 GNU General Public License for more details.
1661
1662 You should have received a copy of the GNU General Public License
1663 along with this program. If not, see <http://www.gnu.org/licenses/>.
1664
1665Also add information on how to contact you by electronic and paper mail.
1666
1667 If the program does terminal interaction, make it output a short
1668notice like this when it starts in an interactive mode:
1669
1670 <program> Copyright (C) <year> <name of author>
1671 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1672 This is free software, and you are welcome to redistribute it
1673 under certain conditions; type `show c' for details.
1674
1675The hypothetical commands `show w' and `show c' should show the appropriate
1676parts of the General Public License. Of course, your program's commands
1677might be different; for a GUI interface, you would use an "about box".
1678
1679 You should also get your employer (if you work as a programmer) or school,
1680if any, to sign a "copyright disclaimer" for the program, if necessary.
1681For more information on this, and how to apply and follow the GNU GPL, see
1682<http://www.gnu.org/licenses/>.
1683
1684 The GNU General Public License does not permit incorporating your program
1685into proprietary programs. If your program is a subroutine library, you
1686may consider it more useful to permit linking proprietary applications with
1687the library. If this is what you want to do, use the GNU Lesser General
1688Public License instead of this License. But first, please read
1689<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Joshua Lang904c3632017-02-02 12:54:24 -08001690The newlib subdirectory is a collection of software from several sources.
1691
1692Each file may have its own copyright/license that is embedded in the source
1693file. Unless otherwise noted in the body of the source file(s), the following copyright
1694notices will apply to the contents of the newlib subdirectory:
1695
1696(1) Red Hat Incorporated
1697
1698Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
1699
1700This copyrighted material is made available to anyone wishing to use,
1701modify, copy, or redistribute it subject to the terms and conditions
1702of the BSD License. This program is distributed in the hope that
1703it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
1704including the implied warranties of MERCHANTABILITY or FITNESS FOR
1705A PARTICULAR PURPOSE. A copy of this license is available at
1706http://www.opensource.org/licenses. Any Red Hat trademarks that are
1707incorporated in the source code or documentation are not subject to
1708the BSD License and may only be used or replicated with the express
1709permission of Red Hat, Inc.
1710
1711(2) University of California, Berkeley
1712
1713Copyright (c) 1981-2000 The Regents of the University of California.
1714All rights reserved.
1715
1716Redistribution and use in source and binary forms, with or without modification,
1717are permitted provided that the following conditions are met:
1718
1719 * Redistributions of source code must retain the above copyright notice,
1720 this list of conditions and the following disclaimer.
1721 * Redistributions in binary form must reproduce the above copyright notice,
1722 this list of conditions and the following disclaimer in the documentation
1723 and/or other materials provided with the distribution.
1724 * Neither the name of the University nor the names of its contributors
1725 may be used to endorse or promote products derived from this software
1726 without specific prior written permission.
1727
1728THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1729AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1730WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1731IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
1732INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1733NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1734PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1735WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1736ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
1737OF SUCH DAMAGE.
1738
1739(3) David M. Gay (AT&T 1991, Lucent 1998)
1740
1741The author of this software is David M. Gay.
1742
1743Copyright (c) 1991 by AT&T.
1744
1745Permission to use, copy, modify, and distribute this software for any
1746purpose without fee is hereby granted, provided that this entire notice
1747is included in all copies of any software which is or includes a copy
1748or modification of this software and in all copies of the supporting
1749documentation for such software.
1750
1751THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
1752WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
1753REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
1754OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
1755
1756-------------------------------------------------------------------
1757
1758The author of this software is David M. Gay.
1759
1760Copyright (C) 1998-2001 by Lucent Technologies
1761All Rights Reserved
1762
1763Permission to use, copy, modify, and distribute this software and
1764its documentation for any purpose and without fee is hereby
1765granted, provided that the above copyright notice appear in all
1766copies and that both that the copyright notice and this
1767permission notice and warranty disclaimer appear in supporting
1768documentation, and that the name of Lucent or any of its entities
1769not be used in advertising or publicity pertaining to
1770distribution of the software without specific, written prior
1771permission.
1772
1773LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1774INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
1775IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
1776SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1777WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
1778IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
1779ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
1780THIS SOFTWARE.
1781
1782
1783(4) Advanced Micro Devices
1784
1785Copyright 1989, 1990 Advanced Micro Devices, Inc.
1786
1787This software is the property of Advanced Micro Devices, Inc (AMD) which
1788specifically grants the user the right to modify, use and distribute this
1789software provided this notice is not removed or altered. All other rights
1790are reserved by AMD.
1791
1792AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
1793SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
1794DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
1795USE OF THIS SOFTWARE.
1796
1797So that all may benefit from your experience, please report any problems
1798or suggestions about this software to the 29K Technical Support Center at
1799800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
18000031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
1801
1802Advanced Micro Devices, Inc.
180329K Support Products
1804Mail Stop 573
18055900 E. Ben White Blvd.
1806Austin, TX 78741
1807800-292-9263
1808
1809(5)
1810
1811(6)
1812
1813(7) Sun Microsystems
1814
1815Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
1816
1817Developed at SunPro, a Sun Microsystems, Inc. business.
1818Permission to use, copy, modify, and distribute this
1819software is freely granted, provided that this notice is preserved.
1820
1821(8) Hewlett Packard
1822
1823(c) Copyright 1986 HEWLETT-PACKARD COMPANY
1824
1825To anyone who acknowledges that this file is provided "AS IS"
1826without any express or implied warranty:
1827 permission to use, copy, modify, and distribute this file
1828for any purpose is hereby granted without fee, provided that
1829the above copyright notice and this notice appears in all
1830copies, and that the name of Hewlett-Packard Company not be
1831used in advertising or publicity pertaining to distribution
1832of the software without specific, written prior permission.
1833Hewlett-Packard Company makes no representations about the
1834suitability of this software for any purpose.
1835
1836(9) Hans-Peter Nilsson
1837
1838Copyright (C) 2001 Hans-Peter Nilsson
1839
1840Permission to use, copy, modify, and distribute this software is
1841freely granted, provided that the above copyright notice, this notice
1842and the following disclaimer are preserved with no changes.
1843
1844THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1845IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1846WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1847PURPOSE.
1848
1849(10) Stephane Carrez (m68hc11-elf/m68hc12-elf targets only)
1850
1851Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr)
1852
1853The authors hereby grant permission to use, copy, modify, distribute,
1854and license this software and its documentation for any purpose, provided
1855that existing copyright notices are retained in all copies and that this
1856notice is included verbatim in any distributions. No written agreement,
1857license, or royalty fee is required for any of the authorized uses.
1858Modifications to this software may be copyrighted by their authors
1859and need not follow the licensing terms described here, provided that
1860the new terms are clearly indicated on the first page of each file where
1861they apply.
1862
1863(11) Christopher G. Demetriou
1864
1865Copyright (c) 2001 Christopher G. Demetriou
1866All rights reserved.
1867
1868Redistribution and use in source and binary forms, with or without
1869modification, are permitted provided that the following conditions
1870are met:
18711. Redistributions of source code must retain the above copyright
1872 notice, this list of conditions and the following disclaimer.
18732. Redistributions in binary form must reproduce the above copyright
1874 notice, this list of conditions and the following disclaimer in the
1875 documentation and/or other materials provided with the distribution.
18763. The name of the author may not be used to endorse or promote products
1877 derived from this software without specific prior written permission.
1878
1879THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1880IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1881OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1882IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1883INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1884NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1885DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1886THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1887(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1888THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1889
1890(12) SuperH, Inc.
1891
1892Copyright 2002 SuperH, Inc. All rights reserved
1893
1894This software is the property of SuperH, Inc (SuperH) which specifically
1895grants the user the right to modify, use and distribute this software
1896provided this notice is not removed or altered. All other rights are
1897reserved by SuperH.
1898
1899SUPERH MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO
1900THIS SOFTWARE. IN NO EVENT SHALL SUPERH BE LIABLE FOR INDIRECT, SPECIAL,
1901INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM
1902THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE.
1903
1904So that all may benefit from your experience, please report any problems
1905or suggestions about this software to the SuperH Support Center via
1906e-mail at softwaresupport@superh.com .
1907
1908SuperH, Inc.
1909405 River Oaks Parkway
1910San Jose
1911CA 95134
1912USA
1913
1914(13) Royal Institute of Technology
1915
1916Copyright (c) 1999 Kungliga Tekniska Högskolan
1917(Royal Institute of Technology, Stockholm, Sweden).
1918All rights reserved.
1919
1920Redistribution and use in source and binary forms, with or without
1921modification, are permitted provided that the following conditions
1922are met:
1923
19241. Redistributions of source code must retain the above copyright
1925 notice, this list of conditions and the following disclaimer.
1926
19272. Redistributions in binary form must reproduce the above copyright
1928 notice, this list of conditions and the following disclaimer in the
1929 documentation and/or other materials provided with the distribution.
1930
19313. Neither the name of KTH nor the names of its contributors may be
1932 used to endorse or promote products derived from this software without
1933 specific prior written permission.
1934
1935THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY
1936EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1937IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1938PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE
1939LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1940CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1941SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1942BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1943WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
1944OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
1945ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1946
1947(14) Alexey Zelkin
1948
1949Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
1950All rights reserved.
1951
1952Redistribution and use in source and binary forms, with or without
1953modification, are permitted provided that the following conditions
1954are met:
19551. Redistributions of source code must retain the above copyright
1956 notice, this list of conditions and the following disclaimer.
19572. Redistributions in binary form must reproduce the above copyright
1958 notice, this list of conditions and the following disclaimer in the
1959 documentation and/or other materials provided with the distribution.
1960
1961THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1962ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1963IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1964ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1965FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1966DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1967OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1968HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1969LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1970OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1971SUCH DAMAGE.
1972
1973(15) Andrey A. Chernov
1974
1975Copyright (C) 1997 by Andrey A. Chernov, Moscow, Russia.
1976All rights reserved.
1977
1978Redistribution and use in source and binary forms, with or without
1979modification, are permitted provided that the following conditions
1980are met:
19811. Redistributions of source code must retain the above copyright
1982 notice, this list of conditions and the following disclaimer.
19832. Redistributions in binary form must reproduce the above copyright
1984 notice, this list of conditions and the following disclaimer in the
1985 documentation and/or other materials provided with the distribution.
1986
1987THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
1988ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1989IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1990ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1991FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1992DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1993OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1994HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1995LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1996OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1997SUCH DAMAGE.
1998
1999(16) FreeBSD
2000
2001Copyright (c) 1997-2002 FreeBSD Project.
2002All rights reserved.
2003
2004Redistribution and use in source and binary forms, with or without
2005modification, are permitted provided that the following conditions
2006are met:
20071. Redistributions of source code must retain the above copyright
2008 notice, this list of conditions and the following disclaimer.
20092. Redistributions in binary form must reproduce the above copyright
2010 notice, this list of conditions and the following disclaimer in the
2011 documentation and/or other materials provided with the distribution.
2012
2013THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2014ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2015IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2016ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2017FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2018DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2019OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2020HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2021LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2022OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2023SUCH DAMAGE.
2024
2025(17) S. L. Moshier
2026
2027Author: S. L. Moshier.
2028
2029Copyright (c) 1984,2000 S.L. Moshier
2030
2031Permission to use, copy, modify, and distribute this software for any
2032purpose without fee is hereby granted, provided that this entire notice
2033is included in all copies of any software which is or includes a copy
2034or modification of this software and in all copies of the supporting
2035documentation for such software.
2036
2037THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
2038WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION
2039OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
2040SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
2041
2042(18) Citrus Project
2043
2044Copyright (c)1999 Citrus Project,
2045All rights reserved.
2046
2047Redistribution and use in source and binary forms, with or without
2048modification, are permitted provided that the following conditions
2049are met:
20501. Redistributions of source code must retain the above copyright
2051 notice, this list of conditions and the following disclaimer.
20522. Redistributions in binary form must reproduce the above copyright
2053 notice, this list of conditions and the following disclaimer in the
2054 documentation and/or other materials provided with the distribution.
2055
2056THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2057ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2058IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2059ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2060FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2061DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2062OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2063HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2064LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2065OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2066SUCH DAMAGE.
2067
2068(19) Todd C. Miller
2069
2070Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
2071All rights reserved.
2072
2073Redistribution and use in source and binary forms, with or without
2074modification, are permitted provided that the following conditions
2075are met:
20761. Redistributions of source code must retain the above copyright
2077 notice, this list of conditions and the following disclaimer.
20782. Redistributions in binary form must reproduce the above copyright
2079 notice, this list of conditions and the following disclaimer in the
2080 documentation and/or other materials provided with the distribution.
20813. The name of the author may not be used to endorse or promote products
2082 derived from this software without specific prior written permission.
2083
2084THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
2085INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
2086AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
2087THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2088EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2089PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2090OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2091WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2092OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2093ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2094
2095(20) DJ Delorie (i386)
2096Copyright (C) 1991 DJ Delorie
2097All rights reserved.
2098
2099Redistribution, modification, and use in source and binary forms is permitted
2100provided that the above copyright notice and following paragraph are
2101duplicated in all such forms.
2102
2103This file is distributed WITHOUT ANY WARRANTY; without even the implied
2104warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2105
2106(21) Free Software Foundation LGPL License (*-linux* targets only)
2107
2108 Copyright (C) 1990-1999, 2000, 2001 Free Software Foundation, Inc.
2109 This file is part of the GNU C Library.
2110 Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
2111
2112 The GNU C Library is free software; you can redistribute it and/or
2113 modify it under the terms of the GNU Lesser General Public
2114 License as published by the Free Software Foundation; either
2115 version 2.1 of the License, or (at your option) any later version.
2116
2117 The GNU C Library is distributed in the hope that it will be useful,
2118 but WITHOUT ANY WARRANTY; without even the implied warranty of
2119 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2120 Lesser General Public License for more details.
2121
2122 You should have received a copy of the GNU Lesser General Public
2123 License along with the GNU C Library; if not, write to the Free
2124 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
2125 02110-1301 USA.
2126
2127(22) Xavier Leroy LGPL License (i[3456]86-*-linux* targets only)
2128
2129Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr)
2130
2131This program is free software; you can redistribute it and/or
2132modify it under the terms of the GNU Library General Public License
2133as published by the Free Software Foundation; either version 2
2134of the License, or (at your option) any later version.
2135
2136This program is distributed in the hope that it will be useful,
2137but WITHOUT ANY WARRANTY; without even the implied warranty of
2138MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2139GNU Library General Public License for more details.
2140
2141(23) Intel (i960)
2142
2143Copyright (c) 1993 Intel Corporation
2144
2145Intel hereby grants you permission to copy, modify, and distribute this
2146software and its documentation. Intel grants this permission provided
2147that the above copyright notice appears in all copies and that both the
2148copyright notice and this permission notice appear in supporting
2149documentation. In addition, Intel grants this permission provided that
2150you prominently mark as "not part of the original" any modifications
2151made to this software or documentation, and that the name of Intel
2152Corporation not be used in advertising or publicity pertaining to
2153distribution of the software or the documentation without specific,
2154written prior permission.
2155
2156Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR
2157IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY
2158OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or
2159representations regarding the use of, or the results of the use of,
2160the software and documentation in terms of correctness, accuracy,
2161reliability, currentness, or otherwise; and you rely on the software,
2162documentation and results solely at your own risk.
2163
2164IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS,
2165LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES
2166OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM
2167PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER.
2168
2169(24) Hewlett-Packard (hppa targets only)
2170
2171(c) Copyright 1986 HEWLETT-PACKARD COMPANY
2172
2173To anyone who acknowledges that this file is provided "AS IS"
2174without any express or implied warranty:
2175 permission to use, copy, modify, and distribute this file
2176for any purpose is hereby granted without fee, provided that
2177the above copyright notice and this notice appears in all
2178copies, and that the name of Hewlett-Packard Company not be
2179used in advertising or publicity pertaining to distribution
2180of the software without specific, written prior permission.
2181Hewlett-Packard Company makes no representations about the
2182suitability of this software for any purpose.
2183
2184(25) Henry Spencer (only *-linux targets)
2185
2186Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved.
2187This software is not subject to any license of the American Telephone
2188and Telegraph Company or of the Regents of the University of California.
2189
2190Permission is granted to anyone to use this software for any purpose on
2191any computer system, and to alter it and redistribute it, subject
2192to the following restrictions:
2193
21941. The author is not responsible for the consequences of use of this
2195 software, no matter how awful, even if they arise from flaws in it.
2196
21972. The origin of this software must not be misrepresented, either by
2198 explicit claim or by omission. Since few users ever read sources,
2199 credits must appear in the documentation.
2200
22013. Altered versions must be plainly marked as such, and must not be
2202 misrepresented as being the original software. Since few users
2203 ever read sources, credits must appear in the documentation.
2204
22054. This notice may not be removed or altered.
2206
2207(26) Mike Barcroft
2208
2209Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
2210All rights reserved.
2211
2212Redistribution and use in source and binary forms, with or without
2213modification, are permitted provided that the following conditions
2214are met:
22151. Redistributions of source code must retain the above copyright
2216 notice, this list of conditions and the following disclaimer.
22172. Redistributions in binary form must reproduce the above copyright
2218 notice, this list of conditions and the following disclaimer in the
2219 documentation and/or other materials provided with the distribution.
2220
2221THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2222ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2223IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2224ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2225FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2226DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2227OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2228HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2229LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2230OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2231SUCH DAMAGE.
2232
2233(27) Konstantin Chuguev (--enable-newlib-iconv)
2234
2235Copyright (c) 1999, 2000
2236 Konstantin Chuguev. All rights reserved.
2237
2238Redistribution and use in source and binary forms, with or without
2239modification, are permitted provided that the following conditions
2240are met:
22411. Redistributions of source code must retain the above copyright
2242 notice, this list of conditions and the following disclaimer.
22432. Redistributions in binary form must reproduce the above copyright
2244 notice, this list of conditions and the following disclaimer in the
2245 documentation and/or other materials provided with the distribution.
2246
2247THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2248ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2249IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2250ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2251FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2252DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2253OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2254HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2255LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2256OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2257SUCH DAMAGE.
2258
2259 iconv (Charset Conversion Library) v2.0
2260
2261(28) Artem Bityuckiy (--enable-newlib-iconv)
2262
2263Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation.
2264Rights transferred to Franklin Electronic Publishers.
2265
2266Redistribution and use in source and binary forms, with or without
2267modification, are permitted provided that the following conditions
2268are met:
22691. Redistributions of source code must retain the above copyright
2270 notice, this list of conditions and the following disclaimer.
22712. Redistributions in binary form must reproduce the above copyright
2272 notice, this list of conditions and the following disclaimer in the
2273 documentation and/or other materials provided with the distribution.
2274
2275THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2276ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2277IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2278ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2279FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2280DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2281OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2282HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2283LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2284OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2285SUCH DAMAGE.
2286
2287(29) IBM, Sony, Toshiba (only spu-* targets)
2288
2289 (C) Copyright 2001,2006,
2290 International Business Machines Corporation,
2291 Sony Computer Entertainment, Incorporated,
2292 Toshiba Corporation,
2293
2294 All rights reserved.
2295
2296 Redistribution and use in source and binary forms, with or without
2297 modification, are permitted provided that the following conditions are met:
2298
2299 * Redistributions of source code must retain the above copyright notice,
2300 this list of conditions and the following disclaimer.
2301 * Redistributions in binary form must reproduce the above copyright
2302 notice, this list of conditions and the following disclaimer in the
2303 documentation and/or other materials provided with the distribution.
2304 * Neither the names of the copyright holders nor the names of their
2305 contributors may be used to endorse or promote products derived from this
2306 software without specific prior written permission.
2307
2308 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2309 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2310 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2311 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2312 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2313 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2314 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2315 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2316 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2317 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2318 POSSIBILITY OF SUCH DAMAGE.
2319
2320(30) - Alex Tatmanjants (targets using libc/posix)
2321
2322 Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
2323 at Electronni Visti IA, Kiev, Ukraine.
2324 All rights reserved.
2325
2326 Redistribution and use in source and binary forms, with or without
2327 modification, are permitted provided that the following conditions
2328 are met:
2329 1. Redistributions of source code must retain the above copyright
2330 notice, this list of conditions and the following disclaimer.
2331 2. Redistributions in binary form must reproduce the above copyright
2332 notice, this list of conditions and the following disclaimer in the
2333 documentation and/or other materials provided with the distribution.
2334
2335 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
2336 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2337 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2338 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
2339 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2340 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2341 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2342 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2343 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2344 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2345 SUCH DAMAGE.
2346
2347(31) - M. Warner Losh (targets using libc/posix)
2348
2349 Copyright (c) 1998, M. Warner Losh <imp@freebsd.org>
2350 All rights reserved.
2351
2352 Redistribution and use in source and binary forms, with or without
2353 modification, are permitted provided that the following conditions
2354 are met:
2355 1. Redistributions of source code must retain the above copyright
2356 notice, this list of conditions and the following disclaimer.
2357 2. Redistributions in binary form must reproduce the above copyright
2358 notice, this list of conditions and the following disclaimer in the
2359 documentation and/or other materials provided with the distribution.
2360
2361 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2362 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2363 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2364 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2365 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2366 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2367 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2368 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2369 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2370 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2371 SUCH DAMAGE.
2372
2373(32) - Andrey A. Chernov (targets using libc/posix)
2374
2375 Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
2376 All rights reserved.
2377
2378 Redistribution and use in source and binary forms, with or without
2379 modification, are permitted provided that the following conditions
2380 are met:
2381 1. Redistributions of source code must retain the above copyright
2382 notice, this list of conditions and the following disclaimer.
2383 2. Redistributions in binary form must reproduce the above copyright
2384 notice, this list of conditions and the following disclaimer in the
2385 documentation and/or other materials provided with the distribution.
2386
2387 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
2388 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2389 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2390 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2391 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2392 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2393 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2394 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2395 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2396 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2397 SUCH DAMAGE.
2398
2399(33) - Daniel Eischen (targets using libc/posix)
2400
2401 Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
2402 All rights reserved.
2403
2404 Redistribution and use in source and binary forms, with or without
2405 modification, are permitted provided that the following conditions
2406 are met:
2407 1. Redistributions of source code must retain the above copyright
2408 notice, this list of conditions and the following disclaimer.
2409 2. Redistributions in binary form must reproduce the above copyright
2410 notice, this list of conditions and the following disclaimer in the
2411 documentation and/or other materials provided with the distribution.
2412
2413 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2414 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2415 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2416 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2417 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2418 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2419 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2420 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2421 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2422 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2423 SUCH DAMAGE.
2424
2425
2426(34) - Jon Beniston (only lm32-* targets)
2427
2428 Contributed by Jon Beniston <jon@beniston.com>
2429
2430 Redistribution and use in source and binary forms, with or without
2431 modification, are permitted provided that the following conditions
2432 are met:
2433 1. Redistributions of source code must retain the above copyright
2434 notice, this list of conditions and the following disclaimer.
2435 2. Redistributions in binary form must reproduce the above copyright
2436 notice, this list of conditions and the following disclaimer in the
2437 documentation and/or other materials provided with the distribution.
2438
2439 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2440 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2441 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2442 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2443 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2444 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2445 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2446 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2447 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2448 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2449 SUCH DAMAGE.
2450
2451
2452(35) - ARM Ltd (arm and thumb variant targets only)
2453
2454 Copyright (c) 2009 ARM Ltd
2455 All rights reserved.
2456
2457 Redistribution and use in source and binary forms, with or without
2458 modification, are permitted provided that the following conditions
2459 are met:
2460 1. Redistributions of source code must retain the above copyright
2461 notice, this list of conditions and the following disclaimer.
2462 2. Redistributions in binary form must reproduce the above copyright
2463 notice, this list of conditions and the following disclaimer in the
2464 documentation and/or other materials provided with the distribution.
2465 3. The name of the company may not be used to endorse or promote
2466 products derived from this software without specific prior written
2467 permission.
2468
2469 THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
2470 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2471 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2472 IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2473 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
2474 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2475 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2476 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
2477 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2478 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2479
2480(36) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
2481
2482Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
2483
2484Redistribution and use in source and binary forms, with or without
2485modification, are permitted provided that the following conditions are
2486met:
2487
24881. Redistributions source code must retain the above copyright notice,
2489this list of conditions and the following disclaimer.
2490
24912. Redistributions in binary form must reproduce the above copyright
2492notice, this list of conditions and the following disclaimer in the
2493documentation and/or other materials provided with the distribution.
2494
24953. Neither the name of Xilinx nor the names of its contributors may be
2496used to endorse or promote products derived from this software without
2497specific prior written permission.
2498
2499THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
2500IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2501TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
2502PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2503HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2504SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
2505TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2506PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2507LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
2508NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2509SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2510
2511
2512(37) Texas Instruments Incorporated (tic6x-* targets)
2513
2514Copyright (c) 1996-2010 Texas Instruments Incorporated
2515http://www.ti.com/
2516
2517 Redistribution and use in source and binary forms, with or without
2518 modification, are permitted provided that the following conditions
2519 are met:
2520
2521 Redistributions of source code must retain the above copyright
2522 notice, this list of conditions and the following disclaimer.
2523
2524 Redistributions in binary form must reproduce the above copyright
2525 notice, this list of conditions and the following disclaimer in
2526 the documentation and/or other materials provided with the
2527 distribution.
2528
2529 Neither the name of Texas Instruments Incorporated nor the names
2530 of its contributors may be used to endorse or promote products
2531 derived from this software without specific prior written
2532 permission.
2533
2534 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2535 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2536 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2537 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2538 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2539 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2540 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2541 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2542 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2543 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2544 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2545
2546(38) National Semiconductor (cr16-* and crx-* targets)
2547
2548Copyright (c) 2004 National Semiconductor Corporation
2549
2550The authors hereby grant permission to use, copy, modify, distribute,
2551and license this software and its documentation for any purpose, provided
2552that existing copyright notices are retained in all copies and that this
2553notice is included verbatim in any distributions. No written agreement,
2554license, or royalty fee is required for any of the authorized uses.
2555Modifications to this software may be copyrighted by their authors
2556and need not follow the licensing terms described here, provided that
2557the new terms are clearly indicated on the first page of each file where
2558they apply.
2559
2560(39) - Adapteva, Inc. (epiphany-* targets)
2561
2562Copyright (c) 2011, Adapteva, Inc.
2563All rights reserved.
2564
2565Redistribution and use in source and binary forms, with or without
2566modification, are permitted provided that the following conditions are met:
2567 * Redistributions of source code must retain the above copyright notice, this
2568 list of conditions and the following disclaimer.
2569 * Redistributions in binary form must reproduce the above copyright notice,
2570 this list of conditions and the following disclaimer in the documentation
2571 and/or other materials provided with the distribution.
2572 * Neither the name of Adapteva nor the names of its contributors may be used
2573 to endorse or promote products derived from this software without specific
2574 prior written permission.
2575
2576THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2577ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2578WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
2579DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
2580FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2581DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
2582SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
2583CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2584OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2585OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2586
2587(40) - Altera Corportion (nios2-* targets)
2588
2589Copyright (c) 2003 Altera Corporation
2590All rights reserved.
2591
2592Redistribution and use in source and binary forms, with or without
2593modification, are permitted provided that the following conditions
2594are met:
2595
2596 o Redistributions of source code must retain the above copyright
2597 notice, this list of conditions and the following disclaimer.
2598 o Redistributions in binary form must reproduce the above copyright
2599 notice, this list of conditions and the following disclaimer in the
2600 documentation and/or other materials provided with the distribution.
2601 o Neither the name of Altera Corporation nor the names of its
2602 contributors may be used to endorse or promote products derived from
2603 this software without specific prior written permission.
2604
2605THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER,
2606AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2607INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
2608AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
2609THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2610INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2611BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
2612OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
2613ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
2614TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
2615USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2616
2617(41) Ed Schouten - Free BSD
2618
2619Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
2620All rights reserved.
2621
2622Redistribution and use in source and binary forms, with or without
2623modification, are permitted provided that the following conditions
2624are met:
26251. Redistributions of source code must retain the above copyright
2626 notice, this list of conditions and the following disclaimer.
26272. Redistributions in binary form must reproduce the above copyright
2628 notice, this list of conditions and the following disclaimer in the
2629 documentation and/or other materials provided with the distribution.
2630
2631THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
2632ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2633IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2634ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2635FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2636DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2637OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2638HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2639LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2640OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2641SUCH DAMAGE.
2642
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07002643 GNU GENERAL PUBLIC LICENSE
2644 Version 3, 29 June 2007
2645
2646 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
2647 Everyone is permitted to copy and distribute verbatim copies
2648 of this license document, but changing it is not allowed.
2649
2650 Preamble
2651
2652 The GNU General Public License is a free, copyleft license for
2653software and other kinds of works.
2654
2655 The licenses for most software and other practical works are designed
2656to take away your freedom to share and change the works. By contrast,
2657the GNU General Public License is intended to guarantee your freedom to
2658share and change all versions of a program--to make sure it remains free
2659software for all its users. We, the Free Software Foundation, use the
2660GNU General Public License for most of our software; it applies also to
2661any other work released this way by its authors. You can apply it to
2662your programs, too.
2663
2664 When we speak of free software, we are referring to freedom, not
2665price. Our General Public Licenses are designed to make sure that you
2666have the freedom to distribute copies of free software (and charge for
2667them if you wish), that you receive source code or can get it if you
2668want it, that you can change the software or use pieces of it in new
2669free programs, and that you know you can do these things.
2670
2671 To protect your rights, we need to prevent others from denying you
2672these rights or asking you to surrender the rights. Therefore, you have
2673certain responsibilities if you distribute copies of the software, or if
2674you modify it: responsibilities to respect the freedom of others.
2675
2676 For example, if you distribute copies of such a program, whether
2677gratis or for a fee, you must pass on to the recipients the same
2678freedoms that you received. You must make sure that they, too, receive
2679or can get the source code. And you must show them these terms so they
2680know their rights.
2681
2682 Developers that use the GNU GPL protect your rights with two steps:
2683(1) assert copyright on the software, and (2) offer you this License
2684giving you legal permission to copy, distribute and/or modify it.
2685
2686 For the developers' and authors' protection, the GPL clearly explains
2687that there is no warranty for this free software. For both users' and
2688authors' sake, the GPL requires that modified versions be marked as
2689changed, so that their problems will not be attributed erroneously to
2690authors of previous versions.
2691
2692 Some devices are designed to deny users access to install or run
2693modified versions of the software inside them, although the manufacturer
2694can do so. This is fundamentally incompatible with the aim of
2695protecting users' freedom to change the software. The systematic
2696pattern of such abuse occurs in the area of products for individuals to
2697use, which is precisely where it is most unacceptable. Therefore, we
2698have designed this version of the GPL to prohibit the practice for those
2699products. If such problems arise substantially in other domains, we
2700stand ready to extend this provision to those domains in future versions
2701of the GPL, as needed to protect the freedom of users.
2702
2703 Finally, every program is threatened constantly by software patents.
2704States should not allow patents to restrict development and use of
2705software on general-purpose computers, but in those that do, we wish to
2706avoid the special danger that patents applied to a free program could
2707make it effectively proprietary. To prevent this, the GPL assures that
2708patents cannot be used to render the program non-free.
2709
2710 The precise terms and conditions for copying, distribution and
2711modification follow.
2712
2713 TERMS AND CONDITIONS
2714
2715 0. Definitions.
2716
2717 "This License" refers to version 3 of the GNU General Public License.
2718
2719 "Copyright" also means copyright-like laws that apply to other kinds of
2720works, such as semiconductor masks.
2721
2722 "The Program" refers to any copyrightable work licensed under this
2723License. Each licensee is addressed as "you". "Licensees" and
2724"recipients" may be individuals or organizations.
2725
2726 To "modify" a work means to copy from or adapt all or part of the work
2727in a fashion requiring copyright permission, other than the making of an
2728exact copy. The resulting work is called a "modified version" of the
2729earlier work or a work "based on" the earlier work.
2730
2731 A "covered work" means either the unmodified Program or a work based
2732on the Program.
2733
2734 To "propagate" a work means to do anything with it that, without
2735permission, would make you directly or secondarily liable for
2736infringement under applicable copyright law, except executing it on a
2737computer or modifying a private copy. Propagation includes copying,
2738distribution (with or without modification), making available to the
2739public, and in some countries other activities as well.
2740
2741 To "convey" a work means any kind of propagation that enables other
2742parties to make or receive copies. Mere interaction with a user through
2743a computer network, with no transfer of a copy, is not conveying.
2744
2745 An interactive user interface displays "Appropriate Legal Notices"
2746to the extent that it includes a convenient and prominently visible
2747feature that (1) displays an appropriate copyright notice, and (2)
2748tells the user that there is no warranty for the work (except to the
2749extent that warranties are provided), that licensees may convey the
2750work under this License, and how to view a copy of this License. If
2751the interface presents a list of user commands or options, such as a
2752menu, a prominent item in the list meets this criterion.
2753
2754 1. Source Code.
2755
2756 The "source code" for a work means the preferred form of the work
2757for making modifications to it. "Object code" means any non-source
2758form of a work.
2759
2760 A "Standard Interface" means an interface that either is an official
2761standard defined by a recognized standards body, or, in the case of
2762interfaces specified for a particular programming language, one that
2763is widely used among developers working in that language.
2764
2765 The "System Libraries" of an executable work include anything, other
2766than the work as a whole, that (a) is included in the normal form of
2767packaging a Major Component, but which is not part of that Major
2768Component, and (b) serves only to enable use of the work with that
2769Major Component, or to implement a Standard Interface for which an
2770implementation is available to the public in source code form. A
2771"Major Component", in this context, means a major essential component
2772(kernel, window system, and so on) of the specific operating system
2773(if any) on which the executable work runs, or a compiler used to
2774produce the work, or an object code interpreter used to run it.
2775
2776 The "Corresponding Source" for a work in object code form means all
2777the source code needed to generate, install, and (for an executable
2778work) run the object code and to modify the work, including scripts to
2779control those activities. However, it does not include the work's
2780System Libraries, or general-purpose tools or generally available free
2781programs which are used unmodified in performing those activities but
2782which are not part of the work. For example, Corresponding Source
2783includes interface definition files associated with source files for
2784the work, and the source code for shared libraries and dynamically
2785linked subprograms that the work is specifically designed to require,
2786such as by intimate data communication or control flow between those
2787subprograms and other parts of the work.
2788
2789 The Corresponding Source need not include anything that users
2790can regenerate automatically from other parts of the Corresponding
2791Source.
2792
2793 The Corresponding Source for a work in source code form is that
2794same work.
2795
2796 2. Basic Permissions.
2797
2798 All rights granted under this License are granted for the term of
2799copyright on the Program, and are irrevocable provided the stated
2800conditions are met. This License explicitly affirms your unlimited
2801permission to run the unmodified Program. The output from running a
2802covered work is covered by this License only if the output, given its
2803content, constitutes a covered work. This License acknowledges your
2804rights of fair use or other equivalent, as provided by copyright law.
2805
2806 You may make, run and propagate covered works that you do not
2807convey, without conditions so long as your license otherwise remains
2808in force. You may convey covered works to others for the sole purpose
2809of having them make modifications exclusively for you, or provide you
2810with facilities for running those works, provided that you comply with
2811the terms of this License in conveying all material for which you do
2812not control copyright. Those thus making or running the covered works
2813for you must do so exclusively on your behalf, under your direction
2814and control, on terms that prohibit them from making any copies of
2815your copyrighted material outside their relationship with you.
2816
2817 Conveying under any other circumstances is permitted solely under
2818the conditions stated below. Sublicensing is not allowed; section 10
2819makes it unnecessary.
2820
2821 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
2822
2823 No covered work shall be deemed part of an effective technological
2824measure under any applicable law fulfilling obligations under article
282511 of the WIPO copyright treaty adopted on 20 December 1996, or
2826similar laws prohibiting or restricting circumvention of such
2827measures.
2828
2829 When you convey a covered work, you waive any legal power to forbid
2830circumvention of technological measures to the extent such circumvention
2831is effected by exercising rights under this License with respect to
2832the covered work, and you disclaim any intention to limit operation or
2833modification of the work as a means of enforcing, against the work's
2834users, your or third parties' legal rights to forbid circumvention of
2835technological measures.
2836
2837 4. Conveying Verbatim Copies.
2838
2839 You may convey verbatim copies of the Program's source code as you
2840receive it, in any medium, provided that you conspicuously and
2841appropriately publish on each copy an appropriate copyright notice;
2842keep intact all notices stating that this License and any
2843non-permissive terms added in accord with section 7 apply to the code;
2844keep intact all notices of the absence of any warranty; and give all
2845recipients a copy of this License along with the Program.
2846
2847 You may charge any price or no price for each copy that you convey,
2848and you may offer support or warranty protection for a fee.
2849
2850 5. Conveying Modified Source Versions.
2851
2852 You may convey a work based on the Program, or the modifications to
2853produce it from the Program, in the form of source code under the
2854terms of section 4, provided that you also meet all of these conditions:
2855
2856 a) The work must carry prominent notices stating that you modified
2857 it, and giving a relevant date.
2858
2859 b) The work must carry prominent notices stating that it is
2860 released under this License and any conditions added under section
2861 7. This requirement modifies the requirement in section 4 to
2862 "keep intact all notices".
2863
2864 c) You must license the entire work, as a whole, under this
2865 License to anyone who comes into possession of a copy. This
2866 License will therefore apply, along with any applicable section 7
2867 additional terms, to the whole of the work, and all its parts,
2868 regardless of how they are packaged. This License gives no
2869 permission to license the work in any other way, but it does not
2870 invalidate such permission if you have separately received it.
2871
2872 d) If the work has interactive user interfaces, each must display
2873 Appropriate Legal Notices; however, if the Program has interactive
2874 interfaces that do not display Appropriate Legal Notices, your
2875 work need not make them do so.
2876
2877 A compilation of a covered work with other separate and independent
2878works, which are not by their nature extensions of the covered work,
2879and which are not combined with it such as to form a larger program,
2880in or on a volume of a storage or distribution medium, is called an
2881"aggregate" if the compilation and its resulting copyright are not
2882used to limit the access or legal rights of the compilation's users
2883beyond what the individual works permit. Inclusion of a covered work
2884in an aggregate does not cause this License to apply to the other
2885parts of the aggregate.
2886
2887 6. Conveying Non-Source Forms.
2888
2889 You may convey a covered work in object code form under the terms
2890of sections 4 and 5, provided that you also convey the
2891machine-readable Corresponding Source under the terms of this License,
2892in one of these ways:
2893
2894 a) Convey the object code in, or embodied in, a physical product
2895 (including a physical distribution medium), accompanied by the
2896 Corresponding Source fixed on a durable physical medium
2897 customarily used for software interchange.
2898
2899 b) Convey the object code in, or embodied in, a physical product
2900 (including a physical distribution medium), accompanied by a
2901 written offer, valid for at least three years and valid for as
2902 long as you offer spare parts or customer support for that product
2903 model, to give anyone who possesses the object code either (1) a
2904 copy of the Corresponding Source for all the software in the
2905 product that is covered by this License, on a durable physical
2906 medium customarily used for software interchange, for a price no
2907 more than your reasonable cost of physically performing this
2908 conveying of source, or (2) access to copy the
2909 Corresponding Source from a network server at no charge.
2910
2911 c) Convey individual copies of the object code with a copy of the
2912 written offer to provide the Corresponding Source. This
2913 alternative is allowed only occasionally and noncommercially, and
2914 only if you received the object code with such an offer, in accord
2915 with subsection 6b.
2916
2917 d) Convey the object code by offering access from a designated
2918 place (gratis or for a charge), and offer equivalent access to the
2919 Corresponding Source in the same way through the same place at no
2920 further charge. You need not require recipients to copy the
2921 Corresponding Source along with the object code. If the place to
2922 copy the object code is a network server, the Corresponding Source
2923 may be on a different server (operated by you or a third party)
2924 that supports equivalent copying facilities, provided you maintain
2925 clear directions next to the object code saying where to find the
2926 Corresponding Source. Regardless of what server hosts the
2927 Corresponding Source, you remain obligated to ensure that it is
2928 available for as long as needed to satisfy these requirements.
2929
2930 e) Convey the object code using peer-to-peer transmission, provided
2931 you inform other peers where the object code and Corresponding
2932 Source of the work are being offered to the general public at no
2933 charge under subsection 6d.
2934
2935 A separable portion of the object code, whose source code is excluded
2936from the Corresponding Source as a System Library, need not be
2937included in conveying the object code work.
2938
2939 A "User Product" is either (1) a "consumer product", which means any
2940tangible personal property which is normally used for personal, family,
2941or household purposes, or (2) anything designed or sold for incorporation
2942into a dwelling. In determining whether a product is a consumer product,
2943doubtful cases shall be resolved in favor of coverage. For a particular
2944product received by a particular user, "normally used" refers to a
2945typical or common use of that class of product, regardless of the status
2946of the particular user or of the way in which the particular user
2947actually uses, or expects or is expected to use, the product. A product
2948is a consumer product regardless of whether the product has substantial
2949commercial, industrial or non-consumer uses, unless such uses represent
2950the only significant mode of use of the product.
2951
2952 "Installation Information" for a User Product means any methods,
2953procedures, authorization keys, or other information required to install
2954and execute modified versions of a covered work in that User Product from
2955a modified version of its Corresponding Source. The information must
2956suffice to ensure that the continued functioning of the modified object
2957code is in no case prevented or interfered with solely because
2958modification has been made.
2959
2960 If you convey an object code work under this section in, or with, or
2961specifically for use in, a User Product, and the conveying occurs as
2962part of a transaction in which the right of possession and use of the
2963User Product is transferred to the recipient in perpetuity or for a
2964fixed term (regardless of how the transaction is characterized), the
2965Corresponding Source conveyed under this section must be accompanied
2966by the Installation Information. But this requirement does not apply
2967if neither you nor any third party retains the ability to install
2968modified object code on the User Product (for example, the work has
2969been installed in ROM).
2970
2971 The requirement to provide Installation Information does not include a
2972requirement to continue to provide support service, warranty, or updates
2973for a work that has been modified or installed by the recipient, or for
2974the User Product in which it has been modified or installed. Access to a
2975network may be denied when the modification itself materially and
2976adversely affects the operation of the network or violates the rules and
2977protocols for communication across the network.
2978
2979 Corresponding Source conveyed, and Installation Information provided,
2980in accord with this section must be in a format that is publicly
2981documented (and with an implementation available to the public in
2982source code form), and must require no special password or key for
2983unpacking, reading or copying.
2984
2985 7. Additional Terms.
2986
2987 "Additional permissions" are terms that supplement the terms of this
2988License by making exceptions from one or more of its conditions.
2989Additional permissions that are applicable to the entire Program shall
2990be treated as though they were included in this License, to the extent
2991that they are valid under applicable law. If additional permissions
2992apply only to part of the Program, that part may be used separately
2993under those permissions, but the entire Program remains governed by
2994this License without regard to the additional permissions.
2995
2996 When you convey a copy of a covered work, you may at your option
2997remove any additional permissions from that copy, or from any part of
2998it. (Additional permissions may be written to require their own
2999removal in certain cases when you modify the work.) You may place
3000additional permissions on material, added by you to a covered work,
3001for which you have or can give appropriate copyright permission.
3002
3003 Notwithstanding any other provision of this License, for material you
3004add to a covered work, you may (if authorized by the copyright holders of
3005that material) supplement the terms of this License with terms:
3006
3007 a) Disclaiming warranty or limiting liability differently from the
3008 terms of sections 15 and 16 of this License; or
3009
3010 b) Requiring preservation of specified reasonable legal notices or
3011 author attributions in that material or in the Appropriate Legal
3012 Notices displayed by works containing it; or
3013
3014 c) Prohibiting misrepresentation of the origin of that material, or
3015 requiring that modified versions of such material be marked in
3016 reasonable ways as different from the original version; or
3017
3018 d) Limiting the use for publicity purposes of names of licensors or
3019 authors of the material; or
3020
3021 e) Declining to grant rights under trademark law for use of some
3022 trade names, trademarks, or service marks; or
3023
3024 f) Requiring indemnification of licensors and authors of that
3025 material by anyone who conveys the material (or modified versions of
3026 it) with contractual assumptions of liability to the recipient, for
3027 any liability that these contractual assumptions directly impose on
3028 those licensors and authors.
3029
3030 All other non-permissive additional terms are considered "further
3031restrictions" within the meaning of section 10. If the Program as you
3032received it, or any part of it, contains a notice stating that it is
3033governed by this License along with a term that is a further
3034restriction, you may remove that term. If a license document contains
3035a further restriction but permits relicensing or conveying under this
3036License, you may add to a covered work material governed by the terms
3037of that license document, provided that the further restriction does
3038not survive such relicensing or conveying.
3039
3040 If you add terms to a covered work in accord with this section, you
3041must place, in the relevant source files, a statement of the
3042additional terms that apply to those files, or a notice indicating
3043where to find the applicable terms.
3044
3045 Additional terms, permissive or non-permissive, may be stated in the
3046form of a separately written license, or stated as exceptions;
3047the above requirements apply either way.
3048
3049 8. Termination.
3050
3051 You may not propagate or modify a covered work except as expressly
3052provided under this License. Any attempt otherwise to propagate or
3053modify it is void, and will automatically terminate your rights under
3054this License (including any patent licenses granted under the third
3055paragraph of section 11).
3056
3057 However, if you cease all violation of this License, then your
3058license from a particular copyright holder is reinstated (a)
3059provisionally, unless and until the copyright holder explicitly and
3060finally terminates your license, and (b) permanently, if the copyright
3061holder fails to notify you of the violation by some reasonable means
3062prior to 60 days after the cessation.
3063
3064 Moreover, your license from a particular copyright holder is
3065reinstated permanently if the copyright holder notifies you of the
3066violation by some reasonable means, this is the first time you have
3067received notice of violation of this License (for any work) from that
3068copyright holder, and you cure the violation prior to 30 days after
3069your receipt of the notice.
3070
3071 Termination of your rights under this section does not terminate the
3072licenses of parties who have received copies or rights from you under
3073this License. If your rights have been terminated and not permanently
3074reinstated, you do not qualify to receive new licenses for the same
3075material under section 10.
3076
3077 9. Acceptance Not Required for Having Copies.
3078
3079 You are not required to accept this License in order to receive or
3080run a copy of the Program. Ancillary propagation of a covered work
3081occurring solely as a consequence of using peer-to-peer transmission
3082to receive a copy likewise does not require acceptance. However,
3083nothing other than this License grants you permission to propagate or
3084modify any covered work. These actions infringe copyright if you do
3085not accept this License. Therefore, by modifying or propagating a
3086covered work, you indicate your acceptance of this License to do so.
3087
3088 10. Automatic Licensing of Downstream Recipients.
3089
3090 Each time you convey a covered work, the recipient automatically
3091receives a license from the original licensors, to run, modify and
3092propagate that work, subject to this License. You are not responsible
3093for enforcing compliance by third parties with this License.
3094
3095 An "entity transaction" is a transaction transferring control of an
3096organization, or substantially all assets of one, or subdividing an
3097organization, or merging organizations. If propagation of a covered
3098work results from an entity transaction, each party to that
3099transaction who receives a copy of the work also receives whatever
3100licenses to the work the party's predecessor in interest had or could
3101give under the previous paragraph, plus a right to possession of the
3102Corresponding Source of the work from the predecessor in interest, if
3103the predecessor has it or can get it with reasonable efforts.
3104
3105 You may not impose any further restrictions on the exercise of the
3106rights granted or affirmed under this License. For example, you may
3107not impose a license fee, royalty, or other charge for exercise of
3108rights granted under this License, and you may not initiate litigation
3109(including a cross-claim or counterclaim in a lawsuit) alleging that
3110any patent claim is infringed by making, using, selling, offering for
3111sale, or importing the Program or any portion of it.
3112
3113 11. Patents.
3114
3115 A "contributor" is a copyright holder who authorizes use under this
3116License of the Program or a work on which the Program is based. The
3117work thus licensed is called the contributor's "contributor version".
3118
3119 A contributor's "essential patent claims" are all patent claims
3120owned or controlled by the contributor, whether already acquired or
3121hereafter acquired, that would be infringed by some manner, permitted
3122by this License, of making, using, or selling its contributor version,
3123but do not include claims that would be infringed only as a
3124consequence of further modification of the contributor version. For
3125purposes of this definition, "control" includes the right to grant
3126patent sublicenses in a manner consistent with the requirements of
3127this License.
3128
3129 Each contributor grants you a non-exclusive, worldwide, royalty-free
3130patent license under the contributor's essential patent claims, to
3131make, use, sell, offer for sale, import and otherwise run, modify and
3132propagate the contents of its contributor version.
3133
3134 In the following three paragraphs, a "patent license" is any express
3135agreement or commitment, however denominated, not to enforce a patent
3136(such as an express permission to practice a patent or covenant not to
3137sue for patent infringement). To "grant" such a patent license to a
3138party means to make such an agreement or commitment not to enforce a
3139patent against the party.
3140
3141 If you convey a covered work, knowingly relying on a patent license,
3142and the Corresponding Source of the work is not available for anyone
3143to copy, free of charge and under the terms of this License, through a
3144publicly available network server or other readily accessible means,
3145then you must either (1) cause the Corresponding Source to be so
3146available, or (2) arrange to deprive yourself of the benefit of the
3147patent license for this particular work, or (3) arrange, in a manner
3148consistent with the requirements of this License, to extend the patent
3149license to downstream recipients. "Knowingly relying" means you have
3150actual knowledge that, but for the patent license, your conveying the
3151covered work in a country, or your recipient's use of the covered work
3152in a country, would infringe one or more identifiable patents in that
3153country that you have reason to believe are valid.
3154
3155 If, pursuant to or in connection with a single transaction or
3156arrangement, you convey, or propagate by procuring conveyance of, a
3157covered work, and grant a patent license to some of the parties
3158receiving the covered work authorizing them to use, propagate, modify
3159or convey a specific copy of the covered work, then the patent license
3160you grant is automatically extended to all recipients of the covered
3161work and works based on it.
3162
3163 A patent license is "discriminatory" if it does not include within
3164the scope of its coverage, prohibits the exercise of, or is
3165conditioned on the non-exercise of one or more of the rights that are
3166specifically granted under this License. You may not convey a covered
3167work if you are a party to an arrangement with a third party that is
3168in the business of distributing software, under which you make payment
3169to the third party based on the extent of your activity of conveying
3170the work, and under which the third party grants, to any of the
3171parties who would receive the covered work from you, a discriminatory
3172patent license (a) in connection with copies of the covered work
3173conveyed by you (or copies made from those copies), or (b) primarily
3174for and in connection with specific products or compilations that
3175contain the covered work, unless you entered into that arrangement,
3176or that patent license was granted, prior to 28 March 2007.
3177
3178 Nothing in this License shall be construed as excluding or limiting
3179any implied license or other defenses to infringement that may
3180otherwise be available to you under applicable patent law.
3181
3182 12. No Surrender of Others' Freedom.
3183
3184 If conditions are imposed on you (whether by court order, agreement or
3185otherwise) that contradict the conditions of this License, they do not
3186excuse you from the conditions of this License. If you cannot convey a
3187covered work so as to satisfy simultaneously your obligations under this
3188License and any other pertinent obligations, then as a consequence you may
3189not convey it at all. For example, if you agree to terms that obligate you
3190to collect a royalty for further conveying from those to whom you convey
3191the Program, the only way you could satisfy both those terms and this
3192License would be to refrain entirely from conveying the Program.
3193
3194 13. Use with the GNU Affero General Public License.
3195
3196 Notwithstanding any other provision of this License, you have
3197permission to link or combine any covered work with a work licensed
3198under version 3 of the GNU Affero General Public License into a single
3199combined work, and to convey the resulting work. The terms of this
3200License will continue to apply to the part which is the covered work,
3201but the special requirements of the GNU Affero General Public License,
3202section 13, concerning interaction through a network will apply to the
3203combination as such.
3204
3205 14. Revised Versions of this License.
3206
3207 The Free Software Foundation may publish revised and/or new versions of
3208the GNU General Public License from time to time. Such new versions will
3209be similar in spirit to the present version, but may differ in detail to
3210address new problems or concerns.
3211
3212 Each version is given a distinguishing version number. If the
3213Program specifies that a certain numbered version of the GNU General
3214Public License "or any later version" applies to it, you have the
3215option of following the terms and conditions either of that numbered
3216version or of any later version published by the Free Software
3217Foundation. If the Program does not specify a version number of the
3218GNU General Public License, you may choose any version ever published
3219by the Free Software Foundation.
3220
3221 If the Program specifies that a proxy can decide which future
3222versions of the GNU General Public License can be used, that proxy's
3223public statement of acceptance of a version permanently authorizes you
3224to choose that version for the Program.
3225
3226 Later license versions may give you additional or different
3227permissions. However, no additional obligations are imposed on any
3228author or copyright holder as a result of your choosing to follow a
3229later version.
3230
3231 15. Disclaimer of Warranty.
3232
3233 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
3234APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
3235HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
3236OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3237THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3238PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
3239IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
3240ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3241
3242 16. Limitation of Liability.
3243
3244 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3245WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
3246THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
3247GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
3248USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
3249DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
3250PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
3251EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
3252SUCH DAMAGES.
3253
3254 17. Interpretation of Sections 15 and 16.
3255
3256 If the disclaimer of warranty and limitation of liability provided
3257above cannot be given local legal effect according to their terms,
3258reviewing courts shall apply local law that most closely approximates
3259an absolute waiver of all civil liability in connection with the
3260Program, unless a warranty or assumption of liability accompanies a
3261copy of the Program in return for a fee.
3262
3263 END OF TERMS AND CONDITIONS
3264
3265 How to Apply These Terms to Your New Programs
3266
3267 If you develop a new program, and you want it to be of the greatest
3268possible use to the public, the best way to achieve this is to make it
3269free software which everyone can redistribute and change under these terms.
3270
3271 To do so, attach the following notices to the program. It is safest
3272to attach them to the start of each source file to most effectively
3273state the exclusion of warranty; and each file should have at least
3274the "copyright" line and a pointer to where the full notice is found.
3275
3276 <one line to give the program's name and a brief idea of what it does.>
3277 Copyright (C) <year> <name of author>
3278
3279 This program is free software: you can redistribute it and/or modify
3280 it under the terms of the GNU General Public License as published by
3281 the Free Software Foundation, either version 3 of the License, or
3282 (at your option) any later version.
3283
3284 This program is distributed in the hope that it will be useful,
3285 but WITHOUT ANY WARRANTY; without even the implied warranty of
3286 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3287 GNU General Public License for more details.
3288
3289 You should have received a copy of the GNU General Public License
3290 along with this program. If not, see <http://www.gnu.org/licenses/>.
3291
3292Also add information on how to contact you by electronic and paper mail.
3293
3294 If the program does terminal interaction, make it output a short
3295notice like this when it starts in an interactive mode:
3296
3297 <program> Copyright (C) <year> <name of author>
3298 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3299 This is free software, and you are welcome to redistribute it
3300 under certain conditions; type `show c' for details.
3301
3302The hypothetical commands `show w' and `show c' should show the appropriate
3303parts of the General Public License. Of course, your program's commands
3304might be different; for a GUI interface, you would use an "about box".
3305
3306 You should also get your employer (if you work as a programmer) or school,
3307if any, to sign a "copyright disclaimer" for the program, if necessary.
3308For more information on this, and how to apply and follow the GNU GPL, see
3309<http://www.gnu.org/licenses/>.
3310
3311 The GNU General Public License does not permit incorporating your program
3312into proprietary programs. If your program is a subroutine library, you
3313may consider it more useful to permit linking proprietary applications with
3314the library. If this is what you want to do, use the GNU Lesser General
3315Public License instead of this License. But first, please read
3316<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Joshua Lang904c3632017-02-02 12:54:24 -08003317 GNU LESSER GENERAL PUBLIC LICENSE
3318 Version 3, 29 June 2007
3319
3320 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
3321 Everyone is permitted to copy and distribute verbatim copies
3322 of this license document, but changing it is not allowed.
3323
3324
3325 This version of the GNU Lesser General Public License incorporates
3326the terms and conditions of version 3 of the GNU General Public
3327License, supplemented by the additional permissions listed below.
3328
3329 0. Additional Definitions.
3330
3331 As used herein, "this License" refers to version 3 of the GNU Lesser
3332General Public License, and the "GNU GPL" refers to version 3 of the GNU
3333General Public License.
3334
3335 "The Library" refers to a covered work governed by this License,
3336other than an Application or a Combined Work as defined below.
3337
3338 An "Application" is any work that makes use of an interface provided
3339by the Library, but which is not otherwise based on the Library.
3340Defining a subclass of a class defined by the Library is deemed a mode
3341of using an interface provided by the Library.
3342
3343 A "Combined Work" is a work produced by combining or linking an
3344Application with the Library. The particular version of the Library
3345with which the Combined Work was made is also called the "Linked
3346Version".
3347
3348 The "Minimal Corresponding Source" for a Combined Work means the
3349Corresponding Source for the Combined Work, excluding any source code
3350for portions of the Combined Work that, considered in isolation, are
3351based on the Application, and not on the Linked Version.
3352
3353 The "Corresponding Application Code" for a Combined Work means the
3354object code and/or source code for the Application, including any data
3355and utility programs needed for reproducing the Combined Work from the
3356Application, but excluding the System Libraries of the Combined Work.
3357
3358 1. Exception to Section 3 of the GNU GPL.
3359
3360 You may convey a covered work under sections 3 and 4 of this License
3361without being bound by section 3 of the GNU GPL.
3362
3363 2. Conveying Modified Versions.
3364
3365 If you modify a copy of the Library, and, in your modifications, a
3366facility refers to a function or data to be supplied by an Application
3367that uses the facility (other than as an argument passed when the
3368facility is invoked), then you may convey a copy of the modified
3369version:
3370
3371 a) under this License, provided that you make a good faith effort to
3372 ensure that, in the event an Application does not supply the
3373 function or data, the facility still operates, and performs
3374 whatever part of its purpose remains meaningful, or
3375
3376 b) under the GNU GPL, with none of the additional permissions of
3377 this License applicable to that copy.
3378
3379 3. Object Code Incorporating Material from Library Header Files.
3380
3381 The object code form of an Application may incorporate material from
3382a header file that is part of the Library. You may convey such object
3383code under terms of your choice, provided that, if the incorporated
3384material is not limited to numerical parameters, data structure
3385layouts and accessors, or small macros, inline functions and templates
3386(ten or fewer lines in length), you do both of the following:
3387
3388 a) Give prominent notice with each copy of the object code that the
3389 Library is used in it and that the Library and its use are
3390 covered by this License.
3391
3392 b) Accompany the object code with a copy of the GNU GPL and this license
3393 document.
3394
3395 4. Combined Works.
3396
3397 You may convey a Combined Work under terms of your choice that,
3398taken together, effectively do not restrict modification of the
3399portions of the Library contained in the Combined Work and reverse
3400engineering for debugging such modifications, if you also do each of
3401the following:
3402
3403 a) Give prominent notice with each copy of the Combined Work that
3404 the Library is used in it and that the Library and its use are
3405 covered by this License.
3406
3407 b) Accompany the Combined Work with a copy of the GNU GPL and this license
3408 document.
3409
3410 c) For a Combined Work that displays copyright notices during
3411 execution, include the copyright notice for the Library among
3412 these notices, as well as a reference directing the user to the
3413 copies of the GNU GPL and this license document.
3414
3415 d) Do one of the following:
3416
3417 0) Convey the Minimal Corresponding Source under the terms of this
3418 License, and the Corresponding Application Code in a form
3419 suitable for, and under terms that permit, the user to
3420 recombine or relink the Application with a modified version of
3421 the Linked Version to produce a modified Combined Work, in the
3422 manner specified by section 6 of the GNU GPL for conveying
3423 Corresponding Source.
3424
3425 1) Use a suitable shared library mechanism for linking with the
3426 Library. A suitable mechanism is one that (a) uses at run time
3427 a copy of the Library already present on the user's computer
3428 system, and (b) will operate properly with a modified version
3429 of the Library that is interface-compatible with the Linked
3430 Version.
3431
3432 e) Provide Installation Information, but only if you would otherwise
3433 be required to provide such information under section 6 of the
3434 GNU GPL, and only to the extent that such information is
3435 necessary to install and execute a modified version of the
3436 Combined Work produced by recombining or relinking the
3437 Application with a modified version of the Linked Version. (If
3438 you use option 4d0, the Installation Information must accompany
3439 the Minimal Corresponding Source and Corresponding Application
3440 Code. If you use option 4d1, you must provide the Installation
3441 Information in the manner specified by section 6 of the GNU GPL
3442 for conveying Corresponding Source.)
3443
3444 5. Combined Libraries.
3445
3446 You may place library facilities that are a work based on the
3447Library side by side in a single library together with other library
3448facilities that are not Applications and are not covered by this
3449License, and convey such a combined library under terms of your
3450choice, if you do both of the following:
3451
3452 a) Accompany the combined library with a copy of the same work based
3453 on the Library, uncombined with any other library facilities,
3454 conveyed under the terms of this License.
3455
3456 b) Give prominent notice with the combined library that part of it
3457 is a work based on the Library, and explaining where to find the
3458 accompanying uncombined form of the same work.
3459
3460 6. Revised Versions of the GNU Lesser General Public License.
3461
3462 The Free Software Foundation may publish revised and/or new versions
3463of the GNU Lesser General Public License from time to time. Such new
3464versions will be similar in spirit to the present version, but may
3465differ in detail to address new problems or concerns.
3466
3467 Each version is given a distinguishing version number. If the
3468Library as you received it specifies that a certain numbered version
3469of the GNU Lesser General Public License "or any later version"
3470applies to it, you have the option of following the terms and
3471conditions either of that published version or of any later version
3472published by the Free Software Foundation. If the Library as you
3473received it does not specify a version number of the GNU Lesser
3474General Public License, you may choose any version of the GNU Lesser
3475General Public License ever published by the Free Software Foundation.
3476
3477 If the Library as you received it specifies that a proxy can decide
3478whether future versions of the GNU Lesser General Public License shall
3479apply, that proxy's public statement of acceptance of any version is
3480permanent authorization for you to choose that version for the
3481Library.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00003482 GNU LESSER GENERAL PUBLIC LICENSE
3483 Version 2.1, February 1999
3484
3485 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
3486 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3487 Everyone is permitted to copy and distribute verbatim copies
3488 of this license document, but changing it is not allowed.
3489
3490[This is the first released version of the Lesser GPL. It also counts
3491 as the successor of the GNU Library Public License, version 2, hence
3492 the version number 2.1.]
3493
3494 Preamble
3495
3496 The licenses for most software are designed to take away your
3497freedom to share and change it. By contrast, the GNU General Public
3498Licenses are intended to guarantee your freedom to share and change
3499free software--to make sure the software is free for all its users.
3500
3501 This license, the Lesser General Public License, applies to some
3502specially designated software packages--typically libraries--of the
3503Free Software Foundation and other authors who decide to use it. You
3504can use it too, but we suggest you first think carefully about whether
3505this license or the ordinary General Public License is the better
3506strategy to use in any particular case, based on the explanations below.
3507
3508 When we speak of free software, we are referring to freedom of use,
3509not price. Our General Public Licenses are designed to make sure that
3510you have the freedom to distribute copies of free software (and charge
3511for this service if you wish); that you receive source code or can get
3512it if you want it; that you can change the software and use pieces of
3513it in new free programs; and that you are informed that you can do
3514these things.
3515
3516 To protect your rights, we need to make restrictions that forbid
3517distributors to deny you these rights or to ask you to surrender these
3518rights. These restrictions translate to certain responsibilities for
3519you if you distribute copies of the library or if you modify it.
3520
3521 For example, if you distribute copies of the library, whether gratis
3522or for a fee, you must give the recipients all the rights that we gave
3523you. You must make sure that they, too, receive or can get the source
3524code. If you link other code with the library, you must provide
3525complete object files to the recipients, so that they can relink them
3526with the library after making changes to the library and recompiling
3527it. And you must show them these terms so they know their rights.
3528
3529 We protect your rights with a two-step method: (1) we copyright the
3530library, and (2) we offer you this license, which gives you legal
3531permission to copy, distribute and/or modify the library.
3532
3533 To protect each distributor, we want to make it very clear that
3534there is no warranty for the free library. Also, if the library is
3535modified by someone else and passed on, the recipients should know
3536that what they have is not the original version, so that the original
3537author's reputation will not be affected by problems that might be
3538introduced by others.
3539
3540 Finally, software patents pose a constant threat to the existence of
3541any free program. We wish to make sure that a company cannot
3542effectively restrict the users of a free program by obtaining a
3543restrictive license from a patent holder. Therefore, we insist that
3544any patent license obtained for a version of the library must be
3545consistent with the full freedom of use specified in this license.
3546
3547 Most GNU software, including some libraries, is covered by the
3548ordinary GNU General Public License. This license, the GNU Lesser
3549General Public License, applies to certain designated libraries, and
3550is quite different from the ordinary General Public License. We use
3551this license for certain libraries in order to permit linking those
3552libraries into non-free programs.
3553
3554 When a program is linked with a library, whether statically or using
3555a shared library, the combination of the two is legally speaking a
3556combined work, a derivative of the original library. The ordinary
3557General Public License therefore permits such linking only if the
3558entire combination fits its criteria of freedom. The Lesser General
3559Public License permits more lax criteria for linking other code with
3560the library.
3561
3562 We call this license the "Lesser" General Public License because it
3563does Less to protect the user's freedom than the ordinary General
3564Public License. It also provides other free software developers Less
3565of an advantage over competing non-free programs. These disadvantages
3566are the reason we use the ordinary General Public License for many
3567libraries. However, the Lesser license provides advantages in certain
3568special circumstances.
3569
3570 For example, on rare occasions, there may be a special need to
3571encourage the widest possible use of a certain library, so that it becomes
3572a de-facto standard. To achieve this, non-free programs must be
3573allowed to use the library. A more frequent case is that a free
3574library does the same job as widely used non-free libraries. In this
3575case, there is little to gain by limiting the free library to free
3576software only, so we use the Lesser General Public License.
3577
3578 In other cases, permission to use a particular library in non-free
3579programs enables a greater number of people to use a large body of
3580free software. For example, permission to use the GNU C Library in
3581non-free programs enables many more people to use the whole GNU
3582operating system, as well as its variant, the GNU/Linux operating
3583system.
3584
3585 Although the Lesser General Public License is Less protective of the
3586users' freedom, it does ensure that the user of a program that is
3587linked with the Library has the freedom and the wherewithal to run
3588that program using a modified version of the Library.
3589
3590 The precise terms and conditions for copying, distribution and
3591modification follow. Pay close attention to the difference between a
3592"work based on the library" and a "work that uses the library". The
3593former contains code derived from the library, whereas the latter must
3594be combined with the library in order to run.
3595
3596 GNU LESSER GENERAL PUBLIC LICENSE
3597 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3598
3599 0. This License Agreement applies to any software library or other
3600program which contains a notice placed by the copyright holder or
3601other authorized party saying it may be distributed under the terms of
3602this Lesser General Public License (also called "this License").
3603Each licensee is addressed as "you".
3604
3605 A "library" means a collection of software functions and/or data
3606prepared so as to be conveniently linked with application programs
3607(which use some of those functions and data) to form executables.
3608
3609 The "Library", below, refers to any such software library or work
3610which has been distributed under these terms. A "work based on the
3611Library" means either the Library or any derivative work under
3612copyright law: that is to say, a work containing the Library or a
3613portion of it, either verbatim or with modifications and/or translated
3614straightforwardly into another language. (Hereinafter, translation is
3615included without limitation in the term "modification".)
3616
3617 "Source code" for a work means the preferred form of the work for
3618making modifications to it. For a library, complete source code means
3619all the source code for all modules it contains, plus any associated
3620interface definition files, plus the scripts used to control compilation
3621and installation of the library.
3622
3623 Activities other than copying, distribution and modification are not
3624covered by this License; they are outside its scope. The act of
3625running a program using the Library is not restricted, and output from
3626such a program is covered only if its contents constitute a work based
3627on the Library (independent of the use of the Library in a tool for
3628writing it). Whether that is true depends on what the Library does
3629and what the program that uses the Library does.
3630
3631 1. You may copy and distribute verbatim copies of the Library's
3632complete source code as you receive it, in any medium, provided that
3633you conspicuously and appropriately publish on each copy an
3634appropriate copyright notice and disclaimer of warranty; keep intact
3635all the notices that refer to this License and to the absence of any
3636warranty; and distribute a copy of this License along with the
3637Library.
3638
3639 You may charge a fee for the physical act of transferring a copy,
3640and you may at your option offer warranty protection in exchange for a
3641fee.
3642
3643 2. You may modify your copy or copies of the Library or any portion
3644of it, thus forming a work based on the Library, and copy and
3645distribute such modifications or work under the terms of Section 1
3646above, provided that you also meet all of these conditions:
3647
3648 a) The modified work must itself be a software library.
3649
3650 b) You must cause the files modified to carry prominent notices
3651 stating that you changed the files and the date of any change.
3652
3653 c) You must cause the whole of the work to be licensed at no
3654 charge to all third parties under the terms of this License.
3655
3656 d) If a facility in the modified Library refers to a function or a
3657 table of data to be supplied by an application program that uses
3658 the facility, other than as an argument passed when the facility
3659 is invoked, then you must make a good faith effort to ensure that,
3660 in the event an application does not supply such function or
3661 table, the facility still operates, and performs whatever part of
3662 its purpose remains meaningful.
3663
3664 (For example, a function in a library to compute square roots has
3665 a purpose that is entirely well-defined independent of the
3666 application. Therefore, Subsection 2d requires that any
3667 application-supplied function or table used by this function must
3668 be optional: if the application does not supply it, the square
3669 root function must still compute square roots.)
3670
3671These requirements apply to the modified work as a whole. If
3672identifiable sections of that work are not derived from the Library,
3673and can be reasonably considered independent and separate works in
3674themselves, then this License, and its terms, do not apply to those
3675sections when you distribute them as separate works. But when you
3676distribute the same sections as part of a whole which is a work based
3677on the Library, the distribution of the whole must be on the terms of
3678this License, whose permissions for other licensees extend to the
3679entire whole, and thus to each and every part regardless of who wrote
3680it.
3681
3682Thus, it is not the intent of this section to claim rights or contest
3683your rights to work written entirely by you; rather, the intent is to
3684exercise the right to control the distribution of derivative or
3685collective works based on the Library.
3686
3687In addition, mere aggregation of another work not based on the Library
3688with the Library (or with a work based on the Library) on a volume of
3689a storage or distribution medium does not bring the other work under
3690the scope of this License.
3691
3692 3. You may opt to apply the terms of the ordinary GNU General Public
3693License instead of this License to a given copy of the Library. To do
3694this, you must alter all the notices that refer to this License, so
3695that they refer to the ordinary GNU General Public License, version 2,
3696instead of to this License. (If a newer version than version 2 of the
3697ordinary GNU General Public License has appeared, then you can specify
3698that version instead if you wish.) Do not make any other change in
3699these notices.
3700
3701 Once this change is made in a given copy, it is irreversible for
3702that copy, so the ordinary GNU General Public License applies to all
3703subsequent copies and derivative works made from that copy.
3704
3705 This option is useful when you wish to copy part of the code of
3706the Library into a program that is not a library.
3707
3708 4. You may copy and distribute the Library (or a portion or
3709derivative of it, under Section 2) in object code or executable form
3710under the terms of Sections 1 and 2 above provided that you accompany
3711it with the complete corresponding machine-readable source code, which
3712must be distributed under the terms of Sections 1 and 2 above on a
3713medium customarily used for software interchange.
3714
3715 If distribution of object code is made by offering access to copy
3716from a designated place, then offering equivalent access to copy the
3717source code from the same place satisfies the requirement to
3718distribute the source code, even though third parties are not
3719compelled to copy the source along with the object code.
3720
3721 5. A program that contains no derivative of any portion of the
3722Library, but is designed to work with the Library by being compiled or
3723linked with it, is called a "work that uses the Library". Such a
3724work, in isolation, is not a derivative work of the Library, and
3725therefore falls outside the scope of this License.
3726
3727 However, linking a "work that uses the Library" with the Library
3728creates an executable that is a derivative of the Library (because it
3729contains portions of the Library), rather than a "work that uses the
3730library". The executable is therefore covered by this License.
3731Section 6 states terms for distribution of such executables.
3732
3733 When a "work that uses the Library" uses material from a header file
3734that is part of the Library, the object code for the work may be a
3735derivative work of the Library even though the source code is not.
3736Whether this is true is especially significant if the work can be
3737linked without the Library, or if the work is itself a library. The
3738threshold for this to be true is not precisely defined by law.
3739
3740 If such an object file uses only numerical parameters, data
3741structure layouts and accessors, and small macros and small inline
3742functions (ten lines or less in length), then the use of the object
3743file is unrestricted, regardless of whether it is legally a derivative
3744work. (Executables containing this object code plus portions of the
3745Library will still fall under Section 6.)
3746
3747 Otherwise, if the work is a derivative of the Library, you may
3748distribute the object code for the work under the terms of Section 6.
3749Any executables containing that work also fall under Section 6,
3750whether or not they are linked directly with the Library itself.
3751
3752 6. As an exception to the Sections above, you may also combine or
3753link a "work that uses the Library" with the Library to produce a
3754work containing portions of the Library, and distribute that work
3755under terms of your choice, provided that the terms permit
3756modification of the work for the customer's own use and reverse
3757engineering for debugging such modifications.
3758
3759 You must give prominent notice with each copy of the work that the
3760Library is used in it and that the Library and its use are covered by
3761this License. You must supply a copy of this License. If the work
3762during execution displays copyright notices, you must include the
3763copyright notice for the Library among them, as well as a reference
3764directing the user to the copy of this License. Also, you must do one
3765of these things:
3766
3767 a) Accompany the work with the complete corresponding
3768 machine-readable source code for the Library including whatever
3769 changes were used in the work (which must be distributed under
3770 Sections 1 and 2 above); and, if the work is an executable linked
3771 with the Library, with the complete machine-readable "work that
3772 uses the Library", as object code and/or source code, so that the
3773 user can modify the Library and then relink to produce a modified
3774 executable containing the modified Library. (It is understood
3775 that the user who changes the contents of definitions files in the
3776 Library will not necessarily be able to recompile the application
3777 to use the modified definitions.)
3778
3779 b) Use a suitable shared library mechanism for linking with the
3780 Library. A suitable mechanism is one that (1) uses at run time a
3781 copy of the library already present on the user's computer system,
3782 rather than copying library functions into the executable, and (2)
3783 will operate properly with a modified version of the library, if
3784 the user installs one, as long as the modified version is
3785 interface-compatible with the version that the work was made with.
3786
3787 c) Accompany the work with a written offer, valid for at
3788 least three years, to give the same user the materials
3789 specified in Subsection 6a, above, for a charge no more
3790 than the cost of performing this distribution.
3791
3792 d) If distribution of the work is made by offering access to copy
3793 from a designated place, offer equivalent access to copy the above
3794 specified materials from the same place.
3795
3796 e) Verify that the user has already received a copy of these
3797 materials or that you have already sent this user a copy.
3798
3799 For an executable, the required form of the "work that uses the
3800Library" must include any data and utility programs needed for
3801reproducing the executable from it. However, as a special exception,
3802the materials to be distributed need not include anything that is
3803normally distributed (in either source or binary form) with the major
3804components (compiler, kernel, and so on) of the operating system on
3805which the executable runs, unless that component itself accompanies
3806the executable.
3807
3808 It may happen that this requirement contradicts the license
3809restrictions of other proprietary libraries that do not normally
3810accompany the operating system. Such a contradiction means you cannot
3811use both them and the Library together in an executable that you
3812distribute.
3813
3814 7. You may place library facilities that are a work based on the
3815Library side-by-side in a single library together with other library
3816facilities not covered by this License, and distribute such a combined
3817library, provided that the separate distribution of the work based on
3818the Library and of the other library facilities is otherwise
3819permitted, and provided that you do these two things:
3820
3821 a) Accompany the combined library with a copy of the same work
3822 based on the Library, uncombined with any other library
3823 facilities. This must be distributed under the terms of the
3824 Sections above.
3825
3826 b) Give prominent notice with the combined library of the fact
3827 that part of it is a work based on the Library, and explaining
3828 where to find the accompanying uncombined form of the same work.
3829
3830 8. You may not copy, modify, sublicense, link with, or distribute
3831the Library except as expressly provided under this License. Any
3832attempt otherwise to copy, modify, sublicense, link with, or
3833distribute the Library is void, and will automatically terminate your
3834rights under this License. However, parties who have received copies,
3835or rights, from you under this License will not have their licenses
3836terminated so long as such parties remain in full compliance.
3837
3838 9. You are not required to accept this License, since you have not
3839signed it. However, nothing else grants you permission to modify or
3840distribute the Library or its derivative works. These actions are
3841prohibited by law if you do not accept this License. Therefore, by
3842modifying or distributing the Library (or any work based on the
3843Library), you indicate your acceptance of this License to do so, and
3844all its terms and conditions for copying, distributing or modifying
3845the Library or works based on it.
3846
3847 10. Each time you redistribute the Library (or any work based on the
3848Library), the recipient automatically receives a license from the
3849original licensor to copy, distribute, link with or modify the Library
3850subject to these terms and conditions. You may not impose any further
3851restrictions on the recipients' exercise of the rights granted herein.
3852You are not responsible for enforcing compliance by third parties with
3853this License.
3854
3855 11. If, as a consequence of a court judgment or allegation of patent
3856infringement or for any other reason (not limited to patent issues),
3857conditions are imposed on you (whether by court order, agreement or
3858otherwise) that contradict the conditions of this License, they do not
3859excuse you from the conditions of this License. If you cannot
3860distribute so as to satisfy simultaneously your obligations under this
3861License and any other pertinent obligations, then as a consequence you
3862may not distribute the Library at all. For example, if a patent
3863license would not permit royalty-free redistribution of the Library by
3864all those who receive copies directly or indirectly through you, then
3865the only way you could satisfy both it and this License would be to
3866refrain entirely from distribution of the Library.
3867
3868If any portion of this section is held invalid or unenforceable under any
3869particular circumstance, the balance of the section is intended to apply,
3870and the section as a whole is intended to apply in other circumstances.
3871
3872It is not the purpose of this section to induce you to infringe any
3873patents or other property right claims or to contest validity of any
3874such claims; this section has the sole purpose of protecting the
3875integrity of the free software distribution system which is
3876implemented by public license practices. Many people have made
3877generous contributions to the wide range of software distributed
3878through that system in reliance on consistent application of that
3879system; it is up to the author/donor to decide if he or she is willing
3880to distribute software through any other system and a licensee cannot
3881impose that choice.
3882
3883This section is intended to make thoroughly clear what is believed to
3884be a consequence of the rest of this License.
3885
3886 12. If the distribution and/or use of the Library is restricted in
3887certain countries either by patents or by copyrighted interfaces, the
3888original copyright holder who places the Library under this License may add
3889an explicit geographical distribution limitation excluding those countries,
3890so that distribution is permitted only in or among countries not thus
3891excluded. In such case, this License incorporates the limitation as if
3892written in the body of this License.
3893
3894 13. The Free Software Foundation may publish revised and/or new
3895versions of the Lesser General Public License from time to time.
3896Such new versions will be similar in spirit to the present version,
3897but may differ in detail to address new problems or concerns.
3898
3899Each version is given a distinguishing version number. If the Library
3900specifies a version number of this License which applies to it and
3901"any later version", you have the option of following the terms and
3902conditions either of that version or of any later version published by
3903the Free Software Foundation. If the Library does not specify a
3904license version number, you may choose any version ever published by
3905the Free Software Foundation.
3906
3907 14. If you wish to incorporate parts of the Library into other free
3908programs whose distribution conditions are incompatible with these,
3909write to the author to ask for permission. For software which is
3910copyrighted by the Free Software Foundation, write to the Free
3911Software Foundation; we sometimes make exceptions for this. Our
3912decision will be guided by the two goals of preserving the free status
3913of all derivatives of our free software and of promoting the sharing
3914and reuse of software generally.
3915
3916 NO WARRANTY
3917
3918 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
3919WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
3920EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
3921OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
3922KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
3923IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3924PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
3925LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
3926THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3927
3928 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
3929WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
3930AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
3931FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
3932CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
3933LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
3934RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
3935FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
3936SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
3937DAMAGES.
3938
3939 END OF TERMS AND CONDITIONS
3940
3941 How to Apply These Terms to Your New Libraries
3942
3943 If you develop a new library, and you want it to be of the greatest
3944possible use to the public, we recommend making it free software that
3945everyone can redistribute and change. You can do so by permitting
3946redistribution under these terms (or, alternatively, under the terms of the
3947ordinary General Public License).
3948
3949 To apply these terms, attach the following notices to the library. It is
3950safest to attach them to the start of each source file to most effectively
3951convey the exclusion of warranty; and each file should have at least the
3952"copyright" line and a pointer to where the full notice is found.
3953
3954 <one line to give the library's name and a brief idea of what it does.>
3955 Copyright (C) <year> <name of author>
3956
3957 This library is free software; you can redistribute it and/or
3958 modify it under the terms of the GNU Lesser General Public
3959 License as published by the Free Software Foundation; either
3960 version 2.1 of the License, or (at your option) any later version.
3961
3962 This library is distributed in the hope that it will be useful,
3963 but WITHOUT ANY WARRANTY; without even the implied warranty of
3964 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3965 Lesser General Public License for more details.
3966
3967 You should have received a copy of the GNU Lesser General Public
3968 License along with this library; if not, write to the Free Software
3969 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3970
3971Also add information on how to contact you by electronic and paper mail.
3972
3973You should also get your employer (if you work as a programmer) or your
3974school, if any, to sign a "copyright disclaimer" for the library, if
3975necessary. Here is a sample; alter the names:
3976
3977 Yoyodyne, Inc., hereby disclaims all copyright interest in the
3978 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
3979
3980 <signature of Ty Coon>, 1 April 1990
3981 Ty Coon, President of Vice
3982
3983That's all there is to it!
3984
3985
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07003986The libgloss subdirectory is a collection of software from several sources.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00003987
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07003988Each file may have its own copyright/license that is embedded in the source
3989file. Unless otherwise noted in the body of the source file(s), the following copyright
3990notices will apply to the contents of the libgloss subdirectory:
Lingfeng Yang15ba1812018-06-29 14:12:20 +00003991
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07003992(1) Red Hat Incorporated
Lingfeng Yang15ba1812018-06-29 14:12:20 +00003993
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07003994Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00003995
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07003996This copyrighted material is made available to anyone wishing to use, modify,
3997copy, or redistribute it subject to the terms and conditions of the BSD
3998License. This program is distributed in the hope that it will be useful,
3999but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
4000of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
4001is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
4002are incorporated in the source code or documentation are not subject to the BSD
4003License and may only be used or replicated with the express permission of
4004Red Hat, Inc.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004005
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004006(2) University of California, Berkeley
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004007
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004008Copyright (c) 1981-2000 The Regents of the University of California.
4009All rights reserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004010
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004011Redistribution and use in source and binary forms, with or without modification,
4012are permitted provided that the following conditions are met:
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004013
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004014 * Redistributions of source code must retain the above copyright notice,
4015 this list of conditions and the following disclaimer.
4016 * Redistributions in binary form must reproduce the above copyright notice,
4017 this list of conditions and the following disclaimer in the documentation
4018 and/or other materials provided with the distribution.
4019 * Neither the name of the University nor the names of its contributors may
4020 be used to endorse or promote products derived from this software without
4021 specific prior written permission.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004022
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004023THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
4024AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4025WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
4026IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
4027INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4028NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
4029PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
4030WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
4031ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
4032OF SUCH DAMAGE.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004033
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004034(3) DJ Delorie
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004035
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004036Copyright (C) 1993 DJ Delorie
4037All rights reserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004038
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004039Redistribution, modification, and use in source and binary forms is permitted
4040provided that the above copyright notice and following paragraph are
4041duplicated in all such forms.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004042
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004043This file is distributed WITHOUT ANY WARRANTY; without even the implied
4044warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004045
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004046(4) (formerly GPL for fr30)
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004047
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004048The GPL is no longer applicable to the fr30 platform. The piece of
4049code (syscalls.c) referencing the GPL has been officially relicensed.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004050
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004051(5) Advanced Micro Devices
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004052
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004053Copyright 1989, 1990 Advanced Micro Devices, Inc.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004054
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004055This software is the property of Advanced Micro Devices, Inc (AMD) which
4056specifically grants the user the right to modify, use and distribute this
4057software provided this notice is not removed or altered. All other rights
4058are reserved by AMD.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004059
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004060AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
4061SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
4062DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
4063USE OF THIS SOFTWARE.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004064
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004065So that all may benefit from your experience, please report any problems
4066or suggestions about this software to the 29K Technical Support Center at
4067800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
40680031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004069
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004070Advanced Micro Devices, Inc.
407129K Support Products
4072Mail Stop 573
40735900 E. Ben White Blvd.
4074Austin, TX 78741
4075800-292-9263
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004076
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004077(6) - Analog Devices, Inc. (bfin-* targets)
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004078
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004079Copyright (C) 2006, 2008, 2009, 2011, 2012 Analog Devices, Inc.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004080
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004081The authors hereby grant permission to use, copy, modify, distribute,
4082and license this software and its documentation for any purpose, provided
4083that existing copyright notices are retained in all copies and that this
4084notice is included verbatim in any distributions. No written agreement,
4085license, or royalty fee is required for any of the authorized uses.
4086Modifications to this software may be copyrighted by their authors
4087and need not follow the licensing terms described here, provided that
4088the new terms are clearly indicated on the first page of each file where
4089they apply.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004090
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004091(7) University of Utah and the Computer Systems Laboratory (CSL)
4092 [applies only to hppa*-*-pro* targets]
4093Copyright (c) 1990,1994 The University of Utah and
4094the Computer Systems Laboratory (CSL). All rights reserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004095
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004096Permission to use, copy, modify and distribute this software is hereby
4097granted provided that (1) source code retains these copyright, permission,
4098and disclaimer notices, and (2) redistributions including binaries
4099reproduce the notices in supporting documentation, and (3) all advertising
4100materials mentioning features or use of this software display the following
4101acknowledgement: ``This product includes software developed by the
4102Computer Systems Laboratory at the University of Utah.''
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004103
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004104THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
4105IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
4106ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004107
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004108CSL requests users of this software to return to csl-dist@cs.utah.edu any
4109improvements that they make and grant CSL redistribution rights.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004110
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004111(8) Sun Microsystems
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004112
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004113Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004114
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004115Developed at SunPro, a Sun Microsystems, Inc. business.
4116Permission to use, copy, modify, and distribute this
4117software is freely granted, provided that this notice is preserved.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004118
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004119(9) Hewlett Packard
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004120
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004121(c) Copyright 1986 HEWLETT-PACKARD COMPANY
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004122
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004123To anyone who acknowledges that this file is provided "AS IS"
4124without any express or implied warranty:
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004125
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004126permission to use, copy, modify, and distribute this file
4127for any purpose is hereby granted without fee, provided that
4128the above copyright notice and this notice appears in all
4129copies, and that the name of Hewlett-Packard Company not be
4130used in advertising or publicity pertaining to distribution
4131of the software without specific, written prior permission.
4132Hewlett-Packard Company makes no representations about the
4133suitability of this software for any purpose.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004134
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004135(10) Hans-Peter Nilsson
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004136
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004137Copyright (C) 2001 Hans-Peter Nilsson
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004138
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004139Permission to use, copy, modify, and distribute this software is
4140freely granted, provided that the above copyright notice, this notice
4141and the following disclaimer are preserved with no changes.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004142
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004143THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
4144IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
4145WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4146PURPOSE.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004147
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004148(11) IBM Corp. spu processor (only spu-* targets)
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004149
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004150(C) Copyright IBM Corp. 2005, 2006
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004151
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004152All rights reserved.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004153
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004154Redistribution and use in source and binary forms, with or without
4155modification, are permitted provided that the following conditions are met:
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004156
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004157 * Redistributions of source code must retain the above copyright notice,
4158this list of conditions and the following disclaimer.
4159 * Redistributions in binary form must reproduce the above copyright
4160notice, this list of conditions and the following disclaimer in the
4161documentation and/or other materials provided with the distribution.
4162 * Neither the name of IBM nor the names of its contributors may be
4163used to endorse or promote products derived from this software without
4164specific prior written permission.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004165
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004166THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
4167AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4168IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
4169ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
4170LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
4171CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
4172SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
4173INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4174CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
4175ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4176POSSIBILITY OF SUCH DAMAGE.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004177
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004178(12) Jon Beniston (only lm32-* targets)
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004179
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004180 Contributed by Jon Beniston <jon@beniston.com>
4181
4182 Redistribution and use in source and binary forms, with or without
4183 modification, are permitted provided that the following conditions
4184 are met:
4185 1. Redistributions of source code must retain the above copyright
4186 notice, this list of conditions and the following disclaimer.
4187 2. Redistributions in binary form must reproduce the above copyright
4188 notice, this list of conditions and the following disclaimer in the
4189 documentation and/or other materials provided with the distribution.
4190
4191 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
4192 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4193 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
4194 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
4195 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4196 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
4197 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4198 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
4199 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
4200 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
4201 SUCH DAMAGE.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004202
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004203(13) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004204
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004205Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004206
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004207Redistribution and use in source and binary forms, with or without
4208modification, are permitted provided that the following conditions are
4209met:
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004210
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070042111. Redistributions source code must retain the above copyright notice,
4212this list of conditions and the following disclaimer.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004213
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070042142. Redistributions in binary form must reproduce the above copyright
4215notice, this list of conditions and the following disclaimer in the
4216documentation and/or other materials provided with the distribution.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004217
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -070042183. Neither the name of Xilinx nor the names of its contributors may be
4219used to endorse or promote products derived from this software without
4220specific prior written permission.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004221
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004222THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
4223IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
4224TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
4225PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
4226HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
4227SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
4228TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
4229PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
4230LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
4231NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4232SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004233
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004234
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004235(14) - National Semiconductor Corporation
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004236
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004237Copyright (c) 2004 National Semiconductor Corporation
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004238
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004239The authors hereby grant permission to use, copy, modify, distribute,
4240and license this software and its documentation for any purpose, provided
4241that existing copyright notices are retained in all copies and that this
4242notice is included verbatim in any distributions. No written agreement,
4243license, or royalty fee is required for any of the authorized uses.
4244Modifications to this software may be copyrighted by their authors
4245and need not follow the licensing terms described here, provided that
4246the new terms are clearly indicated on the first page of each file where
4247they apply.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004248
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004249
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004250(15) - CodeSourcery, Inc. (tic6x-* targets)
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004251
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004252Copyright (c) 2010 CodeSourcery, Inc.
4253All rights reserved.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004254
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004255Redistribution and use in source and binary forms, with or without
4256modification, are permitted provided that the following conditions are met:
4257 * Redistributions of source code must retain the above copyright
4258 notice, this list of conditions and the following disclaimer.
4259 * Redistributions in binary form must reproduce the above copyright
4260 notice, this list of conditions and the following disclaimer in the
4261 documentation and/or other materials provided with the distribution.
4262 * Neither the name of CodeSourcery nor the
4263 names of its contributors may be used to endorse or promote products
4264 derived from this software without specific prior written permission.
Pirama Arumuga Nainar459be182018-06-25 10:28:41 -07004265
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004266THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY
4267EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4268WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4269DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE FOR ANY
4270DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
4271(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
4272LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
4273ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4274(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
4275SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Joshua Lang904c3632017-02-02 12:54:24 -08004276
4277
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004278(16) - GPL with exception (sparc-*leon*, crx-*, cr16-* targets only)
Joshua Lang904c3632017-02-02 12:54:24 -08004279
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004280 Copyright (C) 1992 Free Software Foundation, Inc.
4281 Written By David Vinayak Henkel-Wallace, June 1992
Joshua Lang904c3632017-02-02 12:54:24 -08004282
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004283This file is free software; you can redistribute it and/or modify it
4284under the terms of the GNU General Public License as published by the
4285Free Software Foundation; either version 2, or (at your option) any
Joshua Lang904c3632017-02-02 12:54:24 -08004286later version.
4287
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004288In addition to the permissions in the GNU General Public License, the
4289Free Software Foundation gives you unlimited permission to link the
4290compiled version of this file with other programs, and to distribute
4291those programs without any restriction coming from the use of this
4292file. (The General Public License restrictions do apply in other
4293respects; for example, they cover modification of the file, and
4294distribution when not linked into another program.)
Joshua Lang904c3632017-02-02 12:54:24 -08004295
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004296This file is distributed in the hope that it will be useful, but
4297WITHOUT ANY WARRANTY; without even the implied warranty of
4298MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4299General Public License for more details.
Joshua Lang904c3632017-02-02 12:54:24 -08004300
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004301You should have received a copy of the GNU General Public License
4302along with this program; see the file COPYING. If not, write to
4303the Free Software Foundation, 59 Temple Place - Suite 330,
4304Boston, MA 02111-1307, USA.
Joshua Lang904c3632017-02-02 12:54:24 -08004305
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004306 As a special exception, if you link this library with files
4307 compiled with GCC to produce an executable, this does not cause
4308 the resulting executable to be covered by the GNU General Public License.
4309 This exception does not however invalidate any other reasons why
4310 the executable file might be covered by the GNU General Public License.
Joshua Lang904c3632017-02-02 12:54:24 -08004311
4312
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004313(17) - Adapteva, Inc. (epiphany-* targets)
Joshua Lang904c3632017-02-02 12:54:24 -08004314
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004315Copyright (c) 2011, Adapteva, Inc.
4316All rights reserved.
Joshua Lang904c3632017-02-02 12:54:24 -08004317
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004318Redistribution and use in source and binary forms, with or without
4319modification, are permitted provided that the following conditions are met:
4320 * Redistributions of source code must retain the above copyright notice, this
4321 list of conditions and the following disclaimer.
4322 * Redistributions in binary form must reproduce the above copyright notice,
4323 this list of conditions and the following disclaimer in the documentation
4324 and/or other materials provided with the distribution.
4325 * Neither the name of Adapteva nor the names of its contributors may be used
4326 to endorse or promote products derived from this software without specific
4327 prior written permission.
Joshua Lang904c3632017-02-02 12:54:24 -08004328
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004329THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
4330ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4331WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4332DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
4333FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
4334DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
4335SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
4336CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
4337OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4338OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00004339
Joshua Lang904c3632017-02-02 12:54:24 -08004340 GNU LIBRARY GENERAL PUBLIC LICENSE
4341 Version 2, June 1991
4342
4343 Copyright (C) 1991 Free Software Foundation, Inc.
4344 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
4345 Everyone is permitted to copy and distribute verbatim copies
4346 of this license document, but changing it is not allowed.
4347
4348[This is the first released version of the library GPL. It is
4349 numbered 2 because it goes with version 2 of the ordinary GPL.]
4350
4351 Preamble
4352
4353 The licenses for most software are designed to take away your
4354freedom to share and change it. By contrast, the GNU General Public
4355Licenses are intended to guarantee your freedom to share and change
4356free software--to make sure the software is free for all its users.
4357
4358 This license, the Library General Public License, applies to some
4359specially designated Free Software Foundation software, and to any
4360other libraries whose authors decide to use it. You can use it for
4361your libraries, too.
4362
4363 When we speak of free software, we are referring to freedom, not
4364price. Our General Public Licenses are designed to make sure that you
4365have the freedom to distribute copies of free software (and charge for
4366this service if you wish), that you receive source code or can get it
4367if you want it, that you can change the software or use pieces of it
4368in new free programs; and that you know you can do these things.
4369
4370 To protect your rights, we need to make restrictions that forbid
4371anyone to deny you these rights or to ask you to surrender the rights.
4372These restrictions translate to certain responsibilities for you if
4373you distribute copies of the library, or if you modify it.
4374
4375 For example, if you distribute copies of the library, whether gratis
4376or for a fee, you must give the recipients all the rights that we gave
4377you. You must make sure that they, too, receive or can get the source
4378code. If you link a program with the library, you must provide
4379complete object files to the recipients so that they can relink them
4380with the library, after making changes to the library and recompiling
4381it. And you must show them these terms so they know their rights.
4382
4383 Our method of protecting your rights has two steps: (1) copyright
4384the library, and (2) offer you this license which gives you legal
4385permission to copy, distribute and/or modify the library.
4386
4387 Also, for each distributor's protection, we want to make certain
4388that everyone understands that there is no warranty for this free
4389library. If the library is modified by someone else and passed on, we
4390want its recipients to know that what they have is not the original
4391version, so that any problems introduced by others will not reflect on
4392the original authors' reputations.
4393
4394 Finally, any free program is threatened constantly by software
4395patents. We wish to avoid the danger that companies distributing free
4396software will individually obtain patent licenses, thus in effect
4397transforming the program into proprietary software. To prevent this,
4398we have made it clear that any patent must be licensed for everyone's
4399free use or not licensed at all.
4400
4401 Most GNU software, including some libraries, is covered by the ordinary
4402GNU General Public License, which was designed for utility programs. This
4403license, the GNU Library General Public License, applies to certain
4404designated libraries. This license is quite different from the ordinary
4405one; be sure to read it in full, and don't assume that anything in it is
4406the same as in the ordinary license.
4407
4408 The reason we have a separate public license for some libraries is that
4409they blur the distinction we usually make between modifying or adding to a
4410program and simply using it. Linking a program with a library, without
4411changing the library, is in some sense simply using the library, and is
4412analogous to running a utility program or application program. However, in
4413a textual and legal sense, the linked executable is a combined work, a
4414derivative of the original library, and the ordinary General Public License
4415treats it as such.
4416
4417 Because of this blurred distinction, using the ordinary General
4418Public License for libraries did not effectively promote software
4419sharing, because most developers did not use the libraries. We
4420concluded that weaker conditions might promote sharing better.
4421
4422 However, unrestricted linking of non-free programs would deprive the
4423users of those programs of all benefit from the free status of the
4424libraries themselves. This Library General Public License is intended to
4425permit developers of non-free programs to use free libraries, while
4426preserving your freedom as a user of such programs to change the free
4427libraries that are incorporated in them. (We have not seen how to achieve
4428this as regards changes in header files, but we have achieved it as regards
4429changes in the actual functions of the Library.) The hope is that this
4430will lead to faster development of free libraries.
4431
4432 The precise terms and conditions for copying, distribution and
4433modification follow. Pay close attention to the difference between a
4434"work based on the library" and a "work that uses the library". The
4435former contains code derived from the library, while the latter only
4436works together with the library.
4437
4438 Note that it is possible for a library to be covered by the ordinary
4439General Public License rather than by this special one.
4440
4441 GNU LIBRARY GENERAL PUBLIC LICENSE
4442 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4443
4444 0. This License Agreement applies to any software library which
4445contains a notice placed by the copyright holder or other authorized
4446party saying it may be distributed under the terms of this Library
4447General Public License (also called "this License"). Each licensee is
4448addressed as "you".
4449
4450 A "library" means a collection of software functions and/or data
4451prepared so as to be conveniently linked with application programs
4452(which use some of those functions and data) to form executables.
4453
4454 The "Library", below, refers to any such software library or work
4455which has been distributed under these terms. A "work based on the
4456Library" means either the Library or any derivative work under
4457copyright law: that is to say, a work containing the Library or a
4458portion of it, either verbatim or with modifications and/or translated
4459straightforwardly into another language. (Hereinafter, translation is
4460included without limitation in the term "modification".)
4461
4462 "Source code" for a work means the preferred form of the work for
4463making modifications to it. For a library, complete source code means
4464all the source code for all modules it contains, plus any associated
4465interface definition files, plus the scripts used to control compilation
4466and installation of the library.
4467
4468 Activities other than copying, distribution and modification are not
4469covered by this License; they are outside its scope. The act of
4470running a program using the Library is not restricted, and output from
4471such a program is covered only if its contents constitute a work based
4472on the Library (independent of the use of the Library in a tool for
4473writing it). Whether that is true depends on what the Library does
4474and what the program that uses the Library does.
4475
4476 1. You may copy and distribute verbatim copies of the Library's
4477complete source code as you receive it, in any medium, provided that
4478you conspicuously and appropriately publish on each copy an
4479appropriate copyright notice and disclaimer of warranty; keep intact
4480all the notices that refer to this License and to the absence of any
4481warranty; and distribute a copy of this License along with the
4482Library.
4483
4484 You may charge a fee for the physical act of transferring a copy,
4485and you may at your option offer warranty protection in exchange for a
4486fee.
4487
4488 2. You may modify your copy or copies of the Library or any portion
4489of it, thus forming a work based on the Library, and copy and
4490distribute such modifications or work under the terms of Section 1
4491above, provided that you also meet all of these conditions:
4492
4493 a) The modified work must itself be a software library.
4494
4495 b) You must cause the files modified to carry prominent notices
4496 stating that you changed the files and the date of any change.
4497
4498 c) You must cause the whole of the work to be licensed at no
4499 charge to all third parties under the terms of this License.
4500
4501 d) If a facility in the modified Library refers to a function or a
4502 table of data to be supplied by an application program that uses
4503 the facility, other than as an argument passed when the facility
4504 is invoked, then you must make a good faith effort to ensure that,
4505 in the event an application does not supply such function or
4506 table, the facility still operates, and performs whatever part of
4507 its purpose remains meaningful.
4508
4509 (For example, a function in a library to compute square roots has
4510 a purpose that is entirely well-defined independent of the
4511 application. Therefore, Subsection 2d requires that any
4512 application-supplied function or table used by this function must
4513 be optional: if the application does not supply it, the square
4514 root function must still compute square roots.)
4515
4516These requirements apply to the modified work as a whole. If
4517identifiable sections of that work are not derived from the Library,
4518and can be reasonably considered independent and separate works in
4519themselves, then this License, and its terms, do not apply to those
4520sections when you distribute them as separate works. But when you
4521distribute the same sections as part of a whole which is a work based
4522on the Library, the distribution of the whole must be on the terms of
4523this License, whose permissions for other licensees extend to the
4524entire whole, and thus to each and every part regardless of who wrote
4525it.
4526
4527Thus, it is not the intent of this section to claim rights or contest
4528your rights to work written entirely by you; rather, the intent is to
4529exercise the right to control the distribution of derivative or
4530collective works based on the Library.
4531
4532In addition, mere aggregation of another work not based on the Library
4533with the Library (or with a work based on the Library) on a volume of
4534a storage or distribution medium does not bring the other work under
4535the scope of this License.
4536
4537 3. You may opt to apply the terms of the ordinary GNU General Public
4538License instead of this License to a given copy of the Library. To do
4539this, you must alter all the notices that refer to this License, so
4540that they refer to the ordinary GNU General Public License, version 2,
4541instead of to this License. (If a newer version than version 2 of the
4542ordinary GNU General Public License has appeared, then you can specify
4543that version instead if you wish.) Do not make any other change in
4544these notices.
4545
4546 Once this change is made in a given copy, it is irreversible for
4547that copy, so the ordinary GNU General Public License applies to all
4548subsequent copies and derivative works made from that copy.
4549
4550 This option is useful when you wish to copy part of the code of
4551the Library into a program that is not a library.
4552
4553 4. You may copy and distribute the Library (or a portion or
4554derivative of it, under Section 2) in object code or executable form
4555under the terms of Sections 1 and 2 above provided that you accompany
4556it with the complete corresponding machine-readable source code, which
4557must be distributed under the terms of Sections 1 and 2 above on a
4558medium customarily used for software interchange.
4559
4560 If distribution of object code is made by offering access to copy
4561from a designated place, then offering equivalent access to copy the
4562source code from the same place satisfies the requirement to
4563distribute the source code, even though third parties are not
4564compelled to copy the source along with the object code.
4565
4566 5. A program that contains no derivative of any portion of the
4567Library, but is designed to work with the Library by being compiled or
4568linked with it, is called a "work that uses the Library". Such a
4569work, in isolation, is not a derivative work of the Library, and
4570therefore falls outside the scope of this License.
4571
4572 However, linking a "work that uses the Library" with the Library
4573creates an executable that is a derivative of the Library (because it
4574contains portions of the Library), rather than a "work that uses the
4575library". The executable is therefore covered by this License.
4576Section 6 states terms for distribution of such executables.
4577
4578 When a "work that uses the Library" uses material from a header file
4579that is part of the Library, the object code for the work may be a
4580derivative work of the Library even though the source code is not.
4581Whether this is true is especially significant if the work can be
4582linked without the Library, or if the work is itself a library. The
4583threshold for this to be true is not precisely defined by law.
4584
4585 If such an object file uses only numerical parameters, data
4586structure layouts and accessors, and small macros and small inline
4587functions (ten lines or less in length), then the use of the object
4588file is unrestricted, regardless of whether it is legally a derivative
4589work. (Executables containing this object code plus portions of the
4590Library will still fall under Section 6.)
4591
4592 Otherwise, if the work is a derivative of the Library, you may
4593distribute the object code for the work under the terms of Section 6.
4594Any executables containing that work also fall under Section 6,
4595whether or not they are linked directly with the Library itself.
4596
4597 6. As an exception to the Sections above, you may also compile or
4598link a "work that uses the Library" with the Library to produce a
4599work containing portions of the Library, and distribute that work
4600under terms of your choice, provided that the terms permit
4601modification of the work for the customer's own use and reverse
4602engineering for debugging such modifications.
4603
4604 You must give prominent notice with each copy of the work that the
4605Library is used in it and that the Library and its use are covered by
4606this License. You must supply a copy of this License. If the work
4607during execution displays copyright notices, you must include the
4608copyright notice for the Library among them, as well as a reference
4609directing the user to the copy of this License. Also, you must do one
4610of these things:
4611
4612 a) Accompany the work with the complete corresponding
4613 machine-readable source code for the Library including whatever
4614 changes were used in the work (which must be distributed under
4615 Sections 1 and 2 above); and, if the work is an executable linked
4616 with the Library, with the complete machine-readable "work that
4617 uses the Library", as object code and/or source code, so that the
4618 user can modify the Library and then relink to produce a modified
4619 executable containing the modified Library. (It is understood
4620 that the user who changes the contents of definitions files in the
4621 Library will not necessarily be able to recompile the application
4622 to use the modified definitions.)
4623
4624 b) Accompany the work with a written offer, valid for at
4625 least three years, to give the same user the materials
4626 specified in Subsection 6a, above, for a charge no more
4627 than the cost of performing this distribution.
4628
4629 c) If distribution of the work is made by offering access to copy
4630 from a designated place, offer equivalent access to copy the above
4631 specified materials from the same place.
4632
4633 d) Verify that the user has already received a copy of these
4634 materials or that you have already sent this user a copy.
4635
4636 For an executable, the required form of the "work that uses the
4637Library" must include any data and utility programs needed for
4638reproducing the executable from it. However, as a special exception,
4639the source code distributed need not include anything that is normally
4640distributed (in either source or binary form) with the major
4641components (compiler, kernel, and so on) of the operating system on
4642which the executable runs, unless that component itself accompanies
4643the executable.
4644
4645 It may happen that this requirement contradicts the license
4646restrictions of other proprietary libraries that do not normally
4647accompany the operating system. Such a contradiction means you cannot
4648use both them and the Library together in an executable that you
4649distribute.
4650
4651 7. You may place library facilities that are a work based on the
4652Library side-by-side in a single library together with other library
4653facilities not covered by this License, and distribute such a combined
4654library, provided that the separate distribution of the work based on
4655the Library and of the other library facilities is otherwise
4656permitted, and provided that you do these two things:
4657
4658 a) Accompany the combined library with a copy of the same work
4659 based on the Library, uncombined with any other library
4660 facilities. This must be distributed under the terms of the
4661 Sections above.
4662
4663 b) Give prominent notice with the combined library of the fact
4664 that part of it is a work based on the Library, and explaining
4665 where to find the accompanying uncombined form of the same work.
4666
4667 8. You may not copy, modify, sublicense, link with, or distribute
4668the Library except as expressly provided under this License. Any
4669attempt otherwise to copy, modify, sublicense, link with, or
4670distribute the Library is void, and will automatically terminate your
4671rights under this License. However, parties who have received copies,
4672or rights, from you under this License will not have their licenses
4673terminated so long as such parties remain in full compliance.
4674
4675 9. You are not required to accept this License, since you have not
4676signed it. However, nothing else grants you permission to modify or
4677distribute the Library or its derivative works. These actions are
4678prohibited by law if you do not accept this License. Therefore, by
4679modifying or distributing the Library (or any work based on the
4680Library), you indicate your acceptance of this License to do so, and
4681all its terms and conditions for copying, distributing or modifying
4682the Library or works based on it.
4683
4684 10. Each time you redistribute the Library (or any work based on the
4685Library), the recipient automatically receives a license from the
4686original licensor to copy, distribute, link with or modify the Library
4687subject to these terms and conditions. You may not impose any further
4688restrictions on the recipients' exercise of the rights granted herein.
4689You are not responsible for enforcing compliance by third parties to
4690this License.
4691
4692 11. If, as a consequence of a court judgment or allegation of patent
4693infringement or for any other reason (not limited to patent issues),
4694conditions are imposed on you (whether by court order, agreement or
4695otherwise) that contradict the conditions of this License, they do not
4696excuse you from the conditions of this License. If you cannot
4697distribute so as to satisfy simultaneously your obligations under this
4698License and any other pertinent obligations, then as a consequence you
4699may not distribute the Library at all. For example, if a patent
4700license would not permit royalty-free redistribution of the Library by
4701all those who receive copies directly or indirectly through you, then
4702the only way you could satisfy both it and this License would be to
4703refrain entirely from distribution of the Library.
4704
4705If any portion of this section is held invalid or unenforceable under any
4706particular circumstance, the balance of the section is intended to apply,
4707and the section as a whole is intended to apply in other circumstances.
4708
4709It is not the purpose of this section to induce you to infringe any
4710patents or other property right claims or to contest validity of any
4711such claims; this section has the sole purpose of protecting the
4712integrity of the free software distribution system which is
4713implemented by public license practices. Many people have made
4714generous contributions to the wide range of software distributed
4715through that system in reliance on consistent application of that
4716system; it is up to the author/donor to decide if he or she is willing
4717to distribute software through any other system and a licensee cannot
4718impose that choice.
4719
4720This section is intended to make thoroughly clear what is believed to
4721be a consequence of the rest of this License.
4722
4723 12. If the distribution and/or use of the Library is restricted in
4724certain countries either by patents or by copyrighted interfaces, the
4725original copyright holder who places the Library under this License may add
4726an explicit geographical distribution limitation excluding those countries,
4727so that distribution is permitted only in or among countries not thus
4728excluded. In such case, this License incorporates the limitation as if
4729written in the body of this License.
4730
4731 13. The Free Software Foundation may publish revised and/or new
4732versions of the Library General Public License from time to time.
4733Such new versions will be similar in spirit to the present version,
4734but may differ in detail to address new problems or concerns.
4735
4736Each version is given a distinguishing version number. If the Library
4737specifies a version number of this License which applies to it and
4738"any later version", you have the option of following the terms and
4739conditions either of that version or of any later version published by
4740the Free Software Foundation. If the Library does not specify a
4741license version number, you may choose any version ever published by
4742the Free Software Foundation.
4743
4744 14. If you wish to incorporate parts of the Library into other free
4745programs whose distribution conditions are incompatible with these,
4746write to the author to ask for permission. For software which is
4747copyrighted by the Free Software Foundation, write to the Free
4748Software Foundation; we sometimes make exceptions for this. Our
4749decision will be guided by the two goals of preserving the free status
4750of all derivatives of our free software and of promoting the sharing
4751and reuse of software generally.
4752
4753 NO WARRANTY
4754
4755 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
4756WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
4757EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
4758OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
4759KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
4760IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4761PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
4762LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
4763THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4764
4765 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
4766WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
4767AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
4768FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
4769CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
4770LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
4771RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
4772FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
4773SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
4774DAMAGES.
4775
4776 END OF TERMS AND CONDITIONS
4777
4778 Appendix: How to Apply These Terms to Your New Libraries
4779
4780 If you develop a new library, and you want it to be of the greatest
4781possible use to the public, we recommend making it free software that
4782everyone can redistribute and change. You can do so by permitting
4783redistribution under these terms (or, alternatively, under the terms of the
4784ordinary General Public License).
4785
4786 To apply these terms, attach the following notices to the library. It is
4787safest to attach them to the start of each source file to most effectively
4788convey the exclusion of warranty; and each file should have at least the
4789"copyright" line and a pointer to where the full notice is found.
4790
4791 <one line to give the library's name and a brief idea of what it does.>
4792 Copyright (C) <year> <name of author>
4793
4794 This library is free software; you can redistribute it and/or
4795 modify it under the terms of the GNU Library General Public
4796 License as published by the Free Software Foundation; either
4797 version 2 of the License, or (at your option) any later version.
4798
4799 This library is distributed in the hope that it will be useful,
4800 but WITHOUT ANY WARRANTY; without even the implied warranty of
4801 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4802 Library General Public License for more details.
4803
4804 You should have received a copy of the GNU Library General Public
4805 License along with this library; if not, write to the Free
4806 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
4807 MA 02110-1301, USA
4808
4809Also add information on how to contact you by electronic and paper mail.
4810
4811You should also get your employer (if you work as a programmer) or your
4812school, if any, to sign a "copyright disclaimer" for the library, if
4813necessary. Here is a sample; alter the names:
4814
4815 Yoyodyne, Inc., hereby disclaims all copyright interest in the
4816 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
4817
4818 <signature of Ty Coon>, 1 April 1990
4819 Ty Coon, President of Vice
4820
4821That's all there is to it!
Joshua Lang904c3632017-02-02 12:54:24 -08004822 GNU GENERAL PUBLIC LICENSE
4823 Version 2, June 1991
4824
4825 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07004826 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Joshua Lang904c3632017-02-02 12:54:24 -08004827 Everyone is permitted to copy and distribute verbatim copies
4828 of this license document, but changing it is not allowed.
4829
4830 Preamble
4831
4832 The licenses for most software are designed to take away your
4833freedom to share and change it. By contrast, the GNU General Public
4834License is intended to guarantee your freedom to share and change free
4835software--to make sure the software is free for all its users. This
4836General Public License applies to most of the Free Software
4837Foundation's software and to any other program whose authors commit to
4838using it. (Some other Free Software Foundation software is covered by
4839the GNU Library General Public License instead.) You can apply it to
4840your programs, too.
4841
4842 When we speak of free software, we are referring to freedom, not
4843price. Our General Public Licenses are designed to make sure that you
4844have the freedom to distribute copies of free software (and charge for
4845this service if you wish), that you receive source code or can get it
4846if you want it, that you can change the software or use pieces of it
4847in new free programs; and that you know you can do these things.
4848
4849 To protect your rights, we need to make restrictions that forbid
4850anyone to deny you these rights or to ask you to surrender the rights.
4851These restrictions translate to certain responsibilities for you if you
4852distribute copies of the software, or if you modify it.
4853
4854 For example, if you distribute copies of such a program, whether
4855gratis or for a fee, you must give the recipients all the rights that
4856you have. You must make sure that they, too, receive or can get the
4857source code. And you must show them these terms so they know their
4858rights.
4859
4860 We protect your rights with two steps: (1) copyright the software, and
4861(2) offer you this license which gives you legal permission to copy,
4862distribute and/or modify the software.
4863
4864 Also, for each author's protection and ours, we want to make certain
4865that everyone understands that there is no warranty for this free
4866software. If the software is modified by someone else and passed on, we
4867want its recipients to know that what they have is not the original, so
4868that any problems introduced by others will not reflect on the original
4869authors' reputations.
4870
4871 Finally, any free program is threatened constantly by software
4872patents. We wish to avoid the danger that redistributors of a free
4873program will individually obtain patent licenses, in effect making the
4874program proprietary. To prevent this, we have made it clear that any
4875patent must be licensed for everyone's free use or not licensed at all.
4876
4877 The precise terms and conditions for copying, distribution and
4878modification follow.
4879
4880 GNU GENERAL PUBLIC LICENSE
4881 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
4882
4883 0. This License applies to any program or other work which contains
4884a notice placed by the copyright holder saying it may be distributed
4885under the terms of this General Public License. The "Program", below,
4886refers to any such program or work, and a "work based on the Program"
4887means either the Program or any derivative work under copyright law:
4888that is to say, a work containing the Program or a portion of it,
4889either verbatim or with modifications and/or translated into another
4890language. (Hereinafter, translation is included without limitation in
4891the term "modification".) Each licensee is addressed as "you".
4892
4893Activities other than copying, distribution and modification are not
4894covered by this License; they are outside its scope. The act of
4895running the Program is not restricted, and the output from the Program
4896is covered only if its contents constitute a work based on the
4897Program (independent of having been made by running the Program).
4898Whether that is true depends on what the Program does.
4899
4900 1. You may copy and distribute verbatim copies of the Program's
4901source code as you receive it, in any medium, provided that you
4902conspicuously and appropriately publish on each copy an appropriate
4903copyright notice and disclaimer of warranty; keep intact all the
4904notices that refer to this License and to the absence of any warranty;
4905and give any other recipients of the Program a copy of this License
4906along with the Program.
4907
4908You may charge a fee for the physical act of transferring a copy, and
4909you may at your option offer warranty protection in exchange for a fee.
4910
4911 2. You may modify your copy or copies of the Program or any portion
4912of it, thus forming a work based on the Program, and copy and
4913distribute such modifications or work under the terms of Section 1
4914above, provided that you also meet all of these conditions:
4915
4916 a) You must cause the modified files to carry prominent notices
4917 stating that you changed the files and the date of any change.
4918
4919 b) You must cause any work that you distribute or publish, that in
4920 whole or in part contains or is derived from the Program or any
4921 part thereof, to be licensed as a whole at no charge to all third
4922 parties under the terms of this License.
4923
4924 c) If the modified program normally reads commands interactively
4925 when run, you must cause it, when started running for such
4926 interactive use in the most ordinary way, to print or display an
4927 announcement including an appropriate copyright notice and a
4928 notice that there is no warranty (or else, saying that you provide
4929 a warranty) and that users may redistribute the program under
4930 these conditions, and telling the user how to view a copy of this
4931 License. (Exception: if the Program itself is interactive but
4932 does not normally print such an announcement, your work based on
4933 the Program is not required to print an announcement.)
4934
4935These requirements apply to the modified work as a whole. If
4936identifiable sections of that work are not derived from the Program,
4937and can be reasonably considered independent and separate works in
4938themselves, then this License, and its terms, do not apply to those
4939sections when you distribute them as separate works. But when you
4940distribute the same sections as part of a whole which is a work based
4941on the Program, the distribution of the whole must be on the terms of
4942this License, whose permissions for other licensees extend to the
4943entire whole, and thus to each and every part regardless of who wrote it.
4944
4945Thus, it is not the intent of this section to claim rights or contest
4946your rights to work written entirely by you; rather, the intent is to
4947exercise the right to control the distribution of derivative or
4948collective works based on the Program.
4949
4950In addition, mere aggregation of another work not based on the Program
4951with the Program (or with a work based on the Program) on a volume of
4952a storage or distribution medium does not bring the other work under
4953the scope of this License.
4954
4955 3. You may copy and distribute the Program (or a work based on it,
4956under Section 2) in object code or executable form under the terms of
4957Sections 1 and 2 above provided that you also do one of the following:
4958
4959 a) Accompany it with the complete corresponding machine-readable
4960 source code, which must be distributed under the terms of Sections
4961 1 and 2 above on a medium customarily used for software interchange; or,
4962
4963 b) Accompany it with a written offer, valid for at least three
4964 years, to give any third party, for a charge no more than your
4965 cost of physically performing source distribution, a complete
4966 machine-readable copy of the corresponding source code, to be
4967 distributed under the terms of Sections 1 and 2 above on a medium
4968 customarily used for software interchange; or,
4969
4970 c) Accompany it with the information you received as to the offer
4971 to distribute corresponding source code. (This alternative is
4972 allowed only for noncommercial distribution and only if you
4973 received the program in object code or executable form with such
4974 an offer, in accord with Subsection b above.)
4975
4976The source code for a work means the preferred form of the work for
4977making modifications to it. For an executable work, complete source
4978code means all the source code for all modules it contains, plus any
4979associated interface definition files, plus the scripts used to
4980control compilation and installation of the executable. However, as a
4981special exception, the source code distributed need not include
4982anything that is normally distributed (in either source or binary
4983form) with the major components (compiler, kernel, and so on) of the
4984operating system on which the executable runs, unless that component
4985itself accompanies the executable.
4986
4987If distribution of executable or object code is made by offering
4988access to copy from a designated place, then offering equivalent
4989access to copy the source code from the same place counts as
4990distribution of the source code, even though third parties are not
4991compelled to copy the source along with the object code.
4992
4993 4. You may not copy, modify, sublicense, or distribute the Program
4994except as expressly provided under this License. Any attempt
4995otherwise to copy, modify, sublicense or distribute the Program is
4996void, and will automatically terminate your rights under this License.
4997However, parties who have received copies, or rights, from you under
4998this License will not have their licenses terminated so long as such
4999parties remain in full compliance.
5000
5001 5. You are not required to accept this License, since you have not
5002signed it. However, nothing else grants you permission to modify or
5003distribute the Program or its derivative works. These actions are
5004prohibited by law if you do not accept this License. Therefore, by
5005modifying or distributing the Program (or any work based on the
5006Program), you indicate your acceptance of this License to do so, and
5007all its terms and conditions for copying, distributing or modifying
5008the Program or works based on it.
5009
5010 6. Each time you redistribute the Program (or any work based on the
5011Program), the recipient automatically receives a license from the
5012original licensor to copy, distribute or modify the Program subject to
5013these terms and conditions. You may not impose any further
5014restrictions on the recipients' exercise of the rights granted herein.
5015You are not responsible for enforcing compliance by third parties to
5016this License.
5017
5018 7. If, as a consequence of a court judgment or allegation of patent
5019infringement or for any other reason (not limited to patent issues),
5020conditions are imposed on you (whether by court order, agreement or
5021otherwise) that contradict the conditions of this License, they do not
5022excuse you from the conditions of this License. If you cannot
5023distribute so as to satisfy simultaneously your obligations under this
5024License and any other pertinent obligations, then as a consequence you
5025may not distribute the Program at all. For example, if a patent
5026license would not permit royalty-free redistribution of the Program by
5027all those who receive copies directly or indirectly through you, then
5028the only way you could satisfy both it and this License would be to
5029refrain entirely from distribution of the Program.
5030
5031If any portion of this section is held invalid or unenforceable under
5032any particular circumstance, the balance of the section is intended to
5033apply and the section as a whole is intended to apply in other
5034circumstances.
5035
5036It is not the purpose of this section to induce you to infringe any
5037patents or other property right claims or to contest validity of any
5038such claims; this section has the sole purpose of protecting the
5039integrity of the free software distribution system, which is
5040implemented by public license practices. Many people have made
5041generous contributions to the wide range of software distributed
5042through that system in reliance on consistent application of that
5043system; it is up to the author/donor to decide if he or she is willing
5044to distribute software through any other system and a licensee cannot
5045impose that choice.
5046
5047This section is intended to make thoroughly clear what is believed to
5048be a consequence of the rest of this License.
5049
5050 8. If the distribution and/or use of the Program is restricted in
5051certain countries either by patents or by copyrighted interfaces, the
5052original copyright holder who places the Program under this License
5053may add an explicit geographical distribution limitation excluding
5054those countries, so that distribution is permitted only in or among
5055countries not thus excluded. In such case, this License incorporates
5056the limitation as if written in the body of this License.
5057
5058 9. The Free Software Foundation may publish revised and/or new versions
5059of the General Public License from time to time. Such new versions will
5060be similar in spirit to the present version, but may differ in detail to
5061address new problems or concerns.
5062
5063Each version is given a distinguishing version number. If the Program
5064specifies a version number of this License which applies to it and "any
5065later version", you have the option of following the terms and conditions
5066either of that version or of any later version published by the Free
5067Software Foundation. If the Program does not specify a version number of
5068this License, you may choose any version ever published by the Free Software
5069Foundation.
5070
5071 10. If you wish to incorporate parts of the Program into other free
5072programs whose distribution conditions are different, write to the author
5073to ask for permission. For software which is copyrighted by the Free
5074Software Foundation, write to the Free Software Foundation; we sometimes
5075make exceptions for this. Our decision will be guided by the two goals
5076of preserving the free status of all derivatives of our free software and
5077of promoting the sharing and reuse of software generally.
5078
5079 NO WARRANTY
5080
5081 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
5082FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
5083OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
5084PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
5085OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
5086MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
5087TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
5088PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
5089REPAIR OR CORRECTION.
5090
5091 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5092WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
5093REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
5094INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
5095OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
5096TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
5097YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
5098PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
5099POSSIBILITY OF SUCH DAMAGES.
5100
5101 END OF TERMS AND CONDITIONS
5102
5103 How to Apply These Terms to Your New Programs
5104
5105 If you develop a new program, and you want it to be of the greatest
5106possible use to the public, the best way to achieve this is to make it
5107free software which everyone can redistribute and change under these terms.
5108
5109 To do so, attach the following notices to the program. It is safest
5110to attach them to the start of each source file to most effectively
5111convey the exclusion of warranty; and each file should have at least
5112the "copyright" line and a pointer to where the full notice is found.
5113
5114 <one line to give the program's name and a brief idea of what it does.>
5115 Copyright (C) <year> <name of author>
5116
5117 This program is free software; you can redistribute it and/or modify
5118 it under the terms of the GNU General Public License as published by
5119 the Free Software Foundation; either version 2 of the License, or
5120 (at your option) any later version.
5121
5122 This program is distributed in the hope that it will be useful,
5123 but WITHOUT ANY WARRANTY; without even the implied warranty of
5124 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5125 GNU General Public License for more details.
5126
5127 You should have received a copy of the GNU General Public License
5128 along with this program; if not, write to the Free Software
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07005129 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Joshua Lang904c3632017-02-02 12:54:24 -08005130
5131
5132Also add information on how to contact you by electronic and paper mail.
5133
5134If the program is interactive, make it output a short notice like this
5135when it starts in an interactive mode:
5136
5137 Gnomovision version 69, Copyright (C) year name of author
5138 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5139 This is free software, and you are welcome to redistribute it
5140 under certain conditions; type `show c' for details.
5141
5142The hypothetical commands `show w' and `show c' should show the appropriate
5143parts of the General Public License. Of course, the commands you use may
5144be called something other than `show w' and `show c'; they could even be
5145mouse-clicks or menu items--whatever suits your program.
5146
5147You should also get your employer (if you work as a programmer) or your
5148school, if any, to sign a "copyright disclaimer" for the program, if
5149necessary. Here is a sample; alter the names:
5150
5151 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
5152 `Gnomovision' (which makes passes at compilers) written by James Hacker.
5153
5154 <signature of Ty Coon>, 1 April 1989
5155 Ty Coon, President of Vice
5156
5157This General Public License does not permit incorporating your program into
5158proprietary programs. If your program is a subroutine library, you may
5159consider it more useful to permit linking proprietary applications with the
5160library. If this is what you want to do, use the GNU Library General
5161Public License instead of this License.
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07005162 GNU GENERAL PUBLIC LICENSE
5163 Version 3, 29 June 2007
5164
5165 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5166 Everyone is permitted to copy and distribute verbatim copies
5167 of this license document, but changing it is not allowed.
5168
5169 Preamble
5170
5171 The GNU General Public License is a free, copyleft license for
5172software and other kinds of works.
5173
5174 The licenses for most software and other practical works are designed
5175to take away your freedom to share and change the works. By contrast,
5176the GNU General Public License is intended to guarantee your freedom to
5177share and change all versions of a program--to make sure it remains free
5178software for all its users. We, the Free Software Foundation, use the
5179GNU General Public License for most of our software; it applies also to
5180any other work released this way by its authors. You can apply it to
5181your programs, too.
5182
5183 When we speak of free software, we are referring to freedom, not
5184price. Our General Public Licenses are designed to make sure that you
5185have the freedom to distribute copies of free software (and charge for
5186them if you wish), that you receive source code or can get it if you
5187want it, that you can change the software or use pieces of it in new
5188free programs, and that you know you can do these things.
5189
5190 To protect your rights, we need to prevent others from denying you
5191these rights or asking you to surrender the rights. Therefore, you have
5192certain responsibilities if you distribute copies of the software, or if
5193you modify it: responsibilities to respect the freedom of others.
5194
5195 For example, if you distribute copies of such a program, whether
5196gratis or for a fee, you must pass on to the recipients the same
5197freedoms that you received. You must make sure that they, too, receive
5198or can get the source code. And you must show them these terms so they
5199know their rights.
5200
5201 Developers that use the GNU GPL protect your rights with two steps:
5202(1) assert copyright on the software, and (2) offer you this License
5203giving you legal permission to copy, distribute and/or modify it.
5204
5205 For the developers' and authors' protection, the GPL clearly explains
5206that there is no warranty for this free software. For both users' and
5207authors' sake, the GPL requires that modified versions be marked as
5208changed, so that their problems will not be attributed erroneously to
5209authors of previous versions.
5210
5211 Some devices are designed to deny users access to install or run
5212modified versions of the software inside them, although the manufacturer
5213can do so. This is fundamentally incompatible with the aim of
5214protecting users' freedom to change the software. The systematic
5215pattern of such abuse occurs in the area of products for individuals to
5216use, which is precisely where it is most unacceptable. Therefore, we
5217have designed this version of the GPL to prohibit the practice for those
5218products. If such problems arise substantially in other domains, we
5219stand ready to extend this provision to those domains in future versions
5220of the GPL, as needed to protect the freedom of users.
5221
5222 Finally, every program is threatened constantly by software patents.
5223States should not allow patents to restrict development and use of
5224software on general-purpose computers, but in those that do, we wish to
5225avoid the special danger that patents applied to a free program could
5226make it effectively proprietary. To prevent this, the GPL assures that
5227patents cannot be used to render the program non-free.
5228
5229 The precise terms and conditions for copying, distribution and
5230modification follow.
5231
5232 TERMS AND CONDITIONS
5233
5234 0. Definitions.
5235
5236 "This License" refers to version 3 of the GNU General Public License.
5237
5238 "Copyright" also means copyright-like laws that apply to other kinds of
5239works, such as semiconductor masks.
5240
5241 "The Program" refers to any copyrightable work licensed under this
5242License. Each licensee is addressed as "you". "Licensees" and
5243"recipients" may be individuals or organizations.
5244
5245 To "modify" a work means to copy from or adapt all or part of the work
5246in a fashion requiring copyright permission, other than the making of an
5247exact copy. The resulting work is called a "modified version" of the
5248earlier work or a work "based on" the earlier work.
5249
5250 A "covered work" means either the unmodified Program or a work based
5251on the Program.
5252
5253 To "propagate" a work means to do anything with it that, without
5254permission, would make you directly or secondarily liable for
5255infringement under applicable copyright law, except executing it on a
5256computer or modifying a private copy. Propagation includes copying,
5257distribution (with or without modification), making available to the
5258public, and in some countries other activities as well.
5259
5260 To "convey" a work means any kind of propagation that enables other
5261parties to make or receive copies. Mere interaction with a user through
5262a computer network, with no transfer of a copy, is not conveying.
5263
5264 An interactive user interface displays "Appropriate Legal Notices"
5265to the extent that it includes a convenient and prominently visible
5266feature that (1) displays an appropriate copyright notice, and (2)
5267tells the user that there is no warranty for the work (except to the
5268extent that warranties are provided), that licensees may convey the
5269work under this License, and how to view a copy of this License. If
5270the interface presents a list of user commands or options, such as a
5271menu, a prominent item in the list meets this criterion.
5272
5273 1. Source Code.
5274
5275 The "source code" for a work means the preferred form of the work
5276for making modifications to it. "Object code" means any non-source
5277form of a work.
5278
5279 A "Standard Interface" means an interface that either is an official
5280standard defined by a recognized standards body, or, in the case of
5281interfaces specified for a particular programming language, one that
5282is widely used among developers working in that language.
5283
5284 The "System Libraries" of an executable work include anything, other
5285than the work as a whole, that (a) is included in the normal form of
5286packaging a Major Component, but which is not part of that Major
5287Component, and (b) serves only to enable use of the work with that
5288Major Component, or to implement a Standard Interface for which an
5289implementation is available to the public in source code form. A
5290"Major Component", in this context, means a major essential component
5291(kernel, window system, and so on) of the specific operating system
5292(if any) on which the executable work runs, or a compiler used to
5293produce the work, or an object code interpreter used to run it.
5294
5295 The "Corresponding Source" for a work in object code form means all
5296the source code needed to generate, install, and (for an executable
5297work) run the object code and to modify the work, including scripts to
5298control those activities. However, it does not include the work's
5299System Libraries, or general-purpose tools or generally available free
5300programs which are used unmodified in performing those activities but
5301which are not part of the work. For example, Corresponding Source
5302includes interface definition files associated with source files for
5303the work, and the source code for shared libraries and dynamically
5304linked subprograms that the work is specifically designed to require,
5305such as by intimate data communication or control flow between those
5306subprograms and other parts of the work.
5307
5308 The Corresponding Source need not include anything that users
5309can regenerate automatically from other parts of the Corresponding
5310Source.
5311
5312 The Corresponding Source for a work in source code form is that
5313same work.
5314
5315 2. Basic Permissions.
5316
5317 All rights granted under this License are granted for the term of
5318copyright on the Program, and are irrevocable provided the stated
5319conditions are met. This License explicitly affirms your unlimited
5320permission to run the unmodified Program. The output from running a
5321covered work is covered by this License only if the output, given its
5322content, constitutes a covered work. This License acknowledges your
5323rights of fair use or other equivalent, as provided by copyright law.
5324
5325 You may make, run and propagate covered works that you do not
5326convey, without conditions so long as your license otherwise remains
5327in force. You may convey covered works to others for the sole purpose
5328of having them make modifications exclusively for you, or provide you
5329with facilities for running those works, provided that you comply with
5330the terms of this License in conveying all material for which you do
5331not control copyright. Those thus making or running the covered works
5332for you must do so exclusively on your behalf, under your direction
5333and control, on terms that prohibit them from making any copies of
5334your copyrighted material outside their relationship with you.
5335
5336 Conveying under any other circumstances is permitted solely under
5337the conditions stated below. Sublicensing is not allowed; section 10
5338makes it unnecessary.
5339
5340 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
5341
5342 No covered work shall be deemed part of an effective technological
5343measure under any applicable law fulfilling obligations under article
534411 of the WIPO copyright treaty adopted on 20 December 1996, or
5345similar laws prohibiting or restricting circumvention of such
5346measures.
5347
5348 When you convey a covered work, you waive any legal power to forbid
5349circumvention of technological measures to the extent such circumvention
5350is effected by exercising rights under this License with respect to
5351the covered work, and you disclaim any intention to limit operation or
5352modification of the work as a means of enforcing, against the work's
5353users, your or third parties' legal rights to forbid circumvention of
5354technological measures.
5355
5356 4. Conveying Verbatim Copies.
5357
5358 You may convey verbatim copies of the Program's source code as you
5359receive it, in any medium, provided that you conspicuously and
5360appropriately publish on each copy an appropriate copyright notice;
5361keep intact all notices stating that this License and any
5362non-permissive terms added in accord with section 7 apply to the code;
5363keep intact all notices of the absence of any warranty; and give all
5364recipients a copy of this License along with the Program.
5365
5366 You may charge any price or no price for each copy that you convey,
5367and you may offer support or warranty protection for a fee.
5368
5369 5. Conveying Modified Source Versions.
5370
5371 You may convey a work based on the Program, or the modifications to
5372produce it from the Program, in the form of source code under the
5373terms of section 4, provided that you also meet all of these conditions:
5374
5375 a) The work must carry prominent notices stating that you modified
5376 it, and giving a relevant date.
5377
5378 b) The work must carry prominent notices stating that it is
5379 released under this License and any conditions added under section
5380 7. This requirement modifies the requirement in section 4 to
5381 "keep intact all notices".
5382
5383 c) You must license the entire work, as a whole, under this
5384 License to anyone who comes into possession of a copy. This
5385 License will therefore apply, along with any applicable section 7
5386 additional terms, to the whole of the work, and all its parts,
5387 regardless of how they are packaged. This License gives no
5388 permission to license the work in any other way, but it does not
5389 invalidate such permission if you have separately received it.
5390
5391 d) If the work has interactive user interfaces, each must display
5392 Appropriate Legal Notices; however, if the Program has interactive
5393 interfaces that do not display Appropriate Legal Notices, your
5394 work need not make them do so.
5395
5396 A compilation of a covered work with other separate and independent
5397works, which are not by their nature extensions of the covered work,
5398and which are not combined with it such as to form a larger program,
5399in or on a volume of a storage or distribution medium, is called an
5400"aggregate" if the compilation and its resulting copyright are not
5401used to limit the access or legal rights of the compilation's users
5402beyond what the individual works permit. Inclusion of a covered work
5403in an aggregate does not cause this License to apply to the other
5404parts of the aggregate.
5405
5406 6. Conveying Non-Source Forms.
5407
5408 You may convey a covered work in object code form under the terms
5409of sections 4 and 5, provided that you also convey the
5410machine-readable Corresponding Source under the terms of this License,
5411in one of these ways:
5412
5413 a) Convey the object code in, or embodied in, a physical product
5414 (including a physical distribution medium), accompanied by the
5415 Corresponding Source fixed on a durable physical medium
5416 customarily used for software interchange.
5417
5418 b) Convey the object code in, or embodied in, a physical product
5419 (including a physical distribution medium), accompanied by a
5420 written offer, valid for at least three years and valid for as
5421 long as you offer spare parts or customer support for that product
5422 model, to give anyone who possesses the object code either (1) a
5423 copy of the Corresponding Source for all the software in the
5424 product that is covered by this License, on a durable physical
5425 medium customarily used for software interchange, for a price no
5426 more than your reasonable cost of physically performing this
5427 conveying of source, or (2) access to copy the
5428 Corresponding Source from a network server at no charge.
5429
5430 c) Convey individual copies of the object code with a copy of the
5431 written offer to provide the Corresponding Source. This
5432 alternative is allowed only occasionally and noncommercially, and
5433 only if you received the object code with such an offer, in accord
5434 with subsection 6b.
5435
5436 d) Convey the object code by offering access from a designated
5437 place (gratis or for a charge), and offer equivalent access to the
5438 Corresponding Source in the same way through the same place at no
5439 further charge. You need not require recipients to copy the
5440 Corresponding Source along with the object code. If the place to
5441 copy the object code is a network server, the Corresponding Source
5442 may be on a different server (operated by you or a third party)
5443 that supports equivalent copying facilities, provided you maintain
5444 clear directions next to the object code saying where to find the
5445 Corresponding Source. Regardless of what server hosts the
5446 Corresponding Source, you remain obligated to ensure that it is
5447 available for as long as needed to satisfy these requirements.
5448
5449 e) Convey the object code using peer-to-peer transmission, provided
5450 you inform other peers where the object code and Corresponding
5451 Source of the work are being offered to the general public at no
5452 charge under subsection 6d.
5453
5454 A separable portion of the object code, whose source code is excluded
5455from the Corresponding Source as a System Library, need not be
5456included in conveying the object code work.
5457
5458 A "User Product" is either (1) a "consumer product", which means any
5459tangible personal property which is normally used for personal, family,
5460or household purposes, or (2) anything designed or sold for incorporation
5461into a dwelling. In determining whether a product is a consumer product,
5462doubtful cases shall be resolved in favor of coverage. For a particular
5463product received by a particular user, "normally used" refers to a
5464typical or common use of that class of product, regardless of the status
5465of the particular user or of the way in which the particular user
5466actually uses, or expects or is expected to use, the product. A product
5467is a consumer product regardless of whether the product has substantial
5468commercial, industrial or non-consumer uses, unless such uses represent
5469the only significant mode of use of the product.
5470
5471 "Installation Information" for a User Product means any methods,
5472procedures, authorization keys, or other information required to install
5473and execute modified versions of a covered work in that User Product from
5474a modified version of its Corresponding Source. The information must
5475suffice to ensure that the continued functioning of the modified object
5476code is in no case prevented or interfered with solely because
5477modification has been made.
5478
5479 If you convey an object code work under this section in, or with, or
5480specifically for use in, a User Product, and the conveying occurs as
5481part of a transaction in which the right of possession and use of the
5482User Product is transferred to the recipient in perpetuity or for a
5483fixed term (regardless of how the transaction is characterized), the
5484Corresponding Source conveyed under this section must be accompanied
5485by the Installation Information. But this requirement does not apply
5486if neither you nor any third party retains the ability to install
5487modified object code on the User Product (for example, the work has
5488been installed in ROM).
5489
5490 The requirement to provide Installation Information does not include a
5491requirement to continue to provide support service, warranty, or updates
5492for a work that has been modified or installed by the recipient, or for
5493the User Product in which it has been modified or installed. Access to a
5494network may be denied when the modification itself materially and
5495adversely affects the operation of the network or violates the rules and
5496protocols for communication across the network.
5497
5498 Corresponding Source conveyed, and Installation Information provided,
5499in accord with this section must be in a format that is publicly
5500documented (and with an implementation available to the public in
5501source code form), and must require no special password or key for
5502unpacking, reading or copying.
5503
5504 7. Additional Terms.
5505
5506 "Additional permissions" are terms that supplement the terms of this
5507License by making exceptions from one or more of its conditions.
5508Additional permissions that are applicable to the entire Program shall
5509be treated as though they were included in this License, to the extent
5510that they are valid under applicable law. If additional permissions
5511apply only to part of the Program, that part may be used separately
5512under those permissions, but the entire Program remains governed by
5513this License without regard to the additional permissions.
5514
5515 When you convey a copy of a covered work, you may at your option
5516remove any additional permissions from that copy, or from any part of
5517it. (Additional permissions may be written to require their own
5518removal in certain cases when you modify the work.) You may place
5519additional permissions on material, added by you to a covered work,
5520for which you have or can give appropriate copyright permission.
5521
5522 Notwithstanding any other provision of this License, for material you
5523add to a covered work, you may (if authorized by the copyright holders of
5524that material) supplement the terms of this License with terms:
5525
5526 a) Disclaiming warranty or limiting liability differently from the
5527 terms of sections 15 and 16 of this License; or
5528
5529 b) Requiring preservation of specified reasonable legal notices or
5530 author attributions in that material or in the Appropriate Legal
5531 Notices displayed by works containing it; or
5532
5533 c) Prohibiting misrepresentation of the origin of that material, or
5534 requiring that modified versions of such material be marked in
5535 reasonable ways as different from the original version; or
5536
5537 d) Limiting the use for publicity purposes of names of licensors or
5538 authors of the material; or
5539
5540 e) Declining to grant rights under trademark law for use of some
5541 trade names, trademarks, or service marks; or
5542
5543 f) Requiring indemnification of licensors and authors of that
5544 material by anyone who conveys the material (or modified versions of
5545 it) with contractual assumptions of liability to the recipient, for
5546 any liability that these contractual assumptions directly impose on
5547 those licensors and authors.
5548
5549 All other non-permissive additional terms are considered "further
5550restrictions" within the meaning of section 10. If the Program as you
5551received it, or any part of it, contains a notice stating that it is
5552governed by this License along with a term that is a further
5553restriction, you may remove that term. If a license document contains
5554a further restriction but permits relicensing or conveying under this
5555License, you may add to a covered work material governed by the terms
5556of that license document, provided that the further restriction does
5557not survive such relicensing or conveying.
5558
5559 If you add terms to a covered work in accord with this section, you
5560must place, in the relevant source files, a statement of the
5561additional terms that apply to those files, or a notice indicating
5562where to find the applicable terms.
5563
5564 Additional terms, permissive or non-permissive, may be stated in the
5565form of a separately written license, or stated as exceptions;
5566the above requirements apply either way.
5567
5568 8. Termination.
5569
5570 You may not propagate or modify a covered work except as expressly
5571provided under this License. Any attempt otherwise to propagate or
5572modify it is void, and will automatically terminate your rights under
5573this License (including any patent licenses granted under the third
5574paragraph of section 11).
5575
5576 However, if you cease all violation of this License, then your
5577license from a particular copyright holder is reinstated (a)
5578provisionally, unless and until the copyright holder explicitly and
5579finally terminates your license, and (b) permanently, if the copyright
5580holder fails to notify you of the violation by some reasonable means
5581prior to 60 days after the cessation.
5582
5583 Moreover, your license from a particular copyright holder is
5584reinstated permanently if the copyright holder notifies you of the
5585violation by some reasonable means, this is the first time you have
5586received notice of violation of this License (for any work) from that
5587copyright holder, and you cure the violation prior to 30 days after
5588your receipt of the notice.
5589
5590 Termination of your rights under this section does not terminate the
5591licenses of parties who have received copies or rights from you under
5592this License. If your rights have been terminated and not permanently
5593reinstated, you do not qualify to receive new licenses for the same
5594material under section 10.
5595
5596 9. Acceptance Not Required for Having Copies.
5597
5598 You are not required to accept this License in order to receive or
5599run a copy of the Program. Ancillary propagation of a covered work
5600occurring solely as a consequence of using peer-to-peer transmission
5601to receive a copy likewise does not require acceptance. However,
5602nothing other than this License grants you permission to propagate or
5603modify any covered work. These actions infringe copyright if you do
5604not accept this License. Therefore, by modifying or propagating a
5605covered work, you indicate your acceptance of this License to do so.
5606
5607 10. Automatic Licensing of Downstream Recipients.
5608
5609 Each time you convey a covered work, the recipient automatically
5610receives a license from the original licensors, to run, modify and
5611propagate that work, subject to this License. You are not responsible
5612for enforcing compliance by third parties with this License.
5613
5614 An "entity transaction" is a transaction transferring control of an
5615organization, or substantially all assets of one, or subdividing an
5616organization, or merging organizations. If propagation of a covered
5617work results from an entity transaction, each party to that
5618transaction who receives a copy of the work also receives whatever
5619licenses to the work the party's predecessor in interest had or could
5620give under the previous paragraph, plus a right to possession of the
5621Corresponding Source of the work from the predecessor in interest, if
5622the predecessor has it or can get it with reasonable efforts.
5623
5624 You may not impose any further restrictions on the exercise of the
5625rights granted or affirmed under this License. For example, you may
5626not impose a license fee, royalty, or other charge for exercise of
5627rights granted under this License, and you may not initiate litigation
5628(including a cross-claim or counterclaim in a lawsuit) alleging that
5629any patent claim is infringed by making, using, selling, offering for
5630sale, or importing the Program or any portion of it.
5631
5632 11. Patents.
5633
5634 A "contributor" is a copyright holder who authorizes use under this
5635License of the Program or a work on which the Program is based. The
5636work thus licensed is called the contributor's "contributor version".
5637
5638 A contributor's "essential patent claims" are all patent claims
5639owned or controlled by the contributor, whether already acquired or
5640hereafter acquired, that would be infringed by some manner, permitted
5641by this License, of making, using, or selling its contributor version,
5642but do not include claims that would be infringed only as a
5643consequence of further modification of the contributor version. For
5644purposes of this definition, "control" includes the right to grant
5645patent sublicenses in a manner consistent with the requirements of
5646this License.
5647
5648 Each contributor grants you a non-exclusive, worldwide, royalty-free
5649patent license under the contributor's essential patent claims, to
5650make, use, sell, offer for sale, import and otherwise run, modify and
5651propagate the contents of its contributor version.
5652
5653 In the following three paragraphs, a "patent license" is any express
5654agreement or commitment, however denominated, not to enforce a patent
5655(such as an express permission to practice a patent or covenant not to
5656sue for patent infringement). To "grant" such a patent license to a
5657party means to make such an agreement or commitment not to enforce a
5658patent against the party.
5659
5660 If you convey a covered work, knowingly relying on a patent license,
5661and the Corresponding Source of the work is not available for anyone
5662to copy, free of charge and under the terms of this License, through a
5663publicly available network server or other readily accessible means,
5664then you must either (1) cause the Corresponding Source to be so
5665available, or (2) arrange to deprive yourself of the benefit of the
5666patent license for this particular work, or (3) arrange, in a manner
5667consistent with the requirements of this License, to extend the patent
5668license to downstream recipients. "Knowingly relying" means you have
5669actual knowledge that, but for the patent license, your conveying the
5670covered work in a country, or your recipient's use of the covered work
5671in a country, would infringe one or more identifiable patents in that
5672country that you have reason to believe are valid.
5673
5674 If, pursuant to or in connection with a single transaction or
5675arrangement, you convey, or propagate by procuring conveyance of, a
5676covered work, and grant a patent license to some of the parties
5677receiving the covered work authorizing them to use, propagate, modify
5678or convey a specific copy of the covered work, then the patent license
5679you grant is automatically extended to all recipients of the covered
5680work and works based on it.
5681
5682 A patent license is "discriminatory" if it does not include within
5683the scope of its coverage, prohibits the exercise of, or is
5684conditioned on the non-exercise of one or more of the rights that are
5685specifically granted under this License. You may not convey a covered
5686work if you are a party to an arrangement with a third party that is
5687in the business of distributing software, under which you make payment
5688to the third party based on the extent of your activity of conveying
5689the work, and under which the third party grants, to any of the
5690parties who would receive the covered work from you, a discriminatory
5691patent license (a) in connection with copies of the covered work
5692conveyed by you (or copies made from those copies), or (b) primarily
5693for and in connection with specific products or compilations that
5694contain the covered work, unless you entered into that arrangement,
5695or that patent license was granted, prior to 28 March 2007.
5696
5697 Nothing in this License shall be construed as excluding or limiting
5698any implied license or other defenses to infringement that may
5699otherwise be available to you under applicable patent law.
5700
5701 12. No Surrender of Others' Freedom.
5702
5703 If conditions are imposed on you (whether by court order, agreement or
5704otherwise) that contradict the conditions of this License, they do not
5705excuse you from the conditions of this License. If you cannot convey a
5706covered work so as to satisfy simultaneously your obligations under this
5707License and any other pertinent obligations, then as a consequence you may
5708not convey it at all. For example, if you agree to terms that obligate you
5709to collect a royalty for further conveying from those to whom you convey
5710the Program, the only way you could satisfy both those terms and this
5711License would be to refrain entirely from conveying the Program.
5712
5713 13. Use with the GNU Affero General Public License.
5714
5715 Notwithstanding any other provision of this License, you have
5716permission to link or combine any covered work with a work licensed
5717under version 3 of the GNU Affero General Public License into a single
5718combined work, and to convey the resulting work. The terms of this
5719License will continue to apply to the part which is the covered work,
5720but the special requirements of the GNU Affero General Public License,
5721section 13, concerning interaction through a network will apply to the
5722combination as such.
5723
5724 14. Revised Versions of this License.
5725
5726 The Free Software Foundation may publish revised and/or new versions of
5727the GNU General Public License from time to time. Such new versions will
5728be similar in spirit to the present version, but may differ in detail to
5729address new problems or concerns.
5730
5731 Each version is given a distinguishing version number. If the
5732Program specifies that a certain numbered version of the GNU General
5733Public License "or any later version" applies to it, you have the
5734option of following the terms and conditions either of that numbered
5735version or of any later version published by the Free Software
5736Foundation. If the Program does not specify a version number of the
5737GNU General Public License, you may choose any version ever published
5738by the Free Software Foundation.
5739
5740 If the Program specifies that a proxy can decide which future
5741versions of the GNU General Public License can be used, that proxy's
5742public statement of acceptance of a version permanently authorizes you
5743to choose that version for the Program.
5744
5745 Later license versions may give you additional or different
5746permissions. However, no additional obligations are imposed on any
5747author or copyright holder as a result of your choosing to follow a
5748later version.
5749
5750 15. Disclaimer of Warranty.
5751
5752 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
5753APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
5754HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
5755OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
5756THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
5757PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
5758IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
5759ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
5760
5761 16. Limitation of Liability.
5762
5763 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5764WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
5765THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
5766GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
5767USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
5768DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
5769PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
5770EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
5771SUCH DAMAGES.
5772
5773 17. Interpretation of Sections 15 and 16.
5774
5775 If the disclaimer of warranty and limitation of liability provided
5776above cannot be given local legal effect according to their terms,
5777reviewing courts shall apply local law that most closely approximates
5778an absolute waiver of all civil liability in connection with the
5779Program, unless a warranty or assumption of liability accompanies a
5780copy of the Program in return for a fee.
5781
5782 END OF TERMS AND CONDITIONS
5783
5784 How to Apply These Terms to Your New Programs
5785
5786 If you develop a new program, and you want it to be of the greatest
5787possible use to the public, the best way to achieve this is to make it
5788free software which everyone can redistribute and change under these terms.
5789
5790 To do so, attach the following notices to the program. It is safest
5791to attach them to the start of each source file to most effectively
5792state the exclusion of warranty; and each file should have at least
5793the "copyright" line and a pointer to where the full notice is found.
5794
5795 <one line to give the program's name and a brief idea of what it does.>
5796 Copyright (C) <year> <name of author>
5797
5798 This program is free software: you can redistribute it and/or modify
5799 it under the terms of the GNU General Public License as published by
5800 the Free Software Foundation, either version 3 of the License, or
5801 (at your option) any later version.
5802
5803 This program is distributed in the hope that it will be useful,
5804 but WITHOUT ANY WARRANTY; without even the implied warranty of
5805 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5806 GNU General Public License for more details.
5807
5808 You should have received a copy of the GNU General Public License
5809 along with this program. If not, see <http://www.gnu.org/licenses/>.
5810
5811Also add information on how to contact you by electronic and paper mail.
5812
5813 If the program does terminal interaction, make it output a short
5814notice like this when it starts in an interactive mode:
5815
5816 <program> Copyright (C) <year> <name of author>
5817 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5818 This is free software, and you are welcome to redistribute it
5819 under certain conditions; type `show c' for details.
5820
5821The hypothetical commands `show w' and `show c' should show the appropriate
5822parts of the General Public License. Of course, your program's commands
5823might be different; for a GUI interface, you would use an "about box".
5824
5825 You should also get your employer (if you work as a programmer) or school,
5826if any, to sign a "copyright disclaimer" for the program, if necessary.
5827For more information on this, and how to apply and follow the GNU GPL, see
5828<http://www.gnu.org/licenses/>.
5829
5830 The GNU General Public License does not permit incorporating your program
5831into proprietary programs. If your program is a subroutine library, you
5832may consider it more useful to permit linking proprietary applications with
5833the library. If this is what you want to do, use the GNU Lesser General
5834Public License instead of this License. But first, please read
5835<http://www.gnu.org/philosophy/why-not-lgpl.html>.
5836 GNU GENERAL PUBLIC LICENSE
5837 Version 2, June 1991
5838
5839 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5840 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5841 Everyone is permitted to copy and distribute verbatim copies
5842 of this license document, but changing it is not allowed.
5843
5844 Preamble
5845
5846 The licenses for most software are designed to take away your
5847freedom to share and change it. By contrast, the GNU General Public
5848License is intended to guarantee your freedom to share and change free
5849software--to make sure the software is free for all its users. This
5850General Public License applies to most of the Free Software
5851Foundation's software and to any other program whose authors commit to
5852using it. (Some other Free Software Foundation software is covered by
5853the GNU Library General Public License instead.) You can apply it to
5854your programs, too.
5855
5856 When we speak of free software, we are referring to freedom, not
5857price. Our General Public Licenses are designed to make sure that you
5858have the freedom to distribute copies of free software (and charge for
5859this service if you wish), that you receive source code or can get it
5860if you want it, that you can change the software or use pieces of it
5861in new free programs; and that you know you can do these things.
5862
5863 To protect your rights, we need to make restrictions that forbid
5864anyone to deny you these rights or to ask you to surrender the rights.
5865These restrictions translate to certain responsibilities for you if you
5866distribute copies of the software, or if you modify it.
5867
5868 For example, if you distribute copies of such a program, whether
5869gratis or for a fee, you must give the recipients all the rights that
5870you have. You must make sure that they, too, receive or can get the
5871source code. And you must show them these terms so they know their
5872rights.
5873
5874 We protect your rights with two steps: (1) copyright the software, and
5875(2) offer you this license which gives you legal permission to copy,
5876distribute and/or modify the software.
5877
5878 Also, for each author's protection and ours, we want to make certain
5879that everyone understands that there is no warranty for this free
5880software. If the software is modified by someone else and passed on, we
5881want its recipients to know that what they have is not the original, so
5882that any problems introduced by others will not reflect on the original
5883authors' reputations.
5884
5885 Finally, any free program is threatened constantly by software
5886patents. We wish to avoid the danger that redistributors of a free
5887program will individually obtain patent licenses, in effect making the
5888program proprietary. To prevent this, we have made it clear that any
5889patent must be licensed for everyone's free use or not licensed at all.
5890
5891 The precise terms and conditions for copying, distribution and
5892modification follow.
5893
5894 GNU GENERAL PUBLIC LICENSE
5895 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5896
5897 0. This License applies to any program or other work which contains
5898a notice placed by the copyright holder saying it may be distributed
5899under the terms of this General Public License. The "Program", below,
5900refers to any such program or work, and a "work based on the Program"
5901means either the Program or any derivative work under copyright law:
5902that is to say, a work containing the Program or a portion of it,
5903either verbatim or with modifications and/or translated into another
5904language. (Hereinafter, translation is included without limitation in
5905the term "modification".) Each licensee is addressed as "you".
5906
5907Activities other than copying, distribution and modification are not
5908covered by this License; they are outside its scope. The act of
5909running the Program is not restricted, and the output from the Program
5910is covered only if its contents constitute a work based on the
5911Program (independent of having been made by running the Program).
5912Whether that is true depends on what the Program does.
5913
5914 1. You may copy and distribute verbatim copies of the Program's
5915source code as you receive it, in any medium, provided that you
5916conspicuously and appropriately publish on each copy an appropriate
5917copyright notice and disclaimer of warranty; keep intact all the
5918notices that refer to this License and to the absence of any warranty;
5919and give any other recipients of the Program a copy of this License
5920along with the Program.
5921
5922You may charge a fee for the physical act of transferring a copy, and
5923you may at your option offer warranty protection in exchange for a fee.
5924
5925 2. You may modify your copy or copies of the Program or any portion
5926of it, thus forming a work based on the Program, and copy and
5927distribute such modifications or work under the terms of Section 1
5928above, provided that you also meet all of these conditions:
5929
5930 a) You must cause the modified files to carry prominent notices
5931 stating that you changed the files and the date of any change.
5932
5933 b) You must cause any work that you distribute or publish, that in
5934 whole or in part contains or is derived from the Program or any
5935 part thereof, to be licensed as a whole at no charge to all third
5936 parties under the terms of this License.
5937
5938 c) If the modified program normally reads commands interactively
5939 when run, you must cause it, when started running for such
5940 interactive use in the most ordinary way, to print or display an
5941 announcement including an appropriate copyright notice and a
5942 notice that there is no warranty (or else, saying that you provide
5943 a warranty) and that users may redistribute the program under
5944 these conditions, and telling the user how to view a copy of this
5945 License. (Exception: if the Program itself is interactive but
5946 does not normally print such an announcement, your work based on
5947 the Program is not required to print an announcement.)
5948
5949These requirements apply to the modified work as a whole. If
5950identifiable sections of that work are not derived from the Program,
5951and can be reasonably considered independent and separate works in
5952themselves, then this License, and its terms, do not apply to those
5953sections when you distribute them as separate works. But when you
5954distribute the same sections as part of a whole which is a work based
5955on the Program, the distribution of the whole must be on the terms of
5956this License, whose permissions for other licensees extend to the
5957entire whole, and thus to each and every part regardless of who wrote it.
5958
5959Thus, it is not the intent of this section to claim rights or contest
5960your rights to work written entirely by you; rather, the intent is to
5961exercise the right to control the distribution of derivative or
5962collective works based on the Program.
5963
5964In addition, mere aggregation of another work not based on the Program
5965with the Program (or with a work based on the Program) on a volume of
5966a storage or distribution medium does not bring the other work under
5967the scope of this License.
5968
5969 3. You may copy and distribute the Program (or a work based on it,
5970under Section 2) in object code or executable form under the terms of
5971Sections 1 and 2 above provided that you also do one of the following:
5972
5973 a) Accompany it with the complete corresponding machine-readable
5974 source code, which must be distributed under the terms of Sections
5975 1 and 2 above on a medium customarily used for software interchange; or,
5976
5977 b) Accompany it with a written offer, valid for at least three
5978 years, to give any third party, for a charge no more than your
5979 cost of physically performing source distribution, a complete
5980 machine-readable copy of the corresponding source code, to be
5981 distributed under the terms of Sections 1 and 2 above on a medium
5982 customarily used for software interchange; or,
5983
5984 c) Accompany it with the information you received as to the offer
5985 to distribute corresponding source code. (This alternative is
5986 allowed only for noncommercial distribution and only if you
5987 received the program in object code or executable form with such
5988 an offer, in accord with Subsection b above.)
5989
5990The source code for a work means the preferred form of the work for
5991making modifications to it. For an executable work, complete source
5992code means all the source code for all modules it contains, plus any
5993associated interface definition files, plus the scripts used to
5994control compilation and installation of the executable. However, as a
5995special exception, the source code distributed need not include
5996anything that is normally distributed (in either source or binary
5997form) with the major components (compiler, kernel, and so on) of the
5998operating system on which the executable runs, unless that component
5999itself accompanies the executable.
6000
6001If distribution of executable or object code is made by offering
6002access to copy from a designated place, then offering equivalent
6003access to copy the source code from the same place counts as
6004distribution of the source code, even though third parties are not
6005compelled to copy the source along with the object code.
6006
6007 4. You may not copy, modify, sublicense, or distribute the Program
6008except as expressly provided under this License. Any attempt
6009otherwise to copy, modify, sublicense or distribute the Program is
6010void, and will automatically terminate your rights under this License.
6011However, parties who have received copies, or rights, from you under
6012this License will not have their licenses terminated so long as such
6013parties remain in full compliance.
6014
6015 5. You are not required to accept this License, since you have not
6016signed it. However, nothing else grants you permission to modify or
6017distribute the Program or its derivative works. These actions are
6018prohibited by law if you do not accept this License. Therefore, by
6019modifying or distributing the Program (or any work based on the
6020Program), you indicate your acceptance of this License to do so, and
6021all its terms and conditions for copying, distributing or modifying
6022the Program or works based on it.
6023
6024 6. Each time you redistribute the Program (or any work based on the
6025Program), the recipient automatically receives a license from the
6026original licensor to copy, distribute or modify the Program subject to
6027these terms and conditions. You may not impose any further
6028restrictions on the recipients' exercise of the rights granted herein.
6029You are not responsible for enforcing compliance by third parties to
6030this License.
6031
6032 7. If, as a consequence of a court judgment or allegation of patent
6033infringement or for any other reason (not limited to patent issues),
6034conditions are imposed on you (whether by court order, agreement or
6035otherwise) that contradict the conditions of this License, they do not
6036excuse you from the conditions of this License. If you cannot
6037distribute so as to satisfy simultaneously your obligations under this
6038License and any other pertinent obligations, then as a consequence you
6039may not distribute the Program at all. For example, if a patent
6040license would not permit royalty-free redistribution of the Program by
6041all those who receive copies directly or indirectly through you, then
6042the only way you could satisfy both it and this License would be to
6043refrain entirely from distribution of the Program.
6044
6045If any portion of this section is held invalid or unenforceable under
6046any particular circumstance, the balance of the section is intended to
6047apply and the section as a whole is intended to apply in other
6048circumstances.
6049
6050It is not the purpose of this section to induce you to infringe any
6051patents or other property right claims or to contest validity of any
6052such claims; this section has the sole purpose of protecting the
6053integrity of the free software distribution system, which is
6054implemented by public license practices. Many people have made
6055generous contributions to the wide range of software distributed
6056through that system in reliance on consistent application of that
6057system; it is up to the author/donor to decide if he or she is willing
6058to distribute software through any other system and a licensee cannot
6059impose that choice.
6060
6061This section is intended to make thoroughly clear what is believed to
6062be a consequence of the rest of this License.
6063
6064 8. If the distribution and/or use of the Program is restricted in
6065certain countries either by patents or by copyrighted interfaces, the
6066original copyright holder who places the Program under this License
6067may add an explicit geographical distribution limitation excluding
6068those countries, so that distribution is permitted only in or among
6069countries not thus excluded. In such case, this License incorporates
6070the limitation as if written in the body of this License.
6071
6072 9. The Free Software Foundation may publish revised and/or new versions
6073of the General Public License from time to time. Such new versions will
6074be similar in spirit to the present version, but may differ in detail to
6075address new problems or concerns.
6076
6077Each version is given a distinguishing version number. If the Program
6078specifies a version number of this License which applies to it and "any
6079later version", you have the option of following the terms and conditions
6080either of that version or of any later version published by the Free
6081Software Foundation. If the Program does not specify a version number of
6082this License, you may choose any version ever published by the Free Software
6083Foundation.
6084
6085 10. If you wish to incorporate parts of the Program into other free
6086programs whose distribution conditions are different, write to the author
6087to ask for permission. For software which is copyrighted by the Free
6088Software Foundation, write to the Free Software Foundation; we sometimes
6089make exceptions for this. Our decision will be guided by the two goals
6090of preserving the free status of all derivatives of our free software and
6091of promoting the sharing and reuse of software generally.
6092
6093 NO WARRANTY
6094
6095 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
6096FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
6097OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
6098PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
6099OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
6100MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
6101TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
6102PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
6103REPAIR OR CORRECTION.
6104
6105 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
6106WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
6107REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
6108INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
6109OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
6110TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
6111YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
6112PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
6113POSSIBILITY OF SUCH DAMAGES.
6114
6115 END OF TERMS AND CONDITIONS
6116
6117 How to Apply These Terms to Your New Programs
6118
6119 If you develop a new program, and you want it to be of the greatest
6120possible use to the public, the best way to achieve this is to make it
6121free software which everyone can redistribute and change under these terms.
6122
6123 To do so, attach the following notices to the program. It is safest
6124to attach them to the start of each source file to most effectively
6125convey the exclusion of warranty; and each file should have at least
6126the "copyright" line and a pointer to where the full notice is found.
6127
6128 <one line to give the program's name and a brief idea of what it does.>
6129 Copyright (C) <year> <name of author>
6130
6131 This program is free software; you can redistribute it and/or modify
6132 it under the terms of the GNU General Public License as published by
6133 the Free Software Foundation; either version 2 of the License, or
6134 (at your option) any later version.
6135
6136 This program is distributed in the hope that it will be useful,
6137 but WITHOUT ANY WARRANTY; without even the implied warranty of
6138 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6139 GNU General Public License for more details.
6140
6141 You should have received a copy of the GNU General Public License
6142 along with this program; if not, write to the Free Software
6143 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6144
6145
6146Also add information on how to contact you by electronic and paper mail.
6147
6148If the program is interactive, make it output a short notice like this
6149when it starts in an interactive mode:
6150
6151 Gnomovision version 69, Copyright (C) year name of author
6152 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
6153 This is free software, and you are welcome to redistribute it
6154 under certain conditions; type `show c' for details.
6155
6156The hypothetical commands `show w' and `show c' should show the appropriate
6157parts of the General Public License. Of course, the commands you use may
6158be called something other than `show w' and `show c'; they could even be
6159mouse-clicks or menu items--whatever suits your program.
6160
6161You should also get your employer (if you work as a programmer) or your
6162school, if any, to sign a "copyright disclaimer" for the program, if
6163necessary. Here is a sample; alter the names:
6164
6165 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
6166 `Gnomovision' (which makes passes at compilers) written by James Hacker.
6167
6168 <signature of Ty Coon>, 1 April 1989
6169 Ty Coon, President of Vice
6170
6171This General Public License does not permit incorporating your program into
6172proprietary programs. If your program is a subroutine library, you may
6173consider it more useful to permit linking proprietary applications with the
6174library. If this is what you want to do, use the GNU Library General
6175Public License instead of this License.
6176 GNU GENERAL PUBLIC LICENSE
6177 Version 3, 29 June 2007
6178
6179 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6180 Everyone is permitted to copy and distribute verbatim copies
6181 of this license document, but changing it is not allowed.
6182
6183 Preamble
6184
6185 The GNU General Public License is a free, copyleft license for
6186software and other kinds of works.
6187
6188 The licenses for most software and other practical works are designed
6189to take away your freedom to share and change the works. By contrast,
6190the GNU General Public License is intended to guarantee your freedom to
6191share and change all versions of a program--to make sure it remains free
6192software for all its users. We, the Free Software Foundation, use the
6193GNU General Public License for most of our software; it applies also to
6194any other work released this way by its authors. You can apply it to
6195your programs, too.
6196
6197 When we speak of free software, we are referring to freedom, not
6198price. Our General Public Licenses are designed to make sure that you
6199have the freedom to distribute copies of free software (and charge for
6200them if you wish), that you receive source code or can get it if you
6201want it, that you can change the software or use pieces of it in new
6202free programs, and that you know you can do these things.
6203
6204 To protect your rights, we need to prevent others from denying you
6205these rights or asking you to surrender the rights. Therefore, you have
6206certain responsibilities if you distribute copies of the software, or if
6207you modify it: responsibilities to respect the freedom of others.
6208
6209 For example, if you distribute copies of such a program, whether
6210gratis or for a fee, you must pass on to the recipients the same
6211freedoms that you received. You must make sure that they, too, receive
6212or can get the source code. And you must show them these terms so they
6213know their rights.
6214
6215 Developers that use the GNU GPL protect your rights with two steps:
6216(1) assert copyright on the software, and (2) offer you this License
6217giving you legal permission to copy, distribute and/or modify it.
6218
6219 For the developers' and authors' protection, the GPL clearly explains
6220that there is no warranty for this free software. For both users' and
6221authors' sake, the GPL requires that modified versions be marked as
6222changed, so that their problems will not be attributed erroneously to
6223authors of previous versions.
6224
6225 Some devices are designed to deny users access to install or run
6226modified versions of the software inside them, although the manufacturer
6227can do so. This is fundamentally incompatible with the aim of
6228protecting users' freedom to change the software. The systematic
6229pattern of such abuse occurs in the area of products for individuals to
6230use, which is precisely where it is most unacceptable. Therefore, we
6231have designed this version of the GPL to prohibit the practice for those
6232products. If such problems arise substantially in other domains, we
6233stand ready to extend this provision to those domains in future versions
6234of the GPL, as needed to protect the freedom of users.
6235
6236 Finally, every program is threatened constantly by software patents.
6237States should not allow patents to restrict development and use of
6238software on general-purpose computers, but in those that do, we wish to
6239avoid the special danger that patents applied to a free program could
6240make it effectively proprietary. To prevent this, the GPL assures that
6241patents cannot be used to render the program non-free.
6242
6243 The precise terms and conditions for copying, distribution and
6244modification follow.
6245
6246 TERMS AND CONDITIONS
6247
6248 0. Definitions.
6249
6250 "This License" refers to version 3 of the GNU General Public License.
6251
6252 "Copyright" also means copyright-like laws that apply to other kinds of
6253works, such as semiconductor masks.
6254
6255 "The Program" refers to any copyrightable work licensed under this
6256License. Each licensee is addressed as "you". "Licensees" and
6257"recipients" may be individuals or organizations.
6258
6259 To "modify" a work means to copy from or adapt all or part of the work
6260in a fashion requiring copyright permission, other than the making of an
6261exact copy. The resulting work is called a "modified version" of the
6262earlier work or a work "based on" the earlier work.
6263
6264 A "covered work" means either the unmodified Program or a work based
6265on the Program.
6266
6267 To "propagate" a work means to do anything with it that, without
6268permission, would make you directly or secondarily liable for
6269infringement under applicable copyright law, except executing it on a
6270computer or modifying a private copy. Propagation includes copying,
6271distribution (with or without modification), making available to the
6272public, and in some countries other activities as well.
6273
6274 To "convey" a work means any kind of propagation that enables other
6275parties to make or receive copies. Mere interaction with a user through
6276a computer network, with no transfer of a copy, is not conveying.
6277
6278 An interactive user interface displays "Appropriate Legal Notices"
6279to the extent that it includes a convenient and prominently visible
6280feature that (1) displays an appropriate copyright notice, and (2)
6281tells the user that there is no warranty for the work (except to the
6282extent that warranties are provided), that licensees may convey the
6283work under this License, and how to view a copy of this License. If
6284the interface presents a list of user commands or options, such as a
6285menu, a prominent item in the list meets this criterion.
6286
6287 1. Source Code.
6288
6289 The "source code" for a work means the preferred form of the work
6290for making modifications to it. "Object code" means any non-source
6291form of a work.
6292
6293 A "Standard Interface" means an interface that either is an official
6294standard defined by a recognized standards body, or, in the case of
6295interfaces specified for a particular programming language, one that
6296is widely used among developers working in that language.
6297
6298 The "System Libraries" of an executable work include anything, other
6299than the work as a whole, that (a) is included in the normal form of
6300packaging a Major Component, but which is not part of that Major
6301Component, and (b) serves only to enable use of the work with that
6302Major Component, or to implement a Standard Interface for which an
6303implementation is available to the public in source code form. A
6304"Major Component", in this context, means a major essential component
6305(kernel, window system, and so on) of the specific operating system
6306(if any) on which the executable work runs, or a compiler used to
6307produce the work, or an object code interpreter used to run it.
6308
6309 The "Corresponding Source" for a work in object code form means all
6310the source code needed to generate, install, and (for an executable
6311work) run the object code and to modify the work, including scripts to
6312control those activities. However, it does not include the work's
6313System Libraries, or general-purpose tools or generally available free
6314programs which are used unmodified in performing those activities but
6315which are not part of the work. For example, Corresponding Source
6316includes interface definition files associated with source files for
6317the work, and the source code for shared libraries and dynamically
6318linked subprograms that the work is specifically designed to require,
6319such as by intimate data communication or control flow between those
6320subprograms and other parts of the work.
6321
6322 The Corresponding Source need not include anything that users
6323can regenerate automatically from other parts of the Corresponding
6324Source.
6325
6326 The Corresponding Source for a work in source code form is that
6327same work.
6328
6329 2. Basic Permissions.
6330
6331 All rights granted under this License are granted for the term of
6332copyright on the Program, and are irrevocable provided the stated
6333conditions are met. This License explicitly affirms your unlimited
6334permission to run the unmodified Program. The output from running a
6335covered work is covered by this License only if the output, given its
6336content, constitutes a covered work. This License acknowledges your
6337rights of fair use or other equivalent, as provided by copyright law.
6338
6339 You may make, run and propagate covered works that you do not
6340convey, without conditions so long as your license otherwise remains
6341in force. You may convey covered works to others for the sole purpose
6342of having them make modifications exclusively for you, or provide you
6343with facilities for running those works, provided that you comply with
6344the terms of this License in conveying all material for which you do
6345not control copyright. Those thus making or running the covered works
6346for you must do so exclusively on your behalf, under your direction
6347and control, on terms that prohibit them from making any copies of
6348your copyrighted material outside their relationship with you.
6349
6350 Conveying under any other circumstances is permitted solely under
6351the conditions stated below. Sublicensing is not allowed; section 10
6352makes it unnecessary.
6353
6354 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
6355
6356 No covered work shall be deemed part of an effective technological
6357measure under any applicable law fulfilling obligations under article
635811 of the WIPO copyright treaty adopted on 20 December 1996, or
6359similar laws prohibiting or restricting circumvention of such
6360measures.
6361
6362 When you convey a covered work, you waive any legal power to forbid
6363circumvention of technological measures to the extent such circumvention
6364is effected by exercising rights under this License with respect to
6365the covered work, and you disclaim any intention to limit operation or
6366modification of the work as a means of enforcing, against the work's
6367users, your or third parties' legal rights to forbid circumvention of
6368technological measures.
6369
6370 4. Conveying Verbatim Copies.
6371
6372 You may convey verbatim copies of the Program's source code as you
6373receive it, in any medium, provided that you conspicuously and
6374appropriately publish on each copy an appropriate copyright notice;
6375keep intact all notices stating that this License and any
6376non-permissive terms added in accord with section 7 apply to the code;
6377keep intact all notices of the absence of any warranty; and give all
6378recipients a copy of this License along with the Program.
6379
6380 You may charge any price or no price for each copy that you convey,
6381and you may offer support or warranty protection for a fee.
6382
6383 5. Conveying Modified Source Versions.
6384
6385 You may convey a work based on the Program, or the modifications to
6386produce it from the Program, in the form of source code under the
6387terms of section 4, provided that you also meet all of these conditions:
6388
6389 a) The work must carry prominent notices stating that you modified
6390 it, and giving a relevant date.
6391
6392 b) The work must carry prominent notices stating that it is
6393 released under this License and any conditions added under section
6394 7. This requirement modifies the requirement in section 4 to
6395 "keep intact all notices".
6396
6397 c) You must license the entire work, as a whole, under this
6398 License to anyone who comes into possession of a copy. This
6399 License will therefore apply, along with any applicable section 7
6400 additional terms, to the whole of the work, and all its parts,
6401 regardless of how they are packaged. This License gives no
6402 permission to license the work in any other way, but it does not
6403 invalidate such permission if you have separately received it.
6404
6405 d) If the work has interactive user interfaces, each must display
6406 Appropriate Legal Notices; however, if the Program has interactive
6407 interfaces that do not display Appropriate Legal Notices, your
6408 work need not make them do so.
6409
6410 A compilation of a covered work with other separate and independent
6411works, which are not by their nature extensions of the covered work,
6412and which are not combined with it such as to form a larger program,
6413in or on a volume of a storage or distribution medium, is called an
6414"aggregate" if the compilation and its resulting copyright are not
6415used to limit the access or legal rights of the compilation's users
6416beyond what the individual works permit. Inclusion of a covered work
6417in an aggregate does not cause this License to apply to the other
6418parts of the aggregate.
6419
6420 6. Conveying Non-Source Forms.
6421
6422 You may convey a covered work in object code form under the terms
6423of sections 4 and 5, provided that you also convey the
6424machine-readable Corresponding Source under the terms of this License,
6425in one of these ways:
6426
6427 a) Convey the object code in, or embodied in, a physical product
6428 (including a physical distribution medium), accompanied by the
6429 Corresponding Source fixed on a durable physical medium
6430 customarily used for software interchange.
6431
6432 b) Convey the object code in, or embodied in, a physical product
6433 (including a physical distribution medium), accompanied by a
6434 written offer, valid for at least three years and valid for as
6435 long as you offer spare parts or customer support for that product
6436 model, to give anyone who possesses the object code either (1) a
6437 copy of the Corresponding Source for all the software in the
6438 product that is covered by this License, on a durable physical
6439 medium customarily used for software interchange, for a price no
6440 more than your reasonable cost of physically performing this
6441 conveying of source, or (2) access to copy the
6442 Corresponding Source from a network server at no charge.
6443
6444 c) Convey individual copies of the object code with a copy of the
6445 written offer to provide the Corresponding Source. This
6446 alternative is allowed only occasionally and noncommercially, and
6447 only if you received the object code with such an offer, in accord
6448 with subsection 6b.
6449
6450 d) Convey the object code by offering access from a designated
6451 place (gratis or for a charge), and offer equivalent access to the
6452 Corresponding Source in the same way through the same place at no
6453 further charge. You need not require recipients to copy the
6454 Corresponding Source along with the object code. If the place to
6455 copy the object code is a network server, the Corresponding Source
6456 may be on a different server (operated by you or a third party)
6457 that supports equivalent copying facilities, provided you maintain
6458 clear directions next to the object code saying where to find the
6459 Corresponding Source. Regardless of what server hosts the
6460 Corresponding Source, you remain obligated to ensure that it is
6461 available for as long as needed to satisfy these requirements.
6462
6463 e) Convey the object code using peer-to-peer transmission, provided
6464 you inform other peers where the object code and Corresponding
6465 Source of the work are being offered to the general public at no
6466 charge under subsection 6d.
6467
6468 A separable portion of the object code, whose source code is excluded
6469from the Corresponding Source as a System Library, need not be
6470included in conveying the object code work.
6471
6472 A "User Product" is either (1) a "consumer product", which means any
6473tangible personal property which is normally used for personal, family,
6474or household purposes, or (2) anything designed or sold for incorporation
6475into a dwelling. In determining whether a product is a consumer product,
6476doubtful cases shall be resolved in favor of coverage. For a particular
6477product received by a particular user, "normally used" refers to a
6478typical or common use of that class of product, regardless of the status
6479of the particular user or of the way in which the particular user
6480actually uses, or expects or is expected to use, the product. A product
6481is a consumer product regardless of whether the product has substantial
6482commercial, industrial or non-consumer uses, unless such uses represent
6483the only significant mode of use of the product.
6484
6485 "Installation Information" for a User Product means any methods,
6486procedures, authorization keys, or other information required to install
6487and execute modified versions of a covered work in that User Product from
6488a modified version of its Corresponding Source. The information must
6489suffice to ensure that the continued functioning of the modified object
6490code is in no case prevented or interfered with solely because
6491modification has been made.
6492
6493 If you convey an object code work under this section in, or with, or
6494specifically for use in, a User Product, and the conveying occurs as
6495part of a transaction in which the right of possession and use of the
6496User Product is transferred to the recipient in perpetuity or for a
6497fixed term (regardless of how the transaction is characterized), the
6498Corresponding Source conveyed under this section must be accompanied
6499by the Installation Information. But this requirement does not apply
6500if neither you nor any third party retains the ability to install
6501modified object code on the User Product (for example, the work has
6502been installed in ROM).
6503
6504 The requirement to provide Installation Information does not include a
6505requirement to continue to provide support service, warranty, or updates
6506for a work that has been modified or installed by the recipient, or for
6507the User Product in which it has been modified or installed. Access to a
6508network may be denied when the modification itself materially and
6509adversely affects the operation of the network or violates the rules and
6510protocols for communication across the network.
6511
6512 Corresponding Source conveyed, and Installation Information provided,
6513in accord with this section must be in a format that is publicly
6514documented (and with an implementation available to the public in
6515source code form), and must require no special password or key for
6516unpacking, reading or copying.
6517
6518 7. Additional Terms.
6519
6520 "Additional permissions" are terms that supplement the terms of this
6521License by making exceptions from one or more of its conditions.
6522Additional permissions that are applicable to the entire Program shall
6523be treated as though they were included in this License, to the extent
6524that they are valid under applicable law. If additional permissions
6525apply only to part of the Program, that part may be used separately
6526under those permissions, but the entire Program remains governed by
6527this License without regard to the additional permissions.
6528
6529 When you convey a copy of a covered work, you may at your option
6530remove any additional permissions from that copy, or from any part of
6531it. (Additional permissions may be written to require their own
6532removal in certain cases when you modify the work.) You may place
6533additional permissions on material, added by you to a covered work,
6534for which you have or can give appropriate copyright permission.
6535
6536 Notwithstanding any other provision of this License, for material you
6537add to a covered work, you may (if authorized by the copyright holders of
6538that material) supplement the terms of this License with terms:
6539
6540 a) Disclaiming warranty or limiting liability differently from the
6541 terms of sections 15 and 16 of this License; or
6542
6543 b) Requiring preservation of specified reasonable legal notices or
6544 author attributions in that material or in the Appropriate Legal
6545 Notices displayed by works containing it; or
6546
6547 c) Prohibiting misrepresentation of the origin of that material, or
6548 requiring that modified versions of such material be marked in
6549 reasonable ways as different from the original version; or
6550
6551 d) Limiting the use for publicity purposes of names of licensors or
6552 authors of the material; or
6553
6554 e) Declining to grant rights under trademark law for use of some
6555 trade names, trademarks, or service marks; or
6556
6557 f) Requiring indemnification of licensors and authors of that
6558 material by anyone who conveys the material (or modified versions of
6559 it) with contractual assumptions of liability to the recipient, for
6560 any liability that these contractual assumptions directly impose on
6561 those licensors and authors.
6562
6563 All other non-permissive additional terms are considered "further
6564restrictions" within the meaning of section 10. If the Program as you
6565received it, or any part of it, contains a notice stating that it is
6566governed by this License along with a term that is a further
6567restriction, you may remove that term. If a license document contains
6568a further restriction but permits relicensing or conveying under this
6569License, you may add to a covered work material governed by the terms
6570of that license document, provided that the further restriction does
6571not survive such relicensing or conveying.
6572
6573 If you add terms to a covered work in accord with this section, you
6574must place, in the relevant source files, a statement of the
6575additional terms that apply to those files, or a notice indicating
6576where to find the applicable terms.
6577
6578 Additional terms, permissive or non-permissive, may be stated in the
6579form of a separately written license, or stated as exceptions;
6580the above requirements apply either way.
6581
6582 8. Termination.
6583
6584 You may not propagate or modify a covered work except as expressly
6585provided under this License. Any attempt otherwise to propagate or
6586modify it is void, and will automatically terminate your rights under
6587this License (including any patent licenses granted under the third
6588paragraph of section 11).
6589
6590 However, if you cease all violation of this License, then your
6591license from a particular copyright holder is reinstated (a)
6592provisionally, unless and until the copyright holder explicitly and
6593finally terminates your license, and (b) permanently, if the copyright
6594holder fails to notify you of the violation by some reasonable means
6595prior to 60 days after the cessation.
6596
6597 Moreover, your license from a particular copyright holder is
6598reinstated permanently if the copyright holder notifies you of the
6599violation by some reasonable means, this is the first time you have
6600received notice of violation of this License (for any work) from that
6601copyright holder, and you cure the violation prior to 30 days after
6602your receipt of the notice.
6603
6604 Termination of your rights under this section does not terminate the
6605licenses of parties who have received copies or rights from you under
6606this License. If your rights have been terminated and not permanently
6607reinstated, you do not qualify to receive new licenses for the same
6608material under section 10.
6609
6610 9. Acceptance Not Required for Having Copies.
6611
6612 You are not required to accept this License in order to receive or
6613run a copy of the Program. Ancillary propagation of a covered work
6614occurring solely as a consequence of using peer-to-peer transmission
6615to receive a copy likewise does not require acceptance. However,
6616nothing other than this License grants you permission to propagate or
6617modify any covered work. These actions infringe copyright if you do
6618not accept this License. Therefore, by modifying or propagating a
6619covered work, you indicate your acceptance of this License to do so.
6620
6621 10. Automatic Licensing of Downstream Recipients.
6622
6623 Each time you convey a covered work, the recipient automatically
6624receives a license from the original licensors, to run, modify and
6625propagate that work, subject to this License. You are not responsible
6626for enforcing compliance by third parties with this License.
6627
6628 An "entity transaction" is a transaction transferring control of an
6629organization, or substantially all assets of one, or subdividing an
6630organization, or merging organizations. If propagation of a covered
6631work results from an entity transaction, each party to that
6632transaction who receives a copy of the work also receives whatever
6633licenses to the work the party's predecessor in interest had or could
6634give under the previous paragraph, plus a right to possession of the
6635Corresponding Source of the work from the predecessor in interest, if
6636the predecessor has it or can get it with reasonable efforts.
6637
6638 You may not impose any further restrictions on the exercise of the
6639rights granted or affirmed under this License. For example, you may
6640not impose a license fee, royalty, or other charge for exercise of
6641rights granted under this License, and you may not initiate litigation
6642(including a cross-claim or counterclaim in a lawsuit) alleging that
6643any patent claim is infringed by making, using, selling, offering for
6644sale, or importing the Program or any portion of it.
6645
6646 11. Patents.
6647
6648 A "contributor" is a copyright holder who authorizes use under this
6649License of the Program or a work on which the Program is based. The
6650work thus licensed is called the contributor's "contributor version".
6651
6652 A contributor's "essential patent claims" are all patent claims
6653owned or controlled by the contributor, whether already acquired or
6654hereafter acquired, that would be infringed by some manner, permitted
6655by this License, of making, using, or selling its contributor version,
6656but do not include claims that would be infringed only as a
6657consequence of further modification of the contributor version. For
6658purposes of this definition, "control" includes the right to grant
6659patent sublicenses in a manner consistent with the requirements of
6660this License.
6661
6662 Each contributor grants you a non-exclusive, worldwide, royalty-free
6663patent license under the contributor's essential patent claims, to
6664make, use, sell, offer for sale, import and otherwise run, modify and
6665propagate the contents of its contributor version.
6666
6667 In the following three paragraphs, a "patent license" is any express
6668agreement or commitment, however denominated, not to enforce a patent
6669(such as an express permission to practice a patent or covenant not to
6670sue for patent infringement). To "grant" such a patent license to a
6671party means to make such an agreement or commitment not to enforce a
6672patent against the party.
6673
6674 If you convey a covered work, knowingly relying on a patent license,
6675and the Corresponding Source of the work is not available for anyone
6676to copy, free of charge and under the terms of this License, through a
6677publicly available network server or other readily accessible means,
6678then you must either (1) cause the Corresponding Source to be so
6679available, or (2) arrange to deprive yourself of the benefit of the
6680patent license for this particular work, or (3) arrange, in a manner
6681consistent with the requirements of this License, to extend the patent
6682license to downstream recipients. "Knowingly relying" means you have
6683actual knowledge that, but for the patent license, your conveying the
6684covered work in a country, or your recipient's use of the covered work
6685in a country, would infringe one or more identifiable patents in that
6686country that you have reason to believe are valid.
6687
6688 If, pursuant to or in connection with a single transaction or
6689arrangement, you convey, or propagate by procuring conveyance of, a
6690covered work, and grant a patent license to some of the parties
6691receiving the covered work authorizing them to use, propagate, modify
6692or convey a specific copy of the covered work, then the patent license
6693you grant is automatically extended to all recipients of the covered
6694work and works based on it.
6695
6696 A patent license is "discriminatory" if it does not include within
6697the scope of its coverage, prohibits the exercise of, or is
6698conditioned on the non-exercise of one or more of the rights that are
6699specifically granted under this License. You may not convey a covered
6700work if you are a party to an arrangement with a third party that is
6701in the business of distributing software, under which you make payment
6702to the third party based on the extent of your activity of conveying
6703the work, and under which the third party grants, to any of the
6704parties who would receive the covered work from you, a discriminatory
6705patent license (a) in connection with copies of the covered work
6706conveyed by you (or copies made from those copies), or (b) primarily
6707for and in connection with specific products or compilations that
6708contain the covered work, unless you entered into that arrangement,
6709or that patent license was granted, prior to 28 March 2007.
6710
6711 Nothing in this License shall be construed as excluding or limiting
6712any implied license or other defenses to infringement that may
6713otherwise be available to you under applicable patent law.
6714
6715 12. No Surrender of Others' Freedom.
6716
6717 If conditions are imposed on you (whether by court order, agreement or
6718otherwise) that contradict the conditions of this License, they do not
6719excuse you from the conditions of this License. If you cannot convey a
6720covered work so as to satisfy simultaneously your obligations under this
6721License and any other pertinent obligations, then as a consequence you may
6722not convey it at all. For example, if you agree to terms that obligate you
6723to collect a royalty for further conveying from those to whom you convey
6724the Program, the only way you could satisfy both those terms and this
6725License would be to refrain entirely from conveying the Program.
6726
6727 13. Use with the GNU Affero General Public License.
6728
6729 Notwithstanding any other provision of this License, you have
6730permission to link or combine any covered work with a work licensed
6731under version 3 of the GNU Affero General Public License into a single
6732combined work, and to convey the resulting work. The terms of this
6733License will continue to apply to the part which is the covered work,
6734but the special requirements of the GNU Affero General Public License,
6735section 13, concerning interaction through a network will apply to the
6736combination as such.
6737
6738 14. Revised Versions of this License.
6739
6740 The Free Software Foundation may publish revised and/or new versions of
6741the GNU General Public License from time to time. Such new versions will
6742be similar in spirit to the present version, but may differ in detail to
6743address new problems or concerns.
6744
6745 Each version is given a distinguishing version number. If the
6746Program specifies that a certain numbered version of the GNU General
6747Public License "or any later version" applies to it, you have the
6748option of following the terms and conditions either of that numbered
6749version or of any later version published by the Free Software
6750Foundation. If the Program does not specify a version number of the
6751GNU General Public License, you may choose any version ever published
6752by the Free Software Foundation.
6753
6754 If the Program specifies that a proxy can decide which future
6755versions of the GNU General Public License can be used, that proxy's
6756public statement of acceptance of a version permanently authorizes you
6757to choose that version for the Program.
6758
6759 Later license versions may give you additional or different
6760permissions. However, no additional obligations are imposed on any
6761author or copyright holder as a result of your choosing to follow a
6762later version.
6763
6764 15. Disclaimer of Warranty.
6765
6766 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
6767APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
6768HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
6769OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
6770THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6771PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
6772IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
6773ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6774
6775 16. Limitation of Liability.
6776
6777 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
6778WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
6779THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
6780GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
6781USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
6782DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
6783PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
6784EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
6785SUCH DAMAGES.
6786
6787 17. Interpretation of Sections 15 and 16.
6788
6789 If the disclaimer of warranty and limitation of liability provided
6790above cannot be given local legal effect according to their terms,
6791reviewing courts shall apply local law that most closely approximates
6792an absolute waiver of all civil liability in connection with the
6793Program, unless a warranty or assumption of liability accompanies a
6794copy of the Program in return for a fee.
6795
6796 END OF TERMS AND CONDITIONS
6797
6798 How to Apply These Terms to Your New Programs
6799
6800 If you develop a new program, and you want it to be of the greatest
6801possible use to the public, the best way to achieve this is to make it
6802free software which everyone can redistribute and change under these terms.
6803
6804 To do so, attach the following notices to the program. It is safest
6805to attach them to the start of each source file to most effectively
6806state the exclusion of warranty; and each file should have at least
6807the "copyright" line and a pointer to where the full notice is found.
6808
6809 <one line to give the program's name and a brief idea of what it does.>
6810 Copyright (C) <year> <name of author>
6811
6812 This program is free software: you can redistribute it and/or modify
6813 it under the terms of the GNU General Public License as published by
6814 the Free Software Foundation, either version 3 of the License, or
6815 (at your option) any later version.
6816
6817 This program is distributed in the hope that it will be useful,
6818 but WITHOUT ANY WARRANTY; without even the implied warranty of
6819 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6820 GNU General Public License for more details.
6821
6822 You should have received a copy of the GNU General Public License
6823 along with this program. If not, see <http://www.gnu.org/licenses/>.
6824
6825Also add information on how to contact you by electronic and paper mail.
6826
6827 If the program does terminal interaction, make it output a short
6828notice like this when it starts in an interactive mode:
6829
6830 <program> Copyright (C) <year> <name of author>
6831 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
6832 This is free software, and you are welcome to redistribute it
6833 under certain conditions; type `show c' for details.
6834
6835The hypothetical commands `show w' and `show c' should show the appropriate
6836parts of the General Public License. Of course, your program's commands
6837might be different; for a GUI interface, you would use an "about box".
6838
6839 You should also get your employer (if you work as a programmer) or school,
6840if any, to sign a "copyright disclaimer" for the program, if necessary.
6841For more information on this, and how to apply and follow the GNU GPL, see
6842<http://www.gnu.org/licenses/>.
6843
6844 The GNU General Public License does not permit incorporating your program
6845into proprietary programs. If your program is a subroutine library, you
6846may consider it more useful to permit linking proprietary applications with
6847the library. If this is what you want to do, use the GNU Lesser General
6848Public License instead of this License. But first, please read
6849<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Joshua Lang904c3632017-02-02 12:54:24 -08006850
6851 GNU LESSER GENERAL PUBLIC LICENSE
6852 Version 2.1, February 1999
6853
6854 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6855 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6856 Everyone is permitted to copy and distribute verbatim copies
6857 of this license document, but changing it is not allowed.
6858
6859[This is the first released version of the Lesser GPL. It also counts
6860 as the successor of the GNU Library Public License, version 2, hence
6861 the version number 2.1.]
6862
6863 Preamble
6864
6865 The licenses for most software are designed to take away your
6866freedom to share and change it. By contrast, the GNU General Public
6867Licenses are intended to guarantee your freedom to share and change
6868free software--to make sure the software is free for all its users.
6869
6870 This license, the Lesser General Public License, applies to some
6871specially designated software packages--typically libraries--of the
6872Free Software Foundation and other authors who decide to use it. You
6873can use it too, but we suggest you first think carefully about whether
6874this license or the ordinary General Public License is the better
6875strategy to use in any particular case, based on the explanations
6876below.
6877
6878 When we speak of free software, we are referring to freedom of use,
6879not price. Our General Public Licenses are designed to make sure that
6880you have the freedom to distribute copies of free software (and charge
6881for this service if you wish); that you receive source code or can get
6882it if you want it; that you can change the software and use pieces of
6883it in new free programs; and that you are informed that you can do
6884these things.
6885
6886 To protect your rights, we need to make restrictions that forbid
6887distributors to deny you these rights or to ask you to surrender these
6888rights. These restrictions translate to certain responsibilities for
6889you if you distribute copies of the library or if you modify it.
6890
6891 For example, if you distribute copies of the library, whether gratis
6892or for a fee, you must give the recipients all the rights that we gave
6893you. You must make sure that they, too, receive or can get the source
6894code. If you link other code with the library, you must provide
6895complete object files to the recipients, so that they can relink them
6896with the library after making changes to the library and recompiling
6897it. And you must show them these terms so they know their rights.
6898
6899 We protect your rights with a two-step method: (1) we copyright the
6900library, and (2) we offer you this license, which gives you legal
6901permission to copy, distribute and/or modify the library.
6902
6903 To protect each distributor, we want to make it very clear that
6904there is no warranty for the free library. Also, if the library is
6905modified by someone else and passed on, the recipients should know
6906that what they have is not the original version, so that the original
6907author's reputation will not be affected by problems that might be
6908introduced by others.
6909^L
6910 Finally, software patents pose a constant threat to the existence of
6911any free program. We wish to make sure that a company cannot
6912effectively restrict the users of a free program by obtaining a
6913restrictive license from a patent holder. Therefore, we insist that
6914any patent license obtained for a version of the library must be
6915consistent with the full freedom of use specified in this license.
6916
6917 Most GNU software, including some libraries, is covered by the
6918ordinary GNU General Public License. This license, the GNU Lesser
6919General Public License, applies to certain designated libraries, and
6920is quite different from the ordinary General Public License. We use
6921this license for certain libraries in order to permit linking those
6922libraries into non-free programs.
6923
6924 When a program is linked with a library, whether statically or using
6925a shared library, the combination of the two is legally speaking a
6926combined work, a derivative of the original library. The ordinary
6927General Public License therefore permits such linking only if the
6928entire combination fits its criteria of freedom. The Lesser General
6929Public License permits more lax criteria for linking other code with
6930the library.
6931
6932 We call this license the "Lesser" General Public License because it
6933does Less to protect the user's freedom than the ordinary General
6934Public License. It also provides other free software developers Less
6935of an advantage over competing non-free programs. These disadvantages
6936are the reason we use the ordinary General Public License for many
6937libraries. However, the Lesser license provides advantages in certain
6938special circumstances.
6939
6940 For example, on rare occasions, there may be a special need to
6941encourage the widest possible use of a certain library, so that it
6942becomes
6943a de-facto standard. To achieve this, non-free programs must be
6944allowed to use the library. A more frequent case is that a free
6945library does the same job as widely used non-free libraries. In this
6946case, there is little to gain by limiting the free library to free
6947software only, so we use the Lesser General Public License.
6948
6949 In other cases, permission to use a particular library in non-free
6950programs enables a greater number of people to use a large body of
6951free software. For example, permission to use the GNU C Library in
6952non-free programs enables many more people to use the whole GNU
6953operating system, as well as its variant, the GNU/Linux operating
6954system.
6955
6956 Although the Lesser General Public License is Less protective of the
6957users' freedom, it does ensure that the user of a program that is
6958linked with the Library has the freedom and the wherewithal to run
6959that program using a modified version of the Library.
6960
6961 The precise terms and conditions for copying, distribution and
6962modification follow. Pay close attention to the difference between a
6963"work based on the library" and a "work that uses the library". The
6964former contains code derived from the library, whereas the latter must
6965be combined with the library in order to run.
6966^L
6967 GNU LESSER GENERAL PUBLIC LICENSE
6968 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6969
6970 0. This License Agreement applies to any software library or other
6971program which contains a notice placed by the copyright holder or
6972other authorized party saying it may be distributed under the terms of
6973this Lesser General Public License (also called "this License").
6974Each licensee is addressed as "you".
6975
6976 A "library" means a collection of software functions and/or data
6977prepared so as to be conveniently linked with application programs
6978(which use some of those functions and data) to form executables.
6979
6980 The "Library", below, refers to any such software library or work
6981which has been distributed under these terms. A "work based on the
6982Library" means either the Library or any derivative work under
6983copyright law: that is to say, a work containing the Library or a
6984portion of it, either verbatim or with modifications and/or translated
6985straightforwardly into another language. (Hereinafter, translation is
6986included without limitation in the term "modification".)
6987
6988 "Source code" for a work means the preferred form of the work for
6989making modifications to it. For a library, complete source code means
6990all the source code for all modules it contains, plus any associated
6991interface definition files, plus the scripts used to control
6992compilation
6993and installation of the library.
6994
6995 Activities other than copying, distribution and modification are not
6996covered by this License; they are outside its scope. The act of
6997running a program using the Library is not restricted, and output from
6998such a program is covered only if its contents constitute a work based
6999on the Library (independent of the use of the Library in a tool for
7000writing it). Whether that is true depends on what the Library does
7001and what the program that uses the Library does.
7002
7003 1. You may copy and distribute verbatim copies of the Library's
7004complete source code as you receive it, in any medium, provided that
7005you conspicuously and appropriately publish on each copy an
7006appropriate copyright notice and disclaimer of warranty; keep intact
7007all the notices that refer to this License and to the absence of any
7008warranty; and distribute a copy of this License along with the
7009Library.
7010
7011 You may charge a fee for the physical act of transferring a copy,
7012and you may at your option offer warranty protection in exchange for a
7013fee.
7014
7015 2. You may modify your copy or copies of the Library or any portion
7016of it, thus forming a work based on the Library, and copy and
7017distribute such modifications or work under the terms of Section 1
7018above, provided that you also meet all of these conditions:
7019
7020 a) The modified work must itself be a software library.
7021
7022 b) You must cause the files modified to carry prominent notices
7023 stating that you changed the files and the date of any change.
7024
7025 c) You must cause the whole of the work to be licensed at no
7026 charge to all third parties under the terms of this License.
7027
7028 d) If a facility in the modified Library refers to a function or a
7029 table of data to be supplied by an application program that uses
7030 the facility, other than as an argument passed when the facility
7031 is invoked, then you must make a good faith effort to ensure that,
7032 in the event an application does not supply such function or
7033 table, the facility still operates, and performs whatever part of
7034 its purpose remains meaningful.
7035
7036 (For example, a function in a library to compute square roots has
7037 a purpose that is entirely well-defined independent of the
7038 application. Therefore, Subsection 2d requires that any
7039 application-supplied function or table used by this function must
7040 be optional: if the application does not supply it, the square
7041 root function must still compute square roots.)
7042
7043These requirements apply to the modified work as a whole. If
7044identifiable sections of that work are not derived from the Library,
7045and can be reasonably considered independent and separate works in
7046themselves, then this License, and its terms, do not apply to those
7047sections when you distribute them as separate works. But when you
7048distribute the same sections as part of a whole which is a work based
7049on the Library, the distribution of the whole must be on the terms of
7050this License, whose permissions for other licensees extend to the
7051entire whole, and thus to each and every part regardless of who wrote
7052it.
7053
7054Thus, it is not the intent of this section to claim rights or contest
7055your rights to work written entirely by you; rather, the intent is to
7056exercise the right to control the distribution of derivative or
7057collective works based on the Library.
7058
7059In addition, mere aggregation of another work not based on the Library
7060with the Library (or with a work based on the Library) on a volume of
7061a storage or distribution medium does not bring the other work under
7062the scope of this License.
7063
7064 3. You may opt to apply the terms of the ordinary GNU General Public
7065License instead of this License to a given copy of the Library. To do
7066this, you must alter all the notices that refer to this License, so
7067that they refer to the ordinary GNU General Public License, version 2,
7068instead of to this License. (If a newer version than version 2 of the
7069ordinary GNU General Public License has appeared, then you can specify
7070that version instead if you wish.) Do not make any other change in
7071these notices.
7072^L
7073 Once this change is made in a given copy, it is irreversible for
7074that copy, so the ordinary GNU General Public License applies to all
7075subsequent copies and derivative works made from that copy.
7076
7077 This option is useful when you wish to copy part of the code of
7078the Library into a program that is not a library.
7079
7080 4. You may copy and distribute the Library (or a portion or
7081derivative of it, under Section 2) in object code or executable form
7082under the terms of Sections 1 and 2 above provided that you accompany
7083it with the complete corresponding machine-readable source code, which
7084must be distributed under the terms of Sections 1 and 2 above on a
7085medium customarily used for software interchange.
7086
7087 If distribution of object code is made by offering access to copy
7088from a designated place, then offering equivalent access to copy the
7089source code from the same place satisfies the requirement to
7090distribute the source code, even though third parties are not
7091compelled to copy the source along with the object code.
7092
7093 5. A program that contains no derivative of any portion of the
7094Library, but is designed to work with the Library by being compiled or
7095linked with it, is called a "work that uses the Library". Such a
7096work, in isolation, is not a derivative work of the Library, and
7097therefore falls outside the scope of this License.
7098
7099 However, linking a "work that uses the Library" with the Library
7100creates an executable that is a derivative of the Library (because it
7101contains portions of the Library), rather than a "work that uses the
7102library". The executable is therefore covered by this License.
7103Section 6 states terms for distribution of such executables.
7104
7105 When a "work that uses the Library" uses material from a header file
7106that is part of the Library, the object code for the work may be a
7107derivative work of the Library even though the source code is not.
7108Whether this is true is especially significant if the work can be
7109linked without the Library, or if the work is itself a library. The
7110threshold for this to be true is not precisely defined by law.
7111
7112 If such an object file uses only numerical parameters, data
7113structure layouts and accessors, and small macros and small inline
7114functions (ten lines or less in length), then the use of the object
7115file is unrestricted, regardless of whether it is legally a derivative
7116work. (Executables containing this object code plus portions of the
7117Library will still fall under Section 6.)
7118
7119 Otherwise, if the work is a derivative of the Library, you may
7120distribute the object code for the work under the terms of Section 6.
7121Any executables containing that work also fall under Section 6,
7122whether or not they are linked directly with the Library itself.
7123^L
7124 6. As an exception to the Sections above, you may also combine or
7125link a "work that uses the Library" with the Library to produce a
7126work containing portions of the Library, and distribute that work
7127under terms of your choice, provided that the terms permit
7128modification of the work for the customer's own use and reverse
7129engineering for debugging such modifications.
7130
7131 You must give prominent notice with each copy of the work that the
7132Library is used in it and that the Library and its use are covered by
7133this License. You must supply a copy of this License. If the work
7134during execution displays copyright notices, you must include the
7135copyright notice for the Library among them, as well as a reference
7136directing the user to the copy of this License. Also, you must do one
7137of these things:
7138
7139 a) Accompany the work with the complete corresponding
7140 machine-readable source code for the Library including whatever
7141 changes were used in the work (which must be distributed under
7142 Sections 1 and 2 above); and, if the work is an executable linked
7143 with the Library, with the complete machine-readable "work that
7144 uses the Library", as object code and/or source code, so that the
7145 user can modify the Library and then relink to produce a modified
7146 executable containing the modified Library. (It is understood
7147 that the user who changes the contents of definitions files in the
7148 Library will not necessarily be able to recompile the application
7149 to use the modified definitions.)
7150
7151 b) Use a suitable shared library mechanism for linking with the
7152 Library. A suitable mechanism is one that (1) uses at run time a
7153 copy of the library already present on the user's computer system,
7154 rather than copying library functions into the executable, and (2)
7155 will operate properly with a modified version of the library, if
7156 the user installs one, as long as the modified version is
7157 interface-compatible with the version that the work was made with.
7158
7159 c) Accompany the work with a written offer, valid for at
7160 least three years, to give the same user the materials
7161 specified in Subsection 6a, above, for a charge no more
7162 than the cost of performing this distribution.
7163
7164 d) If distribution of the work is made by offering access to copy
7165 from a designated place, offer equivalent access to copy the above
7166 specified materials from the same place.
7167
7168 e) Verify that the user has already received a copy of these
7169 materials or that you have already sent this user a copy.
7170
7171 For an executable, the required form of the "work that uses the
7172Library" must include any data and utility programs needed for
7173reproducing the executable from it. However, as a special exception,
7174the materials to be distributed need not include anything that is
7175normally distributed (in either source or binary form) with the major
7176components (compiler, kernel, and so on) of the operating system on
7177which the executable runs, unless that component itself accompanies
7178the executable.
7179
7180 It may happen that this requirement contradicts the license
7181restrictions of other proprietary libraries that do not normally
7182accompany the operating system. Such a contradiction means you cannot
7183use both them and the Library together in an executable that you
7184distribute.
7185^L
7186 7. You may place library facilities that are a work based on the
7187Library side-by-side in a single library together with other library
7188facilities not covered by this License, and distribute such a combined
7189library, provided that the separate distribution of the work based on
7190the Library and of the other library facilities is otherwise
7191permitted, and provided that you do these two things:
7192
7193 a) Accompany the combined library with a copy of the same work
7194 based on the Library, uncombined with any other library
7195 facilities. This must be distributed under the terms of the
7196 Sections above.
7197
7198 b) Give prominent notice with the combined library of the fact
7199 that part of it is a work based on the Library, and explaining
7200 where to find the accompanying uncombined form of the same work.
7201
7202 8. You may not copy, modify, sublicense, link with, or distribute
7203the Library except as expressly provided under this License. Any
7204attempt otherwise to copy, modify, sublicense, link with, or
7205distribute the Library is void, and will automatically terminate your
7206rights under this License. However, parties who have received copies,
7207or rights, from you under this License will not have their licenses
7208terminated so long as such parties remain in full compliance.
7209
7210 9. You are not required to accept this License, since you have not
7211signed it. However, nothing else grants you permission to modify or
7212distribute the Library or its derivative works. These actions are
7213prohibited by law if you do not accept this License. Therefore, by
7214modifying or distributing the Library (or any work based on the
7215Library), you indicate your acceptance of this License to do so, and
7216all its terms and conditions for copying, distributing or modifying
7217the Library or works based on it.
7218
7219 10. Each time you redistribute the Library (or any work based on the
7220Library), the recipient automatically receives a license from the
7221original licensor to copy, distribute, link with or modify the Library
7222subject to these terms and conditions. You may not impose any further
7223restrictions on the recipients' exercise of the rights granted herein.
7224You are not responsible for enforcing compliance by third parties with
7225this License.
7226^L
7227 11. If, as a consequence of a court judgment or allegation of patent
7228infringement or for any other reason (not limited to patent issues),
7229conditions are imposed on you (whether by court order, agreement or
7230otherwise) that contradict the conditions of this License, they do not
7231excuse you from the conditions of this License. If you cannot
7232distribute so as to satisfy simultaneously your obligations under this
7233License and any other pertinent obligations, then as a consequence you
7234may not distribute the Library at all. For example, if a patent
7235license would not permit royalty-free redistribution of the Library by
7236all those who receive copies directly or indirectly through you, then
7237the only way you could satisfy both it and this License would be to
7238refrain entirely from distribution of the Library.
7239
7240If any portion of this section is held invalid or unenforceable under
7241any particular circumstance, the balance of the section is intended to
7242apply, and the section as a whole is intended to apply in other
7243circumstances.
7244
7245It is not the purpose of this section to induce you to infringe any
7246patents or other property right claims or to contest validity of any
7247such claims; this section has the sole purpose of protecting the
7248integrity of the free software distribution system which is
7249implemented by public license practices. Many people have made
7250generous contributions to the wide range of software distributed
7251through that system in reliance on consistent application of that
7252system; it is up to the author/donor to decide if he or she is willing
7253to distribute software through any other system and a licensee cannot
7254impose that choice.
7255
7256This section is intended to make thoroughly clear what is believed to
7257be a consequence of the rest of this License.
7258
7259 12. If the distribution and/or use of the Library is restricted in
7260certain countries either by patents or by copyrighted interfaces, the
7261original copyright holder who places the Library under this License
7262may add an explicit geographical distribution limitation excluding those
7263countries, so that distribution is permitted only in or among
7264countries not thus excluded. In such case, this License incorporates
7265the limitation as if written in the body of this License.
7266
7267 13. The Free Software Foundation may publish revised and/or new
7268versions of the Lesser General Public License from time to time.
7269Such new versions will be similar in spirit to the present version,
7270but may differ in detail to address new problems or concerns.
7271
7272Each version is given a distinguishing version number. If the Library
7273specifies a version number of this License which applies to it and
7274"any later version", you have the option of following the terms and
7275conditions either of that version or of any later version published by
7276the Free Software Foundation. If the Library does not specify a
7277license version number, you may choose any version ever published by
7278the Free Software Foundation.
7279^L
7280 14. If you wish to incorporate parts of the Library into other free
7281programs whose distribution conditions are incompatible with these,
7282write to the author to ask for permission. For software which is
7283copyrighted by the Free Software Foundation, write to the Free
7284Software Foundation; we sometimes make exceptions for this. Our
7285decision will be guided by the two goals of preserving the free status
7286of all derivatives of our free software and of promoting the sharing
7287and reuse of software generally.
7288
7289 NO WARRANTY
7290
7291 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
7292WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
7293EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
7294OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
7295KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
7296IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7297PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
7298LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
7299THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
7300
7301 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
7302WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
7303AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
7304FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
7305CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
7306LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
7307RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
7308FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
7309SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
7310DAMAGES.
7311
7312 END OF TERMS AND CONDITIONS
7313^L
7314 How to Apply These Terms to Your New Libraries
7315
7316 If you develop a new library, and you want it to be of the greatest
7317possible use to the public, we recommend making it free software that
7318everyone can redistribute and change. You can do so by permitting
7319redistribution under these terms (or, alternatively, under the terms
7320of the ordinary General Public License).
7321
7322 To apply these terms, attach the following notices to the library.
7323It is safest to attach them to the start of each source file to most
7324effectively convey the exclusion of warranty; and each file should
7325have at least the "copyright" line and a pointer to where the full
7326notice is found.
7327
7328
7329 <one line to give the library's name and a brief idea of what it
7330does.>
7331 Copyright (C) <year> <name of author>
7332
7333 This library is free software; you can redistribute it and/or
7334 modify it under the terms of the GNU Lesser General Public
7335 License as published by the Free Software Foundation; either
7336 version 2 of the License, or (at your option) any later version.
7337
7338 This library is distributed in the hope that it will be useful,
7339 but WITHOUT ANY WARRANTY; without even the implied warranty of
7340 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7341 Lesser General Public License for more details.
7342
7343 You should have received a copy of the GNU Lesser General Public
7344 License along with this library; if not, write to the Free Software
7345 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7346
7347Also add information on how to contact you by electronic and paper
7348mail.
7349
7350You should also get your employer (if you work as a programmer) or
7351your
7352school, if any, to sign a "copyright disclaimer" for the library, if
7353necessary. Here is a sample; alter the names:
7354
7355 Yoyodyne, Inc., hereby disclaims all copyright interest in the
7356 library `Frob' (a library for tweaking knobs) written by James
7357Random Hacker.
7358
7359 <signature of Ty Coon>, 1 April 1990
7360 Ty Coon, President of Vice
7361
7362That's all there is to it!
7363
7364
7365 GNU GENERAL PUBLIC LICENSE
7366 Version 2, June 1991
7367
7368 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00007369 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7370 Everyone is permitted to copy and distribute verbatim copies
7371 of this license document, but changing it is not allowed.
7372
7373 Preamble
7374
7375 The licenses for most software are designed to take away your
7376freedom to share and change it. By contrast, the GNU General Public
7377License is intended to guarantee your freedom to share and change free
7378software--to make sure the software is free for all its users. This
7379General Public License applies to most of the Free Software
7380Foundation's software and to any other program whose authors commit to
7381using it. (Some other Free Software Foundation software is covered by
7382the GNU Library General Public License instead.) You can apply it to
7383your programs, too.
7384
7385 When we speak of free software, we are referring to freedom, not
7386price. Our General Public Licenses are designed to make sure that you
7387have the freedom to distribute copies of free software (and charge for
7388this service if you wish), that you receive source code or can get it
7389if you want it, that you can change the software or use pieces of it
7390in new free programs; and that you know you can do these things.
7391
7392 To protect your rights, we need to make restrictions that forbid
7393anyone to deny you these rights or to ask you to surrender the rights.
7394These restrictions translate to certain responsibilities for you if you
7395distribute copies of the software, or if you modify it.
7396
7397 For example, if you distribute copies of such a program, whether
7398gratis or for a fee, you must give the recipients all the rights that
7399you have. You must make sure that they, too, receive or can get the
7400source code. And you must show them these terms so they know their
7401rights.
7402
7403 We protect your rights with two steps: (1) copyright the software, and
7404(2) offer you this license which gives you legal permission to copy,
7405distribute and/or modify the software.
7406
7407 Also, for each author's protection and ours, we want to make certain
7408that everyone understands that there is no warranty for this free
7409software. If the software is modified by someone else and passed on, we
7410want its recipients to know that what they have is not the original, so
7411that any problems introduced by others will not reflect on the original
7412authors' reputations.
7413
7414 Finally, any free program is threatened constantly by software
7415patents. We wish to avoid the danger that redistributors of a free
7416program will individually obtain patent licenses, in effect making the
7417program proprietary. To prevent this, we have made it clear that any
7418patent must be licensed for everyone's free use or not licensed at all.
7419
7420 The precise terms and conditions for copying, distribution and
7421modification follow.
7422
7423 GNU GENERAL PUBLIC LICENSE
7424 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7425
7426 0. This License applies to any program or other work which contains
7427a notice placed by the copyright holder saying it may be distributed
7428under the terms of this General Public License. The "Program", below,
7429refers to any such program or work, and a "work based on the Program"
7430means either the Program or any derivative work under copyright law:
7431that is to say, a work containing the Program or a portion of it,
7432either verbatim or with modifications and/or translated into another
7433language. (Hereinafter, translation is included without limitation in
7434the term "modification".) Each licensee is addressed as "you".
7435
7436Activities other than copying, distribution and modification are not
7437covered by this License; they are outside its scope. The act of
7438running the Program is not restricted, and the output from the Program
7439is covered only if its contents constitute a work based on the
7440Program (independent of having been made by running the Program).
7441Whether that is true depends on what the Program does.
7442
7443 1. You may copy and distribute verbatim copies of the Program's
7444source code as you receive it, in any medium, provided that you
7445conspicuously and appropriately publish on each copy an appropriate
7446copyright notice and disclaimer of warranty; keep intact all the
7447notices that refer to this License and to the absence of any warranty;
7448and give any other recipients of the Program a copy of this License
7449along with the Program.
7450
7451You may charge a fee for the physical act of transferring a copy, and
7452you may at your option offer warranty protection in exchange for a fee.
7453
7454 2. You may modify your copy or copies of the Program or any portion
7455of it, thus forming a work based on the Program, and copy and
7456distribute such modifications or work under the terms of Section 1
7457above, provided that you also meet all of these conditions:
7458
7459 a) You must cause the modified files to carry prominent notices
7460 stating that you changed the files and the date of any change.
7461
7462 b) You must cause any work that you distribute or publish, that in
7463 whole or in part contains or is derived from the Program or any
7464 part thereof, to be licensed as a whole at no charge to all third
7465 parties under the terms of this License.
7466
7467 c) If the modified program normally reads commands interactively
7468 when run, you must cause it, when started running for such
7469 interactive use in the most ordinary way, to print or display an
7470 announcement including an appropriate copyright notice and a
7471 notice that there is no warranty (or else, saying that you provide
7472 a warranty) and that users may redistribute the program under
7473 these conditions, and telling the user how to view a copy of this
7474 License. (Exception: if the Program itself is interactive but
7475 does not normally print such an announcement, your work based on
7476 the Program is not required to print an announcement.)
7477
7478These requirements apply to the modified work as a whole. If
7479identifiable sections of that work are not derived from the Program,
7480and can be reasonably considered independent and separate works in
7481themselves, then this License, and its terms, do not apply to those
7482sections when you distribute them as separate works. But when you
7483distribute the same sections as part of a whole which is a work based
7484on the Program, the distribution of the whole must be on the terms of
7485this License, whose permissions for other licensees extend to the
7486entire whole, and thus to each and every part regardless of who wrote it.
7487
7488Thus, it is not the intent of this section to claim rights or contest
7489your rights to work written entirely by you; rather, the intent is to
7490exercise the right to control the distribution of derivative or
7491collective works based on the Program.
7492
7493In addition, mere aggregation of another work not based on the Program
7494with the Program (or with a work based on the Program) on a volume of
7495a storage or distribution medium does not bring the other work under
7496the scope of this License.
7497
7498 3. You may copy and distribute the Program (or a work based on it,
7499under Section 2) in object code or executable form under the terms of
7500Sections 1 and 2 above provided that you also do one of the following:
7501
7502 a) Accompany it with the complete corresponding machine-readable
7503 source code, which must be distributed under the terms of Sections
7504 1 and 2 above on a medium customarily used for software interchange; or,
7505
7506 b) Accompany it with a written offer, valid for at least three
7507 years, to give any third party, for a charge no more than your
7508 cost of physically performing source distribution, a complete
7509 machine-readable copy of the corresponding source code, to be
7510 distributed under the terms of Sections 1 and 2 above on a medium
7511 customarily used for software interchange; or,
7512
7513 c) Accompany it with the information you received as to the offer
7514 to distribute corresponding source code. (This alternative is
7515 allowed only for noncommercial distribution and only if you
7516 received the program in object code or executable form with such
7517 an offer, in accord with Subsection b above.)
7518
7519The source code for a work means the preferred form of the work for
7520making modifications to it. For an executable work, complete source
7521code means all the source code for all modules it contains, plus any
7522associated interface definition files, plus the scripts used to
7523control compilation and installation of the executable. However, as a
7524special exception, the source code distributed need not include
7525anything that is normally distributed (in either source or binary
7526form) with the major components (compiler, kernel, and so on) of the
7527operating system on which the executable runs, unless that component
7528itself accompanies the executable.
7529
7530If distribution of executable or object code is made by offering
7531access to copy from a designated place, then offering equivalent
7532access to copy the source code from the same place counts as
7533distribution of the source code, even though third parties are not
7534compelled to copy the source along with the object code.
7535
7536 4. You may not copy, modify, sublicense, or distribute the Program
7537except as expressly provided under this License. Any attempt
7538otherwise to copy, modify, sublicense or distribute the Program is
7539void, and will automatically terminate your rights under this License.
7540However, parties who have received copies, or rights, from you under
7541this License will not have their licenses terminated so long as such
7542parties remain in full compliance.
7543
7544 5. You are not required to accept this License, since you have not
7545signed it. However, nothing else grants you permission to modify or
7546distribute the Program or its derivative works. These actions are
7547prohibited by law if you do not accept this License. Therefore, by
7548modifying or distributing the Program (or any work based on the
7549Program), you indicate your acceptance of this License to do so, and
7550all its terms and conditions for copying, distributing or modifying
7551the Program or works based on it.
7552
7553 6. Each time you redistribute the Program (or any work based on the
7554Program), the recipient automatically receives a license from the
7555original licensor to copy, distribute or modify the Program subject to
7556these terms and conditions. You may not impose any further
7557restrictions on the recipients' exercise of the rights granted herein.
7558You are not responsible for enforcing compliance by third parties to
7559this License.
7560
7561 7. If, as a consequence of a court judgment or allegation of patent
7562infringement or for any other reason (not limited to patent issues),
7563conditions are imposed on you (whether by court order, agreement or
7564otherwise) that contradict the conditions of this License, they do not
7565excuse you from the conditions of this License. If you cannot
7566distribute so as to satisfy simultaneously your obligations under this
7567License and any other pertinent obligations, then as a consequence you
7568may not distribute the Program at all. For example, if a patent
7569license would not permit royalty-free redistribution of the Program by
7570all those who receive copies directly or indirectly through you, then
7571the only way you could satisfy both it and this License would be to
7572refrain entirely from distribution of the Program.
7573
7574If any portion of this section is held invalid or unenforceable under
7575any particular circumstance, the balance of the section is intended to
7576apply and the section as a whole is intended to apply in other
7577circumstances.
7578
7579It is not the purpose of this section to induce you to infringe any
7580patents or other property right claims or to contest validity of any
7581such claims; this section has the sole purpose of protecting the
7582integrity of the free software distribution system, which is
7583implemented by public license practices. Many people have made
7584generous contributions to the wide range of software distributed
7585through that system in reliance on consistent application of that
7586system; it is up to the author/donor to decide if he or she is willing
7587to distribute software through any other system and a licensee cannot
7588impose that choice.
7589
7590This section is intended to make thoroughly clear what is believed to
7591be a consequence of the rest of this License.
7592
7593 8. If the distribution and/or use of the Program is restricted in
7594certain countries either by patents or by copyrighted interfaces, the
7595original copyright holder who places the Program under this License
7596may add an explicit geographical distribution limitation excluding
7597those countries, so that distribution is permitted only in or among
7598countries not thus excluded. In such case, this License incorporates
7599the limitation as if written in the body of this License.
7600
7601 9. The Free Software Foundation may publish revised and/or new versions
7602of the General Public License from time to time. Such new versions will
7603be similar in spirit to the present version, but may differ in detail to
7604address new problems or concerns.
7605
7606Each version is given a distinguishing version number. If the Program
7607specifies a version number of this License which applies to it and "any
7608later version", you have the option of following the terms and conditions
7609either of that version or of any later version published by the Free
7610Software Foundation. If the Program does not specify a version number of
7611this License, you may choose any version ever published by the Free Software
7612Foundation.
7613
7614 10. If you wish to incorporate parts of the Program into other free
7615programs whose distribution conditions are different, write to the author
7616to ask for permission. For software which is copyrighted by the Free
7617Software Foundation, write to the Free Software Foundation; we sometimes
7618make exceptions for this. Our decision will be guided by the two goals
7619of preserving the free status of all derivatives of our free software and
7620of promoting the sharing and reuse of software generally.
7621
7622 NO WARRANTY
7623
7624 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
7625FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
7626OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
7627PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
7628OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7629MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
7630TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
7631PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
7632REPAIR OR CORRECTION.
7633
7634 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
7635WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7636REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7637INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7638OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7639TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7640YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7641PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7642POSSIBILITY OF SUCH DAMAGES.
7643
7644 END OF TERMS AND CONDITIONS
7645
7646 How to Apply These Terms to Your New Programs
7647
7648 If you develop a new program, and you want it to be of the greatest
7649possible use to the public, the best way to achieve this is to make it
7650free software which everyone can redistribute and change under these terms.
7651
7652 To do so, attach the following notices to the program. It is safest
7653to attach them to the start of each source file to most effectively
7654convey the exclusion of warranty; and each file should have at least
7655the "copyright" line and a pointer to where the full notice is found.
7656
7657 <one line to give the program's name and a brief idea of what it does.>
7658 Copyright (C) 19yy <name of author>
7659
7660 This program is free software; you can redistribute it and/or modify
7661 it under the terms of the GNU General Public License as published by
7662 the Free Software Foundation; either version 2 of the License, or
7663 (at your option) any later version.
7664
7665 This program is distributed in the hope that it will be useful,
7666 but WITHOUT ANY WARRANTY; without even the implied warranty of
7667 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7668 GNU General Public License for more details.
7669
7670 You should have received a copy of the GNU General Public License
7671 along with this program; if not, write to the Free Software
7672 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7673
7674
7675Also add information on how to contact you by electronic and paper mail.
7676
7677If the program is interactive, make it output a short notice like this
7678when it starts in an interactive mode:
7679
7680 Gnomovision version 69, Copyright (C) 19yy name of author
7681 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
7682 This is free software, and you are welcome to redistribute it
7683 under certain conditions; type `show c' for details.
7684
7685The hypothetical commands `show w' and `show c' should show the appropriate
7686parts of the General Public License. Of course, the commands you use may
7687be called something other than `show w' and `show c'; they could even be
7688mouse-clicks or menu items--whatever suits your program.
7689
7690You should also get your employer (if you work as a programmer) or your
7691school, if any, to sign a "copyright disclaimer" for the program, if
7692necessary. Here is a sample; alter the names:
7693
7694 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
7695 `Gnomovision' (which makes passes at compilers) written by James Hacker.
7696
7697 <signature of Ty Coon>, 1 April 1989
7698 Ty Coon, President of Vice
7699
7700This General Public License does not permit incorporating your program into
7701proprietary programs. If your program is a subroutine library, you may
7702consider it more useful to permit linking proprietary applications with the
7703library. If this is what you want to do, use the GNU Library General
7704Public License instead of this License.
7705 GNU GENERAL PUBLIC LICENSE
7706 Version 2, June 1991
7707
7708 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07007709 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Joshua Lang904c3632017-02-02 12:54:24 -08007710 Everyone is permitted to copy and distribute verbatim copies
7711 of this license document, but changing it is not allowed.
7712
7713 Preamble
7714
7715 The licenses for most software are designed to take away your
7716freedom to share and change it. By contrast, the GNU General Public
7717License is intended to guarantee your freedom to share and change free
7718software--to make sure the software is free for all its users. This
7719General Public License applies to most of the Free Software
7720Foundation's software and to any other program whose authors commit to
7721using it. (Some other Free Software Foundation software is covered by
7722the GNU Library General Public License instead.) You can apply it to
7723your programs, too.
7724
7725 When we speak of free software, we are referring to freedom, not
7726price. Our General Public Licenses are designed to make sure that you
7727have the freedom to distribute copies of free software (and charge for
7728this service if you wish), that you receive source code or can get it
7729if you want it, that you can change the software or use pieces of it
7730in new free programs; and that you know you can do these things.
7731
7732 To protect your rights, we need to make restrictions that forbid
7733anyone to deny you these rights or to ask you to surrender the rights.
7734These restrictions translate to certain responsibilities for you if you
7735distribute copies of the software, or if you modify it.
7736
7737 For example, if you distribute copies of such a program, whether
7738gratis or for a fee, you must give the recipients all the rights that
7739you have. You must make sure that they, too, receive or can get the
7740source code. And you must show them these terms so they know their
7741rights.
7742
7743 We protect your rights with two steps: (1) copyright the software, and
7744(2) offer you this license which gives you legal permission to copy,
7745distribute and/or modify the software.
7746
7747 Also, for each author's protection and ours, we want to make certain
7748that everyone understands that there is no warranty for this free
7749software. If the software is modified by someone else and passed on, we
7750want its recipients to know that what they have is not the original, so
7751that any problems introduced by others will not reflect on the original
7752authors' reputations.
7753
7754 Finally, any free program is threatened constantly by software
7755patents. We wish to avoid the danger that redistributors of a free
7756program will individually obtain patent licenses, in effect making the
7757program proprietary. To prevent this, we have made it clear that any
7758patent must be licensed for everyone's free use or not licensed at all.
7759
7760 The precise terms and conditions for copying, distribution and
7761modification follow.
7762
7763 GNU GENERAL PUBLIC LICENSE
7764 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7765
7766 0. This License applies to any program or other work which contains
7767a notice placed by the copyright holder saying it may be distributed
7768under the terms of this General Public License. The "Program", below,
7769refers to any such program or work, and a "work based on the Program"
7770means either the Program or any derivative work under copyright law:
7771that is to say, a work containing the Program or a portion of it,
7772either verbatim or with modifications and/or translated into another
7773language. (Hereinafter, translation is included without limitation in
7774the term "modification".) Each licensee is addressed as "you".
7775
7776Activities other than copying, distribution and modification are not
7777covered by this License; they are outside its scope. The act of
7778running the Program is not restricted, and the output from the Program
7779is covered only if its contents constitute a work based on the
7780Program (independent of having been made by running the Program).
7781Whether that is true depends on what the Program does.
7782
7783 1. You may copy and distribute verbatim copies of the Program's
7784source code as you receive it, in any medium, provided that you
7785conspicuously and appropriately publish on each copy an appropriate
7786copyright notice and disclaimer of warranty; keep intact all the
7787notices that refer to this License and to the absence of any warranty;
7788and give any other recipients of the Program a copy of this License
7789along with the Program.
7790
7791You may charge a fee for the physical act of transferring a copy, and
7792you may at your option offer warranty protection in exchange for a fee.
7793
7794 2. You may modify your copy or copies of the Program or any portion
7795of it, thus forming a work based on the Program, and copy and
7796distribute such modifications or work under the terms of Section 1
7797above, provided that you also meet all of these conditions:
7798
7799 a) You must cause the modified files to carry prominent notices
7800 stating that you changed the files and the date of any change.
7801
7802 b) You must cause any work that you distribute or publish, that in
7803 whole or in part contains or is derived from the Program or any
7804 part thereof, to be licensed as a whole at no charge to all third
7805 parties under the terms of this License.
7806
7807 c) If the modified program normally reads commands interactively
7808 when run, you must cause it, when started running for such
7809 interactive use in the most ordinary way, to print or display an
7810 announcement including an appropriate copyright notice and a
7811 notice that there is no warranty (or else, saying that you provide
7812 a warranty) and that users may redistribute the program under
7813 these conditions, and telling the user how to view a copy of this
7814 License. (Exception: if the Program itself is interactive but
7815 does not normally print such an announcement, your work based on
7816 the Program is not required to print an announcement.)
7817
7818These requirements apply to the modified work as a whole. If
7819identifiable sections of that work are not derived from the Program,
7820and can be reasonably considered independent and separate works in
7821themselves, then this License, and its terms, do not apply to those
7822sections when you distribute them as separate works. But when you
7823distribute the same sections as part of a whole which is a work based
7824on the Program, the distribution of the whole must be on the terms of
7825this License, whose permissions for other licensees extend to the
7826entire whole, and thus to each and every part regardless of who wrote it.
7827
7828Thus, it is not the intent of this section to claim rights or contest
7829your rights to work written entirely by you; rather, the intent is to
7830exercise the right to control the distribution of derivative or
7831collective works based on the Program.
7832
7833In addition, mere aggregation of another work not based on the Program
7834with the Program (or with a work based on the Program) on a volume of
7835a storage or distribution medium does not bring the other work under
7836the scope of this License.
7837
7838 3. You may copy and distribute the Program (or a work based on it,
7839under Section 2) in object code or executable form under the terms of
7840Sections 1 and 2 above provided that you also do one of the following:
7841
7842 a) Accompany it with the complete corresponding machine-readable
7843 source code, which must be distributed under the terms of Sections
7844 1 and 2 above on a medium customarily used for software interchange; or,
7845
7846 b) Accompany it with a written offer, valid for at least three
7847 years, to give any third party, for a charge no more than your
7848 cost of physically performing source distribution, a complete
7849 machine-readable copy of the corresponding source code, to be
7850 distributed under the terms of Sections 1 and 2 above on a medium
7851 customarily used for software interchange; or,
7852
7853 c) Accompany it with the information you received as to the offer
7854 to distribute corresponding source code. (This alternative is
7855 allowed only for noncommercial distribution and only if you
7856 received the program in object code or executable form with such
7857 an offer, in accord with Subsection b above.)
7858
7859The source code for a work means the preferred form of the work for
7860making modifications to it. For an executable work, complete source
7861code means all the source code for all modules it contains, plus any
7862associated interface definition files, plus the scripts used to
7863control compilation and installation of the executable. However, as a
7864special exception, the source code distributed need not include
7865anything that is normally distributed (in either source or binary
7866form) with the major components (compiler, kernel, and so on) of the
7867operating system on which the executable runs, unless that component
7868itself accompanies the executable.
7869
7870If distribution of executable or object code is made by offering
7871access to copy from a designated place, then offering equivalent
7872access to copy the source code from the same place counts as
7873distribution of the source code, even though third parties are not
7874compelled to copy the source along with the object code.
7875
7876 4. You may not copy, modify, sublicense, or distribute the Program
7877except as expressly provided under this License. Any attempt
7878otherwise to copy, modify, sublicense or distribute the Program is
7879void, and will automatically terminate your rights under this License.
7880However, parties who have received copies, or rights, from you under
7881this License will not have their licenses terminated so long as such
7882parties remain in full compliance.
7883
7884 5. You are not required to accept this License, since you have not
7885signed it. However, nothing else grants you permission to modify or
7886distribute the Program or its derivative works. These actions are
7887prohibited by law if you do not accept this License. Therefore, by
7888modifying or distributing the Program (or any work based on the
7889Program), you indicate your acceptance of this License to do so, and
7890all its terms and conditions for copying, distributing or modifying
7891the Program or works based on it.
7892
7893 6. Each time you redistribute the Program (or any work based on the
7894Program), the recipient automatically receives a license from the
7895original licensor to copy, distribute or modify the Program subject to
7896these terms and conditions. You may not impose any further
7897restrictions on the recipients' exercise of the rights granted herein.
7898You are not responsible for enforcing compliance by third parties to
7899this License.
7900
7901 7. If, as a consequence of a court judgment or allegation of patent
7902infringement or for any other reason (not limited to patent issues),
7903conditions are imposed on you (whether by court order, agreement or
7904otherwise) that contradict the conditions of this License, they do not
7905excuse you from the conditions of this License. If you cannot
7906distribute so as to satisfy simultaneously your obligations under this
7907License and any other pertinent obligations, then as a consequence you
7908may not distribute the Program at all. For example, if a patent
7909license would not permit royalty-free redistribution of the Program by
7910all those who receive copies directly or indirectly through you, then
7911the only way you could satisfy both it and this License would be to
7912refrain entirely from distribution of the Program.
7913
7914If any portion of this section is held invalid or unenforceable under
7915any particular circumstance, the balance of the section is intended to
7916apply and the section as a whole is intended to apply in other
7917circumstances.
7918
7919It is not the purpose of this section to induce you to infringe any
7920patents or other property right claims or to contest validity of any
7921such claims; this section has the sole purpose of protecting the
7922integrity of the free software distribution system, which is
7923implemented by public license practices. Many people have made
7924generous contributions to the wide range of software distributed
7925through that system in reliance on consistent application of that
7926system; it is up to the author/donor to decide if he or she is willing
7927to distribute software through any other system and a licensee cannot
7928impose that choice.
7929
7930This section is intended to make thoroughly clear what is believed to
7931be a consequence of the rest of this License.
7932
7933 8. If the distribution and/or use of the Program is restricted in
7934certain countries either by patents or by copyrighted interfaces, the
7935original copyright holder who places the Program under this License
7936may add an explicit geographical distribution limitation excluding
7937those countries, so that distribution is permitted only in or among
7938countries not thus excluded. In such case, this License incorporates
7939the limitation as if written in the body of this License.
7940
7941 9. The Free Software Foundation may publish revised and/or new versions
7942of the General Public License from time to time. Such new versions will
7943be similar in spirit to the present version, but may differ in detail to
7944address new problems or concerns.
7945
7946Each version is given a distinguishing version number. If the Program
7947specifies a version number of this License which applies to it and "any
7948later version", you have the option of following the terms and conditions
7949either of that version or of any later version published by the Free
7950Software Foundation. If the Program does not specify a version number of
7951this License, you may choose any version ever published by the Free Software
7952Foundation.
7953
7954 10. If you wish to incorporate parts of the Program into other free
7955programs whose distribution conditions are different, write to the author
7956to ask for permission. For software which is copyrighted by the Free
7957Software Foundation, write to the Free Software Foundation; we sometimes
7958make exceptions for this. Our decision will be guided by the two goals
7959of preserving the free status of all derivatives of our free software and
7960of promoting the sharing and reuse of software generally.
7961
7962 NO WARRANTY
7963
7964 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
7965FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
7966OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
7967PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
7968OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7969MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
7970TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
7971PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
7972REPAIR OR CORRECTION.
7973
7974 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
7975WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7976REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7977INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7978OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7979TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7980YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7981PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7982POSSIBILITY OF SUCH DAMAGES.
7983
7984 END OF TERMS AND CONDITIONS
7985
7986 How to Apply These Terms to Your New Programs
7987
7988 If you develop a new program, and you want it to be of the greatest
7989possible use to the public, the best way to achieve this is to make it
7990free software which everyone can redistribute and change under these terms.
7991
7992 To do so, attach the following notices to the program. It is safest
7993to attach them to the start of each source file to most effectively
7994convey the exclusion of warranty; and each file should have at least
7995the "copyright" line and a pointer to where the full notice is found.
7996
7997 <one line to give the program's name and a brief idea of what it does.>
7998 Copyright (C) <year> <name of author>
7999
8000 This program is free software; you can redistribute it and/or modify
8001 it under the terms of the GNU General Public License as published by
8002 the Free Software Foundation; either version 2 of the License, or
8003 (at your option) any later version.
8004
8005 This program is distributed in the hope that it will be useful,
8006 but WITHOUT ANY WARRANTY; without even the implied warranty of
8007 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8008 GNU General Public License for more details.
8009
8010 You should have received a copy of the GNU General Public License
8011 along with this program; if not, write to the Free Software
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008012 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Joshua Lang904c3632017-02-02 12:54:24 -08008013
8014
8015Also add information on how to contact you by electronic and paper mail.
8016
8017If the program is interactive, make it output a short notice like this
8018when it starts in an interactive mode:
8019
8020 Gnomovision version 69, Copyright (C) year name of author
8021 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
8022 This is free software, and you are welcome to redistribute it
8023 under certain conditions; type `show c' for details.
8024
8025The hypothetical commands `show w' and `show c' should show the appropriate
8026parts of the General Public License. Of course, the commands you use may
8027be called something other than `show w' and `show c'; they could even be
8028mouse-clicks or menu items--whatever suits your program.
8029
8030You should also get your employer (if you work as a programmer) or your
8031school, if any, to sign a "copyright disclaimer" for the program, if
8032necessary. Here is a sample; alter the names:
8033
8034 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
8035 `Gnomovision' (which makes passes at compilers) written by James Hacker.
8036
8037 <signature of Ty Coon>, 1 April 1989
8038 Ty Coon, President of Vice
8039
8040This General Public License does not permit incorporating your program into
8041proprietary programs. If your program is a subroutine library, you may
8042consider it more useful to permit linking proprietary applications with the
8043library. If this is what you want to do, use the GNU Library General
8044Public License instead of this License.
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008045 GNU LESSER GENERAL PUBLIC LICENSE
Lingfeng Yang24c37482018-06-29 14:07:44 +00008046 Version 3, 29 June 2007
8047
8048 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
8049 Everyone is permitted to copy and distribute verbatim copies
8050 of this license document, but changing it is not allowed.
8051
8052
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008053 This version of the GNU Lesser General Public License incorporates
8054the terms and conditions of version 3 of the GNU General Public
8055License, supplemented by the additional permissions listed below.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008056
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008057 0. Additional Definitions.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008058
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008059 As used herein, "this License" refers to version 3 of the GNU Lesser
8060General Public License, and the "GNU GPL" refers to version 3 of the GNU
8061General Public License.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008062
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008063 "The Library" refers to a covered work governed by this License,
8064other than an Application or a Combined Work as defined below.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008065
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008066 An "Application" is any work that makes use of an interface provided
8067by the Library, but which is not otherwise based on the Library.
8068Defining a subclass of a class defined by the Library is deemed a mode
8069of using an interface provided by the Library.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008070
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008071 A "Combined Work" is a work produced by combining or linking an
8072Application with the Library. The particular version of the Library
8073with which the Combined Work was made is also called the "Linked
8074Version".
Lingfeng Yang24c37482018-06-29 14:07:44 +00008075
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008076 The "Minimal Corresponding Source" for a Combined Work means the
8077Corresponding Source for the Combined Work, excluding any source code
8078for portions of the Combined Work that, considered in isolation, are
8079based on the Application, and not on the Linked Version.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008080
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008081 The "Corresponding Application Code" for a Combined Work means the
8082object code and/or source code for the Application, including any data
8083and utility programs needed for reproducing the Combined Work from the
8084Application, but excluding the System Libraries of the Combined Work.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008085
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008086 1. Exception to Section 3 of the GNU GPL.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008087
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008088 You may convey a covered work under sections 3 and 4 of this License
8089without being bound by section 3 of the GNU GPL.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008090
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008091 2. Conveying Modified Versions.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008092
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008093 If you modify a copy of the Library, and, in your modifications, a
8094facility refers to a function or data to be supplied by an Application
8095that uses the facility (other than as an argument passed when the
8096facility is invoked), then you may convey a copy of the modified
8097version:
Lingfeng Yang24c37482018-06-29 14:07:44 +00008098
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008099 a) under this License, provided that you make a good faith effort to
8100 ensure that, in the event an Application does not supply the
8101 function or data, the facility still operates, and performs
8102 whatever part of its purpose remains meaningful, or
Lingfeng Yang24c37482018-06-29 14:07:44 +00008103
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008104 b) under the GNU GPL, with none of the additional permissions of
8105 this License applicable to that copy.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008106
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008107 3. Object Code Incorporating Material from Library Header Files.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008108
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008109 The object code form of an Application may incorporate material from
8110a header file that is part of the Library. You may convey such object
8111code under terms of your choice, provided that, if the incorporated
8112material is not limited to numerical parameters, data structure
8113layouts and accessors, or small macros, inline functions and templates
8114(ten or fewer lines in length), you do both of the following:
Lingfeng Yang24c37482018-06-29 14:07:44 +00008115
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008116 a) Give prominent notice with each copy of the object code that the
8117 Library is used in it and that the Library and its use are
8118 covered by this License.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008119
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008120 b) Accompany the object code with a copy of the GNU GPL and this license
8121 document.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008122
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008123 4. Combined Works.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008124
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008125 You may convey a Combined Work under terms of your choice that,
8126taken together, effectively do not restrict modification of the
8127portions of the Library contained in the Combined Work and reverse
8128engineering for debugging such modifications, if you also do each of
8129the following:
Lingfeng Yang24c37482018-06-29 14:07:44 +00008130
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008131 a) Give prominent notice with each copy of the Combined Work that
8132 the Library is used in it and that the Library and its use are
8133 covered by this License.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008134
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008135 b) Accompany the Combined Work with a copy of the GNU GPL and this license
8136 document.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008137
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008138 c) For a Combined Work that displays copyright notices during
8139 execution, include the copyright notice for the Library among
8140 these notices, as well as a reference directing the user to the
8141 copies of the GNU GPL and this license document.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008142
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008143 d) Do one of the following:
Lingfeng Yang24c37482018-06-29 14:07:44 +00008144
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008145 0) Convey the Minimal Corresponding Source under the terms of this
8146 License, and the Corresponding Application Code in a form
8147 suitable for, and under terms that permit, the user to
8148 recombine or relink the Application with a modified version of
8149 the Linked Version to produce a modified Combined Work, in the
8150 manner specified by section 6 of the GNU GPL for conveying
8151 Corresponding Source.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008152
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008153 1) Use a suitable shared library mechanism for linking with the
8154 Library. A suitable mechanism is one that (a) uses at run time
8155 a copy of the Library already present on the user's computer
8156 system, and (b) will operate properly with a modified version
8157 of the Library that is interface-compatible with the Linked
8158 Version.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008159
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008160 e) Provide Installation Information, but only if you would otherwise
8161 be required to provide such information under section 6 of the
8162 GNU GPL, and only to the extent that such information is
8163 necessary to install and execute a modified version of the
8164 Combined Work produced by recombining or relinking the
8165 Application with a modified version of the Linked Version. (If
8166 you use option 4d0, the Installation Information must accompany
8167 the Minimal Corresponding Source and Corresponding Application
8168 Code. If you use option 4d1, you must provide the Installation
8169 Information in the manner specified by section 6 of the GNU GPL
8170 for conveying Corresponding Source.)
Lingfeng Yang24c37482018-06-29 14:07:44 +00008171
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008172 5. Combined Libraries.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008173
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008174 You may place library facilities that are a work based on the
8175Library side by side in a single library together with other library
8176facilities that are not Applications and are not covered by this
8177License, and convey such a combined library under terms of your
8178choice, if you do both of the following:
Lingfeng Yang24c37482018-06-29 14:07:44 +00008179
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008180 a) Accompany the combined library with a copy of the same work based
8181 on the Library, uncombined with any other library facilities,
8182 conveyed under the terms of this License.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008183
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008184 b) Give prominent notice with the combined library that part of it
8185 is a work based on the Library, and explaining where to find the
8186 accompanying uncombined form of the same work.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008187
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008188 6. Revised Versions of the GNU Lesser General Public License.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008189
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008190 The Free Software Foundation may publish revised and/or new versions
8191of the GNU Lesser General Public License from time to time. Such new
8192versions will be similar in spirit to the present version, but may
8193differ in detail to address new problems or concerns.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008194
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008195 Each version is given a distinguishing version number. If the
8196Library as you received it specifies that a certain numbered version
8197of the GNU Lesser General Public License "or any later version"
8198applies to it, you have the option of following the terms and
8199conditions either of that published version or of any later version
8200published by the Free Software Foundation. If the Library as you
8201received it does not specify a version number of the GNU Lesser
8202General Public License, you may choose any version of the GNU Lesser
8203General Public License ever published by the Free Software Foundation.
Lingfeng Yang24c37482018-06-29 14:07:44 +00008204
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07008205 If the Library as you received it specifies that a proxy can decide
8206whether future versions of the GNU Lesser General Public License shall
8207apply, that proxy's public statement of acceptance of any version is
8208permanent authorization for you to choose that version for the
8209Library.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00008210 GNU LESSER GENERAL PUBLIC LICENSE
8211 Version 2.1, February 1999
8212
8213 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
8214 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8215 Everyone is permitted to copy and distribute verbatim copies
8216 of this license document, but changing it is not allowed.
8217
8218[This is the first released version of the Lesser GPL. It also counts
8219 as the successor of the GNU Library Public License, version 2, hence
8220 the version number 2.1.]
8221
8222 Preamble
8223
8224 The licenses for most software are designed to take away your
8225freedom to share and change it. By contrast, the GNU General Public
8226Licenses are intended to guarantee your freedom to share and change
8227free software--to make sure the software is free for all its users.
8228
8229 This license, the Lesser General Public License, applies to some
8230specially designated software packages--typically libraries--of the
8231Free Software Foundation and other authors who decide to use it. You
8232can use it too, but we suggest you first think carefully about whether
8233this license or the ordinary General Public License is the better
8234strategy to use in any particular case, based on the explanations below.
8235
8236 When we speak of free software, we are referring to freedom of use,
8237not price. Our General Public Licenses are designed to make sure that
8238you have the freedom to distribute copies of free software (and charge
8239for this service if you wish); that you receive source code or can get
8240it if you want it; that you can change the software and use pieces of
8241it in new free programs; and that you are informed that you can do
8242these things.
8243
8244 To protect your rights, we need to make restrictions that forbid
8245distributors to deny you these rights or to ask you to surrender these
8246rights. These restrictions translate to certain responsibilities for
8247you if you distribute copies of the library or if you modify it.
8248
8249 For example, if you distribute copies of the library, whether gratis
8250or for a fee, you must give the recipients all the rights that we gave
8251you. You must make sure that they, too, receive or can get the source
8252code. If you link other code with the library, you must provide
8253complete object files to the recipients, so that they can relink them
8254with the library after making changes to the library and recompiling
8255it. And you must show them these terms so they know their rights.
8256
8257 We protect your rights with a two-step method: (1) we copyright the
8258library, and (2) we offer you this license, which gives you legal
8259permission to copy, distribute and/or modify the library.
8260
8261 To protect each distributor, we want to make it very clear that
8262there is no warranty for the free library. Also, if the library is
8263modified by someone else and passed on, the recipients should know
8264that what they have is not the original version, so that the original
8265author's reputation will not be affected by problems that might be
8266introduced by others.
8267
8268 Finally, software patents pose a constant threat to the existence of
8269any free program. We wish to make sure that a company cannot
8270effectively restrict the users of a free program by obtaining a
8271restrictive license from a patent holder. Therefore, we insist that
8272any patent license obtained for a version of the library must be
8273consistent with the full freedom of use specified in this license.
8274
8275 Most GNU software, including some libraries, is covered by the
8276ordinary GNU General Public License. This license, the GNU Lesser
8277General Public License, applies to certain designated libraries, and
8278is quite different from the ordinary General Public License. We use
8279this license for certain libraries in order to permit linking those
8280libraries into non-free programs.
8281
8282 When a program is linked with a library, whether statically or using
8283a shared library, the combination of the two is legally speaking a
8284combined work, a derivative of the original library. The ordinary
8285General Public License therefore permits such linking only if the
8286entire combination fits its criteria of freedom. The Lesser General
8287Public License permits more lax criteria for linking other code with
8288the library.
8289
8290 We call this license the "Lesser" General Public License because it
8291does Less to protect the user's freedom than the ordinary General
8292Public License. It also provides other free software developers Less
8293of an advantage over competing non-free programs. These disadvantages
8294are the reason we use the ordinary General Public License for many
8295libraries. However, the Lesser license provides advantages in certain
8296special circumstances.
8297
8298 For example, on rare occasions, there may be a special need to
8299encourage the widest possible use of a certain library, so that it becomes
8300a de-facto standard. To achieve this, non-free programs must be
8301allowed to use the library. A more frequent case is that a free
8302library does the same job as widely used non-free libraries. In this
8303case, there is little to gain by limiting the free library to free
8304software only, so we use the Lesser General Public License.
8305
8306 In other cases, permission to use a particular library in non-free
8307programs enables a greater number of people to use a large body of
8308free software. For example, permission to use the GNU C Library in
8309non-free programs enables many more people to use the whole GNU
8310operating system, as well as its variant, the GNU/Linux operating
8311system.
8312
8313 Although the Lesser General Public License is Less protective of the
8314users' freedom, it does ensure that the user of a program that is
8315linked with the Library has the freedom and the wherewithal to run
8316that program using a modified version of the Library.
8317
8318 The precise terms and conditions for copying, distribution and
8319modification follow. Pay close attention to the difference between a
8320"work based on the library" and a "work that uses the library". The
8321former contains code derived from the library, whereas the latter must
8322be combined with the library in order to run.
8323
8324 GNU LESSER GENERAL PUBLIC LICENSE
8325 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
8326
8327 0. This License Agreement applies to any software library or other
8328program which contains a notice placed by the copyright holder or
8329other authorized party saying it may be distributed under the terms of
8330this Lesser General Public License (also called "this License").
8331Each licensee is addressed as "you".
8332
8333 A "library" means a collection of software functions and/or data
8334prepared so as to be conveniently linked with application programs
8335(which use some of those functions and data) to form executables.
8336
8337 The "Library", below, refers to any such software library or work
8338which has been distributed under these terms. A "work based on the
8339Library" means either the Library or any derivative work under
8340copyright law: that is to say, a work containing the Library or a
8341portion of it, either verbatim or with modifications and/or translated
8342straightforwardly into another language. (Hereinafter, translation is
8343included without limitation in the term "modification".)
8344
8345 "Source code" for a work means the preferred form of the work for
8346making modifications to it. For a library, complete source code means
8347all the source code for all modules it contains, plus any associated
8348interface definition files, plus the scripts used to control compilation
8349and installation of the library.
8350
8351 Activities other than copying, distribution and modification are not
8352covered by this License; they are outside its scope. The act of
8353running a program using the Library is not restricted, and output from
8354such a program is covered only if its contents constitute a work based
8355on the Library (independent of the use of the Library in a tool for
8356writing it). Whether that is true depends on what the Library does
8357and what the program that uses the Library does.
8358
8359 1. You may copy and distribute verbatim copies of the Library's
8360complete source code as you receive it, in any medium, provided that
8361you conspicuously and appropriately publish on each copy an
8362appropriate copyright notice and disclaimer of warranty; keep intact
8363all the notices that refer to this License and to the absence of any
8364warranty; and distribute a copy of this License along with the
Lingfeng Yang24c37482018-06-29 14:07:44 +00008365Library.
Lingfeng Yang15ba1812018-06-29 14:12:20 +00008366
8367 You may charge a fee for the physical act of transferring a copy,
8368and you may at your option offer warranty protection in exchange for a
8369fee.
8370
8371 2. You may modify your copy or copies of the Library or any portion
8372of it, thus forming a work based on the Library, and copy and
8373distribute such modifications or work under the terms of Section 1
8374above, provided that you also meet all of these conditions:
8375
8376 a) The modified work must itself be a software library.
8377
8378 b) You must cause the files modified to carry prominent notices
8379 stating that you changed the files and the date of any change.
8380
8381 c) You must cause the whole of the work to be licensed at no
8382 charge to all third parties under the terms of this License.
8383
8384 d) If a facility in the modified Library refers to a function or a
8385 table of data to be supplied by an application program that uses
8386 the facility, other than as an argument passed when the facility
8387 is invoked, then you must make a good faith effort to ensure that,
8388 in the event an application does not supply such function or
8389 table, the facility still operates, and performs whatever part of
8390 its purpose remains meaningful.
8391
8392 (For example, a function in a library to compute square roots has
8393 a purpose that is entirely well-defined independent of the
8394 application. Therefore, Subsection 2d requires that any
8395 application-supplied function or table used by this function must
8396 be optional: if the application does not supply it, the square
8397 root function must still compute square roots.)
8398
8399These requirements apply to the modified work as a whole. If
8400identifiable sections of that work are not derived from the Library,
8401and can be reasonably considered independent and separate works in
8402themselves, then this License, and its terms, do not apply to those
8403sections when you distribute them as separate works. But when you
8404distribute the same sections as part of a whole which is a work based
8405on the Library, the distribution of the whole must be on the terms of
8406this License, whose permissions for other licensees extend to the
8407entire whole, and thus to each and every part regardless of who wrote
8408it.
8409
8410Thus, it is not the intent of this section to claim rights or contest
8411your rights to work written entirely by you; rather, the intent is to
8412exercise the right to control the distribution of derivative or
8413collective works based on the Library.
8414
8415In addition, mere aggregation of another work not based on the Library
8416with the Library (or with a work based on the Library) on a volume of
8417a storage or distribution medium does not bring the other work under
8418the scope of this License.
8419
8420 3. You may opt to apply the terms of the ordinary GNU General Public
8421License instead of this License to a given copy of the Library. To do
8422this, you must alter all the notices that refer to this License, so
8423that they refer to the ordinary GNU General Public License, version 2,
8424instead of to this License. (If a newer version than version 2 of the
8425ordinary GNU General Public License has appeared, then you can specify
8426that version instead if you wish.) Do not make any other change in
8427these notices.
8428
8429 Once this change is made in a given copy, it is irreversible for
8430that copy, so the ordinary GNU General Public License applies to all
8431subsequent copies and derivative works made from that copy.
8432
8433 This option is useful when you wish to copy part of the code of
8434the Library into a program that is not a library.
8435
8436 4. You may copy and distribute the Library (or a portion or
8437derivative of it, under Section 2) in object code or executable form
8438under the terms of Sections 1 and 2 above provided that you accompany
8439it with the complete corresponding machine-readable source code, which
8440must be distributed under the terms of Sections 1 and 2 above on a
8441medium customarily used for software interchange.
8442
8443 If distribution of object code is made by offering access to copy
8444from a designated place, then offering equivalent access to copy the
8445source code from the same place satisfies the requirement to
8446distribute the source code, even though third parties are not
8447compelled to copy the source along with the object code.
8448
8449 5. A program that contains no derivative of any portion of the
8450Library, but is designed to work with the Library by being compiled or
8451linked with it, is called a "work that uses the Library". Such a
8452work, in isolation, is not a derivative work of the Library, and
8453therefore falls outside the scope of this License.
8454
8455 However, linking a "work that uses the Library" with the Library
8456creates an executable that is a derivative of the Library (because it
8457contains portions of the Library), rather than a "work that uses the
8458library". The executable is therefore covered by this License.
8459Section 6 states terms for distribution of such executables.
8460
8461 When a "work that uses the Library" uses material from a header file
8462that is part of the Library, the object code for the work may be a
8463derivative work of the Library even though the source code is not.
8464Whether this is true is especially significant if the work can be
8465linked without the Library, or if the work is itself a library. The
8466threshold for this to be true is not precisely defined by law.
8467
8468 If such an object file uses only numerical parameters, data
8469structure layouts and accessors, and small macros and small inline
8470functions (ten lines or less in length), then the use of the object
8471file is unrestricted, regardless of whether it is legally a derivative
8472work. (Executables containing this object code plus portions of the
8473Library will still fall under Section 6.)
8474
8475 Otherwise, if the work is a derivative of the Library, you may
8476distribute the object code for the work under the terms of Section 6.
8477Any executables containing that work also fall under Section 6,
8478whether or not they are linked directly with the Library itself.
8479
8480 6. As an exception to the Sections above, you may also combine or
8481link a "work that uses the Library" with the Library to produce a
8482work containing portions of the Library, and distribute that work
8483under terms of your choice, provided that the terms permit
8484modification of the work for the customer's own use and reverse
8485engineering for debugging such modifications.
8486
8487 You must give prominent notice with each copy of the work that the
8488Library is used in it and that the Library and its use are covered by
8489this License. You must supply a copy of this License. If the work
8490during execution displays copyright notices, you must include the
8491copyright notice for the Library among them, as well as a reference
8492directing the user to the copy of this License. Also, you must do one
8493of these things:
8494
8495 a) Accompany the work with the complete corresponding
8496 machine-readable source code for the Library including whatever
8497 changes were used in the work (which must be distributed under
8498 Sections 1 and 2 above); and, if the work is an executable linked
8499 with the Library, with the complete machine-readable "work that
8500 uses the Library", as object code and/or source code, so that the
8501 user can modify the Library and then relink to produce a modified
8502 executable containing the modified Library. (It is understood
8503 that the user who changes the contents of definitions files in the
8504 Library will not necessarily be able to recompile the application
8505 to use the modified definitions.)
8506
8507 b) Use a suitable shared library mechanism for linking with the
8508 Library. A suitable mechanism is one that (1) uses at run time a
8509 copy of the library already present on the user's computer system,
8510 rather than copying library functions into the executable, and (2)
8511 will operate properly with a modified version of the library, if
8512 the user installs one, as long as the modified version is
8513 interface-compatible with the version that the work was made with.
8514
8515 c) Accompany the work with a written offer, valid for at
8516 least three years, to give the same user the materials
8517 specified in Subsection 6a, above, for a charge no more
8518 than the cost of performing this distribution.
8519
8520 d) If distribution of the work is made by offering access to copy
8521 from a designated place, offer equivalent access to copy the above
8522 specified materials from the same place.
8523
8524 e) Verify that the user has already received a copy of these
8525 materials or that you have already sent this user a copy.
8526
8527 For an executable, the required form of the "work that uses the
8528Library" must include any data and utility programs needed for
8529reproducing the executable from it. However, as a special exception,
8530the materials to be distributed need not include anything that is
8531normally distributed (in either source or binary form) with the major
8532components (compiler, kernel, and so on) of the operating system on
8533which the executable runs, unless that component itself accompanies
8534the executable.
8535
8536 It may happen that this requirement contradicts the license
8537restrictions of other proprietary libraries that do not normally
8538accompany the operating system. Such a contradiction means you cannot
8539use both them and the Library together in an executable that you
8540distribute.
8541
8542 7. You may place library facilities that are a work based on the
8543Library side-by-side in a single library together with other library
8544facilities not covered by this License, and distribute such a combined
8545library, provided that the separate distribution of the work based on
8546the Library and of the other library facilities is otherwise
8547permitted, and provided that you do these two things:
8548
8549 a) Accompany the combined library with a copy of the same work
8550 based on the Library, uncombined with any other library
8551 facilities. This must be distributed under the terms of the
8552 Sections above.
8553
8554 b) Give prominent notice with the combined library of the fact
8555 that part of it is a work based on the Library, and explaining
8556 where to find the accompanying uncombined form of the same work.
8557
8558 8. You may not copy, modify, sublicense, link with, or distribute
8559the Library except as expressly provided under this License. Any
8560attempt otherwise to copy, modify, sublicense, link with, or
8561distribute the Library is void, and will automatically terminate your
8562rights under this License. However, parties who have received copies,
8563or rights, from you under this License will not have their licenses
8564terminated so long as such parties remain in full compliance.
8565
8566 9. You are not required to accept this License, since you have not
8567signed it. However, nothing else grants you permission to modify or
8568distribute the Library or its derivative works. These actions are
8569prohibited by law if you do not accept this License. Therefore, by
8570modifying or distributing the Library (or any work based on the
8571Library), you indicate your acceptance of this License to do so, and
8572all its terms and conditions for copying, distributing or modifying
8573the Library or works based on it.
8574
8575 10. Each time you redistribute the Library (or any work based on the
8576Library), the recipient automatically receives a license from the
8577original licensor to copy, distribute, link with or modify the Library
8578subject to these terms and conditions. You may not impose any further
8579restrictions on the recipients' exercise of the rights granted herein.
8580You are not responsible for enforcing compliance by third parties with
8581this License.
8582
8583 11. If, as a consequence of a court judgment or allegation of patent
8584infringement or for any other reason (not limited to patent issues),
8585conditions are imposed on you (whether by court order, agreement or
8586otherwise) that contradict the conditions of this License, they do not
8587excuse you from the conditions of this License. If you cannot
8588distribute so as to satisfy simultaneously your obligations under this
8589License and any other pertinent obligations, then as a consequence you
8590may not distribute the Library at all. For example, if a patent
8591license would not permit royalty-free redistribution of the Library by
8592all those who receive copies directly or indirectly through you, then
8593the only way you could satisfy both it and this License would be to
8594refrain entirely from distribution of the Library.
8595
8596If any portion of this section is held invalid or unenforceable under any
8597particular circumstance, the balance of the section is intended to apply,
8598and the section as a whole is intended to apply in other circumstances.
8599
8600It is not the purpose of this section to induce you to infringe any
8601patents or other property right claims or to contest validity of any
8602such claims; this section has the sole purpose of protecting the
8603integrity of the free software distribution system which is
8604implemented by public license practices. Many people have made
8605generous contributions to the wide range of software distributed
8606through that system in reliance on consistent application of that
8607system; it is up to the author/donor to decide if he or she is willing
8608to distribute software through any other system and a licensee cannot
8609impose that choice.
8610
8611This section is intended to make thoroughly clear what is believed to
8612be a consequence of the rest of this License.
8613
8614 12. If the distribution and/or use of the Library is restricted in
8615certain countries either by patents or by copyrighted interfaces, the
8616original copyright holder who places the Library under this License may add
8617an explicit geographical distribution limitation excluding those countries,
8618so that distribution is permitted only in or among countries not thus
8619excluded. In such case, this License incorporates the limitation as if
8620written in the body of this License.
8621
8622 13. The Free Software Foundation may publish revised and/or new
8623versions of the Lesser General Public License from time to time.
8624Such new versions will be similar in spirit to the present version,
8625but may differ in detail to address new problems or concerns.
8626
8627Each version is given a distinguishing version number. If the Library
8628specifies a version number of this License which applies to it and
8629"any later version", you have the option of following the terms and
8630conditions either of that version or of any later version published by
8631the Free Software Foundation. If the Library does not specify a
8632license version number, you may choose any version ever published by
8633the Free Software Foundation.
8634
8635 14. If you wish to incorporate parts of the Library into other free
8636programs whose distribution conditions are incompatible with these,
8637write to the author to ask for permission. For software which is
8638copyrighted by the Free Software Foundation, write to the Free
8639Software Foundation; we sometimes make exceptions for this. Our
8640decision will be guided by the two goals of preserving the free status
8641of all derivatives of our free software and of promoting the sharing
8642and reuse of software generally.
8643
8644 NO WARRANTY
8645
8646 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
8647WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
8648EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
8649OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
8650KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
8651IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
8652PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
8653LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
8654THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
8655
8656 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
8657WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
8658AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
8659FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
8660CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
8661LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
8662RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
8663FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
8664SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
8665DAMAGES.
8666
8667 END OF TERMS AND CONDITIONS
8668
8669 How to Apply These Terms to Your New Libraries
8670
8671 If you develop a new library, and you want it to be of the greatest
8672possible use to the public, we recommend making it free software that
8673everyone can redistribute and change. You can do so by permitting
8674redistribution under these terms (or, alternatively, under the terms of the
8675ordinary General Public License).
8676
8677 To apply these terms, attach the following notices to the library. It is
8678safest to attach them to the start of each source file to most effectively
8679convey the exclusion of warranty; and each file should have at least the
8680"copyright" line and a pointer to where the full notice is found.
8681
8682 <one line to give the library's name and a brief idea of what it does.>
8683 Copyright (C) <year> <name of author>
8684
8685 This library is free software; you can redistribute it and/or
8686 modify it under the terms of the GNU Lesser General Public
8687 License as published by the Free Software Foundation; either
8688 version 2.1 of the License, or (at your option) any later version.
8689
8690 This library is distributed in the hope that it will be useful,
8691 but WITHOUT ANY WARRANTY; without even the implied warranty of
8692 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8693 Lesser General Public License for more details.
8694
8695 You should have received a copy of the GNU Lesser General Public
8696 License along with this library; if not, write to the Free Software
8697 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8698
8699Also add information on how to contact you by electronic and paper mail.
8700
8701You should also get your employer (if you work as a programmer) or your
8702school, if any, to sign a "copyright disclaimer" for the library, if
8703necessary. Here is a sample; alter the names:
8704
8705 Yoyodyne, Inc., hereby disclaims all copyright interest in the
8706 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
8707
8708 <signature of Ty Coon>, 1 April 1990
8709 Ty Coon, President of Vice
8710
8711That's all there is to it!
8712
8713
Lingfeng Yang15ba1812018-06-29 14:12:20 +00008714 GNU LESSER GENERAL PUBLIC LICENSE
8715 Version 2.1, February 1999
8716
8717 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
8718 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8719 Everyone is permitted to copy and distribute verbatim copies
8720 of this license document, but changing it is not allowed.
8721
8722[This is the first released version of the Lesser GPL. It also counts
8723 as the successor of the GNU Library Public License, version 2, hence
8724 the version number 2.1.]
8725
8726 Preamble
8727
8728 The licenses for most software are designed to take away your
8729freedom to share and change it. By contrast, the GNU General Public
8730Licenses are intended to guarantee your freedom to share and change
8731free software--to make sure the software is free for all its users.
8732
8733 This license, the Lesser General Public License, applies to some
8734specially designated software packages--typically libraries--of the
8735Free Software Foundation and other authors who decide to use it. You
8736can use it too, but we suggest you first think carefully about whether
8737this license or the ordinary General Public License is the better
8738strategy to use in any particular case, based on the explanations below.
8739
8740 When we speak of free software, we are referring to freedom of use,
8741not price. Our General Public Licenses are designed to make sure that
8742you have the freedom to distribute copies of free software (and charge
8743for this service if you wish); that you receive source code or can get
8744it if you want it; that you can change the software and use pieces of
8745it in new free programs; and that you are informed that you can do
8746these things.
8747
8748 To protect your rights, we need to make restrictions that forbid
8749distributors to deny you these rights or to ask you to surrender these
8750rights. These restrictions translate to certain responsibilities for
8751you if you distribute copies of the library or if you modify it.
8752
8753 For example, if you distribute copies of the library, whether gratis
8754or for a fee, you must give the recipients all the rights that we gave
8755you. You must make sure that they, too, receive or can get the source
8756code. If you link other code with the library, you must provide
8757complete object files to the recipients, so that they can relink them
8758with the library after making changes to the library and recompiling
8759it. And you must show them these terms so they know their rights.
8760
8761 We protect your rights with a two-step method: (1) we copyright the
8762library, and (2) we offer you this license, which gives you legal
8763permission to copy, distribute and/or modify the library.
8764
8765 To protect each distributor, we want to make it very clear that
8766there is no warranty for the free library. Also, if the library is
8767modified by someone else and passed on, the recipients should know
8768that what they have is not the original version, so that the original
8769author's reputation will not be affected by problems that might be
8770introduced by others.
8771
8772 Finally, software patents pose a constant threat to the existence of
8773any free program. We wish to make sure that a company cannot
8774effectively restrict the users of a free program by obtaining a
8775restrictive license from a patent holder. Therefore, we insist that
8776any patent license obtained for a version of the library must be
8777consistent with the full freedom of use specified in this license.
8778
8779 Most GNU software, including some libraries, is covered by the
8780ordinary GNU General Public License. This license, the GNU Lesser
8781General Public License, applies to certain designated libraries, and
8782is quite different from the ordinary General Public License. We use
8783this license for certain libraries in order to permit linking those
8784libraries into non-free programs.
8785
8786 When a program is linked with a library, whether statically or using
8787a shared library, the combination of the two is legally speaking a
8788combined work, a derivative of the original library. The ordinary
8789General Public License therefore permits such linking only if the
8790entire combination fits its criteria of freedom. The Lesser General
8791Public License permits more lax criteria for linking other code with
8792the library.
8793
8794 We call this license the "Lesser" General Public License because it
8795does Less to protect the user's freedom than the ordinary General
8796Public License. It also provides other free software developers Less
8797of an advantage over competing non-free programs. These disadvantages
8798are the reason we use the ordinary General Public License for many
8799libraries. However, the Lesser license provides advantages in certain
8800special circumstances.
8801
8802 For example, on rare occasions, there may be a special need to
8803encourage the widest possible use of a certain library, so that it becomes
8804a de-facto standard. To achieve this, non-free programs must be
8805allowed to use the library. A more frequent case is that a free
8806library does the same job as widely used non-free libraries. In this
8807case, there is little to gain by limiting the free library to free
8808software only, so we use the Lesser General Public License.
8809
8810 In other cases, permission to use a particular library in non-free
8811programs enables a greater number of people to use a large body of
8812free software. For example, permission to use the GNU C Library in
8813non-free programs enables many more people to use the whole GNU
8814operating system, as well as its variant, the GNU/Linux operating
8815system.
8816
8817 Although the Lesser General Public License is Less protective of the
8818users' freedom, it does ensure that the user of a program that is
8819linked with the Library has the freedom and the wherewithal to run
8820that program using a modified version of the Library.
8821
8822 The precise terms and conditions for copying, distribution and
8823modification follow. Pay close attention to the difference between a
8824"work based on the library" and a "work that uses the library". The
8825former contains code derived from the library, whereas the latter must
8826be combined with the library in order to run.
8827
8828 GNU LESSER GENERAL PUBLIC LICENSE
8829 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
8830
8831 0. This License Agreement applies to any software library or other
8832program which contains a notice placed by the copyright holder or
8833other authorized party saying it may be distributed under the terms of
8834this Lesser General Public License (also called "this License").
8835Each licensee is addressed as "you".
8836
8837 A "library" means a collection of software functions and/or data
8838prepared so as to be conveniently linked with application programs
8839(which use some of those functions and data) to form executables.
8840
8841 The "Library", below, refers to any such software library or work
8842which has been distributed under these terms. A "work based on the
8843Library" means either the Library or any derivative work under
8844copyright law: that is to say, a work containing the Library or a
8845portion of it, either verbatim or with modifications and/or translated
8846straightforwardly into another language. (Hereinafter, translation is
8847included without limitation in the term "modification".)
8848
8849 "Source code" for a work means the preferred form of the work for
8850making modifications to it. For a library, complete source code means
8851all the source code for all modules it contains, plus any associated
8852interface definition files, plus the scripts used to control compilation
8853and installation of the library.
8854
8855 Activities other than copying, distribution and modification are not
8856covered by this License; they are outside its scope. The act of
8857running a program using the Library is not restricted, and output from
8858such a program is covered only if its contents constitute a work based
8859on the Library (independent of the use of the Library in a tool for
8860writing it). Whether that is true depends on what the Library does
8861and what the program that uses the Library does.
8862
8863 1. You may copy and distribute verbatim copies of the Library's
8864complete source code as you receive it, in any medium, provided that
8865you conspicuously and appropriately publish on each copy an
8866appropriate copyright notice and disclaimer of warranty; keep intact
8867all the notices that refer to this License and to the absence of any
8868warranty; and distribute a copy of this License along with the
8869Library.
8870
8871 You may charge a fee for the physical act of transferring a copy,
8872and you may at your option offer warranty protection in exchange for a
8873fee.
8874
8875 2. You may modify your copy or copies of the Library or any portion
8876of it, thus forming a work based on the Library, and copy and
8877distribute such modifications or work under the terms of Section 1
8878above, provided that you also meet all of these conditions:
8879
8880 a) The modified work must itself be a software library.
8881
8882 b) You must cause the files modified to carry prominent notices
8883 stating that you changed the files and the date of any change.
8884
8885 c) You must cause the whole of the work to be licensed at no
8886 charge to all third parties under the terms of this License.
8887
8888 d) If a facility in the modified Library refers to a function or a
8889 table of data to be supplied by an application program that uses
8890 the facility, other than as an argument passed when the facility
8891 is invoked, then you must make a good faith effort to ensure that,
8892 in the event an application does not supply such function or
8893 table, the facility still operates, and performs whatever part of
8894 its purpose remains meaningful.
8895
8896 (For example, a function in a library to compute square roots has
8897 a purpose that is entirely well-defined independent of the
8898 application. Therefore, Subsection 2d requires that any
8899 application-supplied function or table used by this function must
8900 be optional: if the application does not supply it, the square
8901 root function must still compute square roots.)
8902
8903These requirements apply to the modified work as a whole. If
8904identifiable sections of that work are not derived from the Library,
8905and can be reasonably considered independent and separate works in
8906themselves, then this License, and its terms, do not apply to those
8907sections when you distribute them as separate works. But when you
8908distribute the same sections as part of a whole which is a work based
8909on the Library, the distribution of the whole must be on the terms of
8910this License, whose permissions for other licensees extend to the
8911entire whole, and thus to each and every part regardless of who wrote
8912it.
8913
8914Thus, it is not the intent of this section to claim rights or contest
8915your rights to work written entirely by you; rather, the intent is to
8916exercise the right to control the distribution of derivative or
8917collective works based on the Library.
8918
8919In addition, mere aggregation of another work not based on the Library
8920with the Library (or with a work based on the Library) on a volume of
8921a storage or distribution medium does not bring the other work under
8922the scope of this License.
8923
8924 3. You may opt to apply the terms of the ordinary GNU General Public
8925License instead of this License to a given copy of the Library. To do
8926this, you must alter all the notices that refer to this License, so
8927that they refer to the ordinary GNU General Public License, version 2,
8928instead of to this License. (If a newer version than version 2 of the
8929ordinary GNU General Public License has appeared, then you can specify
8930that version instead if you wish.) Do not make any other change in
8931these notices.
8932
8933 Once this change is made in a given copy, it is irreversible for
8934that copy, so the ordinary GNU General Public License applies to all
8935subsequent copies and derivative works made from that copy.
8936
8937 This option is useful when you wish to copy part of the code of
8938the Library into a program that is not a library.
8939
8940 4. You may copy and distribute the Library (or a portion or
8941derivative of it, under Section 2) in object code or executable form
8942under the terms of Sections 1 and 2 above provided that you accompany
8943it with the complete corresponding machine-readable source code, which
8944must be distributed under the terms of Sections 1 and 2 above on a
8945medium customarily used for software interchange.
8946
8947 If distribution of object code is made by offering access to copy
8948from a designated place, then offering equivalent access to copy the
8949source code from the same place satisfies the requirement to
8950distribute the source code, even though third parties are not
8951compelled to copy the source along with the object code.
8952
8953 5. A program that contains no derivative of any portion of the
8954Library, but is designed to work with the Library by being compiled or
8955linked with it, is called a "work that uses the Library". Such a
8956work, in isolation, is not a derivative work of the Library, and
8957therefore falls outside the scope of this License.
8958
8959 However, linking a "work that uses the Library" with the Library
8960creates an executable that is a derivative of the Library (because it
8961contains portions of the Library), rather than a "work that uses the
8962library". The executable is therefore covered by this License.
8963Section 6 states terms for distribution of such executables.
8964
8965 When a "work that uses the Library" uses material from a header file
8966that is part of the Library, the object code for the work may be a
8967derivative work of the Library even though the source code is not.
8968Whether this is true is especially significant if the work can be
8969linked without the Library, or if the work is itself a library. The
8970threshold for this to be true is not precisely defined by law.
8971
8972 If such an object file uses only numerical parameters, data
8973structure layouts and accessors, and small macros and small inline
8974functions (ten lines or less in length), then the use of the object
8975file is unrestricted, regardless of whether it is legally a derivative
8976work. (Executables containing this object code plus portions of the
8977Library will still fall under Section 6.)
8978
8979 Otherwise, if the work is a derivative of the Library, you may
8980distribute the object code for the work under the terms of Section 6.
8981Any executables containing that work also fall under Section 6,
8982whether or not they are linked directly with the Library itself.
8983
8984 6. As an exception to the Sections above, you may also combine or
8985link a "work that uses the Library" with the Library to produce a
8986work containing portions of the Library, and distribute that work
8987under terms of your choice, provided that the terms permit
8988modification of the work for the customer's own use and reverse
8989engineering for debugging such modifications.
8990
8991 You must give prominent notice with each copy of the work that the
8992Library is used in it and that the Library and its use are covered by
8993this License. You must supply a copy of this License. If the work
8994during execution displays copyright notices, you must include the
8995copyright notice for the Library among them, as well as a reference
8996directing the user to the copy of this License. Also, you must do one
8997of these things:
8998
8999 a) Accompany the work with the complete corresponding
9000 machine-readable source code for the Library including whatever
9001 changes were used in the work (which must be distributed under
9002 Sections 1 and 2 above); and, if the work is an executable linked
9003 with the Library, with the complete machine-readable "work that
9004 uses the Library", as object code and/or source code, so that the
9005 user can modify the Library and then relink to produce a modified
9006 executable containing the modified Library. (It is understood
9007 that the user who changes the contents of definitions files in the
9008 Library will not necessarily be able to recompile the application
9009 to use the modified definitions.)
9010
9011 b) Use a suitable shared library mechanism for linking with the
9012 Library. A suitable mechanism is one that (1) uses at run time a
9013 copy of the library already present on the user's computer system,
9014 rather than copying library functions into the executable, and (2)
9015 will operate properly with a modified version of the library, if
9016 the user installs one, as long as the modified version is
9017 interface-compatible with the version that the work was made with.
9018
9019 c) Accompany the work with a written offer, valid for at
9020 least three years, to give the same user the materials
9021 specified in Subsection 6a, above, for a charge no more
9022 than the cost of performing this distribution.
9023
9024 d) If distribution of the work is made by offering access to copy
9025 from a designated place, offer equivalent access to copy the above
9026 specified materials from the same place.
9027
9028 e) Verify that the user has already received a copy of these
9029 materials or that you have already sent this user a copy.
9030
9031 For an executable, the required form of the "work that uses the
9032Library" must include any data and utility programs needed for
9033reproducing the executable from it. However, as a special exception,
9034the materials to be distributed need not include anything that is
9035normally distributed (in either source or binary form) with the major
9036components (compiler, kernel, and so on) of the operating system on
9037which the executable runs, unless that component itself accompanies
9038the executable.
9039
9040 It may happen that this requirement contradicts the license
9041restrictions of other proprietary libraries that do not normally
9042accompany the operating system. Such a contradiction means you cannot
9043use both them and the Library together in an executable that you
9044distribute.
9045
9046 7. You may place library facilities that are a work based on the
9047Library side-by-side in a single library together with other library
9048facilities not covered by this License, and distribute such a combined
9049library, provided that the separate distribution of the work based on
9050the Library and of the other library facilities is otherwise
9051permitted, and provided that you do these two things:
9052
9053 a) Accompany the combined library with a copy of the same work
9054 based on the Library, uncombined with any other library
9055 facilities. This must be distributed under the terms of the
9056 Sections above.
9057
9058 b) Give prominent notice with the combined library of the fact
9059 that part of it is a work based on the Library, and explaining
9060 where to find the accompanying uncombined form of the same work.
9061
9062 8. You may not copy, modify, sublicense, link with, or distribute
9063the Library except as expressly provided under this License. Any
9064attempt otherwise to copy, modify, sublicense, link with, or
9065distribute the Library is void, and will automatically terminate your
9066rights under this License. However, parties who have received copies,
9067or rights, from you under this License will not have their licenses
9068terminated so long as such parties remain in full compliance.
9069
9070 9. You are not required to accept this License, since you have not
9071signed it. However, nothing else grants you permission to modify or
9072distribute the Library or its derivative works. These actions are
9073prohibited by law if you do not accept this License. Therefore, by
9074modifying or distributing the Library (or any work based on the
9075Library), you indicate your acceptance of this License to do so, and
9076all its terms and conditions for copying, distributing or modifying
9077the Library or works based on it.
9078
9079 10. Each time you redistribute the Library (or any work based on the
9080Library), the recipient automatically receives a license from the
9081original licensor to copy, distribute, link with or modify the Library
9082subject to these terms and conditions. You may not impose any further
9083restrictions on the recipients' exercise of the rights granted herein.
9084You are not responsible for enforcing compliance by third parties with
9085this License.
9086
9087 11. If, as a consequence of a court judgment or allegation of patent
9088infringement or for any other reason (not limited to patent issues),
9089conditions are imposed on you (whether by court order, agreement or
9090otherwise) that contradict the conditions of this License, they do not
9091excuse you from the conditions of this License. If you cannot
9092distribute so as to satisfy simultaneously your obligations under this
9093License and any other pertinent obligations, then as a consequence you
9094may not distribute the Library at all. For example, if a patent
9095license would not permit royalty-free redistribution of the Library by
9096all those who receive copies directly or indirectly through you, then
9097the only way you could satisfy both it and this License would be to
9098refrain entirely from distribution of the Library.
9099
9100If any portion of this section is held invalid or unenforceable under any
9101particular circumstance, the balance of the section is intended to apply,
9102and the section as a whole is intended to apply in other circumstances.
9103
9104It is not the purpose of this section to induce you to infringe any
9105patents or other property right claims or to contest validity of any
9106such claims; this section has the sole purpose of protecting the
9107integrity of the free software distribution system which is
9108implemented by public license practices. Many people have made
9109generous contributions to the wide range of software distributed
9110through that system in reliance on consistent application of that
9111system; it is up to the author/donor to decide if he or she is willing
9112to distribute software through any other system and a licensee cannot
9113impose that choice.
9114
9115This section is intended to make thoroughly clear what is believed to
9116be a consequence of the rest of this License.
9117
9118 12. If the distribution and/or use of the Library is restricted in
9119certain countries either by patents or by copyrighted interfaces, the
9120original copyright holder who places the Library under this License may add
9121an explicit geographical distribution limitation excluding those countries,
9122so that distribution is permitted only in or among countries not thus
9123excluded. In such case, this License incorporates the limitation as if
9124written in the body of this License.
9125
9126 13. The Free Software Foundation may publish revised and/or new
9127versions of the Lesser General Public License from time to time.
9128Such new versions will be similar in spirit to the present version,
9129but may differ in detail to address new problems or concerns.
9130
9131Each version is given a distinguishing version number. If the Library
9132specifies a version number of this License which applies to it and
9133"any later version", you have the option of following the terms and
9134conditions either of that version or of any later version published by
9135the Free Software Foundation. If the Library does not specify a
9136license version number, you may choose any version ever published by
9137the Free Software Foundation.
9138
9139 14. If you wish to incorporate parts of the Library into other free
9140programs whose distribution conditions are incompatible with these,
9141write to the author to ask for permission. For software which is
9142copyrighted by the Free Software Foundation, write to the Free
9143Software Foundation; we sometimes make exceptions for this. Our
9144decision will be guided by the two goals of preserving the free status
9145of all derivatives of our free software and of promoting the sharing
9146and reuse of software generally.
9147
9148 NO WARRANTY
9149
9150 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
9151WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
9152EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
9153OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
9154KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
9155IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
9156PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
9157LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
9158THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
9159
9160 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
9161WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
9162AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
9163FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
9164CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
9165LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
9166RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
9167FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
9168SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
9169DAMAGES.
9170
9171 END OF TERMS AND CONDITIONS
9172
9173 How to Apply These Terms to Your New Libraries
9174
9175 If you develop a new library, and you want it to be of the greatest
9176possible use to the public, we recommend making it free software that
9177everyone can redistribute and change. You can do so by permitting
9178redistribution under these terms (or, alternatively, under the terms of the
9179ordinary General Public License).
9180
9181 To apply these terms, attach the following notices to the library. It is
9182safest to attach them to the start of each source file to most effectively
9183convey the exclusion of warranty; and each file should have at least the
9184"copyright" line and a pointer to where the full notice is found.
9185
9186 <one line to give the library's name and a brief idea of what it does.>
9187 Copyright (C) <year> <name of author>
9188
9189 This library is free software; you can redistribute it and/or
9190 modify it under the terms of the GNU Lesser General Public
9191 License as published by the Free Software Foundation; either
9192 version 2.1 of the License, or (at your option) any later version.
9193
9194 This library is distributed in the hope that it will be useful,
9195 but WITHOUT ANY WARRANTY; without even the implied warranty of
9196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9197 Lesser General Public License for more details.
9198
9199 You should have received a copy of the GNU Lesser General Public
9200 License along with this library; if not, write to the Free Software
9201 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9202
9203Also add information on how to contact you by electronic and paper mail.
9204
9205You should also get your employer (if you work as a programmer) or your
9206school, if any, to sign a "copyright disclaimer" for the library, if
9207necessary. Here is a sample; alter the names:
9208
9209 Yoyodyne, Inc., hereby disclaims all copyright interest in the
9210 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
9211
9212 <signature of Ty Coon>, 1 April 1990
9213 Ty Coon, President of Vice
9214
9215That's all there is to it!
9216
9217
9218
9219 GNU LESSER GENERAL PUBLIC LICENSE
9220 Version 2.1, February 1999
9221
9222 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
9223 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
9224 Everyone is permitted to copy and distribute verbatim copies
9225 of this license document, but changing it is not allowed.
9226
9227[This is the first released version of the Lesser GPL. It also counts
9228 as the successor of the GNU Library Public License, version 2, hence
9229 the version number 2.1.]
9230
9231 Preamble
9232
9233 The licenses for most software are designed to take away your
9234freedom to share and change it. By contrast, the GNU General Public
9235Licenses are intended to guarantee your freedom to share and change
9236free software--to make sure the software is free for all its users.
9237
9238 This license, the Lesser General Public License, applies to some
9239specially designated software packages--typically libraries--of the
9240Free Software Foundation and other authors who decide to use it. You
9241can use it too, but we suggest you first think carefully about whether
9242this license or the ordinary General Public License is the better
9243strategy to use in any particular case, based on the explanations
9244below.
9245
9246 When we speak of free software, we are referring to freedom of use,
9247not price. Our General Public Licenses are designed to make sure that
9248you have the freedom to distribute copies of free software (and charge
9249for this service if you wish); that you receive source code or can get
9250it if you want it; that you can change the software and use pieces of
9251it in new free programs; and that you are informed that you can do
9252these things.
9253
9254 To protect your rights, we need to make restrictions that forbid
9255distributors to deny you these rights or to ask you to surrender these
9256rights. These restrictions translate to certain responsibilities for
9257you if you distribute copies of the library or if you modify it.
9258
9259 For example, if you distribute copies of the library, whether gratis
9260or for a fee, you must give the recipients all the rights that we gave
9261you. You must make sure that they, too, receive or can get the source
9262code. If you link other code with the library, you must provide
9263complete object files to the recipients, so that they can relink them
9264with the library after making changes to the library and recompiling
9265it. And you must show them these terms so they know their rights.
9266
9267 We protect your rights with a two-step method: (1) we copyright the
9268library, and (2) we offer you this license, which gives you legal
9269permission to copy, distribute and/or modify the library.
9270
9271 To protect each distributor, we want to make it very clear that
9272there is no warranty for the free library. Also, if the library is
9273modified by someone else and passed on, the recipients should know
9274that what they have is not the original version, so that the original
9275author's reputation will not be affected by problems that might be
9276introduced by others.
9277
9278 Finally, software patents pose a constant threat to the existence of
9279any free program. We wish to make sure that a company cannot
9280effectively restrict the users of a free program by obtaining a
9281restrictive license from a patent holder. Therefore, we insist that
9282any patent license obtained for a version of the library must be
9283consistent with the full freedom of use specified in this license.
9284
9285 Most GNU software, including some libraries, is covered by the
9286ordinary GNU General Public License. This license, the GNU Lesser
9287General Public License, applies to certain designated libraries, and
9288is quite different from the ordinary General Public License. We use
9289this license for certain libraries in order to permit linking those
9290libraries into non-free programs.
9291
9292 When a program is linked with a library, whether statically or using
9293a shared library, the combination of the two is legally speaking a
9294combined work, a derivative of the original library. The ordinary
9295General Public License therefore permits such linking only if the
9296entire combination fits its criteria of freedom. The Lesser General
9297Public License permits more lax criteria for linking other code with
9298the library.
9299
9300 We call this license the "Lesser" General Public License because it
9301does Less to protect the user's freedom than the ordinary General
9302Public License. It also provides other free software developers Less
9303of an advantage over competing non-free programs. These disadvantages
9304are the reason we use the ordinary General Public License for many
9305libraries. However, the Lesser license provides advantages in certain
9306special circumstances.
9307
9308 For example, on rare occasions, there may be a special need to
9309encourage the widest possible use of a certain library, so that it
9310becomes a de-facto standard. To achieve this, non-free programs must
9311be allowed to use the library. A more frequent case is that a free
9312library does the same job as widely used non-free libraries. In this
9313case, there is little to gain by limiting the free library to free
9314software only, so we use the Lesser General Public License.
9315
9316 In other cases, permission to use a particular library in non-free
9317programs enables a greater number of people to use a large body of
9318free software. For example, permission to use the GNU C Library in
9319non-free programs enables many more people to use the whole GNU
9320operating system, as well as its variant, the GNU/Linux operating
9321system.
9322
9323 Although the Lesser General Public License is Less protective of the
9324users' freedom, it does ensure that the user of a program that is
9325linked with the Library has the freedom and the wherewithal to run
9326that program using a modified version of the Library.
9327
9328 The precise terms and conditions for copying, distribution and
9329modification follow. Pay close attention to the difference between a
9330"work based on the library" and a "work that uses the library". The
9331former contains code derived from the library, whereas the latter must
9332be combined with the library in order to run.
9333
9334 GNU LESSER GENERAL PUBLIC LICENSE
9335 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
9336
9337 0. This License Agreement applies to any software library or other
9338program which contains a notice placed by the copyright holder or
9339other authorized party saying it may be distributed under the terms of
9340this Lesser General Public License (also called "this License").
9341Each licensee is addressed as "you".
9342
9343 A "library" means a collection of software functions and/or data
9344prepared so as to be conveniently linked with application programs
9345(which use some of those functions and data) to form executables.
9346
9347 The "Library", below, refers to any such software library or work
9348which has been distributed under these terms. A "work based on the
9349Library" means either the Library or any derivative work under
9350copyright law: that is to say, a work containing the Library or a
9351portion of it, either verbatim or with modifications and/or translated
9352straightforwardly into another language. (Hereinafter, translation is
9353included without limitation in the term "modification".)
9354
9355 "Source code" for a work means the preferred form of the work for
9356making modifications to it. For a library, complete source code means
9357all the source code for all modules it contains, plus any associated
9358interface definition files, plus the scripts used to control
9359compilation and installation of the library.
9360
9361 Activities other than copying, distribution and modification are not
9362covered by this License; they are outside its scope. The act of
9363running a program using the Library is not restricted, and output from
9364such a program is covered only if its contents constitute a work based
9365on the Library (independent of the use of the Library in a tool for
9366writing it). Whether that is true depends on what the Library does
9367and what the program that uses the Library does.
9368
9369 1. You may copy and distribute verbatim copies of the Library's
9370complete source code as you receive it, in any medium, provided that
9371you conspicuously and appropriately publish on each copy an
9372appropriate copyright notice and disclaimer of warranty; keep intact
9373all the notices that refer to this License and to the absence of any
9374warranty; and distribute a copy of this License along with the
9375Library.
9376
9377 You may charge a fee for the physical act of transferring a copy,
9378and you may at your option offer warranty protection in exchange for a
9379fee.
9380
9381 2. You may modify your copy or copies of the Library or any portion
9382of it, thus forming a work based on the Library, and copy and
9383distribute such modifications or work under the terms of Section 1
9384above, provided that you also meet all of these conditions:
9385
9386 a) The modified work must itself be a software library.
9387
9388 b) You must cause the files modified to carry prominent notices
9389 stating that you changed the files and the date of any change.
9390
9391 c) You must cause the whole of the work to be licensed at no
9392 charge to all third parties under the terms of this License.
9393
9394 d) If a facility in the modified Library refers to a function or a
9395 table of data to be supplied by an application program that uses
9396 the facility, other than as an argument passed when the facility
9397 is invoked, then you must make a good faith effort to ensure that,
9398 in the event an application does not supply such function or
9399 table, the facility still operates, and performs whatever part of
9400 its purpose remains meaningful.
9401
9402 (For example, a function in a library to compute square roots has
9403 a purpose that is entirely well-defined independent of the
9404 application. Therefore, Subsection 2d requires that any
9405 application-supplied function or table used by this function must
9406 be optional: if the application does not supply it, the square
9407 root function must still compute square roots.)
9408
9409These requirements apply to the modified work as a whole. If
9410identifiable sections of that work are not derived from the Library,
9411and can be reasonably considered independent and separate works in
9412themselves, then this License, and its terms, do not apply to those
9413sections when you distribute them as separate works. But when you
9414distribute the same sections as part of a whole which is a work based
9415on the Library, the distribution of the whole must be on the terms of
9416this License, whose permissions for other licensees extend to the
9417entire whole, and thus to each and every part regardless of who wrote
9418it.
9419
9420Thus, it is not the intent of this section to claim rights or contest
9421your rights to work written entirely by you; rather, the intent is to
9422exercise the right to control the distribution of derivative or
9423collective works based on the Library.
9424
9425In addition, mere aggregation of another work not based on the Library
9426with the Library (or with a work based on the Library) on a volume of
9427a storage or distribution medium does not bring the other work under
9428the scope of this License.
9429
9430 3. You may opt to apply the terms of the ordinary GNU General Public
9431License instead of this License to a given copy of the Library. To do
9432this, you must alter all the notices that refer to this License, so
9433that they refer to the ordinary GNU General Public License, version 2,
9434instead of to this License. (If a newer version than version 2 of the
9435ordinary GNU General Public License has appeared, then you can specify
9436that version instead if you wish.) Do not make any other change in
9437these notices.
9438
9439 Once this change is made in a given copy, it is irreversible for
9440that copy, so the ordinary GNU General Public License applies to all
9441subsequent copies and derivative works made from that copy.
9442
9443 This option is useful when you wish to copy part of the code of
9444the Library into a program that is not a library.
9445
9446 4. You may copy and distribute the Library (or a portion or
9447derivative of it, under Section 2) in object code or executable form
9448under the terms of Sections 1 and 2 above provided that you accompany
9449it with the complete corresponding machine-readable source code, which
9450must be distributed under the terms of Sections 1 and 2 above on a
9451medium customarily used for software interchange.
9452
9453 If distribution of object code is made by offering access to copy
9454from a designated place, then offering equivalent access to copy the
9455source code from the same place satisfies the requirement to
9456distribute the source code, even though third parties are not
9457compelled to copy the source along with the object code.
9458
9459 5. A program that contains no derivative of any portion of the
9460Library, but is designed to work with the Library by being compiled or
9461linked with it, is called a "work that uses the Library". Such a
9462work, in isolation, is not a derivative work of the Library, and
9463therefore falls outside the scope of this License.
9464
9465 However, linking a "work that uses the Library" with the Library
9466creates an executable that is a derivative of the Library (because it
9467contains portions of the Library), rather than a "work that uses the
9468library". The executable is therefore covered by this License.
9469Section 6 states terms for distribution of such executables.
9470
9471 When a "work that uses the Library" uses material from a header file
9472that is part of the Library, the object code for the work may be a
9473derivative work of the Library even though the source code is not.
9474Whether this is true is especially significant if the work can be
9475linked without the Library, or if the work is itself a library. The
9476threshold for this to be true is not precisely defined by law.
9477
9478 If such an object file uses only numerical parameters, data
9479structure layouts and accessors, and small macros and small inline
9480functions (ten lines or less in length), then the use of the object
9481file is unrestricted, regardless of whether it is legally a derivative
9482work. (Executables containing this object code plus portions of the
9483Library will still fall under Section 6.)
9484
9485 Otherwise, if the work is a derivative of the Library, you may
9486distribute the object code for the work under the terms of Section 6.
9487Any executables containing that work also fall under Section 6,
9488whether or not they are linked directly with the Library itself.
9489
9490 6. As an exception to the Sections above, you may also combine or
9491link a "work that uses the Library" with the Library to produce a
9492work containing portions of the Library, and distribute that work
9493under terms of your choice, provided that the terms permit
9494modification of the work for the customer's own use and reverse
9495engineering for debugging such modifications.
9496
9497 You must give prominent notice with each copy of the work that the
9498Library is used in it and that the Library and its use are covered by
9499this License. You must supply a copy of this License. If the work
9500during execution displays copyright notices, you must include the
9501copyright notice for the Library among them, as well as a reference
9502directing the user to the copy of this License. Also, you must do one
9503of these things:
9504
9505 a) Accompany the work with the complete corresponding
9506 machine-readable source code for the Library including whatever
9507 changes were used in the work (which must be distributed under
9508 Sections 1 and 2 above); and, if the work is an executable linked
9509 with the Library, with the complete machine-readable "work that
9510 uses the Library", as object code and/or source code, so that the
9511 user can modify the Library and then relink to produce a modified
9512 executable containing the modified Library. (It is understood
9513 that the user who changes the contents of definitions files in the
9514 Library will not necessarily be able to recompile the application
9515 to use the modified definitions.)
9516
9517 b) Use a suitable shared library mechanism for linking with the
9518 Library. A suitable mechanism is one that (1) uses at run time a
9519 copy of the library already present on the user's computer system,
9520 rather than copying library functions into the executable, and (2)
9521 will operate properly with a modified version of the library, if
9522 the user installs one, as long as the modified version is
9523 interface-compatible with the version that the work was made with.
9524
9525 c) Accompany the work with a written offer, valid for at least
9526 three years, to give the same user the materials specified in
9527 Subsection 6a, above, for a charge no more than the cost of
9528 performing this distribution.
9529
9530 d) If distribution of the work is made by offering access to copy
9531 from a designated place, offer equivalent access to copy the above
9532 specified materials from the same place.
9533
9534 e) Verify that the user has already received a copy of these
9535 materials or that you have already sent this user a copy.
9536
9537 For an executable, the required form of the "work that uses the
9538Library" must include any data and utility programs needed for
9539reproducing the executable from it. However, as a special exception,
9540the materials to be distributed need not include anything that is
9541normally distributed (in either source or binary form) with the major
9542components (compiler, kernel, and so on) of the operating system on
9543which the executable runs, unless that component itself accompanies
9544the executable.
9545
9546 It may happen that this requirement contradicts the license
9547restrictions of other proprietary libraries that do not normally
9548accompany the operating system. Such a contradiction means you cannot
9549use both them and the Library together in an executable that you
9550distribute.
9551
9552 7. You may place library facilities that are a work based on the
9553Library side-by-side in a single library together with other library
9554facilities not covered by this License, and distribute such a combined
9555library, provided that the separate distribution of the work based on
9556the Library and of the other library facilities is otherwise
9557permitted, and provided that you do these two things:
9558
9559 a) Accompany the combined library with a copy of the same work
9560 based on the Library, uncombined with any other library
9561 facilities. This must be distributed under the terms of the
9562 Sections above.
9563
9564 b) Give prominent notice with the combined library of the fact
9565 that part of it is a work based on the Library, and explaining
9566 where to find the accompanying uncombined form of the same work.
9567
9568 8. You may not copy, modify, sublicense, link with, or distribute
9569the Library except as expressly provided under this License. Any
9570attempt otherwise to copy, modify, sublicense, link with, or
9571distribute the Library is void, and will automatically terminate your
9572rights under this License. However, parties who have received copies,
9573or rights, from you under this License will not have their licenses
9574terminated so long as such parties remain in full compliance.
9575
9576 9. You are not required to accept this License, since you have not
9577signed it. However, nothing else grants you permission to modify or
9578distribute the Library or its derivative works. These actions are
9579prohibited by law if you do not accept this License. Therefore, by
9580modifying or distributing the Library (or any work based on the
9581Library), you indicate your acceptance of this License to do so, and
9582all its terms and conditions for copying, distributing or modifying
9583the Library or works based on it.
9584
9585 10. Each time you redistribute the Library (or any work based on the
9586Library), the recipient automatically receives a license from the
9587original licensor to copy, distribute, link with or modify the Library
9588subject to these terms and conditions. You may not impose any further
9589restrictions on the recipients' exercise of the rights granted herein.
9590You are not responsible for enforcing compliance by third parties with
9591this License.
9592
9593 11. If, as a consequence of a court judgment or allegation of patent
9594infringement or for any other reason (not limited to patent issues),
9595conditions are imposed on you (whether by court order, agreement or
9596otherwise) that contradict the conditions of this License, they do not
9597excuse you from the conditions of this License. If you cannot
9598distribute so as to satisfy simultaneously your obligations under this
9599License and any other pertinent obligations, then as a consequence you
9600may not distribute the Library at all. For example, if a patent
9601license would not permit royalty-free redistribution of the Library by
9602all those who receive copies directly or indirectly through you, then
9603the only way you could satisfy both it and this License would be to
9604refrain entirely from distribution of the Library.
9605
9606If any portion of this section is held invalid or unenforceable under
9607any particular circumstance, the balance of the section is intended to
9608apply, and the section as a whole is intended to apply in other
9609circumstances.
9610
9611It is not the purpose of this section to induce you to infringe any
9612patents or other property right claims or to contest validity of any
9613such claims; this section has the sole purpose of protecting the
9614integrity of the free software distribution system which is
9615implemented by public license practices. Many people have made
9616generous contributions to the wide range of software distributed
9617through that system in reliance on consistent application of that
9618system; it is up to the author/donor to decide if he or she is willing
9619to distribute software through any other system and a licensee cannot
9620impose that choice.
9621
9622This section is intended to make thoroughly clear what is believed to
9623be a consequence of the rest of this License.
9624
9625 12. If the distribution and/or use of the Library is restricted in
9626certain countries either by patents or by copyrighted interfaces, the
9627original copyright holder who places the Library under this License
9628may add an explicit geographical distribution limitation excluding those
9629countries, so that distribution is permitted only in or among
9630countries not thus excluded. In such case, this License incorporates
9631the limitation as if written in the body of this License.
9632
9633 13. The Free Software Foundation may publish revised and/or new
9634versions of the Lesser General Public License from time to time.
9635Such new versions will be similar in spirit to the present version,
9636but may differ in detail to address new problems or concerns.
9637
9638Each version is given a distinguishing version number. If the Library
9639specifies a version number of this License which applies to it and
9640"any later version", you have the option of following the terms and
9641conditions either of that version or of any later version published by
9642the Free Software Foundation. If the Library does not specify a
9643license version number, you may choose any version ever published by
9644the Free Software Foundation.
9645
9646 14. If you wish to incorporate parts of the Library into other free
9647programs whose distribution conditions are incompatible with these,
9648write to the author to ask for permission. For software which is
9649copyrighted by the Free Software Foundation, write to the Free
9650Software Foundation; we sometimes make exceptions for this. Our
9651decision will be guided by the two goals of preserving the free status
9652of all derivatives of our free software and of promoting the sharing
9653and reuse of software generally.
9654
9655 NO WARRANTY
9656
9657 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
9658WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
9659EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
9660OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
9661KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
9662IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
9663PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
9664LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
9665THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
9666
9667 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
9668WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
9669AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
9670FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
9671CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
9672LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
9673RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
9674FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
9675SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
9676DAMAGES.
9677
9678 END OF TERMS AND CONDITIONS
9679
9680 How to Apply These Terms to Your New Libraries
9681
9682 If you develop a new library, and you want it to be of the greatest
9683possible use to the public, we recommend making it free software that
9684everyone can redistribute and change. You can do so by permitting
9685redistribution under these terms (or, alternatively, under the terms
9686of the ordinary General Public License).
9687
9688 To apply these terms, attach the following notices to the library.
9689It is safest to attach them to the start of each source file to most
9690effectively convey the exclusion of warranty; and each file should
9691have at least the "copyright" line and a pointer to where the full
9692notice is found.
9693
9694
9695 <one line to give the library's name and a brief idea of what it does.>
9696 Copyright (C) <year> <name of author>
9697
9698 This library is free software; you can redistribute it and/or
9699 modify it under the terms of the GNU Lesser General Public
9700 License as published by the Free Software Foundation; either
9701 version 2.1 of the License, or (at your option) any later version.
9702
9703 This library is distributed in the hope that it will be useful,
9704 but WITHOUT ANY WARRANTY; without even the implied warranty of
9705 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9706 Lesser General Public License for more details.
9707
9708 You should have received a copy of the GNU Lesser General Public
9709 License along with this library; if not, write to the Free Software
9710 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
9711
9712Also add information on how to contact you by electronic and paper mail.
9713
9714You should also get your employer (if you work as a programmer) or
9715your school, if any, to sign a "copyright disclaimer" for the library,
9716if necessary. Here is a sample; alter the names:
9717
9718 Yoyodyne, Inc., hereby disclaims all copyright interest in the
9719 library `Frob' (a library for tweaking knobs) written by James
9720 Random Hacker.
9721
9722 <signature of Ty Coon>, 1 April 1990
9723 Ty Coon, President of Vice
9724
9725That's all there is to it!
9726
9727
Pirama Arumuga Nainar74226d22018-10-09 16:02:00 -07009728GCC RUNTIME LIBRARY EXCEPTION
9729
9730Version 3.1, 31 March 2009
9731
9732Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
9733
9734Everyone is permitted to copy and distribute verbatim copies of this
9735license document, but changing it is not allowed.
9736
9737This GCC Runtime Library Exception ("Exception") is an additional
9738permission under section 7 of the GNU General Public License, version
97393 ("GPLv3"). It applies to a given file (the "Runtime Library") that
9740bears a notice placed by the copyright holder of the file stating that
9741the file is governed by GPLv3 along with this Exception.
9742
9743When you use GCC to compile a program, GCC may combine portions of
9744certain GCC header files and runtime libraries with the compiled
9745program. The purpose of this Exception is to allow compilation of
9746non-GPL (including proprietary) programs to use, in this way, the
9747header files and runtime libraries covered by this Exception.
9748
97490. Definitions.
9750
9751A file is an "Independent Module" if it either requires the Runtime
9752Library for execution after a Compilation Process, or makes use of an
9753interface provided by the Runtime Library, but is not otherwise based
9754on the Runtime Library.
9755
9756"GCC" means a version of the GNU Compiler Collection, with or without
9757modifications, governed by version 3 (or a specified later version) of
9758the GNU General Public License (GPL) with the option of using any
9759subsequent versions published by the FSF.
9760
9761"GPL-compatible Software" is software whose conditions of propagation,
9762modification and use would permit combination with GCC in accord with
9763the license of GCC.
9764
9765"Target Code" refers to output from any compiler for a real or virtual
9766target processor architecture, in executable form or suitable for
9767input to an assembler, loader, linker and/or execution
9768phase. Notwithstanding that, Target Code does not include data in any
9769format that is used as a compiler intermediate representation, or used
9770for producing a compiler intermediate representation.
9771
9772The "Compilation Process" transforms code entirely represented in
9773non-intermediate languages designed for human-written code, and/or in
9774Java Virtual Machine byte code, into Target Code. Thus, for example,
9775use of source code generators and preprocessors need not be considered
9776part of the Compilation Process, since the Compilation Process can be
9777understood as starting with the output of the generators or
9778preprocessors.
9779
9780A Compilation Process is "Eligible" if it is done using GCC, alone or
9781with other GPL-compatible software, or if it is done without using any
9782work based on GCC. For example, using non-GPL-compatible Software to
9783optimize any GCC intermediate representations would not qualify as an
9784Eligible Compilation Process.
9785
97861. Grant of Additional Permission.
9787
9788You have permission to propagate a work of Target Code formed by
9789combining the Runtime Library with Independent Modules, even if such
9790propagation would otherwise violate the terms of GPLv3, provided that
9791all Target Code was generated by Eligible Compilation Processes. You
9792may then convey such a combination under terms of your choice,
9793consistent with the licensing of the Independent Modules.
9794
97952. No Weakening of GCC Copyleft.
9796
9797The availability of this Exception does not imply any general
9798presumption that third-party software is unaffected by the copyleft
9799requirements of the license of GCC.
9800
9801 GNU GENERAL PUBLIC LICENSE
9802 Version 2, June 1991
9803
9804 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
9805 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9806 Everyone is permitted to copy and distribute verbatim copies
9807 of this license document, but changing it is not allowed.
9808
9809 Preamble
9810
9811 The licenses for most software are designed to take away your
9812freedom to share and change it. By contrast, the GNU General Public
9813License is intended to guarantee your freedom to share and change free
9814software--to make sure the software is free for all its users. This
9815General Public License applies to most of the Free Software
9816Foundation's software and to any other program whose authors commit to
9817using it. (Some other Free Software Foundation software is covered by
9818the GNU Library General Public License instead.) You can apply it to
9819your programs, too.
9820
9821 When we speak of free software, we are referring to freedom, not
9822price. Our General Public Licenses are designed to make sure that you
9823have the freedom to distribute copies of free software (and charge for
9824this service if you wish), that you receive source code or can get it
9825if you want it, that you can change the software or use pieces of it
9826in new free programs; and that you know you can do these things.
9827
9828 To protect your rights, we need to make restrictions that forbid
9829anyone to deny you these rights or to ask you to surrender the rights.
9830These restrictions translate to certain responsibilities for you if you
9831distribute copies of the software, or if you modify it.
9832
9833 For example, if you distribute copies of such a program, whether
9834gratis or for a fee, you must give the recipients all the rights that
9835you have. You must make sure that they, too, receive or can get the
9836source code. And you must show them these terms so they know their
9837rights.
9838
9839 We protect your rights with two steps: (1) copyright the software, and
9840(2) offer you this license which gives you legal permission to copy,
9841distribute and/or modify the software.
9842
9843 Also, for each author's protection and ours, we want to make certain
9844that everyone understands that there is no warranty for this free
9845software. If the software is modified by someone else and passed on, we
9846want its recipients to know that what they have is not the original, so
9847that any problems introduced by others will not reflect on the original
9848authors' reputations.
9849
9850 Finally, any free program is threatened constantly by software
9851patents. We wish to avoid the danger that redistributors of a free
9852program will individually obtain patent licenses, in effect making the
9853program proprietary. To prevent this, we have made it clear that any
9854patent must be licensed for everyone's free use or not licensed at all.
9855
9856 The precise terms and conditions for copying, distribution and
9857modification follow.
9858
9859 GNU GENERAL PUBLIC LICENSE
9860 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
9861
9862 0. This License applies to any program or other work which contains
9863a notice placed by the copyright holder saying it may be distributed
9864under the terms of this General Public License. The "Program", below,
9865refers to any such program or work, and a "work based on the Program"
9866means either the Program or any derivative work under copyright law:
9867that is to say, a work containing the Program or a portion of it,
9868either verbatim or with modifications and/or translated into another
9869language. (Hereinafter, translation is included without limitation in
9870the term "modification".) Each licensee is addressed as "you".
9871
9872Activities other than copying, distribution and modification are not
9873covered by this License; they are outside its scope. The act of
9874running the Program is not restricted, and the output from the Program
9875is covered only if its contents constitute a work based on the
9876Program (independent of having been made by running the Program).
9877Whether that is true depends on what the Program does.
9878
9879 1. You may copy and distribute verbatim copies of the Program's
9880source code as you receive it, in any medium, provided that you
9881conspicuously and appropriately publish on each copy an appropriate
9882copyright notice and disclaimer of warranty; keep intact all the
9883notices that refer to this License and to the absence of any warranty;
9884and give any other recipients of the Program a copy of this License
9885along with the Program.
9886
9887You may charge a fee for the physical act of transferring a copy, and
9888you may at your option offer warranty protection in exchange for a fee.
9889
9890 2. You may modify your copy or copies of the Program or any portion
9891of it, thus forming a work based on the Program, and copy and
9892distribute such modifications or work under the terms of Section 1
9893above, provided that you also meet all of these conditions:
9894
9895 a) You must cause the modified files to carry prominent notices
9896 stating that you changed the files and the date of any change.
9897
9898 b) You must cause any work that you distribute or publish, that in
9899 whole or in part contains or is derived from the Program or any
9900 part thereof, to be licensed as a whole at no charge to all third
9901 parties under the terms of this License.
9902
9903 c) If the modified program normally reads commands interactively
9904 when run, you must cause it, when started running for such
9905 interactive use in the most ordinary way, to print or display an
9906 announcement including an appropriate copyright notice and a
9907 notice that there is no warranty (or else, saying that you provide
9908 a warranty) and that users may redistribute the program under
9909 these conditions, and telling the user how to view a copy of this
9910 License. (Exception: if the Program itself is interactive but
9911 does not normally print such an announcement, your work based on
9912 the Program is not required to print an announcement.)
9913
9914These requirements apply to the modified work as a whole. If
9915identifiable sections of that work are not derived from the Program,
9916and can be reasonably considered independent and separate works in
9917themselves, then this License, and its terms, do not apply to those
9918sections when you distribute them as separate works. But when you
9919distribute the same sections as part of a whole which is a work based
9920on the Program, the distribution of the whole must be on the terms of
9921this License, whose permissions for other licensees extend to the
9922entire whole, and thus to each and every part regardless of who wrote it.
9923
9924Thus, it is not the intent of this section to claim rights or contest
9925your rights to work written entirely by you; rather, the intent is to
9926exercise the right to control the distribution of derivative or
9927collective works based on the Program.
9928
9929In addition, mere aggregation of another work not based on the Program
9930with the Program (or with a work based on the Program) on a volume of
9931a storage or distribution medium does not bring the other work under
9932the scope of this License.
9933
9934 3. You may copy and distribute the Program (or a work based on it,
9935under Section 2) in object code or executable form under the terms of
9936Sections 1 and 2 above provided that you also do one of the following:
9937
9938 a) Accompany it with the complete corresponding machine-readable
9939 source code, which must be distributed under the terms of Sections
9940 1 and 2 above on a medium customarily used for software interchange; or,
9941
9942 b) Accompany it with a written offer, valid for at least three
9943 years, to give any third party, for a charge no more than your
9944 cost of physically performing source distribution, a complete
9945 machine-readable copy of the corresponding source code, to be
9946 distributed under the terms of Sections 1 and 2 above on a medium
9947 customarily used for software interchange; or,
9948
9949 c) Accompany it with the information you received as to the offer
9950 to distribute corresponding source code. (This alternative is
9951 allowed only for noncommercial distribution and only if you
9952 received the program in object code or executable form with such
9953 an offer, in accord with Subsection b above.)
9954
9955The source code for a work means the preferred form of the work for
9956making modifications to it. For an executable work, complete source
9957code means all the source code for all modules it contains, plus any
9958associated interface definition files, plus the scripts used to
9959control compilation and installation of the executable. However, as a
9960special exception, the source code distributed need not include
9961anything that is normally distributed (in either source or binary
9962form) with the major components (compiler, kernel, and so on) of the
9963operating system on which the executable runs, unless that component
9964itself accompanies the executable.
9965
9966If distribution of executable or object code is made by offering
9967access to copy from a designated place, then offering equivalent
9968access to copy the source code from the same place counts as
9969distribution of the source code, even though third parties are not
9970compelled to copy the source along with the object code.
9971
9972 4. You may not copy, modify, sublicense, or distribute the Program
9973except as expressly provided under this License. Any attempt
9974otherwise to copy, modify, sublicense or distribute the Program is
9975void, and will automatically terminate your rights under this License.
9976However, parties who have received copies, or rights, from you under
9977this License will not have their licenses terminated so long as such
9978parties remain in full compliance.
9979
9980 5. You are not required to accept this License, since you have not
9981signed it. However, nothing else grants you permission to modify or
9982distribute the Program or its derivative works. These actions are
9983prohibited by law if you do not accept this License. Therefore, by
9984modifying or distributing the Program (or any work based on the
9985Program), you indicate your acceptance of this License to do so, and
9986all its terms and conditions for copying, distributing or modifying
9987the Program or works based on it.
9988
9989 6. Each time you redistribute the Program (or any work based on the
9990Program), the recipient automatically receives a license from the
9991original licensor to copy, distribute or modify the Program subject to
9992these terms and conditions. You may not impose any further
9993restrictions on the recipients' exercise of the rights granted herein.
9994You are not responsible for enforcing compliance by third parties to
9995this License.
9996
9997 7. If, as a consequence of a court judgment or allegation of patent
9998infringement or for any other reason (not limited to patent issues),
9999conditions are imposed on you (whether by court order, agreement or
10000otherwise) that contradict the conditions of this License, they do not
10001excuse you from the conditions of this License. If you cannot
10002distribute so as to satisfy simultaneously your obligations under this
10003License and any other pertinent obligations, then as a consequence you
10004may not distribute the Program at all. For example, if a patent
10005license would not permit royalty-free redistribution of the Program by
10006all those who receive copies directly or indirectly through you, then
10007the only way you could satisfy both it and this License would be to
10008refrain entirely from distribution of the Program.
10009
10010If any portion of this section is held invalid or unenforceable under
10011any particular circumstance, the balance of the section is intended to
10012apply and the section as a whole is intended to apply in other
10013circumstances.
10014
10015It is not the purpose of this section to induce you to infringe any
10016patents or other property right claims or to contest validity of any
10017such claims; this section has the sole purpose of protecting the
10018integrity of the free software distribution system, which is
10019implemented by public license practices. Many people have made
10020generous contributions to the wide range of software distributed
10021through that system in reliance on consistent application of that
10022system; it is up to the author/donor to decide if he or she is willing
10023to distribute software through any other system and a licensee cannot
10024impose that choice.
10025
10026This section is intended to make thoroughly clear what is believed to
10027be a consequence of the rest of this License.
10028
10029 8. If the distribution and/or use of the Program is restricted in
10030certain countries either by patents or by copyrighted interfaces, the
10031original copyright holder who places the Program under this License
10032may add an explicit geographical distribution limitation excluding
10033those countries, so that distribution is permitted only in or among
10034countries not thus excluded. In such case, this License incorporates
10035the limitation as if written in the body of this License.
10036
10037 9. The Free Software Foundation may publish revised and/or new versions
10038of the General Public License from time to time. Such new versions will
10039be similar in spirit to the present version, but may differ in detail to
10040address new problems or concerns.
10041
10042Each version is given a distinguishing version number. If the Program
10043specifies a version number of this License which applies to it and "any
10044later version", you have the option of following the terms and conditions
10045either of that version or of any later version published by the Free
10046Software Foundation. If the Program does not specify a version number of
10047this License, you may choose any version ever published by the Free Software
10048Foundation.
10049
10050 10. If you wish to incorporate parts of the Program into other free
10051programs whose distribution conditions are different, write to the author
10052to ask for permission. For software which is copyrighted by the Free
10053Software Foundation, write to the Free Software Foundation; we sometimes
10054make exceptions for this. Our decision will be guided by the two goals
10055of preserving the free status of all derivatives of our free software and
10056of promoting the sharing and reuse of software generally.
10057
10058 NO WARRANTY
10059
10060 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
10061FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
10062OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
10063PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
10064OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
10065MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
10066TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
10067PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
10068REPAIR OR CORRECTION.
10069
10070 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
10071WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
10072REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
10073INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
10074OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
10075TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
10076YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
10077PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
10078POSSIBILITY OF SUCH DAMAGES.
10079
10080 END OF TERMS AND CONDITIONS
10081
10082 How to Apply These Terms to Your New Programs
10083
10084 If you develop a new program, and you want it to be of the greatest
10085possible use to the public, the best way to achieve this is to make it
10086free software which everyone can redistribute and change under these terms.
10087
10088 To do so, attach the following notices to the program. It is safest
10089to attach them to the start of each source file to most effectively
10090convey the exclusion of warranty; and each file should have at least
10091the "copyright" line and a pointer to where the full notice is found.
10092
10093 <one line to give the program's name and a brief idea of what it does.>
10094 Copyright (C) <year> <name of author>
10095
10096 This program is free software; you can redistribute it and/or modify
10097 it under the terms of the GNU General Public License as published by
10098 the Free Software Foundation; either version 2 of the License, or
10099 (at your option) any later version.
10100
10101 This program is distributed in the hope that it will be useful,
10102 but WITHOUT ANY WARRANTY; without even the implied warranty of
10103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10104 GNU General Public License for more details.
10105
10106 You should have received a copy of the GNU General Public License
10107 along with this program; if not, write to the Free Software
10108 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
10109
10110
10111Also add information on how to contact you by electronic and paper mail.
10112
10113If the program is interactive, make it output a short notice like this
10114when it starts in an interactive mode:
10115
10116 Gnomovision version 69, Copyright (C) year name of author
10117 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
10118 This is free software, and you are welcome to redistribute it
10119 under certain conditions; type `show c' for details.
10120
10121The hypothetical commands `show w' and `show c' should show the appropriate
10122parts of the General Public License. Of course, the commands you use may
10123be called something other than `show w' and `show c'; they could even be
10124mouse-clicks or menu items--whatever suits your program.
10125
10126You should also get your employer (if you work as a programmer) or your
10127school, if any, to sign a "copyright disclaimer" for the program, if
10128necessary. Here is a sample; alter the names:
10129
10130 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
10131 `Gnomovision' (which makes passes at compilers) written by James Hacker.
10132
10133 <signature of Ty Coon>, 1 April 1989
10134 Ty Coon, President of Vice
10135
10136This General Public License does not permit incorporating your program into
10137proprietary programs. If your program is a subroutine library, you may
10138consider it more useful to permit linking proprietary applications with the
10139library. If this is what you want to do, use the GNU Library General
10140Public License instead of this License.
10141 GNU GENERAL PUBLIC LICENSE
10142 Version 3, 29 June 2007
10143
10144 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
10145 Everyone is permitted to copy and distribute verbatim copies
10146 of this license document, but changing it is not allowed.
10147
10148 Preamble
10149
10150 The GNU General Public License is a free, copyleft license for
10151software and other kinds of works.
10152
10153 The licenses for most software and other practical works are designed
10154to take away your freedom to share and change the works. By contrast,
10155the GNU General Public License is intended to guarantee your freedom to
10156share and change all versions of a program--to make sure it remains free
10157software for all its users. We, the Free Software Foundation, use the
10158GNU General Public License for most of our software; it applies also to
10159any other work released this way by its authors. You can apply it to
10160your programs, too.
10161
10162 When we speak of free software, we are referring to freedom, not
10163price. Our General Public Licenses are designed to make sure that you
10164have the freedom to distribute copies of free software (and charge for
10165them if you wish), that you receive source code or can get it if you
10166want it, that you can change the software or use pieces of it in new
10167free programs, and that you know you can do these things.
10168
10169 To protect your rights, we need to prevent others from denying you
10170these rights or asking you to surrender the rights. Therefore, you have
10171certain responsibilities if you distribute copies of the software, or if
10172you modify it: responsibilities to respect the freedom of others.
10173
10174 For example, if you distribute copies of such a program, whether
10175gratis or for a fee, you must pass on to the recipients the same
10176freedoms that you received. You must make sure that they, too, receive
10177or can get the source code. And you must show them these terms so they
10178know their rights.
10179
10180 Developers that use the GNU GPL protect your rights with two steps:
10181(1) assert copyright on the software, and (2) offer you this License
10182giving you legal permission to copy, distribute and/or modify it.
10183
10184 For the developers' and authors' protection, the GPL clearly explains
10185that there is no warranty for this free software. For both users' and
10186authors' sake, the GPL requires that modified versions be marked as
10187changed, so that their problems will not be attributed erroneously to
10188authors of previous versions.
10189
10190 Some devices are designed to deny users access to install or run
10191modified versions of the software inside them, although the manufacturer
10192can do so. This is fundamentally incompatible with the aim of
10193protecting users' freedom to change the software. The systematic
10194pattern of such abuse occurs in the area of products for individuals to
10195use, which is precisely where it is most unacceptable. Therefore, we
10196have designed this version of the GPL to prohibit the practice for those
10197products. If such problems arise substantially in other domains, we
10198stand ready to extend this provision to those domains in future versions
10199of the GPL, as needed to protect the freedom of users.
10200
10201 Finally, every program is threatened constantly by software patents.
10202States should not allow patents to restrict development and use of
10203software on general-purpose computers, but in those that do, we wish to
10204avoid the special danger that patents applied to a free program could
10205make it effectively proprietary. To prevent this, the GPL assures that
10206patents cannot be used to render the program non-free.
10207
10208 The precise terms and conditions for copying, distribution and
10209modification follow.
10210
10211 TERMS AND CONDITIONS
10212
10213 0. Definitions.
10214
10215 "This License" refers to version 3 of the GNU General Public License.
10216
10217 "Copyright" also means copyright-like laws that apply to other kinds of
10218works, such as semiconductor masks.
10219
10220 "The Program" refers to any copyrightable work licensed under this
10221License. Each licensee is addressed as "you". "Licensees" and
10222"recipients" may be individuals or organizations.
10223
10224 To "modify" a work means to copy from or adapt all or part of the work
10225in a fashion requiring copyright permission, other than the making of an
10226exact copy. The resulting work is called a "modified version" of the
10227earlier work or a work "based on" the earlier work.
10228
10229 A "covered work" means either the unmodified Program or a work based
10230on the Program.
10231
10232 To "propagate" a work means to do anything with it that, without
10233permission, would make you directly or secondarily liable for
10234infringement under applicable copyright law, except executing it on a
10235computer or modifying a private copy. Propagation includes copying,
10236distribution (with or without modification), making available to the
10237public, and in some countries other activities as well.
10238
10239 To "convey" a work means any kind of propagation that enables other
10240parties to make or receive copies. Mere interaction with a user through
10241a computer network, with no transfer of a copy, is not conveying.
10242
10243 An interactive user interface displays "Appropriate Legal Notices"
10244to the extent that it includes a convenient and prominently visible
10245feature that (1) displays an appropriate copyright notice, and (2)
10246tells the user that there is no warranty for the work (except to the
10247extent that warranties are provided), that licensees may convey the
10248work under this License, and how to view a copy of this License. If
10249the interface presents a list of user commands or options, such as a
10250menu, a prominent item in the list meets this criterion.
10251
10252 1. Source Code.
10253
10254 The "source code" for a work means the preferred form of the work
10255for making modifications to it. "Object code" means any non-source
10256form of a work.
10257
10258 A "Standard Interface" means an interface that either is an official
10259standard defined by a recognized standards body, or, in the case of
10260interfaces specified for a particular programming language, one that
10261is widely used among developers working in that language.
10262
10263 The "System Libraries" of an executable work include anything, other
10264than the work as a whole, that (a) is included in the normal form of
10265packaging a Major Component, but which is not part of that Major
10266Component, and (b) serves only to enable use of the work with that
10267Major Component, or to implement a Standard Interface for which an
10268implementation is available to the public in source code form. A
10269"Major Component", in this context, means a major essential component
10270(kernel, window system, and so on) of the specific operating system
10271(if any) on which the executable work runs, or a compiler used to
10272produce the work, or an object code interpreter used to run it.
10273
10274 The "Corresponding Source" for a work in object code form means all
10275the source code needed to generate, install, and (for an executable
10276work) run the object code and to modify the work, including scripts to
10277control those activities. However, it does not include the work's
10278System Libraries, or general-purpose tools or generally available free
10279programs which are used unmodified in performing those activities but
10280which are not part of the work. For example, Corresponding Source
10281includes interface definition files associated with source files for
10282the work, and the source code for shared libraries and dynamically
10283linked subprograms that the work is specifically designed to require,
10284such as by intimate data communication or control flow between those
10285subprograms and other parts of the work.
10286
10287 The Corresponding Source need not include anything that users
10288can regenerate automatically from other parts of the Corresponding
10289Source.
10290
10291 The Corresponding Source for a work in source code form is that
10292same work.
10293
10294 2. Basic Permissions.
10295
10296 All rights granted under this License are granted for the term of
10297copyright on the Program, and are irrevocable provided the stated
10298conditions are met. This License explicitly affirms your unlimited
10299permission to run the unmodified Program. The output from running a
10300covered work is covered by this License only if the output, given its
10301content, constitutes a covered work. This License acknowledges your
10302rights of fair use or other equivalent, as provided by copyright law.
10303
10304 You may make, run and propagate covered works that you do not
10305convey, without conditions so long as your license otherwise remains
10306in force. You may convey covered works to others for the sole purpose
10307of having them make modifications exclusively for you, or provide you
10308with facilities for running those works, provided that you comply with
10309the terms of this License in conveying all material for which you do
10310not control copyright. Those thus making or running the covered works
10311for you must do so exclusively on your behalf, under your direction
10312and control, on terms that prohibit them from making any copies of
10313your copyrighted material outside their relationship with you.
10314
10315 Conveying under any other circumstances is permitted solely under
10316the conditions stated below. Sublicensing is not allowed; section 10
10317makes it unnecessary.
10318
10319 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
10320
10321 No covered work shall be deemed part of an effective technological
10322measure under any applicable law fulfilling obligations under article
1032311 of the WIPO copyright treaty adopted on 20 December 1996, or
10324similar laws prohibiting or restricting circumvention of such
10325measures.
10326
10327 When you convey a covered work, you waive any legal power to forbid
10328circumvention of technological measures to the extent such circumvention
10329is effected by exercising rights under this License with respect to
10330the covered work, and you disclaim any intention to limit operation or
10331modification of the work as a means of enforcing, against the work's
10332users, your or third parties' legal rights to forbid circumvention of
10333technological measures.
10334
10335 4. Conveying Verbatim Copies.
10336
10337 You may convey verbatim copies of the Program's source code as you
10338receive it, in any medium, provided that you conspicuously and
10339appropriately publish on each copy an appropriate copyright notice;
10340keep intact all notices stating that this License and any
10341non-permissive terms added in accord with section 7 apply to the code;
10342keep intact all notices of the absence of any warranty; and give all
10343recipients a copy of this License along with the Program.
10344
10345 You may charge any price or no price for each copy that you convey,
10346and you may offer support or warranty protection for a fee.
10347
10348 5. Conveying Modified Source Versions.
10349
10350 You may convey a work based on the Program, or the modifications to
10351produce it from the Program, in the form of source code under the
10352terms of section 4, provided that you also meet all of these conditions:
10353
10354 a) The work must carry prominent notices stating that you modified
10355 it, and giving a relevant date.
10356
10357 b) The work must carry prominent notices stating that it is
10358 released under this License and any conditions added under section
10359 7. This requirement modifies the requirement in section 4 to
10360 "keep intact all notices".
10361
10362 c) You must license the entire work, as a whole, under this
10363 License to anyone who comes into possession of a copy. This
10364 License will therefore apply, along with any applicable section 7
10365 additional terms, to the whole of the work, and all its parts,
10366 regardless of how they are packaged. This License gives no
10367 permission to license the work in any other way, but it does not
10368 invalidate such permission if you have separately received it.
10369
10370 d) If the work has interactive user interfaces, each must display
10371 Appropriate Legal Notices; however, if the Program has interactive
10372 interfaces that do not display Appropriate Legal Notices, your
10373 work need not make them do so.
10374
10375 A compilation of a covered work with other separate and independent
10376works, which are not by their nature extensions of the covered work,
10377and which are not combined with it such as to form a larger program,
10378in or on a volume of a storage or distribution medium, is called an
10379"aggregate" if the compilation and its resulting copyright are not
10380used to limit the access or legal rights of the compilation's users
10381beyond what the individual works permit. Inclusion of a covered work
10382in an aggregate does not cause this License to apply to the other
10383parts of the aggregate.
10384
10385 6. Conveying Non-Source Forms.
10386
10387 You may convey a covered work in object code form under the terms
10388of sections 4 and 5, provided that you also convey the
10389machine-readable Corresponding Source under the terms of this License,
10390in one of these ways:
10391
10392 a) Convey the object code in, or embodied in, a physical product
10393 (including a physical distribution medium), accompanied by the
10394 Corresponding Source fixed on a durable physical medium
10395 customarily used for software interchange.
10396
10397 b) Convey the object code in, or embodied in, a physical product
10398 (including a physical distribution medium), accompanied by a
10399 written offer, valid for at least three years and valid for as
10400 long as you offer spare parts or customer support for that product
10401 model, to give anyone who possesses the object code either (1) a
10402 copy of the Corresponding Source for all the software in the
10403 product that is covered by this License, on a durable physical
10404 medium customarily used for software interchange, for a price no
10405 more than your reasonable cost of physically performing this
10406 conveying of source, or (2) access to copy the
10407 Corresponding Source from a network server at no charge.
10408
10409 c) Convey individual copies of the object code with a copy of the
10410 written offer to provide the Corresponding Source. This
10411 alternative is allowed only occasionally and noncommercially, and
10412 only if you received the object code with such an offer, in accord
10413 with subsection 6b.
10414
10415 d) Convey the object code by offering access from a designated
10416 place (gratis or for a charge), and offer equivalent access to the
10417 Corresponding Source in the same way through the same place at no
10418 further charge. You need not require recipients to copy the
10419 Corresponding Source along with the object code. If the place to
10420 copy the object code is a network server, the Corresponding Source
10421 may be on a different server (operated by you or a third party)
10422 that supports equivalent copying facilities, provided you maintain
10423 clear directions next to the object code saying where to find the
10424 Corresponding Source. Regardless of what server hosts the
10425 Corresponding Source, you remain obligated to ensure that it is
10426 available for as long as needed to satisfy these requirements.
10427
10428 e) Convey the object code using peer-to-peer transmission, provided
10429 you inform other peers where the object code and Corresponding
10430 Source of the work are being offered to the general public at no
10431 charge under subsection 6d.
10432
10433 A separable portion of the object code, whose source code is excluded
10434from the Corresponding Source as a System Library, need not be
10435included in conveying the object code work.
10436
10437 A "User Product" is either (1) a "consumer product", which means any
10438tangible personal property which is normally used for personal, family,
10439or household purposes, or (2) anything designed or sold for incorporation
10440into a dwelling. In determining whether a product is a consumer product,
10441doubtful cases shall be resolved in favor of coverage. For a particular
10442product received by a particular user, "normally used" refers to a
10443typical or common use of that class of product, regardless of the status
10444of the particular user or of the way in which the particular user
10445actually uses, or expects or is expected to use, the product. A product
10446is a consumer product regardless of whether the product has substantial
10447commercial, industrial or non-consumer uses, unless such uses represent
10448the only significant mode of use of the product.
10449
10450 "Installation Information" for a User Product means any methods,
10451procedures, authorization keys, or other information required to install
10452and execute modified versions of a covered work in that User Product from
10453a modified version of its Corresponding Source. The information must
10454suffice to ensure that the continued functioning of the modified object
10455code is in no case prevented or interfered with solely because
10456modification has been made.
10457
10458 If you convey an object code work under this section in, or with, or
10459specifically for use in, a User Product, and the conveying occurs as
10460part of a transaction in which the right of possession and use of the
10461User Product is transferred to the recipient in perpetuity or for a
10462fixed term (regardless of how the transaction is characterized), the
10463Corresponding Source conveyed under this section must be accompanied
10464by the Installation Information. But this requirement does not apply
10465if neither you nor any third party retains the ability to install
10466modified object code on the User Product (for example, the work has
10467been installed in ROM).
10468
10469 The requirement to provide Installation Information does not include a
10470requirement to continue to provide support service, warranty, or updates
10471for a work that has been modified or installed by the recipient, or for
10472the User Product in which it has been modified or installed. Access to a
10473network may be denied when the modification itself materially and
10474adversely affects the operation of the network or violates the rules and
10475protocols for communication across the network.
10476
10477 Corresponding Source conveyed, and Installation Information provided,
10478in accord with this section must be in a format that is publicly
10479documented (and with an implementation available to the public in
10480source code form), and must require no special password or key for
10481unpacking, reading or copying.
10482
10483 7. Additional Terms.
10484
10485 "Additional permissions" are terms that supplement the terms of this
10486License by making exceptions from one or more of its conditions.
10487Additional permissions that are applicable to the entire Program shall
10488be treated as though they were included in this License, to the extent
10489that they are valid under applicable law. If additional permissions
10490apply only to part of the Program, that part may be used separately
10491under those permissions, but the entire Program remains governed by
10492this License without regard to the additional permissions.
10493
10494 When you convey a copy of a covered work, you may at your option
10495remove any additional permissions from that copy, or from any part of
10496it. (Additional permissions may be written to require their own
10497removal in certain cases when you modify the work.) You may place
10498additional permissions on material, added by you to a covered work,
10499for which you have or can give appropriate copyright permission.
10500
10501 Notwithstanding any other provision of this License, for material you
10502add to a covered work, you may (if authorized by the copyright holders of
10503that material) supplement the terms of this License with terms:
10504
10505 a) Disclaiming warranty or limiting liability differently from the
10506 terms of sections 15 and 16 of this License; or
10507
10508 b) Requiring preservation of specified reasonable legal notices or
10509 author attributions in that material or in the Appropriate Legal
10510 Notices displayed by works containing it; or
10511
10512 c) Prohibiting misrepresentation of the origin of that material, or
10513 requiring that modified versions of such material be marked in
10514 reasonable ways as different from the original version; or
10515
10516 d) Limiting the use for publicity purposes of names of licensors or
10517 authors of the material; or
10518
10519 e) Declining to grant rights under trademark law for use of some
10520 trade names, trademarks, or service marks; or
10521
10522 f) Requiring indemnification of licensors and authors of that
10523 material by anyone who conveys the material (or modified versions of
10524 it) with contractual assumptions of liability to the recipient, for
10525 any liability that these contractual assumptions directly impose on
10526 those licensors and authors.
10527
10528 All other non-permissive additional terms are considered "further
10529restrictions" within the meaning of section 10. If the Program as you
10530received it, or any part of it, contains a notice stating that it is
10531governed by this License along with a term that is a further
10532restriction, you may remove that term. If a license document contains
10533a further restriction but permits relicensing or conveying under this
10534License, you may add to a covered work material governed by the terms
10535of that license document, provided that the further restriction does
10536not survive such relicensing or conveying.
10537
10538 If you add terms to a covered work in accord with this section, you
10539must place, in the relevant source files, a statement of the
10540additional terms that apply to those files, or a notice indicating
10541where to find the applicable terms.
10542
10543 Additional terms, permissive or non-permissive, may be stated in the
10544form of a separately written license, or stated as exceptions;
10545the above requirements apply either way.
10546
10547 8. Termination.
10548
10549 You may not propagate or modify a covered work except as expressly
10550provided under this License. Any attempt otherwise to propagate or
10551modify it is void, and will automatically terminate your rights under
10552this License (including any patent licenses granted under the third
10553paragraph of section 11).
10554
10555 However, if you cease all violation of this License, then your
10556license from a particular copyright holder is reinstated (a)
10557provisionally, unless and until the copyright holder explicitly and
10558finally terminates your license, and (b) permanently, if the copyright
10559holder fails to notify you of the violation by some reasonable means
10560prior to 60 days after the cessation.
10561
10562 Moreover, your license from a particular copyright holder is
10563reinstated permanently if the copyright holder notifies you of the
10564violation by some reasonable means, this is the first time you have
10565received notice of violation of this License (for any work) from that
10566copyright holder, and you cure the violation prior to 30 days after
10567your receipt of the notice.
10568
10569 Termination of your rights under this section does not terminate the
10570licenses of parties who have received copies or rights from you under
10571this License. If your rights have been terminated and not permanently
10572reinstated, you do not qualify to receive new licenses for the same
10573material under section 10.
10574
10575 9. Acceptance Not Required for Having Copies.
10576
10577 You are not required to accept this License in order to receive or
10578run a copy of the Program. Ancillary propagation of a covered work
10579occurring solely as a consequence of using peer-to-peer transmission
10580to receive a copy likewise does not require acceptance. However,
10581nothing other than this License grants you permission to propagate or
10582modify any covered work. These actions infringe copyright if you do
10583not accept this License. Therefore, by modifying or propagating a
10584covered work, you indicate your acceptance of this License to do so.
10585
10586 10. Automatic Licensing of Downstream Recipients.
10587
10588 Each time you convey a covered work, the recipient automatically
10589receives a license from the original licensors, to run, modify and
10590propagate that work, subject to this License. You are not responsible
10591for enforcing compliance by third parties with this License.
10592
10593 An "entity transaction" is a transaction transferring control of an
10594organization, or substantially all assets of one, or subdividing an
10595organization, or merging organizations. If propagation of a covered
10596work results from an entity transaction, each party to that
10597transaction who receives a copy of the work also receives whatever
10598licenses to the work the party's predecessor in interest had or could
10599give under the previous paragraph, plus a right to possession of the
10600Corresponding Source of the work from the predecessor in interest, if
10601the predecessor has it or can get it with reasonable efforts.
10602
10603 You may not impose any further restrictions on the exercise of the
10604rights granted or affirmed under this License. For example, you may
10605not impose a license fee, royalty, or other charge for exercise of
10606rights granted under this License, and you may not initiate litigation
10607(including a cross-claim or counterclaim in a lawsuit) alleging that
10608any patent claim is infringed by making, using, selling, offering for
10609sale, or importing the Program or any portion of it.
10610
10611 11. Patents.
10612
10613 A "contributor" is a copyright holder who authorizes use under this
10614License of the Program or a work on which the Program is based. The
10615work thus licensed is called the contributor's "contributor version".
10616
10617 A contributor's "essential patent claims" are all patent claims
10618owned or controlled by the contributor, whether already acquired or
10619hereafter acquired, that would be infringed by some manner, permitted
10620by this License, of making, using, or selling its contributor version,
10621but do not include claims that would be infringed only as a
10622consequence of further modification of the contributor version. For
10623purposes of this definition, "control" includes the right to grant
10624patent sublicenses in a manner consistent with the requirements of
10625this License.
10626
10627 Each contributor grants you a non-exclusive, worldwide, royalty-free
10628patent license under the contributor's essential patent claims, to
10629make, use, sell, offer for sale, import and otherwise run, modify and
10630propagate the contents of its contributor version.
10631
10632 In the following three paragraphs, a "patent license" is any express
10633agreement or commitment, however denominated, not to enforce a patent
10634(such as an express permission to practice a patent or covenant not to
10635sue for patent infringement). To "grant" such a patent license to a
10636party means to make such an agreement or commitment not to enforce a
10637patent against the party.
10638
10639 If you convey a covered work, knowingly relying on a patent license,
10640and the Corresponding Source of the work is not available for anyone
10641to copy, free of charge and under the terms of this License, through a
10642publicly available network server or other readily accessible means,
10643then you must either (1) cause the Corresponding Source to be so
10644available, or (2) arrange to deprive yourself of the benefit of the
10645patent license for this particular work, or (3) arrange, in a manner
10646consistent with the requirements of this License, to extend the patent
10647license to downstream recipients. "Knowingly relying" means you have
10648actual knowledge that, but for the patent license, your conveying the
10649covered work in a country, or your recipient's use of the covered work
10650in a country, would infringe one or more identifiable patents in that
10651country that you have reason to believe are valid.
10652
10653 If, pursuant to or in connection with a single transaction or
10654arrangement, you convey, or propagate by procuring conveyance of, a
10655covered work, and grant a patent license to some of the parties
10656receiving the covered work authorizing them to use, propagate, modify
10657or convey a specific copy of the covered work, then the patent license
10658you grant is automatically extended to all recipients of the covered
10659work and works based on it.
10660
10661 A patent license is "discriminatory" if it does not include within
10662the scope of its coverage, prohibits the exercise of, or is
10663conditioned on the non-exercise of one or more of the rights that are
10664specifically granted under this License. You may not convey a covered
10665work if you are a party to an arrangement with a third party that is
10666in the business of distributing software, under which you make payment
10667to the third party based on the extent of your activity of conveying
10668the work, and under which the third party grants, to any of the
10669parties who would receive the covered work from you, a discriminatory
10670patent license (a) in connection with copies of the covered work
10671conveyed by you (or copies made from those copies), or (b) primarily
10672for and in connection with specific products or compilations that
10673contain the covered work, unless you entered into that arrangement,
10674or that patent license was granted, prior to 28 March 2007.
10675
10676 Nothing in this License shall be construed as excluding or limiting
10677any implied license or other defenses to infringement that may
10678otherwise be available to you under applicable patent law.
10679
10680 12. No Surrender of Others' Freedom.
10681
10682 If conditions are imposed on you (whether by court order, agreement or
10683otherwise) that contradict the conditions of this License, they do not
10684excuse you from the conditions of this License. If you cannot convey a
10685covered work so as to satisfy simultaneously your obligations under this
10686License and any other pertinent obligations, then as a consequence you may
10687not convey it at all. For example, if you agree to terms that obligate you
10688to collect a royalty for further conveying from those to whom you convey
10689the Program, the only way you could satisfy both those terms and this
10690License would be to refrain entirely from conveying the Program.
10691
10692 13. Use with the GNU Affero General Public License.
10693
10694 Notwithstanding any other provision of this License, you have
10695permission to link or combine any covered work with a work licensed
10696under version 3 of the GNU Affero General Public License into a single
10697combined work, and to convey the resulting work. The terms of this
10698License will continue to apply to the part which is the covered work,
10699but the special requirements of the GNU Affero General Public License,
10700section 13, concerning interaction through a network will apply to the
10701combination as such.
10702
10703 14. Revised Versions of this License.
10704
10705 The Free Software Foundation may publish revised and/or new versions of
10706the GNU General Public License from time to time. Such new versions will
10707be similar in spirit to the present version, but may differ in detail to
10708address new problems or concerns.
10709
10710 Each version is given a distinguishing version number. If the
10711Program specifies that a certain numbered version of the GNU General
10712Public License "or any later version" applies to it, you have the
10713option of following the terms and conditions either of that numbered
10714version or of any later version published by the Free Software
10715Foundation. If the Program does not specify a version number of the
10716GNU General Public License, you may choose any version ever published
10717by the Free Software Foundation.
10718
10719 If the Program specifies that a proxy can decide which future
10720versions of the GNU General Public License can be used, that proxy's
10721public statement of acceptance of a version permanently authorizes you
10722to choose that version for the Program.
10723
10724 Later license versions may give you additional or different
10725permissions. However, no additional obligations are imposed on any
10726author or copyright holder as a result of your choosing to follow a
10727later version.
10728
10729 15. Disclaimer of Warranty.
10730
10731 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
10732APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
10733HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
10734OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
10735THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
10736PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
10737IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
10738ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
10739
10740 16. Limitation of Liability.
10741
10742 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
10743WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
10744THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
10745GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
10746USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
10747DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
10748PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
10749EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
10750SUCH DAMAGES.
10751
10752 17. Interpretation of Sections 15 and 16.
10753
10754 If the disclaimer of warranty and limitation of liability provided
10755above cannot be given local legal effect according to their terms,
10756reviewing courts shall apply local law that most closely approximates
10757an absolute waiver of all civil liability in connection with the
10758Program, unless a warranty or assumption of liability accompanies a
10759copy of the Program in return for a fee.
10760
10761 END OF TERMS AND CONDITIONS
10762
10763 How to Apply These Terms to Your New Programs
10764
10765 If you develop a new program, and you want it to be of the greatest
10766possible use to the public, the best way to achieve this is to make it
10767free software which everyone can redistribute and change under these terms.
10768
10769 To do so, attach the following notices to the program. It is safest
10770to attach them to the start of each source file to most effectively
10771state the exclusion of warranty; and each file should have at least
10772the "copyright" line and a pointer to where the full notice is found.
10773
10774 <one line to give the program's name and a brief idea of what it does.>
10775 Copyright (C) <year> <name of author>
10776
10777 This program is free software: you can redistribute it and/or modify
10778 it under the terms of the GNU General Public License as published by
10779 the Free Software Foundation, either version 3 of the License, or
10780 (at your option) any later version.
10781
10782 This program is distributed in the hope that it will be useful,
10783 but WITHOUT ANY WARRANTY; without even the implied warranty of
10784 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10785 GNU General Public License for more details.
10786
10787 You should have received a copy of the GNU General Public License
10788 along with this program. If not, see <http://www.gnu.org/licenses/>.
10789
10790Also add information on how to contact you by electronic and paper mail.
10791
10792 If the program does terminal interaction, make it output a short
10793notice like this when it starts in an interactive mode:
10794
10795 <program> Copyright (C) <year> <name of author>
10796 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
10797 This is free software, and you are welcome to redistribute it
10798 under certain conditions; type `show c' for details.
10799
10800The hypothetical commands `show w' and `show c' should show the appropriate
10801parts of the General Public License. Of course, your program's commands
10802might be different; for a GUI interface, you would use an "about box".
10803
10804 You should also get your employer (if you work as a programmer) or school,
10805if any, to sign a "copyright disclaimer" for the program, if necessary.
10806For more information on this, and how to apply and follow the GNU GPL, see
10807<http://www.gnu.org/licenses/>.
10808
10809 The GNU General Public License does not permit incorporating your program
10810into proprietary programs. If your program is a subroutine library, you
10811may consider it more useful to permit linking proprietary applications with
10812the library. If this is what you want to do, use the GNU Lesser General
10813Public License instead of this License. But first, please read
10814<http://www.gnu.org/philosophy/why-not-lgpl.html>.
10815 GNU LESSER GENERAL PUBLIC LICENSE
10816 Version 3, 29 June 2007
10817
10818 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
10819 Everyone is permitted to copy and distribute verbatim copies
10820 of this license document, but changing it is not allowed.
10821
10822
10823 This version of the GNU Lesser General Public License incorporates
10824the terms and conditions of version 3 of the GNU General Public
10825License, supplemented by the additional permissions listed below.
10826
10827 0. Additional Definitions.
10828
10829 As used herein, "this License" refers to version 3 of the GNU Lesser
10830General Public License, and the "GNU GPL" refers to version 3 of the GNU
10831General Public License.
10832
10833 "The Library" refers to a covered work governed by this License,
10834other than an Application or a Combined Work as defined below.
10835
10836 An "Application" is any work that makes use of an interface provided
10837by the Library, but which is not otherwise based on the Library.
10838Defining a subclass of a class defined by the Library is deemed a mode
10839of using an interface provided by the Library.
10840
10841 A "Combined Work" is a work produced by combining or linking an
10842Application with the Library. The particular version of the Library
10843with which the Combined Work was made is also called the "Linked
10844Version".
10845
10846 The "Minimal Corresponding Source" for a Combined Work means the
10847Corresponding Source for the Combined Work, excluding any source code
10848for portions of the Combined Work that, considered in isolation, are
10849based on the Application, and not on the Linked Version.
10850
10851 The "Corresponding Application Code" for a Combined Work means the
10852object code and/or source code for the Application, including any data
10853and utility programs needed for reproducing the Combined Work from the
10854Application, but excluding the System Libraries of the Combined Work.
10855
10856 1. Exception to Section 3 of the GNU GPL.
10857
10858 You may convey a covered work under sections 3 and 4 of this License
10859without being bound by section 3 of the GNU GPL.
10860
10861 2. Conveying Modified Versions.
10862
10863 If you modify a copy of the Library, and, in your modifications, a
10864facility refers to a function or data to be supplied by an Application
10865that uses the facility (other than as an argument passed when the
10866facility is invoked), then you may convey a copy of the modified
10867version:
10868
10869 a) under this License, provided that you make a good faith effort to
10870 ensure that, in the event an Application does not supply the
10871 function or data, the facility still operates, and performs
10872 whatever part of its purpose remains meaningful, or
10873
10874 b) under the GNU GPL, with none of the additional permissions of
10875 this License applicable to that copy.
10876
10877 3. Object Code Incorporating Material from Library Header Files.
10878
10879 The object code form of an Application may incorporate material from
10880a header file that is part of the Library. You may convey such object
10881code under terms of your choice, provided that, if the incorporated
10882material is not limited to numerical parameters, data structure
10883layouts and accessors, or small macros, inline functions and templates
10884(ten or fewer lines in length), you do both of the following:
10885
10886 a) Give prominent notice with each copy of the object code that the
10887 Library is used in it and that the Library and its use are
10888 covered by this License.
10889
10890 b) Accompany the object code with a copy of the GNU GPL and this license
10891 document.
10892
10893 4. Combined Works.
10894
10895 You may convey a Combined Work under terms of your choice that,
10896taken together, effectively do not restrict modification of the
10897portions of the Library contained in the Combined Work and reverse
10898engineering for debugging such modifications, if you also do each of
10899the following:
10900
10901 a) Give prominent notice with each copy of the Combined Work that
10902 the Library is used in it and that the Library and its use are
10903 covered by this License.
10904
10905 b) Accompany the Combined Work with a copy of the GNU GPL and this license
10906 document.
10907
10908 c) For a Combined Work that displays copyright notices during
10909 execution, include the copyright notice for the Library among
10910 these notices, as well as a reference directing the user to the
10911 copies of the GNU GPL and this license document.
10912
10913 d) Do one of the following:
10914
10915 0) Convey the Minimal Corresponding Source under the terms of this
10916 License, and the Corresponding Application Code in a form
10917 suitable for, and under terms that permit, the user to
10918 recombine or relink the Application with a modified version of
10919 the Linked Version to produce a modified Combined Work, in the
10920 manner specified by section 6 of the GNU GPL for conveying
10921 Corresponding Source.
10922
10923 1) Use a suitable shared library mechanism for linking with the
10924 Library. A suitable mechanism is one that (a) uses at run time
10925 a copy of the Library already present on the user's computer
10926 system, and (b) will operate properly with a modified version
10927 of the Library that is interface-compatible with the Linked
10928 Version.
10929
10930 e) Provide Installation Information, but only if you would otherwise
10931 be required to provide such information under section 6 of the
10932 GNU GPL, and only to the extent that such information is
10933 necessary to install and execute a modified version of the
10934 Combined Work produced by recombining or relinking the
10935 Application with a modified version of the Linked Version. (If
10936 you use option 4d0, the Installation Information must accompany
10937 the Minimal Corresponding Source and Corresponding Application
10938 Code. If you use option 4d1, you must provide the Installation
10939 Information in the manner specified by section 6 of the GNU GPL
10940 for conveying Corresponding Source.)
10941
10942 5. Combined Libraries.
10943
10944 You may place library facilities that are a work based on the
10945Library side by side in a single library together with other library
10946facilities that are not Applications and are not covered by this
10947License, and convey such a combined library under terms of your
10948choice, if you do both of the following:
10949
10950 a) Accompany the combined library with a copy of the same work based
10951 on the Library, uncombined with any other library facilities,
10952 conveyed under the terms of this License.
10953
10954 b) Give prominent notice with the combined library that part of it
10955 is a work based on the Library, and explaining where to find the
10956 accompanying uncombined form of the same work.
10957
10958 6. Revised Versions of the GNU Lesser General Public License.
10959
10960 The Free Software Foundation may publish revised and/or new versions
10961of the GNU Lesser General Public License from time to time. Such new
10962versions will be similar in spirit to the present version, but may
10963differ in detail to address new problems or concerns.
10964
10965 Each version is given a distinguishing version number. If the
10966Library as you received it specifies that a certain numbered version
10967of the GNU Lesser General Public License "or any later version"
10968applies to it, you have the option of following the terms and
10969conditions either of that published version or of any later version
10970published by the Free Software Foundation. If the Library as you
10971received it does not specify a version number of the GNU Lesser
10972General Public License, you may choose any version of the GNU Lesser
10973General Public License ever published by the Free Software Foundation.
10974
10975 If the Library as you received it specifies that a proxy can decide
10976whether future versions of the GNU Lesser General Public License shall
10977apply, that proxy's public statement of acceptance of any version is
10978permanent authorization for you to choose that version for the
10979Library.
10980 GNU LESSER GENERAL PUBLIC LICENSE
10981 Version 2.1, February 1999
10982
10983 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
10984 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
10985 Everyone is permitted to copy and distribute verbatim copies
10986 of this license document, but changing it is not allowed.
10987
10988[This is the first released version of the Lesser GPL. It also counts
10989 as the successor of the GNU Library Public License, version 2, hence
10990 the version number 2.1.]
10991
10992 Preamble
10993
10994 The licenses for most software are designed to take away your
10995freedom to share and change it. By contrast, the GNU General Public
10996Licenses are intended to guarantee your freedom to share and change
10997free software--to make sure the software is free for all its users.
10998
10999 This license, the Lesser General Public License, applies to some
11000specially designated software packages--typically libraries--of the
11001Free Software Foundation and other authors who decide to use it. You
11002can use it too, but we suggest you first think carefully about whether
11003this license or the ordinary General Public License is the better
11004strategy to use in any particular case, based on the explanations below.
11005
11006 When we speak of free software, we are referring to freedom of use,
11007not price. Our General Public Licenses are designed to make sure that
11008you have the freedom to distribute copies of free software (and charge
11009for this service if you wish); that you receive source code or can get
11010it if you want it; that you can change the software and use pieces of
11011it in new free programs; and that you are informed that you can do
11012these things.
11013
11014 To protect your rights, we need to make restrictions that forbid
11015distributors to deny you these rights or to ask you to surrender these
11016rights. These restrictions translate to certain responsibilities for
11017you if you distribute copies of the library or if you modify it.
11018
11019 For example, if you distribute copies of the library, whether gratis
11020or for a fee, you must give the recipients all the rights that we gave
11021you. You must make sure that they, too, receive or can get the source
11022code. If you link other code with the library, you must provide
11023complete object files to the recipients, so that they can relink them
11024with the library after making changes to the library and recompiling
11025it. And you must show them these terms so they know their rights.
11026
11027 We protect your rights with a two-step method: (1) we copyright the
11028library, and (2) we offer you this license, which gives you legal
11029permission to copy, distribute and/or modify the library.
11030
11031 To protect each distributor, we want to make it very clear that
11032there is no warranty for the free library. Also, if the library is
11033modified by someone else and passed on, the recipients should know
11034that what they have is not the original version, so that the original
11035author's reputation will not be affected by problems that might be
11036introduced by others.
11037
11038 Finally, software patents pose a constant threat to the existence of
11039any free program. We wish to make sure that a company cannot
11040effectively restrict the users of a free program by obtaining a
11041restrictive license from a patent holder. Therefore, we insist that
11042any patent license obtained for a version of the library must be
11043consistent with the full freedom of use specified in this license.
11044
11045 Most GNU software, including some libraries, is covered by the
11046ordinary GNU General Public License. This license, the GNU Lesser
11047General Public License, applies to certain designated libraries, and
11048is quite different from the ordinary General Public License. We use
11049this license for certain libraries in order to permit linking those
11050libraries into non-free programs.
11051
11052 When a program is linked with a library, whether statically or using
11053a shared library, the combination of the two is legally speaking a
11054combined work, a derivative of the original library. The ordinary
11055General Public License therefore permits such linking only if the
11056entire combination fits its criteria of freedom. The Lesser General
11057Public License permits more lax criteria for linking other code with
11058the library.
11059
11060 We call this license the "Lesser" General Public License because it
11061does Less to protect the user's freedom than the ordinary General
11062Public License. It also provides other free software developers Less
11063of an advantage over competing non-free programs. These disadvantages
11064are the reason we use the ordinary General Public License for many
11065libraries. However, the Lesser license provides advantages in certain
11066special circumstances.
11067
11068 For example, on rare occasions, there may be a special need to
11069encourage the widest possible use of a certain library, so that it becomes
11070a de-facto standard. To achieve this, non-free programs must be
11071allowed to use the library. A more frequent case is that a free
11072library does the same job as widely used non-free libraries. In this
11073case, there is little to gain by limiting the free library to free
11074software only, so we use the Lesser General Public License.
11075
11076 In other cases, permission to use a particular library in non-free
11077programs enables a greater number of people to use a large body of
11078free software. For example, permission to use the GNU C Library in
11079non-free programs enables many more people to use the whole GNU
11080operating system, as well as its variant, the GNU/Linux operating
11081system.
11082
11083 Although the Lesser General Public License is Less protective of the
11084users' freedom, it does ensure that the user of a program that is
11085linked with the Library has the freedom and the wherewithal to run
11086that program using a modified version of the Library.
11087
11088 The precise terms and conditions for copying, distribution and
11089modification follow. Pay close attention to the difference between a
11090"work based on the library" and a "work that uses the library". The
11091former contains code derived from the library, whereas the latter must
11092be combined with the library in order to run.
11093
11094 GNU LESSER GENERAL PUBLIC LICENSE
11095 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
11096
11097 0. This License Agreement applies to any software library or other
11098program which contains a notice placed by the copyright holder or
11099other authorized party saying it may be distributed under the terms of
11100this Lesser General Public License (also called "this License").
11101Each licensee is addressed as "you".
11102
11103 A "library" means a collection of software functions and/or data
11104prepared so as to be conveniently linked with application programs
11105(which use some of those functions and data) to form executables.
11106
11107 The "Library", below, refers to any such software library or work
11108which has been distributed under these terms. A "work based on the
11109Library" means either the Library or any derivative work under
11110copyright law: that is to say, a work containing the Library or a
11111portion of it, either verbatim or with modifications and/or translated
11112straightforwardly into another language. (Hereinafter, translation is
11113included without limitation in the term "modification".)
11114
11115 "Source code" for a work means the preferred form of the work for
11116making modifications to it. For a library, complete source code means
11117all the source code for all modules it contains, plus any associated
11118interface definition files, plus the scripts used to control compilation
11119and installation of the library.
11120
11121 Activities other than copying, distribution and modification are not
11122covered by this License; they are outside its scope. The act of
11123running a program using the Library is not restricted, and output from
11124such a program is covered only if its contents constitute a work based
11125on the Library (independent of the use of the Library in a tool for
11126writing it). Whether that is true depends on what the Library does
11127and what the program that uses the Library does.
11128
11129 1. You may copy and distribute verbatim copies of the Library's
11130complete source code as you receive it, in any medium, provided that
11131you conspicuously and appropriately publish on each copy an
11132appropriate copyright notice and disclaimer of warranty; keep intact
11133all the notices that refer to this License and to the absence of any
11134warranty; and distribute a copy of this License along with the
11135Library.
11136
11137 You may charge a fee for the physical act of transferring a copy,
11138and you may at your option offer warranty protection in exchange for a
11139fee.
11140
11141 2. You may modify your copy or copies of the Library or any portion
11142of it, thus forming a work based on the Library, and copy and
11143distribute such modifications or work under the terms of Section 1
11144above, provided that you also meet all of these conditions:
11145
11146 a) The modified work must itself be a software library.
11147
11148 b) You must cause the files modified to carry prominent notices
11149 stating that you changed the files and the date of any change.
11150
11151 c) You must cause the whole of the work to be licensed at no
11152 charge to all third parties under the terms of this License.
11153
11154 d) If a facility in the modified Library refers to a function or a
11155 table of data to be supplied by an application program that uses
11156 the facility, other than as an argument passed when the facility
11157 is invoked, then you must make a good faith effort to ensure that,
11158 in the event an application does not supply such function or
11159 table, the facility still operates, and performs whatever part of
11160 its purpose remains meaningful.
11161
11162 (For example, a function in a library to compute square roots has
11163 a purpose that is entirely well-defined independent of the
11164 application. Therefore, Subsection 2d requires that any
11165 application-supplied function or table used by this function must
11166 be optional: if the application does not supply it, the square
11167 root function must still compute square roots.)
11168
11169These requirements apply to the modified work as a whole. If
11170identifiable sections of that work are not derived from the Library,
11171and can be reasonably considered independent and separate works in
11172themselves, then this License, and its terms, do not apply to those
11173sections when you distribute them as separate works. But when you
11174distribute the same sections as part of a whole which is a work based
11175on the Library, the distribution of the whole must be on the terms of
11176this License, whose permissions for other licensees extend to the
11177entire whole, and thus to each and every part regardless of who wrote
11178it.
11179
11180Thus, it is not the intent of this section to claim rights or contest
11181your rights to work written entirely by you; rather, the intent is to
11182exercise the right to control the distribution of derivative or
11183collective works based on the Library.
11184
11185In addition, mere aggregation of another work not based on the Library
11186with the Library (or with a work based on the Library) on a volume of
11187a storage or distribution medium does not bring the other work under
11188the scope of this License.
11189
11190 3. You may opt to apply the terms of the ordinary GNU General Public
11191License instead of this License to a given copy of the Library. To do
11192this, you must alter all the notices that refer to this License, so
11193that they refer to the ordinary GNU General Public License, version 2,
11194instead of to this License. (If a newer version than version 2 of the
11195ordinary GNU General Public License has appeared, then you can specify
11196that version instead if you wish.) Do not make any other change in
11197these notices.
11198
11199 Once this change is made in a given copy, it is irreversible for
11200that copy, so the ordinary GNU General Public License applies to all
11201subsequent copies and derivative works made from that copy.
11202
11203 This option is useful when you wish to copy part of the code of
11204the Library into a program that is not a library.
11205
11206 4. You may copy and distribute the Library (or a portion or
11207derivative of it, under Section 2) in object code or executable form
11208under the terms of Sections 1 and 2 above provided that you accompany
11209it with the complete corresponding machine-readable source code, which
11210must be distributed under the terms of Sections 1 and 2 above on a
11211medium customarily used for software interchange.
11212
11213 If distribution of object code is made by offering access to copy
11214from a designated place, then offering equivalent access to copy the
11215source code from the same place satisfies the requirement to
11216distribute the source code, even though third parties are not
11217compelled to copy the source along with the object code.
11218
11219 5. A program that contains no derivative of any portion of the
11220Library, but is designed to work with the Library by being compiled or
11221linked with it, is called a "work that uses the Library". Such a
11222work, in isolation, is not a derivative work of the Library, and
11223therefore falls outside the scope of this License.
11224
11225 However, linking a "work that uses the Library" with the Library
11226creates an executable that is a derivative of the Library (because it
11227contains portions of the Library), rather than a "work that uses the
11228library". The executable is therefore covered by this License.
11229Section 6 states terms for distribution of such executables.
11230
11231 When a "work that uses the Library" uses material from a header file
11232that is part of the Library, the object code for the work may be a
11233derivative work of the Library even though the source code is not.
11234Whether this is true is especially significant if the work can be
11235linked without the Library, or if the work is itself a library. The
11236threshold for this to be true is not precisely defined by law.
11237
11238 If such an object file uses only numerical parameters, data
11239structure layouts and accessors, and small macros and small inline
11240functions (ten lines or less in length), then the use of the object
11241file is unrestricted, regardless of whether it is legally a derivative
11242work. (Executables containing this object code plus portions of the
11243Library will still fall under Section 6.)
11244
11245 Otherwise, if the work is a derivative of the Library, you may
11246distribute the object code for the work under the terms of Section 6.
11247Any executables containing that work also fall under Section 6,
11248whether or not they are linked directly with the Library itself.
11249
11250 6. As an exception to the Sections above, you may also combine or
11251link a "work that uses the Library" with the Library to produce a
11252work containing portions of the Library, and distribute that work
11253under terms of your choice, provided that the terms permit
11254modification of the work for the customer's own use and reverse
11255engineering for debugging such modifications.
11256
11257 You must give prominent notice with each copy of the work that the
11258Library is used in it and that the Library and its use are covered by
11259this License. You must supply a copy of this License. If the work
11260during execution displays copyright notices, you must include the
11261copyright notice for the Library among them, as well as a reference
11262directing the user to the copy of this License. Also, you must do one
11263of these things:
11264
11265 a) Accompany the work with the complete corresponding
11266 machine-readable source code for the Library including whatever
11267 changes were used in the work (which must be distributed under
11268 Sections 1 and 2 above); and, if the work is an executable linked
11269 with the Library, with the complete machine-readable "work that
11270 uses the Library", as object code and/or source code, so that the
11271 user can modify the Library and then relink to produce a modified
11272 executable containing the modified Library. (It is understood
11273 that the user who changes the contents of definitions files in the
11274 Library will not necessarily be able to recompile the application
11275 to use the modified definitions.)
11276
11277 b) Use a suitable shared library mechanism for linking with the
11278 Library. A suitable mechanism is one that (1) uses at run time a
11279 copy of the library already present on the user's computer system,
11280 rather than copying library functions into the executable, and (2)
11281 will operate properly with a modified version of the library, if
11282 the user installs one, as long as the modified version is
11283 interface-compatible with the version that the work was made with.
11284
11285 c) Accompany the work with a written offer, valid for at
11286 least three years, to give the same user the materials
11287 specified in Subsection 6a, above, for a charge no more
11288 than the cost of performing this distribution.
11289
11290 d) If distribution of the work is made by offering access to copy
11291 from a designated place, offer equivalent access to copy the above
11292 specified materials from the same place.
11293
11294 e) Verify that the user has already received a copy of these
11295 materials or that you have already sent this user a copy.
11296
11297 For an executable, the required form of the "work that uses the
11298Library" must include any data and utility programs needed for
11299reproducing the executable from it. However, as a special exception,
11300the materials to be distributed need not include anything that is
11301normally distributed (in either source or binary form) with the major
11302components (compiler, kernel, and so on) of the operating system on
11303which the executable runs, unless that component itself accompanies
11304the executable.
11305
11306 It may happen that this requirement contradicts the license
11307restrictions of other proprietary libraries that do not normally
11308accompany the operating system. Such a contradiction means you cannot
11309use both them and the Library together in an executable that you
11310distribute.
11311
11312 7. You may place library facilities that are a work based on the
11313Library side-by-side in a single library together with other library
11314facilities not covered by this License, and distribute such a combined
11315library, provided that the separate distribution of the work based on
11316the Library and of the other library facilities is otherwise
11317permitted, and provided that you do these two things:
11318
11319 a) Accompany the combined library with a copy of the same work
11320 based on the Library, uncombined with any other library
11321 facilities. This must be distributed under the terms of the
11322 Sections above.
11323
11324 b) Give prominent notice with the combined library of the fact
11325 that part of it is a work based on the Library, and explaining
11326 where to find the accompanying uncombined form of the same work.
11327
11328 8. You may not copy, modify, sublicense, link with, or distribute
11329the Library except as expressly provided under this License. Any
11330attempt otherwise to copy, modify, sublicense, link with, or
11331distribute the Library is void, and will automatically terminate your
11332rights under this License. However, parties who have received copies,
11333or rights, from you under this License will not have their licenses
11334terminated so long as such parties remain in full compliance.
11335
11336 9. You are not required to accept this License, since you have not
11337signed it. However, nothing else grants you permission to modify or
11338distribute the Library or its derivative works. These actions are
11339prohibited by law if you do not accept this License. Therefore, by
11340modifying or distributing the Library (or any work based on the
11341Library), you indicate your acceptance of this License to do so, and
11342all its terms and conditions for copying, distributing or modifying
11343the Library or works based on it.
11344
11345 10. Each time you redistribute the Library (or any work based on the
11346Library), the recipient automatically receives a license from the
11347original licensor to copy, distribute, link with or modify the Library
11348subject to these terms and conditions. You may not impose any further
11349restrictions on the recipients' exercise of the rights granted herein.
11350You are not responsible for enforcing compliance by third parties with
11351this License.
11352
11353 11. If, as a consequence of a court judgment or allegation of patent
11354infringement or for any other reason (not limited to patent issues),
11355conditions are imposed on you (whether by court order, agreement or
11356otherwise) that contradict the conditions of this License, they do not
11357excuse you from the conditions of this License. If you cannot
11358distribute so as to satisfy simultaneously your obligations under this
11359License and any other pertinent obligations, then as a consequence you
11360may not distribute the Library at all. For example, if a patent
11361license would not permit royalty-free redistribution of the Library by
11362all those who receive copies directly or indirectly through you, then
11363the only way you could satisfy both it and this License would be to
11364refrain entirely from distribution of the Library.
11365
11366If any portion of this section is held invalid or unenforceable under any
11367particular circumstance, the balance of the section is intended to apply,
11368and the section as a whole is intended to apply in other circumstances.
11369
11370It is not the purpose of this section to induce you to infringe any
11371patents or other property right claims or to contest validity of any
11372such claims; this section has the sole purpose of protecting the
11373integrity of the free software distribution system which is
11374implemented by public license practices. Many people have made
11375generous contributions to the wide range of software distributed
11376through that system in reliance on consistent application of that
11377system; it is up to the author/donor to decide if he or she is willing
11378to distribute software through any other system and a licensee cannot
11379impose that choice.
11380
11381This section is intended to make thoroughly clear what is believed to
11382be a consequence of the rest of this License.
11383
11384 12. If the distribution and/or use of the Library is restricted in
11385certain countries either by patents or by copyrighted interfaces, the
11386original copyright holder who places the Library under this License may add
11387an explicit geographical distribution limitation excluding those countries,
11388so that distribution is permitted only in or among countries not thus
11389excluded. In such case, this License incorporates the limitation as if
11390written in the body of this License.
11391
11392 13. The Free Software Foundation may publish revised and/or new
11393versions of the Lesser General Public License from time to time.
11394Such new versions will be similar in spirit to the present version,
11395but may differ in detail to address new problems or concerns.
11396
11397Each version is given a distinguishing version number. If the Library
11398specifies a version number of this License which applies to it and
11399"any later version", you have the option of following the terms and
11400conditions either of that version or of any later version published by
11401the Free Software Foundation. If the Library does not specify a
11402license version number, you may choose any version ever published by
11403the Free Software Foundation.
11404
11405 14. If you wish to incorporate parts of the Library into other free
11406programs whose distribution conditions are incompatible with these,
11407write to the author to ask for permission. For software which is
11408copyrighted by the Free Software Foundation, write to the Free
11409Software Foundation; we sometimes make exceptions for this. Our
11410decision will be guided by the two goals of preserving the free status
11411of all derivatives of our free software and of promoting the sharing
11412and reuse of software generally.
11413
11414 NO WARRANTY
11415
11416 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
11417WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
11418EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
11419OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
11420KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
11421IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
11422PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
11423LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
11424THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
11425
11426 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
11427WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
11428AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
11429FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
11430CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
11431LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
11432RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
11433FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
11434SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
11435DAMAGES.
11436
11437 END OF TERMS AND CONDITIONS
11438
11439 How to Apply These Terms to Your New Libraries
11440
11441 If you develop a new library, and you want it to be of the greatest
11442possible use to the public, we recommend making it free software that
11443everyone can redistribute and change. You can do so by permitting
11444redistribution under these terms (or, alternatively, under the terms of the
11445ordinary General Public License).
11446
11447 To apply these terms, attach the following notices to the library. It is
11448safest to attach them to the start of each source file to most effectively
11449convey the exclusion of warranty; and each file should have at least the
11450"copyright" line and a pointer to where the full notice is found.
11451
11452 <one line to give the library's name and a brief idea of what it does.>
11453 Copyright (C) <year> <name of author>
11454
11455 This library is free software; you can redistribute it and/or
11456 modify it under the terms of the GNU Lesser General Public
11457 License as published by the Free Software Foundation; either
11458 version 2.1 of the License, or (at your option) any later version.
11459
11460 This library is distributed in the hope that it will be useful,
11461 but WITHOUT ANY WARRANTY; without even the implied warranty of
11462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11463 Lesser General Public License for more details.
11464
11465 You should have received a copy of the GNU Lesser General Public
11466 License along with this library; if not, write to the Free Software
11467 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
11468
11469Also add information on how to contact you by electronic and paper mail.
11470
11471You should also get your employer (if you work as a programmer) or your
11472school, if any, to sign a "copyright disclaimer" for the library, if
11473necessary. Here is a sample; alter the names:
11474
11475 Yoyodyne, Inc., hereby disclaims all copyright interest in the
11476 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
11477
11478 <signature of Ty Coon>, 1 April 1990
11479 Ty Coon, President of Vice
11480
11481That's all there is to it!
11482
11483
11484 GNU GENERAL PUBLIC LICENSE
11485 Version 2, June 1991
11486
11487 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
11488 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
11489 Everyone is permitted to copy and distribute verbatim copies
11490 of this license document, but changing it is not allowed.
11491
11492 Preamble
11493
11494 The licenses for most software are designed to take away your
11495freedom to share and change it. By contrast, the GNU General Public
11496License is intended to guarantee your freedom to share and change free
11497software--to make sure the software is free for all its users. This
11498General Public License applies to most of the Free Software
11499Foundation's software and to any other program whose authors commit to
11500using it. (Some other Free Software Foundation software is covered by
11501the GNU Library General Public License instead.) You can apply it to
11502your programs, too.
11503
11504 When we speak of free software, we are referring to freedom, not
11505price. Our General Public Licenses are designed to make sure that you
11506have the freedom to distribute copies of free software (and charge for
11507this service if you wish), that you receive source code or can get it
11508if you want it, that you can change the software or use pieces of it
11509in new free programs; and that you know you can do these things.
11510
11511 To protect your rights, we need to make restrictions that forbid
11512anyone to deny you these rights or to ask you to surrender the rights.
11513These restrictions translate to certain responsibilities for you if you
11514distribute copies of the software, or if you modify it.
11515
11516 For example, if you distribute copies of such a program, whether
11517gratis or for a fee, you must give the recipients all the rights that
11518you have. You must make sure that they, too, receive or can get the
11519source code. And you must show them these terms so they know their
11520rights.
11521
11522 We protect your rights with two steps: (1) copyright the software, and
11523(2) offer you this license which gives you legal permission to copy,
11524distribute and/or modify the software.
11525
11526 Also, for each author's protection and ours, we want to make certain
11527that everyone understands that there is no warranty for this free
11528software. If the software is modified by someone else and passed on, we
11529want its recipients to know that what they have is not the original, so
11530that any problems introduced by others will not reflect on the original
11531authors' reputations.
11532
11533 Finally, any free program is threatened constantly by software
11534patents. We wish to avoid the danger that redistributors of a free
11535program will individually obtain patent licenses, in effect making the
11536program proprietary. To prevent this, we have made it clear that any
11537patent must be licensed for everyone's free use or not licensed at all.
11538
11539 The precise terms and conditions for copying, distribution and
11540modification follow.
11541
11542 GNU GENERAL PUBLIC LICENSE
11543 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
11544
11545 0. This License applies to any program or other work which contains
11546a notice placed by the copyright holder saying it may be distributed
11547under the terms of this General Public License. The "Program", below,
11548refers to any such program or work, and a "work based on the Program"
11549means either the Program or any derivative work under copyright law:
11550that is to say, a work containing the Program or a portion of it,
11551either verbatim or with modifications and/or translated into another
11552language. (Hereinafter, translation is included without limitation in
11553the term "modification".) Each licensee is addressed as "you".
11554
11555Activities other than copying, distribution and modification are not
11556covered by this License; they are outside its scope. The act of
11557running the Program is not restricted, and the output from the Program
11558is covered only if its contents constitute a work based on the
11559Program (independent of having been made by running the Program).
11560Whether that is true depends on what the Program does.
11561
11562 1. You may copy and distribute verbatim copies of the Program's
11563source code as you receive it, in any medium, provided that you
11564conspicuously and appropriately publish on each copy an appropriate
11565copyright notice and disclaimer of warranty; keep intact all the
11566notices that refer to this License and to the absence of any warranty;
11567and give any other recipients of the Program a copy of this License
11568along with the Program.
11569
11570You may charge a fee for the physical act of transferring a copy, and
11571you may at your option offer warranty protection in exchange for a fee.
11572
11573 2. You may modify your copy or copies of the Program or any portion
11574of it, thus forming a work based on the Program, and copy and
11575distribute such modifications or work under the terms of Section 1
11576above, provided that you also meet all of these conditions:
11577
11578 a) You must cause the modified files to carry prominent notices
11579 stating that you changed the files and the date of any change.
11580
11581 b) You must cause any work that you distribute or publish, that in
11582 whole or in part contains or is derived from the Program or any
11583 part thereof, to be licensed as a whole at no charge to all third
11584 parties under the terms of this License.
11585
11586 c) If the modified program normally reads commands interactively
11587 when run, you must cause it, when started running for such
11588 interactive use in the most ordinary way, to print or display an
11589 announcement including an appropriate copyright notice and a
11590 notice that there is no warranty (or else, saying that you provide
11591 a warranty) and that users may redistribute the program under
11592 these conditions, and telling the user how to view a copy of this
11593 License. (Exception: if the Program itself is interactive but
11594 does not normally print such an announcement, your work based on
11595 the Program is not required to print an announcement.)
11596
11597These requirements apply to the modified work as a whole. If
11598identifiable sections of that work are not derived from the Program,
11599and can be reasonably considered independent and separate works in
11600themselves, then this License, and its terms, do not apply to those
11601sections when you distribute them as separate works. But when you
11602distribute the same sections as part of a whole which is a work based
11603on the Program, the distribution of the whole must be on the terms of
11604this License, whose permissions for other licensees extend to the
11605entire whole, and thus to each and every part regardless of who wrote it.
11606
11607Thus, it is not the intent of this section to claim rights or contest
11608your rights to work written entirely by you; rather, the intent is to
11609exercise the right to control the distribution of derivative or
11610collective works based on the Program.
11611
11612In addition, mere aggregation of another work not based on the Program
11613with the Program (or with a work based on the Program) on a volume of
11614a storage or distribution medium does not bring the other work under
11615the scope of this License.
11616
11617 3. You may copy and distribute the Program (or a work based on it,
11618under Section 2) in object code or executable form under the terms of
11619Sections 1 and 2 above provided that you also do one of the following:
11620
11621 a) Accompany it with the complete corresponding machine-readable
11622 source code, which must be distributed under the terms of Sections
11623 1 and 2 above on a medium customarily used for software interchange; or,
11624
11625 b) Accompany it with a written offer, valid for at least three
11626 years, to give any third party, for a charge no more than your
11627 cost of physically performing source distribution, a complete
11628 machine-readable copy of the corresponding source code, to be
11629 distributed under the terms of Sections 1 and 2 above on a medium
11630 customarily used for software interchange; or,
11631
11632 c) Accompany it with the information you received as to the offer
11633 to distribute corresponding source code. (This alternative is
11634 allowed only for noncommercial distribution and only if you
11635 received the program in object code or executable form with such
11636 an offer, in accord with Subsection b above.)
11637
11638The source code for a work means the preferred form of the work for
11639making modifications to it. For an executable work, complete source
11640code means all the source code for all modules it contains, plus any
11641associated interface definition files, plus the scripts used to
11642control compilation and installation of the executable. However, as a
11643special exception, the source code distributed need not include
11644anything that is normally distributed (in either source or binary
11645form) with the major components (compiler, kernel, and so on) of the
11646operating system on which the executable runs, unless that component
11647itself accompanies the executable.
11648
11649If distribution of executable or object code is made by offering
11650access to copy from a designated place, then offering equivalent
11651access to copy the source code from the same place counts as
11652distribution of the source code, even though third parties are not
11653compelled to copy the source along with the object code.
11654
11655 4. You may not copy, modify, sublicense, or distribute the Program
11656except as expressly provided under this License. Any attempt
11657otherwise to copy, modify, sublicense or distribute the Program is
11658void, and will automatically terminate your rights under this License.
11659However, parties who have received copies, or rights, from you under
11660this License will not have their licenses terminated so long as such
11661parties remain in full compliance.
11662
11663 5. You are not required to accept this License, since you have not
11664signed it. However, nothing else grants you permission to modify or
11665distribute the Program or its derivative works. These actions are
11666prohibited by law if you do not accept this License. Therefore, by
11667modifying or distributing the Program (or any work based on the
11668Program), you indicate your acceptance of this License to do so, and
11669all its terms and conditions for copying, distributing or modifying
11670the Program or works based on it.
11671
11672 6. Each time you redistribute the Program (or any work based on the
11673Program), the recipient automatically receives a license from the
11674original licensor to copy, distribute or modify the Program subject to
11675these terms and conditions. You may not impose any further
11676restrictions on the recipients' exercise of the rights granted herein.
11677You are not responsible for enforcing compliance by third parties to
11678this License.
11679
11680 7. If, as a consequence of a court judgment or allegation of patent
11681infringement or for any other reason (not limited to patent issues),
11682conditions are imposed on you (whether by court order, agreement or
11683otherwise) that contradict the conditions of this License, they do not
11684excuse you from the conditions of this License. If you cannot
11685distribute so as to satisfy simultaneously your obligations under this
11686License and any other pertinent obligations, then as a consequence you
11687may not distribute the Program at all. For example, if a patent
11688license would not permit royalty-free redistribution of the Program by
11689all those who receive copies directly or indirectly through you, then
11690the only way you could satisfy both it and this License would be to
11691refrain entirely from distribution of the Program.
11692
11693If any portion of this section is held invalid or unenforceable under
11694any particular circumstance, the balance of the section is intended to
11695apply and the section as a whole is intended to apply in other
11696circumstances.
11697
11698It is not the purpose of this section to induce you to infringe any
11699patents or other property right claims or to contest validity of any
11700such claims; this section has the sole purpose of protecting the
11701integrity of the free software distribution system, which is
11702implemented by public license practices. Many people have made
11703generous contributions to the wide range of software distributed
11704through that system in reliance on consistent application of that
11705system; it is up to the author/donor to decide if he or she is willing
11706to distribute software through any other system and a licensee cannot
11707impose that choice.
11708
11709This section is intended to make thoroughly clear what is believed to
11710be a consequence of the rest of this License.
11711
11712 8. If the distribution and/or use of the Program is restricted in
11713certain countries either by patents or by copyrighted interfaces, the
11714original copyright holder who places the Program under this License
11715may add an explicit geographical distribution limitation excluding
11716those countries, so that distribution is permitted only in or among
11717countries not thus excluded. In such case, this License incorporates
11718the limitation as if written in the body of this License.
11719
11720 9. The Free Software Foundation may publish revised and/or new versions
11721of the General Public License from time to time. Such new versions will
11722be similar in spirit to the present version, but may differ in detail to
11723address new problems or concerns.
11724
11725Each version is given a distinguishing version number. If the Program
11726specifies a version number of this License which applies to it and "any
11727later version", you have the option of following the terms and conditions
11728either of that version or of any later version published by the Free
11729Software Foundation. If the Program does not specify a version number of
11730this License, you may choose any version ever published by the Free Software
11731Foundation.
11732
11733 10. If you wish to incorporate parts of the Program into other free
11734programs whose distribution conditions are different, write to the author
11735to ask for permission. For software which is copyrighted by the Free
11736Software Foundation, write to the Free Software Foundation; we sometimes
11737make exceptions for this. Our decision will be guided by the two goals
11738of preserving the free status of all derivatives of our free software and
11739of promoting the sharing and reuse of software generally.
11740
11741 NO WARRANTY
11742
11743 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
11744FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
11745OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
11746PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
11747OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
11748MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
11749TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
11750PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
11751REPAIR OR CORRECTION.
11752
11753 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
11754WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
11755REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
11756INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
11757OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
11758TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
11759YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
11760PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
11761POSSIBILITY OF SUCH DAMAGES.
11762
11763 END OF TERMS AND CONDITIONS
11764
11765 How to Apply These Terms to Your New Programs
11766
11767 If you develop a new program, and you want it to be of the greatest
11768possible use to the public, the best way to achieve this is to make it
11769free software which everyone can redistribute and change under these terms.
11770
11771 To do so, attach the following notices to the program. It is safest
11772to attach them to the start of each source file to most effectively
11773convey the exclusion of warranty; and each file should have at least
11774the "copyright" line and a pointer to where the full notice is found.
11775
11776 <one line to give the program's name and a brief idea of what it does.>
11777 Copyright (C) <year> <name of author>
11778
11779 This program is free software; you can redistribute it and/or modify
11780 it under the terms of the GNU General Public License as published by
11781 the Free Software Foundation; either version 2 of the License, or
11782 (at your option) any later version.
11783
11784 This program is distributed in the hope that it will be useful,
11785 but WITHOUT ANY WARRANTY; without even the implied warranty of
11786 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11787 GNU General Public License for more details.
11788
11789 You should have received a copy of the GNU General Public License
11790 along with this program; if not, write to the Free Software
11791 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
11792
11793
11794Also add information on how to contact you by electronic and paper mail.
11795
11796If the program is interactive, make it output a short notice like this
11797when it starts in an interactive mode:
11798
11799 Gnomovision version 69, Copyright (C) year name of author
11800 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
11801 This is free software, and you are welcome to redistribute it
11802 under certain conditions; type `show c' for details.
11803
11804The hypothetical commands `show w' and `show c' should show the appropriate
11805parts of the General Public License. Of course, the commands you use may
11806be called something other than `show w' and `show c'; they could even be
11807mouse-clicks or menu items--whatever suits your program.
11808
11809You should also get your employer (if you work as a programmer) or your
11810school, if any, to sign a "copyright disclaimer" for the program, if
11811necessary. Here is a sample; alter the names:
11812
11813 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
11814 `Gnomovision' (which makes passes at compilers) written by James Hacker.
11815
11816 <signature of Ty Coon>, 1 April 1989
11817 Ty Coon, President of Vice
11818
11819This General Public License does not permit incorporating your program into
11820proprietary programs. If your program is a subroutine library, you may
11821consider it more useful to permit linking proprietary applications with the
11822library. If this is what you want to do, use the GNU Library General
11823Public License instead of this License.
11824 GNU GENERAL PUBLIC LICENSE
11825 Version 3, 29 June 2007
11826
11827 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
11828 Everyone is permitted to copy and distribute verbatim copies
11829 of this license document, but changing it is not allowed.
11830
11831 Preamble
11832
11833 The GNU General Public License is a free, copyleft license for
11834software and other kinds of works.
11835
11836 The licenses for most software and other practical works are designed
11837to take away your freedom to share and change the works. By contrast,
11838the GNU General Public License is intended to guarantee your freedom to
11839share and change all versions of a program--to make sure it remains free
11840software for all its users. We, the Free Software Foundation, use the
11841GNU General Public License for most of our software; it applies also to
11842any other work released this way by its authors. You can apply it to
11843your programs, too.
11844
11845 When we speak of free software, we are referring to freedom, not
11846price. Our General Public Licenses are designed to make sure that you
11847have the freedom to distribute copies of free software (and charge for
11848them if you wish), that you receive source code or can get it if you
11849want it, that you can change the software or use pieces of it in new
11850free programs, and that you know you can do these things.
11851
11852 To protect your rights, we need to prevent others from denying you
11853these rights or asking you to surrender the rights. Therefore, you have
11854certain responsibilities if you distribute copies of the software, or if
11855you modify it: responsibilities to respect the freedom of others.
11856
11857 For example, if you distribute copies of such a program, whether
11858gratis or for a fee, you must pass on to the recipients the same
11859freedoms that you received. You must make sure that they, too, receive
11860or can get the source code. And you must show them these terms so they
11861know their rights.
11862
11863 Developers that use the GNU GPL protect your rights with two steps:
11864(1) assert copyright on the software, and (2) offer you this License
11865giving you legal permission to copy, distribute and/or modify it.
11866
11867 For the developers' and authors' protection, the GPL clearly explains
11868that there is no warranty for this free software. For both users' and
11869authors' sake, the GPL requires that modified versions be marked as
11870changed, so that their problems will not be attributed erroneously to
11871authors of previous versions.
11872
11873 Some devices are designed to deny users access to install or run
11874modified versions of the software inside them, although the manufacturer
11875can do so. This is fundamentally incompatible with the aim of
11876protecting users' freedom to change the software. The systematic
11877pattern of such abuse occurs in the area of products for individuals to
11878use, which is precisely where it is most unacceptable. Therefore, we
11879have designed this version of the GPL to prohibit the practice for those
11880products. If such problems arise substantially in other domains, we
11881stand ready to extend this provision to those domains in future versions
11882of the GPL, as needed to protect the freedom of users.
11883
11884 Finally, every program is threatened constantly by software patents.
11885States should not allow patents to restrict development and use of
11886software on general-purpose computers, but in those that do, we wish to
11887avoid the special danger that patents applied to a free program could
11888make it effectively proprietary. To prevent this, the GPL assures that
11889patents cannot be used to render the program non-free.
11890
11891 The precise terms and conditions for copying, distribution and
11892modification follow.
11893
11894 TERMS AND CONDITIONS
11895
11896 0. Definitions.
11897
11898 "This License" refers to version 3 of the GNU General Public License.
11899
11900 "Copyright" also means copyright-like laws that apply to other kinds of
11901works, such as semiconductor masks.
11902
11903 "The Program" refers to any copyrightable work licensed under this
11904License. Each licensee is addressed as "you". "Licensees" and
11905"recipients" may be individuals or organizations.
11906
11907 To "modify" a work means to copy from or adapt all or part of the work
11908in a fashion requiring copyright permission, other than the making of an
11909exact copy. The resulting work is called a "modified version" of the
11910earlier work or a work "based on" the earlier work.
11911
11912 A "covered work" means either the unmodified Program or a work based
11913on the Program.
11914
11915 To "propagate" a work means to do anything with it that, without
11916permission, would make you directly or secondarily liable for
11917infringement under applicable copyright law, except executing it on a
11918computer or modifying a private copy. Propagation includes copying,
11919distribution (with or without modification), making available to the
11920public, and in some countries other activities as well.
11921
11922 To "convey" a work means any kind of propagation that enables other
11923parties to make or receive copies. Mere interaction with a user through
11924a computer network, with no transfer of a copy, is not conveying.
11925
11926 An interactive user interface displays "Appropriate Legal Notices"
11927to the extent that it includes a convenient and prominently visible
11928feature that (1) displays an appropriate copyright notice, and (2)
11929tells the user that there is no warranty for the work (except to the
11930extent that warranties are provided), that licensees may convey the
11931work under this License, and how to view a copy of this License. If
11932the interface presents a list of user commands or options, such as a
11933menu, a prominent item in the list meets this criterion.
11934
11935 1. Source Code.
11936
11937 The "source code" for a work means the preferred form of the work
11938for making modifications to it. "Object code" means any non-source
11939form of a work.
11940
11941 A "Standard Interface" means an interface that either is an official
11942standard defined by a recognized standards body, or, in the case of
11943interfaces specified for a particular programming language, one that
11944is widely used among developers working in that language.
11945
11946 The "System Libraries" of an executable work include anything, other
11947than the work as a whole, that (a) is included in the normal form of
11948packaging a Major Component, but which is not part of that Major
11949Component, and (b) serves only to enable use of the work with that
11950Major Component, or to implement a Standard Interface for which an
11951implementation is available to the public in source code form. A
11952"Major Component", in this context, means a major essential component
11953(kernel, window system, and so on) of the specific operating system
11954(if any) on which the executable work runs, or a compiler used to
11955produce the work, or an object code interpreter used to run it.
11956
11957 The "Corresponding Source" for a work in object code form means all
11958the source code needed to generate, install, and (for an executable
11959work) run the object code and to modify the work, including scripts to
11960control those activities. However, it does not include the work's
11961System Libraries, or general-purpose tools or generally available free
11962programs which are used unmodified in performing those activities but
11963which are not part of the work. For example, Corresponding Source
11964includes interface definition files associated with source files for
11965the work, and the source code for shared libraries and dynamically
11966linked subprograms that the work is specifically designed to require,
11967such as by intimate data communication or control flow between those
11968subprograms and other parts of the work.
11969
11970 The Corresponding Source need not include anything that users
11971can regenerate automatically from other parts of the Corresponding
11972Source.
11973
11974 The Corresponding Source for a work in source code form is that
11975same work.
11976
11977 2. Basic Permissions.
11978
11979 All rights granted under this License are granted for the term of
11980copyright on the Program, and are irrevocable provided the stated
11981conditions are met. This License explicitly affirms your unlimited
11982permission to run the unmodified Program. The output from running a
11983covered work is covered by this License only if the output, given its
11984content, constitutes a covered work. This License acknowledges your
11985rights of fair use or other equivalent, as provided by copyright law.
11986
11987 You may make, run and propagate covered works that you do not
11988convey, without conditions so long as your license otherwise remains
11989in force. You may convey covered works to others for the sole purpose
11990of having them make modifications exclusively for you, or provide you
11991with facilities for running those works, provided that you comply with
11992the terms of this License in conveying all material for which you do
11993not control copyright. Those thus making or running the covered works
11994for you must do so exclusively on your behalf, under your direction
11995and control, on terms that prohibit them from making any copies of
11996your copyrighted material outside their relationship with you.
11997
11998 Conveying under any other circumstances is permitted solely under
11999the conditions stated below. Sublicensing is not allowed; section 10
12000makes it unnecessary.
12001
12002 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
12003
12004 No covered work shall be deemed part of an effective technological
12005measure under any applicable law fulfilling obligations under article
1200611 of the WIPO copyright treaty adopted on 20 December 1996, or
12007similar laws prohibiting or restricting circumvention of such
12008measures.
12009
12010 When you convey a covered work, you waive any legal power to forbid
12011circumvention of technological measures to the extent such circumvention
12012is effected by exercising rights under this License with respect to
12013the covered work, and you disclaim any intention to limit operation or
12014modification of the work as a means of enforcing, against the work's
12015users, your or third parties' legal rights to forbid circumvention of
12016technological measures.
12017
12018 4. Conveying Verbatim Copies.
12019
12020 You may convey verbatim copies of the Program's source code as you
12021receive it, in any medium, provided that you conspicuously and
12022appropriately publish on each copy an appropriate copyright notice;
12023keep intact all notices stating that this License and any
12024non-permissive terms added in accord with section 7 apply to the code;
12025keep intact all notices of the absence of any warranty; and give all
12026recipients a copy of this License along with the Program.
12027
12028 You may charge any price or no price for each copy that you convey,
12029and you may offer support or warranty protection for a fee.
12030
12031 5. Conveying Modified Source Versions.
12032
12033 You may convey a work based on the Program, or the modifications to
12034produce it from the Program, in the form of source code under the
12035terms of section 4, provided that you also meet all of these conditions:
12036
12037 a) The work must carry prominent notices stating that you modified
12038 it, and giving a relevant date.
12039
12040 b) The work must carry prominent notices stating that it is
12041 released under this License and any conditions added under section
12042 7. This requirement modifies the requirement in section 4 to
12043 "keep intact all notices".
12044
12045 c) You must license the entire work, as a whole, under this
12046 License to anyone who comes into possession of a copy. This
12047 License will therefore apply, along with any applicable section 7
12048 additional terms, to the whole of the work, and all its parts,
12049 regardless of how they are packaged. This License gives no
12050 permission to license the work in any other way, but it does not
12051 invalidate such permission if you have separately received it.
12052
12053 d) If the work has interactive user interfaces, each must display
12054 Appropriate Legal Notices; however, if the Program has interactive
12055 interfaces that do not display Appropriate Legal Notices, your
12056 work need not make them do so.
12057
12058 A compilation of a covered work with other separate and independent
12059works, which are not by their nature extensions of the covered work,
12060and which are not combined with it such as to form a larger program,
12061in or on a volume of a storage or distribution medium, is called an
12062"aggregate" if the compilation and its resulting copyright are not
12063used to limit the access or legal rights of the compilation's users
12064beyond what the individual works permit. Inclusion of a covered work
12065in an aggregate does not cause this License to apply to the other
12066parts of the aggregate.
12067
12068 6. Conveying Non-Source Forms.
12069
12070 You may convey a covered work in object code form under the terms
12071of sections 4 and 5, provided that you also convey the
12072machine-readable Corresponding Source under the terms of this License,
12073in one of these ways:
12074
12075 a) Convey the object code in, or embodied in, a physical product
12076 (including a physical distribution medium), accompanied by the
12077 Corresponding Source fixed on a durable physical medium
12078 customarily used for software interchange.
12079
12080 b) Convey the object code in, or embodied in, a physical product
12081 (including a physical distribution medium), accompanied by a
12082 written offer, valid for at least three years and valid for as
12083 long as you offer spare parts or customer support for that product
12084 model, to give anyone who possesses the object code either (1) a
12085 copy of the Corresponding Source for all the software in the
12086 product that is covered by this License, on a durable physical
12087 medium customarily used for software interchange, for a price no
12088 more than your reasonable cost of physically performing this
12089 conveying of source, or (2) access to copy the
12090 Corresponding Source from a network server at no charge.
12091
12092 c) Convey individual copies of the object code with a copy of the
12093 written offer to provide the Corresponding Source. This
12094 alternative is allowed only occasionally and noncommercially, and
12095 only if you received the object code with such an offer, in accord
12096 with subsection 6b.
12097
12098 d) Convey the object code by offering access from a designated
12099 place (gratis or for a charge), and offer equivalent access to the
12100 Corresponding Source in the same way through the same place at no
12101 further charge. You need not require recipients to copy the
12102 Corresponding Source along with the object code. If the place to
12103 copy the object code is a network server, the Corresponding Source
12104 may be on a different server (operated by you or a third party)
12105 that supports equivalent copying facilities, provided you maintain
12106 clear directions next to the object code saying where to find the
12107 Corresponding Source. Regardless of what server hosts the
12108 Corresponding Source, you remain obligated to ensure that it is
12109 available for as long as needed to satisfy these requirements.
12110
12111 e) Convey the object code using peer-to-peer transmission, provided
12112 you inform other peers where the object code and Corresponding
12113 Source of the work are being offered to the general public at no
12114 charge under subsection 6d.
12115
12116 A separable portion of the object code, whose source code is excluded
12117from the Corresponding Source as a System Library, need not be
12118included in conveying the object code work.
12119
12120 A "User Product" is either (1) a "consumer product", which means any
12121tangible personal property which is normally used for personal, family,
12122or household purposes, or (2) anything designed or sold for incorporation
12123into a dwelling. In determining whether a product is a consumer product,
12124doubtful cases shall be resolved in favor of coverage. For a particular
12125product received by a particular user, "normally used" refers to a
12126typical or common use of that class of product, regardless of the status
12127of the particular user or of the way in which the particular user
12128actually uses, or expects or is expected to use, the product. A product
12129is a consumer product regardless of whether the product has substantial
12130commercial, industrial or non-consumer uses, unless such uses represent
12131the only significant mode of use of the product.
12132
12133 "Installation Information" for a User Product means any methods,
12134procedures, authorization keys, or other information required to install
12135and execute modified versions of a covered work in that User Product from
12136a modified version of its Corresponding Source. The information must
12137suffice to ensure that the continued functioning of the modified object
12138code is in no case prevented or interfered with solely because
12139modification has been made.
12140
12141 If you convey an object code work under this section in, or with, or
12142specifically for use in, a User Product, and the conveying occurs as
12143part of a transaction in which the right of possession and use of the
12144User Product is transferred to the recipient in perpetuity or for a
12145fixed term (regardless of how the transaction is characterized), the
12146Corresponding Source conveyed under this section must be accompanied
12147by the Installation Information. But this requirement does not apply
12148if neither you nor any third party retains the ability to install
12149modified object code on the User Product (for example, the work has
12150been installed in ROM).
12151
12152 The requirement to provide Installation Information does not include a
12153requirement to continue to provide support service, warranty, or updates
12154for a work that has been modified or installed by the recipient, or for
12155the User Product in which it has been modified or installed. Access to a
12156network may be denied when the modification itself materially and
12157adversely affects the operation of the network or violates the rules and
12158protocols for communication across the network.
12159
12160 Corresponding Source conveyed, and Installation Information provided,
12161in accord with this section must be in a format that is publicly
12162documented (and with an implementation available to the public in
12163source code form), and must require no special password or key for
12164unpacking, reading or copying.
12165
12166 7. Additional Terms.
12167
12168 "Additional permissions" are terms that supplement the terms of this
12169License by making exceptions from one or more of its conditions.
12170Additional permissions that are applicable to the entire Program shall
12171be treated as though they were included in this License, to the extent
12172that they are valid under applicable law. If additional permissions
12173apply only to part of the Program, that part may be used separately
12174under those permissions, but the entire Program remains governed by
12175this License without regard to the additional permissions.
12176
12177 When you convey a copy of a covered work, you may at your option
12178remove any additional permissions from that copy, or from any part of
12179it. (Additional permissions may be written to require their own
12180removal in certain cases when you modify the work.) You may place
12181additional permissions on material, added by you to a covered work,
12182for which you have or can give appropriate copyright permission.
12183
12184 Notwithstanding any other provision of this License, for material you
12185add to a covered work, you may (if authorized by the copyright holders of
12186that material) supplement the terms of this License with terms:
12187
12188 a) Disclaiming warranty or limiting liability differently from the
12189 terms of sections 15 and 16 of this License; or
12190
12191 b) Requiring preservation of specified reasonable legal notices or
12192 author attributions in that material or in the Appropriate Legal
12193 Notices displayed by works containing it; or
12194
12195 c) Prohibiting misrepresentation of the origin of that material, or
12196 requiring that modified versions of such material be marked in
12197 reasonable ways as different from the original version; or
12198
12199 d) Limiting the use for publicity purposes of names of licensors or
12200 authors of the material; or
12201
12202 e) Declining to grant rights under trademark law for use of some
12203 trade names, trademarks, or service marks; or
12204
12205 f) Requiring indemnification of licensors and authors of that
12206 material by anyone who conveys the material (or modified versions of
12207 it) with contractual assumptions of liability to the recipient, for
12208 any liability that these contractual assumptions directly impose on
12209 those licensors and authors.
12210
12211 All other non-permissive additional terms are considered "further
12212restrictions" within the meaning of section 10. If the Program as you
12213received it, or any part of it, contains a notice stating that it is
12214governed by this License along with a term that is a further
12215restriction, you may remove that term. If a license document contains
12216a further restriction but permits relicensing or conveying under this
12217License, you may add to a covered work material governed by the terms
12218of that license document, provided that the further restriction does
12219not survive such relicensing or conveying.
12220
12221 If you add terms to a covered work in accord with this section, you
12222must place, in the relevant source files, a statement of the
12223additional terms that apply to those files, or a notice indicating
12224where to find the applicable terms.
12225
12226 Additional terms, permissive or non-permissive, may be stated in the
12227form of a separately written license, or stated as exceptions;
12228the above requirements apply either way.
12229
12230 8. Termination.
12231
12232 You may not propagate or modify a covered work except as expressly
12233provided under this License. Any attempt otherwise to propagate or
12234modify it is void, and will automatically terminate your rights under
12235this License (including any patent licenses granted under the third
12236paragraph of section 11).
12237
12238 However, if you cease all violation of this License, then your
12239license from a particular copyright holder is reinstated (a)
12240provisionally, unless and until the copyright holder explicitly and
12241finally terminates your license, and (b) permanently, if the copyright
12242holder fails to notify you of the violation by some reasonable means
12243prior to 60 days after the cessation.
12244
12245 Moreover, your license from a particular copyright holder is
12246reinstated permanently if the copyright holder notifies you of the
12247violation by some reasonable means, this is the first time you have
12248received notice of violation of this License (for any work) from that
12249copyright holder, and you cure the violation prior to 30 days after
12250your receipt of the notice.
12251
12252 Termination of your rights under this section does not terminate the
12253licenses of parties who have received copies or rights from you under
12254this License. If your rights have been terminated and not permanently
12255reinstated, you do not qualify to receive new licenses for the same
12256material under section 10.
12257
12258 9. Acceptance Not Required for Having Copies.
12259
12260 You are not required to accept this License in order to receive or
12261run a copy of the Program. Ancillary propagation of a covered work
12262occurring solely as a consequence of using peer-to-peer transmission
12263to receive a copy likewise does not require acceptance. However,
12264nothing other than this License grants you permission to propagate or
12265modify any covered work. These actions infringe copyright if you do
12266not accept this License. Therefore, by modifying or propagating a
12267covered work, you indicate your acceptance of this License to do so.
12268
12269 10. Automatic Licensing of Downstream Recipients.
12270
12271 Each time you convey a covered work, the recipient automatically
12272receives a license from the original licensors, to run, modify and
12273propagate that work, subject to this License. You are not responsible
12274for enforcing compliance by third parties with this License.
12275
12276 An "entity transaction" is a transaction transferring control of an
12277organization, or substantially all assets of one, or subdividing an
12278organization, or merging organizations. If propagation of a covered
12279work results from an entity transaction, each party to that
12280transaction who receives a copy of the work also receives whatever
12281licenses to the work the party's predecessor in interest had or could
12282give under the previous paragraph, plus a right to possession of the
12283Corresponding Source of the work from the predecessor in interest, if
12284the predecessor has it or can get it with reasonable efforts.
12285
12286 You may not impose any further restrictions on the exercise of the
12287rights granted or affirmed under this License. For example, you may
12288not impose a license fee, royalty, or other charge for exercise of
12289rights granted under this License, and you may not initiate litigation
12290(including a cross-claim or counterclaim in a lawsuit) alleging that
12291any patent claim is infringed by making, using, selling, offering for
12292sale, or importing the Program or any portion of it.
12293
12294 11. Patents.
12295
12296 A "contributor" is a copyright holder who authorizes use under this
12297License of the Program or a work on which the Program is based. The
12298work thus licensed is called the contributor's "contributor version".
12299
12300 A contributor's "essential patent claims" are all patent claims
12301owned or controlled by the contributor, whether already acquired or
12302hereafter acquired, that would be infringed by some manner, permitted
12303by this License, of making, using, or selling its contributor version,
12304but do not include claims that would be infringed only as a
12305consequence of further modification of the contributor version. For
12306purposes of this definition, "control" includes the right to grant
12307patent sublicenses in a manner consistent with the requirements of
12308this License.
12309
12310 Each contributor grants you a non-exclusive, worldwide, royalty-free
12311patent license under the contributor's essential patent claims, to
12312make, use, sell, offer for sale, import and otherwise run, modify and
12313propagate the contents of its contributor version.
12314
12315 In the following three paragraphs, a "patent license" is any express
12316agreement or commitment, however denominated, not to enforce a patent
12317(such as an express permission to practice a patent or covenant not to
12318sue for patent infringement). To "grant" such a patent license to a
12319party means to make such an agreement or commitment not to enforce a
12320patent against the party.
12321
12322 If you convey a covered work, knowingly relying on a patent license,
12323and the Corresponding Source of the work is not available for anyone
12324to copy, free of charge and under the terms of this License, through a
12325publicly available network server or other readily accessible means,
12326then you must either (1) cause the Corresponding Source to be so
12327available, or (2) arrange to deprive yourself of the benefit of the
12328patent license for this particular work, or (3) arrange, in a manner
12329consistent with the requirements of this License, to extend the patent
12330license to downstream recipients. "Knowingly relying" means you have
12331actual knowledge that, but for the patent license, your conveying the
12332covered work in a country, or your recipient's use of the covered work
12333in a country, would infringe one or more identifiable patents in that
12334country that you have reason to believe are valid.
12335
12336 If, pursuant to or in connection with a single transaction or
12337arrangement, you convey, or propagate by procuring conveyance of, a
12338covered work, and grant a patent license to some of the parties
12339receiving the covered work authorizing them to use, propagate, modify
12340or convey a specific copy of the covered work, then the patent license
12341you grant is automatically extended to all recipients of the covered
12342work and works based on it.
12343
12344 A patent license is "discriminatory" if it does not include within
12345the scope of its coverage, prohibits the exercise of, or is
12346conditioned on the non-exercise of one or more of the rights that are
12347specifically granted under this License. You may not convey a covered
12348work if you are a party to an arrangement with a third party that is
12349in the business of distributing software, under which you make payment
12350to the third party based on the extent of your activity of conveying
12351the work, and under which the third party grants, to any of the
12352parties who would receive the covered work from you, a discriminatory
12353patent license (a) in connection with copies of the covered work
12354conveyed by you (or copies made from those copies), or (b) primarily
12355for and in connection with specific products or compilations that
12356contain the covered work, unless you entered into that arrangement,
12357or that patent license was granted, prior to 28 March 2007.
12358
12359 Nothing in this License shall be construed as excluding or limiting
12360any implied license or other defenses to infringement that may
12361otherwise be available to you under applicable patent law.
12362
12363 12. No Surrender of Others' Freedom.
12364
12365 If conditions are imposed on you (whether by court order, agreement or
12366otherwise) that contradict the conditions of this License, they do not
12367excuse you from the conditions of this License. If you cannot convey a
12368covered work so as to satisfy simultaneously your obligations under this
12369License and any other pertinent obligations, then as a consequence you may
12370not convey it at all. For example, if you agree to terms that obligate you
12371to collect a royalty for further conveying from those to whom you convey
12372the Program, the only way you could satisfy both those terms and this
12373License would be to refrain entirely from conveying the Program.
12374
12375 13. Use with the GNU Affero General Public License.
12376
12377 Notwithstanding any other provision of this License, you have
12378permission to link or combine any covered work with a work licensed
12379under version 3 of the GNU Affero General Public License into a single
12380combined work, and to convey the resulting work. The terms of this
12381License will continue to apply to the part which is the covered work,
12382but the special requirements of the GNU Affero General Public License,
12383section 13, concerning interaction through a network will apply to the
12384combination as such.
12385
12386 14. Revised Versions of this License.
12387
12388 The Free Software Foundation may publish revised and/or new versions of
12389the GNU General Public License from time to time. Such new versions will
12390be similar in spirit to the present version, but may differ in detail to
12391address new problems or concerns.
12392
12393 Each version is given a distinguishing version number. If the
12394Program specifies that a certain numbered version of the GNU General
12395Public License "or any later version" applies to it, you have the
12396option of following the terms and conditions either of that numbered
12397version or of any later version published by the Free Software
12398Foundation. If the Program does not specify a version number of the
12399GNU General Public License, you may choose any version ever published
12400by the Free Software Foundation.
12401
12402 If the Program specifies that a proxy can decide which future
12403versions of the GNU General Public License can be used, that proxy's
12404public statement of acceptance of a version permanently authorizes you
12405to choose that version for the Program.
12406
12407 Later license versions may give you additional or different
12408permissions. However, no additional obligations are imposed on any
12409author or copyright holder as a result of your choosing to follow a
12410later version.
12411
12412 15. Disclaimer of Warranty.
12413
12414 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
12415APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
12416HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
12417OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
12418THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12419PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
12420IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
12421ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12422
12423 16. Limitation of Liability.
12424
12425 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
12426WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
12427THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
12428GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
12429USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
12430DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
12431PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
12432EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
12433SUCH DAMAGES.
12434
12435 17. Interpretation of Sections 15 and 16.
12436
12437 If the disclaimer of warranty and limitation of liability provided
12438above cannot be given local legal effect according to their terms,
12439reviewing courts shall apply local law that most closely approximates
12440an absolute waiver of all civil liability in connection with the
12441Program, unless a warranty or assumption of liability accompanies a
12442copy of the Program in return for a fee.
12443
12444 END OF TERMS AND CONDITIONS
12445
12446 How to Apply These Terms to Your New Programs
12447
12448 If you develop a new program, and you want it to be of the greatest
12449possible use to the public, the best way to achieve this is to make it
12450free software which everyone can redistribute and change under these terms.
12451
12452 To do so, attach the following notices to the program. It is safest
12453to attach them to the start of each source file to most effectively
12454state the exclusion of warranty; and each file should have at least
12455the "copyright" line and a pointer to where the full notice is found.
12456
12457 <one line to give the program's name and a brief idea of what it does.>
12458 Copyright (C) <year> <name of author>
12459
12460 This program is free software: you can redistribute it and/or modify
12461 it under the terms of the GNU General Public License as published by
12462 the Free Software Foundation, either version 3 of the License, or
12463 (at your option) any later version.
12464
12465 This program is distributed in the hope that it will be useful,
12466 but WITHOUT ANY WARRANTY; without even the implied warranty of
12467 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12468 GNU General Public License for more details.
12469
12470 You should have received a copy of the GNU General Public License
12471 along with this program. If not, see <http://www.gnu.org/licenses/>.
12472
12473Also add information on how to contact you by electronic and paper mail.
12474
12475 If the program does terminal interaction, make it output a short
12476notice like this when it starts in an interactive mode:
12477
12478 <program> Copyright (C) <year> <name of author>
12479 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
12480 This is free software, and you are welcome to redistribute it
12481 under certain conditions; type `show c' for details.
12482
12483The hypothetical commands `show w' and `show c' should show the appropriate
12484parts of the General Public License. Of course, your program's commands
12485might be different; for a GUI interface, you would use an "about box".
12486
12487 You should also get your employer (if you work as a programmer) or school,
12488if any, to sign a "copyright disclaimer" for the program, if necessary.
12489For more information on this, and how to apply and follow the GNU GPL, see
12490<http://www.gnu.org/licenses/>.
12491
12492 The GNU General Public License does not permit incorporating your program
12493into proprietary programs. If your program is a subroutine library, you
12494may consider it more useful to permit linking proprietary applications with
12495the library. If this is what you want to do, use the GNU Lesser General
12496Public License instead of this License. But first, please read
12497<http://www.gnu.org/philosophy/why-not-lgpl.html>.
12498 GNU LESSER GENERAL PUBLIC LICENSE
12499 Version 3, 29 June 2007
12500
12501 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
12502 Everyone is permitted to copy and distribute verbatim copies
12503 of this license document, but changing it is not allowed.
12504
12505
12506 This version of the GNU Lesser General Public License incorporates
12507the terms and conditions of version 3 of the GNU General Public
12508License, supplemented by the additional permissions listed below.
12509
12510 0. Additional Definitions.
12511
12512 As used herein, "this License" refers to version 3 of the GNU Lesser
12513General Public License, and the "GNU GPL" refers to version 3 of the GNU
12514General Public License.
12515
12516 "The Library" refers to a covered work governed by this License,
12517other than an Application or a Combined Work as defined below.
12518
12519 An "Application" is any work that makes use of an interface provided
12520by the Library, but which is not otherwise based on the Library.
12521Defining a subclass of a class defined by the Library is deemed a mode
12522of using an interface provided by the Library.
12523
12524 A "Combined Work" is a work produced by combining or linking an
12525Application with the Library. The particular version of the Library
12526with which the Combined Work was made is also called the "Linked
12527Version".
12528
12529 The "Minimal Corresponding Source" for a Combined Work means the
12530Corresponding Source for the Combined Work, excluding any source code
12531for portions of the Combined Work that, considered in isolation, are
12532based on the Application, and not on the Linked Version.
12533
12534 The "Corresponding Application Code" for a Combined Work means the
12535object code and/or source code for the Application, including any data
12536and utility programs needed for reproducing the Combined Work from the
12537Application, but excluding the System Libraries of the Combined Work.
12538
12539 1. Exception to Section 3 of the GNU GPL.
12540
12541 You may convey a covered work under sections 3 and 4 of this License
12542without being bound by section 3 of the GNU GPL.
12543
12544 2. Conveying Modified Versions.
12545
12546 If you modify a copy of the Library, and, in your modifications, a
12547facility refers to a function or data to be supplied by an Application
12548that uses the facility (other than as an argument passed when the
12549facility is invoked), then you may convey a copy of the modified
12550version:
12551
12552 a) under this License, provided that you make a good faith effort to
12553 ensure that, in the event an Application does not supply the
12554 function or data, the facility still operates, and performs
12555 whatever part of its purpose remains meaningful, or
12556
12557 b) under the GNU GPL, with none of the additional permissions of
12558 this License applicable to that copy.
12559
12560 3. Object Code Incorporating Material from Library Header Files.
12561
12562 The object code form of an Application may incorporate material from
12563a header file that is part of the Library. You may convey such object
12564code under terms of your choice, provided that, if the incorporated
12565material is not limited to numerical parameters, data structure
12566layouts and accessors, or small macros, inline functions and templates
12567(ten or fewer lines in length), you do both of the following:
12568
12569 a) Give prominent notice with each copy of the object code that the
12570 Library is used in it and that the Library and its use are
12571 covered by this License.
12572
12573 b) Accompany the object code with a copy of the GNU GPL and this license
12574 document.
12575
12576 4. Combined Works.
12577
12578 You may convey a Combined Work under terms of your choice that,
12579taken together, effectively do not restrict modification of the
12580portions of the Library contained in the Combined Work and reverse
12581engineering for debugging such modifications, if you also do each of
12582the following:
12583
12584 a) Give prominent notice with each copy of the Combined Work that
12585 the Library is used in it and that the Library and its use are
12586 covered by this License.
12587
12588 b) Accompany the Combined Work with a copy of the GNU GPL and this license
12589 document.
12590
12591 c) For a Combined Work that displays copyright notices during
12592 execution, include the copyright notice for the Library among
12593 these notices, as well as a reference directing the user to the
12594 copies of the GNU GPL and this license document.
12595
12596 d) Do one of the following:
12597
12598 0) Convey the Minimal Corresponding Source under the terms of this
12599 License, and the Corresponding Application Code in a form
12600 suitable for, and under terms that permit, the user to
12601 recombine or relink the Application with a modified version of
12602 the Linked Version to produce a modified Combined Work, in the
12603 manner specified by section 6 of the GNU GPL for conveying
12604 Corresponding Source.
12605
12606 1) Use a suitable shared library mechanism for linking with the
12607 Library. A suitable mechanism is one that (a) uses at run time
12608 a copy of the Library already present on the user's computer
12609 system, and (b) will operate properly with a modified version
12610 of the Library that is interface-compatible with the Linked
12611 Version.
12612
12613 e) Provide Installation Information, but only if you would otherwise
12614 be required to provide such information under section 6 of the
12615 GNU GPL, and only to the extent that such information is
12616 necessary to install and execute a modified version of the
12617 Combined Work produced by recombining or relinking the
12618 Application with a modified version of the Linked Version. (If
12619 you use option 4d0, the Installation Information must accompany
12620 the Minimal Corresponding Source and Corresponding Application
12621 Code. If you use option 4d1, you must provide the Installation
12622 Information in the manner specified by section 6 of the GNU GPL
12623 for conveying Corresponding Source.)
12624
12625 5. Combined Libraries.
12626
12627 You may place library facilities that are a work based on the
12628Library side by side in a single library together with other library
12629facilities that are not Applications and are not covered by this
12630License, and convey such a combined library under terms of your
12631choice, if you do both of the following:
12632
12633 a) Accompany the combined library with a copy of the same work based
12634 on the Library, uncombined with any other library facilities,
12635 conveyed under the terms of this License.
12636
12637 b) Give prominent notice with the combined library that part of it
12638 is a work based on the Library, and explaining where to find the
12639 accompanying uncombined form of the same work.
12640
12641 6. Revised Versions of the GNU Lesser General Public License.
12642
12643 The Free Software Foundation may publish revised and/or new versions
12644of the GNU Lesser General Public License from time to time. Such new
12645versions will be similar in spirit to the present version, but may
12646differ in detail to address new problems or concerns.
12647
12648 Each version is given a distinguishing version number. If the
12649Library as you received it specifies that a certain numbered version
12650of the GNU Lesser General Public License "or any later version"
12651applies to it, you have the option of following the terms and
12652conditions either of that published version or of any later version
12653published by the Free Software Foundation. If the Library as you
12654received it does not specify a version number of the GNU Lesser
12655General Public License, you may choose any version of the GNU Lesser
12656General Public License ever published by the Free Software Foundation.
12657
12658 If the Library as you received it specifies that a proxy can decide
12659whether future versions of the GNU Lesser General Public License shall
12660apply, that proxy's public statement of acceptance of any version is
12661permanent authorization for you to choose that version for the
12662Library.
12663 GNU GENERAL PUBLIC LICENSE
12664 Version 3, 29 June 2007
12665
12666 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
12667 Everyone is permitted to copy and distribute verbatim copies
12668 of this license document, but changing it is not allowed.
12669
12670 Preamble
12671
12672 The GNU General Public License is a free, copyleft license for
12673software and other kinds of works.
12674
12675 The licenses for most software and other practical works are designed
12676to take away your freedom to share and change the works. By contrast,
12677the GNU General Public License is intended to guarantee your freedom to
12678share and change all versions of a program--to make sure it remains free
12679software for all its users. We, the Free Software Foundation, use the
12680GNU General Public License for most of our software; it applies also to
12681any other work released this way by its authors. You can apply it to
12682your programs, too.
12683
12684 When we speak of free software, we are referring to freedom, not
12685price. Our General Public Licenses are designed to make sure that you
12686have the freedom to distribute copies of free software (and charge for
12687them if you wish), that you receive source code or can get it if you
12688want it, that you can change the software or use pieces of it in new
12689free programs, and that you know you can do these things.
12690
12691 To protect your rights, we need to prevent others from denying you
12692these rights or asking you to surrender the rights. Therefore, you have
12693certain responsibilities if you distribute copies of the software, or if
12694you modify it: responsibilities to respect the freedom of others.
12695
12696 For example, if you distribute copies of such a program, whether
12697gratis or for a fee, you must pass on to the recipients the same
12698freedoms that you received. You must make sure that they, too, receive
12699or can get the source code. And you must show them these terms so they
12700know their rights.
12701
12702 Developers that use the GNU GPL protect your rights with two steps:
12703(1) assert copyright on the software, and (2) offer you this License
12704giving you legal permission to copy, distribute and/or modify it.
12705
12706 For the developers' and authors' protection, the GPL clearly explains
12707that there is no warranty for this free software. For both users' and
12708authors' sake, the GPL requires that modified versions be marked as
12709changed, so that their problems will not be attributed erroneously to
12710authors of previous versions.
12711
12712 Some devices are designed to deny users access to install or run
12713modified versions of the software inside them, although the manufacturer
12714can do so. This is fundamentally incompatible with the aim of
12715protecting users' freedom to change the software. The systematic
12716pattern of such abuse occurs in the area of products for individuals to
12717use, which is precisely where it is most unacceptable. Therefore, we
12718have designed this version of the GPL to prohibit the practice for those
12719products. If such problems arise substantially in other domains, we
12720stand ready to extend this provision to those domains in future versions
12721of the GPL, as needed to protect the freedom of users.
12722
12723 Finally, every program is threatened constantly by software patents.
12724States should not allow patents to restrict development and use of
12725software on general-purpose computers, but in those that do, we wish to
12726avoid the special danger that patents applied to a free program could
12727make it effectively proprietary. To prevent this, the GPL assures that
12728patents cannot be used to render the program non-free.
12729
12730 The precise terms and conditions for copying, distribution and
12731modification follow.
12732
12733 TERMS AND CONDITIONS
12734
12735 0. Definitions.
12736
12737 "This License" refers to version 3 of the GNU General Public License.
12738
12739 "Copyright" also means copyright-like laws that apply to other kinds of
12740works, such as semiconductor masks.
12741
12742 "The Program" refers to any copyrightable work licensed under this
12743License. Each licensee is addressed as "you". "Licensees" and
12744"recipients" may be individuals or organizations.
12745
12746 To "modify" a work means to copy from or adapt all or part of the work
12747in a fashion requiring copyright permission, other than the making of an
12748exact copy. The resulting work is called a "modified version" of the
12749earlier work or a work "based on" the earlier work.
12750
12751 A "covered work" means either the unmodified Program or a work based
12752on the Program.
12753
12754 To "propagate" a work means to do anything with it that, without
12755permission, would make you directly or secondarily liable for
12756infringement under applicable copyright law, except executing it on a
12757computer or modifying a private copy. Propagation includes copying,
12758distribution (with or without modification), making available to the
12759public, and in some countries other activities as well.
12760
12761 To "convey" a work means any kind of propagation that enables other
12762parties to make or receive copies. Mere interaction with a user through
12763a computer network, with no transfer of a copy, is not conveying.
12764
12765 An interactive user interface displays "Appropriate Legal Notices"
12766to the extent that it includes a convenient and prominently visible
12767feature that (1) displays an appropriate copyright notice, and (2)
12768tells the user that there is no warranty for the work (except to the
12769extent that warranties are provided), that licensees may convey the
12770work under this License, and how to view a copy of this License. If
12771the interface presents a list of user commands or options, such as a
12772menu, a prominent item in the list meets this criterion.
12773
12774 1. Source Code.
12775
12776 The "source code" for a work means the preferred form of the work
12777for making modifications to it. "Object code" means any non-source
12778form of a work.
12779
12780 A "Standard Interface" means an interface that either is an official
12781standard defined by a recognized standards body, or, in the case of
12782interfaces specified for a particular programming language, one that
12783is widely used among developers working in that language.
12784
12785 The "System Libraries" of an executable work include anything, other
12786than the work as a whole, that (a) is included in the normal form of
12787packaging a Major Component, but which is not part of that Major
12788Component, and (b) serves only to enable use of the work with that
12789Major Component, or to implement a Standard Interface for which an
12790implementation is available to the public in source code form. A
12791"Major Component", in this context, means a major essential component
12792(kernel, window system, and so on) of the specific operating system
12793(if any) on which the executable work runs, or a compiler used to
12794produce the work, or an object code interpreter used to run it.
12795
12796 The "Corresponding Source" for a work in object code form means all
12797the source code needed to generate, install, and (for an executable
12798work) run the object code and to modify the work, including scripts to
12799control those activities. However, it does not include the work's
12800System Libraries, or general-purpose tools or generally available free
12801programs which are used unmodified in performing those activities but
12802which are not part of the work. For example, Corresponding Source
12803includes interface definition files associated with source files for
12804the work, and the source code for shared libraries and dynamically
12805linked subprograms that the work is specifically designed to require,
12806such as by intimate data communication or control flow between those
12807subprograms and other parts of the work.
12808
12809 The Corresponding Source need not include anything that users
12810can regenerate automatically from other parts of the Corresponding
12811Source.
12812
12813 The Corresponding Source for a work in source code form is that
12814same work.
12815
12816 2. Basic Permissions.
12817
12818 All rights granted under this License are granted for the term of
12819copyright on the Program, and are irrevocable provided the stated
12820conditions are met. This License explicitly affirms your unlimited
12821permission to run the unmodified Program. The output from running a
12822covered work is covered by this License only if the output, given its
12823content, constitutes a covered work. This License acknowledges your
12824rights of fair use or other equivalent, as provided by copyright law.
12825
12826 You may make, run and propagate covered works that you do not
12827convey, without conditions so long as your license otherwise remains
12828in force. You may convey covered works to others for the sole purpose
12829of having them make modifications exclusively for you, or provide you
12830with facilities for running those works, provided that you comply with
12831the terms of this License in conveying all material for which you do
12832not control copyright. Those thus making or running the covered works
12833for you must do so exclusively on your behalf, under your direction
12834and control, on terms that prohibit them from making any copies of
12835your copyrighted material outside their relationship with you.
12836
12837 Conveying under any other circumstances is permitted solely under
12838the conditions stated below. Sublicensing is not allowed; section 10
12839makes it unnecessary.
12840
12841 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
12842
12843 No covered work shall be deemed part of an effective technological
12844measure under any applicable law fulfilling obligations under article
1284511 of the WIPO copyright treaty adopted on 20 December 1996, or
12846similar laws prohibiting or restricting circumvention of such
12847measures.
12848
12849 When you convey a covered work, you waive any legal power to forbid
12850circumvention of technological measures to the extent such circumvention
12851is effected by exercising rights under this License with respect to
12852the covered work, and you disclaim any intention to limit operation or
12853modification of the work as a means of enforcing, against the work's
12854users, your or third parties' legal rights to forbid circumvention of
12855technological measures.
12856
12857 4. Conveying Verbatim Copies.
12858
12859 You may convey verbatim copies of the Program's source code as you
12860receive it, in any medium, provided that you conspicuously and
12861appropriately publish on each copy an appropriate copyright notice;
12862keep intact all notices stating that this License and any
12863non-permissive terms added in accord with section 7 apply to the code;
12864keep intact all notices of the absence of any warranty; and give all
12865recipients a copy of this License along with the Program.
12866
12867 You may charge any price or no price for each copy that you convey,
12868and you may offer support or warranty protection for a fee.
12869
12870 5. Conveying Modified Source Versions.
12871
12872 You may convey a work based on the Program, or the modifications to
12873produce it from the Program, in the form of source code under the
12874terms of section 4, provided that you also meet all of these conditions:
12875
12876 a) The work must carry prominent notices stating that you modified
12877 it, and giving a relevant date.
12878
12879 b) The work must carry prominent notices stating that it is
12880 released under this License and any conditions added under section
12881 7. This requirement modifies the requirement in section 4 to
12882 "keep intact all notices".
12883
12884 c) You must license the entire work, as a whole, under this
12885 License to anyone who comes into possession of a copy. This
12886 License will therefore apply, along with any applicable section 7
12887 additional terms, to the whole of the work, and all its parts,
12888 regardless of how they are packaged. This License gives no
12889 permission to license the work in any other way, but it does not
12890 invalidate such permission if you have separately received it.
12891
12892 d) If the work has interactive user interfaces, each must display
12893 Appropriate Legal Notices; however, if the Program has interactive
12894 interfaces that do not display Appropriate Legal Notices, your
12895 work need not make them do so.
12896
12897 A compilation of a covered work with other separate and independent
12898works, which are not by their nature extensions of the covered work,
12899and which are not combined with it such as to form a larger program,
12900in or on a volume of a storage or distribution medium, is called an
12901"aggregate" if the compilation and its resulting copyright are not
12902used to limit the access or legal rights of the compilation's users
12903beyond what the individual works permit. Inclusion of a covered work
12904in an aggregate does not cause this License to apply to the other
12905parts of the aggregate.
12906
12907 6. Conveying Non-Source Forms.
12908
12909 You may convey a covered work in object code form under the terms
12910of sections 4 and 5, provided that you also convey the
12911machine-readable Corresponding Source under the terms of this License,
12912in one of these ways:
12913
12914 a) Convey the object code in, or embodied in, a physical product
12915 (including a physical distribution medium), accompanied by the
12916 Corresponding Source fixed on a durable physical medium
12917 customarily used for software interchange.
12918
12919 b) Convey the object code in, or embodied in, a physical product
12920 (including a physical distribution medium), accompanied by a
12921 written offer, valid for at least three years and valid for as
12922 long as you offer spare parts or customer support for that product
12923 model, to give anyone who possesses the object code either (1) a
12924 copy of the Corresponding Source for all the software in the
12925 product that is covered by this License, on a durable physical
12926 medium customarily used for software interchange, for a price no
12927 more than your reasonable cost of physically performing this
12928 conveying of source, or (2) access to copy the
12929 Corresponding Source from a network server at no charge.
12930
12931 c) Convey individual copies of the object code with a copy of the
12932 written offer to provide the Corresponding Source. This
12933 alternative is allowed only occasionally and noncommercially, and
12934 only if you received the object code with such an offer, in accord
12935 with subsection 6b.
12936
12937 d) Convey the object code by offering access from a designated
12938 place (gratis or for a charge), and offer equivalent access to the
12939 Corresponding Source in the same way through the same place at no
12940 further charge. You need not require recipients to copy the
12941 Corresponding Source along with the object code. If the place to
12942 copy the object code is a network server, the Corresponding Source
12943 may be on a different server (operated by you or a third party)
12944 that supports equivalent copying facilities, provided you maintain
12945 clear directions next to the object code saying where to find the
12946 Corresponding Source. Regardless of what server hosts the
12947 Corresponding Source, you remain obligated to ensure that it is
12948 available for as long as needed to satisfy these requirements.
12949
12950 e) Convey the object code using peer-to-peer transmission, provided
12951 you inform other peers where the object code and Corresponding
12952 Source of the work are being offered to the general public at no
12953 charge under subsection 6d.
12954
12955 A separable portion of the object code, whose source code is excluded
12956from the Corresponding Source as a System Library, need not be
12957included in conveying the object code work.
12958
12959 A "User Product" is either (1) a "consumer product", which means any
12960tangible personal property which is normally used for personal, family,
12961or household purposes, or (2) anything designed or sold for incorporation
12962into a dwelling. In determining whether a product is a consumer product,
12963doubtful cases shall be resolved in favor of coverage. For a particular
12964product received by a particular user, "normally used" refers to a
12965typical or common use of that class of product, regardless of the status
12966of the particular user or of the way in which the particular user
12967actually uses, or expects or is expected to use, the product. A product
12968is a consumer product regardless of whether the product has substantial
12969commercial, industrial or non-consumer uses, unless such uses represent
12970the only significant mode of use of the product.
12971
12972 "Installation Information" for a User Product means any methods,
12973procedures, authorization keys, or other information required to install
12974and execute modified versions of a covered work in that User Product from
12975a modified version of its Corresponding Source. The information must
12976suffice to ensure that the continued functioning of the modified object
12977code is in no case prevented or interfered with solely because
12978modification has been made.
12979
12980 If you convey an object code work under this section in, or with, or
12981specifically for use in, a User Product, and the conveying occurs as
12982part of a transaction in which the right of possession and use of the
12983User Product is transferred to the recipient in perpetuity or for a
12984fixed term (regardless of how the transaction is characterized), the
12985Corresponding Source conveyed under this section must be accompanied
12986by the Installation Information. But this requirement does not apply
12987if neither you nor any third party retains the ability to install
12988modified object code on the User Product (for example, the work has
12989been installed in ROM).
12990
12991 The requirement to provide Installation Information does not include a
12992requirement to continue to provide support service, warranty, or updates
12993for a work that has been modified or installed by the recipient, or for
12994the User Product in which it has been modified or installed. Access to a
12995network may be denied when the modification itself materially and
12996adversely affects the operation of the network or violates the rules and
12997protocols for communication across the network.
12998
12999 Corresponding Source conveyed, and Installation Information provided,
13000in accord with this section must be in a format that is publicly
13001documented (and with an implementation available to the public in
13002source code form), and must require no special password or key for
13003unpacking, reading or copying.
13004
13005 7. Additional Terms.
13006
13007 "Additional permissions" are terms that supplement the terms of this
13008License by making exceptions from one or more of its conditions.
13009Additional permissions that are applicable to the entire Program shall
13010be treated as though they were included in this License, to the extent
13011that they are valid under applicable law. If additional permissions
13012apply only to part of the Program, that part may be used separately
13013under those permissions, but the entire Program remains governed by
13014this License without regard to the additional permissions.
13015
13016 When you convey a copy of a covered work, you may at your option
13017remove any additional permissions from that copy, or from any part of
13018it. (Additional permissions may be written to require their own
13019removal in certain cases when you modify the work.) You may place
13020additional permissions on material, added by you to a covered work,
13021for which you have or can give appropriate copyright permission.
13022
13023 Notwithstanding any other provision of this License, for material you
13024add to a covered work, you may (if authorized by the copyright holders of
13025that material) supplement the terms of this License with terms:
13026
13027 a) Disclaiming warranty or limiting liability differently from the
13028 terms of sections 15 and 16 of this License; or
13029
13030 b) Requiring preservation of specified reasonable legal notices or
13031 author attributions in that material or in the Appropriate Legal
13032 Notices displayed by works containing it; or
13033
13034 c) Prohibiting misrepresentation of the origin of that material, or
13035 requiring that modified versions of such material be marked in
13036 reasonable ways as different from the original version; or
13037
13038 d) Limiting the use for publicity purposes of names of licensors or
13039 authors of the material; or
13040
13041 e) Declining to grant rights under trademark law for use of some
13042 trade names, trademarks, or service marks; or
13043
13044 f) Requiring indemnification of licensors and authors of that
13045 material by anyone who conveys the material (or modified versions of
13046 it) with contractual assumptions of liability to the recipient, for
13047 any liability that these contractual assumptions directly impose on
13048 those licensors and authors.
13049
13050 All other non-permissive additional terms are considered "further
13051restrictions" within the meaning of section 10. If the Program as you
13052received it, or any part of it, contains a notice stating that it is
13053governed by this License along with a term that is a further
13054restriction, you may remove that term. If a license document contains
13055a further restriction but permits relicensing or conveying under this
13056License, you may add to a covered work material governed by the terms
13057of that license document, provided that the further restriction does
13058not survive such relicensing or conveying.
13059
13060 If you add terms to a covered work in accord with this section, you
13061must place, in the relevant source files, a statement of the
13062additional terms that apply to those files, or a notice indicating
13063where to find the applicable terms.
13064
13065 Additional terms, permissive or non-permissive, may be stated in the
13066form of a separately written license, or stated as exceptions;
13067the above requirements apply either way.
13068
13069 8. Termination.
13070
13071 You may not propagate or modify a covered work except as expressly
13072provided under this License. Any attempt otherwise to propagate or
13073modify it is void, and will automatically terminate your rights under
13074this License (including any patent licenses granted under the third
13075paragraph of section 11).
13076
13077 However, if you cease all violation of this License, then your
13078license from a particular copyright holder is reinstated (a)
13079provisionally, unless and until the copyright holder explicitly and
13080finally terminates your license, and (b) permanently, if the copyright
13081holder fails to notify you of the violation by some reasonable means
13082prior to 60 days after the cessation.
13083
13084 Moreover, your license from a particular copyright holder is
13085reinstated permanently if the copyright holder notifies you of the
13086violation by some reasonable means, this is the first time you have
13087received notice of violation of this License (for any work) from that
13088copyright holder, and you cure the violation prior to 30 days after
13089your receipt of the notice.
13090
13091 Termination of your rights under this section does not terminate the
13092licenses of parties who have received copies or rights from you under
13093this License. If your rights have been terminated and not permanently
13094reinstated, you do not qualify to receive new licenses for the same
13095material under section 10.
13096
13097 9. Acceptance Not Required for Having Copies.
13098
13099 You are not required to accept this License in order to receive or
13100run a copy of the Program. Ancillary propagation of a covered work
13101occurring solely as a consequence of using peer-to-peer transmission
13102to receive a copy likewise does not require acceptance. However,
13103nothing other than this License grants you permission to propagate or
13104modify any covered work. These actions infringe copyright if you do
13105not accept this License. Therefore, by modifying or propagating a
13106covered work, you indicate your acceptance of this License to do so.
13107
13108 10. Automatic Licensing of Downstream Recipients.
13109
13110 Each time you convey a covered work, the recipient automatically
13111receives a license from the original licensors, to run, modify and
13112propagate that work, subject to this License. You are not responsible
13113for enforcing compliance by third parties with this License.
13114
13115 An "entity transaction" is a transaction transferring control of an
13116organization, or substantially all assets of one, or subdividing an
13117organization, or merging organizations. If propagation of a covered
13118work results from an entity transaction, each party to that
13119transaction who receives a copy of the work also receives whatever
13120licenses to the work the party's predecessor in interest had or could
13121give under the previous paragraph, plus a right to possession of the
13122Corresponding Source of the work from the predecessor in interest, if
13123the predecessor has it or can get it with reasonable efforts.
13124
13125 You may not impose any further restrictions on the exercise of the
13126rights granted or affirmed under this License. For example, you may
13127not impose a license fee, royalty, or other charge for exercise of
13128rights granted under this License, and you may not initiate litigation
13129(including a cross-claim or counterclaim in a lawsuit) alleging that
13130any patent claim is infringed by making, using, selling, offering for
13131sale, or importing the Program or any portion of it.
13132
13133 11. Patents.
13134
13135 A "contributor" is a copyright holder who authorizes use under this
13136License of the Program or a work on which the Program is based. The
13137work thus licensed is called the contributor's "contributor version".
13138
13139 A contributor's "essential patent claims" are all patent claims
13140owned or controlled by the contributor, whether already acquired or
13141hereafter acquired, that would be infringed by some manner, permitted
13142by this License, of making, using, or selling its contributor version,
13143but do not include claims that would be infringed only as a
13144consequence of further modification of the contributor version. For
13145purposes of this definition, "control" includes the right to grant
13146patent sublicenses in a manner consistent with the requirements of
13147this License.
13148
13149 Each contributor grants you a non-exclusive, worldwide, royalty-free
13150patent license under the contributor's essential patent claims, to
13151make, use, sell, offer for sale, import and otherwise run, modify and
13152propagate the contents of its contributor version.
13153
13154 In the following three paragraphs, a "patent license" is any express
13155agreement or commitment, however denominated, not to enforce a patent
13156(such as an express permission to practice a patent or covenant not to
13157sue for patent infringement). To "grant" such a patent license to a
13158party means to make such an agreement or commitment not to enforce a
13159patent against the party.
13160
13161 If you convey a covered work, knowingly relying on a patent license,
13162and the Corresponding Source of the work is not available for anyone
13163to copy, free of charge and under the terms of this License, through a
13164publicly available network server or other readily accessible means,
13165then you must either (1) cause the Corresponding Source to be so
13166available, or (2) arrange to deprive yourself of the benefit of the
13167patent license for this particular work, or (3) arrange, in a manner
13168consistent with the requirements of this License, to extend the patent
13169license to downstream recipients. "Knowingly relying" means you have
13170actual knowledge that, but for the patent license, your conveying the
13171covered work in a country, or your recipient's use of the covered work
13172in a country, would infringe one or more identifiable patents in that
13173country that you have reason to believe are valid.
13174
13175 If, pursuant to or in connection with a single transaction or
13176arrangement, you convey, or propagate by procuring conveyance of, a
13177covered work, and grant a patent license to some of the parties
13178receiving the covered work authorizing them to use, propagate, modify
13179or convey a specific copy of the covered work, then the patent license
13180you grant is automatically extended to all recipients of the covered
13181work and works based on it.
13182
13183 A patent license is "discriminatory" if it does not include within
13184the scope of its coverage, prohibits the exercise of, or is
13185conditioned on the non-exercise of one or more of the rights that are
13186specifically granted under this License. You may not convey a covered
13187work if you are a party to an arrangement with a third party that is
13188in the business of distributing software, under which you make payment
13189to the third party based on the extent of your activity of conveying
13190the work, and under which the third party grants, to any of the
13191parties who would receive the covered work from you, a discriminatory
13192patent license (a) in connection with copies of the covered work
13193conveyed by you (or copies made from those copies), or (b) primarily
13194for and in connection with specific products or compilations that
13195contain the covered work, unless you entered into that arrangement,
13196or that patent license was granted, prior to 28 March 2007.
13197
13198 Nothing in this License shall be construed as excluding or limiting
13199any implied license or other defenses to infringement that may
13200otherwise be available to you under applicable patent law.
13201
13202 12. No Surrender of Others' Freedom.
13203
13204 If conditions are imposed on you (whether by court order, agreement or
13205otherwise) that contradict the conditions of this License, they do not
13206excuse you from the conditions of this License. If you cannot convey a
13207covered work so as to satisfy simultaneously your obligations under this
13208License and any other pertinent obligations, then as a consequence you may
13209not convey it at all. For example, if you agree to terms that obligate you
13210to collect a royalty for further conveying from those to whom you convey
13211the Program, the only way you could satisfy both those terms and this
13212License would be to refrain entirely from conveying the Program.
13213
13214 13. Use with the GNU Affero General Public License.
13215
13216 Notwithstanding any other provision of this License, you have
13217permission to link or combine any covered work with a work licensed
13218under version 3 of the GNU Affero General Public License into a single
13219combined work, and to convey the resulting work. The terms of this
13220License will continue to apply to the part which is the covered work,
13221but the special requirements of the GNU Affero General Public License,
13222section 13, concerning interaction through a network will apply to the
13223combination as such.
13224
13225 14. Revised Versions of this License.
13226
13227 The Free Software Foundation may publish revised and/or new versions of
13228the GNU General Public License from time to time. Such new versions will
13229be similar in spirit to the present version, but may differ in detail to
13230address new problems or concerns.
13231
13232 Each version is given a distinguishing version number. If the
13233Program specifies that a certain numbered version of the GNU General
13234Public License "or any later version" applies to it, you have the
13235option of following the terms and conditions either of that numbered
13236version or of any later version published by the Free Software
13237Foundation. If the Program does not specify a version number of the
13238GNU General Public License, you may choose any version ever published
13239by the Free Software Foundation.
13240
13241 If the Program specifies that a proxy can decide which future
13242versions of the GNU General Public License can be used, that proxy's
13243public statement of acceptance of a version permanently authorizes you
13244to choose that version for the Program.
13245
13246 Later license versions may give you additional or different
13247permissions. However, no additional obligations are imposed on any
13248author or copyright holder as a result of your choosing to follow a
13249later version.
13250
13251 15. Disclaimer of Warranty.
13252
13253 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
13254APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
13255HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
13256OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
13257THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13258PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
13259IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
13260ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
13261
13262 16. Limitation of Liability.
13263
13264 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
13265WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
13266THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
13267GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
13268USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
13269DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
13270PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
13271EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
13272SUCH DAMAGES.
13273
13274 17. Interpretation of Sections 15 and 16.
13275
13276 If the disclaimer of warranty and limitation of liability provided
13277above cannot be given local legal effect according to their terms,
13278reviewing courts shall apply local law that most closely approximates
13279an absolute waiver of all civil liability in connection with the
13280Program, unless a warranty or assumption of liability accompanies a
13281copy of the Program in return for a fee.
13282
13283 END OF TERMS AND CONDITIONS
13284
13285 How to Apply These Terms to Your New Programs
13286
13287 If you develop a new program, and you want it to be of the greatest
13288possible use to the public, the best way to achieve this is to make it
13289free software which everyone can redistribute and change under these terms.
13290
13291 To do so, attach the following notices to the program. It is safest
13292to attach them to the start of each source file to most effectively
13293state the exclusion of warranty; and each file should have at least
13294the "copyright" line and a pointer to where the full notice is found.
13295
13296 <one line to give the program's name and a brief idea of what it does.>
13297 Copyright (C) <year> <name of author>
13298
13299 This program is free software: you can redistribute it and/or modify
13300 it under the terms of the GNU General Public License as published by
13301 the Free Software Foundation, either version 3 of the License, or
13302 (at your option) any later version.
13303
13304 This program is distributed in the hope that it will be useful,
13305 but WITHOUT ANY WARRANTY; without even the implied warranty of
13306 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13307 GNU General Public License for more details.
13308
13309 You should have received a copy of the GNU General Public License
13310 along with this program. If not, see <http://www.gnu.org/licenses/>.
13311
13312Also add information on how to contact you by electronic and paper mail.
13313
13314 If the program does terminal interaction, make it output a short
13315notice like this when it starts in an interactive mode:
13316
13317 <program> Copyright (C) <year> <name of author>
13318 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
13319 This is free software, and you are welcome to redistribute it
13320 under certain conditions; type `show c' for details.
13321
13322The hypothetical commands `show w' and `show c' should show the appropriate
13323parts of the General Public License. Of course, your program's commands
13324might be different; for a GUI interface, you would use an "about box".
13325
13326 You should also get your employer (if you work as a programmer) or school,
13327if any, to sign a "copyright disclaimer" for the program, if necessary.
13328For more information on this, and how to apply and follow the GNU GPL, see
13329<http://www.gnu.org/licenses/>.
13330
13331 The GNU General Public License does not permit incorporating your program
13332into proprietary programs. If your program is a subroutine library, you
13333may consider it more useful to permit linking proprietary applications with
13334the library. If this is what you want to do, use the GNU Lesser General
13335Public License instead of this License. But first, please read
13336<http://www.gnu.org/philosophy/why-not-lgpl.html>.
13337 GNU LESSER GENERAL PUBLIC LICENSE
13338 Version 3, 29 June 2007
13339
13340 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
13341 Everyone is permitted to copy and distribute verbatim copies
13342 of this license document, but changing it is not allowed.
13343
13344
13345 This version of the GNU Lesser General Public License incorporates
13346the terms and conditions of version 3 of the GNU General Public
13347License, supplemented by the additional permissions listed below.
13348
13349 0. Additional Definitions.
13350
13351 As used herein, "this License" refers to version 3 of the GNU Lesser
13352General Public License, and the "GNU GPL" refers to version 3 of the GNU
13353General Public License.
13354
13355 "The Library" refers to a covered work governed by this License,
13356other than an Application or a Combined Work as defined below.
13357
13358 An "Application" is any work that makes use of an interface provided
13359by the Library, but which is not otherwise based on the Library.
13360Defining a subclass of a class defined by the Library is deemed a mode
13361of using an interface provided by the Library.
13362
13363 A "Combined Work" is a work produced by combining or linking an
13364Application with the Library. The particular version of the Library
13365with which the Combined Work was made is also called the "Linked
13366Version".
13367
13368 The "Minimal Corresponding Source" for a Combined Work means the
13369Corresponding Source for the Combined Work, excluding any source code
13370for portions of the Combined Work that, considered in isolation, are
13371based on the Application, and not on the Linked Version.
13372
13373 The "Corresponding Application Code" for a Combined Work means the
13374object code and/or source code for the Application, including any data
13375and utility programs needed for reproducing the Combined Work from the
13376Application, but excluding the System Libraries of the Combined Work.
13377
13378 1. Exception to Section 3 of the GNU GPL.
13379
13380 You may convey a covered work under sections 3 and 4 of this License
13381without being bound by section 3 of the GNU GPL.
13382
13383 2. Conveying Modified Versions.
13384
13385 If you modify a copy of the Library, and, in your modifications, a
13386facility refers to a function or data to be supplied by an Application
13387that uses the facility (other than as an argument passed when the
13388facility is invoked), then you may convey a copy of the modified
13389version:
13390
13391 a) under this License, provided that you make a good faith effort to
13392 ensure that, in the event an Application does not supply the
13393 function or data, the facility still operates, and performs
13394 whatever part of its purpose remains meaningful, or
13395
13396 b) under the GNU GPL, with none of the additional permissions of
13397 this License applicable to that copy.
13398
13399 3. Object Code Incorporating Material from Library Header Files.
13400
13401 The object code form of an Application may incorporate material from
13402a header file that is part of the Library. You may convey such object
13403code under terms of your choice, provided that, if the incorporated
13404material is not limited to numerical parameters, data structure
13405layouts and accessors, or small macros, inline functions and templates
13406(ten or fewer lines in length), you do both of the following:
13407
13408 a) Give prominent notice with each copy of the object code that the
13409 Library is used in it and that the Library and its use are
13410 covered by this License.
13411
13412 b) Accompany the object code with a copy of the GNU GPL and this license
13413 document.
13414
13415 4. Combined Works.
13416
13417 You may convey a Combined Work under terms of your choice that,
13418taken together, effectively do not restrict modification of the
13419portions of the Library contained in the Combined Work and reverse
13420engineering for debugging such modifications, if you also do each of
13421the following:
13422
13423 a) Give prominent notice with each copy of the Combined Work that
13424 the Library is used in it and that the Library and its use are
13425 covered by this License.
13426
13427 b) Accompany the Combined Work with a copy of the GNU GPL and this license
13428 document.
13429
13430 c) For a Combined Work that displays copyright notices during
13431 execution, include the copyright notice for the Library among
13432 these notices, as well as a reference directing the user to the
13433 copies of the GNU GPL and this license document.
13434
13435 d) Do one of the following:
13436
13437 0) Convey the Minimal Corresponding Source under the terms of this
13438 License, and the Corresponding Application Code in a form
13439 suitable for, and under terms that permit, the user to
13440 recombine or relink the Application with a modified version of
13441 the Linked Version to produce a modified Combined Work, in the
13442 manner specified by section 6 of the GNU GPL for conveying
13443 Corresponding Source.
13444
13445 1) Use a suitable shared library mechanism for linking with the
13446 Library. A suitable mechanism is one that (a) uses at run time
13447 a copy of the Library already present on the user's computer
13448 system, and (b) will operate properly with a modified version
13449 of the Library that is interface-compatible with the Linked
13450 Version.
13451
13452 e) Provide Installation Information, but only if you would otherwise
13453 be required to provide such information under section 6 of the
13454 GNU GPL, and only to the extent that such information is
13455 necessary to install and execute a modified version of the
13456 Combined Work produced by recombining or relinking the
13457 Application with a modified version of the Linked Version. (If
13458 you use option 4d0, the Installation Information must accompany
13459 the Minimal Corresponding Source and Corresponding Application
13460 Code. If you use option 4d1, you must provide the Installation
13461 Information in the manner specified by section 6 of the GNU GPL
13462 for conveying Corresponding Source.)
13463
13464 5. Combined Libraries.
13465
13466 You may place library facilities that are a work based on the
13467Library side by side in a single library together with other library
13468facilities that are not Applications and are not covered by this
13469License, and convey such a combined library under terms of your
13470choice, if you do both of the following:
13471
13472 a) Accompany the combined library with a copy of the same work based
13473 on the Library, uncombined with any other library facilities,
13474 conveyed under the terms of this License.
13475
13476 b) Give prominent notice with the combined library that part of it
13477 is a work based on the Library, and explaining where to find the
13478 accompanying uncombined form of the same work.
13479
13480 6. Revised Versions of the GNU Lesser General Public License.
13481
13482 The Free Software Foundation may publish revised and/or new versions
13483of the GNU Lesser General Public License from time to time. Such new
13484versions will be similar in spirit to the present version, but may
13485differ in detail to address new problems or concerns.
13486
13487 Each version is given a distinguishing version number. If the
13488Library as you received it specifies that a certain numbered version
13489of the GNU Lesser General Public License "or any later version"
13490applies to it, you have the option of following the terms and
13491conditions either of that published version or of any later version
13492published by the Free Software Foundation. If the Library as you
13493received it does not specify a version number of the GNU Lesser
13494General Public License, you may choose any version of the GNU Lesser
13495General Public License ever published by the Free Software Foundation.
13496
13497 If the Library as you received it specifies that a proxy can decide
13498whether future versions of the GNU Lesser General Public License shall
13499apply, that proxy's public statement of acceptance of any version is
13500permanent authorization for you to choose that version for the
13501Library.
13502 GNU GENERAL PUBLIC LICENSE
13503 Version 3, 29 June 2007
13504
13505 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
13506 Everyone is permitted to copy and distribute verbatim copies
13507 of this license document, but changing it is not allowed.
13508
13509 Preamble
13510
13511 The GNU General Public License is a free, copyleft license for
13512software and other kinds of works.
13513
13514 The licenses for most software and other practical works are designed
13515to take away your freedom to share and change the works. By contrast,
13516the GNU General Public License is intended to guarantee your freedom to
13517share and change all versions of a program--to make sure it remains free
13518software for all its users. We, the Free Software Foundation, use the
13519GNU General Public License for most of our software; it applies also to
13520any other work released this way by its authors. You can apply it to
13521your programs, too.
13522
13523 When we speak of free software, we are referring to freedom, not
13524price. Our General Public Licenses are designed to make sure that you
13525have the freedom to distribute copies of free software (and charge for
13526them if you wish), that you receive source code or can get it if you
13527want it, that you can change the software or use pieces of it in new
13528free programs, and that you know you can do these things.
13529
13530 To protect your rights, we need to prevent others from denying you
13531these rights or asking you to surrender the rights. Therefore, you have
13532certain responsibilities if you distribute copies of the software, or if
13533you modify it: responsibilities to respect the freedom of others.
13534
13535 For example, if you distribute copies of such a program, whether
13536gratis or for a fee, you must pass on to the recipients the same
13537freedoms that you received. You must make sure that they, too, receive
13538or can get the source code. And you must show them these terms so they
13539know their rights.
13540
13541 Developers that use the GNU GPL protect your rights with two steps:
13542(1) assert copyright on the software, and (2) offer you this License
13543giving you legal permission to copy, distribute and/or modify it.
13544
13545 For the developers' and authors' protection, the GPL clearly explains
13546that there is no warranty for this free software. For both users' and
13547authors' sake, the GPL requires that modified versions be marked as
13548changed, so that their problems will not be attributed erroneously to
13549authors of previous versions.
13550
13551 Some devices are designed to deny users access to install or run
13552modified versions of the software inside them, although the manufacturer
13553can do so. This is fundamentally incompatible with the aim of
13554protecting users' freedom to change the software. The systematic
13555pattern of such abuse occurs in the area of products for individuals to
13556use, which is precisely where it is most unacceptable. Therefore, we
13557have designed this version of the GPL to prohibit the practice for those
13558products. If such problems arise substantially in other domains, we
13559stand ready to extend this provision to those domains in future versions
13560of the GPL, as needed to protect the freedom of users.
13561
13562 Finally, every program is threatened constantly by software patents.
13563States should not allow patents to restrict development and use of
13564software on general-purpose computers, but in those that do, we wish to
13565avoid the special danger that patents applied to a free program could
13566make it effectively proprietary. To prevent this, the GPL assures that
13567patents cannot be used to render the program non-free.
13568
13569 The precise terms and conditions for copying, distribution and
13570modification follow.
13571
13572 TERMS AND CONDITIONS
13573
13574 0. Definitions.
13575
13576 "This License" refers to version 3 of the GNU General Public License.
13577
13578 "Copyright" also means copyright-like laws that apply to other kinds of
13579works, such as semiconductor masks.
13580
13581 "The Program" refers to any copyrightable work licensed under this
13582License. Each licensee is addressed as "you". "Licensees" and
13583"recipients" may be individuals or organizations.
13584
13585 To "modify" a work means to copy from or adapt all or part of the work
13586in a fashion requiring copyright permission, other than the making of an
13587exact copy. The resulting work is called a "modified version" of the
13588earlier work or a work "based on" the earlier work.
13589
13590 A "covered work" means either the unmodified Program or a work based
13591on the Program.
13592
13593 To "propagate" a work means to do anything with it that, without
13594permission, would make you directly or secondarily liable for
13595infringement under applicable copyright law, except executing it on a
13596computer or modifying a private copy. Propagation includes copying,
13597distribution (with or without modification), making available to the
13598public, and in some countries other activities as well.
13599
13600 To "convey" a work means any kind of propagation that enables other
13601parties to make or receive copies. Mere interaction with a user through
13602a computer network, with no transfer of a copy, is not conveying.
13603
13604 An interactive user interface displays "Appropriate Legal Notices"
13605to the extent that it includes a convenient and prominently visible
13606feature that (1) displays an appropriate copyright notice, and (2)
13607tells the user that there is no warranty for the work (except to the
13608extent that warranties are provided), that licensees may convey the
13609work under this License, and how to view a copy of this License. If
13610the interface presents a list of user commands or options, such as a
13611menu, a prominent item in the list meets this criterion.
13612
13613 1. Source Code.
13614
13615 The "source code" for a work means the preferred form of the work
13616for making modifications to it. "Object code" means any non-source
13617form of a work.
13618
13619 A "Standard Interface" means an interface that either is an official
13620standard defined by a recognized standards body, or, in the case of
13621interfaces specified for a particular programming language, one that
13622is widely used among developers working in that language.
13623
13624 The "System Libraries" of an executable work include anything, other
13625than the work as a whole, that (a) is included in the normal form of
13626packaging a Major Component, but which is not part of that Major
13627Component, and (b) serves only to enable use of the work with that
13628Major Component, or to implement a Standard Interface for which an
13629implementation is available to the public in source code form. A
13630"Major Component", in this context, means a major essential component
13631(kernel, window system, and so on) of the specific operating system
13632(if any) on which the executable work runs, or a compiler used to
13633produce the work, or an object code interpreter used to run it.
13634
13635 The "Corresponding Source" for a work in object code form means all
13636the source code needed to generate, install, and (for an executable
13637work) run the object code and to modify the work, including scripts to
13638control those activities. However, it does not include the work's
13639System Libraries, or general-purpose tools or generally available free
13640programs which are used unmodified in performing those activities but
13641which are not part of the work. For example, Corresponding Source
13642includes interface definition files associated with source files for
13643the work, and the source code for shared libraries and dynamically
13644linked subprograms that the work is specifically designed to require,
13645such as by intimate data communication or control flow between those
13646subprograms and other parts of the work.
13647
13648 The Corresponding Source need not include anything that users
13649can regenerate automatically from other parts of the Corresponding
13650Source.
13651
13652 The Corresponding Source for a work in source code form is that
13653same work.
13654
13655 2. Basic Permissions.
13656
13657 All rights granted under this License are granted for the term of
13658copyright on the Program, and are irrevocable provided the stated
13659conditions are met. This License explicitly affirms your unlimited
13660permission to run the unmodified Program. The output from running a
13661covered work is covered by this License only if the output, given its
13662content, constitutes a covered work. This License acknowledges your
13663rights of fair use or other equivalent, as provided by copyright law.
13664
13665 You may make, run and propagate covered works that you do not
13666convey, without conditions so long as your license otherwise remains
13667in force. You may convey covered works to others for the sole purpose
13668of having them make modifications exclusively for you, or provide you
13669with facilities for running those works, provided that you comply with
13670the terms of this License in conveying all material for which you do
13671not control copyright. Those thus making or running the covered works
13672for you must do so exclusively on your behalf, under your direction
13673and control, on terms that prohibit them from making any copies of
13674your copyrighted material outside their relationship with you.
13675
13676 Conveying under any other circumstances is permitted solely under
13677the conditions stated below. Sublicensing is not allowed; section 10
13678makes it unnecessary.
13679
13680 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
13681
13682 No covered work shall be deemed part of an effective technological
13683measure under any applicable law fulfilling obligations under article
1368411 of the WIPO copyright treaty adopted on 20 December 1996, or
13685similar laws prohibiting or restricting circumvention of such
13686measures.
13687
13688 When you convey a covered work, you waive any legal power to forbid
13689circumvention of technological measures to the extent such circumvention
13690is effected by exercising rights under this License with respect to
13691the covered work, and you disclaim any intention to limit operation or
13692modification of the work as a means of enforcing, against the work's
13693users, your or third parties' legal rights to forbid circumvention of
13694technological measures.
13695
13696 4. Conveying Verbatim Copies.
13697
13698 You may convey verbatim copies of the Program's source code as you
13699receive it, in any medium, provided that you conspicuously and
13700appropriately publish on each copy an appropriate copyright notice;
13701keep intact all notices stating that this License and any
13702non-permissive terms added in accord with section 7 apply to the code;
13703keep intact all notices of the absence of any warranty; and give all
13704recipients a copy of this License along with the Program.
13705
13706 You may charge any price or no price for each copy that you convey,
13707and you may offer support or warranty protection for a fee.
13708
13709 5. Conveying Modified Source Versions.
13710
13711 You may convey a work based on the Program, or the modifications to
13712produce it from the Program, in the form of source code under the
13713terms of section 4, provided that you also meet all of these conditions:
13714
13715 a) The work must carry prominent notices stating that you modified
13716 it, and giving a relevant date.
13717
13718 b) The work must carry prominent notices stating that it is
13719 released under this License and any conditions added under section
13720 7. This requirement modifies the requirement in section 4 to
13721 "keep intact all notices".
13722
13723 c) You must license the entire work, as a whole, under this
13724 License to anyone who comes into possession of a copy. This
13725 License will therefore apply, along with any applicable section 7
13726 additional terms, to the whole of the work, and all its parts,
13727 regardless of how they are packaged. This License gives no
13728 permission to license the work in any other way, but it does not
13729 invalidate such permission if you have separately received it.
13730
13731 d) If the work has interactive user interfaces, each must display
13732 Appropriate Legal Notices; however, if the Program has interactive
13733 interfaces that do not display Appropriate Legal Notices, your
13734 work need not make them do so.
13735
13736 A compilation of a covered work with other separate and independent
13737works, which are not by their nature extensions of the covered work,
13738and which are not combined with it such as to form a larger program,
13739in or on a volume of a storage or distribution medium, is called an
13740"aggregate" if the compilation and its resulting copyright are not
13741used to limit the access or legal rights of the compilation's users
13742beyond what the individual works permit. Inclusion of a covered work
13743in an aggregate does not cause this License to apply to the other
13744parts of the aggregate.
13745
13746 6. Conveying Non-Source Forms.
13747
13748 You may convey a covered work in object code form under the terms
13749of sections 4 and 5, provided that you also convey the
13750machine-readable Corresponding Source under the terms of this License,
13751in one of these ways:
13752
13753 a) Convey the object code in, or embodied in, a physical product
13754 (including a physical distribution medium), accompanied by the
13755 Corresponding Source fixed on a durable physical medium
13756 customarily used for software interchange.
13757
13758 b) Convey the object code in, or embodied in, a physical product
13759 (including a physical distribution medium), accompanied by a
13760 written offer, valid for at least three years and valid for as
13761 long as you offer spare parts or customer support for that product
13762 model, to give anyone who possesses the object code either (1) a
13763 copy of the Corresponding Source for all the software in the
13764 product that is covered by this License, on a durable physical
13765 medium customarily used for software interchange, for a price no
13766 more than your reasonable cost of physically performing this
13767 conveying of source, or (2) access to copy the
13768 Corresponding Source from a network server at no charge.
13769
13770 c) Convey individual copies of the object code with a copy of the
13771 written offer to provide the Corresponding Source. This
13772 alternative is allowed only occasionally and noncommercially, and
13773 only if you received the object code with such an offer, in accord
13774 with subsection 6b.
13775
13776 d) Convey the object code by offering access from a designated
13777 place (gratis or for a charge), and offer equivalent access to the
13778 Corresponding Source in the same way through the same place at no
13779 further charge. You need not require recipients to copy the
13780 Corresponding Source along with the object code. If the place to
13781 copy the object code is a network server, the Corresponding Source
13782 may be on a different server (operated by you or a third party)
13783 that supports equivalent copying facilities, provided you maintain
13784 clear directions next to the object code saying where to find the
13785 Corresponding Source. Regardless of what server hosts the
13786 Corresponding Source, you remain obligated to ensure that it is
13787 available for as long as needed to satisfy these requirements.
13788
13789 e) Convey the object code using peer-to-peer transmission, provided
13790 you inform other peers where the object code and Corresponding
13791 Source of the work are being offered to the general public at no
13792 charge under subsection 6d.
13793
13794 A separable portion of the object code, whose source code is excluded
13795from the Corresponding Source as a System Library, need not be
13796included in conveying the object code work.
13797
13798 A "User Product" is either (1) a "consumer product", which means any
13799tangible personal property which is normally used for personal, family,
13800or household purposes, or (2) anything designed or sold for incorporation
13801into a dwelling. In determining whether a product is a consumer product,
13802doubtful cases shall be resolved in favor of coverage. For a particular
13803product received by a particular user, "normally used" refers to a
13804typical or common use of that class of product, regardless of the status
13805of the particular user or of the way in which the particular user
13806actually uses, or expects or is expected to use, the product. A product
13807is a consumer product regardless of whether the product has substantial
13808commercial, industrial or non-consumer uses, unless such uses represent
13809the only significant mode of use of the product.
13810
13811 "Installation Information" for a User Product means any methods,
13812procedures, authorization keys, or other information required to install
13813and execute modified versions of a covered work in that User Product from
13814a modified version of its Corresponding Source. The information must
13815suffice to ensure that the continued functioning of the modified object
13816code is in no case prevented or interfered with solely because
13817modification has been made.
13818
13819 If you convey an object code work under this section in, or with, or
13820specifically for use in, a User Product, and the conveying occurs as
13821part of a transaction in which the right of possession and use of the
13822User Product is transferred to the recipient in perpetuity or for a
13823fixed term (regardless of how the transaction is characterized), the
13824Corresponding Source conveyed under this section must be accompanied
13825by the Installation Information. But this requirement does not apply
13826if neither you nor any third party retains the ability to install
13827modified object code on the User Product (for example, the work has
13828been installed in ROM).
13829
13830 The requirement to provide Installation Information does not include a
13831requirement to continue to provide support service, warranty, or updates
13832for a work that has been modified or installed by the recipient, or for
13833the User Product in which it has been modified or installed. Access to a
13834network may be denied when the modification itself materially and
13835adversely affects the operation of the network or violates the rules and
13836protocols for communication across the network.
13837
13838 Corresponding Source conveyed, and Installation Information provided,
13839in accord with this section must be in a format that is publicly
13840documented (and with an implementation available to the public in
13841source code form), and must require no special password or key for
13842unpacking, reading or copying.
13843
13844 7. Additional Terms.
13845
13846 "Additional permissions" are terms that supplement the terms of this
13847License by making exceptions from one or more of its conditions.
13848Additional permissions that are applicable to the entire Program shall
13849be treated as though they were included in this License, to the extent
13850that they are valid under applicable law. If additional permissions
13851apply only to part of the Program, that part may be used separately
13852under those permissions, but the entire Program remains governed by
13853this License without regard to the additional permissions.
13854
13855 When you convey a copy of a covered work, you may at your option
13856remove any additional permissions from that copy, or from any part of
13857it. (Additional permissions may be written to require their own
13858removal in certain cases when you modify the work.) You may place
13859additional permissions on material, added by you to a covered work,
13860for which you have or can give appropriate copyright permission.
13861
13862 Notwithstanding any other provision of this License, for material you
13863add to a covered work, you may (if authorized by the copyright holders of
13864that material) supplement the terms of this License with terms:
13865
13866 a) Disclaiming warranty or limiting liability differently from the
13867 terms of sections 15 and 16 of this License; or
13868
13869 b) Requiring preservation of specified reasonable legal notices or
13870 author attributions in that material or in the Appropriate Legal
13871 Notices displayed by works containing it; or
13872
13873 c) Prohibiting misrepresentation of the origin of that material, or
13874 requiring that modified versions of such material be marked in
13875 reasonable ways as different from the original version; or
13876
13877 d) Limiting the use for publicity purposes of names of licensors or
13878 authors of the material; or
13879
13880 e) Declining to grant rights under trademark law for use of some
13881 trade names, trademarks, or service marks; or
13882
13883 f) Requiring indemnification of licensors and authors of that
13884 material by anyone who conveys the material (or modified versions of
13885 it) with contractual assumptions of liability to the recipient, for
13886 any liability that these contractual assumptions directly impose on
13887 those licensors and authors.
13888
13889 All other non-permissive additional terms are considered "further
13890restrictions" within the meaning of section 10. If the Program as you
13891received it, or any part of it, contains a notice stating that it is
13892governed by this License along with a term that is a further
13893restriction, you may remove that term. If a license document contains
13894a further restriction but permits relicensing or conveying under this
13895License, you may add to a covered work material governed by the terms
13896of that license document, provided that the further restriction does
13897not survive such relicensing or conveying.
13898
13899 If you add terms to a covered work in accord with this section, you
13900must place, in the relevant source files, a statement of the
13901additional terms that apply to those files, or a notice indicating
13902where to find the applicable terms.
13903
13904 Additional terms, permissive or non-permissive, may be stated in the
13905form of a separately written license, or stated as exceptions;
13906the above requirements apply either way.
13907
13908 8. Termination.
13909
13910 You may not propagate or modify a covered work except as expressly
13911provided under this License. Any attempt otherwise to propagate or
13912modify it is void, and will automatically terminate your rights under
13913this License (including any patent licenses granted under the third
13914paragraph of section 11).
13915
13916 However, if you cease all violation of this License, then your
13917license from a particular copyright holder is reinstated (a)
13918provisionally, unless and until the copyright holder explicitly and
13919finally terminates your license, and (b) permanently, if the copyright
13920holder fails to notify you of the violation by some reasonable means
13921prior to 60 days after the cessation.
13922
13923 Moreover, your license from a particular copyright holder is
13924reinstated permanently if the copyright holder notifies you of the
13925violation by some reasonable means, this is the first time you have
13926received notice of violation of this License (for any work) from that
13927copyright holder, and you cure the violation prior to 30 days after
13928your receipt of the notice.
13929
13930 Termination of your rights under this section does not terminate the
13931licenses of parties who have received copies or rights from you under
13932this License. If your rights have been terminated and not permanently
13933reinstated, you do not qualify to receive new licenses for the same
13934material under section 10.
13935
13936 9. Acceptance Not Required for Having Copies.
13937
13938 You are not required to accept this License in order to receive or
13939run a copy of the Program. Ancillary propagation of a covered work
13940occurring solely as a consequence of using peer-to-peer transmission
13941to receive a copy likewise does not require acceptance. However,
13942nothing other than this License grants you permission to propagate or
13943modify any covered work. These actions infringe copyright if you do
13944not accept this License. Therefore, by modifying or propagating a
13945covered work, you indicate your acceptance of this License to do so.
13946
13947 10. Automatic Licensing of Downstream Recipients.
13948
13949 Each time you convey a covered work, the recipient automatically
13950receives a license from the original licensors, to run, modify and
13951propagate that work, subject to this License. You are not responsible
13952for enforcing compliance by third parties with this License.
13953
13954 An "entity transaction" is a transaction transferring control of an
13955organization, or substantially all assets of one, or subdividing an
13956organization, or merging organizations. If propagation of a covered
13957work results from an entity transaction, each party to that
13958transaction who receives a copy of the work also receives whatever
13959licenses to the work the party's predecessor in interest had or could
13960give under the previous paragraph, plus a right to possession of the
13961Corresponding Source of the work from the predecessor in interest, if
13962the predecessor has it or can get it with reasonable efforts.
13963
13964 You may not impose any further restrictions on the exercise of the
13965rights granted or affirmed under this License. For example, you may
13966not impose a license fee, royalty, or other charge for exercise of
13967rights granted under this License, and you may not initiate litigation
13968(including a cross-claim or counterclaim in a lawsuit) alleging that
13969any patent claim is infringed by making, using, selling, offering for
13970sale, or importing the Program or any portion of it.
13971
13972 11. Patents.
13973
13974 A "contributor" is a copyright holder who authorizes use under this
13975License of the Program or a work on which the Program is based. The
13976work thus licensed is called the contributor's "contributor version".
13977
13978 A contributor's "essential patent claims" are all patent claims
13979owned or controlled by the contributor, whether already acquired or
13980hereafter acquired, that would be infringed by some manner, permitted
13981by this License, of making, using, or selling its contributor version,
13982but do not include claims that would be infringed only as a
13983consequence of further modification of the contributor version. For
13984purposes of this definition, "control" includes the right to grant
13985patent sublicenses in a manner consistent with the requirements of
13986this License.
13987
13988 Each contributor grants you a non-exclusive, worldwide, royalty-free
13989patent license under the contributor's essential patent claims, to
13990make, use, sell, offer for sale, import and otherwise run, modify and
13991propagate the contents of its contributor version.
13992
13993 In the following three paragraphs, a "patent license" is any express
13994agreement or commitment, however denominated, not to enforce a patent
13995(such as an express permission to practice a patent or covenant not to
13996sue for patent infringement). To "grant" such a patent license to a
13997party means to make such an agreement or commitment not to enforce a
13998patent against the party.
13999
14000 If you convey a covered work, knowingly relying on a patent license,
14001and the Corresponding Source of the work is not available for anyone
14002to copy, free of charge and under the terms of this License, through a
14003publicly available network server or other readily accessible means,
14004then you must either (1) cause the Corresponding Source to be so
14005available, or (2) arrange to deprive yourself of the benefit of the
14006patent license for this particular work, or (3) arrange, in a manner
14007consistent with the requirements of this License, to extend the patent
14008license to downstream recipients. "Knowingly relying" means you have
14009actual knowledge that, but for the patent license, your conveying the
14010covered work in a country, or your recipient's use of the covered work
14011in a country, would infringe one or more identifiable patents in that
14012country that you have reason to believe are valid.
14013
14014 If, pursuant to or in connection with a single transaction or
14015arrangement, you convey, or propagate by procuring conveyance of, a
14016covered work, and grant a patent license to some of the parties
14017receiving the covered work authorizing them to use, propagate, modify
14018or convey a specific copy of the covered work, then the patent license
14019you grant is automatically extended to all recipients of the covered
14020work and works based on it.
14021
14022 A patent license is "discriminatory" if it does not include within
14023the scope of its coverage, prohibits the exercise of, or is
14024conditioned on the non-exercise of one or more of the rights that are
14025specifically granted under this License. You may not convey a covered
14026work if you are a party to an arrangement with a third party that is
14027in the business of distributing software, under which you make payment
14028to the third party based on the extent of your activity of conveying
14029the work, and under which the third party grants, to any of the
14030parties who would receive the covered work from you, a discriminatory
14031patent license (a) in connection with copies of the covered work
14032conveyed by you (or copies made from those copies), or (b) primarily
14033for and in connection with specific products or compilations that
14034contain the covered work, unless you entered into that arrangement,
14035or that patent license was granted, prior to 28 March 2007.
14036
14037 Nothing in this License shall be construed as excluding or limiting
14038any implied license or other defenses to infringement that may
14039otherwise be available to you under applicable patent law.
14040
14041 12. No Surrender of Others' Freedom.
14042
14043 If conditions are imposed on you (whether by court order, agreement or
14044otherwise) that contradict the conditions of this License, they do not
14045excuse you from the conditions of this License. If you cannot convey a
14046covered work so as to satisfy simultaneously your obligations under this
14047License and any other pertinent obligations, then as a consequence you may
14048not convey it at all. For example, if you agree to terms that obligate you
14049to collect a royalty for further conveying from those to whom you convey
14050the Program, the only way you could satisfy both those terms and this
14051License would be to refrain entirely from conveying the Program.
14052
14053 13. Use with the GNU Affero General Public License.
14054
14055 Notwithstanding any other provision of this License, you have
14056permission to link or combine any covered work with a work licensed
14057under version 3 of the GNU Affero General Public License into a single
14058combined work, and to convey the resulting work. The terms of this
14059License will continue to apply to the part which is the covered work,
14060but the special requirements of the GNU Affero General Public License,
14061section 13, concerning interaction through a network will apply to the
14062combination as such.
14063
14064 14. Revised Versions of this License.
14065
14066 The Free Software Foundation may publish revised and/or new versions of
14067the GNU General Public License from time to time. Such new versions will
14068be similar in spirit to the present version, but may differ in detail to
14069address new problems or concerns.
14070
14071 Each version is given a distinguishing version number. If the
14072Program specifies that a certain numbered version of the GNU General
14073Public License "or any later version" applies to it, you have the
14074option of following the terms and conditions either of that numbered
14075version or of any later version published by the Free Software
14076Foundation. If the Program does not specify a version number of the
14077GNU General Public License, you may choose any version ever published
14078by the Free Software Foundation.
14079
14080 If the Program specifies that a proxy can decide which future
14081versions of the GNU General Public License can be used, that proxy's
14082public statement of acceptance of a version permanently authorizes you
14083to choose that version for the Program.
14084
14085 Later license versions may give you additional or different
14086permissions. However, no additional obligations are imposed on any
14087author or copyright holder as a result of your choosing to follow a
14088later version.
14089
14090 15. Disclaimer of Warranty.
14091
14092 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
14093APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
14094HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
14095OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
14096THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
14097PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
14098IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
14099ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
14100
14101 16. Limitation of Liability.
14102
14103 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
14104WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
14105THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
14106GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
14107USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
14108DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
14109PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
14110EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
14111SUCH DAMAGES.
14112
14113 17. Interpretation of Sections 15 and 16.
14114
14115 If the disclaimer of warranty and limitation of liability provided
14116above cannot be given local legal effect according to their terms,
14117reviewing courts shall apply local law that most closely approximates
14118an absolute waiver of all civil liability in connection with the
14119Program, unless a warranty or assumption of liability accompanies a
14120copy of the Program in return for a fee.
14121
14122 END OF TERMS AND CONDITIONS
14123
14124 How to Apply These Terms to Your New Programs
14125
14126 If you develop a new program, and you want it to be of the greatest
14127possible use to the public, the best way to achieve this is to make it
14128free software which everyone can redistribute and change under these terms.
14129
14130 To do so, attach the following notices to the program. It is safest
14131to attach them to the start of each source file to most effectively
14132state the exclusion of warranty; and each file should have at least
14133the "copyright" line and a pointer to where the full notice is found.
14134
14135 <one line to give the program's name and a brief idea of what it does.>
14136 Copyright (C) <year> <name of author>
14137
14138 This program is free software: you can redistribute it and/or modify
14139 it under the terms of the GNU General Public License as published by
14140 the Free Software Foundation, either version 3 of the License, or
14141 (at your option) any later version.
14142
14143 This program is distributed in the hope that it will be useful,
14144 but WITHOUT ANY WARRANTY; without even the implied warranty of
14145 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14146 GNU General Public License for more details.
14147
14148 You should have received a copy of the GNU General Public License
14149 along with this program. If not, see <http://www.gnu.org/licenses/>.
14150
14151Also add information on how to contact you by electronic and paper mail.
14152
14153 If the program does terminal interaction, make it output a short
14154notice like this when it starts in an interactive mode:
14155
14156 <program> Copyright (C) <year> <name of author>
14157 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
14158 This is free software, and you are welcome to redistribute it
14159 under certain conditions; type `show c' for details.
14160
14161The hypothetical commands `show w' and `show c' should show the appropriate
14162parts of the General Public License. Of course, your program's commands
14163might be different; for a GUI interface, you would use an "about box".
14164
14165 You should also get your employer (if you work as a programmer) or school,
14166if any, to sign a "copyright disclaimer" for the program, if necessary.
14167For more information on this, and how to apply and follow the GNU GPL, see
14168<http://www.gnu.org/licenses/>.
14169
14170 The GNU General Public License does not permit incorporating your program
14171into proprietary programs. If your program is a subroutine library, you
14172may consider it more useful to permit linking proprietary applications with
14173the library. If this is what you want to do, use the GNU Lesser General
14174Public License instead of this License. But first, please read
14175<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Joshua Lang904c3632017-02-02 12:54:24 -080014176 GNU LESSER GENERAL PUBLIC LICENSE
14177 Version 3, 29 June 2007
14178
14179 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
14180 Everyone is permitted to copy and distribute verbatim copies
14181 of this license document, but changing it is not allowed.
14182
14183
14184 This version of the GNU Lesser General Public License incorporates
14185the terms and conditions of version 3 of the GNU General Public
14186License, supplemented by the additional permissions listed below.
14187
14188 0. Additional Definitions.
14189
14190 As used herein, "this License" refers to version 3 of the GNU Lesser
14191General Public License, and the "GNU GPL" refers to version 3 of the GNU
14192General Public License.
14193
14194 "The Library" refers to a covered work governed by this License,
14195other than an Application or a Combined Work as defined below.
14196
14197 An "Application" is any work that makes use of an interface provided
14198by the Library, but which is not otherwise based on the Library.
14199Defining a subclass of a class defined by the Library is deemed a mode
14200of using an interface provided by the Library.
14201
14202 A "Combined Work" is a work produced by combining or linking an
14203Application with the Library. The particular version of the Library
14204with which the Combined Work was made is also called the "Linked
14205Version".
14206
14207 The "Minimal Corresponding Source" for a Combined Work means the
14208Corresponding Source for the Combined Work, excluding any source code
14209for portions of the Combined Work that, considered in isolation, are
14210based on the Application, and not on the Linked Version.
14211
14212 The "Corresponding Application Code" for a Combined Work means the
14213object code and/or source code for the Application, including any data
14214and utility programs needed for reproducing the Combined Work from the
14215Application, but excluding the System Libraries of the Combined Work.
14216
14217 1. Exception to Section 3 of the GNU GPL.
14218
14219 You may convey a covered work under sections 3 and 4 of this License
14220without being bound by section 3 of the GNU GPL.
14221
14222 2. Conveying Modified Versions.
14223
14224 If you modify a copy of the Library, and, in your modifications, a
14225facility refers to a function or data to be supplied by an Application
14226that uses the facility (other than as an argument passed when the
14227facility is invoked), then you may convey a copy of the modified
14228version:
14229
14230 a) under this License, provided that you make a good faith effort to
14231 ensure that, in the event an Application does not supply the
14232 function or data, the facility still operates, and performs
14233 whatever part of its purpose remains meaningful, or
14234
14235 b) under the GNU GPL, with none of the additional permissions of
14236 this License applicable to that copy.
14237
14238 3. Object Code Incorporating Material from Library Header Files.
14239
14240 The object code form of an Application may incorporate material from
14241a header file that is part of the Library. You may convey such object
14242code under terms of your choice, provided that, if the incorporated
14243material is not limited to numerical parameters, data structure
14244layouts and accessors, or small macros, inline functions and templates
14245(ten or fewer lines in length), you do both of the following:
14246
14247 a) Give prominent notice with each copy of the object code that the
14248 Library is used in it and that the Library and its use are
14249 covered by this License.
14250
14251 b) Accompany the object code with a copy of the GNU GPL and this license
14252 document.
14253
14254 4. Combined Works.
14255
14256 You may convey a Combined Work under terms of your choice that,
14257taken together, effectively do not restrict modification of the
14258portions of the Library contained in the Combined Work and reverse
14259engineering for debugging such modifications, if you also do each of
14260the following:
14261
14262 a) Give prominent notice with each copy of the Combined Work that
14263 the Library is used in it and that the Library and its use are
14264 covered by this License.
14265
14266 b) Accompany the Combined Work with a copy of the GNU GPL and this license
14267 document.
14268
14269 c) For a Combined Work that displays copyright notices during
14270 execution, include the copyright notice for the Library among
14271 these notices, as well as a reference directing the user to the
14272 copies of the GNU GPL and this license document.
14273
14274 d) Do one of the following:
14275
14276 0) Convey the Minimal Corresponding Source under the terms of this
14277 License, and the Corresponding Application Code in a form
14278 suitable for, and under terms that permit, the user to
14279 recombine or relink the Application with a modified version of
14280 the Linked Version to produce a modified Combined Work, in the
14281 manner specified by section 6 of the GNU GPL for conveying
14282 Corresponding Source.
14283
14284 1) Use a suitable shared library mechanism for linking with the
14285 Library. A suitable mechanism is one that (a) uses at run time
14286 a copy of the Library already present on the user's computer
14287 system, and (b) will operate properly with a modified version
14288 of the Library that is interface-compatible with the Linked
14289 Version.
14290
14291 e) Provide Installation Information, but only if you would otherwise
14292 be required to provide such information under section 6 of the
14293 GNU GPL, and only to the extent that such information is
14294 necessary to install and execute a modified version of the
14295 Combined Work produced by recombining or relinking the
14296 Application with a modified version of the Linked Version. (If
14297 you use option 4d0, the Installation Information must accompany
14298 the Minimal Corresponding Source and Corresponding Application
14299 Code. If you use option 4d1, you must provide the Installation
14300 Information in the manner specified by section 6 of the GNU GPL
14301 for conveying Corresponding Source.)
14302
14303 5. Combined Libraries.
14304
14305 You may place library facilities that are a work based on the
14306Library side by side in a single library together with other library
14307facilities that are not Applications and are not covered by this
14308License, and convey such a combined library under terms of your
14309choice, if you do both of the following:
14310
14311 a) Accompany the combined library with a copy of the same work based
14312 on the Library, uncombined with any other library facilities,
14313 conveyed under the terms of this License.
14314
14315 b) Give prominent notice with the combined library that part of it
14316 is a work based on the Library, and explaining where to find the
14317 accompanying uncombined form of the same work.
14318
14319 6. Revised Versions of the GNU Lesser General Public License.
14320
14321 The Free Software Foundation may publish revised and/or new versions
14322of the GNU Lesser General Public License from time to time. Such new
14323versions will be similar in spirit to the present version, but may
14324differ in detail to address new problems or concerns.
14325
14326 Each version is given a distinguishing version number. If the
14327Library as you received it specifies that a certain numbered version
14328of the GNU Lesser General Public License "or any later version"
14329applies to it, you have the option of following the terms and
14330conditions either of that published version or of any later version
14331published by the Free Software Foundation. If the Library as you
14332received it does not specify a version number of the GNU Lesser
14333General Public License, you may choose any version of the GNU Lesser
14334General Public License ever published by the Free Software Foundation.
14335
14336 If the Library as you received it specifies that a proxy can decide
14337whether future versions of the GNU Lesser General Public License shall
14338apply, that proxy's public statement of acceptance of any version is
14339permanent authorization for you to choose that version for the
14340Library.