1 GNU GENERAL PUBLIC LICENSE
\r
2 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
\r
4 0. This License applies to any program or other work which contains
\r
5 a notice placed by the copyright holder saying it may be distributed
\r
6 under the terms of this General Public License. The "Program", below,
\r
7 refers to any such program or work, and a "work based on the Program"
\r
8 means either the Program or any derivative work under copyright law:
\r
9 that is to say, a work containing the Program or a portion of it,
\r
10 either verbatim or with modifications and/or translated into another
\r
11 language. (Hereinafter, translation is included without limitation in
\r
12 the term "modification".) Each licensee is addressed as "you".
\r
14 Activities other than copying, distribution and modification are not
\r
15 covered by this License; they are outside its scope. The act of
\r
16 running the Program is not restricted, and the output from the Program
\r
17 is covered only if its contents constitute a work based on the
\r
18 Program (independent of having been made by running the Program).
\r
19 Whether that is true depends on what the Program does.
\r
21 1. You may copy and distribute verbatim copies of the Program's
\r
22 source code as you receive it, in any medium, provided that you
\r
23 conspicuously and appropriately publish on each copy an appropriate
\r
24 copyright notice and disclaimer of warranty; keep intact all the
\r
25 notices that refer to this License and to the absence of any warranty;
\r
26 and give any other recipients of the Program a copy of this License
\r
27 along with the Program.
\r
29 You may charge a fee for the physical act of transferring a copy, and
\r
30 you may at your option offer warranty protection in exchange for a fee.
\r
32 2. You may modify your copy or copies of the Program or any portion
\r
33 of it, thus forming a work based on the Program, and copy and
\r
34 distribute such modifications or work under the terms of Section 1
\r
35 above, provided that you also meet all of these conditions:
\r
37 a) You must cause the modified files to carry prominent notices
\r
38 stating that you changed the files and the date of any change.
\r
40 b) You must cause any work that you distribute or publish, that in
\r
41 whole or in part contains or is derived from the Program or any
\r
42 part thereof, to be licensed as a whole at no charge to all third
\r
43 parties under the terms of this License.
\r
45 c) If the modified program normally reads commands interactively
\r
46 when run, you must cause it, when started running for such
\r
47 interactive use in the most ordinary way, to print or display an
\r
48 announcement including an appropriate copyright notice and a
\r
49 notice that there is no warranty (or else, saying that you provide
\r
50 a warranty) and that users may redistribute the program under
\r
51 these conditions, and telling the user how to view a copy of this
\r
52 License. (Exception: if the Program itself is interactive but
\r
53 does not normally print such an announcement, your work based on
\r
54 the Program is not required to print an announcement.)
\r
56 These requirements apply to the modified work as a whole. If
\r
57 identifiable sections of that work are not derived from the Program,
\r
58 and can be reasonably considered independent and separate works in
\r
59 themselves, then this License, and its terms, do not apply to those
\r
60 sections when you distribute them as separate works. But when you
\r
61 distribute the same sections as part of a whole which is a work based
\r
62 on the Program, the distribution of the whole must be on the terms of
\r
63 this License, whose permissions for other licensees extend to the
\r
64 entire whole, and thus to each and every part regardless of who wrote it.
\r
66 Thus, it is not the intent of this section to claim rights or contest
\r
67 your rights to work written entirely by you; rather, the intent is to
\r
68 exercise the right to control the distribution of derivative or
\r
69 collective works based on the Program.
\r
71 In addition, mere aggregation of another work not based on the Program
\r
72 with the Program (or with a work based on the Program) on a volume of
\r
73 a storage or distribution medium does not bring the other work under
\r
74 the scope of this License.
\r
76 3. You may copy and distribute the Program (or a work based on it,
\r
77 under Section 2) in object code or executable form under the terms of
\r
78 Sections 1 and 2 above provided that you also do one of the following:
\r
80 a) Accompany it with the complete corresponding machine-readable
\r
81 source code, which must be distributed under the terms of Sections
\r
82 1 and 2 above on a medium customarily used for software interchange; or,
\r
84 b) Accompany it with a written offer, valid for at least three
\r
85 years, to give any third party, for a charge no more than your
\r
86 cost of physically performing source distribution, a complete
\r
87 machine-readable copy of the corresponding source code, to be
\r
88 distributed under the terms of Sections 1 and 2 above on a medium
\r
89 customarily used for software interchange; or,
\r
91 c) Accompany it with the information you received as to the offer
\r
92 to distribute corresponding source code. (This alternative is
\r
93 allowed only for noncommercial distribution and only if you
\r
94 received the program in object code or executable form with such
\r
95 an offer, in accord with Subsection b above.)
\r
97 The source code for a work means the preferred form of the work for
\r
98 making modifications to it. For an executable work, complete source
\r
99 code means all the source code for all modules it contains, plus any
\r
100 associated interface definition files, plus the scripts used to
\r
101 control compilation and installation of the executable. However, as a
\r
102 special exception, the source code distributed need not include
\r
103 anything that is normally distributed (in either source or binary
\r
104 form) with the major components (compiler, kernel, and so on) of the
\r
105 operating system on which the executable runs, unless that component
\r
106 itself accompanies the executable.
\r
108 If distribution of executable or object code is made by offering
\r
109 access to copy from a designated place, then offering equivalent
\r
110 access to copy the source code from the same place counts as
\r
111 distribution of the source code, even though third parties are not
\r
112 compelled to copy the source along with the object code.
\r
114 4. You may not copy, modify, sublicense, or distribute the Program
\r
115 except as expressly provided under this License. Any attempt
\r
116 otherwise to copy, modify, sublicense or distribute the Program is
\r
117 void, and will automatically terminate your rights under this License.
\r
118 However, parties who have received copies, or rights, from you under
\r
119 this License will not have their licenses terminated so long as such
\r
120 parties remain in full compliance.
\r
122 5. You are not required to accept this License, since you have not
\r
123 signed it. However, nothing else grants you permission to modify or
\r
124 distribute the Program or its derivative works. These actions are
\r
125 prohibited by law if you do not accept this License. Therefore, by
\r
126 modifying or distributing the Program (or any work based on the
\r
127 Program), you indicate your acceptance of this License to do so, and
\r
128 all its terms and conditions for copying, distributing or modifying
\r
129 the Program or works based on it.
\r
131 6. Each time you redistribute the Program (or any work based on the
\r
132 Program), the recipient automatically receives a license from the
\r
133 original licensor to copy, distribute or modify the Program subject to
\r
134 these terms and conditions. You may not impose any further
\r
135 restrictions on the recipients' exercise of the rights granted herein.
\r
136 You are not responsible for enforcing compliance by third parties to
\r
139 7. If, as a consequence of a court judgment or allegation of patent
\r
140 infringement or for any other reason (not limited to patent issues),
\r
141 conditions are imposed on you (whether by court order, agreement or
\r
142 otherwise) that contradict the conditions of this License, they do not
\r
143 excuse you from the conditions of this License. If you cannot
\r
144 distribute so as to satisfy simultaneously your obligations under this
\r
145 License and any other pertinent obligations, then as a consequence you
\r
146 may not distribute the Program at all. For example, if a patent
\r
147 license would not permit royalty-free redistribution of the Program by
\r
148 all those who receive copies directly or indirectly through you, then
\r
149 the only way you could satisfy both it and this License would be to
\r
150 refrain entirely from distribution of the Program.
\r
152 If any portion of this section is held invalid or unenforceable under
\r
153 any particular circumstance, the balance of the section is intended to
\r
154 apply and the section as a whole is intended to apply in other
\r
157 It is not the purpose of this section to induce you to infringe any
\r
158 patents or other property right claims or to contest validity of any
\r
159 such claims; this section has the sole purpose of protecting the
\r
160 integrity of the free software distribution system, which is
\r
161 implemented by public license practices. Many people have made
\r
162 generous contributions to the wide range of software distributed
\r
163 through that system in reliance on consistent application of that
\r
164 system; it is up to the author/donor to decide if he or she is willing
\r
165 to distribute software through any other system and a licensee cannot
\r
166 impose that choice.
\r
168 This section is intended to make thoroughly clear what is believed to
\r
169 be a consequence of the rest of this License.
\r
171 8. If the distribution and/or use of the Program is restricted in
\r
172 certain countries either by patents or by copyrighted interfaces, the
\r
173 original copyright holder who places the Program under this License
\r
174 may add an explicit geographical distribution limitation excluding
\r
175 those countries, so that distribution is permitted only in or among
\r
176 countries not thus excluded. In such case, this License incorporates
\r
177 the limitation as if written in the body of this License.
\r
179 9. The Free Software Foundation may publish revised and/or new versions
\r
180 of the General Public License from time to time. Such new versions will
\r
181 be similar in spirit to the present version, but may differ in detail to
\r
182 address new problems or concerns.
\r
184 Each version is given a distinguishing version number. If the Program
\r
185 specifies a version number of this License which applies to it and "any
\r
186 later version", you have the option of following the terms and conditions
\r
187 either of that version or of any later version published by the Free
\r
188 Software Foundation. If the Program does not specify a version number of
\r
189 this License, you may choose any version ever published by the Free Software
\r
192 10. If you wish to incorporate parts of the Program into other free
\r
193 programs whose distribution conditions are different, write to the author
\r
194 to ask for permission. For software which is copyrighted by the Free
\r
195 Software Foundation, write to the Free Software Foundation; we sometimes
\r
196 make exceptions for this. Our decision will be guided by the two goals
\r
197 of preserving the free status of all derivatives of our free software and
\r
198 of promoting the sharing and reuse of software generally.
\r
202 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
\r
203 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
\r
204 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
\r
205 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
\r
206 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
\r
207 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
\r
208 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
\r
209 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
\r
210 REPAIR OR CORRECTION.
\r
212 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
\r
213 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
\r
214 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
\r
215 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
\r
216 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
\r
217 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
\r
218 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
\r
219 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
\r
220 POSSIBILITY OF SUCH DAMAGES.
\r