You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1185 lines
65 KiB

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