fix haddock submodule pointer
[ghc-hetmet.git] / distrib / windows-installer-licences.txt
1
2 Components of this bundle are distributed under various licences,
3 including the following:
4
5 ------------------------------------------------------------------------
6
7 All rights reserved.
8
9 Redistribution and use in source and binary forms, with or without
10 modification, are permitted provided that the following conditions
11 are met:
12 1. Redistributions of source code must retain the above copyright
13    notice, this list of conditions and the following disclaimer.
14 2. Redistributions in binary form must reproduce the above copyright
15    notice, this list of conditions and the following disclaimer in the
16    documentation and/or other materials provided with the distribution.
17 3. Neither the names of the copyright holders nor the names of its
18    contributors may be used to endorse or promote products derived from
19    this software without specific prior written permission.
20
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
22 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
23 TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
24 PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
25 HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
27 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
28 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
29 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
30 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
33 ------------------------------------------------------------------------
34
35 The authors intend this Report to belong to the entire Haskell
36 community, and so we grant permission to copy and distribute it for
37 any purpose, provided that it is reproduced in its entirety,
38 including this Notice.  Modified versions of this Report may also be
39 copied and distributed for any purpose, provided that the modified
40 version is clearly presented as such, and that it does not claim to
41 be a definition of the Haskell 98 Language or the Haskell 98 Foreign
42 Function Interface.
43
44 ------------------------------------------------------------------------
45
46 Permission is hereby granted, free of charge, to any person obtaining
47 a copy of this software and associated documentation files (the
48 ``Software''), to deal in the Software without restriction, including
49 without limitation the rights to use, copy, modify, merge, publish,
50 distribute, sublicense, and/or sell copies of the Software, and to
51 permit persons to whom the Software is furnished to do so, subject to
52 the following conditions:
53
54 The above copyright notice and this permission notice shall be included
55 in all copies or substantial portions of the Software.
56
57 THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
58 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
60 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
61 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
62 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
63 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64
65 ------------------------------------------------------------------------
66
67                          The "Artistic License"
68
69                                 Preamble
70
71 The intent of this document is to state the conditions under which a
72 Package may be copied, such that the Copyright Holder maintains some
73 semblance of artistic control over the development of the package,
74 while giving the users of the package the right to use and distribute
75 the Package in a more-or-less customary fashion, plus the right to make
76 reasonable modifications.
77
78 Definitions:
79
80         "Package" refers to the collection of files distributed by the
81         Copyright Holder, and derivatives of that collection of files
82         created through textual modification.
83
84         "Standard Version" refers to such a Package if it has not been
85         modified, or has been modified in accordance with the wishes
86         of the Copyright Holder as specified below.
87
88         "Copyright Holder" is whoever is named in the copyright or
89         copyrights for the package.
90
91         "You" is you, if you're thinking about copying or distributing
92         this Package.
93
94         "Reasonable copying fee" is whatever you can justify on the
95         basis of media cost, duplication charges, time of people involved,
96         and so on.  (You will not be required to justify it to the
97         Copyright Holder, but only to the computing community at large
98         as a market that must bear the fee.)
99
100         "Freely Available" means that no fee is charged for the item
101         itself, though there may be fees involved in handling the item.
102         It also means that recipients of the item may redistribute it
103         under the same conditions they received it.
104
105 1. You may make and give away verbatim copies of the source form of the
106 Standard Version of this Package without restriction, provided that you
107 duplicate all of the original copyright notices and associated disclaimers.
108
109 2. You may apply bug fixes, portability fixes and other modifications
110 derived from the Public Domain or from the Copyright Holder.  A Package
111 modified in such a way shall still be considered the Standard Version.
112
113 3. You may otherwise modify your copy of this Package in any way, provided
114 that you insert a prominent notice in each changed file stating how and
115 when you changed that file, and provided that you do at least ONE of the
116 following:
117
118     a) place your modifications in the Public Domain or otherwise make them
119     Freely Available, such as by posting said modifications to Usenet or
120     an equivalent medium, or placing the modifications on a major archive
121     site such as uunet.uu.net, or by allowing the Copyright Holder to include
122     your modifications in the Standard Version of the Package.
123
124     b) use the modified Package only within your corporation or organization.
125
126     c) rename any non-standard executables so the names do not conflict
127     with standard executables, which must also be provided, and provide
128     a separate manual page for each non-standard executable that clearly
129     documents how it differs from the Standard Version.
130
131     d) make other distribution arrangements with the Copyright Holder.
132
133 4. You may distribute the programs of this Package in object code or
134 executable form, provided that you do at least ONE of the following:
135
136     a) distribute a Standard Version of the executables and library files,
137     together with instructions (in the manual page or equivalent) on where
138     to get the Standard Version.
139
140     b) accompany the distribution with the machine-readable source of
141     the Package with your modifications.
142
143     c) give non-standard executables non-standard names, and clearly
144     document the differences in manual pages (or equivalent), together
145     with instructions on where to get the Standard Version.
146
147     d) make other distribution arrangements with the Copyright Holder.
148
149 5. You may charge a reasonable copying fee for any distribution of this
150 Package.  You may charge any fee you choose for support of this
151 Package.  You may not charge a fee for this Package itself.  However,
152 you may distribute this Package in aggregate with other (possibly
153 commercial) programs as part of a larger (possibly commercial) software
154 distribution provided that you do not advertise this Package as a
155 product of your own.  You may embed this Package's interpreter within
156 an executable of yours (by linking); this shall be construed as a mere
157 form of aggregation, provided that the complete Standard Version of the
158 interpreter is so embedded.
159
160 6. The scripts and library files supplied as input to or produced as
161 output from the programs of this Package do not automatically fall
162 under the copyright of this Package, but belong to whoever generated
163 them, and may be sold commercially, and may be aggregated with this
164 Package.  If such scripts or library files are aggregated with this
165 Package via the so-called "undump" or "unexec" methods of producing a
166 binary executable image, then distribution of such an image shall
167 neither be construed as a distribution of this Package nor shall it
168 fall under the restrictions of Paragraphs 3 and 4, provided that you do
169 not represent such an executable image as a Standard Version of this
170 Package.
171
172 7. C subroutines (or comparably compiled subroutines in other
173 languages) supplied by you and linked into this Package in order to
174 emulate subroutines and variables of the language defined by this
175 Package shall not be considered part of this Package, but are the
176 equivalent of input as in Paragraph 6, provided these subroutines do
177 not change the language in any way that would cause it to fail the
178 regression tests for the language.
179
180 8. Aggregation of this Package with a commercial distribution is always
181 permitted provided that the use of this Package is embedded; that is,
182 when no overt attempt is made to make this Package's interfaces visible
183 to the end user of the commercial distribution.  Such use shall not be
184 construed as a distribution of this Package.
185
186 9. The name of the Copyright Holder may not be used to endorse or promote
187 products derived from this software without specific prior written permission.
188
189 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
190 IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
191 WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
192
193                                 The End
194
195 ------------------------------------------------------------------------
196
197                     GNU GENERAL PUBLIC LICENSE
198                        Version 2, June 1991
199
200  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
201  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
202  Everyone is permitted to copy and distribute verbatim copies
203  of this license document, but changing it is not allowed.
204
205                             Preamble
206
207   The licenses for most software are designed to take away your
208 freedom to share and change it.  By contrast, the GNU General Public
209 License is intended to guarantee your freedom to share and change free
210 software--to make sure the software is free for all its users.  This
211 General Public License applies to most of the Free Software
212 Foundation's software and to any other program whose authors commit to
213 using it.  (Some other Free Software Foundation software is covered by
214 the GNU Lesser General Public License instead.)  You can apply it to
215 your programs, too.
216
217   When we speak of free software, we are referring to freedom, not
218 price.  Our General Public Licenses are designed to make sure that you
219 have the freedom to distribute copies of free software (and charge for
220 this service if you wish), that you receive source code or can get it
221 if you want it, that you can change the software or use pieces of it
222 in new free programs; and that you know you can do these things.
223
224   To protect your rights, we need to make restrictions that forbid
225 anyone to deny you these rights or to ask you to surrender the rights.
226 These restrictions translate to certain responsibilities for you if you
227 distribute copies of the software, or if you modify it.
228
229   For example, if you distribute copies of such a program, whether
230 gratis or for a fee, you must give the recipients all the rights that
231 you have.  You must make sure that they, too, receive or can get the
232 source code.  And you must show them these terms so they know their
233 rights.
234
235   We protect your rights with two steps: (1) copyright the software, and
236 (2) offer you this license which gives you legal permission to copy,
237 distribute and/or modify the software.
238
239   Also, for each author's protection and ours, we want to make certain
240 that everyone understands that there is no warranty for this free
241 software.  If the software is modified by someone else and passed on, we
242 want its recipients to know that what they have is not the original, so
243 that any problems introduced by others will not reflect on the original
244 authors' reputations.
245
246   Finally, any free program is threatened constantly by software
247 patents.  We wish to avoid the danger that redistributors of a free
248 program will individually obtain patent licenses, in effect making the
249 program proprietary.  To prevent this, we have made it clear that any
250 patent must be licensed for everyone's free use or not licensed at all.
251
252   The precise terms and conditions for copying, distribution and
253 modification follow.
254
255                     GNU GENERAL PUBLIC LICENSE
256    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
257
258   0. This License applies to any program or other work which contains
259 a notice placed by the copyright holder saying it may be distributed
260 under the terms of this General Public License.  The "Program", below,
261 refers to any such program or work, and a "work based on the Program"
262 means either the Program or any derivative work under copyright law:
263 that is to say, a work containing the Program or a portion of it,
264 either verbatim or with modifications and/or translated into another
265 language.  (Hereinafter, translation is included without limitation in
266 the term "modification".)  Each licensee is addressed as "you".
267
268 Activities other than copying, distribution and modification are not
269 covered by this License; they are outside its scope.  The act of
270 running the Program is not restricted, and the output from the Program
271 is covered only if its contents constitute a work based on the
272 Program (independent of having been made by running the Program).
273 Whether that is true depends on what the Program does.
274
275   1. You may copy and distribute verbatim copies of the Program's
276 source code as you receive it, in any medium, provided that you
277 conspicuously and appropriately publish on each copy an appropriate
278 copyright notice and disclaimer of warranty; keep intact all the
279 notices that refer to this License and to the absence of any warranty;
280 and give any other recipients of the Program a copy of this License
281 along with the Program.
282
283 You may charge a fee for the physical act of transferring a copy, and
284 you may at your option offer warranty protection in exchange for a fee.
285
286   2. You may modify your copy or copies of the Program or any portion
287 of it, thus forming a work based on the Program, and copy and
288 distribute such modifications or work under the terms of Section 1
289 above, provided that you also meet all of these conditions:
290
291     a) You must cause the modified files to carry prominent notices
292     stating that you changed the files and the date of any change.
293
294     b) You must cause any work that you distribute or publish, that in
295     whole or in part contains or is derived from the Program or any
296     part thereof, to be licensed as a whole at no charge to all third
297     parties under the terms of this License.
298
299     c) If the modified program normally reads commands interactively
300     when run, you must cause it, when started running for such
301     interactive use in the most ordinary way, to print or display an
302     announcement including an appropriate copyright notice and a
303     notice that there is no warranty (or else, saying that you provide
304     a warranty) and that users may redistribute the program under
305     these conditions, and telling the user how to view a copy of this
306     License.  (Exception: if the Program itself is interactive but
307     does not normally print such an announcement, your work based on
308     the Program is not required to print an announcement.)
309
310 These requirements apply to the modified work as a whole.  If
311 identifiable sections of that work are not derived from the Program,
312 and can be reasonably considered independent and separate works in
313 themselves, then this License, and its terms, do not apply to those
314 sections when you distribute them as separate works.  But when you
315 distribute the same sections as part of a whole which is a work based
316 on the Program, the distribution of the whole must be on the terms of
317 this License, whose permissions for other licensees extend to the
318 entire whole, and thus to each and every part regardless of who wrote it.
319
320 Thus, it is not the intent of this section to claim rights or contest
321 your rights to work written entirely by you; rather, the intent is to
322 exercise the right to control the distribution of derivative or
323 collective works based on the Program.
324
325 In addition, mere aggregation of another work not based on the Program
326 with the Program (or with a work based on the Program) on a volume of
327 a storage or distribution medium does not bring the other work under
328 the scope of this License.
329
330   3. You may copy and distribute the Program (or a work based on it,
331 under Section 2) in object code or executable form under the terms of
332 Sections 1 and 2 above provided that you also do one of the following:
333
334     a) Accompany it with the complete corresponding machine-readable
335     source code, which must be distributed under the terms of Sections
336     1 and 2 above on a medium customarily used for software interchange; or,
337
338     b) Accompany it with a written offer, valid for at least three
339     years, to give any third party, for a charge no more than your
340     cost of physically performing source distribution, a complete
341     machine-readable copy of the corresponding source code, to be
342     distributed under the terms of Sections 1 and 2 above on a medium
343     customarily used for software interchange; or,
344
345     c) Accompany it with the information you received as to the offer
346     to distribute corresponding source code.  (This alternative is
347     allowed only for noncommercial distribution and only if you
348     received the program in object code or executable form with such
349     an offer, in accord with Subsection b above.)
350
351 The source code for a work means the preferred form of the work for
352 making modifications to it.  For an executable work, complete source
353 code means all the source code for all modules it contains, plus any
354 associated interface definition files, plus the scripts used to
355 control compilation and installation of the executable.  However, as a
356 special exception, the source code distributed need not include
357 anything that is normally distributed (in either source or binary
358 form) with the major components (compiler, kernel, and so on) of the
359 operating system on which the executable runs, unless that component
360 itself accompanies the executable.
361
362 If distribution of executable or object code is made by offering
363 access to copy from a designated place, then offering equivalent
364 access to copy the source code from the same place counts as
365 distribution of the source code, even though third parties are not
366 compelled to copy the source along with the object code.
367
368   4. You may not copy, modify, sublicense, or distribute the Program
369 except as expressly provided under this License.  Any attempt
370 otherwise to copy, modify, sublicense or distribute the Program is
371 void, and will automatically terminate your rights under this License.
372 However, parties who have received copies, or rights, from you under
373 this License will not have their licenses terminated so long as such
374 parties remain in full compliance.
375
376   5. You are not required to accept this License, since you have not
377 signed it.  However, nothing else grants you permission to modify or
378 distribute the Program or its derivative works.  These actions are
379 prohibited by law if you do not accept this License.  Therefore, by
380 modifying or distributing the Program (or any work based on the
381 Program), you indicate your acceptance of this License to do so, and
382 all its terms and conditions for copying, distributing or modifying
383 the Program or works based on it.
384
385   6. Each time you redistribute the Program (or any work based on the
386 Program), the recipient automatically receives a license from the
387 original licensor to copy, distribute or modify the Program subject to
388 these terms and conditions.  You may not impose any further
389 restrictions on the recipients' exercise of the rights granted herein.
390 You are not responsible for enforcing compliance by third parties to
391 this License.
392
393   7. If, as a consequence of a court judgment or allegation of patent
394 infringement or for any other reason (not limited to patent issues),
395 conditions are imposed on you (whether by court order, agreement or
396 otherwise) that contradict the conditions of this License, they do not
397 excuse you from the conditions of this License.  If you cannot
398 distribute so as to satisfy simultaneously your obligations under this
399 License and any other pertinent obligations, then as a consequence you
400 may not distribute the Program at all.  For example, if a patent
401 license would not permit royalty-free redistribution of the Program by
402 all those who receive copies directly or indirectly through you, then
403 the only way you could satisfy both it and this License would be to
404 refrain entirely from distribution of the Program.
405
406 If any portion of this section is held invalid or unenforceable under
407 any particular circumstance, the balance of the section is intended to
408 apply and the section as a whole is intended to apply in other
409 circumstances.
410
411 It is not the purpose of this section to induce you to infringe any
412 patents or other property right claims or to contest validity of any
413 such claims; this section has the sole purpose of protecting the
414 integrity of the free software distribution system, which is
415 implemented by public license practices.  Many people have made
416 generous contributions to the wide range of software distributed
417 through that system in reliance on consistent application of that
418 system; it is up to the author/donor to decide if he or she is willing
419 to distribute software through any other system and a licensee cannot
420 impose that choice.
421
422 This section is intended to make thoroughly clear what is believed to
423 be a consequence of the rest of this License.
424
425   8. If the distribution and/or use of the Program is restricted in
426 certain countries either by patents or by copyrighted interfaces, the
427 original copyright holder who places the Program under this License
428 may add an explicit geographical distribution limitation excluding
429 those countries, so that distribution is permitted only in or among
430 countries not thus excluded.  In such case, this License incorporates
431 the limitation as if written in the body of this License.
432
433   9. The Free Software Foundation may publish revised and/or new versions
434 of the General Public License from time to time.  Such new versions will
435 be similar in spirit to the present version, but may differ in detail to
436 address new problems or concerns.
437
438 Each version is given a distinguishing version number.  If the Program
439 specifies a version number of this License which applies to it and "any
440 later version", you have the option of following the terms and conditions
441 either of that version or of any later version published by the Free
442 Software Foundation.  If the Program does not specify a version number of
443 this License, you may choose any version ever published by the Free Software
444 Foundation.
445
446   10. If you wish to incorporate parts of the Program into other free
447 programs whose distribution conditions are different, write to the author
448 to ask for permission.  For software which is copyrighted by the Free
449 Software Foundation, write to the Free Software Foundation; we sometimes
450 make exceptions for this.  Our decision will be guided by the two goals
451 of preserving the free status of all derivatives of our free software and
452 of promoting the sharing and reuse of software generally.
453
454                             NO WARRANTY
455
456   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
457 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
458 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
459 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
460 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
461 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
462 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
463 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
464 REPAIR OR CORRECTION.
465
466   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
467 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
468 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
469 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
470 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
471 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
472 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
473 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
474 POSSIBILITY OF SUCH DAMAGES.
475
476                      END OF TERMS AND CONDITIONS
477
478             How to Apply These Terms to Your New Programs
479
480   If you develop a new program, and you want it to be of the greatest
481 possible use to the public, the best way to achieve this is to make it
482 free software which everyone can redistribute and change under these terms.
483
484   To do so, attach the following notices to the program.  It is safest
485 to attach them to the start of each source file to most effectively
486 convey the exclusion of warranty; and each file should have at least
487 the "copyright" line and a pointer to where the full notice is found.
488
489     <one line to give the program's name and a brief idea of what it does.>
490     Copyright (C) <year>  <name of author>
491
492     This program is free software; you can redistribute it and/or modify
493     it under the terms of the GNU General Public License as published by
494     the Free Software Foundation; either version 2 of the License, or
495     (at your option) any later version.
496
497     This program is distributed in the hope that it will be useful,
498     but WITHOUT ANY WARRANTY; without even the implied warranty of
499     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
500     GNU General Public License for more details.
501
502     You should have received a copy of the GNU General Public License along
503     with this program; if not, write to the Free Software Foundation, Inc.,
504     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
505
506 Also add information on how to contact you by electronic and paper mail.
507
508 If the program is interactive, make it output a short notice like this
509 when it starts in an interactive mode:
510
511     Gnomovision version 69, Copyright (C) year name of author
512     Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
513     This is free software, and you are welcome to redistribute it
514     under certain conditions; type `show c' for details.
515
516 The hypothetical commands `show w' and `show c' should show the appropriate
517 parts of the General Public License.  Of course, the commands you use may
518 be called something other than `show w' and `show c'; they could even be
519 mouse-clicks or menu items--whatever suits your program.
520
521 You should also get your employer (if you work as a programmer) or your
522 school, if any, to sign a "copyright disclaimer" for the program, if
523 necessary.  Here is a sample; alter the names:
524
525   Yoyodyne, Inc., hereby disclaims all copyright interest in the program
526   `Gnomovision' (which makes passes at compilers) written by James Hacker.
527
528   <signature of Ty Coon>, 1 April 1989
529   Ty Coon, President of Vice
530
531 This General Public License does not permit incorporating your program into
532 proprietary programs.  If your program is a subroutine library, you may
533 consider it more useful to permit linking proprietary applications with the
534 library.  If this is what you want to do, use the GNU Lesser General
535 Public License instead of this License.
536
537 ------------------------------------------------------------------------
538
539                    GNU LESSER GENERAL PUBLIC LICENSE
540                        Version 3, 29 June 2007
541
542  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
543  Everyone is permitted to copy and distribute verbatim copies
544  of this license document, but changing it is not allowed.
545
546
547   This version of the GNU Lesser General Public License incorporates
548 the terms and conditions of version 3 of the GNU General Public
549 License, supplemented by the additional permissions listed below.
550
551   0. Additional Definitions.
552
553   As used herein, "this License" refers to version 3 of the GNU Lesser
554 General Public License, and the "GNU GPL" refers to version 3 of the GNU
555 General Public License.
556
557   "The Library" refers to a covered work governed by this License,
558 other than an Application or a Combined Work as defined below.
559
560   An "Application" is any work that makes use of an interface provided
561 by the Library, but which is not otherwise based on the Library.
562 Defining a subclass of a class defined by the Library is deemed a mode
563 of using an interface provided by the Library.
564
565   A "Combined Work" is a work produced by combining or linking an
566 Application with the Library.  The particular version of the Library
567 with which the Combined Work was made is also called the "Linked
568 Version".
569
570   The "Minimal Corresponding Source" for a Combined Work means the
571 Corresponding Source for the Combined Work, excluding any source code
572 for portions of the Combined Work that, considered in isolation, are
573 based on the Application, and not on the Linked Version.
574
575   The "Corresponding Application Code" for a Combined Work means the
576 object code and/or source code for the Application, including any data
577 and utility programs needed for reproducing the Combined Work from the
578 Application, but excluding the System Libraries of the Combined Work.
579
580   1. Exception to Section 3 of the GNU GPL.
581
582   You may convey a covered work under sections 3 and 4 of this License
583 without being bound by section 3 of the GNU GPL.
584
585   2. Conveying Modified Versions.
586
587   If you modify a copy of the Library, and, in your modifications, a
588 facility refers to a function or data to be supplied by an Application
589 that uses the facility (other than as an argument passed when the
590 facility is invoked), then you may convey a copy of the modified
591 version:
592
593    a) under this License, provided that you make a good faith effort to
594    ensure that, in the event an Application does not supply the
595    function or data, the facility still operates, and performs
596    whatever part of its purpose remains meaningful, or
597
598    b) under the GNU GPL, with none of the additional permissions of
599    this License applicable to that copy.
600
601   3. Object Code Incorporating Material from Library Header Files.
602
603   The object code form of an Application may incorporate material from
604 a header file that is part of the Library.  You may convey such object
605 code under terms of your choice, provided that, if the incorporated
606 material is not limited to numerical parameters, data structure
607 layouts and accessors, or small macros, inline functions and templates
608 (ten or fewer lines in length), you do both of the following:
609
610    a) Give prominent notice with each copy of the object code that the
611    Library is used in it and that the Library and its use are
612    covered by this License.
613
614    b) Accompany the object code with a copy of the GNU GPL and this license
615    document.
616
617   4. Combined Works.
618
619   You may convey a Combined Work under terms of your choice that,
620 taken together, effectively do not restrict modification of the
621 portions of the Library contained in the Combined Work and reverse
622 engineering for debugging such modifications, if you also do each of
623 the following:
624
625    a) Give prominent notice with each copy of the Combined Work that
626    the Library is used in it and that the Library and its use are
627    covered by this License.
628
629    b) Accompany the Combined Work with a copy of the GNU GPL and this license
630    document.
631
632    c) For a Combined Work that displays copyright notices during
633    execution, include the copyright notice for the Library among
634    these notices, as well as a reference directing the user to the
635    copies of the GNU GPL and this license document.
636
637    d) Do one of the following:
638
639        0) Convey the Minimal Corresponding Source under the terms of this
640        License, and the Corresponding Application Code in a form
641        suitable for, and under terms that permit, the user to
642        recombine or relink the Application with a modified version of
643        the Linked Version to produce a modified Combined Work, in the
644        manner specified by section 6 of the GNU GPL for conveying
645        Corresponding Source.
646
647        1) Use a suitable shared library mechanism for linking with the
648        Library.  A suitable mechanism is one that (a) uses at run time
649        a copy of the Library already present on the user's computer
650        system, and (b) will operate properly with a modified version
651        of the Library that is interface-compatible with the Linked
652        Version.
653
654    e) Provide Installation Information, but only if you would otherwise
655    be required to provide such information under section 6 of the
656    GNU GPL, and only to the extent that such information is
657    necessary to install and execute a modified version of the
658    Combined Work produced by recombining or relinking the
659    Application with a modified version of the Linked Version. (If
660    you use option 4d0, the Installation Information must accompany
661    the Minimal Corresponding Source and Corresponding Application
662    Code. If you use option 4d1, you must provide the Installation
663    Information in the manner specified by section 6 of the GNU GPL
664    for conveying Corresponding Source.)
665
666   5. Combined Libraries.
667
668   You may place library facilities that are a work based on the
669 Library side by side in a single library together with other library
670 facilities that are not Applications and are not covered by this
671 License, and convey such a combined library under terms of your
672 choice, if you do both of the following:
673
674    a) Accompany the combined library with a copy of the same work based
675    on the Library, uncombined with any other library facilities,
676    conveyed under the terms of this License.
677
678    b) Give prominent notice with the combined library that part of it
679    is a work based on the Library, and explaining where to find the
680    accompanying uncombined form of the same work.
681
682   6. Revised Versions of the GNU Lesser General Public License.
683
684   The Free Software Foundation may publish revised and/or new versions
685 of the GNU Lesser General Public License from time to time. Such new
686 versions will be similar in spirit to the present version, but may
687 differ in detail to address new problems or concerns.
688
689   Each version is given a distinguishing version number. If the
690 Library as you received it specifies that a certain numbered version
691 of the GNU Lesser General Public License "or any later version"
692 applies to it, you have the option of following the terms and
693 conditions either of that published version or of any later version
694 published by the Free Software Foundation. If the Library as you
695 received it does not specify a version number of the GNU Lesser
696 General Public License, you may choose any version of the GNU Lesser
697 General Public License ever published by the Free Software Foundation.
698
699   If the Library as you received it specifies that a proxy can decide
700 whether future versions of the GNU Lesser General Public License shall
701 apply, that proxy's public statement of acceptance of any version is
702 permanent authorization for you to choose that version for the
703 Library.
704