LICENSE.txt
author Ozkan Sezer <sezero@users.sourceforge.net>
Wed, 24 May 2017 11:28:05 -0400
changeset 599 f0d57c9b72d8
parent 562 7e08477b0fc1
child 601 5b36839bb796
permissions -rw-r--r--
timidity.c: fix potential buffer overrun in RWgets

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