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