Update GPL and LGPL license texts to the latest versions
This corrects the outdated FSF address and reformats the text slightly. References: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt
This commit is contained in:
20
docs/gpl.txt
20
docs/gpl.txt
@@ -1,8 +1,8 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||||
675 Mass Ave, Cambridge, MA 02139, USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
|
|||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
@@ -279,7 +279,7 @@ POSSIBILITY OF SUCH DAMAGES.
|
|||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
Appendix: How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
@@ -291,7 +291,7 @@ convey the exclusion of warranty; and each file should have at least
|
|||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) 19yy <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -303,16 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
|
|||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along
|
||||||
along with this program; if not, write to the Free Software
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) 19yy name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
@@ -335,5 +335,5 @@ necessary. Here is a sample; alter the names:
|
|||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
662
docs/lgpl.txt
662
docs/lgpl.txt
@@ -1,10 +1,8 @@
|
|||||||
|
|
||||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||||
==================================
|
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1991 Free Software Foundation, Inc.
|
Copyright (C) 1991 Free Software Foundation, Inc.
|
||||||
675 Mass Ave, Cambridge, MA 02139, USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
@@ -13,159 +11,145 @@
|
|||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
Public Licenses are intended to guarantee your freedom to share
|
Licenses are intended to guarantee your freedom to share and change
|
||||||
and change free software--to make sure the software is free for
|
free software--to make sure the software is free for all its users.
|
||||||
all its users.
|
|
||||||
|
|
||||||
This license, the Library General Public License, applies to
|
This license, the Library General Public License, applies to some
|
||||||
some specially designated Free Software Foundation software, and
|
specially designated Free Software Foundation software, and to any
|
||||||
to any other libraries whose authors decide to use it. You can
|
other libraries whose authors decide to use it. You can use it for
|
||||||
use it for your libraries, too.
|
your libraries, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
that you have the freedom to distribute copies of free software
|
have the freedom to distribute copies of free software (and charge for
|
||||||
(and charge for this service if you wish), that you receive
|
this service if you wish), that you receive source code or can get it
|
||||||
source code or can get it if you want it, that you can change
|
if you want it, that you can change the software or use pieces of it
|
||||||
the software or use pieces of it in new free programs; and that
|
in new free programs; and that you know you can do these things.
|
||||||
you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
rights. These restrictions translate to certain responsibilities
|
These restrictions translate to certain responsibilities for you if
|
||||||
for you if you distribute copies of the library, or if you
|
you distribute copies of the library, or if you modify it.
|
||||||
modify it.
|
|
||||||
|
|
||||||
For example, if you distribute copies of the library, whether
|
For example, if you distribute copies of the library, whether gratis
|
||||||
gratis or for a fee, you must give the recipients all the rights
|
or for a fee, you must give the recipients all the rights that we gave
|
||||||
that we gave you. You must make sure that they, too, receive or
|
you. You must make sure that they, too, receive or can get the source
|
||||||
can get the source code. If you link a program with the
|
code. If you link a program with the library, you must provide
|
||||||
library, you must provide complete object files to the
|
complete object files to the recipients so that they can relink them
|
||||||
recipients so that they can relink them with the library, after
|
with the library, after making changes to the library and recompiling
|
||||||
making changes to the library and recompiling it. And you must
|
it. And you must show them these terms so they know their rights.
|
||||||
show them these terms so they know their rights.
|
|
||||||
|
|
||||||
Our method of protecting your rights has two steps: (1)
|
Our method of protecting your rights has two steps: (1) copyright
|
||||||
copyright the library, and (2) offer you this license which
|
the library, and (2) offer you this license which gives you legal
|
||||||
gives you legal permission to copy, distribute and/or modify the
|
permission to copy, distribute and/or modify the library.
|
||||||
library.
|
|
||||||
|
|
||||||
Also, for each distributor's protection, we want to make certain
|
Also, for each distributor's protection, we want to make certain
|
||||||
that everyone understands that there is no warranty for this
|
that everyone understands that there is no warranty for this free
|
||||||
free library. If the library is modified by someone else and
|
library. If the library is modified by someone else and passed on, we
|
||||||
passed on, we want its recipients to know that what they have is
|
want its recipients to know that what they have is not the original
|
||||||
not the original version, so that any problems introduced by
|
version, so that any problems introduced by others will not reflect on
|
||||||
others will not reflect on the original authors' reputations.
|
the original authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that companies distributing free
|
||||||
|
software will individually obtain patent licenses, thus in effect
|
||||||
|
transforming the program into proprietary software. To prevent this,
|
||||||
|
we have made it clear that any patent must be licensed for everyone's
|
||||||
|
free use or not licensed at all.
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
Most GNU software, including some libraries, is covered by the ordinary
|
||||||
patents. We wish to avoid the danger that companies
|
GNU General Public License, which was designed for utility programs. This
|
||||||
distributing free software will individually obtain patent
|
license, the GNU Library General Public License, applies to certain
|
||||||
licenses, thus in effect transforming the program into
|
designated libraries. This license is quite different from the ordinary
|
||||||
proprietary software. To prevent this, we have made it clear
|
one; be sure to read it in full, and don't assume that anything in it is
|
||||||
that any patent must be licensed for everyone's free use or not
|
the same as in the ordinary license.
|
||||||
licensed at all.
|
|
||||||
|
|
||||||
Most GNU software, including some libraries, is covered by the
|
The reason we have a separate public license for some libraries is that
|
||||||
ordinary GNU General Public License, which was designed for
|
they blur the distinction we usually make between modifying or adding to a
|
||||||
utility programs. This license, the GNU Library General Public
|
program and simply using it. Linking a program with a library, without
|
||||||
License, applies to certain designated libraries. This license
|
changing the library, is in some sense simply using the library, and is
|
||||||
is quite different from the ordinary one; be sure to read it in
|
analogous to running a utility program or application program. However, in
|
||||||
full, and don't assume that anything in it is the same as in the
|
a textual and legal sense, the linked executable is a combined work, a
|
||||||
ordinary license.
|
derivative of the original library, and the ordinary General Public License
|
||||||
|
treats it as such.
|
||||||
|
|
||||||
The reason we have a separate public license for some libraries
|
Because of this blurred distinction, using the ordinary General
|
||||||
is that they blur the distinction we usually make between
|
Public License for libraries did not effectively promote software
|
||||||
modifying or adding to a program and simply using it. Linking a
|
sharing, because most developers did not use the libraries. We
|
||||||
program with a library, without changing the library, is in some
|
concluded that weaker conditions might promote sharing better.
|
||||||
sense simply using the library, and is analogous to running a
|
|
||||||
utility program or application program. However, in a textual
|
|
||||||
and legal sense, the linked executable is a combined work, a
|
|
||||||
derivative of the original library, and the ordinary General
|
|
||||||
Public License treats it as such.
|
|
||||||
|
|
||||||
Because of this blurred distinction, using the ordinary General
|
However, unrestricted linking of non-free programs would deprive the
|
||||||
Public License for libraries did not effectively promote
|
users of those programs of all benefit from the free status of the
|
||||||
software sharing, because most developers did not use the
|
libraries themselves. This Library General Public License is intended to
|
||||||
libraries. We concluded that weaker conditions might promote
|
permit developers of non-free programs to use free libraries, while
|
||||||
sharing better.
|
preserving your freedom as a user of such programs to change the free
|
||||||
|
libraries that are incorporated in them. (We have not seen how to achieve
|
||||||
|
this as regards changes in header files, but we have achieved it as regards
|
||||||
|
changes in the actual functions of the Library.) The hope is that this
|
||||||
|
will lead to faster development of free libraries.
|
||||||
|
|
||||||
However, unrestricted linking of non-free programs would deprive
|
The precise terms and conditions for copying, distribution and
|
||||||
the users of those programs of all benefit from the free status
|
modification follow. Pay close attention to the difference between a
|
||||||
of the libraries themselves. This Library General Public
|
"work based on the library" and a "work that uses the library". The
|
||||||
License is intended to permit developers of non-free programs to
|
former contains code derived from the library, while the latter only
|
||||||
use free libraries, while preserving your freedom as a user of
|
works together with the library.
|
||||||
such programs to change the free libraries that are incorporated
|
|
||||||
in them. (We have not seen how to achieve this as regards
|
|
||||||
changes in header files, but we have achieved it as regards
|
|
||||||
changes in the actual functions of the Library.) The hope is
|
|
||||||
that this will lead to faster development of free libraries.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow. Pay close attention to the difference
|
|
||||||
between a "work based on the library" and a "work that uses the
|
|
||||||
library". The former contains code derived from the library,
|
|
||||||
while the latter only works together with the library.
|
|
||||||
|
|
||||||
Note that it is possible for a library to be covered by the
|
|
||||||
ordinary General Public License rather than by this special one.
|
|
||||||
|
|
||||||
|
Note that it is possible for a library to be covered by the ordinary
|
||||||
|
General Public License rather than by this special one.
|
||||||
|
|
||||||
GNU LIBRARY GENERAL PUBLIC LICENSE
|
GNU LIBRARY GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License Agreement applies to any software library which
|
0. This License Agreement applies to any software library which
|
||||||
contains a notice placed by the copyright holder or other
|
contains a notice placed by the copyright holder or other authorized
|
||||||
authorized party saying it may be distributed under the terms of
|
party saying it may be distributed under the terms of this Library
|
||||||
this Library General Public License (also called "this
|
General Public License (also called "this License"). Each licensee is
|
||||||
License"). Each licensee is addressed as "you".
|
addressed as "you".
|
||||||
|
|
||||||
A "library" means a collection of software functions and/or data
|
A "library" means a collection of software functions and/or data
|
||||||
prepared so as to be conveniently linked with application
|
prepared so as to be conveniently linked with application programs
|
||||||
programs (which use some of those functions and data) to form
|
(which use some of those functions and data) to form executables.
|
||||||
executables.
|
|
||||||
|
|
||||||
The "Library", below, refers to any such software library or
|
The "Library", below, refers to any such software library or work
|
||||||
work which has been distributed under these terms. A "work
|
which has been distributed under these terms. A "work based on the
|
||||||
based on the Library" means either the Library or any derivative
|
Library" means either the Library or any derivative work under
|
||||||
work under copyright law: that is to say, a work containing the
|
copyright law: that is to say, a work containing the Library or a
|
||||||
Library or a portion of it, either verbatim or with
|
portion of it, either verbatim or with modifications and/or translated
|
||||||
modifications and/or translated straightforwardly into another
|
straightforwardly into another language. (Hereinafter, translation is
|
||||||
language. (Hereinafter, translation is included without
|
included without limitation in the term "modification".)
|
||||||
limitation in the term "modification".)
|
|
||||||
|
|
||||||
"Source code" for a work means the preferred form of the work
|
"Source code" for a work means the preferred form of the work for
|
||||||
for making modifications to it. For a library, complete source
|
making modifications to it. For a library, complete source code means
|
||||||
code means all the source code for all modules it contains, plus
|
all the source code for all modules it contains, plus any associated
|
||||||
any associated interface definition files, plus the scripts used
|
interface definition files, plus the scripts used to control compilation
|
||||||
to control compilation and installation of the library.
|
and installation of the library.
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are
|
Activities other than copying, distribution and modification are not
|
||||||
not covered by this License; they are outside its scope. The
|
covered by this License; they are outside its scope. The act of
|
||||||
act of running a program using the Library is not restricted,
|
running a program using the Library is not restricted, and output from
|
||||||
and output from such a program is covered only if its contents
|
such a program is covered only if its contents constitute a work based
|
||||||
constitute a work based on the Library (independent of the use
|
on the Library (independent of the use of the Library in a tool for
|
||||||
of the Library in a tool for writing it). Whether that is true
|
writing it). Whether that is true depends on what the Library does
|
||||||
depends on what the Library does and what the program that uses
|
and what the program that uses the Library does.
|
||||||
the Library does.
|
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Library's
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
complete source code as you receive it, in any medium, provided
|
complete source code as you receive it, in any medium, provided that
|
||||||
that you conspicuously and appropriately publish on each copy an
|
you conspicuously and appropriately publish on each copy an
|
||||||
appropriate copyright notice and disclaimer of warranty; keep
|
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||||
intact all the notices that refer to this License and to the
|
all the notices that refer to this License and to the absence of any
|
||||||
absence of any warranty; and distribute a copy of this License
|
warranty; and distribute a copy of this License along with the
|
||||||
along with the Library.
|
Library.
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a
|
You may charge a fee for the physical act of transferring a copy,
|
||||||
copy, and you may at your option offer warranty protection in
|
and you may at your option offer warranty protection in exchange for a
|
||||||
exchange for a fee.
|
fee.
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Library or any
|
2. You may modify your copy or copies of the Library or any portion
|
||||||
portion of it, thus forming a work based on the Library, and
|
of it, thus forming a work based on the Library, and copy and
|
||||||
copy and distribute such modifications or work under the terms
|
distribute such modifications or work under the terms of Section 1
|
||||||
of Section 1 above, provided that you also meet all of these
|
above, provided that you also meet all of these conditions:
|
||||||
conditions:
|
|
||||||
|
|
||||||
a) The modified work must itself be a software library.
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
@@ -191,108 +175,100 @@ conditions:
|
|||||||
root function must still compute square roots.)
|
root function must still compute square roots.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the
|
identifiable sections of that work are not derived from the Library,
|
||||||
Library, and can be reasonably considered independent and
|
and can be reasonably considered independent and separate works in
|
||||||
separate works in themselves, then this License, and its terms,
|
themselves, then this License, and its terms, do not apply to those
|
||||||
do not apply to those sections when you distribute them as
|
sections when you distribute them as separate works. But when you
|
||||||
separate works. But when you distribute the same sections as
|
distribute the same sections as part of a whole which is a work based
|
||||||
part of a whole which is a work based on the Library, the
|
on the Library, the distribution of the whole must be on the terms of
|
||||||
distribution of the whole must be on the terms of this License,
|
this License, whose permissions for other licensees extend to the
|
||||||
whose permissions for other licensees extend to the entire
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
whole, and thus to each and every part regardless of who wrote
|
|
||||||
it.
|
it.
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
contest your rights to work written entirely by you; rather, the
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
intent is to exercise the right to control the distribution of
|
exercise the right to control the distribution of derivative or
|
||||||
derivative or collective works based on the Library.
|
collective works based on the Library.
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the
|
In addition, mere aggregation of another work not based on the Library
|
||||||
Library with the Library (or with a work based on the Library)
|
with the Library (or with a work based on the Library) on a volume of
|
||||||
on a volume of a storage or distribution medium does not bring
|
a storage or distribution medium does not bring the other work under
|
||||||
the other work under the scope of this License.
|
the scope of this License.
|
||||||
|
|
||||||
3. You may opt to apply the terms of the ordinary GNU General
|
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||||
Public License instead of this License to a given copy of the
|
License instead of this License to a given copy of the Library. To do
|
||||||
Library. To do this, you must alter all the notices that refer
|
this, you must alter all the notices that refer to this License, so
|
||||||
to this License, so that they refer to the ordinary GNU General
|
that they refer to the ordinary GNU General Public License, version 2,
|
||||||
Public License, version 2, instead of to this License. (If a
|
instead of to this License. (If a newer version than version 2 of the
|
||||||
newer version than version 2 of the ordinary GNU General Public
|
ordinary GNU General Public License has appeared, then you can specify
|
||||||
License has appeared, then you can specify that version instead
|
that version instead if you wish.) Do not make any other change in
|
||||||
if you wish.) Do not make any other change in these notices.
|
these notices.
|
||||||
|
|
||||||
|
Once this change is made in a given copy, it is irreversible for
|
||||||
|
that copy, so the ordinary GNU General Public License applies to all
|
||||||
|
subsequent copies and derivative works made from that copy.
|
||||||
|
|
||||||
Once this change is made in a given copy, it is irreversible for
|
This option is useful when you wish to copy part of the code of
|
||||||
that copy, so the ordinary GNU General Public License applies to
|
|
||||||
all subsequent copies and derivative works made from that copy.
|
|
||||||
|
|
||||||
This option is useful when you wish to copy part of the code of
|
|
||||||
the Library into a program that is not a library.
|
the Library into a program that is not a library.
|
||||||
|
|
||||||
4. You may copy and distribute the Library (or a portion or
|
4. You may copy and distribute the Library (or a portion or
|
||||||
derivative of it, under Section 2) in object code or executable
|
derivative of it, under Section 2) in object code or executable form
|
||||||
form under the terms of Sections 1 and 2 above provided that you
|
under the terms of Sections 1 and 2 above provided that you accompany
|
||||||
accompany it with the complete corresponding machine-readable
|
it with the complete corresponding machine-readable source code, which
|
||||||
source code, which must be distributed under the terms of
|
must be distributed under the terms of Sections 1 and 2 above on a
|
||||||
Sections 1 and 2 above on a medium customarily used for software
|
medium customarily used for software interchange.
|
||||||
interchange.
|
|
||||||
|
|
||||||
If distribution of object code is made by offering access to
|
If distribution of object code is made by offering access to copy
|
||||||
copy from a designated place, then offering equivalent access to
|
from a designated place, then offering equivalent access to copy the
|
||||||
copy the source code from the same place satisfies the
|
source code from the same place satisfies the requirement to
|
||||||
requirement to distribute the source code, even though third
|
distribute the source code, even though third parties are not
|
||||||
parties are not compelled to copy the source along with the
|
compelled to copy the source along with the object code.
|
||||||
object code.
|
|
||||||
|
|
||||||
5. A program that contains no derivative of any portion of the
|
5. A program that contains no derivative of any portion of the
|
||||||
Library, but is designed to work with the Library by being
|
Library, but is designed to work with the Library by being compiled or
|
||||||
compiled or linked with it, is called a "work that uses the
|
linked with it, is called a "work that uses the Library". Such a
|
||||||
Library". Such a work, in isolation, is not a derivative work
|
work, in isolation, is not a derivative work of the Library, and
|
||||||
of the Library, and therefore falls outside the scope of this
|
therefore falls outside the scope of this License.
|
||||||
License.
|
|
||||||
|
|
||||||
However, linking a "work that uses the Library" with the Library
|
However, linking a "work that uses the Library" with the Library
|
||||||
creates an executable that is a derivative of the Library
|
creates an executable that is a derivative of the Library (because it
|
||||||
(because it contains portions of the Library), rather than a
|
contains portions of the Library), rather than a "work that uses the
|
||||||
"work that uses the library". The executable is therefore
|
library". The executable is therefore covered by this License.
|
||||||
covered by this License. Section 6 states terms for distribution
|
Section 6 states terms for distribution of such executables.
|
||||||
of such executables.
|
|
||||||
|
|
||||||
When a "work that uses the Library" uses material from a header
|
When a "work that uses the Library" uses material from a header file
|
||||||
file that is part of the Library, the object code for the work
|
that is part of the Library, the object code for the work may be a
|
||||||
may be a derivative work of the Library even though the source
|
derivative work of the Library even though the source code is not.
|
||||||
code is not. Whether this is true is especially significant if
|
Whether this is true is especially significant if the work can be
|
||||||
the work can be linked without the Library, or if the work is
|
linked without the Library, or if the work is itself a library. The
|
||||||
itself a library. The threshold for this to be true is not
|
threshold for this to be true is not precisely defined by law.
|
||||||
precisely defined by law.
|
|
||||||
|
|
||||||
If such an object file uses only numerical parameters, data
|
If such an object file uses only numerical parameters, data
|
||||||
structure layouts and accessors, and small macros and small
|
structure layouts and accessors, and small macros and small inline
|
||||||
inline functions (ten lines or less in length), then the use of
|
functions (ten lines or less in length), then the use of the object
|
||||||
the object file is unrestricted, regardless of whether it is
|
file is unrestricted, regardless of whether it is legally a derivative
|
||||||
legally a derivative work. (Executables containing this object
|
work. (Executables containing this object code plus portions of the
|
||||||
code plus portions of the Library will still fall under Section
|
Library will still fall under Section 6.)
|
||||||
6.)
|
|
||||||
|
|
||||||
Otherwise, if the work is a derivative of the Library, you may
|
Otherwise, if the work is a derivative of the Library, you may
|
||||||
distribute the object code for the work under the terms of
|
distribute the object code for the work under the terms of Section 6.
|
||||||
Section 6. Any executables containing that work also fall under
|
Any executables containing that work also fall under Section 6,
|
||||||
Section 6, whether or not they are linked directly with the
|
whether or not they are linked directly with the Library itself.
|
||||||
Library itself.
|
|
||||||
|
6. As an exception to the Sections above, you may also compile or
|
||||||
|
link a "work that uses the Library" with the Library to produce a
|
||||||
|
work containing portions of the Library, and distribute that work
|
||||||
|
under terms of your choice, provided that the terms permit
|
||||||
|
modification of the work for the customer's own use and reverse
|
||||||
|
engineering for debugging such modifications.
|
||||||
|
|
||||||
6. As an exception to the Sections above, you may also compile
|
You must give prominent notice with each copy of the work that the
|
||||||
or link a "work that uses the Library" with the Library to
|
Library is used in it and that the Library and its use are covered by
|
||||||
produce a work containing portions of the Library, and
|
this License. You must supply a copy of this License. If the work
|
||||||
distribute that work under terms of your choice, provided that
|
during execution displays copyright notices, you must include the
|
||||||
the terms permit modification of the work for the customer's own
|
copyright notice for the Library among them, as well as a reference
|
||||||
use and reverse engineering for debugging such modifications.
|
directing the user to the copy of this License. Also, you must do one
|
||||||
|
of these things:
|
||||||
You must give prominent notice with each copy of the work that
|
|
||||||
the Library is used in it and that the Library and its use are
|
|
||||||
covered by this License. You must supply a copy of this
|
|
||||||
License. If the work during execution displays copyright
|
|
||||||
notices, you must include the copyright notice for the Library
|
|
||||||
among them, as well as a reference directing the user to the
|
|
||||||
copy of this License. Also, you must do one of these things:
|
|
||||||
|
|
||||||
a) Accompany the work with the complete corresponding
|
a) Accompany the work with the complete corresponding
|
||||||
machine-readable source code for the Library including whatever
|
machine-readable source code for the Library including whatever
|
||||||
@@ -318,28 +294,27 @@ copy of this License. Also, you must do one of these things:
|
|||||||
d) Verify that the user has already received a copy of these
|
d) Verify that the user has already received a copy of these
|
||||||
materials or that you have already sent this user a copy.
|
materials or that you have already sent this user a copy.
|
||||||
|
|
||||||
For an executable, the required form of the "work that uses the
|
For an executable, the required form of the "work that uses the
|
||||||
Library" must include any data and utility programs needed for
|
Library" must include any data and utility programs needed for
|
||||||
reproducing the executable from it. However, as a special
|
reproducing the executable from it. However, as a special exception,
|
||||||
exception, the source code distributed need not include anything
|
the source code distributed need not include anything that is normally
|
||||||
that is normally distributed (in either source or binary form)
|
distributed (in either source or binary form) with the major
|
||||||
with the major components (compiler, kernel, and so on) of the
|
components (compiler, kernel, and so on) of the operating system on
|
||||||
operating system on which the executable runs, unless that
|
which the executable runs, unless that component itself accompanies
|
||||||
component itself accompanies the executable.
|
the executable.
|
||||||
|
|
||||||
It may happen that this requirement contradicts the license
|
It may happen that this requirement contradicts the license
|
||||||
restrictions of other proprietary libraries that do not normally
|
restrictions of other proprietary libraries that do not normally
|
||||||
accompany the operating system. Such a contradiction means you
|
accompany the operating system. Such a contradiction means you cannot
|
||||||
cannot use both them and the Library together in an executable
|
use both them and the Library together in an executable that you
|
||||||
that you distribute.
|
distribute.
|
||||||
|
|
||||||
7. You may place library facilities that are a work based on the
|
7. You may place library facilities that are a work based on the
|
||||||
Library side-by-side in a single library together with other
|
Library side-by-side in a single library together with other library
|
||||||
library facilities not covered by this License, and distribute
|
facilities not covered by this License, and distribute such a combined
|
||||||
such a combined library, provided that the separate distribution
|
library, provided that the separate distribution of the work based on
|
||||||
of the work based on the Library and of the other library
|
the Library and of the other library facilities is otherwise
|
||||||
facilities is otherwise permitted, and provided that you do
|
permitted, and provided that you do these two things:
|
||||||
these two things:
|
|
||||||
|
|
||||||
a) Accompany the combined library with a copy of the same work
|
a) Accompany the combined library with a copy of the same work
|
||||||
based on the Library, uncombined with any other library
|
based on the Library, uncombined with any other library
|
||||||
@@ -350,108 +325,99 @@ these two things:
|
|||||||
that part of it is a work based on the Library, and explaining
|
that part of it is a work based on the Library, and explaining
|
||||||
where to find the accompanying uncombined form of the same work.
|
where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
8. You may not copy, modify, sublicense, link with, or
|
8. You may not copy, modify, sublicense, link with, or distribute
|
||||||
distribute the Library except as expressly provided under this
|
the Library except as expressly provided under this License. Any
|
||||||
License. Any attempt otherwise to copy, modify, sublicense,
|
attempt otherwise to copy, modify, sublicense, link with, or
|
||||||
link with, or distribute the Library is void, and will
|
distribute the Library is void, and will automatically terminate your
|
||||||
automatically terminate your rights under this License.
|
rights under this License. However, parties who have received copies,
|
||||||
However, parties who have received copies, or rights, from you
|
or rights, from you under this License will not have their licenses
|
||||||
under this License will not have their licenses terminated so
|
terminated so long as such parties remain in full compliance.
|
||||||
long as such parties remain in full compliance.
|
|
||||||
|
|
||||||
9. You are not required to accept this License, since you have
|
9. You are not required to accept this License, since you have not
|
||||||
not signed it. However, nothing else grants you permission to
|
signed it. However, nothing else grants you permission to modify or
|
||||||
modify or distribute the Library or its derivative works. These
|
distribute the Library or its derivative works. These actions are
|
||||||
actions are prohibited by law if you do not accept this
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
License. Therefore, by modifying or distributing the Library
|
modifying or distributing the Library (or any work based on the
|
||||||
(or any work based on the Library), you indicate your acceptance
|
Library), you indicate your acceptance of this License to do so, and
|
||||||
of this License to do so, and all its terms and conditions for
|
all its terms and conditions for copying, distributing or modifying
|
||||||
copying, distributing or modifying the Library or works based on
|
the Library or works based on it.
|
||||||
it.
|
|
||||||
|
|
||||||
10. Each time you redistribute the Library (or any work based on
|
10. Each time you redistribute the Library (or any work based on the
|
||||||
the Library), the recipient automatically receives a license
|
Library), the recipient automatically receives a license from the
|
||||||
from the original licensor to copy, distribute, link with or
|
original licensor to copy, distribute, link with or modify the Library
|
||||||
modify the Library subject to these terms and conditions. You
|
subject to these terms and conditions. You may not impose any further
|
||||||
may not impose any further restrictions on the recipients'
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
exercise of the rights granted herein. You are not responsible
|
You are not responsible for enforcing compliance by third parties to
|
||||||
for enforcing compliance by third parties to this License.
|
this License.
|
||||||
|
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Library at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Library by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Library.
|
||||||
|
|
||||||
11. If, as a consequence of a court judgment or allegation of
|
If any portion of this section is held invalid or unenforceable under any
|
||||||
patent infringement or for any other reason (not limited to
|
particular circumstance, the balance of the section is intended to apply,
|
||||||
patent issues), conditions are imposed on you (whether by court
|
and the section as a whole is intended to apply in other circumstances.
|
||||||
order, agreement or otherwise) that contradict the conditions of
|
|
||||||
this License, they do not excuse you from the conditions of this
|
|
||||||
License. If you cannot distribute so as to satisfy
|
|
||||||
simultaneously your obligations under this License and any other
|
|
||||||
pertinent obligations, then as a consequence you may not
|
|
||||||
distribute the Library at all. For example, if a patent license
|
|
||||||
would not permit royalty-free redistribution of the Library by
|
|
||||||
all those who receive copies directly or indirectly through you,
|
|
||||||
then the only way you could satisfy both it and this License
|
|
||||||
would be to refrain entirely from distribution of the Library.
|
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable
|
It is not the purpose of this section to induce you to infringe any
|
||||||
under any particular circumstance, the balance of the section is
|
patents or other property right claims or to contest validity of any
|
||||||
intended to apply, and the section as a whole is intended to
|
such claims; this section has the sole purpose of protecting the
|
||||||
apply in other circumstances.
|
integrity of the free software distribution system which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe
|
This section is intended to make thoroughly clear what is believed to
|
||||||
any patents or other property right claims or to contest
|
be a consequence of the rest of this License.
|
||||||
validity of any such claims; this section has the sole purpose
|
|
||||||
of protecting the integrity of the free software distribution
|
|
||||||
system which is implemented by public license practices. Many
|
|
||||||
people have made generous contributions to the wide range of
|
|
||||||
software distributed through that system in reliance on
|
|
||||||
consistent application of that system; it is up to the
|
|
||||||
author/donor to decide if he or she is willing to distribute
|
|
||||||
software through any other system and a licensee cannot impose
|
|
||||||
that choice.
|
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is
|
12. If the distribution and/or use of the Library is restricted in
|
||||||
believed to be a consequence of the rest of this License.
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Library under this License may add
|
||||||
|
an explicit geographical distribution limitation excluding those countries,
|
||||||
|
so that distribution is permitted only in or among countries not thus
|
||||||
|
excluded. In such case, this License incorporates the limitation as if
|
||||||
|
written in the body of this License.
|
||||||
|
|
||||||
12. If the distribution and/or use of the Library is restricted
|
13. The Free Software Foundation may publish revised and/or new
|
||||||
in certain countries either by patents or by copyrighted
|
versions of the Library General Public License from time to time.
|
||||||
interfaces, the original copyright holder who places the Library
|
Such new versions will be similar in spirit to the present version,
|
||||||
under this License may add an explicit geographical distribution
|
but may differ in detail to address new problems or concerns.
|
||||||
limitation excluding those countries, so that distribution is
|
|
||||||
permitted only in or among countries not thus excluded. In such
|
|
||||||
case, this License incorporates the limitation as if written in
|
|
||||||
the body of this License.
|
|
||||||
|
|
||||||
13. The Free Software Foundation may publish revised and/or new
|
Each version is given a distinguishing version number. If the Library
|
||||||
versions of the Library General Public License from time to
|
specifies a version number of this License which applies to it and
|
||||||
time. Such new versions will be similar in spirit to the present
|
"any later version", you have the option of following the terms and
|
||||||
version, but may differ in detail to address new problems or
|
conditions either of that version or of any later version published by
|
||||||
concerns.
|
the Free Software Foundation. If the Library does not specify a
|
||||||
|
license version number, you may choose any version ever published by
|
||||||
Each version is given a distinguishing version number. If the
|
the Free Software Foundation.
|
||||||
Library specifies a version number of this License which applies
|
|
||||||
to it and "any later version", you have the option of following
|
14. If you wish to incorporate parts of the Library into other free
|
||||||
the terms and conditions either of that version or of any later
|
programs whose distribution conditions are incompatible with these,
|
||||||
version published by the Free Software Foundation. If the
|
write to the author to ask for permission. For software which is
|
||||||
Library does not specify a license version number, you may
|
copyrighted by the Free Software Foundation, write to the Free
|
||||||
choose any version ever published by the Free Software
|
Software Foundation; we sometimes make exceptions for this. Our
|
||||||
Foundation.
|
decision will be guided by the two goals of preserving the free status
|
||||||
|
of all derivatives of our free software and of promoting the sharing
|
||||||
14. If you wish to incorporate parts of the Library into other
|
and reuse of software generally.
|
||||||
free programs whose distribution conditions are incompatible
|
|
||||||
with these, write to the author to ask for permission. For
|
|
||||||
software which is copyrighted by the Free Software Foundation,
|
|
||||||
write to the Free Software Foundation; we sometimes make
|
|
||||||
exceptions for this. Our decision will be guided by the two
|
|
||||||
goals of preserving the free status of all derivatives of our
|
|
||||||
free software and of promoting the sharing and reuse of software
|
|
||||||
generally.
|
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
@@ -460,29 +426,28 @@ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|||||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Libraries
|
||||||
|
|
||||||
Appendix: How to Apply These Terms to Your New Libraries
|
If you develop a new library, and you want it to be of the greatest
|
||||||
|
possible use to the public, we recommend making it free software that
|
||||||
|
everyone can redistribute and change. You can do so by permitting
|
||||||
|
redistribution under these terms (or, alternatively, under the terms of the
|
||||||
|
ordinary General Public License).
|
||||||
|
|
||||||
If you develop a new library, and you want it to be of the
|
To apply these terms, attach the following notices to the library. It is
|
||||||
greatest possible use to the public, we recommend making it free
|
safest to attach them to the start of each source file to most effectively
|
||||||
software that everyone can redistribute and change. You can do
|
convey the exclusion of warranty; and each file should have at least the
|
||||||
so by permitting redistribution under these terms (or,
|
"copyright" line and a pointer to where the full notice is found.
|
||||||
alternatively, under the terms of the ordinary General Public
|
|
||||||
License).
|
|
||||||
|
|
||||||
To apply these terms, attach the following notices to the
|
|
||||||
library. It is safest to attach them to the start of each
|
|
||||||
source file to most effectively convey the exclusion of
|
|
||||||
warranty; and each file should have at least the "copyright"
|
|
||||||
line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the library's name and a brief idea of what it does.>
|
<one line to give the library's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
@@ -498,8 +463,8 @@ line and a pointer to where the full notice is found.
|
|||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free Software
|
||||||
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
@@ -514,4 +479,3 @@ necessary. Here is a sample; alter the names:
|
|||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
That's all there is to it!
|
That's all there is to it!
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user