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