blob: bccaeb97dc6defce03ae358883c63fb1cbe70a1c [file] [log] [blame]
Joshua Lang904c3632017-02-02 12:54:24 -08001
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08002The libgloss subdirectory is a collection of software from several sources.
3
4Each file may have its own copyright/license that is embedded in the source
5file. Unless otherwise noted in the body of the source file(s), the following copyright
6notices will apply to the contents of the libgloss subdirectory:
7
8(1) Red Hat Incorporated
9
10Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
11
12This copyrighted material is made available to anyone wishing to use, modify,
13copy, or redistribute it subject to the terms and conditions of the BSD
14License. This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY expressed or implied, including the implied warranties
16of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. A copy of this license
17is available at http://www.opensource.org/licenses. Any Red Hat trademarks that
18are incorporated in the source code or documentation are not subject to the BSD
19License and may only be used or replicated with the express permission of
20Red Hat, Inc.
21
22(2) University of California, Berkeley
23
24Copyright (c) 1981-2000 The Regents of the University of California.
25All rights reserved.
26
27Redistribution and use in source and binary forms, with or without modification,
28are permitted provided that the following conditions are met:
29
30 * Redistributions of source code must retain the above copyright notice,
31 this list of conditions and the following disclaimer.
32 * Redistributions in binary form must reproduce the above copyright notice,
33 this list of conditions and the following disclaimer in the documentation
34 and/or other materials provided with the distribution.
35 * Neither the name of the University nor the names of its contributors may
36 be used to endorse or promote products derived from this software without
37 specific prior written permission.
38
39THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
40AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
41WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
42IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
43INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
44NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
45PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
46WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
47ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
48OF SUCH DAMAGE.
49
50(3) DJ Delorie
51
52Copyright (C) 1993 DJ Delorie
53All rights reserved.
54
55Redistribution, modification, and use in source and binary forms is permitted
56provided that the above copyright notice and following paragraph are
57duplicated in all such forms.
58
59This file is distributed WITHOUT ANY WARRANTY; without even the implied
60warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
61
62(4) (formerly GPL for fr30)
63
64The GPL is no longer applicable to the fr30 platform. The piece of
65code (syscalls.c) referencing the GPL has been officially relicensed.
66
67(5) Advanced Micro Devices
68
69Copyright 1989, 1990 Advanced Micro Devices, Inc.
70
71This software is the property of Advanced Micro Devices, Inc (AMD) which
72specifically grants the user the right to modify, use and distribute this
73software provided this notice is not removed or altered. All other rights
74are reserved by AMD.
75
76AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
77SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
78DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
79USE OF THIS SOFTWARE.
80
81So that all may benefit from your experience, please report any problems
82or suggestions about this software to the 29K Technical Support Center at
83800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
840031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
85
86Advanced Micro Devices, Inc.
8729K Support Products
88Mail Stop 573
895900 E. Ben White Blvd.
90Austin, TX 78741
91800-292-9263
92
93(6) - Analog Devices, Inc. (bfin-* targets)
94
95Copyright (C) 2006, 2008, 2009, 2011, 2012 Analog Devices, Inc.
96
97The authors hereby grant permission to use, copy, modify, distribute,
98and license this software and its documentation for any purpose, provided
99that existing copyright notices are retained in all copies and that this
100notice is included verbatim in any distributions. No written agreement,
101license, or royalty fee is required for any of the authorized uses.
102Modifications to this software may be copyrighted by their authors
103and need not follow the licensing terms described here, provided that
104the new terms are clearly indicated on the first page of each file where
105they apply.
106
107(7) University of Utah and the Computer Systems Laboratory (CSL)
108 [applies only to hppa*-*-pro* targets]
109Copyright (c) 1990,1994 The University of Utah and
110the Computer Systems Laboratory (CSL). All rights reserved.
111
112Permission to use, copy, modify and distribute this software is hereby
113granted provided that (1) source code retains these copyright, permission,
114and disclaimer notices, and (2) redistributions including binaries
115reproduce the notices in supporting documentation, and (3) all advertising
116materials mentioning features or use of this software display the following
117acknowledgement: ``This product includes software developed by the
118Computer Systems Laboratory at the University of Utah.''
119
120THE UNIVERSITY OF UTAH AND CSL ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS
121IS" CONDITION. THE UNIVERSITY OF UTAH AND CSL DISCLAIM ANY LIABILITY OF
122ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
123
124CSL requests users of this software to return to csl-dist@cs.utah.edu any
125improvements that they make and grant CSL redistribution rights.
126
127(8) Sun Microsystems
128
129Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
130
131Developed at SunPro, a Sun Microsystems, Inc. business.
132Permission to use, copy, modify, and distribute this
133software is freely granted, provided that this notice is preserved.
134
135(9) Hewlett Packard
136
137(c) Copyright 1986 HEWLETT-PACKARD COMPANY
138
139To anyone who acknowledges that this file is provided "AS IS"
140without any express or implied warranty:
141
142permission to use, copy, modify, and distribute this file
143for any purpose is hereby granted without fee, provided that
144the above copyright notice and this notice appears in all
145copies, and that the name of Hewlett-Packard Company not be
146used in advertising or publicity pertaining to distribution
147of the software without specific, written prior permission.
148Hewlett-Packard Company makes no representations about the
149suitability of this software for any purpose.
150
151(10) Hans-Peter Nilsson
152
153Copyright (C) 2001 Hans-Peter Nilsson
154
155Permission to use, copy, modify, and distribute this software is
156freely granted, provided that the above copyright notice, this notice
157and the following disclaimer are preserved with no changes.
158
159THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
160IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
161WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
162PURPOSE.
163
164(11) IBM Corp. spu processor (only spu-* targets)
165
166(C) Copyright IBM Corp. 2005, 2006
167
168All rights reserved.
169
170Redistribution and use in source and binary forms, with or without
171modification, are permitted provided that the following conditions are met:
172
173 * Redistributions of source code must retain the above copyright notice,
174this list of conditions and the following disclaimer.
175 * Redistributions in binary form must reproduce the above copyright
176notice, this list of conditions and the following disclaimer in the
177documentation and/or other materials provided with the distribution.
178 * Neither the name of IBM nor the names of its contributors may be
179used to endorse or promote products derived from this software without
180specific prior written permission.
181
182THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
183AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
184IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
185ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
186LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
187CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
188SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
189INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
190CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
191ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
192POSSIBILITY OF SUCH DAMAGE.
193
194(12) Jon Beniston (only lm32-* targets)
195
196 Contributed by Jon Beniston <jon@beniston.com>
197
198 Redistribution and use in source and binary forms, with or without
199 modification, are permitted provided that the following conditions
200 are met:
201 1. Redistributions of source code must retain the above copyright
202 notice, this list of conditions and the following disclaimer.
203 2. Redistributions in binary form must reproduce the above copyright
204 notice, this list of conditions and the following disclaimer in the
205 documentation and/or other materials provided with the distribution.
206
207 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
208 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
209 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
210 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
211 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
212 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
213 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
214 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
215 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
216 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
217 SUCH DAMAGE.
218
219(13) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
220
221Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
222
223Redistribution and use in source and binary forms, with or without
224modification, are permitted provided that the following conditions are
225met:
226
2271. Redistributions source code must retain the above copyright notice,
228this list of conditions and the following disclaimer.
229
2302. Redistributions in binary form must reproduce the above copyright
231notice, this list of conditions and the following disclaimer in the
232documentation and/or other materials provided with the distribution.
233
2343. Neither the name of Xilinx nor the names of its contributors may be
235used to endorse or promote products derived from this software without
236specific prior written permission.
237
238THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
239IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
240TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
241PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
242HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
243SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
244TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
245PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
246LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
247NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
248SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
249
250
251(14) - National Semiconductor Corporation
252
253Copyright (c) 2004 National Semiconductor Corporation
254
255The authors hereby grant permission to use, copy, modify, distribute,
256and license this software and its documentation for any purpose, provided
257that existing copyright notices are retained in all copies and that this
258notice is included verbatim in any distributions. No written agreement,
259license, or royalty fee is required for any of the authorized uses.
260Modifications to this software may be copyrighted by their authors
261and need not follow the licensing terms described here, provided that
262the new terms are clearly indicated on the first page of each file where
263they apply.
264
265
266(15) - CodeSourcery, Inc. (tic6x-* targets)
267
268Copyright (c) 2010 CodeSourcery, Inc.
269All rights reserved.
270
271Redistribution and use in source and binary forms, with or without
272modification, are permitted provided that the following conditions are met:
273 * Redistributions of source code must retain the above copyright
274 notice, this list of conditions and the following disclaimer.
275 * Redistributions in binary form must reproduce the above copyright
276 notice, this list of conditions and the following disclaimer in the
277 documentation and/or other materials provided with the distribution.
278 * Neither the name of CodeSourcery nor the
279 names of its contributors may be used to endorse or promote products
280 derived from this software without specific prior written permission.
281
282THIS SOFTWARE IS PROVIDED BY CODESOURCERY, INC. ``AS IS'' AND ANY
283EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
284WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
285DISCLAIMED. IN NO EVENT SHALL CODESOURCERY BE LIABLE FOR ANY
286DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
287(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
288LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
289ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
290(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
291SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
292
293
294(16) - GPL with exception (sparc-*leon*, crx-*, cr16-* targets only)
295
296 Copyright (C) 1992 Free Software Foundation, Inc.
297 Written By David Vinayak Henkel-Wallace, June 1992
298
299This file is free software; you can redistribute it and/or modify it
300under the terms of the GNU General Public License as published by the
301Free Software Foundation; either version 2, or (at your option) any
302later version.
303
304In addition to the permissions in the GNU General Public License, the
305Free Software Foundation gives you unlimited permission to link the
306compiled version of this file with other programs, and to distribute
307those programs without any restriction coming from the use of this
308file. (The General Public License restrictions do apply in other
309respects; for example, they cover modification of the file, and
310distribution when not linked into another program.)
311
312This file is distributed in the hope that it will be useful, but
313WITHOUT ANY WARRANTY; without even the implied warranty of
314MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
315General Public License for more details.
316
317You should have received a copy of the GNU General Public License
318along with this program; see the file COPYING. If not, write to
319the Free Software Foundation, 59 Temple Place - Suite 330,
320Boston, MA 02111-1307, USA.
321
322 As a special exception, if you link this library with files
323 compiled with GCC to produce an executable, this does not cause
324 the resulting executable to be covered by the GNU General Public License.
325 This exception does not however invalidate any other reasons why
326 the executable file might be covered by the GNU General Public License.
327
328
329(17) - Adapteva, Inc. (epiphany-* targets)
330
331Copyright (c) 2011, Adapteva, Inc.
332All rights reserved.
333
334Redistribution and use in source and binary forms, with or without
335modification, are permitted provided that the following conditions are met:
336 * Redistributions of source code must retain the above copyright notice, this
337 list of conditions and the following disclaimer.
338 * Redistributions in binary form must reproduce the above copyright notice,
339 this list of conditions and the following disclaimer in the documentation
340 and/or other materials provided with the distribution.
341 * Neither the name of Adapteva nor the names of its contributors may be used
342 to endorse or promote products derived from this software without specific
343 prior written permission.
344
345THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
346ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
347WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
348DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
349FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
350DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
351SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
352CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
353OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
354OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
355
356The newlib subdirectory is a collection of software from several sources.
357
358Each file may have its own copyright/license that is embedded in the source
359file. Unless otherwise noted in the body of the source file(s), the following copyright
360notices will apply to the contents of the newlib subdirectory:
361
362(1) Red Hat Incorporated
363
364Copyright (c) 1994-2009 Red Hat, Inc. All rights reserved.
365
366This copyrighted material is made available to anyone wishing to use,
367modify, copy, or redistribute it subject to the terms and conditions
368of the BSD License. This program is distributed in the hope that
369it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
370including the implied warranties of MERCHANTABILITY or FITNESS FOR
371A PARTICULAR PURPOSE. A copy of this license is available at
372http://www.opensource.org/licenses. Any Red Hat trademarks that are
373incorporated in the source code or documentation are not subject to
374the BSD License and may only be used or replicated with the express
375permission of Red Hat, Inc.
376
377(2) University of California, Berkeley
378
379Copyright (c) 1981-2000 The Regents of the University of California.
380All rights reserved.
381
382Redistribution and use in source and binary forms, with or without modification,
383are permitted provided that the following conditions are met:
384
385 * Redistributions of source code must retain the above copyright notice,
386 this list of conditions and the following disclaimer.
387 * Redistributions in binary form must reproduce the above copyright notice,
388 this list of conditions and the following disclaimer in the documentation
389 and/or other materials provided with the distribution.
390 * Neither the name of the University nor the names of its contributors
391 may be used to endorse or promote products derived from this software
392 without specific prior written permission.
393
394THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
395AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
396WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
397IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
398INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
399NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
400PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
401WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
402ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
403OF SUCH DAMAGE.
404
405(3) David M. Gay (AT&T 1991, Lucent 1998)
406
407The author of this software is David M. Gay.
408
409Copyright (c) 1991 by AT&T.
410
411Permission to use, copy, modify, and distribute this software for any
412purpose without fee is hereby granted, provided that this entire notice
413is included in all copies of any software which is or includes a copy
414or modification of this software and in all copies of the supporting
415documentation for such software.
416
417THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
418WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
419REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
420OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
421
422-------------------------------------------------------------------
423
424The author of this software is David M. Gay.
425
426Copyright (C) 1998-2001 by Lucent Technologies
427All Rights Reserved
428
429Permission to use, copy, modify, and distribute this software and
430its documentation for any purpose and without fee is hereby
431granted, provided that the above copyright notice appear in all
432copies and that both that the copyright notice and this
433permission notice and warranty disclaimer appear in supporting
434documentation, and that the name of Lucent or any of its entities
435not be used in advertising or publicity pertaining to
436distribution of the software without specific, written prior
437permission.
438
439LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
440INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
441IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
442SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
443WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
444IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
445ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
446THIS SOFTWARE.
447
448
449(4) Advanced Micro Devices
450
451Copyright 1989, 1990 Advanced Micro Devices, Inc.
452
453This software is the property of Advanced Micro Devices, Inc (AMD) which
454specifically grants the user the right to modify, use and distribute this
455software provided this notice is not removed or altered. All other rights
456are reserved by AMD.
457
458AMD MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
459SOFTWARE. IN NO EVENT SHALL AMD BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL
460DAMAGES IN CONNECTION WITH OR ARISING FROM THE FURNISHING, PERFORMANCE, OR
461USE OF THIS SOFTWARE.
462
463So that all may benefit from your experience, please report any problems
464or suggestions about this software to the 29K Technical Support Center at
465800-29-29-AMD (800-292-9263) in the USA, or 0800-89-1131 in the UK, or
4660031-11-1129 in Japan, toll free. The direct dial number is 512-462-4118.
467
468Advanced Micro Devices, Inc.
46929K Support Products
470Mail Stop 573
4715900 E. Ben White Blvd.
472Austin, TX 78741
473800-292-9263
474
475(5)
476
477(6)
478
479(7) Sun Microsystems
480
481Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
482
483Developed at SunPro, a Sun Microsystems, Inc. business.
484Permission to use, copy, modify, and distribute this
485software is freely granted, provided that this notice is preserved.
486
487(8) Hewlett Packard
488
489(c) Copyright 1986 HEWLETT-PACKARD COMPANY
490
491To anyone who acknowledges that this file is provided "AS IS"
492without any express or implied warranty:
493 permission to use, copy, modify, and distribute this file
494for any purpose is hereby granted without fee, provided that
495the above copyright notice and this notice appears in all
496copies, and that the name of Hewlett-Packard Company not be
497used in advertising or publicity pertaining to distribution
498of the software without specific, written prior permission.
499Hewlett-Packard Company makes no representations about the
500suitability of this software for any purpose.
501
502(9) Hans-Peter Nilsson
503
504Copyright (C) 2001 Hans-Peter Nilsson
505
506Permission to use, copy, modify, and distribute this software is
507freely granted, provided that the above copyright notice, this notice
508and the following disclaimer are preserved with no changes.
509
510THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
511IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
512WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
513PURPOSE.
514
515(10) Stephane Carrez (m68hc11-elf/m68hc12-elf targets only)
516
517Copyright (C) 1999, 2000, 2001, 2002 Stephane Carrez (stcarrez@nerim.fr)
518
519The authors hereby grant permission to use, copy, modify, distribute,
520and license this software and its documentation for any purpose, provided
521that existing copyright notices are retained in all copies and that this
522notice is included verbatim in any distributions. No written agreement,
523license, or royalty fee is required for any of the authorized uses.
524Modifications to this software may be copyrighted by their authors
525and need not follow the licensing terms described here, provided that
526the new terms are clearly indicated on the first page of each file where
527they apply.
528
529(11) Christopher G. Demetriou
530
531Copyright (c) 2001 Christopher G. Demetriou
532All rights reserved.
533
534Redistribution and use in source and binary forms, with or without
535modification, are permitted provided that the following conditions
536are met:
5371. Redistributions of source code must retain the above copyright
538 notice, this list of conditions and the following disclaimer.
5392. Redistributions in binary form must reproduce the above copyright
540 notice, this list of conditions and the following disclaimer in the
541 documentation and/or other materials provided with the distribution.
5423. The name of the author may not be used to endorse or promote products
543 derived from this software without specific prior written permission.
544
545THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
546IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
547OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
548IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
549INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
550NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
551DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
552THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
553(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
554THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
555
556(12) SuperH, Inc.
557
558Copyright 2002 SuperH, Inc. All rights reserved
559
560This software is the property of SuperH, Inc (SuperH) which specifically
561grants the user the right to modify, use and distribute this software
562provided this notice is not removed or altered. All other rights are
563reserved by SuperH.
564
565SUPERH MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO
566THIS SOFTWARE. IN NO EVENT SHALL SUPERH BE LIABLE FOR INDIRECT, SPECIAL,
567INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH OR ARISING FROM
568THE FURNISHING, PERFORMANCE, OR USE OF THIS SOFTWARE.
569
570So that all may benefit from your experience, please report any problems
571or suggestions about this software to the SuperH Support Center via
572e-mail at softwaresupport@superh.com .
573
574SuperH, Inc.
575405 River Oaks Parkway
576San Jose
577CA 95134
578USA
579
580(13) Royal Institute of Technology
581
582Copyright (c) 1999 Kungliga Tekniska Högskolan
583(Royal Institute of Technology, Stockholm, Sweden).
584All rights reserved.
585
586Redistribution and use in source and binary forms, with or without
587modification, are permitted provided that the following conditions
588are met:
589
5901. Redistributions of source code must retain the above copyright
591 notice, this list of conditions and the following disclaimer.
592
5932. Redistributions in binary form must reproduce the above copyright
594 notice, this list of conditions and the following disclaimer in the
595 documentation and/or other materials provided with the distribution.
596
5973. Neither the name of KTH nor the names of its contributors may be
598 used to endorse or promote products derived from this software without
599 specific prior written permission.
600
601THIS SOFTWARE IS PROVIDED BY KTH AND ITS CONTRIBUTORS ``AS IS'' AND ANY
602EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
603IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
604PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL KTH OR ITS CONTRIBUTORS BE
605LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
606CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
607SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
608BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
609WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
610OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
611ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
612
613(14) Alexey Zelkin
614
615Copyright (c) 2000, 2001 Alexey Zelkin <phantom@FreeBSD.org>
616All rights reserved.
617
618Redistribution and use in source and binary forms, with or without
619modification, are permitted provided that the following conditions
620are met:
6211. Redistributions of source code must retain the above copyright
622 notice, this list of conditions and the following disclaimer.
6232. Redistributions in binary form must reproduce the above copyright
624 notice, this list of conditions and the following disclaimer in the
625 documentation and/or other materials provided with the distribution.
626
627THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
628ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
629IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
630ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
631FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
632DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
633OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
634HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
635LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
636OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
637SUCH DAMAGE.
638
639(15) Andrey A. Chernov
640
641Copyright (C) 1997 by Andrey A. Chernov, Moscow, Russia.
642All rights reserved.
643
644Redistribution and use in source and binary forms, with or without
645modification, are permitted provided that the following conditions
646are met:
6471. Redistributions of source code must retain the above copyright
648 notice, this list of conditions and the following disclaimer.
6492. Redistributions in binary form must reproduce the above copyright
650 notice, this list of conditions and the following disclaimer in the
651 documentation and/or other materials provided with the distribution.
652
653THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
654ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
655IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
656ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
657FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
658DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
659OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
660HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
661LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
662OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
663SUCH DAMAGE.
664
665(16) FreeBSD
666
667Copyright (c) 1997-2002 FreeBSD Project.
668All rights reserved.
669
670Redistribution and use in source and binary forms, with or without
671modification, are permitted provided that the following conditions
672are met:
6731. Redistributions of source code must retain the above copyright
674 notice, this list of conditions and the following disclaimer.
6752. Redistributions in binary form must reproduce the above copyright
676 notice, this list of conditions and the following disclaimer in the
677 documentation and/or other materials provided with the distribution.
678
679THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
680ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
681IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
682ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
683FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
684DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
685OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
686HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
687LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
688OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
689SUCH DAMAGE.
690
691(17) S. L. Moshier
692
693Author: S. L. Moshier.
694
695Copyright (c) 1984,2000 S.L. Moshier
696
697Permission to use, copy, modify, and distribute this software for any
698purpose without fee is hereby granted, provided that this entire notice
699is included in all copies of any software which is or includes a copy
700or modification of this software and in all copies of the supporting
701documentation for such software.
702
703THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
704WARRANTY. IN PARTICULAR, THE AUTHOR MAKES NO REPRESENTATION
705OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY OF THIS
706SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
707
708(18) Citrus Project
709
710Copyright (c)1999 Citrus Project,
711All rights reserved.
712
713Redistribution and use in source and binary forms, with or without
714modification, are permitted provided that the following conditions
715are met:
7161. Redistributions of source code must retain the above copyright
717 notice, this list of conditions and the following disclaimer.
7182. Redistributions in binary form must reproduce the above copyright
719 notice, this list of conditions and the following disclaimer in the
720 documentation and/or other materials provided with the distribution.
721
722THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
723ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
724IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
725ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
726FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
727DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
728OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
729HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
730LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
731OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
732SUCH DAMAGE.
733
734(19) Todd C. Miller
735
736Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
737All rights reserved.
738
739Redistribution and use in source and binary forms, with or without
740modification, are permitted provided that the following conditions
741are met:
7421. Redistributions of source code must retain the above copyright
743 notice, this list of conditions and the following disclaimer.
7442. Redistributions in binary form must reproduce the above copyright
745 notice, this list of conditions and the following disclaimer in the
746 documentation and/or other materials provided with the distribution.
7473. The name of the author may not be used to endorse or promote products
748 derived from this software without specific prior written permission.
749
750THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
751INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
752AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
753THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
754EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
755PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
756OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
757WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
758OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
759ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
760
761(20) DJ Delorie (i386)
762Copyright (C) 1991 DJ Delorie
763All rights reserved.
764
765Redistribution, modification, and use in source and binary forms is permitted
766provided that the above copyright notice and following paragraph are
767duplicated in all such forms.
768
769This file is distributed WITHOUT ANY WARRANTY; without even the implied
770warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
771
772(21) Free Software Foundation LGPL License (*-linux* targets only)
773
774 Copyright (C) 1990-1999, 2000, 2001 Free Software Foundation, Inc.
775 This file is part of the GNU C Library.
776 Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
777
778 The GNU C Library is free software; you can redistribute it and/or
779 modify it under the terms of the GNU Lesser General Public
780 License as published by the Free Software Foundation; either
781 version 2.1 of the License, or (at your option) any later version.
782
783 The GNU C Library is distributed in the hope that it will be useful,
784 but WITHOUT ANY WARRANTY; without even the implied warranty of
785 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
786 Lesser General Public License for more details.
787
788 You should have received a copy of the GNU Lesser General Public
789 License along with the GNU C Library; if not, write to the Free
790 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
791 02110-1301 USA.
792
793(22) Xavier Leroy LGPL License (i[3456]86-*-linux* targets only)
794
795Copyright (C) 1996 Xavier Leroy (Xavier.Leroy@inria.fr)
796
797This program is free software; you can redistribute it and/or
798modify it under the terms of the GNU Library General Public License
799as published by the Free Software Foundation; either version 2
800of the License, or (at your option) any later version.
801
802This program is distributed in the hope that it will be useful,
803but WITHOUT ANY WARRANTY; without even the implied warranty of
804MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
805GNU Library General Public License for more details.
806
807(23) Intel (i960)
808
809Copyright (c) 1993 Intel Corporation
810
811Intel hereby grants you permission to copy, modify, and distribute this
812software and its documentation. Intel grants this permission provided
813that the above copyright notice appears in all copies and that both the
814copyright notice and this permission notice appear in supporting
815documentation. In addition, Intel grants this permission provided that
816you prominently mark as "not part of the original" any modifications
817made to this software or documentation, and that the name of Intel
818Corporation not be used in advertising or publicity pertaining to
819distribution of the software or the documentation without specific,
820written prior permission.
821
822Intel Corporation provides this AS IS, WITHOUT ANY WARRANTY, EXPRESS OR
823IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY
824OR FITNESS FOR A PARTICULAR PURPOSE. Intel makes no guarantee or
825representations regarding the use of, or the results of the use of,
826the software and documentation in terms of correctness, accuracy,
827reliability, currentness, or otherwise; and you rely on the software,
828documentation and results solely at your own risk.
829
830IN NO EVENT SHALL INTEL BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS,
831LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES
832OF ANY KIND. IN NO EVENT SHALL INTEL'S TOTAL LIABILITY EXCEED THE SUM
833PAID TO INTEL FOR THE PRODUCT LICENSED HEREUNDER.
834
835(24) Hewlett-Packard (hppa targets only)
836
837(c) Copyright 1986 HEWLETT-PACKARD COMPANY
838
839To anyone who acknowledges that this file is provided "AS IS"
840without any express or implied warranty:
841 permission to use, copy, modify, and distribute this file
842for any purpose is hereby granted without fee, provided that
843the above copyright notice and this notice appears in all
844copies, and that the name of Hewlett-Packard Company not be
845used in advertising or publicity pertaining to distribution
846of the software without specific, written prior permission.
847Hewlett-Packard Company makes no representations about the
848suitability of this software for any purpose.
849
850(25) Henry Spencer (only *-linux targets)
851
852Copyright 1992, 1993, 1994 Henry Spencer. All rights reserved.
853This software is not subject to any license of the American Telephone
854and Telegraph Company or of the Regents of the University of California.
855
856Permission is granted to anyone to use this software for any purpose on
857any computer system, and to alter it and redistribute it, subject
858to the following restrictions:
859
8601. The author is not responsible for the consequences of use of this
861 software, no matter how awful, even if they arise from flaws in it.
862
8632. The origin of this software must not be misrepresented, either by
864 explicit claim or by omission. Since few users ever read sources,
865 credits must appear in the documentation.
866
8673. Altered versions must be plainly marked as such, and must not be
868 misrepresented as being the original software. Since few users
869 ever read sources, credits must appear in the documentation.
870
8714. This notice may not be removed or altered.
872
873(26) Mike Barcroft
874
875Copyright (c) 2001 Mike Barcroft <mike@FreeBSD.org>
876All rights reserved.
877
878Redistribution and use in source and binary forms, with or without
879modification, are permitted provided that the following conditions
880are met:
8811. Redistributions of source code must retain the above copyright
882 notice, this list of conditions and the following disclaimer.
8832. Redistributions in binary form must reproduce the above copyright
884 notice, this list of conditions and the following disclaimer in the
885 documentation and/or other materials provided with the distribution.
886
887THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
888ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
889IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
890ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
891FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
892DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
893OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
894HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
895LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
896OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
897SUCH DAMAGE.
898
899(27) Konstantin Chuguev (--enable-newlib-iconv)
900
901Copyright (c) 1999, 2000
902 Konstantin Chuguev. All rights reserved.
903
904Redistribution and use in source and binary forms, with or without
905modification, are permitted provided that the following conditions
906are met:
9071. Redistributions of source code must retain the above copyright
908 notice, this list of conditions and the following disclaimer.
9092. Redistributions in binary form must reproduce the above copyright
910 notice, this list of conditions and the following disclaimer in the
911 documentation and/or other materials provided with the distribution.
912
913THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
914ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
915IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
916ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
917FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
918DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
919OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
920HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
921LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
922OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
923SUCH DAMAGE.
924
925 iconv (Charset Conversion Library) v2.0
926
927(28) Artem Bityuckiy (--enable-newlib-iconv)
928
929Copyright (c) 2003, Artem B. Bityuckiy, SoftMine Corporation.
930Rights transferred to Franklin Electronic Publishers.
931
932Redistribution and use in source and binary forms, with or without
933modification, are permitted provided that the following conditions
934are met:
9351. Redistributions of source code must retain the above copyright
936 notice, this list of conditions and the following disclaimer.
9372. Redistributions in binary form must reproduce the above copyright
938 notice, this list of conditions and the following disclaimer in the
939 documentation and/or other materials provided with the distribution.
940
941THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
942ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
943IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
944ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
945FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
946DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
947OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
948HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
949LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
950OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
951SUCH DAMAGE.
952
953(29) IBM, Sony, Toshiba (only spu-* targets)
954
955 (C) Copyright 2001,2006,
956 International Business Machines Corporation,
957 Sony Computer Entertainment, Incorporated,
958 Toshiba Corporation,
959
960 All rights reserved.
961
962 Redistribution and use in source and binary forms, with or without
963 modification, are permitted provided that the following conditions are met:
964
965 * Redistributions of source code must retain the above copyright notice,
966 this list of conditions and the following disclaimer.
967 * Redistributions in binary form must reproduce the above copyright
968 notice, this list of conditions and the following disclaimer in the
969 documentation and/or other materials provided with the distribution.
970 * Neither the names of the copyright holders nor the names of their
971 contributors may be used to endorse or promote products derived from this
972 software without specific prior written permission.
973
974 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
975 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
976 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
977 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
978 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
979 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
980 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
981 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
982 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
983 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
984 POSSIBILITY OF SUCH DAMAGE.
985
986(30) - Alex Tatmanjants (targets using libc/posix)
987
988 Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
989 at Electronni Visti IA, Kiev, Ukraine.
990 All rights reserved.
991
992 Redistribution and use in source and binary forms, with or without
993 modification, are permitted provided that the following conditions
994 are met:
995 1. Redistributions of source code must retain the above copyright
996 notice, this list of conditions and the following disclaimer.
997 2. Redistributions in binary form must reproduce the above copyright
998 notice, this list of conditions and the following disclaimer in the
999 documentation and/or other materials provided with the distribution.
1000
1001 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
1002 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1003 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1004 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
1005 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1006 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1007 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1008 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1009 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1010 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1011 SUCH DAMAGE.
1012
1013(31) - M. Warner Losh (targets using libc/posix)
1014
1015 Copyright (c) 1998, M. Warner Losh <imp@freebsd.org>
1016 All rights reserved.
1017
1018 Redistribution and use in source and binary forms, with or without
1019 modification, are permitted provided that the following conditions
1020 are met:
1021 1. Redistributions of source code must retain the above copyright
1022 notice, this list of conditions and the following disclaimer.
1023 2. Redistributions in binary form must reproduce the above copyright
1024 notice, this list of conditions and the following disclaimer in the
1025 documentation and/or other materials provided with the distribution.
1026
1027 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1028 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1029 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1030 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1031 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1032 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1033 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1034 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1035 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1036 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1037 SUCH DAMAGE.
1038
1039(32) - Andrey A. Chernov (targets using libc/posix)
1040
1041 Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
1042 All rights reserved.
1043
1044 Redistribution and use in source and binary forms, with or without
1045 modification, are permitted provided that the following conditions
1046 are met:
1047 1. Redistributions of source code must retain the above copyright
1048 notice, this list of conditions and the following disclaimer.
1049 2. Redistributions in binary form must reproduce the above copyright
1050 notice, this list of conditions and the following disclaimer in the
1051 documentation and/or other materials provided with the distribution.
1052
1053 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
1054 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1055 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1056 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1057 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1058 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1059 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1060 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1061 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1062 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1063 SUCH DAMAGE.
1064
1065(33) - Daniel Eischen (targets using libc/posix)
1066
1067 Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
1068 All rights reserved.
1069
1070 Redistribution and use in source and binary forms, with or without
1071 modification, are permitted provided that the following conditions
1072 are met:
1073 1. Redistributions of source code must retain the above copyright
1074 notice, this list of conditions and the following disclaimer.
1075 2. Redistributions in binary form must reproduce the above copyright
1076 notice, this list of conditions and the following disclaimer in the
1077 documentation and/or other materials provided with the distribution.
1078
1079 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1080 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1081 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1082 ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
1083 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1084 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1085 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1086 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1087 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1088 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1089 SUCH DAMAGE.
1090
1091
1092(34) - Jon Beniston (only lm32-* targets)
1093
1094 Contributed by Jon Beniston <jon@beniston.com>
1095
1096 Redistribution and use in source and binary forms, with or without
1097 modification, are permitted provided that the following conditions
1098 are met:
1099 1. Redistributions of source code must retain the above copyright
1100 notice, this list of conditions and the following disclaimer.
1101 2. Redistributions in binary form must reproduce the above copyright
1102 notice, this list of conditions and the following disclaimer in the
1103 documentation and/or other materials provided with the distribution.
1104
1105 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1106 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1107 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1108 ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1109 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1110 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1111 OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1112 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1113 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1114 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1115 SUCH DAMAGE.
1116
1117
1118(35) - ARM Ltd (arm and thumb variant targets only)
1119
1120 Copyright (c) 2009 ARM Ltd
1121 All rights reserved.
1122
1123 Redistribution and use in source and binary forms, with or without
1124 modification, are permitted provided that the following conditions
1125 are met:
1126 1. Redistributions of source code must retain the above copyright
1127 notice, this list of conditions and the following disclaimer.
1128 2. Redistributions in binary form must reproduce the above copyright
1129 notice, this list of conditions and the following disclaimer in the
1130 documentation and/or other materials provided with the distribution.
1131 3. The name of the company may not be used to endorse or promote
1132 products derived from this software without specific prior written
1133 permission.
1134
1135 THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
1136 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1137 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1138 IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1139 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
1140 TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1141 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
1142 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
1143 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1144 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1145
1146(36) - Xilinx, Inc. (microblaze-* and powerpc-* targets)
1147
1148Copyright (c) 2004, 2009 Xilinx, Inc. All rights reserved.
1149
1150Redistribution and use in source and binary forms, with or without
1151modification, are permitted provided that the following conditions are
1152met:
1153
11541. Redistributions source code must retain the above copyright notice,
1155this list of conditions and the following disclaimer.
1156
11572. Redistributions in binary form must reproduce the above copyright
1158notice, this list of conditions and the following disclaimer in the
1159documentation and/or other materials provided with the distribution.
1160
11613. Neither the name of Xilinx nor the names of its contributors may be
1162used to endorse or promote products derived from this software without
1163specific prior written permission.
1164
1165THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
1166IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1167TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
1168PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1169HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1170SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
1171TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
1172PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
1173LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
1174NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1175SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1176
1177
1178(37) Texas Instruments Incorporated (tic6x-* targets)
1179
1180Copyright (c) 1996-2010 Texas Instruments Incorporated
1181http://www.ti.com/
1182
1183 Redistribution and use in source and binary forms, with or without
1184 modification, are permitted provided that the following conditions
1185 are met:
1186
1187 Redistributions of source code must retain the above copyright
1188 notice, this list of conditions and the following disclaimer.
1189
1190 Redistributions in binary form must reproduce the above copyright
1191 notice, this list of conditions and the following disclaimer in
1192 the documentation and/or other materials provided with the
1193 distribution.
1194
1195 Neither the name of Texas Instruments Incorporated nor the names
1196 of its contributors may be used to endorse or promote products
1197 derived from this software without specific prior written
1198 permission.
1199
1200 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1201 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1202 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1203 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1204 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1205 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1206 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1207 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1208 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1209 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1210 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1211
1212(38) National Semiconductor (cr16-* and crx-* targets)
1213
1214Copyright (c) 2004 National Semiconductor Corporation
1215
1216The authors hereby grant permission to use, copy, modify, distribute,
1217and license this software and its documentation for any purpose, provided
1218that existing copyright notices are retained in all copies and that this
1219notice is included verbatim in any distributions. No written agreement,
1220license, or royalty fee is required for any of the authorized uses.
1221Modifications to this software may be copyrighted by their authors
1222and need not follow the licensing terms described here, provided that
1223the new terms are clearly indicated on the first page of each file where
1224they apply.
1225
1226(39) - Adapteva, Inc. (epiphany-* targets)
1227
1228Copyright (c) 2011, Adapteva, Inc.
1229All rights reserved.
1230
1231Redistribution and use in source and binary forms, with or without
1232modification, are permitted provided that the following conditions are met:
1233 * Redistributions of source code must retain the above copyright notice, this
1234 list of conditions and the following disclaimer.
1235 * Redistributions in binary form must reproduce the above copyright notice,
1236 this list of conditions and the following disclaimer in the documentation
1237 and/or other materials provided with the distribution.
1238 * Neither the name of Adapteva nor the names of its contributors may be used
1239 to endorse or promote products derived from this software without specific
1240 prior written permission.
1241
1242THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1243ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1244WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1245DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1246FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1247DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1248SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1249CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1250OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1251OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1252
1253(40) - Altera Corportion (nios2-* targets)
1254
1255Copyright (c) 2003 Altera Corporation
1256All rights reserved.
1257
1258Redistribution and use in source and binary forms, with or without
1259modification, are permitted provided that the following conditions
1260are met:
1261
1262 o Redistributions of source code must retain the above copyright
1263 notice, this list of conditions and the following disclaimer.
1264 o Redistributions in binary form must reproduce the above copyright
1265 notice, this list of conditions and the following disclaimer in the
1266 documentation and/or other materials provided with the distribution.
1267 o Neither the name of Altera Corporation nor the names of its
1268 contributors may be used to endorse or promote products derived from
1269 this software without specific prior written permission.
1270
1271THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER,
1272AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
1273INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
1274AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
1275THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
1276INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
1277BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
1278OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
1279ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
1280TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
1281USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1282
1283(41) Ed Schouten - Free BSD
1284
1285Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
1286All rights reserved.
1287
1288Redistribution and use in source and binary forms, with or without
1289modification, are permitted provided that the following conditions
1290are met:
12911. Redistributions of source code must retain the above copyright
1292 notice, this list of conditions and the following disclaimer.
12932. Redistributions in binary form must reproduce the above copyright
1294 notice, this list of conditions and the following disclaimer in the
1295 documentation and/or other materials provided with the distribution.
1296
1297THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1298ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1299IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1300ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1301FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1302DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1303OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1304HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1305LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1306OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1307SUCH DAMAGE.
1308
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08001309 GNU LESSER GENERAL PUBLIC LICENSE
1310 Version 3, 29 June 2007
1311
1312 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
1313 Everyone is permitted to copy and distribute verbatim copies
1314 of this license document, but changing it is not allowed.
1315
1316
1317 This version of the GNU Lesser General Public License incorporates
1318the terms and conditions of version 3 of the GNU General Public
1319License, supplemented by the additional permissions listed below.
1320
1321 0. Additional Definitions.
1322
1323 As used herein, "this License" refers to version 3 of the GNU Lesser
1324General Public License, and the "GNU GPL" refers to version 3 of the GNU
1325General Public License.
1326
1327 "The Library" refers to a covered work governed by this License,
1328other than an Application or a Combined Work as defined below.
1329
1330 An "Application" is any work that makes use of an interface provided
1331by the Library, but which is not otherwise based on the Library.
1332Defining a subclass of a class defined by the Library is deemed a mode
1333of using an interface provided by the Library.
1334
1335 A "Combined Work" is a work produced by combining or linking an
1336Application with the Library. The particular version of the Library
1337with which the Combined Work was made is also called the "Linked
1338Version".
1339
1340 The "Minimal Corresponding Source" for a Combined Work means the
1341Corresponding Source for the Combined Work, excluding any source code
1342for portions of the Combined Work that, considered in isolation, are
1343based on the Application, and not on the Linked Version.
1344
1345 The "Corresponding Application Code" for a Combined Work means the
1346object code and/or source code for the Application, including any data
1347and utility programs needed for reproducing the Combined Work from the
1348Application, but excluding the System Libraries of the Combined Work.
1349
1350 1. Exception to Section 3 of the GNU GPL.
1351
1352 You may convey a covered work under sections 3 and 4 of this License
1353without being bound by section 3 of the GNU GPL.
1354
1355 2. Conveying Modified Versions.
1356
1357 If you modify a copy of the Library, and, in your modifications, a
1358facility refers to a function or data to be supplied by an Application
1359that uses the facility (other than as an argument passed when the
1360facility is invoked), then you may convey a copy of the modified
1361version:
1362
1363 a) under this License, provided that you make a good faith effort to
1364 ensure that, in the event an Application does not supply the
1365 function or data, the facility still operates, and performs
1366 whatever part of its purpose remains meaningful, or
1367
1368 b) under the GNU GPL, with none of the additional permissions of
1369 this License applicable to that copy.
1370
1371 3. Object Code Incorporating Material from Library Header Files.
1372
1373 The object code form of an Application may incorporate material from
1374a header file that is part of the Library. You may convey such object
1375code under terms of your choice, provided that, if the incorporated
1376material is not limited to numerical parameters, data structure
1377layouts and accessors, or small macros, inline functions and templates
1378(ten or fewer lines in length), you do both of the following:
1379
1380 a) Give prominent notice with each copy of the object code that the
1381 Library is used in it and that the Library and its use are
1382 covered by this License.
1383
1384 b) Accompany the object code with a copy of the GNU GPL and this license
1385 document.
1386
1387 4. Combined Works.
1388
1389 You may convey a Combined Work under terms of your choice that,
1390taken together, effectively do not restrict modification of the
1391portions of the Library contained in the Combined Work and reverse
1392engineering for debugging such modifications, if you also do each of
1393the following:
1394
1395 a) Give prominent notice with each copy of the Combined Work that
1396 the Library is used in it and that the Library and its use are
1397 covered by this License.
1398
1399 b) Accompany the Combined Work with a copy of the GNU GPL and this license
1400 document.
1401
1402 c) For a Combined Work that displays copyright notices during
1403 execution, include the copyright notice for the Library among
1404 these notices, as well as a reference directing the user to the
1405 copies of the GNU GPL and this license document.
1406
1407 d) Do one of the following:
1408
1409 0) Convey the Minimal Corresponding Source under the terms of this
1410 License, and the Corresponding Application Code in a form
1411 suitable for, and under terms that permit, the user to
1412 recombine or relink the Application with a modified version of
1413 the Linked Version to produce a modified Combined Work, in the
1414 manner specified by section 6 of the GNU GPL for conveying
1415 Corresponding Source.
1416
1417 1) Use a suitable shared library mechanism for linking with the
1418 Library. A suitable mechanism is one that (a) uses at run time
1419 a copy of the Library already present on the user's computer
1420 system, and (b) will operate properly with a modified version
1421 of the Library that is interface-compatible with the Linked
1422 Version.
1423
1424 e) Provide Installation Information, but only if you would otherwise
1425 be required to provide such information under section 6 of the
1426 GNU GPL, and only to the extent that such information is
1427 necessary to install and execute a modified version of the
1428 Combined Work produced by recombining or relinking the
1429 Application with a modified version of the Linked Version. (If
1430 you use option 4d0, the Installation Information must accompany
1431 the Minimal Corresponding Source and Corresponding Application
1432 Code. If you use option 4d1, you must provide the Installation
1433 Information in the manner specified by section 6 of the GNU GPL
1434 for conveying Corresponding Source.)
1435
1436 5. Combined Libraries.
1437
1438 You may place library facilities that are a work based on the
1439Library side by side in a single library together with other library
1440facilities that are not Applications and are not covered by this
1441License, and convey such a combined library under terms of your
1442choice, if you do both of the following:
1443
1444 a) Accompany the combined library with a copy of the same work based
1445 on the Library, uncombined with any other library facilities,
1446 conveyed under the terms of this License.
1447
1448 b) Give prominent notice with the combined library that part of it
1449 is a work based on the Library, and explaining where to find the
1450 accompanying uncombined form of the same work.
1451
1452 6. Revised Versions of the GNU Lesser General Public License.
1453
1454 The Free Software Foundation may publish revised and/or new versions
1455of the GNU Lesser General Public License from time to time. Such new
1456versions will be similar in spirit to the present version, but may
1457differ in detail to address new problems or concerns.
1458
1459 Each version is given a distinguishing version number. If the
1460Library as you received it specifies that a certain numbered version
1461of the GNU Lesser General Public License "or any later version"
1462applies to it, you have the option of following the terms and
1463conditions either of that published version or of any later version
1464published by the Free Software Foundation. If the Library as you
1465received it does not specify a version number of the GNU Lesser
1466General Public License, you may choose any version of the GNU Lesser
1467General Public License ever published by the Free Software Foundation.
1468
1469 If the Library as you received it specifies that a proxy can decide
1470whether future versions of the GNU Lesser General Public License shall
1471apply, that proxy's public statement of acceptance of any version is
1472permanent authorization for you to choose that version for the
1473Library.
1474 GNU GENERAL PUBLIC LICENSE
1475 Version 3, 29 June 2007
1476
1477 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
1478 Everyone is permitted to copy and distribute verbatim copies
1479 of this license document, but changing it is not allowed.
1480
1481 Preamble
1482
1483 The GNU General Public License is a free, copyleft license for
1484software and other kinds of works.
1485
1486 The licenses for most software and other practical works are designed
1487to take away your freedom to share and change the works. By contrast,
1488the GNU General Public License is intended to guarantee your freedom to
1489share and change all versions of a program--to make sure it remains free
1490software for all its users. We, the Free Software Foundation, use the
1491GNU General Public License for most of our software; it applies also to
1492any other work released this way by its authors. You can apply it to
1493your programs, too.
1494
1495 When we speak of free software, we are referring to freedom, not
1496price. Our General Public Licenses are designed to make sure that you
1497have the freedom to distribute copies of free software (and charge for
1498them if you wish), that you receive source code or can get it if you
1499want it, that you can change the software or use pieces of it in new
1500free programs, and that you know you can do these things.
1501
1502 To protect your rights, we need to prevent others from denying you
1503these rights or asking you to surrender the rights. Therefore, you have
1504certain responsibilities if you distribute copies of the software, or if
1505you modify it: responsibilities to respect the freedom of others.
1506
1507 For example, if you distribute copies of such a program, whether
1508gratis or for a fee, you must pass on to the recipients the same
1509freedoms that you received. You must make sure that they, too, receive
1510or can get the source code. And you must show them these terms so they
1511know their rights.
1512
1513 Developers that use the GNU GPL protect your rights with two steps:
1514(1) assert copyright on the software, and (2) offer you this License
1515giving you legal permission to copy, distribute and/or modify it.
1516
1517 For the developers' and authors' protection, the GPL clearly explains
1518that there is no warranty for this free software. For both users' and
1519authors' sake, the GPL requires that modified versions be marked as
1520changed, so that their problems will not be attributed erroneously to
1521authors of previous versions.
1522
1523 Some devices are designed to deny users access to install or run
1524modified versions of the software inside them, although the manufacturer
1525can do so. This is fundamentally incompatible with the aim of
1526protecting users' freedom to change the software. The systematic
1527pattern of such abuse occurs in the area of products for individuals to
1528use, which is precisely where it is most unacceptable. Therefore, we
1529have designed this version of the GPL to prohibit the practice for those
1530products. If such problems arise substantially in other domains, we
1531stand ready to extend this provision to those domains in future versions
1532of the GPL, as needed to protect the freedom of users.
1533
1534 Finally, every program is threatened constantly by software patents.
1535States should not allow patents to restrict development and use of
1536software on general-purpose computers, but in those that do, we wish to
1537avoid the special danger that patents applied to a free program could
1538make it effectively proprietary. To prevent this, the GPL assures that
1539patents cannot be used to render the program non-free.
1540
1541 The precise terms and conditions for copying, distribution and
1542modification follow.
1543
1544 TERMS AND CONDITIONS
1545
1546 0. Definitions.
1547
1548 "This License" refers to version 3 of the GNU General Public License.
1549
1550 "Copyright" also means copyright-like laws that apply to other kinds of
1551works, such as semiconductor masks.
1552
1553 "The Program" refers to any copyrightable work licensed under this
1554License. Each licensee is addressed as "you". "Licensees" and
1555"recipients" may be individuals or organizations.
1556
1557 To "modify" a work means to copy from or adapt all or part of the work
1558in a fashion requiring copyright permission, other than the making of an
1559exact copy. The resulting work is called a "modified version" of the
1560earlier work or a work "based on" the earlier work.
1561
1562 A "covered work" means either the unmodified Program or a work based
1563on the Program.
1564
1565 To "propagate" a work means to do anything with it that, without
1566permission, would make you directly or secondarily liable for
1567infringement under applicable copyright law, except executing it on a
1568computer or modifying a private copy. Propagation includes copying,
1569distribution (with or without modification), making available to the
1570public, and in some countries other activities as well.
1571
1572 To "convey" a work means any kind of propagation that enables other
1573parties to make or receive copies. Mere interaction with a user through
1574a computer network, with no transfer of a copy, is not conveying.
1575
1576 An interactive user interface displays "Appropriate Legal Notices"
1577to the extent that it includes a convenient and prominently visible
1578feature that (1) displays an appropriate copyright notice, and (2)
1579tells the user that there is no warranty for the work (except to the
1580extent that warranties are provided), that licensees may convey the
1581work under this License, and how to view a copy of this License. If
1582the interface presents a list of user commands or options, such as a
1583menu, a prominent item in the list meets this criterion.
1584
1585 1. Source Code.
1586
1587 The "source code" for a work means the preferred form of the work
1588for making modifications to it. "Object code" means any non-source
1589form of a work.
1590
1591 A "Standard Interface" means an interface that either is an official
1592standard defined by a recognized standards body, or, in the case of
1593interfaces specified for a particular programming language, one that
1594is widely used among developers working in that language.
1595
1596 The "System Libraries" of an executable work include anything, other
1597than the work as a whole, that (a) is included in the normal form of
1598packaging a Major Component, but which is not part of that Major
1599Component, and (b) serves only to enable use of the work with that
1600Major Component, or to implement a Standard Interface for which an
1601implementation is available to the public in source code form. A
1602"Major Component", in this context, means a major essential component
1603(kernel, window system, and so on) of the specific operating system
1604(if any) on which the executable work runs, or a compiler used to
1605produce the work, or an object code interpreter used to run it.
1606
1607 The "Corresponding Source" for a work in object code form means all
1608the source code needed to generate, install, and (for an executable
1609work) run the object code and to modify the work, including scripts to
1610control those activities. However, it does not include the work's
1611System Libraries, or general-purpose tools or generally available free
1612programs which are used unmodified in performing those activities but
1613which are not part of the work. For example, Corresponding Source
1614includes interface definition files associated with source files for
1615the work, and the source code for shared libraries and dynamically
1616linked subprograms that the work is specifically designed to require,
1617such as by intimate data communication or control flow between those
1618subprograms and other parts of the work.
1619
1620 The Corresponding Source need not include anything that users
1621can regenerate automatically from other parts of the Corresponding
1622Source.
1623
1624 The Corresponding Source for a work in source code form is that
1625same work.
1626
1627 2. Basic Permissions.
1628
1629 All rights granted under this License are granted for the term of
1630copyright on the Program, and are irrevocable provided the stated
1631conditions are met. This License explicitly affirms your unlimited
1632permission to run the unmodified Program. The output from running a
1633covered work is covered by this License only if the output, given its
1634content, constitutes a covered work. This License acknowledges your
1635rights of fair use or other equivalent, as provided by copyright law.
1636
1637 You may make, run and propagate covered works that you do not
1638convey, without conditions so long as your license otherwise remains
1639in force. You may convey covered works to others for the sole purpose
1640of having them make modifications exclusively for you, or provide you
1641with facilities for running those works, provided that you comply with
1642the terms of this License in conveying all material for which you do
1643not control copyright. Those thus making or running the covered works
1644for you must do so exclusively on your behalf, under your direction
1645and control, on terms that prohibit them from making any copies of
1646your copyrighted material outside their relationship with you.
1647
1648 Conveying under any other circumstances is permitted solely under
1649the conditions stated below. Sublicensing is not allowed; section 10
1650makes it unnecessary.
1651
1652 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
1653
1654 No covered work shall be deemed part of an effective technological
1655measure under any applicable law fulfilling obligations under article
165611 of the WIPO copyright treaty adopted on 20 December 1996, or
1657similar laws prohibiting or restricting circumvention of such
1658measures.
1659
1660 When you convey a covered work, you waive any legal power to forbid
1661circumvention of technological measures to the extent such circumvention
1662is effected by exercising rights under this License with respect to
1663the covered work, and you disclaim any intention to limit operation or
1664modification of the work as a means of enforcing, against the work's
1665users, your or third parties' legal rights to forbid circumvention of
1666technological measures.
1667
1668 4. Conveying Verbatim Copies.
1669
1670 You may convey verbatim copies of the Program's source code as you
1671receive it, in any medium, provided that you conspicuously and
1672appropriately publish on each copy an appropriate copyright notice;
1673keep intact all notices stating that this License and any
1674non-permissive terms added in accord with section 7 apply to the code;
1675keep intact all notices of the absence of any warranty; and give all
1676recipients a copy of this License along with the Program.
1677
1678 You may charge any price or no price for each copy that you convey,
1679and you may offer support or warranty protection for a fee.
1680
1681 5. Conveying Modified Source Versions.
1682
1683 You may convey a work based on the Program, or the modifications to
1684produce it from the Program, in the form of source code under the
1685terms of section 4, provided that you also meet all of these conditions:
1686
1687 a) The work must carry prominent notices stating that you modified
1688 it, and giving a relevant date.
1689
1690 b) The work must carry prominent notices stating that it is
1691 released under this License and any conditions added under section
1692 7. This requirement modifies the requirement in section 4 to
1693 "keep intact all notices".
1694
1695 c) You must license the entire work, as a whole, under this
1696 License to anyone who comes into possession of a copy. This
1697 License will therefore apply, along with any applicable section 7
1698 additional terms, to the whole of the work, and all its parts,
1699 regardless of how they are packaged. This License gives no
1700 permission to license the work in any other way, but it does not
1701 invalidate such permission if you have separately received it.
1702
1703 d) If the work has interactive user interfaces, each must display
1704 Appropriate Legal Notices; however, if the Program has interactive
1705 interfaces that do not display Appropriate Legal Notices, your
1706 work need not make them do so.
1707
1708 A compilation of a covered work with other separate and independent
1709works, which are not by their nature extensions of the covered work,
1710and which are not combined with it such as to form a larger program,
1711in or on a volume of a storage or distribution medium, is called an
1712"aggregate" if the compilation and its resulting copyright are not
1713used to limit the access or legal rights of the compilation's users
1714beyond what the individual works permit. Inclusion of a covered work
1715in an aggregate does not cause this License to apply to the other
1716parts of the aggregate.
1717
1718 6. Conveying Non-Source Forms.
1719
1720 You may convey a covered work in object code form under the terms
1721of sections 4 and 5, provided that you also convey the
1722machine-readable Corresponding Source under the terms of this License,
1723in one of these ways:
1724
1725 a) Convey the object code in, or embodied in, a physical product
1726 (including a physical distribution medium), accompanied by the
1727 Corresponding Source fixed on a durable physical medium
1728 customarily used for software interchange.
1729
1730 b) Convey the object code in, or embodied in, a physical product
1731 (including a physical distribution medium), accompanied by a
1732 written offer, valid for at least three years and valid for as
1733 long as you offer spare parts or customer support for that product
1734 model, to give anyone who possesses the object code either (1) a
1735 copy of the Corresponding Source for all the software in the
1736 product that is covered by this License, on a durable physical
1737 medium customarily used for software interchange, for a price no
1738 more than your reasonable cost of physically performing this
1739 conveying of source, or (2) access to copy the
1740 Corresponding Source from a network server at no charge.
1741
1742 c) Convey individual copies of the object code with a copy of the
1743 written offer to provide the Corresponding Source. This
1744 alternative is allowed only occasionally and noncommercially, and
1745 only if you received the object code with such an offer, in accord
1746 with subsection 6b.
1747
1748 d) Convey the object code by offering access from a designated
1749 place (gratis or for a charge), and offer equivalent access to the
1750 Corresponding Source in the same way through the same place at no
1751 further charge. You need not require recipients to copy the
1752 Corresponding Source along with the object code. If the place to
1753 copy the object code is a network server, the Corresponding Source
1754 may be on a different server (operated by you or a third party)
1755 that supports equivalent copying facilities, provided you maintain
1756 clear directions next to the object code saying where to find the
1757 Corresponding Source. Regardless of what server hosts the
1758 Corresponding Source, you remain obligated to ensure that it is
1759 available for as long as needed to satisfy these requirements.
1760
1761 e) Convey the object code using peer-to-peer transmission, provided
1762 you inform other peers where the object code and Corresponding
1763 Source of the work are being offered to the general public at no
1764 charge under subsection 6d.
1765
1766 A separable portion of the object code, whose source code is excluded
1767from the Corresponding Source as a System Library, need not be
1768included in conveying the object code work.
1769
1770 A "User Product" is either (1) a "consumer product", which means any
1771tangible personal property which is normally used for personal, family,
1772or household purposes, or (2) anything designed or sold for incorporation
1773into a dwelling. In determining whether a product is a consumer product,
1774doubtful cases shall be resolved in favor of coverage. For a particular
1775product received by a particular user, "normally used" refers to a
1776typical or common use of that class of product, regardless of the status
1777of the particular user or of the way in which the particular user
1778actually uses, or expects or is expected to use, the product. A product
1779is a consumer product regardless of whether the product has substantial
1780commercial, industrial or non-consumer uses, unless such uses represent
1781the only significant mode of use of the product.
1782
1783 "Installation Information" for a User Product means any methods,
1784procedures, authorization keys, or other information required to install
1785and execute modified versions of a covered work in that User Product from
1786a modified version of its Corresponding Source. The information must
1787suffice to ensure that the continued functioning of the modified object
1788code is in no case prevented or interfered with solely because
1789modification has been made.
1790
1791 If you convey an object code work under this section in, or with, or
1792specifically for use in, a User Product, and the conveying occurs as
1793part of a transaction in which the right of possession and use of the
1794User Product is transferred to the recipient in perpetuity or for a
1795fixed term (regardless of how the transaction is characterized), the
1796Corresponding Source conveyed under this section must be accompanied
1797by the Installation Information. But this requirement does not apply
1798if neither you nor any third party retains the ability to install
1799modified object code on the User Product (for example, the work has
1800been installed in ROM).
1801
1802 The requirement to provide Installation Information does not include a
1803requirement to continue to provide support service, warranty, or updates
1804for a work that has been modified or installed by the recipient, or for
1805the User Product in which it has been modified or installed. Access to a
1806network may be denied when the modification itself materially and
1807adversely affects the operation of the network or violates the rules and
1808protocols for communication across the network.
1809
1810 Corresponding Source conveyed, and Installation Information provided,
1811in accord with this section must be in a format that is publicly
1812documented (and with an implementation available to the public in
1813source code form), and must require no special password or key for
1814unpacking, reading or copying.
1815
1816 7. Additional Terms.
1817
1818 "Additional permissions" are terms that supplement the terms of this
1819License by making exceptions from one or more of its conditions.
1820Additional permissions that are applicable to the entire Program shall
1821be treated as though they were included in this License, to the extent
1822that they are valid under applicable law. If additional permissions
1823apply only to part of the Program, that part may be used separately
1824under those permissions, but the entire Program remains governed by
1825this License without regard to the additional permissions.
1826
1827 When you convey a copy of a covered work, you may at your option
1828remove any additional permissions from that copy, or from any part of
1829it. (Additional permissions may be written to require their own
1830removal in certain cases when you modify the work.) You may place
1831additional permissions on material, added by you to a covered work,
1832for which you have or can give appropriate copyright permission.
1833
1834 Notwithstanding any other provision of this License, for material you
1835add to a covered work, you may (if authorized by the copyright holders of
1836that material) supplement the terms of this License with terms:
1837
1838 a) Disclaiming warranty or limiting liability differently from the
1839 terms of sections 15 and 16 of this License; or
1840
1841 b) Requiring preservation of specified reasonable legal notices or
1842 author attributions in that material or in the Appropriate Legal
1843 Notices displayed by works containing it; or
1844
1845 c) Prohibiting misrepresentation of the origin of that material, or
1846 requiring that modified versions of such material be marked in
1847 reasonable ways as different from the original version; or
1848
1849 d) Limiting the use for publicity purposes of names of licensors or
1850 authors of the material; or
1851
1852 e) Declining to grant rights under trademark law for use of some
1853 trade names, trademarks, or service marks; or
1854
1855 f) Requiring indemnification of licensors and authors of that
1856 material by anyone who conveys the material (or modified versions of
1857 it) with contractual assumptions of liability to the recipient, for
1858 any liability that these contractual assumptions directly impose on
1859 those licensors and authors.
1860
1861 All other non-permissive additional terms are considered "further
1862restrictions" within the meaning of section 10. If the Program as you
1863received it, or any part of it, contains a notice stating that it is
1864governed by this License along with a term that is a further
1865restriction, you may remove that term. If a license document contains
1866a further restriction but permits relicensing or conveying under this
1867License, you may add to a covered work material governed by the terms
1868of that license document, provided that the further restriction does
1869not survive such relicensing or conveying.
1870
1871 If you add terms to a covered work in accord with this section, you
1872must place, in the relevant source files, a statement of the
1873additional terms that apply to those files, or a notice indicating
1874where to find the applicable terms.
1875
1876 Additional terms, permissive or non-permissive, may be stated in the
1877form of a separately written license, or stated as exceptions;
1878the above requirements apply either way.
1879
1880 8. Termination.
1881
1882 You may not propagate or modify a covered work except as expressly
1883provided under this License. Any attempt otherwise to propagate or
1884modify it is void, and will automatically terminate your rights under
1885this License (including any patent licenses granted under the third
1886paragraph of section 11).
1887
1888 However, if you cease all violation of this License, then your
1889license from a particular copyright holder is reinstated (a)
1890provisionally, unless and until the copyright holder explicitly and
1891finally terminates your license, and (b) permanently, if the copyright
1892holder fails to notify you of the violation by some reasonable means
1893prior to 60 days after the cessation.
1894
1895 Moreover, your license from a particular copyright holder is
1896reinstated permanently if the copyright holder notifies you of the
1897violation by some reasonable means, this is the first time you have
1898received notice of violation of this License (for any work) from that
1899copyright holder, and you cure the violation prior to 30 days after
1900your receipt of the notice.
1901
1902 Termination of your rights under this section does not terminate the
1903licenses of parties who have received copies or rights from you under
1904this License. If your rights have been terminated and not permanently
1905reinstated, you do not qualify to receive new licenses for the same
1906material under section 10.
1907
1908 9. Acceptance Not Required for Having Copies.
1909
1910 You are not required to accept this License in order to receive or
1911run a copy of the Program. Ancillary propagation of a covered work
1912occurring solely as a consequence of using peer-to-peer transmission
1913to receive a copy likewise does not require acceptance. However,
1914nothing other than this License grants you permission to propagate or
1915modify any covered work. These actions infringe copyright if you do
1916not accept this License. Therefore, by modifying or propagating a
1917covered work, you indicate your acceptance of this License to do so.
1918
1919 10. Automatic Licensing of Downstream Recipients.
1920
1921 Each time you convey a covered work, the recipient automatically
1922receives a license from the original licensors, to run, modify and
1923propagate that work, subject to this License. You are not responsible
1924for enforcing compliance by third parties with this License.
1925
1926 An "entity transaction" is a transaction transferring control of an
1927organization, or substantially all assets of one, or subdividing an
1928organization, or merging organizations. If propagation of a covered
1929work results from an entity transaction, each party to that
1930transaction who receives a copy of the work also receives whatever
1931licenses to the work the party's predecessor in interest had or could
1932give under the previous paragraph, plus a right to possession of the
1933Corresponding Source of the work from the predecessor in interest, if
1934the predecessor has it or can get it with reasonable efforts.
1935
1936 You may not impose any further restrictions on the exercise of the
1937rights granted or affirmed under this License. For example, you may
1938not impose a license fee, royalty, or other charge for exercise of
1939rights granted under this License, and you may not initiate litigation
1940(including a cross-claim or counterclaim in a lawsuit) alleging that
1941any patent claim is infringed by making, using, selling, offering for
1942sale, or importing the Program or any portion of it.
1943
1944 11. Patents.
1945
1946 A "contributor" is a copyright holder who authorizes use under this
1947License of the Program or a work on which the Program is based. The
1948work thus licensed is called the contributor's "contributor version".
1949
1950 A contributor's "essential patent claims" are all patent claims
1951owned or controlled by the contributor, whether already acquired or
1952hereafter acquired, that would be infringed by some manner, permitted
1953by this License, of making, using, or selling its contributor version,
1954but do not include claims that would be infringed only as a
1955consequence of further modification of the contributor version. For
1956purposes of this definition, "control" includes the right to grant
1957patent sublicenses in a manner consistent with the requirements of
1958this License.
1959
1960 Each contributor grants you a non-exclusive, worldwide, royalty-free
1961patent license under the contributor's essential patent claims, to
1962make, use, sell, offer for sale, import and otherwise run, modify and
1963propagate the contents of its contributor version.
1964
1965 In the following three paragraphs, a "patent license" is any express
1966agreement or commitment, however denominated, not to enforce a patent
1967(such as an express permission to practice a patent or covenant not to
1968sue for patent infringement). To "grant" such a patent license to a
1969party means to make such an agreement or commitment not to enforce a
1970patent against the party.
1971
1972 If you convey a covered work, knowingly relying on a patent license,
1973and the Corresponding Source of the work is not available for anyone
1974to copy, free of charge and under the terms of this License, through a
1975publicly available network server or other readily accessible means,
1976then you must either (1) cause the Corresponding Source to be so
1977available, or (2) arrange to deprive yourself of the benefit of the
1978patent license for this particular work, or (3) arrange, in a manner
1979consistent with the requirements of this License, to extend the patent
1980license to downstream recipients. "Knowingly relying" means you have
1981actual knowledge that, but for the patent license, your conveying the
1982covered work in a country, or your recipient's use of the covered work
1983in a country, would infringe one or more identifiable patents in that
1984country that you have reason to believe are valid.
1985
1986 If, pursuant to or in connection with a single transaction or
1987arrangement, you convey, or propagate by procuring conveyance of, a
1988covered work, and grant a patent license to some of the parties
1989receiving the covered work authorizing them to use, propagate, modify
1990or convey a specific copy of the covered work, then the patent license
1991you grant is automatically extended to all recipients of the covered
1992work and works based on it.
1993
1994 A patent license is "discriminatory" if it does not include within
1995the scope of its coverage, prohibits the exercise of, or is
1996conditioned on the non-exercise of one or more of the rights that are
1997specifically granted under this License. You may not convey a covered
1998work if you are a party to an arrangement with a third party that is
1999in the business of distributing software, under which you make payment
2000to the third party based on the extent of your activity of conveying
2001the work, and under which the third party grants, to any of the
2002parties who would receive the covered work from you, a discriminatory
2003patent license (a) in connection with copies of the covered work
2004conveyed by you (or copies made from those copies), or (b) primarily
2005for and in connection with specific products or compilations that
2006contain the covered work, unless you entered into that arrangement,
2007or that patent license was granted, prior to 28 March 2007.
2008
2009 Nothing in this License shall be construed as excluding or limiting
2010any implied license or other defenses to infringement that may
2011otherwise be available to you under applicable patent law.
2012
2013 12. No Surrender of Others' Freedom.
2014
2015 If conditions are imposed on you (whether by court order, agreement or
2016otherwise) that contradict the conditions of this License, they do not
2017excuse you from the conditions of this License. If you cannot convey a
2018covered work so as to satisfy simultaneously your obligations under this
2019License and any other pertinent obligations, then as a consequence you may
2020not convey it at all. For example, if you agree to terms that obligate you
2021to collect a royalty for further conveying from those to whom you convey
2022the Program, the only way you could satisfy both those terms and this
2023License would be to refrain entirely from conveying the Program.
2024
2025 13. Use with the GNU Affero General Public License.
2026
2027 Notwithstanding any other provision of this License, you have
2028permission to link or combine any covered work with a work licensed
2029under version 3 of the GNU Affero General Public License into a single
2030combined work, and to convey the resulting work. The terms of this
2031License will continue to apply to the part which is the covered work,
2032but the special requirements of the GNU Affero General Public License,
2033section 13, concerning interaction through a network will apply to the
2034combination as such.
2035
2036 14. Revised Versions of this License.
2037
2038 The Free Software Foundation may publish revised and/or new versions of
2039the GNU General Public License from time to time. Such new versions will
2040be similar in spirit to the present version, but may differ in detail to
2041address new problems or concerns.
2042
2043 Each version is given a distinguishing version number. If the
2044Program specifies that a certain numbered version of the GNU General
2045Public License "or any later version" applies to it, you have the
2046option of following the terms and conditions either of that numbered
2047version or of any later version published by the Free Software
2048Foundation. If the Program does not specify a version number of the
2049GNU General Public License, you may choose any version ever published
2050by the Free Software Foundation.
2051
2052 If the Program specifies that a proxy can decide which future
2053versions of the GNU General Public License can be used, that proxy's
2054public statement of acceptance of a version permanently authorizes you
2055to choose that version for the Program.
2056
2057 Later license versions may give you additional or different
2058permissions. However, no additional obligations are imposed on any
2059author or copyright holder as a result of your choosing to follow a
2060later version.
2061
2062 15. Disclaimer of Warranty.
2063
2064 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
2065APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
2066HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
2067OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
2068THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2069PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
2070IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
2071ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
2072
2073 16. Limitation of Liability.
2074
2075 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2076WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
2077THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
2078GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
2079USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
2080DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
2081PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
2082EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
2083SUCH DAMAGES.
2084
2085 17. Interpretation of Sections 15 and 16.
2086
2087 If the disclaimer of warranty and limitation of liability provided
2088above cannot be given local legal effect according to their terms,
2089reviewing courts shall apply local law that most closely approximates
2090an absolute waiver of all civil liability in connection with the
2091Program, unless a warranty or assumption of liability accompanies a
2092copy of the Program in return for a fee.
2093
2094 END OF TERMS AND CONDITIONS
2095
2096 How to Apply These Terms to Your New Programs
2097
2098 If you develop a new program, and you want it to be of the greatest
2099possible use to the public, the best way to achieve this is to make it
2100free software which everyone can redistribute and change under these terms.
2101
2102 To do so, attach the following notices to the program. It is safest
2103to attach them to the start of each source file to most effectively
2104state the exclusion of warranty; and each file should have at least
2105the "copyright" line and a pointer to where the full notice is found.
2106
2107 <one line to give the program's name and a brief idea of what it does.>
2108 Copyright (C) <year> <name of author>
2109
2110 This program is free software: you can redistribute it and/or modify
2111 it under the terms of the GNU General Public License as published by
2112 the Free Software Foundation, either version 3 of the License, or
2113 (at your option) any later version.
2114
2115 This program is distributed in the hope that it will be useful,
2116 but WITHOUT ANY WARRANTY; without even the implied warranty of
2117 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2118 GNU General Public License for more details.
2119
2120 You should have received a copy of the GNU General Public License
2121 along with this program. If not, see <http://www.gnu.org/licenses/>.
2122
2123Also add information on how to contact you by electronic and paper mail.
2124
2125 If the program does terminal interaction, make it output a short
2126notice like this when it starts in an interactive mode:
2127
2128 <program> Copyright (C) <year> <name of author>
2129 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2130 This is free software, and you are welcome to redistribute it
2131 under certain conditions; type `show c' for details.
2132
2133The hypothetical commands `show w' and `show c' should show the appropriate
2134parts of the General Public License. Of course, your program's commands
2135might be different; for a GUI interface, you would use an "about box".
2136
2137 You should also get your employer (if you work as a programmer) or school,
2138if any, to sign a "copyright disclaimer" for the program, if necessary.
2139For more information on this, and how to apply and follow the GNU GPL, see
2140<http://www.gnu.org/licenses/>.
2141
2142 The GNU General Public License does not permit incorporating your program
2143into proprietary programs. If your program is a subroutine library, you
2144may consider it more useful to permit linking proprietary applications with
2145the library. If this is what you want to do, use the GNU Lesser General
2146Public License instead of this License. But first, please read
2147<http://www.gnu.org/philosophy/why-not-lgpl.html>.
2148 GNU GENERAL PUBLIC LICENSE
2149 Version 2, June 1991
2150
2151 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
2152 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2153 Everyone is permitted to copy and distribute verbatim copies
2154 of this license document, but changing it is not allowed.
2155
2156 Preamble
2157
2158 The licenses for most software are designed to take away your
2159freedom to share and change it. By contrast, the GNU General Public
2160License is intended to guarantee your freedom to share and change free
2161software--to make sure the software is free for all its users. This
2162General Public License applies to most of the Free Software
2163Foundation's software and to any other program whose authors commit to
2164using it. (Some other Free Software Foundation software is covered by
2165the GNU Library General Public License instead.) You can apply it to
2166your programs, too.
2167
2168 When we speak of free software, we are referring to freedom, not
2169price. Our General Public Licenses are designed to make sure that you
2170have the freedom to distribute copies of free software (and charge for
2171this service if you wish), that you receive source code or can get it
2172if you want it, that you can change the software or use pieces of it
2173in new free programs; and that you know you can do these things.
2174
2175 To protect your rights, we need to make restrictions that forbid
2176anyone to deny you these rights or to ask you to surrender the rights.
2177These restrictions translate to certain responsibilities for you if you
2178distribute copies of the software, or if you modify it.
2179
2180 For example, if you distribute copies of such a program, whether
2181gratis or for a fee, you must give the recipients all the rights that
2182you have. You must make sure that they, too, receive or can get the
2183source code. And you must show them these terms so they know their
2184rights.
2185
2186 We protect your rights with two steps: (1) copyright the software, and
2187(2) offer you this license which gives you legal permission to copy,
2188distribute and/or modify the software.
2189
2190 Also, for each author's protection and ours, we want to make certain
2191that everyone understands that there is no warranty for this free
2192software. If the software is modified by someone else and passed on, we
2193want its recipients to know that what they have is not the original, so
2194that any problems introduced by others will not reflect on the original
2195authors' reputations.
2196
2197 Finally, any free program is threatened constantly by software
2198patents. We wish to avoid the danger that redistributors of a free
2199program will individually obtain patent licenses, in effect making the
2200program proprietary. To prevent this, we have made it clear that any
2201patent must be licensed for everyone's free use or not licensed at all.
2202
2203 The precise terms and conditions for copying, distribution and
2204modification follow.
2205
2206 GNU GENERAL PUBLIC LICENSE
2207 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2208
2209 0. This License applies to any program or other work which contains
2210a notice placed by the copyright holder saying it may be distributed
2211under the terms of this General Public License. The "Program", below,
2212refers to any such program or work, and a "work based on the Program"
2213means either the Program or any derivative work under copyright law:
2214that is to say, a work containing the Program or a portion of it,
2215either verbatim or with modifications and/or translated into another
2216language. (Hereinafter, translation is included without limitation in
2217the term "modification".) Each licensee is addressed as "you".
2218
2219Activities other than copying, distribution and modification are not
2220covered by this License; they are outside its scope. The act of
2221running the Program is not restricted, and the output from the Program
2222is covered only if its contents constitute a work based on the
2223Program (independent of having been made by running the Program).
2224Whether that is true depends on what the Program does.
2225
2226 1. You may copy and distribute verbatim copies of the Program's
2227source code as you receive it, in any medium, provided that you
2228conspicuously and appropriately publish on each copy an appropriate
2229copyright notice and disclaimer of warranty; keep intact all the
2230notices that refer to this License and to the absence of any warranty;
2231and give any other recipients of the Program a copy of this License
2232along with the Program.
2233
2234You may charge a fee for the physical act of transferring a copy, and
2235you may at your option offer warranty protection in exchange for a fee.
2236
2237 2. You may modify your copy or copies of the Program or any portion
2238of it, thus forming a work based on the Program, and copy and
2239distribute such modifications or work under the terms of Section 1
2240above, provided that you also meet all of these conditions:
2241
2242 a) You must cause the modified files to carry prominent notices
2243 stating that you changed the files and the date of any change.
2244
2245 b) You must cause any work that you distribute or publish, that in
2246 whole or in part contains or is derived from the Program or any
2247 part thereof, to be licensed as a whole at no charge to all third
2248 parties under the terms of this License.
2249
2250 c) If the modified program normally reads commands interactively
2251 when run, you must cause it, when started running for such
2252 interactive use in the most ordinary way, to print or display an
2253 announcement including an appropriate copyright notice and a
2254 notice that there is no warranty (or else, saying that you provide
2255 a warranty) and that users may redistribute the program under
2256 these conditions, and telling the user how to view a copy of this
2257 License. (Exception: if the Program itself is interactive but
2258 does not normally print such an announcement, your work based on
2259 the Program is not required to print an announcement.)
2260
2261These requirements apply to the modified work as a whole. If
2262identifiable sections of that work are not derived from the Program,
2263and can be reasonably considered independent and separate works in
2264themselves, then this License, and its terms, do not apply to those
2265sections when you distribute them as separate works. But when you
2266distribute the same sections as part of a whole which is a work based
2267on the Program, the distribution of the whole must be on the terms of
2268this License, whose permissions for other licensees extend to the
2269entire whole, and thus to each and every part regardless of who wrote it.
2270
2271Thus, it is not the intent of this section to claim rights or contest
2272your rights to work written entirely by you; rather, the intent is to
2273exercise the right to control the distribution of derivative or
2274collective works based on the Program.
2275
2276In addition, mere aggregation of another work not based on the Program
2277with the Program (or with a work based on the Program) on a volume of
2278a storage or distribution medium does not bring the other work under
2279the scope of this License.
2280
2281 3. You may copy and distribute the Program (or a work based on it,
2282under Section 2) in object code or executable form under the terms of
2283Sections 1 and 2 above provided that you also do one of the following:
2284
2285 a) Accompany it with the complete corresponding machine-readable
2286 source code, which must be distributed under the terms of Sections
2287 1 and 2 above on a medium customarily used for software interchange; or,
2288
2289 b) Accompany it with a written offer, valid for at least three
2290 years, to give any third party, for a charge no more than your
2291 cost of physically performing source distribution, a complete
2292 machine-readable copy of the corresponding source code, to be
2293 distributed under the terms of Sections 1 and 2 above on a medium
2294 customarily used for software interchange; or,
2295
2296 c) Accompany it with the information you received as to the offer
2297 to distribute corresponding source code. (This alternative is
2298 allowed only for noncommercial distribution and only if you
2299 received the program in object code or executable form with such
2300 an offer, in accord with Subsection b above.)
2301
2302The source code for a work means the preferred form of the work for
2303making modifications to it. For an executable work, complete source
2304code means all the source code for all modules it contains, plus any
2305associated interface definition files, plus the scripts used to
2306control compilation and installation of the executable. However, as a
2307special exception, the source code distributed need not include
2308anything that is normally distributed (in either source or binary
2309form) with the major components (compiler, kernel, and so on) of the
2310operating system on which the executable runs, unless that component
2311itself accompanies the executable.
2312
2313If distribution of executable or object code is made by offering
2314access to copy from a designated place, then offering equivalent
2315access to copy the source code from the same place counts as
2316distribution of the source code, even though third parties are not
2317compelled to copy the source along with the object code.
2318
2319 4. You may not copy, modify, sublicense, or distribute the Program
2320except as expressly provided under this License. Any attempt
2321otherwise to copy, modify, sublicense or distribute the Program is
2322void, and will automatically terminate your rights under this License.
2323However, parties who have received copies, or rights, from you under
2324this License will not have their licenses terminated so long as such
2325parties remain in full compliance.
2326
2327 5. You are not required to accept this License, since you have not
2328signed it. However, nothing else grants you permission to modify or
2329distribute the Program or its derivative works. These actions are
2330prohibited by law if you do not accept this License. Therefore, by
2331modifying or distributing the Program (or any work based on the
2332Program), you indicate your acceptance of this License to do so, and
2333all its terms and conditions for copying, distributing or modifying
2334the Program or works based on it.
2335
2336 6. Each time you redistribute the Program (or any work based on the
2337Program), the recipient automatically receives a license from the
2338original licensor to copy, distribute or modify the Program subject to
2339these terms and conditions. You may not impose any further
2340restrictions on the recipients' exercise of the rights granted herein.
2341You are not responsible for enforcing compliance by third parties to
2342this License.
2343
2344 7. If, as a consequence of a court judgment or allegation of patent
2345infringement or for any other reason (not limited to patent issues),
2346conditions are imposed on you (whether by court order, agreement or
2347otherwise) that contradict the conditions of this License, they do not
2348excuse you from the conditions of this License. If you cannot
2349distribute so as to satisfy simultaneously your obligations under this
2350License and any other pertinent obligations, then as a consequence you
2351may not distribute the Program at all. For example, if a patent
2352license would not permit royalty-free redistribution of the Program by
2353all those who receive copies directly or indirectly through you, then
2354the only way you could satisfy both it and this License would be to
2355refrain entirely from distribution of the Program.
2356
2357If any portion of this section is held invalid or unenforceable under
2358any particular circumstance, the balance of the section is intended to
2359apply and the section as a whole is intended to apply in other
2360circumstances.
2361
2362It is not the purpose of this section to induce you to infringe any
2363patents or other property right claims or to contest validity of any
2364such claims; this section has the sole purpose of protecting the
2365integrity of the free software distribution system, which is
2366implemented by public license practices. Many people have made
2367generous contributions to the wide range of software distributed
2368through that system in reliance on consistent application of that
2369system; it is up to the author/donor to decide if he or she is willing
2370to distribute software through any other system and a licensee cannot
2371impose that choice.
2372
2373This section is intended to make thoroughly clear what is believed to
2374be a consequence of the rest of this License.
2375
2376 8. If the distribution and/or use of the Program is restricted in
2377certain countries either by patents or by copyrighted interfaces, the
2378original copyright holder who places the Program under this License
2379may add an explicit geographical distribution limitation excluding
2380those countries, so that distribution is permitted only in or among
2381countries not thus excluded. In such case, this License incorporates
2382the limitation as if written in the body of this License.
2383
2384 9. The Free Software Foundation may publish revised and/or new versions
2385of the General Public License from time to time. Such new versions will
2386be similar in spirit to the present version, but may differ in detail to
2387address new problems or concerns.
2388
2389Each version is given a distinguishing version number. If the Program
2390specifies a version number of this License which applies to it and "any
2391later version", you have the option of following the terms and conditions
2392either of that version or of any later version published by the Free
2393Software Foundation. If the Program does not specify a version number of
2394this License, you may choose any version ever published by the Free Software
2395Foundation.
2396
2397 10. If you wish to incorporate parts of the Program into other free
2398programs whose distribution conditions are different, write to the author
2399to ask for permission. For software which is copyrighted by the Free
2400Software Foundation, write to the Free Software Foundation; we sometimes
2401make exceptions for this. Our decision will be guided by the two goals
2402of preserving the free status of all derivatives of our free software and
2403of promoting the sharing and reuse of software generally.
2404
2405 NO WARRANTY
2406
2407 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
2408FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
2409OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
2410PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
2411OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2412MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
2413TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
2414PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
2415REPAIR OR CORRECTION.
2416
2417 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2418WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
2419REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
2420INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
2421OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
2422TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
2423YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
2424PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2425POSSIBILITY OF SUCH DAMAGES.
2426
2427 END OF TERMS AND CONDITIONS
2428
2429 How to Apply These Terms to Your New Programs
2430
2431 If you develop a new program, and you want it to be of the greatest
2432possible use to the public, the best way to achieve this is to make it
2433free software which everyone can redistribute and change under these terms.
2434
2435 To do so, attach the following notices to the program. It is safest
2436to attach them to the start of each source file to most effectively
2437convey the exclusion of warranty; and each file should have at least
2438the "copyright" line and a pointer to where the full notice is found.
2439
2440 <one line to give the program's name and a brief idea of what it does.>
2441 Copyright (C) <year> <name of author>
2442
2443 This program is free software; you can redistribute it and/or modify
2444 it under the terms of the GNU General Public License as published by
2445 the Free Software Foundation; either version 2 of the License, or
2446 (at your option) any later version.
2447
2448 This program is distributed in the hope that it will be useful,
2449 but WITHOUT ANY WARRANTY; without even the implied warranty of
2450 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2451 GNU General Public License for more details.
2452
2453 You should have received a copy of the GNU General Public License
2454 along with this program; if not, write to the Free Software
2455 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2456
2457
2458Also add information on how to contact you by electronic and paper mail.
2459
2460If the program is interactive, make it output a short notice like this
2461when it starts in an interactive mode:
2462
2463 Gnomovision version 69, Copyright (C) year name of author
2464 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2465 This is free software, and you are welcome to redistribute it
2466 under certain conditions; type `show c' for details.
2467
2468The hypothetical commands `show w' and `show c' should show the appropriate
2469parts of the General Public License. Of course, the commands you use may
2470be called something other than `show w' and `show c'; they could even be
2471mouse-clicks or menu items--whatever suits your program.
2472
2473You should also get your employer (if you work as a programmer) or your
2474school, if any, to sign a "copyright disclaimer" for the program, if
2475necessary. Here is a sample; alter the names:
2476
2477 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
2478 `Gnomovision' (which makes passes at compilers) written by James Hacker.
2479
2480 <signature of Ty Coon>, 1 April 1989
2481 Ty Coon, President of Vice
2482
2483This General Public License does not permit incorporating your program into
2484proprietary programs. If your program is a subroutine library, you may
2485consider it more useful to permit linking proprietary applications with the
2486library. If this is what you want to do, use the GNU Library General
2487Public License instead of this License.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08002488 GNU GENERAL PUBLIC LICENSE
2489 Version 2, June 1991
2490
2491 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
2492 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2493 Everyone is permitted to copy and distribute verbatim copies
2494 of this license document, but changing it is not allowed.
2495
2496 Preamble
2497
2498 The licenses for most software are designed to take away your
2499freedom to share and change it. By contrast, the GNU General Public
2500License is intended to guarantee your freedom to share and change free
2501software--to make sure the software is free for all its users. This
2502General Public License applies to most of the Free Software
2503Foundation's software and to any other program whose authors commit to
2504using it. (Some other Free Software Foundation software is covered by
2505the GNU Library General Public License instead.) You can apply it to
2506your programs, too.
2507
2508 When we speak of free software, we are referring to freedom, not
2509price. Our General Public Licenses are designed to make sure that you
2510have the freedom to distribute copies of free software (and charge for
2511this service if you wish), that you receive source code or can get it
2512if you want it, that you can change the software or use pieces of it
2513in new free programs; and that you know you can do these things.
2514
2515 To protect your rights, we need to make restrictions that forbid
2516anyone to deny you these rights or to ask you to surrender the rights.
2517These restrictions translate to certain responsibilities for you if you
2518distribute copies of the software, or if you modify it.
2519
2520 For example, if you distribute copies of such a program, whether
2521gratis or for a fee, you must give the recipients all the rights that
2522you have. You must make sure that they, too, receive or can get the
2523source code. And you must show them these terms so they know their
2524rights.
2525
2526 We protect your rights with two steps: (1) copyright the software, and
2527(2) offer you this license which gives you legal permission to copy,
2528distribute and/or modify the software.
2529
2530 Also, for each author's protection and ours, we want to make certain
2531that everyone understands that there is no warranty for this free
2532software. If the software is modified by someone else and passed on, we
2533want its recipients to know that what they have is not the original, so
2534that any problems introduced by others will not reflect on the original
2535authors' reputations.
2536
2537 Finally, any free program is threatened constantly by software
2538patents. We wish to avoid the danger that redistributors of a free
2539program will individually obtain patent licenses, in effect making the
2540program proprietary. To prevent this, we have made it clear that any
2541patent must be licensed for everyone's free use or not licensed at all.
2542
2543 The precise terms and conditions for copying, distribution and
2544modification follow.
2545
2546 GNU GENERAL PUBLIC LICENSE
2547 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
2548
2549 0. This License applies to any program or other work which contains
2550a notice placed by the copyright holder saying it may be distributed
2551under the terms of this General Public License. The "Program", below,
2552refers to any such program or work, and a "work based on the Program"
2553means either the Program or any derivative work under copyright law:
2554that is to say, a work containing the Program or a portion of it,
2555either verbatim or with modifications and/or translated into another
2556language. (Hereinafter, translation is included without limitation in
2557the term "modification".) Each licensee is addressed as "you".
2558
2559Activities other than copying, distribution and modification are not
2560covered by this License; they are outside its scope. The act of
2561running the Program is not restricted, and the output from the Program
2562is covered only if its contents constitute a work based on the
2563Program (independent of having been made by running the Program).
2564Whether that is true depends on what the Program does.
2565
2566 1. You may copy and distribute verbatim copies of the Program's
2567source code as you receive it, in any medium, provided that you
2568conspicuously and appropriately publish on each copy an appropriate
2569copyright notice and disclaimer of warranty; keep intact all the
2570notices that refer to this License and to the absence of any warranty;
2571and give any other recipients of the Program a copy of this License
2572along with the Program.
2573
2574You may charge a fee for the physical act of transferring a copy, and
2575you may at your option offer warranty protection in exchange for a fee.
2576
2577 2. You may modify your copy or copies of the Program or any portion
2578of it, thus forming a work based on the Program, and copy and
2579distribute such modifications or work under the terms of Section 1
2580above, provided that you also meet all of these conditions:
2581
2582 a) You must cause the modified files to carry prominent notices
2583 stating that you changed the files and the date of any change.
2584
2585 b) You must cause any work that you distribute or publish, that in
2586 whole or in part contains or is derived from the Program or any
2587 part thereof, to be licensed as a whole at no charge to all third
2588 parties under the terms of this License.
2589
2590 c) If the modified program normally reads commands interactively
2591 when run, you must cause it, when started running for such
2592 interactive use in the most ordinary way, to print or display an
2593 announcement including an appropriate copyright notice and a
2594 notice that there is no warranty (or else, saying that you provide
2595 a warranty) and that users may redistribute the program under
2596 these conditions, and telling the user how to view a copy of this
2597 License. (Exception: if the Program itself is interactive but
2598 does not normally print such an announcement, your work based on
2599 the Program is not required to print an announcement.)
2600
2601These requirements apply to the modified work as a whole. If
2602identifiable sections of that work are not derived from the Program,
2603and can be reasonably considered independent and separate works in
2604themselves, then this License, and its terms, do not apply to those
2605sections when you distribute them as separate works. But when you
2606distribute the same sections as part of a whole which is a work based
2607on the Program, the distribution of the whole must be on the terms of
2608this License, whose permissions for other licensees extend to the
2609entire whole, and thus to each and every part regardless of who wrote it.
2610
2611Thus, it is not the intent of this section to claim rights or contest
2612your rights to work written entirely by you; rather, the intent is to
2613exercise the right to control the distribution of derivative or
2614collective works based on the Program.
2615
2616In addition, mere aggregation of another work not based on the Program
2617with the Program (or with a work based on the Program) on a volume of
2618a storage or distribution medium does not bring the other work under
2619the scope of this License.
2620
2621 3. You may copy and distribute the Program (or a work based on it,
2622under Section 2) in object code or executable form under the terms of
2623Sections 1 and 2 above provided that you also do one of the following:
2624
2625 a) Accompany it with the complete corresponding machine-readable
2626 source code, which must be distributed under the terms of Sections
2627 1 and 2 above on a medium customarily used for software interchange; or,
2628
2629 b) Accompany it with a written offer, valid for at least three
2630 years, to give any third party, for a charge no more than your
2631 cost of physically performing source distribution, a complete
2632 machine-readable copy of the corresponding source code, to be
2633 distributed under the terms of Sections 1 and 2 above on a medium
2634 customarily used for software interchange; or,
2635
2636 c) Accompany it with the information you received as to the offer
2637 to distribute corresponding source code. (This alternative is
2638 allowed only for noncommercial distribution and only if you
2639 received the program in object code or executable form with such
2640 an offer, in accord with Subsection b above.)
2641
2642The source code for a work means the preferred form of the work for
2643making modifications to it. For an executable work, complete source
2644code means all the source code for all modules it contains, plus any
2645associated interface definition files, plus the scripts used to
2646control compilation and installation of the executable. However, as a
2647special exception, the source code distributed need not include
2648anything that is normally distributed (in either source or binary
2649form) with the major components (compiler, kernel, and so on) of the
2650operating system on which the executable runs, unless that component
2651itself accompanies the executable.
2652
2653If distribution of executable or object code is made by offering
2654access to copy from a designated place, then offering equivalent
2655access to copy the source code from the same place counts as
2656distribution of the source code, even though third parties are not
2657compelled to copy the source along with the object code.
2658
2659 4. You may not copy, modify, sublicense, or distribute the Program
2660except as expressly provided under this License. Any attempt
2661otherwise to copy, modify, sublicense or distribute the Program is
2662void, and will automatically terminate your rights under this License.
2663However, parties who have received copies, or rights, from you under
2664this License will not have their licenses terminated so long as such
2665parties remain in full compliance.
2666
2667 5. You are not required to accept this License, since you have not
2668signed it. However, nothing else grants you permission to modify or
2669distribute the Program or its derivative works. These actions are
2670prohibited by law if you do not accept this License. Therefore, by
2671modifying or distributing the Program (or any work based on the
2672Program), you indicate your acceptance of this License to do so, and
2673all its terms and conditions for copying, distributing or modifying
2674the Program or works based on it.
2675
2676 6. Each time you redistribute the Program (or any work based on the
2677Program), the recipient automatically receives a license from the
2678original licensor to copy, distribute or modify the Program subject to
2679these terms and conditions. You may not impose any further
2680restrictions on the recipients' exercise of the rights granted herein.
2681You are not responsible for enforcing compliance by third parties to
2682this License.
2683
2684 7. If, as a consequence of a court judgment or allegation of patent
2685infringement or for any other reason (not limited to patent issues),
2686conditions are imposed on you (whether by court order, agreement or
2687otherwise) that contradict the conditions of this License, they do not
2688excuse you from the conditions of this License. If you cannot
2689distribute so as to satisfy simultaneously your obligations under this
2690License and any other pertinent obligations, then as a consequence you
2691may not distribute the Program at all. For example, if a patent
2692license would not permit royalty-free redistribution of the Program by
2693all those who receive copies directly or indirectly through you, then
2694the only way you could satisfy both it and this License would be to
2695refrain entirely from distribution of the Program.
2696
2697If any portion of this section is held invalid or unenforceable under
2698any particular circumstance, the balance of the section is intended to
2699apply and the section as a whole is intended to apply in other
2700circumstances.
2701
2702It is not the purpose of this section to induce you to infringe any
2703patents or other property right claims or to contest validity of any
2704such claims; this section has the sole purpose of protecting the
2705integrity of the free software distribution system, which is
2706implemented by public license practices. Many people have made
2707generous contributions to the wide range of software distributed
2708through that system in reliance on consistent application of that
2709system; it is up to the author/donor to decide if he or she is willing
2710to distribute software through any other system and a licensee cannot
2711impose that choice.
2712
2713This section is intended to make thoroughly clear what is believed to
2714be a consequence of the rest of this License.
2715
2716 8. If the distribution and/or use of the Program is restricted in
2717certain countries either by patents or by copyrighted interfaces, the
2718original copyright holder who places the Program under this License
2719may add an explicit geographical distribution limitation excluding
2720those countries, so that distribution is permitted only in or among
2721countries not thus excluded. In such case, this License incorporates
2722the limitation as if written in the body of this License.
2723
2724 9. The Free Software Foundation may publish revised and/or new versions
2725of the General Public License from time to time. Such new versions will
2726be similar in spirit to the present version, but may differ in detail to
2727address new problems or concerns.
2728
2729Each version is given a distinguishing version number. If the Program
2730specifies a version number of this License which applies to it and "any
2731later version", you have the option of following the terms and conditions
2732either of that version or of any later version published by the Free
2733Software Foundation. If the Program does not specify a version number of
2734this License, you may choose any version ever published by the Free Software
2735Foundation.
2736
2737 10. If you wish to incorporate parts of the Program into other free
2738programs whose distribution conditions are different, write to the author
2739to ask for permission. For software which is copyrighted by the Free
2740Software Foundation, write to the Free Software Foundation; we sometimes
2741make exceptions for this. Our decision will be guided by the two goals
2742of preserving the free status of all derivatives of our free software and
2743of promoting the sharing and reuse of software generally.
2744
2745 NO WARRANTY
2746
2747 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
2748FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
2749OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
2750PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
2751OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
2752MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
2753TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
2754PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
2755REPAIR OR CORRECTION.
2756
2757 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
2758WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
2759REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
2760INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
2761OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
2762TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
2763YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
2764PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2765POSSIBILITY OF SUCH DAMAGES.
2766
2767 END OF TERMS AND CONDITIONS
2768
2769 How to Apply These Terms to Your New Programs
2770
2771 If you develop a new program, and you want it to be of the greatest
2772possible use to the public, the best way to achieve this is to make it
2773free software which everyone can redistribute and change under these terms.
2774
2775 To do so, attach the following notices to the program. It is safest
2776to attach them to the start of each source file to most effectively
2777convey the exclusion of warranty; and each file should have at least
2778the "copyright" line and a pointer to where the full notice is found.
2779
2780 <one line to give the program's name and a brief idea of what it does.>
2781 Copyright (C) <year> <name of author>
2782
2783 This program is free software; you can redistribute it and/or modify
2784 it under the terms of the GNU General Public License as published by
2785 the Free Software Foundation; either version 2 of the License, or
2786 (at your option) any later version.
2787
2788 This program is distributed in the hope that it will be useful,
2789 but WITHOUT ANY WARRANTY; without even the implied warranty of
2790 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2791 GNU General Public License for more details.
2792
2793 You should have received a copy of the GNU General Public License
2794 along with this program; if not, write to the Free Software
2795 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2796
2797
2798Also add information on how to contact you by electronic and paper mail.
2799
2800If the program is interactive, make it output a short notice like this
2801when it starts in an interactive mode:
2802
2803 Gnomovision version 69, Copyright (C) year name of author
2804 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2805 This is free software, and you are welcome to redistribute it
2806 under certain conditions; type `show c' for details.
2807
2808The hypothetical commands `show w' and `show c' should show the appropriate
2809parts of the General Public License. Of course, the commands you use may
2810be called something other than `show w' and `show c'; they could even be
2811mouse-clicks or menu items--whatever suits your program.
2812
2813You should also get your employer (if you work as a programmer) or your
2814school, if any, to sign a "copyright disclaimer" for the program, if
2815necessary. Here is a sample; alter the names:
2816
2817 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
2818 `Gnomovision' (which makes passes at compilers) written by James Hacker.
2819
2820 <signature of Ty Coon>, 1 April 1989
2821 Ty Coon, President of Vice
2822
2823This General Public License does not permit incorporating your program into
2824proprietary programs. If your program is a subroutine library, you may
2825consider it more useful to permit linking proprietary applications with the
2826library. If this is what you want to do, use the GNU Library General
2827Public License instead of this License.
2828 GNU GENERAL PUBLIC LICENSE
2829 Version 3, 29 June 2007
2830
2831 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
2832 Everyone is permitted to copy and distribute verbatim copies
2833 of this license document, but changing it is not allowed.
2834
2835 Preamble
2836
2837 The GNU General Public License is a free, copyleft license for
2838software and other kinds of works.
2839
2840 The licenses for most software and other practical works are designed
2841to take away your freedom to share and change the works. By contrast,
2842the GNU General Public License is intended to guarantee your freedom to
2843share and change all versions of a program--to make sure it remains free
2844software for all its users. We, the Free Software Foundation, use the
2845GNU General Public License for most of our software; it applies also to
2846any other work released this way by its authors. You can apply it to
2847your programs, too.
2848
2849 When we speak of free software, we are referring to freedom, not
2850price. Our General Public Licenses are designed to make sure that you
2851have the freedom to distribute copies of free software (and charge for
2852them if you wish), that you receive source code or can get it if you
2853want it, that you can change the software or use pieces of it in new
2854free programs, and that you know you can do these things.
2855
2856 To protect your rights, we need to prevent others from denying you
2857these rights or asking you to surrender the rights. Therefore, you have
2858certain responsibilities if you distribute copies of the software, or if
2859you modify it: responsibilities to respect the freedom of others.
2860
2861 For example, if you distribute copies of such a program, whether
2862gratis or for a fee, you must pass on to the recipients the same
2863freedoms that you received. You must make sure that they, too, receive
2864or can get the source code. And you must show them these terms so they
2865know their rights.
2866
2867 Developers that use the GNU GPL protect your rights with two steps:
2868(1) assert copyright on the software, and (2) offer you this License
2869giving you legal permission to copy, distribute and/or modify it.
2870
2871 For the developers' and authors' protection, the GPL clearly explains
2872that there is no warranty for this free software. For both users' and
2873authors' sake, the GPL requires that modified versions be marked as
2874changed, so that their problems will not be attributed erroneously to
2875authors of previous versions.
2876
2877 Some devices are designed to deny users access to install or run
2878modified versions of the software inside them, although the manufacturer
2879can do so. This is fundamentally incompatible with the aim of
2880protecting users' freedom to change the software. The systematic
2881pattern of such abuse occurs in the area of products for individuals to
2882use, which is precisely where it is most unacceptable. Therefore, we
2883have designed this version of the GPL to prohibit the practice for those
2884products. If such problems arise substantially in other domains, we
2885stand ready to extend this provision to those domains in future versions
2886of the GPL, as needed to protect the freedom of users.
2887
2888 Finally, every program is threatened constantly by software patents.
2889States should not allow patents to restrict development and use of
2890software on general-purpose computers, but in those that do, we wish to
2891avoid the special danger that patents applied to a free program could
2892make it effectively proprietary. To prevent this, the GPL assures that
2893patents cannot be used to render the program non-free.
2894
2895 The precise terms and conditions for copying, distribution and
2896modification follow.
2897
2898 TERMS AND CONDITIONS
2899
2900 0. Definitions.
2901
2902 "This License" refers to version 3 of the GNU General Public License.
2903
2904 "Copyright" also means copyright-like laws that apply to other kinds of
2905works, such as semiconductor masks.
2906
2907 "The Program" refers to any copyrightable work licensed under this
2908License. Each licensee is addressed as "you". "Licensees" and
2909"recipients" may be individuals or organizations.
2910
2911 To "modify" a work means to copy from or adapt all or part of the work
2912in a fashion requiring copyright permission, other than the making of an
2913exact copy. The resulting work is called a "modified version" of the
2914earlier work or a work "based on" the earlier work.
2915
2916 A "covered work" means either the unmodified Program or a work based
2917on the Program.
2918
2919 To "propagate" a work means to do anything with it that, without
2920permission, would make you directly or secondarily liable for
2921infringement under applicable copyright law, except executing it on a
2922computer or modifying a private copy. Propagation includes copying,
2923distribution (with or without modification), making available to the
2924public, and in some countries other activities as well.
2925
2926 To "convey" a work means any kind of propagation that enables other
2927parties to make or receive copies. Mere interaction with a user through
2928a computer network, with no transfer of a copy, is not conveying.
2929
2930 An interactive user interface displays "Appropriate Legal Notices"
2931to the extent that it includes a convenient and prominently visible
2932feature that (1) displays an appropriate copyright notice, and (2)
2933tells the user that there is no warranty for the work (except to the
2934extent that warranties are provided), that licensees may convey the
2935work under this License, and how to view a copy of this License. If
2936the interface presents a list of user commands or options, such as a
2937menu, a prominent item in the list meets this criterion.
2938
2939 1. Source Code.
2940
2941 The "source code" for a work means the preferred form of the work
2942for making modifications to it. "Object code" means any non-source
2943form of a work.
2944
2945 A "Standard Interface" means an interface that either is an official
2946standard defined by a recognized standards body, or, in the case of
2947interfaces specified for a particular programming language, one that
2948is widely used among developers working in that language.
2949
2950 The "System Libraries" of an executable work include anything, other
2951than the work as a whole, that (a) is included in the normal form of
2952packaging a Major Component, but which is not part of that Major
2953Component, and (b) serves only to enable use of the work with that
2954Major Component, or to implement a Standard Interface for which an
2955implementation is available to the public in source code form. A
2956"Major Component", in this context, means a major essential component
2957(kernel, window system, and so on) of the specific operating system
2958(if any) on which the executable work runs, or a compiler used to
2959produce the work, or an object code interpreter used to run it.
2960
2961 The "Corresponding Source" for a work in object code form means all
2962the source code needed to generate, install, and (for an executable
2963work) run the object code and to modify the work, including scripts to
2964control those activities. However, it does not include the work's
2965System Libraries, or general-purpose tools or generally available free
2966programs which are used unmodified in performing those activities but
2967which are not part of the work. For example, Corresponding Source
2968includes interface definition files associated with source files for
2969the work, and the source code for shared libraries and dynamically
2970linked subprograms that the work is specifically designed to require,
2971such as by intimate data communication or control flow between those
2972subprograms and other parts of the work.
2973
2974 The Corresponding Source need not include anything that users
2975can regenerate automatically from other parts of the Corresponding
2976Source.
2977
2978 The Corresponding Source for a work in source code form is that
2979same work.
2980
2981 2. Basic Permissions.
2982
2983 All rights granted under this License are granted for the term of
2984copyright on the Program, and are irrevocable provided the stated
2985conditions are met. This License explicitly affirms your unlimited
2986permission to run the unmodified Program. The output from running a
2987covered work is covered by this License only if the output, given its
2988content, constitutes a covered work. This License acknowledges your
2989rights of fair use or other equivalent, as provided by copyright law.
2990
2991 You may make, run and propagate covered works that you do not
2992convey, without conditions so long as your license otherwise remains
2993in force. You may convey covered works to others for the sole purpose
2994of having them make modifications exclusively for you, or provide you
2995with facilities for running those works, provided that you comply with
2996the terms of this License in conveying all material for which you do
2997not control copyright. Those thus making or running the covered works
2998for you must do so exclusively on your behalf, under your direction
2999and control, on terms that prohibit them from making any copies of
3000your copyrighted material outside their relationship with you.
3001
3002 Conveying under any other circumstances is permitted solely under
3003the conditions stated below. Sublicensing is not allowed; section 10
3004makes it unnecessary.
3005
3006 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
3007
3008 No covered work shall be deemed part of an effective technological
3009measure under any applicable law fulfilling obligations under article
301011 of the WIPO copyright treaty adopted on 20 December 1996, or
3011similar laws prohibiting or restricting circumvention of such
3012measures.
3013
3014 When you convey a covered work, you waive any legal power to forbid
3015circumvention of technological measures to the extent such circumvention
3016is effected by exercising rights under this License with respect to
3017the covered work, and you disclaim any intention to limit operation or
3018modification of the work as a means of enforcing, against the work's
3019users, your or third parties' legal rights to forbid circumvention of
3020technological measures.
3021
3022 4. Conveying Verbatim Copies.
3023
3024 You may convey verbatim copies of the Program's source code as you
3025receive it, in any medium, provided that you conspicuously and
3026appropriately publish on each copy an appropriate copyright notice;
3027keep intact all notices stating that this License and any
3028non-permissive terms added in accord with section 7 apply to the code;
3029keep intact all notices of the absence of any warranty; and give all
3030recipients a copy of this License along with the Program.
3031
3032 You may charge any price or no price for each copy that you convey,
3033and you may offer support or warranty protection for a fee.
3034
3035 5. Conveying Modified Source Versions.
3036
3037 You may convey a work based on the Program, or the modifications to
3038produce it from the Program, in the form of source code under the
3039terms of section 4, provided that you also meet all of these conditions:
3040
3041 a) The work must carry prominent notices stating that you modified
3042 it, and giving a relevant date.
3043
3044 b) The work must carry prominent notices stating that it is
3045 released under this License and any conditions added under section
3046 7. This requirement modifies the requirement in section 4 to
3047 "keep intact all notices".
3048
3049 c) You must license the entire work, as a whole, under this
3050 License to anyone who comes into possession of a copy. This
3051 License will therefore apply, along with any applicable section 7
3052 additional terms, to the whole of the work, and all its parts,
3053 regardless of how they are packaged. This License gives no
3054 permission to license the work in any other way, but it does not
3055 invalidate such permission if you have separately received it.
3056
3057 d) If the work has interactive user interfaces, each must display
3058 Appropriate Legal Notices; however, if the Program has interactive
3059 interfaces that do not display Appropriate Legal Notices, your
3060 work need not make them do so.
3061
3062 A compilation of a covered work with other separate and independent
3063works, which are not by their nature extensions of the covered work,
3064and which are not combined with it such as to form a larger program,
3065in or on a volume of a storage or distribution medium, is called an
3066"aggregate" if the compilation and its resulting copyright are not
3067used to limit the access or legal rights of the compilation's users
3068beyond what the individual works permit. Inclusion of a covered work
3069in an aggregate does not cause this License to apply to the other
3070parts of the aggregate.
3071
3072 6. Conveying Non-Source Forms.
3073
3074 You may convey a covered work in object code form under the terms
3075of sections 4 and 5, provided that you also convey the
3076machine-readable Corresponding Source under the terms of this License,
3077in one of these ways:
3078
3079 a) Convey the object code in, or embodied in, a physical product
3080 (including a physical distribution medium), accompanied by the
3081 Corresponding Source fixed on a durable physical medium
3082 customarily used for software interchange.
3083
3084 b) Convey the object code in, or embodied in, a physical product
3085 (including a physical distribution medium), accompanied by a
3086 written offer, valid for at least three years and valid for as
3087 long as you offer spare parts or customer support for that product
3088 model, to give anyone who possesses the object code either (1) a
3089 copy of the Corresponding Source for all the software in the
3090 product that is covered by this License, on a durable physical
3091 medium customarily used for software interchange, for a price no
3092 more than your reasonable cost of physically performing this
3093 conveying of source, or (2) access to copy the
3094 Corresponding Source from a network server at no charge.
3095
3096 c) Convey individual copies of the object code with a copy of the
3097 written offer to provide the Corresponding Source. This
3098 alternative is allowed only occasionally and noncommercially, and
3099 only if you received the object code with such an offer, in accord
3100 with subsection 6b.
3101
3102 d) Convey the object code by offering access from a designated
3103 place (gratis or for a charge), and offer equivalent access to the
3104 Corresponding Source in the same way through the same place at no
3105 further charge. You need not require recipients to copy the
3106 Corresponding Source along with the object code. If the place to
3107 copy the object code is a network server, the Corresponding Source
3108 may be on a different server (operated by you or a third party)
3109 that supports equivalent copying facilities, provided you maintain
3110 clear directions next to the object code saying where to find the
3111 Corresponding Source. Regardless of what server hosts the
3112 Corresponding Source, you remain obligated to ensure that it is
3113 available for as long as needed to satisfy these requirements.
3114
3115 e) Convey the object code using peer-to-peer transmission, provided
3116 you inform other peers where the object code and Corresponding
3117 Source of the work are being offered to the general public at no
3118 charge under subsection 6d.
3119
3120 A separable portion of the object code, whose source code is excluded
3121from the Corresponding Source as a System Library, need not be
3122included in conveying the object code work.
3123
3124 A "User Product" is either (1) a "consumer product", which means any
3125tangible personal property which is normally used for personal, family,
3126or household purposes, or (2) anything designed or sold for incorporation
3127into a dwelling. In determining whether a product is a consumer product,
3128doubtful cases shall be resolved in favor of coverage. For a particular
3129product received by a particular user, "normally used" refers to a
3130typical or common use of that class of product, regardless of the status
3131of the particular user or of the way in which the particular user
3132actually uses, or expects or is expected to use, the product. A product
3133is a consumer product regardless of whether the product has substantial
3134commercial, industrial or non-consumer uses, unless such uses represent
3135the only significant mode of use of the product.
3136
3137 "Installation Information" for a User Product means any methods,
3138procedures, authorization keys, or other information required to install
3139and execute modified versions of a covered work in that User Product from
3140a modified version of its Corresponding Source. The information must
3141suffice to ensure that the continued functioning of the modified object
3142code is in no case prevented or interfered with solely because
3143modification has been made.
3144
3145 If you convey an object code work under this section in, or with, or
3146specifically for use in, a User Product, and the conveying occurs as
3147part of a transaction in which the right of possession and use of the
3148User Product is transferred to the recipient in perpetuity or for a
3149fixed term (regardless of how the transaction is characterized), the
3150Corresponding Source conveyed under this section must be accompanied
3151by the Installation Information. But this requirement does not apply
3152if neither you nor any third party retains the ability to install
3153modified object code on the User Product (for example, the work has
3154been installed in ROM).
3155
3156 The requirement to provide Installation Information does not include a
3157requirement to continue to provide support service, warranty, or updates
3158for a work that has been modified or installed by the recipient, or for
3159the User Product in which it has been modified or installed. Access to a
3160network may be denied when the modification itself materially and
3161adversely affects the operation of the network or violates the rules and
3162protocols for communication across the network.
3163
3164 Corresponding Source conveyed, and Installation Information provided,
3165in accord with this section must be in a format that is publicly
3166documented (and with an implementation available to the public in
3167source code form), and must require no special password or key for
3168unpacking, reading or copying.
3169
3170 7. Additional Terms.
3171
3172 "Additional permissions" are terms that supplement the terms of this
3173License by making exceptions from one or more of its conditions.
3174Additional permissions that are applicable to the entire Program shall
3175be treated as though they were included in this License, to the extent
3176that they are valid under applicable law. If additional permissions
3177apply only to part of the Program, that part may be used separately
3178under those permissions, but the entire Program remains governed by
3179this License without regard to the additional permissions.
3180
3181 When you convey a copy of a covered work, you may at your option
3182remove any additional permissions from that copy, or from any part of
3183it. (Additional permissions may be written to require their own
3184removal in certain cases when you modify the work.) You may place
3185additional permissions on material, added by you to a covered work,
3186for which you have or can give appropriate copyright permission.
3187
3188 Notwithstanding any other provision of this License, for material you
3189add to a covered work, you may (if authorized by the copyright holders of
3190that material) supplement the terms of this License with terms:
3191
3192 a) Disclaiming warranty or limiting liability differently from the
3193 terms of sections 15 and 16 of this License; or
3194
3195 b) Requiring preservation of specified reasonable legal notices or
3196 author attributions in that material or in the Appropriate Legal
3197 Notices displayed by works containing it; or
3198
3199 c) Prohibiting misrepresentation of the origin of that material, or
3200 requiring that modified versions of such material be marked in
3201 reasonable ways as different from the original version; or
3202
3203 d) Limiting the use for publicity purposes of names of licensors or
3204 authors of the material; or
3205
3206 e) Declining to grant rights under trademark law for use of some
3207 trade names, trademarks, or service marks; or
3208
3209 f) Requiring indemnification of licensors and authors of that
3210 material by anyone who conveys the material (or modified versions of
3211 it) with contractual assumptions of liability to the recipient, for
3212 any liability that these contractual assumptions directly impose on
3213 those licensors and authors.
3214
3215 All other non-permissive additional terms are considered "further
3216restrictions" within the meaning of section 10. If the Program as you
3217received it, or any part of it, contains a notice stating that it is
3218governed by this License along with a term that is a further
3219restriction, you may remove that term. If a license document contains
3220a further restriction but permits relicensing or conveying under this
3221License, you may add to a covered work material governed by the terms
3222of that license document, provided that the further restriction does
3223not survive such relicensing or conveying.
3224
3225 If you add terms to a covered work in accord with this section, you
3226must place, in the relevant source files, a statement of the
3227additional terms that apply to those files, or a notice indicating
3228where to find the applicable terms.
3229
3230 Additional terms, permissive or non-permissive, may be stated in the
3231form of a separately written license, or stated as exceptions;
3232the above requirements apply either way.
3233
3234 8. Termination.
3235
3236 You may not propagate or modify a covered work except as expressly
3237provided under this License. Any attempt otherwise to propagate or
3238modify it is void, and will automatically terminate your rights under
3239this License (including any patent licenses granted under the third
3240paragraph of section 11).
3241
3242 However, if you cease all violation of this License, then your
3243license from a particular copyright holder is reinstated (a)
3244provisionally, unless and until the copyright holder explicitly and
3245finally terminates your license, and (b) permanently, if the copyright
3246holder fails to notify you of the violation by some reasonable means
3247prior to 60 days after the cessation.
3248
3249 Moreover, your license from a particular copyright holder is
3250reinstated permanently if the copyright holder notifies you of the
3251violation by some reasonable means, this is the first time you have
3252received notice of violation of this License (for any work) from that
3253copyright holder, and you cure the violation prior to 30 days after
3254your receipt of the notice.
3255
3256 Termination of your rights under this section does not terminate the
3257licenses of parties who have received copies or rights from you under
3258this License. If your rights have been terminated and not permanently
3259reinstated, you do not qualify to receive new licenses for the same
3260material under section 10.
3261
3262 9. Acceptance Not Required for Having Copies.
3263
3264 You are not required to accept this License in order to receive or
3265run a copy of the Program. Ancillary propagation of a covered work
3266occurring solely as a consequence of using peer-to-peer transmission
3267to receive a copy likewise does not require acceptance. However,
3268nothing other than this License grants you permission to propagate or
3269modify any covered work. These actions infringe copyright if you do
3270not accept this License. Therefore, by modifying or propagating a
3271covered work, you indicate your acceptance of this License to do so.
3272
3273 10. Automatic Licensing of Downstream Recipients.
3274
3275 Each time you convey a covered work, the recipient automatically
3276receives a license from the original licensors, to run, modify and
3277propagate that work, subject to this License. You are not responsible
3278for enforcing compliance by third parties with this License.
3279
3280 An "entity transaction" is a transaction transferring control of an
3281organization, or substantially all assets of one, or subdividing an
3282organization, or merging organizations. If propagation of a covered
3283work results from an entity transaction, each party to that
3284transaction who receives a copy of the work also receives whatever
3285licenses to the work the party's predecessor in interest had or could
3286give under the previous paragraph, plus a right to possession of the
3287Corresponding Source of the work from the predecessor in interest, if
3288the predecessor has it or can get it with reasonable efforts.
3289
3290 You may not impose any further restrictions on the exercise of the
3291rights granted or affirmed under this License. For example, you may
3292not impose a license fee, royalty, or other charge for exercise of
3293rights granted under this License, and you may not initiate litigation
3294(including a cross-claim or counterclaim in a lawsuit) alleging that
3295any patent claim is infringed by making, using, selling, offering for
3296sale, or importing the Program or any portion of it.
3297
3298 11. Patents.
3299
3300 A "contributor" is a copyright holder who authorizes use under this
3301License of the Program or a work on which the Program is based. The
3302work thus licensed is called the contributor's "contributor version".
3303
3304 A contributor's "essential patent claims" are all patent claims
3305owned or controlled by the contributor, whether already acquired or
3306hereafter acquired, that would be infringed by some manner, permitted
3307by this License, of making, using, or selling its contributor version,
3308but do not include claims that would be infringed only as a
3309consequence of further modification of the contributor version. For
3310purposes of this definition, "control" includes the right to grant
3311patent sublicenses in a manner consistent with the requirements of
3312this License.
3313
3314 Each contributor grants you a non-exclusive, worldwide, royalty-free
3315patent license under the contributor's essential patent claims, to
3316make, use, sell, offer for sale, import and otherwise run, modify and
3317propagate the contents of its contributor version.
3318
3319 In the following three paragraphs, a "patent license" is any express
3320agreement or commitment, however denominated, not to enforce a patent
3321(such as an express permission to practice a patent or covenant not to
3322sue for patent infringement). To "grant" such a patent license to a
3323party means to make such an agreement or commitment not to enforce a
3324patent against the party.
3325
3326 If you convey a covered work, knowingly relying on a patent license,
3327and the Corresponding Source of the work is not available for anyone
3328to copy, free of charge and under the terms of this License, through a
3329publicly available network server or other readily accessible means,
3330then you must either (1) cause the Corresponding Source to be so
3331available, or (2) arrange to deprive yourself of the benefit of the
3332patent license for this particular work, or (3) arrange, in a manner
3333consistent with the requirements of this License, to extend the patent
3334license to downstream recipients. "Knowingly relying" means you have
3335actual knowledge that, but for the patent license, your conveying the
3336covered work in a country, or your recipient's use of the covered work
3337in a country, would infringe one or more identifiable patents in that
3338country that you have reason to believe are valid.
3339
3340 If, pursuant to or in connection with a single transaction or
3341arrangement, you convey, or propagate by procuring conveyance of, a
3342covered work, and grant a patent license to some of the parties
3343receiving the covered work authorizing them to use, propagate, modify
3344or convey a specific copy of the covered work, then the patent license
3345you grant is automatically extended to all recipients of the covered
3346work and works based on it.
3347
3348 A patent license is "discriminatory" if it does not include within
3349the scope of its coverage, prohibits the exercise of, or is
3350conditioned on the non-exercise of one or more of the rights that are
3351specifically granted under this License. You may not convey a covered
3352work if you are a party to an arrangement with a third party that is
3353in the business of distributing software, under which you make payment
3354to the third party based on the extent of your activity of conveying
3355the work, and under which the third party grants, to any of the
3356parties who would receive the covered work from you, a discriminatory
3357patent license (a) in connection with copies of the covered work
3358conveyed by you (or copies made from those copies), or (b) primarily
3359for and in connection with specific products or compilations that
3360contain the covered work, unless you entered into that arrangement,
3361or that patent license was granted, prior to 28 March 2007.
3362
3363 Nothing in this License shall be construed as excluding or limiting
3364any implied license or other defenses to infringement that may
3365otherwise be available to you under applicable patent law.
3366
3367 12. No Surrender of Others' Freedom.
3368
3369 If conditions are imposed on you (whether by court order, agreement or
3370otherwise) that contradict the conditions of this License, they do not
3371excuse you from the conditions of this License. If you cannot convey a
3372covered work so as to satisfy simultaneously your obligations under this
3373License and any other pertinent obligations, then as a consequence you may
3374not convey it at all. For example, if you agree to terms that obligate you
3375to collect a royalty for further conveying from those to whom you convey
3376the Program, the only way you could satisfy both those terms and this
3377License would be to refrain entirely from conveying the Program.
3378
3379 13. Use with the GNU Affero General Public License.
3380
3381 Notwithstanding any other provision of this License, you have
3382permission to link or combine any covered work with a work licensed
3383under version 3 of the GNU Affero General Public License into a single
3384combined work, and to convey the resulting work. The terms of this
3385License will continue to apply to the part which is the covered work,
3386but the special requirements of the GNU Affero General Public License,
3387section 13, concerning interaction through a network will apply to the
3388combination as such.
3389
3390 14. Revised Versions of this License.
3391
3392 The Free Software Foundation may publish revised and/or new versions of
3393the GNU General Public License from time to time. Such new versions will
3394be similar in spirit to the present version, but may differ in detail to
3395address new problems or concerns.
3396
3397 Each version is given a distinguishing version number. If the
3398Program specifies that a certain numbered version of the GNU General
3399Public License "or any later version" applies to it, you have the
3400option of following the terms and conditions either of that numbered
3401version or of any later version published by the Free Software
3402Foundation. If the Program does not specify a version number of the
3403GNU General Public License, you may choose any version ever published
3404by the Free Software Foundation.
3405
3406 If the Program specifies that a proxy can decide which future
3407versions of the GNU General Public License can be used, that proxy's
3408public statement of acceptance of a version permanently authorizes you
3409to choose that version for the Program.
3410
3411 Later license versions may give you additional or different
3412permissions. However, no additional obligations are imposed on any
3413author or copyright holder as a result of your choosing to follow a
3414later version.
3415
3416 15. Disclaimer of Warranty.
3417
3418 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
3419APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
3420HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
3421OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3422THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3423PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
3424IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
3425ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3426
3427 16. Limitation of Liability.
3428
3429 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3430WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
3431THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
3432GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
3433USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
3434DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
3435PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
3436EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
3437SUCH DAMAGES.
3438
3439 17. Interpretation of Sections 15 and 16.
3440
3441 If the disclaimer of warranty and limitation of liability provided
3442above cannot be given local legal effect according to their terms,
3443reviewing courts shall apply local law that most closely approximates
3444an absolute waiver of all civil liability in connection with the
3445Program, unless a warranty or assumption of liability accompanies a
3446copy of the Program in return for a fee.
3447
3448 END OF TERMS AND CONDITIONS
3449
3450 How to Apply These Terms to Your New Programs
3451
3452 If you develop a new program, and you want it to be of the greatest
3453possible use to the public, the best way to achieve this is to make it
3454free software which everyone can redistribute and change under these terms.
3455
3456 To do so, attach the following notices to the program. It is safest
3457to attach them to the start of each source file to most effectively
3458state the exclusion of warranty; and each file should have at least
3459the "copyright" line and a pointer to where the full notice is found.
3460
3461 <one line to give the program's name and a brief idea of what it does.>
3462 Copyright (C) <year> <name of author>
3463
3464 This program is free software: you can redistribute it and/or modify
3465 it under the terms of the GNU General Public License as published by
3466 the Free Software Foundation, either version 3 of the License, or
3467 (at your option) any later version.
3468
3469 This program is distributed in the hope that it will be useful,
3470 but WITHOUT ANY WARRANTY; without even the implied warranty of
3471 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3472 GNU General Public License for more details.
3473
3474 You should have received a copy of the GNU General Public License
3475 along with this program. If not, see <http://www.gnu.org/licenses/>.
3476
3477Also add information on how to contact you by electronic and paper mail.
3478
3479 If the program does terminal interaction, make it output a short
3480notice like this when it starts in an interactive mode:
3481
3482 <program> Copyright (C) <year> <name of author>
3483 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3484 This is free software, and you are welcome to redistribute it
3485 under certain conditions; type `show c' for details.
3486
3487The hypothetical commands `show w' and `show c' should show the appropriate
3488parts of the General Public License. Of course, your program's commands
3489might be different; for a GUI interface, you would use an "about box".
3490
3491 You should also get your employer (if you work as a programmer) or school,
3492if any, to sign a "copyright disclaimer" for the program, if necessary.
3493For more information on this, and how to apply and follow the GNU GPL, see
3494<http://www.gnu.org/licenses/>.
3495
3496 The GNU General Public License does not permit incorporating your program
3497into proprietary programs. If your program is a subroutine library, you
3498may consider it more useful to permit linking proprietary applications with
3499the library. If this is what you want to do, use the GNU Lesser General
3500Public License instead of this License. But first, please read
3501<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08003502 GNU LESSER GENERAL PUBLIC LICENSE
3503 Version 2.1, February 1999
3504
3505 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
3506 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3507 Everyone is permitted to copy and distribute verbatim copies
3508 of this license document, but changing it is not allowed.
3509
3510[This is the first released version of the Lesser GPL. It also counts
3511 as the successor of the GNU Library Public License, version 2, hence
3512 the version number 2.1.]
3513
3514 Preamble
3515
3516 The licenses for most software are designed to take away your
3517freedom to share and change it. By contrast, the GNU General Public
3518Licenses are intended to guarantee your freedom to share and change
3519free software--to make sure the software is free for all its users.
3520
3521 This license, the Lesser General Public License, applies to some
3522specially designated software packages--typically libraries--of the
3523Free Software Foundation and other authors who decide to use it. You
3524can use it too, but we suggest you first think carefully about whether
3525this license or the ordinary General Public License is the better
3526strategy to use in any particular case, based on the explanations below.
3527
3528 When we speak of free software, we are referring to freedom of use,
3529not price. Our General Public Licenses are designed to make sure that
3530you have the freedom to distribute copies of free software (and charge
3531for this service if you wish); that you receive source code or can get
3532it if you want it; that you can change the software and use pieces of
3533it in new free programs; and that you are informed that you can do
3534these things.
3535
3536 To protect your rights, we need to make restrictions that forbid
3537distributors to deny you these rights or to ask you to surrender these
3538rights. These restrictions translate to certain responsibilities for
3539you if you distribute copies of the library or if you modify it.
3540
3541 For example, if you distribute copies of the library, whether gratis
3542or for a fee, you must give the recipients all the rights that we gave
3543you. You must make sure that they, too, receive or can get the source
3544code. If you link other code with the library, you must provide
3545complete object files to the recipients, so that they can relink them
3546with the library after making changes to the library and recompiling
3547it. And you must show them these terms so they know their rights.
3548
3549 We protect your rights with a two-step method: (1) we copyright the
3550library, and (2) we offer you this license, which gives you legal
3551permission to copy, distribute and/or modify the library.
3552
3553 To protect each distributor, we want to make it very clear that
3554there is no warranty for the free library. Also, if the library is
3555modified by someone else and passed on, the recipients should know
3556that what they have is not the original version, so that the original
3557author's reputation will not be affected by problems that might be
3558introduced by others.
3559
3560 Finally, software patents pose a constant threat to the existence of
3561any free program. We wish to make sure that a company cannot
3562effectively restrict the users of a free program by obtaining a
3563restrictive license from a patent holder. Therefore, we insist that
3564any patent license obtained for a version of the library must be
3565consistent with the full freedom of use specified in this license.
3566
3567 Most GNU software, including some libraries, is covered by the
3568ordinary GNU General Public License. This license, the GNU Lesser
3569General Public License, applies to certain designated libraries, and
3570is quite different from the ordinary General Public License. We use
3571this license for certain libraries in order to permit linking those
3572libraries into non-free programs.
3573
3574 When a program is linked with a library, whether statically or using
3575a shared library, the combination of the two is legally speaking a
3576combined work, a derivative of the original library. The ordinary
3577General Public License therefore permits such linking only if the
3578entire combination fits its criteria of freedom. The Lesser General
3579Public License permits more lax criteria for linking other code with
3580the library.
3581
3582 We call this license the "Lesser" General Public License because it
3583does Less to protect the user's freedom than the ordinary General
3584Public License. It also provides other free software developers Less
3585of an advantage over competing non-free programs. These disadvantages
3586are the reason we use the ordinary General Public License for many
3587libraries. However, the Lesser license provides advantages in certain
3588special circumstances.
3589
3590 For example, on rare occasions, there may be a special need to
3591encourage the widest possible use of a certain library, so that it becomes
3592a de-facto standard. To achieve this, non-free programs must be
3593allowed to use the library. A more frequent case is that a free
3594library does the same job as widely used non-free libraries. In this
3595case, there is little to gain by limiting the free library to free
3596software only, so we use the Lesser General Public License.
3597
3598 In other cases, permission to use a particular library in non-free
3599programs enables a greater number of people to use a large body of
3600free software. For example, permission to use the GNU C Library in
3601non-free programs enables many more people to use the whole GNU
3602operating system, as well as its variant, the GNU/Linux operating
3603system.
3604
3605 Although the Lesser General Public License is Less protective of the
3606users' freedom, it does ensure that the user of a program that is
3607linked with the Library has the freedom and the wherewithal to run
3608that program using a modified version of the Library.
3609
3610 The precise terms and conditions for copying, distribution and
3611modification follow. Pay close attention to the difference between a
3612"work based on the library" and a "work that uses the library". The
3613former contains code derived from the library, whereas the latter must
3614be combined with the library in order to run.
3615
3616 GNU LESSER GENERAL PUBLIC LICENSE
3617 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
3618
3619 0. This License Agreement applies to any software library or other
3620program which contains a notice placed by the copyright holder or
3621other authorized party saying it may be distributed under the terms of
3622this Lesser General Public License (also called "this License").
3623Each licensee is addressed as "you".
3624
3625 A "library" means a collection of software functions and/or data
3626prepared so as to be conveniently linked with application programs
3627(which use some of those functions and data) to form executables.
3628
3629 The "Library", below, refers to any such software library or work
3630which has been distributed under these terms. A "work based on the
3631Library" means either the Library or any derivative work under
3632copyright law: that is to say, a work containing the Library or a
3633portion of it, either verbatim or with modifications and/or translated
3634straightforwardly into another language. (Hereinafter, translation is
3635included without limitation in the term "modification".)
3636
3637 "Source code" for a work means the preferred form of the work for
3638making modifications to it. For a library, complete source code means
3639all the source code for all modules it contains, plus any associated
3640interface definition files, plus the scripts used to control compilation
3641and installation of the library.
3642
3643 Activities other than copying, distribution and modification are not
3644covered by this License; they are outside its scope. The act of
3645running a program using the Library is not restricted, and output from
3646such a program is covered only if its contents constitute a work based
3647on the Library (independent of the use of the Library in a tool for
3648writing it). Whether that is true depends on what the Library does
3649and what the program that uses the Library does.
3650
3651 1. You may copy and distribute verbatim copies of the Library's
3652complete source code as you receive it, in any medium, provided that
3653you conspicuously and appropriately publish on each copy an
3654appropriate copyright notice and disclaimer of warranty; keep intact
3655all the notices that refer to this License and to the absence of any
3656warranty; and distribute a copy of this License along with the
3657Library.
3658
3659 You may charge a fee for the physical act of transferring a copy,
3660and you may at your option offer warranty protection in exchange for a
3661fee.
3662
3663 2. You may modify your copy or copies of the Library or any portion
3664of it, thus forming a work based on the Library, and copy and
3665distribute such modifications or work under the terms of Section 1
3666above, provided that you also meet all of these conditions:
3667
3668 a) The modified work must itself be a software library.
3669
3670 b) You must cause the files modified to carry prominent notices
3671 stating that you changed the files and the date of any change.
3672
3673 c) You must cause the whole of the work to be licensed at no
3674 charge to all third parties under the terms of this License.
3675
3676 d) If a facility in the modified Library refers to a function or a
3677 table of data to be supplied by an application program that uses
3678 the facility, other than as an argument passed when the facility
3679 is invoked, then you must make a good faith effort to ensure that,
3680 in the event an application does not supply such function or
3681 table, the facility still operates, and performs whatever part of
3682 its purpose remains meaningful.
3683
3684 (For example, a function in a library to compute square roots has
3685 a purpose that is entirely well-defined independent of the
3686 application. Therefore, Subsection 2d requires that any
3687 application-supplied function or table used by this function must
3688 be optional: if the application does not supply it, the square
3689 root function must still compute square roots.)
3690
3691These requirements apply to the modified work as a whole. If
3692identifiable sections of that work are not derived from the Library,
3693and can be reasonably considered independent and separate works in
3694themselves, then this License, and its terms, do not apply to those
3695sections when you distribute them as separate works. But when you
3696distribute the same sections as part of a whole which is a work based
3697on the Library, the distribution of the whole must be on the terms of
3698this License, whose permissions for other licensees extend to the
3699entire whole, and thus to each and every part regardless of who wrote
3700it.
3701
3702Thus, it is not the intent of this section to claim rights or contest
3703your rights to work written entirely by you; rather, the intent is to
3704exercise the right to control the distribution of derivative or
3705collective works based on the Library.
3706
3707In addition, mere aggregation of another work not based on the Library
3708with the Library (or with a work based on the Library) on a volume of
3709a storage or distribution medium does not bring the other work under
3710the scope of this License.
3711
3712 3. You may opt to apply the terms of the ordinary GNU General Public
3713License instead of this License to a given copy of the Library. To do
3714this, you must alter all the notices that refer to this License, so
3715that they refer to the ordinary GNU General Public License, version 2,
3716instead of to this License. (If a newer version than version 2 of the
3717ordinary GNU General Public License has appeared, then you can specify
3718that version instead if you wish.) Do not make any other change in
3719these notices.
3720
3721 Once this change is made in a given copy, it is irreversible for
3722that copy, so the ordinary GNU General Public License applies to all
3723subsequent copies and derivative works made from that copy.
3724
3725 This option is useful when you wish to copy part of the code of
3726the Library into a program that is not a library.
3727
3728 4. You may copy and distribute the Library (or a portion or
3729derivative of it, under Section 2) in object code or executable form
3730under the terms of Sections 1 and 2 above provided that you accompany
3731it with the complete corresponding machine-readable source code, which
3732must be distributed under the terms of Sections 1 and 2 above on a
3733medium customarily used for software interchange.
3734
3735 If distribution of object code is made by offering access to copy
3736from a designated place, then offering equivalent access to copy the
3737source code from the same place satisfies the requirement to
3738distribute the source code, even though third parties are not
3739compelled to copy the source along with the object code.
3740
3741 5. A program that contains no derivative of any portion of the
3742Library, but is designed to work with the Library by being compiled or
3743linked with it, is called a "work that uses the Library". Such a
3744work, in isolation, is not a derivative work of the Library, and
3745therefore falls outside the scope of this License.
3746
3747 However, linking a "work that uses the Library" with the Library
3748creates an executable that is a derivative of the Library (because it
3749contains portions of the Library), rather than a "work that uses the
3750library". The executable is therefore covered by this License.
3751Section 6 states terms for distribution of such executables.
3752
3753 When a "work that uses the Library" uses material from a header file
3754that is part of the Library, the object code for the work may be a
3755derivative work of the Library even though the source code is not.
3756Whether this is true is especially significant if the work can be
3757linked without the Library, or if the work is itself a library. The
3758threshold for this to be true is not precisely defined by law.
3759
3760 If such an object file uses only numerical parameters, data
3761structure layouts and accessors, and small macros and small inline
3762functions (ten lines or less in length), then the use of the object
3763file is unrestricted, regardless of whether it is legally a derivative
3764work. (Executables containing this object code plus portions of the
3765Library will still fall under Section 6.)
3766
3767 Otherwise, if the work is a derivative of the Library, you may
3768distribute the object code for the work under the terms of Section 6.
3769Any executables containing that work also fall under Section 6,
3770whether or not they are linked directly with the Library itself.
3771
3772 6. As an exception to the Sections above, you may also combine or
3773link a "work that uses the Library" with the Library to produce a
3774work containing portions of the Library, and distribute that work
3775under terms of your choice, provided that the terms permit
3776modification of the work for the customer's own use and reverse
3777engineering for debugging such modifications.
3778
3779 You must give prominent notice with each copy of the work that the
3780Library is used in it and that the Library and its use are covered by
3781this License. You must supply a copy of this License. If the work
3782during execution displays copyright notices, you must include the
3783copyright notice for the Library among them, as well as a reference
3784directing the user to the copy of this License. Also, you must do one
3785of these things:
3786
3787 a) Accompany the work with the complete corresponding
3788 machine-readable source code for the Library including whatever
3789 changes were used in the work (which must be distributed under
3790 Sections 1 and 2 above); and, if the work is an executable linked
3791 with the Library, with the complete machine-readable "work that
3792 uses the Library", as object code and/or source code, so that the
3793 user can modify the Library and then relink to produce a modified
3794 executable containing the modified Library. (It is understood
3795 that the user who changes the contents of definitions files in the
3796 Library will not necessarily be able to recompile the application
3797 to use the modified definitions.)
3798
3799 b) Use a suitable shared library mechanism for linking with the
3800 Library. A suitable mechanism is one that (1) uses at run time a
3801 copy of the library already present on the user's computer system,
3802 rather than copying library functions into the executable, and (2)
3803 will operate properly with a modified version of the library, if
3804 the user installs one, as long as the modified version is
3805 interface-compatible with the version that the work was made with.
3806
3807 c) Accompany the work with a written offer, valid for at
3808 least three years, to give the same user the materials
3809 specified in Subsection 6a, above, for a charge no more
3810 than the cost of performing this distribution.
3811
3812 d) If distribution of the work is made by offering access to copy
3813 from a designated place, offer equivalent access to copy the above
3814 specified materials from the same place.
3815
3816 e) Verify that the user has already received a copy of these
3817 materials or that you have already sent this user a copy.
3818
3819 For an executable, the required form of the "work that uses the
3820Library" must include any data and utility programs needed for
3821reproducing the executable from it. However, as a special exception,
3822the materials to be distributed need not include anything that is
3823normally distributed (in either source or binary form) with the major
3824components (compiler, kernel, and so on) of the operating system on
3825which the executable runs, unless that component itself accompanies
3826the executable.
3827
3828 It may happen that this requirement contradicts the license
3829restrictions of other proprietary libraries that do not normally
3830accompany the operating system. Such a contradiction means you cannot
3831use both them and the Library together in an executable that you
3832distribute.
3833
3834 7. You may place library facilities that are a work based on the
3835Library side-by-side in a single library together with other library
3836facilities not covered by this License, and distribute such a combined
3837library, provided that the separate distribution of the work based on
3838the Library and of the other library facilities is otherwise
3839permitted, and provided that you do these two things:
3840
3841 a) Accompany the combined library with a copy of the same work
3842 based on the Library, uncombined with any other library
3843 facilities. This must be distributed under the terms of the
3844 Sections above.
3845
3846 b) Give prominent notice with the combined library of the fact
3847 that part of it is a work based on the Library, and explaining
3848 where to find the accompanying uncombined form of the same work.
3849
3850 8. You may not copy, modify, sublicense, link with, or distribute
3851the Library except as expressly provided under this License. Any
3852attempt otherwise to copy, modify, sublicense, link with, or
3853distribute the Library is void, and will automatically terminate your
3854rights under this License. However, parties who have received copies,
3855or rights, from you under this License will not have their licenses
3856terminated so long as such parties remain in full compliance.
3857
3858 9. You are not required to accept this License, since you have not
3859signed it. However, nothing else grants you permission to modify or
3860distribute the Library or its derivative works. These actions are
3861prohibited by law if you do not accept this License. Therefore, by
3862modifying or distributing the Library (or any work based on the
3863Library), you indicate your acceptance of this License to do so, and
3864all its terms and conditions for copying, distributing or modifying
3865the Library or works based on it.
3866
3867 10. Each time you redistribute the Library (or any work based on the
3868Library), the recipient automatically receives a license from the
3869original licensor to copy, distribute, link with or modify the Library
3870subject to these terms and conditions. You may not impose any further
3871restrictions on the recipients' exercise of the rights granted herein.
3872You are not responsible for enforcing compliance by third parties with
3873this License.
3874
3875 11. If, as a consequence of a court judgment or allegation of patent
3876infringement or for any other reason (not limited to patent issues),
3877conditions are imposed on you (whether by court order, agreement or
3878otherwise) that contradict the conditions of this License, they do not
3879excuse you from the conditions of this License. If you cannot
3880distribute so as to satisfy simultaneously your obligations under this
3881License and any other pertinent obligations, then as a consequence you
3882may not distribute the Library at all. For example, if a patent
3883license would not permit royalty-free redistribution of the Library by
3884all those who receive copies directly or indirectly through you, then
3885the only way you could satisfy both it and this License would be to
3886refrain entirely from distribution of the Library.
3887
3888If any portion of this section is held invalid or unenforceable under any
3889particular circumstance, the balance of the section is intended to apply,
3890and the section as a whole is intended to apply in other circumstances.
3891
3892It is not the purpose of this section to induce you to infringe any
3893patents or other property right claims or to contest validity of any
3894such claims; this section has the sole purpose of protecting the
3895integrity of the free software distribution system which is
3896implemented by public license practices. Many people have made
3897generous contributions to the wide range of software distributed
3898through that system in reliance on consistent application of that
3899system; it is up to the author/donor to decide if he or she is willing
3900to distribute software through any other system and a licensee cannot
3901impose that choice.
3902
3903This section is intended to make thoroughly clear what is believed to
3904be a consequence of the rest of this License.
3905
3906 12. If the distribution and/or use of the Library is restricted in
3907certain countries either by patents or by copyrighted interfaces, the
3908original copyright holder who places the Library under this License may add
3909an explicit geographical distribution limitation excluding those countries,
3910so that distribution is permitted only in or among countries not thus
3911excluded. In such case, this License incorporates the limitation as if
3912written in the body of this License.
3913
3914 13. The Free Software Foundation may publish revised and/or new
3915versions of the Lesser General Public License from time to time.
3916Such new versions will be similar in spirit to the present version,
3917but may differ in detail to address new problems or concerns.
3918
3919Each version is given a distinguishing version number. If the Library
3920specifies a version number of this License which applies to it and
3921"any later version", you have the option of following the terms and
3922conditions either of that version or of any later version published by
3923the Free Software Foundation. If the Library does not specify a
3924license version number, you may choose any version ever published by
3925the Free Software Foundation.
3926
3927 14. If you wish to incorporate parts of the Library into other free
3928programs whose distribution conditions are incompatible with these,
3929write to the author to ask for permission. For software which is
3930copyrighted by the Free Software Foundation, write to the Free
3931Software Foundation; we sometimes make exceptions for this. Our
3932decision will be guided by the two goals of preserving the free status
3933of all derivatives of our free software and of promoting the sharing
3934and reuse of software generally.
3935
3936 NO WARRANTY
3937
3938 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
3939WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
3940EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
3941OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
3942KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
3943IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3944PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
3945LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
3946THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3947
3948 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
3949WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
3950AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
3951FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
3952CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
3953LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
3954RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
3955FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
3956SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
3957DAMAGES.
3958
3959 END OF TERMS AND CONDITIONS
3960
3961 How to Apply These Terms to Your New Libraries
3962
3963 If you develop a new library, and you want it to be of the greatest
3964possible use to the public, we recommend making it free software that
3965everyone can redistribute and change. You can do so by permitting
3966redistribution under these terms (or, alternatively, under the terms of the
3967ordinary General Public License).
3968
3969 To apply these terms, attach the following notices to the library. It is
3970safest to attach them to the start of each source file to most effectively
3971convey the exclusion of warranty; and each file should have at least the
3972"copyright" line and a pointer to where the full notice is found.
3973
3974 <one line to give the library's name and a brief idea of what it does.>
3975 Copyright (C) <year> <name of author>
3976
3977 This library is free software; you can redistribute it and/or
3978 modify it under the terms of the GNU Lesser General Public
3979 License as published by the Free Software Foundation; either
3980 version 2.1 of the License, or (at your option) any later version.
3981
3982 This library is distributed in the hope that it will be useful,
3983 but WITHOUT ANY WARRANTY; without even the implied warranty of
3984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3985 Lesser General Public License for more details.
3986
3987 You should have received a copy of the GNU Lesser General Public
3988 License along with this library; if not, write to the Free Software
3989 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
3990
3991Also add information on how to contact you by electronic and paper mail.
3992
3993You should also get your employer (if you work as a programmer) or your
3994school, if any, to sign a "copyright disclaimer" for the library, if
3995necessary. Here is a sample; alter the names:
3996
3997 Yoyodyne, Inc., hereby disclaims all copyright interest in the
3998 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
3999
4000 <signature of Ty Coon>, 1 April 1990
4001 Ty Coon, President of Vice
4002
4003That's all there is to it!
4004
4005
4006 GNU GENERAL PUBLIC LICENSE
4007 Version 3, 29 June 2007
4008
4009 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4010 Everyone is permitted to copy and distribute verbatim copies
4011 of this license document, but changing it is not allowed.
4012
4013 Preamble
4014
4015 The GNU General Public License is a free, copyleft license for
4016software and other kinds of works.
4017
4018 The licenses for most software and other practical works are designed
4019to take away your freedom to share and change the works. By contrast,
4020the GNU General Public License is intended to guarantee your freedom to
4021share and change all versions of a program--to make sure it remains free
4022software for all its users. We, the Free Software Foundation, use the
4023GNU General Public License for most of our software; it applies also to
4024any other work released this way by its authors. You can apply it to
4025your programs, too.
4026
4027 When we speak of free software, we are referring to freedom, not
4028price. Our General Public Licenses are designed to make sure that you
4029have the freedom to distribute copies of free software (and charge for
4030them if you wish), that you receive source code or can get it if you
4031want it, that you can change the software or use pieces of it in new
4032free programs, and that you know you can do these things.
4033
4034 To protect your rights, we need to prevent others from denying you
4035these rights or asking you to surrender the rights. Therefore, you have
4036certain responsibilities if you distribute copies of the software, or if
4037you modify it: responsibilities to respect the freedom of others.
4038
4039 For example, if you distribute copies of such a program, whether
4040gratis or for a fee, you must pass on to the recipients the same
4041freedoms that you received. You must make sure that they, too, receive
4042or can get the source code. And you must show them these terms so they
4043know their rights.
4044
4045 Developers that use the GNU GPL protect your rights with two steps:
4046(1) assert copyright on the software, and (2) offer you this License
4047giving you legal permission to copy, distribute and/or modify it.
4048
4049 For the developers' and authors' protection, the GPL clearly explains
4050that there is no warranty for this free software. For both users' and
4051authors' sake, the GPL requires that modified versions be marked as
4052changed, so that their problems will not be attributed erroneously to
4053authors of previous versions.
4054
4055 Some devices are designed to deny users access to install or run
4056modified versions of the software inside them, although the manufacturer
4057can do so. This is fundamentally incompatible with the aim of
4058protecting users' freedom to change the software. The systematic
4059pattern of such abuse occurs in the area of products for individuals to
4060use, which is precisely where it is most unacceptable. Therefore, we
4061have designed this version of the GPL to prohibit the practice for those
4062products. If such problems arise substantially in other domains, we
4063stand ready to extend this provision to those domains in future versions
4064of the GPL, as needed to protect the freedom of users.
4065
4066 Finally, every program is threatened constantly by software patents.
4067States should not allow patents to restrict development and use of
4068software on general-purpose computers, but in those that do, we wish to
4069avoid the special danger that patents applied to a free program could
4070make it effectively proprietary. To prevent this, the GPL assures that
4071patents cannot be used to render the program non-free.
4072
4073 The precise terms and conditions for copying, distribution and
4074modification follow.
4075
4076 TERMS AND CONDITIONS
4077
4078 0. Definitions.
4079
4080 "This License" refers to version 3 of the GNU General Public License.
4081
4082 "Copyright" also means copyright-like laws that apply to other kinds of
4083works, such as semiconductor masks.
4084
4085 "The Program" refers to any copyrightable work licensed under this
4086License. Each licensee is addressed as "you". "Licensees" and
4087"recipients" may be individuals or organizations.
4088
4089 To "modify" a work means to copy from or adapt all or part of the work
4090in a fashion requiring copyright permission, other than the making of an
4091exact copy. The resulting work is called a "modified version" of the
4092earlier work or a work "based on" the earlier work.
4093
4094 A "covered work" means either the unmodified Program or a work based
4095on the Program.
4096
4097 To "propagate" a work means to do anything with it that, without
4098permission, would make you directly or secondarily liable for
4099infringement under applicable copyright law, except executing it on a
4100computer or modifying a private copy. Propagation includes copying,
4101distribution (with or without modification), making available to the
4102public, and in some countries other activities as well.
4103
4104 To "convey" a work means any kind of propagation that enables other
4105parties to make or receive copies. Mere interaction with a user through
4106a computer network, with no transfer of a copy, is not conveying.
4107
4108 An interactive user interface displays "Appropriate Legal Notices"
4109to the extent that it includes a convenient and prominently visible
4110feature that (1) displays an appropriate copyright notice, and (2)
4111tells the user that there is no warranty for the work (except to the
4112extent that warranties are provided), that licensees may convey the
4113work under this License, and how to view a copy of this License. If
4114the interface presents a list of user commands or options, such as a
4115menu, a prominent item in the list meets this criterion.
4116
4117 1. Source Code.
4118
4119 The "source code" for a work means the preferred form of the work
4120for making modifications to it. "Object code" means any non-source
4121form of a work.
4122
4123 A "Standard Interface" means an interface that either is an official
4124standard defined by a recognized standards body, or, in the case of
4125interfaces specified for a particular programming language, one that
4126is widely used among developers working in that language.
4127
4128 The "System Libraries" of an executable work include anything, other
4129than the work as a whole, that (a) is included in the normal form of
4130packaging a Major Component, but which is not part of that Major
4131Component, and (b) serves only to enable use of the work with that
4132Major Component, or to implement a Standard Interface for which an
4133implementation is available to the public in source code form. A
4134"Major Component", in this context, means a major essential component
4135(kernel, window system, and so on) of the specific operating system
4136(if any) on which the executable work runs, or a compiler used to
4137produce the work, or an object code interpreter used to run it.
4138
4139 The "Corresponding Source" for a work in object code form means all
4140the source code needed to generate, install, and (for an executable
4141work) run the object code and to modify the work, including scripts to
4142control those activities. However, it does not include the work's
4143System Libraries, or general-purpose tools or generally available free
4144programs which are used unmodified in performing those activities but
4145which are not part of the work. For example, Corresponding Source
4146includes interface definition files associated with source files for
4147the work, and the source code for shared libraries and dynamically
4148linked subprograms that the work is specifically designed to require,
4149such as by intimate data communication or control flow between those
4150subprograms and other parts of the work.
4151
4152 The Corresponding Source need not include anything that users
4153can regenerate automatically from other parts of the Corresponding
4154Source.
4155
4156 The Corresponding Source for a work in source code form is that
4157same work.
4158
4159 2. Basic Permissions.
4160
4161 All rights granted under this License are granted for the term of
4162copyright on the Program, and are irrevocable provided the stated
4163conditions are met. This License explicitly affirms your unlimited
4164permission to run the unmodified Program. The output from running a
4165covered work is covered by this License only if the output, given its
4166content, constitutes a covered work. This License acknowledges your
4167rights of fair use or other equivalent, as provided by copyright law.
4168
4169 You may make, run and propagate covered works that you do not
4170convey, without conditions so long as your license otherwise remains
4171in force. You may convey covered works to others for the sole purpose
4172of having them make modifications exclusively for you, or provide you
4173with facilities for running those works, provided that you comply with
4174the terms of this License in conveying all material for which you do
4175not control copyright. Those thus making or running the covered works
4176for you must do so exclusively on your behalf, under your direction
4177and control, on terms that prohibit them from making any copies of
4178your copyrighted material outside their relationship with you.
4179
4180 Conveying under any other circumstances is permitted solely under
4181the conditions stated below. Sublicensing is not allowed; section 10
4182makes it unnecessary.
4183
4184 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
4185
4186 No covered work shall be deemed part of an effective technological
4187measure under any applicable law fulfilling obligations under article
418811 of the WIPO copyright treaty adopted on 20 December 1996, or
4189similar laws prohibiting or restricting circumvention of such
4190measures.
4191
4192 When you convey a covered work, you waive any legal power to forbid
4193circumvention of technological measures to the extent such circumvention
4194is effected by exercising rights under this License with respect to
4195the covered work, and you disclaim any intention to limit operation or
4196modification of the work as a means of enforcing, against the work's
4197users, your or third parties' legal rights to forbid circumvention of
4198technological measures.
4199
4200 4. Conveying Verbatim Copies.
4201
4202 You may convey verbatim copies of the Program's source code as you
4203receive it, in any medium, provided that you conspicuously and
4204appropriately publish on each copy an appropriate copyright notice;
4205keep intact all notices stating that this License and any
4206non-permissive terms added in accord with section 7 apply to the code;
4207keep intact all notices of the absence of any warranty; and give all
4208recipients a copy of this License along with the Program.
4209
4210 You may charge any price or no price for each copy that you convey,
4211and you may offer support or warranty protection for a fee.
4212
4213 5. Conveying Modified Source Versions.
4214
4215 You may convey a work based on the Program, or the modifications to
4216produce it from the Program, in the form of source code under the
4217terms of section 4, provided that you also meet all of these conditions:
4218
4219 a) The work must carry prominent notices stating that you modified
4220 it, and giving a relevant date.
4221
4222 b) The work must carry prominent notices stating that it is
4223 released under this License and any conditions added under section
4224 7. This requirement modifies the requirement in section 4 to
4225 "keep intact all notices".
4226
4227 c) You must license the entire work, as a whole, under this
4228 License to anyone who comes into possession of a copy. This
4229 License will therefore apply, along with any applicable section 7
4230 additional terms, to the whole of the work, and all its parts,
4231 regardless of how they are packaged. This License gives no
4232 permission to license the work in any other way, but it does not
4233 invalidate such permission if you have separately received it.
4234
4235 d) If the work has interactive user interfaces, each must display
4236 Appropriate Legal Notices; however, if the Program has interactive
4237 interfaces that do not display Appropriate Legal Notices, your
4238 work need not make them do so.
4239
4240 A compilation of a covered work with other separate and independent
4241works, which are not by their nature extensions of the covered work,
4242and which are not combined with it such as to form a larger program,
4243in or on a volume of a storage or distribution medium, is called an
4244"aggregate" if the compilation and its resulting copyright are not
4245used to limit the access or legal rights of the compilation's users
4246beyond what the individual works permit. Inclusion of a covered work
4247in an aggregate does not cause this License to apply to the other
4248parts of the aggregate.
4249
4250 6. Conveying Non-Source Forms.
4251
4252 You may convey a covered work in object code form under the terms
4253of sections 4 and 5, provided that you also convey the
4254machine-readable Corresponding Source under the terms of this License,
4255in one of these ways:
4256
4257 a) Convey the object code in, or embodied in, a physical product
4258 (including a physical distribution medium), accompanied by the
4259 Corresponding Source fixed on a durable physical medium
4260 customarily used for software interchange.
4261
4262 b) Convey the object code in, or embodied in, a physical product
4263 (including a physical distribution medium), accompanied by a
4264 written offer, valid for at least three years and valid for as
4265 long as you offer spare parts or customer support for that product
4266 model, to give anyone who possesses the object code either (1) a
4267 copy of the Corresponding Source for all the software in the
4268 product that is covered by this License, on a durable physical
4269 medium customarily used for software interchange, for a price no
4270 more than your reasonable cost of physically performing this
4271 conveying of source, or (2) access to copy the
4272 Corresponding Source from a network server at no charge.
4273
4274 c) Convey individual copies of the object code with a copy of the
4275 written offer to provide the Corresponding Source. This
4276 alternative is allowed only occasionally and noncommercially, and
4277 only if you received the object code with such an offer, in accord
4278 with subsection 6b.
4279
4280 d) Convey the object code by offering access from a designated
4281 place (gratis or for a charge), and offer equivalent access to the
4282 Corresponding Source in the same way through the same place at no
4283 further charge. You need not require recipients to copy the
4284 Corresponding Source along with the object code. If the place to
4285 copy the object code is a network server, the Corresponding Source
4286 may be on a different server (operated by you or a third party)
4287 that supports equivalent copying facilities, provided you maintain
4288 clear directions next to the object code saying where to find the
4289 Corresponding Source. Regardless of what server hosts the
4290 Corresponding Source, you remain obligated to ensure that it is
4291 available for as long as needed to satisfy these requirements.
4292
4293 e) Convey the object code using peer-to-peer transmission, provided
4294 you inform other peers where the object code and Corresponding
4295 Source of the work are being offered to the general public at no
4296 charge under subsection 6d.
4297
4298 A separable portion of the object code, whose source code is excluded
4299from the Corresponding Source as a System Library, need not be
4300included in conveying the object code work.
4301
4302 A "User Product" is either (1) a "consumer product", which means any
4303tangible personal property which is normally used for personal, family,
4304or household purposes, or (2) anything designed or sold for incorporation
4305into a dwelling. In determining whether a product is a consumer product,
4306doubtful cases shall be resolved in favor of coverage. For a particular
4307product received by a particular user, "normally used" refers to a
4308typical or common use of that class of product, regardless of the status
4309of the particular user or of the way in which the particular user
4310actually uses, or expects or is expected to use, the product. A product
4311is a consumer product regardless of whether the product has substantial
4312commercial, industrial or non-consumer uses, unless such uses represent
4313the only significant mode of use of the product.
4314
4315 "Installation Information" for a User Product means any methods,
4316procedures, authorization keys, or other information required to install
4317and execute modified versions of a covered work in that User Product from
4318a modified version of its Corresponding Source. The information must
4319suffice to ensure that the continued functioning of the modified object
4320code is in no case prevented or interfered with solely because
4321modification has been made.
4322
4323 If you convey an object code work under this section in, or with, or
4324specifically for use in, a User Product, and the conveying occurs as
4325part of a transaction in which the right of possession and use of the
4326User Product is transferred to the recipient in perpetuity or for a
4327fixed term (regardless of how the transaction is characterized), the
4328Corresponding Source conveyed under this section must be accompanied
4329by the Installation Information. But this requirement does not apply
4330if neither you nor any third party retains the ability to install
4331modified object code on the User Product (for example, the work has
4332been installed in ROM).
4333
4334 The requirement to provide Installation Information does not include a
4335requirement to continue to provide support service, warranty, or updates
4336for a work that has been modified or installed by the recipient, or for
4337the User Product in which it has been modified or installed. Access to a
4338network may be denied when the modification itself materially and
4339adversely affects the operation of the network or violates the rules and
4340protocols for communication across the network.
4341
4342 Corresponding Source conveyed, and Installation Information provided,
4343in accord with this section must be in a format that is publicly
4344documented (and with an implementation available to the public in
4345source code form), and must require no special password or key for
4346unpacking, reading or copying.
4347
4348 7. Additional Terms.
4349
4350 "Additional permissions" are terms that supplement the terms of this
4351License by making exceptions from one or more of its conditions.
4352Additional permissions that are applicable to the entire Program shall
4353be treated as though they were included in this License, to the extent
4354that they are valid under applicable law. If additional permissions
4355apply only to part of the Program, that part may be used separately
4356under those permissions, but the entire Program remains governed by
4357this License without regard to the additional permissions.
4358
4359 When you convey a copy of a covered work, you may at your option
4360remove any additional permissions from that copy, or from any part of
4361it. (Additional permissions may be written to require their own
4362removal in certain cases when you modify the work.) You may place
4363additional permissions on material, added by you to a covered work,
4364for which you have or can give appropriate copyright permission.
4365
4366 Notwithstanding any other provision of this License, for material you
4367add to a covered work, you may (if authorized by the copyright holders of
4368that material) supplement the terms of this License with terms:
4369
4370 a) Disclaiming warranty or limiting liability differently from the
4371 terms of sections 15 and 16 of this License; or
4372
4373 b) Requiring preservation of specified reasonable legal notices or
4374 author attributions in that material or in the Appropriate Legal
4375 Notices displayed by works containing it; or
4376
4377 c) Prohibiting misrepresentation of the origin of that material, or
4378 requiring that modified versions of such material be marked in
4379 reasonable ways as different from the original version; or
4380
4381 d) Limiting the use for publicity purposes of names of licensors or
4382 authors of the material; or
4383
4384 e) Declining to grant rights under trademark law for use of some
4385 trade names, trademarks, or service marks; or
4386
4387 f) Requiring indemnification of licensors and authors of that
4388 material by anyone who conveys the material (or modified versions of
4389 it) with contractual assumptions of liability to the recipient, for
4390 any liability that these contractual assumptions directly impose on
4391 those licensors and authors.
4392
4393 All other non-permissive additional terms are considered "further
4394restrictions" within the meaning of section 10. If the Program as you
4395received it, or any part of it, contains a notice stating that it is
4396governed by this License along with a term that is a further
4397restriction, you may remove that term. If a license document contains
4398a further restriction but permits relicensing or conveying under this
4399License, you may add to a covered work material governed by the terms
4400of that license document, provided that the further restriction does
4401not survive such relicensing or conveying.
4402
4403 If you add terms to a covered work in accord with this section, you
4404must place, in the relevant source files, a statement of the
4405additional terms that apply to those files, or a notice indicating
4406where to find the applicable terms.
4407
4408 Additional terms, permissive or non-permissive, may be stated in the
4409form of a separately written license, or stated as exceptions;
4410the above requirements apply either way.
4411
4412 8. Termination.
4413
4414 You may not propagate or modify a covered work except as expressly
4415provided under this License. Any attempt otherwise to propagate or
4416modify it is void, and will automatically terminate your rights under
4417this License (including any patent licenses granted under the third
4418paragraph of section 11).
4419
4420 However, if you cease all violation of this License, then your
4421license from a particular copyright holder is reinstated (a)
4422provisionally, unless and until the copyright holder explicitly and
4423finally terminates your license, and (b) permanently, if the copyright
4424holder fails to notify you of the violation by some reasonable means
4425prior to 60 days after the cessation.
4426
4427 Moreover, your license from a particular copyright holder is
4428reinstated permanently if the copyright holder notifies you of the
4429violation by some reasonable means, this is the first time you have
4430received notice of violation of this License (for any work) from that
4431copyright holder, and you cure the violation prior to 30 days after
4432your receipt of the notice.
4433
4434 Termination of your rights under this section does not terminate the
4435licenses of parties who have received copies or rights from you under
4436this License. If your rights have been terminated and not permanently
4437reinstated, you do not qualify to receive new licenses for the same
4438material under section 10.
4439
4440 9. Acceptance Not Required for Having Copies.
4441
4442 You are not required to accept this License in order to receive or
4443run a copy of the Program. Ancillary propagation of a covered work
4444occurring solely as a consequence of using peer-to-peer transmission
4445to receive a copy likewise does not require acceptance. However,
4446nothing other than this License grants you permission to propagate or
4447modify any covered work. These actions infringe copyright if you do
4448not accept this License. Therefore, by modifying or propagating a
4449covered work, you indicate your acceptance of this License to do so.
4450
4451 10. Automatic Licensing of Downstream Recipients.
4452
4453 Each time you convey a covered work, the recipient automatically
4454receives a license from the original licensors, to run, modify and
4455propagate that work, subject to this License. You are not responsible
4456for enforcing compliance by third parties with this License.
4457
4458 An "entity transaction" is a transaction transferring control of an
4459organization, or substantially all assets of one, or subdividing an
4460organization, or merging organizations. If propagation of a covered
4461work results from an entity transaction, each party to that
4462transaction who receives a copy of the work also receives whatever
4463licenses to the work the party's predecessor in interest had or could
4464give under the previous paragraph, plus a right to possession of the
4465Corresponding Source of the work from the predecessor in interest, if
4466the predecessor has it or can get it with reasonable efforts.
4467
4468 You may not impose any further restrictions on the exercise of the
4469rights granted or affirmed under this License. For example, you may
4470not impose a license fee, royalty, or other charge for exercise of
4471rights granted under this License, and you may not initiate litigation
4472(including a cross-claim or counterclaim in a lawsuit) alleging that
4473any patent claim is infringed by making, using, selling, offering for
4474sale, or importing the Program or any portion of it.
4475
4476 11. Patents.
4477
4478 A "contributor" is a copyright holder who authorizes use under this
4479License of the Program or a work on which the Program is based. The
4480work thus licensed is called the contributor's "contributor version".
4481
4482 A contributor's "essential patent claims" are all patent claims
4483owned or controlled by the contributor, whether already acquired or
4484hereafter acquired, that would be infringed by some manner, permitted
4485by this License, of making, using, or selling its contributor version,
4486but do not include claims that would be infringed only as a
4487consequence of further modification of the contributor version. For
4488purposes of this definition, "control" includes the right to grant
4489patent sublicenses in a manner consistent with the requirements of
4490this License.
4491
4492 Each contributor grants you a non-exclusive, worldwide, royalty-free
4493patent license under the contributor's essential patent claims, to
4494make, use, sell, offer for sale, import and otherwise run, modify and
4495propagate the contents of its contributor version.
4496
4497 In the following three paragraphs, a "patent license" is any express
4498agreement or commitment, however denominated, not to enforce a patent
4499(such as an express permission to practice a patent or covenant not to
4500sue for patent infringement). To "grant" such a patent license to a
4501party means to make such an agreement or commitment not to enforce a
4502patent against the party.
4503
4504 If you convey a covered work, knowingly relying on a patent license,
4505and the Corresponding Source of the work is not available for anyone
4506to copy, free of charge and under the terms of this License, through a
4507publicly available network server or other readily accessible means,
4508then you must either (1) cause the Corresponding Source to be so
4509available, or (2) arrange to deprive yourself of the benefit of the
4510patent license for this particular work, or (3) arrange, in a manner
4511consistent with the requirements of this License, to extend the patent
4512license to downstream recipients. "Knowingly relying" means you have
4513actual knowledge that, but for the patent license, your conveying the
4514covered work in a country, or your recipient's use of the covered work
4515in a country, would infringe one or more identifiable patents in that
4516country that you have reason to believe are valid.
4517
4518 If, pursuant to or in connection with a single transaction or
4519arrangement, you convey, or propagate by procuring conveyance of, a
4520covered work, and grant a patent license to some of the parties
4521receiving the covered work authorizing them to use, propagate, modify
4522or convey a specific copy of the covered work, then the patent license
4523you grant is automatically extended to all recipients of the covered
4524work and works based on it.
4525
4526 A patent license is "discriminatory" if it does not include within
4527the scope of its coverage, prohibits the exercise of, or is
4528conditioned on the non-exercise of one or more of the rights that are
4529specifically granted under this License. You may not convey a covered
4530work if you are a party to an arrangement with a third party that is
4531in the business of distributing software, under which you make payment
4532to the third party based on the extent of your activity of conveying
4533the work, and under which the third party grants, to any of the
4534parties who would receive the covered work from you, a discriminatory
4535patent license (a) in connection with copies of the covered work
4536conveyed by you (or copies made from those copies), or (b) primarily
4537for and in connection with specific products or compilations that
4538contain the covered work, unless you entered into that arrangement,
4539or that patent license was granted, prior to 28 March 2007.
4540
4541 Nothing in this License shall be construed as excluding or limiting
4542any implied license or other defenses to infringement that may
4543otherwise be available to you under applicable patent law.
4544
4545 12. No Surrender of Others' Freedom.
4546
4547 If conditions are imposed on you (whether by court order, agreement or
4548otherwise) that contradict the conditions of this License, they do not
4549excuse you from the conditions of this License. If you cannot convey a
4550covered work so as to satisfy simultaneously your obligations under this
4551License and any other pertinent obligations, then as a consequence you may
4552not convey it at all. For example, if you agree to terms that obligate you
4553to collect a royalty for further conveying from those to whom you convey
4554the Program, the only way you could satisfy both those terms and this
4555License would be to refrain entirely from conveying the Program.
4556
4557 13. Use with the GNU Affero General Public License.
4558
4559 Notwithstanding any other provision of this License, you have
4560permission to link or combine any covered work with a work licensed
4561under version 3 of the GNU Affero General Public License into a single
4562combined work, and to convey the resulting work. The terms of this
4563License will continue to apply to the part which is the covered work,
4564but the special requirements of the GNU Affero General Public License,
4565section 13, concerning interaction through a network will apply to the
4566combination as such.
4567
4568 14. Revised Versions of this License.
4569
4570 The Free Software Foundation may publish revised and/or new versions of
4571the GNU General Public License from time to time. Such new versions will
4572be similar in spirit to the present version, but may differ in detail to
4573address new problems or concerns.
4574
4575 Each version is given a distinguishing version number. If the
4576Program specifies that a certain numbered version of the GNU General
4577Public License "or any later version" applies to it, you have the
4578option of following the terms and conditions either of that numbered
4579version or of any later version published by the Free Software
4580Foundation. If the Program does not specify a version number of the
4581GNU General Public License, you may choose any version ever published
4582by the Free Software Foundation.
4583
4584 If the Program specifies that a proxy can decide which future
4585versions of the GNU General Public License can be used, that proxy's
4586public statement of acceptance of a version permanently authorizes you
4587to choose that version for the Program.
4588
4589 Later license versions may give you additional or different
4590permissions. However, no additional obligations are imposed on any
4591author or copyright holder as a result of your choosing to follow a
4592later version.
4593
4594 15. Disclaimer of Warranty.
4595
4596 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
4597APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
4598HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
4599OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
4600THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4601PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
4602IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
4603ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
4604
4605 16. Limitation of Liability.
4606
4607 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
4608WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
4609THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
4610GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
4611USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
4612DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
4613PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
4614EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
4615SUCH DAMAGES.
4616
4617 17. Interpretation of Sections 15 and 16.
4618
4619 If the disclaimer of warranty and limitation of liability provided
4620above cannot be given local legal effect according to their terms,
4621reviewing courts shall apply local law that most closely approximates
4622an absolute waiver of all civil liability in connection with the
4623Program, unless a warranty or assumption of liability accompanies a
4624copy of the Program in return for a fee.
4625
4626 END OF TERMS AND CONDITIONS
4627
4628 How to Apply These Terms to Your New Programs
4629
4630 If you develop a new program, and you want it to be of the greatest
4631possible use to the public, the best way to achieve this is to make it
4632free software which everyone can redistribute and change under these terms.
4633
4634 To do so, attach the following notices to the program. It is safest
4635to attach them to the start of each source file to most effectively
4636state the exclusion of warranty; and each file should have at least
4637the "copyright" line and a pointer to where the full notice is found.
4638
4639 <one line to give the program's name and a brief idea of what it does.>
4640 Copyright (C) <year> <name of author>
4641
4642 This program is free software: you can redistribute it and/or modify
4643 it under the terms of the GNU General Public License as published by
4644 the Free Software Foundation, either version 3 of the License, or
4645 (at your option) any later version.
4646
4647 This program is distributed in the hope that it will be useful,
4648 but WITHOUT ANY WARRANTY; without even the implied warranty of
4649 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4650 GNU General Public License for more details.
4651
4652 You should have received a copy of the GNU General Public License
4653 along with this program. If not, see <http://www.gnu.org/licenses/>.
4654
4655Also add information on how to contact you by electronic and paper mail.
4656
4657 If the program does terminal interaction, make it output a short
4658notice like this when it starts in an interactive mode:
4659
4660 <program> Copyright (C) <year> <name of author>
4661 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
4662 This is free software, and you are welcome to redistribute it
4663 under certain conditions; type `show c' for details.
4664
4665The hypothetical commands `show w' and `show c' should show the appropriate
4666parts of the General Public License. Of course, your program's commands
4667might be different; for a GUI interface, you would use an "about box".
4668
4669 You should also get your employer (if you work as a programmer) or school,
4670if any, to sign a "copyright disclaimer" for the program, if necessary.
4671For more information on this, and how to apply and follow the GNU GPL, see
4672<http://www.gnu.org/licenses/>.
4673
4674 The GNU General Public License does not permit incorporating your program
4675into proprietary programs. If your program is a subroutine library, you
4676may consider it more useful to permit linking proprietary applications with
4677the library. If this is what you want to do, use the GNU Lesser General
4678Public License instead of this License. But first, please read
4679<http://www.gnu.org/philosophy/why-not-lgpl.html>.
4680 GNU GENERAL PUBLIC LICENSE
4681 Version 3, 29 June 2007
4682
4683 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4684 Everyone is permitted to copy and distribute verbatim copies
4685 of this license document, but changing it is not allowed.
4686
4687 Preamble
4688
4689 The GNU General Public License is a free, copyleft license for
4690software and other kinds of works.
4691
4692 The licenses for most software and other practical works are designed
4693to take away your freedom to share and change the works. By contrast,
4694the GNU General Public License is intended to guarantee your freedom to
4695share and change all versions of a program--to make sure it remains free
4696software for all its users. We, the Free Software Foundation, use the
4697GNU General Public License for most of our software; it applies also to
4698any other work released this way by its authors. You can apply it to
4699your programs, too.
4700
4701 When we speak of free software, we are referring to freedom, not
4702price. Our General Public Licenses are designed to make sure that you
4703have the freedom to distribute copies of free software (and charge for
4704them if you wish), that you receive source code or can get it if you
4705want it, that you can change the software or use pieces of it in new
4706free programs, and that you know you can do these things.
4707
4708 To protect your rights, we need to prevent others from denying you
4709these rights or asking you to surrender the rights. Therefore, you have
4710certain responsibilities if you distribute copies of the software, or if
4711you modify it: responsibilities to respect the freedom of others.
4712
4713 For example, if you distribute copies of such a program, whether
4714gratis or for a fee, you must pass on to the recipients the same
4715freedoms that you received. You must make sure that they, too, receive
4716or can get the source code. And you must show them these terms so they
4717know their rights.
4718
4719 Developers that use the GNU GPL protect your rights with two steps:
4720(1) assert copyright on the software, and (2) offer you this License
4721giving you legal permission to copy, distribute and/or modify it.
4722
4723 For the developers' and authors' protection, the GPL clearly explains
4724that there is no warranty for this free software. For both users' and
4725authors' sake, the GPL requires that modified versions be marked as
4726changed, so that their problems will not be attributed erroneously to
4727authors of previous versions.
4728
4729 Some devices are designed to deny users access to install or run
4730modified versions of the software inside them, although the manufacturer
4731can do so. This is fundamentally incompatible with the aim of
4732protecting users' freedom to change the software. The systematic
4733pattern of such abuse occurs in the area of products for individuals to
4734use, which is precisely where it is most unacceptable. Therefore, we
4735have designed this version of the GPL to prohibit the practice for those
4736products. If such problems arise substantially in other domains, we
4737stand ready to extend this provision to those domains in future versions
4738of the GPL, as needed to protect the freedom of users.
4739
4740 Finally, every program is threatened constantly by software patents.
4741States should not allow patents to restrict development and use of
4742software on general-purpose computers, but in those that do, we wish to
4743avoid the special danger that patents applied to a free program could
4744make it effectively proprietary. To prevent this, the GPL assures that
4745patents cannot be used to render the program non-free.
4746
4747 The precise terms and conditions for copying, distribution and
4748modification follow.
4749
4750 TERMS AND CONDITIONS
4751
4752 0. Definitions.
4753
4754 "This License" refers to version 3 of the GNU General Public License.
4755
4756 "Copyright" also means copyright-like laws that apply to other kinds of
4757works, such as semiconductor masks.
4758
4759 "The Program" refers to any copyrightable work licensed under this
4760License. Each licensee is addressed as "you". "Licensees" and
4761"recipients" may be individuals or organizations.
4762
4763 To "modify" a work means to copy from or adapt all or part of the work
4764in a fashion requiring copyright permission, other than the making of an
4765exact copy. The resulting work is called a "modified version" of the
4766earlier work or a work "based on" the earlier work.
4767
4768 A "covered work" means either the unmodified Program or a work based
4769on the Program.
4770
4771 To "propagate" a work means to do anything with it that, without
4772permission, would make you directly or secondarily liable for
4773infringement under applicable copyright law, except executing it on a
4774computer or modifying a private copy. Propagation includes copying,
4775distribution (with or without modification), making available to the
4776public, and in some countries other activities as well.
4777
4778 To "convey" a work means any kind of propagation that enables other
4779parties to make or receive copies. Mere interaction with a user through
4780a computer network, with no transfer of a copy, is not conveying.
4781
4782 An interactive user interface displays "Appropriate Legal Notices"
4783to the extent that it includes a convenient and prominently visible
4784feature that (1) displays an appropriate copyright notice, and (2)
4785tells the user that there is no warranty for the work (except to the
4786extent that warranties are provided), that licensees may convey the
4787work under this License, and how to view a copy of this License. If
4788the interface presents a list of user commands or options, such as a
4789menu, a prominent item in the list meets this criterion.
4790
4791 1. Source Code.
4792
4793 The "source code" for a work means the preferred form of the work
4794for making modifications to it. "Object code" means any non-source
4795form of a work.
4796
4797 A "Standard Interface" means an interface that either is an official
4798standard defined by a recognized standards body, or, in the case of
4799interfaces specified for a particular programming language, one that
4800is widely used among developers working in that language.
4801
4802 The "System Libraries" of an executable work include anything, other
4803than the work as a whole, that (a) is included in the normal form of
4804packaging a Major Component, but which is not part of that Major
4805Component, and (b) serves only to enable use of the work with that
4806Major Component, or to implement a Standard Interface for which an
4807implementation is available to the public in source code form. A
4808"Major Component", in this context, means a major essential component
4809(kernel, window system, and so on) of the specific operating system
4810(if any) on which the executable work runs, or a compiler used to
4811produce the work, or an object code interpreter used to run it.
4812
4813 The "Corresponding Source" for a work in object code form means all
4814the source code needed to generate, install, and (for an executable
4815work) run the object code and to modify the work, including scripts to
4816control those activities. However, it does not include the work's
4817System Libraries, or general-purpose tools or generally available free
4818programs which are used unmodified in performing those activities but
4819which are not part of the work. For example, Corresponding Source
4820includes interface definition files associated with source files for
4821the work, and the source code for shared libraries and dynamically
4822linked subprograms that the work is specifically designed to require,
4823such as by intimate data communication or control flow between those
4824subprograms and other parts of the work.
4825
4826 The Corresponding Source need not include anything that users
4827can regenerate automatically from other parts of the Corresponding
4828Source.
4829
4830 The Corresponding Source for a work in source code form is that
4831same work.
4832
4833 2. Basic Permissions.
4834
4835 All rights granted under this License are granted for the term of
4836copyright on the Program, and are irrevocable provided the stated
4837conditions are met. This License explicitly affirms your unlimited
4838permission to run the unmodified Program. The output from running a
4839covered work is covered by this License only if the output, given its
4840content, constitutes a covered work. This License acknowledges your
4841rights of fair use or other equivalent, as provided by copyright law.
4842
4843 You may make, run and propagate covered works that you do not
4844convey, without conditions so long as your license otherwise remains
4845in force. You may convey covered works to others for the sole purpose
4846of having them make modifications exclusively for you, or provide you
4847with facilities for running those works, provided that you comply with
4848the terms of this License in conveying all material for which you do
4849not control copyright. Those thus making or running the covered works
4850for you must do so exclusively on your behalf, under your direction
4851and control, on terms that prohibit them from making any copies of
4852your copyrighted material outside their relationship with you.
4853
4854 Conveying under any other circumstances is permitted solely under
4855the conditions stated below. Sublicensing is not allowed; section 10
4856makes it unnecessary.
4857
4858 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
4859
4860 No covered work shall be deemed part of an effective technological
4861measure under any applicable law fulfilling obligations under article
486211 of the WIPO copyright treaty adopted on 20 December 1996, or
4863similar laws prohibiting or restricting circumvention of such
4864measures.
4865
4866 When you convey a covered work, you waive any legal power to forbid
4867circumvention of technological measures to the extent such circumvention
4868is effected by exercising rights under this License with respect to
4869the covered work, and you disclaim any intention to limit operation or
4870modification of the work as a means of enforcing, against the work's
4871users, your or third parties' legal rights to forbid circumvention of
4872technological measures.
4873
4874 4. Conveying Verbatim Copies.
4875
4876 You may convey verbatim copies of the Program's source code as you
4877receive it, in any medium, provided that you conspicuously and
4878appropriately publish on each copy an appropriate copyright notice;
4879keep intact all notices stating that this License and any
4880non-permissive terms added in accord with section 7 apply to the code;
4881keep intact all notices of the absence of any warranty; and give all
4882recipients a copy of this License along with the Program.
4883
4884 You may charge any price or no price for each copy that you convey,
4885and you may offer support or warranty protection for a fee.
4886
4887 5. Conveying Modified Source Versions.
4888
4889 You may convey a work based on the Program, or the modifications to
4890produce it from the Program, in the form of source code under the
4891terms of section 4, provided that you also meet all of these conditions:
4892
4893 a) The work must carry prominent notices stating that you modified
4894 it, and giving a relevant date.
4895
4896 b) The work must carry prominent notices stating that it is
4897 released under this License and any conditions added under section
4898 7. This requirement modifies the requirement in section 4 to
4899 "keep intact all notices".
4900
4901 c) You must license the entire work, as a whole, under this
4902 License to anyone who comes into possession of a copy. This
4903 License will therefore apply, along with any applicable section 7
4904 additional terms, to the whole of the work, and all its parts,
4905 regardless of how they are packaged. This License gives no
4906 permission to license the work in any other way, but it does not
4907 invalidate such permission if you have separately received it.
4908
4909 d) If the work has interactive user interfaces, each must display
4910 Appropriate Legal Notices; however, if the Program has interactive
4911 interfaces that do not display Appropriate Legal Notices, your
4912 work need not make them do so.
4913
4914 A compilation of a covered work with other separate and independent
4915works, which are not by their nature extensions of the covered work,
4916and which are not combined with it such as to form a larger program,
4917in or on a volume of a storage or distribution medium, is called an
4918"aggregate" if the compilation and its resulting copyright are not
4919used to limit the access or legal rights of the compilation's users
4920beyond what the individual works permit. Inclusion of a covered work
4921in an aggregate does not cause this License to apply to the other
4922parts of the aggregate.
4923
4924 6. Conveying Non-Source Forms.
4925
4926 You may convey a covered work in object code form under the terms
4927of sections 4 and 5, provided that you also convey the
4928machine-readable Corresponding Source under the terms of this License,
4929in one of these ways:
4930
4931 a) Convey the object code in, or embodied in, a physical product
4932 (including a physical distribution medium), accompanied by the
4933 Corresponding Source fixed on a durable physical medium
4934 customarily used for software interchange.
4935
4936 b) Convey the object code in, or embodied in, a physical product
4937 (including a physical distribution medium), accompanied by a
4938 written offer, valid for at least three years and valid for as
4939 long as you offer spare parts or customer support for that product
4940 model, to give anyone who possesses the object code either (1) a
4941 copy of the Corresponding Source for all the software in the
4942 product that is covered by this License, on a durable physical
4943 medium customarily used for software interchange, for a price no
4944 more than your reasonable cost of physically performing this
4945 conveying of source, or (2) access to copy the
4946 Corresponding Source from a network server at no charge.
4947
4948 c) Convey individual copies of the object code with a copy of the
4949 written offer to provide the Corresponding Source. This
4950 alternative is allowed only occasionally and noncommercially, and
4951 only if you received the object code with such an offer, in accord
4952 with subsection 6b.
4953
4954 d) Convey the object code by offering access from a designated
4955 place (gratis or for a charge), and offer equivalent access to the
4956 Corresponding Source in the same way through the same place at no
4957 further charge. You need not require recipients to copy the
4958 Corresponding Source along with the object code. If the place to
4959 copy the object code is a network server, the Corresponding Source
4960 may be on a different server (operated by you or a third party)
4961 that supports equivalent copying facilities, provided you maintain
4962 clear directions next to the object code saying where to find the
4963 Corresponding Source. Regardless of what server hosts the
4964 Corresponding Source, you remain obligated to ensure that it is
4965 available for as long as needed to satisfy these requirements.
4966
4967 e) Convey the object code using peer-to-peer transmission, provided
4968 you inform other peers where the object code and Corresponding
4969 Source of the work are being offered to the general public at no
4970 charge under subsection 6d.
4971
4972 A separable portion of the object code, whose source code is excluded
4973from the Corresponding Source as a System Library, need not be
4974included in conveying the object code work.
4975
4976 A "User Product" is either (1) a "consumer product", which means any
4977tangible personal property which is normally used for personal, family,
4978or household purposes, or (2) anything designed or sold for incorporation
4979into a dwelling. In determining whether a product is a consumer product,
4980doubtful cases shall be resolved in favor of coverage. For a particular
4981product received by a particular user, "normally used" refers to a
4982typical or common use of that class of product, regardless of the status
4983of the particular user or of the way in which the particular user
4984actually uses, or expects or is expected to use, the product. A product
4985is a consumer product regardless of whether the product has substantial
4986commercial, industrial or non-consumer uses, unless such uses represent
4987the only significant mode of use of the product.
4988
4989 "Installation Information" for a User Product means any methods,
4990procedures, authorization keys, or other information required to install
4991and execute modified versions of a covered work in that User Product from
4992a modified version of its Corresponding Source. The information must
4993suffice to ensure that the continued functioning of the modified object
4994code is in no case prevented or interfered with solely because
4995modification has been made.
4996
4997 If you convey an object code work under this section in, or with, or
4998specifically for use in, a User Product, and the conveying occurs as
4999part of a transaction in which the right of possession and use of the
5000User Product is transferred to the recipient in perpetuity or for a
5001fixed term (regardless of how the transaction is characterized), the
5002Corresponding Source conveyed under this section must be accompanied
5003by the Installation Information. But this requirement does not apply
5004if neither you nor any third party retains the ability to install
5005modified object code on the User Product (for example, the work has
5006been installed in ROM).
5007
5008 The requirement to provide Installation Information does not include a
5009requirement to continue to provide support service, warranty, or updates
5010for a work that has been modified or installed by the recipient, or for
5011the User Product in which it has been modified or installed. Access to a
5012network may be denied when the modification itself materially and
5013adversely affects the operation of the network or violates the rules and
5014protocols for communication across the network.
5015
5016 Corresponding Source conveyed, and Installation Information provided,
5017in accord with this section must be in a format that is publicly
5018documented (and with an implementation available to the public in
5019source code form), and must require no special password or key for
5020unpacking, reading or copying.
5021
5022 7. Additional Terms.
5023
5024 "Additional permissions" are terms that supplement the terms of this
5025License by making exceptions from one or more of its conditions.
5026Additional permissions that are applicable to the entire Program shall
5027be treated as though they were included in this License, to the extent
5028that they are valid under applicable law. If additional permissions
5029apply only to part of the Program, that part may be used separately
5030under those permissions, but the entire Program remains governed by
5031this License without regard to the additional permissions.
5032
5033 When you convey a copy of a covered work, you may at your option
5034remove any additional permissions from that copy, or from any part of
5035it. (Additional permissions may be written to require their own
5036removal in certain cases when you modify the work.) You may place
5037additional permissions on material, added by you to a covered work,
5038for which you have or can give appropriate copyright permission.
5039
5040 Notwithstanding any other provision of this License, for material you
5041add to a covered work, you may (if authorized by the copyright holders of
5042that material) supplement the terms of this License with terms:
5043
5044 a) Disclaiming warranty or limiting liability differently from the
5045 terms of sections 15 and 16 of this License; or
5046
5047 b) Requiring preservation of specified reasonable legal notices or
5048 author attributions in that material or in the Appropriate Legal
5049 Notices displayed by works containing it; or
5050
5051 c) Prohibiting misrepresentation of the origin of that material, or
5052 requiring that modified versions of such material be marked in
5053 reasonable ways as different from the original version; or
5054
5055 d) Limiting the use for publicity purposes of names of licensors or
5056 authors of the material; or
5057
5058 e) Declining to grant rights under trademark law for use of some
5059 trade names, trademarks, or service marks; or
5060
5061 f) Requiring indemnification of licensors and authors of that
5062 material by anyone who conveys the material (or modified versions of
5063 it) with contractual assumptions of liability to the recipient, for
5064 any liability that these contractual assumptions directly impose on
5065 those licensors and authors.
5066
5067 All other non-permissive additional terms are considered "further
5068restrictions" within the meaning of section 10. If the Program as you
5069received it, or any part of it, contains a notice stating that it is
5070governed by this License along with a term that is a further
5071restriction, you may remove that term. If a license document contains
5072a further restriction but permits relicensing or conveying under this
5073License, you may add to a covered work material governed by the terms
5074of that license document, provided that the further restriction does
5075not survive such relicensing or conveying.
5076
5077 If you add terms to a covered work in accord with this section, you
5078must place, in the relevant source files, a statement of the
5079additional terms that apply to those files, or a notice indicating
5080where to find the applicable terms.
5081
5082 Additional terms, permissive or non-permissive, may be stated in the
5083form of a separately written license, or stated as exceptions;
5084the above requirements apply either way.
5085
5086 8. Termination.
5087
5088 You may not propagate or modify a covered work except as expressly
5089provided under this License. Any attempt otherwise to propagate or
5090modify it is void, and will automatically terminate your rights under
5091this License (including any patent licenses granted under the third
5092paragraph of section 11).
5093
5094 However, if you cease all violation of this License, then your
5095license from a particular copyright holder is reinstated (a)
5096provisionally, unless and until the copyright holder explicitly and
5097finally terminates your license, and (b) permanently, if the copyright
5098holder fails to notify you of the violation by some reasonable means
5099prior to 60 days after the cessation.
5100
5101 Moreover, your license from a particular copyright holder is
5102reinstated permanently if the copyright holder notifies you of the
5103violation by some reasonable means, this is the first time you have
5104received notice of violation of this License (for any work) from that
5105copyright holder, and you cure the violation prior to 30 days after
5106your receipt of the notice.
5107
5108 Termination of your rights under this section does not terminate the
5109licenses of parties who have received copies or rights from you under
5110this License. If your rights have been terminated and not permanently
5111reinstated, you do not qualify to receive new licenses for the same
5112material under section 10.
5113
5114 9. Acceptance Not Required for Having Copies.
5115
5116 You are not required to accept this License in order to receive or
5117run a copy of the Program. Ancillary propagation of a covered work
5118occurring solely as a consequence of using peer-to-peer transmission
5119to receive a copy likewise does not require acceptance. However,
5120nothing other than this License grants you permission to propagate or
5121modify any covered work. These actions infringe copyright if you do
5122not accept this License. Therefore, by modifying or propagating a
5123covered work, you indicate your acceptance of this License to do so.
5124
5125 10. Automatic Licensing of Downstream Recipients.
5126
5127 Each time you convey a covered work, the recipient automatically
5128receives a license from the original licensors, to run, modify and
5129propagate that work, subject to this License. You are not responsible
5130for enforcing compliance by third parties with this License.
5131
5132 An "entity transaction" is a transaction transferring control of an
5133organization, or substantially all assets of one, or subdividing an
5134organization, or merging organizations. If propagation of a covered
5135work results from an entity transaction, each party to that
5136transaction who receives a copy of the work also receives whatever
5137licenses to the work the party's predecessor in interest had or could
5138give under the previous paragraph, plus a right to possession of the
5139Corresponding Source of the work from the predecessor in interest, if
5140the predecessor has it or can get it with reasonable efforts.
5141
5142 You may not impose any further restrictions on the exercise of the
5143rights granted or affirmed under this License. For example, you may
5144not impose a license fee, royalty, or other charge for exercise of
5145rights granted under this License, and you may not initiate litigation
5146(including a cross-claim or counterclaim in a lawsuit) alleging that
5147any patent claim is infringed by making, using, selling, offering for
5148sale, or importing the Program or any portion of it.
5149
5150 11. Patents.
5151
5152 A "contributor" is a copyright holder who authorizes use under this
5153License of the Program or a work on which the Program is based. The
5154work thus licensed is called the contributor's "contributor version".
5155
5156 A contributor's "essential patent claims" are all patent claims
5157owned or controlled by the contributor, whether already acquired or
5158hereafter acquired, that would be infringed by some manner, permitted
5159by this License, of making, using, or selling its contributor version,
5160but do not include claims that would be infringed only as a
5161consequence of further modification of the contributor version. For
5162purposes of this definition, "control" includes the right to grant
5163patent sublicenses in a manner consistent with the requirements of
5164this License.
5165
5166 Each contributor grants you a non-exclusive, worldwide, royalty-free
5167patent license under the contributor's essential patent claims, to
5168make, use, sell, offer for sale, import and otherwise run, modify and
5169propagate the contents of its contributor version.
5170
5171 In the following three paragraphs, a "patent license" is any express
5172agreement or commitment, however denominated, not to enforce a patent
5173(such as an express permission to practice a patent or covenant not to
5174sue for patent infringement). To "grant" such a patent license to a
5175party means to make such an agreement or commitment not to enforce a
5176patent against the party.
5177
5178 If you convey a covered work, knowingly relying on a patent license,
5179and the Corresponding Source of the work is not available for anyone
5180to copy, free of charge and under the terms of this License, through a
5181publicly available network server or other readily accessible means,
5182then you must either (1) cause the Corresponding Source to be so
5183available, or (2) arrange to deprive yourself of the benefit of the
5184patent license for this particular work, or (3) arrange, in a manner
5185consistent with the requirements of this License, to extend the patent
5186license to downstream recipients. "Knowingly relying" means you have
5187actual knowledge that, but for the patent license, your conveying the
5188covered work in a country, or your recipient's use of the covered work
5189in a country, would infringe one or more identifiable patents in that
5190country that you have reason to believe are valid.
5191
5192 If, pursuant to or in connection with a single transaction or
5193arrangement, you convey, or propagate by procuring conveyance of, a
5194covered work, and grant a patent license to some of the parties
5195receiving the covered work authorizing them to use, propagate, modify
5196or convey a specific copy of the covered work, then the patent license
5197you grant is automatically extended to all recipients of the covered
5198work and works based on it.
5199
5200 A patent license is "discriminatory" if it does not include within
5201the scope of its coverage, prohibits the exercise of, or is
5202conditioned on the non-exercise of one or more of the rights that are
5203specifically granted under this License. You may not convey a covered
5204work if you are a party to an arrangement with a third party that is
5205in the business of distributing software, under which you make payment
5206to the third party based on the extent of your activity of conveying
5207the work, and under which the third party grants, to any of the
5208parties who would receive the covered work from you, a discriminatory
5209patent license (a) in connection with copies of the covered work
5210conveyed by you (or copies made from those copies), or (b) primarily
5211for and in connection with specific products or compilations that
5212contain the covered work, unless you entered into that arrangement,
5213or that patent license was granted, prior to 28 March 2007.
5214
5215 Nothing in this License shall be construed as excluding or limiting
5216any implied license or other defenses to infringement that may
5217otherwise be available to you under applicable patent law.
5218
5219 12. No Surrender of Others' Freedom.
5220
5221 If conditions are imposed on you (whether by court order, agreement or
5222otherwise) that contradict the conditions of this License, they do not
5223excuse you from the conditions of this License. If you cannot convey a
5224covered work so as to satisfy simultaneously your obligations under this
5225License and any other pertinent obligations, then as a consequence you may
5226not convey it at all. For example, if you agree to terms that obligate you
5227to collect a royalty for further conveying from those to whom you convey
5228the Program, the only way you could satisfy both those terms and this
5229License would be to refrain entirely from conveying the Program.
5230
5231 13. Use with the GNU Affero General Public License.
5232
5233 Notwithstanding any other provision of this License, you have
5234permission to link or combine any covered work with a work licensed
5235under version 3 of the GNU Affero General Public License into a single
5236combined work, and to convey the resulting work. The terms of this
5237License will continue to apply to the part which is the covered work,
5238but the special requirements of the GNU Affero General Public License,
5239section 13, concerning interaction through a network will apply to the
5240combination as such.
5241
5242 14. Revised Versions of this License.
5243
5244 The Free Software Foundation may publish revised and/or new versions of
5245the GNU General Public License from time to time. Such new versions will
5246be similar in spirit to the present version, but may differ in detail to
5247address new problems or concerns.
5248
5249 Each version is given a distinguishing version number. If the
5250Program specifies that a certain numbered version of the GNU General
5251Public License "or any later version" applies to it, you have the
5252option of following the terms and conditions either of that numbered
5253version or of any later version published by the Free Software
5254Foundation. If the Program does not specify a version number of the
5255GNU General Public License, you may choose any version ever published
5256by the Free Software Foundation.
5257
5258 If the Program specifies that a proxy can decide which future
5259versions of the GNU General Public License can be used, that proxy's
5260public statement of acceptance of a version permanently authorizes you
5261to choose that version for the Program.
5262
5263 Later license versions may give you additional or different
5264permissions. However, no additional obligations are imposed on any
5265author or copyright holder as a result of your choosing to follow a
5266later version.
5267
5268 15. Disclaimer of Warranty.
5269
5270 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
5271APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
5272HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
5273OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
5274THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
5275PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
5276IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
5277ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
5278
5279 16. Limitation of Liability.
5280
5281 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
5282WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
5283THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
5284GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
5285USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
5286DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
5287PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
5288EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
5289SUCH DAMAGES.
5290
5291 17. Interpretation of Sections 15 and 16.
5292
5293 If the disclaimer of warranty and limitation of liability provided
5294above cannot be given local legal effect according to their terms,
5295reviewing courts shall apply local law that most closely approximates
5296an absolute waiver of all civil liability in connection with the
5297Program, unless a warranty or assumption of liability accompanies a
5298copy of the Program in return for a fee.
5299
5300 END OF TERMS AND CONDITIONS
5301
5302 How to Apply These Terms to Your New Programs
5303
5304 If you develop a new program, and you want it to be of the greatest
5305possible use to the public, the best way to achieve this is to make it
5306free software which everyone can redistribute and change under these terms.
5307
5308 To do so, attach the following notices to the program. It is safest
5309to attach them to the start of each source file to most effectively
5310state the exclusion of warranty; and each file should have at least
5311the "copyright" line and a pointer to where the full notice is found.
5312
5313 <one line to give the program's name and a brief idea of what it does.>
5314 Copyright (C) <year> <name of author>
5315
5316 This program is free software: you can redistribute it and/or modify
5317 it under the terms of the GNU General Public License as published by
5318 the Free Software Foundation, either version 3 of the License, or
5319 (at your option) any later version.
5320
5321 This program is distributed in the hope that it will be useful,
5322 but WITHOUT ANY WARRANTY; without even the implied warranty of
5323 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5324 GNU General Public License for more details.
5325
5326 You should have received a copy of the GNU General Public License
5327 along with this program. If not, see <http://www.gnu.org/licenses/>.
5328
5329Also add information on how to contact you by electronic and paper mail.
5330
5331 If the program does terminal interaction, make it output a short
5332notice like this when it starts in an interactive mode:
5333
5334 <program> Copyright (C) <year> <name of author>
5335 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
5336 This is free software, and you are welcome to redistribute it
5337 under certain conditions; type `show c' for details.
5338
5339The hypothetical commands `show w' and `show c' should show the appropriate
5340parts of the General Public License. Of course, your program's commands
5341might be different; for a GUI interface, you would use an "about box".
5342
5343 You should also get your employer (if you work as a programmer) or school,
5344if any, to sign a "copyright disclaimer" for the program, if necessary.
5345For more information on this, and how to apply and follow the GNU GPL, see
5346<http://www.gnu.org/licenses/>.
5347
5348 The GNU General Public License does not permit incorporating your program
5349into proprietary programs. If your program is a subroutine library, you
5350may consider it more useful to permit linking proprietary applications with
5351the library. If this is what you want to do, use the GNU Lesser General
5352Public License instead of this License. But first, please read
5353<http://www.gnu.org/philosophy/why-not-lgpl.html>.
5354 GNU LIBRARY GENERAL PUBLIC LICENSE
5355 Version 2, June 1991
5356
5357 Copyright (C) 1991 Free Software Foundation, Inc.
5358 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
5359 Everyone is permitted to copy and distribute verbatim copies
5360 of this license document, but changing it is not allowed.
5361
5362[This is the first released version of the library GPL. It is
5363 numbered 2 because it goes with version 2 of the ordinary GPL.]
5364
5365 Preamble
5366
5367 The licenses for most software are designed to take away your
5368freedom to share and change it. By contrast, the GNU General Public
5369Licenses are intended to guarantee your freedom to share and change
5370free software--to make sure the software is free for all its users.
5371
5372 This license, the Library General Public License, applies to some
5373specially designated Free Software Foundation software, and to any
5374other libraries whose authors decide to use it. You can use it for
5375your libraries, too.
5376
5377 When we speak of free software, we are referring to freedom, not
5378price. Our General Public Licenses are designed to make sure that you
5379have the freedom to distribute copies of free software (and charge for
5380this service if you wish), that you receive source code or can get it
5381if you want it, that you can change the software or use pieces of it
5382in new free programs; and that you know you can do these things.
5383
5384 To protect your rights, we need to make restrictions that forbid
5385anyone to deny you these rights or to ask you to surrender the rights.
5386These restrictions translate to certain responsibilities for you if
5387you distribute copies of the library, or if you modify it.
5388
5389 For example, if you distribute copies of the library, whether gratis
5390or for a fee, you must give the recipients all the rights that we gave
5391you. You must make sure that they, too, receive or can get the source
5392code. If you link a program with the library, you must provide
5393complete object files to the recipients so that they can relink them
5394with the library, after making changes to the library and recompiling
5395it. And you must show them these terms so they know their rights.
5396
5397 Our method of protecting your rights has two steps: (1) copyright
5398the library, and (2) offer you this license which gives you legal
5399permission to copy, distribute and/or modify the library.
5400
5401 Also, for each distributor's protection, we want to make certain
5402that everyone understands that there is no warranty for this free
5403library. If the library is modified by someone else and passed on, we
5404want its recipients to know that what they have is not the original
5405version, so that any problems introduced by others will not reflect on
5406the original authors' reputations.
5407
5408 Finally, any free program is threatened constantly by software
5409patents. We wish to avoid the danger that companies distributing free
5410software will individually obtain patent licenses, thus in effect
5411transforming the program into proprietary software. To prevent this,
5412we have made it clear that any patent must be licensed for everyone's
5413free use or not licensed at all.
5414
5415 Most GNU software, including some libraries, is covered by the ordinary
5416GNU General Public License, which was designed for utility programs. This
5417license, the GNU Library General Public License, applies to certain
5418designated libraries. This license is quite different from the ordinary
5419one; be sure to read it in full, and don't assume that anything in it is
5420the same as in the ordinary license.
5421
5422 The reason we have a separate public license for some libraries is that
5423they blur the distinction we usually make between modifying or adding to a
5424program and simply using it. Linking a program with a library, without
5425changing the library, is in some sense simply using the library, and is
5426analogous to running a utility program or application program. However, in
5427a textual and legal sense, the linked executable is a combined work, a
5428derivative of the original library, and the ordinary General Public License
5429treats it as such.
5430
5431 Because of this blurred distinction, using the ordinary General
5432Public License for libraries did not effectively promote software
5433sharing, because most developers did not use the libraries. We
5434concluded that weaker conditions might promote sharing better.
5435
5436 However, unrestricted linking of non-free programs would deprive the
5437users of those programs of all benefit from the free status of the
5438libraries themselves. This Library General Public License is intended to
5439permit developers of non-free programs to use free libraries, while
5440preserving your freedom as a user of such programs to change the free
5441libraries that are incorporated in them. (We have not seen how to achieve
5442this as regards changes in header files, but we have achieved it as regards
5443changes in the actual functions of the Library.) The hope is that this
5444will lead to faster development of free libraries.
5445
5446 The precise terms and conditions for copying, distribution and
5447modification follow. Pay close attention to the difference between a
5448"work based on the library" and a "work that uses the library". The
5449former contains code derived from the library, while the latter only
5450works together with the library.
5451
5452 Note that it is possible for a library to be covered by the ordinary
5453General Public License rather than by this special one.
5454
5455 GNU LIBRARY GENERAL PUBLIC LICENSE
5456 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
5457
5458 0. This License Agreement applies to any software library which
5459contains a notice placed by the copyright holder or other authorized
5460party saying it may be distributed under the terms of this Library
5461General Public License (also called "this License"). Each licensee is
5462addressed as "you".
5463
5464 A "library" means a collection of software functions and/or data
5465prepared so as to be conveniently linked with application programs
5466(which use some of those functions and data) to form executables.
5467
5468 The "Library", below, refers to any such software library or work
5469which has been distributed under these terms. A "work based on the
5470Library" means either the Library or any derivative work under
5471copyright law: that is to say, a work containing the Library or a
5472portion of it, either verbatim or with modifications and/or translated
5473straightforwardly into another language. (Hereinafter, translation is
5474included without limitation in the term "modification".)
5475
5476 "Source code" for a work means the preferred form of the work for
5477making modifications to it. For a library, complete source code means
5478all the source code for all modules it contains, plus any associated
5479interface definition files, plus the scripts used to control compilation
5480and installation of the library.
5481
5482 Activities other than copying, distribution and modification are not
5483covered by this License; they are outside its scope. The act of
5484running a program using the Library is not restricted, and output from
5485such a program is covered only if its contents constitute a work based
5486on the Library (independent of the use of the Library in a tool for
5487writing it). Whether that is true depends on what the Library does
5488and what the program that uses the Library does.
5489
5490 1. You may copy and distribute verbatim copies of the Library's
5491complete source code as you receive it, in any medium, provided that
5492you conspicuously and appropriately publish on each copy an
5493appropriate copyright notice and disclaimer of warranty; keep intact
5494all the notices that refer to this License and to the absence of any
5495warranty; and distribute a copy of this License along with the
5496Library.
5497
5498 You may charge a fee for the physical act of transferring a copy,
5499and you may at your option offer warranty protection in exchange for a
5500fee.
5501
5502 2. You may modify your copy or copies of the Library or any portion
5503of it, thus forming a work based on the Library, and copy and
5504distribute such modifications or work under the terms of Section 1
5505above, provided that you also meet all of these conditions:
5506
5507 a) The modified work must itself be a software library.
5508
5509 b) You must cause the files modified to carry prominent notices
5510 stating that you changed the files and the date of any change.
5511
5512 c) You must cause the whole of the work to be licensed at no
5513 charge to all third parties under the terms of this License.
5514
5515 d) If a facility in the modified Library refers to a function or a
5516 table of data to be supplied by an application program that uses
5517 the facility, other than as an argument passed when the facility
5518 is invoked, then you must make a good faith effort to ensure that,
5519 in the event an application does not supply such function or
5520 table, the facility still operates, and performs whatever part of
5521 its purpose remains meaningful.
5522
5523 (For example, a function in a library to compute square roots has
5524 a purpose that is entirely well-defined independent of the
5525 application. Therefore, Subsection 2d requires that any
5526 application-supplied function or table used by this function must
5527 be optional: if the application does not supply it, the square
5528 root function must still compute square roots.)
5529
5530These requirements apply to the modified work as a whole. If
5531identifiable sections of that work are not derived from the Library,
5532and can be reasonably considered independent and separate works in
5533themselves, then this License, and its terms, do not apply to those
5534sections when you distribute them as separate works. But when you
5535distribute the same sections as part of a whole which is a work based
5536on the Library, the distribution of the whole must be on the terms of
5537this License, whose permissions for other licensees extend to the
5538entire whole, and thus to each and every part regardless of who wrote
5539it.
5540
5541Thus, it is not the intent of this section to claim rights or contest
5542your rights to work written entirely by you; rather, the intent is to
5543exercise the right to control the distribution of derivative or
5544collective works based on the Library.
5545
5546In addition, mere aggregation of another work not based on the Library
5547with the Library (or with a work based on the Library) on a volume of
5548a storage or distribution medium does not bring the other work under
5549the scope of this License.
5550
5551 3. You may opt to apply the terms of the ordinary GNU General Public
5552License instead of this License to a given copy of the Library. To do
5553this, you must alter all the notices that refer to this License, so
5554that they refer to the ordinary GNU General Public License, version 2,
5555instead of to this License. (If a newer version than version 2 of the
5556ordinary GNU General Public License has appeared, then you can specify
5557that version instead if you wish.) Do not make any other change in
5558these notices.
5559
5560 Once this change is made in a given copy, it is irreversible for
5561that copy, so the ordinary GNU General Public License applies to all
5562subsequent copies and derivative works made from that copy.
5563
5564 This option is useful when you wish to copy part of the code of
5565the Library into a program that is not a library.
5566
5567 4. You may copy and distribute the Library (or a portion or
5568derivative of it, under Section 2) in object code or executable form
5569under the terms of Sections 1 and 2 above provided that you accompany
5570it with the complete corresponding machine-readable source code, which
5571must be distributed under the terms of Sections 1 and 2 above on a
5572medium customarily used for software interchange.
5573
5574 If distribution of object code is made by offering access to copy
5575from a designated place, then offering equivalent access to copy the
5576source code from the same place satisfies the requirement to
5577distribute the source code, even though third parties are not
5578compelled to copy the source along with the object code.
5579
5580 5. A program that contains no derivative of any portion of the
5581Library, but is designed to work with the Library by being compiled or
5582linked with it, is called a "work that uses the Library". Such a
5583work, in isolation, is not a derivative work of the Library, and
5584therefore falls outside the scope of this License.
5585
5586 However, linking a "work that uses the Library" with the Library
5587creates an executable that is a derivative of the Library (because it
5588contains portions of the Library), rather than a "work that uses the
5589library". The executable is therefore covered by this License.
5590Section 6 states terms for distribution of such executables.
5591
5592 When a "work that uses the Library" uses material from a header file
5593that is part of the Library, the object code for the work may be a
5594derivative work of the Library even though the source code is not.
5595Whether this is true is especially significant if the work can be
5596linked without the Library, or if the work is itself a library. The
5597threshold for this to be true is not precisely defined by law.
5598
5599 If such an object file uses only numerical parameters, data
5600structure layouts and accessors, and small macros and small inline
5601functions (ten lines or less in length), then the use of the object
5602file is unrestricted, regardless of whether it is legally a derivative
5603work. (Executables containing this object code plus portions of the
5604Library will still fall under Section 6.)
5605
5606 Otherwise, if the work is a derivative of the Library, you may
5607distribute the object code for the work under the terms of Section 6.
5608Any executables containing that work also fall under Section 6,
5609whether or not they are linked directly with the Library itself.
5610
5611 6. As an exception to the Sections above, you may also compile or
5612link a "work that uses the Library" with the Library to produce a
5613work containing portions of the Library, and distribute that work
5614under terms of your choice, provided that the terms permit
5615modification of the work for the customer's own use and reverse
5616engineering for debugging such modifications.
5617
5618 You must give prominent notice with each copy of the work that the
5619Library is used in it and that the Library and its use are covered by
5620this License. You must supply a copy of this License. If the work
5621during execution displays copyright notices, you must include the
5622copyright notice for the Library among them, as well as a reference
5623directing the user to the copy of this License. Also, you must do one
5624of these things:
5625
5626 a) Accompany the work with the complete corresponding
5627 machine-readable source code for the Library including whatever
5628 changes were used in the work (which must be distributed under
5629 Sections 1 and 2 above); and, if the work is an executable linked
5630 with the Library, with the complete machine-readable "work that
5631 uses the Library", as object code and/or source code, so that the
5632 user can modify the Library and then relink to produce a modified
5633 executable containing the modified Library. (It is understood
5634 that the user who changes the contents of definitions files in the
5635 Library will not necessarily be able to recompile the application
5636 to use the modified definitions.)
5637
5638 b) Accompany the work with a written offer, valid for at
5639 least three years, to give the same user the materials
5640 specified in Subsection 6a, above, for a charge no more
5641 than the cost of performing this distribution.
5642
5643 c) If distribution of the work is made by offering access to copy
5644 from a designated place, offer equivalent access to copy the above
5645 specified materials from the same place.
5646
5647 d) Verify that the user has already received a copy of these
5648 materials or that you have already sent this user a copy.
5649
5650 For an executable, the required form of the "work that uses the
5651Library" must include any data and utility programs needed for
5652reproducing the executable from it. However, as a special exception,
5653the source code distributed need not include anything that is normally
5654distributed (in either source or binary form) with the major
5655components (compiler, kernel, and so on) of the operating system on
5656which the executable runs, unless that component itself accompanies
5657the executable.
5658
5659 It may happen that this requirement contradicts the license
5660restrictions of other proprietary libraries that do not normally
5661accompany the operating system. Such a contradiction means you cannot
5662use both them and the Library together in an executable that you
5663distribute.
5664
5665 7. You may place library facilities that are a work based on the
5666Library side-by-side in a single library together with other library
5667facilities not covered by this License, and distribute such a combined
5668library, provided that the separate distribution of the work based on
5669the Library and of the other library facilities is otherwise
5670permitted, and provided that you do these two things:
5671
5672 a) Accompany the combined library with a copy of the same work
5673 based on the Library, uncombined with any other library
5674 facilities. This must be distributed under the terms of the
5675 Sections above.
5676
5677 b) Give prominent notice with the combined library of the fact
5678 that part of it is a work based on the Library, and explaining
5679 where to find the accompanying uncombined form of the same work.
5680
5681 8. You may not copy, modify, sublicense, link with, or distribute
5682the Library except as expressly provided under this License. Any
5683attempt otherwise to copy, modify, sublicense, link with, or
5684distribute the Library is void, and will automatically terminate your
5685rights under this License. However, parties who have received copies,
5686or rights, from you under this License will not have their licenses
5687terminated so long as such parties remain in full compliance.
5688
5689 9. You are not required to accept this License, since you have not
5690signed it. However, nothing else grants you permission to modify or
5691distribute the Library or its derivative works. These actions are
5692prohibited by law if you do not accept this License. Therefore, by
5693modifying or distributing the Library (or any work based on the
5694Library), you indicate your acceptance of this License to do so, and
5695all its terms and conditions for copying, distributing or modifying
5696the Library or works based on it.
5697
5698 10. Each time you redistribute the Library (or any work based on the
5699Library), the recipient automatically receives a license from the
5700original licensor to copy, distribute, link with or modify the Library
5701subject to these terms and conditions. You may not impose any further
5702restrictions on the recipients' exercise of the rights granted herein.
5703You are not responsible for enforcing compliance by third parties to
5704this License.
5705
5706 11. If, as a consequence of a court judgment or allegation of patent
5707infringement or for any other reason (not limited to patent issues),
5708conditions are imposed on you (whether by court order, agreement or
5709otherwise) that contradict the conditions of this License, they do not
5710excuse you from the conditions of this License. If you cannot
5711distribute so as to satisfy simultaneously your obligations under this
5712License and any other pertinent obligations, then as a consequence you
5713may not distribute the Library at all. For example, if a patent
5714license would not permit royalty-free redistribution of the Library by
5715all those who receive copies directly or indirectly through you, then
5716the only way you could satisfy both it and this License would be to
5717refrain entirely from distribution of the Library.
5718
5719If any portion of this section is held invalid or unenforceable under any
5720particular circumstance, the balance of the section is intended to apply,
5721and the section as a whole is intended to apply in other circumstances.
5722
5723It is not the purpose of this section to induce you to infringe any
5724patents or other property right claims or to contest validity of any
5725such claims; this section has the sole purpose of protecting the
5726integrity of the free software distribution system which is
5727implemented by public license practices. Many people have made
5728generous contributions to the wide range of software distributed
5729through that system in reliance on consistent application of that
5730system; it is up to the author/donor to decide if he or she is willing
5731to distribute software through any other system and a licensee cannot
5732impose that choice.
5733
5734This section is intended to make thoroughly clear what is believed to
5735be a consequence of the rest of this License.
5736
5737 12. If the distribution and/or use of the Library is restricted in
5738certain countries either by patents or by copyrighted interfaces, the
5739original copyright holder who places the Library under this License may add
5740an explicit geographical distribution limitation excluding those countries,
5741so that distribution is permitted only in or among countries not thus
5742excluded. In such case, this License incorporates the limitation as if
5743written in the body of this License.
5744
5745 13. The Free Software Foundation may publish revised and/or new
5746versions of the Library General Public License from time to time.
5747Such new versions will be similar in spirit to the present version,
5748but may differ in detail to address new problems or concerns.
5749
5750Each version is given a distinguishing version number. If the Library
5751specifies a version number of this License which applies to it and
5752"any later version", you have the option of following the terms and
5753conditions either of that version or of any later version published by
5754the Free Software Foundation. If the Library does not specify a
5755license version number, you may choose any version ever published by
5756the Free Software Foundation.
5757
5758 14. If you wish to incorporate parts of the Library into other free
5759programs whose distribution conditions are incompatible with these,
5760write to the author to ask for permission. For software which is
5761copyrighted by the Free Software Foundation, write to the Free
5762Software Foundation; we sometimes make exceptions for this. Our
5763decision will be guided by the two goals of preserving the free status
5764of all derivatives of our free software and of promoting the sharing
5765and reuse of software generally.
5766
5767 NO WARRANTY
5768
5769 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
5770WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
5771EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
5772OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
5773KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
5774IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
5775PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
5776LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
5777THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
5778
5779 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
5780WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
5781AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
5782FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
5783CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
5784LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
5785RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
5786FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
5787SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
5788DAMAGES.
5789
5790 END OF TERMS AND CONDITIONS
5791
5792 Appendix: How to Apply These Terms to Your New Libraries
5793
5794 If you develop a new library, and you want it to be of the greatest
5795possible use to the public, we recommend making it free software that
5796everyone can redistribute and change. You can do so by permitting
5797redistribution under these terms (or, alternatively, under the terms of the
5798ordinary General Public License).
5799
5800 To apply these terms, attach the following notices to the library. It is
5801safest to attach them to the start of each source file to most effectively
5802convey the exclusion of warranty; and each file should have at least the
5803"copyright" line and a pointer to where the full notice is found.
5804
5805 <one line to give the library's name and a brief idea of what it does.>
5806 Copyright (C) <year> <name of author>
5807
5808 This library is free software; you can redistribute it and/or
5809 modify it under the terms of the GNU Library General Public
5810 License as published by the Free Software Foundation; either
5811 version 2 of the License, or (at your option) any later version.
5812
5813 This library is distributed in the hope that it will be useful,
5814 but WITHOUT ANY WARRANTY; without even the implied warranty of
5815 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5816 Library General Public License for more details.
5817
5818 You should have received a copy of the GNU Library General Public
5819 License along with this library; if not, write to the Free
5820 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
5821 MA 02110-1301, USA
5822
5823Also add information on how to contact you by electronic and paper mail.
5824
5825You should also get your employer (if you work as a programmer) or your
5826school, if any, to sign a "copyright disclaimer" for the library, if
5827necessary. Here is a sample; alter the names:
5828
5829 Yoyodyne, Inc., hereby disclaims all copyright interest in the
5830 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
5831
5832 <signature of Ty Coon>, 1 April 1990
5833 Ty Coon, President of Vice
5834
5835That's all there is to it!
5836 GNU LESSER GENERAL PUBLIC LICENSE
5837 Version 3, 29 June 2007
5838
5839 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5840 Everyone is permitted to copy and distribute verbatim copies
5841 of this license document, but changing it is not allowed.
5842
5843
5844 This version of the GNU Lesser General Public License incorporates
5845the terms and conditions of version 3 of the GNU General Public
5846License, supplemented by the additional permissions listed below.
5847
5848 0. Additional Definitions.
5849
5850 As used herein, "this License" refers to version 3 of the GNU Lesser
5851General Public License, and the "GNU GPL" refers to version 3 of the GNU
5852General Public License.
5853
5854 "The Library" refers to a covered work governed by this License,
5855other than an Application or a Combined Work as defined below.
5856
5857 An "Application" is any work that makes use of an interface provided
5858by the Library, but which is not otherwise based on the Library.
5859Defining a subclass of a class defined by the Library is deemed a mode
5860of using an interface provided by the Library.
5861
5862 A "Combined Work" is a work produced by combining or linking an
5863Application with the Library. The particular version of the Library
5864with which the Combined Work was made is also called the "Linked
5865Version".
5866
5867 The "Minimal Corresponding Source" for a Combined Work means the
5868Corresponding Source for the Combined Work, excluding any source code
5869for portions of the Combined Work that, considered in isolation, are
5870based on the Application, and not on the Linked Version.
5871
5872 The "Corresponding Application Code" for a Combined Work means the
5873object code and/or source code for the Application, including any data
5874and utility programs needed for reproducing the Combined Work from the
5875Application, but excluding the System Libraries of the Combined Work.
5876
5877 1. Exception to Section 3 of the GNU GPL.
5878
5879 You may convey a covered work under sections 3 and 4 of this License
5880without being bound by section 3 of the GNU GPL.
5881
5882 2. Conveying Modified Versions.
5883
5884 If you modify a copy of the Library, and, in your modifications, a
5885facility refers to a function or data to be supplied by an Application
5886that uses the facility (other than as an argument passed when the
5887facility is invoked), then you may convey a copy of the modified
5888version:
5889
5890 a) under this License, provided that you make a good faith effort to
5891 ensure that, in the event an Application does not supply the
5892 function or data, the facility still operates, and performs
5893 whatever part of its purpose remains meaningful, or
5894
5895 b) under the GNU GPL, with none of the additional permissions of
5896 this License applicable to that copy.
5897
5898 3. Object Code Incorporating Material from Library Header Files.
5899
5900 The object code form of an Application may incorporate material from
5901a header file that is part of the Library. You may convey such object
5902code under terms of your choice, provided that, if the incorporated
5903material is not limited to numerical parameters, data structure
5904layouts and accessors, or small macros, inline functions and templates
5905(ten or fewer lines in length), you do both of the following:
5906
5907 a) Give prominent notice with each copy of the object code that the
5908 Library is used in it and that the Library and its use are
5909 covered by this License.
5910
5911 b) Accompany the object code with a copy of the GNU GPL and this license
5912 document.
5913
5914 4. Combined Works.
5915
5916 You may convey a Combined Work under terms of your choice that,
5917taken together, effectively do not restrict modification of the
5918portions of the Library contained in the Combined Work and reverse
5919engineering for debugging such modifications, if you also do each of
5920the following:
5921
5922 a) Give prominent notice with each copy of the Combined Work that
5923 the Library is used in it and that the Library and its use are
5924 covered by this License.
5925
5926 b) Accompany the Combined Work with a copy of the GNU GPL and this license
5927 document.
5928
5929 c) For a Combined Work that displays copyright notices during
5930 execution, include the copyright notice for the Library among
5931 these notices, as well as a reference directing the user to the
5932 copies of the GNU GPL and this license document.
5933
5934 d) Do one of the following:
5935
5936 0) Convey the Minimal Corresponding Source under the terms of this
5937 License, and the Corresponding Application Code in a form
5938 suitable for, and under terms that permit, the user to
5939 recombine or relink the Application with a modified version of
5940 the Linked Version to produce a modified Combined Work, in the
5941 manner specified by section 6 of the GNU GPL for conveying
5942 Corresponding Source.
5943
5944 1) Use a suitable shared library mechanism for linking with the
5945 Library. A suitable mechanism is one that (a) uses at run time
5946 a copy of the Library already present on the user's computer
5947 system, and (b) will operate properly with a modified version
5948 of the Library that is interface-compatible with the Linked
5949 Version.
5950
5951 e) Provide Installation Information, but only if you would otherwise
5952 be required to provide such information under section 6 of the
5953 GNU GPL, and only to the extent that such information is
5954 necessary to install and execute a modified version of the
5955 Combined Work produced by recombining or relinking the
5956 Application with a modified version of the Linked Version. (If
5957 you use option 4d0, the Installation Information must accompany
5958 the Minimal Corresponding Source and Corresponding Application
5959 Code. If you use option 4d1, you must provide the Installation
5960 Information in the manner specified by section 6 of the GNU GPL
5961 for conveying Corresponding Source.)
5962
5963 5. Combined Libraries.
5964
5965 You may place library facilities that are a work based on the
5966Library side by side in a single library together with other library
5967facilities that are not Applications and are not covered by this
5968License, and convey such a combined library under terms of your
5969choice, if you do both of the following:
5970
5971 a) Accompany the combined library with a copy of the same work based
5972 on the Library, uncombined with any other library facilities,
5973 conveyed under the terms of this License.
5974
5975 b) Give prominent notice with the combined library that part of it
5976 is a work based on the Library, and explaining where to find the
5977 accompanying uncombined form of the same work.
5978
5979 6. Revised Versions of the GNU Lesser General Public License.
5980
5981 The Free Software Foundation may publish revised and/or new versions
5982of the GNU Lesser General Public License from time to time. Such new
5983versions will be similar in spirit to the present version, but may
5984differ in detail to address new problems or concerns.
5985
5986 Each version is given a distinguishing version number. If the
5987Library as you received it specifies that a certain numbered version
5988of the GNU Lesser General Public License "or any later version"
5989applies to it, you have the option of following the terms and
5990conditions either of that published version or of any later version
5991published by the Free Software Foundation. If the Library as you
5992received it does not specify a version number of the GNU Lesser
5993General Public License, you may choose any version of the GNU Lesser
5994General Public License ever published by the Free Software Foundation.
5995
5996 If the Library as you received it specifies that a proxy can decide
5997whether future versions of the GNU Lesser General Public License shall
5998apply, that proxy's public statement of acceptance of any version is
5999permanent authorization for you to choose that version for the
6000Library.
6001 GNU LESSER GENERAL PUBLIC LICENSE
6002 Version 2.1, February 1999
6003
6004 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6005 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6006 Everyone is permitted to copy and distribute verbatim copies
6007 of this license document, but changing it is not allowed.
6008
6009[This is the first released version of the Lesser GPL. It also counts
6010 as the successor of the GNU Library Public License, version 2, hence
6011 the version number 2.1.]
6012
6013 Preamble
6014
6015 The licenses for most software are designed to take away your
6016freedom to share and change it. By contrast, the GNU General Public
6017Licenses are intended to guarantee your freedom to share and change
6018free software--to make sure the software is free for all its users.
6019
6020 This license, the Lesser General Public License, applies to some
6021specially designated software packages--typically libraries--of the
6022Free Software Foundation and other authors who decide to use it. You
6023can use it too, but we suggest you first think carefully about whether
6024this license or the ordinary General Public License is the better
6025strategy to use in any particular case, based on the explanations below.
6026
6027 When we speak of free software, we are referring to freedom of use,
6028not price. Our General Public Licenses are designed to make sure that
6029you have the freedom to distribute copies of free software (and charge
6030for this service if you wish); that you receive source code or can get
6031it if you want it; that you can change the software and use pieces of
6032it in new free programs; and that you are informed that you can do
6033these things.
6034
6035 To protect your rights, we need to make restrictions that forbid
6036distributors to deny you these rights or to ask you to surrender these
6037rights. These restrictions translate to certain responsibilities for
6038you if you distribute copies of the library or if you modify it.
6039
6040 For example, if you distribute copies of the library, whether gratis
6041or for a fee, you must give the recipients all the rights that we gave
6042you. You must make sure that they, too, receive or can get the source
6043code. If you link other code with the library, you must provide
6044complete object files to the recipients, so that they can relink them
6045with the library after making changes to the library and recompiling
6046it. And you must show them these terms so they know their rights.
6047
6048 We protect your rights with a two-step method: (1) we copyright the
6049library, and (2) we offer you this license, which gives you legal
6050permission to copy, distribute and/or modify the library.
6051
6052 To protect each distributor, we want to make it very clear that
6053there is no warranty for the free library. Also, if the library is
6054modified by someone else and passed on, the recipients should know
6055that what they have is not the original version, so that the original
6056author's reputation will not be affected by problems that might be
6057introduced by others.
6058
6059 Finally, software patents pose a constant threat to the existence of
6060any free program. We wish to make sure that a company cannot
6061effectively restrict the users of a free program by obtaining a
6062restrictive license from a patent holder. Therefore, we insist that
6063any patent license obtained for a version of the library must be
6064consistent with the full freedom of use specified in this license.
6065
6066 Most GNU software, including some libraries, is covered by the
6067ordinary GNU General Public License. This license, the GNU Lesser
6068General Public License, applies to certain designated libraries, and
6069is quite different from the ordinary General Public License. We use
6070this license for certain libraries in order to permit linking those
6071libraries into non-free programs.
6072
6073 When a program is linked with a library, whether statically or using
6074a shared library, the combination of the two is legally speaking a
6075combined work, a derivative of the original library. The ordinary
6076General Public License therefore permits such linking only if the
6077entire combination fits its criteria of freedom. The Lesser General
6078Public License permits more lax criteria for linking other code with
6079the library.
6080
6081 We call this license the "Lesser" General Public License because it
6082does Less to protect the user's freedom than the ordinary General
6083Public License. It also provides other free software developers Less
6084of an advantage over competing non-free programs. These disadvantages
6085are the reason we use the ordinary General Public License for many
6086libraries. However, the Lesser license provides advantages in certain
6087special circumstances.
6088
6089 For example, on rare occasions, there may be a special need to
6090encourage the widest possible use of a certain library, so that it becomes
6091a de-facto standard. To achieve this, non-free programs must be
6092allowed to use the library. A more frequent case is that a free
6093library does the same job as widely used non-free libraries. In this
6094case, there is little to gain by limiting the free library to free
6095software only, so we use the Lesser General Public License.
6096
6097 In other cases, permission to use a particular library in non-free
6098programs enables a greater number of people to use a large body of
6099free software. For example, permission to use the GNU C Library in
6100non-free programs enables many more people to use the whole GNU
6101operating system, as well as its variant, the GNU/Linux operating
6102system.
6103
6104 Although the Lesser General Public License is Less protective of the
6105users' freedom, it does ensure that the user of a program that is
6106linked with the Library has the freedom and the wherewithal to run
6107that program using a modified version of the Library.
6108
6109 The precise terms and conditions for copying, distribution and
6110modification follow. Pay close attention to the difference between a
6111"work based on the library" and a "work that uses the library". The
6112former contains code derived from the library, whereas the latter must
6113be combined with the library in order to run.
6114
6115 GNU LESSER GENERAL PUBLIC LICENSE
6116 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6117
6118 0. This License Agreement applies to any software library or other
6119program which contains a notice placed by the copyright holder or
6120other authorized party saying it may be distributed under the terms of
6121this Lesser General Public License (also called "this License").
6122Each licensee is addressed as "you".
6123
6124 A "library" means a collection of software functions and/or data
6125prepared so as to be conveniently linked with application programs
6126(which use some of those functions and data) to form executables.
6127
6128 The "Library", below, refers to any such software library or work
6129which has been distributed under these terms. A "work based on the
6130Library" means either the Library or any derivative work under
6131copyright law: that is to say, a work containing the Library or a
6132portion of it, either verbatim or with modifications and/or translated
6133straightforwardly into another language. (Hereinafter, translation is
6134included without limitation in the term "modification".)
6135
6136 "Source code" for a work means the preferred form of the work for
6137making modifications to it. For a library, complete source code means
6138all the source code for all modules it contains, plus any associated
6139interface definition files, plus the scripts used to control compilation
6140and installation of the library.
6141
6142 Activities other than copying, distribution and modification are not
6143covered by this License; they are outside its scope. The act of
6144running a program using the Library is not restricted, and output from
6145such a program is covered only if its contents constitute a work based
6146on the Library (independent of the use of the Library in a tool for
6147writing it). Whether that is true depends on what the Library does
6148and what the program that uses the Library does.
6149
6150 1. You may copy and distribute verbatim copies of the Library's
6151complete source code as you receive it, in any medium, provided that
6152you conspicuously and appropriately publish on each copy an
6153appropriate copyright notice and disclaimer of warranty; keep intact
6154all the notices that refer to this License and to the absence of any
6155warranty; and distribute a copy of this License along with the
6156Library.
6157
6158 You may charge a fee for the physical act of transferring a copy,
6159and you may at your option offer warranty protection in exchange for a
6160fee.
6161
6162 2. You may modify your copy or copies of the Library or any portion
6163of it, thus forming a work based on the Library, and copy and
6164distribute such modifications or work under the terms of Section 1
6165above, provided that you also meet all of these conditions:
6166
6167 a) The modified work must itself be a software library.
6168
6169 b) You must cause the files modified to carry prominent notices
6170 stating that you changed the files and the date of any change.
6171
6172 c) You must cause the whole of the work to be licensed at no
6173 charge to all third parties under the terms of this License.
6174
6175 d) If a facility in the modified Library refers to a function or a
6176 table of data to be supplied by an application program that uses
6177 the facility, other than as an argument passed when the facility
6178 is invoked, then you must make a good faith effort to ensure that,
6179 in the event an application does not supply such function or
6180 table, the facility still operates, and performs whatever part of
6181 its purpose remains meaningful.
6182
6183 (For example, a function in a library to compute square roots has
6184 a purpose that is entirely well-defined independent of the
6185 application. Therefore, Subsection 2d requires that any
6186 application-supplied function or table used by this function must
6187 be optional: if the application does not supply it, the square
6188 root function must still compute square roots.)
6189
6190These requirements apply to the modified work as a whole. If
6191identifiable sections of that work are not derived from the Library,
6192and can be reasonably considered independent and separate works in
6193themselves, then this License, and its terms, do not apply to those
6194sections when you distribute them as separate works. But when you
6195distribute the same sections as part of a whole which is a work based
6196on the Library, the distribution of the whole must be on the terms of
6197this License, whose permissions for other licensees extend to the
6198entire whole, and thus to each and every part regardless of who wrote
6199it.
6200
6201Thus, it is not the intent of this section to claim rights or contest
6202your rights to work written entirely by you; rather, the intent is to
6203exercise the right to control the distribution of derivative or
6204collective works based on the Library.
6205
6206In addition, mere aggregation of another work not based on the Library
6207with the Library (or with a work based on the Library) on a volume of
6208a storage or distribution medium does not bring the other work under
6209the scope of this License.
6210
6211 3. You may opt to apply the terms of the ordinary GNU General Public
6212License instead of this License to a given copy of the Library. To do
6213this, you must alter all the notices that refer to this License, so
6214that they refer to the ordinary GNU General Public License, version 2,
6215instead of to this License. (If a newer version than version 2 of the
6216ordinary GNU General Public License has appeared, then you can specify
6217that version instead if you wish.) Do not make any other change in
6218these notices.
6219
6220 Once this change is made in a given copy, it is irreversible for
6221that copy, so the ordinary GNU General Public License applies to all
6222subsequent copies and derivative works made from that copy.
6223
6224 This option is useful when you wish to copy part of the code of
6225the Library into a program that is not a library.
6226
6227 4. You may copy and distribute the Library (or a portion or
6228derivative of it, under Section 2) in object code or executable form
6229under the terms of Sections 1 and 2 above provided that you accompany
6230it with the complete corresponding machine-readable source code, which
6231must be distributed under the terms of Sections 1 and 2 above on a
6232medium customarily used for software interchange.
6233
6234 If distribution of object code is made by offering access to copy
6235from a designated place, then offering equivalent access to copy the
6236source code from the same place satisfies the requirement to
6237distribute the source code, even though third parties are not
6238compelled to copy the source along with the object code.
6239
6240 5. A program that contains no derivative of any portion of the
6241Library, but is designed to work with the Library by being compiled or
6242linked with it, is called a "work that uses the Library". Such a
6243work, in isolation, is not a derivative work of the Library, and
6244therefore falls outside the scope of this License.
6245
6246 However, linking a "work that uses the Library" with the Library
6247creates an executable that is a derivative of the Library (because it
6248contains portions of the Library), rather than a "work that uses the
6249library". The executable is therefore covered by this License.
6250Section 6 states terms for distribution of such executables.
6251
6252 When a "work that uses the Library" uses material from a header file
6253that is part of the Library, the object code for the work may be a
6254derivative work of the Library even though the source code is not.
6255Whether this is true is especially significant if the work can be
6256linked without the Library, or if the work is itself a library. The
6257threshold for this to be true is not precisely defined by law.
6258
6259 If such an object file uses only numerical parameters, data
6260structure layouts and accessors, and small macros and small inline
6261functions (ten lines or less in length), then the use of the object
6262file is unrestricted, regardless of whether it is legally a derivative
6263work. (Executables containing this object code plus portions of the
6264Library will still fall under Section 6.)
6265
6266 Otherwise, if the work is a derivative of the Library, you may
6267distribute the object code for the work under the terms of Section 6.
6268Any executables containing that work also fall under Section 6,
6269whether or not they are linked directly with the Library itself.
6270
6271 6. As an exception to the Sections above, you may also combine or
6272link a "work that uses the Library" with the Library to produce a
6273work containing portions of the Library, and distribute that work
6274under terms of your choice, provided that the terms permit
6275modification of the work for the customer's own use and reverse
6276engineering for debugging such modifications.
6277
6278 You must give prominent notice with each copy of the work that the
6279Library is used in it and that the Library and its use are covered by
6280this License. You must supply a copy of this License. If the work
6281during execution displays copyright notices, you must include the
6282copyright notice for the Library among them, as well as a reference
6283directing the user to the copy of this License. Also, you must do one
6284of these things:
6285
6286 a) Accompany the work with the complete corresponding
6287 machine-readable source code for the Library including whatever
6288 changes were used in the work (which must be distributed under
6289 Sections 1 and 2 above); and, if the work is an executable linked
6290 with the Library, with the complete machine-readable "work that
6291 uses the Library", as object code and/or source code, so that the
6292 user can modify the Library and then relink to produce a modified
6293 executable containing the modified Library. (It is understood
6294 that the user who changes the contents of definitions files in the
6295 Library will not necessarily be able to recompile the application
6296 to use the modified definitions.)
6297
6298 b) Use a suitable shared library mechanism for linking with the
6299 Library. A suitable mechanism is one that (1) uses at run time a
6300 copy of the library already present on the user's computer system,
6301 rather than copying library functions into the executable, and (2)
6302 will operate properly with a modified version of the library, if
6303 the user installs one, as long as the modified version is
6304 interface-compatible with the version that the work was made with.
6305
6306 c) Accompany the work with a written offer, valid for at
6307 least three years, to give the same user the materials
6308 specified in Subsection 6a, above, for a charge no more
6309 than the cost of performing this distribution.
6310
6311 d) If distribution of the work is made by offering access to copy
6312 from a designated place, offer equivalent access to copy the above
6313 specified materials from the same place.
6314
6315 e) Verify that the user has already received a copy of these
6316 materials or that you have already sent this user a copy.
6317
6318 For an executable, the required form of the "work that uses the
6319Library" must include any data and utility programs needed for
6320reproducing the executable from it. However, as a special exception,
6321the materials to be distributed need not include anything that is
6322normally distributed (in either source or binary form) with the major
6323components (compiler, kernel, and so on) of the operating system on
6324which the executable runs, unless that component itself accompanies
6325the executable.
6326
6327 It may happen that this requirement contradicts the license
6328restrictions of other proprietary libraries that do not normally
6329accompany the operating system. Such a contradiction means you cannot
6330use both them and the Library together in an executable that you
6331distribute.
6332
6333 7. You may place library facilities that are a work based on the
6334Library side-by-side in a single library together with other library
6335facilities not covered by this License, and distribute such a combined
6336library, provided that the separate distribution of the work based on
6337the Library and of the other library facilities is otherwise
6338permitted, and provided that you do these two things:
6339
6340 a) Accompany the combined library with a copy of the same work
6341 based on the Library, uncombined with any other library
6342 facilities. This must be distributed under the terms of the
6343 Sections above.
6344
6345 b) Give prominent notice with the combined library of the fact
6346 that part of it is a work based on the Library, and explaining
6347 where to find the accompanying uncombined form of the same work.
6348
6349 8. You may not copy, modify, sublicense, link with, or distribute
6350the Library except as expressly provided under this License. Any
6351attempt otherwise to copy, modify, sublicense, link with, or
6352distribute the Library is void, and will automatically terminate your
6353rights under this License. However, parties who have received copies,
6354or rights, from you under this License will not have their licenses
6355terminated so long as such parties remain in full compliance.
6356
6357 9. You are not required to accept this License, since you have not
6358signed it. However, nothing else grants you permission to modify or
6359distribute the Library or its derivative works. These actions are
6360prohibited by law if you do not accept this License. Therefore, by
6361modifying or distributing the Library (or any work based on the
6362Library), you indicate your acceptance of this License to do so, and
6363all its terms and conditions for copying, distributing or modifying
6364the Library or works based on it.
6365
6366 10. Each time you redistribute the Library (or any work based on the
6367Library), the recipient automatically receives a license from the
6368original licensor to copy, distribute, link with or modify the Library
6369subject to these terms and conditions. You may not impose any further
6370restrictions on the recipients' exercise of the rights granted herein.
6371You are not responsible for enforcing compliance by third parties with
6372this License.
6373
6374 11. If, as a consequence of a court judgment or allegation of patent
6375infringement or for any other reason (not limited to patent issues),
6376conditions are imposed on you (whether by court order, agreement or
6377otherwise) that contradict the conditions of this License, they do not
6378excuse you from the conditions of this License. If you cannot
6379distribute so as to satisfy simultaneously your obligations under this
6380License and any other pertinent obligations, then as a consequence you
6381may not distribute the Library at all. For example, if a patent
6382license would not permit royalty-free redistribution of the Library by
6383all those who receive copies directly or indirectly through you, then
6384the only way you could satisfy both it and this License would be to
6385refrain entirely from distribution of the Library.
6386
6387If any portion of this section is held invalid or unenforceable under any
6388particular circumstance, the balance of the section is intended to apply,
6389and the section as a whole is intended to apply in other circumstances.
6390
6391It is not the purpose of this section to induce you to infringe any
6392patents or other property right claims or to contest validity of any
6393such claims; this section has the sole purpose of protecting the
6394integrity of the free software distribution system which is
6395implemented by public license practices. Many people have made
6396generous contributions to the wide range of software distributed
6397through that system in reliance on consistent application of that
6398system; it is up to the author/donor to decide if he or she is willing
6399to distribute software through any other system and a licensee cannot
6400impose that choice.
6401
6402This section is intended to make thoroughly clear what is believed to
6403be a consequence of the rest of this License.
6404
6405 12. If the distribution and/or use of the Library is restricted in
6406certain countries either by patents or by copyrighted interfaces, the
6407original copyright holder who places the Library under this License may add
6408an explicit geographical distribution limitation excluding those countries,
6409so that distribution is permitted only in or among countries not thus
6410excluded. In such case, this License incorporates the limitation as if
6411written in the body of this License.
6412
6413 13. The Free Software Foundation may publish revised and/or new
6414versions of the Lesser General Public License from time to time.
6415Such new versions will be similar in spirit to the present version,
6416but may differ in detail to address new problems or concerns.
6417
6418Each version is given a distinguishing version number. If the Library
6419specifies a version number of this License which applies to it and
6420"any later version", you have the option of following the terms and
6421conditions either of that version or of any later version published by
6422the Free Software Foundation. If the Library does not specify a
6423license version number, you may choose any version ever published by
6424the Free Software Foundation.
6425
6426 14. If you wish to incorporate parts of the Library into other free
6427programs whose distribution conditions are incompatible with these,
6428write to the author to ask for permission. For software which is
6429copyrighted by the Free Software Foundation, write to the Free
6430Software Foundation; we sometimes make exceptions for this. Our
6431decision will be guided by the two goals of preserving the free status
6432of all derivatives of our free software and of promoting the sharing
6433and reuse of software generally.
6434
6435 NO WARRANTY
6436
6437 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
6438WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
6439EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
6440OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
6441KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
6442IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
6443PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
6444LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
6445THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
6446
6447 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
6448WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
6449AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
6450FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
6451CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
6452LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
6453RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
6454FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
6455SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
6456DAMAGES.
6457
6458 END OF TERMS AND CONDITIONS
6459
6460 How to Apply These Terms to Your New Libraries
6461
6462 If you develop a new library, and you want it to be of the greatest
6463possible use to the public, we recommend making it free software that
6464everyone can redistribute and change. You can do so by permitting
6465redistribution under these terms (or, alternatively, under the terms of the
6466ordinary General Public License).
6467
6468 To apply these terms, attach the following notices to the library. It is
6469safest to attach them to the start of each source file to most effectively
6470convey the exclusion of warranty; and each file should have at least the
6471"copyright" line and a pointer to where the full notice is found.
6472
6473 <one line to give the library's name and a brief idea of what it does.>
6474 Copyright (C) <year> <name of author>
6475
6476 This library is free software; you can redistribute it and/or
6477 modify it under the terms of the GNU Lesser General Public
6478 License as published by the Free Software Foundation; either
6479 version 2.1 of the License, or (at your option) any later version.
6480
6481 This library is distributed in the hope that it will be useful,
6482 but WITHOUT ANY WARRANTY; without even the implied warranty of
6483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6484 Lesser General Public License for more details.
6485
6486 You should have received a copy of the GNU Lesser General Public
6487 License along with this library; if not, write to the Free Software
6488 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6489
6490Also add information on how to contact you by electronic and paper mail.
6491
6492You should also get your employer (if you work as a programmer) or your
6493school, if any, to sign a "copyright disclaimer" for the library, if
6494necessary. Here is a sample; alter the names:
6495
6496 Yoyodyne, Inc., hereby disclaims all copyright interest in the
6497 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
6498
6499 <signature of Ty Coon>, 1 April 1990
6500 Ty Coon, President of Vice
6501
6502That's all there is to it!
6503
6504
6505 GNU GENERAL PUBLIC LICENSE
6506 Version 2, June 1991
6507
6508 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6509 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6510 Everyone is permitted to copy and distribute verbatim copies
6511 of this license document, but changing it is not allowed.
6512
6513 Preamble
6514
6515 The licenses for most software are designed to take away your
6516freedom to share and change it. By contrast, the GNU General Public
6517License is intended to guarantee your freedom to share and change free
6518software--to make sure the software is free for all its users. This
6519General Public License applies to most of the Free Software
6520Foundation's software and to any other program whose authors commit to
6521using it. (Some other Free Software Foundation software is covered by
6522the GNU Library General Public License instead.) You can apply it to
6523your programs, too.
6524
6525 When we speak of free software, we are referring to freedom, not
6526price. Our General Public Licenses are designed to make sure that you
6527have the freedom to distribute copies of free software (and charge for
6528this service if you wish), that you receive source code or can get it
6529if you want it, that you can change the software or use pieces of it
6530in new free programs; and that you know you can do these things.
6531
6532 To protect your rights, we need to make restrictions that forbid
6533anyone to deny you these rights or to ask you to surrender the rights.
6534These restrictions translate to certain responsibilities for you if you
6535distribute copies of the software, or if you modify it.
6536
6537 For example, if you distribute copies of such a program, whether
6538gratis or for a fee, you must give the recipients all the rights that
6539you have. You must make sure that they, too, receive or can get the
6540source code. And you must show them these terms so they know their
6541rights.
6542
6543 We protect your rights with two steps: (1) copyright the software, and
6544(2) offer you this license which gives you legal permission to copy,
6545distribute and/or modify the software.
6546
6547 Also, for each author's protection and ours, we want to make certain
6548that everyone understands that there is no warranty for this free
6549software. If the software is modified by someone else and passed on, we
6550want its recipients to know that what they have is not the original, so
6551that any problems introduced by others will not reflect on the original
6552authors' reputations.
6553
6554 Finally, any free program is threatened constantly by software
6555patents. We wish to avoid the danger that redistributors of a free
6556program will individually obtain patent licenses, in effect making the
6557program proprietary. To prevent this, we have made it clear that any
6558patent must be licensed for everyone's free use or not licensed at all.
6559
6560 The precise terms and conditions for copying, distribution and
6561modification follow.
6562
6563 GNU GENERAL PUBLIC LICENSE
6564 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6565
6566 0. This License applies to any program or other work which contains
6567a notice placed by the copyright holder saying it may be distributed
6568under the terms of this General Public License. The "Program", below,
6569refers to any such program or work, and a "work based on the Program"
6570means either the Program or any derivative work under copyright law:
6571that is to say, a work containing the Program or a portion of it,
6572either verbatim or with modifications and/or translated into another
6573language. (Hereinafter, translation is included without limitation in
6574the term "modification".) Each licensee is addressed as "you".
6575
6576Activities other than copying, distribution and modification are not
6577covered by this License; they are outside its scope. The act of
6578running the Program is not restricted, and the output from the Program
6579is covered only if its contents constitute a work based on the
6580Program (independent of having been made by running the Program).
6581Whether that is true depends on what the Program does.
6582
6583 1. You may copy and distribute verbatim copies of the Program's
6584source code as you receive it, in any medium, provided that you
6585conspicuously and appropriately publish on each copy an appropriate
6586copyright notice and disclaimer of warranty; keep intact all the
6587notices that refer to this License and to the absence of any warranty;
6588and give any other recipients of the Program a copy of this License
6589along with the Program.
6590
6591You may charge a fee for the physical act of transferring a copy, and
6592you may at your option offer warranty protection in exchange for a fee.
6593
6594 2. You may modify your copy or copies of the Program or any portion
6595of it, thus forming a work based on the Program, and copy and
6596distribute such modifications or work under the terms of Section 1
6597above, provided that you also meet all of these conditions:
6598
6599 a) You must cause the modified files to carry prominent notices
6600 stating that you changed the files and the date of any change.
6601
6602 b) You must cause any work that you distribute or publish, that in
6603 whole or in part contains or is derived from the Program or any
6604 part thereof, to be licensed as a whole at no charge to all third
6605 parties under the terms of this License.
6606
6607 c) If the modified program normally reads commands interactively
6608 when run, you must cause it, when started running for such
6609 interactive use in the most ordinary way, to print or display an
6610 announcement including an appropriate copyright notice and a
6611 notice that there is no warranty (or else, saying that you provide
6612 a warranty) and that users may redistribute the program under
6613 these conditions, and telling the user how to view a copy of this
6614 License. (Exception: if the Program itself is interactive but
6615 does not normally print such an announcement, your work based on
6616 the Program is not required to print an announcement.)
6617
6618These requirements apply to the modified work as a whole. If
6619identifiable sections of that work are not derived from the Program,
6620and can be reasonably considered independent and separate works in
6621themselves, then this License, and its terms, do not apply to those
6622sections when you distribute them as separate works. But when you
6623distribute the same sections as part of a whole which is a work based
6624on the Program, the distribution of the whole must be on the terms of
6625this License, whose permissions for other licensees extend to the
6626entire whole, and thus to each and every part regardless of who wrote it.
6627
6628Thus, it is not the intent of this section to claim rights or contest
6629your rights to work written entirely by you; rather, the intent is to
6630exercise the right to control the distribution of derivative or
6631collective works based on the Program.
6632
6633In addition, mere aggregation of another work not based on the Program
6634with the Program (or with a work based on the Program) on a volume of
6635a storage or distribution medium does not bring the other work under
6636the scope of this License.
6637
6638 3. You may copy and distribute the Program (or a work based on it,
6639under Section 2) in object code or executable form under the terms of
6640Sections 1 and 2 above provided that you also do one of the following:
6641
6642 a) Accompany it with the complete corresponding machine-readable
6643 source code, which must be distributed under the terms of Sections
6644 1 and 2 above on a medium customarily used for software interchange; or,
6645
6646 b) Accompany it with a written offer, valid for at least three
6647 years, to give any third party, for a charge no more than your
6648 cost of physically performing source distribution, a complete
6649 machine-readable copy of the corresponding source code, to be
6650 distributed under the terms of Sections 1 and 2 above on a medium
6651 customarily used for software interchange; or,
6652
6653 c) Accompany it with the information you received as to the offer
6654 to distribute corresponding source code. (This alternative is
6655 allowed only for noncommercial distribution and only if you
6656 received the program in object code or executable form with such
6657 an offer, in accord with Subsection b above.)
6658
6659The source code for a work means the preferred form of the work for
6660making modifications to it. For an executable work, complete source
6661code means all the source code for all modules it contains, plus any
6662associated interface definition files, plus the scripts used to
6663control compilation and installation of the executable. However, as a
6664special exception, the source code distributed need not include
6665anything that is normally distributed (in either source or binary
6666form) with the major components (compiler, kernel, and so on) of the
6667operating system on which the executable runs, unless that component
6668itself accompanies the executable.
6669
6670If distribution of executable or object code is made by offering
6671access to copy from a designated place, then offering equivalent
6672access to copy the source code from the same place counts as
6673distribution of the source code, even though third parties are not
6674compelled to copy the source along with the object code.
6675
6676 4. You may not copy, modify, sublicense, or distribute the Program
6677except as expressly provided under this License. Any attempt
6678otherwise to copy, modify, sublicense or distribute the Program is
6679void, and will automatically terminate your rights under this License.
6680However, parties who have received copies, or rights, from you under
6681this License will not have their licenses terminated so long as such
6682parties remain in full compliance.
6683
6684 5. You are not required to accept this License, since you have not
6685signed it. However, nothing else grants you permission to modify or
6686distribute the Program or its derivative works. These actions are
6687prohibited by law if you do not accept this License. Therefore, by
6688modifying or distributing the Program (or any work based on the
6689Program), you indicate your acceptance of this License to do so, and
6690all its terms and conditions for copying, distributing or modifying
6691the Program or works based on it.
6692
6693 6. Each time you redistribute the Program (or any work based on the
6694Program), the recipient automatically receives a license from the
6695original licensor to copy, distribute or modify the Program subject to
6696these terms and conditions. You may not impose any further
6697restrictions on the recipients' exercise of the rights granted herein.
6698You are not responsible for enforcing compliance by third parties to
6699this License.
6700
6701 7. If, as a consequence of a court judgment or allegation of patent
6702infringement or for any other reason (not limited to patent issues),
6703conditions are imposed on you (whether by court order, agreement or
6704otherwise) that contradict the conditions of this License, they do not
6705excuse you from the conditions of this License. If you cannot
6706distribute so as to satisfy simultaneously your obligations under this
6707License and any other pertinent obligations, then as a consequence you
6708may not distribute the Program at all. For example, if a patent
6709license would not permit royalty-free redistribution of the Program by
6710all those who receive copies directly or indirectly through you, then
6711the only way you could satisfy both it and this License would be to
6712refrain entirely from distribution of the Program.
6713
6714If any portion of this section is held invalid or unenforceable under
6715any particular circumstance, the balance of the section is intended to
6716apply and the section as a whole is intended to apply in other
6717circumstances.
6718
6719It is not the purpose of this section to induce you to infringe any
6720patents or other property right claims or to contest validity of any
6721such claims; this section has the sole purpose of protecting the
6722integrity of the free software distribution system, which is
6723implemented by public license practices. Many people have made
6724generous contributions to the wide range of software distributed
6725through that system in reliance on consistent application of that
6726system; it is up to the author/donor to decide if he or she is willing
6727to distribute software through any other system and a licensee cannot
6728impose that choice.
6729
6730This section is intended to make thoroughly clear what is believed to
6731be a consequence of the rest of this License.
6732
6733 8. If the distribution and/or use of the Program is restricted in
6734certain countries either by patents or by copyrighted interfaces, the
6735original copyright holder who places the Program under this License
6736may add an explicit geographical distribution limitation excluding
6737those countries, so that distribution is permitted only in or among
6738countries not thus excluded. In such case, this License incorporates
6739the limitation as if written in the body of this License.
6740
6741 9. The Free Software Foundation may publish revised and/or new versions
6742of the General Public License from time to time. Such new versions will
6743be similar in spirit to the present version, but may differ in detail to
6744address new problems or concerns.
6745
6746Each version is given a distinguishing version number. If the Program
6747specifies a version number of this License which applies to it and "any
6748later version", you have the option of following the terms and conditions
6749either of that version or of any later version published by the Free
6750Software Foundation. If the Program does not specify a version number of
6751this License, you may choose any version ever published by the Free Software
6752Foundation.
6753
6754 10. If you wish to incorporate parts of the Program into other free
6755programs whose distribution conditions are different, write to the author
6756to ask for permission. For software which is copyrighted by the Free
6757Software Foundation, write to the Free Software Foundation; we sometimes
6758make exceptions for this. Our decision will be guided by the two goals
6759of preserving the free status of all derivatives of our free software and
6760of promoting the sharing and reuse of software generally.
6761
6762 NO WARRANTY
6763
6764 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
6765FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
6766OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
6767PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
6768OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
6769MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
6770TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
6771PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
6772REPAIR OR CORRECTION.
6773
6774 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
6775WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
6776REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
6777INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
6778OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
6779TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
6780YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
6781PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
6782POSSIBILITY OF SUCH DAMAGES.
6783
6784 END OF TERMS AND CONDITIONS
6785
6786 How to Apply These Terms to Your New Programs
6787
6788 If you develop a new program, and you want it to be of the greatest
6789possible use to the public, the best way to achieve this is to make it
6790free software which everyone can redistribute and change under these terms.
6791
6792 To do so, attach the following notices to the program. It is safest
6793to attach them to the start of each source file to most effectively
6794convey the exclusion of warranty; and each file should have at least
6795the "copyright" line and a pointer to where the full notice is found.
6796
6797 <one line to give the program's name and a brief idea of what it does.>
6798 Copyright (C) <year> <name of author>
6799
6800 This program is free software; you can redistribute it and/or modify
6801 it under the terms of the GNU General Public License as published by
6802 the Free Software Foundation; either version 2 of the License, or
6803 (at your option) any later version.
6804
6805 This program is distributed in the hope that it will be useful,
6806 but WITHOUT ANY WARRANTY; without even the implied warranty of
6807 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6808 GNU General Public License for more details.
6809
6810 You should have received a copy of the GNU General Public License
6811 along with this program; if not, write to the Free Software
6812 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6813
6814
6815Also add information on how to contact you by electronic and paper mail.
6816
6817If the program is interactive, make it output a short notice like this
6818when it starts in an interactive mode:
6819
6820 Gnomovision version 69, Copyright (C) year name of author
6821 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
6822 This is free software, and you are welcome to redistribute it
6823 under certain conditions; type `show c' for details.
6824
6825The hypothetical commands `show w' and `show c' should show the appropriate
6826parts of the General Public License. Of course, the commands you use may
6827be called something other than `show w' and `show c'; they could even be
6828mouse-clicks or menu items--whatever suits your program.
6829
6830You should also get your employer (if you work as a programmer) or your
6831school, if any, to sign a "copyright disclaimer" for the program, if
6832necessary. Here is a sample; alter the names:
6833
6834 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
6835 `Gnomovision' (which makes passes at compilers) written by James Hacker.
6836
6837 <signature of Ty Coon>, 1 April 1989
6838 Ty Coon, President of Vice
6839
6840This General Public License does not permit incorporating your program into
6841proprietary programs. If your program is a subroutine library, you may
6842consider it more useful to permit linking proprietary applications with the
6843library. If this is what you want to do, use the GNU Library General
6844Public License instead of this License.
6845
6846 GNU LESSER GENERAL PUBLIC LICENSE
6847 Version 2.1, February 1999
6848
6849 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6850 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6851 Everyone is permitted to copy and distribute verbatim copies
6852 of this license document, but changing it is not allowed.
6853
6854[This is the first released version of the Lesser GPL. It also counts
6855 as the successor of the GNU Library Public License, version 2, hence
6856 the version number 2.1.]
6857
6858 Preamble
6859
6860 The licenses for most software are designed to take away your
6861freedom to share and change it. By contrast, the GNU General Public
6862Licenses are intended to guarantee your freedom to share and change
6863free software--to make sure the software is free for all its users.
6864
6865 This license, the Lesser General Public License, applies to some
6866specially designated software packages--typically libraries--of the
6867Free Software Foundation and other authors who decide to use it. You
6868can use it too, but we suggest you first think carefully about whether
6869this license or the ordinary General Public License is the better
6870strategy to use in any particular case, based on the explanations
6871below.
6872
6873 When we speak of free software, we are referring to freedom of use,
6874not price. Our General Public Licenses are designed to make sure that
6875you have the freedom to distribute copies of free software (and charge
6876for this service if you wish); that you receive source code or can get
6877it if you want it; that you can change the software and use pieces of
6878it in new free programs; and that you are informed that you can do
6879these things.
6880
6881 To protect your rights, we need to make restrictions that forbid
6882distributors to deny you these rights or to ask you to surrender these
6883rights. These restrictions translate to certain responsibilities for
6884you if you distribute copies of the library or if you modify it.
6885
6886 For example, if you distribute copies of the library, whether gratis
6887or for a fee, you must give the recipients all the rights that we gave
6888you. You must make sure that they, too, receive or can get the source
6889code. If you link other code with the library, you must provide
6890complete object files to the recipients, so that they can relink them
6891with the library after making changes to the library and recompiling
6892it. And you must show them these terms so they know their rights.
6893
6894 We protect your rights with a two-step method: (1) we copyright the
6895library, and (2) we offer you this license, which gives you legal
6896permission to copy, distribute and/or modify the library.
6897
6898 To protect each distributor, we want to make it very clear that
6899there is no warranty for the free library. Also, if the library is
6900modified by someone else and passed on, the recipients should know
6901that what they have is not the original version, so that the original
6902author's reputation will not be affected by problems that might be
6903introduced by others.
6904^L
6905 Finally, software patents pose a constant threat to the existence of
6906any free program. We wish to make sure that a company cannot
6907effectively restrict the users of a free program by obtaining a
6908restrictive license from a patent holder. Therefore, we insist that
6909any patent license obtained for a version of the library must be
6910consistent with the full freedom of use specified in this license.
6911
6912 Most GNU software, including some libraries, is covered by the
6913ordinary GNU General Public License. This license, the GNU Lesser
6914General Public License, applies to certain designated libraries, and
6915is quite different from the ordinary General Public License. We use
6916this license for certain libraries in order to permit linking those
6917libraries into non-free programs.
6918
6919 When a program is linked with a library, whether statically or using
6920a shared library, the combination of the two is legally speaking a
6921combined work, a derivative of the original library. The ordinary
6922General Public License therefore permits such linking only if the
6923entire combination fits its criteria of freedom. The Lesser General
6924Public License permits more lax criteria for linking other code with
6925the library.
6926
6927 We call this license the "Lesser" General Public License because it
6928does Less to protect the user's freedom than the ordinary General
6929Public License. It also provides other free software developers Less
6930of an advantage over competing non-free programs. These disadvantages
6931are the reason we use the ordinary General Public License for many
6932libraries. However, the Lesser license provides advantages in certain
6933special circumstances.
6934
6935 For example, on rare occasions, there may be a special need to
6936encourage the widest possible use of a certain library, so that it
6937becomes
6938a de-facto standard. To achieve this, non-free programs must be
6939allowed to use the library. A more frequent case is that a free
6940library does the same job as widely used non-free libraries. In this
6941case, there is little to gain by limiting the free library to free
6942software only, so we use the Lesser General Public License.
6943
6944 In other cases, permission to use a particular library in non-free
6945programs enables a greater number of people to use a large body of
6946free software. For example, permission to use the GNU C Library in
6947non-free programs enables many more people to use the whole GNU
6948operating system, as well as its variant, the GNU/Linux operating
6949system.
6950
6951 Although the Lesser General Public License is Less protective of the
6952users' freedom, it does ensure that the user of a program that is
6953linked with the Library has the freedom and the wherewithal to run
6954that program using a modified version of the Library.
6955
6956 The precise terms and conditions for copying, distribution and
6957modification follow. Pay close attention to the difference between a
6958"work based on the library" and a "work that uses the library". The
6959former contains code derived from the library, whereas the latter must
6960be combined with the library in order to run.
6961^L
6962 GNU LESSER GENERAL PUBLIC LICENSE
6963 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6964
6965 0. This License Agreement applies to any software library or other
6966program which contains a notice placed by the copyright holder or
6967other authorized party saying it may be distributed under the terms of
6968this Lesser General Public License (also called "this License").
6969Each licensee is addressed as "you".
6970
6971 A "library" means a collection of software functions and/or data
6972prepared so as to be conveniently linked with application programs
6973(which use some of those functions and data) to form executables.
6974
6975 The "Library", below, refers to any such software library or work
6976which has been distributed under these terms. A "work based on the
6977Library" means either the Library or any derivative work under
6978copyright law: that is to say, a work containing the Library or a
6979portion of it, either verbatim or with modifications and/or translated
6980straightforwardly into another language. (Hereinafter, translation is
6981included without limitation in the term "modification".)
6982
6983 "Source code" for a work means the preferred form of the work for
6984making modifications to it. For a library, complete source code means
6985all the source code for all modules it contains, plus any associated
6986interface definition files, plus the scripts used to control
6987compilation
6988and installation of the library.
6989
6990 Activities other than copying, distribution and modification are not
6991covered by this License; they are outside its scope. The act of
6992running a program using the Library is not restricted, and output from
6993such a program is covered only if its contents constitute a work based
6994on the Library (independent of the use of the Library in a tool for
6995writing it). Whether that is true depends on what the Library does
6996and what the program that uses the Library does.
6997
6998 1. You may copy and distribute verbatim copies of the Library's
6999complete source code as you receive it, in any medium, provided that
7000you conspicuously and appropriately publish on each copy an
7001appropriate copyright notice and disclaimer of warranty; keep intact
7002all the notices that refer to this License and to the absence of any
7003warranty; and distribute a copy of this License along with the
7004Library.
7005
7006 You may charge a fee for the physical act of transferring a copy,
7007and you may at your option offer warranty protection in exchange for a
7008fee.
7009
7010 2. You may modify your copy or copies of the Library or any portion
7011of it, thus forming a work based on the Library, and copy and
7012distribute such modifications or work under the terms of Section 1
7013above, provided that you also meet all of these conditions:
7014
7015 a) The modified work must itself be a software library.
7016
7017 b) You must cause the files modified to carry prominent notices
7018 stating that you changed the files and the date of any change.
7019
7020 c) You must cause the whole of the work to be licensed at no
7021 charge to all third parties under the terms of this License.
7022
7023 d) If a facility in the modified Library refers to a function or a
7024 table of data to be supplied by an application program that uses
7025 the facility, other than as an argument passed when the facility
7026 is invoked, then you must make a good faith effort to ensure that,
7027 in the event an application does not supply such function or
7028 table, the facility still operates, and performs whatever part of
7029 its purpose remains meaningful.
7030
7031 (For example, a function in a library to compute square roots has
7032 a purpose that is entirely well-defined independent of the
7033 application. Therefore, Subsection 2d requires that any
7034 application-supplied function or table used by this function must
7035 be optional: if the application does not supply it, the square
7036 root function must still compute square roots.)
7037
7038These requirements apply to the modified work as a whole. If
7039identifiable sections of that work are not derived from the Library,
7040and can be reasonably considered independent and separate works in
7041themselves, then this License, and its terms, do not apply to those
7042sections when you distribute them as separate works. But when you
7043distribute the same sections as part of a whole which is a work based
7044on the Library, the distribution of the whole must be on the terms of
7045this License, whose permissions for other licensees extend to the
7046entire whole, and thus to each and every part regardless of who wrote
7047it.
7048
7049Thus, it is not the intent of this section to claim rights or contest
7050your rights to work written entirely by you; rather, the intent is to
7051exercise the right to control the distribution of derivative or
7052collective works based on the Library.
7053
7054In addition, mere aggregation of another work not based on the Library
7055with the Library (or with a work based on the Library) on a volume of
7056a storage or distribution medium does not bring the other work under
7057the scope of this License.
7058
7059 3. You may opt to apply the terms of the ordinary GNU General Public
7060License instead of this License to a given copy of the Library. To do
7061this, you must alter all the notices that refer to this License, so
7062that they refer to the ordinary GNU General Public License, version 2,
7063instead of to this License. (If a newer version than version 2 of the
7064ordinary GNU General Public License has appeared, then you can specify
7065that version instead if you wish.) Do not make any other change in
7066these notices.
7067^L
7068 Once this change is made in a given copy, it is irreversible for
7069that copy, so the ordinary GNU General Public License applies to all
7070subsequent copies and derivative works made from that copy.
7071
7072 This option is useful when you wish to copy part of the code of
7073the Library into a program that is not a library.
7074
7075 4. You may copy and distribute the Library (or a portion or
7076derivative of it, under Section 2) in object code or executable form
7077under the terms of Sections 1 and 2 above provided that you accompany
7078it with the complete corresponding machine-readable source code, which
7079must be distributed under the terms of Sections 1 and 2 above on a
7080medium customarily used for software interchange.
7081
7082 If distribution of object code is made by offering access to copy
7083from a designated place, then offering equivalent access to copy the
7084source code from the same place satisfies the requirement to
7085distribute the source code, even though third parties are not
7086compelled to copy the source along with the object code.
7087
7088 5. A program that contains no derivative of any portion of the
7089Library, but is designed to work with the Library by being compiled or
7090linked with it, is called a "work that uses the Library". Such a
7091work, in isolation, is not a derivative work of the Library, and
7092therefore falls outside the scope of this License.
7093
7094 However, linking a "work that uses the Library" with the Library
7095creates an executable that is a derivative of the Library (because it
7096contains portions of the Library), rather than a "work that uses the
7097library". The executable is therefore covered by this License.
7098Section 6 states terms for distribution of such executables.
7099
7100 When a "work that uses the Library" uses material from a header file
7101that is part of the Library, the object code for the work may be a
7102derivative work of the Library even though the source code is not.
7103Whether this is true is especially significant if the work can be
7104linked without the Library, or if the work is itself a library. The
7105threshold for this to be true is not precisely defined by law.
7106
7107 If such an object file uses only numerical parameters, data
7108structure layouts and accessors, and small macros and small inline
7109functions (ten lines or less in length), then the use of the object
7110file is unrestricted, regardless of whether it is legally a derivative
7111work. (Executables containing this object code plus portions of the
7112Library will still fall under Section 6.)
7113
7114 Otherwise, if the work is a derivative of the Library, you may
7115distribute the object code for the work under the terms of Section 6.
7116Any executables containing that work also fall under Section 6,
7117whether or not they are linked directly with the Library itself.
7118^L
7119 6. As an exception to the Sections above, you may also combine or
7120link a "work that uses the Library" with the Library to produce a
7121work containing portions of the Library, and distribute that work
7122under terms of your choice, provided that the terms permit
7123modification of the work for the customer's own use and reverse
7124engineering for debugging such modifications.
7125
7126 You must give prominent notice with each copy of the work that the
7127Library is used in it and that the Library and its use are covered by
7128this License. You must supply a copy of this License. If the work
7129during execution displays copyright notices, you must include the
7130copyright notice for the Library among them, as well as a reference
7131directing the user to the copy of this License. Also, you must do one
7132of these things:
7133
7134 a) Accompany the work with the complete corresponding
7135 machine-readable source code for the Library including whatever
7136 changes were used in the work (which must be distributed under
7137 Sections 1 and 2 above); and, if the work is an executable linked
7138 with the Library, with the complete machine-readable "work that
7139 uses the Library", as object code and/or source code, so that the
7140 user can modify the Library and then relink to produce a modified
7141 executable containing the modified Library. (It is understood
7142 that the user who changes the contents of definitions files in the
7143 Library will not necessarily be able to recompile the application
7144 to use the modified definitions.)
7145
7146 b) Use a suitable shared library mechanism for linking with the
7147 Library. A suitable mechanism is one that (1) uses at run time a
7148 copy of the library already present on the user's computer system,
7149 rather than copying library functions into the executable, and (2)
7150 will operate properly with a modified version of the library, if
7151 the user installs one, as long as the modified version is
7152 interface-compatible with the version that the work was made with.
7153
7154 c) Accompany the work with a written offer, valid for at
7155 least three years, to give the same user the materials
7156 specified in Subsection 6a, above, for a charge no more
7157 than the cost of performing this distribution.
7158
7159 d) If distribution of the work is made by offering access to copy
7160 from a designated place, offer equivalent access to copy the above
7161 specified materials from the same place.
7162
7163 e) Verify that the user has already received a copy of these
7164 materials or that you have already sent this user a copy.
7165
7166 For an executable, the required form of the "work that uses the
7167Library" must include any data and utility programs needed for
7168reproducing the executable from it. However, as a special exception,
7169the materials to be distributed need not include anything that is
7170normally distributed (in either source or binary form) with the major
7171components (compiler, kernel, and so on) of the operating system on
7172which the executable runs, unless that component itself accompanies
7173the executable.
7174
7175 It may happen that this requirement contradicts the license
7176restrictions of other proprietary libraries that do not normally
7177accompany the operating system. Such a contradiction means you cannot
7178use both them and the Library together in an executable that you
7179distribute.
7180^L
7181 7. You may place library facilities that are a work based on the
7182Library side-by-side in a single library together with other library
7183facilities not covered by this License, and distribute such a combined
7184library, provided that the separate distribution of the work based on
7185the Library and of the other library facilities is otherwise
7186permitted, and provided that you do these two things:
7187
7188 a) Accompany the combined library with a copy of the same work
7189 based on the Library, uncombined with any other library
7190 facilities. This must be distributed under the terms of the
7191 Sections above.
7192
7193 b) Give prominent notice with the combined library of the fact
7194 that part of it is a work based on the Library, and explaining
7195 where to find the accompanying uncombined form of the same work.
7196
7197 8. You may not copy, modify, sublicense, link with, or distribute
7198the Library except as expressly provided under this License. Any
7199attempt otherwise to copy, modify, sublicense, link with, or
7200distribute the Library is void, and will automatically terminate your
7201rights under this License. However, parties who have received copies,
7202or rights, from you under this License will not have their licenses
7203terminated so long as such parties remain in full compliance.
7204
7205 9. You are not required to accept this License, since you have not
7206signed it. However, nothing else grants you permission to modify or
7207distribute the Library or its derivative works. These actions are
7208prohibited by law if you do not accept this License. Therefore, by
7209modifying or distributing the Library (or any work based on the
7210Library), you indicate your acceptance of this License to do so, and
7211all its terms and conditions for copying, distributing or modifying
7212the Library or works based on it.
7213
7214 10. Each time you redistribute the Library (or any work based on the
7215Library), the recipient automatically receives a license from the
7216original licensor to copy, distribute, link with or modify the Library
7217subject to these terms and conditions. You may not impose any further
7218restrictions on the recipients' exercise of the rights granted herein.
7219You are not responsible for enforcing compliance by third parties with
7220this License.
7221^L
7222 11. If, as a consequence of a court judgment or allegation of patent
7223infringement or for any other reason (not limited to patent issues),
7224conditions are imposed on you (whether by court order, agreement or
7225otherwise) that contradict the conditions of this License, they do not
7226excuse you from the conditions of this License. If you cannot
7227distribute so as to satisfy simultaneously your obligations under this
7228License and any other pertinent obligations, then as a consequence you
7229may not distribute the Library at all. For example, if a patent
7230license would not permit royalty-free redistribution of the Library by
7231all those who receive copies directly or indirectly through you, then
7232the only way you could satisfy both it and this License would be to
7233refrain entirely from distribution of the Library.
7234
7235If any portion of this section is held invalid or unenforceable under
7236any particular circumstance, the balance of the section is intended to
7237apply, and the section as a whole is intended to apply in other
7238circumstances.
7239
7240It is not the purpose of this section to induce you to infringe any
7241patents or other property right claims or to contest validity of any
7242such claims; this section has the sole purpose of protecting the
7243integrity of the free software distribution system which is
7244implemented by public license practices. Many people have made
7245generous contributions to the wide range of software distributed
7246through that system in reliance on consistent application of that
7247system; it is up to the author/donor to decide if he or she is willing
7248to distribute software through any other system and a licensee cannot
7249impose that choice.
7250
7251This section is intended to make thoroughly clear what is believed to
7252be a consequence of the rest of this License.
7253
7254 12. If the distribution and/or use of the Library is restricted in
7255certain countries either by patents or by copyrighted interfaces, the
7256original copyright holder who places the Library under this License
7257may add an explicit geographical distribution limitation excluding those
7258countries, so that distribution is permitted only in or among
7259countries not thus excluded. In such case, this License incorporates
7260the limitation as if written in the body of this License.
7261
7262 13. The Free Software Foundation may publish revised and/or new
7263versions of the Lesser General Public License from time to time.
7264Such new versions will be similar in spirit to the present version,
7265but may differ in detail to address new problems or concerns.
7266
7267Each version is given a distinguishing version number. If the Library
7268specifies a version number of this License which applies to it and
7269"any later version", you have the option of following the terms and
7270conditions either of that version or of any later version published by
7271the Free Software Foundation. If the Library does not specify a
7272license version number, you may choose any version ever published by
7273the Free Software Foundation.
7274^L
7275 14. If you wish to incorporate parts of the Library into other free
7276programs whose distribution conditions are incompatible with these,
7277write to the author to ask for permission. For software which is
7278copyrighted by the Free Software Foundation, write to the Free
7279Software Foundation; we sometimes make exceptions for this. Our
7280decision will be guided by the two goals of preserving the free status
7281of all derivatives of our free software and of promoting the sharing
7282and reuse of software generally.
7283
7284 NO WARRANTY
7285
7286 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
7287WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
7288EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
7289OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
7290KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
7291IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
7292PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
7293LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
7294THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
7295
7296 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
7297WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
7298AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
7299FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
7300CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
7301LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
7302RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
7303FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
7304SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
7305DAMAGES.
7306
7307 END OF TERMS AND CONDITIONS
7308^L
7309 How to Apply These Terms to Your New Libraries
7310
7311 If you develop a new library, and you want it to be of the greatest
7312possible use to the public, we recommend making it free software that
7313everyone can redistribute and change. You can do so by permitting
7314redistribution under these terms (or, alternatively, under the terms
7315of the ordinary General Public License).
7316
7317 To apply these terms, attach the following notices to the library.
7318It is safest to attach them to the start of each source file to most
7319effectively convey the exclusion of warranty; and each file should
7320have at least the "copyright" line and a pointer to where the full
7321notice is found.
7322
7323
7324 <one line to give the library's name and a brief idea of what it
7325does.>
7326 Copyright (C) <year> <name of author>
7327
7328 This library is free software; you can redistribute it and/or
7329 modify it under the terms of the GNU Lesser General Public
7330 License as published by the Free Software Foundation; either
7331 version 2 of the License, or (at your option) any later version.
7332
7333 This library is distributed in the hope that it will be useful,
7334 but WITHOUT ANY WARRANTY; without even the implied warranty of
7335 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7336 Lesser General Public License for more details.
7337
7338 You should have received a copy of the GNU Lesser General Public
7339 License along with this library; if not, write to the Free Software
7340 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7341
7342Also add information on how to contact you by electronic and paper
7343mail.
7344
7345You should also get your employer (if you work as a programmer) or
7346your
7347school, if any, to sign a "copyright disclaimer" for the library, if
7348necessary. Here is a sample; alter the names:
7349
7350 Yoyodyne, Inc., hereby disclaims all copyright interest in the
7351 library `Frob' (a library for tweaking knobs) written by James
7352Random Hacker.
7353
7354 <signature of Ty Coon>, 1 April 1990
7355 Ty Coon, President of Vice
7356
7357That's all there is to it!
7358
7359
7360 GNU GENERAL PUBLIC LICENSE
7361 Version 2, June 1991
7362
7363 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7364 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7365 Everyone is permitted to copy and distribute verbatim copies
7366 of this license document, but changing it is not allowed.
7367
7368 Preamble
7369
7370 The licenses for most software are designed to take away your
7371freedom to share and change it. By contrast, the GNU General Public
7372License is intended to guarantee your freedom to share and change free
7373software--to make sure the software is free for all its users. This
7374General Public License applies to most of the Free Software
7375Foundation's software and to any other program whose authors commit to
7376using it. (Some other Free Software Foundation software is covered by
7377the GNU Library General Public License instead.) You can apply it to
7378your programs, too.
7379
7380 When we speak of free software, we are referring to freedom, not
7381price. Our General Public Licenses are designed to make sure that you
7382have the freedom to distribute copies of free software (and charge for
7383this service if you wish), that you receive source code or can get it
7384if you want it, that you can change the software or use pieces of it
7385in new free programs; and that you know you can do these things.
7386
7387 To protect your rights, we need to make restrictions that forbid
7388anyone to deny you these rights or to ask you to surrender the rights.
7389These restrictions translate to certain responsibilities for you if you
7390distribute copies of the software, or if you modify it.
7391
7392 For example, if you distribute copies of such a program, whether
7393gratis or for a fee, you must give the recipients all the rights that
7394you have. You must make sure that they, too, receive or can get the
7395source code. And you must show them these terms so they know their
7396rights.
7397
7398 We protect your rights with two steps: (1) copyright the software, and
7399(2) offer you this license which gives you legal permission to copy,
7400distribute and/or modify the software.
7401
7402 Also, for each author's protection and ours, we want to make certain
7403that everyone understands that there is no warranty for this free
7404software. If the software is modified by someone else and passed on, we
7405want its recipients to know that what they have is not the original, so
7406that any problems introduced by others will not reflect on the original
7407authors' reputations.
7408
7409 Finally, any free program is threatened constantly by software
7410patents. We wish to avoid the danger that redistributors of a free
7411program will individually obtain patent licenses, in effect making the
7412program proprietary. To prevent this, we have made it clear that any
7413patent must be licensed for everyone's free use or not licensed at all.
7414
7415 The precise terms and conditions for copying, distribution and
7416modification follow.
7417
7418 GNU GENERAL PUBLIC LICENSE
7419 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7420
7421 0. This License applies to any program or other work which contains
7422a notice placed by the copyright holder saying it may be distributed
7423under the terms of this General Public License. The "Program", below,
7424refers to any such program or work, and a "work based on the Program"
7425means either the Program or any derivative work under copyright law:
7426that is to say, a work containing the Program or a portion of it,
7427either verbatim or with modifications and/or translated into another
7428language. (Hereinafter, translation is included without limitation in
7429the term "modification".) Each licensee is addressed as "you".
7430
7431Activities other than copying, distribution and modification are not
7432covered by this License; they are outside its scope. The act of
7433running the Program is not restricted, and the output from the Program
7434is covered only if its contents constitute a work based on the
7435Program (independent of having been made by running the Program).
7436Whether that is true depends on what the Program does.
7437
7438 1. You may copy and distribute verbatim copies of the Program's
7439source code as you receive it, in any medium, provided that you
7440conspicuously and appropriately publish on each copy an appropriate
7441copyright notice and disclaimer of warranty; keep intact all the
7442notices that refer to this License and to the absence of any warranty;
7443and give any other recipients of the Program a copy of this License
7444along with the Program.
7445
7446You may charge a fee for the physical act of transferring a copy, and
7447you may at your option offer warranty protection in exchange for a fee.
7448
7449 2. You may modify your copy or copies of the Program or any portion
7450of it, thus forming a work based on the Program, and copy and
7451distribute such modifications or work under the terms of Section 1
7452above, provided that you also meet all of these conditions:
7453
7454 a) You must cause the modified files to carry prominent notices
7455 stating that you changed the files and the date of any change.
7456
7457 b) You must cause any work that you distribute or publish, that in
7458 whole or in part contains or is derived from the Program or any
7459 part thereof, to be licensed as a whole at no charge to all third
7460 parties under the terms of this License.
7461
7462 c) If the modified program normally reads commands interactively
7463 when run, you must cause it, when started running for such
7464 interactive use in the most ordinary way, to print or display an
7465 announcement including an appropriate copyright notice and a
7466 notice that there is no warranty (or else, saying that you provide
7467 a warranty) and that users may redistribute the program under
7468 these conditions, and telling the user how to view a copy of this
7469 License. (Exception: if the Program itself is interactive but
7470 does not normally print such an announcement, your work based on
7471 the Program is not required to print an announcement.)
7472
7473These requirements apply to the modified work as a whole. If
7474identifiable sections of that work are not derived from the Program,
7475and can be reasonably considered independent and separate works in
7476themselves, then this License, and its terms, do not apply to those
7477sections when you distribute them as separate works. But when you
7478distribute the same sections as part of a whole which is a work based
7479on the Program, the distribution of the whole must be on the terms of
7480this License, whose permissions for other licensees extend to the
7481entire whole, and thus to each and every part regardless of who wrote it.
7482
7483Thus, it is not the intent of this section to claim rights or contest
7484your rights to work written entirely by you; rather, the intent is to
7485exercise the right to control the distribution of derivative or
7486collective works based on the Program.
7487
7488In addition, mere aggregation of another work not based on the Program
7489with the Program (or with a work based on the Program) on a volume of
7490a storage or distribution medium does not bring the other work under
7491the scope of this License.
7492
7493 3. You may copy and distribute the Program (or a work based on it,
7494under Section 2) in object code or executable form under the terms of
7495Sections 1 and 2 above provided that you also do one of the following:
7496
7497 a) Accompany it with the complete corresponding machine-readable
7498 source code, which must be distributed under the terms of Sections
7499 1 and 2 above on a medium customarily used for software interchange; or,
7500
7501 b) Accompany it with a written offer, valid for at least three
7502 years, to give any third party, for a charge no more than your
7503 cost of physically performing source distribution, a complete
7504 machine-readable copy of the corresponding source code, to be
7505 distributed under the terms of Sections 1 and 2 above on a medium
7506 customarily used for software interchange; or,
7507
7508 c) Accompany it with the information you received as to the offer
7509 to distribute corresponding source code. (This alternative is
7510 allowed only for noncommercial distribution and only if you
7511 received the program in object code or executable form with such
7512 an offer, in accord with Subsection b above.)
7513
7514The source code for a work means the preferred form of the work for
7515making modifications to it. For an executable work, complete source
7516code means all the source code for all modules it contains, plus any
7517associated interface definition files, plus the scripts used to
7518control compilation and installation of the executable. However, as a
7519special exception, the source code distributed need not include
7520anything that is normally distributed (in either source or binary
7521form) with the major components (compiler, kernel, and so on) of the
7522operating system on which the executable runs, unless that component
7523itself accompanies the executable.
7524
7525If distribution of executable or object code is made by offering
7526access to copy from a designated place, then offering equivalent
7527access to copy the source code from the same place counts as
7528distribution of the source code, even though third parties are not
7529compelled to copy the source along with the object code.
7530
7531 4. You may not copy, modify, sublicense, or distribute the Program
7532except as expressly provided under this License. Any attempt
7533otherwise to copy, modify, sublicense or distribute the Program is
7534void, and will automatically terminate your rights under this License.
7535However, parties who have received copies, or rights, from you under
7536this License will not have their licenses terminated so long as such
7537parties remain in full compliance.
7538
7539 5. You are not required to accept this License, since you have not
7540signed it. However, nothing else grants you permission to modify or
7541distribute the Program or its derivative works. These actions are
7542prohibited by law if you do not accept this License. Therefore, by
7543modifying or distributing the Program (or any work based on the
7544Program), you indicate your acceptance of this License to do so, and
7545all its terms and conditions for copying, distributing or modifying
7546the Program or works based on it.
7547
7548 6. Each time you redistribute the Program (or any work based on the
7549Program), the recipient automatically receives a license from the
7550original licensor to copy, distribute or modify the Program subject to
7551these terms and conditions. You may not impose any further
7552restrictions on the recipients' exercise of the rights granted herein.
7553You are not responsible for enforcing compliance by third parties to
7554this License.
7555
7556 7. If, as a consequence of a court judgment or allegation of patent
7557infringement or for any other reason (not limited to patent issues),
7558conditions are imposed on you (whether by court order, agreement or
7559otherwise) that contradict the conditions of this License, they do not
7560excuse you from the conditions of this License. If you cannot
7561distribute so as to satisfy simultaneously your obligations under this
7562License and any other pertinent obligations, then as a consequence you
7563may not distribute the Program at all. For example, if a patent
7564license would not permit royalty-free redistribution of the Program by
7565all those who receive copies directly or indirectly through you, then
7566the only way you could satisfy both it and this License would be to
7567refrain entirely from distribution of the Program.
7568
7569If any portion of this section is held invalid or unenforceable under
7570any particular circumstance, the balance of the section is intended to
7571apply and the section as a whole is intended to apply in other
7572circumstances.
7573
7574It is not the purpose of this section to induce you to infringe any
7575patents or other property right claims or to contest validity of any
7576such claims; this section has the sole purpose of protecting the
7577integrity of the free software distribution system, which is
7578implemented by public license practices. Many people have made
7579generous contributions to the wide range of software distributed
7580through that system in reliance on consistent application of that
7581system; it is up to the author/donor to decide if he or she is willing
7582to distribute software through any other system and a licensee cannot
7583impose that choice.
7584
7585This section is intended to make thoroughly clear what is believed to
7586be a consequence of the rest of this License.
7587
7588 8. If the distribution and/or use of the Program is restricted in
7589certain countries either by patents or by copyrighted interfaces, the
7590original copyright holder who places the Program under this License
7591may add an explicit geographical distribution limitation excluding
7592those countries, so that distribution is permitted only in or among
7593countries not thus excluded. In such case, this License incorporates
7594the limitation as if written in the body of this License.
7595
7596 9. The Free Software Foundation may publish revised and/or new versions
7597of the General Public License from time to time. Such new versions will
7598be similar in spirit to the present version, but may differ in detail to
7599address new problems or concerns.
7600
7601Each version is given a distinguishing version number. If the Program
7602specifies a version number of this License which applies to it and "any
7603later version", you have the option of following the terms and conditions
7604either of that version or of any later version published by the Free
7605Software Foundation. If the Program does not specify a version number of
7606this License, you may choose any version ever published by the Free Software
7607Foundation.
7608
7609 10. If you wish to incorporate parts of the Program into other free
7610programs whose distribution conditions are different, write to the author
7611to ask for permission. For software which is copyrighted by the Free
7612Software Foundation, write to the Free Software Foundation; we sometimes
7613make exceptions for this. Our decision will be guided by the two goals
7614of preserving the free status of all derivatives of our free software and
7615of promoting the sharing and reuse of software generally.
7616
7617 NO WARRANTY
7618
7619 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
7620FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
7621OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
7622PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
7623OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7624MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
7625TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
7626PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
7627REPAIR OR CORRECTION.
7628
7629 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
7630WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7631REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7632INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7633OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7634TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7635YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7636PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7637POSSIBILITY OF SUCH DAMAGES.
7638
7639 END OF TERMS AND CONDITIONS
7640
7641 How to Apply These Terms to Your New Programs
7642
7643 If you develop a new program, and you want it to be of the greatest
7644possible use to the public, the best way to achieve this is to make it
7645free software which everyone can redistribute and change under these terms.
7646
7647 To do so, attach the following notices to the program. It is safest
7648to attach them to the start of each source file to most effectively
7649convey the exclusion of warranty; and each file should have at least
7650the "copyright" line and a pointer to where the full notice is found.
7651
7652 <one line to give the program's name and a brief idea of what it does.>
7653 Copyright (C) 19yy <name of author>
7654
7655 This program is free software; you can redistribute it and/or modify
7656 it under the terms of the GNU General Public License as published by
7657 the Free Software Foundation; either version 2 of the License, or
7658 (at your option) any later version.
7659
7660 This program is distributed in the hope that it will be useful,
7661 but WITHOUT ANY WARRANTY; without even the implied warranty of
7662 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7663 GNU General Public License for more details.
7664
7665 You should have received a copy of the GNU General Public License
7666 along with this program; if not, write to the Free Software
7667 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7668
7669
7670Also add information on how to contact you by electronic and paper mail.
7671
7672If the program is interactive, make it output a short notice like this
7673when it starts in an interactive mode:
7674
7675 Gnomovision version 69, Copyright (C) 19yy name of author
7676 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
7677 This is free software, and you are welcome to redistribute it
7678 under certain conditions; type `show c' for details.
7679
7680The hypothetical commands `show w' and `show c' should show the appropriate
7681parts of the General Public License. Of course, the commands you use may
7682be called something other than `show w' and `show c'; they could even be
7683mouse-clicks or menu items--whatever suits your program.
7684
7685You should also get your employer (if you work as a programmer) or your
7686school, if any, to sign a "copyright disclaimer" for the program, if
7687necessary. Here is a sample; alter the names:
7688
7689 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
7690 `Gnomovision' (which makes passes at compilers) written by James Hacker.
7691
7692 <signature of Ty Coon>, 1 April 1989
7693 Ty Coon, President of Vice
7694
7695This General Public License does not permit incorporating your program into
7696proprietary programs. If your program is a subroutine library, you may
7697consider it more useful to permit linking proprietary applications with the
7698library. If this is what you want to do, use the GNU Library General
7699Public License instead of this License.
7700 GNU GENERAL PUBLIC LICENSE
7701 Version 2, June 1991
7702
7703 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
7704 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
7705 Everyone is permitted to copy and distribute verbatim copies
7706 of this license document, but changing it is not allowed.
7707
7708 Preamble
7709
7710 The licenses for most software are designed to take away your
7711freedom to share and change it. By contrast, the GNU General Public
7712License is intended to guarantee your freedom to share and change free
7713software--to make sure the software is free for all its users. This
7714General Public License applies to most of the Free Software
7715Foundation's software and to any other program whose authors commit to
7716using it. (Some other Free Software Foundation software is covered by
7717the GNU Library General Public License instead.) You can apply it to
7718your programs, too.
7719
7720 When we speak of free software, we are referring to freedom, not
7721price. Our General Public Licenses are designed to make sure that you
7722have the freedom to distribute copies of free software (and charge for
7723this service if you wish), that you receive source code or can get it
7724if you want it, that you can change the software or use pieces of it
7725in new free programs; and that you know you can do these things.
7726
7727 To protect your rights, we need to make restrictions that forbid
7728anyone to deny you these rights or to ask you to surrender the rights.
7729These restrictions translate to certain responsibilities for you if you
7730distribute copies of the software, or if you modify it.
7731
7732 For example, if you distribute copies of such a program, whether
7733gratis or for a fee, you must give the recipients all the rights that
7734you have. You must make sure that they, too, receive or can get the
7735source code. And you must show them these terms so they know their
7736rights.
7737
7738 We protect your rights with two steps: (1) copyright the software, and
7739(2) offer you this license which gives you legal permission to copy,
7740distribute and/or modify the software.
7741
7742 Also, for each author's protection and ours, we want to make certain
7743that everyone understands that there is no warranty for this free
7744software. If the software is modified by someone else and passed on, we
7745want its recipients to know that what they have is not the original, so
7746that any problems introduced by others will not reflect on the original
7747authors' reputations.
7748
7749 Finally, any free program is threatened constantly by software
7750patents. We wish to avoid the danger that redistributors of a free
7751program will individually obtain patent licenses, in effect making the
7752program proprietary. To prevent this, we have made it clear that any
7753patent must be licensed for everyone's free use or not licensed at all.
7754
7755 The precise terms and conditions for copying, distribution and
7756modification follow.
7757
7758 GNU GENERAL PUBLIC LICENSE
7759 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
7760
7761 0. This License applies to any program or other work which contains
7762a notice placed by the copyright holder saying it may be distributed
7763under the terms of this General Public License. The "Program", below,
7764refers to any such program or work, and a "work based on the Program"
7765means either the Program or any derivative work under copyright law:
7766that is to say, a work containing the Program or a portion of it,
7767either verbatim or with modifications and/or translated into another
7768language. (Hereinafter, translation is included without limitation in
7769the term "modification".) Each licensee is addressed as "you".
7770
7771Activities other than copying, distribution and modification are not
7772covered by this License; they are outside its scope. The act of
7773running the Program is not restricted, and the output from the Program
7774is covered only if its contents constitute a work based on the
7775Program (independent of having been made by running the Program).
7776Whether that is true depends on what the Program does.
7777
7778 1. You may copy and distribute verbatim copies of the Program's
7779source code as you receive it, in any medium, provided that you
7780conspicuously and appropriately publish on each copy an appropriate
7781copyright notice and disclaimer of warranty; keep intact all the
7782notices that refer to this License and to the absence of any warranty;
7783and give any other recipients of the Program a copy of this License
7784along with the Program.
7785
7786You may charge a fee for the physical act of transferring a copy, and
7787you may at your option offer warranty protection in exchange for a fee.
7788
7789 2. You may modify your copy or copies of the Program or any portion
7790of it, thus forming a work based on the Program, and copy and
7791distribute such modifications or work under the terms of Section 1
7792above, provided that you also meet all of these conditions:
7793
7794 a) You must cause the modified files to carry prominent notices
7795 stating that you changed the files and the date of any change.
7796
7797 b) You must cause any work that you distribute or publish, that in
7798 whole or in part contains or is derived from the Program or any
7799 part thereof, to be licensed as a whole at no charge to all third
7800 parties under the terms of this License.
7801
7802 c) If the modified program normally reads commands interactively
7803 when run, you must cause it, when started running for such
7804 interactive use in the most ordinary way, to print or display an
7805 announcement including an appropriate copyright notice and a
7806 notice that there is no warranty (or else, saying that you provide
7807 a warranty) and that users may redistribute the program under
7808 these conditions, and telling the user how to view a copy of this
7809 License. (Exception: if the Program itself is interactive but
7810 does not normally print such an announcement, your work based on
7811 the Program is not required to print an announcement.)
7812
7813These requirements apply to the modified work as a whole. If
7814identifiable sections of that work are not derived from the Program,
7815and can be reasonably considered independent and separate works in
7816themselves, then this License, and its terms, do not apply to those
7817sections when you distribute them as separate works. But when you
7818distribute the same sections as part of a whole which is a work based
7819on the Program, the distribution of the whole must be on the terms of
7820this License, whose permissions for other licensees extend to the
7821entire whole, and thus to each and every part regardless of who wrote it.
7822
7823Thus, it is not the intent of this section to claim rights or contest
7824your rights to work written entirely by you; rather, the intent is to
7825exercise the right to control the distribution of derivative or
7826collective works based on the Program.
7827
7828In addition, mere aggregation of another work not based on the Program
7829with the Program (or with a work based on the Program) on a volume of
7830a storage or distribution medium does not bring the other work under
7831the scope of this License.
7832
7833 3. You may copy and distribute the Program (or a work based on it,
7834under Section 2) in object code or executable form under the terms of
7835Sections 1 and 2 above provided that you also do one of the following:
7836
7837 a) Accompany it with the complete corresponding machine-readable
7838 source code, which must be distributed under the terms of Sections
7839 1 and 2 above on a medium customarily used for software interchange; or,
7840
7841 b) Accompany it with a written offer, valid for at least three
7842 years, to give any third party, for a charge no more than your
7843 cost of physically performing source distribution, a complete
7844 machine-readable copy of the corresponding source code, to be
7845 distributed under the terms of Sections 1 and 2 above on a medium
7846 customarily used for software interchange; or,
7847
7848 c) Accompany it with the information you received as to the offer
7849 to distribute corresponding source code. (This alternative is
7850 allowed only for noncommercial distribution and only if you
7851 received the program in object code or executable form with such
7852 an offer, in accord with Subsection b above.)
7853
7854The source code for a work means the preferred form of the work for
7855making modifications to it. For an executable work, complete source
7856code means all the source code for all modules it contains, plus any
7857associated interface definition files, plus the scripts used to
7858control compilation and installation of the executable. However, as a
7859special exception, the source code distributed need not include
7860anything that is normally distributed (in either source or binary
7861form) with the major components (compiler, kernel, and so on) of the
7862operating system on which the executable runs, unless that component
7863itself accompanies the executable.
7864
7865If distribution of executable or object code is made by offering
7866access to copy from a designated place, then offering equivalent
7867access to copy the source code from the same place counts as
7868distribution of the source code, even though third parties are not
7869compelled to copy the source along with the object code.
7870
7871 4. You may not copy, modify, sublicense, or distribute the Program
7872except as expressly provided under this License. Any attempt
7873otherwise to copy, modify, sublicense or distribute the Program is
7874void, and will automatically terminate your rights under this License.
7875However, parties who have received copies, or rights, from you under
7876this License will not have their licenses terminated so long as such
7877parties remain in full compliance.
7878
7879 5. You are not required to accept this License, since you have not
7880signed it. However, nothing else grants you permission to modify or
7881distribute the Program or its derivative works. These actions are
7882prohibited by law if you do not accept this License. Therefore, by
7883modifying or distributing the Program (or any work based on the
7884Program), you indicate your acceptance of this License to do so, and
7885all its terms and conditions for copying, distributing or modifying
7886the Program or works based on it.
7887
7888 6. Each time you redistribute the Program (or any work based on the
7889Program), the recipient automatically receives a license from the
7890original licensor to copy, distribute or modify the Program subject to
7891these terms and conditions. You may not impose any further
7892restrictions on the recipients' exercise of the rights granted herein.
7893You are not responsible for enforcing compliance by third parties to
7894this License.
7895
7896 7. If, as a consequence of a court judgment or allegation of patent
7897infringement or for any other reason (not limited to patent issues),
7898conditions are imposed on you (whether by court order, agreement or
7899otherwise) that contradict the conditions of this License, they do not
7900excuse you from the conditions of this License. If you cannot
7901distribute so as to satisfy simultaneously your obligations under this
7902License and any other pertinent obligations, then as a consequence you
7903may not distribute the Program at all. For example, if a patent
7904license would not permit royalty-free redistribution of the Program by
7905all those who receive copies directly or indirectly through you, then
7906the only way you could satisfy both it and this License would be to
7907refrain entirely from distribution of the Program.
7908
7909If any portion of this section is held invalid or unenforceable under
7910any particular circumstance, the balance of the section is intended to
7911apply and the section as a whole is intended to apply in other
7912circumstances.
7913
7914It is not the purpose of this section to induce you to infringe any
7915patents or other property right claims or to contest validity of any
7916such claims; this section has the sole purpose of protecting the
7917integrity of the free software distribution system, which is
7918implemented by public license practices. Many people have made
7919generous contributions to the wide range of software distributed
7920through that system in reliance on consistent application of that
7921system; it is up to the author/donor to decide if he or she is willing
7922to distribute software through any other system and a licensee cannot
7923impose that choice.
7924
7925This section is intended to make thoroughly clear what is believed to
7926be a consequence of the rest of this License.
7927
7928 8. If the distribution and/or use of the Program is restricted in
7929certain countries either by patents or by copyrighted interfaces, the
7930original copyright holder who places the Program under this License
7931may add an explicit geographical distribution limitation excluding
7932those countries, so that distribution is permitted only in or among
7933countries not thus excluded. In such case, this License incorporates
7934the limitation as if written in the body of this License.
7935
7936 9. The Free Software Foundation may publish revised and/or new versions
7937of the General Public License from time to time. Such new versions will
7938be similar in spirit to the present version, but may differ in detail to
7939address new problems or concerns.
7940
7941Each version is given a distinguishing version number. If the Program
7942specifies a version number of this License which applies to it and "any
7943later version", you have the option of following the terms and conditions
7944either of that version or of any later version published by the Free
7945Software Foundation. If the Program does not specify a version number of
7946this License, you may choose any version ever published by the Free Software
7947Foundation.
7948
7949 10. If you wish to incorporate parts of the Program into other free
7950programs whose distribution conditions are different, write to the author
7951to ask for permission. For software which is copyrighted by the Free
7952Software Foundation, write to the Free Software Foundation; we sometimes
7953make exceptions for this. Our decision will be guided by the two goals
7954of preserving the free status of all derivatives of our free software and
7955of promoting the sharing and reuse of software generally.
7956
7957 NO WARRANTY
7958
7959 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
7960FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
7961OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
7962PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
7963OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
7964MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
7965TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
7966PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
7967REPAIR OR CORRECTION.
7968
7969 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
7970WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
7971REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
7972INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
7973OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
7974TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
7975YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
7976PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
7977POSSIBILITY OF SUCH DAMAGES.
7978
7979 END OF TERMS AND CONDITIONS
7980
7981 How to Apply These Terms to Your New Programs
7982
7983 If you develop a new program, and you want it to be of the greatest
7984possible use to the public, the best way to achieve this is to make it
7985free software which everyone can redistribute and change under these terms.
7986
7987 To do so, attach the following notices to the program. It is safest
7988to attach them to the start of each source file to most effectively
7989convey the exclusion of warranty; and each file should have at least
7990the "copyright" line and a pointer to where the full notice is found.
7991
7992 <one line to give the program's name and a brief idea of what it does.>
7993 Copyright (C) <year> <name of author>
7994
7995 This program is free software; you can redistribute it and/or modify
7996 it under the terms of the GNU General Public License as published by
7997 the Free Software Foundation; either version 2 of the License, or
7998 (at your option) any later version.
7999
8000 This program is distributed in the hope that it will be useful,
8001 but WITHOUT ANY WARRANTY; without even the implied warranty of
8002 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8003 GNU General Public License for more details.
8004
8005 You should have received a copy of the GNU General Public License
8006 along with this program; if not, write to the Free Software
8007 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8008
8009
8010Also add information on how to contact you by electronic and paper mail.
8011
8012If the program is interactive, make it output a short notice like this
8013when it starts in an interactive mode:
8014
8015 Gnomovision version 69, Copyright (C) year name of author
8016 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
8017 This is free software, and you are welcome to redistribute it
8018 under certain conditions; type `show c' for details.
8019
8020The hypothetical commands `show w' and `show c' should show the appropriate
8021parts of the General Public License. Of course, the commands you use may
8022be called something other than `show w' and `show c'; they could even be
8023mouse-clicks or menu items--whatever suits your program.
8024
8025You should also get your employer (if you work as a programmer) or your
8026school, if any, to sign a "copyright disclaimer" for the program, if
8027necessary. Here is a sample; alter the names:
8028
8029 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
8030 `Gnomovision' (which makes passes at compilers) written by James Hacker.
8031
8032 <signature of Ty Coon>, 1 April 1989
8033 Ty Coon, President of Vice
8034
8035This General Public License does not permit incorporating your program into
8036proprietary programs. If your program is a subroutine library, you may
8037consider it more useful to permit linking proprietary applications with the
8038library. If this is what you want to do, use the GNU Library General
8039Public License instead of this License.
8040 GNU GENERAL PUBLIC LICENSE
8041 Version 2, June 1991
8042
8043 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
8044 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8045 Everyone is permitted to copy and distribute verbatim copies
8046 of this license document, but changing it is not allowed.
8047
8048 Preamble
8049
8050 The licenses for most software are designed to take away your
8051freedom to share and change it. By contrast, the GNU General Public
8052License is intended to guarantee your freedom to share and change free
8053software--to make sure the software is free for all its users. This
8054General Public License applies to most of the Free Software
8055Foundation's software and to any other program whose authors commit to
8056using it. (Some other Free Software Foundation software is covered by
8057the GNU Library General Public License instead.) You can apply it to
8058your programs, too.
8059
8060 When we speak of free software, we are referring to freedom, not
8061price. Our General Public Licenses are designed to make sure that you
8062have the freedom to distribute copies of free software (and charge for
8063this service if you wish), that you receive source code or can get it
8064if you want it, that you can change the software or use pieces of it
8065in new free programs; and that you know you can do these things.
8066
8067 To protect your rights, we need to make restrictions that forbid
8068anyone to deny you these rights or to ask you to surrender the rights.
8069These restrictions translate to certain responsibilities for you if you
8070distribute copies of the software, or if you modify it.
8071
8072 For example, if you distribute copies of such a program, whether
8073gratis or for a fee, you must give the recipients all the rights that
8074you have. You must make sure that they, too, receive or can get the
8075source code. And you must show them these terms so they know their
8076rights.
8077
8078 We protect your rights with two steps: (1) copyright the software, and
8079(2) offer you this license which gives you legal permission to copy,
8080distribute and/or modify the software.
8081
8082 Also, for each author's protection and ours, we want to make certain
8083that everyone understands that there is no warranty for this free
8084software. If the software is modified by someone else and passed on, we
8085want its recipients to know that what they have is not the original, so
8086that any problems introduced by others will not reflect on the original
8087authors' reputations.
8088
8089 Finally, any free program is threatened constantly by software
8090patents. We wish to avoid the danger that redistributors of a free
8091program will individually obtain patent licenses, in effect making the
8092program proprietary. To prevent this, we have made it clear that any
8093patent must be licensed for everyone's free use or not licensed at all.
8094
8095 The precise terms and conditions for copying, distribution and
8096modification follow.
8097
8098 GNU GENERAL PUBLIC LICENSE
8099 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
8100
8101 0. This License applies to any program or other work which contains
8102a notice placed by the copyright holder saying it may be distributed
8103under the terms of this General Public License. The "Program", below,
8104refers to any such program or work, and a "work based on the Program"
8105means either the Program or any derivative work under copyright law:
8106that is to say, a work containing the Program or a portion of it,
8107either verbatim or with modifications and/or translated into another
8108language. (Hereinafter, translation is included without limitation in
8109the term "modification".) Each licensee is addressed as "you".
8110
8111Activities other than copying, distribution and modification are not
8112covered by this License; they are outside its scope. The act of
8113running the Program is not restricted, and the output from the Program
8114is covered only if its contents constitute a work based on the
8115Program (independent of having been made by running the Program).
8116Whether that is true depends on what the Program does.
8117
8118 1. You may copy and distribute verbatim copies of the Program's
8119source code as you receive it, in any medium, provided that you
8120conspicuously and appropriately publish on each copy an appropriate
8121copyright notice and disclaimer of warranty; keep intact all the
8122notices that refer to this License and to the absence of any warranty;
8123and give any other recipients of the Program a copy of this License
8124along with the Program.
8125
8126You may charge a fee for the physical act of transferring a copy, and
8127you may at your option offer warranty protection in exchange for a fee.
8128
8129 2. You may modify your copy or copies of the Program or any portion
8130of it, thus forming a work based on the Program, and copy and
8131distribute such modifications or work under the terms of Section 1
8132above, provided that you also meet all of these conditions:
8133
8134 a) You must cause the modified files to carry prominent notices
8135 stating that you changed the files and the date of any change.
8136
8137 b) You must cause any work that you distribute or publish, that in
8138 whole or in part contains or is derived from the Program or any
8139 part thereof, to be licensed as a whole at no charge to all third
8140 parties under the terms of this License.
8141
8142 c) If the modified program normally reads commands interactively
8143 when run, you must cause it, when started running for such
8144 interactive use in the most ordinary way, to print or display an
8145 announcement including an appropriate copyright notice and a
8146 notice that there is no warranty (or else, saying that you provide
8147 a warranty) and that users may redistribute the program under
8148 these conditions, and telling the user how to view a copy of this
8149 License. (Exception: if the Program itself is interactive but
8150 does not normally print such an announcement, your work based on
8151 the Program is not required to print an announcement.)
8152
8153These requirements apply to the modified work as a whole. If
8154identifiable sections of that work are not derived from the Program,
8155and can be reasonably considered independent and separate works in
8156themselves, then this License, and its terms, do not apply to those
8157sections when you distribute them as separate works. But when you
8158distribute the same sections as part of a whole which is a work based
8159on the Program, the distribution of the whole must be on the terms of
8160this License, whose permissions for other licensees extend to the
8161entire whole, and thus to each and every part regardless of who wrote it.
8162
8163Thus, it is not the intent of this section to claim rights or contest
8164your rights to work written entirely by you; rather, the intent is to
8165exercise the right to control the distribution of derivative or
8166collective works based on the Program.
8167
8168In addition, mere aggregation of another work not based on the Program
8169with the Program (or with a work based on the Program) on a volume of
8170a storage or distribution medium does not bring the other work under
8171the scope of this License.
8172
8173 3. You may copy and distribute the Program (or a work based on it,
8174under Section 2) in object code or executable form under the terms of
8175Sections 1 and 2 above provided that you also do one of the following:
8176
8177 a) Accompany it with the complete corresponding machine-readable
8178 source code, which must be distributed under the terms of Sections
8179 1 and 2 above on a medium customarily used for software interchange; or,
8180
8181 b) Accompany it with a written offer, valid for at least three
8182 years, to give any third party, for a charge no more than your
8183 cost of physically performing source distribution, a complete
8184 machine-readable copy of the corresponding source code, to be
8185 distributed under the terms of Sections 1 and 2 above on a medium
8186 customarily used for software interchange; or,
8187
8188 c) Accompany it with the information you received as to the offer
8189 to distribute corresponding source code. (This alternative is
8190 allowed only for noncommercial distribution and only if you
8191 received the program in object code or executable form with such
8192 an offer, in accord with Subsection b above.)
8193
8194The source code for a work means the preferred form of the work for
8195making modifications to it. For an executable work, complete source
8196code means all the source code for all modules it contains, plus any
8197associated interface definition files, plus the scripts used to
8198control compilation and installation of the executable. However, as a
8199special exception, the source code distributed need not include
8200anything that is normally distributed (in either source or binary
8201form) with the major components (compiler, kernel, and so on) of the
8202operating system on which the executable runs, unless that component
8203itself accompanies the executable.
8204
8205If distribution of executable or object code is made by offering
8206access to copy from a designated place, then offering equivalent
8207access to copy the source code from the same place counts as
8208distribution of the source code, even though third parties are not
8209compelled to copy the source along with the object code.
8210
8211 4. You may not copy, modify, sublicense, or distribute the Program
8212except as expressly provided under this License. Any attempt
8213otherwise to copy, modify, sublicense or distribute the Program is
8214void, and will automatically terminate your rights under this License.
8215However, parties who have received copies, or rights, from you under
8216this License will not have their licenses terminated so long as such
8217parties remain in full compliance.
8218
8219 5. You are not required to accept this License, since you have not
8220signed it. However, nothing else grants you permission to modify or
8221distribute the Program or its derivative works. These actions are
8222prohibited by law if you do not accept this License. Therefore, by
8223modifying or distributing the Program (or any work based on the
8224Program), you indicate your acceptance of this License to do so, and
8225all its terms and conditions for copying, distributing or modifying
8226the Program or works based on it.
8227
8228 6. Each time you redistribute the Program (or any work based on the
8229Program), the recipient automatically receives a license from the
8230original licensor to copy, distribute or modify the Program subject to
8231these terms and conditions. You may not impose any further
8232restrictions on the recipients' exercise of the rights granted herein.
8233You are not responsible for enforcing compliance by third parties to
8234this License.
8235
8236 7. If, as a consequence of a court judgment or allegation of patent
8237infringement or for any other reason (not limited to patent issues),
8238conditions are imposed on you (whether by court order, agreement or
8239otherwise) that contradict the conditions of this License, they do not
8240excuse you from the conditions of this License. If you cannot
8241distribute so as to satisfy simultaneously your obligations under this
8242License and any other pertinent obligations, then as a consequence you
8243may not distribute the Program at all. For example, if a patent
8244license would not permit royalty-free redistribution of the Program by
8245all those who receive copies directly or indirectly through you, then
8246the only way you could satisfy both it and this License would be to
8247refrain entirely from distribution of the Program.
8248
8249If any portion of this section is held invalid or unenforceable under
8250any particular circumstance, the balance of the section is intended to
8251apply and the section as a whole is intended to apply in other
8252circumstances.
8253
8254It is not the purpose of this section to induce you to infringe any
8255patents or other property right claims or to contest validity of any
8256such claims; this section has the sole purpose of protecting the
8257integrity of the free software distribution system, which is
8258implemented by public license practices. Many people have made
8259generous contributions to the wide range of software distributed
8260through that system in reliance on consistent application of that
8261system; it is up to the author/donor to decide if he or she is willing
8262to distribute software through any other system and a licensee cannot
8263impose that choice.
8264
8265This section is intended to make thoroughly clear what is believed to
8266be a consequence of the rest of this License.
8267
8268 8. If the distribution and/or use of the Program is restricted in
8269certain countries either by patents or by copyrighted interfaces, the
8270original copyright holder who places the Program under this License
8271may add an explicit geographical distribution limitation excluding
8272those countries, so that distribution is permitted only in or among
8273countries not thus excluded. In such case, this License incorporates
8274the limitation as if written in the body of this License.
8275
8276 9. The Free Software Foundation may publish revised and/or new versions
8277of the General Public License from time to time. Such new versions will
8278be similar in spirit to the present version, but may differ in detail to
8279address new problems or concerns.
8280
8281Each version is given a distinguishing version number. If the Program
8282specifies a version number of this License which applies to it and "any
8283later version", you have the option of following the terms and conditions
8284either of that version or of any later version published by the Free
8285Software Foundation. If the Program does not specify a version number of
8286this License, you may choose any version ever published by the Free Software
8287Foundation.
8288
8289 10. If you wish to incorporate parts of the Program into other free
8290programs whose distribution conditions are different, write to the author
8291to ask for permission. For software which is copyrighted by the Free
8292Software Foundation, write to the Free Software Foundation; we sometimes
8293make exceptions for this. Our decision will be guided by the two goals
8294of preserving the free status of all derivatives of our free software and
8295of promoting the sharing and reuse of software generally.
8296
8297 NO WARRANTY
8298
8299 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
8300FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
8301OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
8302PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
8303OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
8304MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
8305TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
8306PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
8307REPAIR OR CORRECTION.
8308
8309 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
8310WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
8311REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
8312INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
8313OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
8314TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
8315YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
8316PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
8317POSSIBILITY OF SUCH DAMAGES.
8318
8319 END OF TERMS AND CONDITIONS
8320
8321 How to Apply These Terms to Your New Programs
8322
8323 If you develop a new program, and you want it to be of the greatest
8324possible use to the public, the best way to achieve this is to make it
8325free software which everyone can redistribute and change under these terms.
8326
8327 To do so, attach the following notices to the program. It is safest
8328to attach them to the start of each source file to most effectively
8329convey the exclusion of warranty; and each file should have at least
8330the "copyright" line and a pointer to where the full notice is found.
8331
8332 <one line to give the program's name and a brief idea of what it does.>
8333 Copyright (C) <year> <name of author>
8334
8335 This program is free software; you can redistribute it and/or modify
8336 it under the terms of the GNU General Public License as published by
8337 the Free Software Foundation; either version 2 of the License, or
8338 (at your option) any later version.
8339
8340 This program is distributed in the hope that it will be useful,
8341 but WITHOUT ANY WARRANTY; without even the implied warranty of
8342 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8343 GNU General Public License for more details.
8344
8345 You should have received a copy of the GNU General Public License
8346 along with this program; if not, write to the Free Software
8347 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8348
8349
8350Also add information on how to contact you by electronic and paper mail.
8351
8352If the program is interactive, make it output a short notice like this
8353when it starts in an interactive mode:
8354
8355 Gnomovision version 69, Copyright (C) year name of author
8356 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
8357 This is free software, and you are welcome to redistribute it
8358 under certain conditions; type `show c' for details.
8359
8360The hypothetical commands `show w' and `show c' should show the appropriate
8361parts of the General Public License. Of course, the commands you use may
8362be called something other than `show w' and `show c'; they could even be
8363mouse-clicks or menu items--whatever suits your program.
8364
8365You should also get your employer (if you work as a programmer) or your
8366school, if any, to sign a "copyright disclaimer" for the program, if
8367necessary. Here is a sample; alter the names:
8368
8369 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
8370 `Gnomovision' (which makes passes at compilers) written by James Hacker.
8371
8372 <signature of Ty Coon>, 1 April 1989
8373 Ty Coon, President of Vice
8374
8375This General Public License does not permit incorporating your program into
8376proprietary programs. If your program is a subroutine library, you may
8377consider it more useful to permit linking proprietary applications with the
8378library. If this is what you want to do, use the GNU Library General
8379Public License instead of this License.
8380 GNU GENERAL PUBLIC LICENSE
8381 Version 3, 29 June 2007
8382
8383 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
8384 Everyone is permitted to copy and distribute verbatim copies
8385 of this license document, but changing it is not allowed.
8386
8387 Preamble
8388
8389 The GNU General Public License is a free, copyleft license for
8390software and other kinds of works.
8391
8392 The licenses for most software and other practical works are designed
8393to take away your freedom to share and change the works. By contrast,
8394the GNU General Public License is intended to guarantee your freedom to
8395share and change all versions of a program--to make sure it remains free
8396software for all its users. We, the Free Software Foundation, use the
8397GNU General Public License for most of our software; it applies also to
8398any other work released this way by its authors. You can apply it to
8399your programs, too.
8400
8401 When we speak of free software, we are referring to freedom, not
8402price. Our General Public Licenses are designed to make sure that you
8403have the freedom to distribute copies of free software (and charge for
8404them if you wish), that you receive source code or can get it if you
8405want it, that you can change the software or use pieces of it in new
8406free programs, and that you know you can do these things.
8407
8408 To protect your rights, we need to prevent others from denying you
8409these rights or asking you to surrender the rights. Therefore, you have
8410certain responsibilities if you distribute copies of the software, or if
8411you modify it: responsibilities to respect the freedom of others.
8412
8413 For example, if you distribute copies of such a program, whether
8414gratis or for a fee, you must pass on to the recipients the same
8415freedoms that you received. You must make sure that they, too, receive
8416or can get the source code. And you must show them these terms so they
8417know their rights.
8418
8419 Developers that use the GNU GPL protect your rights with two steps:
8420(1) assert copyright on the software, and (2) offer you this License
8421giving you legal permission to copy, distribute and/or modify it.
8422
8423 For the developers' and authors' protection, the GPL clearly explains
8424that there is no warranty for this free software. For both users' and
8425authors' sake, the GPL requires that modified versions be marked as
8426changed, so that their problems will not be attributed erroneously to
8427authors of previous versions.
8428
8429 Some devices are designed to deny users access to install or run
8430modified versions of the software inside them, although the manufacturer
8431can do so. This is fundamentally incompatible with the aim of
8432protecting users' freedom to change the software. The systematic
8433pattern of such abuse occurs in the area of products for individuals to
8434use, which is precisely where it is most unacceptable. Therefore, we
8435have designed this version of the GPL to prohibit the practice for those
8436products. If such problems arise substantially in other domains, we
8437stand ready to extend this provision to those domains in future versions
8438of the GPL, as needed to protect the freedom of users.
8439
8440 Finally, every program is threatened constantly by software patents.
8441States should not allow patents to restrict development and use of
8442software on general-purpose computers, but in those that do, we wish to
8443avoid the special danger that patents applied to a free program could
8444make it effectively proprietary. To prevent this, the GPL assures that
8445patents cannot be used to render the program non-free.
8446
8447 The precise terms and conditions for copying, distribution and
8448modification follow.
8449
8450 TERMS AND CONDITIONS
8451
8452 0. Definitions.
8453
8454 "This License" refers to version 3 of the GNU General Public License.
8455
8456 "Copyright" also means copyright-like laws that apply to other kinds of
8457works, such as semiconductor masks.
8458
8459 "The Program" refers to any copyrightable work licensed under this
8460License. Each licensee is addressed as "you". "Licensees" and
8461"recipients" may be individuals or organizations.
8462
8463 To "modify" a work means to copy from or adapt all or part of the work
8464in a fashion requiring copyright permission, other than the making of an
8465exact copy. The resulting work is called a "modified version" of the
8466earlier work or a work "based on" the earlier work.
8467
8468 A "covered work" means either the unmodified Program or a work based
8469on the Program.
8470
8471 To "propagate" a work means to do anything with it that, without
8472permission, would make you directly or secondarily liable for
8473infringement under applicable copyright law, except executing it on a
8474computer or modifying a private copy. Propagation includes copying,
8475distribution (with or without modification), making available to the
8476public, and in some countries other activities as well.
8477
8478 To "convey" a work means any kind of propagation that enables other
8479parties to make or receive copies. Mere interaction with a user through
8480a computer network, with no transfer of a copy, is not conveying.
8481
8482 An interactive user interface displays "Appropriate Legal Notices"
8483to the extent that it includes a convenient and prominently visible
8484feature that (1) displays an appropriate copyright notice, and (2)
8485tells the user that there is no warranty for the work (except to the
8486extent that warranties are provided), that licensees may convey the
8487work under this License, and how to view a copy of this License. If
8488the interface presents a list of user commands or options, such as a
8489menu, a prominent item in the list meets this criterion.
8490
8491 1. Source Code.
8492
8493 The "source code" for a work means the preferred form of the work
8494for making modifications to it. "Object code" means any non-source
8495form of a work.
8496
8497 A "Standard Interface" means an interface that either is an official
8498standard defined by a recognized standards body, or, in the case of
8499interfaces specified for a particular programming language, one that
8500is widely used among developers working in that language.
8501
8502 The "System Libraries" of an executable work include anything, other
8503than the work as a whole, that (a) is included in the normal form of
8504packaging a Major Component, but which is not part of that Major
8505Component, and (b) serves only to enable use of the work with that
8506Major Component, or to implement a Standard Interface for which an
8507implementation is available to the public in source code form. A
8508"Major Component", in this context, means a major essential component
8509(kernel, window system, and so on) of the specific operating system
8510(if any) on which the executable work runs, or a compiler used to
8511produce the work, or an object code interpreter used to run it.
8512
8513 The "Corresponding Source" for a work in object code form means all
8514the source code needed to generate, install, and (for an executable
8515work) run the object code and to modify the work, including scripts to
8516control those activities. However, it does not include the work's
8517System Libraries, or general-purpose tools or generally available free
8518programs which are used unmodified in performing those activities but
8519which are not part of the work. For example, Corresponding Source
8520includes interface definition files associated with source files for
8521the work, and the source code for shared libraries and dynamically
8522linked subprograms that the work is specifically designed to require,
8523such as by intimate data communication or control flow between those
8524subprograms and other parts of the work.
8525
8526 The Corresponding Source need not include anything that users
8527can regenerate automatically from other parts of the Corresponding
8528Source.
8529
8530 The Corresponding Source for a work in source code form is that
8531same work.
8532
8533 2. Basic Permissions.
8534
8535 All rights granted under this License are granted for the term of
8536copyright on the Program, and are irrevocable provided the stated
8537conditions are met. This License explicitly affirms your unlimited
8538permission to run the unmodified Program. The output from running a
8539covered work is covered by this License only if the output, given its
8540content, constitutes a covered work. This License acknowledges your
8541rights of fair use or other equivalent, as provided by copyright law.
8542
8543 You may make, run and propagate covered works that you do not
8544convey, without conditions so long as your license otherwise remains
8545in force. You may convey covered works to others for the sole purpose
8546of having them make modifications exclusively for you, or provide you
8547with facilities for running those works, provided that you comply with
8548the terms of this License in conveying all material for which you do
8549not control copyright. Those thus making or running the covered works
8550for you must do so exclusively on your behalf, under your direction
8551and control, on terms that prohibit them from making any copies of
8552your copyrighted material outside their relationship with you.
8553
8554 Conveying under any other circumstances is permitted solely under
8555the conditions stated below. Sublicensing is not allowed; section 10
8556makes it unnecessary.
8557
8558 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
8559
8560 No covered work shall be deemed part of an effective technological
8561measure under any applicable law fulfilling obligations under article
856211 of the WIPO copyright treaty adopted on 20 December 1996, or
8563similar laws prohibiting or restricting circumvention of such
8564measures.
8565
8566 When you convey a covered work, you waive any legal power to forbid
8567circumvention of technological measures to the extent such circumvention
8568is effected by exercising rights under this License with respect to
8569the covered work, and you disclaim any intention to limit operation or
8570modification of the work as a means of enforcing, against the work's
8571users, your or third parties' legal rights to forbid circumvention of
8572technological measures.
8573
8574 4. Conveying Verbatim Copies.
8575
8576 You may convey verbatim copies of the Program's source code as you
8577receive it, in any medium, provided that you conspicuously and
8578appropriately publish on each copy an appropriate copyright notice;
8579keep intact all notices stating that this License and any
8580non-permissive terms added in accord with section 7 apply to the code;
8581keep intact all notices of the absence of any warranty; and give all
8582recipients a copy of this License along with the Program.
8583
8584 You may charge any price or no price for each copy that you convey,
8585and you may offer support or warranty protection for a fee.
8586
8587 5. Conveying Modified Source Versions.
8588
8589 You may convey a work based on the Program, or the modifications to
8590produce it from the Program, in the form of source code under the
8591terms of section 4, provided that you also meet all of these conditions:
8592
8593 a) The work must carry prominent notices stating that you modified
8594 it, and giving a relevant date.
8595
8596 b) The work must carry prominent notices stating that it is
8597 released under this License and any conditions added under section
8598 7. This requirement modifies the requirement in section 4 to
8599 "keep intact all notices".
8600
8601 c) You must license the entire work, as a whole, under this
8602 License to anyone who comes into possession of a copy. This
8603 License will therefore apply, along with any applicable section 7
8604 additional terms, to the whole of the work, and all its parts,
8605 regardless of how they are packaged. This License gives no
8606 permission to license the work in any other way, but it does not
8607 invalidate such permission if you have separately received it.
8608
8609 d) If the work has interactive user interfaces, each must display
8610 Appropriate Legal Notices; however, if the Program has interactive
8611 interfaces that do not display Appropriate Legal Notices, your
8612 work need not make them do so.
8613
8614 A compilation of a covered work with other separate and independent
8615works, which are not by their nature extensions of the covered work,
8616and which are not combined with it such as to form a larger program,
8617in or on a volume of a storage or distribution medium, is called an
8618"aggregate" if the compilation and its resulting copyright are not
8619used to limit the access or legal rights of the compilation's users
8620beyond what the individual works permit. Inclusion of a covered work
8621in an aggregate does not cause this License to apply to the other
8622parts of the aggregate.
8623
8624 6. Conveying Non-Source Forms.
8625
8626 You may convey a covered work in object code form under the terms
8627of sections 4 and 5, provided that you also convey the
8628machine-readable Corresponding Source under the terms of this License,
8629in one of these ways:
8630
8631 a) Convey the object code in, or embodied in, a physical product
8632 (including a physical distribution medium), accompanied by the
8633 Corresponding Source fixed on a durable physical medium
8634 customarily used for software interchange.
8635
8636 b) Convey the object code in, or embodied in, a physical product
8637 (including a physical distribution medium), accompanied by a
8638 written offer, valid for at least three years and valid for as
8639 long as you offer spare parts or customer support for that product
8640 model, to give anyone who possesses the object code either (1) a
8641 copy of the Corresponding Source for all the software in the
8642 product that is covered by this License, on a durable physical
8643 medium customarily used for software interchange, for a price no
8644 more than your reasonable cost of physically performing this
8645 conveying of source, or (2) access to copy the
8646 Corresponding Source from a network server at no charge.
8647
8648 c) Convey individual copies of the object code with a copy of the
8649 written offer to provide the Corresponding Source. This
8650 alternative is allowed only occasionally and noncommercially, and
8651 only if you received the object code with such an offer, in accord
8652 with subsection 6b.
8653
8654 d) Convey the object code by offering access from a designated
8655 place (gratis or for a charge), and offer equivalent access to the
8656 Corresponding Source in the same way through the same place at no
8657 further charge. You need not require recipients to copy the
8658 Corresponding Source along with the object code. If the place to
8659 copy the object code is a network server, the Corresponding Source
8660 may be on a different server (operated by you or a third party)
8661 that supports equivalent copying facilities, provided you maintain
8662 clear directions next to the object code saying where to find the
8663 Corresponding Source. Regardless of what server hosts the
8664 Corresponding Source, you remain obligated to ensure that it is
8665 available for as long as needed to satisfy these requirements.
8666
8667 e) Convey the object code using peer-to-peer transmission, provided
8668 you inform other peers where the object code and Corresponding
8669 Source of the work are being offered to the general public at no
8670 charge under subsection 6d.
8671
8672 A separable portion of the object code, whose source code is excluded
8673from the Corresponding Source as a System Library, need not be
8674included in conveying the object code work.
8675
8676 A "User Product" is either (1) a "consumer product", which means any
8677tangible personal property which is normally used for personal, family,
8678or household purposes, or (2) anything designed or sold for incorporation
8679into a dwelling. In determining whether a product is a consumer product,
8680doubtful cases shall be resolved in favor of coverage. For a particular
8681product received by a particular user, "normally used" refers to a
8682typical or common use of that class of product, regardless of the status
8683of the particular user or of the way in which the particular user
8684actually uses, or expects or is expected to use, the product. A product
8685is a consumer product regardless of whether the product has substantial
8686commercial, industrial or non-consumer uses, unless such uses represent
8687the only significant mode of use of the product.
8688
8689 "Installation Information" for a User Product means any methods,
8690procedures, authorization keys, or other information required to install
8691and execute modified versions of a covered work in that User Product from
8692a modified version of its Corresponding Source. The information must
8693suffice to ensure that the continued functioning of the modified object
8694code is in no case prevented or interfered with solely because
8695modification has been made.
8696
8697 If you convey an object code work under this section in, or with, or
8698specifically for use in, a User Product, and the conveying occurs as
8699part of a transaction in which the right of possession and use of the
8700User Product is transferred to the recipient in perpetuity or for a
8701fixed term (regardless of how the transaction is characterized), the
8702Corresponding Source conveyed under this section must be accompanied
8703by the Installation Information. But this requirement does not apply
8704if neither you nor any third party retains the ability to install
8705modified object code on the User Product (for example, the work has
8706been installed in ROM).
8707
8708 The requirement to provide Installation Information does not include a
8709requirement to continue to provide support service, warranty, or updates
8710for a work that has been modified or installed by the recipient, or for
8711the User Product in which it has been modified or installed. Access to a
8712network may be denied when the modification itself materially and
8713adversely affects the operation of the network or violates the rules and
8714protocols for communication across the network.
8715
8716 Corresponding Source conveyed, and Installation Information provided,
8717in accord with this section must be in a format that is publicly
8718documented (and with an implementation available to the public in
8719source code form), and must require no special password or key for
8720unpacking, reading or copying.
8721
8722 7. Additional Terms.
8723
8724 "Additional permissions" are terms that supplement the terms of this
8725License by making exceptions from one or more of its conditions.
8726Additional permissions that are applicable to the entire Program shall
8727be treated as though they were included in this License, to the extent
8728that they are valid under applicable law. If additional permissions
8729apply only to part of the Program, that part may be used separately
8730under those permissions, but the entire Program remains governed by
8731this License without regard to the additional permissions.
8732
8733 When you convey a copy of a covered work, you may at your option
8734remove any additional permissions from that copy, or from any part of
8735it. (Additional permissions may be written to require their own
8736removal in certain cases when you modify the work.) You may place
8737additional permissions on material, added by you to a covered work,
8738for which you have or can give appropriate copyright permission.
8739
8740 Notwithstanding any other provision of this License, for material you
8741add to a covered work, you may (if authorized by the copyright holders of
8742that material) supplement the terms of this License with terms:
8743
8744 a) Disclaiming warranty or limiting liability differently from the
8745 terms of sections 15 and 16 of this License; or
8746
8747 b) Requiring preservation of specified reasonable legal notices or
8748 author attributions in that material or in the Appropriate Legal
8749 Notices displayed by works containing it; or
8750
8751 c) Prohibiting misrepresentation of the origin of that material, or
8752 requiring that modified versions of such material be marked in
8753 reasonable ways as different from the original version; or
8754
8755 d) Limiting the use for publicity purposes of names of licensors or
8756 authors of the material; or
8757
8758 e) Declining to grant rights under trademark law for use of some
8759 trade names, trademarks, or service marks; or
8760
8761 f) Requiring indemnification of licensors and authors of that
8762 material by anyone who conveys the material (or modified versions of
8763 it) with contractual assumptions of liability to the recipient, for
8764 any liability that these contractual assumptions directly impose on
8765 those licensors and authors.
8766
8767 All other non-permissive additional terms are considered "further
8768restrictions" within the meaning of section 10. If the Program as you
8769received it, or any part of it, contains a notice stating that it is
8770governed by this License along with a term that is a further
8771restriction, you may remove that term. If a license document contains
8772a further restriction but permits relicensing or conveying under this
8773License, you may add to a covered work material governed by the terms
8774of that license document, provided that the further restriction does
8775not survive such relicensing or conveying.
8776
8777 If you add terms to a covered work in accord with this section, you
8778must place, in the relevant source files, a statement of the
8779additional terms that apply to those files, or a notice indicating
8780where to find the applicable terms.
8781
8782 Additional terms, permissive or non-permissive, may be stated in the
8783form of a separately written license, or stated as exceptions;
8784the above requirements apply either way.
8785
8786 8. Termination.
8787
8788 You may not propagate or modify a covered work except as expressly
8789provided under this License. Any attempt otherwise to propagate or
8790modify it is void, and will automatically terminate your rights under
8791this License (including any patent licenses granted under the third
8792paragraph of section 11).
8793
8794 However, if you cease all violation of this License, then your
8795license from a particular copyright holder is reinstated (a)
8796provisionally, unless and until the copyright holder explicitly and
8797finally terminates your license, and (b) permanently, if the copyright
8798holder fails to notify you of the violation by some reasonable means
8799prior to 60 days after the cessation.
8800
8801 Moreover, your license from a particular copyright holder is
8802reinstated permanently if the copyright holder notifies you of the
8803violation by some reasonable means, this is the first time you have
8804received notice of violation of this License (for any work) from that
8805copyright holder, and you cure the violation prior to 30 days after
8806your receipt of the notice.
8807
8808 Termination of your rights under this section does not terminate the
8809licenses of parties who have received copies or rights from you under
8810this License. If your rights have been terminated and not permanently
8811reinstated, you do not qualify to receive new licenses for the same
8812material under section 10.
8813
8814 9. Acceptance Not Required for Having Copies.
8815
8816 You are not required to accept this License in order to receive or
8817run a copy of the Program. Ancillary propagation of a covered work
8818occurring solely as a consequence of using peer-to-peer transmission
8819to receive a copy likewise does not require acceptance. However,
8820nothing other than this License grants you permission to propagate or
8821modify any covered work. These actions infringe copyright if you do
8822not accept this License. Therefore, by modifying or propagating a
8823covered work, you indicate your acceptance of this License to do so.
8824
8825 10. Automatic Licensing of Downstream Recipients.
8826
8827 Each time you convey a covered work, the recipient automatically
8828receives a license from the original licensors, to run, modify and
8829propagate that work, subject to this License. You are not responsible
8830for enforcing compliance by third parties with this License.
8831
8832 An "entity transaction" is a transaction transferring control of an
8833organization, or substantially all assets of one, or subdividing an
8834organization, or merging organizations. If propagation of a covered
8835work results from an entity transaction, each party to that
8836transaction who receives a copy of the work also receives whatever
8837licenses to the work the party's predecessor in interest had or could
8838give under the previous paragraph, plus a right to possession of the
8839Corresponding Source of the work from the predecessor in interest, if
8840the predecessor has it or can get it with reasonable efforts.
8841
8842 You may not impose any further restrictions on the exercise of the
8843rights granted or affirmed under this License. For example, you may
8844not impose a license fee, royalty, or other charge for exercise of
8845rights granted under this License, and you may not initiate litigation
8846(including a cross-claim or counterclaim in a lawsuit) alleging that
8847any patent claim is infringed by making, using, selling, offering for
8848sale, or importing the Program or any portion of it.
8849
8850 11. Patents.
8851
8852 A "contributor" is a copyright holder who authorizes use under this
8853License of the Program or a work on which the Program is based. The
8854work thus licensed is called the contributor's "contributor version".
8855
8856 A contributor's "essential patent claims" are all patent claims
8857owned or controlled by the contributor, whether already acquired or
8858hereafter acquired, that would be infringed by some manner, permitted
8859by this License, of making, using, or selling its contributor version,
8860but do not include claims that would be infringed only as a
8861consequence of further modification of the contributor version. For
8862purposes of this definition, "control" includes the right to grant
8863patent sublicenses in a manner consistent with the requirements of
8864this License.
8865
8866 Each contributor grants you a non-exclusive, worldwide, royalty-free
8867patent license under the contributor's essential patent claims, to
8868make, use, sell, offer for sale, import and otherwise run, modify and
8869propagate the contents of its contributor version.
8870
8871 In the following three paragraphs, a "patent license" is any express
8872agreement or commitment, however denominated, not to enforce a patent
8873(such as an express permission to practice a patent or covenant not to
8874sue for patent infringement). To "grant" such a patent license to a
8875party means to make such an agreement or commitment not to enforce a
8876patent against the party.
8877
8878 If you convey a covered work, knowingly relying on a patent license,
8879and the Corresponding Source of the work is not available for anyone
8880to copy, free of charge and under the terms of this License, through a
8881publicly available network server or other readily accessible means,
8882then you must either (1) cause the Corresponding Source to be so
8883available, or (2) arrange to deprive yourself of the benefit of the
8884patent license for this particular work, or (3) arrange, in a manner
8885consistent with the requirements of this License, to extend the patent
8886license to downstream recipients. "Knowingly relying" means you have
8887actual knowledge that, but for the patent license, your conveying the
8888covered work in a country, or your recipient's use of the covered work
8889in a country, would infringe one or more identifiable patents in that
8890country that you have reason to believe are valid.
8891
8892 If, pursuant to or in connection with a single transaction or
8893arrangement, you convey, or propagate by procuring conveyance of, a
8894covered work, and grant a patent license to some of the parties
8895receiving the covered work authorizing them to use, propagate, modify
8896or convey a specific copy of the covered work, then the patent license
8897you grant is automatically extended to all recipients of the covered
8898work and works based on it.
8899
8900 A patent license is "discriminatory" if it does not include within
8901the scope of its coverage, prohibits the exercise of, or is
8902conditioned on the non-exercise of one or more of the rights that are
8903specifically granted under this License. You may not convey a covered
8904work if you are a party to an arrangement with a third party that is
8905in the business of distributing software, under which you make payment
8906to the third party based on the extent of your activity of conveying
8907the work, and under which the third party grants, to any of the
8908parties who would receive the covered work from you, a discriminatory
8909patent license (a) in connection with copies of the covered work
8910conveyed by you (or copies made from those copies), or (b) primarily
8911for and in connection with specific products or compilations that
8912contain the covered work, unless you entered into that arrangement,
8913or that patent license was granted, prior to 28 March 2007.
8914
8915 Nothing in this License shall be construed as excluding or limiting
8916any implied license or other defenses to infringement that may
8917otherwise be available to you under applicable patent law.
8918
8919 12. No Surrender of Others' Freedom.
8920
8921 If conditions are imposed on you (whether by court order, agreement or
8922otherwise) that contradict the conditions of this License, they do not
8923excuse you from the conditions of this License. If you cannot convey a
8924covered work so as to satisfy simultaneously your obligations under this
8925License and any other pertinent obligations, then as a consequence you may
8926not convey it at all. For example, if you agree to terms that obligate you
8927to collect a royalty for further conveying from those to whom you convey
8928the Program, the only way you could satisfy both those terms and this
8929License would be to refrain entirely from conveying the Program.
8930
8931 13. Use with the GNU Affero General Public License.
8932
8933 Notwithstanding any other provision of this License, you have
8934permission to link or combine any covered work with a work licensed
8935under version 3 of the GNU Affero General Public License into a single
8936combined work, and to convey the resulting work. The terms of this
8937License will continue to apply to the part which is the covered work,
8938but the special requirements of the GNU Affero General Public License,
8939section 13, concerning interaction through a network will apply to the
8940combination as such.
8941
8942 14. Revised Versions of this License.
8943
8944 The Free Software Foundation may publish revised and/or new versions of
8945the GNU General Public License from time to time. Such new versions will
8946be similar in spirit to the present version, but may differ in detail to
8947address new problems or concerns.
8948
8949 Each version is given a distinguishing version number. If the
8950Program specifies that a certain numbered version of the GNU General
8951Public License "or any later version" applies to it, you have the
8952option of following the terms and conditions either of that numbered
8953version or of any later version published by the Free Software
8954Foundation. If the Program does not specify a version number of the
8955GNU General Public License, you may choose any version ever published
8956by the Free Software Foundation.
8957
8958 If the Program specifies that a proxy can decide which future
8959versions of the GNU General Public License can be used, that proxy's
8960public statement of acceptance of a version permanently authorizes you
8961to choose that version for the Program.
8962
8963 Later license versions may give you additional or different
8964permissions. However, no additional obligations are imposed on any
8965author or copyright holder as a result of your choosing to follow a
8966later version.
8967
8968 15. Disclaimer of Warranty.
8969
8970 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
8971APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
8972HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
8973OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
8974THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
8975PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
8976IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
8977ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
8978
8979 16. Limitation of Liability.
8980
8981 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
8982WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
8983THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
8984GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
8985USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
8986DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
8987PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
8988EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
8989SUCH DAMAGES.
8990
8991 17. Interpretation of Sections 15 and 16.
8992
8993 If the disclaimer of warranty and limitation of liability provided
8994above cannot be given local legal effect according to their terms,
8995reviewing courts shall apply local law that most closely approximates
8996an absolute waiver of all civil liability in connection with the
8997Program, unless a warranty or assumption of liability accompanies a
8998copy of the Program in return for a fee.
8999
9000 END OF TERMS AND CONDITIONS
9001
9002 How to Apply These Terms to Your New Programs
9003
9004 If you develop a new program, and you want it to be of the greatest
9005possible use to the public, the best way to achieve this is to make it
9006free software which everyone can redistribute and change under these terms.
9007
9008 To do so, attach the following notices to the program. It is safest
9009to attach them to the start of each source file to most effectively
9010state the exclusion of warranty; and each file should have at least
9011the "copyright" line and a pointer to where the full notice is found.
9012
9013 <one line to give the program's name and a brief idea of what it does.>
9014 Copyright (C) <year> <name of author>
9015
9016 This program is free software: you can redistribute it and/or modify
9017 it under the terms of the GNU General Public License as published by
9018 the Free Software Foundation, either version 3 of the License, or
9019 (at your option) any later version.
9020
9021 This program is distributed in the hope that it will be useful,
9022 but WITHOUT ANY WARRANTY; without even the implied warranty of
9023 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9024 GNU General Public License for more details.
9025
9026 You should have received a copy of the GNU General Public License
9027 along with this program. If not, see <http://www.gnu.org/licenses/>.
9028
9029Also add information on how to contact you by electronic and paper mail.
9030
9031 If the program does terminal interaction, make it output a short
9032notice like this when it starts in an interactive mode:
9033
9034 <program> Copyright (C) <year> <name of author>
9035 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
9036 This is free software, and you are welcome to redistribute it
9037 under certain conditions; type `show c' for details.
9038
9039The hypothetical commands `show w' and `show c' should show the appropriate
9040parts of the General Public License. Of course, your program's commands
9041might be different; for a GUI interface, you would use an "about box".
9042
9043 You should also get your employer (if you work as a programmer) or school,
9044if any, to sign a "copyright disclaimer" for the program, if necessary.
9045For more information on this, and how to apply and follow the GNU GPL, see
9046<http://www.gnu.org/licenses/>.
9047
9048 The GNU General Public License does not permit incorporating your program
9049into proprietary programs. If your program is a subroutine library, you
9050may consider it more useful to permit linking proprietary applications with
9051the library. If this is what you want to do, use the GNU Lesser General
9052Public License instead of this License. But first, please read
9053<http://www.gnu.org/philosophy/why-not-lgpl.html>.
9054 GNU LESSER GENERAL PUBLIC LICENSE
9055 Version 2.1, February 1999
9056
9057 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
9058 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9059 Everyone is permitted to copy and distribute verbatim copies
9060 of this license document, but changing it is not allowed.
9061
9062[This is the first released version of the Lesser GPL. It also counts
9063 as the successor of the GNU Library Public License, version 2, hence
9064 the version number 2.1.]
9065
9066 Preamble
9067
9068 The licenses for most software are designed to take away your
9069freedom to share and change it. By contrast, the GNU General Public
9070Licenses are intended to guarantee your freedom to share and change
9071free software--to make sure the software is free for all its users.
9072
9073 This license, the Lesser General Public License, applies to some
9074specially designated software packages--typically libraries--of the
9075Free Software Foundation and other authors who decide to use it. You
9076can use it too, but we suggest you first think carefully about whether
9077this license or the ordinary General Public License is the better
9078strategy to use in any particular case, based on the explanations below.
9079
9080 When we speak of free software, we are referring to freedom of use,
9081not price. Our General Public Licenses are designed to make sure that
9082you have the freedom to distribute copies of free software (and charge
9083for this service if you wish); that you receive source code or can get
9084it if you want it; that you can change the software and use pieces of
9085it in new free programs; and that you are informed that you can do
9086these things.
9087
9088 To protect your rights, we need to make restrictions that forbid
9089distributors to deny you these rights or to ask you to surrender these
9090rights. These restrictions translate to certain responsibilities for
9091you if you distribute copies of the library or if you modify it.
9092
9093 For example, if you distribute copies of the library, whether gratis
9094or for a fee, you must give the recipients all the rights that we gave
9095you. You must make sure that they, too, receive or can get the source
9096code. If you link other code with the library, you must provide
9097complete object files to the recipients, so that they can relink them
9098with the library after making changes to the library and recompiling
9099it. And you must show them these terms so they know their rights.
9100
9101 We protect your rights with a two-step method: (1) we copyright the
9102library, and (2) we offer you this license, which gives you legal
9103permission to copy, distribute and/or modify the library.
9104
9105 To protect each distributor, we want to make it very clear that
9106there is no warranty for the free library. Also, if the library is
9107modified by someone else and passed on, the recipients should know
9108that what they have is not the original version, so that the original
9109author's reputation will not be affected by problems that might be
9110introduced by others.
9111
9112 Finally, software patents pose a constant threat to the existence of
9113any free program. We wish to make sure that a company cannot
9114effectively restrict the users of a free program by obtaining a
9115restrictive license from a patent holder. Therefore, we insist that
9116any patent license obtained for a version of the library must be
9117consistent with the full freedom of use specified in this license.
9118
9119 Most GNU software, including some libraries, is covered by the
9120ordinary GNU General Public License. This license, the GNU Lesser
9121General Public License, applies to certain designated libraries, and
9122is quite different from the ordinary General Public License. We use
9123this license for certain libraries in order to permit linking those
9124libraries into non-free programs.
9125
9126 When a program is linked with a library, whether statically or using
9127a shared library, the combination of the two is legally speaking a
9128combined work, a derivative of the original library. The ordinary
9129General Public License therefore permits such linking only if the
9130entire combination fits its criteria of freedom. The Lesser General
9131Public License permits more lax criteria for linking other code with
9132the library.
9133
9134 We call this license the "Lesser" General Public License because it
9135does Less to protect the user's freedom than the ordinary General
9136Public License. It also provides other free software developers Less
9137of an advantage over competing non-free programs. These disadvantages
9138are the reason we use the ordinary General Public License for many
9139libraries. However, the Lesser license provides advantages in certain
9140special circumstances.
9141
9142 For example, on rare occasions, there may be a special need to
9143encourage the widest possible use of a certain library, so that it becomes
9144a de-facto standard. To achieve this, non-free programs must be
9145allowed to use the library. A more frequent case is that a free
9146library does the same job as widely used non-free libraries. In this
9147case, there is little to gain by limiting the free library to free
9148software only, so we use the Lesser General Public License.
9149
9150 In other cases, permission to use a particular library in non-free
9151programs enables a greater number of people to use a large body of
9152free software. For example, permission to use the GNU C Library in
9153non-free programs enables many more people to use the whole GNU
9154operating system, as well as its variant, the GNU/Linux operating
9155system.
9156
9157 Although the Lesser General Public License is Less protective of the
9158users' freedom, it does ensure that the user of a program that is
9159linked with the Library has the freedom and the wherewithal to run
9160that program using a modified version of the Library.
9161
9162 The precise terms and conditions for copying, distribution and
9163modification follow. Pay close attention to the difference between a
9164"work based on the library" and a "work that uses the library". The
9165former contains code derived from the library, whereas the latter must
9166be combined with the library in order to run.
9167
9168 GNU LESSER GENERAL PUBLIC LICENSE
9169 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
9170
9171 0. This License Agreement applies to any software library or other
9172program which contains a notice placed by the copyright holder or
9173other authorized party saying it may be distributed under the terms of
9174this Lesser General Public License (also called "this License").
9175Each licensee is addressed as "you".
9176
9177 A "library" means a collection of software functions and/or data
9178prepared so as to be conveniently linked with application programs
9179(which use some of those functions and data) to form executables.
9180
9181 The "Library", below, refers to any such software library or work
9182which has been distributed under these terms. A "work based on the
9183Library" means either the Library or any derivative work under
9184copyright law: that is to say, a work containing the Library or a
9185portion of it, either verbatim or with modifications and/or translated
9186straightforwardly into another language. (Hereinafter, translation is
9187included without limitation in the term "modification".)
9188
9189 "Source code" for a work means the preferred form of the work for
9190making modifications to it. For a library, complete source code means
9191all the source code for all modules it contains, plus any associated
9192interface definition files, plus the scripts used to control compilation
9193and installation of the library.
9194
9195 Activities other than copying, distribution and modification are not
9196covered by this License; they are outside its scope. The act of
9197running a program using the Library is not restricted, and output from
9198such a program is covered only if its contents constitute a work based
9199on the Library (independent of the use of the Library in a tool for
9200writing it). Whether that is true depends on what the Library does
9201and what the program that uses the Library does.
9202
9203 1. You may copy and distribute verbatim copies of the Library's
9204complete source code as you receive it, in any medium, provided that
9205you conspicuously and appropriately publish on each copy an
9206appropriate copyright notice and disclaimer of warranty; keep intact
9207all the notices that refer to this License and to the absence of any
9208warranty; and distribute a copy of this License along with the
9209Library.
9210
9211 You may charge a fee for the physical act of transferring a copy,
9212and you may at your option offer warranty protection in exchange for a
9213fee.
9214
9215 2. You may modify your copy or copies of the Library or any portion
9216of it, thus forming a work based on the Library, and copy and
9217distribute such modifications or work under the terms of Section 1
9218above, provided that you also meet all of these conditions:
9219
9220 a) The modified work must itself be a software library.
9221
9222 b) You must cause the files modified to carry prominent notices
9223 stating that you changed the files and the date of any change.
9224
9225 c) You must cause the whole of the work to be licensed at no
9226 charge to all third parties under the terms of this License.
9227
9228 d) If a facility in the modified Library refers to a function or a
9229 table of data to be supplied by an application program that uses
9230 the facility, other than as an argument passed when the facility
9231 is invoked, then you must make a good faith effort to ensure that,
9232 in the event an application does not supply such function or
9233 table, the facility still operates, and performs whatever part of
9234 its purpose remains meaningful.
9235
9236 (For example, a function in a library to compute square roots has
9237 a purpose that is entirely well-defined independent of the
9238 application. Therefore, Subsection 2d requires that any
9239 application-supplied function or table used by this function must
9240 be optional: if the application does not supply it, the square
9241 root function must still compute square roots.)
9242
9243These requirements apply to the modified work as a whole. If
9244identifiable sections of that work are not derived from the Library,
9245and can be reasonably considered independent and separate works in
9246themselves, then this License, and its terms, do not apply to those
9247sections when you distribute them as separate works. But when you
9248distribute the same sections as part of a whole which is a work based
9249on the Library, the distribution of the whole must be on the terms of
9250this License, whose permissions for other licensees extend to the
9251entire whole, and thus to each and every part regardless of who wrote
9252it.
9253
9254Thus, it is not the intent of this section to claim rights or contest
9255your rights to work written entirely by you; rather, the intent is to
9256exercise the right to control the distribution of derivative or
9257collective works based on the Library.
9258
9259In addition, mere aggregation of another work not based on the Library
9260with the Library (or with a work based on the Library) on a volume of
9261a storage or distribution medium does not bring the other work under
9262the scope of this License.
9263
9264 3. You may opt to apply the terms of the ordinary GNU General Public
9265License instead of this License to a given copy of the Library. To do
9266this, you must alter all the notices that refer to this License, so
9267that they refer to the ordinary GNU General Public License, version 2,
9268instead of to this License. (If a newer version than version 2 of the
9269ordinary GNU General Public License has appeared, then you can specify
9270that version instead if you wish.) Do not make any other change in
9271these notices.
9272
9273 Once this change is made in a given copy, it is irreversible for
9274that copy, so the ordinary GNU General Public License applies to all
9275subsequent copies and derivative works made from that copy.
9276
9277 This option is useful when you wish to copy part of the code of
9278the Library into a program that is not a library.
9279
9280 4. You may copy and distribute the Library (or a portion or
9281derivative of it, under Section 2) in object code or executable form
9282under the terms of Sections 1 and 2 above provided that you accompany
9283it with the complete corresponding machine-readable source code, which
9284must be distributed under the terms of Sections 1 and 2 above on a
9285medium customarily used for software interchange.
9286
9287 If distribution of object code is made by offering access to copy
9288from a designated place, then offering equivalent access to copy the
9289source code from the same place satisfies the requirement to
9290distribute the source code, even though third parties are not
9291compelled to copy the source along with the object code.
9292
9293 5. A program that contains no derivative of any portion of the
9294Library, but is designed to work with the Library by being compiled or
9295linked with it, is called a "work that uses the Library". Such a
9296work, in isolation, is not a derivative work of the Library, and
9297therefore falls outside the scope of this License.
9298
9299 However, linking a "work that uses the Library" with the Library
9300creates an executable that is a derivative of the Library (because it
9301contains portions of the Library), rather than a "work that uses the
9302library". The executable is therefore covered by this License.
9303Section 6 states terms for distribution of such executables.
9304
9305 When a "work that uses the Library" uses material from a header file
9306that is part of the Library, the object code for the work may be a
9307derivative work of the Library even though the source code is not.
9308Whether this is true is especially significant if the work can be
9309linked without the Library, or if the work is itself a library. The
9310threshold for this to be true is not precisely defined by law.
9311
9312 If such an object file uses only numerical parameters, data
9313structure layouts and accessors, and small macros and small inline
9314functions (ten lines or less in length), then the use of the object
9315file is unrestricted, regardless of whether it is legally a derivative
9316work. (Executables containing this object code plus portions of the
9317Library will still fall under Section 6.)
9318
9319 Otherwise, if the work is a derivative of the Library, you may
9320distribute the object code for the work under the terms of Section 6.
9321Any executables containing that work also fall under Section 6,
9322whether or not they are linked directly with the Library itself.
9323
9324 6. As an exception to the Sections above, you may also combine or
9325link a "work that uses the Library" with the Library to produce a
9326work containing portions of the Library, and distribute that work
9327under terms of your choice, provided that the terms permit
9328modification of the work for the customer's own use and reverse
9329engineering for debugging such modifications.
9330
9331 You must give prominent notice with each copy of the work that the
9332Library is used in it and that the Library and its use are covered by
9333this License. You must supply a copy of this License. If the work
9334during execution displays copyright notices, you must include the
9335copyright notice for the Library among them, as well as a reference
9336directing the user to the copy of this License. Also, you must do one
9337of these things:
9338
9339 a) Accompany the work with the complete corresponding
9340 machine-readable source code for the Library including whatever
9341 changes were used in the work (which must be distributed under
9342 Sections 1 and 2 above); and, if the work is an executable linked
9343 with the Library, with the complete machine-readable "work that
9344 uses the Library", as object code and/or source code, so that the
9345 user can modify the Library and then relink to produce a modified
9346 executable containing the modified Library. (It is understood
9347 that the user who changes the contents of definitions files in the
9348 Library will not necessarily be able to recompile the application
9349 to use the modified definitions.)
9350
9351 b) Use a suitable shared library mechanism for linking with the
9352 Library. A suitable mechanism is one that (1) uses at run time a
9353 copy of the library already present on the user's computer system,
9354 rather than copying library functions into the executable, and (2)
9355 will operate properly with a modified version of the library, if
9356 the user installs one, as long as the modified version is
9357 interface-compatible with the version that the work was made with.
9358
9359 c) Accompany the work with a written offer, valid for at
9360 least three years, to give the same user the materials
9361 specified in Subsection 6a, above, for a charge no more
9362 than the cost of performing this distribution.
9363
9364 d) If distribution of the work is made by offering access to copy
9365 from a designated place, offer equivalent access to copy the above
9366 specified materials from the same place.
9367
9368 e) Verify that the user has already received a copy of these
9369 materials or that you have already sent this user a copy.
9370
9371 For an executable, the required form of the "work that uses the
9372Library" must include any data and utility programs needed for
9373reproducing the executable from it. However, as a special exception,
9374the materials to be distributed need not include anything that is
9375normally distributed (in either source or binary form) with the major
9376components (compiler, kernel, and so on) of the operating system on
9377which the executable runs, unless that component itself accompanies
9378the executable.
9379
9380 It may happen that this requirement contradicts the license
9381restrictions of other proprietary libraries that do not normally
9382accompany the operating system. Such a contradiction means you cannot
9383use both them and the Library together in an executable that you
9384distribute.
9385
9386 7. You may place library facilities that are a work based on the
9387Library side-by-side in a single library together with other library
9388facilities not covered by this License, and distribute such a combined
9389library, provided that the separate distribution of the work based on
9390the Library and of the other library facilities is otherwise
9391permitted, and provided that you do these two things:
9392
9393 a) Accompany the combined library with a copy of the same work
9394 based on the Library, uncombined with any other library
9395 facilities. This must be distributed under the terms of the
9396 Sections above.
9397
9398 b) Give prominent notice with the combined library of the fact
9399 that part of it is a work based on the Library, and explaining
9400 where to find the accompanying uncombined form of the same work.
9401
9402 8. You may not copy, modify, sublicense, link with, or distribute
9403the Library except as expressly provided under this License. Any
9404attempt otherwise to copy, modify, sublicense, link with, or
9405distribute the Library is void, and will automatically terminate your
9406rights under this License. However, parties who have received copies,
9407or rights, from you under this License will not have their licenses
9408terminated so long as such parties remain in full compliance.
9409
9410 9. You are not required to accept this License, since you have not
9411signed it. However, nothing else grants you permission to modify or
9412distribute the Library or its derivative works. These actions are
9413prohibited by law if you do not accept this License. Therefore, by
9414modifying or distributing the Library (or any work based on the
9415Library), you indicate your acceptance of this License to do so, and
9416all its terms and conditions for copying, distributing or modifying
9417the Library or works based on it.
9418
9419 10. Each time you redistribute the Library (or any work based on the
9420Library), the recipient automatically receives a license from the
9421original licensor to copy, distribute, link with or modify the Library
9422subject to these terms and conditions. You may not impose any further
9423restrictions on the recipients' exercise of the rights granted herein.
9424You are not responsible for enforcing compliance by third parties with
9425this License.
9426
9427 11. If, as a consequence of a court judgment or allegation of patent
9428infringement or for any other reason (not limited to patent issues),
9429conditions are imposed on you (whether by court order, agreement or
9430otherwise) that contradict the conditions of this License, they do not
9431excuse you from the conditions of this License. If you cannot
9432distribute so as to satisfy simultaneously your obligations under this
9433License and any other pertinent obligations, then as a consequence you
9434may not distribute the Library at all. For example, if a patent
9435license would not permit royalty-free redistribution of the Library by
9436all those who receive copies directly or indirectly through you, then
9437the only way you could satisfy both it and this License would be to
9438refrain entirely from distribution of the Library.
9439
9440If any portion of this section is held invalid or unenforceable under any
9441particular circumstance, the balance of the section is intended to apply,
9442and the section as a whole is intended to apply in other circumstances.
9443
9444It is not the purpose of this section to induce you to infringe any
9445patents or other property right claims or to contest validity of any
9446such claims; this section has the sole purpose of protecting the
9447integrity of the free software distribution system which is
9448implemented by public license practices. Many people have made
9449generous contributions to the wide range of software distributed
9450through that system in reliance on consistent application of that
9451system; it is up to the author/donor to decide if he or she is willing
9452to distribute software through any other system and a licensee cannot
9453impose that choice.
9454
9455This section is intended to make thoroughly clear what is believed to
9456be a consequence of the rest of this License.
9457
9458 12. If the distribution and/or use of the Library is restricted in
9459certain countries either by patents or by copyrighted interfaces, the
9460original copyright holder who places the Library under this License may add
9461an explicit geographical distribution limitation excluding those countries,
9462so that distribution is permitted only in or among countries not thus
9463excluded. In such case, this License incorporates the limitation as if
9464written in the body of this License.
9465
9466 13. The Free Software Foundation may publish revised and/or new
9467versions of the Lesser General Public License from time to time.
9468Such new versions will be similar in spirit to the present version,
9469but may differ in detail to address new problems or concerns.
9470
9471Each version is given a distinguishing version number. If the Library
9472specifies a version number of this License which applies to it and
9473"any later version", you have the option of following the terms and
9474conditions either of that version or of any later version published by
9475the Free Software Foundation. If the Library does not specify a
9476license version number, you may choose any version ever published by
9477the Free Software Foundation.
9478
9479 14. If you wish to incorporate parts of the Library into other free
9480programs whose distribution conditions are incompatible with these,
9481write to the author to ask for permission. For software which is
9482copyrighted by the Free Software Foundation, write to the Free
9483Software Foundation; we sometimes make exceptions for this. Our
9484decision will be guided by the two goals of preserving the free status
9485of all derivatives of our free software and of promoting the sharing
9486and reuse of software generally.
9487
9488 NO WARRANTY
9489
9490 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
9491WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
9492EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
9493OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
9494KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
9495IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
9496PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
9497LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
9498THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
9499
9500 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
9501WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
9502AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
9503FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
9504CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
9505LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
9506RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
9507FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
9508SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
9509DAMAGES.
9510
9511 END OF TERMS AND CONDITIONS
9512
9513 How to Apply These Terms to Your New Libraries
9514
9515 If you develop a new library, and you want it to be of the greatest
9516possible use to the public, we recommend making it free software that
9517everyone can redistribute and change. You can do so by permitting
9518redistribution under these terms (or, alternatively, under the terms of the
9519ordinary General Public License).
9520
9521 To apply these terms, attach the following notices to the library. It is
9522safest to attach them to the start of each source file to most effectively
9523convey the exclusion of warranty; and each file should have at least the
9524"copyright" line and a pointer to where the full notice is found.
9525
9526 <one line to give the library's name and a brief idea of what it does.>
9527 Copyright (C) <year> <name of author>
9528
9529 This library is free software; you can redistribute it and/or
9530 modify it under the terms of the GNU Lesser General Public
9531 License as published by the Free Software Foundation; either
9532 version 2.1 of the License, or (at your option) any later version.
9533
9534 This library is distributed in the hope that it will be useful,
9535 but WITHOUT ANY WARRANTY; without even the implied warranty of
9536 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9537 Lesser General Public License for more details.
9538
9539 You should have received a copy of the GNU Lesser General Public
9540 License along with this library; if not, write to the Free Software
9541 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
9542
9543Also add information on how to contact you by electronic and paper mail.
9544
9545You should also get your employer (if you work as a programmer) or your
9546school, if any, to sign a "copyright disclaimer" for the library, if
9547necessary. Here is a sample; alter the names:
9548
9549 Yoyodyne, Inc., hereby disclaims all copyright interest in the
9550 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
9551
9552 <signature of Ty Coon>, 1 April 1990
9553 Ty Coon, President of Vice
9554
9555That's all there is to it!
9556
9557
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009558GCC RUNTIME LIBRARY EXCEPTION
9559
9560Version 3.1, 31 March 2009
9561
9562Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
9563
9564Everyone is permitted to copy and distribute verbatim copies of this
9565license document, but changing it is not allowed.
9566
9567This GCC Runtime Library Exception ("Exception") is an additional
9568permission under section 7 of the GNU General Public License, version
95693 ("GPLv3"). It applies to a given file (the "Runtime Library") that
9570bears a notice placed by the copyright holder of the file stating that
9571the file is governed by GPLv3 along with this Exception.
9572
9573When you use GCC to compile a program, GCC may combine portions of
9574certain GCC header files and runtime libraries with the compiled
9575program. The purpose of this Exception is to allow compilation of
9576non-GPL (including proprietary) programs to use, in this way, the
9577header files and runtime libraries covered by this Exception.
9578
95790. Definitions.
9580
9581A file is an "Independent Module" if it either requires the Runtime
9582Library for execution after a Compilation Process, or makes use of an
9583interface provided by the Runtime Library, but is not otherwise based
9584on the Runtime Library.
9585
9586"GCC" means a version of the GNU Compiler Collection, with or without
9587modifications, governed by version 3 (or a specified later version) of
9588the GNU General Public License (GPL) with the option of using any
9589subsequent versions published by the FSF.
9590
9591"GPL-compatible Software" is software whose conditions of propagation,
9592modification and use would permit combination with GCC in accord with
9593the license of GCC.
9594
9595"Target Code" refers to output from any compiler for a real or virtual
9596target processor architecture, in executable form or suitable for
9597input to an assembler, loader, linker and/or execution
9598phase. Notwithstanding that, Target Code does not include data in any
9599format that is used as a compiler intermediate representation, or used
9600for producing a compiler intermediate representation.
9601
9602The "Compilation Process" transforms code entirely represented in
9603non-intermediate languages designed for human-written code, and/or in
9604Java Virtual Machine byte code, into Target Code. Thus, for example,
9605use of source code generators and preprocessors need not be considered
9606part of the Compilation Process, since the Compilation Process can be
9607understood as starting with the output of the generators or
9608preprocessors.
9609
9610A Compilation Process is "Eligible" if it is done using GCC, alone or
9611with other GPL-compatible software, or if it is done without using any
9612work based on GCC. For example, using non-GPL-compatible Software to
9613optimize any GCC intermediate representations would not qualify as an
9614Eligible Compilation Process.
9615
96161. Grant of Additional Permission.
9617
9618You have permission to propagate a work of Target Code formed by
9619combining the Runtime Library with Independent Modules, even if such
9620propagation would otherwise violate the terms of GPLv3, provided that
9621all Target Code was generated by Eligible Compilation Processes. You
9622may then convey such a combination under terms of your choice,
9623consistent with the licensing of the Independent Modules.
9624
96252. No Weakening of GCC Copyleft.
9626
9627The availability of this Exception does not imply any general
9628presumption that third-party software is unaffected by the copyleft
9629requirements of the license of GCC.
9630
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009631 GNU GENERAL PUBLIC LICENSE
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009632 Version 3, 29 June 2007
9633
9634 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
9635 Everyone is permitted to copy and distribute verbatim copies
9636 of this license document, but changing it is not allowed.
9637
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009638 Preamble
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009639
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009640 The GNU General Public License is a free, copyleft license for
9641software and other kinds of works.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009642
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009643 The licenses for most software and other practical works are designed
9644to take away your freedom to share and change the works. By contrast,
9645the GNU General Public License is intended to guarantee your freedom to
9646share and change all versions of a program--to make sure it remains free
9647software for all its users. We, the Free Software Foundation, use the
9648GNU General Public License for most of our software; it applies also to
9649any other work released this way by its authors. You can apply it to
9650your programs, too.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009651
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009652 When we speak of free software, we are referring to freedom, not
9653price. Our General Public Licenses are designed to make sure that you
9654have the freedom to distribute copies of free software (and charge for
9655them if you wish), that you receive source code or can get it if you
9656want it, that you can change the software or use pieces of it in new
9657free programs, and that you know you can do these things.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009658
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009659 To protect your rights, we need to prevent others from denying you
9660these rights or asking you to surrender the rights. Therefore, you have
9661certain responsibilities if you distribute copies of the software, or if
9662you modify it: responsibilities to respect the freedom of others.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009663
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009664 For example, if you distribute copies of such a program, whether
9665gratis or for a fee, you must pass on to the recipients the same
9666freedoms that you received. You must make sure that they, too, receive
9667or can get the source code. And you must show them these terms so they
9668know their rights.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009669
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009670 Developers that use the GNU GPL protect your rights with two steps:
9671(1) assert copyright on the software, and (2) offer you this License
9672giving you legal permission to copy, distribute and/or modify it.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009673
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009674 For the developers' and authors' protection, the GPL clearly explains
9675that there is no warranty for this free software. For both users' and
9676authors' sake, the GPL requires that modified versions be marked as
9677changed, so that their problems will not be attributed erroneously to
9678authors of previous versions.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009679
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009680 Some devices are designed to deny users access to install or run
9681modified versions of the software inside them, although the manufacturer
9682can do so. This is fundamentally incompatible with the aim of
9683protecting users' freedom to change the software. The systematic
9684pattern of such abuse occurs in the area of products for individuals to
9685use, which is precisely where it is most unacceptable. Therefore, we
9686have designed this version of the GPL to prohibit the practice for those
9687products. If such problems arise substantially in other domains, we
9688stand ready to extend this provision to those domains in future versions
9689of the GPL, as needed to protect the freedom of users.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -08009690
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009691 Finally, every program is threatened constantly by software patents.
9692States should not allow patents to restrict development and use of
9693software on general-purpose computers, but in those that do, we wish to
9694avoid the special danger that patents applied to a free program could
9695make it effectively proprietary. To prevent this, the GPL assures that
9696patents cannot be used to render the program non-free.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009697
9698 The precise terms and conditions for copying, distribution and
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009699modification follow.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009700
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009701 TERMS AND CONDITIONS
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009702
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009703 0. Definitions.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009704
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009705 "This License" refers to version 3 of the GNU General Public License.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009706
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009707 "Copyright" also means copyright-like laws that apply to other kinds of
9708works, such as semiconductor masks.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009709
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009710 "The Program" refers to any copyrightable work licensed under this
9711License. Each licensee is addressed as "you". "Licensees" and
9712"recipients" may be individuals or organizations.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009713
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009714 To "modify" a work means to copy from or adapt all or part of the work
9715in a fashion requiring copyright permission, other than the making of an
9716exact copy. The resulting work is called a "modified version" of the
9717earlier work or a work "based on" the earlier work.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009718
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009719 A "covered work" means either the unmodified Program or a work based
9720on the Program.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009721
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009722 To "propagate" a work means to do anything with it that, without
9723permission, would make you directly or secondarily liable for
9724infringement under applicable copyright law, except executing it on a
9725computer or modifying a private copy. Propagation includes copying,
9726distribution (with or without modification), making available to the
9727public, and in some countries other activities as well.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009728
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009729 To "convey" a work means any kind of propagation that enables other
9730parties to make or receive copies. Mere interaction with a user through
9731a computer network, with no transfer of a copy, is not conveying.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009732
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009733 An interactive user interface displays "Appropriate Legal Notices"
9734to the extent that it includes a convenient and prominently visible
9735feature that (1) displays an appropriate copyright notice, and (2)
9736tells the user that there is no warranty for the work (except to the
9737extent that warranties are provided), that licensees may convey the
9738work under this License, and how to view a copy of this License. If
9739the interface presents a list of user commands or options, such as a
9740menu, a prominent item in the list meets this criterion.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009741
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009742 1. Source Code.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009743
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009744 The "source code" for a work means the preferred form of the work
9745for making modifications to it. "Object code" means any non-source
9746form of a work.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009747
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009748 A "Standard Interface" means an interface that either is an official
9749standard defined by a recognized standards body, or, in the case of
9750interfaces specified for a particular programming language, one that
9751is widely used among developers working in that language.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009752
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009753 The "System Libraries" of an executable work include anything, other
9754than the work as a whole, that (a) is included in the normal form of
9755packaging a Major Component, but which is not part of that Major
9756Component, and (b) serves only to enable use of the work with that
9757Major Component, or to implement a Standard Interface for which an
9758implementation is available to the public in source code form. A
9759"Major Component", in this context, means a major essential component
9760(kernel, window system, and so on) of the specific operating system
9761(if any) on which the executable work runs, or a compiler used to
9762produce the work, or an object code interpreter used to run it.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009763
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009764 The "Corresponding Source" for a work in object code form means all
9765the source code needed to generate, install, and (for an executable
9766work) run the object code and to modify the work, including scripts to
9767control those activities. However, it does not include the work's
9768System Libraries, or general-purpose tools or generally available free
9769programs which are used unmodified in performing those activities but
9770which are not part of the work. For example, Corresponding Source
9771includes interface definition files associated with source files for
9772the work, and the source code for shared libraries and dynamically
9773linked subprograms that the work is specifically designed to require,
9774such as by intimate data communication or control flow between those
9775subprograms and other parts of the work.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009776
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009777 The Corresponding Source need not include anything that users
9778can regenerate automatically from other parts of the Corresponding
9779Source.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009780
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009781 The Corresponding Source for a work in source code form is that
9782same work.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009783
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009784 2. Basic Permissions.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009785
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009786 All rights granted under this License are granted for the term of
9787copyright on the Program, and are irrevocable provided the stated
9788conditions are met. This License explicitly affirms your unlimited
9789permission to run the unmodified Program. The output from running a
9790covered work is covered by this License only if the output, given its
9791content, constitutes a covered work. This License acknowledges your
9792rights of fair use or other equivalent, as provided by copyright law.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009793
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009794 You may make, run and propagate covered works that you do not
9795convey, without conditions so long as your license otherwise remains
9796in force. You may convey covered works to others for the sole purpose
9797of having them make modifications exclusively for you, or provide you
9798with facilities for running those works, provided that you comply with
9799the terms of this License in conveying all material for which you do
9800not control copyright. Those thus making or running the covered works
9801for you must do so exclusively on your behalf, under your direction
9802and control, on terms that prohibit them from making any copies of
9803your copyrighted material outside their relationship with you.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009804
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009805 Conveying under any other circumstances is permitted solely under
9806the conditions stated below. Sublicensing is not allowed; section 10
9807makes it unnecessary.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009808
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009809 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009810
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009811 No covered work shall be deemed part of an effective technological
9812measure under any applicable law fulfilling obligations under article
981311 of the WIPO copyright treaty adopted on 20 December 1996, or
9814similar laws prohibiting or restricting circumvention of such
9815measures.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009816
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009817 When you convey a covered work, you waive any legal power to forbid
9818circumvention of technological measures to the extent such circumvention
9819is effected by exercising rights under this License with respect to
9820the covered work, and you disclaim any intention to limit operation or
9821modification of the work as a means of enforcing, against the work's
9822users, your or third parties' legal rights to forbid circumvention of
9823technological measures.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009824
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009825 4. Conveying Verbatim Copies.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009826
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009827 You may convey verbatim copies of the Program's source code as you
9828receive it, in any medium, provided that you conspicuously and
9829appropriately publish on each copy an appropriate copyright notice;
9830keep intact all notices stating that this License and any
9831non-permissive terms added in accord with section 7 apply to the code;
9832keep intact all notices of the absence of any warranty; and give all
9833recipients a copy of this License along with the Program.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009834
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009835 You may charge any price or no price for each copy that you convey,
9836and you may offer support or warranty protection for a fee.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009837
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009838 5. Conveying Modified Source Versions.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009839
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009840 You may convey a work based on the Program, or the modifications to
9841produce it from the Program, in the form of source code under the
9842terms of section 4, provided that you also meet all of these conditions:
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009843
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009844 a) The work must carry prominent notices stating that you modified
9845 it, and giving a relevant date.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009846
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009847 b) The work must carry prominent notices stating that it is
9848 released under this License and any conditions added under section
9849 7. This requirement modifies the requirement in section 4 to
9850 "keep intact all notices".
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009851
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009852 c) You must license the entire work, as a whole, under this
9853 License to anyone who comes into possession of a copy. This
9854 License will therefore apply, along with any applicable section 7
9855 additional terms, to the whole of the work, and all its parts,
9856 regardless of how they are packaged. This License gives no
9857 permission to license the work in any other way, but it does not
9858 invalidate such permission if you have separately received it.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009859
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009860 d) If the work has interactive user interfaces, each must display
9861 Appropriate Legal Notices; however, if the Program has interactive
9862 interfaces that do not display Appropriate Legal Notices, your
9863 work need not make them do so.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009864
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009865 A compilation of a covered work with other separate and independent
9866works, which are not by their nature extensions of the covered work,
9867and which are not combined with it such as to form a larger program,
9868in or on a volume of a storage or distribution medium, is called an
9869"aggregate" if the compilation and its resulting copyright are not
9870used to limit the access or legal rights of the compilation's users
9871beyond what the individual works permit. Inclusion of a covered work
9872in an aggregate does not cause this License to apply to the other
9873parts of the aggregate.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009874
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009875 6. Conveying Non-Source Forms.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -08009876
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -08009877 You may convey a covered work in object code form under the terms
9878of sections 4 and 5, provided that you also convey the
9879machine-readable Corresponding Source under the terms of this License,
9880in one of these ways:
9881
9882 a) Convey the object code in, or embodied in, a physical product
9883 (including a physical distribution medium), accompanied by the
9884 Corresponding Source fixed on a durable physical medium
9885 customarily used for software interchange.
9886
9887 b) Convey the object code in, or embodied in, a physical product
9888 (including a physical distribution medium), accompanied by a
9889 written offer, valid for at least three years and valid for as
9890 long as you offer spare parts or customer support for that product
9891 model, to give anyone who possesses the object code either (1) a
9892 copy of the Corresponding Source for all the software in the
9893 product that is covered by this License, on a durable physical
9894 medium customarily used for software interchange, for a price no
9895 more than your reasonable cost of physically performing this
9896 conveying of source, or (2) access to copy the
9897 Corresponding Source from a network server at no charge.
9898
9899 c) Convey individual copies of the object code with a copy of the
9900 written offer to provide the Corresponding Source. This
9901 alternative is allowed only occasionally and noncommercially, and
9902 only if you received the object code with such an offer, in accord
9903 with subsection 6b.
9904
9905 d) Convey the object code by offering access from a designated
9906 place (gratis or for a charge), and offer equivalent access to the
9907 Corresponding Source in the same way through the same place at no
9908 further charge. You need not require recipients to copy the
9909 Corresponding Source along with the object code. If the place to
9910 copy the object code is a network server, the Corresponding Source
9911 may be on a different server (operated by you or a third party)
9912 that supports equivalent copying facilities, provided you maintain
9913 clear directions next to the object code saying where to find the
9914 Corresponding Source. Regardless of what server hosts the
9915 Corresponding Source, you remain obligated to ensure that it is
9916 available for as long as needed to satisfy these requirements.
9917
9918 e) Convey the object code using peer-to-peer transmission, provided
9919 you inform other peers where the object code and Corresponding
9920 Source of the work are being offered to the general public at no
9921 charge under subsection 6d.
9922
9923 A separable portion of the object code, whose source code is excluded
9924from the Corresponding Source as a System Library, need not be
9925included in conveying the object code work.
9926
9927 A "User Product" is either (1) a "consumer product", which means any
9928tangible personal property which is normally used for personal, family,
9929or household purposes, or (2) anything designed or sold for incorporation
9930into a dwelling. In determining whether a product is a consumer product,
9931doubtful cases shall be resolved in favor of coverage. For a particular
9932product received by a particular user, "normally used" refers to a
9933typical or common use of that class of product, regardless of the status
9934of the particular user or of the way in which the particular user
9935actually uses, or expects or is expected to use, the product. A product
9936is a consumer product regardless of whether the product has substantial
9937commercial, industrial or non-consumer uses, unless such uses represent
9938the only significant mode of use of the product.
9939
9940 "Installation Information" for a User Product means any methods,
9941procedures, authorization keys, or other information required to install
9942and execute modified versions of a covered work in that User Product from
9943a modified version of its Corresponding Source. The information must
9944suffice to ensure that the continued functioning of the modified object
9945code is in no case prevented or interfered with solely because
9946modification has been made.
9947
9948 If you convey an object code work under this section in, or with, or
9949specifically for use in, a User Product, and the conveying occurs as
9950part of a transaction in which the right of possession and use of the
9951User Product is transferred to the recipient in perpetuity or for a
9952fixed term (regardless of how the transaction is characterized), the
9953Corresponding Source conveyed under this section must be accompanied
9954by the Installation Information. But this requirement does not apply
9955if neither you nor any third party retains the ability to install
9956modified object code on the User Product (for example, the work has
9957been installed in ROM).
9958
9959 The requirement to provide Installation Information does not include a
9960requirement to continue to provide support service, warranty, or updates
9961for a work that has been modified or installed by the recipient, or for
9962the User Product in which it has been modified or installed. Access to a
9963network may be denied when the modification itself materially and
9964adversely affects the operation of the network or violates the rules and
9965protocols for communication across the network.
9966
9967 Corresponding Source conveyed, and Installation Information provided,
9968in accord with this section must be in a format that is publicly
9969documented (and with an implementation available to the public in
9970source code form), and must require no special password or key for
9971unpacking, reading or copying.
9972
9973 7. Additional Terms.
9974
9975 "Additional permissions" are terms that supplement the terms of this
9976License by making exceptions from one or more of its conditions.
9977Additional permissions that are applicable to the entire Program shall
9978be treated as though they were included in this License, to the extent
9979that they are valid under applicable law. If additional permissions
9980apply only to part of the Program, that part may be used separately
9981under those permissions, but the entire Program remains governed by
9982this License without regard to the additional permissions.
9983
9984 When you convey a copy of a covered work, you may at your option
9985remove any additional permissions from that copy, or from any part of
9986it. (Additional permissions may be written to require their own
9987removal in certain cases when you modify the work.) You may place
9988additional permissions on material, added by you to a covered work,
9989for which you have or can give appropriate copyright permission.
9990
9991 Notwithstanding any other provision of this License, for material you
9992add to a covered work, you may (if authorized by the copyright holders of
9993that material) supplement the terms of this License with terms:
9994
9995 a) Disclaiming warranty or limiting liability differently from the
9996 terms of sections 15 and 16 of this License; or
9997
9998 b) Requiring preservation of specified reasonable legal notices or
9999 author attributions in that material or in the Appropriate Legal
10000 Notices displayed by works containing it; or
10001
10002 c) Prohibiting misrepresentation of the origin of that material, or
10003 requiring that modified versions of such material be marked in
10004 reasonable ways as different from the original version; or
10005
10006 d) Limiting the use for publicity purposes of names of licensors or
10007 authors of the material; or
10008
10009 e) Declining to grant rights under trademark law for use of some
10010 trade names, trademarks, or service marks; or
10011
10012 f) Requiring indemnification of licensors and authors of that
10013 material by anyone who conveys the material (or modified versions of
10014 it) with contractual assumptions of liability to the recipient, for
10015 any liability that these contractual assumptions directly impose on
10016 those licensors and authors.
10017
10018 All other non-permissive additional terms are considered "further
10019restrictions" within the meaning of section 10. If the Program as you
10020received it, or any part of it, contains a notice stating that it is
10021governed by this License along with a term that is a further
10022restriction, you may remove that term. If a license document contains
10023a further restriction but permits relicensing or conveying under this
10024License, you may add to a covered work material governed by the terms
10025of that license document, provided that the further restriction does
10026not survive such relicensing or conveying.
10027
10028 If you add terms to a covered work in accord with this section, you
10029must place, in the relevant source files, a statement of the
10030additional terms that apply to those files, or a notice indicating
10031where to find the applicable terms.
10032
10033 Additional terms, permissive or non-permissive, may be stated in the
10034form of a separately written license, or stated as exceptions;
10035the above requirements apply either way.
10036
10037 8. Termination.
10038
10039 You may not propagate or modify a covered work except as expressly
10040provided under this License. Any attempt otherwise to propagate or
10041modify it is void, and will automatically terminate your rights under
10042this License (including any patent licenses granted under the third
10043paragraph of section 11).
10044
10045 However, if you cease all violation of this License, then your
10046license from a particular copyright holder is reinstated (a)
10047provisionally, unless and until the copyright holder explicitly and
10048finally terminates your license, and (b) permanently, if the copyright
10049holder fails to notify you of the violation by some reasonable means
10050prior to 60 days after the cessation.
10051
10052 Moreover, your license from a particular copyright holder is
10053reinstated permanently if the copyright holder notifies you of the
10054violation by some reasonable means, this is the first time you have
10055received notice of violation of this License (for any work) from that
10056copyright holder, and you cure the violation prior to 30 days after
10057your receipt of the notice.
10058
10059 Termination of your rights under this section does not terminate the
10060licenses of parties who have received copies or rights from you under
10061this License. If your rights have been terminated and not permanently
10062reinstated, you do not qualify to receive new licenses for the same
10063material under section 10.
10064
10065 9. Acceptance Not Required for Having Copies.
10066
10067 You are not required to accept this License in order to receive or
10068run a copy of the Program. Ancillary propagation of a covered work
10069occurring solely as a consequence of using peer-to-peer transmission
10070to receive a copy likewise does not require acceptance. However,
10071nothing other than this License grants you permission to propagate or
10072modify any covered work. These actions infringe copyright if you do
10073not accept this License. Therefore, by modifying or propagating a
10074covered work, you indicate your acceptance of this License to do so.
10075
10076 10. Automatic Licensing of Downstream Recipients.
10077
10078 Each time you convey a covered work, the recipient automatically
10079receives a license from the original licensors, to run, modify and
10080propagate that work, subject to this License. You are not responsible
10081for enforcing compliance by third parties with this License.
10082
10083 An "entity transaction" is a transaction transferring control of an
10084organization, or substantially all assets of one, or subdividing an
10085organization, or merging organizations. If propagation of a covered
10086work results from an entity transaction, each party to that
10087transaction who receives a copy of the work also receives whatever
10088licenses to the work the party's predecessor in interest had or could
10089give under the previous paragraph, plus a right to possession of the
10090Corresponding Source of the work from the predecessor in interest, if
10091the predecessor has it or can get it with reasonable efforts.
10092
10093 You may not impose any further restrictions on the exercise of the
10094rights granted or affirmed under this License. For example, you may
10095not impose a license fee, royalty, or other charge for exercise of
10096rights granted under this License, and you may not initiate litigation
10097(including a cross-claim or counterclaim in a lawsuit) alleging that
10098any patent claim is infringed by making, using, selling, offering for
10099sale, or importing the Program or any portion of it.
10100
10101 11. Patents.
10102
10103 A "contributor" is a copyright holder who authorizes use under this
10104License of the Program or a work on which the Program is based. The
10105work thus licensed is called the contributor's "contributor version".
10106
10107 A contributor's "essential patent claims" are all patent claims
10108owned or controlled by the contributor, whether already acquired or
10109hereafter acquired, that would be infringed by some manner, permitted
10110by this License, of making, using, or selling its contributor version,
10111but do not include claims that would be infringed only as a
10112consequence of further modification of the contributor version. For
10113purposes of this definition, "control" includes the right to grant
10114patent sublicenses in a manner consistent with the requirements of
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010115this License.
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010116
10117 Each contributor grants you a non-exclusive, worldwide, royalty-free
10118patent license under the contributor's essential patent claims, to
10119make, use, sell, offer for sale, import and otherwise run, modify and
10120propagate the contents of its contributor version.
10121
10122 In the following three paragraphs, a "patent license" is any express
10123agreement or commitment, however denominated, not to enforce a patent
10124(such as an express permission to practice a patent or covenant not to
10125sue for patent infringement). To "grant" such a patent license to a
10126party means to make such an agreement or commitment not to enforce a
10127patent against the party.
10128
10129 If you convey a covered work, knowingly relying on a patent license,
10130and the Corresponding Source of the work is not available for anyone
10131to copy, free of charge and under the terms of this License, through a
10132publicly available network server or other readily accessible means,
10133then you must either (1) cause the Corresponding Source to be so
10134available, or (2) arrange to deprive yourself of the benefit of the
10135patent license for this particular work, or (3) arrange, in a manner
10136consistent with the requirements of this License, to extend the patent
10137license to downstream recipients. "Knowingly relying" means you have
10138actual knowledge that, but for the patent license, your conveying the
10139covered work in a country, or your recipient's use of the covered work
10140in a country, would infringe one or more identifiable patents in that
10141country that you have reason to believe are valid.
10142
10143 If, pursuant to or in connection with a single transaction or
10144arrangement, you convey, or propagate by procuring conveyance of, a
10145covered work, and grant a patent license to some of the parties
10146receiving the covered work authorizing them to use, propagate, modify
10147or convey a specific copy of the covered work, then the patent license
10148you grant is automatically extended to all recipients of the covered
10149work and works based on it.
10150
10151 A patent license is "discriminatory" if it does not include within
10152the scope of its coverage, prohibits the exercise of, or is
10153conditioned on the non-exercise of one or more of the rights that are
10154specifically granted under this License. You may not convey a covered
10155work if you are a party to an arrangement with a third party that is
10156in the business of distributing software, under which you make payment
10157to the third party based on the extent of your activity of conveying
10158the work, and under which the third party grants, to any of the
10159parties who would receive the covered work from you, a discriminatory
10160patent license (a) in connection with copies of the covered work
10161conveyed by you (or copies made from those copies), or (b) primarily
10162for and in connection with specific products or compilations that
10163contain the covered work, unless you entered into that arrangement,
10164or that patent license was granted, prior to 28 March 2007.
10165
10166 Nothing in this License shall be construed as excluding or limiting
10167any implied license or other defenses to infringement that may
10168otherwise be available to you under applicable patent law.
10169
10170 12. No Surrender of Others' Freedom.
10171
10172 If conditions are imposed on you (whether by court order, agreement or
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010173otherwise) that contradict the conditions of this License, they do not
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010174excuse you from the conditions of this License. If you cannot convey a
10175covered work so as to satisfy simultaneously your obligations under this
10176License and any other pertinent obligations, then as a consequence you may
10177not convey it at all. For example, if you agree to terms that obligate you
10178to collect a royalty for further conveying from those to whom you convey
10179the Program, the only way you could satisfy both those terms and this
10180License would be to refrain entirely from conveying the Program.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010181
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010182 13. Use with the GNU Affero General Public License.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010183
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010184 Notwithstanding any other provision of this License, you have
10185permission to link or combine any covered work with a work licensed
10186under version 3 of the GNU Affero General Public License into a single
10187combined work, and to convey the resulting work. The terms of this
10188License will continue to apply to the part which is the covered work,
10189but the special requirements of the GNU Affero General Public License,
10190section 13, concerning interaction through a network will apply to the
10191combination as such.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010192
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010193 14. Revised Versions of this License.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010194
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010195 The Free Software Foundation may publish revised and/or new versions of
10196the GNU General Public License from time to time. Such new versions will
10197be similar in spirit to the present version, but may differ in detail to
10198address new problems or concerns.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010199
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010200 Each version is given a distinguishing version number. If the
10201Program specifies that a certain numbered version of the GNU General
10202Public License "or any later version" applies to it, you have the
10203option of following the terms and conditions either of that numbered
10204version or of any later version published by the Free Software
10205Foundation. If the Program does not specify a version number of the
10206GNU General Public License, you may choose any version ever published
10207by the Free Software Foundation.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010208
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010209 If the Program specifies that a proxy can decide which future
10210versions of the GNU General Public License can be used, that proxy's
10211public statement of acceptance of a version permanently authorizes you
10212to choose that version for the Program.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010213
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010214 Later license versions may give you additional or different
10215permissions. However, no additional obligations are imposed on any
10216author or copyright holder as a result of your choosing to follow a
10217later version.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010218
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010219 15. Disclaimer of Warranty.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010220
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010221 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
10222APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
10223HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
10224OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
10225THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
10226PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
10227IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
10228ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010229
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010230 16. Limitation of Liability.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010231
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010232 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
10233WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
10234THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
10235GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
10236USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
10237DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
10238PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
10239EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
10240SUCH DAMAGES.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010241
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010242 17. Interpretation of Sections 15 and 16.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010243
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010244 If the disclaimer of warranty and limitation of liability provided
10245above cannot be given local legal effect according to their terms,
10246reviewing courts shall apply local law that most closely approximates
10247an absolute waiver of all civil liability in connection with the
10248Program, unless a warranty or assumption of liability accompanies a
10249copy of the Program in return for a fee.
10250
10251 END OF TERMS AND CONDITIONS
10252
10253 How to Apply These Terms to Your New Programs
10254
10255 If you develop a new program, and you want it to be of the greatest
10256possible use to the public, the best way to achieve this is to make it
10257free software which everyone can redistribute and change under these terms.
10258
10259 To do so, attach the following notices to the program. It is safest
10260to attach them to the start of each source file to most effectively
10261state the exclusion of warranty; and each file should have at least
10262the "copyright" line and a pointer to where the full notice is found.
10263
10264 <one line to give the program's name and a brief idea of what it does.>
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010265 Copyright (C) <year> <name of author>
10266
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010267 This program is free software: you can redistribute it and/or modify
10268 it under the terms of the GNU General Public License as published by
10269 the Free Software Foundation, either version 3 of the License, or
10270 (at your option) any later version.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010271
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010272 This program is distributed in the hope that it will be useful,
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010273 but WITHOUT ANY WARRANTY; without even the implied warranty of
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010274 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10275 GNU General Public License for more details.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010276
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010277 You should have received a copy of the GNU General Public License
10278 along with this program. If not, see <http://www.gnu.org/licenses/>.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010279
10280Also add information on how to contact you by electronic and paper mail.
10281
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010282 If the program does terminal interaction, make it output a short
10283notice like this when it starts in an interactive mode:
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010284
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010285 <program> Copyright (C) <year> <name of author>
10286 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
10287 This is free software, and you are welcome to redistribute it
10288 under certain conditions; type `show c' for details.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010289
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010290The hypothetical commands `show w' and `show c' should show the appropriate
10291parts of the General Public License. Of course, your program's commands
10292might be different; for a GUI interface, you would use an "about box".
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010293
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010294 You should also get your employer (if you work as a programmer) or school,
10295if any, to sign a "copyright disclaimer" for the program, if necessary.
10296For more information on this, and how to apply and follow the GNU GPL, see
10297<http://www.gnu.org/licenses/>.
10298
10299 The GNU General Public License does not permit incorporating your program
10300into proprietary programs. If your program is a subroutine library, you
10301may consider it more useful to permit linking proprietary applications with
10302the library. If this is what you want to do, use the GNU Lesser General
10303Public License instead of this License. But first, please read
10304<http://www.gnu.org/philosophy/why-not-lgpl.html>.
10305 GNU LESSER GENERAL PUBLIC LICENSE
10306 Version 3, 29 June 2007
10307
10308 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
10309 Everyone is permitted to copy and distribute verbatim copies
10310 of this license document, but changing it is not allowed.
Pirama Arumuga Nainar4fa2e462020-02-04 10:59:33 -080010311
10312
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080010313 This version of the GNU Lesser General Public License incorporates
10314the terms and conditions of version 3 of the GNU General Public
10315License, supplemented by the additional permissions listed below.
10316
10317 0. Additional Definitions.
10318
10319 As used herein, "this License" refers to version 3 of the GNU Lesser
10320General Public License, and the "GNU GPL" refers to version 3 of the GNU
10321General Public License.
10322
10323 "The Library" refers to a covered work governed by this License,
10324other than an Application or a Combined Work as defined below.
10325
10326 An "Application" is any work that makes use of an interface provided
10327by the Library, but which is not otherwise based on the Library.
10328Defining a subclass of a class defined by the Library is deemed a mode
10329of using an interface provided by the Library.
10330
10331 A "Combined Work" is a work produced by combining or linking an
10332Application with the Library. The particular version of the Library
10333with which the Combined Work was made is also called the "Linked
10334Version".
10335
10336 The "Minimal Corresponding Source" for a Combined Work means the
10337Corresponding Source for the Combined Work, excluding any source code
10338for portions of the Combined Work that, considered in isolation, are
10339based on the Application, and not on the Linked Version.
10340
10341 The "Corresponding Application Code" for a Combined Work means the
10342object code and/or source code for the Application, including any data
10343and utility programs needed for reproducing the Combined Work from the
10344Application, but excluding the System Libraries of the Combined Work.
10345
10346 1. Exception to Section 3 of the GNU GPL.
10347
10348 You may convey a covered work under sections 3 and 4 of this License
10349without being bound by section 3 of the GNU GPL.
10350
10351 2. Conveying Modified Versions.
10352
10353 If you modify a copy of the Library, and, in your modifications, a
10354facility refers to a function or data to be supplied by an Application
10355that uses the facility (other than as an argument passed when the
10356facility is invoked), then you may convey a copy of the modified
10357version:
10358
10359 a) under this License, provided that you make a good faith effort to
10360 ensure that, in the event an Application does not supply the
10361 function or data, the facility still operates, and performs
10362 whatever part of its purpose remains meaningful, or
10363
10364 b) under the GNU GPL, with none of the additional permissions of
10365 this License applicable to that copy.
10366
10367 3. Object Code Incorporating Material from Library Header Files.
10368
10369 The object code form of an Application may incorporate material from
10370a header file that is part of the Library. You may convey such object
10371code under terms of your choice, provided that, if the incorporated
10372material is not limited to numerical parameters, data structure
10373layouts and accessors, or small macros, inline functions and templates
10374(ten or fewer lines in length), you do both of the following:
10375
10376 a) Give prominent notice with each copy of the object code that the
10377 Library is used in it and that the Library and its use are
10378 covered by this License.
10379
10380 b) Accompany the object code with a copy of the GNU GPL and this license
10381 document.
10382
10383 4. Combined Works.
10384
10385 You may convey a Combined Work under terms of your choice that,
10386taken together, effectively do not restrict modification of the
10387portions of the Library contained in the Combined Work and reverse
10388engineering for debugging such modifications, if you also do each of
10389the following:
10390
10391 a) Give prominent notice with each copy of the Combined Work that
10392 the Library is used in it and that the Library and its use are
10393 covered by this License.
10394
10395 b) Accompany the Combined Work with a copy of the GNU GPL and this license
10396 document.
10397
10398 c) For a Combined Work that displays copyright notices during
10399 execution, include the copyright notice for the Library among
10400 these notices, as well as a reference directing the user to the
10401 copies of the GNU GPL and this license document.
10402
10403 d) Do one of the following:
10404
10405 0) Convey the Minimal Corresponding Source under the terms of this
10406 License, and the Corresponding Application Code in a form
10407 suitable for, and under terms that permit, the user to
10408 recombine or relink the Application with a modified version of
10409 the Linked Version to produce a modified Combined Work, in the
10410 manner specified by section 6 of the GNU GPL for conveying
10411 Corresponding Source.
10412
10413 1) Use a suitable shared library mechanism for linking with the
10414 Library. A suitable mechanism is one that (a) uses at run time
10415 a copy of the Library already present on the user's computer
10416 system, and (b) will operate properly with a modified version
10417 of the Library that is interface-compatible with the Linked
10418 Version.
10419
10420 e) Provide Installation Information, but only if you would otherwise
10421 be required to provide such information under section 6 of the
10422 GNU GPL, and only to the extent that such information is
10423 necessary to install and execute a modified version of the
10424 Combined Work produced by recombining or relinking the
10425 Application with a modified version of the Linked Version. (If
10426 you use option 4d0, the Installation Information must accompany
10427 the Minimal Corresponding Source and Corresponding Application
10428 Code. If you use option 4d1, you must provide the Installation
10429 Information in the manner specified by section 6 of the GNU GPL
10430 for conveying Corresponding Source.)
10431
10432 5. Combined Libraries.
10433
10434 You may place library facilities that are a work based on the
10435Library side by side in a single library together with other library
10436facilities that are not Applications and are not covered by this
10437License, and convey such a combined library under terms of your
10438choice, if you do both of the following:
10439
10440 a) Accompany the combined library with a copy of the same work based
10441 on the Library, uncombined with any other library facilities,
10442 conveyed under the terms of this License.
10443
10444 b) Give prominent notice with the combined library that part of it
10445 is a work based on the Library, and explaining where to find the
10446 accompanying uncombined form of the same work.
10447
10448 6. Revised Versions of the GNU Lesser General Public License.
10449
10450 The Free Software Foundation may publish revised and/or new versions
10451of the GNU Lesser General Public License from time to time. Such new
10452versions will be similar in spirit to the present version, but may
10453differ in detail to address new problems or concerns.
10454
10455 Each version is given a distinguishing version number. If the
10456Library as you received it specifies that a certain numbered version
10457of the GNU Lesser General Public License "or any later version"
10458applies to it, you have the option of following the terms and
10459conditions either of that published version or of any later version
10460published by the Free Software Foundation. If the Library as you
10461received it does not specify a version number of the GNU Lesser
10462General Public License, you may choose any version of the GNU Lesser
10463General Public License ever published by the Free Software Foundation.
10464
10465 If the Library as you received it specifies that a proxy can decide
10466whether future versions of the GNU Lesser General Public License shall
10467apply, that proxy's public statement of acceptance of any version is
10468permanent authorization for you to choose that version for the
10469Library.
Pirama Arumuga Nainarf7ce6672020-01-24 13:48:17 -080010470 GNU GENERAL PUBLIC LICENSE
10471 Version 2, June 1991
10472
10473 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
10474 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
10475 Everyone is permitted to copy and distribute verbatim copies
10476 of this license document, but changing it is not allowed.
10477
10478 Preamble
10479
10480 The licenses for most software are designed to take away your
10481freedom to share and change it. By contrast, the GNU General Public
10482License is intended to guarantee your freedom to share and change free
10483software--to make sure the software is free for all its users. This
10484General Public License applies to most of the Free Software
10485Foundation's software and to any other program whose authors commit to
10486using it. (Some other Free Software Foundation software is covered by
10487the GNU Library General Public License instead.) You can apply it to
10488your programs, too.
10489
10490 When we speak of free software, we are referring to freedom, not
10491price. Our General Public Licenses are designed to make sure that you
10492have the freedom to distribute copies of free software (and charge for
10493this service if you wish), that you receive source code or can get it
10494if you want it, that you can change the software or use pieces of it
10495in new free programs; and that you know you can do these things.
10496
10497 To protect your rights, we need to make restrictions that forbid
10498anyone to deny you these rights or to ask you to surrender the rights.
10499These restrictions translate to certain responsibilities for you if you
10500distribute copies of the software, or if you modify it.
10501
10502 For example, if you distribute copies of such a program, whether
10503gratis or for a fee, you must give the recipients all the rights that
10504you have. You must make sure that they, too, receive or can get the
10505source code. And you must show them these terms so they know their
10506rights.
10507
10508 We protect your rights with two steps: (1) copyright the software, and
10509(2) offer you this license which gives you legal permission to copy,
10510distribute and/or modify the software.
10511
10512 Also, for each author's protection and ours, we want to make certain
10513that everyone understands that there is no warranty for this free
10514software. If the software is modified by someone else and passed on, we
10515want its recipients to know that what they have is not the original, so
10516that any problems introduced by others will not reflect on the original
10517authors' reputations.
10518
10519 Finally, any free program is threatened constantly by software
10520patents. We wish to avoid the danger that redistributors of a free
10521program will individually obtain patent licenses, in effect making the
10522program proprietary. To prevent this, we have made it clear that any
10523patent must be licensed for everyone's free use or not licensed at all.
10524
10525 The precise terms and conditions for copying, distribution and
10526modification follow.
10527
10528 GNU GENERAL PUBLIC LICENSE
10529 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
10530
10531 0. This License applies to any program or other work which contains
10532a notice placed by the copyright holder saying it may be distributed
10533under the terms of this General Public License. The "Program", below,
10534refers to any such program or work, and a "work based on the Program"
10535means either the Program or any derivative work under copyright law:
10536that is to say, a work containing the Program or a portion of it,
10537either verbatim or with modifications and/or translated into another
10538language. (Hereinafter, translation is included without limitation in
10539the term "modification".) Each licensee is addressed as "you".
10540
10541Activities other than copying, distribution and modification are not
10542covered by this License; they are outside its scope. The act of
10543running the Program is not restricted, and the output from the Program
10544is covered only if its contents constitute a work based on the
10545Program (independent of having been made by running the Program).
10546Whether that is true depends on what the Program does.
10547
10548 1. You may copy and distribute verbatim copies of the Program's
10549source code as you receive it, in any medium, provided that you
10550conspicuously and appropriately publish on each copy an appropriate
10551copyright notice and disclaimer of warranty; keep intact all the
10552notices that refer to this License and to the absence of any warranty;
10553and give any other recipients of the Program a copy of this License
10554along with the Program.
10555
10556You may charge a fee for the physical act of transferring a copy, and
10557you may at your option offer warranty protection in exchange for a fee.
10558
10559 2. You may modify your copy or copies of the Program or any portion
10560of it, thus forming a work based on the Program, and copy and
10561distribute such modifications or work under the terms of Section 1
10562above, provided that you also meet all of these conditions:
10563
10564 a) You must cause the modified files to carry prominent notices
10565 stating that you changed the files and the date of any change.
10566
10567 b) You must cause any work that you distribute or publish, that in
10568 whole or in part contains or is derived from the Program or any
10569 part thereof, to be licensed as a whole at no charge to all third
10570 parties under the terms of this License.
10571
10572 c) If the modified program normally reads commands interactively
10573 when run, you must cause it, when started running for such
10574 interactive use in the most ordinary way, to print or display an
10575 announcement including an appropriate copyright notice and a
10576 notice that there is no warranty (or else, saying that you provide
10577 a warranty) and that users may redistribute the program under
10578 these conditions, and telling the user how to view a copy of this
10579 License. (Exception: if the Program itself is interactive but
10580 does not normally print such an announcement, your work based on
10581 the Program is not required to print an announcement.)
10582
10583These requirements apply to the modified work as a whole. If
10584identifiable sections of that work are not derived from the Program,
10585and can be reasonably considered independent and separate works in
10586themselves, then this License, and its terms, do not apply to those
10587sections when you distribute them as separate works. But when you
10588distribute the same sections as part of a whole which is a work based
10589on the Program, the distribution of the whole must be on the terms of
10590this License, whose permissions for other licensees extend to the
10591entire whole, and thus to each and every part regardless of who wrote it.
10592
10593Thus, it is not the intent of this section to claim rights or contest
10594your rights to work written entirely by you; rather, the intent is to
10595exercise the right to control the distribution of derivative or
10596collective works based on the Program.
10597
10598In addition, mere aggregation of another work not based on the Program
10599with the Program (or with a work based on the Program) on a volume of
10600a storage or distribution medium does not bring the other work under
10601the scope of this License.
10602
10603 3. You may copy and distribute the Program (or a work based on it,
10604under Section 2) in object code or executable form under the terms of
10605Sections 1 and 2 above provided that you also do one of the following:
10606
10607 a) Accompany it with the complete corresponding machine-readable
10608 source code, which must be distributed under the terms of Sections
10609 1 and 2 above on a medium customarily used for software interchange; or,
10610
10611 b) Accompany it with a written offer, valid for at least three
10612 years, to give any third party, for a charge no more than your
10613 cost of physically performing source distribution, a complete
10614 machine-readable copy of the corresponding source code, to be
10615 distributed under the terms of Sections 1 and 2 above on a medium
10616 customarily used for software interchange; or,
10617
10618 c) Accompany it with the information you received as to the offer
10619 to distribute corresponding source code. (This alternative is
10620 allowed only for noncommercial distribution and only if you
10621 received the program in object code or executable form with such
10622 an offer, in accord with Subsection b above.)
10623
10624The source code for a work means the preferred form of the work for
10625making modifications to it. For an executable work, complete source
10626code means all the source code for all modules it contains, plus any
10627associated interface definition files, plus the scripts used to
10628control compilation and installation of the executable. However, as a
10629special exception, the source code distributed need not include
10630anything that is normally distributed (in either source or binary
10631form) with the major components (compiler, kernel, and so on) of the
10632operating system on which the executable runs, unless that component
10633itself accompanies the executable.
10634
10635If distribution of executable or object code is made by offering
10636access to copy from a designated place, then offering equivalent
10637access to copy the source code from the same place counts as
10638distribution of the source code, even though third parties are not
10639compelled to copy the source along with the object code.
10640
10641 4. You may not copy, modify, sublicense, or distribute the Program
10642except as expressly provided under this License. Any attempt
10643otherwise to copy, modify, sublicense or distribute the Program is
10644void, and will automatically terminate your rights under this License.
10645However, parties who have received copies, or rights, from you under
10646this License will not have their licenses terminated so long as such
10647parties remain in full compliance.
10648
10649 5. You are not required to accept this License, since you have not
10650signed it. However, nothing else grants you permission to modify or
10651distribute the Program or its derivative works. These actions are
10652prohibited by law if you do not accept this License. Therefore, by
10653modifying or distributing the Program (or any work based on the
10654Program), you indicate your acceptance of this License to do so, and
10655all its terms and conditions for copying, distributing or modifying
10656the Program or works based on it.
10657
10658 6. Each time you redistribute the Program (or any work based on the
10659Program), the recipient automatically receives a license from the
10660original licensor to copy, distribute or modify the Program subject to
10661these terms and conditions. You may not impose any further
10662restrictions on the recipients' exercise of the rights granted herein.
10663You are not responsible for enforcing compliance by third parties to
10664this License.
10665
10666 7. If, as a consequence of a court judgment or allegation of patent
10667infringement or for any other reason (not limited to patent issues),
10668conditions are imposed on you (whether by court order, agreement or
10669otherwise) that contradict the conditions of this License, they do not
10670excuse you from the conditions of this License. If you cannot
10671distribute so as to satisfy simultaneously your obligations under this
10672License and any other pertinent obligations, then as a consequence you
10673may not distribute the Program at all. For example, if a patent
10674license would not permit royalty-free redistribution of the Program by
10675all those who receive copies directly or indirectly through you, then
10676the only way you could satisfy both it and this License would be to
10677refrain entirely from distribution of the Program.
10678
10679If any portion of this section is held invalid or unenforceable under
10680any particular circumstance, the balance of the section is intended to
10681apply and the section as a whole is intended to apply in other
10682circumstances.
10683
10684It is not the purpose of this section to induce you to infringe any
10685patents or other property right claims or to contest validity of any
10686such claims; this section has the sole purpose of protecting the
10687integrity of the free software distribution system, which is
10688implemented by public license practices. Many people have made
10689generous contributions to the wide range of software distributed
10690through that system in reliance on consistent application of that
10691system; it is up to the author/donor to decide if he or she is willing
10692to distribute software through any other system and a licensee cannot
10693impose that choice.
10694
10695This section is intended to make thoroughly clear what is believed to
10696be a consequence of the rest of this License.
10697
10698 8. If the distribution and/or use of the Program is restricted in
10699certain countries either by patents or by copyrighted interfaces, the
10700original copyright holder who places the Program under this License
10701may add an explicit geographical distribution limitation excluding
10702those countries, so that distribution is permitted only in or among
10703countries not thus excluded. In such case, this License incorporates
10704the limitation as if written in the body of this License.
10705
10706 9. The Free Software Foundation may publish revised and/or new versions
10707of the General Public License from time to time. Such new versions will
10708be similar in spirit to the present version, but may differ in detail to
10709address new problems or concerns.
10710
10711Each version is given a distinguishing version number. If the Program
10712specifies a version number of this License which applies to it and "any
10713later version", you have the option of following the terms and conditions
10714either of that version or of any later version published by the Free
10715Software Foundation. If the Program does not specify a version number of
10716this License, you may choose any version ever published by the Free Software
10717Foundation.
10718
10719 10. If you wish to incorporate parts of the Program into other free
10720programs whose distribution conditions are different, write to the author
10721to ask for permission. For software which is copyrighted by the Free
10722Software Foundation, write to the Free Software Foundation; we sometimes
10723make exceptions for this. Our decision will be guided by the two goals
10724of preserving the free status of all derivatives of our free software and
10725of promoting the sharing and reuse of software generally.
10726
10727 NO WARRANTY
10728
10729 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
10730FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
10731OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
10732PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
10733OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
10734MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
10735TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
10736PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
10737REPAIR OR CORRECTION.
10738
10739 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
10740WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
10741REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
10742INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
10743OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
10744TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
10745YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
10746PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
10747POSSIBILITY OF SUCH DAMAGES.
10748
10749 END OF TERMS AND CONDITIONS
10750
10751 How to Apply These Terms to Your New Programs
10752
10753 If you develop a new program, and you want it to be of the greatest
10754possible use to the public, the best way to achieve this is to make it
10755free software which everyone can redistribute and change under these terms.
10756
10757 To do so, attach the following notices to the program. It is safest
10758to attach them to the start of each source file to most effectively
10759convey the exclusion of warranty; and each file should have at least
10760the "copyright" line and a pointer to where the full notice is found.
10761
10762 <one line to give the program's name and a brief idea of what it does.>
10763 Copyright (C) <year> <name of author>
10764
10765 This program is free software; you can redistribute it and/or modify
10766 it under the terms of the GNU General Public License as published by
10767 the Free Software Foundation; either version 2 of the License, or
10768 (at your option) any later version.
10769
10770 This program is distributed in the hope that it will be useful,
10771 but WITHOUT ANY WARRANTY; without even the implied warranty of
10772 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10773 GNU General Public License for more details.
10774
10775 You should have received a copy of the GNU General Public License
10776 along with this program; if not, write to the Free Software
10777 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
10778
10779
10780Also add information on how to contact you by electronic and paper mail.
10781
10782If the program is interactive, make it output a short notice like this
10783when it starts in an interactive mode:
10784
10785 Gnomovision version 69, Copyright (C) year name of author
10786 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
10787 This is free software, and you are welcome to redistribute it
10788 under certain conditions; type `show c' for details.
10789
10790The hypothetical commands `show w' and `show c' should show the appropriate
10791parts of the General Public License. Of course, the commands you use may
10792be called something other than `show w' and `show c'; they could even be
10793mouse-clicks or menu items--whatever suits your program.
10794
10795You should also get your employer (if you work as a programmer) or your
10796school, if any, to sign a "copyright disclaimer" for the program, if
10797necessary. Here is a sample; alter the names:
10798
10799 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
10800 `Gnomovision' (which makes passes at compilers) written by James Hacker.
10801
10802 <signature of Ty Coon>, 1 April 1989
10803 Ty Coon, President of Vice
10804
10805This General Public License does not permit incorporating your program into
10806proprietary programs. If your program is a subroutine library, you may
10807consider it more useful to permit linking proprietary applications with the
10808library. If this is what you want to do, use the GNU Library General
10809Public License instead of this License.
10810 GNU GENERAL PUBLIC LICENSE
10811 Version 3, 29 June 2007
10812
10813 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
10814 Everyone is permitted to copy and distribute verbatim copies
10815 of this license document, but changing it is not allowed.
10816
10817 Preamble
10818
10819 The GNU General Public License is a free, copyleft license for
10820software and other kinds of works.
10821
10822 The licenses for most software and other practical works are designed
10823to take away your freedom to share and change the works. By contrast,
10824the GNU General Public License is intended to guarantee your freedom to
10825share and change all versions of a program--to make sure it remains free
10826software for all its users. We, the Free Software Foundation, use the
10827GNU General Public License for most of our software; it applies also to
10828any other work released this way by its authors. You can apply it to
10829your programs, too.
10830
10831 When we speak of free software, we are referring to freedom, not
10832price. Our General Public Licenses are designed to make sure that you
10833have the freedom to distribute copies of free software (and charge for
10834them if you wish), that you receive source code or can get it if you
10835want it, that you can change the software or use pieces of it in new
10836free programs, and that you know you can do these things.
10837
10838 To protect your rights, we need to prevent others from denying you
10839these rights or asking you to surrender the rights. Therefore, you have
10840certain responsibilities if you distribute copies of the software, or if
10841you modify it: responsibilities to respect the freedom of others.
10842
10843 For example, if you distribute copies of such a program, whether
10844gratis or for a fee, you must pass on to the recipients the same
10845freedoms that you received. You must make sure that they, too, receive
10846or can get the source code. And you must show them these terms so they
10847know their rights.
10848
10849 Developers that use the GNU GPL protect your rights with two steps:
10850(1) assert copyright on the software, and (2) offer you this License
10851giving you legal permission to copy, distribute and/or modify it.
10852
10853 For the developers' and authors' protection, the GPL clearly explains
10854that there is no warranty for this free software. For both users' and
10855authors' sake, the GPL requires that modified versions be marked as
10856changed, so that their problems will not be attributed erroneously to
10857authors of previous versions.
10858
10859 Some devices are designed to deny users access to install or run
10860modified versions of the software inside them, although the manufacturer
10861can do so. This is fundamentally incompatible with the aim of
10862protecting users' freedom to change the software. The systematic
10863pattern of such abuse occurs in the area of products for individuals to
10864use, which is precisely where it is most unacceptable. Therefore, we
10865have designed this version of the GPL to prohibit the practice for those
10866products. If such problems arise substantially in other domains, we
10867stand ready to extend this provision to those domains in future versions
10868of the GPL, as needed to protect the freedom of users.
10869
10870 Finally, every program is threatened constantly by software patents.
10871States should not allow patents to restrict development and use of
10872software on general-purpose computers, but in those that do, we wish to
10873avoid the special danger that patents applied to a free program could
10874make it effectively proprietary. To prevent this, the GPL assures that
10875patents cannot be used to render the program non-free.
10876
10877 The precise terms and conditions for copying, distribution and
10878modification follow.
10879
10880 TERMS AND CONDITIONS
10881
10882 0. Definitions.
10883
10884 "This License" refers to version 3 of the GNU General Public License.
10885
10886 "Copyright" also means copyright-like laws that apply to other kinds of
10887works, such as semiconductor masks.
10888
10889 "The Program" refers to any copyrightable work licensed under this
10890License. Each licensee is addressed as "you". "Licensees" and
10891"recipients" may be individuals or organizations.
10892
10893 To "modify" a work means to copy from or adapt all or part of the work
10894in a fashion requiring copyright permission, other than the making of an
10895exact copy. The resulting work is called a "modified version" of the
10896earlier work or a work "based on" the earlier work.
10897
10898 A "covered work" means either the unmodified Program or a work based
10899on the Program.
10900
10901 To "propagate" a work means to do anything with it that, without
10902permission, would make you directly or secondarily liable for
10903infringement under applicable copyright law, except executing it on a
10904computer or modifying a private copy. Propagation includes copying,
10905distribution (with or without modification), making available to the
10906public, and in some countries other activities as well.
10907
10908 To "convey" a work means any kind of propagation that enables other
10909parties to make or receive copies. Mere interaction with a user through
10910a computer network, with no transfer of a copy, is not conveying.
10911
10912 An interactive user interface displays "Appropriate Legal Notices"
10913to the extent that it includes a convenient and prominently visible
10914feature that (1) displays an appropriate copyright notice, and (2)
10915tells the user that there is no warranty for the work (except to the
10916extent that warranties are provided), that licensees may convey the
10917work under this License, and how to view a copy of this License. If
10918the interface presents a list of user commands or options, such as a
10919menu, a prominent item in the list meets this criterion.
10920
10921 1. Source Code.
10922
10923 The "source code" for a work means the preferred form of the work
10924for making modifications to it. "Object code" means any non-source
10925form of a work.
10926
10927 A "Standard Interface" means an interface that either is an official
10928standard defined by a recognized standards body, or, in the case of
10929interfaces specified for a particular programming language, one that
10930is widely used among developers working in that language.
10931
10932 The "System Libraries" of an executable work include anything, other
10933than the work as a whole, that (a) is included in the normal form of
10934packaging a Major Component, but which is not part of that Major
10935Component, and (b) serves only to enable use of the work with that
10936Major Component, or to implement a Standard Interface for which an
10937implementation is available to the public in source code form. A
10938"Major Component", in this context, means a major essential component
10939(kernel, window system, and so on) of the specific operating system
10940(if any) on which the executable work runs, or a compiler used to
10941produce the work, or an object code interpreter used to run it.
10942
10943 The "Corresponding Source" for a work in object code form means all
10944the source code needed to generate, install, and (for an executable
10945work) run the object code and to modify the work, including scripts to
10946control those activities. However, it does not include the work's
10947System Libraries, or general-purpose tools or generally available free
10948programs which are used unmodified in performing those activities but
10949which are not part of the work. For example, Corresponding Source
10950includes interface definition files associated with source files for
10951the work, and the source code for shared libraries and dynamically
10952linked subprograms that the work is specifically designed to require,
10953such as by intimate data communication or control flow between those
10954subprograms and other parts of the work.
10955
10956 The Corresponding Source need not include anything that users
10957can regenerate automatically from other parts of the Corresponding
10958Source.
10959
10960 The Corresponding Source for a work in source code form is that
10961same work.
10962
10963 2. Basic Permissions.
10964
10965 All rights granted under this License are granted for the term of
10966copyright on the Program, and are irrevocable provided the stated
10967conditions are met. This License explicitly affirms your unlimited
10968permission to run the unmodified Program. The output from running a
10969covered work is covered by this License only if the output, given its
10970content, constitutes a covered work. This License acknowledges your
10971rights of fair use or other equivalent, as provided by copyright law.
10972
10973 You may make, run and propagate covered works that you do not
10974convey, without conditions so long as your license otherwise remains
10975in force. You may convey covered works to others for the sole purpose
10976of having them make modifications exclusively for you, or provide you
10977with facilities for running those works, provided that you comply with
10978the terms of this License in conveying all material for which you do
10979not control copyright. Those thus making or running the covered works
10980for you must do so exclusively on your behalf, under your direction
10981and control, on terms that prohibit them from making any copies of
10982your copyrighted material outside their relationship with you.
10983
10984 Conveying under any other circumstances is permitted solely under
10985the conditions stated below. Sublicensing is not allowed; section 10
10986makes it unnecessary.
10987
10988 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
10989
10990 No covered work shall be deemed part of an effective technological
10991measure under any applicable law fulfilling obligations under article
1099211 of the WIPO copyright treaty adopted on 20 December 1996, or
10993similar laws prohibiting or restricting circumvention of such
10994measures.
10995
10996 When you convey a covered work, you waive any legal power to forbid
10997circumvention of technological measures to the extent such circumvention
10998is effected by exercising rights under this License with respect to
10999the covered work, and you disclaim any intention to limit operation or
11000modification of the work as a means of enforcing, against the work's
11001users, your or third parties' legal rights to forbid circumvention of
11002technological measures.
11003
11004 4. Conveying Verbatim Copies.
11005
11006 You may convey verbatim copies of the Program's source code as you
11007receive it, in any medium, provided that you conspicuously and
11008appropriately publish on each copy an appropriate copyright notice;
11009keep intact all notices stating that this License and any
11010non-permissive terms added in accord with section 7 apply to the code;
11011keep intact all notices of the absence of any warranty; and give all
11012recipients a copy of this License along with the Program.
11013
11014 You may charge any price or no price for each copy that you convey,
11015and you may offer support or warranty protection for a fee.
11016
11017 5. Conveying Modified Source Versions.
11018
11019 You may convey a work based on the Program, or the modifications to
11020produce it from the Program, in the form of source code under the
11021terms of section 4, provided that you also meet all of these conditions:
11022
11023 a) The work must carry prominent notices stating that you modified
11024 it, and giving a relevant date.
11025
11026 b) The work must carry prominent notices stating that it is
11027 released under this License and any conditions added under section
11028 7. This requirement modifies the requirement in section 4 to
11029 "keep intact all notices".
11030
11031 c) You must license the entire work, as a whole, under this
11032 License to anyone who comes into possession of a copy. This
11033 License will therefore apply, along with any applicable section 7
11034 additional terms, to the whole of the work, and all its parts,
11035 regardless of how they are packaged. This License gives no
11036 permission to license the work in any other way, but it does not
11037 invalidate such permission if you have separately received it.
11038
11039 d) If the work has interactive user interfaces, each must display
11040 Appropriate Legal Notices; however, if the Program has interactive
11041 interfaces that do not display Appropriate Legal Notices, your
11042 work need not make them do so.
11043
11044 A compilation of a covered work with other separate and independent
11045works, which are not by their nature extensions of the covered work,
11046and which are not combined with it such as to form a larger program,
11047in or on a volume of a storage or distribution medium, is called an
11048"aggregate" if the compilation and its resulting copyright are not
11049used to limit the access or legal rights of the compilation's users
11050beyond what the individual works permit. Inclusion of a covered work
11051in an aggregate does not cause this License to apply to the other
11052parts of the aggregate.
11053
11054 6. Conveying Non-Source Forms.
11055
11056 You may convey a covered work in object code form under the terms
11057of sections 4 and 5, provided that you also convey the
11058machine-readable Corresponding Source under the terms of this License,
11059in one of these ways:
11060
11061 a) Convey the object code in, or embodied in, a physical product
11062 (including a physical distribution medium), accompanied by the
11063 Corresponding Source fixed on a durable physical medium
11064 customarily used for software interchange.
11065
11066 b) Convey the object code in, or embodied in, a physical product
11067 (including a physical distribution medium), accompanied by a
11068 written offer, valid for at least three years and valid for as
11069 long as you offer spare parts or customer support for that product
11070 model, to give anyone who possesses the object code either (1) a
11071 copy of the Corresponding Source for all the software in the
11072 product that is covered by this License, on a durable physical
11073 medium customarily used for software interchange, for a price no
11074 more than your reasonable cost of physically performing this
11075 conveying of source, or (2) access to copy the
11076 Corresponding Source from a network server at no charge.
11077
11078 c) Convey individual copies of the object code with a copy of the
11079 written offer to provide the Corresponding Source. This
11080 alternative is allowed only occasionally and noncommercially, and
11081 only if you received the object code with such an offer, in accord
11082 with subsection 6b.
11083
11084 d) Convey the object code by offering access from a designated
11085 place (gratis or for a charge), and offer equivalent access to the
11086 Corresponding Source in the same way through the same place at no
11087 further charge. You need not require recipients to copy the
11088 Corresponding Source along with the object code. If the place to
11089 copy the object code is a network server, the Corresponding Source
11090 may be on a different server (operated by you or a third party)
11091 that supports equivalent copying facilities, provided you maintain
11092 clear directions next to the object code saying where to find the
11093 Corresponding Source. Regardless of what server hosts the
11094 Corresponding Source, you remain obligated to ensure that it is
11095 available for as long as needed to satisfy these requirements.
11096
11097 e) Convey the object code using peer-to-peer transmission, provided
11098 you inform other peers where the object code and Corresponding
11099 Source of the work are being offered to the general public at no
11100 charge under subsection 6d.
11101
11102 A separable portion of the object code, whose source code is excluded
11103from the Corresponding Source as a System Library, need not be
11104included in conveying the object code work.
11105
11106 A "User Product" is either (1) a "consumer product", which means any
11107tangible personal property which is normally used for personal, family,
11108or household purposes, or (2) anything designed or sold for incorporation
11109into a dwelling. In determining whether a product is a consumer product,
11110doubtful cases shall be resolved in favor of coverage. For a particular
11111product received by a particular user, "normally used" refers to a
11112typical or common use of that class of product, regardless of the status
11113of the particular user or of the way in which the particular user
11114actually uses, or expects or is expected to use, the product. A product
11115is a consumer product regardless of whether the product has substantial
11116commercial, industrial or non-consumer uses, unless such uses represent
11117the only significant mode of use of the product.
11118
11119 "Installation Information" for a User Product means any methods,
11120procedures, authorization keys, or other information required to install
11121and execute modified versions of a covered work in that User Product from
11122a modified version of its Corresponding Source. The information must
11123suffice to ensure that the continued functioning of the modified object
11124code is in no case prevented or interfered with solely because
11125modification has been made.
11126
11127 If you convey an object code work under this section in, or with, or
11128specifically for use in, a User Product, and the conveying occurs as
11129part of a transaction in which the right of possession and use of the
11130User Product is transferred to the recipient in perpetuity or for a
11131fixed term (regardless of how the transaction is characterized), the
11132Corresponding Source conveyed under this section must be accompanied
11133by the Installation Information. But this requirement does not apply
11134if neither you nor any third party retains the ability to install
11135modified object code on the User Product (for example, the work has
11136been installed in ROM).
11137
11138 The requirement to provide Installation Information does not include a
11139requirement to continue to provide support service, warranty, or updates
11140for a work that has been modified or installed by the recipient, or for
11141the User Product in which it has been modified or installed. Access to a
11142network may be denied when the modification itself materially and
11143adversely affects the operation of the network or violates the rules and
11144protocols for communication across the network.
11145
11146 Corresponding Source conveyed, and Installation Information provided,
11147in accord with this section must be in a format that is publicly
11148documented (and with an implementation available to the public in
11149source code form), and must require no special password or key for
11150unpacking, reading or copying.
11151
11152 7. Additional Terms.
11153
11154 "Additional permissions" are terms that supplement the terms of this
11155License by making exceptions from one or more of its conditions.
11156Additional permissions that are applicable to the entire Program shall
11157be treated as though they were included in this License, to the extent
11158that they are valid under applicable law. If additional permissions
11159apply only to part of the Program, that part may be used separately
11160under those permissions, but the entire Program remains governed by
11161this License without regard to the additional permissions.
11162
11163 When you convey a copy of a covered work, you may at your option
11164remove any additional permissions from that copy, or from any part of
11165it. (Additional permissions may be written to require their own
11166removal in certain cases when you modify the work.) You may place
11167additional permissions on material, added by you to a covered work,
11168for which you have or can give appropriate copyright permission.
11169
11170 Notwithstanding any other provision of this License, for material you
11171add to a covered work, you may (if authorized by the copyright holders of
11172that material) supplement the terms of this License with terms:
11173
11174 a) Disclaiming warranty or limiting liability differently from the
11175 terms of sections 15 and 16 of this License; or
11176
11177 b) Requiring preservation of specified reasonable legal notices or
11178 author attributions in that material or in the Appropriate Legal
11179 Notices displayed by works containing it; or
11180
11181 c) Prohibiting misrepresentation of the origin of that material, or
11182 requiring that modified versions of such material be marked in
11183 reasonable ways as different from the original version; or
11184
11185 d) Limiting the use for publicity purposes of names of licensors or
11186 authors of the material; or
11187
11188 e) Declining to grant rights under trademark law for use of some
11189 trade names, trademarks, or service marks; or
11190
11191 f) Requiring indemnification of licensors and authors of that
11192 material by anyone who conveys the material (or modified versions of
11193 it) with contractual assumptions of liability to the recipient, for
11194 any liability that these contractual assumptions directly impose on
11195 those licensors and authors.
11196
11197 All other non-permissive additional terms are considered "further
11198restrictions" within the meaning of section 10. If the Program as you
11199received it, or any part of it, contains a notice stating that it is
11200governed by this License along with a term that is a further
11201restriction, you may remove that term. If a license document contains
11202a further restriction but permits relicensing or conveying under this
11203License, you may add to a covered work material governed by the terms
11204of that license document, provided that the further restriction does
11205not survive such relicensing or conveying.
11206
11207 If you add terms to a covered work in accord with this section, you
11208must place, in the relevant source files, a statement of the
11209additional terms that apply to those files, or a notice indicating
11210where to find the applicable terms.
11211
11212 Additional terms, permissive or non-permissive, may be stated in the
11213form of a separately written license, or stated as exceptions;
11214the above requirements apply either way.
11215
11216 8. Termination.
11217
11218 You may not propagate or modify a covered work except as expressly
11219provided under this License. Any attempt otherwise to propagate or
11220modify it is void, and will automatically terminate your rights under
11221this License (including any patent licenses granted under the third
11222paragraph of section 11).
11223
11224 However, if you cease all violation of this License, then your
11225license from a particular copyright holder is reinstated (a)
11226provisionally, unless and until the copyright holder explicitly and
11227finally terminates your license, and (b) permanently, if the copyright
11228holder fails to notify you of the violation by some reasonable means
11229prior to 60 days after the cessation.
11230
11231 Moreover, your license from a particular copyright holder is
11232reinstated permanently if the copyright holder notifies you of the
11233violation by some reasonable means, this is the first time you have
11234received notice of violation of this License (for any work) from that
11235copyright holder, and you cure the violation prior to 30 days after
11236your receipt of the notice.
11237
11238 Termination of your rights under this section does not terminate the
11239licenses of parties who have received copies or rights from you under
11240this License. If your rights have been terminated and not permanently
11241reinstated, you do not qualify to receive new licenses for the same
11242material under section 10.
11243
11244 9. Acceptance Not Required for Having Copies.
11245
11246 You are not required to accept this License in order to receive or
11247run a copy of the Program. Ancillary propagation of a covered work
11248occurring solely as a consequence of using peer-to-peer transmission
11249to receive a copy likewise does not require acceptance. However,
11250nothing other than this License grants you permission to propagate or
11251modify any covered work. These actions infringe copyright if you do
11252not accept this License. Therefore, by modifying or propagating a
11253covered work, you indicate your acceptance of this License to do so.
11254
11255 10. Automatic Licensing of Downstream Recipients.
11256
11257 Each time you convey a covered work, the recipient automatically
11258receives a license from the original licensors, to run, modify and
11259propagate that work, subject to this License. You are not responsible
11260for enforcing compliance by third parties with this License.
11261
11262 An "entity transaction" is a transaction transferring control of an
11263organization, or substantially all assets of one, or subdividing an
11264organization, or merging organizations. If propagation of a covered
11265work results from an entity transaction, each party to that
11266transaction who receives a copy of the work also receives whatever
11267licenses to the work the party's predecessor in interest had or could
11268give under the previous paragraph, plus a right to possession of the
11269Corresponding Source of the work from the predecessor in interest, if
11270the predecessor has it or can get it with reasonable efforts.
11271
11272 You may not impose any further restrictions on the exercise of the
11273rights granted or affirmed under this License. For example, you may
11274not impose a license fee, royalty, or other charge for exercise of
11275rights granted under this License, and you may not initiate litigation
11276(including a cross-claim or counterclaim in a lawsuit) alleging that
11277any patent claim is infringed by making, using, selling, offering for
11278sale, or importing the Program or any portion of it.
11279
11280 11. Patents.
11281
11282 A "contributor" is a copyright holder who authorizes use under this
11283License of the Program or a work on which the Program is based. The
11284work thus licensed is called the contributor's "contributor version".
11285
11286 A contributor's "essential patent claims" are all patent claims
11287owned or controlled by the contributor, whether already acquired or
11288hereafter acquired, that would be infringed by some manner, permitted
11289by this License, of making, using, or selling its contributor version,
11290but do not include claims that would be infringed only as a
11291consequence of further modification of the contributor version. For
11292purposes of this definition, "control" includes the right to grant
11293patent sublicenses in a manner consistent with the requirements of
11294this License.
11295
11296 Each contributor grants you a non-exclusive, worldwide, royalty-free
11297patent license under the contributor's essential patent claims, to
11298make, use, sell, offer for sale, import and otherwise run, modify and
11299propagate the contents of its contributor version.
11300
11301 In the following three paragraphs, a "patent license" is any express
11302agreement or commitment, however denominated, not to enforce a patent
11303(such as an express permission to practice a patent or covenant not to
11304sue for patent infringement). To "grant" such a patent license to a
11305party means to make such an agreement or commitment not to enforce a
11306patent against the party.
11307
11308 If you convey a covered work, knowingly relying on a patent license,
11309and the Corresponding Source of the work is not available for anyone
11310to copy, free of charge and under the terms of this License, through a
11311publicly available network server or other readily accessible means,
11312then you must either (1) cause the Corresponding Source to be so
11313available, or (2) arrange to deprive yourself of the benefit of the
11314patent license for this particular work, or (3) arrange, in a manner
11315consistent with the requirements of this License, to extend the patent
11316license to downstream recipients. "Knowingly relying" means you have
11317actual knowledge that, but for the patent license, your conveying the
11318covered work in a country, or your recipient's use of the covered work
11319in a country, would infringe one or more identifiable patents in that
11320country that you have reason to believe are valid.
11321
11322 If, pursuant to or in connection with a single transaction or
11323arrangement, you convey, or propagate by procuring conveyance of, a
11324covered work, and grant a patent license to some of the parties
11325receiving the covered work authorizing them to use, propagate, modify
11326or convey a specific copy of the covered work, then the patent license
11327you grant is automatically extended to all recipients of the covered
11328work and works based on it.
11329
11330 A patent license is "discriminatory" if it does not include within
11331the scope of its coverage, prohibits the exercise of, or is
11332conditioned on the non-exercise of one or more of the rights that are
11333specifically granted under this License. You may not convey a covered
11334work if you are a party to an arrangement with a third party that is
11335in the business of distributing software, under which you make payment
11336to the third party based on the extent of your activity of conveying
11337the work, and under which the third party grants, to any of the
11338parties who would receive the covered work from you, a discriminatory
11339patent license (a) in connection with copies of the covered work
11340conveyed by you (or copies made from those copies), or (b) primarily
11341for and in connection with specific products or compilations that
11342contain the covered work, unless you entered into that arrangement,
11343or that patent license was granted, prior to 28 March 2007.
11344
11345 Nothing in this License shall be construed as excluding or limiting
11346any implied license or other defenses to infringement that may
11347otherwise be available to you under applicable patent law.
11348
11349 12. No Surrender of Others' Freedom.
11350
11351 If conditions are imposed on you (whether by court order, agreement or
11352otherwise) that contradict the conditions of this License, they do not
11353excuse you from the conditions of this License. If you cannot convey a
11354covered work so as to satisfy simultaneously your obligations under this
11355License and any other pertinent obligations, then as a consequence you may
11356not convey it at all. For example, if you agree to terms that obligate you
11357to collect a royalty for further conveying from those to whom you convey
11358the Program, the only way you could satisfy both those terms and this
11359License would be to refrain entirely from conveying the Program.
11360
11361 13. Use with the GNU Affero General Public License.
11362
11363 Notwithstanding any other provision of this License, you have
11364permission to link or combine any covered work with a work licensed
11365under version 3 of the GNU Affero General Public License into a single
11366combined work, and to convey the resulting work. The terms of this
11367License will continue to apply to the part which is the covered work,
11368but the special requirements of the GNU Affero General Public License,
11369section 13, concerning interaction through a network will apply to the
11370combination as such.
11371
11372 14. Revised Versions of this License.
11373
11374 The Free Software Foundation may publish revised and/or new versions of
11375the GNU General Public License from time to time. Such new versions will
11376be similar in spirit to the present version, but may differ in detail to
11377address new problems or concerns.
11378
11379 Each version is given a distinguishing version number. If the
11380Program specifies that a certain numbered version of the GNU General
11381Public License "or any later version" applies to it, you have the
11382option of following the terms and conditions either of that numbered
11383version or of any later version published by the Free Software
11384Foundation. If the Program does not specify a version number of the
11385GNU General Public License, you may choose any version ever published
11386by the Free Software Foundation.
11387
11388 If the Program specifies that a proxy can decide which future
11389versions of the GNU General Public License can be used, that proxy's
11390public statement of acceptance of a version permanently authorizes you
11391to choose that version for the Program.
11392
11393 Later license versions may give you additional or different
11394permissions. However, no additional obligations are imposed on any
11395author or copyright holder as a result of your choosing to follow a
11396later version.
11397
11398 15. Disclaimer of Warranty.
11399
11400 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
11401APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
11402HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
11403OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
11404THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
11405PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
11406IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
11407ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
11408
11409 16. Limitation of Liability.
11410
11411 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
11412WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
11413THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
11414GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
11415USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
11416DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
11417PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
11418EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
11419SUCH DAMAGES.
11420
11421 17. Interpretation of Sections 15 and 16.
11422
11423 If the disclaimer of warranty and limitation of liability provided
11424above cannot be given local legal effect according to their terms,
11425reviewing courts shall apply local law that most closely approximates
11426an absolute waiver of all civil liability in connection with the
11427Program, unless a warranty or assumption of liability accompanies a
11428copy of the Program in return for a fee.
11429
11430 END OF TERMS AND CONDITIONS
11431
11432 How to Apply These Terms to Your New Programs
11433
11434 If you develop a new program, and you want it to be of the greatest
11435possible use to the public, the best way to achieve this is to make it
11436free software which everyone can redistribute and change under these terms.
11437
11438 To do so, attach the following notices to the program. It is safest
11439to attach them to the start of each source file to most effectively
11440state the exclusion of warranty; and each file should have at least
11441the "copyright" line and a pointer to where the full notice is found.
11442
11443 <one line to give the program's name and a brief idea of what it does.>
11444 Copyright (C) <year> <name of author>
11445
11446 This program is free software: you can redistribute it and/or modify
11447 it under the terms of the GNU General Public License as published by
11448 the Free Software Foundation, either version 3 of the License, or
11449 (at your option) any later version.
11450
11451 This program is distributed in the hope that it will be useful,
11452 but WITHOUT ANY WARRANTY; without even the implied warranty of
11453 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11454 GNU General Public License for more details.
11455
11456 You should have received a copy of the GNU General Public License
11457 along with this program. If not, see <http://www.gnu.org/licenses/>.
11458
11459Also add information on how to contact you by electronic and paper mail.
11460
11461 If the program does terminal interaction, make it output a short
11462notice like this when it starts in an interactive mode:
11463
11464 <program> Copyright (C) <year> <name of author>
11465 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
11466 This is free software, and you are welcome to redistribute it
11467 under certain conditions; type `show c' for details.
11468
11469The hypothetical commands `show w' and `show c' should show the appropriate
11470parts of the General Public License. Of course, your program's commands
11471might be different; for a GUI interface, you would use an "about box".
11472
11473 You should also get your employer (if you work as a programmer) or school,
11474if any, to sign a "copyright disclaimer" for the program, if necessary.
11475For more information on this, and how to apply and follow the GNU GPL, see
11476<http://www.gnu.org/licenses/>.
11477
11478 The GNU General Public License does not permit incorporating your program
11479into proprietary programs. If your program is a subroutine library, you
11480may consider it more useful to permit linking proprietary applications with
11481the library. If this is what you want to do, use the GNU Lesser General
11482Public License instead of this License. But first, please read
11483<http://www.gnu.org/philosophy/why-not-lgpl.html>.
11484 GNU LESSER GENERAL PUBLIC LICENSE
11485 Version 2.1, February 1999
11486
11487 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
11488 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
11489 Everyone is permitted to copy and distribute verbatim copies
11490 of this license document, but changing it is not allowed.
11491
11492[This is the first released version of the Lesser GPL. It also counts
11493 as the successor of the GNU Library Public License, version 2, hence
11494 the version number 2.1.]
11495
11496 Preamble
11497
11498 The licenses for most software are designed to take away your
11499freedom to share and change it. By contrast, the GNU General Public
11500Licenses are intended to guarantee your freedom to share and change
11501free software--to make sure the software is free for all its users.
11502
11503 This license, the Lesser General Public License, applies to some
11504specially designated software packages--typically libraries--of the
11505Free Software Foundation and other authors who decide to use it. You
11506can use it too, but we suggest you first think carefully about whether
11507this license or the ordinary General Public License is the better
11508strategy to use in any particular case, based on the explanations below.
11509
11510 When we speak of free software, we are referring to freedom of use,
11511not price. Our General Public Licenses are designed to make sure that
11512you have the freedom to distribute copies of free software (and charge
11513for this service if you wish); that you receive source code or can get
11514it if you want it; that you can change the software and use pieces of
11515it in new free programs; and that you are informed that you can do
11516these things.
11517
11518 To protect your rights, we need to make restrictions that forbid
11519distributors to deny you these rights or to ask you to surrender these
11520rights. These restrictions translate to certain responsibilities for
11521you if you distribute copies of the library or if you modify it.
11522
11523 For example, if you distribute copies of the library, whether gratis
11524or for a fee, you must give the recipients all the rights that we gave
11525you. You must make sure that they, too, receive or can get the source
11526code. If you link other code with the library, you must provide
11527complete object files to the recipients, so that they can relink them
11528with the library after making changes to the library and recompiling
11529it. And you must show them these terms so they know their rights.
11530
11531 We protect your rights with a two-step method: (1) we copyright the
11532library, and (2) we offer you this license, which gives you legal
11533permission to copy, distribute and/or modify the library.
11534
11535 To protect each distributor, we want to make it very clear that
11536there is no warranty for the free library. Also, if the library is
11537modified by someone else and passed on, the recipients should know
11538that what they have is not the original version, so that the original
11539author's reputation will not be affected by problems that might be
11540introduced by others.
11541
11542 Finally, software patents pose a constant threat to the existence of
11543any free program. We wish to make sure that a company cannot
11544effectively restrict the users of a free program by obtaining a
11545restrictive license from a patent holder. Therefore, we insist that
11546any patent license obtained for a version of the library must be
11547consistent with the full freedom of use specified in this license.
11548
11549 Most GNU software, including some libraries, is covered by the
11550ordinary GNU General Public License. This license, the GNU Lesser
11551General Public License, applies to certain designated libraries, and
11552is quite different from the ordinary General Public License. We use
11553this license for certain libraries in order to permit linking those
11554libraries into non-free programs.
11555
11556 When a program is linked with a library, whether statically or using
11557a shared library, the combination of the two is legally speaking a
11558combined work, a derivative of the original library. The ordinary
11559General Public License therefore permits such linking only if the
11560entire combination fits its criteria of freedom. The Lesser General
11561Public License permits more lax criteria for linking other code with
11562the library.
11563
11564 We call this license the "Lesser" General Public License because it
11565does Less to protect the user's freedom than the ordinary General
11566Public License. It also provides other free software developers Less
11567of an advantage over competing non-free programs. These disadvantages
11568are the reason we use the ordinary General Public License for many
11569libraries. However, the Lesser license provides advantages in certain
11570special circumstances.
11571
11572 For example, on rare occasions, there may be a special need to
11573encourage the widest possible use of a certain library, so that it becomes
11574a de-facto standard. To achieve this, non-free programs must be
11575allowed to use the library. A more frequent case is that a free
11576library does the same job as widely used non-free libraries. In this
11577case, there is little to gain by limiting the free library to free
11578software only, so we use the Lesser General Public License.
11579
11580 In other cases, permission to use a particular library in non-free
11581programs enables a greater number of people to use a large body of
11582free software. For example, permission to use the GNU C Library in
11583non-free programs enables many more people to use the whole GNU
11584operating system, as well as its variant, the GNU/Linux operating
11585system.
11586
11587 Although the Lesser General Public License is Less protective of the
11588users' freedom, it does ensure that the user of a program that is
11589linked with the Library has the freedom and the wherewithal to run
11590that program using a modified version of the Library.
11591
11592 The precise terms and conditions for copying, distribution and
11593modification follow. Pay close attention to the difference between a
11594"work based on the library" and a "work that uses the library". The
11595former contains code derived from the library, whereas the latter must
11596be combined with the library in order to run.
11597
11598 GNU LESSER GENERAL PUBLIC LICENSE
11599 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
11600
11601 0. This License Agreement applies to any software library or other
11602program which contains a notice placed by the copyright holder or
11603other authorized party saying it may be distributed under the terms of
11604this Lesser General Public License (also called "this License").
11605Each licensee is addressed as "you".
11606
11607 A "library" means a collection of software functions and/or data
11608prepared so as to be conveniently linked with application programs
11609(which use some of those functions and data) to form executables.
11610
11611 The "Library", below, refers to any such software library or work
11612which has been distributed under these terms. A "work based on the
11613Library" means either the Library or any derivative work under
11614copyright law: that is to say, a work containing the Library or a
11615portion of it, either verbatim or with modifications and/or translated
11616straightforwardly into another language. (Hereinafter, translation is
11617included without limitation in the term "modification".)
11618
11619 "Source code" for a work means the preferred form of the work for
11620making modifications to it. For a library, complete source code means
11621all the source code for all modules it contains, plus any associated
11622interface definition files, plus the scripts used to control compilation
11623and installation of the library.
11624
11625 Activities other than copying, distribution and modification are not
11626covered by this License; they are outside its scope. The act of
11627running a program using the Library is not restricted, and output from
11628such a program is covered only if its contents constitute a work based
11629on the Library (independent of the use of the Library in a tool for
11630writing it). Whether that is true depends on what the Library does
11631and what the program that uses the Library does.
11632
11633 1. You may copy and distribute verbatim copies of the Library's
11634complete source code as you receive it, in any medium, provided that
11635you conspicuously and appropriately publish on each copy an
11636appropriate copyright notice and disclaimer of warranty; keep intact
11637all the notices that refer to this License and to the absence of any
11638warranty; and distribute a copy of this License along with the
11639Library.
11640
11641 You may charge a fee for the physical act of transferring a copy,
11642and you may at your option offer warranty protection in exchange for a
11643fee.
11644
11645 2. You may modify your copy or copies of the Library or any portion
11646of it, thus forming a work based on the Library, and copy and
11647distribute such modifications or work under the terms of Section 1
11648above, provided that you also meet all of these conditions:
11649
11650 a) The modified work must itself be a software library.
11651
11652 b) You must cause the files modified to carry prominent notices
11653 stating that you changed the files and the date of any change.
11654
11655 c) You must cause the whole of the work to be licensed at no
11656 charge to all third parties under the terms of this License.
11657
11658 d) If a facility in the modified Library refers to a function or a
11659 table of data to be supplied by an application program that uses
11660 the facility, other than as an argument passed when the facility
11661 is invoked, then you must make a good faith effort to ensure that,
11662 in the event an application does not supply such function or
11663 table, the facility still operates, and performs whatever part of
11664 its purpose remains meaningful.
11665
11666 (For example, a function in a library to compute square roots has
11667 a purpose that is entirely well-defined independent of the
11668 application. Therefore, Subsection 2d requires that any
11669 application-supplied function or table used by this function must
11670 be optional: if the application does not supply it, the square
11671 root function must still compute square roots.)
11672
11673These requirements apply to the modified work as a whole. If
11674identifiable sections of that work are not derived from the Library,
11675and can be reasonably considered independent and separate works in
11676themselves, then this License, and its terms, do not apply to those
11677sections when you distribute them as separate works. But when you
11678distribute the same sections as part of a whole which is a work based
11679on the Library, the distribution of the whole must be on the terms of
11680this License, whose permissions for other licensees extend to the
11681entire whole, and thus to each and every part regardless of who wrote
11682it.
11683
11684Thus, it is not the intent of this section to claim rights or contest
11685your rights to work written entirely by you; rather, the intent is to
11686exercise the right to control the distribution of derivative or
11687collective works based on the Library.
11688
11689In addition, mere aggregation of another work not based on the Library
11690with the Library (or with a work based on the Library) on a volume of
11691a storage or distribution medium does not bring the other work under
11692the scope of this License.
11693
11694 3. You may opt to apply the terms of the ordinary GNU General Public
11695License instead of this License to a given copy of the Library. To do
11696this, you must alter all the notices that refer to this License, so
11697that they refer to the ordinary GNU General Public License, version 2,
11698instead of to this License. (If a newer version than version 2 of the
11699ordinary GNU General Public License has appeared, then you can specify
11700that version instead if you wish.) Do not make any other change in
11701these notices.
11702
11703 Once this change is made in a given copy, it is irreversible for
11704that copy, so the ordinary GNU General Public License applies to all
11705subsequent copies and derivative works made from that copy.
11706
11707 This option is useful when you wish to copy part of the code of
11708the Library into a program that is not a library.
11709
11710 4. You may copy and distribute the Library (or a portion or
11711derivative of it, under Section 2) in object code or executable form
11712under the terms of Sections 1 and 2 above provided that you accompany
11713it with the complete corresponding machine-readable source code, which
11714must be distributed under the terms of Sections 1 and 2 above on a
11715medium customarily used for software interchange.
11716
11717 If distribution of object code is made by offering access to copy
11718from a designated place, then offering equivalent access to copy the
11719source code from the same place satisfies the requirement to
11720distribute the source code, even though third parties are not
11721compelled to copy the source along with the object code.
11722
11723 5. A program that contains no derivative of any portion of the
11724Library, but is designed to work with the Library by being compiled or
11725linked with it, is called a "work that uses the Library". Such a
11726work, in isolation, is not a derivative work of the Library, and
11727therefore falls outside the scope of this License.
11728
11729 However, linking a "work that uses the Library" with the Library
11730creates an executable that is a derivative of the Library (because it
11731contains portions of the Library), rather than a "work that uses the
11732library". The executable is therefore covered by this License.
11733Section 6 states terms for distribution of such executables.
11734
11735 When a "work that uses the Library" uses material from a header file
11736that is part of the Library, the object code for the work may be a
11737derivative work of the Library even though the source code is not.
11738Whether this is true is especially significant if the work can be
11739linked without the Library, or if the work is itself a library. The
11740threshold for this to be true is not precisely defined by law.
11741
11742 If such an object file uses only numerical parameters, data
11743structure layouts and accessors, and small macros and small inline
11744functions (ten lines or less in length), then the use of the object
11745file is unrestricted, regardless of whether it is legally a derivative
11746work. (Executables containing this object code plus portions of the
11747Library will still fall under Section 6.)
11748
11749 Otherwise, if the work is a derivative of the Library, you may
11750distribute the object code for the work under the terms of Section 6.
11751Any executables containing that work also fall under Section 6,
11752whether or not they are linked directly with the Library itself.
11753
11754 6. As an exception to the Sections above, you may also combine or
11755link a "work that uses the Library" with the Library to produce a
11756work containing portions of the Library, and distribute that work
11757under terms of your choice, provided that the terms permit
11758modification of the work for the customer's own use and reverse
11759engineering for debugging such modifications.
11760
11761 You must give prominent notice with each copy of the work that the
11762Library is used in it and that the Library and its use are covered by
11763this License. You must supply a copy of this License. If the work
11764during execution displays copyright notices, you must include the
11765copyright notice for the Library among them, as well as a reference
11766directing the user to the copy of this License. Also, you must do one
11767of these things:
11768
11769 a) Accompany the work with the complete corresponding
11770 machine-readable source code for the Library including whatever
11771 changes were used in the work (which must be distributed under
11772 Sections 1 and 2 above); and, if the work is an executable linked
11773 with the Library, with the complete machine-readable "work that
11774 uses the Library", as object code and/or source code, so that the
11775 user can modify the Library and then relink to produce a modified
11776 executable containing the modified Library. (It is understood
11777 that the user who changes the contents of definitions files in the
11778 Library will not necessarily be able to recompile the application
11779 to use the modified definitions.)
11780
11781 b) Use a suitable shared library mechanism for linking with the
11782 Library. A suitable mechanism is one that (1) uses at run time a
11783 copy of the library already present on the user's computer system,
11784 rather than copying library functions into the executable, and (2)
11785 will operate properly with a modified version of the library, if
11786 the user installs one, as long as the modified version is
11787 interface-compatible with the version that the work was made with.
11788
11789 c) Accompany the work with a written offer, valid for at
11790 least three years, to give the same user the materials
11791 specified in Subsection 6a, above, for a charge no more
11792 than the cost of performing this distribution.
11793
11794 d) If distribution of the work is made by offering access to copy
11795 from a designated place, offer equivalent access to copy the above
11796 specified materials from the same place.
11797
11798 e) Verify that the user has already received a copy of these
11799 materials or that you have already sent this user a copy.
11800
11801 For an executable, the required form of the "work that uses the
11802Library" must include any data and utility programs needed for
11803reproducing the executable from it. However, as a special exception,
11804the materials to be distributed need not include anything that is
11805normally distributed (in either source or binary form) with the major
11806components (compiler, kernel, and so on) of the operating system on
11807which the executable runs, unless that component itself accompanies
11808the executable.
11809
11810 It may happen that this requirement contradicts the license
11811restrictions of other proprietary libraries that do not normally
11812accompany the operating system. Such a contradiction means you cannot
11813use both them and the Library together in an executable that you
11814distribute.
11815
11816 7. You may place library facilities that are a work based on the
11817Library side-by-side in a single library together with other library
11818facilities not covered by this License, and distribute such a combined
11819library, provided that the separate distribution of the work based on
11820the Library and of the other library facilities is otherwise
11821permitted, and provided that you do these two things:
11822
11823 a) Accompany the combined library with a copy of the same work
11824 based on the Library, uncombined with any other library
11825 facilities. This must be distributed under the terms of the
11826 Sections above.
11827
11828 b) Give prominent notice with the combined library of the fact
11829 that part of it is a work based on the Library, and explaining
11830 where to find the accompanying uncombined form of the same work.
11831
11832 8. You may not copy, modify, sublicense, link with, or distribute
11833the Library except as expressly provided under this License. Any
11834attempt otherwise to copy, modify, sublicense, link with, or
11835distribute the Library is void, and will automatically terminate your
11836rights under this License. However, parties who have received copies,
11837or rights, from you under this License will not have their licenses
11838terminated so long as such parties remain in full compliance.
11839
11840 9. You are not required to accept this License, since you have not
11841signed it. However, nothing else grants you permission to modify or
11842distribute the Library or its derivative works. These actions are
11843prohibited by law if you do not accept this License. Therefore, by
11844modifying or distributing the Library (or any work based on the
11845Library), you indicate your acceptance of this License to do so, and
11846all its terms and conditions for copying, distributing or modifying
11847the Library or works based on it.
11848
11849 10. Each time you redistribute the Library (or any work based on the
11850Library), the recipient automatically receives a license from the
11851original licensor to copy, distribute, link with or modify the Library
11852subject to these terms and conditions. You may not impose any further
11853restrictions on the recipients' exercise of the rights granted herein.
11854You are not responsible for enforcing compliance by third parties with
11855this License.
11856
11857 11. If, as a consequence of a court judgment or allegation of patent
11858infringement or for any other reason (not limited to patent issues),
11859conditions are imposed on you (whether by court order, agreement or
11860otherwise) that contradict the conditions of this License, they do not
11861excuse you from the conditions of this License. If you cannot
11862distribute so as to satisfy simultaneously your obligations under this
11863License and any other pertinent obligations, then as a consequence you
11864may not distribute the Library at all. For example, if a patent
11865license would not permit royalty-free redistribution of the Library by
11866all those who receive copies directly or indirectly through you, then
11867the only way you could satisfy both it and this License would be to
11868refrain entirely from distribution of the Library.
11869
11870If any portion of this section is held invalid or unenforceable under any
11871particular circumstance, the balance of the section is intended to apply,
11872and the section as a whole is intended to apply in other circumstances.
11873
11874It is not the purpose of this section to induce you to infringe any
11875patents or other property right claims or to contest validity of any
11876such claims; this section has the sole purpose of protecting the
11877integrity of the free software distribution system which is
11878implemented by public license practices. Many people have made
11879generous contributions to the wide range of software distributed
11880through that system in reliance on consistent application of that
11881system; it is up to the author/donor to decide if he or she is willing
11882to distribute software through any other system and a licensee cannot
11883impose that choice.
11884
11885This section is intended to make thoroughly clear what is believed to
11886be a consequence of the rest of this License.
11887
11888 12. If the distribution and/or use of the Library is restricted in
11889certain countries either by patents or by copyrighted interfaces, the
11890original copyright holder who places the Library under this License may add
11891an explicit geographical distribution limitation excluding those countries,
11892so that distribution is permitted only in or among countries not thus
11893excluded. In such case, this License incorporates the limitation as if
11894written in the body of this License.
11895
11896 13. The Free Software Foundation may publish revised and/or new
11897versions of the Lesser General Public License from time to time.
11898Such new versions will be similar in spirit to the present version,
11899but may differ in detail to address new problems or concerns.
11900
11901Each version is given a distinguishing version number. If the Library
11902specifies a version number of this License which applies to it and
11903"any later version", you have the option of following the terms and
11904conditions either of that version or of any later version published by
11905the Free Software Foundation. If the Library does not specify a
11906license version number, you may choose any version ever published by
11907the Free Software Foundation.
11908
11909 14. If you wish to incorporate parts of the Library into other free
11910programs whose distribution conditions are incompatible with these,
11911write to the author to ask for permission. For software which is
11912copyrighted by the Free Software Foundation, write to the Free
11913Software Foundation; we sometimes make exceptions for this. Our
11914decision will be guided by the two goals of preserving the free status
11915of all derivatives of our free software and of promoting the sharing
11916and reuse of software generally.
11917
11918 NO WARRANTY
11919
11920 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
11921WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
11922EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
11923OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
11924KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
11925IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
11926PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
11927LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
11928THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
11929
11930 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
11931WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
11932AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
11933FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
11934CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
11935LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
11936RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
11937FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
11938SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
11939DAMAGES.
11940
11941 END OF TERMS AND CONDITIONS
11942
11943 How to Apply These Terms to Your New Libraries
11944
11945 If you develop a new library, and you want it to be of the greatest
11946possible use to the public, we recommend making it free software that
11947everyone can redistribute and change. You can do so by permitting
11948redistribution under these terms (or, alternatively, under the terms of the
11949ordinary General Public License).
11950
11951 To apply these terms, attach the following notices to the library. It is
11952safest to attach them to the start of each source file to most effectively
11953convey the exclusion of warranty; and each file should have at least the
11954"copyright" line and a pointer to where the full notice is found.
11955
11956 <one line to give the library's name and a brief idea of what it does.>
11957 Copyright (C) <year> <name of author>
11958
11959 This library is free software; you can redistribute it and/or
11960 modify it under the terms of the GNU Lesser General Public
11961 License as published by the Free Software Foundation; either
11962 version 2.1 of the License, or (at your option) any later version.
11963
11964 This library is distributed in the hope that it will be useful,
11965 but WITHOUT ANY WARRANTY; without even the implied warranty of
11966 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11967 Lesser General Public License for more details.
11968
11969 You should have received a copy of the GNU Lesser General Public
11970 License along with this library; if not, write to the Free Software
11971 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
11972
11973Also add information on how to contact you by electronic and paper mail.
11974
11975You should also get your employer (if you work as a programmer) or your
11976school, if any, to sign a "copyright disclaimer" for the library, if
11977necessary. Here is a sample; alter the names:
11978
11979 Yoyodyne, Inc., hereby disclaims all copyright interest in the
11980 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
11981
11982 <signature of Ty Coon>, 1 April 1990
11983 Ty Coon, President of Vice
11984
11985That's all there is to it!
11986
11987
11988
11989 GNU LESSER GENERAL PUBLIC LICENSE
11990 Version 2.1, February 1999
11991
11992 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
11993 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
11994 Everyone is permitted to copy and distribute verbatim copies
11995 of this license document, but changing it is not allowed.
11996
11997[This is the first released version of the Lesser GPL. It also counts
11998 as the successor of the GNU Library Public License, version 2, hence
11999 the version number 2.1.]
12000
12001 Preamble
12002
12003 The licenses for most software are designed to take away your
12004freedom to share and change it. By contrast, the GNU General Public
12005Licenses are intended to guarantee your freedom to share and change
12006free software--to make sure the software is free for all its users.
12007
12008 This license, the Lesser General Public License, applies to some
12009specially designated software packages--typically libraries--of the
12010Free Software Foundation and other authors who decide to use it. You
12011can use it too, but we suggest you first think carefully about whether
12012this license or the ordinary General Public License is the better
12013strategy to use in any particular case, based on the explanations
12014below.
12015
12016 When we speak of free software, we are referring to freedom of use,
12017not price. Our General Public Licenses are designed to make sure that
12018you have the freedom to distribute copies of free software (and charge
12019for this service if you wish); that you receive source code or can get
12020it if you want it; that you can change the software and use pieces of
12021it in new free programs; and that you are informed that you can do
12022these things.
12023
12024 To protect your rights, we need to make restrictions that forbid
12025distributors to deny you these rights or to ask you to surrender these
12026rights. These restrictions translate to certain responsibilities for
12027you if you distribute copies of the library or if you modify it.
12028
12029 For example, if you distribute copies of the library, whether gratis
12030or for a fee, you must give the recipients all the rights that we gave
12031you. You must make sure that they, too, receive or can get the source
12032code. If you link other code with the library, you must provide
12033complete object files to the recipients, so that they can relink them
12034with the library after making changes to the library and recompiling
12035it. And you must show them these terms so they know their rights.
12036
12037 We protect your rights with a two-step method: (1) we copyright the
12038library, and (2) we offer you this license, which gives you legal
12039permission to copy, distribute and/or modify the library.
12040
12041 To protect each distributor, we want to make it very clear that
12042there is no warranty for the free library. Also, if the library is
12043modified by someone else and passed on, the recipients should know
12044that what they have is not the original version, so that the original
12045author's reputation will not be affected by problems that might be
12046introduced by others.
12047
12048 Finally, software patents pose a constant threat to the existence of
12049any free program. We wish to make sure that a company cannot
12050effectively restrict the users of a free program by obtaining a
12051restrictive license from a patent holder. Therefore, we insist that
12052any patent license obtained for a version of the library must be
12053consistent with the full freedom of use specified in this license.
12054
12055 Most GNU software, including some libraries, is covered by the
12056ordinary GNU General Public License. This license, the GNU Lesser
12057General Public License, applies to certain designated libraries, and
12058is quite different from the ordinary General Public License. We use
12059this license for certain libraries in order to permit linking those
12060libraries into non-free programs.
12061
12062 When a program is linked with a library, whether statically or using
12063a shared library, the combination of the two is legally speaking a
12064combined work, a derivative of the original library. The ordinary
12065General Public License therefore permits such linking only if the
12066entire combination fits its criteria of freedom. The Lesser General
12067Public License permits more lax criteria for linking other code with
12068the library.
12069
12070 We call this license the "Lesser" General Public License because it
12071does Less to protect the user's freedom than the ordinary General
12072Public License. It also provides other free software developers Less
12073of an advantage over competing non-free programs. These disadvantages
12074are the reason we use the ordinary General Public License for many
12075libraries. However, the Lesser license provides advantages in certain
12076special circumstances.
12077
12078 For example, on rare occasions, there may be a special need to
12079encourage the widest possible use of a certain library, so that it
12080becomes a de-facto standard. To achieve this, non-free programs must
12081be allowed to use the library. A more frequent case is that a free
12082library does the same job as widely used non-free libraries. In this
12083case, there is little to gain by limiting the free library to free
12084software only, so we use the Lesser General Public License.
12085
12086 In other cases, permission to use a particular library in non-free
12087programs enables a greater number of people to use a large body of
12088free software. For example, permission to use the GNU C Library in
12089non-free programs enables many more people to use the whole GNU
12090operating system, as well as its variant, the GNU/Linux operating
12091system.
12092
12093 Although the Lesser General Public License is Less protective of the
12094users' freedom, it does ensure that the user of a program that is
12095linked with the Library has the freedom and the wherewithal to run
12096that program using a modified version of the Library.
12097
12098 The precise terms and conditions for copying, distribution and
12099modification follow. Pay close attention to the difference between a
12100"work based on the library" and a "work that uses the library". The
12101former contains code derived from the library, whereas the latter must
12102be combined with the library in order to run.
12103
12104 GNU LESSER GENERAL PUBLIC LICENSE
12105 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12106
12107 0. This License Agreement applies to any software library or other
12108program which contains a notice placed by the copyright holder or
12109other authorized party saying it may be distributed under the terms of
12110this Lesser General Public License (also called "this License").
12111Each licensee is addressed as "you".
12112
12113 A "library" means a collection of software functions and/or data
12114prepared so as to be conveniently linked with application programs
12115(which use some of those functions and data) to form executables.
12116
12117 The "Library", below, refers to any such software library or work
12118which has been distributed under these terms. A "work based on the
12119Library" means either the Library or any derivative work under
12120copyright law: that is to say, a work containing the Library or a
12121portion of it, either verbatim or with modifications and/or translated
12122straightforwardly into another language. (Hereinafter, translation is
12123included without limitation in the term "modification".)
12124
12125 "Source code" for a work means the preferred form of the work for
12126making modifications to it. For a library, complete source code means
12127all the source code for all modules it contains, plus any associated
12128interface definition files, plus the scripts used to control
12129compilation and installation of the library.
12130
12131 Activities other than copying, distribution and modification are not
12132covered by this License; they are outside its scope. The act of
12133running a program using the Library is not restricted, and output from
12134such a program is covered only if its contents constitute a work based
12135on the Library (independent of the use of the Library in a tool for
12136writing it). Whether that is true depends on what the Library does
12137and what the program that uses the Library does.
12138
12139 1. You may copy and distribute verbatim copies of the Library's
12140complete source code as you receive it, in any medium, provided that
12141you conspicuously and appropriately publish on each copy an
12142appropriate copyright notice and disclaimer of warranty; keep intact
12143all the notices that refer to this License and to the absence of any
12144warranty; and distribute a copy of this License along with the
12145Library.
12146
12147 You may charge a fee for the physical act of transferring a copy,
12148and you may at your option offer warranty protection in exchange for a
12149fee.
12150
12151 2. You may modify your copy or copies of the Library or any portion
12152of it, thus forming a work based on the Library, and copy and
12153distribute such modifications or work under the terms of Section 1
12154above, provided that you also meet all of these conditions:
12155
12156 a) The modified work must itself be a software library.
12157
12158 b) You must cause the files modified to carry prominent notices
12159 stating that you changed the files and the date of any change.
12160
12161 c) You must cause the whole of the work to be licensed at no
12162 charge to all third parties under the terms of this License.
12163
12164 d) If a facility in the modified Library refers to a function or a
12165 table of data to be supplied by an application program that uses
12166 the facility, other than as an argument passed when the facility
12167 is invoked, then you must make a good faith effort to ensure that,
12168 in the event an application does not supply such function or
12169 table, the facility still operates, and performs whatever part of
12170 its purpose remains meaningful.
12171
12172 (For example, a function in a library to compute square roots has
12173 a purpose that is entirely well-defined independent of the
12174 application. Therefore, Subsection 2d requires that any
12175 application-supplied function or table used by this function must
12176 be optional: if the application does not supply it, the square
12177 root function must still compute square roots.)
12178
12179These requirements apply to the modified work as a whole. If
12180identifiable sections of that work are not derived from the Library,
12181and can be reasonably considered independent and separate works in
12182themselves, then this License, and its terms, do not apply to those
12183sections when you distribute them as separate works. But when you
12184distribute the same sections as part of a whole which is a work based
12185on the Library, the distribution of the whole must be on the terms of
12186this License, whose permissions for other licensees extend to the
12187entire whole, and thus to each and every part regardless of who wrote
12188it.
12189
12190Thus, it is not the intent of this section to claim rights or contest
12191your rights to work written entirely by you; rather, the intent is to
12192exercise the right to control the distribution of derivative or
12193collective works based on the Library.
12194
12195In addition, mere aggregation of another work not based on the Library
12196with the Library (or with a work based on the Library) on a volume of
12197a storage or distribution medium does not bring the other work under
12198the scope of this License.
12199
12200 3. You may opt to apply the terms of the ordinary GNU General Public
12201License instead of this License to a given copy of the Library. To do
12202this, you must alter all the notices that refer to this License, so
12203that they refer to the ordinary GNU General Public License, version 2,
12204instead of to this License. (If a newer version than version 2 of the
12205ordinary GNU General Public License has appeared, then you can specify
12206that version instead if you wish.) Do not make any other change in
12207these notices.
12208
12209 Once this change is made in a given copy, it is irreversible for
12210that copy, so the ordinary GNU General Public License applies to all
12211subsequent copies and derivative works made from that copy.
12212
12213 This option is useful when you wish to copy part of the code of
12214the Library into a program that is not a library.
12215
12216 4. You may copy and distribute the Library (or a portion or
12217derivative of it, under Section 2) in object code or executable form
12218under the terms of Sections 1 and 2 above provided that you accompany
12219it with the complete corresponding machine-readable source code, which
12220must be distributed under the terms of Sections 1 and 2 above on a
12221medium customarily used for software interchange.
12222
12223 If distribution of object code is made by offering access to copy
12224from a designated place, then offering equivalent access to copy the
12225source code from the same place satisfies the requirement to
12226distribute the source code, even though third parties are not
12227compelled to copy the source along with the object code.
12228
12229 5. A program that contains no derivative of any portion of the
12230Library, but is designed to work with the Library by being compiled or
12231linked with it, is called a "work that uses the Library". Such a
12232work, in isolation, is not a derivative work of the Library, and
12233therefore falls outside the scope of this License.
12234
12235 However, linking a "work that uses the Library" with the Library
12236creates an executable that is a derivative of the Library (because it
12237contains portions of the Library), rather than a "work that uses the
12238library". The executable is therefore covered by this License.
12239Section 6 states terms for distribution of such executables.
12240
12241 When a "work that uses the Library" uses material from a header file
12242that is part of the Library, the object code for the work may be a
12243derivative work of the Library even though the source code is not.
12244Whether this is true is especially significant if the work can be
12245linked without the Library, or if the work is itself a library. The
12246threshold for this to be true is not precisely defined by law.
12247
12248 If such an object file uses only numerical parameters, data
12249structure layouts and accessors, and small macros and small inline
12250functions (ten lines or less in length), then the use of the object
12251file is unrestricted, regardless of whether it is legally a derivative
12252work. (Executables containing this object code plus portions of the
12253Library will still fall under Section 6.)
12254
12255 Otherwise, if the work is a derivative of the Library, you may
12256distribute the object code for the work under the terms of Section 6.
12257Any executables containing that work also fall under Section 6,
12258whether or not they are linked directly with the Library itself.
12259
12260 6. As an exception to the Sections above, you may also combine or
12261link a "work that uses the Library" with the Library to produce a
12262work containing portions of the Library, and distribute that work
12263under terms of your choice, provided that the terms permit
12264modification of the work for the customer's own use and reverse
12265engineering for debugging such modifications.
12266
12267 You must give prominent notice with each copy of the work that the
12268Library is used in it and that the Library and its use are covered by
12269this License. You must supply a copy of this License. If the work
12270during execution displays copyright notices, you must include the
12271copyright notice for the Library among them, as well as a reference
12272directing the user to the copy of this License. Also, you must do one
12273of these things:
12274
12275 a) Accompany the work with the complete corresponding
12276 machine-readable source code for the Library including whatever
12277 changes were used in the work (which must be distributed under
12278 Sections 1 and 2 above); and, if the work is an executable linked
12279 with the Library, with the complete machine-readable "work that
12280 uses the Library", as object code and/or source code, so that the
12281 user can modify the Library and then relink to produce a modified
12282 executable containing the modified Library. (It is understood
12283 that the user who changes the contents of definitions files in the
12284 Library will not necessarily be able to recompile the application
12285 to use the modified definitions.)
12286
12287 b) Use a suitable shared library mechanism for linking with the
12288 Library. A suitable mechanism is one that (1) uses at run time a
12289 copy of the library already present on the user's computer system,
12290 rather than copying library functions into the executable, and (2)
12291 will operate properly with a modified version of the library, if
12292 the user installs one, as long as the modified version is
12293 interface-compatible with the version that the work was made with.
12294
12295 c) Accompany the work with a written offer, valid for at least
12296 three years, to give the same user the materials specified in
12297 Subsection 6a, above, for a charge no more than the cost of
12298 performing this distribution.
12299
12300 d) If distribution of the work is made by offering access to copy
12301 from a designated place, offer equivalent access to copy the above
12302 specified materials from the same place.
12303
12304 e) Verify that the user has already received a copy of these
12305 materials or that you have already sent this user a copy.
12306
12307 For an executable, the required form of the "work that uses the
12308Library" must include any data and utility programs needed for
12309reproducing the executable from it. However, as a special exception,
12310the materials to be distributed need not include anything that is
12311normally distributed (in either source or binary form) with the major
12312components (compiler, kernel, and so on) of the operating system on
12313which the executable runs, unless that component itself accompanies
12314the executable.
12315
12316 It may happen that this requirement contradicts the license
12317restrictions of other proprietary libraries that do not normally
12318accompany the operating system. Such a contradiction means you cannot
12319use both them and the Library together in an executable that you
12320distribute.
12321
12322 7. You may place library facilities that are a work based on the
12323Library side-by-side in a single library together with other library
12324facilities not covered by this License, and distribute such a combined
12325library, provided that the separate distribution of the work based on
12326the Library and of the other library facilities is otherwise
12327permitted, and provided that you do these two things:
12328
12329 a) Accompany the combined library with a copy of the same work
12330 based on the Library, uncombined with any other library
12331 facilities. This must be distributed under the terms of the
12332 Sections above.
12333
12334 b) Give prominent notice with the combined library of the fact
12335 that part of it is a work based on the Library, and explaining
12336 where to find the accompanying uncombined form of the same work.
12337
12338 8. You may not copy, modify, sublicense, link with, or distribute
12339the Library except as expressly provided under this License. Any
12340attempt otherwise to copy, modify, sublicense, link with, or
12341distribute the Library is void, and will automatically terminate your
12342rights under this License. However, parties who have received copies,
12343or rights, from you under this License will not have their licenses
12344terminated so long as such parties remain in full compliance.
12345
12346 9. You are not required to accept this License, since you have not
12347signed it. However, nothing else grants you permission to modify or
12348distribute the Library or its derivative works. These actions are
12349prohibited by law if you do not accept this License. Therefore, by
12350modifying or distributing the Library (or any work based on the
12351Library), you indicate your acceptance of this License to do so, and
12352all its terms and conditions for copying, distributing or modifying
12353the Library or works based on it.
12354
12355 10. Each time you redistribute the Library (or any work based on the
12356Library), the recipient automatically receives a license from the
12357original licensor to copy, distribute, link with or modify the Library
12358subject to these terms and conditions. You may not impose any further
12359restrictions on the recipients' exercise of the rights granted herein.
12360You are not responsible for enforcing compliance by third parties with
12361this License.
12362
12363 11. If, as a consequence of a court judgment or allegation of patent
12364infringement or for any other reason (not limited to patent issues),
12365conditions are imposed on you (whether by court order, agreement or
12366otherwise) that contradict the conditions of this License, they do not
12367excuse you from the conditions of this License. If you cannot
12368distribute so as to satisfy simultaneously your obligations under this
12369License and any other pertinent obligations, then as a consequence you
12370may not distribute the Library at all. For example, if a patent
12371license would not permit royalty-free redistribution of the Library by
12372all those who receive copies directly or indirectly through you, then
12373the only way you could satisfy both it and this License would be to
12374refrain entirely from distribution of the Library.
12375
12376If any portion of this section is held invalid or unenforceable under
12377any particular circumstance, the balance of the section is intended to
12378apply, and the section as a whole is intended to apply in other
12379circumstances.
12380
12381It is not the purpose of this section to induce you to infringe any
12382patents or other property right claims or to contest validity of any
12383such claims; this section has the sole purpose of protecting the
12384integrity of the free software distribution system which is
12385implemented by public license practices. Many people have made
12386generous contributions to the wide range of software distributed
12387through that system in reliance on consistent application of that
12388system; it is up to the author/donor to decide if he or she is willing
12389to distribute software through any other system and a licensee cannot
12390impose that choice.
12391
12392This section is intended to make thoroughly clear what is believed to
12393be a consequence of the rest of this License.
12394
12395 12. If the distribution and/or use of the Library is restricted in
12396certain countries either by patents or by copyrighted interfaces, the
12397original copyright holder who places the Library under this License
12398may add an explicit geographical distribution limitation excluding those
12399countries, so that distribution is permitted only in or among
12400countries not thus excluded. In such case, this License incorporates
12401the limitation as if written in the body of this License.
12402
12403 13. The Free Software Foundation may publish revised and/or new
12404versions of the Lesser General Public License from time to time.
12405Such new versions will be similar in spirit to the present version,
12406but may differ in detail to address new problems or concerns.
12407
12408Each version is given a distinguishing version number. If the Library
12409specifies a version number of this License which applies to it and
12410"any later version", you have the option of following the terms and
12411conditions either of that version or of any later version published by
12412the Free Software Foundation. If the Library does not specify a
12413license version number, you may choose any version ever published by
12414the Free Software Foundation.
12415
12416 14. If you wish to incorporate parts of the Library into other free
12417programs whose distribution conditions are incompatible with these,
12418write to the author to ask for permission. For software which is
12419copyrighted by the Free Software Foundation, write to the Free
12420Software Foundation; we sometimes make exceptions for this. Our
12421decision will be guided by the two goals of preserving the free status
12422of all derivatives of our free software and of promoting the sharing
12423and reuse of software generally.
12424
12425 NO WARRANTY
12426
12427 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
12428WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
12429EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
12430OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
12431KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
12432IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12433PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
12434LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
12435THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
12436
12437 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
12438WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
12439AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
12440FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
12441CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
12442LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
12443RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
12444FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
12445SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
12446DAMAGES.
12447
12448 END OF TERMS AND CONDITIONS
12449
12450 How to Apply These Terms to Your New Libraries
12451
12452 If you develop a new library, and you want it to be of the greatest
12453possible use to the public, we recommend making it free software that
12454everyone can redistribute and change. You can do so by permitting
12455redistribution under these terms (or, alternatively, under the terms
12456of the ordinary General Public License).
12457
12458 To apply these terms, attach the following notices to the library.
12459It is safest to attach them to the start of each source file to most
12460effectively convey the exclusion of warranty; and each file should
12461have at least the "copyright" line and a pointer to where the full
12462notice is found.
12463
12464
12465 <one line to give the library's name and a brief idea of what it does.>
12466 Copyright (C) <year> <name of author>
12467
12468 This library is free software; you can redistribute it and/or
12469 modify it under the terms of the GNU Lesser General Public
12470 License as published by the Free Software Foundation; either
12471 version 2.1 of the License, or (at your option) any later version.
12472
12473 This library is distributed in the hope that it will be useful,
12474 but WITHOUT ANY WARRANTY; without even the implied warranty of
12475 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12476 Lesser General Public License for more details.
12477
12478 You should have received a copy of the GNU Lesser General Public
12479 License along with this library; if not, write to the Free Software
12480 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
12481
12482Also add information on how to contact you by electronic and paper mail.
12483
12484You should also get your employer (if you work as a programmer) or
12485your school, if any, to sign a "copyright disclaimer" for the library,
12486if necessary. Here is a sample; alter the names:
12487
12488 Yoyodyne, Inc., hereby disclaims all copyright interest in the
12489 library `Frob' (a library for tweaking knobs) written by James
12490 Random Hacker.
12491
12492 <signature of Ty Coon>, 1 April 1990
12493 Ty Coon, President of Vice
12494
12495That's all there is to it!
12496
12497
Joshua Lang904c3632017-02-02 12:54:24 -080012498 GNU LESSER GENERAL PUBLIC LICENSE
12499 Version 3, 29 June 2007
12500
12501 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
12502 Everyone is permitted to copy and distribute verbatim copies
12503 of this license document, but changing it is not allowed.
12504
12505
12506 This version of the GNU Lesser General Public License incorporates
12507the terms and conditions of version 3 of the GNU General Public
12508License, supplemented by the additional permissions listed below.
12509
12510 0. Additional Definitions.
12511
12512 As used herein, "this License" refers to version 3 of the GNU Lesser
12513General Public License, and the "GNU GPL" refers to version 3 of the GNU
12514General Public License.
12515
12516 "The Library" refers to a covered work governed by this License,
12517other than an Application or a Combined Work as defined below.
12518
12519 An "Application" is any work that makes use of an interface provided
12520by the Library, but which is not otherwise based on the Library.
12521Defining a subclass of a class defined by the Library is deemed a mode
12522of using an interface provided by the Library.
12523
12524 A "Combined Work" is a work produced by combining or linking an
12525Application with the Library. The particular version of the Library
12526with which the Combined Work was made is also called the "Linked
12527Version".
12528
12529 The "Minimal Corresponding Source" for a Combined Work means the
12530Corresponding Source for the Combined Work, excluding any source code
12531for portions of the Combined Work that, considered in isolation, are
12532based on the Application, and not on the Linked Version.
12533
12534 The "Corresponding Application Code" for a Combined Work means the
12535object code and/or source code for the Application, including any data
12536and utility programs needed for reproducing the Combined Work from the
12537Application, but excluding the System Libraries of the Combined Work.
12538
12539 1. Exception to Section 3 of the GNU GPL.
12540
12541 You may convey a covered work under sections 3 and 4 of this License
12542without being bound by section 3 of the GNU GPL.
12543
12544 2. Conveying Modified Versions.
12545
12546 If you modify a copy of the Library, and, in your modifications, a
12547facility refers to a function or data to be supplied by an Application
12548that uses the facility (other than as an argument passed when the
12549facility is invoked), then you may convey a copy of the modified
12550version:
12551
12552 a) under this License, provided that you make a good faith effort to
12553 ensure that, in the event an Application does not supply the
12554 function or data, the facility still operates, and performs
12555 whatever part of its purpose remains meaningful, or
12556
12557 b) under the GNU GPL, with none of the additional permissions of
12558 this License applicable to that copy.
12559
12560 3. Object Code Incorporating Material from Library Header Files.
12561
12562 The object code form of an Application may incorporate material from
12563a header file that is part of the Library. You may convey such object
12564code under terms of your choice, provided that, if the incorporated
12565material is not limited to numerical parameters, data structure
12566layouts and accessors, or small macros, inline functions and templates
12567(ten or fewer lines in length), you do both of the following:
12568
12569 a) Give prominent notice with each copy of the object code that the
12570 Library is used in it and that the Library and its use are
12571 covered by this License.
12572
12573 b) Accompany the object code with a copy of the GNU GPL and this license
12574 document.
12575
12576 4. Combined Works.
12577
12578 You may convey a Combined Work under terms of your choice that,
12579taken together, effectively do not restrict modification of the
12580portions of the Library contained in the Combined Work and reverse
12581engineering for debugging such modifications, if you also do each of
12582the following:
12583
12584 a) Give prominent notice with each copy of the Combined Work that
12585 the Library is used in it and that the Library and its use are
12586 covered by this License.
12587
12588 b) Accompany the Combined Work with a copy of the GNU GPL and this license
12589 document.
12590
12591 c) For a Combined Work that displays copyright notices during
12592 execution, include the copyright notice for the Library among
12593 these notices, as well as a reference directing the user to the
12594 copies of the GNU GPL and this license document.
12595
12596 d) Do one of the following:
12597
12598 0) Convey the Minimal Corresponding Source under the terms of this
12599 License, and the Corresponding Application Code in a form
12600 suitable for, and under terms that permit, the user to
12601 recombine or relink the Application with a modified version of
12602 the Linked Version to produce a modified Combined Work, in the
12603 manner specified by section 6 of the GNU GPL for conveying
12604 Corresponding Source.
12605
12606 1) Use a suitable shared library mechanism for linking with the
12607 Library. A suitable mechanism is one that (a) uses at run time
12608 a copy of the Library already present on the user's computer
12609 system, and (b) will operate properly with a modified version
12610 of the Library that is interface-compatible with the Linked
12611 Version.
12612
12613 e) Provide Installation Information, but only if you would otherwise
12614 be required to provide such information under section 6 of the
12615 GNU GPL, and only to the extent that such information is
12616 necessary to install and execute a modified version of the
12617 Combined Work produced by recombining or relinking the
12618 Application with a modified version of the Linked Version. (If
12619 you use option 4d0, the Installation Information must accompany
12620 the Minimal Corresponding Source and Corresponding Application
12621 Code. If you use option 4d1, you must provide the Installation
12622 Information in the manner specified by section 6 of the GNU GPL
12623 for conveying Corresponding Source.)
12624
12625 5. Combined Libraries.
12626
12627 You may place library facilities that are a work based on the
12628Library side by side in a single library together with other library
12629facilities that are not Applications and are not covered by this
12630License, and convey such a combined library under terms of your
12631choice, if you do both of the following:
12632
12633 a) Accompany the combined library with a copy of the same work based
12634 on the Library, uncombined with any other library facilities,
12635 conveyed under the terms of this License.
12636
12637 b) Give prominent notice with the combined library that part of it
12638 is a work based on the Library, and explaining where to find the
12639 accompanying uncombined form of the same work.
12640
12641 6. Revised Versions of the GNU Lesser General Public License.
12642
12643 The Free Software Foundation may publish revised and/or new versions
12644of the GNU Lesser General Public License from time to time. Such new
12645versions will be similar in spirit to the present version, but may
12646differ in detail to address new problems or concerns.
12647
12648 Each version is given a distinguishing version number. If the
12649Library as you received it specifies that a certain numbered version
12650of the GNU Lesser General Public License "or any later version"
12651applies to it, you have the option of following the terms and
12652conditions either of that published version or of any later version
12653published by the Free Software Foundation. If the Library as you
12654received it does not specify a version number of the GNU Lesser
12655General Public License, you may choose any version of the GNU Lesser
12656General Public License ever published by the Free Software Foundation.
12657
12658 If the Library as you received it specifies that a proxy can decide
12659whether future versions of the GNU Lesser General Public License shall
12660apply, that proxy's public statement of acceptance of any version is
12661permanent authorization for you to choose that version for the
12662Library.
Pirama Arumuga Nainara9c69892020-02-21 13:27:32 -080012663 GNU GENERAL PUBLIC LICENSE
12664 Version 3, 29 June 2007
12665
12666 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
12667 Everyone is permitted to copy and distribute verbatim copies
12668 of this license document, but changing it is not allowed.
12669
12670 Preamble
12671
12672 The GNU General Public License is a free, copyleft license for
12673software and other kinds of works.
12674
12675 The licenses for most software and other practical works are designed
12676to take away your freedom to share and change the works. By contrast,
12677the GNU General Public License is intended to guarantee your freedom to
12678share and change all versions of a program--to make sure it remains free
12679software for all its users. We, the Free Software Foundation, use the
12680GNU General Public License for most of our software; it applies also to
12681any other work released this way by its authors. You can apply it to
12682your programs, too.
12683
12684 When we speak of free software, we are referring to freedom, not
12685price. Our General Public Licenses are designed to make sure that you
12686have the freedom to distribute copies of free software (and charge for
12687them if you wish), that you receive source code or can get it if you
12688want it, that you can change the software or use pieces of it in new
12689free programs, and that you know you can do these things.
12690
12691 To protect your rights, we need to prevent others from denying you
12692these rights or asking you to surrender the rights. Therefore, you have
12693certain responsibilities if you distribute copies of the software, or if
12694you modify it: responsibilities to respect the freedom of others.
12695
12696 For example, if you distribute copies of such a program, whether
12697gratis or for a fee, you must pass on to the recipients the same
12698freedoms that you received. You must make sure that they, too, receive
12699or can get the source code. And you must show them these terms so they
12700know their rights.
12701
12702 Developers that use the GNU GPL protect your rights with two steps:
12703(1) assert copyright on the software, and (2) offer you this License
12704giving you legal permission to copy, distribute and/or modify it.
12705
12706 For the developers' and authors' protection, the GPL clearly explains
12707that there is no warranty for this free software. For both users' and
12708authors' sake, the GPL requires that modified versions be marked as
12709changed, so that their problems will not be attributed erroneously to
12710authors of previous versions.
12711
12712 Some devices are designed to deny users access to install or run
12713modified versions of the software inside them, although the manufacturer
12714can do so. This is fundamentally incompatible with the aim of
12715protecting users' freedom to change the software. The systematic
12716pattern of such abuse occurs in the area of products for individuals to
12717use, which is precisely where it is most unacceptable. Therefore, we
12718have designed this version of the GPL to prohibit the practice for those
12719products. If such problems arise substantially in other domains, we
12720stand ready to extend this provision to those domains in future versions
12721of the GPL, as needed to protect the freedom of users.
12722
12723 Finally, every program is threatened constantly by software patents.
12724States should not allow patents to restrict development and use of
12725software on general-purpose computers, but in those that do, we wish to
12726avoid the special danger that patents applied to a free program could
12727make it effectively proprietary. To prevent this, the GPL assures that
12728patents cannot be used to render the program non-free.
12729
12730 The precise terms and conditions for copying, distribution and
12731modification follow.
12732
12733 TERMS AND CONDITIONS
12734
12735 0. Definitions.
12736
12737 "This License" refers to version 3 of the GNU General Public License.
12738
12739 "Copyright" also means copyright-like laws that apply to other kinds of
12740works, such as semiconductor masks.
12741
12742 "The Program" refers to any copyrightable work licensed under this
12743License. Each licensee is addressed as "you". "Licensees" and
12744"recipients" may be individuals or organizations.
12745
12746 To "modify" a work means to copy from or adapt all or part of the work
12747in a fashion requiring copyright permission, other than the making of an
12748exact copy. The resulting work is called a "modified version" of the
12749earlier work or a work "based on" the earlier work.
12750
12751 A "covered work" means either the unmodified Program or a work based
12752on the Program.
12753
12754 To "propagate" a work means to do anything with it that, without
12755permission, would make you directly or secondarily liable for
12756infringement under applicable copyright law, except executing it on a
12757computer or modifying a private copy. Propagation includes copying,
12758distribution (with or without modification), making available to the
12759public, and in some countries other activities as well.
12760
12761 To "convey" a work means any kind of propagation that enables other
12762parties to make or receive copies. Mere interaction with a user through
12763a computer network, with no transfer of a copy, is not conveying.
12764
12765 An interactive user interface displays "Appropriate Legal Notices"
12766to the extent that it includes a convenient and prominently visible
12767feature that (1) displays an appropriate copyright notice, and (2)
12768tells the user that there is no warranty for the work (except to the
12769extent that warranties are provided), that licensees may convey the
12770work under this License, and how to view a copy of this License. If
12771the interface presents a list of user commands or options, such as a
12772menu, a prominent item in the list meets this criterion.
12773
12774 1. Source Code.
12775
12776 The "source code" for a work means the preferred form of the work
12777for making modifications to it. "Object code" means any non-source
12778form of a work.
12779
12780 A "Standard Interface" means an interface that either is an official
12781standard defined by a recognized standards body, or, in the case of
12782interfaces specified for a particular programming language, one that
12783is widely used among developers working in that language.
12784
12785 The "System Libraries" of an executable work include anything, other
12786than the work as a whole, that (a) is included in the normal form of
12787packaging a Major Component, but which is not part of that Major
12788Component, and (b) serves only to enable use of the work with that
12789Major Component, or to implement a Standard Interface for which an
12790implementation is available to the public in source code form. A
12791"Major Component", in this context, means a major essential component
12792(kernel, window system, and so on) of the specific operating system
12793(if any) on which the executable work runs, or a compiler used to
12794produce the work, or an object code interpreter used to run it.
12795
12796 The "Corresponding Source" for a work in object code form means all
12797the source code needed to generate, install, and (for an executable
12798work) run the object code and to modify the work, including scripts to
12799control those activities. However, it does not include the work's
12800System Libraries, or general-purpose tools or generally available free
12801programs which are used unmodified in performing those activities but
12802which are not part of the work. For example, Corresponding Source
12803includes interface definition files associated with source files for
12804the work, and the source code for shared libraries and dynamically
12805linked subprograms that the work is specifically designed to require,
12806such as by intimate data communication or control flow between those
12807subprograms and other parts of the work.
12808
12809 The Corresponding Source need not include anything that users
12810can regenerate automatically from other parts of the Corresponding
12811Source.
12812
12813 The Corresponding Source for a work in source code form is that
12814same work.
12815
12816 2. Basic Permissions.
12817
12818 All rights granted under this License are granted for the term of
12819copyright on the Program, and are irrevocable provided the stated
12820conditions are met. This License explicitly affirms your unlimited
12821permission to run the unmodified Program. The output from running a
12822covered work is covered by this License only if the output, given its
12823content, constitutes a covered work. This License acknowledges your
12824rights of fair use or other equivalent, as provided by copyright law.
12825
12826 You may make, run and propagate covered works that you do not
12827convey, without conditions so long as your license otherwise remains
12828in force. You may convey covered works to others for the sole purpose
12829of having them make modifications exclusively for you, or provide you
12830with facilities for running those works, provided that you comply with
12831the terms of this License in conveying all material for which you do
12832not control copyright. Those thus making or running the covered works
12833for you must do so exclusively on your behalf, under your direction
12834and control, on terms that prohibit them from making any copies of
12835your copyrighted material outside their relationship with you.
12836
12837 Conveying under any other circumstances is permitted solely under
12838the conditions stated below. Sublicensing is not allowed; section 10
12839makes it unnecessary.
12840
12841 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
12842
12843 No covered work shall be deemed part of an effective technological
12844measure under any applicable law fulfilling obligations under article
1284511 of the WIPO copyright treaty adopted on 20 December 1996, or
12846similar laws prohibiting or restricting circumvention of such
12847measures.
12848
12849 When you convey a covered work, you waive any legal power to forbid
12850circumvention of technological measures to the extent such circumvention
12851is effected by exercising rights under this License with respect to
12852the covered work, and you disclaim any intention to limit operation or
12853modification of the work as a means of enforcing, against the work's
12854users, your or third parties' legal rights to forbid circumvention of
12855technological measures.
12856
12857 4. Conveying Verbatim Copies.
12858
12859 You may convey verbatim copies of the Program's source code as you
12860receive it, in any medium, provided that you conspicuously and
12861appropriately publish on each copy an appropriate copyright notice;
12862keep intact all notices stating that this License and any
12863non-permissive terms added in accord with section 7 apply to the code;
12864keep intact all notices of the absence of any warranty; and give all
12865recipients a copy of this License along with the Program.
12866
12867 You may charge any price or no price for each copy that you convey,
12868and you may offer support or warranty protection for a fee.
12869
12870 5. Conveying Modified Source Versions.
12871
12872 You may convey a work based on the Program, or the modifications to
12873produce it from the Program, in the form of source code under the
12874terms of section 4, provided that you also meet all of these conditions:
12875
12876 a) The work must carry prominent notices stating that you modified
12877 it, and giving a relevant date.
12878
12879 b) The work must carry prominent notices stating that it is
12880 released under this License and any conditions added under section
12881 7. This requirement modifies the requirement in section 4 to
12882 "keep intact all notices".
12883
12884 c) You must license the entire work, as a whole, under this
12885 License to anyone who comes into possession of a copy. This
12886 License will therefore apply, along with any applicable section 7
12887 additional terms, to the whole of the work, and all its parts,
12888 regardless of how they are packaged. This License gives no
12889 permission to license the work in any other way, but it does not
12890 invalidate such permission if you have separately received it.
12891
12892 d) If the work has interactive user interfaces, each must display
12893 Appropriate Legal Notices; however, if the Program has interactive
12894 interfaces that do not display Appropriate Legal Notices, your
12895 work need not make them do so.
12896
12897 A compilation of a covered work with other separate and independent
12898works, which are not by their nature extensions of the covered work,
12899and which are not combined with it such as to form a larger program,
12900in or on a volume of a storage or distribution medium, is called an
12901"aggregate" if the compilation and its resulting copyright are not
12902used to limit the access or legal rights of the compilation's users
12903beyond what the individual works permit. Inclusion of a covered work
12904in an aggregate does not cause this License to apply to the other
12905parts of the aggregate.
12906
12907 6. Conveying Non-Source Forms.
12908
12909 You may convey a covered work in object code form under the terms
12910of sections 4 and 5, provided that you also convey the
12911machine-readable Corresponding Source under the terms of this License,
12912in one of these ways:
12913
12914 a) Convey the object code in, or embodied in, a physical product
12915 (including a physical distribution medium), accompanied by the
12916 Corresponding Source fixed on a durable physical medium
12917 customarily used for software interchange.
12918
12919 b) Convey the object code in, or embodied in, a physical product
12920 (including a physical distribution medium), accompanied by a
12921 written offer, valid for at least three years and valid for as
12922 long as you offer spare parts or customer support for that product
12923 model, to give anyone who possesses the object code either (1) a
12924 copy of the Corresponding Source for all the software in the
12925 product that is covered by this License, on a durable physical
12926 medium customarily used for software interchange, for a price no
12927 more than your reasonable cost of physically performing this
12928 conveying of source, or (2) access to copy the
12929 Corresponding Source from a network server at no charge.
12930
12931 c) Convey individual copies of the object code with a copy of the
12932 written offer to provide the Corresponding Source. This
12933 alternative is allowed only occasionally and noncommercially, and
12934 only if you received the object code with such an offer, in accord
12935 with subsection 6b.
12936
12937 d) Convey the object code by offering access from a designated
12938 place (gratis or for a charge), and offer equivalent access to the
12939 Corresponding Source in the same way through the same place at no
12940 further charge. You need not require recipients to copy the
12941 Corresponding Source along with the object code. If the place to
12942 copy the object code is a network server, the Corresponding Source
12943 may be on a different server (operated by you or a third party)
12944 that supports equivalent copying facilities, provided you maintain
12945 clear directions next to the object code saying where to find the
12946 Corresponding Source. Regardless of what server hosts the
12947 Corresponding Source, you remain obligated to ensure that it is
12948 available for as long as needed to satisfy these requirements.
12949
12950 e) Convey the object code using peer-to-peer transmission, provided
12951 you inform other peers where the object code and Corresponding
12952 Source of the work are being offered to the general public at no
12953 charge under subsection 6d.
12954
12955 A separable portion of the object code, whose source code is excluded
12956from the Corresponding Source as a System Library, need not be
12957included in conveying the object code work.
12958
12959 A "User Product" is either (1) a "consumer product", which means any
12960tangible personal property which is normally used for personal, family,
12961or household purposes, or (2) anything designed or sold for incorporation
12962into a dwelling. In determining whether a product is a consumer product,
12963doubtful cases shall be resolved in favor of coverage. For a particular
12964product received by a particular user, "normally used" refers to a
12965typical or common use of that class of product, regardless of the status
12966of the particular user or of the way in which the particular user
12967actually uses, or expects or is expected to use, the product. A product
12968is a consumer product regardless of whether the product has substantial
12969commercial, industrial or non-consumer uses, unless such uses represent
12970the only significant mode of use of the product.
12971
12972 "Installation Information" for a User Product means any methods,
12973procedures, authorization keys, or other information required to install
12974and execute modified versions of a covered work in that User Product from
12975a modified version of its Corresponding Source. The information must
12976suffice to ensure that the continued functioning of the modified object
12977code is in no case prevented or interfered with solely because
12978modification has been made.
12979
12980 If you convey an object code work under this section in, or with, or
12981specifically for use in, a User Product, and the conveying occurs as
12982part of a transaction in which the right of possession and use of the
12983User Product is transferred to the recipient in perpetuity or for a
12984fixed term (regardless of how the transaction is characterized), the
12985Corresponding Source conveyed under this section must be accompanied
12986by the Installation Information. But this requirement does not apply
12987if neither you nor any third party retains the ability to install
12988modified object code on the User Product (for example, the work has
12989been installed in ROM).
12990
12991 The requirement to provide Installation Information does not include a
12992requirement to continue to provide support service, warranty, or updates
12993for a work that has been modified or installed by the recipient, or for
12994the User Product in which it has been modified or installed. Access to a
12995network may be denied when the modification itself materially and
12996adversely affects the operation of the network or violates the rules and
12997protocols for communication across the network.
12998
12999 Corresponding Source conveyed, and Installation Information provided,
13000in accord with this section must be in a format that is publicly
13001documented (and with an implementation available to the public in
13002source code form), and must require no special password or key for
13003unpacking, reading or copying.
13004
13005 7. Additional Terms.
13006
13007 "Additional permissions" are terms that supplement the terms of this
13008License by making exceptions from one or more of its conditions.
13009Additional permissions that are applicable to the entire Program shall
13010be treated as though they were included in this License, to the extent
13011that they are valid under applicable law. If additional permissions
13012apply only to part of the Program, that part may be used separately
13013under those permissions, but the entire Program remains governed by
13014this License without regard to the additional permissions.
13015
13016 When you convey a copy of a covered work, you may at your option
13017remove any additional permissions from that copy, or from any part of
13018it. (Additional permissions may be written to require their own
13019removal in certain cases when you modify the work.) You may place
13020additional permissions on material, added by you to a covered work,
13021for which you have or can give appropriate copyright permission.
13022
13023 Notwithstanding any other provision of this License, for material you
13024add to a covered work, you may (if authorized by the copyright holders of
13025that material) supplement the terms of this License with terms:
13026
13027 a) Disclaiming warranty or limiting liability differently from the
13028 terms of sections 15 and 16 of this License; or
13029
13030 b) Requiring preservation of specified reasonable legal notices or
13031 author attributions in that material or in the Appropriate Legal
13032 Notices displayed by works containing it; or
13033
13034 c) Prohibiting misrepresentation of the origin of that material, or
13035 requiring that modified versions of such material be marked in
13036 reasonable ways as different from the original version; or
13037
13038 d) Limiting the use for publicity purposes of names of licensors or
13039 authors of the material; or
13040
13041 e) Declining to grant rights under trademark law for use of some
13042 trade names, trademarks, or service marks; or
13043
13044 f) Requiring indemnification of licensors and authors of that
13045 material by anyone who conveys the material (or modified versions of
13046 it) with contractual assumptions of liability to the recipient, for
13047 any liability that these contractual assumptions directly impose on
13048 those licensors and authors.
13049
13050 All other non-permissive additional terms are considered "further
13051restrictions" within the meaning of section 10. If the Program as you
13052received it, or any part of it, contains a notice stating that it is
13053governed by this License along with a term that is a further
13054restriction, you may remove that term. If a license document contains
13055a further restriction but permits relicensing or conveying under this
13056License, you may add to a covered work material governed by the terms
13057of that license document, provided that the further restriction does
13058not survive such relicensing or conveying.
13059
13060 If you add terms to a covered work in accord with this section, you
13061must place, in the relevant source files, a statement of the
13062additional terms that apply to those files, or a notice indicating
13063where to find the applicable terms.
13064
13065 Additional terms, permissive or non-permissive, may be stated in the
13066form of a separately written license, or stated as exceptions;
13067the above requirements apply either way.
13068
13069 8. Termination.
13070
13071 You may not propagate or modify a covered work except as expressly
13072provided under this License. Any attempt otherwise to propagate or
13073modify it is void, and will automatically terminate your rights under
13074this License (including any patent licenses granted under the third
13075paragraph of section 11).
13076
13077 However, if you cease all violation of this License, then your
13078license from a particular copyright holder is reinstated (a)
13079provisionally, unless and until the copyright holder explicitly and
13080finally terminates your license, and (b) permanently, if the copyright
13081holder fails to notify you of the violation by some reasonable means
13082prior to 60 days after the cessation.
13083
13084 Moreover, your license from a particular copyright holder is
13085reinstated permanently if the copyright holder notifies you of the
13086violation by some reasonable means, this is the first time you have
13087received notice of violation of this License (for any work) from that
13088copyright holder, and you cure the violation prior to 30 days after
13089your receipt of the notice.
13090
13091 Termination of your rights under this section does not terminate the
13092licenses of parties who have received copies or rights from you under
13093this License. If your rights have been terminated and not permanently
13094reinstated, you do not qualify to receive new licenses for the same
13095material under section 10.
13096
13097 9. Acceptance Not Required for Having Copies.
13098
13099 You are not required to accept this License in order to receive or
13100run a copy of the Program. Ancillary propagation of a covered work
13101occurring solely as a consequence of using peer-to-peer transmission
13102to receive a copy likewise does not require acceptance. However,
13103nothing other than this License grants you permission to propagate or
13104modify any covered work. These actions infringe copyright if you do
13105not accept this License. Therefore, by modifying or propagating a
13106covered work, you indicate your acceptance of this License to do so.
13107
13108 10. Automatic Licensing of Downstream Recipients.
13109
13110 Each time you convey a covered work, the recipient automatically
13111receives a license from the original licensors, to run, modify and
13112propagate that work, subject to this License. You are not responsible
13113for enforcing compliance by third parties with this License.
13114
13115 An "entity transaction" is a transaction transferring control of an
13116organization, or substantially all assets of one, or subdividing an
13117organization, or merging organizations. If propagation of a covered
13118work results from an entity transaction, each party to that
13119transaction who receives a copy of the work also receives whatever
13120licenses to the work the party's predecessor in interest had or could
13121give under the previous paragraph, plus a right to possession of the
13122Corresponding Source of the work from the predecessor in interest, if
13123the predecessor has it or can get it with reasonable efforts.
13124
13125 You may not impose any further restrictions on the exercise of the
13126rights granted or affirmed under this License. For example, you may
13127not impose a license fee, royalty, or other charge for exercise of
13128rights granted under this License, and you may not initiate litigation
13129(including a cross-claim or counterclaim in a lawsuit) alleging that
13130any patent claim is infringed by making, using, selling, offering for
13131sale, or importing the Program or any portion of it.
13132
13133 11. Patents.
13134
13135 A "contributor" is a copyright holder who authorizes use under this
13136License of the Program or a work on which the Program is based. The
13137work thus licensed is called the contributor's "contributor version".
13138
13139 A contributor's "essential patent claims" are all patent claims
13140owned or controlled by the contributor, whether already acquired or
13141hereafter acquired, that would be infringed by some manner, permitted
13142by this License, of making, using, or selling its contributor version,
13143but do not include claims that would be infringed only as a
13144consequence of further modification of the contributor version. For
13145purposes of this definition, "control" includes the right to grant
13146patent sublicenses in a manner consistent with the requirements of
13147this License.
13148
13149 Each contributor grants you a non-exclusive, worldwide, royalty-free
13150patent license under the contributor's essential patent claims, to
13151make, use, sell, offer for sale, import and otherwise run, modify and
13152propagate the contents of its contributor version.
13153
13154 In the following three paragraphs, a "patent license" is any express
13155agreement or commitment, however denominated, not to enforce a patent
13156(such as an express permission to practice a patent or covenant not to
13157sue for patent infringement). To "grant" such a patent license to a
13158party means to make such an agreement or commitment not to enforce a
13159patent against the party.
13160
13161 If you convey a covered work, knowingly relying on a patent license,
13162and the Corresponding Source of the work is not available for anyone
13163to copy, free of charge and under the terms of this License, through a
13164publicly available network server or other readily accessible means,
13165then you must either (1) cause the Corresponding Source to be so
13166available, or (2) arrange to deprive yourself of the benefit of the
13167patent license for this particular work, or (3) arrange, in a manner
13168consistent with the requirements of this License, to extend the patent
13169license to downstream recipients. "Knowingly relying" means you have
13170actual knowledge that, but for the patent license, your conveying the
13171covered work in a country, or your recipient's use of the covered work
13172in a country, would infringe one or more identifiable patents in that
13173country that you have reason to believe are valid.
13174
13175 If, pursuant to or in connection with a single transaction or
13176arrangement, you convey, or propagate by procuring conveyance of, a
13177covered work, and grant a patent license to some of the parties
13178receiving the covered work authorizing them to use, propagate, modify
13179or convey a specific copy of the covered work, then the patent license
13180you grant is automatically extended to all recipients of the covered
13181work and works based on it.
13182
13183 A patent license is "discriminatory" if it does not include within
13184the scope of its coverage, prohibits the exercise of, or is
13185conditioned on the non-exercise of one or more of the rights that are
13186specifically granted under this License. You may not convey a covered
13187work if you are a party to an arrangement with a third party that is
13188in the business of distributing software, under which you make payment
13189to the third party based on the extent of your activity of conveying
13190the work, and under which the third party grants, to any of the
13191parties who would receive the covered work from you, a discriminatory
13192patent license (a) in connection with copies of the covered work
13193conveyed by you (or copies made from those copies), or (b) primarily
13194for and in connection with specific products or compilations that
13195contain the covered work, unless you entered into that arrangement,
13196or that patent license was granted, prior to 28 March 2007.
13197
13198 Nothing in this License shall be construed as excluding or limiting
13199any implied license or other defenses to infringement that may
13200otherwise be available to you under applicable patent law.
13201
13202 12. No Surrender of Others' Freedom.
13203
13204 If conditions are imposed on you (whether by court order, agreement or
13205otherwise) that contradict the conditions of this License, they do not
13206excuse you from the conditions of this License. If you cannot convey a
13207covered work so as to satisfy simultaneously your obligations under this
13208License and any other pertinent obligations, then as a consequence you may
13209not convey it at all. For example, if you agree to terms that obligate you
13210to collect a royalty for further conveying from those to whom you convey
13211the Program, the only way you could satisfy both those terms and this
13212License would be to refrain entirely from conveying the Program.
13213
13214 13. Use with the GNU Affero General Public License.
13215
13216 Notwithstanding any other provision of this License, you have
13217permission to link or combine any covered work with a work licensed
13218under version 3 of the GNU Affero General Public License into a single
13219combined work, and to convey the resulting work. The terms of this
13220License will continue to apply to the part which is the covered work,
13221but the special requirements of the GNU Affero General Public License,
13222section 13, concerning interaction through a network will apply to the
13223combination as such.
13224
13225 14. Revised Versions of this License.
13226
13227 The Free Software Foundation may publish revised and/or new versions of
13228the GNU General Public License from time to time. Such new versions will
13229be similar in spirit to the present version, but may differ in detail to
13230address new problems or concerns.
13231
13232 Each version is given a distinguishing version number. If the
13233Program specifies that a certain numbered version of the GNU General
13234Public License "or any later version" applies to it, you have the
13235option of following the terms and conditions either of that numbered
13236version or of any later version published by the Free Software
13237Foundation. If the Program does not specify a version number of the
13238GNU General Public License, you may choose any version ever published
13239by the Free Software Foundation.
13240
13241 If the Program specifies that a proxy can decide which future
13242versions of the GNU General Public License can be used, that proxy's
13243public statement of acceptance of a version permanently authorizes you
13244to choose that version for the Program.
13245
13246 Later license versions may give you additional or different
13247permissions. However, no additional obligations are imposed on any
13248author or copyright holder as a result of your choosing to follow a
13249later version.
13250
13251 15. Disclaimer of Warranty.
13252
13253 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
13254APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
13255HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
13256OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
13257THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
13258PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
13259IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
13260ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
13261
13262 16. Limitation of Liability.
13263
13264 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
13265WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
13266THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
13267GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
13268USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
13269DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
13270PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
13271EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
13272SUCH DAMAGES.
13273
13274 17. Interpretation of Sections 15 and 16.
13275
13276 If the disclaimer of warranty and limitation of liability provided
13277above cannot be given local legal effect according to their terms,
13278reviewing courts shall apply local law that most closely approximates
13279an absolute waiver of all civil liability in connection with the
13280Program, unless a warranty or assumption of liability accompanies a
13281copy of the Program in return for a fee.
13282
13283 END OF TERMS AND CONDITIONS
13284
13285 How to Apply These Terms to Your New Programs
13286
13287 If you develop a new program, and you want it to be of the greatest
13288possible use to the public, the best way to achieve this is to make it
13289free software which everyone can redistribute and change under these terms.
13290
13291 To do so, attach the following notices to the program. It is safest
13292to attach them to the start of each source file to most effectively
13293state the exclusion of warranty; and each file should have at least
13294the "copyright" line and a pointer to where the full notice is found.
13295
13296 <one line to give the program's name and a brief idea of what it does.>
13297 Copyright (C) <year> <name of author>
13298
13299 This program is free software: you can redistribute it and/or modify
13300 it under the terms of the GNU General Public License as published by
13301 the Free Software Foundation, either version 3 of the License, or
13302 (at your option) any later version.
13303
13304 This program is distributed in the hope that it will be useful,
13305 but WITHOUT ANY WARRANTY; without even the implied warranty of
13306 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13307 GNU General Public License for more details.
13308
13309 You should have received a copy of the GNU General Public License
13310 along with this program. If not, see <http://www.gnu.org/licenses/>.
13311
13312Also add information on how to contact you by electronic and paper mail.
13313
13314 If the program does terminal interaction, make it output a short
13315notice like this when it starts in an interactive mode:
13316
13317 <program> Copyright (C) <year> <name of author>
13318 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
13319 This is free software, and you are welcome to redistribute it
13320 under certain conditions; type `show c' for details.
13321
13322The hypothetical commands `show w' and `show c' should show the appropriate
13323parts of the General Public License. Of course, your program's commands
13324might be different; for a GUI interface, you would use an "about box".
13325
13326 You should also get your employer (if you work as a programmer) or school,
13327if any, to sign a "copyright disclaimer" for the program, if necessary.
13328For more information on this, and how to apply and follow the GNU GPL, see
13329<http://www.gnu.org/licenses/>.
13330
13331 The GNU General Public License does not permit incorporating your program
13332into proprietary programs. If your program is a subroutine library, you
13333may consider it more useful to permit linking proprietary applications with
13334the library. If this is what you want to do, use the GNU Lesser General
13335Public License instead of this License. But first, please read
13336<http://www.gnu.org/philosophy/why-not-lgpl.html>.
13337 GNU LESSER GENERAL PUBLIC LICENSE
13338 Version 3, 29 June 2007
13339
13340 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
13341 Everyone is permitted to copy and distribute verbatim copies
13342 of this license document, but changing it is not allowed.
13343
13344
13345 This version of the GNU Lesser General Public License incorporates
13346the terms and conditions of version 3 of the GNU General Public
13347License, supplemented by the additional permissions listed below.
13348
13349 0. Additional Definitions.
13350
13351 As used herein, "this License" refers to version 3 of the GNU Lesser
13352General Public License, and the "GNU GPL" refers to version 3 of the GNU
13353General Public License.
13354
13355 "The Library" refers to a covered work governed by this License,
13356other than an Application or a Combined Work as defined below.
13357
13358 An "Application" is any work that makes use of an interface provided
13359by the Library, but which is not otherwise based on the Library.
13360Defining a subclass of a class defined by the Library is deemed a mode
13361of using an interface provided by the Library.
13362
13363 A "Combined Work" is a work produced by combining or linking an
13364Application with the Library. The particular version of the Library
13365with which the Combined Work was made is also called the "Linked
13366Version".
13367
13368 The "Minimal Corresponding Source" for a Combined Work means the
13369Corresponding Source for the Combined Work, excluding any source code
13370for portions of the Combined Work that, considered in isolation, are
13371based on the Application, and not on the Linked Version.
13372
13373 The "Corresponding Application Code" for a Combined Work means the
13374object code and/or source code for the Application, including any data
13375and utility programs needed for reproducing the Combined Work from the
13376Application, but excluding the System Libraries of the Combined Work.
13377
13378 1. Exception to Section 3 of the GNU GPL.
13379
13380 You may convey a covered work under sections 3 and 4 of this License
13381without being bound by section 3 of the GNU GPL.
13382
13383 2. Conveying Modified Versions.
13384
13385 If you modify a copy of the Library, and, in your modifications, a
13386facility refers to a function or data to be supplied by an Application
13387that uses the facility (other than as an argument passed when the
13388facility is invoked), then you may convey a copy of the modified
13389version:
13390
13391 a) under this License, provided that you make a good faith effort to
13392 ensure that, in the event an Application does not supply the
13393 function or data, the facility still operates, and performs
13394 whatever part of its purpose remains meaningful, or
13395
13396 b) under the GNU GPL, with none of the additional permissions of
13397 this License applicable to that copy.
13398
13399 3. Object Code Incorporating Material from Library Header Files.
13400
13401 The object code form of an Application may incorporate material from
13402a header file that is part of the Library. You may convey such object
13403code under terms of your choice, provided that, if the incorporated
13404material is not limited to numerical parameters, data structure
13405layouts and accessors, or small macros, inline functions and templates
13406(ten or fewer lines in length), you do both of the following:
13407
13408 a) Give prominent notice with each copy of the object code that the
13409 Library is used in it and that the Library and its use are
13410 covered by this License.
13411
13412 b) Accompany the object code with a copy of the GNU GPL and this license
13413 document.
13414
13415 4. Combined Works.
13416
13417 You may convey a Combined Work under terms of your choice that,
13418taken together, effectively do not restrict modification of the
13419portions of the Library contained in the Combined Work and reverse
13420engineering for debugging such modifications, if you also do each of
13421the following:
13422
13423 a) Give prominent notice with each copy of the Combined Work that
13424 the Library is used in it and that the Library and its use are
13425 covered by this License.
13426
13427 b) Accompany the Combined Work with a copy of the GNU GPL and this license
13428 document.
13429
13430 c) For a Combined Work that displays copyright notices during
13431 execution, include the copyright notice for the Library among
13432 these notices, as well as a reference directing the user to the
13433 copies of the GNU GPL and this license document.
13434
13435 d) Do one of the following:
13436
13437 0) Convey the Minimal Corresponding Source under the terms of this
13438 License, and the Corresponding Application Code in a form
13439 suitable for, and under terms that permit, the user to
13440 recombine or relink the Application with a modified version of
13441 the Linked Version to produce a modified Combined Work, in the
13442 manner specified by section 6 of the GNU GPL for conveying
13443 Corresponding Source.
13444
13445 1) Use a suitable shared library mechanism for linking with the
13446 Library. A suitable mechanism is one that (a) uses at run time
13447 a copy of the Library already present on the user's computer
13448 system, and (b) will operate properly with a modified version
13449 of the Library that is interface-compatible with the Linked
13450 Version.
13451
13452 e) Provide Installation Information, but only if you would otherwise
13453 be required to provide such information under section 6 of the
13454 GNU GPL, and only to the extent that such information is
13455 necessary to install and execute a modified version of the
13456 Combined Work produced by recombining or relinking the
13457 Application with a modified version of the Linked Version. (If
13458 you use option 4d0, the Installation Information must accompany
13459 the Minimal Corresponding Source and Corresponding Application
13460 Code. If you use option 4d1, you must provide the Installation
13461 Information in the manner specified by section 6 of the GNU GPL
13462 for conveying Corresponding Source.)
13463
13464 5. Combined Libraries.
13465
13466 You may place library facilities that are a work based on the
13467Library side by side in a single library together with other library
13468facilities that are not Applications and are not covered by this
13469License, and convey such a combined library under terms of your
13470choice, if you do both of the following:
13471
13472 a) Accompany the combined library with a copy of the same work based
13473 on the Library, uncombined with any other library facilities,
13474 conveyed under the terms of this License.
13475
13476 b) Give prominent notice with the combined library that part of it
13477 is a work based on the Library, and explaining where to find the
13478 accompanying uncombined form of the same work.
13479
13480 6. Revised Versions of the GNU Lesser General Public License.
13481
13482 The Free Software Foundation may publish revised and/or new versions
13483of the GNU Lesser General Public License from time to time. Such new
13484versions will be similar in spirit to the present version, but may
13485differ in detail to address new problems or concerns.
13486
13487 Each version is given a distinguishing version number. If the
13488Library as you received it specifies that a certain numbered version
13489of the GNU Lesser General Public License "or any later version"
13490applies to it, you have the option of following the terms and
13491conditions either of that published version or of any later version
13492published by the Free Software Foundation. If the Library as you
13493received it does not specify a version number of the GNU Lesser
13494General Public License, you may choose any version of the GNU Lesser
13495General Public License ever published by the Free Software Foundation.
13496
13497 If the Library as you received it specifies that a proxy can decide
13498whether future versions of the GNU Lesser General Public License shall
13499apply, that proxy's public statement of acceptance of any version is
13500permanent authorization for you to choose that version for the
13501Library.
13502 GNU LESSER GENERAL PUBLIC LICENSE
13503 Version 3, 29 June 2007
13504
13505 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
13506 Everyone is permitted to copy and distribute verbatim copies
13507 of this license document, but changing it is not allowed.
13508
13509
13510 This version of the GNU Lesser General Public License incorporates
13511the terms and conditions of version 3 of the GNU General Public
13512License, supplemented by the additional permissions listed below.
13513
13514 0. Additional Definitions.
13515
13516 As used herein, "this License" refers to version 3 of the GNU Lesser
13517General Public License, and the "GNU GPL" refers to version 3 of the GNU
13518General Public License.
13519
13520 "The Library" refers to a covered work governed by this License,
13521other than an Application or a Combined Work as defined below.
13522
13523 An "Application" is any work that makes use of an interface provided
13524by the Library, but which is not otherwise based on the Library.
13525Defining a subclass of a class defined by the Library is deemed a mode
13526of using an interface provided by the Library.
13527
13528 A "Combined Work" is a work produced by combining or linking an
13529Application with the Library. The particular version of the Library
13530with which the Combined Work was made is also called the "Linked
13531Version".
13532
13533 The "Minimal Corresponding Source" for a Combined Work means the
13534Corresponding Source for the Combined Work, excluding any source code
13535for portions of the Combined Work that, considered in isolation, are
13536based on the Application, and not on the Linked Version.
13537
13538 The "Corresponding Application Code" for a Combined Work means the
13539object code and/or source code for the Application, including any data
13540and utility programs needed for reproducing the Combined Work from the
13541Application, but excluding the System Libraries of the Combined Work.
13542
13543 1. Exception to Section 3 of the GNU GPL.
13544
13545 You may convey a covered work under sections 3 and 4 of this License
13546without being bound by section 3 of the GNU GPL.
13547
13548 2. Conveying Modified Versions.
13549
13550 If you modify a copy of the Library, and, in your modifications, a
13551facility refers to a function or data to be supplied by an Application
13552that uses the facility (other than as an argument passed when the
13553facility is invoked), then you may convey a copy of the modified
13554version:
13555
13556 a) under this License, provided that you make a good faith effort to
13557 ensure that, in the event an Application does not supply the
13558 function or data, the facility still operates, and performs
13559 whatever part of its purpose remains meaningful, or
13560
13561 b) under the GNU GPL, with none of the additional permissions of
13562 this License applicable to that copy.
13563
13564 3. Object Code Incorporating Material from Library Header Files.
13565
13566 The object code form of an Application may incorporate material from
13567a header file that is part of the Library. You may convey such object
13568code under terms of your choice, provided that, if the incorporated
13569material is not limited to numerical parameters, data structure
13570layouts and accessors, or small macros, inline functions and templates
13571(ten or fewer lines in length), you do both of the following:
13572
13573 a) Give prominent notice with each copy of the object code that the
13574 Library is used in it and that the Library and its use are
13575 covered by this License.
13576
13577 b) Accompany the object code with a copy of the GNU GPL and this license
13578 document.
13579
13580 4. Combined Works.
13581
13582 You may convey a Combined Work under terms of your choice that,
13583taken together, effectively do not restrict modification of the
13584portions of the Library contained in the Combined Work and reverse
13585engineering for debugging such modifications, if you also do each of
13586the following:
13587
13588 a) Give prominent notice with each copy of the Combined Work that
13589 the Library is used in it and that the Library and its use are
13590 covered by this License.
13591
13592 b) Accompany the Combined Work with a copy of the GNU GPL and this license
13593 document.
13594
13595 c) For a Combined Work that displays copyright notices during
13596 execution, include the copyright notice for the Library among
13597 these notices, as well as a reference directing the user to the
13598 copies of the GNU GPL and this license document.
13599
13600 d) Do one of the following:
13601
13602 0) Convey the Minimal Corresponding Source under the terms of this
13603 License, and the Corresponding Application Code in a form
13604 suitable for, and under terms that permit, the user to
13605 recombine or relink the Application with a modified version of
13606 the Linked Version to produce a modified Combined Work, in the
13607 manner specified by section 6 of the GNU GPL for conveying
13608 Corresponding Source.
13609
13610 1) Use a suitable shared library mechanism for linking with the
13611 Library. A suitable mechanism is one that (a) uses at run time
13612 a copy of the Library already present on the user's computer
13613 system, and (b) will operate properly with a modified version
13614 of the Library that is interface-compatible with the Linked
13615 Version.
13616
13617 e) Provide Installation Information, but only if you would otherwise
13618 be required to provide such information under section 6 of the
13619 GNU GPL, and only to the extent that such information is
13620 necessary to install and execute a modified version of the
13621 Combined Work produced by recombining or relinking the
13622 Application with a modified version of the Linked Version. (If
13623 you use option 4d0, the Installation Information must accompany
13624 the Minimal Corresponding Source and Corresponding Application
13625 Code. If you use option 4d1, you must provide the Installation
13626 Information in the manner specified by section 6 of the GNU GPL
13627 for conveying Corresponding Source.)
13628
13629 5. Combined Libraries.
13630
13631 You may place library facilities that are a work based on the
13632Library side by side in a single library together with other library
13633facilities that are not Applications and are not covered by this
13634License, and convey such a combined library under terms of your
13635choice, if you do both of the following:
13636
13637 a) Accompany the combined library with a copy of the same work based
13638 on the Library, uncombined with any other library facilities,
13639 conveyed under the terms of this License.
13640
13641 b) Give prominent notice with the combined library that part of it
13642 is a work based on the Library, and explaining where to find the
13643 accompanying uncombined form of the same work.
13644
13645 6. Revised Versions of the GNU Lesser General Public License.
13646
13647 The Free Software Foundation may publish revised and/or new versions
13648of the GNU Lesser General Public License from time to time. Such new
13649versions will be similar in spirit to the present version, but may
13650differ in detail to address new problems or concerns.
13651
13652 Each version is given a distinguishing version number. If the
13653Library as you received it specifies that a certain numbered version
13654of the GNU Lesser General Public License "or any later version"
13655applies to it, you have the option of following the terms and
13656conditions either of that published version or of any later version
13657published by the Free Software Foundation. If the Library as you
13658received it does not specify a version number of the GNU Lesser
13659General Public License, you may choose any version of the GNU Lesser
13660General Public License ever published by the Free Software Foundation.
13661
13662 If the Library as you received it specifies that a proxy can decide
13663whether future versions of the GNU Lesser General Public License shall
13664apply, that proxy's public statement of acceptance of any version is
13665permanent authorization for you to choose that version for the
13666Library.
13667 GNU GENERAL PUBLIC LICENSE
13668 Version 3, 29 June 2007
13669
13670 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
13671 Everyone is permitted to copy and distribute verbatim copies
13672 of this license document, but changing it is not allowed.
13673
13674 Preamble
13675
13676 The GNU General Public License is a free, copyleft license for
13677software and other kinds of works.
13678
13679 The licenses for most software and other practical works are designed
13680to take away your freedom to share and change the works. By contrast,
13681the GNU General Public License is intended to guarantee your freedom to
13682share and change all versions of a program--to make sure it remains free
13683software for all its users. We, the Free Software Foundation, use the
13684GNU General Public License for most of our software; it applies also to
13685any other work released this way by its authors. You can apply it to
13686your programs, too.
13687
13688 When we speak of free software, we are referring to freedom, not
13689price. Our General Public Licenses are designed to make sure that you
13690have the freedom to distribute copies of free software (and charge for
13691them if you wish), that you receive source code or can get it if you
13692want it, that you can change the software or use pieces of it in new
13693free programs, and that you know you can do these things.
13694
13695 To protect your rights, we need to prevent others from denying you
13696these rights or asking you to surrender the rights. Therefore, you have
13697certain responsibilities if you distribute copies of the software, or if
13698you modify it: responsibilities to respect the freedom of others.
13699
13700 For example, if you distribute copies of such a program, whether
13701gratis or for a fee, you must pass on to the recipients the same
13702freedoms that you received. You must make sure that they, too, receive
13703or can get the source code. And you must show them these terms so they
13704know their rights.
13705
13706 Developers that use the GNU GPL protect your rights with two steps:
13707(1) assert copyright on the software, and (2) offer you this License
13708giving you legal permission to copy, distribute and/or modify it.
13709
13710 For the developers' and authors' protection, the GPL clearly explains
13711that there is no warranty for this free software. For both users' and
13712authors' sake, the GPL requires that modified versions be marked as
13713changed, so that their problems will not be attributed erroneously to
13714authors of previous versions.
13715
13716 Some devices are designed to deny users access to install or run
13717modified versions of the software inside them, although the manufacturer
13718can do so. This is fundamentally incompatible with the aim of
13719protecting users' freedom to change the software. The systematic
13720pattern of such abuse occurs in the area of products for individuals to
13721use, which is precisely where it is most unacceptable. Therefore, we
13722have designed this version of the GPL to prohibit the practice for those
13723products. If such problems arise substantially in other domains, we
13724stand ready to extend this provision to those domains in future versions
13725of the GPL, as needed to protect the freedom of users.
13726
13727 Finally, every program is threatened constantly by software patents.
13728States should not allow patents to restrict development and use of
13729software on general-purpose computers, but in those that do, we wish to
13730avoid the special danger that patents applied to a free program could
13731make it effectively proprietary. To prevent this, the GPL assures that
13732patents cannot be used to render the program non-free.
13733
13734 The precise terms and conditions for copying, distribution and
13735modification follow.
13736
13737 TERMS AND CONDITIONS
13738
13739 0. Definitions.
13740
13741 "This License" refers to version 3 of the GNU General Public License.
13742
13743 "Copyright" also means copyright-like laws that apply to other kinds of
13744works, such as semiconductor masks.
13745
13746 "The Program" refers to any copyrightable work licensed under this
13747License. Each licensee is addressed as "you". "Licensees" and
13748"recipients" may be individuals or organizations.
13749
13750 To "modify" a work means to copy from or adapt all or part of the work
13751in a fashion requiring copyright permission, other than the making of an
13752exact copy. The resulting work is called a "modified version" of the
13753earlier work or a work "based on" the earlier work.
13754
13755 A "covered work" means either the unmodified Program or a work based
13756on the Program.
13757
13758 To "propagate" a work means to do anything with it that, without
13759permission, would make you directly or secondarily liable for
13760infringement under applicable copyright law, except executing it on a
13761computer or modifying a private copy. Propagation includes copying,
13762distribution (with or without modification), making available to the
13763public, and in some countries other activities as well.
13764
13765 To "convey" a work means any kind of propagation that enables other
13766parties to make or receive copies. Mere interaction with a user through
13767a computer network, with no transfer of a copy, is not conveying.
13768
13769 An interactive user interface displays "Appropriate Legal Notices"
13770to the extent that it includes a convenient and prominently visible
13771feature that (1) displays an appropriate copyright notice, and (2)
13772tells the user that there is no warranty for the work (except to the
13773extent that warranties are provided), that licensees may convey the
13774work under this License, and how to view a copy of this License. If
13775the interface presents a list of user commands or options, such as a
13776menu, a prominent item in the list meets this criterion.
13777
13778 1. Source Code.
13779
13780 The "source code" for a work means the preferred form of the work
13781for making modifications to it. "Object code" means any non-source
13782form of a work.
13783
13784 A "Standard Interface" means an interface that either is an official
13785standard defined by a recognized standards body, or, in the case of
13786interfaces specified for a particular programming language, one that
13787is widely used among developers working in that language.
13788
13789 The "System Libraries" of an executable work include anything, other
13790than the work as a whole, that (a) is included in the normal form of
13791packaging a Major Component, but which is not part of that Major
13792Component, and (b) serves only to enable use of the work with that
13793Major Component, or to implement a Standard Interface for which an
13794implementation is available to the public in source code form. A
13795"Major Component", in this context, means a major essential component
13796(kernel, window system, and so on) of the specific operating system
13797(if any) on which the executable work runs, or a compiler used to
13798produce the work, or an object code interpreter used to run it.
13799
13800 The "Corresponding Source" for a work in object code form means all
13801the source code needed to generate, install, and (for an executable
13802work) run the object code and to modify the work, including scripts to
13803control those activities. However, it does not include the work's
13804System Libraries, or general-purpose tools or generally available free
13805programs which are used unmodified in performing those activities but
13806which are not part of the work. For example, Corresponding Source
13807includes interface definition files associated with source files for
13808the work, and the source code for shared libraries and dynamically
13809linked subprograms that the work is specifically designed to require,
13810such as by intimate data communication or control flow between those
13811subprograms and other parts of the work.
13812
13813 The Corresponding Source need not include anything that users
13814can regenerate automatically from other parts of the Corresponding
13815Source.
13816
13817 The Corresponding Source for a work in source code form is that
13818same work.
13819
13820 2. Basic Permissions.
13821
13822 All rights granted under this License are granted for the term of
13823copyright on the Program, and are irrevocable provided the stated
13824conditions are met. This License explicitly affirms your unlimited
13825permission to run the unmodified Program. The output from running a
13826covered work is covered by this License only if the output, given its
13827content, constitutes a covered work. This License acknowledges your
13828rights of fair use or other equivalent, as provided by copyright law.
13829
13830 You may make, run and propagate covered works that you do not
13831convey, without conditions so long as your license otherwise remains
13832in force. You may convey covered works to others for the sole purpose
13833of having them make modifications exclusively for you, or provide you
13834with facilities for running those works, provided that you comply with
13835the terms of this License in conveying all material for which you do
13836not control copyright. Those thus making or running the covered works
13837for you must do so exclusively on your behalf, under your direction
13838and control, on terms that prohibit them from making any copies of
13839your copyrighted material outside their relationship with you.
13840
13841 Conveying under any other circumstances is permitted solely under
13842the conditions stated below. Sublicensing is not allowed; section 10
13843makes it unnecessary.
13844
13845 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
13846
13847 No covered work shall be deemed part of an effective technological
13848measure under any applicable law fulfilling obligations under article
1384911 of the WIPO copyright treaty adopted on 20 December 1996, or
13850similar laws prohibiting or restricting circumvention of such
13851measures.
13852
13853 When you convey a covered work, you waive any legal power to forbid
13854circumvention of technological measures to the extent such circumvention
13855is effected by exercising rights under this License with respect to
13856the covered work, and you disclaim any intention to limit operation or
13857modification of the work as a means of enforcing, against the work's
13858users, your or third parties' legal rights to forbid circumvention of
13859technological measures.
13860
13861 4. Conveying Verbatim Copies.
13862
13863 You may convey verbatim copies of the Program's source code as you
13864receive it, in any medium, provided that you conspicuously and
13865appropriately publish on each copy an appropriate copyright notice;
13866keep intact all notices stating that this License and any
13867non-permissive terms added in accord with section 7 apply to the code;
13868keep intact all notices of the absence of any warranty; and give all
13869recipients a copy of this License along with the Program.
13870
13871 You may charge any price or no price for each copy that you convey,
13872and you may offer support or warranty protection for a fee.
13873
13874 5. Conveying Modified Source Versions.
13875
13876 You may convey a work based on the Program, or the modifications to
13877produce it from the Program, in the form of source code under the
13878terms of section 4, provided that you also meet all of these conditions:
13879
13880 a) The work must carry prominent notices stating that you modified
13881 it, and giving a relevant date.
13882
13883 b) The work must carry prominent notices stating that it is
13884 released under this License and any conditions added under section
13885 7. This requirement modifies the requirement in section 4 to
13886 "keep intact all notices".
13887
13888 c) You must license the entire work, as a whole, under this
13889 License to anyone who comes into possession of a copy. This
13890 License will therefore apply, along with any applicable section 7
13891 additional terms, to the whole of the work, and all its parts,
13892 regardless of how they are packaged. This License gives no
13893 permission to license the work in any other way, but it does not
13894 invalidate such permission if you have separately received it.
13895
13896 d) If the work has interactive user interfaces, each must display
13897 Appropriate Legal Notices; however, if the Program has interactive
13898 interfaces that do not display Appropriate Legal Notices, your
13899 work need not make them do so.
13900
13901 A compilation of a covered work with other separate and independent
13902works, which are not by their nature extensions of the covered work,
13903and which are not combined with it such as to form a larger program,
13904in or on a volume of a storage or distribution medium, is called an
13905"aggregate" if the compilation and its resulting copyright are not
13906used to limit the access or legal rights of the compilation's users
13907beyond what the individual works permit. Inclusion of a covered work
13908in an aggregate does not cause this License to apply to the other
13909parts of the aggregate.
13910
13911 6. Conveying Non-Source Forms.
13912
13913 You may convey a covered work in object code form under the terms
13914of sections 4 and 5, provided that you also convey the
13915machine-readable Corresponding Source under the terms of this License,
13916in one of these ways:
13917
13918 a) Convey the object code in, or embodied in, a physical product
13919 (including a physical distribution medium), accompanied by the
13920 Corresponding Source fixed on a durable physical medium
13921 customarily used for software interchange.
13922
13923 b) Convey the object code in, or embodied in, a physical product
13924 (including a physical distribution medium), accompanied by a
13925 written offer, valid for at least three years and valid for as
13926 long as you offer spare parts or customer support for that product
13927 model, to give anyone who possesses the object code either (1) a
13928 copy of the Corresponding Source for all the software in the
13929 product that is covered by this License, on a durable physical
13930 medium customarily used for software interchange, for a price no
13931 more than your reasonable cost of physically performing this
13932 conveying of source, or (2) access to copy the
13933 Corresponding Source from a network server at no charge.
13934
13935 c) Convey individual copies of the object code with a copy of the
13936 written offer to provide the Corresponding Source. This
13937 alternative is allowed only occasionally and noncommercially, and
13938 only if you received the object code with such an offer, in accord
13939 with subsection 6b.
13940
13941 d) Convey the object code by offering access from a designated
13942 place (gratis or for a charge), and offer equivalent access to the
13943 Corresponding Source in the same way through the same place at no
13944 further charge. You need not require recipients to copy the
13945 Corresponding Source along with the object code. If the place to
13946 copy the object code is a network server, the Corresponding Source
13947 may be on a different server (operated by you or a third party)
13948 that supports equivalent copying facilities, provided you maintain
13949 clear directions next to the object code saying where to find the
13950 Corresponding Source. Regardless of what server hosts the
13951 Corresponding Source, you remain obligated to ensure that it is
13952 available for as long as needed to satisfy these requirements.
13953
13954 e) Convey the object code using peer-to-peer transmission, provided
13955 you inform other peers where the object code and Corresponding
13956 Source of the work are being offered to the general public at no
13957 charge under subsection 6d.
13958
13959 A separable portion of the object code, whose source code is excluded
13960from the Corresponding Source as a System Library, need not be
13961included in conveying the object code work.
13962
13963 A "User Product" is either (1) a "consumer product", which means any
13964tangible personal property which is normally used for personal, family,
13965or household purposes, or (2) anything designed or sold for incorporation
13966into a dwelling. In determining whether a product is a consumer product,
13967doubtful cases shall be resolved in favor of coverage. For a particular
13968product received by a particular user, "normally used" refers to a
13969typical or common use of that class of product, regardless of the status
13970of the particular user or of the way in which the particular user
13971actually uses, or expects or is expected to use, the product. A product
13972is a consumer product regardless of whether the product has substantial
13973commercial, industrial or non-consumer uses, unless such uses represent
13974the only significant mode of use of the product.
13975
13976 "Installation Information" for a User Product means any methods,
13977procedures, authorization keys, or other information required to install
13978and execute modified versions of a covered work in that User Product from
13979a modified version of its Corresponding Source. The information must
13980suffice to ensure that the continued functioning of the modified object
13981code is in no case prevented or interfered with solely because
13982modification has been made.
13983
13984 If you convey an object code work under this section in, or with, or
13985specifically for use in, a User Product, and the conveying occurs as
13986part of a transaction in which the right of possession and use of the
13987User Product is transferred to the recipient in perpetuity or for a
13988fixed term (regardless of how the transaction is characterized), the
13989Corresponding Source conveyed under this section must be accompanied
13990by the Installation Information. But this requirement does not apply
13991if neither you nor any third party retains the ability to install
13992modified object code on the User Product (for example, the work has
13993been installed in ROM).
13994
13995 The requirement to provide Installation Information does not include a
13996requirement to continue to provide support service, warranty, or updates
13997for a work that has been modified or installed by the recipient, or for
13998the User Product in which it has been modified or installed. Access to a
13999network may be denied when the modification itself materially and
14000adversely affects the operation of the network or violates the rules and
14001protocols for communication across the network.
14002
14003 Corresponding Source conveyed, and Installation Information provided,
14004in accord with this section must be in a format that is publicly
14005documented (and with an implementation available to the public in
14006source code form), and must require no special password or key for
14007unpacking, reading or copying.
14008
14009 7. Additional Terms.
14010
14011 "Additional permissions" are terms that supplement the terms of this
14012License by making exceptions from one or more of its conditions.
14013Additional permissions that are applicable to the entire Program shall
14014be treated as though they were included in this License, to the extent
14015that they are valid under applicable law. If additional permissions
14016apply only to part of the Program, that part may be used separately
14017under those permissions, but the entire Program remains governed by
14018this License without regard to the additional permissions.
14019
14020 When you convey a copy of a covered work, you may at your option
14021remove any additional permissions from that copy, or from any part of
14022it. (Additional permissions may be written to require their own
14023removal in certain cases when you modify the work.) You may place
14024additional permissions on material, added by you to a covered work,
14025for which you have or can give appropriate copyright permission.
14026
14027 Notwithstanding any other provision of this License, for material you
14028add to a covered work, you may (if authorized by the copyright holders of
14029that material) supplement the terms of this License with terms:
14030
14031 a) Disclaiming warranty or limiting liability differently from the
14032 terms of sections 15 and 16 of this License; or
14033
14034 b) Requiring preservation of specified reasonable legal notices or
14035 author attributions in that material or in the Appropriate Legal
14036 Notices displayed by works containing it; or
14037
14038 c) Prohibiting misrepresentation of the origin of that material, or
14039 requiring that modified versions of such material be marked in
14040 reasonable ways as different from the original version; or
14041
14042 d) Limiting the use for publicity purposes of names of licensors or
14043 authors of the material; or
14044
14045 e) Declining to grant rights under trademark law for use of some
14046 trade names, trademarks, or service marks; or
14047
14048 f) Requiring indemnification of licensors and authors of that
14049 material by anyone who conveys the material (or modified versions of
14050 it) with contractual assumptions of liability to the recipient, for
14051 any liability that these contractual assumptions directly impose on
14052 those licensors and authors.
14053
14054 All other non-permissive additional terms are considered "further
14055restrictions" within the meaning of section 10. If the Program as you
14056received it, or any part of it, contains a notice stating that it is
14057governed by this License along with a term that is a further
14058restriction, you may remove that term. If a license document contains
14059a further restriction but permits relicensing or conveying under this
14060License, you may add to a covered work material governed by the terms
14061of that license document, provided that the further restriction does
14062not survive such relicensing or conveying.
14063
14064 If you add terms to a covered work in accord with this section, you
14065must place, in the relevant source files, a statement of the
14066additional terms that apply to those files, or a notice indicating
14067where to find the applicable terms.
14068
14069 Additional terms, permissive or non-permissive, may be stated in the
14070form of a separately written license, or stated as exceptions;
14071the above requirements apply either way.
14072
14073 8. Termination.
14074
14075 You may not propagate or modify a covered work except as expressly
14076provided under this License. Any attempt otherwise to propagate or
14077modify it is void, and will automatically terminate your rights under
14078this License (including any patent licenses granted under the third
14079paragraph of section 11).
14080
14081 However, if you cease all violation of this License, then your
14082license from a particular copyright holder is reinstated (a)
14083provisionally, unless and until the copyright holder explicitly and
14084finally terminates your license, and (b) permanently, if the copyright
14085holder fails to notify you of the violation by some reasonable means
14086prior to 60 days after the cessation.
14087
14088 Moreover, your license from a particular copyright holder is
14089reinstated permanently if the copyright holder notifies you of the
14090violation by some reasonable means, this is the first time you have
14091received notice of violation of this License (for any work) from that
14092copyright holder, and you cure the violation prior to 30 days after
14093your receipt of the notice.
14094
14095 Termination of your rights under this section does not terminate the
14096licenses of parties who have received copies or rights from you under
14097this License. If your rights have been terminated and not permanently
14098reinstated, you do not qualify to receive new licenses for the same
14099material under section 10.
14100
14101 9. Acceptance Not Required for Having Copies.
14102
14103 You are not required to accept this License in order to receive or
14104run a copy of the Program. Ancillary propagation of a covered work
14105occurring solely as a consequence of using peer-to-peer transmission
14106to receive a copy likewise does not require acceptance. However,
14107nothing other than this License grants you permission to propagate or
14108modify any covered work. These actions infringe copyright if you do
14109not accept this License. Therefore, by modifying or propagating a
14110covered work, you indicate your acceptance of this License to do so.
14111
14112 10. Automatic Licensing of Downstream Recipients.
14113
14114 Each time you convey a covered work, the recipient automatically
14115receives a license from the original licensors, to run, modify and
14116propagate that work, subject to this License. You are not responsible
14117for enforcing compliance by third parties with this License.
14118
14119 An "entity transaction" is a transaction transferring control of an
14120organization, or substantially all assets of one, or subdividing an
14121organization, or merging organizations. If propagation of a covered
14122work results from an entity transaction, each party to that
14123transaction who receives a copy of the work also receives whatever
14124licenses to the work the party's predecessor in interest had or could
14125give under the previous paragraph, plus a right to possession of the
14126Corresponding Source of the work from the predecessor in interest, if
14127the predecessor has it or can get it with reasonable efforts.
14128
14129 You may not impose any further restrictions on the exercise of the
14130rights granted or affirmed under this License. For example, you may
14131not impose a license fee, royalty, or other charge for exercise of
14132rights granted under this License, and you may not initiate litigation
14133(including a cross-claim or counterclaim in a lawsuit) alleging that
14134any patent claim is infringed by making, using, selling, offering for
14135sale, or importing the Program or any portion of it.
14136
14137 11. Patents.
14138
14139 A "contributor" is a copyright holder who authorizes use under this
14140License of the Program or a work on which the Program is based. The
14141work thus licensed is called the contributor's "contributor version".
14142
14143 A contributor's "essential patent claims" are all patent claims
14144owned or controlled by the contributor, whether already acquired or
14145hereafter acquired, that would be infringed by some manner, permitted
14146by this License, of making, using, or selling its contributor version,
14147but do not include claims that would be infringed only as a
14148consequence of further modification of the contributor version. For
14149purposes of this definition, "control" includes the right to grant
14150patent sublicenses in a manner consistent with the requirements of
14151this License.
14152
14153 Each contributor grants you a non-exclusive, worldwide, royalty-free
14154patent license under the contributor's essential patent claims, to
14155make, use, sell, offer for sale, import and otherwise run, modify and
14156propagate the contents of its contributor version.
14157
14158 In the following three paragraphs, a "patent license" is any express
14159agreement or commitment, however denominated, not to enforce a patent
14160(such as an express permission to practice a patent or covenant not to
14161sue for patent infringement). To "grant" such a patent license to a
14162party means to make such an agreement or commitment not to enforce a
14163patent against the party.
14164
14165 If you convey a covered work, knowingly relying on a patent license,
14166and the Corresponding Source of the work is not available for anyone
14167to copy, free of charge and under the terms of this License, through a
14168publicly available network server or other readily accessible means,
14169then you must either (1) cause the Corresponding Source to be so
14170available, or (2) arrange to deprive yourself of the benefit of the
14171patent license for this particular work, or (3) arrange, in a manner
14172consistent with the requirements of this License, to extend the patent
14173license to downstream recipients. "Knowingly relying" means you have
14174actual knowledge that, but for the patent license, your conveying the
14175covered work in a country, or your recipient's use of the covered work
14176in a country, would infringe one or more identifiable patents in that
14177country that you have reason to believe are valid.
14178
14179 If, pursuant to or in connection with a single transaction or
14180arrangement, you convey, or propagate by procuring conveyance of, a
14181covered work, and grant a patent license to some of the parties
14182receiving the covered work authorizing them to use, propagate, modify
14183or convey a specific copy of the covered work, then the patent license
14184you grant is automatically extended to all recipients of the covered
14185work and works based on it.
14186
14187 A patent license is "discriminatory" if it does not include within
14188the scope of its coverage, prohibits the exercise of, or is
14189conditioned on the non-exercise of one or more of the rights that are
14190specifically granted under this License. You may not convey a covered
14191work if you are a party to an arrangement with a third party that is
14192in the business of distributing software, under which you make payment
14193to the third party based on the extent of your activity of conveying
14194the work, and under which the third party grants, to any of the
14195parties who would receive the covered work from you, a discriminatory
14196patent license (a) in connection with copies of the covered work
14197conveyed by you (or copies made from those copies), or (b) primarily
14198for and in connection with specific products or compilations that
14199contain the covered work, unless you entered into that arrangement,
14200or that patent license was granted, prior to 28 March 2007.
14201
14202 Nothing in this License shall be construed as excluding or limiting
14203any implied license or other defenses to infringement that may
14204otherwise be available to you under applicable patent law.
14205
14206 12. No Surrender of Others' Freedom.
14207
14208 If conditions are imposed on you (whether by court order, agreement or
14209otherwise) that contradict the conditions of this License, they do not
14210excuse you from the conditions of this License. If you cannot convey a
14211covered work so as to satisfy simultaneously your obligations under this
14212License and any other pertinent obligations, then as a consequence you may
14213not convey it at all. For example, if you agree to terms that obligate you
14214to collect a royalty for further conveying from those to whom you convey
14215the Program, the only way you could satisfy both those terms and this
14216License would be to refrain entirely from conveying the Program.
14217
14218 13. Use with the GNU Affero General Public License.
14219
14220 Notwithstanding any other provision of this License, you have
14221permission to link or combine any covered work with a work licensed
14222under version 3 of the GNU Affero General Public License into a single
14223combined work, and to convey the resulting work. The terms of this
14224License will continue to apply to the part which is the covered work,
14225but the special requirements of the GNU Affero General Public License,
14226section 13, concerning interaction through a network will apply to the
14227combination as such.
14228
14229 14. Revised Versions of this License.
14230
14231 The Free Software Foundation may publish revised and/or new versions of
14232the GNU General Public License from time to time. Such new versions will
14233be similar in spirit to the present version, but may differ in detail to
14234address new problems or concerns.
14235
14236 Each version is given a distinguishing version number. If the
14237Program specifies that a certain numbered version of the GNU General
14238Public License "or any later version" applies to it, you have the
14239option of following the terms and conditions either of that numbered
14240version or of any later version published by the Free Software
14241Foundation. If the Program does not specify a version number of the
14242GNU General Public License, you may choose any version ever published
14243by the Free Software Foundation.
14244
14245 If the Program specifies that a proxy can decide which future
14246versions of the GNU General Public License can be used, that proxy's
14247public statement of acceptance of a version permanently authorizes you
14248to choose that version for the Program.
14249
14250 Later license versions may give you additional or different
14251permissions. However, no additional obligations are imposed on any
14252author or copyright holder as a result of your choosing to follow a
14253later version.
14254
14255 15. Disclaimer of Warranty.
14256
14257 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
14258APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
14259HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
14260OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
14261THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
14262PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
14263IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
14264ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
14265
14266 16. Limitation of Liability.
14267
14268 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
14269WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
14270THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
14271GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
14272USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
14273DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
14274PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
14275EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
14276SUCH DAMAGES.
14277
14278 17. Interpretation of Sections 15 and 16.
14279
14280 If the disclaimer of warranty and limitation of liability provided
14281above cannot be given local legal effect according to their terms,
14282reviewing courts shall apply local law that most closely approximates
14283an absolute waiver of all civil liability in connection with the
14284Program, unless a warranty or assumption of liability accompanies a
14285copy of the Program in return for a fee.
14286
14287 END OF TERMS AND CONDITIONS
14288
14289 How to Apply These Terms to Your New Programs
14290
14291 If you develop a new program, and you want it to be of the greatest
14292possible use to the public, the best way to achieve this is to make it
14293free software which everyone can redistribute and change under these terms.
14294
14295 To do so, attach the following notices to the program. It is safest
14296to attach them to the start of each source file to most effectively
14297state the exclusion of warranty; and each file should have at least
14298the "copyright" line and a pointer to where the full notice is found.
14299
14300 <one line to give the program's name and a brief idea of what it does.>
14301 Copyright (C) <year> <name of author>
14302
14303 This program is free software: you can redistribute it and/or modify
14304 it under the terms of the GNU General Public License as published by
14305 the Free Software Foundation, either version 3 of the License, or
14306 (at your option) any later version.
14307
14308 This program is distributed in the hope that it will be useful,
14309 but WITHOUT ANY WARRANTY; without even the implied warranty of
14310 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14311 GNU General Public License for more details.
14312
14313 You should have received a copy of the GNU General Public License
14314 along with this program. If not, see <http://www.gnu.org/licenses/>.
14315
14316Also add information on how to contact you by electronic and paper mail.
14317
14318 If the program does terminal interaction, make it output a short
14319notice like this when it starts in an interactive mode:
14320
14321 <program> Copyright (C) <year> <name of author>
14322 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
14323 This is free software, and you are welcome to redistribute it
14324 under certain conditions; type `show c' for details.
14325
14326The hypothetical commands `show w' and `show c' should show the appropriate
14327parts of the General Public License. Of course, your program's commands
14328might be different; for a GUI interface, you would use an "about box".
14329
14330 You should also get your employer (if you work as a programmer) or school,
14331if any, to sign a "copyright disclaimer" for the program, if necessary.
14332For more information on this, and how to apply and follow the GNU GPL, see
14333<http://www.gnu.org/licenses/>.
14334
14335 The GNU General Public License does not permit incorporating your program
14336into proprietary programs. If your program is a subroutine library, you
14337may consider it more useful to permit linking proprietary applications with
14338the library. If this is what you want to do, use the GNU Lesser General
14339Public License instead of this License. But first, please read
14340<http://www.gnu.org/philosophy/why-not-lgpl.html>.