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