Debian Codegraph @

LICENSES/LGPL-3.0-or-later.txt

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