COPYING 69 KB

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