comparison toolboxes/MIRtoolbox1.3.2/somtoolbox/License.txt @ 0:e9a9cd732c1e tip

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