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