Debian Codegraph @

COPYING

raw
1 Copyright (c) 2012-2018, François Boulogne and the python-bibtexparser contributors
2 All rights reserved.
3
4
5 The code is distributed under a dual license (at your choice).
6
7 #####################################################################
8 Redistribution and use in source and binary forms, with or without
9 modification, are permitted provided that the following conditions are
10 met:
11
12 (1) Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14
15 (2) Redistributions in binary form must reproduce the above copyright
16 notice, this list of conditions and the following disclaimer in
17 the documentation and/or other materials provided with the
18 distribution.
19
20 (3)The name of the author may not be used to
21 endorse or promote products derived from this software without
22 specific prior written permission.
23
24 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
25 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
28 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
33 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 POSSIBILITY OF SUCH DAMAGE.
35
36 #####################################################################
37 GNU LESSER GENERAL PUBLIC LICENSE
38 Version 3, 29 June 2007
39
40 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
41 Everyone is permitted to copy and distribute verbatim copies
42 of this license document, but changing it is not allowed.
43
44
45 This version of the GNU Lesser General Public License incorporates
46 the terms and conditions of version 3 of the GNU General Public
47 License, supplemented by the additional permissions listed below.
48
49 0. Additional Definitions.
50
51 As used herein, "this License" refers to version 3 of the GNU Lesser
52 General Public License, and the "GNU GPL" refers to version 3 of the GNU
53 General Public License.
54
55 "The Library" refers to a covered work governed by this License,
56 other than an Application or a Combined Work as defined below.
57
58 An "Application" is any work that makes use of an interface provided
59 by the Library, but which is not otherwise based on the Library.
60 Defining a subclass of a class defined by the Library is deemed a mode
61 of using an interface provided by the Library.
62
63 A "Combined Work" is a work produced by combining or linking an
64 Application with the Library. The particular version of the Library
65 with which the Combined Work was made is also called the "Linked
66 Version".
67
68 The "Minimal Corresponding Source" for a Combined Work means the
69 Corresponding Source for the Combined Work, excluding any source code
70 for portions of the Combined Work that, considered in isolation, are
71 based on the Application, and not on the Linked Version.
72
73 The "Corresponding Application Code" for a Combined Work means the
74 object code and/or source code for the Application, including any data
75 and utility programs needed for reproducing the Combined Work from the
76 Application, but excluding the System Libraries of the Combined Work.
77
78 1. Exception to Section 3 of the GNU GPL.
79
80 You may convey a covered work under sections 3 and 4 of this License
81 without being bound by section 3 of the GNU GPL.
82
83 2. Conveying Modified Versions.
84
85 If you modify a copy of the Library, and, in your modifications, a
86 facility refers to a function or data to be supplied by an Application
87 that uses the facility (other than as an argument passed when the
88 facility is invoked), then you may convey a copy of the modified
89 version:
90
91 a) under this License, provided that you make a good faith effort to
92 ensure that, in the event an Application does not supply the
93 function or data, the facility still operates, and performs
94 whatever part of its purpose remains meaningful, or
95
96 b) under the GNU GPL, with none of the additional permissions of
97 this License applicable to that copy.
98
99 3. Object Code Incorporating Material from Library Header Files.
100
101 The object code form of an Application may incorporate material from
102 a header file that is part of the Library. You may convey such object
103 code under terms of your choice, provided that, if the incorporated
104 material is not limited to numerical parameters, data structure
105 layouts and accessors, or small macros, inline functions and templates
106 (ten or fewer lines in length), you do both of the following:
107
108 a) Give prominent notice with each copy of the object code that the
109 Library is used in it and that the Library and its use are
110 covered by this License.
111
112 b) Accompany the object code with a copy of the GNU GPL and this license
113 document.
114
115 4. Combined Works.
116
117 You may convey a Combined Work under terms of your choice that,
118 taken together, effectively do not restrict modification of the
119 portions of the Library contained in the Combined Work and reverse
120 engineering for debugging such modifications, if you also do each of
121 the following:
122
123 a) Give prominent notice with each copy of the Combined Work that
124 the Library is used in it and that the Library and its use are
125 covered by this License.
126
127 b) Accompany the Combined Work with a copy of the GNU GPL and this license
128 document.
129
130 c) For a Combined Work that displays copyright notices during
131 execution, include the copyright notice for the Library among
132 these notices, as well as a reference directing the user to the
133 copies of the GNU GPL and this license document.
134
135 d) Do one of the following:
136
137 0) Convey the Minimal Corresponding Source under the terms of this
138 License, and the Corresponding Application Code in a form
139 suitable for, and under terms that permit, the user to
140 recombine or relink the Application with a modified version of
141 the Linked Version to produce a modified Combined Work, in the
142 manner specified by section 6 of the GNU GPL for conveying
143 Corresponding Source.
144
145 1) Use a suitable shared library mechanism for linking with the
146 Library. A suitable mechanism is one that (a) uses at run time
147 a copy of the Library already present on the user's computer
148 system, and (b) will operate properly with a modified version
149 of the Library that is interface-compatible with the Linked
150 Version.
151
152 e) Provide Installation Information, but only if you would otherwise
153 be required to provide such information under section 6 of the
154 GNU GPL, and only to the extent that such information is
155 necessary to install and execute a modified version of the
156 Combined Work produced by recombining or relinking the
157 Application with a modified version of the Linked Version. (If
158 you use option 4d0, the Installation Information must accompany
159 the Minimal Corresponding Source and Corresponding Application
160 Code. If you use option 4d1, you must provide the Installation
161 Information in the manner specified by section 6 of the GNU GPL
162 for conveying Corresponding Source.)
163
164 5. Combined Libraries.
165
166 You may place library facilities that are a work based on the
167 Library side by side in a single library together with other library
168 facilities that are not Applications and are not covered by this
169 License, and convey such a combined library under terms of your
170 choice, if you do both of the following:
171
172 a) Accompany the combined library with a copy of the same work based
173 on the Library, uncombined with any other library facilities,
174 conveyed under the terms of this License.
175
176 b) Give prominent notice with the combined library that part of it
177 is a work based on the Library, and explaining where to find the
178 accompanying uncombined form of the same work.
179
180 6. Revised Versions of the GNU Lesser General Public License.
181
182 The Free Software Foundation may publish revised and/or new versions
183 of the GNU Lesser General Public License from time to time. Such new
184 versions will be similar in spirit to the present version, but may
185 differ in detail to address new problems or concerns.
186
187 Each version is given a distinguishing version number. If the
188 Library as you received it specifies that a certain numbered version
189 of the GNU Lesser General Public License "or any later version"
190 applies to it, you have the option of following the terms and
191 conditions either of that published version or of any later version
192 published by the Free Software Foundation. If the Library as you
193 received it does not specify a version number of the GNU Lesser
194 General Public License, you may choose any version of the GNU Lesser
195 General Public License ever published by the Free Software Foundation.
196
197 If the Library as you received it specifies that a proxy can decide
198 whether future versions of the GNU Lesser General Public License shall
199 apply, that proxy's public statement of acceptance of any version is
200 permanent authorization for you to choose that version for the
201 Library.