Warning, /sdk/umbrello/LICENSES/LGPL-2.0-only.txt is written in an unsupported language. File is not indexed.
0001 GNU LIBRARY GENERAL PUBLIC LICENSE 0002 0003 Version 2, June 1991 0004 0005 Copyright (C) 1991 Free Software Foundation, Inc. 0006 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 0007 0008 Everyone is permitted to copy and distribute verbatim copies of this license 0009 document, but changing it is not allowed. 0010 0011 [This is the first released version of the library GPL. It is numbered 2 0012 because it goes with version 2 of the ordinary GPL.] 0013 0014 Preamble 0015 0016 The licenses for most software are designed to take away your freedom to share 0017 and change it. By contrast, the GNU General Public Licenses are intended to 0018 guarantee your freedom to share and change free software--to make sure the 0019 software is free for all its users. 0020 0021 This license, the Library General Public License, applies to some specially 0022 designated Free Software Foundation software, and to any other libraries whose 0023 authors decide to use it. You can use it for your libraries, too. 0024 0025 When we speak of free software, we are referring to freedom, not price. Our 0026 General Public Licenses are designed to make sure that you have the freedom 0027 to distribute copies of free software (and charge for this service if you 0028 wish), that you receive source code or can get it if you want it, that you 0029 can change the software or use pieces of it in new free programs; and that 0030 you know you can do these things. 0031 0032 To protect your rights, we need to make restrictions that forbid anyone to 0033 deny you these rights or to ask you to surrender the rights. These restrictions 0034 translate to certain responsibilities for you if you distribute copies of 0035 the library, or if you modify it. 0036 0037 For example, if you distribute copies of the library, whether gratis or for 0038 a fee, you must give the recipients all the rights that we gave you. You must 0039 make sure that they, too, receive or can get the source code. If you link 0040 a program with the library, you must provide complete object files to the 0041 recipients so that they can relink them with the library, after making changes 0042 to the library and recompiling it. And you must show them these terms so they 0043 know their rights. 0044 0045 Our method of protecting your rights has two steps: (1) copyright the library, 0046 and (2) offer you this license which gives you legal permission to copy, distribute 0047 and/or modify the library. 0048 0049 Also, for each distributor's protection, we want to make certain that everyone 0050 understands that there is no warranty for this free library. If the library 0051 is modified by someone else and passed on, we want its recipients to know 0052 that what they have is not the original version, so that any problems introduced 0053 by others will not reflect on the original authors' reputations. 0054 0055 Finally, any free program is threatened constantly by software patents. We 0056 wish to avoid the danger that companies distributing free software will individually 0057 obtain patent licenses, thus in effect transforming the program into proprietary 0058 software. To prevent this, we have made it clear that any patent must be licensed 0059 for everyone's free use or not licensed at all. 0060 0061 Most GNU software, including some libraries, is covered by the ordinary GNU 0062 General Public License, which was designed for utility programs. This license, 0063 the GNU Library General Public License, applies to certain designated libraries. 0064 This license is quite different from the ordinary one; be sure to read it 0065 in full, and don't assume that anything in it is the same as in the ordinary 0066 license. 0067 0068 The reason we have a separate public license for some libraries is that they 0069 blur the distinction we usually make between modifying or adding to a program 0070 and simply using it. Linking a program with a library, without changing the 0071 library, is in some sense simply using the library, and is analogous to running 0072 a utility program or application program. However, in a textual and legal 0073 sense, the linked executable is a combined work, a derivative of the original 0074 library, and the ordinary General Public License treats it as such. 0075 0076 Because of this blurred distinction, using the ordinary General Public License 0077 for libraries did not effectively promote software sharing, because most developers 0078 did not use the libraries. We concluded that weaker conditions might promote 0079 sharing better. 0080 0081 However, unrestricted linking of non-free programs would deprive the users 0082 of those programs of all benefit from the free status of the libraries themselves. 0083 This Library General Public License is intended to permit developers of non-free 0084 programs to use free libraries, while preserving your freedom as a user of 0085 such programs to change the free libraries that are incorporated in them. 0086 (We have not seen how to achieve this as regards changes in header files, 0087 but we have achieved it as regards changes in the actual functions of the 0088 Library.) The hope is that this will lead to faster development of free libraries. 0089 0090 The precise terms and conditions for copying, distribution and modification 0091 follow. Pay close attention to the difference between a "work based on the 0092 library" and a "work that uses the library". The former contains code derived 0093 from the library, while the latter only works together with the library. 0094 0095 Note that it is possible for a library to be covered by the ordinary General 0096 Public License rather than by this special one. 0097 0098 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0099 0100 0. This License Agreement applies to any software library which contains a 0101 notice placed by the copyright holder or other authorized party saying it 0102 may be distributed under the terms of this Library General Public License 0103 (also called "this License"). Each licensee is addressed as "you". 0104 0105 A "library" means a collection of software functions and/or data prepared 0106 so as to be conveniently linked with application programs (which use some 0107 of those functions and data) to form executables. 0108 0109 The "Library", below, refers to any such software library or work which has 0110 been distributed under these terms. A "work based on the Library" means either 0111 the Library or any derivative work under copyright law: that is to say, a 0112 work containing the Library or a portion of it, either verbatim or with modifications 0113 and/or translated straightforwardly into another language. (Hereinafter, translation 0114 is included without limitation in the term "modification".) 0115 0116 "Source code" for a work means the preferred form of the work for making modifications 0117 to it. For a library, complete source code means all the source code for all 0118 modules it contains, plus any associated interface definition files, plus 0119 the scripts used to control compilation and installation of the library. 0120 0121 Activities other than copying, distribution and modification are not covered 0122 by this License; they are outside its scope. The act of running a program 0123 using the Library is not restricted, and output from such a program is covered 0124 only if its contents constitute a work based on the Library (independent of 0125 the use of the Library in a tool for writing it). Whether that is true depends 0126 on what the Library does and what the program that uses the Library does. 0127 0128 1. You may copy and distribute verbatim copies of the Library's complete source 0129 code as you receive it, in any medium, provided that you conspicuously and 0130 appropriately publish on each copy an appropriate copyright notice and disclaimer 0131 of warranty; keep intact all the notices that refer to this License and to 0132 the absence of any warranty; and distribute a copy of this License along with 0133 the Library. 0134 0135 You may charge a fee for the physical act of transferring a copy, and you 0136 may at your option offer warranty protection in exchange for a fee. 0137 0138 2. You may modify your copy or copies of the Library or any portion of it, 0139 thus forming a work based on the Library, and copy and distribute such modifications 0140 or work under the terms of Section 1 above, provided that you also meet all 0141 of these conditions: 0142 0143 a) The modified work must itself be a software library. 0144 0145 b) You must cause the files modified to carry prominent notices stating that 0146 you changed the files and the date of any change. 0147 0148 c) You must cause the whole of the work to be licensed at no charge to all 0149 third parties under the terms of this License. 0150 0151 d) If a facility in the modified Library refers to a function or a table of 0152 data to be supplied by an application program that uses the facility, other 0153 than as an argument passed when the facility is invoked, then you must make 0154 a good faith effort to ensure that, in the event an application does not supply 0155 such function or table, the facility still operates, and performs whatever 0156 part of its purpose remains meaningful. 0157 0158 (For example, a function in a library to compute square roots has a purpose 0159 that is entirely well-defined independent of the application. Therefore, Subsection 0160 2d requires that any application-supplied function or table used by this function 0161 must be optional: if the application does not supply it, the square root function 0162 must still compute square roots.) 0163 0164 These requirements apply to the modified work as a whole. If identifiable 0165 sections of that work are not derived from the Library, and can be reasonably 0166 considered independent and separate works in themselves, then this License, 0167 and its terms, do not apply to those sections when you distribute them as 0168 separate works. But when you distribute the same sections as part of a whole 0169 which is a work based on the Library, the distribution of the whole must be 0170 on the terms of this License, whose permissions for other licensees extend 0171 to the entire whole, and thus to each and every part regardless of who wrote 0172 it. 0173 0174 Thus, it is not the intent of this section to claim rights or contest your 0175 rights to work written entirely by you; rather, the intent is to exercise 0176 the right to control the distribution of derivative or collective works based 0177 on the Library. 0178 0179 In addition, mere aggregation of another work not based on the Library with 0180 the Library (or with a work based on the Library) on a volume of a storage 0181 or distribution medium does not bring the other work under the scope of this 0182 License. 0183 0184 3. You may opt to apply the terms of the ordinary GNU General Public License 0185 instead of this License to a given copy of the Library. To do this, you must 0186 alter all the notices that refer to this License, so that they refer to the 0187 ordinary GNU General Public License, version 2, instead of to this License. 0188 (If a newer version than version 2 of the ordinary GNU General Public License 0189 has appeared, then you can specify that version instead if you wish.) Do not 0190 make any other change in these notices. 0191 0192 Once this change is made in a given copy, it is irreversible for that copy, 0193 so the ordinary GNU General Public License applies to all subsequent copies 0194 and derivative works made from that copy. 0195 0196 This option is useful when you wish to copy part of the code of the Library 0197 into a program that is not a library. 0198 0199 4. You may copy and distribute the Library (or a portion or derivative of 0200 it, under Section 2) in object code or executable form under the terms of 0201 Sections 1 and 2 above provided that you accompany it with the complete corresponding 0202 machine-readable source code, which must be distributed under the terms of 0203 Sections 1 and 2 above on a medium customarily used for software interchange. 0204 0205 If distribution of object code is made by offering access to copy from a designated 0206 place, then offering equivalent access to copy the source code from the same 0207 place satisfies the requirement to distribute the source code, even though 0208 third parties are not compelled to copy the source along with the object code. 0209 0210 5. A program that contains no derivative of any portion of the Library, but 0211 is designed to work with the Library by being compiled or linked with it, 0212 is called a "work that uses the Library". Such a work, in isolation, is not 0213 a derivative work of the Library, and therefore falls outside the scope of 0214 this License. 0215 0216 However, linking a "work that uses the Library" with the Library creates an 0217 executable that is a derivative of the Library (because it contains portions 0218 of the Library), rather than a "work that uses the library". The executable 0219 is therefore covered by this License. Section 6 states terms for distribution 0220 of such executables. 0221 0222 When a "work that uses the Library" uses material from a header file that 0223 is part of the Library, the object code for the work may be a derivative work 0224 of the Library even though the source code is not. Whether this is true is 0225 especially significant if the work can be linked without the Library, or if 0226 the work is itself a library. The threshold for this to be true is not precisely 0227 defined by law. 0228 0229 If such an object file uses only numerical parameters, data structure layouts 0230 and accessors, and small macros and small inline functions (ten lines or less 0231 in length), then the use of the object file is unrestricted, regardless of 0232 whether it is legally a derivative work. (Executables containing this object 0233 code plus portions of the Library will still fall under Section 6.) 0234 0235 Otherwise, if the work is a derivative of the Library, you may distribute 0236 the object code for the work under the terms of Section 6. Any executables 0237 containing that work also fall under Section 6, whether or not they are linked 0238 directly with the Library itself. 0239 0240 6. As an exception to the Sections above, you may also compile or link a "work 0241 that uses the Library" with the Library to produce a work containing portions 0242 of the Library, and distribute that work under terms of your choice, provided 0243 that the terms permit modification of the work for the customer's own use 0244 and reverse engineering for debugging such modifications. 0245 0246 You must give prominent notice with each copy of the work that the Library 0247 is used in it and that the Library and its use are covered by this License. 0248 You must supply a copy of this License. If the work during execution displays 0249 copyright notices, you must include the copyright notice for the Library among 0250 them, as well as a reference directing the user to the copy of this License. 0251 Also, you must do one of these things: 0252 0253 a) Accompany the work with the complete corresponding machine-readable source 0254 code for the Library including whatever changes were used in the work (which 0255 must be distributed under Sections 1 and 2 above); and, if the work is an 0256 executable linked with the Library, with the complete machine-readable "work 0257 that uses the Library", as object code and/or source code, so that the user 0258 can modify the Library and then relink to produce a modified executable containing 0259 the modified Library. (It is understood that the user who changes the contents 0260 of definitions files in the Library will not necessarily be able to recompile 0261 the application to use the modified definitions.) 0262 0263 b) Accompany the work with a written offer, valid for at least three years, 0264 to give the same user the materials specified in Subsection 6a, above, for 0265 a charge no more than the cost of performing this distribution. 0266 0267 c) If distribution of the work is made by offering access to copy from a designated 0268 place, offer equivalent access to copy the above specified materials from 0269 the same place. 0270 0271 d) Verify that the user has already received a copy of these materials or 0272 that you have already sent this user a copy. 0273 0274 For an executable, the required form of the "work that uses the Library" must 0275 include any data and utility programs needed for reproducing the executable 0276 from it. However, as a special exception, the source code distributed need 0277 not include anything that is normally distributed (in either source or binary 0278 form) with the major components (compiler, kernel, and so on) of the operating 0279 system on which the executable runs, unless that component itself accompanies 0280 the executable. 0281 0282 It may happen that this requirement contradicts the license restrictions of 0283 other proprietary libraries that do not normally accompany the operating system. 0284 Such a contradiction means you cannot use both them and the Library together 0285 in an executable that you distribute. 0286 0287 7. You may place library facilities that are a work based on the Library side-by-side 0288 in a single library together with other library facilities not covered by 0289 this License, and distribute such a combined library, provided that the separate 0290 distribution of the work based on the Library and of the other library facilities 0291 is otherwise permitted, and provided that you do these two things: 0292 0293 a) Accompany the combined library with a copy of the same work based on the 0294 Library, uncombined with any other library facilities. This must be distributed 0295 under the terms of the Sections above. 0296 0297 b) Give prominent notice with the combined library of the fact that part of 0298 it is a work based on the Library, and explaining where to find the accompanying 0299 uncombined form of the same work. 0300 0301 8. You may not copy, modify, sublicense, link with, or distribute the Library 0302 except as expressly provided under this License. Any attempt otherwise to 0303 copy, modify, sublicense, link with, or distribute the Library is void, and 0304 will automatically terminate your rights under this License. However, parties 0305 who have received copies, or rights, from you under this License will not 0306 have their licenses terminated so long as such parties remain in full compliance. 0307 0308 9. You are not required to accept this License, since you have not signed 0309 it. However, nothing else grants you permission to modify or distribute the 0310 Library or its derivative works. These actions are prohibited by law if you 0311 do not accept this License. Therefore, by modifying or distributing the Library 0312 (or any work based on the Library), you indicate your acceptance of this License 0313 to do so, and all its terms and conditions for copying, distributing or modifying 0314 the Library or works based on it. 0315 0316 10. Each time you redistribute the Library (or any work based on the Library), 0317 the recipient automatically receives a license from the original licensor 0318 to copy, distribute, link with or modify the Library subject to these terms 0319 and conditions. You may not impose any further restrictions on the recipients' 0320 exercise of the rights granted herein. You are not responsible for enforcing 0321 compliance by third parties to this License. 0322 0323 11. If, as a consequence of a court judgment or allegation of patent infringement 0324 or for any other reason (not limited to patent issues), conditions are imposed 0325 on you (whether by court order, agreement or otherwise) that contradict the 0326 conditions of this License, they do not excuse you from the conditions of 0327 this License. If you cannot distribute so as to satisfy simultaneously your 0328 obligations under this License and any other pertinent obligations, then as 0329 a consequence you may not distribute the Library at all. For example, if a 0330 patent license would not permit royalty-free redistribution of the Library 0331 by all those who receive copies directly or indirectly through you, then the 0332 only way you could satisfy both it and this License would be to refrain entirely 0333 from distribution of the Library. 0334 0335 If any portion of this section is held invalid or unenforceable under any 0336 particular circumstance, the balance of the section is intended to apply, 0337 and the section as a whole is intended to apply in other circumstances. 0338 0339 It is not the purpose of this section to induce you to infringe any patents 0340 or other property right claims or to contest validity of any such claims; 0341 this section has the sole purpose of protecting the integrity of the free 0342 software distribution system which is implemented by public license practices. 0343 Many people have made generous contributions to the wide range of software 0344 distributed through that system in reliance on consistent application of that 0345 system; it is up to the author/donor to decide if he or she is willing to 0346 distribute software through any other system and a licensee cannot impose 0347 that choice. 0348 0349 This section is intended to make thoroughly clear what is believed to be a 0350 consequence of the rest of this License. 0351 0352 12. If the distribution and/or use of the Library is restricted in certain 0353 countries either by patents or by copyrighted interfaces, the original copyright 0354 holder who places the Library under this License may add an explicit geographical 0355 distribution limitation excluding those countries, so that distribution is 0356 permitted only in or among countries not thus excluded. In such case, this 0357 License incorporates the limitation as if written in the body of this License. 0358 0359 13. The Free Software Foundation may publish revised and/or new versions of 0360 the Library General Public License from time to time. Such new versions will 0361 be similar in spirit to the present version, but may differ in detail to address 0362 new problems or concerns. 0363 0364 Each version is given a distinguishing version number. If the Library specifies 0365 a version number of this License which applies to it and "any later version", 0366 you have the option of following the terms and conditions either of that version 0367 or of any later version published by the Free Software Foundation. If the 0368 Library does not specify a license version number, you may choose any version 0369 ever published by the Free Software Foundation. 0370 0371 14. If you wish to incorporate parts of the Library into other free programs 0372 whose distribution conditions are incompatible with these, write to the author 0373 to ask for permission. For software which is copyrighted by the Free Software 0374 Foundation, write to the Free Software Foundation; we sometimes make exceptions 0375 for this. Our decision will be guided by the two goals of preserving the free 0376 status of all derivatives of our free software and of promoting the sharing 0377 and reuse of software generally. 0378 0379 NO WARRANTY 0380 0381 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR 0382 THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE 0383 STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY 0384 "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, 0385 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 0386 FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE 0387 OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 0388 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 0389 0390 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 0391 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE 0392 THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 0393 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE 0394 OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA 0395 OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES 0396 OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH 0397 HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 0398 0399 END OF TERMS AND CONDITIONS 0400 0401 How to Apply These Terms to Your New Libraries 0402 0403 If you develop a new library, and you want it to be of the greatest possible 0404 use to the public, we recommend making it free software that everyone can 0405 redistribute and change. You can do so by permitting redistribution under 0406 these terms (or, alternatively, under the terms of the ordinary General Public 0407 License). 0408 0409 To apply these terms, attach the following notices to the library. It is safest 0410 to attach them to the start of each source file to most effectively convey 0411 the exclusion of warranty; and each file should have at least the "copyright" 0412 line and a pointer to where the full notice is found. 0413 0414 one line to give the library's name and an idea of what it does. 0415 Copyright (C) year name of author 0416 0417 This library is free software; you can redistribute it and/or modify it under 0418 the terms of the GNU Library General Public License as published by the Free 0419 Software Foundation; either version 2 of the License, or (at your option) 0420 any later version. 0421 0422 This library is distributed in the hope that it will be useful, but WITHOUT 0423 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 0424 FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for 0425 more details. 0426 0427 You should have received a copy of the GNU Library General Public License 0428 along with this library; if not, write to the Free Software Foundation, Inc., 0429 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. 0430 0431 Also add information on how to contact you by electronic and paper mail. 0432 0433 You should also get your employer (if you work as a programmer) or your school, 0434 if any, to sign a "copyright disclaimer" for the library, if necessary. Here 0435 is a sample; alter the names: 0436 0437 Yoyodyne, Inc., hereby disclaims all copyright interest in 0438 the library `Frob' (a library for tweaking knobs) written 0439 by James Random Hacker. 0440 0441 signature of Ty Coon, 1 April 1990 0442 Ty Coon, President of Vice 0443 0444 That's all there is to it!