license.txt 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355
  1. Licensing information
  2. =====================
  3. This distribution contains code from the following projects (full license text below):
  4. - LOVE
  5. Website: https://love2d.org/
  6. License: zlib
  7. Copyright (c) 2006-2023 LOVE Development Team
  8. - ENet
  9. Website: http://enet.bespin.org/index.html
  10. License: MIT/Expat
  11. Copyright (c) 2002-2016 Lee Salzman
  12. - FreeType
  13. Website: https://freetype.org/
  14. License: FreeType License
  15. Copyright (c) 2006-2017 David Turner, Robert Wilhelm, and Werner Lemberg.
  16. - GLAD
  17. Website: http://glad.dav1d.de/
  18. License: MIT/Expat
  19. Copyright (c) 2013 David Herberth, modified by Sasha Szpakowski
  20. - glslang
  21. Website: https://github.com/KhronosGroup/glslang
  22. License: 3-Clause BSD
  23. Copyright (C) 2002-2005 3Dlabs Inc. Ltd.
  24. Copyright (C) 2013-2016 LunarG, Inc.
  25. - Kepler Project's lua-compat-5.3
  26. Website: https://github.com/keplerproject/lua-compat-5.3
  27. License: MIT/Expat
  28. Copyright (c) 2015 Kepler Project.
  29. - lua-enet
  30. Website: http://leafo.net/lua-enet/
  31. License: MIT/Expat
  32. Copyright (C) 2011 by Leaf Corcoran
  33. - LuaJIT
  34. Website: http://luajit.org/
  35. License: MIT/Expat
  36. LuaJIT is Copyright (c) 2005-2016 Mike Pall
  37. - Lua's UTF-8 module
  38. Website: https://www.lua.org/
  39. License: MIT/Expat
  40. Copyright (C) 1994-2015 Lua.org, PUC-Rio, 2015 LOVE Development Team.
  41. - LuaSocket
  42. Website: http://w3.impa.br/~diego/software/luasocket/home.html
  43. License: MIT/Expat
  44. Copyright (C) 2004-2013 Diego Nehab
  45. - LZ4
  46. Website: https://lz4.github.io/lz4/
  47. License: 2-Clause BSD
  48. Copyright (C) 2011-2015, Yann Collet.
  49. You can contact the author at :
  50. - LZ4 source repository : https://github.com/Cyan4973/lz4
  51. - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
  52. - LodePNG
  53. Website: https://lodev.org/lodepng/
  54. Source download: https://github.com/lvandeve/lodepng
  55. License: zlib
  56. Copyright (c) 2005-2020 Lode Vandevenne
  57. - TinyEXR
  58. Website: https://github.com/syoyo/tinyexr
  59. License: 3-Clause BSD
  60. Copyright (c) 2014 - 2016, Syoyo Fujita
  61. - UTF8-CPP
  62. Website: https://github.com/nemtrif/utfcpp
  63. License: Unknown, MIT/Expat-like (listed as UTF8-CPP)
  64. Copyright 2006 Nemanja Trifunovic
  65. - xxHash
  66. Website: https://cyan4973.github.io/xxHash/
  67. License: 2-Clause BSD
  68. Copyright (C) 2012-2016, Yann Collet.
  69. You can contact the author at :
  70. - xxHash source repository : https://github.com/Cyan4973/xxHash
  71. - dr_flac
  72. Website: https://github.com/mackron/dr_libs
  73. Source download: https://github.com/mackron/dr_libs/blob/c5e5355/dr_flac.h
  74. License: MIT/Expat
  75. Copyright 2018 David Reid
  76. - stb_image
  77. Website: https://github.com/nothings/stb
  78. Source download: https://github.com/nothings/stb/blob/e140649ccf40818781b7e408f6228a486f6d254b/stb_image.h
  79. License: MIT/Expat
  80. Copyright (c) 2017 Sean Barrett
  81. - libmpg123
  82. Website: http://www.mpg123.de/
  83. Source download: http://sourceforge.net/projects/mpg123/files/latest/download
  84. License: LGPL 2.1
  85. Copyright (c) 1995-2013 by Michael Hipp and others, free software under the terms of the LGPL v2.1
  86. Detailed information from the debian project:
  87. Copyright 1995-2016 by the mpg123 project
  88. Copyright 2009-2011 by Malcolm Boczek
  89. Copyright 2008 Christian Weisgerber <[email protected]>
  90. Copyright 2006-2007 by Zuxy Meng
  91. Copyright 2000-2002 David Olofson
  92. Copyright 1998 Fabrice Bellard
  93. Copyright 1997 Mikko Tommila
  94. - OpenAL Soft
  95. Website: https://openal-soft.org/
  96. Source download: https://openal-soft.org/#download
  97. License: Mixed, licensing information obtained from the debian project
  98. - Alc/backends/opensl.c
  99. License: Apache 2.0
  100. Copyright 2011 The Android Open Source Project
  101. - examples/alhrtf.c examples/allatency.c examples/alloopback.c examples/alreverb.c examples/alstream.c examples/altonegen.c examples/common/alhelpers.c examples/common/sdl_sound.c utils/openal-info.c
  102. License: MIT/Expat
  103. Copyright © 2010, 2015 Chris Robinson <[email protected]>
  104. - examples/alffplay.c
  105. License: unclear, presumed LGPL 2.1 or higher
  106. Copyright © 2003 Fabrice Bellard
  107. Copyright © Martin Bohme
  108. - Alc/bs2b.c OpenAL32/Include/bs2b.h
  109. License: MIT/Expat
  110. Copyright 2005 by Boris Mikhaylov
  111. - cmake/FindALSA.cmake cmake/FindFFmpeg.cmake cmake/FindJACK.cmake cmake/FindSDL2.cmake
  112. License: 3-Clause BSD
  113. Copyright © 2006 Matthias Kretz
  114. Copyright © 2008 Alexander Neundorf
  115. Copyright © 2003-2011 Kitware, Inc.
  116. Copyright © 2009-2011 Philip Lowman
  117. Copyright © 2011 Michael Jansen
  118. Copyright © 2012 Benjamin Eikel
  119. - utils/makehrtf.c (not included in distribution)
  120. License: GPL 2 or higher (2 listed below)
  121. Copyright 2011-2014 Christopher Fitzgerald
  122. - Everything else:
  123. License: LGPL 2.0 or higher (2.1 listed below)
  124. Copyright © 1999-2014 the OpenAL team
  125. Copyright © 2008-2015 Christopher Fitzgerald
  126. Copyright © 2009-2015 Chris Robinson
  127. Copyright © 2013 Anis A. Hireche
  128. Copyright © 2013 Nasca Octavian Paul
  129. Copyright © 2013 Mike Gorchak
  130. Copyright © 2014 Timothy Arceri
  131. License text
  132. ============
  133. zlib license
  134. This software is provided 'as-is', without any express or implied
  135. warranty. In no event will the authors be held liable for any damages
  136. arising from the use of this software.
  137. Permission is granted to anyone to use this software for any purpose,
  138. including commercial applications, and to alter it and redistribute it
  139. freely, subject to the following restrictions:
  140. 1. The origin of this software must not be misrepresented; you must not
  141. claim that you wrote the original software. If you use this software
  142. in a product, an acknowledgment in the product documentation would be
  143. appreciated but is not required.
  144. 2. Altered source versions must be plainly marked as such, and must not be
  145. misrepresented as being the original software.
  146. 3. This notice may not be removed or altered from any source
  147. distribution.
  148. MIT/Expat
  149. Permission is hereby granted, free of charge, to any person obtaining a copy
  150. of this software and associated documentation files (the "Software"), to deal
  151. in the Software without restriction, including without limitation the rights
  152. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  153. copies of the Software, and to permit persons to whom the Software is
  154. furnished to do so, subject to the following conditions:
  155. The above copyright notice and this permission notice shall be included in
  156. all copies or substantial portions of the Software.
  157. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  158. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  159. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  160. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  161. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  162. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  163. THE SOFTWARE.
  164. FreeType License
  165. The FreeType Project LICENSE
  166. ----------------------------
  167. 2006-Jan-27
  168. Copyright 1996-2002, 2006 by
  169. David Turner, Robert Wilhelm, and Werner Lemberg
  170. Introduction
  171. ============
  172. The FreeType Project is distributed in several archive packages;
  173. some of them may contain, in addition to the FreeType font engine,
  174. various tools and contributions which rely on, or relate to, the
  175. FreeType Project.
  176. This license applies to all files found in such packages, and
  177. which do not fall under their own explicit license. The license
  178. affects thus the FreeType font engine, the test programs,
  179. documentation and makefiles, at the very least.
  180. This license was inspired by the BSD, Artistic, and IJG
  181. (Independent JPEG Group) licenses, which all encourage inclusion
  182. and use of free software in commercial and freeware products
  183. alike. As a consequence, its main points are that:
  184. o We don't promise that this software works. However, we will be
  185. interested in any kind of bug reports. (`as is' distribution)
  186. o You can use this software for whatever you want, in parts or
  187. full form, without having to pay us. (`royalty-free' usage)
  188. o You may not pretend that you wrote this software. If you use
  189. it, or only parts of it, in a program, you must acknowledge
  190. somewhere in your documentation that you have used the
  191. FreeType code. (`credits')
  192. We specifically permit and encourage the inclusion of this
  193. software, with or without modifications, in commercial products.
  194. We disclaim all warranties covering The FreeType Project and
  195. assume no liability related to The FreeType Project.
  196. Finally, many people asked us for a preferred form for a
  197. credit/disclaimer to use in compliance with this license. We thus
  198. encourage you to use the following text:
  199. """
  200. Portions of this software are copyright © <year> The FreeType
  201. Project (www.freetype.org). All rights reserved.
  202. """
  203. Please replace <year> with the value from the FreeType version you
  204. actually use.
  205. Legal Terms
  206. ===========
  207. 0. Definitions
  208. --------------
  209. Throughout this license, the terms `package', `FreeType Project',
  210. and `FreeType archive' refer to the set of files originally
  211. distributed by the authors (David Turner, Robert Wilhelm, and
  212. Werner Lemberg) as the `FreeType Project', be they named as alpha,
  213. beta or final release.
  214. `You' refers to the licensee, or person using the project, where
  215. `using' is a generic term including compiling the project's source
  216. code as well as linking it to form a `program' or `executable'.
  217. This program is referred to as `a program using the FreeType
  218. engine'.
  219. This license applies to all files distributed in the original
  220. FreeType Project, including all source code, binaries and
  221. documentation, unless otherwise stated in the file in its
  222. original, unmodified form as distributed in the original archive.
  223. If you are unsure whether or not a particular file is covered by
  224. this license, you must contact us to verify this.
  225. The FreeType Project is copyright (C) 1996-2000 by David Turner,
  226. Robert Wilhelm, and Werner Lemberg. All rights reserved except as
  227. specified below.
  228. 1. No Warranty
  229. --------------
  230. THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
  231. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  232. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  233. PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
  234. BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
  235. USE, OF THE FREETYPE PROJECT.
  236. 2. Redistribution
  237. -----------------
  238. This license grants a worldwide, royalty-free, perpetual and
  239. irrevocable right and license to use, execute, perform, compile,
  240. display, copy, create derivative works of, distribute and
  241. sublicense the FreeType Project (in both source and object code
  242. forms) and derivative works thereof for any purpose; and to
  243. authorize others to exercise some or all of the rights granted
  244. herein, subject to the following conditions:
  245. o Redistribution of source code must retain this license file
  246. (`FTL.TXT') unaltered; any additions, deletions or changes to
  247. the original files must be clearly indicated in accompanying
  248. documentation. The copyright notices of the unaltered,
  249. original files must be preserved in all copies of source
  250. files.
  251. o Redistribution in binary form must provide a disclaimer that
  252. states that the software is based in part of the work of the
  253. FreeType Team, in the distribution documentation. We also
  254. encourage you to put an URL to the FreeType web page in your
  255. documentation, though this isn't mandatory.
  256. These conditions apply to any software derived from or based on
  257. the FreeType Project, not just the unmodified files. If you use
  258. our work, you must acknowledge us. However, no fee need be paid
  259. to us.
  260. 3. Advertising
  261. --------------
  262. Neither the FreeType authors and contributors nor you shall use
  263. the name of the other for commercial, advertising, or promotional
  264. purposes without specific prior written permission.
  265. We suggest, but do not require, that you use one or more of the
  266. following phrases to refer to this software in your documentation
  267. or advertising materials: `FreeType Project', `FreeType Engine',
  268. `FreeType library', or `FreeType Distribution'.
  269. As you have not signed this license, you are not required to
  270. accept it. However, as the FreeType Project is copyrighted
  271. material, only this license, or another one contracted with the
  272. authors, grants you the right to use, distribute, and modify it.
  273. Therefore, by using, distributing, or modifying the FreeType
  274. Project, you indicate that you understand and accept all the terms
  275. of this license.
  276. 4. Contacts
  277. -----------
  278. There are two mailing lists related to FreeType:
  279. o [email protected]
  280. Discusses general use and applications of FreeType, as well as
  281. future and wanted additions to the library and distribution.
  282. If you are looking for support, start in this list if you
  283. haven't found anything to help you in the documentation.
  284. o [email protected]
  285. Discusses bugs, as well as engine internals, design issues,
  286. specific licenses, porting, etc.
  287. Our home page can be found at
  288. http://www.freetype.org
  289. 3-Clause BSD
  290. All rights reserved.
  291. Redistribution and use in source and binary forms, with or without
  292. modification, are permitted provided that the following conditions
  293. are met:
  294. Redistributions of source code must retain the above copyright
  295. notice, this list of conditions and the following disclaimer.
  296. Redistributions in binary form must reproduce the above
  297. copyright notice, this list of conditions and the following
  298. disclaimer in the documentation and/or other materials provided
  299. with the distribution.
  300. Neither the name of 3Dlabs Inc. Ltd. nor the names of its
  301. contributors may be used to endorse or promote products derived
  302. from this software without specific prior written permission.
  303. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  304. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  305. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  306. FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  307. COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  308. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  309. BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  310. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  311. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  312. LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  313. ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  314. POSSIBILITY OF SUCH DAMAGE.
  315. 2-Clause BSD
  316. Redistribution and use in source and binary forms, with or without
  317. modification, are permitted provided that the following conditions are
  318. met:
  319. * Redistributions of source code must retain the above copyright
  320. notice, this list of conditions and the following disclaimer.
  321. * Redistributions in binary form must reproduce the above
  322. copyright notice, this list of conditions and the following disclaimer
  323. in the documentation and/or other materials provided with the
  324. distribution.
  325. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  326. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  327. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  328. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  329. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  330. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  331. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  332. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  333. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  334. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  335. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  336. UTF8-CPP
  337. Permission is hereby granted, free of charge, to any person or organization
  338. obtaining a copy of the software and accompanying documentation covered by
  339. this license (the "Software") to use, reproduce, display, distribute,
  340. execute, and transmit the Software, and to prepare derivative works of the
  341. Software, and to permit third-parties to whom the Software is furnished to
  342. do so, all subject to the following:
  343. The copyright notices in the Software and this entire statement, including
  344. the above license grant, this restriction and the following disclaimer,
  345. must be included in all copies of the Software, in whole or in part, and
  346. all derivative works of the Software, unless such copies or derivative
  347. works are solely in the form of machine-executable object code generated by
  348. a source language processor.
  349. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  350. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  351. FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
  352. SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
  353. FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
  354. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  355. DEALINGS IN THE SOFTWARE.
  356. LGPL 2.1
  357. GNU LESSER GENERAL PUBLIC LICENSE
  358. Version 2.1, February 1999
  359. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  360. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  361. Everyone is permitted to copy and distribute verbatim copies
  362. of this license document, but changing it is not allowed.
  363. [This is the first released version of the Lesser GPL. It also counts
  364. as the successor of the GNU Library Public License, version 2, hence
  365. the version number 2.1.]
  366. Preamble
  367. The licenses for most software are designed to take away your
  368. freedom to share and change it. By contrast, the GNU General Public
  369. Licenses are intended to guarantee your freedom to share and change
  370. free software--to make sure the software is free for all its users.
  371. This license, the Lesser General Public License, applies to some
  372. specially designated software packages--typically libraries--of the
  373. Free Software Foundation and other authors who decide to use it. You
  374. can use it too, but we suggest you first think carefully about whether
  375. this license or the ordinary General Public License is the better
  376. strategy to use in any particular case, based on the explanations below.
  377. When we speak of free software, we are referring to freedom of use,
  378. not price. Our General Public Licenses are designed to make sure that
  379. you have the freedom to distribute copies of free software (and charge
  380. for this service if you wish); that you receive source code or can get
  381. it if you want it; that you can change the software and use pieces of
  382. it in new free programs; and that you are informed that you can do
  383. these things.
  384. To protect your rights, we need to make restrictions that forbid
  385. distributors to deny you these rights or to ask you to surrender these
  386. rights. These restrictions translate to certain responsibilities for
  387. you if you distribute copies of the library or if you modify it.
  388. For example, if you distribute copies of the library, whether gratis
  389. or for a fee, you must give the recipients all the rights that we gave
  390. you. You must make sure that they, too, receive or can get the source
  391. code. If you link other code with the library, you must provide
  392. complete object files to the recipients, so that they can relink them
  393. with the library after making changes to the library and recompiling
  394. it. And you must show them these terms so they know their rights.
  395. We protect your rights with a two-step method: (1) we copyright the
  396. library, and (2) we offer you this license, which gives you legal
  397. permission to copy, distribute and/or modify the library.
  398. To protect each distributor, we want to make it very clear that
  399. there is no warranty for the free library. Also, if the library is
  400. modified by someone else and passed on, the recipients should know
  401. that what they have is not the original version, so that the original
  402. author's reputation will not be affected by problems that might be
  403. introduced by others.
  404. Finally, software patents pose a constant threat to the existence of
  405. any free program. We wish to make sure that a company cannot
  406. effectively restrict the users of a free program by obtaining a
  407. restrictive license from a patent holder. Therefore, we insist that
  408. any patent license obtained for a version of the library must be
  409. consistent with the full freedom of use specified in this license.
  410. Most GNU software, including some libraries, is covered by the
  411. ordinary GNU General Public License. This license, the GNU Lesser
  412. General Public License, applies to certain designated libraries, and
  413. is quite different from the ordinary General Public License. We use
  414. this license for certain libraries in order to permit linking those
  415. libraries into non-free programs.
  416. When a program is linked with a library, whether statically or using
  417. a shared library, the combination of the two is legally speaking a
  418. combined work, a derivative of the original library. The ordinary
  419. General Public License therefore permits such linking only if the
  420. entire combination fits its criteria of freedom. The Lesser General
  421. Public License permits more lax criteria for linking other code with
  422. the library.
  423. We call this license the "Lesser" General Public License because it
  424. does Less to protect the user's freedom than the ordinary General
  425. Public License. It also provides other free software developers Less
  426. of an advantage over competing non-free programs. These disadvantages
  427. are the reason we use the ordinary General Public License for many
  428. libraries. However, the Lesser license provides advantages in certain
  429. special circumstances.
  430. For example, on rare occasions, there may be a special need to
  431. encourage the widest possible use of a certain library, so that it becomes
  432. a de-facto standard. To achieve this, non-free programs must be
  433. allowed to use the library. A more frequent case is that a free
  434. library does the same job as widely used non-free libraries. In this
  435. case, there is little to gain by limiting the free library to free
  436. software only, so we use the Lesser General Public License.
  437. In other cases, permission to use a particular library in non-free
  438. programs enables a greater number of people to use a large body of
  439. free software. For example, permission to use the GNU C Library in
  440. non-free programs enables many more people to use the whole GNU
  441. operating system, as well as its variant, the GNU/Linux operating
  442. system.
  443. Although the Lesser General Public License is Less protective of the
  444. users' freedom, it does ensure that the user of a program that is
  445. linked with the Library has the freedom and the wherewithal to run
  446. that program using a modified version of the Library.
  447. The precise terms and conditions for copying, distribution and
  448. modification follow. Pay close attention to the difference between a
  449. "work based on the library" and a "work that uses the library". The
  450. former contains code derived from the library, whereas the latter must
  451. be combined with the library in order to run.
  452. GNU LESSER GENERAL PUBLIC LICENSE
  453. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  454. 0. This License Agreement applies to any software library or other
  455. program which contains a notice placed by the copyright holder or
  456. other authorized party saying it may be distributed under the terms of
  457. this Lesser General Public License (also called "this License").
  458. Each licensee is addressed as "you".
  459. A "library" means a collection of software functions and/or data
  460. prepared so as to be conveniently linked with application programs
  461. (which use some of those functions and data) to form executables.
  462. The "Library", below, refers to any such software library or work
  463. which has been distributed under these terms. A "work based on the
  464. Library" means either the Library or any derivative work under
  465. copyright law: that is to say, a work containing the Library or a
  466. portion of it, either verbatim or with modifications and/or translated
  467. straightforwardly into another language. (Hereinafter, translation is
  468. included without limitation in the term "modification".)
  469. "Source code" for a work means the preferred form of the work for
  470. making modifications to it. For a library, complete source code means
  471. all the source code for all modules it contains, plus any associated
  472. interface definition files, plus the scripts used to control compilation
  473. and installation of the library.
  474. Activities other than copying, distribution and modification are not
  475. covered by this License; they are outside its scope. The act of
  476. running a program using the Library is not restricted, and output from
  477. such a program is covered only if its contents constitute a work based
  478. on the Library (independent of the use of the Library in a tool for
  479. writing it). Whether that is true depends on what the Library does
  480. and what the program that uses the Library does.
  481. 1. You may copy and distribute verbatim copies of the Library's
  482. complete source code as you receive it, in any medium, provided that
  483. you conspicuously and appropriately publish on each copy an
  484. appropriate copyright notice and disclaimer of warranty; keep intact
  485. all the notices that refer to this License and to the absence of any
  486. warranty; and distribute a copy of this License along with the
  487. Library.
  488. You may charge a fee for the physical act of transferring a copy,
  489. and you may at your option offer warranty protection in exchange for a
  490. fee.
  491. 2. You may modify your copy or copies of the Library or any portion
  492. of it, thus forming a work based on the Library, and copy and
  493. distribute such modifications or work under the terms of Section 1
  494. above, provided that you also meet all of these conditions:
  495. a) The modified work must itself be a software library.
  496. b) You must cause the files modified to carry prominent notices
  497. stating that you changed the files and the date of any change.
  498. c) You must cause the whole of the work to be licensed at no
  499. charge to all third parties under the terms of this License.
  500. d) If a facility in the modified Library refers to a function or a
  501. table of data to be supplied by an application program that uses
  502. the facility, other than as an argument passed when the facility
  503. is invoked, then you must make a good faith effort to ensure that,
  504. in the event an application does not supply such function or
  505. table, the facility still operates, and performs whatever part of
  506. its purpose remains meaningful.
  507. (For example, a function in a library to compute square roots has
  508. a purpose that is entirely well-defined independent of the
  509. application. Therefore, Subsection 2d requires that any
  510. application-supplied function or table used by this function must
  511. be optional: if the application does not supply it, the square
  512. root function must still compute square roots.)
  513. These requirements apply to the modified work as a whole. If
  514. identifiable sections of that work are not derived from the Library,
  515. and can be reasonably considered independent and separate works in
  516. themselves, then this License, and its terms, do not apply to those
  517. sections when you distribute them as separate works. But when you
  518. distribute the same sections as part of a whole which is a work based
  519. on the Library, the distribution of the whole must be on the terms of
  520. this License, whose permissions for other licensees extend to the
  521. entire whole, and thus to each and every part regardless of who wrote
  522. it.
  523. Thus, it is not the intent of this section to claim rights or contest
  524. your rights to work written entirely by you; rather, the intent is to
  525. exercise the right to control the distribution of derivative or
  526. collective works based on the Library.
  527. In addition, mere aggregation of another work not based on the Library
  528. with the Library (or with a work based on the Library) on a volume of
  529. a storage or distribution medium does not bring the other work under
  530. the scope of this License.
  531. 3. You may opt to apply the terms of the ordinary GNU General Public
  532. License instead of this License to a given copy of the Library. To do
  533. this, you must alter all the notices that refer to this License, so
  534. that they refer to the ordinary GNU General Public License, version 2,
  535. instead of to this License. (If a newer version than version 2 of the
  536. ordinary GNU General Public License has appeared, then you can specify
  537. that version instead if you wish.) Do not make any other change in
  538. these notices.
  539. Once this change is made in a given copy, it is irreversible for
  540. that copy, so the ordinary GNU General Public License applies to all
  541. subsequent copies and derivative works made from that copy.
  542. This option is useful when you wish to copy part of the code of
  543. the Library into a program that is not a library.
  544. 4. You may copy and distribute the Library (or a portion or
  545. derivative of it, under Section 2) in object code or executable form
  546. under the terms of Sections 1 and 2 above provided that you accompany
  547. it with the complete corresponding machine-readable source code, which
  548. must be distributed under the terms of Sections 1 and 2 above on a
  549. medium customarily used for software interchange.
  550. If distribution of object code is made by offering access to copy
  551. from a designated place, then offering equivalent access to copy the
  552. source code from the same place satisfies the requirement to
  553. distribute the source code, even though third parties are not
  554. compelled to copy the source along with the object code.
  555. 5. A program that contains no derivative of any portion of the
  556. Library, but is designed to work with the Library by being compiled or
  557. linked with it, is called a "work that uses the Library". Such a
  558. work, in isolation, is not a derivative work of the Library, and
  559. therefore falls outside the scope of this License.
  560. However, linking a "work that uses the Library" with the Library
  561. creates an executable that is a derivative of the Library (because it
  562. contains portions of the Library), rather than a "work that uses the
  563. library". The executable is therefore covered by this License.
  564. Section 6 states terms for distribution of such executables.
  565. When a "work that uses the Library" uses material from a header file
  566. that is part of the Library, the object code for the work may be a
  567. derivative work of the Library even though the source code is not.
  568. Whether this is true is especially significant if the work can be
  569. linked without the Library, or if the work is itself a library. The
  570. threshold for this to be true is not precisely defined by law.
  571. If such an object file uses only numerical parameters, data
  572. structure layouts and accessors, and small macros and small inline
  573. functions (ten lines or less in length), then the use of the object
  574. file is unrestricted, regardless of whether it is legally a derivative
  575. work. (Executables containing this object code plus portions of the
  576. Library will still fall under Section 6.)
  577. Otherwise, if the work is a derivative of the Library, you may
  578. distribute the object code for the work under the terms of Section 6.
  579. Any executables containing that work also fall under Section 6,
  580. whether or not they are linked directly with the Library itself.
  581. 6. As an exception to the Sections above, you may also combine or
  582. link a "work that uses the Library" with the Library to produce a
  583. work containing portions of the Library, and distribute that work
  584. under terms of your choice, provided that the terms permit
  585. modification of the work for the customer's own use and reverse
  586. engineering for debugging such modifications.
  587. You must give prominent notice with each copy of the work that the
  588. Library is used in it and that the Library and its use are covered by
  589. this License. You must supply a copy of this License. If the work
  590. during execution displays copyright notices, you must include the
  591. copyright notice for the Library among them, as well as a reference
  592. directing the user to the copy of this License. Also, you must do one
  593. of these things:
  594. a) Accompany the work with the complete corresponding
  595. machine-readable source code for the Library including whatever
  596. changes were used in the work (which must be distributed under
  597. Sections 1 and 2 above); and, if the work is an executable linked
  598. with the Library, with the complete machine-readable "work that
  599. uses the Library", as object code and/or source code, so that the
  600. user can modify the Library and then relink to produce a modified
  601. executable containing the modified Library. (It is understood
  602. that the user who changes the contents of definitions files in the
  603. Library will not necessarily be able to recompile the application
  604. to use the modified definitions.)
  605. b) Use a suitable shared library mechanism for linking with the
  606. Library. A suitable mechanism is one that (1) uses at run time a
  607. copy of the library already present on the user's computer system,
  608. rather than copying library functions into the executable, and (2)
  609. will operate properly with a modified version of the library, if
  610. the user installs one, as long as the modified version is
  611. interface-compatible with the version that the work was made with.
  612. c) Accompany the work with a written offer, valid for at
  613. least three years, to give the same user the materials
  614. specified in Subsection 6a, above, for a charge no more
  615. than the cost of performing this distribution.
  616. d) If distribution of the work is made by offering access to copy
  617. from a designated place, offer equivalent access to copy the above
  618. specified materials from the same place.
  619. e) Verify that the user has already received a copy of these
  620. materials or that you have already sent this user a copy.
  621. For an executable, the required form of the "work that uses the
  622. Library" must include any data and utility programs needed for
  623. reproducing the executable from it. However, as a special exception,
  624. the materials to be distributed need not include anything that is
  625. normally distributed (in either source or binary form) with the major
  626. components (compiler, kernel, and so on) of the operating system on
  627. which the executable runs, unless that component itself accompanies
  628. the executable.
  629. It may happen that this requirement contradicts the license
  630. restrictions of other proprietary libraries that do not normally
  631. accompany the operating system. Such a contradiction means you cannot
  632. use both them and the Library together in an executable that you
  633. distribute.
  634. 7. You may place library facilities that are a work based on the
  635. Library side-by-side in a single library together with other library
  636. facilities not covered by this License, and distribute such a combined
  637. library, provided that the separate distribution of the work based on
  638. the Library and of the other library facilities is otherwise
  639. permitted, and provided that you do these two things:
  640. a) Accompany the combined library with a copy of the same work
  641. based on the Library, uncombined with any other library
  642. facilities. This must be distributed under the terms of the
  643. Sections above.
  644. b) Give prominent notice with the combined library of the fact
  645. that part of it is a work based on the Library, and explaining
  646. where to find the accompanying uncombined form of the same work.
  647. 8. You may not copy, modify, sublicense, link with, or distribute
  648. the Library except as expressly provided under this License. Any
  649. attempt otherwise to copy, modify, sublicense, link with, or
  650. distribute the Library is void, and will automatically terminate your
  651. rights under this License. However, parties who have received copies,
  652. or rights, from you under this License will not have their licenses
  653. terminated so long as such parties remain in full compliance.
  654. 9. You are not required to accept this License, since you have not
  655. signed it. However, nothing else grants you permission to modify or
  656. distribute the Library or its derivative works. These actions are
  657. prohibited by law if you do not accept this License. Therefore, by
  658. modifying or distributing the Library (or any work based on the
  659. Library), you indicate your acceptance of this License to do so, and
  660. all its terms and conditions for copying, distributing or modifying
  661. the Library or works based on it.
  662. 10. Each time you redistribute the Library (or any work based on the
  663. Library), the recipient automatically receives a license from the
  664. original licensor to copy, distribute, link with or modify the Library
  665. subject to these terms and conditions. You may not impose any further
  666. restrictions on the recipients' exercise of the rights granted herein.
  667. You are not responsible for enforcing compliance by third parties with
  668. this License.
  669. 11. If, as a consequence of a court judgment or allegation of patent
  670. infringement or for any other reason (not limited to patent issues),
  671. conditions are imposed on you (whether by court order, agreement or
  672. otherwise) that contradict the conditions of this License, they do not
  673. excuse you from the conditions of this License. If you cannot
  674. distribute so as to satisfy simultaneously your obligations under this
  675. License and any other pertinent obligations, then as a consequence you
  676. may not distribute the Library at all. For example, if a patent
  677. license would not permit royalty-free redistribution of the Library by
  678. all those who receive copies directly or indirectly through you, then
  679. the only way you could satisfy both it and this License would be to
  680. refrain entirely from distribution of the Library.
  681. If any portion of this section is held invalid or unenforceable under any
  682. particular circumstance, the balance of the section is intended to apply,
  683. and the section as a whole is intended to apply in other circumstances.
  684. It is not the purpose of this section to induce you to infringe any
  685. patents or other property right claims or to contest validity of any
  686. such claims; this section has the sole purpose of protecting the
  687. integrity of the free software distribution system which is
  688. implemented by public license practices. Many people have made
  689. generous contributions to the wide range of software distributed
  690. through that system in reliance on consistent application of that
  691. system; it is up to the author/donor to decide if he or she is willing
  692. to distribute software through any other system and a licensee cannot
  693. impose that choice.
  694. This section is intended to make thoroughly clear what is believed to
  695. be a consequence of the rest of this License.
  696. 12. If the distribution and/or use of the Library is restricted in
  697. certain countries either by patents or by copyrighted interfaces, the
  698. original copyright holder who places the Library under this License may add
  699. an explicit geographical distribution limitation excluding those countries,
  700. so that distribution is permitted only in or among countries not thus
  701. excluded. In such case, this License incorporates the limitation as if
  702. written in the body of this License.
  703. 13. The Free Software Foundation may publish revised and/or new
  704. versions of the Lesser General Public License from time to time.
  705. Such new versions will be similar in spirit to the present version,
  706. but may differ in detail to address new problems or concerns.
  707. Each version is given a distinguishing version number. If the Library
  708. specifies a version number of this License which applies to it and
  709. "any later version", you have the option of following the terms and
  710. conditions either of that version or of any later version published by
  711. the Free Software Foundation. If the Library does not specify a
  712. license version number, you may choose any version ever published by
  713. the Free Software Foundation.
  714. 14. If you wish to incorporate parts of the Library into other free
  715. programs whose distribution conditions are incompatible with these,
  716. write to the author to ask for permission. For software which is
  717. copyrighted by the Free Software Foundation, write to the Free
  718. Software Foundation; we sometimes make exceptions for this. Our
  719. decision will be guided by the two goals of preserving the free status
  720. of all derivatives of our free software and of promoting the sharing
  721. and reuse of software generally.
  722. NO WARRANTY
  723. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  724. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  725. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  726. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  727. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  728. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  729. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  730. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  731. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  732. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  733. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  734. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  735. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  736. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  737. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  738. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  739. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  740. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  741. DAMAGES.
  742. END OF TERMS AND CONDITIONS
  743. How to Apply These Terms to Your New Libraries
  744. If you develop a new library, and you want it to be of the greatest
  745. possible use to the public, we recommend making it free software that
  746. everyone can redistribute and change. You can do so by permitting
  747. redistribution under these terms (or, alternatively, under the terms of the
  748. ordinary General Public License).
  749. To apply these terms, attach the following notices to the library. It is
  750. safest to attach them to the start of each source file to most effectively
  751. convey the exclusion of warranty; and each file should have at least the
  752. "copyright" line and a pointer to where the full notice is found.
  753. <one line to give the library's name and a brief idea of what it does.>
  754. Copyright (C) <year> <name of author>
  755. This library is free software; you can redistribute it and/or
  756. modify it under the terms of the GNU Lesser General Public
  757. License as published by the Free Software Foundation; either
  758. version 2.1 of the License, or (at your option) any later version.
  759. This library is distributed in the hope that it will be useful,
  760. but WITHOUT ANY WARRANTY; without even the implied warranty of
  761. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  762. Lesser General Public License for more details.
  763. You should have received a copy of the GNU Lesser General Public
  764. License along with this library; if not, write to the Free Software
  765. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  766. Also add information on how to contact you by electronic and paper mail.
  767. You should also get your employer (if you work as a programmer) or your
  768. school, if any, to sign a "copyright disclaimer" for the library, if
  769. necessary. Here is a sample; alter the names:
  770. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  771. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  772. <signature of Ty Coon>, 1 April 1990
  773. Ty Coon, President of Vice
  774. That's all there is to it!
  775. GPL 2
  776. GNU GENERAL PUBLIC LICENSE
  777. Version 2, June 1991
  778. Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  779. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  780. Everyone is permitted to copy and distribute verbatim copies
  781. of this license document, but changing it is not allowed.
  782. Preamble
  783. The licenses for most software are designed to take away your
  784. freedom to share and change it. By contrast, the GNU General Public
  785. License is intended to guarantee your freedom to share and change free
  786. software--to make sure the software is free for all its users. This
  787. General Public License applies to most of the Free Software
  788. Foundation's software and to any other program whose authors commit to
  789. using it. (Some other Free Software Foundation software is covered by
  790. the GNU Lesser General Public License instead.) You can apply it to
  791. your programs, too.
  792. When we speak of free software, we are referring to freedom, not
  793. price. Our General Public Licenses are designed to make sure that you
  794. have the freedom to distribute copies of free software (and charge for
  795. this service if you wish), that you receive source code or can get it
  796. if you want it, that you can change the software or use pieces of it
  797. in new free programs; and that you know you can do these things.
  798. To protect your rights, we need to make restrictions that forbid
  799. anyone to deny you these rights or to ask you to surrender the rights.
  800. These restrictions translate to certain responsibilities for you if you
  801. distribute copies of the software, or if you modify it.
  802. For example, if you distribute copies of such a program, whether
  803. gratis or for a fee, you must give the recipients all the rights that
  804. you have. You must make sure that they, too, receive or can get the
  805. source code. And you must show them these terms so they know their
  806. rights.
  807. We protect your rights with two steps: (1) copyright the software, and
  808. (2) offer you this license which gives you legal permission to copy,
  809. distribute and/or modify the software.
  810. Also, for each author's protection and ours, we want to make certain
  811. that everyone understands that there is no warranty for this free
  812. software. If the software is modified by someone else and passed on, we
  813. want its recipients to know that what they have is not the original, so
  814. that any problems introduced by others will not reflect on the original
  815. authors' reputations.
  816. Finally, any free program is threatened constantly by software
  817. patents. We wish to avoid the danger that redistributors of a free
  818. program will individually obtain patent licenses, in effect making the
  819. program proprietary. To prevent this, we have made it clear that any
  820. patent must be licensed for everyone's free use or not licensed at all.
  821. The precise terms and conditions for copying, distribution and
  822. modification follow.
  823. GNU GENERAL PUBLIC LICENSE
  824. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  825. 0. This License applies to any program or other work which contains
  826. a notice placed by the copyright holder saying it may be distributed
  827. under the terms of this General Public License. The "Program", below,
  828. refers to any such program or work, and a "work based on the Program"
  829. means either the Program or any derivative work under copyright law:
  830. that is to say, a work containing the Program or a portion of it,
  831. either verbatim or with modifications and/or translated into another
  832. language. (Hereinafter, translation is included without limitation in
  833. the term "modification".) Each licensee is addressed as "you".
  834. Activities other than copying, distribution and modification are not
  835. covered by this License; they are outside its scope. The act of
  836. running the Program is not restricted, and the output from the Program
  837. is covered only if its contents constitute a work based on the
  838. Program (independent of having been made by running the Program).
  839. Whether that is true depends on what the Program does.
  840. 1. You may copy and distribute verbatim copies of the Program's
  841. source code as you receive it, in any medium, provided that you
  842. conspicuously and appropriately publish on each copy an appropriate
  843. copyright notice and disclaimer of warranty; keep intact all the
  844. notices that refer to this License and to the absence of any warranty;
  845. and give any other recipients of the Program a copy of this License
  846. along with the Program.
  847. You may charge a fee for the physical act of transferring a copy, and
  848. you may at your option offer warranty protection in exchange for a fee.
  849. 2. You may modify your copy or copies of the Program or any portion
  850. of it, thus forming a work based on the Program, and copy and
  851. distribute such modifications or work under the terms of Section 1
  852. above, provided that you also meet all of these conditions:
  853. a) You must cause the modified files to carry prominent notices
  854. stating that you changed the files and the date of any change.
  855. b) You must cause any work that you distribute or publish, that in
  856. whole or in part contains or is derived from the Program or any
  857. part thereof, to be licensed as a whole at no charge to all third
  858. parties under the terms of this License.
  859. c) If the modified program normally reads commands interactively
  860. when run, you must cause it, when started running for such
  861. interactive use in the most ordinary way, to print or display an
  862. announcement including an appropriate copyright notice and a
  863. notice that there is no warranty (or else, saying that you provide
  864. a warranty) and that users may redistribute the program under
  865. these conditions, and telling the user how to view a copy of this
  866. License. (Exception: if the Program itself is interactive but
  867. does not normally print such an announcement, your work based on
  868. the Program is not required to print an announcement.)
  869. These requirements apply to the modified work as a whole. If
  870. identifiable sections of that work are not derived from the Program,
  871. and can be reasonably considered independent and separate works in
  872. themselves, then this License, and its terms, do not apply to those
  873. sections when you distribute them as separate works. But when you
  874. distribute the same sections as part of a whole which is a work based
  875. on the Program, the distribution of the whole must be on the terms of
  876. this License, whose permissions for other licensees extend to the
  877. entire whole, and thus to each and every part regardless of who wrote it.
  878. Thus, it is not the intent of this section to claim rights or contest
  879. your rights to work written entirely by you; rather, the intent is to
  880. exercise the right to control the distribution of derivative or
  881. collective works based on the Program.
  882. In addition, mere aggregation of another work not based on the Program
  883. with the Program (or with a work based on the Program) on a volume of
  884. a storage or distribution medium does not bring the other work under
  885. the scope of this License.
  886. 3. You may copy and distribute the Program (or a work based on it,
  887. under Section 2) in object code or executable form under the terms of
  888. Sections 1 and 2 above provided that you also do one of the following:
  889. a) Accompany it with the complete corresponding machine-readable
  890. source code, which must be distributed under the terms of Sections
  891. 1 and 2 above on a medium customarily used for software interchange; or,
  892. b) Accompany it with a written offer, valid for at least three
  893. years, to give any third party, for a charge no more than your
  894. cost of physically performing source distribution, a complete
  895. machine-readable copy of the corresponding source code, to be
  896. distributed under the terms of Sections 1 and 2 above on a medium
  897. customarily used for software interchange; or,
  898. c) Accompany it with the information you received as to the offer
  899. to distribute corresponding source code. (This alternative is
  900. allowed only for noncommercial distribution and only if you
  901. received the program in object code or executable form with such
  902. an offer, in accord with Subsection b above.)
  903. The source code for a work means the preferred form of the work for
  904. making modifications to it. For an executable work, complete source
  905. code means all the source code for all modules it contains, plus any
  906. associated interface definition files, plus the scripts used to
  907. control compilation and installation of the executable. However, as a
  908. special exception, the source code distributed need not include
  909. anything that is normally distributed (in either source or binary
  910. form) with the major components (compiler, kernel, and so on) of the
  911. operating system on which the executable runs, unless that component
  912. itself accompanies the executable.
  913. If distribution of executable or object code is made by offering
  914. access to copy from a designated place, then offering equivalent
  915. access to copy the source code from the same place counts as
  916. distribution of the source code, even though third parties are not
  917. compelled to copy the source along with the object code.
  918. 4. You may not copy, modify, sublicense, or distribute the Program
  919. except as expressly provided under this License. Any attempt
  920. otherwise to copy, modify, sublicense or distribute the Program is
  921. void, and will automatically terminate your rights under this License.
  922. However, parties who have received copies, or rights, from you under
  923. this License will not have their licenses terminated so long as such
  924. parties remain in full compliance.
  925. 5. You are not required to accept this License, since you have not
  926. signed it. However, nothing else grants you permission to modify or
  927. distribute the Program or its derivative works. These actions are
  928. prohibited by law if you do not accept this License. Therefore, by
  929. modifying or distributing the Program (or any work based on the
  930. Program), you indicate your acceptance of this License to do so, and
  931. all its terms and conditions for copying, distributing or modifying
  932. the Program or works based on it.
  933. 6. Each time you redistribute the Program (or any work based on the
  934. Program), the recipient automatically receives a license from the
  935. original licensor to copy, distribute or modify the Program subject to
  936. these terms and conditions. You may not impose any further
  937. restrictions on the recipients' exercise of the rights granted herein.
  938. You are not responsible for enforcing compliance by third parties to
  939. this License.
  940. 7. If, as a consequence of a court judgment or allegation of patent
  941. infringement or for any other reason (not limited to patent issues),
  942. conditions are imposed on you (whether by court order, agreement or
  943. otherwise) that contradict the conditions of this License, they do not
  944. excuse you from the conditions of this License. If you cannot
  945. distribute so as to satisfy simultaneously your obligations under this
  946. License and any other pertinent obligations, then as a consequence you
  947. may not distribute the Program at all. For example, if a patent
  948. license would not permit royalty-free redistribution of the Program by
  949. all those who receive copies directly or indirectly through you, then
  950. the only way you could satisfy both it and this License would be to
  951. refrain entirely from distribution of the Program.
  952. If any portion of this section is held invalid or unenforceable under
  953. any particular circumstance, the balance of the section is intended to
  954. apply and the section as a whole is intended to apply in other
  955. circumstances.
  956. It is not the purpose of this section to induce you to infringe any
  957. patents or other property right claims or to contest validity of any
  958. such claims; this section has the sole purpose of protecting the
  959. integrity of the free software distribution system, which is
  960. implemented by public license practices. Many people have made
  961. generous contributions to the wide range of software distributed
  962. through that system in reliance on consistent application of that
  963. system; it is up to the author/donor to decide if he or she is willing
  964. to distribute software through any other system and a licensee cannot
  965. impose that choice.
  966. This section is intended to make thoroughly clear what is believed to
  967. be a consequence of the rest of this License.
  968. 8. If the distribution and/or use of the Program is restricted in
  969. certain countries either by patents or by copyrighted interfaces, the
  970. original copyright holder who places the Program under this License
  971. may add an explicit geographical distribution limitation excluding
  972. those countries, so that distribution is permitted only in or among
  973. countries not thus excluded. In such case, this License incorporates
  974. the limitation as if written in the body of this License.
  975. 9. The Free Software Foundation may publish revised and/or new versions
  976. of the General Public License from time to time. Such new versions will
  977. be similar in spirit to the present version, but may differ in detail to
  978. address new problems or concerns.
  979. Each version is given a distinguishing version number. If the Program
  980. specifies a version number of this License which applies to it and "any
  981. later version", you have the option of following the terms and conditions
  982. either of that version or of any later version published by the Free
  983. Software Foundation. If the Program does not specify a version number of
  984. this License, you may choose any version ever published by the Free Software
  985. Foundation.
  986. 10. If you wish to incorporate parts of the Program into other free
  987. programs whose distribution conditions are different, write to the author
  988. to ask for permission. For software which is copyrighted by the Free
  989. Software Foundation, write to the Free Software Foundation; we sometimes
  990. make exceptions for this. Our decision will be guided by the two goals
  991. of preserving the free status of all derivatives of our free software and
  992. of promoting the sharing and reuse of software generally.
  993. NO WARRANTY
  994. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  995. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  996. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  997. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  998. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  999. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  1000. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  1001. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  1002. REPAIR OR CORRECTION.
  1003. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  1004. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  1005. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  1006. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  1007. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  1008. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  1009. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  1010. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  1011. POSSIBILITY OF SUCH DAMAGES.
  1012. END OF TERMS AND CONDITIONS
  1013. How to Apply These Terms to Your New Programs
  1014. If you develop a new program, and you want it to be of the greatest
  1015. possible use to the public, the best way to achieve this is to make it
  1016. free software which everyone can redistribute and change under these terms.
  1017. To do so, attach the following notices to the program. It is safest
  1018. to attach them to the start of each source file to most effectively
  1019. convey the exclusion of warranty; and each file should have at least
  1020. the "copyright" line and a pointer to where the full notice is found.
  1021. <one line to give the program's name and a brief idea of what it does.>
  1022. Copyright (C) <year> <name of author>
  1023. This program is free software; you can redistribute it and/or modify
  1024. it under the terms of the GNU General Public License as published by
  1025. the Free Software Foundation; either version 2 of the License, or
  1026. (at your option) any later version.
  1027. This program is distributed in the hope that it will be useful,
  1028. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1029. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  1030. GNU General Public License for more details.
  1031. You should have received a copy of the GNU General Public License along
  1032. with this program; if not, write to the Free Software Foundation, Inc.,
  1033. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  1034. Also add information on how to contact you by electronic and paper mail.
  1035. If the program is interactive, make it output a short notice like this
  1036. when it starts in an interactive mode:
  1037. Gnomovision version 69, Copyright (C) year name of author
  1038. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  1039. This is free software, and you are welcome to redistribute it
  1040. under certain conditions; type `show c' for details.
  1041. The hypothetical commands `show w' and `show c' should show the appropriate
  1042. parts of the General Public License. Of course, the commands you use may
  1043. be called something other than `show w' and `show c'; they could even be
  1044. mouse-clicks or menu items--whatever suits your program.
  1045. You should also get your employer (if you work as a programmer) or your
  1046. school, if any, to sign a "copyright disclaimer" for the program, if
  1047. necessary. Here is a sample; alter the names:
  1048. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  1049. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  1050. <signature of Ty Coon>, 1 April 1989
  1051. Ty Coon, President of Vice
  1052. This General Public License does not permit incorporating your program into
  1053. proprietary programs. If your program is a subroutine library, you may
  1054. consider it more useful to permit linking proprietary applications with the
  1055. library. If this is what you want to do, use the GNU Lesser General
  1056. Public License instead of this License.
  1057. Apache 2.0
  1058. Apache License
  1059. Version 2.0, January 2004
  1060. http://www.apache.org/licenses/
  1061. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  1062. 1. Definitions.
  1063. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
  1064. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
  1065. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
  1066. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
  1067. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
  1068. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
  1069. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
  1070. "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
  1071. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
  1072. "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
  1073. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
  1074. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
  1075. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
  1076. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  1077. You must cause any modified files to carry prominent notices stating that You changed the files; and
  1078. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  1079. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
  1080. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
  1081. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
  1082. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
  1083. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
  1084. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
  1085. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
  1086. END OF TERMS AND CONDITIONS
  1087. APPENDIX: How to apply the Apache License to your work
  1088. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
  1089. Copyright [yyyy] [name of copyright owner]
  1090. Licensed under the Apache License, Version 2.0 (the "License");
  1091. you may not use this file except in compliance with the License.
  1092. You may obtain a copy of the License at
  1093. http://www.apache.org/licenses/LICENSE-2.0
  1094. Unless required by applicable law or agreed to in writing, software
  1095. distributed under the License is distributed on an "AS IS" BASIS,
  1096. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1097. See the License for the specific language governing permissions and
  1098. limitations under the License.