LICENSE.txt 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259
  1. Tencent is pleased to support the open source community by making VAP available.
  2. Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved.
  3. VAP is licensed under the the MIT except for the third-party components listed below.
  4. Terms of the MIT:
  5. --------------------------------------------------------------------
  6. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
  7. (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
  8. merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished
  9. to do so, subject to the following conditions:
  10. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  11. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  12. OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  13. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
  14. IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  15. Other dependencies and licenses:
  16. Open Source Software Licensed under the GNU General Public License version 2 or later:
  17. --------------------------------------------------------------------
  18. 1. ffmpeg
  19. Copyright (C) Ffmpeg Project
  20. Source code of this software can be obtained from: https://github.com/FFmpeg/FFmpeg/tree/n4.2
  21. Most files in FFmpeg are under the GNU Lesser General Public License version 2.1 or later (LGPL v2.1+). Read the file COPYING.LGPLv2.1 for details. Some other files have MIT/X11/BSD-style licenses. In combination the LGPL v2.1+ applies to FFmpeg.
  22. Some optional parts of FFmpeg are licensed under the GNU General Public License version 2 or later (GPL v2+). See the file COPYING.GPLv2 for details. None of these parts are used by default, you have to explicitly pass --enable-gpl to configure to activate them. In this case, FFmpeg's license changes to GPL v2+.
  23. Specifically, the GPL parts of FFmpeg are:
  24. libpostproc
  25. optional x86 optimization in the files
  26. libavcodec/x86/flac_dsp_gpl.asm
  27. libavcodec/x86/idct_mmx.c
  28. libavfilter/x86/vf_removegrain.asm
  29. the following building and testing tools
  30. compat/solaris/make_sunver.pl
  31. doc/t2h.pm
  32. doc/texi2pod.pl
  33. libswresample/swresample-test.c
  34. tests/checkasm/*
  35. tests/tiny_ssim.c
  36. the following filters in libavfilter:
  37. vf_blackframe.c
  38. vf_boxblur.c
  39. vf_colormatrix.c
  40. vf_cover_rect.c
  41. vf_cropdetect.c
  42. vf_delogo.c
  43. vf_eq.c
  44. vf_find_rect.c
  45. vf_fspp.c
  46. vf_geq.c
  47. vf_histeq.c
  48. vf_hqdn3d.c
  49. vf_interlace.c
  50. vf_kerndeint.c
  51. vf_mcdeint.c
  52. vf_mpdecimate.c
  53. vf_owdenoise.c
  54. vf_perspective.c
  55. vf_phase.c
  56. vf_pp.c
  57. vf_pp7.c
  58. vf_pullup.c
  59. vf_repeatfields.c
  60. vf_sab.c
  61. vf_smartblur.c
  62. vf_spp.c
  63. vf_stereo3d.c
  64. vf_super2xsai.c
  65. vf_tinterlace.c
  66. vf_uspp.c
  67. vsrc_mptestsrc.c
  68. Should you, for whatever reason, prefer to use version 3 of the (L)GPL, then the configure parameter --enable-version3 will activate this licensing option for you. Read the file COPYING.LGPLv3 or, if you have enabled GPL parts, COPYING.GPLv3 to learn the exact legal terms that apply in this case.
  69. There are a handful of files under other licensing terms, namely:
  70. The files libavcodec/jfdctfst.c, libavcodec/jfdctint_template.c and libavcodec/jrevdct.c are taken from libjpeg, see the top of the files for licensing details. Specifically note that you must credit the IJG in the documentation accompanying your program if you only distribute executables. You must also indicate any changes including additions and deletions to those three files in the documentation.
  71. tests/reference.pnm is under the expat license.
  72. External libraries
  73. FFmpeg can be combined with a number of external libraries, which sometimes affect the licensing of binaries resulting from the combination.
  74. Compatible libraries
  75. The following libraries are under GPL:
  76. frei0r
  77. libcdio
  78. librubberband
  79. libvidstab
  80. libx264
  81. libx265
  82. libxavs
  83. libxvid
  84. When combining them with FFmpeg, FFmpeg needs to be licensed as GPL as well by passing --enable-gpl to configure.
  85. The OpenCORE and VisualOn libraries are under the Apache License 2.0. That license is incompatible with the LGPL v2.1 and the GPL v2, but not with version 3 of those licenses. So to combine these libraries with FFmpeg, the license version needs to be upgraded by passing --enable-version3 to configure.
  86. Incompatible libraries
  87. There are certain libraries you can combine with FFmpeg whose licenses are not compatible with the GPL and/or the LGPL. If you wish to enable these libraries, even in circumstances that their license may be incompatible, pass --enable-nonfree to configure. This will cause the resulting binary to be unredistributable.
  88. The Fraunhofer FDK AAC and OpenSSL libraries are under licenses which are incompatible with the GPLv2 and v3. To the best of our knowledge, they are compatible with the LGPL.
  89. GNU GENERAL PUBLIC LICENSE
  90. Version 2, June 1991
  91. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  92. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  93. Everyone is permitted to copy and distribute verbatim copies
  94. of this license document, but changing it is not allowed.
  95. Preamble
  96. The licenses for most software are designed to take away your
  97. freedom to share and change it. By contrast, the GNU General Public
  98. License is intended to guarantee your freedom to share and change free
  99. software--to make sure the software is free for all its users. This
  100. General Public License applies to most of the Free Software
  101. Foundation's software and to any other program whose authors commit to
  102. using it. (Some other Free Software Foundation software is covered by
  103. the GNU Lesser General Public License instead.) You can apply it to
  104. your programs, too.
  105. When we speak of free software, we are referring to freedom, not
  106. price. Our General Public Licenses are designed to make sure that you
  107. have the freedom to distribute copies of free software (and charge for
  108. this service if you wish), that you receive source code or can get it
  109. if you want it, that you can change the software or use pieces of it
  110. in new free programs; and that you know you can do these things.
  111. To protect your rights, we need to make restrictions that forbid
  112. anyone to deny you these rights or to ask you to surrender the rights.
  113. These restrictions translate to certain responsibilities for you if you
  114. distribute copies of the software, or if you modify it.
  115. For example, if you distribute copies of such a program, whether
  116. gratis or for a fee, you must give the recipients all the rights that
  117. you have. You must make sure that they, too, receive or can get the
  118. source code. And you must show them these terms so they know their
  119. rights.
  120. We protect your rights with two steps: (1) copyright the software, and
  121. (2) offer you this license which gives you legal permission to copy,
  122. distribute and/or modify the software.
  123. Also, for each author's protection and ours, we want to make certain
  124. that everyone understands that there is no warranty for this free
  125. software. If the software is modified by someone else and passed on, we
  126. want its recipients to know that what they have is not the original, so
  127. that any problems introduced by others will not reflect on the original
  128. authors' reputations.
  129. Finally, any free program is threatened constantly by software
  130. patents. We wish to avoid the danger that redistributors of a free
  131. program will individually obtain patent licenses, in effect making the
  132. program proprietary. To prevent this, we have made it clear that any
  133. patent must be licensed for everyone's free use or not licensed at all.
  134. The precise terms and conditions for copying, distribution and
  135. modification follow.
  136. GNU GENERAL PUBLIC LICENSE
  137. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  138. 0. This License applies to any program or other work which contains
  139. a notice placed by the copyright holder saying it may be distributed
  140. under the terms of this General Public License. The "Program", below,
  141. refers to any such program or work, and a "work based on the Program"
  142. means either the Program or any derivative work under copyright law:
  143. that is to say, a work containing the Program or a portion of it,
  144. either verbatim or with modifications and/or translated into another
  145. language. (Hereinafter, translation is included without limitation in
  146. the term "modification".) Each licensee is addressed as "you".
  147. Activities other than copying, distribution and modification are not
  148. covered by this License; they are outside its scope. The act of
  149. running the Program is not restricted, and the output from the Program
  150. is covered only if its contents constitute a work based on the
  151. Program (independent of having been made by running the Program).
  152. Whether that is true depends on what the Program does.
  153. 1. You may copy and distribute verbatim copies of the Program's
  154. source code as you receive it, in any medium, provided that you
  155. conspicuously and appropriately publish on each copy an appropriate
  156. copyright notice and disclaimer of warranty; keep intact all the
  157. notices that refer to this License and to the absence of any warranty;
  158. and give any other recipients of the Program a copy of this License
  159. along with the Program.
  160. You may charge a fee for the physical act of transferring a copy, and
  161. you may at your option offer warranty protection in exchange for a fee.
  162. 2. You may modify your copy or copies of the Program or any portion
  163. of it, thus forming a work based on the Program, and copy and
  164. distribute such modifications or work under the terms of Section 1
  165. above, provided that you also meet all of these conditions:
  166. a) You must cause the modified files to carry prominent notices
  167. stating that you changed the files and the date of any change.
  168. b) You must cause any work that you distribute or publish, that in
  169. whole or in part contains or is derived from the Program or any
  170. part thereof, to be licensed as a whole at no charge to all third
  171. parties under the terms of this License.
  172. c) If the modified program normally reads commands interactively
  173. when run, you must cause it, when started running for such
  174. interactive use in the most ordinary way, to print or display an
  175. announcement including an appropriate copyright notice and a
  176. notice that there is no warranty (or else, saying that you provide
  177. a warranty) and that users may redistribute the program under
  178. these conditions, and telling the user how to view a copy of this
  179. License. (Exception: if the Program itself is interactive but
  180. does not normally print such an announcement, your work based on
  181. the Program is not required to print an announcement.)
  182. These requirements apply to the modified work as a whole. If
  183. identifiable sections of that work are not derived from the Program,
  184. and can be reasonably considered independent and separate works in
  185. themselves, then this License, and its terms, do not apply to those
  186. sections when you distribute them as separate works. But when you
  187. distribute the same sections as part of a whole which is a work based
  188. on the Program, the distribution of the whole must be on the terms of
  189. this License, whose permissions for other licensees extend to the
  190. entire whole, and thus to each and every part regardless of who wrote it.
  191. Thus, it is not the intent of this section to claim rights or contest
  192. your rights to work written entirely by you; rather, the intent is to
  193. exercise the right to control the distribution of derivative or
  194. collective works based on the Program.
  195. In addition, mere aggregation of another work not based on the Program
  196. with the Program (or with a work based on the Program) on a volume of
  197. a storage or distribution medium does not bring the other work under
  198. the scope of this License.
  199. 3. You may copy and distribute the Program (or a work based on it,
  200. under Section 2) in object code or executable form under the terms of
  201. Sections 1 and 2 above provided that you also do one of the following:
  202. a) Accompany it with the complete corresponding machine-readable
  203. source code, which must be distributed under the terms of Sections
  204. 1 and 2 above on a medium customarily used for software interchange; or,
  205. b) Accompany it with a written offer, valid for at least three
  206. years, to give any third party, for a charge no more than your
  207. cost of physically performing source distribution, a complete
  208. machine-readable copy of the corresponding source code, to be
  209. distributed under the terms of Sections 1 and 2 above on a medium
  210. customarily used for software interchange; or,
  211. c) Accompany it with the information you received as to the offer
  212. to distribute corresponding source code. (This alternative is
  213. allowed only for noncommercial distribution and only if you
  214. received the program in object code or executable form with such
  215. an offer, in accord with Subsection b above.)
  216. The source code for a work means the preferred form of the work for
  217. making modifications to it. For an executable work, complete source
  218. code means all the source code for all modules it contains, plus any
  219. associated interface definition files, plus the scripts used to
  220. control compilation and installation of the executable. However, as a
  221. special exception, the source code distributed need not include
  222. anything that is normally distributed (in either source or binary
  223. form) with the major components (compiler, kernel, and so on) of the
  224. operating system on which the executable runs, unless that component
  225. itself accompanies the executable.
  226. If distribution of executable or object code is made by offering
  227. access to copy from a designated place, then offering equivalent
  228. access to copy the source code from the same place counts as
  229. distribution of the source code, even though third parties are not
  230. compelled to copy the source along with the object code.
  231. 4. You may not copy, modify, sublicense, or distribute the Program
  232. except as expressly provided under this License. Any attempt
  233. otherwise to copy, modify, sublicense or distribute the Program is
  234. void, and will automatically terminate your rights under this License.
  235. However, parties who have received copies, or rights, from you under
  236. this License will not have their licenses terminated so long as such
  237. parties remain in full compliance.
  238. 5. You are not required to accept this License, since you have not
  239. signed it. However, nothing else grants you permission to modify or
  240. distribute the Program or its derivative works. These actions are
  241. prohibited by law if you do not accept this License. Therefore, by
  242. modifying or distributing the Program (or any work based on the
  243. Program), you indicate your acceptance of this License to do so, and
  244. all its terms and conditions for copying, distributing or modifying
  245. the Program or works based on it.
  246. 6. Each time you redistribute the Program (or any work based on the
  247. Program), the recipient automatically receives a license from the
  248. original licensor to copy, distribute or modify the Program subject to
  249. these terms and conditions. You may not impose any further
  250. restrictions on the recipients' exercise of the rights granted herein.
  251. You are not responsible for enforcing compliance by third parties to
  252. this License.
  253. 7. If, as a consequence of a court judgment or allegation of patent
  254. infringement or for any other reason (not limited to patent issues),
  255. conditions are imposed on you (whether by court order, agreement or
  256. otherwise) that contradict the conditions of this License, they do not
  257. excuse you from the conditions of this License. If you cannot
  258. distribute so as to satisfy simultaneously your obligations under this
  259. License and any other pertinent obligations, then as a consequence you
  260. may not distribute the Program at all. For example, if a patent
  261. license would not permit royalty-free redistribution of the Program by
  262. all those who receive copies directly or indirectly through you, then
  263. the only way you could satisfy both it and this License would be to
  264. refrain entirely from distribution of the Program.
  265. If any portion of this section is held invalid or unenforceable under
  266. any particular circumstance, the balance of the section is intended to
  267. apply and the section as a whole is intended to apply in other
  268. circumstances.
  269. It is not the purpose of this section to induce you to infringe any
  270. patents or other property right claims or to contest validity of any
  271. such claims; this section has the sole purpose of protecting the
  272. integrity of the free software distribution system, which is
  273. implemented by public license practices. Many people have made
  274. generous contributions to the wide range of software distributed
  275. through that system in reliance on consistent application of that
  276. system; it is up to the author/donor to decide if he or she is willing
  277. to distribute software through any other system and a licensee cannot
  278. impose that choice.
  279. This section is intended to make thoroughly clear what is believed to
  280. be a consequence of the rest of this License.
  281. 8. If the distribution and/or use of the Program is restricted in
  282. certain countries either by patents or by copyrighted interfaces, the
  283. original copyright holder who places the Program under this License
  284. may add an explicit geographical distribution limitation excluding
  285. those countries, so that distribution is permitted only in or among
  286. countries not thus excluded. In such case, this License incorporates
  287. the limitation as if written in the body of this License.
  288. 9. The Free Software Foundation may publish revised and/or new versions
  289. of the General Public License from time to time. Such new versions will
  290. be similar in spirit to the present version, but may differ in detail to
  291. address new problems or concerns.
  292. Each version is given a distinguishing version number. If the Program
  293. specifies a version number of this License which applies to it and "any
  294. later version", you have the option of following the terms and conditions
  295. either of that version or of any later version published by the Free
  296. Software Foundation. If the Program does not specify a version number of
  297. this License, you may choose any version ever published by the Free Software
  298. Foundation.
  299. 10. If you wish to incorporate parts of the Program into other free
  300. programs whose distribution conditions are different, write to the author
  301. to ask for permission. For software which is copyrighted by the Free
  302. Software Foundation, write to the Free Software Foundation; we sometimes
  303. make exceptions for this. Our decision will be guided by the two goals
  304. of preserving the free status of all derivatives of our free software and
  305. of promoting the sharing and reuse of software generally.
  306. NO WARRANTY
  307. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  308. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  309. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  310. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  311. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  312. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  313. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  314. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  315. REPAIR OR CORRECTION.
  316. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  317. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  318. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  319. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  320. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  321. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  322. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  323. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  324. POSSIBILITY OF SUCH DAMAGES.
  325. END OF TERMS AND CONDITIONS
  326. How to Apply These Terms to Your New Programs
  327. If you develop a new program, and you want it to be of the greatest
  328. possible use to the public, the best way to achieve this is to make it
  329. free software which everyone can redistribute and change under these terms.
  330. To do so, attach the following notices to the program. It is safest
  331. to attach them to the start of each source file to most effectively
  332. convey the exclusion of warranty; and each file should have at least
  333. the "copyright" line and a pointer to where the full notice is found.
  334. <one line to give the program's name and a brief idea of what it does.>
  335. Copyright (C) <year> <name of author>
  336. This program is free software; you can redistribute it and/or modify
  337. it under the terms of the GNU General Public License as published by
  338. the Free Software Foundation; either version 2 of the License, or
  339. (at your option) any later version.
  340. This program is distributed in the hope that it will be useful,
  341. but WITHOUT ANY WARRANTY; without even the implied warranty of
  342. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  343. GNU General Public License for more details.
  344. You should have received a copy of the GNU General Public License along
  345. with this program; if not, write to the Free Software Foundation, Inc.,
  346. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  347. Also add information on how to contact you by electronic and paper mail.
  348. If the program is interactive, make it output a short notice like this
  349. when it starts in an interactive mode:
  350. Gnomovision version 69, Copyright (C) year name of author
  351. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  352. This is free software, and you are welcome to redistribute it
  353. under certain conditions; type `show c' for details.
  354. The hypothetical commands `show w' and `show c' should show the appropriate
  355. parts of the General Public License. Of course, the commands you use may
  356. be called something other than `show w' and `show c'; they could even be
  357. mouse-clicks or menu items--whatever suits your program.
  358. You should also get your employer (if you work as a programmer) or your
  359. school, if any, to sign a "copyright disclaimer" for the program, if
  360. necessary. Here is a sample; alter the names:
  361. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  362. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  363. <signature of Ty Coon>, 1 April 1989
  364. Ty Coon, President of Vice
  365. This General Public License does not permit incorporating your program into
  366. proprietary programs. If your program is a subroutine library, you may
  367. consider it more useful to permit linking proprietary applications with the
  368. library. If this is what you want to do, use the GNU Lesser General
  369. Public License instead of this License.
  370. GNU GENERAL PUBLIC LICENSE
  371. Version 3, 29 June 2007
  372. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  373. Everyone is permitted to copy and distribute verbatim copies
  374. of this license document, but changing it is not allowed.
  375. Preamble
  376. The GNU General Public License is a free, copyleft license for
  377. software and other kinds of works.
  378. The licenses for most software and other practical works are designed
  379. to take away your freedom to share and change the works. By contrast,
  380. the GNU General Public License is intended to guarantee your freedom to
  381. share and change all versions of a program--to make sure it remains free
  382. software for all its users. We, the Free Software Foundation, use the
  383. GNU General Public License for most of our software; it applies also to
  384. any other work released this way by its authors. You can apply it to
  385. your programs, too.
  386. When we speak of free software, we are referring to freedom, not
  387. price. Our General Public Licenses are designed to make sure that you
  388. have the freedom to distribute copies of free software (and charge for
  389. them if you wish), that you receive source code or can get it if you
  390. want it, that you can change the software or use pieces of it in new
  391. free programs, and that you know you can do these things.
  392. To protect your rights, we need to prevent others from denying you
  393. these rights or asking you to surrender the rights. Therefore, you have
  394. certain responsibilities if you distribute copies of the software, or if
  395. you modify it: responsibilities to respect the freedom of others.
  396. For example, if you distribute copies of such a program, whether
  397. gratis or for a fee, you must pass on to the recipients the same
  398. freedoms that you received. You must make sure that they, too, receive
  399. or can get the source code. And you must show them these terms so they
  400. know their rights.
  401. Developers that use the GNU GPL protect your rights with two steps:
  402. (1) assert copyright on the software, and (2) offer you this License
  403. giving you legal permission to copy, distribute and/or modify it.
  404. For the developers' and authors' protection, the GPL clearly explains
  405. that there is no warranty for this free software. For both users' and
  406. authors' sake, the GPL requires that modified versions be marked as
  407. changed, so that their problems will not be attributed erroneously to
  408. authors of previous versions.
  409. Some devices are designed to deny users access to install or run
  410. modified versions of the software inside them, although the manufacturer
  411. can do so. This is fundamentally incompatible with the aim of
  412. protecting users' freedom to change the software. The systematic
  413. pattern of such abuse occurs in the area of products for individuals to
  414. use, which is precisely where it is most unacceptable. Therefore, we
  415. have designed this version of the GPL to prohibit the practice for those
  416. products. If such problems arise substantially in other domains, we
  417. stand ready to extend this provision to those domains in future versions
  418. of the GPL, as needed to protect the freedom of users.
  419. Finally, every program is threatened constantly by software patents.
  420. States should not allow patents to restrict development and use of
  421. software on general-purpose computers, but in those that do, we wish to
  422. avoid the special danger that patents applied to a free program could
  423. make it effectively proprietary. To prevent this, the GPL assures that
  424. patents cannot be used to render the program non-free.
  425. The precise terms and conditions for copying, distribution and
  426. modification follow.
  427. TERMS AND CONDITIONS
  428. 0. Definitions.
  429. "This License" refers to version 3 of the GNU General Public License.
  430. "Copyright" also means copyright-like laws that apply to other kinds of
  431. works, such as semiconductor masks.
  432. "The Program" refers to any copyrightable work licensed under this
  433. License. Each licensee is addressed as "you". "Licensees" and
  434. "recipients" may be individuals or organizations.
  435. To "modify" a work means to copy from or adapt all or part of the work
  436. in a fashion requiring copyright permission, other than the making of an
  437. exact copy. The resulting work is called a "modified version" of the
  438. earlier work or a work "based on" the earlier work.
  439. A "covered work" means either the unmodified Program or a work based
  440. on the Program.
  441. To "propagate" a work means to do anything with it that, without
  442. permission, would make you directly or secondarily liable for
  443. infringement under applicable copyright law, except executing it on a
  444. computer or modifying a private copy. Propagation includes copying,
  445. distribution (with or without modification), making available to the
  446. public, and in some countries other activities as well.
  447. To "convey" a work means any kind of propagation that enables other
  448. parties to make or receive copies. Mere interaction with a user through
  449. a computer network, with no transfer of a copy, is not conveying.
  450. An interactive user interface displays "Appropriate Legal Notices"
  451. to the extent that it includes a convenient and prominently visible
  452. feature that (1) displays an appropriate copyright notice, and (2)
  453. tells the user that there is no warranty for the work (except to the
  454. extent that warranties are provided), that licensees may convey the
  455. work under this License, and how to view a copy of this License. If
  456. the interface presents a list of user commands or options, such as a
  457. menu, a prominent item in the list meets this criterion.
  458. 1. Source Code.
  459. The "source code" for a work means the preferred form of the work
  460. for making modifications to it. "Object code" means any non-source
  461. form of a work.
  462. A "Standard Interface" means an interface that either is an official
  463. standard defined by a recognized standards body, or, in the case of
  464. interfaces specified for a particular programming language, one that
  465. is widely used among developers working in that language.
  466. The "System Libraries" of an executable work include anything, other
  467. than the work as a whole, that (a) is included in the normal form of
  468. packaging a Major Component, but which is not part of that Major
  469. Component, and (b) serves only to enable use of the work with that
  470. Major Component, or to implement a Standard Interface for which an
  471. implementation is available to the public in source code form. A
  472. "Major Component", in this context, means a major essential component
  473. (kernel, window system, and so on) of the specific operating system
  474. (if any) on which the executable work runs, or a compiler used to
  475. produce the work, or an object code interpreter used to run it.
  476. The "Corresponding Source" for a work in object code form means all
  477. the source code needed to generate, install, and (for an executable
  478. work) run the object code and to modify the work, including scripts to
  479. control those activities. However, it does not include the work's
  480. System Libraries, or general-purpose tools or generally available free
  481. programs which are used unmodified in performing those activities but
  482. which are not part of the work. For example, Corresponding Source
  483. includes interface definition files associated with source files for
  484. the work, and the source code for shared libraries and dynamically
  485. linked subprograms that the work is specifically designed to require,
  486. such as by intimate data communication or control flow between those
  487. subprograms and other parts of the work.
  488. The Corresponding Source need not include anything that users
  489. can regenerate automatically from other parts of the Corresponding
  490. Source.
  491. The Corresponding Source for a work in source code form is that
  492. same work.
  493. 2. Basic Permissions.
  494. All rights granted under this License are granted for the term of
  495. copyright on the Program, and are irrevocable provided the stated
  496. conditions are met. This License explicitly affirms your unlimited
  497. permission to run the unmodified Program. The output from running a
  498. covered work is covered by this License only if the output, given its
  499. content, constitutes a covered work. This License acknowledges your
  500. rights of fair use or other equivalent, as provided by copyright law.
  501. You may make, run and propagate covered works that you do not
  502. convey, without conditions so long as your license otherwise remains
  503. in force. You may convey covered works to others for the sole purpose
  504. of having them make modifications exclusively for you, or provide you
  505. with facilities for running those works, provided that you comply with
  506. the terms of this License in conveying all material for which you do
  507. not control copyright. Those thus making or running the covered works
  508. for you must do so exclusively on your behalf, under your direction
  509. and control, on terms that prohibit them from making any copies of
  510. your copyrighted material outside their relationship with you.
  511. Conveying under any other circumstances is permitted solely under
  512. the conditions stated below. Sublicensing is not allowed; section 10
  513. makes it unnecessary.
  514. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  515. No covered work shall be deemed part of an effective technological
  516. measure under any applicable law fulfilling obligations under article
  517. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  518. similar laws prohibiting or restricting circumvention of such
  519. measures.
  520. When you convey a covered work, you waive any legal power to forbid
  521. circumvention of technological measures to the extent such circumvention
  522. is effected by exercising rights under this License with respect to
  523. the covered work, and you disclaim any intention to limit operation or
  524. modification of the work as a means of enforcing, against the work's
  525. users, your or third parties' legal rights to forbid circumvention of
  526. technological measures.
  527. 4. Conveying Verbatim Copies.
  528. You may convey verbatim copies of the Program's source code as you
  529. receive it, in any medium, provided that you conspicuously and
  530. appropriately publish on each copy an appropriate copyright notice;
  531. keep intact all notices stating that this License and any
  532. non-permissive terms added in accord with section 7 apply to the code;
  533. keep intact all notices of the absence of any warranty; and give all
  534. recipients a copy of this License along with the Program.
  535. You may charge any price or no price for each copy that you convey,
  536. and you may offer support or warranty protection for a fee.
  537. 5. Conveying Modified Source Versions.
  538. You may convey a work based on the Program, or the modifications to
  539. produce it from the Program, in the form of source code under the
  540. terms of section 4, provided that you also meet all of these conditions:
  541. a) The work must carry prominent notices stating that you modified
  542. it, and giving a relevant date.
  543. b) The work must carry prominent notices stating that it is
  544. released under this License and any conditions added under section
  545. 7. This requirement modifies the requirement in section 4 to
  546. "keep intact all notices".
  547. c) You must license the entire work, as a whole, under this
  548. License to anyone who comes into possession of a copy. This
  549. License will therefore apply, along with any applicable section 7
  550. additional terms, to the whole of the work, and all its parts,
  551. regardless of how they are packaged. This License gives no
  552. permission to license the work in any other way, but it does not
  553. invalidate such permission if you have separately received it.
  554. d) If the work has interactive user interfaces, each must display
  555. Appropriate Legal Notices; however, if the Program has interactive
  556. interfaces that do not display Appropriate Legal Notices, your
  557. work need not make them do so.
  558. A compilation of a covered work with other separate and independent
  559. works, which are not by their nature extensions of the covered work,
  560. and which are not combined with it such as to form a larger program,
  561. in or on a volume of a storage or distribution medium, is called an
  562. "aggregate" if the compilation and its resulting copyright are not
  563. used to limit the access or legal rights of the compilation's users
  564. beyond what the individual works permit. Inclusion of a covered work
  565. in an aggregate does not cause this License to apply to the other
  566. parts of the aggregate.
  567. 6. Conveying Non-Source Forms.
  568. You may convey a covered work in object code form under the terms
  569. of sections 4 and 5, provided that you also convey the
  570. machine-readable Corresponding Source under the terms of this License,
  571. in one of these ways:
  572. a) Convey the object code in, or embodied in, a physical product
  573. (including a physical distribution medium), accompanied by the
  574. Corresponding Source fixed on a durable physical medium
  575. customarily used for software interchange.
  576. b) Convey the object code in, or embodied in, a physical product
  577. (including a physical distribution medium), accompanied by a
  578. written offer, valid for at least three years and valid for as
  579. long as you offer spare parts or customer support for that product
  580. model, to give anyone who possesses the object code either (1) a
  581. copy of the Corresponding Source for all the software in the
  582. product that is covered by this License, on a durable physical
  583. medium customarily used for software interchange, for a price no
  584. more than your reasonable cost of physically performing this
  585. conveying of source, or (2) access to copy the
  586. Corresponding Source from a network server at no charge.
  587. c) Convey individual copies of the object code with a copy of the
  588. written offer to provide the Corresponding Source. This
  589. alternative is allowed only occasionally and noncommercially, and
  590. only if you received the object code with such an offer, in accord
  591. with subsection 6b.
  592. d) Convey the object code by offering access from a designated
  593. place (gratis or for a charge), and offer equivalent access to the
  594. Corresponding Source in the same way through the same place at no
  595. further charge. You need not require recipients to copy the
  596. Corresponding Source along with the object code. If the place to
  597. copy the object code is a network server, the Corresponding Source
  598. may be on a different server (operated by you or a third party)
  599. that supports equivalent copying facilities, provided you maintain
  600. clear directions next to the object code saying where to find the
  601. Corresponding Source. Regardless of what server hosts the
  602. Corresponding Source, you remain obligated to ensure that it is
  603. available for as long as needed to satisfy these requirements.
  604. e) Convey the object code using peer-to-peer transmission, provided
  605. you inform other peers where the object code and Corresponding
  606. Source of the work are being offered to the general public at no
  607. charge under subsection 6d.
  608. A separable portion of the object code, whose source code is excluded
  609. from the Corresponding Source as a System Library, need not be
  610. included in conveying the object code work.
  611. A "User Product" is either (1) a "consumer product", which means any
  612. tangible personal property which is normally used for personal, family,
  613. or household purposes, or (2) anything designed or sold for incorporation
  614. into a dwelling. In determining whether a product is a consumer product,
  615. doubtful cases shall be resolved in favor of coverage. For a particular
  616. product received by a particular user, "normally used" refers to a
  617. typical or common use of that class of product, regardless of the status
  618. of the particular user or of the way in which the particular user
  619. actually uses, or expects or is expected to use, the product. A product
  620. is a consumer product regardless of whether the product has substantial
  621. commercial, industrial or non-consumer uses, unless such uses represent
  622. the only significant mode of use of the product.
  623. "Installation Information" for a User Product means any methods,
  624. procedures, authorization keys, or other information required to install
  625. and execute modified versions of a covered work in that User Product from
  626. a modified version of its Corresponding Source. The information must
  627. suffice to ensure that the continued functioning of the modified object
  628. code is in no case prevented or interfered with solely because
  629. modification has been made.
  630. If you convey an object code work under this section in, or with, or
  631. specifically for use in, a User Product, and the conveying occurs as
  632. part of a transaction in which the right of possession and use of the
  633. User Product is transferred to the recipient in perpetuity or for a
  634. fixed term (regardless of how the transaction is characterized), the
  635. Corresponding Source conveyed under this section must be accompanied
  636. by the Installation Information. But this requirement does not apply
  637. if neither you nor any third party retains the ability to install
  638. modified object code on the User Product (for example, the work has
  639. been installed in ROM).
  640. The requirement to provide Installation Information does not include a
  641. requirement to continue to provide support service, warranty, or updates
  642. for a work that has been modified or installed by the recipient, or for
  643. the User Product in which it has been modified or installed. Access to a
  644. network may be denied when the modification itself materially and
  645. adversely affects the operation of the network or violates the rules and
  646. protocols for communication across the network.
  647. Corresponding Source conveyed, and Installation Information provided,
  648. in accord with this section must be in a format that is publicly
  649. documented (and with an implementation available to the public in
  650. source code form), and must require no special password or key for
  651. unpacking, reading or copying.
  652. 7. Additional Terms.
  653. "Additional permissions" are terms that supplement the terms of this
  654. License by making exceptions from one or more of its conditions.
  655. Additional permissions that are applicable to the entire Program shall
  656. be treated as though they were included in this License, to the extent
  657. that they are valid under applicable law. If additional permissions
  658. apply only to part of the Program, that part may be used separately
  659. under those permissions, but the entire Program remains governed by
  660. this License without regard to the additional permissions.
  661. When you convey a copy of a covered work, you may at your option
  662. remove any additional permissions from that copy, or from any part of
  663. it. (Additional permissions may be written to require their own
  664. removal in certain cases when you modify the work.) You may place
  665. additional permissions on material, added by you to a covered work,
  666. for which you have or can give appropriate copyright permission.
  667. Notwithstanding any other provision of this License, for material you
  668. add to a covered work, you may (if authorized by the copyright holders of
  669. that material) supplement the terms of this License with terms:
  670. a) Disclaiming warranty or limiting liability differently from the
  671. terms of sections 15 and 16 of this License; or
  672. b) Requiring preservation of specified reasonable legal notices or
  673. author attributions in that material or in the Appropriate Legal
  674. Notices displayed by works containing it; or
  675. c) Prohibiting misrepresentation of the origin of that material, or
  676. requiring that modified versions of such material be marked in
  677. reasonable ways as different from the original version; or
  678. d) Limiting the use for publicity purposes of names of licensors or
  679. authors of the material; or
  680. e) Declining to grant rights under trademark law for use of some
  681. trade names, trademarks, or service marks; or
  682. f) Requiring indemnification of licensors and authors of that
  683. material by anyone who conveys the material (or modified versions of
  684. it) with contractual assumptions of liability to the recipient, for
  685. any liability that these contractual assumptions directly impose on
  686. those licensors and authors.
  687. All other non-permissive additional terms are considered "further
  688. restrictions" within the meaning of section 10. If the Program as you
  689. received it, or any part of it, contains a notice stating that it is
  690. governed by this License along with a term that is a further
  691. restriction, you may remove that term. If a license document contains
  692. a further restriction but permits relicensing or conveying under this
  693. License, you may add to a covered work material governed by the terms
  694. of that license document, provided that the further restriction does
  695. not survive such relicensing or conveying.
  696. If you add terms to a covered work in accord with this section, you
  697. must place, in the relevant source files, a statement of the
  698. additional terms that apply to those files, or a notice indicating
  699. where to find the applicable terms.
  700. Additional terms, permissive or non-permissive, may be stated in the
  701. form of a separately written license, or stated as exceptions;
  702. the above requirements apply either way.
  703. 8. Termination.
  704. You may not propagate or modify a covered work except as expressly
  705. provided under this License. Any attempt otherwise to propagate or
  706. modify it is void, and will automatically terminate your rights under
  707. this License (including any patent licenses granted under the third
  708. paragraph of section 11).
  709. However, if you cease all violation of this License, then your
  710. license from a particular copyright holder is reinstated (a)
  711. provisionally, unless and until the copyright holder explicitly and
  712. finally terminates your license, and (b) permanently, if the copyright
  713. holder fails to notify you of the violation by some reasonable means
  714. prior to 60 days after the cessation.
  715. Moreover, your license from a particular copyright holder is
  716. reinstated permanently if the copyright holder notifies you of the
  717. violation by some reasonable means, this is the first time you have
  718. received notice of violation of this License (for any work) from that
  719. copyright holder, and you cure the violation prior to 30 days after
  720. your receipt of the notice.
  721. Termination of your rights under this section does not terminate the
  722. licenses of parties who have received copies or rights from you under
  723. this License. If your rights have been terminated and not permanently
  724. reinstated, you do not qualify to receive new licenses for the same
  725. material under section 10.
  726. 9. Acceptance Not Required for Having Copies.
  727. You are not required to accept this License in order to receive or
  728. run a copy of the Program. Ancillary propagation of a covered work
  729. occurring solely as a consequence of using peer-to-peer transmission
  730. to receive a copy likewise does not require acceptance. However,
  731. nothing other than this License grants you permission to propagate or
  732. modify any covered work. These actions infringe copyright if you do
  733. not accept this License. Therefore, by modifying or propagating a
  734. covered work, you indicate your acceptance of this License to do so.
  735. 10. Automatic Licensing of Downstream Recipients.
  736. Each time you convey a covered work, the recipient automatically
  737. receives a license from the original licensors, to run, modify and
  738. propagate that work, subject to this License. You are not responsible
  739. for enforcing compliance by third parties with this License.
  740. An "entity transaction" is a transaction transferring control of an
  741. organization, or substantially all assets of one, or subdividing an
  742. organization, or merging organizations. If propagation of a covered
  743. work results from an entity transaction, each party to that
  744. transaction who receives a copy of the work also receives whatever
  745. licenses to the work the party's predecessor in interest had or could
  746. give under the previous paragraph, plus a right to possession of the
  747. Corresponding Source of the work from the predecessor in interest, if
  748. the predecessor has it or can get it with reasonable efforts.
  749. You may not impose any further restrictions on the exercise of the
  750. rights granted or affirmed under this License. For example, you may
  751. not impose a license fee, royalty, or other charge for exercise of
  752. rights granted under this License, and you may not initiate litigation
  753. (including a cross-claim or counterclaim in a lawsuit) alleging that
  754. any patent claim is infringed by making, using, selling, offering for
  755. sale, or importing the Program or any portion of it.
  756. 11. Patents.
  757. A "contributor" is a copyright holder who authorizes use under this
  758. License of the Program or a work on which the Program is based. The
  759. work thus licensed is called the contributor's "contributor version".
  760. A contributor's "essential patent claims" are all patent claims
  761. owned or controlled by the contributor, whether already acquired or
  762. hereafter acquired, that would be infringed by some manner, permitted
  763. by this License, of making, using, or selling its contributor version,
  764. but do not include claims that would be infringed only as a
  765. consequence of further modification of the contributor version. For
  766. purposes of this definition, "control" includes the right to grant
  767. patent sublicenses in a manner consistent with the requirements of
  768. this License.
  769. Each contributor grants you a non-exclusive, worldwide, royalty-free
  770. patent license under the contributor's essential patent claims, to
  771. make, use, sell, offer for sale, import and otherwise run, modify and
  772. propagate the contents of its contributor version.
  773. In the following three paragraphs, a "patent license" is any express
  774. agreement or commitment, however denominated, not to enforce a patent
  775. (such as an express permission to practice a patent or covenant not to
  776. sue for patent infringement). To "grant" such a patent license to a
  777. party means to make such an agreement or commitment not to enforce a
  778. patent against the party.
  779. If you convey a covered work, knowingly relying on a patent license,
  780. and the Corresponding Source of the work is not available for anyone
  781. to copy, free of charge and under the terms of this License, through a
  782. publicly available network server or other readily accessible means,
  783. then you must either (1) cause the Corresponding Source to be so
  784. available, or (2) arrange to deprive yourself of the benefit of the
  785. patent license for this particular work, or (3) arrange, in a manner
  786. consistent with the requirements of this License, to extend the patent
  787. license to downstream recipients. "Knowingly relying" means you have
  788. actual knowledge that, but for the patent license, your conveying the
  789. covered work in a country, or your recipient's use of the covered work
  790. in a country, would infringe one or more identifiable patents in that
  791. country that you have reason to believe are valid.
  792. If, pursuant to or in connection with a single transaction or
  793. arrangement, you convey, or propagate by procuring conveyance of, a
  794. covered work, and grant a patent license to some of the parties
  795. receiving the covered work authorizing them to use, propagate, modify
  796. or convey a specific copy of the covered work, then the patent license
  797. you grant is automatically extended to all recipients of the covered
  798. work and works based on it.
  799. A patent license is "discriminatory" if it does not include within
  800. the scope of its coverage, prohibits the exercise of, or is
  801. conditioned on the non-exercise of one or more of the rights that are
  802. specifically granted under this License. You may not convey a covered
  803. work if you are a party to an arrangement with a third party that is
  804. in the business of distributing software, under which you make payment
  805. to the third party based on the extent of your activity of conveying
  806. the work, and under which the third party grants, to any of the
  807. parties who would receive the covered work from you, a discriminatory
  808. patent license (a) in connection with copies of the covered work
  809. conveyed by you (or copies made from those copies), or (b) primarily
  810. for and in connection with specific products or compilations that
  811. contain the covered work, unless you entered into that arrangement,
  812. or that patent license was granted, prior to 28 March 2007.
  813. Nothing in this License shall be construed as excluding or limiting
  814. any implied license or other defenses to infringement that may
  815. otherwise be available to you under applicable patent law.
  816. 12. No Surrender of Others' Freedom.
  817. If conditions are imposed on you (whether by court order, agreement or
  818. otherwise) that contradict the conditions of this License, they do not
  819. excuse you from the conditions of this License. If you cannot convey a
  820. covered work so as to satisfy simultaneously your obligations under this
  821. License and any other pertinent obligations, then as a consequence you may
  822. not convey it at all. For example, if you agree to terms that obligate you
  823. to collect a royalty for further conveying from those to whom you convey
  824. the Program, the only way you could satisfy both those terms and this
  825. License would be to refrain entirely from conveying the Program.
  826. 13. Use with the GNU Affero General Public License.
  827. Notwithstanding any other provision of this License, you have
  828. permission to link or combine any covered work with a work licensed
  829. under version 3 of the GNU Affero General Public License into a single
  830. combined work, and to convey the resulting work. The terms of this
  831. License will continue to apply to the part which is the covered work,
  832. but the special requirements of the GNU Affero General Public License,
  833. section 13, concerning interaction through a network will apply to the
  834. combination as such.
  835. 14. Revised Versions of this License.
  836. The Free Software Foundation may publish revised and/or new versions of
  837. the GNU General Public License from time to time. Such new versions will
  838. be similar in spirit to the present version, but may differ in detail to
  839. address new problems or concerns.
  840. Each version is given a distinguishing version number. If the
  841. Program specifies that a certain numbered version of the GNU General
  842. Public License "or any later version" applies to it, you have the
  843. option of following the terms and conditions either of that numbered
  844. version or of any later version published by the Free Software
  845. Foundation. If the Program does not specify a version number of the
  846. GNU General Public License, you may choose any version ever published
  847. by the Free Software Foundation.
  848. If the Program specifies that a proxy can decide which future
  849. versions of the GNU General Public License can be used, that proxy's
  850. public statement of acceptance of a version permanently authorizes you
  851. to choose that version for the Program.
  852. Later license versions may give you additional or different
  853. permissions. However, no additional obligations are imposed on any
  854. author or copyright holder as a result of your choosing to follow a
  855. later version.
  856. 15. Disclaimer of Warranty.
  857. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  858. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  859. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  860. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  861. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  862. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  863. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  864. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  865. 16. Limitation of Liability.
  866. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  867. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  868. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  869. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  870. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  871. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  872. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  873. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  874. SUCH DAMAGES.
  875. 17. Interpretation of Sections 15 and 16.
  876. If the disclaimer of warranty and limitation of liability provided
  877. above cannot be given local legal effect according to their terms,
  878. reviewing courts shall apply local law that most closely approximates
  879. an absolute waiver of all civil liability in connection with the
  880. Program, unless a warranty or assumption of liability accompanies a
  881. copy of the Program in return for a fee.
  882. END OF TERMS AND CONDITIONS
  883. How to Apply These Terms to Your New Programs
  884. If you develop a new program, and you want it to be of the greatest
  885. possible use to the public, the best way to achieve this is to make it
  886. free software which everyone can redistribute and change under these terms.
  887. To do so, attach the following notices to the program. It is safest
  888. to attach them to the start of each source file to most effectively
  889. state the exclusion of warranty; and each file should have at least
  890. the "copyright" line and a pointer to where the full notice is found.
  891. <one line to give the program's name and a brief idea of what it does.>
  892. Copyright (C) <year> <name of author>
  893. This program is free software: you can redistribute it and/or modify
  894. it under the terms of the GNU General Public License as published by
  895. the Free Software Foundation, either version 3 of the License, or
  896. (at your option) any later version.
  897. This program is distributed in the hope that it will be useful,
  898. but WITHOUT ANY WARRANTY; without even the implied warranty of
  899. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  900. GNU General Public License for more details.
  901. You should have received a copy of the GNU General Public License
  902. along with this program. If not, see <http://www.gnu.org/licenses/>.
  903. Also add information on how to contact you by electronic and paper mail.
  904. If the program does terminal interaction, make it output a short
  905. notice like this when it starts in an interactive mode:
  906. <program> Copyright (C) <year> <name of author>
  907. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  908. This is free software, and you are welcome to redistribute it
  909. under certain conditions; type `show c' for details.
  910. The hypothetical commands `show w' and `show c' should show the appropriate
  911. parts of the General Public License. Of course, your program's commands
  912. might be different; for a GUI interface, you would use an "about box".
  913. You should also get your employer (if you work as a programmer) or school,
  914. if any, to sign a "copyright disclaimer" for the program, if necessary.
  915. For more information on this, and how to apply and follow the GNU GPL, see
  916. <http://www.gnu.org/licenses/>.
  917. The GNU General Public License does not permit incorporating your program
  918. into proprietary programs. If your program is a subroutine library, you
  919. may consider it more useful to permit linking proprietary applications with
  920. the library. If this is what you want to do, use the GNU Lesser General
  921. Public License instead of this License. But first, please read
  922. <http://www.gnu.org/philosophy/why-not-lgpl.html>.
  923. Open Source Software Licensed under the GNU General Public License version 2:
  924. --------------------------------------------------------------------
  925. 1. bento4
  926. Copyright (C) Axiomatic Systems LLC
  927. Source code of this software can be obtained from: http://zebulon.bok.net/Bento4/source/Bento4-SRC-1-5-1-628.zip
  928. Terms of the GNU General Public License version 2:
  929. --------------------------------------------------------------------
  930. GNU GENERAL PUBLIC LICENSE
  931. Version 2, June 1991
  932. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  933. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  934. Everyone is permitted to copy and distribute verbatim copies
  935. of this license document, but changing it is not allowed.
  936. Preamble
  937. The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
  938. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
  939. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
  940. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
  941. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
  942. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
  943. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
  944. The precise terms and conditions for copying, distribution and modification follow.
  945. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  946. 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
  947. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
  948. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
  949. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
  950. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
  951. a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
  952. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
  953. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
  954. These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
  955. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
  956. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
  957. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
  958. a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
  959. b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
  960. c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
  961. The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
  962. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
  963. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
  964. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
  965. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
  966. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
  967. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
  968. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
  969. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
  970. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
  971. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
  972. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
  973. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
  974. NO WARRANTY
  975. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  976. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  977. END OF TERMS AND CONDITIONS
  978. How to Apply These Terms to Your New Programs
  979. If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
  980. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
  981. one line to give the program's name and an idea of what it does.
  982. Copyright (C) yyyy name of author
  983. This program is free software; you can redistribute it and/or
  984. modify it under the terms of the GNU General Public License
  985. as published by the Free Software Foundation; either version 2
  986. of the License, or (at your option) any later version.
  987. This program is distributed in the hope that it will be useful,
  988. but WITHOUT ANY WARRANTY; without even the implied warranty of
  989. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  990. GNU General Public License for more details.
  991. You should have received a copy of the GNU General Public License
  992. along with this program; if not, write to the Free Software
  993. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  994. Also add information on how to contact you by electronic and paper mail.
  995. If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
  996. Gnomovision version 69, Copyright (C) year name of author
  997. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
  998. type `show w'. This is free software, and you are welcome
  999. to redistribute it under certain conditions; type `show c'
  1000. for details.
  1001. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
  1002. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
  1003. Yoyodyne, Inc., hereby disclaims all copyright
  1004. interest in the program `Gnomovision'
  1005. (which makes passes at compilers) written
  1006. by James Hacker.
  1007. signature of Ty Coon, 1 April 1989
  1008. Ty Coon, President of Vice
  1009. This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.