LICENSE 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. GNU LESSER GENERAL PUBLIC LICENSE
  2. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  3. 0. This License Agreement applies to any software library or other
  4. program which contains a notice placed by the copyright holder or
  5. other authorized party saying it may be distributed under the terms of
  6. this Lesser General Public License (also called "this License").
  7. Each licensee is addressed as "you".
  8. A "library" means a collection of software functions and/or data
  9. prepared so as to be conveniently linked with application programs
  10. (which use some of those functions and data) to form executables.
  11. The "Library", below, refers to any such software library or work
  12. which has been distributed under these terms. A "work based on the
  13. Library" means either the Library or any derivative work under
  14. copyright law: that is to say, a work containing the Library or a
  15. portion of it, either verbatim or with modifications and/or translated
  16. straightforwardly into another language. (Hereinafter, translation is
  17. included without limitation in the term "modification".)
  18. "Source code" for a work means the preferred form of the work for
  19. making modifications to it. For a library, complete source code means
  20. all the source code for all modules it contains, plus any associated
  21. interface definition files, plus the scripts used to control compilation
  22. and installation of the library.
  23. Activities other than copying, distribution and modification are not
  24. covered by this License; they are outside its scope. The act of
  25. running a program using the Library is not restricted, and output from
  26. such a program is covered only if its contents constitute a work based
  27. on the Library (independent of the use of the Library in a tool for
  28. writing it). Whether that is true depends on what the Library does
  29. and what the program that uses the Library does.
  30. 1. You may copy and distribute verbatim copies of the Library's
  31. complete source code as you receive it, in any medium, provided that
  32. you conspicuously and appropriately publish on each copy an
  33. appropriate copyright notice and disclaimer of warranty; keep intact
  34. all the notices that refer to this License and to the absence of any
  35. warranty; and distribute a copy of this License along with the
  36. Library.
  37. You may charge a fee for the physical act of transferring a copy,
  38. and you may at your option offer warranty protection in exchange for a
  39. fee.
  40. 2. You may modify your copy or copies of the Library or any portion
  41. of it, thus forming a work based on the Library, and copy and
  42. distribute such modifications or work under the terms of Section 1
  43. above, provided that you also meet all of these conditions:
  44. a) The modified work must itself be a software library.
  45. b) You must cause the files modified to carry prominent notices
  46. stating that you changed the files and the date of any change.
  47. c) You must cause the whole of the work to be licensed at no
  48. charge to all third parties under the terms of this License.
  49. d) If a facility in the modified Library refers to a function or a
  50. table of data to be supplied by an application program that uses
  51. the facility, other than as an argument passed when the facility
  52. is invoked, then you must make a good faith effort to ensure that,
  53. in the event an application does not supply such function or
  54. table, the facility still operates, and performs whatever part of
  55. its purpose remains meaningful.
  56. (For example, a function in a library to compute square roots has
  57. a purpose that is entirely well-defined independent of the
  58. application. Therefore, Subsection 2d requires that any
  59. application-supplied function or table used by this function must
  60. be optional: if the application does not supply it, the square
  61. root function must still compute square roots.)
  62. These requirements apply to the modified work as a whole. If
  63. identifiable sections of that work are not derived from the Library,
  64. and can be reasonably considered independent and separate works in
  65. themselves, then this License, and its terms, do not apply to those
  66. sections when you distribute them as separate works. But when you
  67. distribute the same sections as part of a whole which is a work based
  68. on the Library, the distribution of the whole must be on the terms of
  69. this License, whose permissions for other licensees extend to the
  70. entire whole, and thus to each and every part regardless of who wrote
  71. it.
  72. Thus, it is not the intent of this section to claim rights or contest
  73. your rights to work written entirely by you; rather, the intent is to
  74. exercise the right to control the distribution of derivative or
  75. collective works based on the Library.
  76. In addition, mere aggregation of another work not based on the Library
  77. with the Library (or with a work based on the Library) on a volume of
  78. a storage or distribution medium does not bring the other work under
  79. the scope of this License.
  80. 3. You may opt to apply the terms of the ordinary GNU General Public
  81. License instead of this License to a given copy of the Library. To do
  82. this, you must alter all the notices that refer to this License, so
  83. that they refer to the ordinary GNU General Public License, version 2,
  84. instead of to this License. (If a newer version than version 2 of the
  85. ordinary GNU General Public License has appeared, then you can specify
  86. that version instead if you wish.) Do not make any other change in
  87. these notices.
  88. Once this change is made in a given copy, it is irreversible for
  89. that copy, so the ordinary GNU General Public License applies to all
  90. subsequent copies and derivative works made from that copy.
  91. This option is useful when you wish to copy part of the code of
  92. the Library into a program that is not a library.
  93. 4. You may copy and distribute the Library (or a portion or
  94. derivative of it, under Section 2) in object code or executable form
  95. under the terms of Sections 1 and 2 above provided that you accompany
  96. it with the complete corresponding machine-readable source code, which
  97. must be distributed under the terms of Sections 1 and 2 above on a
  98. medium customarily used for software interchange.
  99. If distribution of object code is made by offering access to copy
  100. from a designated place, then offering equivalent access to copy the
  101. source code from the same place satisfies the requirement to
  102. distribute the source code, even though third parties are not
  103. compelled to copy the source along with the object code.
  104. 5. A program that contains no derivative of any portion of the
  105. Library, but is designed to work with the Library by being compiled or
  106. linked with it, is called a "work that uses the Library". Such a
  107. work, in isolation, is not a derivative work of the Library, and
  108. therefore falls outside the scope of this License.
  109. However, linking a "work that uses the Library" with the Library
  110. creates an executable that is a derivative of the Library (because it
  111. contains portions of the Library), rather than a "work that uses the
  112. library". The executable is therefore covered by this License.
  113. Section 6 states terms for distribution of such executables.
  114. When a "work that uses the Library" uses material from a header file
  115. that is part of the Library, the object code for the work may be a
  116. derivative work of the Library even though the source code is not.
  117. Whether this is true is especially significant if the work can be
  118. linked without the Library, or if the work is itself a library. The
  119. threshold for this to be true is not precisely defined by law.
  120. If such an object file uses only numerical parameters, data
  121. structure layouts and accessors, and small macros and small inline
  122. functions (ten lines or less in length), then the use of the object
  123. file is unrestricted, regardless of whether it is legally a derivative
  124. work. (Executables containing this object code plus portions of the
  125. Library will still fall under Section 6.)
  126. Otherwise, if the work is a derivative of the Library, you may
  127. distribute the object code for the work under the terms of Section 6.
  128. Any executables containing that work also fall under Section 6,
  129. whether or not they are linked directly with the Library itself.
  130. 6. As an exception to the Sections above, you may also combine or
  131. link a "work that uses the Library" with the Library to produce a
  132. work containing portions of the Library, and distribute that work
  133. under terms of your choice, provided that the terms permit
  134. modification of the work for the customer's own use and reverse
  135. engineering for debugging such modifications.
  136. You must give prominent notice with each copy of the work that the
  137. Library is used in it and that the Library and its use are covered by
  138. this License. You must supply a copy of this License. If the work
  139. during execution displays copyright notices, you must include the
  140. copyright notice for the Library among them, as well as a reference
  141. directing the user to the copy of this License. Also, you must do one
  142. of these things:
  143. a) Accompany the work with the complete corresponding
  144. machine-readable source code for the Library including whatever
  145. changes were used in the work (which must be distributed under
  146. Sections 1 and 2 above); and, if the work is an executable linked
  147. with the Library, with the complete machine-readable "work that
  148. uses the Library", as object code and/or source code, so that the
  149. user can modify the Library and then relink to produce a modified
  150. executable containing the modified Library. (It is understood
  151. that the user who changes the contents of definitions files in the
  152. Library will not necessarily be able to recompile the application
  153. to use the modified definitions.)
  154. b) Use a suitable shared library mechanism for linking with the
  155. Library. A suitable mechanism is one that (1) uses at run time a
  156. copy of the library already present on the user's computer system,
  157. rather than copying library functions into the executable, and (2)
  158. will operate properly with a modified version of the library, if
  159. the user installs one, as long as the modified version is
  160. interface-compatible with the version that the work was made with.
  161. c) Accompany the work with a written offer, valid for at
  162. least three years, to give the same user the materials
  163. specified in Subsection 6a, above, for a charge no more
  164. than the cost of performing this distribution.
  165. d) If distribution of the work is made by offering access to copy
  166. from a designated place, offer equivalent access to copy the above
  167. specified materials from the same place.
  168. e) Verify that the user has already received a copy of these
  169. materials or that you have already sent this user a copy.
  170. For an executable, the required form of the "work that uses the
  171. Library" must include any data and utility programs needed for
  172. reproducing the executable from it. However, as a special exception,
  173. the materials to be distributed need not include anything that is
  174. normally distributed (in either source or binary form) with the major
  175. components (compiler, kernel, and so on) of the operating system on
  176. which the executable runs, unless that component itself accompanies
  177. the executable.
  178. It may happen that this requirement contradicts the license
  179. restrictions of other proprietary libraries that do not normally
  180. accompany the operating system. Such a contradiction means you cannot
  181. use both them and the Library together in an executable that you
  182. distribute.
  183. 7. You may place library facilities that are a work based on the
  184. Library side-by-side in a single library together with other library
  185. facilities not covered by this License, and distribute such a combined
  186. library, provided that the separate distribution of the work based on
  187. the Library and of the other library facilities is otherwise
  188. permitted, and provided that you do these two things:
  189. a) Accompany the combined library with a copy of the same work
  190. based on the Library, uncombined with any other library
  191. facilities. This must be distributed under the terms of the
  192. Sections above.
  193. b) Give prominent notice with the combined library of the fact
  194. that part of it is a work based on the Library, and explaining
  195. where to find the accompanying uncombined form of the same work.
  196. 8. You may not copy, modify, sublicense, link with, or distribute
  197. the Library except as expressly provided under this License. Any
  198. attempt otherwise to copy, modify, sublicense, link with, or
  199. distribute the Library is void, and will automatically terminate your
  200. rights under this License. However, parties who have received copies,
  201. or rights, from you under this License will not have their licenses
  202. terminated so long as such parties remain in full compliance.
  203. 9. You are not required to accept this License, since you have not
  204. signed it. However, nothing else grants you permission to modify or
  205. distribute the Library or its derivative works. These actions are
  206. prohibited by law if you do not accept this License. Therefore, by
  207. modifying or distributing the Library (or any work based on the
  208. Library), you indicate your acceptance of this License to do so, and
  209. all its terms and conditions for copying, distributing or modifying
  210. the Library or works based on it.
  211. 10. Each time you redistribute the Library (or any work based on the
  212. Library), the recipient automatically receives a license from the
  213. original licensor to copy, distribute, link with or modify the Library
  214. subject to these terms and conditions. You may not impose any further
  215. restrictions on the recipients' exercise of the rights granted herein.
  216. You are not responsible for enforcing compliance by third parties with
  217. this License.
  218. 11. If, as a consequence of a court judgment or allegation of patent
  219. infringement or for any other reason (not limited to patent issues),
  220. conditions are imposed on you (whether by court order, agreement or
  221. otherwise) that contradict the conditions of this License, they do not
  222. excuse you from the conditions of this License. If you cannot
  223. distribute so as to satisfy simultaneously your obligations under this
  224. License and any other pertinent obligations, then as a consequence you
  225. may not distribute the Library at all. For example, if a patent
  226. license would not permit royalty-free redistribution of the Library by
  227. all those who receive copies directly or indirectly through you, then
  228. the only way you could satisfy both it and this License would be to
  229. refrain entirely from distribution of the Library.
  230. If any portion of this section is held invalid or unenforceable under any
  231. particular circumstance, the balance of the section is intended to apply,
  232. and the section as a whole is intended to apply in other circumstances.
  233. It is not the purpose of this section to induce you to infringe any
  234. patents or other property right claims or to contest validity of any
  235. such claims; this section has the sole purpose of protecting the
  236. integrity of the free software distribution system which is
  237. implemented by public license practices. Many people have made
  238. generous contributions to the wide range of software distributed
  239. through that system in reliance on consistent application of that
  240. system; it is up to the author/donor to decide if he or she is willing
  241. to distribute software through any other system and a licensee cannot
  242. impose that choice.
  243. This section is intended to make thoroughly clear what is believed to
  244. be a consequence of the rest of this License.
  245. 12. If the distribution and/or use of the Library is restricted in
  246. certain countries either by patents or by copyrighted interfaces, the
  247. original copyright holder who places the Library under this License may add
  248. an explicit geographical distribution limitation excluding those countries,
  249. so that distribution is permitted only in or among countries not thus
  250. excluded. In such case, this License incorporates the limitation as if
  251. written in the body of this License.
  252. 13. The Free Software Foundation may publish revised and/or new
  253. versions of the Lesser General Public License from time to time.
  254. Such new versions will be similar in spirit to the present version,
  255. but may differ in detail to address new problems or concerns.
  256. Each version is given a distinguishing version number. If the Library
  257. specifies a version number of this License which applies to it and
  258. "any later version", you have the option of following the terms and
  259. conditions either of that version or of any later version published by
  260. the Free Software Foundation. If the Library does not specify a
  261. license version number, you may choose any version ever published by
  262. the Free Software Foundation.
  263. 14. If you wish to incorporate parts of the Library into other free
  264. programs whose distribution conditions are incompatible with these,
  265. write to the author to ask for permission. For software which is
  266. copyrighted by the Free Software Foundation, write to the Free
  267. Software Foundation; we sometimes make exceptions for this. Our
  268. decision will be guided by the two goals of preserving the free status
  269. of all derivatives of our free software and of promoting the sharing
  270. and reuse of software generally.
  271. NO WARRANTY
  272. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  273. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  274. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  275. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  276. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  277. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  278. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  279. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  280. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  281. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  282. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  283. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  284. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  285. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  286. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  287. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  288. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  289. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  290. DAMAGES.
  291. END OF TERMS AND CONDITIONS