|
1 | | -GNU LESSER GENERAL PUBLIC LICENSE |
2 | | -================================= |
3 | | - |
4 | | -Version 3, 29 June 2007 |
5 | | - |
6 | | -Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> |
7 | | - |
8 | | -Everyone is permitted to copy and distribute verbatim copies of this license |
9 | | -document, but changing it is not allowed. |
10 | | - |
11 | | -This version of the GNU Lesser General Public License incorporates the terms |
12 | | -and conditions of version 3 of the GNU General Public License, supplemented |
13 | | -by the additional permissions listed below. |
14 | | - |
15 | | - |
16 | | -### 0. Additional Definitions. |
17 | | - |
18 | | -As used herein, "this License" refers to version 3 of the GNU Lesser General |
19 | | -Public License, and the "GNU GPL" refers to version 3 of the GNU General |
20 | | -Public License. |
21 | | - |
22 | | -"The Library" refers to a covered work governed by this License, other than |
23 | | -an Application or a Combined Work as defined below. |
24 | | - |
25 | | -An "Application" is any work that makes use of an interface provided by the |
26 | | -Library, but which is not otherwise based on the Library. Defining a |
27 | | -subclass of a class defined by the Library is deemed a mode of using an |
28 | | -interface provided by the Library. |
29 | | - |
30 | | -A "Combined Work" is a work produced by combining or linking an Application |
31 | | -with the Library. The particular version of the Library with which the |
32 | | -Combined Work was made is also called the "Linked Version". |
33 | | - |
34 | | -The "Minimal Corresponding Source" for a Combined Work means the |
35 | | -Corresponding Source for the Combined Work, excluding any source code for |
36 | | -portions of the Combined Work that, considered in isolation, are based on |
37 | | -the Application, and not on the Linked Version. |
38 | | - |
39 | | -The "Corresponding Application Code" for a Combined Work means the object |
40 | | -code and/or source code for the Application, including any data and utility |
41 | | -programs needed for reproducing the Combined Work from the Application, but |
42 | | -excluding the System Libraries of the Combined Work. |
43 | | - |
44 | | - |
45 | | -### 1. Exception to Section 3 of the GNU GPL. |
46 | | - |
47 | | -You may convey a covered work under sections 3 and 4 of this License without |
48 | | -being bound by section 3 of the GNU GPL. |
49 | | - |
50 | | - |
51 | | -### 2. Conveying Modified Versions. |
52 | | - |
53 | | -If you modify a copy of the Library, and, in your modifications, a facility |
54 | | -refers to a function or data to be supplied by an Application that uses the |
55 | | -facility (other than as an argument passed when the facility is invoked), |
56 | | -then you may convey a copy of the modified version: |
57 | | - |
58 | | -* a) under this License, provided that you make a good faith effort to |
59 | | - ensure that, in the event an Application does not supply the function |
60 | | - or data, the facility still operates, and performs whatever part of its |
61 | | - purpose remains meaningful, or |
62 | | - |
63 | | -* b) under the GNU GPL, with none of the additional permissions of this |
64 | | - License applicable to that copy. |
65 | | - |
66 | | - |
67 | | -### 3. Object Code Incorporating Material from Library Header Files. |
68 | | - |
69 | | -The object code form of an Application may incorporate material from a |
70 | | -header file that is part of the Library. You may convey such object code |
71 | | -under terms of your choice, provided that, if the incorporated material is |
72 | | -not limited to numerical parameters, data structure layouts and accessors, |
73 | | -or small macros, inline functions and templates (ten or fewer lines in |
74 | | -length), you do both of the following: |
75 | | - |
76 | | -* a) Give prominent notice with each copy of the object code that the |
77 | | - Library is used in it and that the Library and its use are covered by |
78 | | - this License. |
79 | | - |
80 | | -* b) Accompany the object code with a copy of the GNU GPL and this license |
81 | | - document. |
82 | | - |
83 | | - |
84 | | -### 4. Combined Works. |
85 | | - |
86 | | -You may convey a Combined Work under terms of your choice that, taken |
87 | | -together, effectively do not restrict modification of the portions of the |
88 | | -Library contained in the Combined Work and reverse engineering for debugging |
89 | | -such modifications, if you also do each of the following: |
90 | | - |
91 | | -* a) Give prominent notice with each copy of the Combined Work that the |
92 | | - Library is used in it and that the Library and its use are covered by |
93 | | - this License. |
94 | | - |
95 | | -* b) Accompany the Combined Work with a copy of the GNU GPL and this license |
96 | | - document. |
97 | | - |
98 | | -* c) For a Combined Work that displays copyright notices during execution, |
99 | | - include the copyright notice for the Library among these notices, as |
100 | | - well as a reference directing the user to the copies of the GNU GPL and |
101 | | - this license document. |
102 | | - |
103 | | -* d) Do one of the following: |
104 | | - |
105 | | - * 0) Convey the Minimal Corresponding Source under the terms of this |
106 | | - License, and the Corresponding Application Code in a form suitable |
107 | | - for, and under terms that permit, the user to recombine or relink |
108 | | - the Application with a modified version of the Linked Version to |
109 | | - produce a modified Combined Work, in the manner specified by |
110 | | - section 6 of the GNU GPL for conveying Corresponding Source. |
111 | | - |
112 | | - * 1) Use a suitable shared library mechanism for linking with the |
113 | | - Library. A suitable mechanism is one that (a) uses at run time a |
114 | | - copy of the Library already present on the user's computer system, |
115 | | - and (b) will operate properly with a modified version of the |
116 | | - Library that is interface-compatible with the Linked Version. |
117 | | - |
118 | | -* e) Provide Installation Information, but only if you would otherwise be |
119 | | - required to provide such information under section 6 of the GNU GPL, |
120 | | - and only to the extent that such information is necessary to install |
121 | | - and execute a modified version of the Combined Work produced by |
122 | | - recombining or relinking the Application with a modified version of the |
123 | | - Linked Version. (If you use option 4d0, the Installation Information |
124 | | - must accompany the Minimal Corresponding Source and Corresponding |
125 | | - Application Code. If you use option 4d1, you must provide the |
126 | | - Installation Information in the manner specified by section 6 of the |
127 | | - GNU GPL for conveying Corresponding Source.) |
128 | | - |
129 | | - |
130 | | -### 5. Combined Libraries. |
131 | | - |
132 | | -You may place library facilities that are a work based on the Library side |
133 | | -by side in a single library together with other library facilities that are |
134 | | -not Applications and are not covered by this License, and convey such a |
135 | | -combined library under terms of your choice, if you do both of the |
136 | | -following: |
137 | | - |
138 | | -* a) Accompany the combined library with a copy of the same work based on |
139 | | - the Library, uncombined with any other library facilities, conveyed |
140 | | - under the terms of this License. |
141 | | - |
142 | | -* b) Give prominent notice with the combined library that part of it is a |
143 | | - work based on the Library, and explaining where to find the |
144 | | - accompanying uncombined form of the same work. |
145 | | - |
146 | | - |
147 | | -### 6. Revised Versions of the GNU Lesser General Public License. |
148 | | - |
149 | | -The Free Software Foundation may publish revised and/or new versions of the |
150 | | -GNU Lesser General Public License from time to time. Such new versions will |
151 | | -be similar in spirit to the present version, but may differ in detail to |
152 | | -address new problems or concerns. |
153 | | - |
154 | | -Each version is given a distinguishing version number. If the Library as you |
155 | | -received it specifies that a certain numbered version of the GNU Lesser |
156 | | -General Public License "or any later version" applies to it, you have the |
157 | | -option of following the terms and conditions either of that published |
158 | | -version or of any later version published by the Free Software Foundation. |
159 | | -If the Library as you received it does not specify a version number of the |
160 | | -GNU Lesser General Public License, you may choose any version of the GNU |
161 | | -Lesser General Public License ever published by the Free Software |
162 | | -Foundation. |
163 | | - |
164 | | -If the Library as you received it specifies that a proxy can decide whether |
165 | | -future versions of the GNU Lesser General Public License shall apply, that |
166 | | -proxy's public statement of acceptance of any version is permanent |
167 | | -authorization for you to choose that version for the Library. |
| 1 | +Copyright (C) 2011 Klaus Reimer, k@ailis.de |
| 2 | +Copyright (C) 2013 Luca Longinotti, l@longi.li |
| 3 | + |
| 4 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 5 | +of this software and associated documentation files (the "Software"), to deal |
| 6 | +in the Software without restriction, including without limitation the rights |
| 7 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 8 | +copies of the Software, and to permit persons to whom the Software is |
| 9 | +furnished to do so, subject to the following conditions: |
| 10 | + |
| 11 | +The above copyright notice and this permission notice shall be included in |
| 12 | +all copies or substantial portions of the Software. |
| 13 | + |
| 14 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 15 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 17 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 18 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 19 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 20 | +THE SOFTWARE. |
0 commit comments