Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/COPYING.LIB

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by monabuilder, Mon Dec 8 00:46:35 2008 UTC revision 21 by monamour, Mon Jul 27 20:34:36 2009 UTC
# Line 1  Line 1 
1                      GNU LIBRARY GENERAL PUBLIC LICENSE
2                           Version 2, June 1991
3    
4                    GNU LESSER GENERAL PUBLIC LICENSE   Copyright (C) 1991 Free Software Foundation, Inc.
5                         Version 2.1, February 1999   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
   
  Copyright (C) 1991, 1999 Free Software Foundation, Inc.  
         51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA  
6   Everyone is permitted to copy and distribute verbatim copies   Everyone is permitted to copy and distribute verbatim copies
7   of this license document, but changing it is not allowed.   of this license document, but changing it is not allowed.
8    
9  [This is the first released version of the Lesser GPL.  It also counts  [This is the first released version of the library GPL.  It is
10   as the successor of the GNU Library Public License, version 2, hence   numbered 2 because it goes with version 2 of the ordinary GPL.]
  the version number 2.1.]  
11    
12                              Preamble                              Preamble
13    
14    The licenses for most software are designed to take away your    The licenses for most software are designed to take away your
15  freedom to share and change it.  By contrast, the GNU General Public  freedom to share and change it.  By contrast, the GNU General Public
16  Licenses are intended to guarantee your freedom to share and change  Licenses are intended to guarantee your freedom to share and change
17  free software--to make sure the software is free for all its users.  free software--to make sure the software is free for all its users.
18    
19    This license, the Lesser General Public License, applies to some    This license, the Library General Public License, applies to some
20  specially designated software packages--typically libraries--of the  specially designated Free Software Foundation software, and to any
21  Free Software Foundation and other authors who decide to use it.  You  other libraries whose authors decide to use it.  You can use it for
22  can use it too, but we suggest you first think carefully about whether  your libraries, too.
23  this license or the ordinary General Public License is the better  
24  strategy to use in any particular case, based on the explanations    When we speak of free software, we are referring to freedom, not
25  below.  price.  Our General Public Licenses are designed to make sure that you
26    have the freedom to distribute copies of free software (and charge for
27    When we speak of free software, we are referring to freedom of use,  this service if you wish), that you receive source code or can get it
28  not price.  Our General Public Licenses are designed to make sure that  if you want it, that you can change the software or use pieces of it
29  you have the freedom to distribute copies of free software (and charge  in new free programs; and that you know you can do these things.
 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.  
30    
31    To protect your rights, we need to make restrictions that forbid    To protect your rights, we need to make restrictions that forbid
32  distributors to deny you these rights or to ask you to surrender these  anyone to deny you these rights or to ask you to surrender the rights.
33  rights.  These restrictions translate to certain responsibilities for  These restrictions translate to certain responsibilities for you if
34  you if you distribute copies of the library or if you modify it.  you distribute copies of the library, or if you modify it.
35    
36    For example, if you distribute copies of the library, whether gratis    For example, if you distribute copies of the library, whether gratis
37  or for a fee, you must give the recipients all the rights that we gave  or for a fee, you must give the recipients all the rights that we gave
38  you.  You must make sure that they, too, receive or can get the source  you.  You must make sure that they, too, receive or can get the source
39  code.  If you link other code with the library, you must provide  code.  If you link a program with the library, you must provide
40  complete object files to the recipients, so that they can relink them  complete object files to the recipients so that they can relink them
41  with the library after making changes to the library and recompiling  with the library, after making changes to the library and recompiling
42  it.  And you must show them these terms so they know their rights.  it.  And you must show them these terms so they know their rights.
43    
44    We protect your rights with a two-step method: (1) we copyright the    Our method of protecting your rights has two steps: (1) copyright
45  library, and (2) we offer you this license, which gives you legal  the library, and (2) offer you this license which gives you legal
46  permission to copy, distribute and/or modify the library.  permission to copy, distribute and/or modify the library.
47    
48    To protect each distributor, we want to make it very clear that    Also, for each distributor's protection, we want to make certain
49  there is no warranty for the free library.  Also, if the library is  that everyone understands that there is no warranty for this free
50  modified by someone else and passed on, the recipients should know  library.  If the library is modified by someone else and passed on, we
51  that what they have is not the original version, so that the original  want its recipients to know that what they have is not the original
52  author's reputation will not be affected by problems that might be  version, so that any problems introduced by others will not reflect on
53  introduced by others.  the original authors' reputations.
54    
55    Finally, software patents pose a constant threat to the existence of    Finally, any free program is threatened constantly by software
56  any free program.  We wish to make sure that a company cannot  patents.  We wish to avoid the danger that companies distributing free
57  effectively restrict the users of a free program by obtaining a  software will individually obtain patent licenses, thus in effect
58  restrictive license from a patent holder.  Therefore, we insist that  transforming the program into proprietary software.  To prevent this,
59  any patent license obtained for a version of the library must be  we have made it clear that any patent must be licensed for everyone's
60  consistent with the full freedom of use specified in this license.  free use or not licensed at all.
61    
62    Most GNU software, including some libraries, is covered by the    Most GNU software, including some libraries, is covered by the ordinary
63  ordinary GNU General Public License.  This license, the GNU Lesser  GNU General Public License, which was designed for utility programs.  This
64  General Public License, applies to certain designated libraries, and  license, the GNU Library General Public License, applies to certain
65  is quite different from the ordinary General Public License.  We use  designated libraries.  This license is quite different from the ordinary
66  this license for certain libraries in order to permit linking those  one; be sure to read it in full, and don't assume that anything in it is
67  libraries into non-free programs.  the same as in the ordinary license.
68    
69    When a program is linked with a library, whether statically or using    The reason we have a separate public license for some libraries is that
70  a shared library, the combination of the two is legally speaking a  they blur the distinction we usually make between modifying or adding to a
71  combined work, a derivative of the original library.  The ordinary  program and simply using it.  Linking a program with a library, without
72  General Public License therefore permits such linking only if the  changing the library, is in some sense simply using the library, and is
73  entire combination fits its criteria of freedom.  The Lesser General  analogous to running a utility program or application program.  However, in
74  Public License permits more lax criteria for linking other code with  a textual and legal sense, the linked executable is a combined work, a
75  the library.  derivative of the original library, and the ordinary General Public License
76    treats it as such.
77    We call this license the "Lesser" General Public License because it  
78  does Less to protect the user's freedom than the ordinary General    Because of this blurred distinction, using the ordinary General
79  Public License.  It also provides other free software developers Less  Public License for libraries did not effectively promote software
80  of an advantage over competing non-free programs.  These disadvantages  sharing, because most developers did not use the libraries.  We
81  are the reason we use the ordinary General Public License for many  concluded that weaker conditions might promote sharing better.
82  libraries.  However, the Lesser license provides advantages in certain  
83  special circumstances.    However, unrestricted linking of non-free programs would deprive the
84    users of those programs of all benefit from the free status of the
85    For example, on rare occasions, there may be a special need to  libraries themselves.  This Library General Public License is intended to
86  encourage the widest possible use of a certain library, so that it  permit developers of non-free programs to use free libraries, while
87  becomes a de-facto standard.  To achieve this, non-free programs must  preserving your freedom as a user of such programs to change the free
88  be allowed to use the library.  A more frequent case is that a free  libraries that are incorporated in them.  (We have not seen how to achieve
89  library does the same job as widely used non-free libraries.  In this  this as regards changes in header files, but we have achieved it as regards
90  case, there is little to gain by limiting the free library to free  changes in the actual functions of the Library.)  The hope is that this
91  software only, so we use the Lesser General Public License.  will lead to faster development of free libraries.
   
   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.  
92    
93    The precise terms and conditions for copying, distribution and    The precise terms and conditions for copying, distribution and
94  modification follow.  Pay close attention to the difference between a  modification follow.  Pay close attention to the difference between a
95  "work based on the library" and a "work that uses the library".  The  "work based on the library" and a "work that uses the library".  The
96  former contains code derived from the library, whereas the latter must  former contains code derived from the library, while the latter only
97  be combined with the library in order to run.  works together with the library.
98    
99      Note that it is possible for a library to be covered by the ordinary
100    General Public License rather than by this special one.
101    
102                    GNU LESSER GENERAL PUBLIC LICENSE                    GNU LIBRARY GENERAL PUBLIC LICENSE
103     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION     TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
104    
105    0. This License Agreement applies to any software library or other    0. This License Agreement applies to any software library which
106  program which contains a notice placed by the copyright holder or  contains a notice placed by the copyright holder or other authorized
107  other authorized party saying it may be distributed under the terms of  party saying it may be distributed under the terms of this Library
108  this Lesser General Public License (also called "this License").  General Public License (also called "this License").  Each licensee is
109  Each licensee is addressed as "you".  addressed as "you".
110    
111    A "library" means a collection of software functions and/or data    A "library" means a collection of software functions and/or data
112  prepared so as to be conveniently linked with application programs  prepared so as to be conveniently linked with application programs
# Line 138  included without limitation in the term Line 123  included without limitation in the term
123    "Source code" for a work means the preferred form of the work for    "Source code" for a work means the preferred form of the work for
124  making modifications to it.  For a library, complete source code means  making modifications to it.  For a library, complete source code means
125  all the source code for all modules it contains, plus any associated  all the source code for all modules it contains, plus any associated
126  interface definition files, plus the scripts used to control  interface definition files, plus the scripts used to control compilation
127  compilation and installation of the library.  and installation of the library.
128    
129    Activities other than copying, distribution and modification are not    Activities other than copying, distribution and modification are not
130  covered by this License; they are outside its scope.  The act of  covered by this License; they are outside its scope.  The act of
# Line 148  such a program is covered only if its co Line 133  such a program is covered only if its co
133  on the Library (independent of the use of the Library in a tool for  on the Library (independent of the use of the Library in a tool for
134  writing it).  Whether that is true depends on what the Library does  writing it).  Whether that is true depends on what the Library does
135  and what the program that uses the Library does.  and what the program that uses the Library does.
136      
137    1. You may copy and distribute verbatim copies of the Library's    1. You may copy and distribute verbatim copies of the Library's
138  complete source code as you receive it, in any medium, provided that  complete source code as you receive it, in any medium, provided that
139  you conspicuously and appropriately publish on each copy an  you conspicuously and appropriately publish on each copy an
# Line 270  distribute the object code for the work Line 255  distribute the object code for the work
255  Any executables containing that work also fall under Section 6,  Any executables containing that work also fall under Section 6,
256  whether or not they are linked directly with the Library itself.  whether or not they are linked directly with the Library itself.
257    
258    6. As an exception to the Sections above, you may also combine or    6. As an exception to the Sections above, you may also compile or
259  link a "work that uses the Library" with the Library to produce a  link a "work that uses the Library" with the Library to produce a
260  work containing portions of the Library, and distribute that work  work containing portions of the Library, and distribute that work
261  under terms of your choice, provided that the terms permit  under terms of your choice, provided that the terms permit
# Line 297  of these things: Line 282  of these things:
282      Library will not necessarily be able to recompile the application      Library will not necessarily be able to recompile the application
283      to use the modified definitions.)      to use the modified definitions.)
284    
285      b) Use a suitable shared library mechanism for linking with the      b) Accompany the work with a written offer, valid for at
286      Library.  A suitable mechanism is one that (1) uses at run time a      least three years, to give the same user the materials
287      copy of the library already present on the user's computer system,      specified in Subsection 6a, above, for a charge no more
288      rather than copying library functions into the executable, and (2)      than the cost of performing this distribution.
     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 least  
     three years, to give the same user the materials specified in  
     Subsection 6a, above, for a charge no more than the cost of  
     performing this distribution.  
289    
290      d) If distribution of the work is made by offering access to copy      c) If distribution of the work is made by offering access to copy
291      from a designated place, offer equivalent access to copy the above      from a designated place, offer equivalent access to copy the above
292      specified materials from the same place.      specified materials from the same place.
293    
294      e) Verify that the user has already received a copy of these      d) Verify that the user has already received a copy of these
295      materials or that you have already sent this user a copy.      materials or that you have already sent this user a copy.
296    
297    For an executable, the required form of the "work that uses the    For an executable, the required form of the "work that uses the
298  Library" must include any data and utility programs needed for  Library" must include any data and utility programs needed for
299  reproducing the executable from it.  However, as a special exception,  reproducing the executable from it.  However, as a special exception,
300  the materials to be distributed need not include anything that is  the source code distributed need not include anything that is normally
301  normally distributed (in either source or binary form) with the major  distributed (in either source or binary form) with the major
302  components (compiler, kernel, and so on) of the operating system on  components (compiler, kernel, and so on) of the operating system on
303  which the executable runs, unless that component itself accompanies  which the executable runs, unless that component itself accompanies
304  the executable.  the executable.
# Line 370  Library), the recipient automatically re Line 347  Library), the recipient automatically re
347  original licensor to copy, distribute, link with or modify the Library  original licensor to copy, distribute, link with or modify the Library
348  subject to these terms and conditions.  You may not impose any further  subject to these terms and conditions.  You may not impose any further
349  restrictions on the recipients' exercise of the rights granted herein.  restrictions on the recipients' exercise of the rights granted herein.
350  You are not responsible for enforcing compliance by third parties with  You are not responsible for enforcing compliance by third parties to
351  this License.  this License.
352    
353    11. If, as a consequence of a court judgment or allegation of patent    11. If, as a consequence of a court judgment or allegation of patent
# Line 386  all those who receive copies directly or Line 363  all those who receive copies directly or
363  the only way you could satisfy both it and this License would be to  the only way you could satisfy both it and this License would be to
364  refrain entirely from distribution of the Library.  refrain entirely from distribution of the Library.
365    
366  If any portion of this section is held invalid or unenforceable under  If any portion of this section is held invalid or unenforceable under any
367  any particular circumstance, the balance of the section is intended to  particular circumstance, the balance of the section is intended to apply,
368  apply, and the section as a whole is intended to apply in other  and the section as a whole is intended to apply in other circumstances.
 circumstances.  
369    
370  It is not the purpose of this section to induce you to infringe any  It is not the purpose of this section to induce you to infringe any
371  patents or other property right claims or to contest validity of any  patents or other property right claims or to contest validity of any
# Line 407  be a consequence of the rest of this Lic Line 383  be a consequence of the rest of this Lic
383    
384    12. If the distribution and/or use of the Library is restricted in    12. If the distribution and/or use of the Library is restricted in
385  certain countries either by patents or by copyrighted interfaces, the  certain countries either by patents or by copyrighted interfaces, the
386  original copyright holder who places the Library under this License  original copyright holder who places the Library under this License may add
387  may add an explicit geographical distribution limitation excluding those  an explicit geographical distribution limitation excluding those countries,
388  countries, so that distribution is permitted only in or among  so that distribution is permitted only in or among countries not thus
389  countries not thus excluded.  In such case, this License incorporates  excluded.  In such case, this License incorporates the limitation as if
390  the limitation as if written in the body of this License.  written in the body of this License.
391    
392    13. The Free Software Foundation may publish revised and/or new    13. The Free Software Foundation may publish revised and/or new
393  versions of the Lesser General Public License from time to time.  versions of the Library General Public License from time to time.
394  Such new versions will be similar in spirit to the present version,  Such new versions will be similar in spirit to the present version,
395  but may differ in detail to address new problems or concerns.  but may differ in detail to address new problems or concerns.
396    
# Line 435  decision will be guided by the two goals Line 411  decision will be guided by the two goals
411  of all derivatives of our free software and of promoting the sharing  of all derivatives of our free software and of promoting the sharing
412  and reuse of software generally.  and reuse of software generally.
413    
414                              NO WARRANTY                              NO WARRANTY
415    
416    15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO    15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
417  WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
# Line 458  FAILURE OF THE LIBRARY TO OPERATE WITH A Line 434  FAILURE OF THE LIBRARY TO OPERATE WITH A
434  SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH  SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
435  DAMAGES.  DAMAGES.
436    
437                       END OF TERMS AND CONDITIONS                       END OF TERMS AND CONDITIONS
438    
439             How to Apply These Terms to Your New Libraries       Appendix: How to Apply These Terms to Your New Libraries
440    
441    If you develop a new library, and you want it to be of the greatest    If you develop a new library, and you want it to be of the greatest
442  possible use to the public, we recommend making it free software that  possible use to the public, we recommend making it free software that
443  everyone can redistribute and change.  You can do so by permitting  everyone can redistribute and change.  You can do so by permitting
444  redistribution under these terms (or, alternatively, under the terms  redistribution under these terms (or, alternatively, under the terms of the
445  of the ordinary General Public License).  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.  
446    
447      To apply these terms, attach the following notices to the library.  It is
448    safest to attach them to the start of each source file to most effectively
449    convey the exclusion of warranty; and each file should have at least the
450    "copyright" line and a pointer to where the full notice is found.
451    
452      <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.>
453      Copyright (C) <year>  <name of author>      Copyright (C) <year>  <name of author>
454    
455      This library is free software; you can redistribute it and/or      This library is free software; you can redistribute it and/or
456      modify it under the terms of the GNU Lesser General Public      modify it under the terms of the GNU Library General Public
457      License as published by the Free Software Foundation; either      License as published by the Free Software Foundation; either
458      version 2.1 of the License, or (at your option) any later version.      version 2 of the License, or (at your option) any later version.
459    
460      This library is distributed in the hope that it will be useful,      This library is distributed in the hope that it will be useful,
461      but WITHOUT ANY WARRANTY; without even the implied warranty of      but WITHOUT ANY WARRANTY; without even the implied warranty of
462      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
463      Lesser General Public License for more details.      Library General Public License for more details.
464    
465      You should have received a copy of the GNU Lesser General Public      You should have received a copy of the GNU Library General Public
466      License along with this library; if not, write to the Free Software      License along with this library; if not, write to the Free
467      Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA      Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
468        MA 02110-1301, USA
469    
470  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.
471    
472  You should also get your employer (if you work as a programmer) or  You should also get your employer (if you work as a programmer) or your
473  your school, if any, to sign a "copyright disclaimer" for the library,  school, if any, to sign a "copyright disclaimer" for the library, if
474  if necessary.  Here is a sample; alter the names:  necessary.  Here is a sample; alter the names:
475    
476    Yoyodyne, Inc., hereby disclaims all copyright interest in the    Yoyodyne, Inc., hereby disclaims all copyright interest in the
477    library `Frob' (a library for tweaking knobs) written by James    library `Frob' (a library for tweaking knobs) written by James Random Hacker.
   Random Hacker.  
478    
479    <signature of Ty Coon>, 1 April 1990    <signature of Ty Coon>, 1 April 1990
480    Ty Coon, President of Vice    Ty Coon, President of Vice
481    
482  That's all there is to it!  That's all there is to it!
   
   

Legend:
Removed from v.20  
changed lines
  Added in v.21

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26