gpl.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <appendix id="ap_gpl">
  3. <title>GNU General Public License</title>
  4. <para>Version 2, June 1991</para>
  5. <para>Copyright 1989, 1991 Free Software Foundation, Inc.</para>
  6. <para>
  7. Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor,
  8. Boston, MA 02110-1301 USA
  9. </para>
  10. <para> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
  11. </para>
  12. <para> Version 2, June 1991</para>
  13. <section>
  14. <title>Preamble</title>
  15. <para> The licenses for most software are designed to take away your
  16. freedom to share and change it. By contrast, the GNU General Public License is
  17. intended to guarantee your freedom to share and change
  18. free software - to make sure the software is free for all its users.
  19. This General Public License applies to most of the Free Software
  20. Foundation's software and to any other program whose authors commit
  21. to using it. (Some other Free Software Foundation software is covered
  22. by the GNU Library General Public License instead.) You can apply it
  23. to your programs, too.
  24. </para>
  25. <para> When we speak of free software, we are referring to freedom, not price.
  26. Our General Public Licenses are designed to make sure that you have the
  27. freedom to distribute copies of free software (and charge for this
  28. service if you wish), that you receive source code or can get it if you
  29. want it, that you can change the software or use pieces of it in new free
  30. programs&nbsp;; and that you know you can do these things.
  31. </para>
  32. <para> To protect your rights, we need to make restrictions that forbid anyone
  33. to deny you these rights or to ask you to surrender the rights. These
  34. restrictions translate to certain responsibilities for you if you distribute
  35. copies of the software, or if you modify it.
  36. </para>
  37. <para> For example, if you distribute copies of such a program, whether gratis or
  38. for a fee, you must give the recipients all the rights that you have. You
  39. must make sure that they, too, receive or can get the source code. And you
  40. must show them these terms so they know their rights.
  41. </para>
  42. <para> We protect your rights with two steps:</para>
  43. <itemizedlist>
  44. <listitem>
  45. <para> copyright the software, and
  46. </para>
  47. </listitem>
  48. <listitem>
  49. <para> offer you this license which gives you legal permission to copy,
  50. distribute and/or modify the software.
  51. </para>
  52. </listitem>
  53. </itemizedlist>
  54. <para> Also, for each author's protection and ours, we want to make certain that
  55. everyone understands that there is no warranty for this free software. If
  56. the software is modified by someone else and passed on, we want its
  57. recipients to know that what they have is not the original, so that any
  58. problems introduced by others will not reflect on the original authors'
  59. reputations.
  60. </para>
  61. <para> Finally, any free program is threatened constantly by software patents.
  62. We wish to avoid the danger that redistributors of a free program will
  63. individually obtain patent licenses, in effect making the program
  64. proprietary. To prevent this, we have made it clear that any patent must be
  65. licensed for everyone's free use or not licensed at all.
  66. </para>
  67. <para> The precise terms and conditions for copying, distribution and modification
  68. follow.
  69. </para>
  70. </section>
  71. <section>
  72. <title>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</title>
  73. <section>
  74. <title>Section 0</title>
  75. <para> This License applies to any program or other work which contains a notice
  76. placed by the copyright holder saying it may be distributed under the terms
  77. of this General Public License. The "Program", below, refers to any such
  78. program or work, and a
  79. <quote>work based on the Program
  80. </quote> means either
  81. the Program or any derivative work under copyright law: that is to say, a
  82. work containing the Program or a portion of it, either verbatim or with
  83. modifications and/or translated into another language. (Hereinafter, translation
  84. is included without limitation in the term
  85. <quote>modification
  86. </quote>.) Each licensee is addressed as <quote>you</quote>.
  87. </para>
  88. <para> Activities other than copying, distribution and modification are not covered by
  89. this License; they are outside its scope. The act of running the Program is not
  90. restricted, and the output from the Program is covered only if its contents
  91. constitute a work based on the Program (independent of having been made by running
  92. the Program). Whether that is true depends on what the Program does.
  93. </para>
  94. </section>
  95. <section>
  96. <title>Section 1</title>
  97. <para> You may copy and distribute verbatim copies of the Program's source code as you
  98. receive it, in any medium, provided that you conspicuously and appropriately
  99. publish on each copy an appropriate copyright notice and disclaimer of warranty;
  100. keep intact all the notices that refer to this License and to the absence of any
  101. warranty; and give any other recipients of the Program a copy of this License
  102. along with the Program.
  103. </para>
  104. <para> You may charge a fee for the physical act of transferring a copy, and you may at
  105. your option offer warranty protection in exchange for a fee.
  106. </para>
  107. </section>
  108. <section>
  109. <title>Section 2</title>
  110. <para> You may modify your copy or copies of the Program or any portion of it, thus
  111. forming a work based on the Program, and copy and distribute such modifications
  112. or work under the terms of Section 1 above, provided
  113. that you also meet all of these conditions:</para>
  114. <itemizedlist>
  115. <listitem>
  116. <para> You must cause the modified files to carry prominent notices stating that
  117. you changed the files and the date of any change.
  118. </para>
  119. </listitem>
  120. <listitem>
  121. <para> You must cause any work that you distribute or publish, that in whole or
  122. in part contains or is derived from the Program or any part thereof, to be
  123. licensed as a whole at no charge to all third parties under the terms of
  124. this License.
  125. </para>
  126. </listitem>
  127. <listitem>
  128. <para> If the modified program normally reads commands interactively when run, you
  129. must cause it, when started running for such interactive use in the most
  130. ordinary way, to print or display an announcement including an appropriate
  131. copyright notice and a notice that there is no warranty (or else, saying
  132. that you provide a warranty) and that users may redistribute the program
  133. under these conditions, and telling the user how to view a copy of this
  134. License. </para>
  135. <blockquote>
  136. <title>Exception:
  137. </title>
  138. <para> If the Program itself is interactive but does not normally print such an
  139. announcement, your work based on the Program is not required to print an
  140. announcement.)
  141. </para>
  142. </blockquote>
  143. </listitem>
  144. </itemizedlist>
  145. <para> These requirements apply to the modified work as a whole. If identifiable sections
  146. of that work are not derived from the Program, and can be reasonably considered
  147. independent and separate works in themselves, then this License, and its terms,
  148. do not apply to those sections when you distribute them as separate works. But when
  149. you distribute the same sections as part of a whole which is a work based on the
  150. Program, the distribution of the whole must be on the terms of this License, whose
  151. permissions for other licensees extend to the entire whole, and thus to each and
  152. every part regardless of who wrote it.
  153. </para>
  154. <para> Thus, it is not the intent of this section to claim rights or contest your rights
  155. to work written entirely by you; rather, the intent is to exercise the right to control
  156. the distribution of derivative or collective works based on the Program.
  157. </para>
  158. <para> In addition, mere aggregation of another work not based on the Program with the Program
  159. (or with a work based on the Program) on a volume of a storage or distribution medium
  160. does not bring the other work under the scope of this License.
  161. </para>
  162. </section>
  163. <section>
  164. <title>Section 3
  165. </title>
  166. <para> You may copy and distribute the Program (or a work based on it, under
  167. Section 2 in object code or executable form under the terms of
  168. Sections 1 and 2 above provided that you also do one of the following:
  169. </para>
  170. <itemizedlist>
  171. <listitem>
  172. <para> Accompany it with the complete corresponding machine-readable source code, which
  173. must be distributed under the terms of Sections 1 and 2 above on a medium
  174. customarily used for software interchange; or,
  175. </para>
  176. </listitem>
  177. <listitem>
  178. <para> Accompany it with a written offer, valid for at least three years, to give any
  179. third party, for a charge no more than your cost of physically performing source
  180. distribution, a complete machine-readable copy of the corresponding source code,
  181. to be distributed under the terms of Sections 1 and 2 above on a medium customarily
  182. used for software interchange; or,
  183. </para>
  184. </listitem>
  185. <listitem>
  186. <para> Accompany it with the information you received as to the offer to distribute
  187. corresponding source code. (This alternative is allowed only for noncommercial
  188. distribution and only if you received the program in object code or executable form
  189. with such an offer, in accord with Subsection b above.)
  190. </para>
  191. </listitem>
  192. </itemizedlist>
  193. <para> The source code for a work means the preferred form of the work for making modifications
  194. to it. For an executable work, complete source code means all the source code for all modules
  195. it contains, plus any associated interface definition files, plus the scripts used to control
  196. compilation and installation of the executable. However, as a special exception, the source
  197. code distributed need not include anything that is normally distributed (in either source or
  198. binary form) with the major components (compiler, kernel, and so on) of the operating system
  199. on which the executable runs, unless that component itself accompanies the executable.
  200. </para>
  201. <para> If distribution of executable or object code is made by offering access to copy from a
  202. designated place, then offering equivalent access to copy the source code from the same place
  203. counts as distribution of the source code, even though third parties are not compelled to
  204. copy the source along with the object code.
  205. </para>
  206. </section>
  207. <section>
  208. <title>Section 4
  209. </title>
  210. <para> You may not copy, modify, sublicense, or distribute the Program except as expressly provided
  211. under this License. Any attempt otherwise to copy, modify, sublicense or distribute the
  212. Program is void, and will automatically terminate your rights under this License. However,
  213. parties who have received copies, or rights, from you under this License will not have their
  214. licenses terminated so long as such parties remain in full compliance.
  215. </para>
  216. </section>
  217. <section>
  218. <title>Section 5
  219. </title>
  220. <para> You are not required to accept this License, since you have not signed it. However, nothing
  221. else grants you permission to modify or distribute the Program or its derivative works.
  222. These actions are prohibited by law if you do not accept this License. Therefore, by modifying
  223. or distributing the Program (or any work based on the Program), you indicate your acceptance
  224. of this License to do so, and all its terms and conditions for copying, distributing or
  225. modifying the Program or works based on it.
  226. </para>
  227. </section>
  228. <section>
  229. <title>Section 6
  230. </title>
  231. <para> Each time you redistribute the Program (or any work based on the Program), the recipient
  232. automatically receives a license from the original licensor to copy, distribute or modify
  233. the Program subject to these terms and conditions. You may not impose any further restrictions
  234. on the recipients' exercise of the rights granted herein. You are not responsible for enforcing
  235. compliance by third parties to this License.
  236. </para>
  237. </section>
  238. <section>
  239. <title>Section 7
  240. </title>
  241. <para> If, as a consequence of a court judgment or allegation of patent infringement or for any other
  242. reason (not limited to patent issues), conditions are imposed on you (whether by court order,
  243. agreement or otherwise) that contradict the conditions of this License, they do not excuse you
  244. from the conditions of this License. If you cannot distribute so as to satisfy simultaneously
  245. your obligations under this License and any other pertinent obligations, then as a consequence
  246. you may not distribute the Program at all. For example, if a patent license would not permit
  247. royalty-free redistribution of the Program by all those who receive copies directly or
  248. indirectly through you, then the only way you could satisfy both it and this License would be
  249. to refrain entirely from distribution of the Program.
  250. </para>
  251. <para> If any portion of this section is held invalid or unenforceable under any particular circumstance,
  252. the balance of the section is intended to apply and the section as a whole is intended to apply
  253. in other circumstances.
  254. </para>
  255. <para> It is not the purpose of this section to induce you to infringe any patents or other property
  256. right claims or to contest validity of any such claims; this section has the sole purpose of
  257. protecting the integrity of the free software distribution system, which is implemented by public
  258. license practices. Many people have made generous contributions to the wide range of software
  259. distributed through that system in reliance on consistent application of that system; it is up
  260. to the author/donor to decide if he or she is willing to distribute software through any other
  261. system and a licensee cannot impose that choice.
  262. </para>
  263. <para> This section is intended to make thoroughly clear what is believed to be a consequence of the
  264. rest of this License.
  265. </para>
  266. </section>
  267. <section>
  268. <title>Section 8
  269. </title>
  270. <para> If the distribution and/or use of the Program is restricted in certain countries either by patents
  271. or by copyrighted interfaces, the original copyright holder who places the Program under this License
  272. may add an explicit geographical distribution limitation excluding those countries, so that
  273. distribution is permitted only in or among countries not thus excluded. In such case, this License
  274. incorporates the limitation as if written in the body of this License.
  275. </para>
  276. </section>
  277. <section>
  278. <title>Section 9
  279. </title>
  280. <para> The Free Software Foundation may publish revised and/or new versions of the General Public License
  281. from time to time. Such new versions will be similar in spirit to the present version, but may differ
  282. in detail to address new problems or concerns.
  283. </para>
  284. <para> Each version is given a distinguishing version number. If the Program specifies a version number of
  285. this License which applies to it and "any later version", you have the option of following the terms
  286. and conditions either of that version or of any later version published by the Free Software
  287. Foundation. If the Program does not specify a version number of this License, you may choose any
  288. version ever published by the Free Software Foundation.
  289. </para>
  290. </section>
  291. <section>
  292. <title>Section 10
  293. </title>
  294. <para> If you wish to incorporate parts of the Program into other free programs whose distribution
  295. conditions are different, write to the author to ask for permission. For software which is copyrighted
  296. by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions
  297. for this. Our decision will be guided by the two goals of preserving the free status of all
  298. derivatives of our free software and of promoting the sharing and reuse of software generally.
  299. </para>
  300. </section>
  301. <section>
  302. <title>NO WARRANTY Section 11
  303. </title>
  304. <para> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT
  305. PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  306. OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
  307. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  308. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  309. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  310. </para>
  311. </section>
  312. <section>
  313. <title>Section 12
  314. </title>
  315. <para> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR
  316. ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
  317. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  318. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
  319. INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH
  320. ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  321. DAMAGES.
  322. </para>
  323. <para>END OF TERMS AND CONDITIONS
  324. </para>
  325. </section>
  326. </section>
  327. <section>
  328. <title>How to Apply These Terms to Your New Programs
  329. </title>
  330. <para>
  331. If you develop a new program, and you want it to be of the greatest
  332. possible use to the public, the best way to achieve this is to make it
  333. free software which everyone can redistribute and change under these terms.
  334. </para>
  335. <para>
  336. To do so, attach the following notices to the program. It is safest
  337. to attach them to the start of each source file to most effectively
  338. convey the exclusion of warranty; and each file should have at least
  339. the "copyright" line and a pointer to where the full notice is found.
  340. </para>
  341. <para>
  342. &lt;one line to give the program's name and a brief idea of what it does.&gt;
  343. Copyright (C) &lt;year&gt; &lt;name of author&gt;
  344. </para>
  345. <para>
  346. This program is free software; you can redistribute it and/or modify
  347. it under the terms of the GNU General Public License as published by
  348. the Free Software Foundation; either version 2 of the License, or
  349. (at your option) any later version.
  350. </para>
  351. <para>
  352. This program is distributed in the hope that it will be useful,
  353. but WITHOUT ANY WARRANTY; without even the implied warranty of
  354. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  355. GNU General Public License for more details.
  356. </para>
  357. <para>
  358. You should have received a copy of the GNU General Public License
  359. along with this program; if not, write to the Free Software
  360. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  361. </para>
  362. <para>
  363. Also add information on how to contact you by electronic and paper mail.
  364. </para>
  365. <para>
  366. If the program is interactive, make it output a short notice like this
  367. when it starts in an interactive mode:
  368. </para>
  369. <para>
  370. Gnomovision version 69, Copyright (C) year name of author
  371. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  372. This is free software, and you are welcome to redistribute it
  373. under certain conditions; type `show c' for details.
  374. </para>
  375. <para>
  376. The hypothetical commands `show w' and `show c' should show the appropriate
  377. parts of the General Public License. Of course, the commands you use may
  378. be called something other than `show w' and `show c'; they could even be
  379. mouse-clicks or menu items--whatever suits your program.
  380. </para>
  381. <para>
  382. You should also get your employer (if you work as a programmer) or your
  383. school, if any, to sign a "copyright disclaimer" for the program, if
  384. necessary. Here is a sample; alter the names:
  385. </para>
  386. <para>
  387. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  388. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  389. </para>
  390. <para>
  391. &lt;signature of Ty Coon&gt;, 1 April 1989
  392. Ty Coon, President of Vice
  393. </para>
  394. <para>
  395. This General Public License does not permit incorporating your program into
  396. proprietary programs. If your program is a subroutine library, you may
  397. consider it more useful to permit linking proprietary applications with the
  398. library. If this is what you want to do, use the GNU Library General
  399. Public License instead of this License.
  400. </para>
  401. </section>
  402. </appendix>