PageRenderTime 41ms CodeModel.GetById 15ms RepoModel.GetById 1ms app.codeStats 0ms

License | 228 lines | 184 code | 44 blank | 0 comment | 0 complexity | ed506c8c1abf07f9caf7bd288ad387ee MD5 | raw file
Possible License(s): LGPL-3.0
  1. Preamble to the Gnu Lesser General Public License
  2. Copyright (c) 2000 Franz Incorporated, Berkeley, CA 94704
  3. The concept of the GNU Lesser General Public License version 2.1
  4. ("LGPL") has been adopted to govern the use and distribution of
  5. above-mentioned application. However, the LGPL uses terminology that
  6. is more appropriate for a program written in C than one written in
  7. Lisp. Nevertheless, the LGPL can still be applied to a Lisp program if
  8. certain clarifications are made. This document details those
  9. clarifications. Accordingly, the license for the open-source Lisp
  10. applications consists of this document plus the LGPL. Wherever there
  11. is a conflict between this document and the LGPL, this document takes
  12. precedence over the LGPL.
  13. A "Library" in Lisp is a collection of Lisp functions, data and
  14. foreign modules. The form of the Library can be Lisp source code (for
  15. processing by an interpreter) or object code (usually the result of
  16. compilation of source code or built with some other
  17. mechanisms). Foreign modules are object code in a form that can be
  18. linked into a Lisp executable. When we speak of functions we do so in
  19. the most general way to include, in addition, methods and unnamed
  20. functions. Lisp "data" is also a general term that includes the data
  21. structures resulting from defining Lisp classes. A Lisp application
  22. may include the same set of Lisp objects as does a Library, but this
  23. does not mean that the application is necessarily a "work based on the
  24. Library" it contains.
  25. The Library consists of everything in the distribution file set before
  26. any modifications are made to the files. If any of the functions or
  27. classes in the Library are redefined in other files, then those
  28. redefinitions ARE considered a work based on the Library. If
  29. additional methods are added to generic functions in the Library,
  30. those additional methods are NOT considered a work based on the
  31. Library. If Library classes are subclassed, these subclasses are NOT
  32. considered a work based on the Library. If the Library is modified to
  33. explicitly call other functions that are neither part of Lisp itself
  34. nor an available add-on module to Lisp, then the functions called by
  35. the modified Library ARE considered a work based on the Library. The
  36. goal is to ensure that the Library will compile and run without
  37. getting undefined function errors.
  38. It is permitted to add proprietary source code to the Library, but it
  39. must be done in a way such that the Library will still run without
  40. that proprietary code present. Section 5 of the LGPL distinguishes
  41. between the case of a library being dynamically linked at runtime and
  42. one being statically linked at build time. Section 5 of the LGPL
  43. states that the former results in an executable that is a "work that
  44. uses the Library." Section 5 of the LGPL states that the latter
  45. results in one that is a "derivative of the Library", which is
  46. therefore covered by the LGPL. Since Lisp only offers one choice,
  47. which is to link the Library into an executable at build time, we
  48. declare that, for the purpose applying the LGPL to the Library, an
  49. executable that results from linking a "work that uses the Library"
  50. with the Library is considered a "work that uses the Library" and is
  51. therefore NOT covered by the LGPL.
  52. Because of this declaration, section 6 of LGPL is not applicable to
  53. the Library. However, in connection with each distribution of this
  54. executable, you must also deliver, in accordance with the terms and
  55. conditions of the LGPL, the source code of Library (or your derivative
  56. thereof) that is incorporated into this executable.
  58. Version 3, 29 June 2007
  59. Copyright (C) 2007 Free Software Foundation, Inc. <>
  60. Everyone is permitted to copy and distribute verbatim copies
  61. of this license document, but changing it is not allowed.
  62. This version of the GNU Lesser General Public License incorporates
  63. the terms and conditions of version 3 of the GNU General Public
  64. License, supplemented by the additional permissions listed below.
  65. 0. Additional Definitions.
  66. As used herein, "this License" refers to version 3 of the GNU Lesser
  67. General Public License, and the "GNU GPL" refers to version 3 of the GNU
  68. General Public License.
  69. "The Library" refers to a covered work governed by this License,
  70. other than an Application or a Combined Work as defined below.
  71. An "Application" is any work that makes use of an interface provided
  72. by the Library, but which is not otherwise based on the Library.
  73. Defining a subclass of a class defined by the Library is deemed a mode
  74. of using an interface provided by the Library.
  75. A "Combined Work" is a work produced by combining or linking an
  76. Application with the Library. The particular version of the Library
  77. with which the Combined Work was made is also called the "Linked
  78. Version".
  79. The "Minimal Corresponding Source" for a Combined Work means the
  80. Corresponding Source for the Combined Work, excluding any source code
  81. for portions of the Combined Work that, considered in isolation, are
  82. based on the Application, and not on the Linked Version.
  83. The "Corresponding Application Code" for a Combined Work means the
  84. object code and/or source code for the Application, including any data
  85. and utility programs needed for reproducing the Combined Work from the
  86. Application, but excluding the System Libraries of the Combined Work.
  87. 1. Exception to Section 3 of the GNU GPL.
  88. You may convey a covered work under sections 3 and 4 of this License
  89. without being bound by section 3 of the GNU GPL.
  90. 2. Conveying Modified Versions.
  91. If you modify a copy of the Library, and, in your modifications, a
  92. facility refers to a function or data to be supplied by an Application
  93. that uses the facility (other than as an argument passed when the
  94. facility is invoked), then you may convey a copy of the modified
  95. version:
  96. a) under this License, provided that you make a good faith effort to
  97. ensure that, in the event an Application does not supply the
  98. function or data, the facility still operates, and performs
  99. whatever part of its purpose remains meaningful, or
  100. b) under the GNU GPL, with none of the additional permissions of
  101. this License applicable to that copy.
  102. 3. Object Code Incorporating Material from Library Header Files.
  103. The object code form of an Application may incorporate material from
  104. a header file that is part of the Library. You may convey such object
  105. code under terms of your choice, provided that, if the incorporated
  106. material is not limited to numerical parameters, data structure
  107. layouts and accessors, or small macros, inline functions and templates
  108. (ten or fewer lines in length), you do both of the following:
  109. a) Give prominent notice with each copy of the object code that the
  110. Library is used in it and that the Library and its use are
  111. covered by this License.
  112. b) Accompany the object code with a copy of the GNU GPL and this license
  113. document.
  114. 4. Combined Works.
  115. You may convey a Combined Work under terms of your choice that,
  116. taken together, effectively do not restrict modification of the
  117. portions of the Library contained in the Combined Work and reverse
  118. engineering for debugging such modifications, if you also do each of
  119. the following:
  120. a) Give prominent notice with each copy of the Combined Work that
  121. the Library is used in it and that the Library and its use are
  122. covered by this License.
  123. b) Accompany the Combined Work with a copy of the GNU GPL and this license
  124. document.
  125. c) For a Combined Work that displays copyright notices during
  126. execution, include the copyright notice for the Library among
  127. these notices, as well as a reference directing the user to the
  128. copies of the GNU GPL and this license document.
  129. d) Do one of the following:
  130. 0) Convey the Minimal Corresponding Source under the terms of this
  131. License, and the Corresponding Application Code in a form
  132. suitable for, and under terms that permit, the user to
  133. recombine or relink the Application with a modified version of
  134. the Linked Version to produce a modified Combined Work, in the
  135. manner specified by section 6 of the GNU GPL for conveying
  136. Corresponding Source.
  137. 1) Use a suitable shared library mechanism for linking with the
  138. Library. A suitable mechanism is one that (a) uses at run time
  139. a copy of the Library already present on the user's computer
  140. system, and (b) will operate properly with a modified version
  141. of the Library that is interface-compatible with the Linked
  142. Version.
  143. e) Provide Installation Information, but only if you would otherwise
  144. be required to provide such information under section 6 of the
  145. GNU GPL, and only to the extent that such information is
  146. necessary to install and execute a modified version of the
  147. Combined Work produced by recombining or relinking the
  148. Application with a modified version of the Linked Version. (If
  149. you use option 4d0, the Installation Information must accompany
  150. the Minimal Corresponding Source and Corresponding Application
  151. Code. If you use option 4d1, you must provide the Installation
  152. Information in the manner specified by section 6 of the GNU GPL
  153. for conveying Corresponding Source.)
  154. 5. Combined Libraries.
  155. You may place library facilities that are a work based on the
  156. Library side by side in a single library together with other library
  157. facilities that are not Applications and are not covered by this
  158. License, and convey such a combined library under terms of your
  159. choice, if you do both of the following:
  160. a) Accompany the combined library with a copy of the same work based
  161. on the Library, uncombined with any other library facilities,
  162. conveyed under the terms of this License.
  163. b) Give prominent notice with the combined library that part of it
  164. is a work based on the Library, and explaining where to find the
  165. accompanying uncombined form of the same work.
  166. 6. Revised Versions of the GNU Lesser General Public License.
  167. The Free Software Foundation may publish revised and/or new versions
  168. of the GNU Lesser General Public License from time to time. Such new
  169. versions will be similar in spirit to the present version, but may
  170. differ in detail to address new problems or concerns.
  171. Each version is given a distinguishing version number. If the
  172. Library as you received it specifies that a certain numbered version
  173. of the GNU Lesser General Public License "or any later version"
  174. applies to it, you have the option of following the terms and
  175. conditions either of that published version or of any later version
  176. published by the Free Software Foundation. If the Library as you
  177. received it does not specify a version number of the GNU Lesser
  178. General Public License, you may choose any version of the GNU Lesser
  179. General Public License ever published by the Free Software Foundation.
  180. If the Library as you received it specifies that a proxy can decide
  181. whether future versions of the GNU Lesser General Public License shall
  182. apply, that proxy's public statement of acceptance of any version is
  183. permanent authorization for you to choose that version for the
  184. Library.