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