1159b3361Sopenharmony_ci		  GNU LIBRARY GENERAL PUBLIC LICENSE
2159b3361Sopenharmony_ci		       Version 2, June 1991
3159b3361Sopenharmony_ci
4159b3361Sopenharmony_ci Copyright (C) 1991 Free Software Foundation, Inc.
5159b3361Sopenharmony_ci    		    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6159b3361Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies
7159b3361Sopenharmony_ci of this license document, but changing it is not allowed.
8159b3361Sopenharmony_ci
9159b3361Sopenharmony_ci[This is the first released version of the library GPL.  It is
10159b3361Sopenharmony_ci numbered 2 because it goes with version 2 of the ordinary GPL.]
11159b3361Sopenharmony_ci
12159b3361Sopenharmony_ci			    Preamble
13159b3361Sopenharmony_ci
14159b3361Sopenharmony_ci  The licenses for most software are designed to take away your
15159b3361Sopenharmony_cifreedom to share and change it.  By contrast, the GNU General Public
16159b3361Sopenharmony_ciLicenses are intended to guarantee your freedom to share and change
17159b3361Sopenharmony_cifree software--to make sure the software is free for all its users.
18159b3361Sopenharmony_ci
19159b3361Sopenharmony_ci  This license, the Library General Public License, applies to some
20159b3361Sopenharmony_cispecially designated Free Software Foundation software, and to any
21159b3361Sopenharmony_ciother libraries whose authors decide to use it.  You can use it for
22159b3361Sopenharmony_ciyour libraries, too.
23159b3361Sopenharmony_ci
24159b3361Sopenharmony_ci  When we speak of free software, we are referring to freedom, not
25159b3361Sopenharmony_ciprice.  Our General Public Licenses are designed to make sure that you
26159b3361Sopenharmony_cihave the freedom to distribute copies of free software (and charge for
27159b3361Sopenharmony_cithis service if you wish), that you receive source code or can get it
28159b3361Sopenharmony_ciif you want it, that you can change the software or use pieces of it
29159b3361Sopenharmony_ciin new free programs; and that you know you can do these things.
30159b3361Sopenharmony_ci
31159b3361Sopenharmony_ci  To protect your rights, we need to make restrictions that forbid
32159b3361Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights.
33159b3361Sopenharmony_ciThese restrictions translate to certain responsibilities for you if
34159b3361Sopenharmony_ciyou distribute copies of the library, or if you modify it.
35159b3361Sopenharmony_ci
36159b3361Sopenharmony_ci  For example, if you distribute copies of the library, whether gratis
37159b3361Sopenharmony_cior for a fee, you must give the recipients all the rights that we gave
38159b3361Sopenharmony_ciyou.  You must make sure that they, too, receive or can get the source
39159b3361Sopenharmony_cicode.  If you link a program with the library, you must provide
40159b3361Sopenharmony_cicomplete object files to the recipients so that they can relink them
41159b3361Sopenharmony_ciwith the library, after making changes to the library and recompiling
42159b3361Sopenharmony_ciit.  And you must show them these terms so they know their rights.
43159b3361Sopenharmony_ci
44159b3361Sopenharmony_ci  Our method of protecting your rights has two steps: (1) copyright
45159b3361Sopenharmony_cithe library, and (2) offer you this license which gives you legal
46159b3361Sopenharmony_cipermission to copy, distribute and/or modify the library.
47159b3361Sopenharmony_ci
48159b3361Sopenharmony_ci  Also, for each distributor's protection, we want to make certain
49159b3361Sopenharmony_cithat everyone understands that there is no warranty for this free
50159b3361Sopenharmony_cilibrary.  If the library is modified by someone else and passed on, we
51159b3361Sopenharmony_ciwant its recipients to know that what they have is not the original
52159b3361Sopenharmony_civersion, so that any problems introduced by others will not reflect on
53159b3361Sopenharmony_cithe original authors' reputations.
54159b3361Sopenharmony_ci
55159b3361Sopenharmony_ci  Finally, any free program is threatened constantly by software
56159b3361Sopenharmony_cipatents.  We wish to avoid the danger that companies distributing free
57159b3361Sopenharmony_cisoftware will individually obtain patent licenses, thus in effect
58159b3361Sopenharmony_citransforming the program into proprietary software.  To prevent this,
59159b3361Sopenharmony_ciwe have made it clear that any patent must be licensed for everyone's
60159b3361Sopenharmony_cifree use or not licensed at all.
61159b3361Sopenharmony_ci
62159b3361Sopenharmony_ci  Most GNU software, including some libraries, is covered by the ordinary
63159b3361Sopenharmony_ciGNU General Public License, which was designed for utility programs.  This
64159b3361Sopenharmony_cilicense, the GNU Library General Public License, applies to certain
65159b3361Sopenharmony_cidesignated libraries.  This license is quite different from the ordinary
66159b3361Sopenharmony_cione; be sure to read it in full, and don't assume that anything in it is
67159b3361Sopenharmony_cithe same as in the ordinary license.
68159b3361Sopenharmony_ci
69159b3361Sopenharmony_ci  The reason we have a separate public license for some libraries is that
70159b3361Sopenharmony_cithey blur the distinction we usually make between modifying or adding to a
71159b3361Sopenharmony_ciprogram and simply using it.  Linking a program with a library, without
72159b3361Sopenharmony_cichanging the library, is in some sense simply using the library, and is
73159b3361Sopenharmony_cianalogous to running a utility program or application program.  However, in
74159b3361Sopenharmony_cia textual and legal sense, the linked executable is a combined work, a
75159b3361Sopenharmony_ciderivative of the original library, and the ordinary General Public License
76159b3361Sopenharmony_citreats it as such.
77159b3361Sopenharmony_ci
78159b3361Sopenharmony_ci  Because of this blurred distinction, using the ordinary General
79159b3361Sopenharmony_ciPublic License for libraries did not effectively promote software
80159b3361Sopenharmony_cisharing, because most developers did not use the libraries.  We
81159b3361Sopenharmony_ciconcluded that weaker conditions might promote sharing better.
82159b3361Sopenharmony_ci
83159b3361Sopenharmony_ci  However, unrestricted linking of non-free programs would deprive the
84159b3361Sopenharmony_ciusers of those programs of all benefit from the free status of the
85159b3361Sopenharmony_cilibraries themselves.  This Library General Public License is intended to
86159b3361Sopenharmony_cipermit developers of non-free programs to use free libraries, while
87159b3361Sopenharmony_cipreserving your freedom as a user of such programs to change the free
88159b3361Sopenharmony_cilibraries that are incorporated in them.  (We have not seen how to achieve
89159b3361Sopenharmony_cithis as regards changes in header files, but we have achieved it as regards
90159b3361Sopenharmony_cichanges in the actual functions of the Library.)  The hope is that this
91159b3361Sopenharmony_ciwill lead to faster development of free libraries.
92159b3361Sopenharmony_ci
93159b3361Sopenharmony_ci  The precise terms and conditions for copying, distribution and
94159b3361Sopenharmony_cimodification follow.  Pay close attention to the difference between a
95159b3361Sopenharmony_ci"work based on the library" and a "work that uses the library".  The
96159b3361Sopenharmony_ciformer contains code derived from the library, while the latter only
97159b3361Sopenharmony_ciworks together with the library.
98159b3361Sopenharmony_ci
99159b3361Sopenharmony_ci  Note that it is possible for a library to be covered by the ordinary
100159b3361Sopenharmony_ciGeneral Public License rather than by this special one.
101159b3361Sopenharmony_ci
102159b3361Sopenharmony_ci		  GNU LIBRARY GENERAL PUBLIC LICENSE
103159b3361Sopenharmony_ci   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
104159b3361Sopenharmony_ci
105159b3361Sopenharmony_ci  0. This License Agreement applies to any software library which
106159b3361Sopenharmony_cicontains a notice placed by the copyright holder or other authorized
107159b3361Sopenharmony_ciparty saying it may be distributed under the terms of this Library
108159b3361Sopenharmony_ciGeneral Public License (also called "this License").  Each licensee is
109159b3361Sopenharmony_ciaddressed as "you".
110159b3361Sopenharmony_ci
111159b3361Sopenharmony_ci  A "library" means a collection of software functions and/or data
112159b3361Sopenharmony_ciprepared so as to be conveniently linked with application programs
113159b3361Sopenharmony_ci(which use some of those functions and data) to form executables.
114159b3361Sopenharmony_ci
115159b3361Sopenharmony_ci  The "Library", below, refers to any such software library or work
116159b3361Sopenharmony_ciwhich has been distributed under these terms.  A "work based on the
117159b3361Sopenharmony_ciLibrary" means either the Library or any derivative work under
118159b3361Sopenharmony_cicopyright law: that is to say, a work containing the Library or a
119159b3361Sopenharmony_ciportion of it, either verbatim or with modifications and/or translated
120159b3361Sopenharmony_cistraightforwardly into another language.  (Hereinafter, translation is
121159b3361Sopenharmony_ciincluded without limitation in the term "modification".)
122159b3361Sopenharmony_ci
123159b3361Sopenharmony_ci  "Source code" for a work means the preferred form of the work for
124159b3361Sopenharmony_cimaking modifications to it.  For a library, complete source code means
125159b3361Sopenharmony_ciall the source code for all modules it contains, plus any associated
126159b3361Sopenharmony_ciinterface definition files, plus the scripts used to control compilation
127159b3361Sopenharmony_ciand installation of the library.
128159b3361Sopenharmony_ci
129159b3361Sopenharmony_ci  Activities other than copying, distribution and modification are not
130159b3361Sopenharmony_cicovered by this License; they are outside its scope.  The act of
131159b3361Sopenharmony_cirunning a program using the Library is not restricted, and output from
132159b3361Sopenharmony_cisuch a program is covered only if its contents constitute a work based
133159b3361Sopenharmony_cion the Library (independent of the use of the Library in a tool for
134159b3361Sopenharmony_ciwriting it).  Whether that is true depends on what the Library does
135159b3361Sopenharmony_ciand what the program that uses the Library does.
136159b3361Sopenharmony_ci  
137159b3361Sopenharmony_ci  1. You may copy and distribute verbatim copies of the Library's
138159b3361Sopenharmony_cicomplete source code as you receive it, in any medium, provided that
139159b3361Sopenharmony_ciyou conspicuously and appropriately publish on each copy an
140159b3361Sopenharmony_ciappropriate copyright notice and disclaimer of warranty; keep intact
141159b3361Sopenharmony_ciall the notices that refer to this License and to the absence of any
142159b3361Sopenharmony_ciwarranty; and distribute a copy of this License along with the
143159b3361Sopenharmony_ciLibrary.
144159b3361Sopenharmony_ci
145159b3361Sopenharmony_ci  You may charge a fee for the physical act of transferring a copy,
146159b3361Sopenharmony_ciand you may at your option offer warranty protection in exchange for a
147159b3361Sopenharmony_cifee.
148159b3361Sopenharmony_ci
149159b3361Sopenharmony_ci  2. You may modify your copy or copies of the Library or any portion
150159b3361Sopenharmony_ciof it, thus forming a work based on the Library, and copy and
151159b3361Sopenharmony_cidistribute such modifications or work under the terms of Section 1
152159b3361Sopenharmony_ciabove, provided that you also meet all of these conditions:
153159b3361Sopenharmony_ci
154159b3361Sopenharmony_ci    a) The modified work must itself be a software library.
155159b3361Sopenharmony_ci
156159b3361Sopenharmony_ci    b) You must cause the files modified to carry prominent notices
157159b3361Sopenharmony_ci    stating that you changed the files and the date of any change.
158159b3361Sopenharmony_ci
159159b3361Sopenharmony_ci    c) You must cause the whole of the work to be licensed at no
160159b3361Sopenharmony_ci    charge to all third parties under the terms of this License.
161159b3361Sopenharmony_ci
162159b3361Sopenharmony_ci    d) If a facility in the modified Library refers to a function or a
163159b3361Sopenharmony_ci    table of data to be supplied by an application program that uses
164159b3361Sopenharmony_ci    the facility, other than as an argument passed when the facility
165159b3361Sopenharmony_ci    is invoked, then you must make a good faith effort to ensure that,
166159b3361Sopenharmony_ci    in the event an application does not supply such function or
167159b3361Sopenharmony_ci    table, the facility still operates, and performs whatever part of
168159b3361Sopenharmony_ci    its purpose remains meaningful.
169159b3361Sopenharmony_ci
170159b3361Sopenharmony_ci    (For example, a function in a library to compute square roots has
171159b3361Sopenharmony_ci    a purpose that is entirely well-defined independent of the
172159b3361Sopenharmony_ci    application.  Therefore, Subsection 2d requires that any
173159b3361Sopenharmony_ci    application-supplied function or table used by this function must
174159b3361Sopenharmony_ci    be optional: if the application does not supply it, the square
175159b3361Sopenharmony_ci    root function must still compute square roots.)
176159b3361Sopenharmony_ci
177159b3361Sopenharmony_ciThese requirements apply to the modified work as a whole.  If
178159b3361Sopenharmony_ciidentifiable sections of that work are not derived from the Library,
179159b3361Sopenharmony_ciand can be reasonably considered independent and separate works in
180159b3361Sopenharmony_cithemselves, then this License, and its terms, do not apply to those
181159b3361Sopenharmony_cisections when you distribute them as separate works.  But when you
182159b3361Sopenharmony_cidistribute the same sections as part of a whole which is a work based
183159b3361Sopenharmony_cion the Library, the distribution of the whole must be on the terms of
184159b3361Sopenharmony_cithis License, whose permissions for other licensees extend to the
185159b3361Sopenharmony_cientire whole, and thus to each and every part regardless of who wrote
186159b3361Sopenharmony_ciit.
187159b3361Sopenharmony_ci
188159b3361Sopenharmony_ciThus, it is not the intent of this section to claim rights or contest
189159b3361Sopenharmony_ciyour rights to work written entirely by you; rather, the intent is to
190159b3361Sopenharmony_ciexercise the right to control the distribution of derivative or
191159b3361Sopenharmony_cicollective works based on the Library.
192159b3361Sopenharmony_ci
193159b3361Sopenharmony_ciIn addition, mere aggregation of another work not based on the Library
194159b3361Sopenharmony_ciwith the Library (or with a work based on the Library) on a volume of
195159b3361Sopenharmony_cia storage or distribution medium does not bring the other work under
196159b3361Sopenharmony_cithe scope of this License.
197159b3361Sopenharmony_ci
198159b3361Sopenharmony_ci  3. You may opt to apply the terms of the ordinary GNU General Public
199159b3361Sopenharmony_ciLicense instead of this License to a given copy of the Library.  To do
200159b3361Sopenharmony_cithis, you must alter all the notices that refer to this License, so
201159b3361Sopenharmony_cithat they refer to the ordinary GNU General Public License, version 2,
202159b3361Sopenharmony_ciinstead of to this License.  (If a newer version than version 2 of the
203159b3361Sopenharmony_ciordinary GNU General Public License has appeared, then you can specify
204159b3361Sopenharmony_cithat version instead if you wish.)  Do not make any other change in
205159b3361Sopenharmony_cithese notices.
206159b3361Sopenharmony_ci
207159b3361Sopenharmony_ci  Once this change is made in a given copy, it is irreversible for
208159b3361Sopenharmony_cithat copy, so the ordinary GNU General Public License applies to all
209159b3361Sopenharmony_cisubsequent copies and derivative works made from that copy.
210159b3361Sopenharmony_ci
211159b3361Sopenharmony_ci  This option is useful when you wish to copy part of the code of
212159b3361Sopenharmony_cithe Library into a program that is not a library.
213159b3361Sopenharmony_ci
214159b3361Sopenharmony_ci  4. You may copy and distribute the Library (or a portion or
215159b3361Sopenharmony_ciderivative of it, under Section 2) in object code or executable form
216159b3361Sopenharmony_ciunder the terms of Sections 1 and 2 above provided that you accompany
217159b3361Sopenharmony_ciit with the complete corresponding machine-readable source code, which
218159b3361Sopenharmony_cimust be distributed under the terms of Sections 1 and 2 above on a
219159b3361Sopenharmony_cimedium customarily used for software interchange.
220159b3361Sopenharmony_ci
221159b3361Sopenharmony_ci  If distribution of object code is made by offering access to copy
222159b3361Sopenharmony_cifrom a designated place, then offering equivalent access to copy the
223159b3361Sopenharmony_cisource code from the same place satisfies the requirement to
224159b3361Sopenharmony_cidistribute the source code, even though third parties are not
225159b3361Sopenharmony_cicompelled to copy the source along with the object code.
226159b3361Sopenharmony_ci
227159b3361Sopenharmony_ci  5. A program that contains no derivative of any portion of the
228159b3361Sopenharmony_ciLibrary, but is designed to work with the Library by being compiled or
229159b3361Sopenharmony_cilinked with it, is called a "work that uses the Library".  Such a
230159b3361Sopenharmony_ciwork, in isolation, is not a derivative work of the Library, and
231159b3361Sopenharmony_citherefore falls outside the scope of this License.
232159b3361Sopenharmony_ci
233159b3361Sopenharmony_ci  However, linking a "work that uses the Library" with the Library
234159b3361Sopenharmony_cicreates an executable that is a derivative of the Library (because it
235159b3361Sopenharmony_cicontains portions of the Library), rather than a "work that uses the
236159b3361Sopenharmony_cilibrary".  The executable is therefore covered by this License.
237159b3361Sopenharmony_ciSection 6 states terms for distribution of such executables.
238159b3361Sopenharmony_ci
239159b3361Sopenharmony_ci  When a "work that uses the Library" uses material from a header file
240159b3361Sopenharmony_cithat is part of the Library, the object code for the work may be a
241159b3361Sopenharmony_ciderivative work of the Library even though the source code is not.
242159b3361Sopenharmony_ciWhether this is true is especially significant if the work can be
243159b3361Sopenharmony_cilinked without the Library, or if the work is itself a library.  The
244159b3361Sopenharmony_cithreshold for this to be true is not precisely defined by law.
245159b3361Sopenharmony_ci
246159b3361Sopenharmony_ci  If such an object file uses only numerical parameters, data
247159b3361Sopenharmony_cistructure layouts and accessors, and small macros and small inline
248159b3361Sopenharmony_cifunctions (ten lines or less in length), then the use of the object
249159b3361Sopenharmony_cifile is unrestricted, regardless of whether it is legally a derivative
250159b3361Sopenharmony_ciwork.  (Executables containing this object code plus portions of the
251159b3361Sopenharmony_ciLibrary will still fall under Section 6.)
252159b3361Sopenharmony_ci
253159b3361Sopenharmony_ci  Otherwise, if the work is a derivative of the Library, you may
254159b3361Sopenharmony_cidistribute the object code for the work under the terms of Section 6.
255159b3361Sopenharmony_ciAny executables containing that work also fall under Section 6,
256159b3361Sopenharmony_ciwhether or not they are linked directly with the Library itself.
257159b3361Sopenharmony_ci
258159b3361Sopenharmony_ci  6. As an exception to the Sections above, you may also compile or
259159b3361Sopenharmony_cilink a "work that uses the Library" with the Library to produce a
260159b3361Sopenharmony_ciwork containing portions of the Library, and distribute that work
261159b3361Sopenharmony_ciunder terms of your choice, provided that the terms permit
262159b3361Sopenharmony_cimodification of the work for the customer's own use and reverse
263159b3361Sopenharmony_ciengineering for debugging such modifications.
264159b3361Sopenharmony_ci
265159b3361Sopenharmony_ci  You must give prominent notice with each copy of the work that the
266159b3361Sopenharmony_ciLibrary is used in it and that the Library and its use are covered by
267159b3361Sopenharmony_cithis License.  You must supply a copy of this License.  If the work
268159b3361Sopenharmony_ciduring execution displays copyright notices, you must include the
269159b3361Sopenharmony_cicopyright notice for the Library among them, as well as a reference
270159b3361Sopenharmony_cidirecting the user to the copy of this License.  Also, you must do one
271159b3361Sopenharmony_ciof these things:
272159b3361Sopenharmony_ci
273159b3361Sopenharmony_ci    a) Accompany the work with the complete corresponding
274159b3361Sopenharmony_ci    machine-readable source code for the Library including whatever
275159b3361Sopenharmony_ci    changes were used in the work (which must be distributed under
276159b3361Sopenharmony_ci    Sections 1 and 2 above); and, if the work is an executable linked
277159b3361Sopenharmony_ci    with the Library, with the complete machine-readable "work that
278159b3361Sopenharmony_ci    uses the Library", as object code and/or source code, so that the
279159b3361Sopenharmony_ci    user can modify the Library and then relink to produce a modified
280159b3361Sopenharmony_ci    executable containing the modified Library.  (It is understood
281159b3361Sopenharmony_ci    that the user who changes the contents of definitions files in the
282159b3361Sopenharmony_ci    Library will not necessarily be able to recompile the application
283159b3361Sopenharmony_ci    to use the modified definitions.)
284159b3361Sopenharmony_ci
285159b3361Sopenharmony_ci    b) Accompany the work with a written offer, valid for at
286159b3361Sopenharmony_ci    least three years, to give the same user the materials
287159b3361Sopenharmony_ci    specified in Subsection 6a, above, for a charge no more
288159b3361Sopenharmony_ci    than the cost of performing this distribution.
289159b3361Sopenharmony_ci
290159b3361Sopenharmony_ci    c) If distribution of the work is made by offering access to copy
291159b3361Sopenharmony_ci    from a designated place, offer equivalent access to copy the above
292159b3361Sopenharmony_ci    specified materials from the same place.
293159b3361Sopenharmony_ci
294159b3361Sopenharmony_ci    d) Verify that the user has already received a copy of these
295159b3361Sopenharmony_ci    materials or that you have already sent this user a copy.
296159b3361Sopenharmony_ci
297159b3361Sopenharmony_ci  For an executable, the required form of the "work that uses the
298159b3361Sopenharmony_ciLibrary" must include any data and utility programs needed for
299159b3361Sopenharmony_cireproducing the executable from it.  However, as a special exception,
300159b3361Sopenharmony_cithe source code distributed need not include anything that is normally
301159b3361Sopenharmony_cidistributed (in either source or binary form) with the major
302159b3361Sopenharmony_cicomponents (compiler, kernel, and so on) of the operating system on
303159b3361Sopenharmony_ciwhich the executable runs, unless that component itself accompanies
304159b3361Sopenharmony_cithe executable.
305159b3361Sopenharmony_ci
306159b3361Sopenharmony_ci  It may happen that this requirement contradicts the license
307159b3361Sopenharmony_cirestrictions of other proprietary libraries that do not normally
308159b3361Sopenharmony_ciaccompany the operating system.  Such a contradiction means you cannot
309159b3361Sopenharmony_ciuse both them and the Library together in an executable that you
310159b3361Sopenharmony_cidistribute.
311159b3361Sopenharmony_ci
312159b3361Sopenharmony_ci  7. You may place library facilities that are a work based on the
313159b3361Sopenharmony_ciLibrary side-by-side in a single library together with other library
314159b3361Sopenharmony_cifacilities not covered by this License, and distribute such a combined
315159b3361Sopenharmony_cilibrary, provided that the separate distribution of the work based on
316159b3361Sopenharmony_cithe Library and of the other library facilities is otherwise
317159b3361Sopenharmony_cipermitted, and provided that you do these two things:
318159b3361Sopenharmony_ci
319159b3361Sopenharmony_ci    a) Accompany the combined library with a copy of the same work
320159b3361Sopenharmony_ci    based on the Library, uncombined with any other library
321159b3361Sopenharmony_ci    facilities.  This must be distributed under the terms of the
322159b3361Sopenharmony_ci    Sections above.
323159b3361Sopenharmony_ci
324159b3361Sopenharmony_ci    b) Give prominent notice with the combined library of the fact
325159b3361Sopenharmony_ci    that part of it is a work based on the Library, and explaining
326159b3361Sopenharmony_ci    where to find the accompanying uncombined form of the same work.
327159b3361Sopenharmony_ci
328159b3361Sopenharmony_ci  8. You may not copy, modify, sublicense, link with, or distribute
329159b3361Sopenharmony_cithe Library except as expressly provided under this License.  Any
330159b3361Sopenharmony_ciattempt otherwise to copy, modify, sublicense, link with, or
331159b3361Sopenharmony_cidistribute the Library is void, and will automatically terminate your
332159b3361Sopenharmony_cirights under this License.  However, parties who have received copies,
333159b3361Sopenharmony_cior rights, from you under this License will not have their licenses
334159b3361Sopenharmony_citerminated so long as such parties remain in full compliance.
335159b3361Sopenharmony_ci
336159b3361Sopenharmony_ci  9. You are not required to accept this License, since you have not
337159b3361Sopenharmony_cisigned it.  However, nothing else grants you permission to modify or
338159b3361Sopenharmony_cidistribute the Library or its derivative works.  These actions are
339159b3361Sopenharmony_ciprohibited by law if you do not accept this License.  Therefore, by
340159b3361Sopenharmony_cimodifying or distributing the Library (or any work based on the
341159b3361Sopenharmony_ciLibrary), you indicate your acceptance of this License to do so, and
342159b3361Sopenharmony_ciall its terms and conditions for copying, distributing or modifying
343159b3361Sopenharmony_cithe Library or works based on it.
344159b3361Sopenharmony_ci
345159b3361Sopenharmony_ci  10. Each time you redistribute the Library (or any work based on the
346159b3361Sopenharmony_ciLibrary), the recipient automatically receives a license from the
347159b3361Sopenharmony_cioriginal licensor to copy, distribute, link with or modify the Library
348159b3361Sopenharmony_cisubject to these terms and conditions.  You may not impose any further
349159b3361Sopenharmony_cirestrictions on the recipients' exercise of the rights granted herein.
350159b3361Sopenharmony_ciYou are not responsible for enforcing compliance by third parties to
351159b3361Sopenharmony_cithis License.
352159b3361Sopenharmony_ci
353159b3361Sopenharmony_ci  11. If, as a consequence of a court judgment or allegation of patent
354159b3361Sopenharmony_ciinfringement or for any other reason (not limited to patent issues),
355159b3361Sopenharmony_ciconditions are imposed on you (whether by court order, agreement or
356159b3361Sopenharmony_ciotherwise) that contradict the conditions of this License, they do not
357159b3361Sopenharmony_ciexcuse you from the conditions of this License.  If you cannot
358159b3361Sopenharmony_cidistribute so as to satisfy simultaneously your obligations under this
359159b3361Sopenharmony_ciLicense and any other pertinent obligations, then as a consequence you
360159b3361Sopenharmony_cimay not distribute the Library at all.  For example, if a patent
361159b3361Sopenharmony_cilicense would not permit royalty-free redistribution of the Library by
362159b3361Sopenharmony_ciall those who receive copies directly or indirectly through you, then
363159b3361Sopenharmony_cithe only way you could satisfy both it and this License would be to
364159b3361Sopenharmony_cirefrain entirely from distribution of the Library.
365159b3361Sopenharmony_ci
366159b3361Sopenharmony_ciIf any portion of this section is held invalid or unenforceable under any
367159b3361Sopenharmony_ciparticular circumstance, the balance of the section is intended to apply,
368159b3361Sopenharmony_ciand the section as a whole is intended to apply in other circumstances.
369159b3361Sopenharmony_ci
370159b3361Sopenharmony_ciIt is not the purpose of this section to induce you to infringe any
371159b3361Sopenharmony_cipatents or other property right claims or to contest validity of any
372159b3361Sopenharmony_cisuch claims; this section has the sole purpose of protecting the
373159b3361Sopenharmony_ciintegrity of the free software distribution system which is
374159b3361Sopenharmony_ciimplemented by public license practices.  Many people have made
375159b3361Sopenharmony_cigenerous contributions to the wide range of software distributed
376159b3361Sopenharmony_cithrough that system in reliance on consistent application of that
377159b3361Sopenharmony_cisystem; it is up to the author/donor to decide if he or she is willing
378159b3361Sopenharmony_cito distribute software through any other system and a licensee cannot
379159b3361Sopenharmony_ciimpose that choice.
380159b3361Sopenharmony_ci
381159b3361Sopenharmony_ciThis section is intended to make thoroughly clear what is believed to
382159b3361Sopenharmony_cibe a consequence of the rest of this License.
383159b3361Sopenharmony_ci
384159b3361Sopenharmony_ci  12. If the distribution and/or use of the Library is restricted in
385159b3361Sopenharmony_cicertain countries either by patents or by copyrighted interfaces, the
386159b3361Sopenharmony_cioriginal copyright holder who places the Library under this License may add
387159b3361Sopenharmony_cian explicit geographical distribution limitation excluding those countries,
388159b3361Sopenharmony_ciso that distribution is permitted only in or among countries not thus
389159b3361Sopenharmony_ciexcluded.  In such case, this License incorporates the limitation as if
390159b3361Sopenharmony_ciwritten in the body of this License.
391159b3361Sopenharmony_ci
392159b3361Sopenharmony_ci  13. The Free Software Foundation may publish revised and/or new
393159b3361Sopenharmony_civersions of the Library General Public License from time to time.
394159b3361Sopenharmony_ciSuch new versions will be similar in spirit to the present version,
395159b3361Sopenharmony_cibut may differ in detail to address new problems or concerns.
396159b3361Sopenharmony_ci
397159b3361Sopenharmony_ciEach version is given a distinguishing version number.  If the Library
398159b3361Sopenharmony_cispecifies a version number of this License which applies to it and
399159b3361Sopenharmony_ci"any later version", you have the option of following the terms and
400159b3361Sopenharmony_ciconditions either of that version or of any later version published by
401159b3361Sopenharmony_cithe Free Software Foundation.  If the Library does not specify a
402159b3361Sopenharmony_cilicense version number, you may choose any version ever published by
403159b3361Sopenharmony_cithe Free Software Foundation.
404159b3361Sopenharmony_ci
405159b3361Sopenharmony_ci  14. If you wish to incorporate parts of the Library into other free
406159b3361Sopenharmony_ciprograms whose distribution conditions are incompatible with these,
407159b3361Sopenharmony_ciwrite to the author to ask for permission.  For software which is
408159b3361Sopenharmony_cicopyrighted by the Free Software Foundation, write to the Free
409159b3361Sopenharmony_ciSoftware Foundation; we sometimes make exceptions for this.  Our
410159b3361Sopenharmony_cidecision will be guided by the two goals of preserving the free status
411159b3361Sopenharmony_ciof all derivatives of our free software and of promoting the sharing
412159b3361Sopenharmony_ciand reuse of software generally.
413159b3361Sopenharmony_ci
414159b3361Sopenharmony_ci			    NO WARRANTY
415159b3361Sopenharmony_ci
416159b3361Sopenharmony_ci  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
417159b3361Sopenharmony_ciWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
418159b3361Sopenharmony_ciEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
419159b3361Sopenharmony_ciOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
420159b3361Sopenharmony_ciKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
421159b3361Sopenharmony_ciIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
422159b3361Sopenharmony_ciPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
423159b3361Sopenharmony_ciLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
424159b3361Sopenharmony_ciTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
425159b3361Sopenharmony_ci
426159b3361Sopenharmony_ci  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
427159b3361Sopenharmony_ciWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
428159b3361Sopenharmony_ciAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
429159b3361Sopenharmony_ciFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
430159b3361Sopenharmony_ciCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
431159b3361Sopenharmony_ciLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
432159b3361Sopenharmony_ciRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
433159b3361Sopenharmony_ciFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
434159b3361Sopenharmony_ciSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
435159b3361Sopenharmony_ciDAMAGES.
436159b3361Sopenharmony_ci
437159b3361Sopenharmony_ci		     END OF TERMS AND CONDITIONS
438159b3361Sopenharmony_ci
439159b3361Sopenharmony_ci           How to Apply These Terms to Your New Libraries
440159b3361Sopenharmony_ci
441159b3361Sopenharmony_ci  If you develop a new library, and you want it to be of the greatest
442159b3361Sopenharmony_cipossible use to the public, we recommend making it free software that
443159b3361Sopenharmony_cieveryone can redistribute and change.  You can do so by permitting
444159b3361Sopenharmony_ciredistribution under these terms (or, alternatively, under the terms of the
445159b3361Sopenharmony_ciordinary General Public License).
446159b3361Sopenharmony_ci
447159b3361Sopenharmony_ci  To apply these terms, attach the following notices to the library.  It is
448159b3361Sopenharmony_cisafest to attach them to the start of each source file to most effectively
449159b3361Sopenharmony_ciconvey the exclusion of warranty; and each file should have at least the
450159b3361Sopenharmony_ci"copyright" line and a pointer to where the full notice is found.
451159b3361Sopenharmony_ci
452159b3361Sopenharmony_ci    <one line to give the library's name and a brief idea of what it does.>
453159b3361Sopenharmony_ci    Copyright (C) <year>  <name of author>
454159b3361Sopenharmony_ci
455159b3361Sopenharmony_ci    This library is free software; you can redistribute it and/or
456159b3361Sopenharmony_ci    modify it under the terms of the GNU Library General Public
457159b3361Sopenharmony_ci    License as published by the Free Software Foundation; either
458159b3361Sopenharmony_ci    version 2 of the License, or (at your option) any later version.
459159b3361Sopenharmony_ci
460159b3361Sopenharmony_ci    This library is distributed in the hope that it will be useful,
461159b3361Sopenharmony_ci    but WITHOUT ANY WARRANTY; without even the implied warranty of
462159b3361Sopenharmony_ci    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
463159b3361Sopenharmony_ci    Library General Public License for more details.
464159b3361Sopenharmony_ci
465159b3361Sopenharmony_ci    You should have received a copy of the GNU Library General Public
466159b3361Sopenharmony_ci    License along with this library; if not, write to the Free Software
467159b3361Sopenharmony_ci    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
468159b3361Sopenharmony_ci
469159b3361Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail.
470159b3361Sopenharmony_ci
471159b3361Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your
472159b3361Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the library, if
473159b3361Sopenharmony_cinecessary.  Here is a sample; alter the names:
474159b3361Sopenharmony_ci
475159b3361Sopenharmony_ci  Yoyodyne, Inc., hereby disclaims all copyright interest in the
476159b3361Sopenharmony_ci  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
477159b3361Sopenharmony_ci
478159b3361Sopenharmony_ci  <signature of Ty Coon>, 1 April 1990
479159b3361Sopenharmony_ci  Ty Coon, President of Vice
480159b3361Sopenharmony_ci
481159b3361Sopenharmony_ciThat's all there is to it!
482