m2m模型翻译
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.

968 lines
47 KiB

6 months ago
  1. Copyright (c) 2005-2021, NumPy Developers.
  2. All rights reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions are
  5. met:
  6. * Redistributions of source code must retain the above copyright
  7. notice, this list of conditions and the following disclaimer.
  8. * Redistributions in binary form must reproduce the above
  9. copyright notice, this list of conditions and the following
  10. disclaimer in the documentation and/or other materials provided
  11. with the distribution.
  12. * Neither the name of the NumPy Developers nor the names of any
  13. contributors may be used to endorse or promote products derived
  14. from this software without specific prior written permission.
  15. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  16. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  17. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  18. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  19. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  20. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  21. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  22. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  23. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  25. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. ----
  27. This binary distribution of NumPy also bundles the following software:
  28. Name: OpenBLAS
  29. Files: extra-dll\libopenb*.dll
  30. Description: bundled as a dynamically linked library
  31. Availability: https://github.com/xianyi/OpenBLAS/
  32. License: 3-clause BSD
  33. Copyright (c) 2011-2014, The OpenBLAS Project
  34. All rights reserved.
  35. Redistribution and use in source and binary forms, with or without
  36. modification, are permitted provided that the following conditions are
  37. met:
  38. 1. Redistributions of source code must retain the above copyright
  39. notice, this list of conditions and the following disclaimer.
  40. 2. Redistributions in binary form must reproduce the above copyright
  41. notice, this list of conditions and the following disclaimer in
  42. the documentation and/or other materials provided with the
  43. distribution.
  44. 3. Neither the name of the OpenBLAS project nor the names of
  45. its contributors may be used to endorse or promote products
  46. derived from this software without specific prior written
  47. permission.
  48. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  49. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  50. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  51. ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  52. LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  53. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  54. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  55. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  56. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  57. USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  58. Name: LAPACK
  59. Files: extra-dll\libopenb*.dll
  60. Description: bundled in OpenBLAS
  61. Availability: https://github.com/xianyi/OpenBLAS/
  62. License 3-clause BSD
  63. Copyright (c) 1992-2013 The University of Tennessee and The University
  64. of Tennessee Research Foundation. All rights
  65. reserved.
  66. Copyright (c) 2000-2013 The University of California Berkeley. All
  67. rights reserved.
  68. Copyright (c) 2006-2013 The University of Colorado Denver. All rights
  69. reserved.
  70. $COPYRIGHT$
  71. Additional copyrights may follow
  72. $HEADER$
  73. Redistribution and use in source and binary forms, with or without
  74. modification, are permitted provided that the following conditions are
  75. met:
  76. - Redistributions of source code must retain the above copyright
  77. notice, this list of conditions and the following disclaimer.
  78. - Redistributions in binary form must reproduce the above copyright
  79. notice, this list of conditions and the following disclaimer listed
  80. in this license in the documentation and/or other materials
  81. provided with the distribution.
  82. - Neither the name of the copyright holders nor the names of its
  83. contributors may be used to endorse or promote products derived from
  84. this software without specific prior written permission.
  85. The copyright holders provide no reassurances that the source code
  86. provided does not infringe any patent, copyright, or any other
  87. intellectual property rights of third parties. The copyright holders
  88. disclaim any liability to any recipient for claims brought against
  89. recipient by any third party for infringement of that parties
  90. intellectual property rights.
  91. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  92. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  93. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  94. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  95. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  96. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  97. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  98. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  99. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  100. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  101. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  102. Name: GCC runtime library
  103. Files: extra-dll\*.dll
  104. Description: statically linked, in DLL files compiled with gfortran only
  105. Availability: https://gcc.gnu.org/viewcvs/gcc/
  106. License: GPLv3 + runtime exception
  107. Copyright (C) 2002-2017 Free Software Foundation, Inc.
  108. Libgfortran is free software; you can redistribute it and/or modify
  109. it under the terms of the GNU General Public License as published by
  110. the Free Software Foundation; either version 3, or (at your option)
  111. any later version.
  112. Libgfortran is distributed in the hope that it will be useful,
  113. but WITHOUT ANY WARRANTY; without even the implied warranty of
  114. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  115. GNU General Public License for more details.
  116. Under Section 7 of GPL version 3, you are granted additional
  117. permissions described in the GCC Runtime Library Exception, version
  118. 3.1, as published by the Free Software Foundation.
  119. You should have received a copy of the GNU General Public License and
  120. a copy of the GCC Runtime Library Exception along with this program;
  121. see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  122. <http://www.gnu.org/licenses/>.
  123. Name: Microsoft Visual C++ Runtime Files
  124. Files: extra-dll\msvcp140.dll
  125. License: MSVC
  126. https://www.visualstudio.com/license-terms/distributable-code-microsoft-visual-studio-2015-rc-microsoft-visual-studio-2015-sdk-rc-includes-utilities-buildserver-files/#visual-c-runtime
  127. Subject to the License Terms for the software, you may copy and
  128. distribute with your program any of the files within the followng
  129. folder and its subfolders except as noted below. You may not modify
  130. these files.
  131. C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist
  132. You may not distribute the contents of the following folders:
  133. C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\debug_nonredist
  134. C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\onecore\debug_nonredist
  135. Subject to the License Terms for the software, you may copy and
  136. distribute the following files with your program in your program’s
  137. application local folder or by deploying them into the Global
  138. Assembly Cache (GAC):
  139. VC\atlmfc\lib\mfcmifc80.dll
  140. VC\atlmfc\lib\amd64\mfcmifc80.dll
  141. Name: Microsoft Visual C++ Runtime Files
  142. Files: extra-dll\msvc*90.dll, extra-dll\Microsoft.VC90.CRT.manifest
  143. License: MSVC
  144. For your convenience, we have provided the following folders for
  145. use when redistributing VC++ runtime files. Subject to the license
  146. terms for the software, you may redistribute the folder
  147. (unmodified) in the application local folder as a sub-folder with
  148. no change to the folder name. You may also redistribute all the
  149. files (*.dll and *.manifest) within a folder, listed below the
  150. folder for your convenience, as an entire set.
  151. \VC\redist\x86\Microsoft.VC90.ATL\
  152. atl90.dll
  153. Microsoft.VC90.ATL.manifest
  154. \VC\redist\ia64\Microsoft.VC90.ATL\
  155. atl90.dll
  156. Microsoft.VC90.ATL.manifest
  157. \VC\redist\amd64\Microsoft.VC90.ATL\
  158. atl90.dll
  159. Microsoft.VC90.ATL.manifest
  160. \VC\redist\x86\Microsoft.VC90.CRT\
  161. msvcm90.dll
  162. msvcp90.dll
  163. msvcr90.dll
  164. Microsoft.VC90.CRT.manifest
  165. \VC\redist\ia64\Microsoft.VC90.CRT\
  166. msvcm90.dll
  167. msvcp90.dll
  168. msvcr90.dll
  169. Microsoft.VC90.CRT.manifest
  170. ----
  171. Full text of license texts referred to above follows (that they are
  172. listed below does not necessarily imply the conditions apply to the
  173. present binary release):
  174. ----
  175. GCC RUNTIME LIBRARY EXCEPTION
  176. Version 3.1, 31 March 2009
  177. Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
  178. Everyone is permitted to copy and distribute verbatim copies of this
  179. license document, but changing it is not allowed.
  180. This GCC Runtime Library Exception ("Exception") is an additional
  181. permission under section 7 of the GNU General Public License, version
  182. 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
  183. bears a notice placed by the copyright holder of the file stating that
  184. the file is governed by GPLv3 along with this Exception.
  185. When you use GCC to compile a program, GCC may combine portions of
  186. certain GCC header files and runtime libraries with the compiled
  187. program. The purpose of this Exception is to allow compilation of
  188. non-GPL (including proprietary) programs to use, in this way, the
  189. header files and runtime libraries covered by this Exception.
  190. 0. Definitions.
  191. A file is an "Independent Module" if it either requires the Runtime
  192. Library for execution after a Compilation Process, or makes use of an
  193. interface provided by the Runtime Library, but is not otherwise based
  194. on the Runtime Library.
  195. "GCC" means a version of the GNU Compiler Collection, with or without
  196. modifications, governed by version 3 (or a specified later version) of
  197. the GNU General Public License (GPL) with the option of using any
  198. subsequent versions published by the FSF.
  199. "GPL-compatible Software" is software whose conditions of propagation,
  200. modification and use would permit combination with GCC in accord with
  201. the license of GCC.
  202. "Target Code" refers to output from any compiler for a real or virtual
  203. target processor architecture, in executable form or suitable for
  204. input to an assembler, loader, linker and/or execution
  205. phase. Notwithstanding that, Target Code does not include data in any
  206. format that is used as a compiler intermediate representation, or used
  207. for producing a compiler intermediate representation.
  208. The "Compilation Process" transforms code entirely represented in
  209. non-intermediate languages designed for human-written code, and/or in
  210. Java Virtual Machine byte code, into Target Code. Thus, for example,
  211. use of source code generators and preprocessors need not be considered
  212. part of the Compilation Process, since the Compilation Process can be
  213. understood as starting with the output of the generators or
  214. preprocessors.
  215. A Compilation Process is "Eligible" if it is done using GCC, alone or
  216. with other GPL-compatible software, or if it is done without using any
  217. work based on GCC. For example, using non-GPL-compatible Software to
  218. optimize any GCC intermediate representations would not qualify as an
  219. Eligible Compilation Process.
  220. 1. Grant of Additional Permission.
  221. You have permission to propagate a work of Target Code formed by
  222. combining the Runtime Library with Independent Modules, even if such
  223. propagation would otherwise violate the terms of GPLv3, provided that
  224. all Target Code was generated by Eligible Compilation Processes. You
  225. may then convey such a combination under terms of your choice,
  226. consistent with the licensing of the Independent Modules.
  227. 2. No Weakening of GCC Copyleft.
  228. The availability of this Exception does not imply any general
  229. presumption that third-party software is unaffected by the copyleft
  230. requirements of the license of GCC.
  231. ----
  232. GNU GENERAL PUBLIC LICENSE
  233. Version 3, 29 June 2007
  234. Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
  235. Everyone is permitted to copy and distribute verbatim copies
  236. of this license document, but changing it is not allowed.
  237. Preamble
  238. The GNU General Public License is a free, copyleft license for
  239. software and other kinds of works.
  240. The licenses for most software and other practical works are designed
  241. to take away your freedom to share and change the works. By contrast,
  242. the GNU General Public License is intended to guarantee your freedom to
  243. share and change all versions of a program--to make sure it remains free
  244. software for all its users. We, the Free Software Foundation, use the
  245. GNU General Public License for most of our software; it applies also to
  246. any other work released this way by its authors. You can apply it to
  247. your programs, too.
  248. When we speak of free software, we are referring to freedom, not
  249. price. Our General Public Licenses are designed to make sure that you
  250. have the freedom to distribute copies of free software (and charge for
  251. them if you wish), that you receive source code or can get it if you
  252. want it, that you can change the software or use pieces of it in new
  253. free programs, and that you know you can do these things.
  254. To protect your rights, we need to prevent others from denying you
  255. these rights or asking you to surrender the rights. Therefore, you have
  256. certain responsibilities if you distribute copies of the software, or if
  257. you modify it: responsibilities to respect the freedom of others.
  258. For example, if you distribute copies of such a program, whether
  259. gratis or for a fee, you must pass on to the recipients the same
  260. freedoms that you received. You must make sure that they, too, receive
  261. or can get the source code. And you must show them these terms so they
  262. know their rights.
  263. Developers that use the GNU GPL protect your rights with two steps:
  264. (1) assert copyright on the software, and (2) offer you this License
  265. giving you legal permission to copy, distribute and/or modify it.
  266. For the developers' and authors' protection, the GPL clearly explains
  267. that there is no warranty for this free software. For both users' and
  268. authors' sake, the GPL requires that modified versions be marked as
  269. changed, so that their problems will not be attributed erroneously to
  270. authors of previous versions.
  271. Some devices are designed to deny users access to install or run
  272. modified versions of the software inside them, although the manufacturer
  273. can do so. This is fundamentally incompatible with the aim of
  274. protecting users' freedom to change the software. The systematic
  275. pattern of such abuse occurs in the area of products for individuals to
  276. use, which is precisely where it is most unacceptable. Therefore, we
  277. have designed this version of the GPL to prohibit the practice for those
  278. products. If such problems arise substantially in other domains, we
  279. stand ready to extend this provision to those domains in future versions
  280. of the GPL, as needed to protect the freedom of users.
  281. Finally, every program is threatened constantly by software patents.
  282. States should not allow patents to restrict development and use of
  283. software on general-purpose computers, but in those that do, we wish to
  284. avoid the special danger that patents applied to a free program could
  285. make it effectively proprietary. To prevent this, the GPL assures that
  286. patents cannot be used to render the program non-free.
  287. The precise terms and conditions for copying, distribution and
  288. modification follow.
  289. TERMS AND CONDITIONS
  290. 0. Definitions.
  291. "This License" refers to version 3 of the GNU General Public License.
  292. "Copyright" also means copyright-like laws that apply to other kinds of
  293. works, such as semiconductor masks.
  294. "The Program" refers to any copyrightable work licensed under this
  295. License. Each licensee is addressed as "you". "Licensees" and
  296. "recipients" may be individuals or organizations.
  297. To "modify" a work means to copy from or adapt all or part of the work
  298. in a fashion requiring copyright permission, other than the making of an
  299. exact copy. The resulting work is called a "modified version" of the
  300. earlier work or a work "based on" the earlier work.
  301. A "covered work" means either the unmodified Program or a work based
  302. on the Program.
  303. To "propagate" a work means to do anything with it that, without
  304. permission, would make you directly or secondarily liable for
  305. infringement under applicable copyright law, except executing it on a
  306. computer or modifying a private copy. Propagation includes copying,
  307. distribution (with or without modification), making available to the
  308. public, and in some countries other activities as well.
  309. To "convey" a work means any kind of propagation that enables other
  310. parties to make or receive copies. Mere interaction with a user through
  311. a computer network, with no transfer of a copy, is not conveying.
  312. An interactive user interface displays "Appropriate Legal Notices"
  313. to the extent that it includes a convenient and prominently visible
  314. feature that (1) displays an appropriate copyright notice, and (2)
  315. tells the user that there is no warranty for the work (except to the
  316. extent that warranties are provided), that licensees may convey the
  317. work under this License, and how to view a copy of this License. If
  318. the interface presents a list of user commands or options, such as a
  319. menu, a prominent item in the list meets this criterion.
  320. 1. Source Code.
  321. The "source code" for a work means the preferred form of the work
  322. for making modifications to it. "Object code" means any non-source
  323. form of a work.
  324. A "Standard Interface" means an interface that either is an official
  325. standard defined by a recognized standards body, or, in the case of
  326. interfaces specified for a particular programming language, one that
  327. is widely used among developers working in that language.
  328. The "System Libraries" of an executable work include anything, other
  329. than the work as a whole, that (a) is included in the normal form of
  330. packaging a Major Component, but which is not part of that Major
  331. Component, and (b) serves only to enable use of the work with that
  332. Major Component, or to implement a Standard Interface for which an
  333. implementation is available to the public in source code form. A
  334. "Major Component", in this context, means a major essential component
  335. (kernel, window system, and so on) of the specific operating system
  336. (if any) on which the executable work runs, or a compiler used to
  337. produce the work, or an object code interpreter used to run it.
  338. The "Corresponding Source" for a work in object code form means all
  339. the source code needed to generate, install, and (for an executable
  340. work) run the object code and to modify the work, including scripts to
  341. control those activities. However, it does not include the work's
  342. System Libraries, or general-purpose tools or generally available free
  343. programs which are used unmodified in performing those activities but
  344. which are not part of the work. For example, Corresponding Source
  345. includes interface definition files associated with source files for
  346. the work, and the source code for shared libraries and dynamically
  347. linked subprograms that the work is specifically designed to require,
  348. such as by intimate data communication or control flow between those
  349. subprograms and other parts of the work.
  350. The Corresponding Source need not include anything that users
  351. can regenerate automatically from other parts of the Corresponding
  352. Source.
  353. The Corresponding Source for a work in source code form is that
  354. same work.
  355. 2. Basic Permissions.
  356. All rights granted under this License are granted for the term of
  357. copyright on the Program, and are irrevocable provided the stated
  358. conditions are met. This License explicitly affirms your unlimited
  359. permission to run the unmodified Program. The output from running a
  360. covered work is covered by this License only if the output, given its
  361. content, constitutes a covered work. This License acknowledges your
  362. rights of fair use or other equivalent, as provided by copyright law.
  363. You may make, run and propagate covered works that you do not
  364. convey, without conditions so long as your license otherwise remains
  365. in force. You may convey covered works to others for the sole purpose
  366. of having them make modifications exclusively for you, or provide you
  367. with facilities for running those works, provided that you comply with
  368. the terms of this License in conveying all material for which you do
  369. not control copyright. Those thus making or running the covered works
  370. for you must do so exclusively on your behalf, under your direction
  371. and control, on terms that prohibit them from making any copies of
  372. your copyrighted material outside their relationship with you.
  373. Conveying under any other circumstances is permitted solely under
  374. the conditions stated below. Sublicensing is not allowed; section 10
  375. makes it unnecessary.
  376. 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
  377. No covered work shall be deemed part of an effective technological
  378. measure under any applicable law fulfilling obligations under article
  379. 11 of the WIPO copyright treaty adopted on 20 December 1996, or
  380. similar laws prohibiting or restricting circumvention of such
  381. measures.
  382. When you convey a covered work, you waive any legal power to forbid
  383. circumvention of technological measures to the extent such circumvention
  384. is effected by exercising rights under this License with respect to
  385. the covered work, and you disclaim any intention to limit operation or
  386. modification of the work as a means of enforcing, against the work's
  387. users, your or third parties' legal rights to forbid circumvention of
  388. technological measures.
  389. 4. Conveying Verbatim Copies.
  390. You may convey verbatim copies of the Program's source code as you
  391. receive it, in any medium, provided that you conspicuously and
  392. appropriately publish on each copy an appropriate copyright notice;
  393. keep intact all notices stating that this License and any
  394. non-permissive terms added in accord with section 7 apply to the code;
  395. keep intact all notices of the absence of any warranty; and give all
  396. recipients a copy of this License along with the Program.
  397. You may charge any price or no price for each copy that you convey,
  398. and you may offer support or warranty protection for a fee.
  399. 5. Conveying Modified Source Versions.
  400. You may convey a work based on the Program, or the modifications to
  401. produce it from the Program, in the form of source code under the
  402. terms of section 4, provided that you also meet all of these conditions:
  403. a) The work must carry prominent notices stating that you modified
  404. it, and giving a relevant date.
  405. b) The work must carry prominent notices stating that it is
  406. released under this License and any conditions added under section
  407. 7. This requirement modifies the requirement in section 4 to
  408. "keep intact all notices".
  409. c) You must license the entire work, as a whole, under this
  410. License to anyone who comes into possession of a copy. This
  411. License will therefore apply, along with any applicable section 7
  412. additional terms, to the whole of the work, and all its parts,
  413. regardless of how they are packaged. This License gives no
  414. permission to license the work in any other way, but it does not
  415. invalidate such permission if you have separately received it.
  416. d) If the work has interactive user interfaces, each must display
  417. Appropriate Legal Notices; however, if the Program has interactive
  418. interfaces that do not display Appropriate Legal Notices, your
  419. work need not make them do so.
  420. A compilation of a covered work with other separate and independent
  421. works, which are not by their nature extensions of the covered work,
  422. and which are not combined with it such as to form a larger program,
  423. in or on a volume of a storage or distribution medium, is called an
  424. "aggregate" if the compilation and its resulting copyright are not
  425. used to limit the access or legal rights of the compilation's users
  426. beyond what the individual works permit. Inclusion of a covered work
  427. in an aggregate does not cause this License to apply to the other
  428. parts of the aggregate.
  429. 6. Conveying Non-Source Forms.
  430. You may convey a covered work in object code form under the terms
  431. of sections 4 and 5, provided that you also convey the
  432. machine-readable Corresponding Source under the terms of this License,
  433. in one of these ways:
  434. a) Convey the object code in, or embodied in, a physical product
  435. (including a physical distribution medium), accompanied by the
  436. Corresponding Source fixed on a durable physical medium
  437. customarily used for software interchange.
  438. b) Convey the object code in, or embodied in, a physical product
  439. (including a physical distribution medium), accompanied by a
  440. written offer, valid for at least three years and valid for as
  441. long as you offer spare parts or customer support for that product
  442. model, to give anyone who possesses the object code either (1) a
  443. copy of the Corresponding Source for all the software in the
  444. product that is covered by this License, on a durable physical
  445. medium customarily used for software interchange, for a price no
  446. more than your reasonable cost of physically performing this
  447. conveying of source, or (2) access to copy the
  448. Corresponding Source from a network server at no charge.
  449. c) Convey individual copies of the object code with a copy of the
  450. written offer to provide the Corresponding Source. This
  451. alternative is allowed only occasionally and noncommercially, and
  452. only if you received the object code with such an offer, in accord
  453. with subsection 6b.
  454. d) Convey the object code by offering access from a designated
  455. place (gratis or for a charge), and offer equivalent access to the
  456. Corresponding Source in the same way through the same place at no
  457. further charge. You need not require recipients to copy the
  458. Corresponding Source along with the object code. If the place to
  459. copy the object code is a network server, the Corresponding Source
  460. may be on a different server (operated by you or a third party)
  461. that supports equivalent copying facilities, provided you maintain
  462. clear directions next to the object code saying where to find the
  463. Corresponding Source. Regardless of what server hosts the
  464. Corresponding Source, you remain obligated to ensure that it is
  465. available for as long as needed to satisfy these requirements.
  466. e) Convey the object code using peer-to-peer transmission, provided
  467. you inform other peers where the object code and Corresponding
  468. Source of the work are being offered to the general public at no
  469. charge under subsection 6d.
  470. A separable portion of the object code, whose source code is excluded
  471. from the Corresponding Source as a System Library, need not be
  472. included in conveying the object code work.
  473. A "User Product" is either (1) a "consumer product", which means any
  474. tangible personal property which is normally used for personal, family,
  475. or household purposes, or (2) anything designed or sold for incorporation
  476. into a dwelling. In determining whether a product is a consumer product,
  477. doubtful cases shall be resolved in favor of coverage. For a particular
  478. product received by a particular user, "normally used" refers to a
  479. typical or common use of that class of product, regardless of the status
  480. of the particular user or of the way in which the particular user
  481. actually uses, or expects or is expected to use, the product. A product
  482. is a consumer product regardless of whether the product has substantial
  483. commercial, industrial or non-consumer uses, unless such uses represent
  484. the only significant mode of use of the product.
  485. "Installation Information" for a User Product means any methods,
  486. procedures, authorization keys, or other information required to install
  487. and execute modified versions of a covered work in that User Product from
  488. a modified version of its Corresponding Source. The information must
  489. suffice to ensure that the continued functioning of the modified object
  490. code is in no case prevented or interfered with solely because
  491. modification has been made.
  492. If you convey an object code work under this section in, or with, or
  493. specifically for use in, a User Product, and the conveying occurs as
  494. part of a transaction in which the right of possession and use of the
  495. User Product is transferred to the recipient in perpetuity or for a
  496. fixed term (regardless of how the transaction is characterized), the
  497. Corresponding Source conveyed under this section must be accompanied
  498. by the Installation Information. But this requirement does not apply
  499. if neither you nor any third party retains the ability to install
  500. modified object code on the User Product (for example, the work has
  501. been installed in ROM).
  502. The requirement to provide Installation Information does not include a
  503. requirement to continue to provide support service, warranty, or updates
  504. for a work that has been modified or installed by the recipient, or for
  505. the User Product in which it has been modified or installed. Access to a
  506. network may be denied when the modification itself materially and
  507. adversely affects the operation of the network or violates the rules and
  508. protocols for communication across the network.
  509. Corresponding Source conveyed, and Installation Information provided,
  510. in accord with this section must be in a format that is publicly
  511. documented (and with an implementation available to the public in
  512. source code form), and must require no special password or key for
  513. unpacking, reading or copying.
  514. 7. Additional Terms.
  515. "Additional permissions" are terms that supplement the terms of this
  516. License by making exceptions from one or more of its conditions.
  517. Additional permissions that are applicable to the entire Program shall
  518. be treated as though they were included in this License, to the extent
  519. that they are valid under applicable law. If additional permissions
  520. apply only to part of the Program, that part may be used separately
  521. under those permissions, but the entire Program remains governed by
  522. this License without regard to the additional permissions.
  523. When you convey a copy of a covered work, you may at your option
  524. remove any additional permissions from that copy, or from any part of
  525. it. (Additional permissions may be written to require their own
  526. removal in certain cases when you modify the work.) You may place
  527. additional permissions on material, added by you to a covered work,
  528. for which you have or can give appropriate copyright permission.
  529. Notwithstanding any other provision of this License, for material you
  530. add to a covered work, you may (if authorized by the copyright holders of
  531. that material) supplement the terms of this License with terms:
  532. a) Disclaiming warranty or limiting liability differently from the
  533. terms of sections 15 and 16 of this License; or
  534. b) Requiring preservation of specified reasonable legal notices or
  535. author attributions in that material or in the Appropriate Legal
  536. Notices displayed by works containing it; or
  537. c) Prohibiting misrepresentation of the origin of that material, or
  538. requiring that modified versions of such material be marked in
  539. reasonable ways as different from the original version; or
  540. d) Limiting the use for publicity purposes of names of licensors or
  541. authors of the material; or
  542. e) Declining to grant rights under trademark law for use of some
  543. trade names, trademarks, or service marks; or
  544. f) Requiring indemnification of licensors and authors of that
  545. material by anyone who conveys the material (or modified versions of
  546. it) with contractual assumptions of liability to the recipient, for
  547. any liability that these contractual assumptions directly impose on
  548. those licensors and authors.
  549. All other non-permissive additional terms are considered "further
  550. restrictions" within the meaning of section 10. If the Program as you
  551. received it, or any part of it, contains a notice stating that it is
  552. governed by this License along with a term that is a further
  553. restriction, you may remove that term. If a license document contains
  554. a further restriction but permits relicensing or conveying under this
  555. License, you may add to a covered work material governed by the terms
  556. of that license document, provided that the further restriction does
  557. not survive such relicensing or conveying.
  558. If you add terms to a covered work in accord with this section, you
  559. must place, in the relevant source files, a statement of the
  560. additional terms that apply to those files, or a notice indicating
  561. where to find the applicable terms.
  562. Additional terms, permissive or non-permissive, may be stated in the
  563. form of a separately written license, or stated as exceptions;
  564. the above requirements apply either way.
  565. 8. Termination.
  566. You may not propagate or modify a covered work except as expressly
  567. provided under this License. Any attempt otherwise to propagate or
  568. modify it is void, and will automatically terminate your rights under
  569. this License (including any patent licenses granted under the third
  570. paragraph of section 11).
  571. However, if you cease all violation of this License, then your
  572. license from a particular copyright holder is reinstated (a)
  573. provisionally, unless and until the copyright holder explicitly and
  574. finally terminates your license, and (b) permanently, if the copyright
  575. holder fails to notify you of the violation by some reasonable means
  576. prior to 60 days after the cessation.
  577. Moreover, your license from a particular copyright holder is
  578. reinstated permanently if the copyright holder notifies you of the
  579. violation by some reasonable means, this is the first time you have
  580. received notice of violation of this License (for any work) from that
  581. copyright holder, and you cure the violation prior to 30 days after
  582. your receipt of the notice.
  583. Termination of your rights under this section does not terminate the
  584. licenses of parties who have received copies or rights from you under
  585. this License. If your rights have been terminated and not permanently
  586. reinstated, you do not qualify to receive new licenses for the same
  587. material under section 10.
  588. 9. Acceptance Not Required for Having Copies.
  589. You are not required to accept this License in order to receive or
  590. run a copy of the Program. Ancillary propagation of a covered work
  591. occurring solely as a consequence of using peer-to-peer transmission
  592. to receive a copy likewise does not require acceptance. However,
  593. nothing other than this License grants you permission to propagate or
  594. modify any covered work. These actions infringe copyright if you do
  595. not accept this License. Therefore, by modifying or propagating a
  596. covered work, you indicate your acceptance of this License to do so.
  597. 10. Automatic Licensing of Downstream Recipients.
  598. Each time you convey a covered work, the recipient automatically
  599. receives a license from the original licensors, to run, modify and
  600. propagate that work, subject to this License. You are not responsible
  601. for enforcing compliance by third parties with this License.
  602. An "entity transaction" is a transaction transferring control of an
  603. organization, or substantially all assets of one, or subdividing an
  604. organization, or merging organizations. If propagation of a covered
  605. work results from an entity transaction, each party to that
  606. transaction who receives a copy of the work also receives whatever
  607. licenses to the work the party's predecessor in interest had or could
  608. give under the previous paragraph, plus a right to possession of the
  609. Corresponding Source of the work from the predecessor in interest, if
  610. the predecessor has it or can get it with reasonable efforts.
  611. You may not impose any further restrictions on the exercise of the
  612. rights granted or affirmed under this License. For example, you may
  613. not impose a license fee, royalty, or other charge for exercise of
  614. rights granted under this License, and you may not initiate litigation
  615. (including a cross-claim or counterclaim in a lawsuit) alleging that
  616. any patent claim is infringed by making, using, selling, offering for
  617. sale, or importing the Program or any portion of it.
  618. 11. Patents.
  619. A "contributor" is a copyright holder who authorizes use under this
  620. License of the Program or a work on which the Program is based. The
  621. work thus licensed is called the contributor's "contributor version".
  622. A contributor's "essential patent claims" are all patent claims
  623. owned or controlled by the contributor, whether already acquired or
  624. hereafter acquired, that would be infringed by some manner, permitted
  625. by this License, of making, using, or selling its contributor version,
  626. but do not include claims that would be infringed only as a
  627. consequence of further modification of the contributor version. For
  628. purposes of this definition, "control" includes the right to grant
  629. patent sublicenses in a manner consistent with the requirements of
  630. this License.
  631. Each contributor grants you a non-exclusive, worldwide, royalty-free
  632. patent license under the contributor's essential patent claims, to
  633. make, use, sell, offer for sale, import and otherwise run, modify and
  634. propagate the contents of its contributor version.
  635. In the following three paragraphs, a "patent license" is any express
  636. agreement or commitment, however denominated, not to enforce a patent
  637. (such as an express permission to practice a patent or covenant not to
  638. sue for patent infringement). To "grant" such a patent license to a
  639. party means to make such an agreement or commitment not to enforce a
  640. patent against the party.
  641. If you convey a covered work, knowingly relying on a patent license,
  642. and the Corresponding Source of the work is not available for anyone
  643. to copy, free of charge and under the terms of this License, through a
  644. publicly available network server or other readily accessible means,
  645. then you must either (1) cause the Corresponding Source to be so
  646. available, or (2) arrange to deprive yourself of the benefit of the
  647. patent license for this particular work, or (3) arrange, in a manner
  648. consistent with the requirements of this License, to extend the patent
  649. license to downstream recipients. "Knowingly relying" means you have
  650. actual knowledge that, but for the patent license, your conveying the
  651. covered work in a country, or your recipient's use of the covered work
  652. in a country, would infringe one or more identifiable patents in that
  653. country that you have reason to believe are valid.
  654. If, pursuant to or in connection with a single transaction or
  655. arrangement, you convey, or propagate by procuring conveyance of, a
  656. covered work, and grant a patent license to some of the parties
  657. receiving the covered work authorizing them to use, propagate, modify
  658. or convey a specific copy of the covered work, then the patent license
  659. you grant is automatically extended to all recipients of the covered
  660. work and works based on it.
  661. A patent license is "discriminatory" if it does not include within
  662. the scope of its coverage, prohibits the exercise of, or is
  663. conditioned on the non-exercise of one or more of the rights that are
  664. specifically granted under this License. You may not convey a covered
  665. work if you are a party to an arrangement with a third party that is
  666. in the business of distributing software, under which you make payment
  667. to the third party based on the extent of your activity of conveying
  668. the work, and under which the third party grants, to any of the
  669. parties who would receive the covered work from you, a discriminatory
  670. patent license (a) in connection with copies of the covered work
  671. conveyed by you (or copies made from those copies), or (b) primarily
  672. for and in connection with specific products or compilations that
  673. contain the covered work, unless you entered into that arrangement,
  674. or that patent license was granted, prior to 28 March 2007.
  675. Nothing in this License shall be construed as excluding or limiting
  676. any implied license or other defenses to infringement that may
  677. otherwise be available to you under applicable patent law.
  678. 12. No Surrender of Others' Freedom.
  679. If conditions are imposed on you (whether by court order, agreement or
  680. otherwise) that contradict the conditions of this License, they do not
  681. excuse you from the conditions of this License. If you cannot convey a
  682. covered work so as to satisfy simultaneously your obligations under this
  683. License and any other pertinent obligations, then as a consequence you may
  684. not convey it at all. For example, if you agree to terms that obligate you
  685. to collect a royalty for further conveying from those to whom you convey
  686. the Program, the only way you could satisfy both those terms and this
  687. License would be to refrain entirely from conveying the Program.
  688. 13. Use with the GNU Affero General Public License.
  689. Notwithstanding any other provision of this License, you have
  690. permission to link or combine any covered work with a work licensed
  691. under version 3 of the GNU Affero General Public License into a single
  692. combined work, and to convey the resulting work. The terms of this
  693. License will continue to apply to the part which is the covered work,
  694. but the special requirements of the GNU Affero General Public License,
  695. section 13, concerning interaction through a network will apply to the
  696. combination as such.
  697. 14. Revised Versions of this License.
  698. The Free Software Foundation may publish revised and/or new versions of
  699. the GNU General Public License from time to time. Such new versions will
  700. be similar in spirit to the present version, but may differ in detail to
  701. address new problems or concerns.
  702. Each version is given a distinguishing version number. If the
  703. Program specifies that a certain numbered version of the GNU General
  704. Public License "or any later version" applies to it, you have the
  705. option of following the terms and conditions either of that numbered
  706. version or of any later version published by the Free Software
  707. Foundation. If the Program does not specify a version number of the
  708. GNU General Public License, you may choose any version ever published
  709. by the Free Software Foundation.
  710. If the Program specifies that a proxy can decide which future
  711. versions of the GNU General Public License can be used, that proxy's
  712. public statement of acceptance of a version permanently authorizes you
  713. to choose that version for the Program.
  714. Later license versions may give you additional or different
  715. permissions. However, no additional obligations are imposed on any
  716. author or copyright holder as a result of your choosing to follow a
  717. later version.
  718. 15. Disclaimer of Warranty.
  719. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
  720. APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
  721. HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
  722. OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  723. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  724. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
  725. IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
  726. ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  727. 16. Limitation of Liability.
  728. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  729. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
  730. THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
  731. GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
  732. USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
  733. DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
  734. PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
  735. EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
  736. SUCH DAMAGES.
  737. 17. Interpretation of Sections 15 and 16.
  738. If the disclaimer of warranty and limitation of liability provided
  739. above cannot be given local legal effect according to their terms,
  740. reviewing courts shall apply local law that most closely approximates
  741. an absolute waiver of all civil liability in connection with the
  742. Program, unless a warranty or assumption of liability accompanies a
  743. copy of the Program in return for a fee.
  744. END OF TERMS AND CONDITIONS
  745. How to Apply These Terms to Your New Programs
  746. If you develop a new program, and you want it to be of the greatest
  747. possible use to the public, the best way to achieve this is to make it
  748. free software which everyone can redistribute and change under these terms.
  749. To do so, attach the following notices to the program. It is safest
  750. to attach them to the start of each source file to most effectively
  751. state the exclusion of warranty; and each file should have at least
  752. the "copyright" line and a pointer to where the full notice is found.
  753. <one line to give the program's name and a brief idea of what it does.>
  754. Copyright (C) <year> <name of author>
  755. This program is free software: you can redistribute it and/or modify
  756. it under the terms of the GNU General Public License as published by
  757. the Free Software Foundation, either version 3 of the License, or
  758. (at your option) any later version.
  759. This program is distributed in the hope that it will be useful,
  760. but WITHOUT ANY WARRANTY; without even the implied warranty of
  761. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  762. GNU General Public License for more details.
  763. You should have received a copy of the GNU General Public License
  764. along with this program. If not, see <http://www.gnu.org/licenses/>.
  765. Also add information on how to contact you by electronic and paper mail.
  766. If the program does terminal interaction, make it output a short
  767. notice like this when it starts in an interactive mode:
  768. <program> Copyright (C) <year> <name of author>
  769. This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  770. This is free software, and you are welcome to redistribute it
  771. under certain conditions; type `show c' for details.
  772. The hypothetical commands `show w' and `show c' should show the appropriate
  773. parts of the General Public License. Of course, your program's commands
  774. might be different; for a GUI interface, you would use an "about box".
  775. You should also get your employer (if you work as a programmer) or school,
  776. if any, to sign a "copyright disclaimer" for the program, if necessary.
  777. For more information on this, and how to apply and follow the GNU GPL, see
  778. <http://www.gnu.org/licenses/>.
  779. The GNU General Public License does not permit incorporating your program
  780. into proprietary programs. If your program is a subroutine library, you
  781. may consider it more useful to permit linking proprietary applications with
  782. the library. If this is what you want to do, use the GNU Lesser General
  783. Public License instead of this License. But first, please read
  784. <http://www.gnu.org/philosophy/why-not-lgpl.html>.