license.txt 73 KB

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