annotate toolboxes/MIRtoolbox1.3.2/somtoolbox/License.txt @ 0:cc4b1211e677 tip

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