1 All files in this repository are licensed as follows. If you contribute
2 to this repository, it is assumed that you license your contribution
3 under the same license unless you state otherwise.
5 All files Copyright (C) 2015 Canonical Ltd. unless otherwise specified in the file.
7 This software is licensed under the LGPLv3, included below.
9 As a special exception to the GNU Lesser General Public License version 3
10 ("LGPL3"), the copyright holders of this Library give you permission to
11 convey to a third party a Combined Work that links statically or dynamically
12 to this Library without providing any Minimal Corresponding Source or
13 Minimal Application Code as set out in 4d or providing the installation
14 information set out in section 4e, provided that you comply with the other
15 provisions of LGPL3 and provided that you meet, for the Application the
16 terms and conditions of the license(s) which apply to the Application.
18 Except as stated in this special exception, the provisions of LGPL3 will
19 continue to comply in full to this Library. If you modify this Library, you
20 may apply this exception to your version of this Library, but you are not
21 obliged to do so. If you do not wish to do so, delete this exception
22 statement from your version. This exception does not (and cannot) modify any
23 license terms which apply to the Application, with which you must still
27 GNU LESSER GENERAL PUBLIC LICENSE
28 Version 3, 29 June 2007
30 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
31 Everyone is permitted to copy and distribute verbatim copies
32 of this license document, but changing it is not allowed.
35 This version of the GNU Lesser General Public License incorporates
36 the terms and conditions of version 3 of the GNU General Public
37 License, supplemented by the additional permissions listed below.
39 0. Additional Definitions.
41 As used herein, "this License" refers to version 3 of the GNU Lesser
42 General Public License, and the "GNU GPL" refers to version 3 of the GNU
43 General Public License.
45 "The Library" refers to a covered work governed by this License,
46 other than an Application or a Combined Work as defined below.
48 An "Application" is any work that makes use of an interface provided
49 by the Library, but which is not otherwise based on the Library.
50 Defining a subclass of a class defined by the Library is deemed a mode
51 of using an interface provided by the Library.
53 A "Combined Work" is a work produced by combining or linking an
54 Application with the Library. The particular version of the Library
55 with which the Combined Work was made is also called the "Linked
58 The "Minimal Corresponding Source" for a Combined Work means the
59 Corresponding Source for the Combined Work, excluding any source code
60 for portions of the Combined Work that, considered in isolation, are
61 based on the Application, and not on the Linked Version.
63 The "Corresponding Application Code" for a Combined Work means the
64 object code and/or source code for the Application, including any data
65 and utility programs needed for reproducing the Combined Work from the
66 Application, but excluding the System Libraries of the Combined Work.
68 1. Exception to Section 3 of the GNU GPL.
70 You may convey a covered work under sections 3 and 4 of this License
71 without being bound by section 3 of the GNU GPL.
73 2. Conveying Modified Versions.
75 If you modify a copy of the Library, and, in your modifications, a
76 facility refers to a function or data to be supplied by an Application
77 that uses the facility (other than as an argument passed when the
78 facility is invoked), then you may convey a copy of the modified
81 a) under this License, provided that you make a good faith effort to
82 ensure that, in the event an Application does not supply the
83 function or data, the facility still operates, and performs
84 whatever part of its purpose remains meaningful, or
86 b) under the GNU GPL, with none of the additional permissions of
87 this License applicable to that copy.
89 3. Object Code Incorporating Material from Library Header Files.
91 The object code form of an Application may incorporate material from
92 a header file that is part of the Library. You may convey such object
93 code under terms of your choice, provided that, if the incorporated
94 material is not limited to numerical parameters, data structure
95 layouts and accessors, or small macros, inline functions and templates
96 (ten or fewer lines in length), you do both of the following:
98 a) Give prominent notice with each copy of the object code that the
99 Library is used in it and that the Library and its use are
100 covered by this License.
102 b) Accompany the object code with a copy of the GNU GPL and this license
107 You may convey a Combined Work under terms of your choice that,
108 taken together, effectively do not restrict modification of the
109 portions of the Library contained in the Combined Work and reverse
110 engineering for debugging such modifications, if you also do each of
113 a) Give prominent notice with each copy of the Combined Work that
114 the Library is used in it and that the Library and its use are
115 covered by this License.
117 b) Accompany the Combined Work with a copy of the GNU GPL and this license
120 c) For a Combined Work that displays copyright notices during
121 execution, include the copyright notice for the Library among
122 these notices, as well as a reference directing the user to the
123 copies of the GNU GPL and this license document.
125 d) Do one of the following:
127 0) Convey the Minimal Corresponding Source under the terms of this
128 License, and the Corresponding Application Code in a form
129 suitable for, and under terms that permit, the user to
130 recombine or relink the Application with a modified version of
131 the Linked Version to produce a modified Combined Work, in the
132 manner specified by section 6 of the GNU GPL for conveying
133 Corresponding Source.
135 1) Use a suitable shared library mechanism for linking with the
136 Library. A suitable mechanism is one that (a) uses at run time
137 a copy of the Library already present on the user's computer
138 system, and (b) will operate properly with a modified version
139 of the Library that is interface-compatible with the Linked
142 e) Provide Installation Information, but only if you would otherwise
143 be required to provide such information under section 6 of the
144 GNU GPL, and only to the extent that such information is
145 necessary to install and execute a modified version of the
146 Combined Work produced by recombining or relinking the
147 Application with a modified version of the Linked Version. (If
148 you use option 4d0, the Installation Information must accompany
149 the Minimal Corresponding Source and Corresponding Application
150 Code. If you use option 4d1, you must provide the Installation
151 Information in the manner specified by section 6 of the GNU GPL
152 for conveying Corresponding Source.)
154 5. Combined Libraries.
156 You may place library facilities that are a work based on the
157 Library side by side in a single library together with other library
158 facilities that are not Applications and are not covered by this
159 License, and convey such a combined library under terms of your
160 choice, if you do both of the following:
162 a) Accompany the combined library with a copy of the same work based
163 on the Library, uncombined with any other library facilities,
164 conveyed under the terms of this License.
166 b) Give prominent notice with the combined library that part of it
167 is a work based on the Library, and explaining where to find the
168 accompanying uncombined form of the same work.
170 6. Revised Versions of the GNU Lesser General Public License.
172 The Free Software Foundation may publish revised and/or new versions
173 of the GNU Lesser General Public License from time to time. Such new
174 versions will be similar in spirit to the present version, but may
175 differ in detail to address new problems or concerns.
177 Each version is given a distinguishing version number. If the
178 Library as you received it specifies that a certain numbered version
179 of the GNU Lesser General Public License "or any later version"
180 applies to it, you have the option of following the terms and
181 conditions either of that published version or of any later version
182 published by the Free Software Foundation. If the Library as you
183 received it does not specify a version number of the GNU Lesser
184 General Public License, you may choose any version of the GNU Lesser
185 General Public License ever published by the Free Software Foundation.
187 If the Library as you received it specifies that a proxy can decide
188 whether future versions of the GNU Lesser General Public License shall
189 apply, that proxy's public statement of acceptance of any version is
190 permanent authorization for you to choose that version for the