1 Valid-License-Identifier: LGPL-2.1 2 Valid-License-Identifier: LGPL-2.1-only 3 Valid-License-Identifier: LGPL-2.1+ 4 Valid-License-Identifier: LGPL-2.1-or-later 5 SPDX-URL: https://spdx.org/licenses/LGPL-2.1.h 6 Usage-Guide: 7 To use this license in source code, put one 8 tag/value pairs into a comment according to 9 guidelines in the licensing rules documentat 10 For 'GNU Lesser General Public License (LGPL 11 SPDX-License-Identifier: LGPL-2.1 12 For 'GNU Lesser General Public License (LGPL 13 version' use: 14 SPDX-License-Identifier: LGPL-2.1+ 15 License-Text: 16 17 GNU LESSER GENERAL PUBLIC LICENSE 18 Version 2.1, February 1999 19 20 Copyright (C) 1991, 1999 Free Software Foundat 21 51 Franklin Street, Fifth Floor, Boston, MA 02 22 23 Everyone is permitted to copy and distribute v 24 license document, but changing it is not allow 25 26 [This is the first released version of the Les 27 the successor of the GNU Library Public Licens 28 version number 2.1.] 29 30 Preamble 31 32 The licenses for most software are designed to 33 share and change it. By contrast, the GNU Gene 34 intended to guarantee your freedom to share an 35 make sure the software is free for all its use 36 37 This license, the Lesser General Public Licens 38 designated software packages--typically librar 39 Foundation and other authors who decide to use 40 we suggest you first think carefully about whe 41 ordinary General Public License is the better 42 particular case, based on the explanations bel 43 44 When we speak of free software, we are referri 45 price. Our General Public Licenses are designe 46 the freedom to distribute copies of free softw 47 service if you wish); that you receive source 48 want it; that you can change the software and 49 programs; and that you are informed that you c 50 51 To protect your rights, we need to make restri 52 distributors to deny you these rights or to as 53 rights. These restrictions translate to certai 54 you distribute copies of the library or if you 55 56 For example, if you distribute copies of the l 57 a fee, you must give the recipients all the ri 58 must make sure that they, too, receive or can 59 link other code with the library, you must pro 60 the recipients, so that they can relink them w 61 changes to the library and recompiling it. And 62 terms so they know their rights. 63 64 We protect your rights with a two-step method: 65 library, and (2) we offer you this license, wh 66 permission to copy, distribute and/or modify t 67 68 To protect each distributor, we want to make i 69 warranty for the free library. Also, if the li 70 else and passed on, the recipients should know 71 the original version, so that the original aut 72 affected by problems that might be introduced 73 74 Finally, software patents pose a constant thre 75 free program. We wish to make sure that a comp 76 restrict the users of a free program by obtain 77 from a patent holder. Therefore, we insist tha 78 for a version of the library must be consisten 79 use specified in this license. 80 81 Most GNU software, including some libraries, i 82 General Public License. This license, the GNU 83 License, applies to certain designated librari 84 from the ordinary General Public License. We u 85 libraries in order to permit linking those lib 86 programs. 87 88 When a program is linked with a library, wheth 89 shared library, the combination of the two is 90 work, a derivative of the original library. Th 91 License therefore permits such linking only if 92 its criteria of freedom. The Lesser General Pu 93 criteria for linking other code with the libra 94 95 We call this license the "Lesser" General Publ 96 Less to protect the user's freedom than the or 97 License. It also provides other free software 98 advantage over competing non-free programs. Th 99 reason we use the ordinary General Public Lice 100 libraries. However, the Lesser license provide 101 special circumstances. 102 103 For example, on rare occasions, there may be a 104 the widest possible use of a certain library, 105 standard. To achieve this, non-free programs m 106 library. A more frequent case is that a free l 107 widely used non-free libraries. In this case, 108 limiting the free library to free software onl 109 General Public License. 110 111 In other cases, permission to use a particular 112 enables a greater number of people to use a la 113 software. For example, permission to use the G 114 programs enables many more people to use the w 115 well as its variant, the GNU/Linux operating s 116 117 Although the Lesser General Public License is 118 freedom, it does ensure that the user of a pro 119 Library has the freedom and the wherewithal to 120 modified version of the Library. 121 122 The precise terms and conditions for copying, 123 follow. Pay close attention to the difference 124 library" and a "work that uses the library". T 125 derived from the library, whereas the latter m 126 library in order to run. 127 128 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION 129 130 0. This License Agreement applies to any softw 131 which contains a notice placed by the copyr 132 authorized party saying it may be distribut 133 Lesser General Public License (also called 134 licensee is addressed as "you". 135 136 A "library" means a collection of software 137 prepared so as to be conveniently linked wi 138 (which use some of those functions and data 139 140 The "Library", below, refers to any such so 141 has been distributed under these terms. A " 142 means either the Library or any derivative 143 that is to say, a work containing the Libra 144 verbatim or with modifications and/or trans 145 another language. (Hereinafter, translation 146 limitation in the term "modification".) 147 148 "Source code" for a work means the preferre 149 modifications to it. For a library, complet 150 source code for all modules it contains, pl 151 definition files, plus the scripts used to 152 installation of the library. 153 154 Activities other than copying, distributio 155 covered by this License; they are outside 156 a program using the Library is not restric 157 program is covered only if its contents co 158 Library (independent of the use of the Lib 159 it). Whether that is true depends on what 160 program that uses the Library does. 161 162 1. You may copy and distribute verbatim copies 163 source code as you receive it, in any mediu 164 conspicuously and appropriately publish on 165 copyright notice and disclaimer of warranty 166 that refer to this License and to the absen 167 distribute a copy of this License along wit 168 169 You may charge a fee for the physical act o 170 you may at your option offer warranty prote 171 172 2. You may modify your copy or copies of the L 173 thus forming a work based on the Library, a 174 modifications or work under the terms of Se 175 you also meet all of these conditions: 176 177 a) The modified work must itself be a softw 178 179 b) You must cause the files modified to car 180 that you changed the files and the date 181 182 c) You must cause the whole of the work to 183 all third parties under the terms of thi 184 185 d) If a facility in the modified Library re 186 of data to be supplied by an application 187 facility, other than as an argument pass 188 invoked, then you must make a good faith 189 the event an application does not supply 190 facility still operates, and performs wh 191 remains meaningful. 192 193 (For example, a function in a library to co 194 purpose that is entirely well-defined inde 195 application. Therefore, Subsection 2d requ 196 application-supplied function or table use 197 optional: if the application does not supp 198 function must still compute square roots.) 199 200 These requirements apply to the modified wo 201 identifiable sections of that work are not 202 can be reasonably considered independent an 203 themselves, then this License, and its term 204 sections when you distribute them as separa 205 distribute the same sections as part of a w 206 the Library, the distribution of the whole 207 License, whose permissions for other licens 208 whole, and thus to each and every part rega 209 210 Thus, it is not the intent of this section 211 your rights to work written entirely by you 212 exercise the right to control the distribut 213 collective works based on the Library. 214 215 In addition, mere aggregation of another wo 216 with the Library (or with a work based on t 217 storage or distribution medium does not bri 218 scope of this License. 219 220 3. You may opt to apply the terms of the ordin 221 License instead of this License to a given 222 this, you must alter all the notices that r 223 they refer to the ordinary GNU General Publ 224 instead of to this License. (If a newer ver 225 ordinary GNU General Public License has app 226 that version instead if you wish.) Do not m 227 notices. 228 229 Once this change is made in a given copy, i 230 copy, so the ordinary GNU General Public Li 231 subsequent copies and derivative works made 232 233 This option is useful when you wish to copy 234 Library into a program that is not a librar 235 236 4. You may copy and distribute the Library (or 237 it, under Section 2) in object code or exec 238 of Sections 1 and 2 above provided that you 239 complete corresponding machine-readable sou 240 distributed under the terms of Sections 1 a 241 customarily used for software interchange. 242 243 If distribution of object code is made by o 244 designated place, then offering equivalent 245 code from the same place satisfies the requ 246 source code, even though third parties are 247 source along with the object code. 248 249 5. A program that contains no derivative of an 250 is designed to work with the Library by bei 251 it, is called a "work that uses the Library 252 is not a derivative work of the Library, an 253 scope of this License. 254 255 However, linking a "work that uses the Libr 256 an executable that is a derivative of the L 257 portions of the Library), rather than a "wo 258 library". The executable is therefore cover 259 states terms for distribution of such execu 260 261 When a "work that uses the Library" uses ma 262 that is part of the Library, the object cod 263 derivative work of the Library even though 264 not. Whether this is true is especially sig 265 linked without the Library, or if the work 266 threshold for this to be true is not precis 267 268 If such an object file uses only numerical 269 layouts and accessors, and small macros and 270 lines or less in length), then the use of t 271 unrestricted, regardless of whether it is l 272 work. (Executables containing this object c 273 Library will still fall under Section 6.) 274 275 Otherwise, if the work is a derivative of t 276 distribute the object code for the work und 277 6. Any executables containing that work als 278 whether or not they are linked directly wit 279 280 6. As an exception to the Sections above, you 281 "work that uses the Library" with the Libra 282 containing portions of the Library, and dis 283 of your choice, provided that the terms per 284 for the customer's own use and reverse engi 285 modifications. 286 287 You must give prominent notice with each co 288 Library is used in it and that the Library 289 this License. You must supply a copy of thi 290 execution displays copyright notices, you m 291 notice for the Library among them, as well 292 user to the copy of this License. Also, you 293 294 a) Accompany the work with the complete cor 295 source code for the Library including wh 296 the work (which must be distributed unde 297 and, if the work is an executable linked 298 complete machine-readable "work that use 299 code and/or source code, so that the use 300 then relink to produce a modified execut 301 Library. (It is understood that the user 302 definitions files in the Library will no 303 recompile the application to use the mod 304 305 b) Use a suitable shared library mechanism 306 Library. A suitable mechanism is one tha 307 of the library already present on the us 308 than copying library functions into the 309 operate properly with a modified version 310 installs one, as long as the modified ve 311 with the version that the work was made 312 313 c) Accompany the work with a written offer, 314 years, to give the same user the materia 315 6a, above, for a charge no more than the 316 distribution. 317 318 d) If distribution of the work is made by o 319 designated place, offer equivalent acces 320 materials from the same place. 321 322 e) Verify that the user has already receive 323 or that you have already sent this user 324 325 For an executable, the required form of the 326 must include any data and utility programs 327 executable from it. However, as a special e 328 distributed need not include anything that 329 either source or binary form) with the majo 330 kernel, and so on) of the operating system 331 unless that component itself accompanies th 332 333 It may happen that this requirement contrad 334 of other proprietary libraries that do not 335 operating system. Such a contradiction mean 336 and the Library together in an executable t 337 338 7. You may place library facilities that are a 339 side-by-side in a single library together w 340 not covered by this License, and distribute 341 provided that the separate distribution of 342 and of the other library facilities is othe 343 that you do these two things: 344 345 a) Accompany the combined library with a co 346 the Library, uncombined with any other l 347 be distributed under the terms of the Se 348 349 b) Give prominent notice with the combined 350 of it is a work based on the Library, an 351 the accompanying uncombined form of the 352 353 8. You may not copy, modify, sublicense, link 354 Library except as expressly provided under 355 otherwise to copy, modify, sublicense, link 356 Library is void, and will automatically ter 357 License. However, parties who have received 358 under this License will not have their lice 359 such parties remain in full compliance. 360 361 9. You are not required to accept this License 362 it. However, nothing else grants you permis 363 the Library or its derivative works. These 364 if you do not accept this License. Therefor 365 distributing the Library (or any work based 366 indicate your acceptance of this License to 367 conditions for copying, distributing or mod 368 based on it. 369 370 10. Each time you redistribute the Library (or 371 Library), the recipient automatically rece 372 original licensor to copy, distribute, lin 373 subject to these terms and conditions. You 374 restrictions on the recipients' exercise o 375 herein. You are not responsible for enforc 376 parties with this License. 377 378 11. If, as a consequence of a court judgment o 379 infringement or for any other reason (not 380 conditions are imposed on you (whether by 381 otherwise) that contradict the conditions 382 excuse you from the conditions of this Lic 383 distribute so as to satisfy simultaneously 384 License and any other pertinent obligation 385 may not distribute the Library at all. For 386 would not permit royalty-free redistributi 387 those who receive copies directly or indir 388 only way you could satisfy both it and thi 389 entirely from distribution of the Library. 390 391 If any portion of this section is held inv 392 any particular circumstance, the balance o 393 apply, and the section as a whole is inten 394 circumstances. 395 396 It is not the purpose of this section to i 397 patents or other property right claims or 398 such claims; this section has the sole pur 399 integrity of the free software distributio 400 by public license practices. Many people h 401 contributions to the wide range of softwar 402 system in reliance on consistent applicati 403 to the author/donor to decide if he or she 404 software through any other system and a li 405 choice. 406 407 This section is intended to make thoroughl 408 be a consequence of the rest of this Licen 409 410 12. If the distribution and/or use of the Libr 411 countries either by patents or by copyrigh 412 copyright holder who places the Library un 413 explicit geographical distribution limitat 414 countries, so that distribution is permitt 415 not thus excluded. In such case, this Lice 416 limitation as if written in the body of th 417 418 13. The Free Software Foundation may publish r 419 the Lesser General Public License from tim 420 will be similar in spirit to the present v 421 detail to address new problems or concerns 422 423 Each version is given a distinguishing ver 424 specifies a version number of this License 425 later version", you have the option of fol 426 conditions either of that version or of an 427 the Free Software Foundation. If the Libra 428 version number, you may choose any version 429 Software Foundation. 430 431 14. If you wish to incorporate parts of the Li 432 programs whose distribution conditions are 433 write to the author to ask for permission. 434 copyrighted by the Free Software Foundatio 435 Foundation; we sometimes make exceptions f 436 guided by the two goals of preserving the 437 derivatives of our free software and of pr 438 of software generally. 439 440 NO WARRANTY 441 442 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CH 443 FOR THE LIBRARY, TO THE EXTENT PERMITTED B 444 OTHERWISE STATED IN WRITING THE COPYRIGHT 445 PROVIDE THE LIBRARY "AS IS" WITHOUT WARRAN 446 EXPRESSED OR IMPLIED, INCLUDING, BUT NOT L 447 WARRANTIES OF MERCHANTABILITY AND FITNESS 448 ENTIRE RISK AS TO THE QUALITY AND PERFORMA 449 YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, Y 450 NECESSARY SERVICING, REPAIR OR CORRECTION. 451 452 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE 453 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PA 454 REDISTRIBUTE THE LIBRARY AS PERMITTED ABOV 455 DAMAGES, INCLUDING ANY GENERAL, SPECIAL, I 456 DAMAGES ARISING OUT OF THE USE OR INABILIT 457 (INCLUDING BUT NOT LIMITED TO LOSS OF DATA 458 INACCURATE OR LOSSES SUSTAINED BY YOU OR T 459 THE LIBRARY TO OPERATE WITH ANY OTHER SOFT 460 OTHER PARTY HAS BEEN ADVISED OF THE POSSIB 461 462 END OF TERMS AND CONDITIONS 463 464 How to Apply These Terms to Your New Libraries 465 466 If you develop a new library, and you want it 467 possible use to the public, we recommend makin 468 everyone can redistribute and change. You can 469 redistribution under these terms (or, alternat 470 ordinary General Public License). 471 472 To apply these terms, attach the following not 473 safest to attach them to the start of each sou 474 convey the exclusion of warranty; and each fil 475 "copyright" line and a pointer to where the fu 476 477 one line to give the library's name and an ide 478 Copyright (C) year name of author 479 480 This library is free software; you can redistr 481 under the terms of the GNU Lesser General Publ 482 the Free Software Foundation; either version 2 483 your option) any later version. 484 485 This library is distributed in the hope that i 486 ANY WARRANTY; without even the implied warrant 487 FITNESS FOR A PARTICULAR PURPOSE. See the GNU 488 for more details. 489 490 You should have received a copy of the GNU Les 491 along with this library; if not, write to the 492 Inc., 51 Franklin Street, Fifth Floor, Boston, 493 information on how to contact you by electroni 494 495 You should also get your employer (if you work 496 school, if any, to sign a "copyright disclaime 497 necessary. Here is a sample; alter the names: 498 499 Yoyodyne, Inc., hereby disclaims all copyright 500 the library `Frob' (a library for tweaking kno 501 by James Random Hacker. 502 503 signature of Ty Coon, 1 April 1990 504 Ty Coon, President of Vice 505 That's all there is to it!
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.