1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--<!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
4
<!ENTITY % xinclude SYSTEM "../../libs/xinclude.mod">
6
<!ENTITY % globalent SYSTEM "../../libs/global.ent">
11
<title>GNU General Public License</title>
12
<pubdate>Version 2, June 1991</pubdate>
14
<year>1989, 1991</year>
15
<holder>Free Software Foundation, Inc.</holder>
17
<legalnotice id="gpl-legalnotice">
19
<address>Free Software Foundation, Inc. <street>51 Franklin Street, Fifth Floor</street>,
20
<city>Boston</city>, <state>MA</state>
21
<postcode>02110-1301</postcode>
22
<country>USA</country>
25
<para> Everyone is permitted to copy and distribute verbatim copies of this license
26
document, but changing it is not allowed. </para>
28
<releaseinfo> Version 2, June 1991</releaseinfo>
30
<title>GNU General Public License</title>
33
<para><emphasis role="bold">Preamble</emphasis></para>
34
<para id="gpl-1"> The licenses for most software are designed to take away your freedom to share and
35
change it. By contrast, the GNU General Public License is intended to guarantee your
36
freedom to share and change free software - to make sure the software is free for all
37
its users. This General Public License applies to most of the Free Software Foundation's
38
software and to any other program whose authors commit to using it. (Some other Free
39
Software Foundation software is covered by the GNU Library General Public License
40
instead.) You can apply it to your programs, too. </para>
41
<para> When we speak of free software, we are referring to freedom, not price. Our General
42
Public Licenses are designed to make sure that you have the freedom to distribute copies
43
of free software (and charge for this service if you wish), that you receive source code
44
or can get it if you want it, that you can change the software or use pieces of it in
45
new free programs; and that you know you can do these things. </para>
46
<para> To protect your rights, we need to make restrictions that forbid anyone to deny you
47
these rights or to ask you to surrender the rights. These restrictions translate to
48
certain responsibilities for you if you distribute copies of the software, or if you
50
<para> For example, if you distribute copies of such a program, whether gratis or for a fee,
51
you must give the recipients all the rights that you have. You must make sure that they,
52
too, receive or can get the source code. And you must show them these terms so they know
54
<para> We protect your rights with two steps: <orderedlist>
56
<para> copyright the software, and </para>
59
<para> offer you this license which gives you legal permission to copy,
60
distribute and/or modify the software. </para>
64
<para> Also, for each author's protection and ours, we want to make certain that everyone
65
understands that there is no warranty for this free software. If the software is
66
modified by someone else and passed on, we want its recipients to know that what they
67
have is not the original, so that any problems introduced by others will not reflect on
68
the original authors' reputations. </para>
69
<para> Finally, any free program is threatened constantly by software patents. We wish to
70
avoid the danger that redistributors of a free program will individually obtain patent
71
licenses, in effect making the program proprietary. To prevent this, we have made it
72
clear that any patent must be licensed for everyone's free use or not licensed at all. </para>
73
<para> The precise terms and conditions for copying, distribution and modification follow. </para>
76
<para><emphasis role="bold">TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</emphasis></para>
79
<para><emphasis role="bold">Section 0</emphasis></para>
80
<para id="gpl-2-0"> This License applies to any program or other work which contains a notice placed
81
by the copyright holder saying it may be distributed under the terms of this General
82
Public License. The "Program", below, refers to any such program or work, and a
83
<quote>work based on the Program </quote> means either the Program or any
84
derivative work under copyright law: that is to say, a work containing the Program
85
or a portion of it, either verbatim or with modifications and/or translated into
86
another language. (Hereinafter, translation is included without limitation in the
87
term <quote>modification </quote>.) Each licensee is addressed as
88
<quote>you</quote>. </para>
89
<para> Activities other than copying, distribution and modification are not covered by
90
this License; they are outside its scope. The act of running the Program is not
91
restricted, and the output from the Program is covered only if its contents
92
constitute a work based on the Program (independent of having been made by running
93
the Program). Whether that is true depends on what the Program does. </para>
96
<para><emphasis role="bold">Section 1</emphasis></para>
97
<para id="gpl-2-1"> You may copy and distribute verbatim copies of the Program's source code as you
98
receive it, in any medium, provided that you conspicuously and appropriately publish
99
on each copy an appropriate copyright notice and disclaimer of warranty; keep intact
100
all the notices that refer to this License and to the absence of any warranty; and
101
give any other recipients of the Program a copy of this License along with the
103
<para> You may charge a fee for the physical act of transferring a copy, and you may at
104
your option offer warranty protection in exchange for a fee. </para>
107
<para><emphasis role="bold">Section 2</emphasis></para>
108
<para id="gpl-2-2"> You may modify your copy or copies of the Program or any portion of it, thus
109
forming a work based on the Program, and copy and distribute such modifications or
110
work under the terms of <link linkend="gpl-2-1">Section 1 </link> above, provided
111
that you also meet all of these conditions: <orderedlist>
113
<para> You must cause the modified files to carry prominent notices stating
114
that you changed the files and the date of any change. </para>
117
<para> You must cause any work that you distribute or publish, that in whole
118
or in part contains or is derived from the Program or any part thereof,
119
to be licensed as a whole at no charge to all third parties under the
120
terms of this License. </para>
123
<para> If the modified program normally reads commands interactively when
124
run, you must cause it, when started running for such interactive use in
125
the most ordinary way, to print or display an announcement including an
126
appropriate copyright notice and a notice that there is no warranty (or
127
else, saying that you provide a warranty) and that users may
128
redistribute the program under these conditions, and telling the user
129
how to view a copy of this License. <note>
130
<title>Exception: </title>
131
<para> If the Program itself is interactive but does not normally
132
print such an announcement, your work based on the Program is
133
not required to print an announcement.) </para>
139
<para> These requirements apply to the modified work as a whole. If identifiable
140
sections of that work are not derived from the Program, and can be reasonably
141
considered independent and separate works in themselves, then this License, and its
142
terms, do not apply to those sections when you distribute them as separate works.
143
But when you distribute the same sections as part of a whole which is a work based
144
on the Program, the distribution of the whole must be on the terms of this License,
145
whose permissions for other licensees extend to the entire whole, and thus to each
146
and every part regardless of who wrote it. </para>
147
<para> Thus, it is not the intent of this section to claim rights or contest your rights
148
to work written entirely by you; rather, the intent is to exercise the right to
149
control the distribution of derivative or collective works based on the Program. </para>
150
<para> In addition, mere aggregation of another work not based on the Program with the
151
Program (or with a work based on the Program) on a volume of a storage or
152
distribution medium does not bring the other work under the scope of this License. </para>
155
<para><emphasis role="bold">Section 3 </emphasis></para>
156
<para id="gpl-2-3"> You may copy and distribute the Program (or a work based on it, under <link
157
linkend="gpl-2-2">Section 2 </link>) in object code or executable form under the
158
terms of <link linkend="gpl-2-1">Sections 1 </link> and <link linkend="gpl-2-2">2
159
</link> above provided that you also do one of the following: <orderedlist>
161
<para> Accompany it with the complete corresponding machine-readable source
162
code, which must be distributed under the terms of Sections 1 and 2
163
above on a medium customarily used for software interchange; or, </para>
166
<para> Accompany it with a written offer, valid for at least three years, to
167
give any third party, for a charge no more than your cost of physically
168
performing source distribution, a complete machine-readable copy of the
169
corresponding source code, to be distributed under the terms of Sections
170
1 and 2 above on a medium customarily used for software interchange; or, </para>
173
<para> Accompany it with the information you received as to the offer to
174
distribute corresponding source code. (This alternative is allowed only
175
for noncommercial distribution and only if you received the program in
176
object code or executable form with such an offer, in accord with
177
Subsection b above.) </para>
181
<para> The source code for a work means the preferred form of the work for making
182
modifications to it. For an executable work, complete source code means all the
183
source code for all modules it contains, plus any associated interface definition
184
files, plus the scripts used to control compilation and installation of the
185
executable. However, as a special exception, the source code distributed need not
186
include anything that is normally distributed (in either source or binary form) with
187
the major components (compiler, kernel, and so on) of the operating system on which
188
the executable runs, unless that component itself accompanies the executable. </para>
189
<para> If distribution of executable or object code is made by offering access to copy
190
from a designated place, then offering equivalent access to copy the source code
191
from the same place counts as distribution of the source code, even though third
192
parties are not compelled to copy the source along with the object code. </para>
195
<para><emphasis role="bold">Section 4 </emphasis></para>
196
<para id="gpl-2-4"> You may not copy, modify, sublicense, or distribute the Program except as
197
expressly provided under this License. Any attempt otherwise to copy, modify,
198
sublicense or distribute the Program is void, and will automatically terminate your
199
rights under this License. However, parties who have received copies, or rights,
200
from you under this License will not have their licenses terminated so long as such
201
parties remain in full compliance. </para>
204
<para><emphasis role="bold">Section 5 </emphasis></para>
205
<para id="gpl-2-5"> You are not required to accept this License, since you have not signed it.
206
However, nothing else grants you permission to modify or distribute the Program or
207
its derivative works. These actions are prohibited by law if you do not accept this
208
License. Therefore, by modifying or distributing the Program (or any work based on
209
the Program), you indicate your acceptance of this License to do so, and all its
210
terms and conditions for copying, distributing or modifying the Program or works
214
<para><emphasis role="bold">Section 6 </emphasis></para>
215
<para id="gpl-2-6"> Each time you redistribute the Program (or any work based on the Program), the
216
recipient automatically receives a license from the original licensor to copy,
217
distribute or modify the Program subject to these terms and conditions. You may not
218
impose any further restrictions on the recipients' exercise of the rights granted
219
herein. You are not responsible for enforcing compliance by third parties to this
223
<para><emphasis role="bold">Section 7 </emphasis></para>
224
<para id="gpl-2-7"> If, as a consequence of a court judgment or allegation of patent infringement or
225
for any other reason (not limited to patent issues), conditions are imposed on you
226
(whether by court order, agreement or otherwise) that contradict the conditions of
227
this License, they do not excuse you from the conditions of this License. If you
228
cannot distribute so as to satisfy simultaneously your obligations under this
229
License and any other pertinent obligations, then as a consequence you may not
230
distribute the Program at all. For example, if a patent license would not permit
231
royalty-free redistribution of the Program by all those who receive copies directly
232
or indirectly through you, then the only way you could satisfy both it and this
233
License would be to refrain entirely from distribution of the Program. </para>
234
<para> If any portion of this section is held invalid or unenforceable under any
235
particular circumstance, the balance of the section is intended to apply and the
236
section as a whole is intended to apply in other circumstances. </para>
237
<para> It is not the purpose of this section to induce you to infringe any patents or
238
other property right claims or to contest validity of any such claims; this section
239
has the sole purpose of protecting the integrity of the free software distribution
240
system, which is implemented by public license practices. Many people have made
241
generous contributions to the wide range of software distributed through that system
242
in reliance on consistent application of that system; it is up to the author/donor
243
to decide if he or she is willing to distribute software through any other system
244
and a licensee cannot impose that choice. </para>
245
<para> This section is intended to make thoroughly clear what is believed to be a
246
consequence of the rest of this License. </para>
249
<para><emphasis role="bold">Section 8 </emphasis></para>
250
<para id="gpl-2-8"> If the distribution and/or use of the Program is restricted in certain countries
251
either by patents or by copyrighted interfaces, the original copyright holder who
252
places the Program under this License may add an explicit geographical distribution
253
limitation excluding those countries, so that distribution is permitted only in or
254
among countries not thus excluded. In such case, this License incorporates the
255
limitation as if written in the body of this License. </para>
258
<para><emphasis role="bold">Section 9 </emphasis></para>
259
<para id="gpl-2-9"> The Free Software Foundation may publish revised and/or new versions of the
260
General Public License from time to time. Such new versions will be similar in
261
spirit to the present version, but may differ in detail to address new problems or
263
<para> Each version is given a distinguishing version number. If the Program specifies a
264
version number of this License which applies to it and "any later version", you have
265
the option of following the terms and conditions either of that version or of any
266
later version published by the Free Software Foundation. If the Program does not
267
specify a version number of this License, you may choose any version ever published
268
by the Free Software Foundation. </para>
271
<para><emphasis role="bold">Section 10 </emphasis></para>
272
<para id="gpl-2-10"> If you wish to incorporate parts of the Program into other free programs whose
273
distribution conditions are different, write to the author to ask for permission.
274
For software which is copyrighted by the Free Software Foundation, write to the Free
275
Software Foundation; we sometimes make exceptions for this. Our decision will be
276
guided by the two goals of preserving the free status of all derivatives of our free
277
software and of promoting the sharing and reuse of software generally. </para>
280
<para><emphasis role="bold">NO WARRANTY Section 11 </emphasis></para>
281
<para id="gpl-2-11"> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
282
PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN
283
WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
284
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
285
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
286
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
287
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
288
SERVICING, REPAIR OR CORRECTION. </para>
291
<para><emphasis role="bold">Section 12 </emphasis></para>
292
<para id="gpl-2-12"> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY
293
COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM
294
AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
295
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
296
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE
297
OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE
298
WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
299
POSSIBILITY OF SUCH DAMAGES. </para>
300
<para>END OF TERMS AND CONDITIONS </para>
305
<para><emphasis role="bold">How to Apply These Terms to Your New Programs</emphasis></para>
306
<para id="gpl-3"> If you develop a new program, and you want it to be of the greatest possible use to
307
the public, the best way to achieve this is to make it free software which everyone can
308
redistribute and change under these terms. </para>
309
<para> To do so, attach the following notices to the program. It is safest to attach them to
310
the start of each source file to most effectively convey the exclusion of warranty; and
311
each file should have at least the "copyright" line and a pointer to where the full
312
notice is found. </para>
313
<para> <one line to give the program's name and a brief idea of what it does.>
314
Copyright (C) <year> <name of author> </para>
315
<para> This program is free software; you can redistribute it and/or modify it under the
316
terms of the GNU General Public License as published by the Free Software Foundation;
317
either version 2 of the License, or (at your option) any later version. </para>
318
<para> This program is distributed in the hope that it will be useful, but WITHOUT ANY
319
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
320
PARTICULAR PURPOSE. See the GNU General Public License for more details. </para>
321
<para> You should have received a copy of the GNU General Public License along with this
322
program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite
323
330, Boston, MA 02111-1307 USA </para>
324
<para> Also add information on how to contact you by electronic and paper mail. </para>
325
<para> If the program is interactive, make it output a short notice like this when it starts
326
in an interactive mode: </para>
327
<para> Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with
328
ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are
329
welcome to redistribute it under certain conditions; type `show c' for details. </para>
330
<para> The hypothetical commands `show w' and `show c' should show the appropriate parts of
331
the General Public License. Of course, the commands you use may be called something
332
other than `show w' and `show c'; they could even be mouse-clicks or menu
333
items--whatever suits your program. </para>
334
<para> You should also get your employer (if you work as a programmer) or your school, if
335
any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample;
336
alter the names: </para>
337
<para> Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision'
338
(which makes passes at compilers) written by James Hacker. </para>
339
<para> <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice </para>
340
<para> This General Public License does not permit incorporating your program into
341
proprietary programs. If your program is a subroutine library, you may consider it more
342
useful to permit linking proprietary applications with the library. If this is what you
343
want to do, use the GNU Library General Public License instead of this License. </para>