189857Sobrien@node Library Copying
289857Sobrien@appendixsec GNU LESSER GENERAL PUBLIC LICENSE
389857Sobrien
489857Sobrien@cindex LGPL, Lesser General Public License
589857Sobrien@center Version 2.1, February 1999
689857Sobrien
789857Sobrien@display
889857SobrienCopyright @copyright{} 1991, 1999 Free Software Foundation, Inc.
9218822Sdim51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA
1089857Sobrien
1189857SobrienEveryone is permitted to copy and distribute verbatim copies
1289857Sobrienof this license document, but changing it is not allowed.
1389857Sobrien
1489857Sobrien[This is the first released version of the Lesser GPL.  It also counts
1589857Sobrienas the successor of the GNU Library Public License, version 2, hence the
1689857Sobrienversion number 2.1.]
1789857Sobrien@end display
1889857Sobrien
1989857Sobrien@appendixsubsec Preamble
2089857Sobrien
2189857Sobrien  The licenses for most software are designed to take away your
2289857Sobrienfreedom to share and change it.  By contrast, the GNU General Public
2389857SobrienLicenses are intended to guarantee your freedom to share and change
2489857Sobrienfree software---to make sure the software is free for all its users.
2589857Sobrien
2689857Sobrien  This license, the Lesser General Public License, applies to some
2789857Sobrienspecially designated software---typically libraries---of the Free
2889857SobrienSoftware Foundation and other authors who decide to use it.  You can use
2989857Sobrienit too, but we suggest you first think carefully about whether this
3089857Sobrienlicense or the ordinary General Public License is the better strategy to
3189857Sobrienuse in any particular case, based on the explanations below.
3289857Sobrien
3389857Sobrien  When we speak of free software, we are referring to freedom of use,
3489857Sobriennot price.  Our General Public Licenses are designed to make sure that
3589857Sobrienyou have the freedom to distribute copies of free software (and charge
3689857Sobrienfor this service if you wish); that you receive source code or can get
3789857Sobrienit if you want it; that you can change the software and use pieces of it
3889857Sobrienin new free programs; and that you are informed that you can do these
3989857Sobrienthings.
4089857Sobrien
4189857Sobrien  To protect your rights, we need to make restrictions that forbid
4289857Sobriendistributors to deny you these rights or to ask you to surrender these
4389857Sobrienrights.  These restrictions translate to certain responsibilities for
4489857Sobrienyou if you distribute copies of the library or if you modify it.
4589857Sobrien
4689857Sobrien  For example, if you distribute copies of the library, whether gratis
4789857Sobrienor for a fee, you must give the recipients all the rights that we gave
4889857Sobrienyou.  You must make sure that they, too, receive or can get the source
4989857Sobriencode.  If you link other code with the library, you must provide
5089857Sobriencomplete object files to the recipients, so that they can relink them
5189857Sobrienwith the library after making changes to the library and recompiling
5289857Sobrienit.  And you must show them these terms so they know their rights.
5389857Sobrien
5489857Sobrien  We protect your rights with a two-step method: (1) we copyright the
5589857Sobrienlibrary, and (2) we offer you this license, which gives you legal
5689857Sobrienpermission to copy, distribute and/or modify the library.
5789857Sobrien
5889857Sobrien  To protect each distributor, we want to make it very clear that
5989857Sobrienthere is no warranty for the free library.  Also, if the library is
6089857Sobrienmodified by someone else and passed on, the recipients should know
6189857Sobrienthat what they have is not the original version, so that the original
6289857Sobrienauthor's reputation will not be affected by problems that might be
6389857Sobrienintroduced by others.
6489857Sobrien
6589857Sobrien  Finally, software patents pose a constant threat to the existence of
6689857Sobrienany free program.  We wish to make sure that a company cannot
6789857Sobrieneffectively restrict the users of a free program by obtaining a
6889857Sobrienrestrictive license from a patent holder.  Therefore, we insist that
6989857Sobrienany patent license obtained for a version of the library must be
7089857Sobrienconsistent with the full freedom of use specified in this license.
7189857Sobrien
7289857Sobrien  Most GNU software, including some libraries, is covered by the
7389857Sobrienordinary GNU General Public License.  This license, the GNU Lesser
7489857SobrienGeneral Public License, applies to certain designated libraries, and
7589857Sobrienis quite different from the ordinary General Public License.  We use
7689857Sobrienthis license for certain libraries in order to permit linking those
7789857Sobrienlibraries into non-free programs.
7889857Sobrien
7989857Sobrien  When a program is linked with a library, whether statically or using
8089857Sobriena shared library, the combination of the two is legally speaking a
8189857Sobriencombined work, a derivative of the original library.  The ordinary
8289857SobrienGeneral Public License therefore permits such linking only if the
8389857Sobrienentire combination fits its criteria of freedom.  The Lesser General
8489857SobrienPublic License permits more lax criteria for linking other code with
8589857Sobrienthe library.
8689857Sobrien
8789857Sobrien  We call this license the @dfn{Lesser} General Public License because it
8889857Sobriendoes @emph{Less} to protect the user's freedom than the ordinary General
8989857SobrienPublic License.  It also provides other free software developers Less
9089857Sobrienof an advantage over competing non-free programs.  These disadvantages
9189857Sobrienare the reason we use the ordinary General Public License for many
9289857Sobrienlibraries.  However, the Lesser license provides advantages in certain
9389857Sobrienspecial circumstances.
9489857Sobrien
9589857Sobrien  For example, on rare occasions, there may be a special need to
9689857Sobrienencourage the widest possible use of a certain library, so that it becomes
9789857Sobriena de-facto standard.  To achieve this, non-free programs must be
9889857Sobrienallowed to use the library.  A more frequent case is that a free
9989857Sobrienlibrary does the same job as widely used non-free libraries.  In this
10089857Sobriencase, there is little to gain by limiting the free library to free
10189857Sobriensoftware only, so we use the Lesser General Public License.
10289857Sobrien
10389857Sobrien  In other cases, permission to use a particular library in non-free
10489857Sobrienprograms enables a greater number of people to use a large body of
10589857Sobrienfree software.  For example, permission to use the GNU C Library in
10689857Sobriennon-free programs enables many more people to use the whole GNU
10789857Sobrienoperating system, as well as its variant, the GNU/Linux operating
10889857Sobriensystem.
10989857Sobrien
11089857Sobrien  Although the Lesser General Public License is Less protective of the
11189857Sobrienusers' freedom, it does ensure that the user of a program that is
11289857Sobrienlinked with the Library has the freedom and the wherewithal to run
11389857Sobrienthat program using a modified version of the Library.
11489857Sobrien
11589857Sobrien  The precise terms and conditions for copying, distribution and
11689857Sobrienmodification follow.  Pay close attention to the difference between a
11789857Sobrien``work based on the library'' and a ``work that uses the library''.  The
11889857Sobrienformer contains code derived from the library, whereas the latter must
11989857Sobrienbe combined with the library in order to run.
12089857Sobrien
12189857Sobrien@iftex
12289857Sobrien@appendixsubsec TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12389857Sobrien@end iftex
12489857Sobrien@ifinfo
12589857Sobrien@center GNU LESSER GENERAL PUBLIC LICENSE
12689857Sobrien@center TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12789857Sobrien@end ifinfo
12889857Sobrien
12989857Sobrien@enumerate 0
13089857Sobrien@item
13189857SobrienThis License Agreement applies to any software library or other program
13289857Sobrienwhich contains a notice placed by the copyright holder or other
13389857Sobrienauthorized party saying it may be distributed under the terms of this
13489857SobrienLesser General Public License (also called ``this License'').  Each
13589857Sobrienlicensee is addressed as ``you''.
13689857Sobrien
13789857Sobrien  A ``library'' means a collection of software functions and/or data
13889857Sobrienprepared so as to be conveniently linked with application programs
13989857Sobrien(which use some of those functions and data) to form executables.
14089857Sobrien
14189857Sobrien  The ``Library'', below, refers to any such software library or work
14289857Sobrienwhich has been distributed under these terms.  A ``work based on the
14389857SobrienLibrary'' means either the Library or any derivative work under
14489857Sobriencopyright law: that is to say, a work containing the Library or a
14589857Sobrienportion of it, either verbatim or with modifications and/or translated
14689857Sobrienstraightforwardly into another language.  (Hereinafter, translation is
14789857Sobrienincluded without limitation in the term ``modification''.)
14889857Sobrien
14989857Sobrien  ``Source code'' for a work means the preferred form of the work for
15089857Sobrienmaking modifications to it.  For a library, complete source code means
15189857Sobrienall the source code for all modules it contains, plus any associated
15289857Sobrieninterface definition files, plus the scripts used to control compilation
15389857Sobrienand installation of the library.
15489857Sobrien
15589857Sobrien  Activities other than copying, distribution and modification are not
15689857Sobriencovered by this License; they are outside its scope.  The act of
15789857Sobrienrunning a program using the Library is not restricted, and output from
15889857Sobriensuch a program is covered only if its contents constitute a work based
15989857Sobrienon the Library (independent of the use of the Library in a tool for
16089857Sobrienwriting it).  Whether that is true depends on what the Library does
16189857Sobrienand what the program that uses the Library does.
16289857Sobrien
16389857Sobrien@item
16489857SobrienYou may copy and distribute verbatim copies of the Library's
16589857Sobriencomplete source code as you receive it, in any medium, provided that
16689857Sobrienyou conspicuously and appropriately publish on each copy an
16789857Sobrienappropriate copyright notice and disclaimer of warranty; keep intact
16889857Sobrienall the notices that refer to this License and to the absence of any
16989857Sobrienwarranty; and distribute a copy of this License along with the
17089857SobrienLibrary.
17189857Sobrien
17289857Sobrien  You may charge a fee for the physical act of transferring a copy,
17389857Sobrienand you may at your option offer warranty protection in exchange for a
17489857Sobrienfee.
17589857Sobrien
17689857Sobrien@item
17789857SobrienYou may modify your copy or copies of the Library or any portion
17889857Sobrienof it, thus forming a work based on the Library, and copy and
17989857Sobriendistribute such modifications or work under the terms of Section 1
18089857Sobrienabove, provided that you also meet all of these conditions:
18189857Sobrien
18289857Sobrien@enumerate a
18389857Sobrien@item
18489857SobrienThe modified work must itself be a software library.
18589857Sobrien
18689857Sobrien@item
18789857SobrienYou must cause the files modified to carry prominent notices
18889857Sobrienstating that you changed the files and the date of any change.
18989857Sobrien
19089857Sobrien@item
19189857SobrienYou must cause the whole of the work to be licensed at no
19289857Sobriencharge to all third parties under the terms of this License.
19389857Sobrien
19489857Sobrien@item
19589857SobrienIf a facility in the modified Library refers to a function or a
19689857Sobrientable of data to be supplied by an application program that uses
19789857Sobrienthe facility, other than as an argument passed when the facility
19889857Sobrienis invoked, then you must make a good faith effort to ensure that,
19989857Sobrienin the event an application does not supply such function or
20089857Sobrientable, the facility still operates, and performs whatever part of
20189857Sobrienits purpose remains meaningful.
20289857Sobrien
20389857Sobrien(For example, a function in a library to compute square roots has
20489857Sobriena purpose that is entirely well-defined independent of the
20589857Sobrienapplication.  Therefore, Subsection 2d requires that any
20689857Sobrienapplication-supplied function or table used by this function must
20789857Sobrienbe optional: if the application does not supply it, the square
20889857Sobrienroot function must still compute square roots.)
20989857Sobrien@end enumerate
21089857Sobrien
21189857SobrienThese requirements apply to the modified work as a whole.  If
21289857Sobrienidentifiable sections of that work are not derived from the Library,
21389857Sobrienand can be reasonably considered independent and separate works in
21489857Sobrienthemselves, then this License, and its terms, do not apply to those
21589857Sobriensections when you distribute them as separate works.  But when you
21689857Sobriendistribute the same sections as part of a whole which is a work based
21789857Sobrienon the Library, the distribution of the whole must be on the terms of
21889857Sobrienthis License, whose permissions for other licensees extend to the
21989857Sobrienentire whole, and thus to each and every part regardless of who wrote
22089857Sobrienit.
22189857Sobrien
22289857SobrienThus, it is not the intent of this section to claim rights or contest
22389857Sobrienyour rights to work written entirely by you; rather, the intent is to
22489857Sobrienexercise the right to control the distribution of derivative or
22589857Sobriencollective works based on the Library.
22689857Sobrien
22789857SobrienIn addition, mere aggregation of another work not based on the Library
22889857Sobrienwith the Library (or with a work based on the Library) on a volume of
22989857Sobriena storage or distribution medium does not bring the other work under
23089857Sobrienthe scope of this License.
23189857Sobrien
23289857Sobrien@item
23389857SobrienYou may opt to apply the terms of the ordinary GNU General Public
23489857SobrienLicense instead of this License to a given copy of the Library.  To do
23589857Sobrienthis, you must alter all the notices that refer to this License, so
23689857Sobrienthat they refer to the ordinary GNU General Public License, version 2,
23789857Sobrieninstead of to this License.  (If a newer version than version 2 of the
23889857Sobrienordinary GNU General Public License has appeared, then you can specify
23989857Sobrienthat version instead if you wish.)  Do not make any other change in
24089857Sobrienthese notices.
24189857Sobrien
24289857Sobrien  Once this change is made in a given copy, it is irreversible for
24389857Sobrienthat copy, so the ordinary GNU General Public License applies to all
24489857Sobriensubsequent copies and derivative works made from that copy.
24589857Sobrien
24689857Sobrien  This option is useful when you wish to copy part of the code of
24789857Sobrienthe Library into a program that is not a library.
24889857Sobrien
24989857Sobrien@item
25089857SobrienYou may copy and distribute the Library (or a portion or
25189857Sobrienderivative of it, under Section 2) in object code or executable form
25289857Sobrienunder the terms of Sections 1 and 2 above provided that you accompany
25389857Sobrienit with the complete corresponding machine-readable source code, which
25489857Sobrienmust be distributed under the terms of Sections 1 and 2 above on a
25589857Sobrienmedium customarily used for software interchange.
25689857Sobrien
25789857Sobrien  If distribution of object code is made by offering access to copy
25889857Sobrienfrom a designated place, then offering equivalent access to copy the
25989857Sobriensource code from the same place satisfies the requirement to
26089857Sobriendistribute the source code, even though third parties are not
26189857Sobriencompelled to copy the source along with the object code.
26289857Sobrien
26389857Sobrien@item
26489857SobrienA program that contains no derivative of any portion of the
26589857SobrienLibrary, but is designed to work with the Library by being compiled or
26689857Sobrienlinked with it, is called a ``work that uses the Library''.  Such a
26789857Sobrienwork, in isolation, is not a derivative work of the Library, and
26889857Sobrientherefore falls outside the scope of this License.
26989857Sobrien
27089857Sobrien  However, linking a ``work that uses the Library'' with the Library
27189857Sobriencreates an executable that is a derivative of the Library (because it
27289857Sobriencontains portions of the Library), rather than a ``work that uses the
27389857Sobrienlibrary''.  The executable is therefore covered by this License.
27489857SobrienSection 6 states terms for distribution of such executables.
27589857Sobrien
27689857Sobrien  When a ``work that uses the Library'' uses material from a header file
27789857Sobrienthat is part of the Library, the object code for the work may be a
27889857Sobrienderivative work of the Library even though the source code is not.
27989857SobrienWhether this is true is especially significant if the work can be
28089857Sobrienlinked without the Library, or if the work is itself a library.  The
28189857Sobrienthreshold for this to be true is not precisely defined by law.
28289857Sobrien
28389857Sobrien  If such an object file uses only numerical parameters, data
28489857Sobrienstructure layouts and accessors, and small macros and small inline
28589857Sobrienfunctions (ten lines or less in length), then the use of the object
28689857Sobrienfile is unrestricted, regardless of whether it is legally a derivative
28789857Sobrienwork.  (Executables containing this object code plus portions of the
28889857SobrienLibrary will still fall under Section 6.)
28989857Sobrien
29089857Sobrien  Otherwise, if the work is a derivative of the Library, you may
29189857Sobriendistribute the object code for the work under the terms of Section 6.
29289857SobrienAny executables containing that work also fall under Section 6,
29389857Sobrienwhether or not they are linked directly with the Library itself.
29489857Sobrien
29589857Sobrien@item
29689857SobrienAs an exception to the Sections above, you may also combine or
29789857Sobrienlink a ``work that uses the Library'' with the Library to produce a
29889857Sobrienwork containing portions of the Library, and distribute that work
29989857Sobrienunder terms of your choice, provided that the terms permit
30089857Sobrienmodification of the work for the customer's own use and reverse
30189857Sobrienengineering for debugging such modifications.
30289857Sobrien
30389857Sobrien  You must give prominent notice with each copy of the work that the
30489857SobrienLibrary is used in it and that the Library and its use are covered by
30589857Sobrienthis License.  You must supply a copy of this License.  If the work
30689857Sobrienduring execution displays copyright notices, you must include the
30789857Sobriencopyright notice for the Library among them, as well as a reference
30889857Sobriendirecting the user to the copy of this License.  Also, you must do one
30989857Sobrienof these things:
31089857Sobrien
31189857Sobrien@enumerate a
31289857Sobrien@item
31389857SobrienAccompany the work with the complete corresponding
31489857Sobrienmachine-readable source code for the Library including whatever
31589857Sobrienchanges were used in the work (which must be distributed under
31689857SobrienSections 1 and 2 above); and, if the work is an executable linked
31789857Sobrienwith the Library, with the complete machine-readable ``work that
31889857Sobrienuses the Library'', as object code and/or source code, so that the
31989857Sobrienuser can modify the Library and then relink to produce a modified
32089857Sobrienexecutable containing the modified Library.  (It is understood
32189857Sobrienthat the user who changes the contents of definitions files in the
32289857SobrienLibrary will not necessarily be able to recompile the application
32389857Sobriento use the modified definitions.)
32489857Sobrien
32589857Sobrien@item
32689857SobrienUse a suitable shared library mechanism for linking with the Library.  A
32789857Sobriensuitable mechanism is one that (1) uses at run time a copy of the
32889857Sobrienlibrary already present on the user's computer system, rather than
32989857Sobriencopying library functions into the executable, and (2) will operate
33089857Sobrienproperly with a modified version of the library, if the user installs
33189857Sobrienone, as long as the modified version is interface-compatible with the
33289857Sobrienversion that the work was made with.
33389857Sobrien
33489857Sobrien@item
33589857SobrienAccompany the work with a written offer, valid for at
33689857Sobrienleast three years, to give the same user the materials
33789857Sobrienspecified in Subsection 6a, above, for a charge no more
33889857Sobrienthan the cost of performing this distribution.
33989857Sobrien
34089857Sobrien@item
34189857SobrienIf distribution of the work is made by offering access to copy
34289857Sobrienfrom a designated place, offer equivalent access to copy the above
34389857Sobrienspecified materials from the same place.
34489857Sobrien
34589857Sobrien@item
34689857SobrienVerify that the user has already received a copy of these
34789857Sobrienmaterials or that you have already sent this user a copy.
34889857Sobrien@end enumerate
34989857Sobrien
35089857Sobrien  For an executable, the required form of the ``work that uses the
35189857SobrienLibrary'' must include any data and utility programs needed for
35289857Sobrienreproducing the executable from it.  However, as a special exception,
35389857Sobrienthe materials to be distributed need not include anything that is
35489857Sobriennormally distributed (in either source or binary form) with the major
35589857Sobriencomponents (compiler, kernel, and so on) of the operating system on
35689857Sobrienwhich the executable runs, unless that component itself accompanies the
35789857Sobrienexecutable.
35889857Sobrien
35989857Sobrien  It may happen that this requirement contradicts the license
36089857Sobrienrestrictions of other proprietary libraries that do not normally
36189857Sobrienaccompany the operating system.  Such a contradiction means you cannot
36289857Sobrienuse both them and the Library together in an executable that you
36389857Sobriendistribute.
36489857Sobrien
36589857Sobrien@item
36689857SobrienYou may place library facilities that are a work based on the
36789857SobrienLibrary side-by-side in a single library together with other library
36889857Sobrienfacilities not covered by this License, and distribute such a combined
36989857Sobrienlibrary, provided that the separate distribution of the work based on
37089857Sobrienthe Library and of the other library facilities is otherwise
37189857Sobrienpermitted, and provided that you do these two things:
37289857Sobrien
37389857Sobrien@enumerate a
37489857Sobrien@item
37589857SobrienAccompany the combined library with a copy of the same work
37689857Sobrienbased on the Library, uncombined with any other library
37789857Sobrienfacilities.  This must be distributed under the terms of the
37889857SobrienSections above.
37989857Sobrien
38089857Sobrien@item
38189857SobrienGive prominent notice with the combined library of the fact
38289857Sobrienthat part of it is a work based on the Library, and explaining
38389857Sobrienwhere to find the accompanying uncombined form of the same work.
38489857Sobrien@end enumerate
38589857Sobrien
38689857Sobrien@item
38789857SobrienYou may not copy, modify, sublicense, link with, or distribute
38889857Sobrienthe Library except as expressly provided under this License.  Any
38989857Sobrienattempt otherwise to copy, modify, sublicense, link with, or
39089857Sobriendistribute the Library is void, and will automatically terminate your
39189857Sobrienrights under this License.  However, parties who have received copies,
39289857Sobrienor rights, from you under this License will not have their licenses
39389857Sobrienterminated so long as such parties remain in full compliance.
39489857Sobrien
39589857Sobrien@item
39689857SobrienYou are not required to accept this License, since you have not
39789857Sobriensigned it.  However, nothing else grants you permission to modify or
39889857Sobriendistribute the Library or its derivative works.  These actions are
39989857Sobrienprohibited by law if you do not accept this License.  Therefore, by
40089857Sobrienmodifying or distributing the Library (or any work based on the
40189857SobrienLibrary), you indicate your acceptance of this License to do so, and
40289857Sobrienall its terms and conditions for copying, distributing or modifying
40389857Sobrienthe Library or works based on it.
40489857Sobrien
40589857Sobrien@item
40689857SobrienEach time you redistribute the Library (or any work based on the
40789857SobrienLibrary), the recipient automatically receives a license from the
40889857Sobrienoriginal licensor to copy, distribute, link with or modify the Library
40989857Sobriensubject to these terms and conditions.  You may not impose any further
41089857Sobrienrestrictions on the recipients' exercise of the rights granted herein.
41189857SobrienYou are not responsible for enforcing compliance by third parties with
41289857Sobrienthis License.
41389857Sobrien
41489857Sobrien@item
41589857SobrienIf, as a consequence of a court judgment or allegation of patent
41689857Sobrieninfringement or for any other reason (not limited to patent issues),
41789857Sobrienconditions are imposed on you (whether by court order, agreement or
41889857Sobrienotherwise) that contradict the conditions of this License, they do not
41989857Sobrienexcuse you from the conditions of this License.  If you cannot
42089857Sobriendistribute so as to satisfy simultaneously your obligations under this
42189857SobrienLicense and any other pertinent obligations, then as a consequence you
42289857Sobrienmay not distribute the Library at all.  For example, if a patent
42389857Sobrienlicense would not permit royalty-free redistribution of the Library by
42489857Sobrienall those who receive copies directly or indirectly through you, then
42589857Sobrienthe only way you could satisfy both it and this License would be to
42689857Sobrienrefrain entirely from distribution of the Library.
42789857Sobrien
42889857SobrienIf any portion of this section is held invalid or unenforceable under any
42989857Sobrienparticular circumstance, the balance of the section is intended to apply,
43089857Sobrienand the section as a whole is intended to apply in other circumstances.
43189857Sobrien
43289857SobrienIt is not the purpose of this section to induce you to infringe any
43389857Sobrienpatents or other property right claims or to contest validity of any
43489857Sobriensuch claims; this section has the sole purpose of protecting the
43589857Sobrienintegrity of the free software distribution system which is
43689857Sobrienimplemented by public license practices.  Many people have made
43789857Sobriengenerous contributions to the wide range of software distributed
43889857Sobrienthrough that system in reliance on consistent application of that
43989857Sobriensystem; it is up to the author/donor to decide if he or she is willing
44089857Sobriento distribute software through any other system and a licensee cannot
44189857Sobrienimpose that choice.
44289857Sobrien
44389857SobrienThis section is intended to make thoroughly clear what is believed to
44489857Sobrienbe a consequence of the rest of this License.
44589857Sobrien
44689857Sobrien@item
44789857SobrienIf the distribution and/or use of the Library is restricted in
44889857Sobriencertain countries either by patents or by copyrighted interfaces, the
44989857Sobrienoriginal copyright holder who places the Library under this License may add
45089857Sobrienan explicit geographical distribution limitation excluding those countries,
45189857Sobrienso that distribution is permitted only in or among countries not thus
45289857Sobrienexcluded.  In such case, this License incorporates the limitation as if
45389857Sobrienwritten in the body of this License.
45489857Sobrien
45589857Sobrien@item
45689857SobrienThe Free Software Foundation may publish revised and/or new
45789857Sobrienversions of the Lesser General Public License from time to time.
45889857SobrienSuch new versions will be similar in spirit to the present version,
45989857Sobrienbut may differ in detail to address new problems or concerns.
46089857Sobrien
46189857SobrienEach version is given a distinguishing version number.  If the Library
46289857Sobrienspecifies a version number of this License which applies to it and
46389857Sobrien``any later version'', you have the option of following the terms and
46489857Sobrienconditions either of that version or of any later version published by
46589857Sobrienthe Free Software Foundation.  If the Library does not specify a
46689857Sobrienlicense version number, you may choose any version ever published by
46789857Sobrienthe Free Software Foundation.
46889857Sobrien
46989857Sobrien@item
47089857SobrienIf you wish to incorporate parts of the Library into other free
47189857Sobrienprograms whose distribution conditions are incompatible with these,
47289857Sobrienwrite to the author to ask for permission.  For software which is
47389857Sobriencopyrighted by the Free Software Foundation, write to the Free
47489857SobrienSoftware Foundation; we sometimes make exceptions for this.  Our
47589857Sobriendecision will be guided by the two goals of preserving the free status
47689857Sobrienof all derivatives of our free software and of promoting the sharing
47789857Sobrienand reuse of software generally.
47889857Sobrien
47989857Sobrien@iftex
48089857Sobrien@heading NO WARRANTY
48189857Sobrien@end iftex
48289857Sobrien@ifinfo
48389857Sobrien@center NO WARRANTY
48489857Sobrien@end ifinfo
48589857Sobrien
48689857Sobrien@item
48789857SobrienBECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
48889857SobrienWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
48989857SobrienEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
49089857SobrienOTHER PARTIES PROVIDE THE LIBRARY ``AS IS'' WITHOUT WARRANTY OF ANY
49189857SobrienKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
49289857SobrienIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
49389857SobrienPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
49489857SobrienLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
49589857SobrienTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
49689857Sobrien
49789857Sobrien@item
49889857SobrienIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
49989857SobrienWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
50089857SobrienAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
50189857SobrienFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
50289857SobrienCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
50389857SobrienLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
50489857SobrienRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
50589857SobrienFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
50689857SobrienSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
50789857SobrienDAMAGES.
50889857Sobrien@end enumerate
50989857Sobrien
51089857Sobrien@iftex
51189857Sobrien@heading END OF TERMS AND CONDITIONS
51289857Sobrien@end iftex
51389857Sobrien@ifinfo
51489857Sobrien@center END OF TERMS AND CONDITIONS
51589857Sobrien@end ifinfo
51689857Sobrien
51789857Sobrien@page
51889857Sobrien@appendixsubsec How to Apply These Terms to Your New Libraries
51989857Sobrien
52089857Sobrien  If you develop a new library, and you want it to be of the greatest
52189857Sobrienpossible use to the public, we recommend making it free software that
52289857Sobrieneveryone can redistribute and change.  You can do so by permitting
52389857Sobrienredistribution under these terms (or, alternatively, under the terms of the
52489857Sobrienordinary General Public License).
52589857Sobrien
52689857Sobrien  To apply these terms, attach the following notices to the library.  It is
52789857Sobriensafest to attach them to the start of each source file to most effectively
52889857Sobrienconvey the exclusion of warranty; and each file should have at least the
52989857Sobrien``copyright'' line and a pointer to where the full notice is found.
53089857Sobrien
53189857Sobrien@smallexample
53289857Sobrien@var{one line to give the library's name and an idea of what it does.}
53389857SobrienCopyright (C) @var{year}  @var{name of author}
53489857Sobrien
53589857SobrienThis library is free software; you can redistribute it and/or modify it
53689857Sobrienunder the terms of the GNU Lesser General Public License as published by
53789857Sobrienthe Free Software Foundation; either version 2.1 of the License, or (at
53889857Sobrienyour option) any later version.
53989857Sobrien
54089857SobrienThis library is distributed in the hope that it will be useful, but
54189857SobrienWITHOUT ANY WARRANTY; without even the implied warranty of
54289857SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
54389857SobrienLesser General Public License for more details.
54489857Sobrien
54589857SobrienYou should have received a copy of the GNU Lesser General Public
54689857SobrienLicense along with this library; if not, write to the Free Software
547218822SdimFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
54889857SobrienUSA.
54989857Sobrien@end smallexample
55089857Sobrien
55189857SobrienAlso add information on how to contact you by electronic and paper mail.
55289857Sobrien
55389857SobrienYou should also get your employer (if you work as a programmer) or your
55489857Sobrienschool, if any, to sign a ``copyright disclaimer'' for the library, if
55589857Sobriennecessary.  Here is a sample; alter the names:
55689857Sobrien
55789857Sobrien@smallexample
55889857SobrienYoyodyne, Inc., hereby disclaims all copyright interest in the library
55989857Sobrien`Frob' (a library for tweaking knobs) written by James Random Hacker.
56089857Sobrien
56189857Sobrien@var{signature of Ty Coon}, 1 April 1990
56289857SobrienTy Coon, President of Vice
56389857Sobrien@end smallexample
56489857Sobrien
56589857SobrienThat's all there is to it!
566