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