1ee547e16SDest                    GNU GENERAL PUBLIC LICENSE
2ee547e16SDest                       Version 2, June 1991
3ee547e16SDest
4ee547e16SDest Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5ee547e16SDest 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6ee547e16SDest Everyone is permitted to copy and distribute verbatim copies
7ee547e16SDest of this license document, but changing it is not allowed.
8ee547e16SDest
9ee547e16SDest                            Preamble
10ee547e16SDest
11ee547e16SDest  The licenses for most software are designed to take away your
12ee547e16SDestfreedom to share and change it.  By contrast, the GNU General Public
13ee547e16SDestLicense is intended to guarantee your freedom to share and change free
14ee547e16SDestsoftware--to make sure the software is free for all its users.  This
15ee547e16SDestGeneral Public License applies to most of the Free Software
16ee547e16SDestFoundation's software and to any other program whose authors commit to
17ee547e16SDestusing it.  (Some other Free Software Foundation software is covered by
18ee547e16SDestthe GNU Lesser General Public License instead.)  You can apply it to
19ee547e16SDestyour programs, too.
20ee547e16SDest
21ee547e16SDest  When we speak of free software, we are referring to freedom, not
22ee547e16SDestprice.  Our General Public Licenses are designed to make sure that you
23ee547e16SDesthave the freedom to distribute copies of free software (and charge for
24ee547e16SDestthis service if you wish), that you receive source code or can get it
25ee547e16SDestif you want it, that you can change the software or use pieces of it
26ee547e16SDestin new free programs; and that you know you can do these things.
27ee547e16SDest
28ee547e16SDest  To protect your rights, we need to make restrictions that forbid
29ee547e16SDestanyone to deny you these rights or to ask you to surrender the rights.
30ee547e16SDestThese restrictions translate to certain responsibilities for you if you
31ee547e16SDestdistribute copies of the software, or if you modify it.
32ee547e16SDest
33ee547e16SDest  For example, if you distribute copies of such a program, whether
34ee547e16SDestgratis or for a fee, you must give the recipients all the rights that
35ee547e16SDestyou have.  You must make sure that they, too, receive or can get the
36ee547e16SDestsource code.  And you must show them these terms so they know their
37ee547e16SDestrights.
38ee547e16SDest
39ee547e16SDest  We protect your rights with two steps: (1) copyright the software, and
40ee547e16SDest(2) offer you this license which gives you legal permission to copy,
41ee547e16SDestdistribute and/or modify the software.
42ee547e16SDest
43ee547e16SDest  Also, for each author's protection and ours, we want to make certain
44ee547e16SDestthat everyone understands that there is no warranty for this free
45ee547e16SDestsoftware.  If the software is modified by someone else and passed on, we
46ee547e16SDestwant its recipients to know that what they have is not the original, so
47ee547e16SDestthat any problems introduced by others will not reflect on the original
48ee547e16SDestauthors' reputations.
49ee547e16SDest
50ee547e16SDest  Finally, any free program is threatened constantly by software
51ee547e16SDestpatents.  We wish to avoid the danger that redistributors of a free
52ee547e16SDestprogram will individually obtain patent licenses, in effect making the
53ee547e16SDestprogram proprietary.  To prevent this, we have made it clear that any
54ee547e16SDestpatent must be licensed for everyone's free use or not licensed at all.
55ee547e16SDest
56ee547e16SDest  The precise terms and conditions for copying, distribution and
57ee547e16SDestmodification follow.
58ee547e16SDest
59ee547e16SDest                    GNU GENERAL PUBLIC LICENSE
60ee547e16SDest   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61ee547e16SDest
62ee547e16SDest  0. This License applies to any program or other work which contains
63ee547e16SDesta notice placed by the copyright holder saying it may be distributed
64ee547e16SDestunder the terms of this General Public License.  The "Program", below,
65ee547e16SDestrefers to any such program or work, and a "work based on the Program"
66ee547e16SDestmeans either the Program or any derivative work under copyright law:
67ee547e16SDestthat is to say, a work containing the Program or a portion of it,
68ee547e16SDesteither verbatim or with modifications and/or translated into another
69ee547e16SDestlanguage.  (Hereinafter, translation is included without limitation in
70ee547e16SDestthe term "modification".)  Each licensee is addressed as "you".
71ee547e16SDest
72ee547e16SDestActivities other than copying, distribution and modification are not
73ee547e16SDestcovered by this License; they are outside its scope.  The act of
74ee547e16SDestrunning the Program is not restricted, and the output from the Program
75ee547e16SDestis covered only if its contents constitute a work based on the
76ee547e16SDestProgram (independent of having been made by running the Program).
77ee547e16SDestWhether that is true depends on what the Program does.
78ee547e16SDest
79ee547e16SDest  1. You may copy and distribute verbatim copies of the Program's
80ee547e16SDestsource code as you receive it, in any medium, provided that you
81ee547e16SDestconspicuously and appropriately publish on each copy an appropriate
82ee547e16SDestcopyright notice and disclaimer of warranty; keep intact all the
83ee547e16SDestnotices that refer to this License and to the absence of any warranty;
84ee547e16SDestand give any other recipients of the Program a copy of this License
85ee547e16SDestalong with the Program.
86ee547e16SDest
87ee547e16SDestYou may charge a fee for the physical act of transferring a copy, and
88ee547e16SDestyou may at your option offer warranty protection in exchange for a fee.
89ee547e16SDest
90ee547e16SDest  2. You may modify your copy or copies of the Program or any portion
91ee547e16SDestof it, thus forming a work based on the Program, and copy and
92ee547e16SDestdistribute such modifications or work under the terms of Section 1
93ee547e16SDestabove, provided that you also meet all of these conditions:
94ee547e16SDest
95ee547e16SDest    a) You must cause the modified files to carry prominent notices
96ee547e16SDest    stating that you changed the files and the date of any change.
97ee547e16SDest
98ee547e16SDest    b) You must cause any work that you distribute or publish, that in
99ee547e16SDest    whole or in part contains or is derived from the Program or any
100ee547e16SDest    part thereof, to be licensed as a whole at no charge to all third
101ee547e16SDest    parties under the terms of this License.
102ee547e16SDest
103ee547e16SDest    c) If the modified program normally reads commands interactively
104ee547e16SDest    when run, you must cause it, when started running for such
105ee547e16SDest    interactive use in the most ordinary way, to print or display an
106ee547e16SDest    announcement including an appropriate copyright notice and a
107ee547e16SDest    notice that there is no warranty (or else, saying that you provide
108ee547e16SDest    a warranty) and that users may redistribute the program under
109ee547e16SDest    these conditions, and telling the user how to view a copy of this
110ee547e16SDest    License.  (Exception: if the Program itself is interactive but
111ee547e16SDest    does not normally print such an announcement, your work based on
112ee547e16SDest    the Program is not required to print an announcement.)
113ee547e16SDest
114ee547e16SDestThese requirements apply to the modified work as a whole.  If
115ee547e16SDestidentifiable sections of that work are not derived from the Program,
116ee547e16SDestand can be reasonably considered independent and separate works in
117ee547e16SDestthemselves, then this License, and its terms, do not apply to those
118ee547e16SDestsections when you distribute them as separate works.  But when you
119ee547e16SDestdistribute the same sections as part of a whole which is a work based
120ee547e16SDeston the Program, the distribution of the whole must be on the terms of
121ee547e16SDestthis License, whose permissions for other licensees extend to the
122ee547e16SDestentire whole, and thus to each and every part regardless of who wrote it.
123ee547e16SDest
124ee547e16SDestThus, it is not the intent of this section to claim rights or contest
125ee547e16SDestyour rights to work written entirely by you; rather, the intent is to
126ee547e16SDestexercise the right to control the distribution of derivative or
127ee547e16SDestcollective works based on the Program.
128ee547e16SDest
129ee547e16SDestIn addition, mere aggregation of another work not based on the Program
130ee547e16SDestwith the Program (or with a work based on the Program) on a volume of
131ee547e16SDesta storage or distribution medium does not bring the other work under
132ee547e16SDestthe scope of this License.
133ee547e16SDest
134ee547e16SDest  3. You may copy and distribute the Program (or a work based on it,
135ee547e16SDestunder Section 2) in object code or executable form under the terms of
136ee547e16SDestSections 1 and 2 above provided that you also do one of the following:
137ee547e16SDest
138ee547e16SDest    a) Accompany it with the complete corresponding machine-readable
139ee547e16SDest    source code, which must be distributed under the terms of Sections
140ee547e16SDest    1 and 2 above on a medium customarily used for software interchange; or,
141ee547e16SDest
142ee547e16SDest    b) Accompany it with a written offer, valid for at least three
143ee547e16SDest    years, to give any third party, for a charge no more than your
144ee547e16SDest    cost of physically performing source distribution, a complete
145ee547e16SDest    machine-readable copy of the corresponding source code, to be
146ee547e16SDest    distributed under the terms of Sections 1 and 2 above on a medium
147ee547e16SDest    customarily used for software interchange; or,
148ee547e16SDest
149ee547e16SDest    c) Accompany it with the information you received as to the offer
150ee547e16SDest    to distribute corresponding source code.  (This alternative is
151ee547e16SDest    allowed only for noncommercial distribution and only if you
152ee547e16SDest    received the program in object code or executable form with such
153ee547e16SDest    an offer, in accord with Subsection b above.)
154ee547e16SDest
155ee547e16SDestThe source code for a work means the preferred form of the work for
156ee547e16SDestmaking modifications to it.  For an executable work, complete source
157ee547e16SDestcode means all the source code for all modules it contains, plus any
158ee547e16SDestassociated interface definition files, plus the scripts used to
159ee547e16SDestcontrol compilation and installation of the executable.  However, as a
160ee547e16SDestspecial exception, the source code distributed need not include
161ee547e16SDestanything that is normally distributed (in either source or binary
162ee547e16SDestform) with the major components (compiler, kernel, and so on) of the
163ee547e16SDestoperating system on which the executable runs, unless that component
164ee547e16SDestitself accompanies the executable.
165ee547e16SDest
166ee547e16SDestIf distribution of executable or object code is made by offering
167ee547e16SDestaccess to copy from a designated place, then offering equivalent
168ee547e16SDestaccess to copy the source code from the same place counts as
169ee547e16SDestdistribution of the source code, even though third parties are not
170ee547e16SDestcompelled to copy the source along with the object code.
171ee547e16SDest
172ee547e16SDest  4. You may not copy, modify, sublicense, or distribute the Program
173ee547e16SDestexcept as expressly provided under this License.  Any attempt
174ee547e16SDestotherwise to copy, modify, sublicense or distribute the Program is
175ee547e16SDestvoid, and will automatically terminate your rights under this License.
176ee547e16SDestHowever, parties who have received copies, or rights, from you under
177ee547e16SDestthis License will not have their licenses terminated so long as such
178ee547e16SDestparties remain in full compliance.
179ee547e16SDest
180ee547e16SDest  5. You are not required to accept this License, since you have not
181ee547e16SDestsigned it.  However, nothing else grants you permission to modify or
182ee547e16SDestdistribute the Program or its derivative works.  These actions are
183ee547e16SDestprohibited by law if you do not accept this License.  Therefore, by
184ee547e16SDestmodifying or distributing the Program (or any work based on the
185ee547e16SDestProgram), you indicate your acceptance of this License to do so, and
186ee547e16SDestall its terms and conditions for copying, distributing or modifying
187ee547e16SDestthe Program or works based on it.
188ee547e16SDest
189ee547e16SDest  6. Each time you redistribute the Program (or any work based on the
190ee547e16SDestProgram), the recipient automatically receives a license from the
191ee547e16SDestoriginal licensor to copy, distribute or modify the Program subject to
192ee547e16SDestthese terms and conditions.  You may not impose any further
193ee547e16SDestrestrictions on the recipients' exercise of the rights granted herein.
194ee547e16SDestYou are not responsible for enforcing compliance by third parties to
195ee547e16SDestthis License.
196ee547e16SDest
197ee547e16SDest  7. If, as a consequence of a court judgment or allegation of patent
198ee547e16SDestinfringement or for any other reason (not limited to patent issues),
199ee547e16SDestconditions are imposed on you (whether by court order, agreement or
200ee547e16SDestotherwise) that contradict the conditions of this License, they do not
201ee547e16SDestexcuse you from the conditions of this License.  If you cannot
202ee547e16SDestdistribute so as to satisfy simultaneously your obligations under this
203ee547e16SDestLicense and any other pertinent obligations, then as a consequence you
204ee547e16SDestmay not distribute the Program at all.  For example, if a patent
205ee547e16SDestlicense would not permit royalty-free redistribution of the Program by
206ee547e16SDestall those who receive copies directly or indirectly through you, then
207ee547e16SDestthe only way you could satisfy both it and this License would be to
208ee547e16SDestrefrain entirely from distribution of the Program.
209ee547e16SDest
210ee547e16SDestIf any portion of this section is held invalid or unenforceable under
211ee547e16SDestany particular circumstance, the balance of the section is intended to
212ee547e16SDestapply and the section as a whole is intended to apply in other
213ee547e16SDestcircumstances.
214ee547e16SDest
215ee547e16SDestIt is not the purpose of this section to induce you to infringe any
216ee547e16SDestpatents or other property right claims or to contest validity of any
217ee547e16SDestsuch claims; this section has the sole purpose of protecting the
218ee547e16SDestintegrity of the free software distribution system, which is
219ee547e16SDestimplemented by public license practices.  Many people have made
220ee547e16SDestgenerous contributions to the wide range of software distributed
221ee547e16SDestthrough that system in reliance on consistent application of that
222ee547e16SDestsystem; it is up to the author/donor to decide if he or she is willing
223ee547e16SDestto distribute software through any other system and a licensee cannot
224ee547e16SDestimpose that choice.
225ee547e16SDest
226ee547e16SDestThis section is intended to make thoroughly clear what is believed to
227ee547e16SDestbe a consequence of the rest of this License.
228ee547e16SDest
229ee547e16SDest  8. If the distribution and/or use of the Program is restricted in
230ee547e16SDestcertain countries either by patents or by copyrighted interfaces, the
231ee547e16SDestoriginal copyright holder who places the Program under this License
232ee547e16SDestmay add an explicit geographical distribution limitation excluding
233ee547e16SDestthose countries, so that distribution is permitted only in or among
234ee547e16SDestcountries not thus excluded.  In such case, this License incorporates
235ee547e16SDestthe limitation as if written in the body of this License.
236ee547e16SDest
237ee547e16SDest  9. The Free Software Foundation may publish revised and/or new versions
238ee547e16SDestof the General Public License from time to time.  Such new versions will
239ee547e16SDestbe similar in spirit to the present version, but may differ in detail to
240ee547e16SDestaddress new problems or concerns.
241ee547e16SDest
242ee547e16SDestEach version is given a distinguishing version number.  If the Program
243ee547e16SDestspecifies a version number of this License which applies to it and "any
244ee547e16SDestlater version", you have the option of following the terms and conditions
245ee547e16SDesteither of that version or of any later version published by the Free
246ee547e16SDestSoftware Foundation.  If the Program does not specify a version number of
247ee547e16SDestthis License, you may choose any version ever published by the Free Software
248ee547e16SDestFoundation.
249ee547e16SDest
250ee547e16SDest  10. If you wish to incorporate parts of the Program into other free
251ee547e16SDestprograms whose distribution conditions are different, write to the author
252ee547e16SDestto ask for permission.  For software which is copyrighted by the Free
253ee547e16SDestSoftware Foundation, write to the Free Software Foundation; we sometimes
254ee547e16SDestmake exceptions for this.  Our decision will be guided by the two goals
255ee547e16SDestof preserving the free status of all derivatives of our free software and
256ee547e16SDestof promoting the sharing and reuse of software generally.
257ee547e16SDest
258ee547e16SDest                            NO WARRANTY
259ee547e16SDest
260ee547e16SDest  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261ee547e16SDestFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262ee547e16SDestOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263ee547e16SDestPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264ee547e16SDestOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265ee547e16SDestMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266ee547e16SDestTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267ee547e16SDestPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268ee547e16SDestREPAIR OR CORRECTION.
269ee547e16SDest
270ee547e16SDest  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271ee547e16SDestWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272ee547e16SDestREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273ee547e16SDestINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274ee547e16SDestOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275ee547e16SDestTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276ee547e16SDestYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277ee547e16SDestPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278ee547e16SDestPOSSIBILITY OF SUCH DAMAGES.
279ee547e16SDest
280ee547e16SDest                     END OF TERMS AND CONDITIONS
281ee547e16SDest
282ee547e16SDest            How to Apply These Terms to Your New Programs
283ee547e16SDest
284ee547e16SDest  If you develop a new program, and you want it to be of the greatest
285ee547e16SDestpossible use to the public, the best way to achieve this is to make it
286ee547e16SDestfree software which everyone can redistribute and change under these terms.
287ee547e16SDest
288ee547e16SDest  To do so, attach the following notices to the program.  It is safest
289ee547e16SDestto attach them to the start of each source file to most effectively
290ee547e16SDestconvey the exclusion of warranty; and each file should have at least
291ee547e16SDestthe "copyright" line and a pointer to where the full notice is found.
292ee547e16SDest
293ee547e16SDest    <one line to give the program's name and a brief idea of what it does.>
294ee547e16SDest    Copyright (C) <year>  <name of author>
295ee547e16SDest
296ee547e16SDest    This program is free software; you can redistribute it and/or modify
297ee547e16SDest    it under the terms of the GNU General Public License as published by
298ee547e16SDest    the Free Software Foundation; either version 2 of the License, or
299ee547e16SDest    (at your option) any later version.
300ee547e16SDest
301ee547e16SDest    This program is distributed in the hope that it will be useful,
302ee547e16SDest    but WITHOUT ANY WARRANTY; without even the implied warranty of
303ee547e16SDest    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304ee547e16SDest    GNU General Public License for more details.
305ee547e16SDest
306ee547e16SDest    You should have received a copy of the GNU General Public License along
307ee547e16SDest    with this program; if not, write to the Free Software Foundation, Inc.,
308ee547e16SDest    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309ee547e16SDest
310ee547e16SDestAlso add information on how to contact you by electronic and paper mail.
311ee547e16SDest
312ee547e16SDestIf the program is interactive, make it output a short notice like this
313ee547e16SDestwhen it starts in an interactive mode:
314ee547e16SDest
315ee547e16SDest    Gnomovision version 69, Copyright (C) year name of author
316ee547e16SDest    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317ee547e16SDest    This is free software, and you are welcome to redistribute it
318ee547e16SDest    under certain conditions; type `show c' for details.
319ee547e16SDest
320ee547e16SDestThe hypothetical commands `show w' and `show c' should show the appropriate
321ee547e16SDestparts of the General Public License.  Of course, the commands you use may
322ee547e16SDestbe called something other than `show w' and `show c'; they could even be
323ee547e16SDestmouse-clicks or menu items--whatever suits your program.
324ee547e16SDest
325ee547e16SDestYou should also get your employer (if you work as a programmer) or your
326ee547e16SDestschool, if any, to sign a "copyright disclaimer" for the program, if
327ee547e16SDestnecessary.  Here is a sample; alter the names:
328ee547e16SDest
329ee547e16SDest  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330ee547e16SDest  `Gnomovision' (which makes passes at compilers) written by James Hacker.
331ee547e16SDest
332ee547e16SDest  <signature of Ty Coon>, 1 April 1989
333ee547e16SDest  Ty Coon, President of Vice
334ee547e16SDest
335ee547e16SDestThis General Public License does not permit incorporating your program into
336ee547e16SDestproprietary programs.  If your program is a subroutine library, you may
337ee547e16SDestconsider it more useful to permit linking proprietary applications with the
338ee547e16SDestlibrary.  If this is what you want to do, use the GNU Lesser General
339ee547e16SDestPublic License instead of this License.
340