summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2009-08-28 11:30:46 +0000
committerCarsten Haitzler <raster@rasterman.com>2009-08-28 11:30:46 +0000
commit193af1fef0fe5e970eaa72e95ce24f538b1a4e3f (patch)
tree3514c6265802e793356fe79318c060ab137981a6 /COPYING
parent5f036d292a2bf4d5c4ce7e8017722397c406a796 (diff)
upgrade to lgpl 2.1 with static linking
SVN revision: 42076
Diffstat (limited to 'COPYING')
-rw-r--r--COPYING213
1 files changed, 118 insertions, 95 deletions
diff --git a/COPYING b/COPYING
index 19e046de3..cf546d252 100644
--- a/COPYING
+++ b/COPYING
@@ -1,13 +1,14 @@
1 GNU LIBRARY GENERAL PUBLIC LICENSE 1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 2, June 1991 2 Version 2.1, February 1999
3 3
4 Copyright (C) 1991 Free Software Foundation, Inc. 4 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5 675 Mass Ave, Cambridge, MA 02139, USA 5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies 6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed. 7 of this license document, but changing it is not allowed.
8 8
9[This is the first released version of the library GPL. It is 9[This is the first released version of the Lesser GPL. It also counts
10 numbered 2 because it goes with version 2 of the ordinary GPL.] 10 as the successor of the GNU Library Public License, version 2, hence
11 the version number 2.1.]
11 12
12 Preamble 13 Preamble
13 14
@@ -16,97 +17,109 @@ freedom to share and change it. By contrast, the GNU General Public
16Licenses are intended to guarantee your freedom to share and change 17Licenses are intended to guarantee your freedom to share and change
17free software--to make sure the software is free for all its users. 18free software--to make sure the software is free for all its users.
18 19
19 This license, the Library General Public License, applies to some 20 This license, the Lesser General Public License, applies to some
20specially designated Free Software Foundation software, and to any 21specially designated software packages--typically libraries--of the
21other libraries whose authors decide to use it. You can use it for 22Free Software Foundation and other authors who decide to use it. You
22your libraries, too. 23can use it too, but we suggest you first think carefully about whether
23 24this license or the ordinary General Public License is the better
24 When we speak of free software, we are referring to freedom, not 25strategy to use in any particular case, based on the explanations below.
25price. Our General Public Licenses are designed to make sure that you 26
26have 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,
27this service if you wish), that you receive source code or can get it 28not price. Our General Public Licenses are designed to make sure that
28if you want it, that you can change the software or use pieces of it 29you have the freedom to distribute copies of free software (and charge
29in new free programs; and that you know you can do these things. 30for this service if you wish); that you receive source code or can get
31it if you want it; that you can change the software and use pieces of
32it in new free programs; and that you are informed that you can do
33these things.
30 34
31 To protect your rights, we need to make restrictions that forbid 35 To protect your rights, we need to make restrictions that forbid
32anyone to deny you these rights or to ask you to surrender the rights. 36distributors to deny you these rights or to ask you to surrender these
33These restrictions translate to certain responsibilities for you if 37rights. These restrictions translate to certain responsibilities for
34you distribute copies of the library, or if you modify it. 38you if you distribute copies of the library or if you modify it.
35 39
36 For example, if you distribute copies of the library, whether gratis 40 For example, if you distribute copies of the library, whether gratis
37or for a fee, you must give the recipients all the rights that we gave 41or for a fee, you must give the recipients all the rights that we gave
38you. You must make sure that they, too, receive or can get the source 42you. You must make sure that they, too, receive or can get the source
39code. If you link a program with the library, you must provide 43code. If you link other code with the library, you must provide
40complete object files to the recipients so that they can relink them 44complete object files to the recipients, so that they can relink them
41with the library, after making changes to the library and recompiling 45with the library after making changes to the library and recompiling
42it. And you must show them these terms so they know their rights. 46it. And you must show them these terms so they know their rights.
43 47
44 Our method of protecting your rights has two steps: (1) copyright 48 We protect your rights with a two-step method: (1) we copyright the
45the library, and (2) offer you this license which gives you legal 49library, and (2) we offer you this license, which gives you legal
46permission to copy, distribute and/or modify the library. 50permission to copy, distribute and/or modify the library.
47 51
48 Also, for each distributor's protection, we want to make certain 52 To protect each distributor, we want to make it very clear that
49that everyone understands that there is no warranty for this free 53there is no warranty for the free library. Also, if the library is
50library. If the library is modified by someone else and passed on, we 54modified by someone else and passed on, the recipients should know
51want its recipients to know that what they have is not the original 55that what they have is not the original version, so that the original
52version, so that any problems introduced by others will not reflect on 56author's reputation will not be affected by problems that might be
53the original authors' reputations. 57introduced by others.
54 58
55 Finally, any free program is threatened constantly by software 59 Finally, software patents pose a constant threat to the existence of
56patents. We wish to avoid the danger that companies distributing free 60any free program. We wish to make sure that a company cannot
57software will individually obtain patent licenses, thus in effect 61effectively restrict the users of a free program by obtaining a
58transforming the program into proprietary software. To prevent this, 62restrictive license from a patent holder. Therefore, we insist that
59we have made it clear that any patent must be licensed for everyone's 63any patent license obtained for a version of the library must be
60free use or not licensed at all. 64consistent with the full freedom of use specified in this license.
61 65
62 Most GNU software, including some libraries, is covered by the ordinary 66 Most GNU software, including some libraries, is covered by the
63GNU General Public License, which was designed for utility programs. This 67ordinary GNU General Public License. This license, the GNU Lesser
64license, the GNU Library General Public License, applies to certain 68General Public License, applies to certain designated libraries, and
65designated libraries. This license is quite different from the ordinary 69is quite different from the ordinary General Public License. We use
66one; be sure to read it in full, and don't assume that anything in it is 70this license for certain libraries in order to permit linking those
67the same as in the ordinary license. 71libraries into non-free programs.
68 72
69 The reason we have a separate public license for some libraries is that 73 When a program is linked with a library, whether statically or using
70they blur the distinction we usually make between modifying or adding to a 74a shared library, the combination of the two is legally speaking a
71program and simply using it. Linking a program with a library, without 75combined work, a derivative of the original library. The ordinary
72changing the library, is in some sense simply using the library, and is 76General Public License therefore permits such linking only if the
73analogous to running a utility program or application program. However, in 77entire combination fits its criteria of freedom. The Lesser General
74a textual and legal sense, the linked executable is a combined work, a 78Public License permits more lax criteria for linking other code with
75derivative of the original library, and the ordinary General Public License 79the library.
76treats it as such. 80
77 81 We call this license the "Lesser" General Public License because it
78 Because of this blurred distinction, using the ordinary General 82does Less to protect the user's freedom than the ordinary General
79Public License for libraries did not effectively promote software 83Public License. It also provides other free software developers Less
80sharing, because most developers did not use the libraries. We 84of an advantage over competing non-free programs. These disadvantages
81concluded that weaker conditions might promote sharing better. 85are the reason we use the ordinary General Public License for many
82 86libraries. However, the Lesser license provides advantages in certain
83 However, unrestricted linking of non-free programs would deprive the 87special circumstances.
84users of those programs of all benefit from the free status of the 88
85libraries themselves. This Library General Public License is intended to 89 For example, on rare occasions, there may be a special need to
86permit developers of non-free programs to use free libraries, while 90encourage the widest possible use of a certain library, so that it becomes
87preserving your freedom as a user of such programs to change the free 91a de-facto standard. To achieve this, non-free programs must be
88libraries that are incorporated in them. (We have not seen how to achieve 92allowed to use the library. A more frequent case is that a free
89this as regards changes in header files, but we have achieved it as regards 93library does the same job as widely used non-free libraries. In this
90changes in the actual functions of the Library.) The hope is that this 94case, there is little to gain by limiting the free library to free
91will lead to faster development of free libraries. 95software only, so we use the Lesser General Public License.
96
97 In other cases, permission to use a particular library in non-free
98programs enables a greater number of people to use a large body of
99free software. For example, permission to use the GNU C Library in
100non-free programs enables many more people to use the whole GNU
101operating system, as well as its variant, the GNU/Linux operating
102system.
103
104 Although the Lesser General Public License is Less protective of the
105users' freedom, it does ensure that the user of a program that is
106linked with the Library has the freedom and the wherewithal to run
107that program using a modified version of the Library.
92 108
93 The precise terms and conditions for copying, distribution and 109 The precise terms and conditions for copying, distribution and
94modification follow. Pay close attention to the difference between a 110modification follow. Pay close attention to the difference between a
95"work based on the library" and a "work that uses the library". The 111"work based on the library" and a "work that uses the library". The
96former contains code derived from the library, while the latter only 112former contains code derived from the library, whereas the latter must
97works together with the library. 113be combined with the library in order to run.
98
99 Note that it is possible for a library to be covered by the ordinary
100General Public License rather than by this special one.
101 114
102 GNU LIBRARY GENERAL PUBLIC LICENSE 115 GNU LESSER GENERAL PUBLIC LICENSE
103 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 116 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
104 117
105 0. This License Agreement applies to any software library which 118 0. This License Agreement applies to any software library or other
106contains a notice placed by the copyright holder or other authorized 119program which contains a notice placed by the copyright holder or
107party saying it may be distributed under the terms of this Library 120other authorized party saying it may be distributed under the terms of
108General Public License (also called "this License"). Each licensee is 121this Lesser General Public License (also called "this License").
109addressed as "you". 122Each licensee is addressed as "you".
110 123
111 A "library" means a collection of software functions and/or data 124 A "library" means a collection of software functions and/or data
112prepared so as to be conveniently linked with application programs 125prepared so as to be conveniently linked with application programs
@@ -208,7 +221,7 @@ the terms and conditions of the license of that module. An independent
208module is a module which is not derived from or based on this library. 221module is a module which is not derived from or based on this library.
209If you modify this library, you may extend this exception to your version 222If you modify this library, you may extend this exception to your version
210of the library, but you are not obliged to do so. If you do not wish to 223of the library, but you are not obliged to do so. If you do not wish to
211do so, delete this exception statement from your version. 224do so, delete this exception statement from your version.
212 225
213 3. You may opt to apply the terms of the ordinary GNU General Public 226 3. You may opt to apply the terms of the ordinary GNU General Public
214License instead of this License to a given copy of the Library. To do 227License instead of this License to a given copy of the Library. To do
@@ -270,7 +283,7 @@ distribute the object code for the work under the terms of Section 6.
270Any executables containing that work also fall under Section 6, 283Any executables containing that work also fall under Section 6,
271whether or not they are linked directly with the Library itself. 284whether or not they are linked directly with the Library itself.
272 285
273 6. As an exception to the Sections above, you may also compile or 286 6. As an exception to the Sections above, you may also combine or
274link a "work that uses the Library" with the Library to produce a 287link a "work that uses the Library" with the Library to produce a
275work containing portions of the Library, and distribute that work 288work containing portions of the Library, and distribute that work
276under terms of your choice, provided that the terms permit 289under terms of your choice, provided that the terms permit
@@ -297,23 +310,31 @@ of these things:
297 Library will not necessarily be able to recompile the application 310 Library will not necessarily be able to recompile the application
298 to use the modified definitions.) 311 to use the modified definitions.)
299 312
300 b) Accompany the work with a written offer, valid for at 313 b) Use a suitable shared library mechanism for linking with the
314 Library. A suitable mechanism is one that (1) uses at run time a
315 copy of the library already present on the user's computer system,
316 rather than copying library functions into the executable, and (2)
317 will operate properly with a modified version of the library, if
318 the user installs one, as long as the modified version is
319 interface-compatible with the version that the work was made with.
320
321 c) Accompany the work with a written offer, valid for at
301 least three years, to give the same user the materials 322 least three years, to give the same user the materials
302 specified in Subsection 6a, above, for a charge no more 323 specified in Subsection 6a, above, for a charge no more
303 than the cost of performing this distribution. 324 than the cost of performing this distribution.
304 325
305 c) If distribution of the work is made by offering access to copy 326 d) If distribution of the work is made by offering access to copy
306 from a designated place, offer equivalent access to copy the above 327 from a designated place, offer equivalent access to copy the above
307 specified materials from the same place. 328 specified materials from the same place.
308 329
309 d) Verify that the user has already received a copy of these 330 e) Verify that the user has already received a copy of these
310 materials or that you have already sent this user a copy. 331 materials or that you have already sent this user a copy.
311 332
312 For an executable, the required form of the "work that uses the 333 For an executable, the required form of the "work that uses the
313Library" must include any data and utility programs needed for 334Library" must include any data and utility programs needed for
314reproducing the executable from it. However, as a special exception, 335reproducing the executable from it. However, as a special exception,
315the source code distributed need not include anything that is normally 336the materials to be distributed need not include anything that is
316distributed (in either source or binary form) with the major 337normally distributed (in either source or binary form) with the major
317components (compiler, kernel, and so on) of the operating system on 338components (compiler, kernel, and so on) of the operating system on
318which the executable runs, unless that component itself accompanies 339which the executable runs, unless that component itself accompanies
319the executable. 340the executable.
@@ -362,7 +383,7 @@ Library), the recipient automatically receives a license from the
362original licensor to copy, distribute, link with or modify the Library 383original licensor to copy, distribute, link with or modify the Library
363subject to these terms and conditions. You may not impose any further 384subject to these terms and conditions. You may not impose any further
364restrictions on the recipients' exercise of the rights granted herein. 385restrictions on the recipients' exercise of the rights granted herein.
365You are not responsible for enforcing compliance by third parties to 386You are not responsible for enforcing compliance by third parties with
366this License. 387this License.
367 388
368 11. If, as a consequence of a court judgment or allegation of patent 389 11. If, as a consequence of a court judgment or allegation of patent
@@ -405,7 +426,7 @@ excluded. In such case, this License incorporates the limitation as if
405written in the body of this License. 426written in the body of this License.
406 427
407 13. The Free Software Foundation may publish revised and/or new 428 13. The Free Software Foundation may publish revised and/or new
408versions of the Library General Public License from time to time. 429versions of the Lesser General Public License from time to time.
409Such new versions will be similar in spirit to the present version, 430Such new versions will be similar in spirit to the present version,
410but may differ in detail to address new problems or concerns. 431but may differ in detail to address new problems or concerns.
411 432
@@ -451,7 +472,7 @@ DAMAGES.
451 472
452 END OF TERMS AND CONDITIONS 473 END OF TERMS AND CONDITIONS
453 474
454 Appendix: How to Apply These Terms to Your New Libraries 475 How to Apply These Terms to Your New Libraries
455 476
456 If you develop a new library, and you want it to be of the greatest 477 If you develop a new library, and you want it to be of the greatest
457possible use to the public, we recommend making it free software that 478possible use to the public, we recommend making it free software that
@@ -468,18 +489,18 @@ convey the exclusion of warranty; and each file should have at least the
468 Copyright (C) <year> <name of author> 489 Copyright (C) <year> <name of author>
469 490
470 This library is free software; you can redistribute it and/or 491 This library is free software; you can redistribute it and/or
471 modify it under the terms of the GNU Library General Public 492 modify it under the terms of the GNU Lesser General Public
472 License as published by the Free Software Foundation; either 493 License as published by the Free Software Foundation; either
473 version 2 of the License, or (at your option) any later version. 494 version 2.1 of the License, or (at your option) any later version.
474 495
475 This library is distributed in the hope that it will be useful, 496 This library is distributed in the hope that it will be useful,
476 but WITHOUT ANY WARRANTY; without even the implied warranty of 497 but WITHOUT ANY WARRANTY; without even the implied warranty of
477 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 498 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
478 Library General Public License for more details. 499 Lesser General Public License for more details.
479 500
480 You should have received a copy of the GNU Library General Public 501 You should have received a copy of the GNU Lesser General Public
481 License along with this library; if not, write to the Free 502 License along with this library; if not, write to the Free Software
482 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 503 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
483 504
484Also add information on how to contact you by electronic and paper mail. 505Also add information on how to contact you by electronic and paper mail.
485 506
@@ -494,3 +515,5 @@ necessary. Here is a sample; alter the names:
494 Ty Coon, President of Vice 515 Ty Coon, President of Vice
495 516
496That's all there is to it! 517That's all there is to it!
518
519