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