7 GNU GENERAL PUBLIC LICENSE
10 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
11 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
12 Everyone is permitted to copy and distribute verbatim copies
13 of this license document, but changing it is not allowed.
17 The licenses for most software are designed to take away your
18 freedom to share and change it. By contrast, the GNU General Public
19 License is intended to guarantee your freedom to share and change free
20 software--to make sure the software is free for all its users. This
21 General Public License applies to most of the Free Software
22 Foundation's software and to any other program whose authors commit to
23 using it. (Some other Free Software Foundation software is covered by
24 the GNU Library General Public License instead.) You can apply it to
27 When we speak of free software, we are referring to freedom, not
28 price. Our General Public Licenses are designed to make sure that you
29 have the freedom to distribute copies of free software (and charge for
30 this service if you wish), that you receive source code or can get it
31 if you want it, that you can change the software or use pieces of it
32 in new free programs; and that you know you can do these things.
34 To protect your rights, we need to make restrictions that forbid
35 anyone to deny you these rights or to ask you to surrender the rights.
36 These restrictions translate to certain responsibilities for you if you
37 distribute copies of the software, or if you modify it.
39 For example, if you distribute copies of such a program, whether
40 gratis or for a fee, you must give the recipients all the rights that
41 you have. You must make sure that they, too, receive or can get the
42 source code. And you must show them these terms so they know their
45 We protect your rights with two steps: (1) copyright the software, and
46 (2) offer you this license which gives you legal permission to copy,
47 distribute and/or modify the software.
49 Also, for each author's protection and ours, we want to make certain
50 that everyone understands that there is no warranty for this free
51 software. If the software is modified by someone else and passed on, we
52 want its recipients to know that what they have is not the original, so
53 that any problems introduced by others will not reflect on the original
56 Finally, any free program is threatened constantly by software
57 patents. We wish to avoid the danger that redistributors of a free
58 program will individually obtain patent licenses, in effect making the
59 program proprietary. To prevent this, we have made it clear that any
60 patent must be licensed for everyone's free use or not licensed at all.
62 The precise terms and conditions for copying, distribution and
65 GNU GENERAL PUBLIC LICENSE
66 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
68 0. This License applies to any program or other work which contains
69 a notice placed by the copyright holder saying it may be distributed
70 under the terms of this General Public License. The "Program", below,
71 refers to any such program or work, and a "work based on the Program"
72 means either the Program or any derivative work under copyright law:
73 that is to say, a work containing the Program or a portion of it,
74 either verbatim or with modifications and/or translated into another
75 language. (Hereinafter, translation is included without limitation in
76 the term "modification".) Each licensee is addressed as "you".
78 Activities other than copying, distribution and modification are not
79 covered by this License; they are outside its scope. The act of
80 running the Program is not restricted, and the output from the Program
81 is covered only if its contents constitute a work based on the
82 Program (independent of having been made by running the Program).
83 Whether that is true depends on what the Program does.
85 1. You may copy and distribute verbatim copies of the Program's
86 source code as you receive it, in any medium, provided that you
87 conspicuously and appropriately publish on each copy an appropriate
88 copyright notice and disclaimer of warranty; keep intact all the
89 notices that refer to this License and to the absence of any warranty;
90 and give any other recipients of the Program a copy of this License
91 along with the Program.
93 You may charge a fee for the physical act of transferring a copy, and
94 you may at your option offer warranty protection in exchange for a fee.
96 2. You may modify your copy or copies of the Program or any portion
97 of it, thus forming a work based on the Program, and copy and
98 distribute such modifications or work under the terms of Section 1
99 above, provided that you also meet all of these conditions:
101 a) You must cause the modified files to carry prominent notices
102 stating that you changed the files and the date of any change.
104 b) You must cause any work that you distribute or publish, that in
105 whole or in part contains or is derived from the Program or any
106 part thereof, to be licensed as a whole at no charge to all third
107 parties under the terms of this License.
109 c) If the modified program normally reads commands interactively
110 when run, you must cause it, when started running for such
111 interactive use in the most ordinary way, to print or display an
112 announcement including an appropriate copyright notice and a
113 notice that there is no warranty (or else, saying that you provide
114 a warranty) and that users may redistribute the program under
115 these conditions, and telling the user how to view a copy of this
116 License. (Exception: if the Program itself is interactive but
117 does not normally print such an announcement, your work based on
118 the Program is not required to print an announcement.)
120 These requirements apply to the modified work as a whole. If
121 identifiable sections of that work are not derived from the Program,
122 and can be reasonably considered independent and separate works in
123 themselves, then this License, and its terms, do not apply to those
124 sections when you distribute them as separate works. But when you
125 distribute the same sections as part of a whole which is a work based
126 on the Program, the distribution of the whole must be on the terms of
127 this License, whose permissions for other licensees extend to the
128 entire whole, and thus to each and every part regardless of who wrote it.
130 Thus, it is not the intent of this section to claim rights or contest
131 your rights to work written entirely by you; rather, the intent is to
132 exercise the right to control the distribution of derivative or
133 collective works based on the Program.
135 In addition, mere aggregation of another work not based on the Program
136 with the Program (or with a work based on the Program) on a volume of
137 a storage or distribution medium does not bring the other work under
138 the scope of this License.
140 3. You may copy and distribute the Program (or a work based on it,
141 under Section 2) in object code or executable form under the terms of
142 Sections 1 and 2 above provided that you also do one of the following:
144 a) Accompany it with the complete corresponding machine-readable
145 source code, which must be distributed under the terms of Sections
146 1 and 2 above on a medium customarily used for software interchange; or,
148 b) Accompany it with a written offer, valid for at least three
149 years, to give any third party, for a charge no more than your
150 cost of physically performing source distribution, a complete
151 machine-readable copy of the corresponding source code, to be
152 distributed under the terms of Sections 1 and 2 above on a medium
153 customarily used for software interchange; or,
155 c) Accompany it with the information you received as to the offer
156 to distribute corresponding source code. (This alternative is
157 allowed only for noncommercial distribution and only if you
158 received the program in object code or executable form with such
159 an offer, in accord with Subsection b above.)
161 The source code for a work means the preferred form of the work for
162 making modifications to it. For an executable work, complete source
163 code means all the source code for all modules it contains, plus any
164 associated interface definition files, plus the scripts used to
165 control compilation and installation of the executable. However, as a
166 special exception, the source code distributed need not include
167 anything that is normally distributed (in either source or binary
168 form) with the major components (compiler, kernel, and so on) of the
169 operating system on which the executable runs, unless that component
170 itself accompanies the executable.
172 If distribution of executable or object code is made by offering
173 access to copy from a designated place, then offering equivalent
174 access to copy the source code from the same place counts as
175 distribution of the source code, even though third parties are not
176 compelled to copy the source along with the object code.
178 4. You may not copy, modify, sublicense, or distribute the Program
179 except as expressly provided under this License. Any attempt
180 otherwise to copy, modify, sublicense or distribute the Program is
181 void, and will automatically terminate your rights under this License.
182 However, parties who have received copies, or rights, from you under
183 this License will not have their licenses terminated so long as such
184 parties remain in full compliance.
186 5. You are not required to accept this License, since you have not
187 signed it. However, nothing else grants you permission to modify or
188 distribute the Program or its derivative works. These actions are
189 prohibited by law if you do not accept this License. Therefore, by
190 modifying or distributing the Program (or any work based on the
191 Program), you indicate your acceptance of this License to do so, and
192 all its terms and conditions for copying, distributing or modifying
193 the Program or works based on it.
195 6. Each time you redistribute the Program (or any work based on the
196 Program), the recipient automatically receives a license from the
197 original licensor to copy, distribute or modify the Program subject to
198 these terms and conditions. You may not impose any further
199 restrictions on the recipients' exercise of the rights granted herein.
200 You are not responsible for enforcing compliance by third parties to
203 7. If, as a consequence of a court judgment or allegation of patent
204 infringement or for any other reason (not limited to patent issues),
205 conditions are imposed on you (whether by court order, agreement or
206 otherwise) that contradict the conditions of this License, they do not
207 excuse you from the conditions of this License. If you cannot
208 distribute so as to satisfy simultaneously your obligations under this
209 License and any other pertinent obligations, then as a consequence you
210 may not distribute the Program at all. For example, if a patent
211 license would not permit royalty-free redistribution of the Program by
212 all those who receive copies directly or indirectly through you, then
213 the only way you could satisfy both it and this License would be to
214 refrain entirely from distribution of the Program.
216 If any portion of this section is held invalid or unenforceable under
217 any particular circumstance, the balance of the section is intended to
218 apply and the section as a whole is intended to apply in other
221 It is not the purpose of this section to induce you to infringe any
222 patents or other property right claims or to contest validity of any
223 such claims; this section has the sole purpose of protecting the
224 integrity of the free software distribution system, which is
225 implemented by public license practices. Many people have made
226 generous contributions to the wide range of software distributed
227 through that system in reliance on consistent application of that
228 system; it is up to the author/donor to decide if he or she is willing
229 to distribute software through any other system and a licensee cannot
232 This section is intended to make thoroughly clear what is believed to
233 be a consequence of the rest of this License.
235 8. If the distribution and/or use of the Program is restricted in
236 certain countries either by patents or by copyrighted interfaces, the
237 original copyright holder who places the Program under this License
238 may add an explicit geographical distribution limitation excluding
239 those countries, so that distribution is permitted only in or among
240 countries not thus excluded. In such case, this License incorporates
241 the limitation as if written in the body of this License.
243 9. The Free Software Foundation may publish revised and/or new versions
244 of the General Public License from time to time. Such new versions will
245 be similar in spirit to the present version, but may differ in detail to
246 address new problems or concerns.
248 Each version is given a distinguishing version number. If the Program
249 specifies a version number of this License which applies to it and "any
250 later version", you have the option of following the terms and conditions
251 either of that version or of any later version published by the Free
252 Software Foundation. If the Program does not specify a version number of
253 this License, you may choose any version ever published by the Free Software
256 10. If you wish to incorporate parts of the Program into other free
257 programs whose distribution conditions are different, write to the author
258 to ask for permission. For software which is copyrighted by the Free
259 Software Foundation, write to the Free Software Foundation; we sometimes
260 make exceptions for this. Our decision will be guided by the two goals
261 of preserving the free status of all derivatives of our free software and
262 of promoting the sharing and reuse of software generally.
266 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
267 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
268 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
269 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
270 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
271 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
272 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
273 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
274 REPAIR OR CORRECTION.
276 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
277 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
278 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
279 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
280 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
281 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
282 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
283 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
284 POSSIBILITY OF SUCH DAMAGES.
286 END OF TERMS AND CONDITIONS
288 How to Apply These Terms to Your New Programs
290 If you develop a new program, and you want it to be of the greatest
291 possible use to the public, the best way to achieve this is to make it
292 free software which everyone can redistribute and change under these terms.
294 To do so, attach the following notices to the program. It is safest
295 to attach them to the start of each source file to most effectively
296 convey the exclusion of warranty; and each file should have at least
297 the "copyright" line and a pointer to where the full notice is found.
299 <one line to give the program's name and a brief idea of what it does.>
300 Copyright (C) 19yy <name of author>
302 This program is free software; you can redistribute it and/or modify
303 it under the terms of the GNU General Public License as published by
304 the Free Software Foundation; either version 2 of the License, or
305 (at your option) any later version.
307 This program is distributed in the hope that it will be useful,
308 but WITHOUT ANY WARRANTY; without even the implied warranty of
309 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
310 GNU General Public License for more details.
312 You should have received a copy of the GNU General Public License
313 along with this program; if not, write to the Free Software
314 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
317 Also add information on how to contact you by electronic and paper mail.
319 If the program is interactive, make it output a short notice like this
320 when it starts in an interactive mode:
322 Gnomovision version 69, Copyright (C) 19yy name of author
323 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
324 This is free software, and you are welcome to redistribute it
325 under certain conditions; type `show c' for details.
327 The hypothetical commands `show w' and `show c' should show the appropriate
328 parts of the General Public License. Of course, the commands you use may
329 be called something other than `show w' and `show c'; they could even be
330 mouse-clicks or menu items--whatever suits your program.
332 You should also get your employer (if you work as a programmer) or your
333 school, if any, to sign a "copyright disclaimer" for the program, if
334 necessary. Here is a sample; alter the names:
336 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
337 `Gnomovision' (which makes passes at compilers) written by James Hacker.
339 <signature of Ty Coon>, 1 April 1989
340 Ty Coon, President of Vice
342 This General Public License does not permit incorporating your program into
343 proprietary programs. If your program is a subroutine library, you may
344 consider it more useful to permit linking proprietary applications with the
345 library. If this is what you want to do, use the GNU Library General
346 Public License instead of this License.
349 GNU Lesser General Public License
351 Version 2.1, February 1999
353 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple
354 Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy
355 and distribute verbatim copies of this license document, but changing it
358 [This is the first released version of the Lesser GPL. It also counts
359 as the successor of the GNU Library Public License, version 2, hence the
364 The licenses for most software are designed to take away your freedom to
365 share and change it. By contrast, the GNU General Public Licenses are
366 intended to guarantee your freedom to share and change free software--to
367 make sure the software is free for all its users.
369 This license, the Lesser General Public License, applies to some
370 specially designated software packages--typically libraries--of the Free
371 Software Foundation and other authors who decide to use it. You can use
372 it too, but we suggest you first think carefully about whether this
373 license or the ordinary General Public License is the better strategy to
374 use in any particular case, based on the explanations below.
376 When we speak of free software, we are referring to freedom of use, not
377 price. Our General Public Licenses are designed to make sure that you
378 have the freedom to distribute copies of free software (and charge for
379 this service if you wish); that you receive source code or can get it if
380 you want it; that you can change the software and use pieces of it in new
381 free programs; and that you are informed that you can do these things.
383 To protect your rights, we need to make restrictions that forbid
384 distributors to deny you these rights or to ask you to surrender these
385 rights. These restrictions translate to certain responsibilities for you
386 if you distribute copies of the library or if you modify it.
388 For example, if you distribute copies of the library, whether gratis or
389 for a fee, you must give the recipients all the rights that we gave you.
390 You must make sure that they, too, receive or can get the source code. If
391 you link other code with the library, you must provide complete object
392 files to the recipients, so that they can relink them with the library
393 after making changes to the library and recompiling it. And you must show
394 them these terms so they know their rights.
396 We protect your rights with a two-step method: (1) we copyright the
397 library, and (2) we offer you this license, which gives you legal
398 permission to copy, distribute and/or modify the library.
400 To protect each distributor, we want to make it very clear that there is
401 no warranty for the free library. Also, if the library is modified by
402 someone else and passed on, the recipients should know that what they
403 have is not the original version, so that the original author's
404 reputation will not be affected by problems that might be introduced by
407 Finally, software patents pose a constant threat to the existence of any
408 free program. We wish to make sure that a company cannot effectively
409 restrict the users of a free program by obtaining a restrictive license
410 from a patent holder. Therefore, we insist that any patent license
411 obtained for a version of the library must be consistent with the full
412 freedom of use specified in this license.
414 Most GNU software, including some libraries, is covered by the ordinary
415 GNU General Public License. This license, the GNU Lesser General Public
416 License, applies to certain designated libraries, and is quite different
417 from the ordinary General Public License. We use this license for certain
418 libraries in order to permit linking those libraries into non-free
421 When a program is linked with a library, whether statically or using a
422 shared library, the combination of the two is legally speaking a combined
423 work, a derivative of the original library. The ordinary General Public
424 License therefore permits such linking only if the entire combination
425 fits its criteria of freedom. The Lesser General Public License permits
426 more lax criteria for linking other code with the library.
428 We call this license the "Lesser" General Public License because it does
429 Less to protect the user's freedom than the ordinary General Public
430 License. It also provides other free software developers Less of an
431 advantage over competing non-free programs. These disadvantages are the
432 reason we use the ordinary General Public License for many libraries.
433 However, the Lesser license provides advantages in certain special
436 For example, on rare occasions, there may be a special need to encourage
437 the widest possible use of a certain library, so that it becomes a
438 de-facto standard. To achieve this, non-free programs must be allowed to
439 use the library. A more frequent case is that a free library does the
440 same job as widely used non-free libraries. In this case, there is little
441 to gain by limiting the free library to free software only, so we use the
442 Lesser General Public License.
444 In other cases, permission to use a particular library in non-free
445 programs enables a greater number of people to use a large body of free
446 software. For example, permission to use the GNU C Library in non-free
447 programs enables many more people to use the whole GNU operating system,
448 as well as its variant, the GNU/Linux operating system.
450 Although the Lesser General Public License is Less protective of the
451 users' freedom, it does ensure that the user of a program that is linked
452 with the Library has the freedom and the wherewithal to run that program
453 using a modified version of the Library.
455 The precise terms and conditions for copying, distribution and
456 modification follow. Pay close attention to the difference between a
457 "work based on the library" and a "work that uses the library". The
458 former contains code derived from the library, whereas the latter must be
459 combined with the library in order to run.
460 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
462 0. This License Agreement applies to any software library or other
463 program which contains a notice placed by the copyright holder or other
464 authorized party saying it may be distributed under the terms of this
465 Lesser General Public License (also called "this License"). Each licensee
466 is addressed as "you".
468 A "library" means a collection of software functions and/or data prepared
469 so as to be conveniently linked with application programs (which use some
470 of those functions and data) to form executables.
472 The "Library", below, refers to any such software library or work which
473 has been distributed under these terms. A "work based on the Library"
474 means either the Library or any derivative work under copyright law: that
475 is to say, a work containing the Library or a portion of it, either
476 verbatim or with modifications and/or translated straightforwardly into
477 another language. (Hereinafter, translation is included without
478 limitation in the term "modification".)
480 "Source code" for a work means the preferred form of the work for making
481 modifications to it. For a library, complete source code means all the
482 source code for all modules it contains, plus any associated interface
483 definition files, plus the scripts used to control compilation and
484 installation of the library.
486 Activities other than copying, distribution and modification are not
487 covered by this License; they are outside its scope. The act of running a
488 program using the Library is not restricted, and output from such a
489 program is covered only if its contents constitute a work based on the
490 Library (independent of the use of the Library in a tool for writing it).
491 Whether that is true depends on what the Library does and what the
492 program that uses the Library does.
494 1. You may copy and distribute verbatim copies of the Library's complete
495 source code as you receive it, in any medium, provided that you
496 conspicuously and appropriately publish on each copy an appropriate
497 copyright notice and disclaimer of warranty; keep intact all the notices
498 that refer to this License and to the absence of any warranty; and
499 distribute a copy of this License along with the Library.
501 You may charge a fee for the physical act of transferring a copy, and you
502 may at your option offer warranty protection in exchange for a fee.
504 2. You may modify your copy or copies of the Library or any portion of
505 it, thus forming a work based on the Library, and copy and distribute
506 such modifications or work under the terms of Section 1 above, provided
507 that you also meet all of these conditions:
509 a) The modified work must itself be a software library.
511 b) You must cause the files modified to carry prominent notices
512 stating that you changed the files and the date of any change.
514 c) You must cause the whole of the work to be licensed at no charge
515 to all third parties under the terms of this License.
517 d) If a facility in the modified Library refers to a function or a
518 table of data to be supplied by an application program that uses the
519 facility, other than as an argument passed when the facility is invoked,
520 then you must make a good faith effort to ensure that, in the event an
521 application does not supply such function or table, the facility still
522 operates, and performs whatever part of its purpose remains meaningful.
524 (For example, a function in a library to compute square roots has a
525 purpose that is entirely well-defined independent of the application.
526 Therefore, Subsection 2d requires that any application-supplied function
527 or table used by this function must be optional: if the application does
528 not supply it, the square root function must still compute square roots.)
530 These requirements apply to the modified work as a whole. If
531 identifiable sections of that work are not derived from the Library, and
532 can be reasonably considered independent and separate works in
533 themselves, then this License, and its terms, do not apply to those
534 sections when you distribute them as separate works. But when you
535 distribute the same sections as part of a whole which is a work based on
536 the Library, the distribution of the whole must be on the terms of this
537 License, whose permissions for other licensees extend to the entire
538 whole, and thus to each and every part regardless of who wrote it.
540 Thus, it is not the intent of this section to claim rights or contest
541 your rights to work written entirely by you; rather, the intent is to
542 exercise the right to control the distribution of derivative or
543 collective works based on the Library.
545 In addition, mere aggregation of another work not based on the
546 Library with the Library (or with a work based on the Library) on a
547 volume of a storage or distribution medium does not bring the other work
548 under the scope of this License.
550 3. You may opt to apply the terms of the ordinary GNU General Public
551 License instead of this License to a given copy of the Library. To do
552 this, you must alter all the notices that refer to this License, so that
553 they refer to the ordinary GNU General Public License, version 2, instead
554 of to this License. (If a newer version than version 2 of the ordinary
555 GNU General Public License has appeared, then you can specify that
556 version instead if you wish.) Do not make any other change in these
559 Once this change is made in a given copy, it is irreversible for that
560 copy, so the ordinary GNU General Public License applies to all
561 subsequent copies and derivative works made from that copy.
563 This option is useful when you wish to copy part of the code of the
564 Library into a program that is not a library.
566 4. You may copy and distribute the Library (or a portion or derivative of
567 it, under Section 2) in object code or executable form under the terms of
568 Sections 1 and 2 above provided that you accompany it with the complete
569 corresponding machine-readable source code, which must be distributed
570 under the terms of Sections 1 and 2 above on a medium customarily used
571 for software interchange.
573 If distribution of object code is made by offering access to copy from a
574 designated place, then offering equivalent access to copy the source code
575 from the same place satisfies the
576 requirement to distribute the source code, even though third parties are
577 not compelled to copy the source along with the object code.
579 5. A program that contains no derivative of any portion of the Library,
580 but is designed to work with the Library by being compiled or linked with
581 it, is called a "work that uses the Library". Such a work, in isolation,
582 is not a derivative work of the Library, and therefore falls outside the
583 scope of this License.
585 However, linking a "work that uses the Library" with the Library creates
586 an executable that is a derivative of the Library (because it contains
587 portions of the Library), rather than a "work that uses the library". The
588 executable is therefore covered by this License. Section 6 states terms
589 for distribution of such executables.
591 When a "work that uses the Library" uses material from a header file that
592 is part of the Library, the object code for the work may be a derivative
593 work of the Library even though the source code is not. Whether this is
594 true is especially significant if the work can be linked without the
595 Library, or if the work is itself a library. The threshold for this to be
596 true is not precisely defined by law.
598 If such an object file uses only numerical parameters, data structure
599 layouts and accessors, and small macros and small inline functions (ten
600 lines or less in length), then the use of the object file is
601 unrestricted, regardless of whether it is legally a derivative work.
602 (Executables containing this object code plus portions of the Library
603 will still fall under Section 6.)
605 Otherwise, if the work is a derivative of the Library, you may distribute
606 the object code for the work under the terms of Section 6. Any
607 executables containing that work also fall under Section 6, whether or
608 not they are linked directly with the Library itself.
610 6. As an exception to the Sections above, you may also combine or link a
611 "work that uses the Library" with the Library to produce a work
612 containing portions of the Library, and distribute that work under terms
613 of your choice, provided that the terms permit modification of the work
614 for the customer's own use and reverse engineering for debugging such
617 You must give prominent notice with each copy of the work that the
618 Library is used in it and that the Library and its use are covered by
619 this License. You must supply a copy of this License. If the work during
620 execution displays copyright notices, you must include the copyright
621 notice for the Library among them, as well as a reference directing the
622 user to the copy of this License. Also, you must do one of these things:
624 a) Accompany the work with the complete corresponding
625 machine-readable source code for the Library including whatever changes
626 were used in the work (which must be distributed under Sections 1 and 2
627 above); and, if the work is an executable linked with the Library, with
628 the complete machine-readable "work that uses the Library", as object
629 code and/or source code, so that the user can modify the Library and then
630 relink to produce a modified executable containing the modified Library.
631 (It is understood that the user who changes the contents of definitions
632 files in the Library will not necessarily be able to recompile the
633 application to use the modified definitions.)
635 b) Use a suitable shared library mechanism for linking with the
636 Library. A suitable mechanism is one that (1) uses at run time a copy of
637 the library already present on the user's computer system, rather than
638 copying library functions into the executable, and (2) will operate
639 properly with a modified version of the library, if the user installs
640 one, as long as the modified version is interface-compatible with the
641 version that the work was made with.
643 c) Accompany the work with a written offer, valid for at least three
644 years, to give the same user the materials specified in Subsection 6a,
645 above, for a charge no more than the cost of performing this distribution.
647 d) If distribution of the work is made by offering access to copy
648 from a designated place, offer equivalent access to copy the above
649 specified materials from the same place.
651 e) Verify that the user has already received a copy of these
652 materials or that you have already sent this user a copy.
654 For an executable, the required form of the "work that uses the Library"
655 must include any data and utility programs needed for reproducing the
656 executable from it. However, as a special exception, the materials to be
657 distributed need not include anything that is normally distributed (in
658 either source or binary form) with the major components (compiler,
659 kernel, and so on) of the operating system on which the executable runs,
660 unless that component itself accompanies the executable.
662 It may happen that this requirement contradicts the license restrictions
663 of other proprietary libraries that do not normally accompany the
664 operating system. Such a contradiction means you cannot use both them and
665 the Library together in an executable that you distribute.
667 7. You may place library facilities that are a work based on the Library
668 side-by-side in a single library together with other library facilities
669 not covered by this License, and distribute such a combined library,
670 provided that the separate distribution of the work based on the Library
671 and of the other library facilities is otherwise permitted, and provided
672 that you do these two things:
674 a) Accompany the combined library with a copy of the same work based
675 on the Library, uncombined with any other library facilities. This must
676 be distributed under the terms of the Sections above.
678 b) Give prominent notice with the combined library of the fact that
679 part of it is a work based on the Library, and explaining where to find
680 the accompanying uncombined form of the same work.
682 8. You may not copy, modify, sublicense, link with, or distribute the
683 Library except as expressly provided under this License. Any attempt
684 otherwise to copy, modify, sublicense, link with, or distribute the
685 Library is void, and will automatically terminate your rights under this
686 License. However, parties who have received copies, or rights, from you
687 under this License will not have their licenses terminated so long as
688 such parties remain in full compliance.
690 9. You are not required to accept this License, since you have not signed
691 it. However, nothing else grants you permission to modify or distribute
692 the Library or its derivative works. These actions are prohibited by law
693 if you do not accept this License. Therefore, by modifying or
694 distributing the Library (or any work based on the Library), you indicate
695 your acceptance of this License to do so, and all its terms and
696 conditions for copying, distributing or modifying the Library or works
699 10. Each time you redistribute the Library (or any work based on the
700 Library), the recipient automatically receives a license from the
701 original licensor to copy, distribute, link with or modify the Library
702 subject to these terms and conditions. You may not impose any further
703 restrictions on the recipients' exercise of the rights granted herein.
704 You are not responsible for enforcing compliance by third parties with
707 11. If, as a consequence of a court judgment or allegation of patent
708 infringement or for any other reason (not limited to patent issues),
709 conditions are imposed on you (whether by
710 court order, agreement or otherwise) that contradict the conditions of
711 this License, they do not excuse you from the conditions of this License.
712 If you cannot distribute so as to
713 satisfy simultaneously your obligations under this License and any other
714 pertinent obligations, then as a consequence you may not distribute the
715 Library at all. For example, if a
716 patent license would not permit royalty-free redistribution of the
717 Library by all those who receive copies directly or indirectly through
718 you, then the only way you could satisfy both
719 it and this License would be to refrain entirely from distribution of the
722 If any portion of this section is held invalid or unenforceable under any
723 particular circumstance, the balance of the section is intended to apply,
724 and the section as a whole is intended to apply in other circumstances.
726 It is not the purpose of this section to induce you to infringe any
727 patents or other property right claims or to contest validity of any such
728 claims; this section has the sole purpose of protecting the integrity of
729 the free software distribution system which is implemented by public
730 license practices. Many people have made generous contributions to the
731 wide range of software distributed through that system in reliance on
732 consistent application of that system; it is up to the author/donor to
733 decide if he or she is willing to distribute software through any other
734 system and a licensee cannot impose that choice.
736 This section is intended to make thoroughly clear what is believed to be
737 a consequence of the rest of this License.
739 12. If the distribution and/or use of the Library is restricted in
740 certain countries either by patents or by copyrighted interfaces, the
741 original copyright holder who places the Library under this License may
742 add an explicit geographical distribution limitation excluding those
743 countries, so that distribution is permitted only in or among countries
744 not thus excluded. In such case, this License incorporates the limitation
745 as if written in the body of this License.
747 13. The Free Software Foundation may publish revised and/or new versions
748 of the Lesser General Public License from time to time. Such new versions
749 will be similar in spirit to the present version, but may differ in
750 detail to address new problems or concerns.
752 Each version is given a distinguishing version number. If the Library
753 specifies a version number of this License which applies to it and "any
754 later version", you have the option of following the terms and conditions
755 either of that version or of any later version published by the Free
756 Software Foundation. If the Library does not specify a license version
757 number, you may choose any version ever published by the Free Software
760 14. If you wish to incorporate parts of the Library into other free
761 programs whose distribution conditions are incompatible with these, write
762 to the author to ask for permission. For software which is copyrighted by
763 the Free Software Foundation, write to the Free Software Foundation; we
764 sometimes make exceptions for this. Our decision will be guided by the
765 two goals of preserving the free status of all derivatives of our free
766 software and of promoting the sharing and reuse of software generally.
770 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
771 FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
772 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
773 PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
774 EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
775 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
776 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU.
777 SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
778 SERVICING, REPAIR OR CORRECTION.
780 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
781 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
782 REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
783 DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
784 DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING
785 BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
786 LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO
787 OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS
788 BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
789 END OF TERMS AND CONDITIONS
790 How to Apply These Terms to Your New Libraries
791 If you develop a new library, and you want it to be of the greatest
792 possible use to the public, we recommend making it free software that
793 everyone can redistribute and change. You can do so by permitting
794 redistribution under these terms (or, alternatively, under the terms of
795 the ordinary General Public License).
797 To apply these terms, attach the following notices to the library. It is
798 safest to attach them to the start of each source file to most
799 effectively convey the exclusion of warranty; and each file should have
800 at least the "copyright" line and a pointer to where the full notice is
803 <one line to give the library's name and an idea of what it does.>
804 Copyright (C) <year> <name of author>
806 This library is free software; you can redistribute it and/or modify
807 it under the terms of the GNU Lesser General Public License as published
808 by the Free Software Foundation; either version 2.1 of the License, or
809 (at your option) any later version.
811 This library is distributed in the hope that it will be useful, but
812 WITHOUT ANY WARRANTY; without even the implied warranty of
813 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
814 General Public License for more details.
816 You should have received a copy of the GNU Lesser General Public
817 License along with this library; if not, write to the Free Software
818 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
820 Also add information on how to contact you by electronic and paper mail.
822 You should also get your employer (if you work as a programmer) or your
823 school, if any, to sign a "copyright disclaimer" for the library, if
824 necessary. Here is a sample; alter the names:
826 Yoyodyne, Inc., hereby disclaims all copyright interest in the
827 library `Frob' (a library for tweaking knobs) written by James Random
830 signature of Ty Coon, 1 April 1990
831 Ty Coon, President of Vice
834 Mozilla Public License 1.1 (MPL 1.1)
835 ------------------------------------
839 1.0.1. "Commercial Use" means distribution or otherwise making
840 the Covered Code available to a third party.
842 1.1. ''Contributor'' means each entity that creates or contributes
843 to the creation of Modifications.
845 1.2. ''Contributor Version'' means the combination of the Original
846 Code, prior Modifications used by a Contributor, and the Modifications
847 made by that particular Contributor.
849 1.3. ''Covered Code'' means the Original Code or Modifications
850 or the combination of the Original Code and Modifications, in each case
851 including portions thereof.
853 1.4. ''Electronic Distribution Mechanism'' means a mechanism
854 generally accepted in the software development community for the electronic
857 1.5. ''Executable'' means Covered Code in any form other than
860 1.6. ''Initial Developer'' means the individual or entity identified
861 as the Initial Developer in the Source Code notice required by Exhibit
864 1.7. ''Larger Work'' means a work which combines Covered Code
865 or portions thereof with code not governed by the terms of this License.
867 1.8. ''License'' means this document.
869 1.8.1. "Licensable" means having the right to grant, to the maximum
870 extent possible, whether at the time of the initial grant or subsequently
871 acquired, any and all of the rights conveyed herein.
873 1.9. ''Modifications'' means any addition to or deletion from
874 the substance or structure of either the Original Code or any previous
875 Modifications. When Covered Code is released as a series of files, a
878 A. Any addition to or deletion from the contents of a file containing
880 Original Code or previous Modifications.
882 B. Any new file that contains any part of the Original Code or
883 previous Modifications.
887 1.10. ''Original Code'' means Source Code of computer software code
888 which is described in the Source Code notice required by Exhibit A
889 as Original Code, and which, at the time of its release under this License
890 is not already Covered Code governed by this License.
892 1.10.1. "Patent Claims" means any patent claim(s), now owned
893 or hereafter acquired, including without limitation, method, process,
894 and apparatus claims, in any patent Licensable by grantor.
896 1.11. ''Source Code'' means the preferred form of the Covered
897 Code for making modifications to it, including all modules it contains,
898 plus any associated interface definition files, scripts used to control
899 compilation and installation of an Executable, or source code differential
900 comparisons against either the Original Code or another well known, available
901 Covered Code of the Contributor's choice. The Source Code can be in a compressed
903 or archival form, provided the appropriate decompression or de-archiving
904 software is widely available for no charge.
906 1.12. "You'' (or "Your") means an individual or a legal
907 entity exercising rights under, and complying with all of the terms of,
908 this License or a future version of this License issued under Section 6.1.
909 For legal entities, "You'' includes any entity which controls, is controlled
910 by, or is under common control with You. For purposes of this definition,
911 "control'' means (a) the power, direct or indirect, to cause the direction
912 or management of such entity, whether by contract or otherwise, or (b)
913 ownership of more than fifty percent (50%) of the outstanding shares or
914 beneficial ownership of such entity.
916 2. Source Code License.
918 2.1. The Initial Developer Grant.
921 The Initial Developer hereby grants You a world-wide, royalty-free,
922 non-exclusive license, subject to third party intellectual property claims:
923 (a) under intellectual property rights (other than
924 patent or trademark) Licensable by Initial Developer to use, reproduce,
925 modify, display, perform, sublicense and distribute the Original Code (or
926 portions thereof) with or without Modifications, and/or as part of a Larger
929 (b) under Patents Claims infringed by the making, using or selling
930 of Original Code, to make, have made, use, practice, sell, and offer for
931 sale, and/or otherwise dispose of the Original Code (or portions thereof).
934 (c) the licenses granted in this Section 2.1(a) and (b) are effective
935 on the date Initial Developer first distributes Original Code under the
936 terms of this License.
938 (d) Notwithstanding Section 2.1(b) above, no patent license is
939 granted: 1) for code that You delete from the Original Code; 2) separate
940 from the Original Code; or 3) for infringements caused by: i) the
941 modification of the Original Code or ii) the combination of the Original
942 Code with other software or devices.
946 2.2. Contributor Grant.
948 Subject to third party intellectual property claims, each Contributor
949 hereby grants You a world-wide, royalty-free, non-exclusive license
952 (a) under intellectual property rights (other than
953 patent or trademark) Licensable by Contributor, to use, reproduce, modify,
954 display, perform, sublicense and distribute the Modifications created by
955 such Contributor (or portions thereof) either on an unmodified basis, with
956 other Modifications, as Covered Code and/or as part of a Larger Work; and
958 (b) under Patent Claims infringed by the making, using, or selling
959 of Modifications made by that Contributor either alone and/or in
960 combination with its Contributor Version (or portions of such combination),
961 to make, use, sell, offer for sale, have made, and/or otherwise dispose
962 of: 1) Modifications made by that Contributor (or portions thereof); and
963 2) the combination of Modifications made by that Contributor with
964 its Contributor Version (or portions of such combination).
966 (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective
967 on the date Contributor first makes Commercial Use of the Covered Code.
969 (d) Notwithstanding Section 2.2(b) above, no
970 patent license is granted: 1) for any code that Contributor has deleted
971 from the Contributor Version; 2) separate from the Contributor
973 3) for infringements caused by: i) third party modifications of
975 Version or ii) the combination of Modifications made by that Contributor
976 with other software (except as part of the Contributor Version) or
977 other devices; or 4) under Patent Claims infringed by Covered Code in the
978 absence of Modifications made by that Contributor.
981 3. Distribution Obligations.
983 3.1. Application of License.
985 The Modifications which You create or to which You contribute are governed
986 by the terms of this License, including without limitation Section 2.2.
987 The Source Code version of Covered Code may be distributed only under the
988 terms of this License or a future version of this License released under
989 Section 6.1, and You must include a copy of this License with every
990 copy of the Source Code You distribute. You may not offer or impose any
991 terms on any Source Code version that alters or restricts the applicable
992 version of this License or the recipients' rights hereunder. However, You
993 may include an additional document offering the additional rights described
996 3.2. Availability of Source Code.
998 Any Modification which You create or to which You contribute must be
999 made available in Source Code form under the terms of this License either
1000 on the same media as an Executable version or via an accepted Electronic
1001 Distribution Mechanism to anyone to whom you made an Executable version
1002 available; and if made available via Electronic Distribution Mechanism,
1003 must remain available for at least twelve (12) months after the date it
1004 initially became available, or at least six (6) months after a subsequent
1005 version of that particular Modification has been made available to such
1006 recipients. You are responsible for ensuring that the Source Code version
1007 remains available even if the Electronic Distribution Mechanism is maintained
1010 3.3. Description of Modifications.
1012 You must cause all Covered Code to which You contribute to contain
1013 a file documenting the changes You made to create that Covered Code and
1014 the date of any change. You must include a prominent statement that the
1015 Modification is derived, directly or indirectly, from Original Code provided
1016 by the Initial Developer and including the name of the Initial Developer
1017 in (a) the Source Code, and (b) in any notice in an Executable version
1018 or related documentation in which You describe the origin or ownership
1019 of the Covered Code.
1021 3.4. Intellectual Property Matters
1022 (a) Third Party Claims.
1024 If Contributor has knowledge that a license under a third party's
1026 property rights is required to exercise the rights granted by such Contributor
1027 under Sections 2.1 or 2.2, Contributor must include a text file with the
1028 Source Code distribution titled "LEGAL'' which describes the claim and
1029 the party making the claim in sufficient detail that a recipient will know
1030 whom to contact. If Contributor obtains such knowledge after the Modification
1031 is made available as described in Section 3.2, Contributor shall promptly
1032 modify the LEGAL file in all copies Contributor makes available thereafter
1033 and shall take other steps (such as notifying appropriate mailing lists
1034 or newsgroups) reasonably calculated to inform those who received the Covered
1035 Code that new knowledge has been obtained.
1037 (b) Contributor APIs.
1039 If Contributor's Modifications include an application programming interface
1040 and Contributor has knowledge of patent licenses which are reasonably necessary
1041 to implement that API, Contributor must also include this information in
1048 Contributor represents that, except as disclosed pursuant to Section
1049 3.4(a) above, Contributor believes that Contributor's Modifications are
1050 Contributor's original creation(s) and/or Contributor has sufficient rights
1051 to grant the rights conveyed by this License.
1054 3.5. Required Notices.
1056 You must duplicate the notice in Exhibit A in each file of the
1057 Source Code. If it is not possible to put such notice in a particular
1058 Source Code file due to its structure, then You must include such notice
1059 in a location (such as a relevant directory) where a user would be likely
1060 to look for such a notice. If You created one or more Modification(s)
1061 You may add your name as a Contributor to the notice described in Exhibit
1062 A. You must also duplicate this License in any documentation
1063 for the Source Code where You describe recipients' rights or ownership
1064 rights relating to Covered Code. You may choose to offer, and to
1065 charge a fee for, warranty, support, indemnity or liability obligations
1066 to one or more recipients of Covered Code. However, You may do so only
1067 on Your own behalf, and not on behalf of the Initial Developer or any
1070 You must make it absolutely clear than any such warranty, support, indemnity
1071 or liability obligation is offered by You alone, and You hereby agree to
1072 indemnify the Initial Developer and every Contributor for any liability
1073 incurred by the Initial Developer or such Contributor as a result of warranty,
1074 support, indemnity or liability terms You offer.
1076 3.6. Distribution of Executable Versions.
1078 You may distribute Covered Code in Executable form only if the requirements
1079 of Section 3.1-3.5 have been met for that Covered Code, and if You
1080 include a notice stating that the Source Code version of the Covered Code
1081 is available under the terms of this License, including a description of
1082 how and where You have fulfilled the obligations of Section 3.2.
1083 The notice must be conspicuously included in any notice in an Executable
1084 version, related documentation or collateral in which You describe recipients'
1085 rights relating to the Covered Code. You may distribute the Executable
1086 version of Covered Code or ownership rights under a license of Your choice,
1087 which may contain terms different from this License, provided that You
1088 are in compliance with the terms of this License and that the license for
1089 the Executable version does not attempt to limit or alter the recipient's
1090 rights in the Source Code version from the rights set forth in this License.
1091 If You distribute the Executable version under a different license You
1092 must make it absolutely clear that any terms which differ from this License
1093 are offered by You alone, not by the Initial Developer or any Contributor.
1094 You hereby agree to indemnify the Initial Developer and every Contributor
1095 for any liability incurred by the Initial Developer or such Contributor
1096 as a result of any such terms You offer.
1100 You may create a Larger Work by combining Covered Code with other code
1101 not governed by the terms of this License and distribute the Larger Work
1102 as a single product. In such a case, You must make sure the requirements
1103 of this License are fulfilled for the Covered Code.
1105 4. Inability to Comply Due to Statute or Regulation.
1107 If it is impossible for You to comply with any of the terms of this
1108 License with respect to some or all of the Covered Code due to statute,
1109 judicial order, or regulation then You must: (a) comply with the terms
1110 of this License to the maximum extent possible; and (b) describe the limitations
1112 and the code they affect. Such description must be included in the LEGAL
1113 file described in Section 3.4 and must be included with all distributions
1115 of the Source Code. Except to the extent prohibited by statute or regulation,
1116 such description must be sufficiently detailed for a recipient of ordinary
1117 skill to be able to understand it.
1119 5. Application of this License.
1121 This License applies to code to which the Initial Developer has attached
1122 the notice in Exhibit A and to related Covered Code.
1124 6. Versions of the License.
1128 Netscape Communications Corporation (''Netscape'') may publish revised
1129 and/or new versions of the License from time to time. Each version will
1130 be given a distinguishing version number.
1132 6.2. Effect of New Versions.
1134 Once Covered Code has been published under a particular version of
1135 the License, You may always continue to use it under the terms of that
1136 version. You may also choose to use such Covered Code under the terms of
1137 any subsequent version of the License published by Netscape. No one other
1138 than Netscape has the right to modify the terms applicable to Covered Code
1139 created under this License.
1141 6.3. Derivative Works.
1143 If You create or use a modified version of this License (which you
1144 may only do in order to apply it to code which is not already Covered Code
1145 governed by this License), You must (a) rename Your license so that the
1146 phrases ''Mozilla'', ''MOZILLAPL'', ''MOZPL'', ''Netscape'', "MPL", ''NPL''
1147 or any confusingly similar phrase do not appear in your license (except
1148 to note that your license differs from this License) and (b) otherwise
1149 make it clear that Your version of the license contains terms which differ
1150 from the Mozilla Public License and Netscape Public License. (Filling in
1151 the name of the Initial Developer, Original Code or Contributor in the
1152 notice described in Exhibit A shall not of themselves be deemed
1153 to be modifications of this License.)
1155 7. DISCLAIMER OF WARRANTY.
1157 COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT
1158 WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
1160 WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT
1161 FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY
1162 AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE
1163 PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER
1164 CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION.
1165 THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE.
1166 NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
1171 8.1. This License and the rights granted hereunder will
1172 terminate automatically if You fail to comply with terms herein and fail
1173 to cure such breach within 30 days of becoming aware of the breach. All
1174 sublicenses to the Covered Code which are properly granted shall survive
1175 any termination of this License. Provisions which, by their nature, must
1176 remain in effect beyond the termination of this License shall survive.
1178 8.2. If You initiate litigation by asserting a patent
1180 claim (excluding declatory judgment actions) against Initial Developer
1181 or a Contributor (the Initial Developer or Contributor against whom You
1182 file such action is referred to as "Participant") alleging that:
1184 (a) such Participant's Contributor Version directly or
1185 indirectly infringes any patent, then any and all rights granted by such
1186 Participant to You under Sections 2.1 and/or 2.2 of this License shall,
1187 upon 60 days notice from Participant terminate prospectively, unless if
1188 within 60 days after receipt of notice You either: (i) agree in writing
1189 to pay Participant a mutually agreeable reasonable royalty for Your past
1190 and future use of Modifications made by such Participant, or (ii) withdraw
1191 Your litigation claim with respect to the Contributor Version against such
1192 Participant. If within 60 days of notice, a reasonable royalty and
1193 payment arrangement are not mutually agreed upon in writing by the parties
1194 or the litigation claim is not withdrawn, the rights granted by Participant
1195 to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration
1196 of the 60 day notice period specified above.
1198 (b) any software, hardware, or device, other than such
1199 Participant's Contributor Version, directly or indirectly infringes any
1200 patent, then any rights granted to You by such Participant under Sections
1201 2.1(b) and 2.2(b) are revoked effective as of the date You first made,
1202 used, sold, distributed, or had made, Modifications made by that Participant.
1204 8.3. If You assert a patent infringement claim against
1205 Participant alleging that such Participant's Contributor Version directly
1206 or indirectly infringes any patent where such claim is resolved (such as
1207 by license or settlement) prior to the initiation of patent infringement
1208 litigation, then the reasonable value of the licenses granted by such
1210 under Sections 2.1 or 2.2 shall be taken into account in determining the
1211 amount or value of any payment or license.
1213 8.4. In the event of termination under Sections 8.1 or
1214 8.2 above, all end user license agreements (excluding distributors
1215 and resellers) which have been validly granted by You or any distributor
1216 hereunder prior to termination shall survive termination.
1218 9. LIMITATION OF LIABILITY.
1220 UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING
1221 NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER,
1222 ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER
1223 OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
1224 INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
1225 LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE
1226 OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN
1227 IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.
1228 THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR
1229 PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE
1230 LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
1231 OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION
1232 AND LIMITATION MAY NOT APPLY TO YOU.
1234 10. U.S. GOVERNMENT END USERS.
1236 The Covered Code is a ''commercial item,'' as that term is defined
1237 in 48 C.F.R. 2.101 (Oct. 1995), consisting of ''commercial computer software''
1238 and ''commercial computer software documentation,'' as such terms are used
1239 in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and
1240 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government
1241 End Users acquire Covered Code with only those rights set forth herein.
1245 This License represents the complete agreement concerning subject matter
1246 hereof. If any provision of this License is held to be unenforceable, such
1247 provision shall be reformed only to the extent necessary to make it enforceable.
1249 This License shall be governed by California law provisions (except to
1250 the extent applicable law, if any, provides otherwise), excluding its
1252 provisions. With respect to disputes in which at least one party is a citizen
1253 of, or an entity chartered or registered to do business in the United States
1254 of America, any litigation relating to this License shall be subject to
1255 the jurisdiction of the Federal Courts of the Northern District of California,
1256 with venue lying in Santa Clara County, California, with the losing party
1257 responsible for costs, including without limitation, court costs and reasonable
1258 attorneys' fees and expenses. The application of the United Nations Convention
1259 on Contracts for the International Sale of Goods is expressly excluded.
1260 Any law or regulation which provides that the language of a contract shall
1261 be construed against the drafter shall not apply to this License.
1263 12. RESPONSIBILITY FOR CLAIMS.
1265 As between Initial Developer and the Contributors, each party is responsible
1267 for claims and damages arising, directly or indirectly, out of its utilization
1268 of rights under this License and You agree to work with Initial Developer
1269 and Contributors to distribute such responsibility on an equitable basis.
1270 Nothing herein is intended or shall be deemed to constitute any admission
1273 13. MULTIPLE-LICENSED CODE.
1275 Initial Developer may designate portions of the Covered Code as
1277 Multiple-Licensed means that the Initial Developer permits you to utilize
1278 portions of the Covered Code under Your choice of the MPL or the alternative
1279 licenses, if any, specified by the Initial Developer in the file described
1283 EXHIBIT A -Mozilla Public License.
1285 ``The contents of this file are subject to the Mozilla Public License
1286 Version 1.1 (the "License"); you may not use this file except in compliance
1287 with the License. You may obtain a copy of the License at
1289 http://www.mozilla.org/MPL/
1291 Software distributed under the License is distributed on an "AS IS"
1292 basis, WITHOUT WARRANTY OF
1294 ANY KIND, either express or implied. See the License for the specific language governing rights and
1296 limitations under the License.
1298 The Original Code is ______________________________________.
1300 The Initial Developer of the Original Code is ________________________.
1303 ______________________ are Copyright (C) ______
1304 _______________________.
1309 Contributor(s): ______________________________________.
1311 Alternatively, the contents of this file may be used under the terms
1312 of the _____ license (the [___] License), in which case the provisions
1313 of [______] License are applicable instead of those above.
1314 If you wish to allow use of your version of this file only under the terms
1315 of the [____] License and not to allow others to use your version of this
1316 file under the MPL, indicate your decision by deleting the provisions
1317 above and replace them with the notice and other provisions required
1318 by the [___] License. If you do not delete the provisions above,
1319 a recipient may use your version of this file under either the MPL or the