gpl.tex 21 KB

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