gpl.tex 20 KB

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