This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Rev'ing LGPL licenses to 2.1



A couple weeks back Jeff said that we should sync up with the current
version of the LGPL at the FSF.[*] The LGPL exists in five places from
the top level down:

    COPYING.LIB
    gcc/COPYING.LIB
    libf2c/libU77/COPYING.LIB
    libiberty/COPYING.LIB
    libjava/libltdl/COPYING.LIB

The last one is already v2.1, so I won't touch it.  (It does have some
linewrapping reformatting, however, so don't freak out when the filesize
on that one doesn't match.)

The other four are all v2.0 (I checked), and I will shortly apply patches
to bring them to 2.1.  The diff between <any given 2.0> and 2.1 is appended
in case you're curious.  The ChangeLog entries will all look the same,
too (duh).

Phil
[*]  http://gcc.gnu.org/ml/gcc/2001-01/msg01162.html



2001-01-29  Phil Edwards  <pme@sources.redhat.com>

	* COPYING.LIB:  Update to LGPL 2.1 from the FSF.



1,2c1,2
< 		  GNU LIBRARY GENERAL PUBLIC LICENSE
< 		       Version 2, June 1991
---
> 		  GNU LESSER GENERAL PUBLIC LICENSE
> 		       Version 2.1, February 1999
4,5c4,5
<  Copyright (C) 1991 Free Software Foundation, Inc.
<  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
---
>  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
>      59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
9,10c9,11
< [This is the first released version of the library GPL.  It is
<  numbered 2 because it goes with version 2 of the ordinary GPL.]
---
> [This is the first released version of the Lesser GPL.  It also counts
>  as the successor of the GNU Library Public License, version 2, hence
>  the version number 2.1.]
19,29c20,33
<   This license, the Library General Public License, applies to some
< specially designated Free Software Foundation software, and to any
< other libraries whose authors decide to use it.  You can use it for
< your libraries, too.
< 
<   When we speak of free software, we are referring to freedom, not
< price.  Our General Public Licenses are designed to make sure that you
< have the freedom to distribute copies of free software (and charge for
< this service if you wish), that you receive source code or can get it
< if you want it, that you can change the software or use pieces of it
< in new free programs; and that you know you can do these things.
---
>   This license, the Lesser General Public License, applies to some
> specially designated software packages--typically libraries--of the
> Free Software Foundation and other authors who decide to use it.  You
> can use it too, but we suggest you first think carefully about whether
> this license or the ordinary General Public License is the better
> strategy to use in any particular case, based on the explanations below.
> 
>   When we speak of free software, we are referring to freedom of use,
> not price.  Our General Public Licenses are designed to make sure that
> you have the freedom to distribute copies of free software (and charge
> for this service if you wish); that you receive source code or can get
> it if you want it; that you can change the software and use pieces of
> it in new free programs; and that you are informed that you can do
> these things.
32,34c36,38
< anyone to deny you these rights or to ask you to surrender the rights.
< These restrictions translate to certain responsibilities for you if
< you distribute copies of the library, or if you modify it.
---
> distributors to deny you these rights or to ask you to surrender these
> rights.  These restrictions translate to certain responsibilities for
> you if you distribute copies of the library or if you modify it.
39,41c43,45
< code.  If you link a program with the library, you must provide
< complete object files to the recipients so that they can relink them
< with the library, after making changes to the library and recompiling
---
> code.  If you link other code with the library, you must provide
> complete object files to the recipients, so that they can relink them
> with the library after making changes to the library and recompiling
44,45c48,49
<   Our method of protecting your rights has two steps: (1) copyright
< the library, and (2) offer you this license which gives you legal
---
>   We protect your rights with a two-step method: (1) we copyright the
> library, and (2) we offer you this license, which gives you legal
48,53c52,57
<   Also, for each distributor's protection, we want to make certain
< that everyone understands that there is no warranty for this free
< library.  If the library is modified by someone else and passed on, we
< want its recipients to know that what they have is not the original
< version, so that any problems introduced by others will not reflect on
< the original authors' reputations.
---
>   To protect each distributor, we want to make it very clear that
> there is no warranty for the free library.  Also, if the library is
> modified by someone else and passed on, the recipients should know
> that what they have is not the original version, so that the original
> author's reputation will not be affected by problems that might be
> introduced by others.
55,91c59,107
<   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.
< 
<   Most GNU software, including some libraries, is covered by the ordinary
< GNU General Public License, which was designed for utility programs.  This
< license, the GNU Library General Public License, applies to certain
< designated libraries.  This license is quite different from the ordinary
< one; be sure to read it in full, and don't assume that anything in it is
< the same as in the ordinary license.
< 
<   The reason we have a separate public license for some libraries is that
< they blur the distinction we usually make between modifying or adding to a
< program and simply using it.  Linking a program with a library, without
< changing the library, is in some 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
< Public License for libraries did not effectively promote software
< sharing, because most developers did not use the libraries.  We
< concluded that weaker conditions might promote sharing better.
< 
<   However, unrestricted linking of non-free programs would deprive the
< users of those programs of all benefit from the free status of the
< libraries themselves.  This Library General Public License is intended to
< permit developers of non-free programs to use free libraries, while
< 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.
---
>   Finally, software patents pose a constant threat to the existence of
> any free program.  We wish to make sure that a company cannot
> effectively restrict the users of a free program by obtaining a
> restrictive license from a patent holder.  Therefore, we insist that
> any patent license obtained for a version of the library must be
> consistent with the full freedom of use specified in this license.
> 
>   Most GNU software, including some libraries, is covered by the
> ordinary GNU General Public License.  This license, the GNU Lesser
> General Public License, applies to certain designated libraries, and
> is quite different from the ordinary General Public License.  We use
> this license for certain libraries in order to permit linking those
> libraries into non-free programs.
> 
>   When a program is linked with a library, whether statically or using
> a shared library, the combination of the two is legally speaking a
> combined work, a derivative of the original library.  The ordinary
> General Public License therefore permits such linking only if the
> entire combination fits its criteria of freedom.  The Lesser General
> Public License permits more lax criteria for linking other code with
> the library.
> 
>   We call this license the "Lesser" General Public License because it
> does Less to protect the user's freedom than the ordinary General
> Public License.  It also provides other free software developers Less
> of an advantage over competing non-free programs.  These disadvantages
> are the reason we use the ordinary General Public License for many
> libraries.  However, the Lesser license provides advantages in certain
> special circumstances.
> 
>   For example, on rare occasions, there may be a special need to
> encourage the widest possible use of a certain library, so that it becomes
> a de-facto standard.  To achieve this, non-free programs must be
> allowed to use the library.  A more frequent case is that a free
> library does the same job as widely used non-free libraries.  In this
> case, there is little to gain by limiting the free library to free
> software only, so we use the Lesser General Public License.
> 
>   In other cases, permission to use a particular library in non-free
> programs enables a greater number of people to use a large body of
> free software.  For example, permission to use the GNU C Library in
> non-free programs enables many more people to use the whole GNU
> operating system, as well as its variant, the GNU/Linux operating
> system.
> 
>   Although the Lesser General Public License is Less protective of the
> users' freedom, it does ensure that the user of a program that is
> linked with the Library has the freedom and the wherewithal to run
> that program using a modified version of the Library.
96,100c112,113
< 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.
---
> former contains code derived from the library, whereas the latter must
> be combined with the library in order to run.
102c115
< 		  GNU LIBRARY GENERAL PUBLIC LICENSE
---
> 		  GNU LESSER GENERAL PUBLIC LICENSE
105,109c118,122
<   0. This License Agreement applies to any software library which
< contains a notice placed by the copyright holder or other authorized
< party saying it may be distributed under the terms of this Library
< General Public License (also called "this License").  Each licensee is
< addressed as "you".
---
>   0. This License Agreement applies to any software library or other
> program which contains a notice placed by the copyright holder or
> other authorized party saying it may be distributed under the terms of
> this Lesser General Public License (also called "this License").
> Each licensee is addressed as "you".
258c271
<   6. As an exception to the Sections above, you may also compile or
---
>   6. As an exception to the Sections above, you may also combine or
285c298,306
<     b) Accompany the work with a written offer, valid for at
---
>     b) Use a suitable shared library mechanism for linking with the
>     Library.  A suitable mechanism is one that (1) uses at run time a
>     copy of the library already present on the user's computer system,
>     rather than copying library functions into the executable, and (2)
>     will operate properly with a modified version of the library, if
>     the user installs one, as long as the modified version is
>     interface-compatible with the version that the work was made with.
> 
>     c) Accompany the work with a written offer, valid for at
290c311
<     c) If distribution of the work is made by offering access to copy
---
>     d) If distribution of the work is made by offering access to copy
294c315
<     d) Verify that the user has already received a copy of these
---
>     e) Verify that the user has already received a copy of these
300,301c321,322
< the source code distributed need not include anything that is normally
< distributed (in either source or binary form) with the major
---
> the materials to be distributed need not include anything that is
> normally distributed (in either source or binary form) with the major
350c371
< You are not responsible for enforcing compliance by third parties to
---
> You are not responsible for enforcing compliance by third parties with
393c414
< versions of the Library General Public License from time to time.
---
> versions of the Lesser General Public License from time to time.
439c460
<      Appendix: How to Apply These Terms to Your New Libraries
---
>            How to Apply These Terms to Your New Libraries
456c477
<     modify it under the terms of the GNU Library General Public
---
>     modify it under the terms of the GNU Lesser General Public
458c479
<     version 2 of the License, or (at your option) any later version.
---
>     version 2.1 of the License, or (at your option) any later version.
463c484
<     Library General Public License for more details.
---
>     Lesser General Public License for more details.
465,468c486,488
<     You should have received a copy of the GNU Library General Public
<     License along with this library; if not, write to the Free
<     Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
<     MA 02111-1307, USA
---
>     You should have received a copy of the GNU Lesser General Public
>     License along with this library; if not, write to the Free Software
>     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
482a503,504
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]