root/oss/jlib/COPYING

Revision 758, 68.9 kB (checked in by sylvain, 4 months ago)

Removed incorrect header terms

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