Open Source Software Licenses_WIN32.txt 105 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091
  1. Open Source Software Licenses
  2. The information in this document applies to this product
  3. 1. Software Licensed under the GNU Library General Public License
  4. This product includes software licensed under the GNU Library
  5. General Public License (LGPL), Version 2. Please see Appendix C
  6. below for the terms of this license.
  7. Specifically, the following software included in this product is
  8. subject to the LGPL:
  9. live555
  10. All software listed above is copyright by the respective author.
  11. Please see the source code for detailed information.
  12. 2. Software Licensed under the GNU Lesser General Public License
  13. This product includes software licensed under the GNU Lesser
  14. General Public License (LGPL), Version 2.1. Please see Appendix F
  15. below for the terms of this license.
  16. Specifically, the following software included in this product is
  17. subject to the LGPL:
  18. GNU C library
  19. All software listed above is copyright by the respective author.
  20. Please see the source code for detailed information.
  21. 3. Disclaimer
  22. All software listed in the above is provided without any liability
  23. or warranty from their copyright holders.
  24. 4. Availability of Source Code
  25. Provided that you are interested in all the open source code embedded in this
  26. product, please contact us at (opensource@hikvision.com). Noted that you are
  27. responsible for copying and mailing a hard copy at your request.
  28. Appendix A
  29. GNU GENERAL PUBLIC LICENSE
  30. Version 2, June 1991
  31. Copyright (C) 1989, 1991 Free Software Foundation, Inc.
  32. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  33. Everyone is permitted to copy and distribute verbatim copies
  34. of this license document, but changing it is not allowed.
  35. Preamble
  36. The licenses for most software are designed to take away your
  37. freedom to share and change it. By contrast, the GNU General Public
  38. License is intended to guarantee your freedom to share and change free
  39. software--to make sure the software is free for all its users. This
  40. General Public License applies to most of the Free Software
  41. Foundation's software and to any other program whose authors commit to
  42. using it. (Some other Free Software Foundation software is covered by
  43. the GNU Library General Public License instead.) You can apply it to
  44. your programs, too.
  45. When we speak of free software, we are referring to freedom, not
  46. price. Our General Public Licenses are designed to make sure that you
  47. have the freedom to distribute copies of free software (and charge for
  48. this service if you wish), that you receive source code or can get it
  49. if you want it, that you can change the software or use pieces of it
  50. in new free programs; and that you know you can do these things.
  51. To protect your rights, we need to make restrictions that forbid
  52. anyone to deny you these rights or to ask you to surrender the rights.
  53. These restrictions translate to certain responsibilities for you if you
  54. distribute copies of the software, or if you modify it.
  55. For example, if you distribute copies of such a program, whether
  56. gratis or for a fee, you must give the recipients all the rights that
  57. you have. You must make sure that they, too, receive or can get the
  58. source code. And you must show them these terms so they know their
  59. rights.
  60. We protect your rights with two steps: (1) copyright the software, and
  61. (2) offer you this license which gives you legal permission to copy,
  62. distribute and/or modify the software.
  63. Also, for each author's protection and ours, we want to make certain
  64. that everyone understands that there is no warranty for this free
  65. software. If the software is modified by someone else and passed on, we
  66. want its recipients to know that what they have is not the original, so
  67. that any problems introduced by others will not reflect on the original
  68. authors' reputations.
  69. Finally, any free program is threatened constantly by software
  70. patents. We wish to avoid the danger that redistributors of a free
  71. program will individually obtain patent licenses, in effect making the
  72. program proprietary. To prevent this, we have made it clear that any
  73. patent must be licensed for everyone's free use or not licensed at all.
  74. The precise terms and conditions for copying, distribution and
  75. modification follow.
  76. GNU GENERAL PUBLIC LICENSE
  77. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  78. 0. This License applies to any program or other work which contains
  79. a notice placed by the copyright holder saying it may be distributed
  80. under the terms of this General Public License. The "Program", below,
  81. refers to any such program or work, and a "work based on the Program"
  82. means either the Program or any derivative work under copyright law:
  83. that is to say, a work containing the Program or a portion of it,
  84. either verbatim or with modifications and/or translated into another
  85. language. (Hereinafter, translation is included without limitation in
  86. the term "modification".) Each licensee is addressed as "you".
  87. Activities other than copying, distribution and modification are not
  88. covered by this License; they are outside its scope. The act of
  89. running the Program is not restricted, and the output from the Program
  90. is covered only if its contents constitute a work based on the
  91. Program (independent of having been made by running the Program).
  92. Whether that is true depends on what the Program does.
  93. 1. You may copy and distribute verbatim copies of the Program's
  94. source code as you receive it, in any medium, provided that you
  95. conspicuously and appropriately publish on each copy an appropriate
  96. copyright notice and disclaimer of warranty; keep intact all the
  97. notices that refer to this License and to the absence of any warranty;
  98. and give any other recipients of the Program a copy of this License
  99. along with the Program.
  100. You may charge a fee for the physical act of transferring a copy, and
  101. you may at your option offer warranty protection in exchange for a fee.
  102. 2. You may modify your copy or copies of the Program or any portion
  103. of it, thus forming a work based on the Program, and copy and
  104. distribute such modifications or work under the terms of Section 1
  105. above, provided that you also meet all of these conditions:
  106. a) You must cause the modified files to carry prominent notices
  107. stating that you changed the files and the date of any change.
  108. b) You must cause any work that you distribute or publish, that in
  109. whole or in part contains or is derived from the Program or any
  110. part thereof, to be licensed as a whole at no charge to all third
  111. parties under the terms of this License.
  112. c) If the modified program normally reads commands interactively
  113. when run, you must cause it, when started running for such
  114. interactive use in the most ordinary way, to print or display an
  115. announcement including an appropriate copyright notice and a
  116. notice that there is no warranty (or else, saying that you provide
  117. a warranty) and that users may redistribute the program under
  118. these conditions, and telling the user how to view a copy of this
  119. License. (Exception: if the Program itself is interactive but
  120. does not normally print such an announcement, your work based on
  121. the Program is not required to print an announcement.)
  122. These requirements apply to the modified work as a whole. If
  123. identifiable sections of that work are not derived from the Program,
  124. and can be reasonably considered independent and separate works in
  125. themselves, then this License, and its terms, do not apply to those
  126. sections when you distribute them as separate works. But when you
  127. distribute the same sections as part of a whole which is a work based
  128. on the Program, the distribution of the whole must be on the terms of
  129. this License, whose permissions for other licensees extend to the
  130. entire whole, and thus to each and every part regardless of who wrote it.
  131. Thus, it is not the intent of this section to claim rights or contest
  132. your rights to work written entirely by you; rather, the intent is to
  133. exercise the right to control the distribution of derivative or
  134. collective works based on the Program.
  135. In addition, mere aggregation of another work not based on the Program
  136. with the Program (or with a work based on the Program) on a volume of
  137. a storage or distribution medium does not bring the other work under
  138. the scope of this License.
  139. 3. You may copy and distribute the Program (or a work based on it,
  140. under Section 2) in object code or executable form under the terms of
  141. Sections 1 and 2 above provided that you also do one of the following:
  142. a) Accompany it with the complete corresponding machine-readable
  143. source code, which must be distributed under the terms of Sections
  144. 1 and 2 above on a medium customarily used for software interchange; or,
  145. b) Accompany it with a written offer, valid for at least three
  146. years, to give any third party, for a charge no more than your
  147. cost of physically performing source distribution, a complete
  148. machine-readable copy of the corresponding source code, to be
  149. distributed under the terms of Sections 1 and 2 above on a medium
  150. customarily used for software interchange; or,
  151. c) Accompany it with the information you received as to the offer
  152. to distribute corresponding source code. (This alternative is
  153. allowed only for noncommercial distribution and only if you
  154. received the program in object code or executable form with such
  155. an offer, in accord with Subsection b above.)
  156. The source code for a work means the preferred form of the work for
  157. making modifications to it. For an executable work, complete source
  158. code means all the source code for all modules it contains, plus any
  159. associated interface definition files, plus the scripts used to
  160. control compilation and installation of the executable. However, as a
  161. special exception, the source code distributed need not include
  162. anything that is normally distributed (in either source or binary
  163. form) with the major components (compiler, kernel, and so on) of the
  164. operating system on which the executable runs, unless that component
  165. itself accompanies the executable.
  166. If distribution of executable or object code is made by offering
  167. access to copy from a designated place, then offering equivalent
  168. access to copy the source code from the same place counts as
  169. distribution of the source code, even though third parties are not
  170. compelled to copy the source along with the object code.
  171. 4. You may not copy, modify, sublicense, or distribute the Program
  172. except as expressly provided under this License. Any attempt
  173. otherwise to copy, modify, sublicense or distribute the Program is
  174. void, and will automatically terminate your rights under this License.
  175. However, parties who have received copies, or rights, from you under
  176. this License will not have their licenses terminated so long as such
  177. parties remain in full compliance.
  178. 5. You are not required to accept this License, since you have not
  179. signed it. However, nothing else grants you permission to modify or
  180. distribute the Program or its derivative works. These actions are
  181. prohibited by law if you do not accept this License. Therefore, by
  182. modifying or distributing the Program (or any work based on the
  183. Program), you indicate your acceptance of this License to do so, and
  184. all its terms and conditions for copying, distributing or modifying
  185. the Program or works based on it.
  186. 6. Each time you redistribute the Program (or any work based on the
  187. Program), the recipient automatically receives a license from the
  188. original licensor to copy, distribute or modify the Program subject to
  189. these terms and conditions. You may not impose any further
  190. restrictions on the recipients' exercise of the rights granted herein.
  191. You are not responsible for enforcing compliance by third parties to
  192. this License.
  193. 7. If, as a consequence of a court judgment or allegation of patent
  194. infringement or for any other reason (not limited to patent issues),
  195. conditions are imposed on you (whether by court order, agreement or
  196. otherwise) that contradict the conditions of this License, they do not
  197. excuse you from the conditions of this License. If you cannot
  198. distribute so as to satisfy simultaneously your obligations under this
  199. License and any other pertinent obligations, then as a consequence you
  200. may not distribute the Program at all. For example, if a patent
  201. license would not permit royalty-free redistribution of the Program by
  202. all those who receive copies directly or indirectly through you, then
  203. the only way you could satisfy both it and this License would be to
  204. refrain entirely from distribution of the Program.
  205. If any portion of this section is held invalid or unenforceable under
  206. any particular circumstance, the balance of the section is intended to
  207. apply and the section as a whole is intended to apply in other
  208. circumstances.
  209. It is not the purpose of this section to induce you to infringe any
  210. patents or other property right claims or to contest validity of any
  211. such claims; this section has the sole purpose of protecting the
  212. integrity of the free software distribution system, which is
  213. implemented by public license practices. Many people have made
  214. generous contributions to the wide range of software distributed
  215. through that system in reliance on consistent application of that
  216. system; it is up to the author/donor to decide if he or she is willing
  217. to distribute software through any other system and a licensee cannot
  218. impose that choice.
  219. This section is intended to make thoroughly clear what is believed to
  220. be a consequence of the rest of this License.
  221. 8. If the distribution and/or use of the Program is restricted in
  222. certain countries either by patents or by copyrighted interfaces, the
  223. original copyright holder who places the Program under this License
  224. may add an explicit geographical distribution limitation excluding
  225. those countries, so that distribution is permitted only in or among
  226. countries not thus excluded. In such case, this License incorporates
  227. the limitation as if written in the body of this License.
  228. 9. The Free Software Foundation may publish revised and/or new versions
  229. of the General Public License from time to time. Such new versions will
  230. be similar in spirit to the present version, but may differ in detail to
  231. address new problems or concerns.
  232. Each version is given a distinguishing version number. If the Program
  233. specifies a version number of this License which applies to it and "any
  234. later version", you have the option of following the terms and conditions
  235. either of that version or of any later version published by the Free
  236. Software Foundation. If the Program does not specify a version number of
  237. this License, you may choose any version ever published by the Free Software
  238. Foundation.
  239. 10. If you wish to incorporate parts of the Program into other free
  240. programs whose distribution conditions are different, write to the author
  241. to ask for permission. For software which is copyrighted by the Free
  242. Software Foundation, write to the Free Software Foundation; we sometimes
  243. make exceptions for this. Our decision will be guided by the two goals
  244. of preserving the free status of all derivatives of our free software and
  245. of promoting the sharing and reuse of software generally.
  246. NO WARRANTY
  247. 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  248. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
  249. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  250. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  251. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  252. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
  253. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
  254. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  255. REPAIR OR CORRECTION.
  256. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  257. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  258. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  259. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  260. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  261. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  262. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  263. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  264. POSSIBILITY OF SUCH DAMAGES.
  265. END OF TERMS AND CONDITIONS
  266. How to Apply These Terms to Your New Programs
  267. If you develop a new program, and you want it to be of the greatest
  268. possible use to the public, the best way to achieve this is to make it
  269. free software which everyone can redistribute and change under these terms.
  270. To do so, attach the following notices to the program. It is safest
  271. to attach them to the start of each source file to most effectively
  272. convey the exclusion of warranty; and each file should have at least
  273. the "copyright" line and a pointer to where the full notice is found.
  274. <one line to give the program's name and a brief idea of what it does.>
  275. Copyright (C) <year> <name of author>
  276. This program is free software; you can redistribute it and/or modify
  277. it under the terms of the GNU General Public License as published by
  278. the Free Software Foundation; either version 2 of the License, or
  279. (at your option) any later version.
  280. This program is distributed in the hope that it will be useful,
  281. but WITHOUT ANY WARRANTY; without even the implied warranty of
  282. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  283. GNU General Public License for more details.
  284. You should have received a copy of the GNU General Public License
  285. along with this program; if not, write to the Free Software
  286. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  287. Also add information on how to contact you by electronic and paper mail.
  288. If the program is interactive, make it output a short notice like this
  289. when it starts in an interactive mode:
  290. Gnomovision version 69, Copyright (C) year name of author
  291. Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
  292. This is free software, and you are welcome to redistribute it
  293. under certain conditions; type `show c' for details.
  294. The hypothetical commands `show w' and `show c' should show the appropriate
  295. parts of the General Public License. Of course, the commands you use may
  296. be called something other than `show w' and `show c'; they could even be
  297. mouse-clicks or menu items--whatever suits your program.
  298. You should also get your employer (if you work as a programmer) or your
  299. school, if any, to sign a "copyright disclaimer" for the program, if
  300. necessary. Here is a sample; alter the names:
  301. Yoyodyne, Inc., hereby disclaims all copyright interest in the program
  302. `Gnomovision' (which makes passes at compilers) written by James Hacker.
  303. <signature of Ty Coon>, 1 April 1989
  304. Ty Coon, President of Vice
  305. This General Public License does not permit incorporating your program into
  306. proprietary programs. If your program is a subroutine library, you may
  307. consider it more useful to permit linking proprietary applications with the
  308. library. If this is what you want to do, use the GNU Library General
  309. Public License instead of this License.
  310. Appendix B
  311. This file is part of GCC.
  312. GCC is free software; you can redistribute it and/or modify it under
  313. the terms of the GNU General Public License as published by the Free
  314. Software Foundation; either version 2, or (at your option) any later
  315. version.
  316. In addition to the permissions in the GNU General Public License, the
  317. Free Software Foundation gives you unlimited permission to link the
  318. compiled version of this file into combinations with other programs,
  319. and to distribute those combinations without any restriction coming
  320. from the use of this file. (The General Public License restrictions
  321. do apply in other respects; for example, they cover modification of
  322. the file, and distribution when not linked into a combine
  323. executable.)
  324. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  325. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  326. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  327. for more details.
  328. You should have received a copy of the GNU General Public License
  329. along with GCC; see the file COPYING. If not, write to the Free
  330. Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  331. 02111-1307, USA.
  332. Appendix C
  333. GNU LIBRARY GENERAL PUBLIC LICENSE
  334. Version 2, June 1991
  335. Copyright (C) 1991 Free Software Foundation, Inc.
  336. 675 Mass Ave, Cambridge, MA 02139, USA
  337. Everyone is permitted to copy and distribute verbatim copies
  338. of this license document, but changing it is not allowed.
  339. [This is the first released version of the library GPL. It is
  340. numbered 2 because it goes with version 2 of the ordinary GPL.]
  341. Preamble
  342. The licenses for most software are designed to take away your
  343. freedom to share and change it. By contrast, the GNU General Public
  344. Licenses are intended to guarantee your freedom to share and change
  345. free software--to make sure the software is free for all its users.
  346. This license, the Library General Public License, applies to some
  347. specially designated Free Software Foundation software, and to any
  348. other libraries whose authors decide to use it. You can use it for
  349. your libraries, too.
  350. When we speak of free software, we are referring to freedom, not
  351. price. Our General Public Licenses are designed to make sure that you
  352. have the freedom to distribute copies of free software (and charge for
  353. this service if you wish), that you receive source code or can get it
  354. if you want it, that you can change the software or use pieces of it
  355. in new free programs; and that you know you can do these things.
  356. To protect your rights, we need to make restrictions that forbid
  357. anyone to deny you these rights or to ask you to surrender the rights.
  358. These restrictions translate to certain responsibilities for you if
  359. you distribute copies of the library, or if you modify it.
  360. For example, if you distribute copies of the library, whether gratis
  361. or for a fee, you must give the recipients all the rights that we gave
  362. you. You must make sure that they, too, receive or can get the source
  363. code. If you link a program with the library, you must provide
  364. complete object files to the recipients so that they can relink them
  365. with the library, after making changes to the library and recompiling
  366. it. And you must show them these terms so they know their rights.
  367. Our method of protecting your rights has two steps: (1) copyright
  368. the library, and (2) offer you this license which gives you legal
  369. permission to copy, distribute and/or modify the library.
  370. Also, for each distributor's protection, we want to make certain
  371. that everyone understands that there is no warranty for this free
  372. library. If the library is modified by someone else and passed on, we
  373. want its recipients to know that what they have is not the original
  374. version, so that any problems introduced by others will not reflect on
  375. the original authors' reputations.
  376. Finally, any free program is threatened constantly by software
  377. patents. We wish to avoid the danger that companies distributing free
  378. software will individually obtain patent licenses, thus in effect
  379. transforming the program into proprietary software. To prevent this,
  380. we have made it clear that any patent must be licensed for everyone's
  381. free use or not licensed at all.
  382. Most GNU software, including some libraries, is covered by the ordinary
  383. GNU General Public License, which was designed for utility programs. This
  384. license, the GNU Library General Public License, applies to certain
  385. designated libraries. This license is quite different from the ordinary
  386. one; be sure to read it in full, and don't assume that anything in it is
  387. the same as in the ordinary license.
  388. The reason we have a separate public license for some libraries is that
  389. they blur the distinction we usually make between modifying or adding to a
  390. program and simply using it. Linking a program with a library, without
  391. changing the library, is in some sense simply using the library, and is
  392. analogous to running a utility program or application program. However, in
  393. a textual and legal sense, the linked executable is a combined work, a
  394. derivative of the original library, and the ordinary General Public License
  395. treats it as such.
  396. Because of this blurred distinction, using the ordinary General
  397. Public License for libraries did not effectively promote software
  398. sharing, because most developers did not use the libraries. We
  399. concluded that weaker conditions might promote sharing better.
  400. However, unrestricted linking of non-free programs would deprive the
  401. users of those programs of all benefit from the free status of the
  402. libraries themselves. This Library General Public License is intended to
  403. permit developers of non-free programs to use free libraries, while
  404. preserving your freedom as a user of such programs to change the free
  405. libraries that are incorporated in them. (We have not seen how to achieve
  406. this as regards changes in header files, but we have achieved it as regards
  407. changes in the actual functions of the Library.) The hope is that this
  408. will lead to faster development of free libraries.
  409. The precise terms and conditions for copying, distribution and
  410. modification follow. Pay close attention to the difference between a
  411. "work based on the library" and a "work that uses the library". The
  412. former contains code derived from the library, while the latter only
  413. works together with the library.
  414. Note that it is possible for a library to be covered by the ordinary
  415. General Public License rather than by this special one.
  416. GNU LIBRARY GENERAL PUBLIC LICENSE
  417. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  418. 0. This License Agreement applies to any software library which
  419. contains a notice placed by the copyright holder or other authorized
  420. party saying it may be distributed under the terms of this Library
  421. General Public License (also called "this License"). Each licensee is
  422. addressed as "you".
  423. A "library" means a collection of software functions and/or data
  424. prepared so as to be conveniently linked with application programs
  425. (which use some of those functions and data) to form executables.
  426. The "Library", below, refers to any such software library or work
  427. which has been distributed under these terms. A "work based on the
  428. Library" means either the Library or any derivative work under
  429. copyright law: that is to say, a work containing the Library or a
  430. portion of it, either verbatim or with modifications and/or translated
  431. straightforwardly into another language. (Hereinafter, translation is
  432. included without limitation in the term "modification".)
  433. "Source code" for a work means the preferred form of the work for
  434. making modifications to it. For a library, complete source code means
  435. all the source code for all modules it contains, plus any associated
  436. interface definition files, plus the scripts used to control compilation
  437. and installation of the library.
  438. Activities other than copying, distribution and modification are not
  439. covered by this License; they are outside its scope. The act of
  440. running a program using the Library is not restricted, and output from
  441. such a program is covered only if its contents constitute a work based
  442. on the Library (independent of the use of the Library in a tool for
  443. writing it). Whether that is true depends on what the Library does
  444. and what the program that uses the Library does.
  445. 1. You may copy and distribute verbatim copies of the Library's
  446. complete source code as you receive it, in any medium, provided that
  447. you conspicuously and appropriately publish on each copy an
  448. appropriate copyright notice and disclaimer of warranty; keep intact
  449. all the notices that refer to this License and to the absence of any
  450. warranty; and distribute a copy of this License along with the
  451. Library.
  452. You may charge a fee for the physical act of transferring a copy,
  453. and you may at your option offer warranty protection in exchange for a
  454. fee.
  455. 2. You may modify your copy or copies of the Library or any portion
  456. of it, thus forming a work based on the Library, and copy and
  457. distribute such modifications or work under the terms of Section 1
  458. above, provided that you also meet all of these conditions:
  459. a) The modified work must itself be a software library.
  460. b) You must cause the files modified to carry prominent notices
  461. stating that you changed the files and the date of any change.
  462. c) You must cause the whole of the work to be licensed at no
  463. charge to all third parties under the terms of this License.
  464. d) If a facility in the modified Library refers to a function or a
  465. table of data to be supplied by an application program that uses
  466. the facility, other than as an argument passed when the facility
  467. is invoked, then you must make a good faith effort to ensure that,
  468. in the event an application does not supply such function or
  469. table, the facility still operates, and performs whatever part of
  470. its purpose remains meaningful.
  471. (For example, a function in a library to compute square roots has
  472. a purpose that is entirely well-defined independent of the
  473. application. Therefore, Subsection 2d requires that any
  474. application-supplied function or table used by this function must
  475. be optional: if the application does not supply it, the square
  476. root function must still compute square roots.)
  477. These requirements apply to the modified work as a whole. If
  478. identifiable sections of that work are not derived from the Library,
  479. and can be reasonably considered independent and separate works in
  480. themselves, then this License, and its terms, do not apply to those
  481. sections when you distribute them as separate works. But when you
  482. distribute the same sections as part of a whole which is a work based
  483. on the Library, the distribution of the whole must be on the terms of
  484. this License, whose permissions for other licensees extend to the
  485. entire whole, and thus to each and every part regardless of who wrote
  486. it.
  487. Thus, it is not the intent of this section to claim rights or contest
  488. your rights to work written entirely by you; rather, the intent is to
  489. exercise the right to control the distribution of derivative or
  490. collective works based on the Library.
  491. In addition, mere aggregation of another work not based on the Library
  492. with the Library (or with a work based on the Library) on a volume of
  493. a storage or distribution medium does not bring the other work under
  494. the scope of this License.
  495. 3. You may opt to apply the terms of the ordinary GNU General Public
  496. License instead of this License to a given copy of the Library. To do
  497. this, you must alter all the notices that refer to this License, so
  498. that they refer to the ordinary GNU General Public License, version 2,
  499. instead of to this License. (If a newer version than version 2 of the
  500. ordinary GNU General Public License has appeared, then you can specify
  501. that version instead if you wish.) Do not make any other change in
  502. these notices.
  503. Once this change is made in a given copy, it is irreversible for
  504. that copy, so the ordinary GNU General Public License applies to all
  505. subsequent copies and derivative works made from that copy.
  506. This option is useful when you wish to copy part of the code of
  507. the Library into a program that is not a library.
  508. 4. You may copy and distribute the Library (or a portion or
  509. derivative of it, under Section 2) in object code or executable form
  510. under the terms of Sections 1 and 2 above provided that you accompany
  511. it with the complete corresponding machine-readable source code, which
  512. must be distributed under the terms of Sections 1 and 2 above on a
  513. medium customarily used for software interchange.
  514. If distribution of object code is made by offering access to copy
  515. from a designated place, then offering equivalent access to copy the
  516. source code from the same place satisfies the requirement to
  517. distribute the source code, even though third parties are not
  518. compelled to copy the source along with the object code.
  519. 5. A program that contains no derivative of any portion of the
  520. Library, but is designed to work with the Library by being compiled or
  521. linked with it, is called a "work that uses the Library". Such a
  522. work, in isolation, is not a derivative work of the Library, and
  523. therefore falls outside the scope of this License.
  524. However, linking a "work that uses the Library" with the Library
  525. creates an executable that is a derivative of the Library (because it
  526. contains portions of the Library), rather than a "work that uses the
  527. library". The executable is therefore covered by this License.
  528. Section 6 states terms for distribution of such executables.
  529. When a "work that uses the Library" uses material from a header file
  530. that is part of the Library, the object code for the work may be a
  531. derivative work of the Library even though the source code is not.
  532. Whether this is true is especially significant if the work can be
  533. linked without the Library, or if the work is itself a library. The
  534. threshold for this to be true is not precisely defined by law.
  535. If such an object file uses only numerical parameters, data
  536. structure layouts and accessors, and small macros and small inline
  537. functions (ten lines or less in length), then the use of the object
  538. file is unrestricted, regardless of whether it is legally a derivative
  539. work. (Executables containing this object code plus portions of the
  540. Library will still fall under Section 6.)
  541. Otherwise, if the work is a derivative of the Library, you may
  542. distribute the object code for the work under the terms of Section 6.
  543. Any executables containing that work also fall under Section 6,
  544. whether or not they are linked directly with the Library itself.
  545. 6. As an exception to the Sections above, you may also compile or
  546. link a "work that uses the Library" with the Library to produce a
  547. work containing portions of the Library, and distribute that work
  548. under terms of your choice, provided that the terms permit
  549. modification of the work for the customer's own use and reverse
  550. engineering for debugging such modifications.
  551. You must give prominent notice with each copy of the work that the
  552. Library is used in it and that the Library and its use are covered by
  553. this License. You must supply a copy of this License. If the work
  554. during execution displays copyright notices, you must include the
  555. copyright notice for the Library among them, as well as a reference
  556. directing the user to the copy of this License. Also, you must do one
  557. of these things:
  558. a) Accompany the work with the complete corresponding
  559. machine-readable source code for the Library including whatever
  560. changes were used in the work (which must be distributed under
  561. Sections 1 and 2 above); and, if the work is an executable linked
  562. with the Library, with the complete machine-readable "work that
  563. uses the Library", as object code and/or source code, so that the
  564. user can modify the Library and then relink to produce a modified
  565. executable containing the modified Library. (It is understood
  566. that the user who changes the contents of definitions files in the
  567. Library will not necessarily be able to recompile the application
  568. to use the modified definitions.)
  569. b) Accompany the work with a written offer, valid for at
  570. least three years, to give the same user the materials
  571. specified in Subsection 6a, above, for a charge no more
  572. than the cost of performing this distribution.
  573. c) If distribution of the work is made by offering access to copy
  574. from a designated place, offer equivalent access to copy the above
  575. specified materials from the same place.
  576. d) Verify that the user has already received a copy of these
  577. materials or that you have already sent this user a copy.
  578. For an executable, the required form of the "work that uses the
  579. Library" must include any data and utility programs needed for
  580. reproducing the executable from it. However, as a special exception,
  581. the source code distributed need not include anything that is normally
  582. distributed (in either source or binary form) with the major
  583. components (compiler, kernel, and so on) of the operating system on
  584. which the executable runs, unless that component itself accompanies
  585. the executable.
  586. It may happen that this requirement contradicts the license
  587. restrictions of other proprietary libraries that do not normally
  588. accompany the operating system. Such a contradiction means you cannot
  589. use both them and the Library together in an executable that you
  590. distribute.
  591. 7. You may place library facilities that are a work based on the
  592. Library side-by-side in a single library together with other library
  593. facilities not covered by this License, and distribute such a combined
  594. library, provided that the separate distribution of the work based on
  595. the Library and of the other library facilities is otherwise
  596. permitted, and provided that you do these two things:
  597. a) Accompany the combined library with a copy of the same work
  598. based on the Library, uncombined with any other library
  599. facilities. This must be distributed under the terms of the
  600. Sections above.
  601. b) Give prominent notice with the combined library of the fact
  602. that part of it is a work based on the Library, and explaining
  603. where to find the accompanying uncombined form of the same work.
  604. 8. You may not copy, modify, sublicense, link with, or distribute
  605. the Library except as expressly provided under this License. Any
  606. attempt otherwise to copy, modify, sublicense, link with, or
  607. distribute the Library is void, and will automatically terminate your
  608. rights under this License. However, parties who have received copies,
  609. or rights, from you under this License will not have their licenses
  610. terminated so long as such parties remain in full compliance.
  611. 9. You are not required to accept this License, since you have not
  612. signed it. However, nothing else grants you permission to modify or
  613. distribute the Library or its derivative works. These actions are
  614. prohibited by law if you do not accept this License. Therefore, by
  615. modifying or distributing the Library (or any work based on the
  616. Library), you indicate your acceptance of this License to do so, and
  617. all its terms and conditions for copying, distributing or modifying
  618. the Library or works based on it.
  619. 10. Each time you redistribute the Library (or any work based on the
  620. Library), the recipient automatically receives a license from the
  621. original licensor to copy, distribute, link with or modify the Library
  622. subject to these terms and conditions. You may not impose any further
  623. restrictions on the recipients' exercise of the rights granted herein.
  624. You are not responsible for enforcing compliance by third parties to
  625. this License.
  626. 11. If, as a consequence of a court judgment or allegation of patent
  627. infringement or for any other reason (not limited to patent issues),
  628. conditions are imposed on you (whether by court order, agreement or
  629. otherwise) that contradict the conditions of this License, they do not
  630. excuse you from the conditions of this License. If you cannot
  631. distribute so as to satisfy simultaneously your obligations under this
  632. License and any other pertinent obligations, then as a consequence you
  633. may not distribute the Library at all. For example, if a patent
  634. license would not permit royalty-free redistribution of the Library by
  635. all those who receive copies directly or indirectly through you, then
  636. the only way you could satisfy both it and this License would be to
  637. refrain entirely from distribution of the Library.
  638. If any portion of this section is held invalid or unenforceable under any
  639. particular circumstance, the balance of the section is intended to apply,
  640. and the section as a whole is intended to apply in other circumstances.
  641. It is not the purpose of this section to induce you to infringe any
  642. patents or other property right claims or to contest validity of any
  643. such claims; this section has the sole purpose of protecting the
  644. integrity of the free software distribution system which is
  645. implemented by public license practices. Many people have made
  646. generous contributions to the wide range of software distributed
  647. through that system in reliance on consistent application of that
  648. system; it is up to the author/donor to decide if he or she is willing
  649. to distribute software through any other system and a licensee cannot
  650. impose that choice.
  651. This section is intended to make thoroughly clear what is believed to
  652. be a consequence of the rest of this License.
  653. 12. If the distribution and/or use of the Library is restricted in
  654. certain countries either by patents or by copyrighted interfaces, the
  655. original copyright holder who places the Library under this License may add
  656. an explicit geographical distribution limitation excluding those countries,
  657. so that distribution is permitted only in or among countries not thus
  658. excluded. In such case, this License incorporates the limitation as if
  659. written in the body of this License.
  660. 13. The Free Software Foundation may publish revised and/or new
  661. versions of the Library General Public License from time to time.
  662. Such new versions will be similar in spirit to the present version,
  663. but may differ in detail to address new problems or concerns.
  664. Each version is given a distinguishing version number. If the Library
  665. specifies a version number of this License which applies to it and
  666. "any later version", you have the option of following the terms and
  667. conditions either of that version or of any later version published by
  668. the Free Software Foundation. If the Library does not specify a
  669. license version number, you may choose any version ever published by
  670. the Free Software Foundation.
  671. 14. If you wish to incorporate parts of the Library into other free
  672. programs whose distribution conditions are incompatible with these,
  673. write to the author to ask for permission. For software which is
  674. copyrighted by the Free Software Foundation, write to the Free
  675. Software Foundation; we sometimes make exceptions for this. Our
  676. decision will be guided by the two goals of preserving the free status
  677. of all derivatives of our free software and of promoting the sharing
  678. and reuse of software generally.
  679. NO WARRANTY
  680. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  681. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  682. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  683. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  684. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  685. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  686. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  687. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  688. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  689. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  690. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  691. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  692. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  693. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  694. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  695. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  696. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  697. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  698. DAMAGES.
  699. END OF TERMS AND CONDITIONS
  700. Appendix: How to Apply These Terms to Your New Libraries
  701. If you develop a new library, and you want it to be of the greatest
  702. possible use to the public, we recommend making it free software that
  703. everyone can redistribute and change. You can do so by permitting
  704. redistribution under these terms (or, alternatively, under the terms of the
  705. ordinary General Public License).
  706. To apply these terms, attach the following notices to the library. It is
  707. safest to attach them to the start of each source file to most effectively
  708. convey the exclusion of warranty; and each file should have at least the
  709. "copyright" line and a pointer to where the full notice is found.
  710. <one line to give the library's name and a brief idea of what it does.>
  711. Copyright (C) <year> <name of author>
  712. This library is free software; you can redistribute it and/or
  713. modify it under the terms of the GNU Library General Public
  714. License as published by the Free Software Foundation; either
  715. version 2 of the License, or (at your option) any later version.
  716. This library is distributed in the hope that it will be useful,
  717. but WITHOUT ANY WARRANTY; without even the implied warranty of
  718. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  719. Library General Public License for more details.
  720. You should have received a copy of the GNU Library General Public
  721. License along with this library; if not, write to the Free
  722. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  723. Also add information on how to contact you by electronic and paper mail.
  724. You should also get your employer (if you work as a programmer) or your
  725. school, if any, to sign a "copyright disclaimer" for the library, if
  726. necessary. Here is a sample; alter the names:
  727. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  728. library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  729. <signature of Ty Coon>, 1 April 1990
  730. Ty Coon, President of Vice
  731. That's all there is to it!
  732. Appendix F
  733. GNU LESSER GENERAL PUBLIC LICENSE
  734. Version 2.1, February 1999
  735. Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  736. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  737. Everyone is permitted to copy and distribute verbatim copies
  738. of this license document, but changing it is not allowed.
  739. [This is the first released version of the Lesser GPL. It also counts
  740. as the successor of the GNU Library Public License, version 2, hence
  741. the version number 2.1.]
  742. Preamble
  743. The licenses for most software are designed to take away your
  744. freedom to share and change it. By contrast, the GNU General Public
  745. Licenses are intended to guarantee your freedom to share and change
  746. free software--to make sure the software is free for all its users.
  747. This license, the Lesser General Public License, applies to some
  748. specially designated software packages--typically libraries--of the
  749. Free Software Foundation and other authors who decide to use it. You
  750. can use it too, but we suggest you first think carefully about whether
  751. this license or the ordinary General Public License is the better
  752. strategy to use in any particular case, based on the explanations
  753. below.
  754. When we speak of free software, we are referring to freedom of use,
  755. not price. Our General Public Licenses are designed to make sure that
  756. you have the freedom to distribute copies of free software (and charge
  757. for this service if you wish); that you receive source code or can get
  758. it if you want it; that you can change the software and use pieces of
  759. it in new free programs; and that you are informed that you can do
  760. these things.
  761. To protect your rights, we need to make restrictions that forbid
  762. distributors to deny you these rights or to ask you to surrender these
  763. rights. These restrictions translate to certain responsibilities for
  764. you if you distribute copies of the library or if you modify it.
  765. For example, if you distribute copies of the library, whether gratis
  766. or for a fee, you must give the recipients all the rights that we gave
  767. you. You must make sure that they, too, receive or can get the source
  768. code. If you link other code with the library, you must provide
  769. complete object files to the recipients, so that they can relink them
  770. with the library after making changes to the library and recompiling
  771. it. And you must show them these terms so they know their rights.
  772. We protect your rights with a two-step method: (1) we copyright the
  773. library, and (2) we offer you this license, which gives you legal
  774. permission to copy, distribute and/or modify the library.
  775. To protect each distributor, we want to make it very clear that
  776. there is no warranty for the free library. Also, if the library is
  777. modified by someone else and passed on, the recipients should know
  778. that what they have is not the original version, so that the original
  779. author's reputation will not be affected by problems that might be
  780. introduced by others.
  781. Finally, software patents pose a constant threat to the existence of
  782. any free program. We wish to make sure that a company cannot
  783. effectively restrict the users of a free program by obtaining a
  784. restrictive license from a patent holder. Therefore, we insist that
  785. any patent license obtained for a version of the library must be
  786. consistent with the full freedom of use specified in this license.
  787. Most GNU software, including some libraries, is covered by the
  788. ordinary GNU General Public License. This license, the GNU Lesser
  789. General Public License, applies to certain designated libraries, and
  790. is quite different from the ordinary General Public License. We use
  791. this license for certain libraries in order to permit linking those
  792. libraries into non-free programs.
  793. When a program is linked with a library, whether statically or using
  794. a shared library, the combination of the two is legally speaking a
  795. combined work, a derivative of the original library. The ordinary
  796. General Public License therefore permits such linking only if the
  797. entire combination fits its criteria of freedom. The Lesser General
  798. Public License permits more lax criteria for linking other code with
  799. the library.
  800. We call this license the "Lesser" General Public License because it
  801. does Less to protect the user's freedom than the ordinary General
  802. Public License. It also provides other free software developers Less
  803. of an advantage over competing non-free programs. These disadvantages
  804. are the reason we use the ordinary General Public License for many
  805. libraries. However, the Lesser license provides advantages in certain
  806. special circumstances.
  807. For example, on rare occasions, there may be a special need to
  808. encourage the widest possible use of a certain library, so that it
  809. becomes a de-facto standard. To achieve this, non-free programs must
  810. be allowed to use the library. A more frequent case is that a free
  811. library does the same job as widely used non-free libraries. In this
  812. case, there is little to gain by limiting the free library to free
  813. software only, so we use the Lesser General Public License.
  814. In other cases, permission to use a particular library in non-free
  815. programs enables a greater number of people to use a large body of
  816. free software. For example, permission to use the GNU C Library in
  817. non-free programs enables many more people to use the whole GNU
  818. operating system, as well as its variant, the GNU/Linux operating
  819. system.
  820. Although the Lesser General Public License is Less protective of the
  821. users' freedom, it does ensure that the user of a program that is
  822. linked with the Library has the freedom and the wherewithal to run
  823. that program using a modified version of the Library.
  824. The precise terms and conditions for copying, distribution and
  825. modification follow. Pay close attention to the difference between a
  826. "work based on the library" and a "work that uses the library". The
  827. former contains code derived from the library, whereas the latter must
  828. be combined with the library in order to run.
  829. GNU LESSER GENERAL PUBLIC LICENSE
  830. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  831. 0. This License Agreement applies to any software library or other
  832. program which contains a notice placed by the copyright holder or
  833. other authorized party saying it may be distributed under the terms of
  834. this Lesser General Public License (also called "this License").
  835. Each licensee is addressed as "you".
  836. A "library" means a collection of software functions and/or data
  837. prepared so as to be conveniently linked with application programs
  838. (which use some of those functions and data) to form executables.
  839. The "Library", below, refers to any such software library or work
  840. which has been distributed under these terms. A "work based on the
  841. Library" means either the Library or any derivative work under
  842. copyright law: that is to say, a work containing the Library or a
  843. portion of it, either verbatim or with modifications and/or translated
  844. straightforwardly into another language. (Hereinafter, translation is
  845. included without limitation in the term "modification".)
  846. "Source code" for a work means the preferred form of the work for
  847. making modifications to it. For a library, complete source code means
  848. all the source code for all modules it contains, plus any associated
  849. interface definition files, plus the scripts used to control
  850. compilation and installation of the library.
  851. Activities other than copying, distribution and modification are not
  852. covered by this License; they are outside its scope. The act of
  853. running a program using the Library is not restricted, and output from
  854. such a program is covered only if its contents constitute a work based
  855. on the Library (independent of the use of the Library in a tool for
  856. writing it). Whether that is true depends on what the Library does
  857. and what the program that uses the Library does.
  858. 1. You may copy and distribute verbatim copies of the Library's
  859. complete source code as you receive it, in any medium, provided that
  860. you conspicuously and appropriately publish on each copy an
  861. appropriate copyright notice and disclaimer of warranty; keep intact
  862. all the notices that refer to this License and to the absence of any
  863. warranty; and distribute a copy of this License along with the
  864. Library.
  865. You may charge a fee for the physical act of transferring a copy,
  866. and you may at your option offer warranty protection in exchange for a
  867. fee.
  868. 2. You may modify your copy or copies of the Library or any portion
  869. of it, thus forming a work based on the Library, and copy and
  870. distribute such modifications or work under the terms of Section 1
  871. above, provided that you also meet all of these conditions:
  872. a) The modified work must itself be a software library.
  873. b) You must cause the files modified to carry prominent notices
  874. stating that you changed the files and the date of any change.
  875. c) You must cause the whole of the work to be licensed at no
  876. charge to all third parties under the terms of this License.
  877. d) If a facility in the modified Library refers to a function or a
  878. table of data to be supplied by an application program that uses
  879. the facility, other than as an argument passed when the facility
  880. is invoked, then you must make a good faith effort to ensure that,
  881. in the event an application does not supply such function or
  882. table, the facility still operates, and performs whatever part of
  883. its purpose remains meaningful.
  884. (For example, a function in a library to compute square roots has
  885. a purpose that is entirely well-defined independent of the
  886. application. Therefore, Subsection 2d requires that any
  887. application-supplied function or table used by this function must
  888. be optional: if the application does not supply it, the square
  889. root function must still compute square roots.)
  890. These requirements apply to the modified work as a whole. If
  891. identifiable sections of that work are not derived from the Library,
  892. and can be reasonably considered independent and separate works in
  893. themselves, then this License, and its terms, do not apply to those
  894. sections when you distribute them as separate works. But when you
  895. distribute the same sections as part of a whole which is a work based
  896. on the Library, the distribution of the whole must be on the terms of
  897. this License, whose permissions for other licensees extend to the
  898. entire whole, and thus to each and every part regardless of who wrote
  899. it.
  900. Thus, it is not the intent of this section to claim rights or contest
  901. your rights to work written entirely by you; rather, the intent is to
  902. exercise the right to control the distribution of derivative or
  903. collective works based on the Library.
  904. In addition, mere aggregation of another work not based on the Library
  905. with the Library (or with a work based on the Library) on a volume of
  906. a storage or distribution medium does not bring the other work under
  907. the scope of this License.
  908. 3. You may opt to apply the terms of the ordinary GNU General Public
  909. License instead of this License to a given copy of the Library. To do
  910. this, you must alter all the notices that refer to this License, so
  911. that they refer to the ordinary GNU General Public License, version 2,
  912. instead of to this License. (If a newer version than version 2 of the
  913. ordinary GNU General Public License has appeared, then you can specify
  914. that version instead if you wish.) Do not make any other change in
  915. these notices.
  916. Once this change is made in a given copy, it is irreversible for
  917. that copy, so the ordinary GNU General Public License applies to all
  918. subsequent copies and derivative works made from that copy.
  919. This option is useful when you wish to copy part of the code of
  920. the Library into a program that is not a library.
  921. 4. You may copy and distribute the Library (or a portion or
  922. derivative of it, under Section 2) in object code or executable form
  923. under the terms of Sections 1 and 2 above provided that you accompany
  924. it with the complete corresponding machine-readable source code, which
  925. must be distributed under the terms of Sections 1 and 2 above on a
  926. medium customarily used for software interchange.
  927. If distribution of object code is made by offering access to copy
  928. from a designated place, then offering equivalent access to copy the
  929. source code from the same place satisfies the requirement to
  930. distribute the source code, even though third parties are not
  931. compelled to copy the source along with the object code.
  932. 5. A program that contains no derivative of any portion of the
  933. Library, but is designed to work with the Library by being compiled or
  934. linked with it, is called a "work that uses the Library". Such a
  935. work, in isolation, is not a derivative work of the Library, and
  936. therefore falls outside the scope of this License.
  937. However, linking a "work that uses the Library" with the Library
  938. creates an executable that is a derivative of the Library (because it
  939. contains portions of the Library), rather than a "work that uses the
  940. library". The executable is therefore covered by this License.
  941. Section 6 states terms for distribution of such executables.
  942. When a "work that uses the Library" uses material from a header file
  943. that is part of the Library, the object code for the work may be a
  944. derivative work of the Library even though the source code is not.
  945. Whether this is true is especially significant if the work can be
  946. linked without the Library, or if the work is itself a library. The
  947. threshold for this to be true is not precisely defined by law.
  948. If such an object file uses only numerical parameters, data
  949. structure layouts and accessors, and small macros and small inline
  950. functions (ten lines or less in length), then the use of the object
  951. file is unrestricted, regardless of whether it is legally a derivative
  952. work. (Executables containing this object code plus portions of the
  953. Library will still fall under Section 6.)
  954. Otherwise, if the work is a derivative of the Library, you may
  955. distribute the object code for the work under the terms of Section 6.
  956. Any executables containing that work also fall under Section 6,
  957. whether or not they are linked directly with the Library itself.
  958. 6. As an exception to the Sections above, you may also combine or
  959. link a "work that uses the Library" with the Library to produce a
  960. work containing portions of the Library, and distribute that work
  961. under terms of your choice, provided that the terms permit
  962. modification of the work for the customer's own use and reverse
  963. engineering for debugging such modifications.
  964. You must give prominent notice with each copy of the work that the
  965. Library is used in it and that the Library and its use are covered by
  966. this License. You must supply a copy of this License. If the work
  967. during execution displays copyright notices, you must include the
  968. copyright notice for the Library among them, as well as a reference
  969. directing the user to the copy of this License. Also, you must do one
  970. of these things:
  971. a) Accompany the work with the complete corresponding
  972. machine-readable source code for the Library including whatever
  973. changes were used in the work (which must be distributed under
  974. Sections 1 and 2 above); and, if the work is an executable linked
  975. with the Library, with the complete machine-readable "work that
  976. uses the Library", as object code and/or source code, so that the
  977. user can modify the Library and then relink to produce a modified
  978. executable containing the modified Library. (It is understood
  979. that the user who changes the contents of definitions files in the
  980. Library will not necessarily be able to recompile the application
  981. to use the modified definitions.)
  982. b) Use a suitable shared library mechanism for linking with the
  983. Library. A suitable mechanism is one that (1) uses at run time a
  984. copy of the library already present on the user's computer system,
  985. rather than copying library functions into the executable, and (2)
  986. will operate properly with a modified version of the library, if
  987. the user installs one, as long as the modified version is
  988. interface-compatible with the version that the work was made with.
  989. c) Accompany the work with a written offer, valid for at least
  990. three years, to give the same user the materials specified in
  991. Subsection 6a, above, for a charge no more than the cost of
  992. performing this distribution.
  993. d) If distribution of the work is made by offering access to copy
  994. from a designated place, offer equivalent access to copy the above
  995. specified materials from the same place.
  996. e) Verify that the user has already received a copy of these
  997. materials or that you have already sent this user a copy.
  998. For an executable, the required form of the "work that uses the
  999. Library" must include any data and utility programs needed for
  1000. reproducing the executable from it. However, as a special exception,
  1001. the materials to be distributed need not include anything that is
  1002. normally distributed (in either source or binary form) with the major
  1003. components (compiler, kernel, and so on) of the operating system on
  1004. which the executable runs, unless that component itself accompanies
  1005. the executable.
  1006. It may happen that this requirement contradicts the license
  1007. restrictions of other proprietary libraries that do not normally
  1008. accompany the operating system. Such a contradiction means you cannot
  1009. use both them and the Library together in an executable that you
  1010. distribute.
  1011. 7. You may place library facilities that are a work based on the
  1012. Library side-by-side in a single library together with other library
  1013. facilities not covered by this License, and distribute such a combined
  1014. library, provided that the separate distribution of the work based on
  1015. the Library and of the other library facilities is otherwise
  1016. permitted, and provided that you do these two things:
  1017. a) Accompany the combined library with a copy of the same work
  1018. based on the Library, uncombined with any other library
  1019. facilities. This must be distributed under the terms of the
  1020. Sections above.
  1021. b) Give prominent notice with the combined library of the fact
  1022. that part of it is a work based on the Library, and explaining
  1023. where to find the accompanying uncombined form of the same work.
  1024. 8. You may not copy, modify, sublicense, link with, or distribute
  1025. the Library except as expressly provided under this License. Any
  1026. attempt otherwise to copy, modify, sublicense, link with, or
  1027. distribute the Library is void, and will automatically terminate your
  1028. rights under this License. However, parties who have received copies,
  1029. or rights, from you under this License will not have their licenses
  1030. terminated so long as such parties remain in full compliance.
  1031. 9. You are not required to accept this License, since you have not
  1032. signed it. However, nothing else grants you permission to modify or
  1033. distribute the Library or its derivative works. These actions are
  1034. prohibited by law if you do not accept this License. Therefore, by
  1035. modifying or distributing the Library (or any work based on the
  1036. Library), you indicate your acceptance of this License to do so, and
  1037. all its terms and conditions for copying, distributing or modifying
  1038. the Library or works based on it.
  1039. 10. Each time you redistribute the Library (or any work based on the
  1040. Library), the recipient automatically receives a license from the
  1041. original licensor to copy, distribute, link with or modify the Library
  1042. subject to these terms and conditions. You may not impose any further
  1043. restrictions on the recipients' exercise of the rights granted herein.
  1044. You are not responsible for enforcing compliance by third parties with
  1045. this License.
  1046. 11. If, as a consequence of a court judgment or allegation of patent
  1047. infringement or for any other reason (not limited to patent issues),
  1048. conditions are imposed on you (whether by court order, agreement or
  1049. otherwise) that contradict the conditions of this License, they do not
  1050. excuse you from the conditions of this License. If you cannot
  1051. distribute so as to satisfy simultaneously your obligations under this
  1052. License and any other pertinent obligations, then as a consequence you
  1053. may not distribute the Library at all. For example, if a patent
  1054. license would not permit royalty-free redistribution of the Library by
  1055. all those who receive copies directly or indirectly through you, then
  1056. the only way you could satisfy both it and this License would be to
  1057. refrain entirely from distribution of the Library.
  1058. If any portion of this section is held invalid or unenforceable under
  1059. any particular circumstance, the balance of the section is intended to
  1060. apply, and the section as a whole is intended to apply in other
  1061. circumstances.
  1062. It is not the purpose of this section to induce you to infringe any
  1063. patents or other property right claims or to contest validity of any
  1064. such claims; this section has the sole purpose of protecting the
  1065. integrity of the free software distribution system which is
  1066. implemented by public license practices. Many people have made
  1067. generous contributions to the wide range of software distributed
  1068. through that system in reliance on consistent application of that
  1069. system; it is up to the author/donor to decide if he or she is willing
  1070. to distribute software through any other system and a licensee cannot
  1071. impose that choice.
  1072. This section is intended to make thoroughly clear what is believed to
  1073. be a consequence of the rest of this License.
  1074. 12. If the distribution and/or use of the Library is restricted in
  1075. certain countries either by patents or by copyrighted interfaces, the
  1076. original copyright holder who places the Library under this License
  1077. may add an explicit geographical distribution limitation excluding those
  1078. countries, so that distribution is permitted only in or among
  1079. countries not thus excluded. In such case, this License incorporates
  1080. the limitation as if written in the body of this License.
  1081. 13. The Free Software Foundation may publish revised and/or new
  1082. versions of the Lesser General Public License from time to time.
  1083. Such new versions will be similar in spirit to the present version,
  1084. but may differ in detail to address new problems or concerns.
  1085. Each version is given a distinguishing version number. If the Library
  1086. specifies a version number of this License which applies to it and
  1087. "any later version", you have the option of following the terms and
  1088. conditions either of that version or of any later version published by
  1089. the Free Software Foundation. If the Library does not specify a
  1090. license version number, you may choose any version ever published by
  1091. the Free Software Foundation.
  1092. 14. If you wish to incorporate parts of the Library into other free
  1093. programs whose distribution conditions are incompatible with these,
  1094. write to the author to ask for permission. For software which is
  1095. copyrighted by the Free Software Foundation, write to the Free
  1096. Software Foundation; we sometimes make exceptions for this. Our
  1097. decision will be guided by the two goals of preserving the free status
  1098. of all derivatives of our free software and of promoting the sharing
  1099. and reuse of software generally.
  1100. NO WARRANTY
  1101. 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  1102. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  1103. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  1104. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  1105. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  1106. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  1107. PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  1108. LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  1109. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  1110. 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  1111. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  1112. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  1113. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  1114. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  1115. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  1116. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  1117. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  1118. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  1119. DAMAGES.
  1120. END OF TERMS AND CONDITIONS
  1121. How to Apply These Terms to Your New Libraries
  1122. If you develop a new library, and you want it to be of the greatest
  1123. possible use to the public, we recommend making it free software that
  1124. everyone can redistribute and change. You can do so by permitting
  1125. redistribution under these terms (or, alternatively, under the terms
  1126. of the ordinary General Public License).
  1127. To apply these terms, attach the following notices to the library.
  1128. It is safest to attach them to the start of each source file to most
  1129. effectively convey the exclusion of warranty; and each file should
  1130. have at least the "copyright" line and a pointer to where the full
  1131. notice is found.
  1132. <one line to give the library's name and a brief idea of what it does.>
  1133. Copyright (C) <year> <name of author>
  1134. This library is free software; you can redistribute it and/or
  1135. modify it under the terms of the GNU Lesser General Public
  1136. License as published by the Free Software Foundation; either
  1137. version 2.1 of the License, or (at your option) any later version.
  1138. This library is distributed in the hope that it will be useful,
  1139. but WITHOUT ANY WARRANTY; without even the implied warranty of
  1140. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  1141. Lesser General Public License for more details.
  1142. You should have received a copy of the GNU Lesser General Public
  1143. License along with this library; if not, write to the Free Software
  1144. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  1145. Also add information on how to contact you by electronic and paper mail.
  1146. You should also get your employer (if you work as a programmer) or
  1147. your school, if any, to sign a "copyright disclaimer" for the library,
  1148. if necessary. Here is a sample; alter the names:
  1149. Yoyodyne, Inc., hereby disclaims all copyright interest in the
  1150. library `Frob' (a library for tweaking knobs) written by James
  1151. Random Hacker.
  1152. <signature of Ty Coon>, 1 April 1990
  1153. Ty Coon, President of Vice
  1154. That's all there is to it!
  1155. Appendix G
  1156. Independent JPEG Group License
  1157. LEGAL ISSUES
  1158. In plain English:
  1159. 1. We don't promise that this software works. (But if you find any bugs, please
  1160. let us know!)
  1161. 2. You can use this software for whatever you want. You don't have to pay us.
  1162. 3. You may not pretend that you wrote this software. If you use it in a program,
  1163. you must acknowledge somewhere in your documentation that you've used the IJG code.
  1164. In legalese:
  1165. The authors make NO WARRANTY or representation, either express or implied, with
  1166. respect to this software, its quality, accuracy, merchantability, or fitness for
  1167. a particular purpose. This software is provided "AS IS", and you, its user, assume
  1168. the entire risk as to its quality and accuracy.
  1169. This software is copyright (C) 1991-1998, Thomas G. Lane. All Rights Reserved
  1170. except as specified below.
  1171. Permission is hereby granted to use, copy, modify, and distribute this software
  1172. (or portions thereof) for any purpose, without fee, subject to these conditions:
  1173. (1) If any part of the source code for this software is distributed, then this
  1174. README file must be included, with this copyright and no-warranty notice unaltered;
  1175. and any additions, deletions, or changes to the original files must be clearly
  1176. indicated in accompanying documentation.
  1177. (2) If only executable code is distributed, then the accompanying documentation
  1178. must state that "this software is based in part on the work of the Independent JPEG
  1179. Group".
  1180. (3) Permission for use of this software is granted only if the user accepts full
  1181. responsibility for any undesirable consequences; the authors accept NO LIABILITY
  1182. for damages of any kind.
  1183. These conditions apply to any software derived from or based on the IJG code,
  1184. not just to the unmodified library. If you use our work, you ought to acknowledge us.
  1185. Permission is NOT granted for the use of any IJG author's name or company name
  1186. in advertising or publicity relating to this software or products derived from it.
  1187. This software may be referred to only as "the Independent JPEG Group's software".
  1188. We specifically permit and encourage the use of this software as the basis of
  1189. commercial products, provided that all warranty or liability claims are assumed
  1190. by the product vendor.
  1191. ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
  1192. sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
  1193. ansi2knr.c is NOT covered by the above copyright and conditions, but instead by
  1194. the usual distribution terms of the Free Software Foundation; principally, that
  1195. you must include source code if you redistribute it. (See the file ansi2knr.c for
  1196. full details.) However, since ansi2knr.c is not needed as part of any program
  1197. generated from the IJG code, this does not limit you more than the foregoing
  1198. paragraphs do.
  1199. The Unix configuration script "configure" was produced with GNU Autoconf.
  1200. It is copyright by the Free Software Foundation but is freely distributable.
  1201. The same holds for its supporting scripts (config.guess, config.sub, ltconfig,
  1202. ltmain.sh). Another support script, install-sh, is copyright by M.I.T. but is
  1203. also freely distributable.
  1204. It appears that the arithmetic coding option of the JPEG spec is covered by
  1205. patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
  1206. legally be used without obtaining one or more licenses. For this reason, support
  1207. for arithmetic coding has been removed from the free JPEG software. (Since
  1208. arithmetic coding provides only a marginal gain over the unpatented Huffman
  1209. mode, it is unlikely that very many implementations will support it.) So far
  1210. as we are aware, there are no patent restrictions on the remaining code.
  1211. The IJG distribution formerly included code to read and write GIF files. To
  1212. avoid entanglement with the Unisys LZW patent, GIF reading support has been
  1213. removed altogether, and the GIF writer has been simplified to produce
  1214. "uncompressed GIFs". This technique does not use the LZW algorithm; the
  1215. resulting GIF files are larger than usual, but are readable by all standard
  1216. GIF decoders.
  1217. We are required to state that "The Graphics Interchange Format(c) is the
  1218. Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark
  1219. property of CompuServe Incorporated."
  1220. Appendix H
  1221. Permission is hereby granted, free of charge, to any person obtaining a copy
  1222. of this software and associated documentation files (the "Software"), to deal
  1223. in the Software without restriction, including without limitation the rights
  1224. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1225. copies of the Software, and to permit persons to whom the Software is fur-
  1226. nished to do so, subject to the following conditions:
  1227. The above copyright notice and this permission notice shall be included in
  1228. all copies or substantial portions of the Software.
  1229. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1230. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1231. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1232. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1233. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1234. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  1235. THE SOFTWARE.
  1236. Appendix I
  1237. Redistribution and use in source and binary forms, with or without
  1238. modification, are permitted provided that the following conditions
  1239. are met:
  1240. 1. Redistributions of source code must retain the above copyright
  1241. notice, this list of conditions and the following disclaimer.
  1242. 2. Redistributions in binary form must reproduce the above copyright
  1243. notice, this list of conditions and the following disclaimer in
  1244. the documentation and/or other materials provided with the
  1245. distribution.
  1246. 3. All advertising materials mentioning features or use of this
  1247. software must display the following acknowledgment:
  1248. "This product includes software developed by the OpenSSL Project
  1249. for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
  1250. 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
  1251. endorse or promote products derived from this software without
  1252. prior written permission. For written permission, please contact
  1253. openssl-core@openssl.org.
  1254. 5. Products derived from this software may not be called "OpenSSL"
  1255. nor may "OpenSSL" appear in their names without prior written
  1256. permission of the OpenSSL Project.
  1257. 6. Redistributions of any form whatsoever must retain the following
  1258. acknowledgment:
  1259. "This product includes software developed by the OpenSSL Project
  1260. for use in the OpenSSL Toolkit (http://www.openssl.org/)"
  1261. THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
  1262. EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  1263. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  1264. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR
  1265. ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  1266. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  1267. NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  1268. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  1269. HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  1270. STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  1271. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
  1272. OF THE POSSIBILITY OF SUCH DAMAGE.
  1273. Appendix J
  1274. The FreeType Project LICENSE
  1275. ----------------------------
  1276. 2006-Jan-27
  1277. Copyright 1996-2002, 2006 by
  1278. David Turner, Robert Wilhelm, and Werner Lemberg
  1279. Introduction
  1280. ============
  1281. The FreeType Project is distributed in several archive packages;
  1282. some of them may contain, in addition to the FreeType font engine,
  1283. various tools and contributions which rely on, or relate to, the
  1284. FreeType Project.
  1285. This license applies to all files found in such packages, and
  1286. which do not fall under their own explicit license. The license
  1287. affects thus the FreeType font engine, the test programs,
  1288. documentation and makefiles, at the very least.
  1289. This license was inspired by the BSD, Artistic, and IJG
  1290. (Independent JPEG Group) licenses, which all encourage inclusion
  1291. and use of free software in commercial and freeware products
  1292. alike. As a consequence, its main points are that:
  1293. o We don't promise that this software works. However, we will be
  1294. interested in any kind of bug reports. (`as is' distribution)
  1295. o You can use this software for whatever you want, in parts or
  1296. full form, without having to pay us. (`royalty-free' usage)
  1297. o You may not pretend that you wrote this software. If you use
  1298. it, or only parts of it, in a program, you must acknowledge
  1299. somewhere in your documentation that you have used the
  1300. FreeType code. (`credits')
  1301. We specifically permit and encourage the inclusion of this
  1302. software, with or without modifications, in commercial products.
  1303. We disclaim all warranties covering The FreeType Project and
  1304. assume no liability related to The FreeType Project.
  1305. Finally, many people asked us for a preferred form for a
  1306. credit/disclaimer to use in compliance with this license. We thus
  1307. encourage you to use the following text:
  1308. """
  1309. Portions of this software are copyright © <year> The FreeType
  1310. Project (www.freetype.org). All rights reserved.
  1311. """
  1312. Please replace <year> with the value from the FreeType version you
  1313. actually use.
  1314. Legal Terms
  1315. ===========
  1316. 0. Definitions
  1317. --------------
  1318. Throughout this license, the terms `package', `FreeType Project',
  1319. and `FreeType archive' refer to the set of files originally
  1320. distributed by the authors (David Turner, Robert Wilhelm, and
  1321. Werner Lemberg) as the `FreeType Project', be they named as alpha,
  1322. beta or final release.
  1323. `You' refers to the licensee, or person using the project, where
  1324. `using' is a generic term including compiling the project's source
  1325. code as well as linking it to form a `program' or `executable'.
  1326. This program is referred to as `a program using the FreeType
  1327. engine'.
  1328. This license applies to all files distributed in the original
  1329. FreeType Project, including all source code, binaries and
  1330. documentation, unless otherwise stated in the file in its
  1331. original, unmodified form as distributed in the original archive.
  1332. If you are unsure whether or not a particular file is covered by
  1333. this license, you must contact us to verify this.
  1334. The FreeType Project is copyright (C) 1996-2000 by David Turner,
  1335. Robert Wilhelm, and Werner Lemberg. All rights reserved except as
  1336. specified below.
  1337. 1. No Warranty
  1338. --------------
  1339. THE FREETYPE PROJECT IS PROVIDED `AS IS' WITHOUT WARRANTY OF ANY
  1340. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  1341. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  1342. PURPOSE. IN NO EVENT WILL ANY OF THE AUTHORS OR COPYRIGHT HOLDERS
  1343. BE LIABLE FOR ANY DAMAGES CAUSED BY THE USE OR THE INABILITY TO
  1344. USE, OF THE FREETYPE PROJECT.
  1345. 2. Redistribution
  1346. -----------------
  1347. This license grants a worldwide, royalty-free, perpetual and
  1348. irrevocable right and license to use, execute, perform, compile,
  1349. display, copy, create derivative works of, distribute and
  1350. sublicense the FreeType Project (in both source and object code
  1351. forms) and derivative works thereof for any purpose; and to
  1352. authorize others to exercise some or all of the rights granted
  1353. herein, subject to the following conditions:
  1354. o Redistribution of source code must retain this license file
  1355. (`FTL.TXT') unaltered; any additions, deletions or changes to
  1356. the original files must be clearly indicated in accompanying
  1357. documentation. The copyright notices of the unaltered,
  1358. original files must be preserved in all copies of source
  1359. files.
  1360. o Redistribution in binary form must provide a disclaimer that
  1361. states that the software is based in part of the work of the
  1362. FreeType Team, in the distribution documentation. We also
  1363. encourage you to put an URL to the FreeType web page in your
  1364. documentation, though this isn't mandatory.
  1365. These conditions apply to any software derived from or based on
  1366. the FreeType Project, not just the unmodified files. If you use
  1367. our work, you must acknowledge us. However, no fee need be paid
  1368. to us.
  1369. 3. Advertising
  1370. --------------
  1371. Neither the FreeType authors and contributors nor you shall use
  1372. the name of the other for commercial, advertising, or promotional
  1373. purposes without specific prior written permission.
  1374. We suggest, but do not require, that you use one or more of the
  1375. following phrases to refer to this software in your documentation
  1376. or advertising materials: `FreeType Project', `FreeType Engine',
  1377. `FreeType library', or `FreeType Distribution'.
  1378. As you have not signed this license, you are not required to
  1379. accept it. However, as the FreeType Project is copyrighted
  1380. material, only this license, or another one contracted with the
  1381. authors, grants you the right to use, distribute, and modify it.
  1382. Therefore, by using, distributing, or modifying the FreeType
  1383. Project, you indicate that you understand and accept all the terms
  1384. of this license.
  1385. 4. Contacts
  1386. -----------
  1387. There are two mailing lists related to FreeType:
  1388. o freetype@nongnu.org
  1389. Discusses general use and applications of FreeType, as well as
  1390. future and wanted additions to the library and distribution.
  1391. If you are looking for support, start in this list if you
  1392. haven't found anything to help you in the documentation.
  1393. o freetype-devel@nongnu.org
  1394. Discusses bugs, as well as engine internals, design issues,
  1395. specific licenses, porting, etc.
  1396. Our home page can be found at
  1397. http://www.freetype.org
  1398. Appendix K
  1399. libpng-LICENSE
  1400. --------------
  1401. This copy of the libpng notices is provided for your convenience. In case of
  1402. any discrepancy between this copy and the notices in the file png.h that is
  1403. included in the libpng distribution, the latter shall prevail.
  1404. COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
  1405. If you modify libpng you may insert additional notices immediately following
  1406. this sentence.
  1407. This code is released under the libpng license.
  1408. libpng versions 1.0.7, July 1, 2000 through 1.6.26, October 20, 2016 are
  1409. Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
  1410. derived from libpng-1.0.6, and are distributed according to the same
  1411. disclaimer and license as libpng-1.0.6 with the following individuals
  1412. added to the list of Contributing Authors:
  1413. Simon-Pierre Cadieux
  1414. Eric S. Raymond
  1415. Mans Rullgard
  1416. Cosmin Truta
  1417. Gilles Vollant
  1418. James Yu
  1419. and with the following additions to the disclaimer:
  1420. There is no warranty against interference with your enjoyment of the
  1421. library or against infringement. There is no warranty that our
  1422. efforts or the library will fulfill any of your particular purposes
  1423. or needs. This library is provided with all faults, and the entire
  1424. risk of satisfactory quality, performance, accuracy, and effort is with
  1425. the user.
  1426. Some files in the "contrib" directory and some configure-generated
  1427. files that are distributed with libpng have other copyright owners and
  1428. are released under other open source licenses.
  1429. libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
  1430. Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from
  1431. libpng-0.96, and are distributed according to the same disclaimer and
  1432. license as libpng-0.96, with the following individuals added to the list
  1433. of Contributing Authors:
  1434. Tom Lane
  1435. Glenn Randers-Pehrson
  1436. Willem van Schaik
  1437. libpng versions 0.89, June 1996, through 0.96, May 1997, are
  1438. Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88,
  1439. and are distributed according to the same disclaimer and license as
  1440. libpng-0.88, with the following individuals added to the list of
  1441. Contributing Authors:
  1442. John Bowler
  1443. Kevin Bracey
  1444. Sam Bushell
  1445. Magnus Holmgren
  1446. Greg Roelofs
  1447. Tom Tanner
  1448. Some files in the "scripts" directory have other copyright owners
  1449. but are released under this license.
  1450. libpng versions 0.5, May 1995, through 0.88, January 1996, are
  1451. Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
  1452. For the purposes of this copyright and license, "Contributing Authors"
  1453. is defined as the following set of individuals:
  1454. Andreas Dilger
  1455. Dave Martindale
  1456. Guy Eric Schalnat
  1457. Paul Schmidt
  1458. Tim Wegner
  1459. The PNG Reference Library is supplied "AS IS". The Contributing Authors
  1460. and Group 42, Inc. disclaim all warranties, expressed or implied,
  1461. including, without limitation, the warranties of merchantability and of
  1462. fitness for any purpose. The Contributing Authors and Group 42, Inc.
  1463. assume no liability for direct, indirect, incidental, special, exemplary,
  1464. or consequential damages, which may result from the use of the PNG
  1465. Reference Library, even if advised of the possibility of such damage.
  1466. Permission is hereby granted to use, copy, modify, and distribute this
  1467. source code, or portions hereof, for any purpose, without fee, subject
  1468. to the following restrictions:
  1469. 1. The origin of this source code must not be misrepresented.
  1470. 2. Altered versions must be plainly marked as such and must not
  1471. be misrepresented as being the original source.
  1472. 3. This Copyright notice may not be removed or altered from any
  1473. source or altered source distribution.
  1474. The Contributing Authors and Group 42, Inc. specifically permit, without
  1475. fee, and encourage the use of this source code as a component to
  1476. supporting the PNG file format in commercial products. If you use this
  1477. source code in a product, acknowledgment is not required but would be
  1478. appreciated.
  1479. END OF COPYRIGHT NOTICE, DISCLAIMER, and LICENSE.
  1480. TRADEMARK:
  1481. The name "libpng" has not been registered by the Copyright owner
  1482. as a trademark in any jurisdiction. However, because libpng has
  1483. been distributed and maintained world-wide, continually since 1995,
  1484. the Copyright owner claims "common-law trademark protection" in any
  1485. jurisdiction where common-law trademark is recognized.
  1486. OSI CERTIFICATION:
  1487. Libpng is OSI Certified Open Source Software. OSI Certified Open Source is
  1488. a certification mark of the Open Source Initiative. OSI has not addressed
  1489. the additional disclaimers inserted at version 1.0.7.
  1490. EXPORT CONTROL:
  1491. The Copyright owner believes that the Export Control Classification
  1492. Number (ECCN) for libpng is EAR99, which means not subject to export
  1493. controls or International Traffic in Arms Regulations (ITAR) because
  1494. it is open source, publicly available software, that does not contain
  1495. any encryption software. See the EAR, paragraphs 734.3(b)(3) and
  1496. 734.7(b).
  1497. Glenn Randers-Pehrson
  1498. glennrp at users.sourceforge.net
  1499. October 20, 2016
  1500. Appendix L
  1501. Apache License
  1502. Version 2.0, January 2004
  1503. http://www.apache.org/licenses/
  1504. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  1505. 1. Definitions.
  1506. "License" shall mean the terms and conditions for use, reproduction,
  1507. and distribution as defined by Sections 1 through 9 of this document.
  1508. "Licensor" shall mean the copyright owner or entity authorized by
  1509. the copyright owner that is granting the License.
  1510. "Legal Entity" shall mean the union of the acting entity and all
  1511. other entities that control, are controlled by, or are under common
  1512. control with that entity. For the purposes of this definition,
  1513. "control" means (i) the power, direct or indirect, to cause the
  1514. direction or management of such entity, whether by contract or
  1515. otherwise, or (ii) ownership of fifty percent (50%) or more of the
  1516. outstanding shares, or (iii) beneficial ownership of such entity.
  1517. "You" (or "Your") shall mean an individual or Legal Entity
  1518. exercising permissions granted by this License.
  1519. "Source" form shall mean the preferred form for making modifications,
  1520. including but not limited to software source code, documentation
  1521. source, and configuration files.
  1522. "Object" form shall mean any form resulting from mechanical
  1523. transformation or translation of a Source form, including but
  1524. not limited to compiled object code, generated documentation,
  1525. and conversions to other media types.
  1526. "Work" shall mean the work of authorship, whether in Source or
  1527. Object form, made available under the License, as indicated by a
  1528. copyright notice that is included in or attached to the work
  1529. (an example is provided in the Appendix below).
  1530. "Derivative Works" shall mean any work, whether in Source or Object
  1531. form, that is based on (or derived from) the Work and for which the
  1532. editorial revisions, annotations, elaborations, or other modifications
  1533. represent, as a whole, an original work of authorship. For the purposes
  1534. of this License, Derivative Works shall not include works that remain
  1535. separable from, or merely link (or bind by name) to the interfaces of,
  1536. the Work and Derivative Works thereof.
  1537. "Contribution" shall mean any work of authorship, including
  1538. the original version of the Work and any modifications or additions
  1539. to that Work or Derivative Works thereof, that is intentionally
  1540. submitted to Licensor for inclusion in the Work by the copyright owner
  1541. or by an individual or Legal Entity authorized to submit on behalf of
  1542. the copyright owner. For the purposes of this definition, "submitted"
  1543. means any form of electronic, verbal, or written communication sent
  1544. to the Licensor or its representatives, including but not limited to
  1545. communication on electronic mailing lists, source code control systems,
  1546. and issue tracking systems that are managed by, or on behalf of, the
  1547. Licensor for the purpose of discussing and improving the Work, but
  1548. excluding communication that is conspicuously marked or otherwise
  1549. designated in writing by the copyright owner as "Not a Contribution."
  1550. "Contributor" shall mean Licensor and any individual or Legal Entity
  1551. on behalf of whom a Contribution has been received by Licensor and
  1552. subsequently incorporated within the Work.
  1553. 2. Grant of Copyright License. Subject to the terms and conditions of
  1554. this License, each Contributor hereby grants to You a perpetual,
  1555. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1556. copyright license to reproduce, prepare Derivative Works of,
  1557. publicly display, publicly perform, sublicense, and distribute the
  1558. Work and such Derivative Works in Source or Object form.
  1559. 3. Grant of Patent License. Subject to the terms and conditions of
  1560. this License, each Contributor hereby grants to You a perpetual,
  1561. worldwide, non-exclusive, no-charge, royalty-free, irrevocable
  1562. (except as stated in this section) patent license to make, have made,
  1563. use, offer to sell, sell, import, and otherwise transfer the Work,
  1564. where such license applies only to those patent claims licensable
  1565. by such Contributor that are necessarily infringed by their
  1566. Contribution(s) alone or by combination of their Contribution(s)
  1567. with the Work to which such Contribution(s) was submitted. If You
  1568. institute patent litigation against any entity (including a
  1569. cross-claim or counterclaim in a lawsuit) alleging that the Work
  1570. or a Contribution incorporated within the Work constitutes direct
  1571. or contributory patent infringement, then any patent licenses
  1572. granted to You under this License for that Work shall terminate
  1573. as of the date such litigation is filed.
  1574. 4. Redistribution. You may reproduce and distribute copies of the
  1575. Work or Derivative Works thereof in any medium, with or without
  1576. modifications, and in Source or Object form, provided that You
  1577. meet the following conditions:
  1578. (a) You must give any other recipients of the Work or
  1579. Derivative Works a copy of this License; and
  1580. (b) You must cause any modified files to carry prominent notices
  1581. stating that You changed the files; and
  1582. (c) You must retain, in the Source form of any Derivative Works
  1583. that You distribute, all copyright, patent, trademark, and
  1584. attribution notices from the Source form of the Work,
  1585. excluding those notices that do not pertain to any part of
  1586. the Derivative Works; and
  1587. (d) If the Work includes a "NOTICE" text file as part of its
  1588. distribution, then any Derivative Works that You distribute must
  1589. include a readable copy of the attribution notices contained
  1590. within such NOTICE file, excluding those notices that do not
  1591. pertain to any part of the Derivative Works, in at least one
  1592. of the following places: within a NOTICE text file distributed
  1593. as part of the Derivative Works; within the Source form or
  1594. documentation, if provided along with the Derivative Works; or,
  1595. within a display generated by the Derivative Works, if and
  1596. wherever such third-party notices normally appear. The contents
  1597. of the NOTICE file are for informational purposes only and
  1598. do not modify the License. You may add Your own attribution
  1599. notices within Derivative Works that You distribute, alongside
  1600. or as an addendum to the NOTICE text from the Work, provided
  1601. that such additional attribution notices cannot be construed
  1602. as modifying the License.
  1603. You may add Your own copyright statement to Your modifications and
  1604. may provide additional or different license terms and conditions
  1605. for use, reproduction, or distribution of Your modifications, or
  1606. for any such Derivative Works as a whole, provided Your use,
  1607. reproduction, and distribution of the Work otherwise complies with
  1608. the conditions stated in this License.
  1609. 5. Submission of Contributions. Unless You explicitly state otherwise,
  1610. any Contribution intentionally submitted for inclusion in the Work
  1611. by You to the Licensor shall be under the terms and conditions of
  1612. this License, without any additional terms or conditions.
  1613. Notwithstanding the above, nothing herein shall supersede or modify
  1614. the terms of any separate license agreement you may have executed
  1615. with Licensor regarding such Contributions.
  1616. 6. Trademarks. This License does not grant permission to use the trade
  1617. names, trademarks, service marks, or product names of the Licensor,
  1618. except as required for reasonable and customary use in describing the
  1619. origin of the Work and reproducing the content of the NOTICE file.
  1620. 7. Disclaimer of Warranty. Unless required by applicable law or
  1621. agreed to in writing, Licensor provides the Work (and each
  1622. Contributor provides its Contributions) on an "AS IS" BASIS,
  1623. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  1624. implied, including, without limitation, any warranties or conditions
  1625. of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
  1626. PARTICULAR PURPOSE. You are solely responsible for determining the
  1627. appropriateness of using or redistributing the Work and assume any
  1628. risks associated with Your exercise of permissions under this License.
  1629. 8. Limitation of Liability. In no event and under no legal theory,
  1630. whether in tort (including negligence), contract, or otherwise,
  1631. unless required by applicable law (such as deliberate and grossly
  1632. negligent acts) or agreed to in writing, shall any Contributor be
  1633. liable to You for damages, including any direct, indirect, special,
  1634. incidental, or consequential damages of any character arising as a
  1635. result of this License or out of the use or inability to use the
  1636. Work (including but not limited to damages for loss of goodwill,
  1637. work stoppage, computer failure or malfunction, or any and all
  1638. other commercial damages or losses), even if such Contributor
  1639. has been advised of the possibility of such damages.
  1640. 9. Accepting Warranty or Additional Liability. While redistributing
  1641. the Work or Derivative Works thereof, You may choose to offer,
  1642. and charge a fee for, acceptance of support, warranty, indemnity,
  1643. or other liability obligations and/or rights consistent with this
  1644. License. However, in accepting such obligations, You may act only
  1645. on Your own behalf and on Your sole responsibility, not on behalf
  1646. of any other Contributor, and only if You agree to indemnify,
  1647. defend, and hold each Contributor harmless for any liability
  1648. incurred by, or claims asserted against, such Contributor by reason
  1649. of your accepting any such warranty or additional liability.
  1650. END OF TERMS AND CONDITIONS
  1651. APPENDIX: How to apply the Apache License to your work.
  1652. To apply the Apache License to your work, attach the following
  1653. boilerplate notice, with the fields enclosed by brackets "[]"
  1654. replaced with your own identifying information. (Don't include
  1655. the brackets!) The text should be enclosed in the appropriate
  1656. comment syntax for the file format. We also recommend that a
  1657. file or class name and description of purpose be included on the
  1658. same "printed page" as the copyright notice for easier
  1659. identification within third-party archives.
  1660. Copyright [yyyy] [name of copyright owner]
  1661. Licensed under the Apache License, Version 2.0 (the "License");
  1662. you may not use this file except in compliance with the License.
  1663. You may obtain a copy of the License at
  1664. http://www.apache.org/licenses/LICENSE-2.0
  1665. Unless required by applicable law or agreed to in writing, software
  1666. distributed under the License is distributed on an "AS IS" BASIS,
  1667. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1668. See the License for the specific language governing permissions and
  1669. limitations under the License.
  1670. Appendix M
  1671. Software Licensed from my97.net
  1672. --------------------------------------
  1673. 许可协议
  1674. 在遵循本协议的条件下,My97日期控件无偿的永久的提供给大家免费使用
  1675. 混淆版是指:日期控件作者公开对外发布的版本,对源代码做了混淆,您可以在遵循本协议的条件下,
  1676. 享有永久的使用权
  1677. 可以应用于任何商业性或非商业性的网站
  1678. 可以应用于任何软件包括商业软件和项目
  1679. 可以自由的修改除calendar.js文件以外的所有文件,但不可对外发布任何修改版本
  1680. 必须保留原作者的所有版权信息
  1681. 不可对包内的任何文件进行改名,不用的文件可以删除
  1682. 不可通过修改和衍生的方式做二次开发的软件(如控件库)
  1683. 不可对日期控件以及衍生版本进行二次销售
  1684. 由于准予免费使用,原作者对函数库没有担保,也没有义务提供任何技术支持
  1685. 原作者享有对许可证条款修改的权利
  1686. 除非适用有书面协议的要求,在任何情况下,原作者对许可证条款修改都不对您的损失负有任何责任