paul@112 | 1 | GNU LIBRARY GENERAL PUBLIC LICENSE
|
paul@112 | 2 | Version 2, June 1991
|
paul@112 | 3 |
|
paul@112 | 4 | Copyright (C) 1991 Free Software Foundation, Inc.
|
paul@112 | 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
paul@112 | 6 | Everyone is permitted to copy and distribute verbatim copies
|
paul@112 | 7 | of this license document, but changing it is not allowed.
|
paul@112 | 8 |
|
paul@112 | 9 | [This is the first released version of the library GPL. It is
|
paul@112 | 10 | numbered 2 because it goes with version 2 of the ordinary GPL.]
|
paul@112 | 11 |
|
paul@112 | 12 | Preamble
|
paul@112 | 13 |
|
paul@112 | 14 | The licenses for most software are designed to take away your
|
paul@112 | 15 | freedom to share and change it. By contrast, the GNU General Public
|
paul@112 | 16 | Licenses are intended to guarantee your freedom to share and change
|
paul@112 | 17 | free software--to make sure the software is free for all its users.
|
paul@112 | 18 |
|
paul@112 | 19 | This license, the Library General Public License, applies to some
|
paul@112 | 20 | specially designated Free Software Foundation software, and to any
|
paul@112 | 21 | other libraries whose authors decide to use it. You can use it for
|
paul@112 | 22 | your libraries, too.
|
paul@112 | 23 |
|
paul@112 | 24 | When we speak of free software, we are referring to freedom, not
|
paul@112 | 25 | price. Our General Public Licenses are designed to make sure that you
|
paul@112 | 26 | have the freedom to distribute copies of free software (and charge for
|
paul@112 | 27 | this service if you wish), that you receive source code or can get it
|
paul@112 | 28 | if you want it, that you can change the software or use pieces of it
|
paul@112 | 29 | in new free programs; and that you know you can do these things.
|
paul@112 | 30 |
|
paul@112 | 31 | To protect your rights, we need to make restrictions that forbid
|
paul@112 | 32 | anyone to deny you these rights or to ask you to surrender the rights.
|
paul@112 | 33 | These restrictions translate to certain responsibilities for you if
|
paul@112 | 34 | you distribute copies of the library, or if you modify it.
|
paul@112 | 35 |
|
paul@112 | 36 | For example, if you distribute copies of the library, whether gratis
|
paul@112 | 37 | or for a fee, you must give the recipients all the rights that we gave
|
paul@112 | 38 | you. You must make sure that they, too, receive or can get the source
|
paul@112 | 39 | code. If you link a program with the library, you must provide
|
paul@112 | 40 | complete object files to the recipients so that they can relink them
|
paul@112 | 41 | with the library, after making changes to the library and recompiling
|
paul@112 | 42 | it. And you must show them these terms so they know their rights.
|
paul@112 | 43 |
|
paul@112 | 44 | Our method of protecting your rights has two steps: (1) copyright
|
paul@112 | 45 | the library, and (2) offer you this license which gives you legal
|
paul@112 | 46 | permission to copy, distribute and/or modify the library.
|
paul@112 | 47 |
|
paul@112 | 48 | Also, for each distributor's protection, we want to make certain
|
paul@112 | 49 | that everyone understands that there is no warranty for this free
|
paul@112 | 50 | library. If the library is modified by someone else and passed on, we
|
paul@112 | 51 | want its recipients to know that what they have is not the original
|
paul@112 | 52 | version, so that any problems introduced by others will not reflect on
|
paul@112 | 53 | the original authors' reputations.
|
paul@112 | 54 |
|
paul@112 | 55 | Finally, any free program is threatened constantly by software
|
paul@112 | 56 | patents. We wish to avoid the danger that companies distributing free
|
paul@112 | 57 | software will individually obtain patent licenses, thus in effect
|
paul@112 | 58 | transforming the program into proprietary software. To prevent this,
|
paul@112 | 59 | we have made it clear that any patent must be licensed for everyone's
|
paul@112 | 60 | free use or not licensed at all.
|
paul@112 | 61 |
|
paul@112 | 62 | Most GNU software, including some libraries, is covered by the ordinary
|
paul@112 | 63 | GNU General Public License, which was designed for utility programs. This
|
paul@112 | 64 | license, the GNU Library General Public License, applies to certain
|
paul@112 | 65 | designated libraries. This license is quite different from the ordinary
|
paul@112 | 66 | one; be sure to read it in full, and don't assume that anything in it is
|
paul@112 | 67 | the same as in the ordinary license.
|
paul@112 | 68 |
|
paul@112 | 69 | The reason we have a separate public license for some libraries is that
|
paul@112 | 70 | they blur the distinction we usually make between modifying or adding to a
|
paul@112 | 71 | program and simply using it. Linking a program with a library, without
|
paul@112 | 72 | changing the library, is in some sense simply using the library, and is
|
paul@112 | 73 | analogous to running a utility program or application program. However, in
|
paul@112 | 74 | a textual and legal sense, the linked executable is a combined work, a
|
paul@112 | 75 | derivative of the original library, and the ordinary General Public License
|
paul@112 | 76 | treats it as such.
|
paul@112 | 77 |
|
paul@112 | 78 | Because of this blurred distinction, using the ordinary General
|
paul@112 | 79 | Public License for libraries did not effectively promote software
|
paul@112 | 80 | sharing, because most developers did not use the libraries. We
|
paul@112 | 81 | concluded that weaker conditions might promote sharing better.
|
paul@112 | 82 |
|
paul@112 | 83 | However, unrestricted linking of non-free programs would deprive the
|
paul@112 | 84 | users of those programs of all benefit from the free status of the
|
paul@112 | 85 | libraries themselves. This Library General Public License is intended to
|
paul@112 | 86 | permit developers of non-free programs to use free libraries, while
|
paul@112 | 87 | preserving your freedom as a user of such programs to change the free
|
paul@112 | 88 | libraries that are incorporated in them. (We have not seen how to achieve
|
paul@112 | 89 | this as regards changes in header files, but we have achieved it as regards
|
paul@112 | 90 | changes in the actual functions of the Library.) The hope is that this
|
paul@112 | 91 | will lead to faster development of free libraries.
|
paul@112 | 92 |
|
paul@112 | 93 | The precise terms and conditions for copying, distribution and
|
paul@112 | 94 | modification follow. Pay close attention to the difference between a
|
paul@112 | 95 | "work based on the library" and a "work that uses the library". The
|
paul@112 | 96 | former contains code derived from the library, while the latter only
|
paul@112 | 97 | works together with the library.
|
paul@112 | 98 |
|
paul@112 | 99 | Note that it is possible for a library to be covered by the ordinary
|
paul@112 | 100 | General Public License rather than by this special one.
|
paul@112 | 101 |
|
paul@112 | 102 | GNU LIBRARY GENERAL PUBLIC LICENSE
|
paul@112 | 103 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
paul@112 | 104 |
|
paul@112 | 105 | 0. This License Agreement applies to any software library which
|
paul@112 | 106 | contains a notice placed by the copyright holder or other authorized
|
paul@112 | 107 | party saying it may be distributed under the terms of this Library
|
paul@112 | 108 | General Public License (also called "this License"). Each licensee is
|
paul@112 | 109 | addressed as "you".
|
paul@112 | 110 |
|
paul@112 | 111 | A "library" means a collection of software functions and/or data
|
paul@112 | 112 | prepared so as to be conveniently linked with application programs
|
paul@112 | 113 | (which use some of those functions and data) to form executables.
|
paul@112 | 114 |
|
paul@112 | 115 | The "Library", below, refers to any such software library or work
|
paul@112 | 116 | which has been distributed under these terms. A "work based on the
|
paul@112 | 117 | Library" means either the Library or any derivative work under
|
paul@112 | 118 | copyright law: that is to say, a work containing the Library or a
|
paul@112 | 119 | portion of it, either verbatim or with modifications and/or translated
|
paul@112 | 120 | straightforwardly into another language. (Hereinafter, translation is
|
paul@112 | 121 | included without limitation in the term "modification".)
|
paul@112 | 122 |
|
paul@112 | 123 | "Source code" for a work means the preferred form of the work for
|
paul@112 | 124 | making modifications to it. For a library, complete source code means
|
paul@112 | 125 | all the source code for all modules it contains, plus any associated
|
paul@112 | 126 | interface definition files, plus the scripts used to control compilation
|
paul@112 | 127 | and installation of the library.
|
paul@112 | 128 |
|
paul@112 | 129 | Activities other than copying, distribution and modification are not
|
paul@112 | 130 | covered by this License; they are outside its scope. The act of
|
paul@112 | 131 | running a program using the Library is not restricted, and output from
|
paul@112 | 132 | such a program is covered only if its contents constitute a work based
|
paul@112 | 133 | on the Library (independent of the use of the Library in a tool for
|
paul@112 | 134 | writing it). Whether that is true depends on what the Library does
|
paul@112 | 135 | and what the program that uses the Library does.
|
paul@112 | 136 |
|
paul@112 | 137 | 1. You may copy and distribute verbatim copies of the Library's
|
paul@112 | 138 | complete source code as you receive it, in any medium, provided that
|
paul@112 | 139 | you conspicuously and appropriately publish on each copy an
|
paul@112 | 140 | appropriate copyright notice and disclaimer of warranty; keep intact
|
paul@112 | 141 | all the notices that refer to this License and to the absence of any
|
paul@112 | 142 | warranty; and distribute a copy of this License along with the
|
paul@112 | 143 | Library.
|
paul@112 | 144 |
|
paul@112 | 145 | You may charge a fee for the physical act of transferring a copy,
|
paul@112 | 146 | and you may at your option offer warranty protection in exchange for a
|
paul@112 | 147 | fee.
|
paul@112 | 148 |
|
paul@112 | 149 | 2. You may modify your copy or copies of the Library or any portion
|
paul@112 | 150 | of it, thus forming a work based on the Library, and copy and
|
paul@112 | 151 | distribute such modifications or work under the terms of Section 1
|
paul@112 | 152 | above, provided that you also meet all of these conditions:
|
paul@112 | 153 |
|
paul@112 | 154 | a) The modified work must itself be a software library.
|
paul@112 | 155 |
|
paul@112 | 156 | b) You must cause the files modified to carry prominent notices
|
paul@112 | 157 | stating that you changed the files and the date of any change.
|
paul@112 | 158 |
|
paul@112 | 159 | c) You must cause the whole of the work to be licensed at no
|
paul@112 | 160 | charge to all third parties under the terms of this License.
|
paul@112 | 161 |
|
paul@112 | 162 | d) If a facility in the modified Library refers to a function or a
|
paul@112 | 163 | table of data to be supplied by an application program that uses
|
paul@112 | 164 | the facility, other than as an argument passed when the facility
|
paul@112 | 165 | is invoked, then you must make a good faith effort to ensure that,
|
paul@112 | 166 | in the event an application does not supply such function or
|
paul@112 | 167 | table, the facility still operates, and performs whatever part of
|
paul@112 | 168 | its purpose remains meaningful.
|
paul@112 | 169 |
|
paul@112 | 170 | (For example, a function in a library to compute square roots has
|
paul@112 | 171 | a purpose that is entirely well-defined independent of the
|
paul@112 | 172 | application. Therefore, Subsection 2d requires that any
|
paul@112 | 173 | application-supplied function or table used by this function must
|
paul@112 | 174 | be optional: if the application does not supply it, the square
|
paul@112 | 175 | root function must still compute square roots.)
|
paul@112 | 176 |
|
paul@112 | 177 | These requirements apply to the modified work as a whole. If
|
paul@112 | 178 | identifiable sections of that work are not derived from the Library,
|
paul@112 | 179 | and can be reasonably considered independent and separate works in
|
paul@112 | 180 | themselves, then this License, and its terms, do not apply to those
|
paul@112 | 181 | sections when you distribute them as separate works. But when you
|
paul@112 | 182 | distribute the same sections as part of a whole which is a work based
|
paul@112 | 183 | on the Library, the distribution of the whole must be on the terms of
|
paul@112 | 184 | this License, whose permissions for other licensees extend to the
|
paul@112 | 185 | entire whole, and thus to each and every part regardless of who wrote
|
paul@112 | 186 | it.
|
paul@112 | 187 |
|
paul@112 | 188 | Thus, it is not the intent of this section to claim rights or contest
|
paul@112 | 189 | your rights to work written entirely by you; rather, the intent is to
|
paul@112 | 190 | exercise the right to control the distribution of derivative or
|
paul@112 | 191 | collective works based on the Library.
|
paul@112 | 192 |
|
paul@112 | 193 | In addition, mere aggregation of another work not based on the Library
|
paul@112 | 194 | with the Library (or with a work based on the Library) on a volume of
|
paul@112 | 195 | a storage or distribution medium does not bring the other work under
|
paul@112 | 196 | the scope of this License.
|
paul@112 | 197 |
|
paul@112 | 198 | 3. You may opt to apply the terms of the ordinary GNU General Public
|
paul@112 | 199 | License instead of this License to a given copy of the Library. To do
|
paul@112 | 200 | this, you must alter all the notices that refer to this License, so
|
paul@112 | 201 | that they refer to the ordinary GNU General Public License, version 2,
|
paul@112 | 202 | instead of to this License. (If a newer version than version 2 of the
|
paul@112 | 203 | ordinary GNU General Public License has appeared, then you can specify
|
paul@112 | 204 | that version instead if you wish.) Do not make any other change in
|
paul@112 | 205 | these notices.
|
paul@112 | 206 |
|
paul@112 | 207 | Once this change is made in a given copy, it is irreversible for
|
paul@112 | 208 | that copy, so the ordinary GNU General Public License applies to all
|
paul@112 | 209 | subsequent copies and derivative works made from that copy.
|
paul@112 | 210 |
|
paul@112 | 211 | This option is useful when you wish to copy part of the code of
|
paul@112 | 212 | the Library into a program that is not a library.
|
paul@112 | 213 |
|
paul@112 | 214 | 4. You may copy and distribute the Library (or a portion or
|
paul@112 | 215 | derivative of it, under Section 2) in object code or executable form
|
paul@112 | 216 | under the terms of Sections 1 and 2 above provided that you accompany
|
paul@112 | 217 | it with the complete corresponding machine-readable source code, which
|
paul@112 | 218 | must be distributed under the terms of Sections 1 and 2 above on a
|
paul@112 | 219 | medium customarily used for software interchange.
|
paul@112 | 220 |
|
paul@112 | 221 | If distribution of object code is made by offering access to copy
|
paul@112 | 222 | from a designated place, then offering equivalent access to copy the
|
paul@112 | 223 | source code from the same place satisfies the requirement to
|
paul@112 | 224 | distribute the source code, even though third parties are not
|
paul@112 | 225 | compelled to copy the source along with the object code.
|
paul@112 | 226 |
|
paul@112 | 227 | 5. A program that contains no derivative of any portion of the
|
paul@112 | 228 | Library, but is designed to work with the Library by being compiled or
|
paul@112 | 229 | linked with it, is called a "work that uses the Library". Such a
|
paul@112 | 230 | work, in isolation, is not a derivative work of the Library, and
|
paul@112 | 231 | therefore falls outside the scope of this License.
|
paul@112 | 232 |
|
paul@112 | 233 | However, linking a "work that uses the Library" with the Library
|
paul@112 | 234 | creates an executable that is a derivative of the Library (because it
|
paul@112 | 235 | contains portions of the Library), rather than a "work that uses the
|
paul@112 | 236 | library". The executable is therefore covered by this License.
|
paul@112 | 237 | Section 6 states terms for distribution of such executables.
|
paul@112 | 238 |
|
paul@112 | 239 | When a "work that uses the Library" uses material from a header file
|
paul@112 | 240 | that is part of the Library, the object code for the work may be a
|
paul@112 | 241 | derivative work of the Library even though the source code is not.
|
paul@112 | 242 | Whether this is true is especially significant if the work can be
|
paul@112 | 243 | linked without the Library, or if the work is itself a library. The
|
paul@112 | 244 | threshold for this to be true is not precisely defined by law.
|
paul@112 | 245 |
|
paul@112 | 246 | If such an object file uses only numerical parameters, data
|
paul@112 | 247 | structure layouts and accessors, and small macros and small inline
|
paul@112 | 248 | functions (ten lines or less in length), then the use of the object
|
paul@112 | 249 | file is unrestricted, regardless of whether it is legally a derivative
|
paul@112 | 250 | work. (Executables containing this object code plus portions of the
|
paul@112 | 251 | Library will still fall under Section 6.)
|
paul@112 | 252 |
|
paul@112 | 253 | Otherwise, if the work is a derivative of the Library, you may
|
paul@112 | 254 | distribute the object code for the work under the terms of Section 6.
|
paul@112 | 255 | Any executables containing that work also fall under Section 6,
|
paul@112 | 256 | whether or not they are linked directly with the Library itself.
|
paul@112 | 257 |
|
paul@112 | 258 | 6. As an exception to the Sections above, you may also compile or
|
paul@112 | 259 | link a "work that uses the Library" with the Library to produce a
|
paul@112 | 260 | work containing portions of the Library, and distribute that work
|
paul@112 | 261 | under terms of your choice, provided that the terms permit
|
paul@112 | 262 | modification of the work for the customer's own use and reverse
|
paul@112 | 263 | engineering for debugging such modifications.
|
paul@112 | 264 |
|
paul@112 | 265 | You must give prominent notice with each copy of the work that the
|
paul@112 | 266 | Library is used in it and that the Library and its use are covered by
|
paul@112 | 267 | this License. You must supply a copy of this License. If the work
|
paul@112 | 268 | during execution displays copyright notices, you must include the
|
paul@112 | 269 | copyright notice for the Library among them, as well as a reference
|
paul@112 | 270 | directing the user to the copy of this License. Also, you must do one
|
paul@112 | 271 | of these things:
|
paul@112 | 272 |
|
paul@112 | 273 | a) Accompany the work with the complete corresponding
|
paul@112 | 274 | machine-readable source code for the Library including whatever
|
paul@112 | 275 | changes were used in the work (which must be distributed under
|
paul@112 | 276 | Sections 1 and 2 above); and, if the work is an executable linked
|
paul@112 | 277 | with the Library, with the complete machine-readable "work that
|
paul@112 | 278 | uses the Library", as object code and/or source code, so that the
|
paul@112 | 279 | user can modify the Library and then relink to produce a modified
|
paul@112 | 280 | executable containing the modified Library. (It is understood
|
paul@112 | 281 | that the user who changes the contents of definitions files in the
|
paul@112 | 282 | Library will not necessarily be able to recompile the application
|
paul@112 | 283 | to use the modified definitions.)
|
paul@112 | 284 |
|
paul@112 | 285 | b) Accompany the work with a written offer, valid for at
|
paul@112 | 286 | least three years, to give the same user the materials
|
paul@112 | 287 | specified in Subsection 6a, above, for a charge no more
|
paul@112 | 288 | than the cost of performing this distribution.
|
paul@112 | 289 |
|
paul@112 | 290 | c) If distribution of the work is made by offering access to copy
|
paul@112 | 291 | from a designated place, offer equivalent access to copy the above
|
paul@112 | 292 | specified materials from the same place.
|
paul@112 | 293 |
|
paul@112 | 294 | d) Verify that the user has already received a copy of these
|
paul@112 | 295 | materials or that you have already sent this user a copy.
|
paul@112 | 296 |
|
paul@112 | 297 | For an executable, the required form of the "work that uses the
|
paul@112 | 298 | Library" must include any data and utility programs needed for
|
paul@112 | 299 | reproducing the executable from it. However, as a special exception,
|
paul@112 | 300 | the source code distributed need not include anything that is normally
|
paul@112 | 301 | distributed (in either source or binary form) with the major
|
paul@112 | 302 | components (compiler, kernel, and so on) of the operating system on
|
paul@112 | 303 | which the executable runs, unless that component itself accompanies
|
paul@112 | 304 | the executable.
|
paul@112 | 305 |
|
paul@112 | 306 | It may happen that this requirement contradicts the license
|
paul@112 | 307 | restrictions of other proprietary libraries that do not normally
|
paul@112 | 308 | accompany the operating system. Such a contradiction means you cannot
|
paul@112 | 309 | use both them and the Library together in an executable that you
|
paul@112 | 310 | distribute.
|
paul@112 | 311 |
|
paul@112 | 312 | 7. You may place library facilities that are a work based on the
|
paul@112 | 313 | Library side-by-side in a single library together with other library
|
paul@112 | 314 | facilities not covered by this License, and distribute such a combined
|
paul@112 | 315 | library, provided that the separate distribution of the work based on
|
paul@112 | 316 | the Library and of the other library facilities is otherwise
|
paul@112 | 317 | permitted, and provided that you do these two things:
|
paul@112 | 318 |
|
paul@112 | 319 | a) Accompany the combined library with a copy of the same work
|
paul@112 | 320 | based on the Library, uncombined with any other library
|
paul@112 | 321 | facilities. This must be distributed under the terms of the
|
paul@112 | 322 | Sections above.
|
paul@112 | 323 |
|
paul@112 | 324 | b) Give prominent notice with the combined library of the fact
|
paul@112 | 325 | that part of it is a work based on the Library, and explaining
|
paul@112 | 326 | where to find the accompanying uncombined form of the same work.
|
paul@112 | 327 |
|
paul@112 | 328 | 8. You may not copy, modify, sublicense, link with, or distribute
|
paul@112 | 329 | the Library except as expressly provided under this License. Any
|
paul@112 | 330 | attempt otherwise to copy, modify, sublicense, link with, or
|
paul@112 | 331 | distribute the Library is void, and will automatically terminate your
|
paul@112 | 332 | rights under this License. However, parties who have received copies,
|
paul@112 | 333 | or rights, from you under this License will not have their licenses
|
paul@112 | 334 | terminated so long as such parties remain in full compliance.
|
paul@112 | 335 |
|
paul@112 | 336 | 9. You are not required to accept this License, since you have not
|
paul@112 | 337 | signed it. However, nothing else grants you permission to modify or
|
paul@112 | 338 | distribute the Library or its derivative works. These actions are
|
paul@112 | 339 | prohibited by law if you do not accept this License. Therefore, by
|
paul@112 | 340 | modifying or distributing the Library (or any work based on the
|
paul@112 | 341 | Library), you indicate your acceptance of this License to do so, and
|
paul@112 | 342 | all its terms and conditions for copying, distributing or modifying
|
paul@112 | 343 | the Library or works based on it.
|
paul@112 | 344 |
|
paul@112 | 345 | 10. Each time you redistribute the Library (or any work based on the
|
paul@112 | 346 | Library), the recipient automatically receives a license from the
|
paul@112 | 347 | original licensor to copy, distribute, link with or modify the Library
|
paul@112 | 348 | subject to these terms and conditions. You may not impose any further
|
paul@112 | 349 | restrictions on the recipients' exercise of the rights granted herein.
|
paul@112 | 350 | You are not responsible for enforcing compliance by third parties to
|
paul@112 | 351 | this License.
|
paul@112 | 352 |
|
paul@112 | 353 | 11. If, as a consequence of a court judgment or allegation of patent
|
paul@112 | 354 | infringement or for any other reason (not limited to patent issues),
|
paul@112 | 355 | conditions are imposed on you (whether by court order, agreement or
|
paul@112 | 356 | otherwise) that contradict the conditions of this License, they do not
|
paul@112 | 357 | excuse you from the conditions of this License. If you cannot
|
paul@112 | 358 | distribute so as to satisfy simultaneously your obligations under this
|
paul@112 | 359 | License and any other pertinent obligations, then as a consequence you
|
paul@112 | 360 | may not distribute the Library at all. For example, if a patent
|
paul@112 | 361 | license would not permit royalty-free redistribution of the Library by
|
paul@112 | 362 | all those who receive copies directly or indirectly through you, then
|
paul@112 | 363 | the only way you could satisfy both it and this License would be to
|
paul@112 | 364 | refrain entirely from distribution of the Library.
|
paul@112 | 365 |
|
paul@112 | 366 | If any portion of this section is held invalid or unenforceable under any
|
paul@112 | 367 | particular circumstance, the balance of the section is intended to apply,
|
paul@112 | 368 | and the section as a whole is intended to apply in other circumstances.
|
paul@112 | 369 |
|
paul@112 | 370 | It is not the purpose of this section to induce you to infringe any
|
paul@112 | 371 | patents or other property right claims or to contest validity of any
|
paul@112 | 372 | such claims; this section has the sole purpose of protecting the
|
paul@112 | 373 | integrity of the free software distribution system which is
|
paul@112 | 374 | implemented by public license practices. Many people have made
|
paul@112 | 375 | generous contributions to the wide range of software distributed
|
paul@112 | 376 | through that system in reliance on consistent application of that
|
paul@112 | 377 | system; it is up to the author/donor to decide if he or she is willing
|
paul@112 | 378 | to distribute software through any other system and a licensee cannot
|
paul@112 | 379 | impose that choice.
|
paul@112 | 380 |
|
paul@112 | 381 | This section is intended to make thoroughly clear what is believed to
|
paul@112 | 382 | be a consequence of the rest of this License.
|
paul@112 | 383 |
|
paul@112 | 384 | 12. If the distribution and/or use of the Library is restricted in
|
paul@112 | 385 | certain countries either by patents or by copyrighted interfaces, the
|
paul@112 | 386 | original copyright holder who places the Library under this License may add
|
paul@112 | 387 | an explicit geographical distribution limitation excluding those countries,
|
paul@112 | 388 | so that distribution is permitted only in or among countries not thus
|
paul@112 | 389 | excluded. In such case, this License incorporates the limitation as if
|
paul@112 | 390 | written in the body of this License.
|
paul@112 | 391 |
|
paul@112 | 392 | 13. The Free Software Foundation may publish revised and/or new
|
paul@112 | 393 | versions of the Library General Public License from time to time.
|
paul@112 | 394 | Such new versions will be similar in spirit to the present version,
|
paul@112 | 395 | but may differ in detail to address new problems or concerns.
|
paul@112 | 396 |
|
paul@112 | 397 | Each version is given a distinguishing version number. If the Library
|
paul@112 | 398 | specifies a version number of this License which applies to it and
|
paul@112 | 399 | "any later version", you have the option of following the terms and
|
paul@112 | 400 | conditions either of that version or of any later version published by
|
paul@112 | 401 | the Free Software Foundation. If the Library does not specify a
|
paul@112 | 402 | license version number, you may choose any version ever published by
|
paul@112 | 403 | the Free Software Foundation.
|
paul@112 | 404 |
|
paul@112 | 405 | 14. If you wish to incorporate parts of the Library into other free
|
paul@112 | 406 | programs whose distribution conditions are incompatible with these,
|
paul@112 | 407 | write to the author to ask for permission. For software which is
|
paul@112 | 408 | copyrighted by the Free Software Foundation, write to the Free
|
paul@112 | 409 | Software Foundation; we sometimes make exceptions for this. Our
|
paul@112 | 410 | decision will be guided by the two goals of preserving the free status
|
paul@112 | 411 | of all derivatives of our free software and of promoting the sharing
|
paul@112 | 412 | and reuse of software generally.
|
paul@112 | 413 |
|
paul@112 | 414 | NO WARRANTY
|
paul@112 | 415 |
|
paul@112 | 416 | 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
paul@112 | 417 | WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
paul@112 | 418 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
paul@112 | 419 | OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
paul@112 | 420 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
paul@112 | 421 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
paul@112 | 422 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
paul@112 | 423 | LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
paul@112 | 424 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
paul@112 | 425 |
|
paul@112 | 426 | 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
paul@112 | 427 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
paul@112 | 428 | AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
paul@112 | 429 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
paul@112 | 430 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
paul@112 | 431 | LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
paul@112 | 432 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
paul@112 | 433 | FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
paul@112 | 434 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
paul@112 | 435 | DAMAGES.
|
paul@112 | 436 |
|
paul@112 | 437 | END OF TERMS AND CONDITIONS
|
paul@112 | 438 |
|
paul@112 | 439 | How to Apply These Terms to Your New Libraries
|
paul@112 | 440 |
|
paul@112 | 441 | If you develop a new library, and you want it to be of the greatest
|
paul@112 | 442 | possible use to the public, we recommend making it free software that
|
paul@112 | 443 | everyone can redistribute and change. You can do so by permitting
|
paul@112 | 444 | redistribution under these terms (or, alternatively, under the terms of the
|
paul@112 | 445 | ordinary General Public License).
|
paul@112 | 446 |
|
paul@112 | 447 | To apply these terms, attach the following notices to the library. It is
|
paul@112 | 448 | safest to attach them to the start of each source file to most effectively
|
paul@112 | 449 | convey the exclusion of warranty; and each file should have at least the
|
paul@112 | 450 | "copyright" line and a pointer to where the full notice is found.
|
paul@112 | 451 |
|
paul@112 | 452 | <one line to give the library's name and a brief idea of what it does.>
|
paul@112 | 453 | Copyright (C) <year> <name of author>
|
paul@112 | 454 |
|
paul@112 | 455 | This library is free software; you can redistribute it and/or
|
paul@112 | 456 | modify it under the terms of the GNU Library General Public
|
paul@112 | 457 | License as published by the Free Software Foundation; either
|
paul@112 | 458 | version 2 of the License, or (at your option) any later version.
|
paul@112 | 459 |
|
paul@112 | 460 | This library is distributed in the hope that it will be useful,
|
paul@112 | 461 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
paul@112 | 462 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
paul@112 | 463 | Library General Public License for more details.
|
paul@112 | 464 |
|
paul@112 | 465 | You should have received a copy of the GNU Library General Public
|
paul@112 | 466 | License along with this library; if not, write to the Free Software
|
paul@112 | 467 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
paul@112 | 468 |
|
paul@112 | 469 | Also add information on how to contact you by electronic and paper mail.
|
paul@112 | 470 |
|
paul@112 | 471 | You should also get your employer (if you work as a programmer) or your
|
paul@112 | 472 | school, if any, to sign a "copyright disclaimer" for the library, if
|
paul@112 | 473 | necessary. Here is a sample; alter the names:
|
paul@112 | 474 |
|
paul@112 | 475 | Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
paul@112 | 476 | library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
paul@112 | 477 |
|
paul@112 | 478 | <signature of Ty Coon>, 1 April 1990
|
paul@112 | 479 | Ty Coon, President of Vice
|
paul@112 | 480 |
|
paul@112 | 481 | That's all there is to it!
|