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