]> git.decadent.org.uk Git - ion3-doc.git/blob - gpl.tex
[svn-upgrade] Integrating new upstream version, ion3-doc (20071109)
[ion3-doc.git] / gpl.tex
1 \xchapter{The GNU General Public License}
2
3 \begin{center}
4 {\parindent 0in
5
6 Version 2, June 1991
7
8 Copyright \copyright\ 1989, 1991 Free Software Foundation, Inc.
9
10 \bigskip
11
12 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
13
14 \bigskip
15
16 Everyone is permitted to copy and distribute verbatim copies
17 of this license document, but changing it is not allowed.
18 }
19 \end{center}
20
21 \begin{center}
22 {\bf\large Preamble}
23 \end{center}
24
25
26 The licenses for most software are designed to take away your freedom to
27 share and change it.  By contrast, the GNU General Public License is
28 intended to guarantee your freedom to share and change free software---to
29 make sure the software is free for all its users.  This General Public
30 License applies to most of the Free Software Foundation's software and to
31 any other program whose authors commit to using it.  (Some other Free
32 Software Foundation software is covered by the GNU Library General Public
33 License instead.)  You can apply it to your programs, too.
34
35 When we speak of free software, we are referring to freedom, not price.
36 Our General Public Licenses are designed to make sure that you have the
37 freedom to distribute copies of free software (and charge for this service
38 if you wish), that you receive source code or can get it if you want it,
39 that you can change the software or use pieces of it in new free programs;
40 and that you know you can do these things.
41
42 To protect your rights, we need to make restrictions that forbid anyone to
43 deny you these rights or to ask you to surrender the rights.  These
44 restrictions translate to certain responsibilities for you if you
45 distribute copies of the software, or if you modify it.
46
47 For example, if you distribute copies of such a program, whether gratis or
48 for a fee, you must give the recipients all the rights that you have.  You
49 must make sure that they, too, receive or can get the source code.  And
50 you must show them these terms so they know their rights.
51
52 We protect your rights with two steps: (1) copyright the software, and (2)
53 offer you this license which gives you legal permission to copy,
54 distribute and/or modify the software.
55
56 Also, for each author's protection and ours, we want to make certain that
57 everyone understands that there is no warranty for this free software.  If
58 the software is modified by someone else and passed on, we want its
59 recipients to know that what they have is not the original, so that any
60 problems introduced by others will not reflect on the original authors'
61 reputations.
62
63 Finally, any free program is threatened constantly by software patents.
64 We wish to avoid the danger that redistributors of a free program will
65 individually obtain patent licenses, in effect making the program
66 proprietary.  To prevent this, we have made it clear that any patent must
67 be licensed for everyone's free use or not licensed at all.
68
69 The precise terms and conditions for copying, distribution and
70 modification follow.
71
72 \begin{center}
73 {\Large \sc Terms and Conditions For Copying, Distribution and
74   Modification}
75 \end{center}
76
77
78 %\renewcommand{\theenumi}{\alpha{enumi}}
79 \begin{enumerate}
80
81 \addtocounter{enumi}{-1}
82
83 \item 
84
85 This License applies to any program or other work which contains a notice
86 placed by the copyright holder saying it may be distributed under the
87 terms of this General Public License.  The ``Program'', below, refers to
88 any such program or work, and a ``work based on the Program'' means either
89 the Program or any derivative work under copyright law: that is to say, a
90 work containing the Program or a portion of it, either verbatim or with
91 modifications and/or translated into another language.  (Hereinafter,
92 translation is included without limitation in the term ``modification''.)
93 Each licensee is addressed as ``you''.
94
95 Activities other than copying, distribution and modification are not
96 covered by this License; they are outside its scope.  The act of
97 running the Program is not restricted, and the output from the Program
98 is covered only if its contents constitute a work based on the
99 Program (independent of having been made by running the Program).
100 Whether that is true depends on what the Program does.
101
102 \item You may copy and distribute verbatim copies of the Program's source
103   code as you receive it, in any medium, provided that you conspicuously
104   and appropriately publish on each copy an appropriate copyright notice
105   and disclaimer of warranty; keep intact all the notices that refer to
106   this License and to the absence of any warranty; and give any other
107   recipients of the Program a copy of this License along with the Program.
108
109 You may charge a fee for the physical act of transferring a copy, and you
110 may at your option offer warranty protection in exchange for a fee.
111
112 \item
113
114 You may modify your copy or copies of the Program or any portion
115 of it, thus forming a work based on the Program, and copy and
116 distribute such modifications or work under the terms of Section 1
117 above, provided that you also meet all of these conditions:
118
119 \begin{enumerate}
120
121 \item 
122
123 You must cause the modified files to carry prominent notices stating that
124 you changed the files and the date of any change.
125
126 \item
127
128 You must cause any work that you distribute or publish, that in
129 whole or in part contains or is derived from the Program or any
130 part thereof, to be licensed as a whole at no charge to all third
131 parties under the terms of this License.
132
133 \item
134 If the modified program normally reads commands interactively
135 when run, you must cause it, when started running for such
136 interactive use in the most ordinary way, to print or display an
137 announcement including an appropriate copyright notice and a
138 notice that there is no warranty (or else, saying that you provide
139 a warranty) and that users may redistribute the program under
140 these conditions, and telling the user how to view a copy of this
141 License.  (Exception: if the Program itself is interactive but
142 does not normally print such an announcement, your work based on
143 the Program is not required to print an announcement.)
144
145 \end{enumerate}
146
147
148 These requirements apply to the modified work as a whole.  If
149 identifiable sections of that work are not derived from the Program,
150 and can be reasonably considered independent and separate works in
151 themselves, then this License, and its terms, do not apply to those
152 sections when you distribute them as separate works.  But when you
153 distribute the same sections as part of a whole which is a work based
154 on the Program, the distribution of the whole must be on the terms of
155 this License, whose permissions for other licensees extend to the
156 entire whole, and thus to each and every part regardless of who wrote it.
157
158 Thus, it is not the intent of this section to claim rights or contest
159 your rights to work written entirely by you; rather, the intent is to
160 exercise the right to control the distribution of derivative or
161 collective works based on the Program.
162
163 In addition, mere aggregation of another work not based on the Program
164 with the Program (or with a work based on the Program) on a volume of
165 a storage or distribution medium does not bring the other work under
166 the scope of this License.
167
168 \item
169 You may copy and distribute the Program (or a work based on it,
170 under Section 2) in object code or executable form under the terms of
171 Sections 1 and 2 above provided that you also do one of the following:
172
173 \begin{enumerate}
174
175 \item
176
177 Accompany it with the complete corresponding machine-readable
178 source code, which must be distributed under the terms of Sections
179 1 and 2 above on a medium customarily used for software interchange; or,
180
181 \item
182
183 Accompany it with a written offer, valid for at least three
184 years, to give any third party, for a charge no more than your
185 cost of physically performing source distribution, a complete
186 machine-readable copy of the corresponding source code, to be
187 distributed under the terms of Sections 1 and 2 above on a medium
188 customarily used for software interchange; or,
189
190 \item
191
192 Accompany it with the information you received as to the offer
193 to distribute corresponding source code.  (This alternative is
194 allowed only for noncommercial distribution and only if you
195 received the program in object code or executable form with such
196 an offer, in accord with Subsection b above.)
197
198 \end{enumerate}
199
200
201 The source code for a work means the preferred form of the work for
202 making modifications to it.  For an executable work, complete source
203 code means all the source code for all modules it contains, plus any
204 associated interface definition files, plus the scripts used to
205 control compilation and installation of the executable.  However, as a
206 special exception, the source code distributed need not include
207 anything that is normally distributed (in either source or binary
208 form) with the major components (compiler, kernel, and so on) of the
209 operating system on which the executable runs, unless that component
210 itself accompanies the executable.
211
212 If distribution of executable or object code is made by offering
213 access to copy from a designated place, then offering equivalent
214 access to copy the source code from the same place counts as
215 distribution of the source code, even though third parties are not
216 compelled to copy the source along with the object code.
217
218 \item
219 You may not copy, modify, sublicense, or distribute the Program
220 except as expressly provided under this License.  Any attempt
221 otherwise to copy, modify, sublicense or distribute the Program is
222 void, and will automatically terminate your rights under this License.
223 However, parties who have received copies, or rights, from you under
224 this License will not have their licenses terminated so long as such
225 parties remain in full compliance.
226
227 \item
228 You are not required to accept this License, since you have not
229 signed it.  However, nothing else grants you permission to modify or
230 distribute the Program or its derivative works.  These actions are
231 prohibited by law if you do not accept this License.  Therefore, by
232 modifying or distributing the Program (or any work based on the
233 Program), you indicate your acceptance of this License to do so, and
234 all its terms and conditions for copying, distributing or modifying
235 the Program or works based on it.
236
237 \item
238 Each time you redistribute the Program (or any work based on the
239 Program), the recipient automatically receives a license from the
240 original licensor to copy, distribute or modify the Program subject to
241 these terms and conditions.  You may not impose any further
242 restrictions on the recipients' exercise of the rights granted herein.
243 You are not responsible for enforcing compliance by third parties to
244 this License.
245
246 \item
247 If, as a consequence of a court judgment or allegation of patent
248 infringement or for any other reason (not limited to patent issues),
249 conditions are imposed on you (whether by court order, agreement or
250 otherwise) that contradict the conditions of this License, they do not
251 excuse you from the conditions of this License.  If you cannot
252 distribute so as to satisfy simultaneously your obligations under this
253 License and any other pertinent obligations, then as a consequence you
254 may not distribute the Program at all.  For example, if a patent
255 license would not permit royalty-free redistribution of the Program by
256 all those who receive copies directly or indirectly through you, then
257 the only way you could satisfy both it and this License would be to
258 refrain entirely from distribution of the Program.
259
260 If any portion of this section is held invalid or unenforceable under
261 any particular circumstance, the balance of the section is intended to
262 apply and the section as a whole is intended to apply in other
263 circumstances.
264
265 It is not the purpose of this section to induce you to infringe any
266 patents or other property right claims or to contest validity of any
267 such claims; this section has the sole purpose of protecting the
268 integrity of the free software distribution system, which is
269 implemented by public license practices.  Many people have made
270 generous contributions to the wide range of software distributed
271 through that system in reliance on consistent application of that
272 system; it is up to the author/donor to decide if he or she is willing
273 to distribute software through any other system and a licensee cannot
274 impose that choice.
275
276 This section is intended to make thoroughly clear what is believed to
277 be a consequence of the rest of this License.
278
279 \item
280 If the distribution and/or use of the Program is restricted in
281 certain countries either by patents or by copyrighted interfaces, the
282 original copyright holder who places the Program under this License
283 may add an explicit geographical distribution limitation excluding
284 those countries, so that distribution is permitted only in or among
285 countries not thus excluded.  In such case, this License incorporates
286 the limitation as if written in the body of this License.
287
288 \item
289 The Free Software Foundation may publish revised and/or new versions
290 of the General Public License from time to time.  Such new versions will
291 be similar in spirit to the present version, but may differ in detail to
292 address new problems or concerns.
293
294 Each version is given a distinguishing version number.  If the Program
295 specifies a version number of this License which applies to it and ``any
296 later version'', you have the option of following the terms and conditions
297 either of that version or of any later version published by the Free
298 Software Foundation.  If the Program does not specify a version number of
299 this License, you may choose any version ever published by the Free Software
300 Foundation.
301
302 \item
303 If you wish to incorporate parts of the Program into other free
304 programs whose distribution conditions are different, write to the author
305 to ask for permission.  For software which is copyrighted by the Free
306 Software Foundation, write to the Free Software Foundation; we sometimes
307 make exceptions for this.  Our decision will be guided by the two goals
308 of preserving the free status of all derivatives of our free software and
309 of promoting the sharing and reuse of software generally.
310
311 \begin{center}
312 {\Large\sc
313 No Warranty
314 }
315 \end{center}
316
317 \item
318 {\sc Because the program is licensed free of charge, there is no warranty
319 for the program, to the extent permitted by applicable law.  Except when
320 otherwise stated in writing the copyright holders and/or other parties
321 provide the program ``as is'' without warranty of any kind, either expressed
322 or implied, including, but not limited to, the implied warranties of
323 merchantability and fitness for a particular purpose.  The entire risk as
324 to the quality and performance of the program is with you.  Should the
325 program prove defective, you assume the cost of all necessary servicing,
326 repair or correction.}
327
328 \item
329 {\sc In no event unless required by applicable law or agreed to in writing
330 will any copyright holder, or any other party who may modify and/or
331 redistribute the program as permitted above, be liable to you for damages,
332 including any general, special, incidental or consequential damages arising
333 out of the use or inability to use the program (including but not limited
334 to loss of data or data being rendered inaccurate or losses sustained by
335 you or third parties or a failure of the program to operate with any other
336 programs), even if such holder or other party has been advised of the
337 possibility of such damages.}
338
339 \end{enumerate}
340
341
342 \begin{center}
343 {\Large\sc End of Terms and Conditions}
344 \end{center}
345
346
347 \pagebreak[2]
348
349 \xsectionstar{Appendix: How to Apply These Terms to Your New Programs}
350
351 If you develop a new program, and you want it to be of the greatest
352 possible use to the public, the best way to achieve this is to make it
353 free software which everyone can redistribute and change under these
354 terms.
355
356   To do so, attach the following notices to the program.  It is safest to
357   attach them to the start of each source file to most effectively convey
358   the exclusion of warranty; and each file should have at least the
359   ``copyright'' line and a pointer to where the full notice is found.
360
361 \begin{quote}
362 one line to give the program's name and a brief idea of what it does. \\
363 Copyright (C) yyyy  name of author \\
364
365 This program is free software; you can redistribute it and/or modify
366 it under the terms of the GNU General Public License as published by
367 the Free Software Foundation; either version 2 of the License, or
368 (at your option) any later version.
369
370 This program is distributed in the hope that it will be useful,
371 but WITHOUT ANY WARRANTY; without even the implied warranty of
372 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
373 GNU General Public License for more details.
374
375 You should have received a copy of the GNU General Public License
376 along with this program; if not, write to the Free Software
377 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
378 \end{quote}
379
380 Also add information on how to contact you by electronic and paper mail.
381
382 If the program is interactive, make it output a short notice like this
383 when it starts in an interactive mode:
384
385 \begin{quote}
386 Gnomovision version 69, Copyright (C) yyyy  name of author \\
387 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. \\
388 This is free software, and you are welcome to redistribute it
389 under certain conditions; type `show c' for details.
390 \end{quote}
391
392
393 The hypothetical commands {\tt show w} and {\tt show c} should show the
394 appropriate parts of the General Public License.  Of course, the commands
395 you use may be called something other than {\tt show w} and {\tt show c};
396 they could even be mouse-clicks or menu items---whatever suits your
397 program.
398
399 You should also get your employer (if you work as a programmer) or your
400 school, if any, to sign a ``copyright disclaimer'' for the program, if
401 necessary.  Here is a sample; alter the names:
402
403 \begin{quote}
404 Yoyodyne, Inc., hereby disclaims all copyright interest in the program \\
405 `Gnomovision' (which makes passes at compilers) written by James Hacker. \\
406
407 signature of Ty Coon, 1 April 1989 \\
408 Ty Coon, President of Vice
409 \end{quote}
410
411
412 This General Public License does not permit incorporating your program
413 into proprietary programs.  If your program is a subroutine library, you
414 may consider it more useful to permit linking proprietary applications
415 with the library.  If this is what you want to do, use the GNU Library
416 General Public License instead of this License.