root/LICENSE

Revision 1, 23.5 kB (checked in by fcavazza, 8 weeks ago)

New SVN server

Line 
1Copyright (c) 2007 Softwell Sas - Milano - Italy
2
3Giovanni Porcari
4Francesco Cavazzana
5Saverio Porcari
6Francesco Porcari
7
8Open Source License:
9
10GNU Lesser General Public License
11
12Version 2.1, February 1999
13
14 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 59 Temple Place,
15Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and
16distribute verbatim copies of this license document, but changing it is not
17allowed.
18
19 [This is the first released version of the Lesser GPL. It also counts as the
20successor of the GNU Library Public License, version 2, hence the version
21number 2.1.]
22
23Preamble
24
25The licenses for most software are designed to take away your freedom to share
26and change it. By contrast, the GNU General Public Licenses are intended to
27guarantee your freedom to share and change free software--to make sure the
28software is free for all its users.
29
30This license, the Lesser General Public License, applies to some specially
31designated software packages--typically libraries--of the Free Software
32Foundation and other authors who decide to use it. You can use it too, but we
33suggest you first think carefully about whether this license or the ordinary
34General Public License is the better strategy to use in any particular case,
35based on the explanations below.
36
37When we speak of free software, we are referring to freedom of use, not price.
38Our General Public Licenses are designed to make sure that you have the
39freedom to distribute copies of free software (and charge for this service if
40you wish); that you receive source code or can get it if you want it; that you
41can change the software and use pieces of it in new free programs; and that
42you are informed that you can do these things.
43
44To protect your rights, we need to make restrictions that forbid distributors
45to deny you these rights or to ask you to surrender these rights. These
46restrictions translate to certain responsibilities for you if you distribute
47copies of the library or if you modify it.
48
49For example, if you distribute copies of the library, whether gratis or for a
50fee, you must give the recipients all the rights that we gave you. You must
51make sure that they, too, receive or can get the source code. If you link
52other code with the library, you must provide complete object files to the
53recipients, so that they can relink them with the library after making changes
54to the library and recompiling it. And you must show them these terms so they
55know their rights.
56
57We protect your rights with a two-step method: (1) we copyright the library,
58and (2) we offer you this license, which gives you legal permission to copy,
59distribute and/or modify the library.
60
61To protect each distributor, we want to make it very clear that there is no
62warranty for the free library. Also, if the library is modified by someone
63else and passed on, the recipients should know that what they have is not the
64original version, so that the original author's reputation will not be
65affected by problems that might be introduced by others.
66
67Finally, software patents pose a constant threat to the existence of any free
68program. We wish to make sure that a company cannot effectively restrict the
69users of a free program by obtaining a restrictive license from a patent
70holder. Therefore, we insist that any patent license obtained for a version of
71the library must be consistent with the full freedom of use specified in this
72license.
73
74Most GNU software, including some libraries, is covered by the ordinary GNU
75General Public License. This license, the GNU Lesser General Public License,
76applies to certain designated libraries, and is quite different from the
77ordinary General Public License. We use this license for certain libraries in
78order to permit linking those libraries into non-free programs.
79
80When a program is linked with a library, whether statically or using a shared
81library, the combination of the two is legally speaking a combined work, a
82derivative of the original library. The ordinary General Public License
83therefore permits such linking only if the entire combination fits its
84criteria of freedom. The Lesser General Public License permits more lax
85criteria for linking other code with the library.
86
87We call this license the "Lesser" General Public License because it does Less
88to protect the user's freedom than the ordinary General Public License. It
89also provides other free software developers Less of an advantage over
90competing non-free programs. These disadvantages are the reason we use the
91ordinary General Public License for many libraries. However, the Lesser
92license provides advantages in certain special circumstances.
93
94For example, on rare occasions, there may be a special need to encourage the
95widest possible use of a certain library, so that it becomes a de-facto
96standard. To achieve this, non-free programs must be allowed to use the
97library. A more frequent case is that a free library does the same job as
98widely used non-free libraries. In this case, there is little to gain by
99limiting the free library to free software only, so we use the Lesser General
100Public License.
101
102In other cases, permission to use a particular library in non-free programs
103enables a greater number of people to use a large body of free software. For
104example, permission to use the GNU C Library in non-free programs enables many
105more people to use the whole GNU operating system, as well as its variant, the
106GNU/Linux operating system.
107
108Although the Lesser General Public License is Less protective of the users'
109freedom, it does ensure that the user of a program that is linked with the
110Library has the freedom and the wherewithal to run that program using a
111modified version of the Library.
112
113The precise terms and conditions for copying, distribution and modification
114follow. Pay close attention to the difference between a "work based on the
115library" and a "work that uses the library". The former contains code derived
116from the library, whereas the latter must be combined with the library in
117order to run. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
118
1190. This License Agreement applies to any software library or other program
120which contains a notice placed by the copyright holder or other authorized
121party saying it may be distributed under the terms of this Lesser General
122Public License (also called "this License"). Each licensee is addressed as
123"you".
124
125A "library" means a collection of software functions and/or data prepared so
126as to be conveniently linked with application programs (which use some of
127those functions and data) to form executables.
128
129The "Library", below, refers to any such software library or work which has
130been distributed under these terms. A "work based on the Library" means either
131the Library or any derivative work under copyright law: that is to say, a work
132containing the Library or a portion of it, either verbatim or with
133modifications and/or translated straightforwardly into another language.
134(Hereinafter, translation is included without limitation in the term
135"modification".)
136
137"Source code" for a work means the preferred form of the work for making
138modifications to it. For a library, complete source code means all the source
139code for all modules it contains, plus any associated interface definition
140files, plus the scripts used to control compilation and installation of the
141library.
142
143Activities other than copying, distribution and modification are not covered
144by this License; they are outside its scope. The act of running a program
145using the Library is not restricted, and output from such a program is covered
146only if its contents constitute a work based on the Library (independent of
147the use of the Library in a tool for writing it). Whether that is true depends
148on what the Library does and what the program that uses the Library does.
149
1501. You may copy and distribute verbatim copies of the Library's complete
151source code as you receive it, in any medium, provided that you conspicuously
152and appropriately publish on each copy an appropriate copyright notice and
153disclaimer of warranty; keep intact all the notices that refer to this License
154and to the absence of any warranty; and distribute a copy of this License
155along with the Library.
156
157You may charge a fee for the physical act of transferring a copy, and you may
158at your option offer warranty protection in exchange for a fee.
159
1602. You may modify your copy or copies of the Library or any portion of it,
161thus forming a work based on the Library, and copy and distribute such
162modifications or work under the terms of Section 1 above, provided that you
163also meet all of these conditions:
164
165 a) The modified work must itself be a software library.
166
167 b) You must cause the files modified to carry prominent notices stating that
168you changed the files and the date of any change.
169
170 c) You must cause the whole of the work to be licensed at no charge to all
171third parties under the terms of this License.
172
173 d) If a facility in the modified Library refers to a function or a table of
174data to be supplied by an application program that uses the facility, other
175than as an argument passed when the facility is invoked, then you must make a
176good faith effort to ensure that, in the event an application does not supply
177such function or table, the facility still operates, and performs whatever
178part of its purpose remains meaningful.
179
180 (For example, a function in a library to compute square roots has a purpose
181that is entirely well-defined independent of the application. Therefore,
182Subsection 2d requires that any application-supplied function or table used by
183this function must be optional: if the application does not supply it, the
184square root function must still compute square roots.)
185
186 These requirements apply to the modified work as a whole. If identifiable
187sections of that work are not derived from the Library, and can be reasonably
188considered independent and separate works in themselves, then this License,
189and its terms, do not apply to those sections when you distribute them as
190separate works. But when you distribute the same sections as part of a whole
191which is a work based on the Library, the distribution of the whole must be on
192the terms of this License, whose permissions for other licensees extend to the
193entire whole, and thus to each and every part regardless of who wrote it.
194
195 Thus, it is not the intent of this section to claim rights or contest your
196rights to work written entirely by you; rather, the intent is to exercise the
197right to control the distribution of derivative or collective works based on
198the Library.
199
200 In addition, mere aggregation of another work not based on the Library with
201the Library (or with a work based on the Library) on a volume of a storage or
202distribution medium does not bring the other work under the scope of this
203License.
204
2053. You may opt to apply the terms of the ordinary GNU General Public License
206instead of this License to a given copy of the Library. To do this, you must
207alter all the notices that refer to this License, so that they refer to the
208ordinary GNU General Public License, version 2, instead of to this License.
209(If a newer version than version 2 of the ordinary GNU General Public License
210has appeared, then you can specify that version instead if you wish.) Do not
211make any other change in these notices.
212
213Once this change is made in a given copy, it is irreversible for that copy, so
214the ordinary GNU General Public License applies to all subsequent copies and
215derivative works made from that copy.
216
217This option is useful when you wish to copy part of the code of the Library
218into a program that is not a library.
219
2204. You may copy and distribute the Library (or a portion or derivative of it,
221under Section 2) in object code or executable form under the terms of Sections
2221 and 2 above provided that you accompany it with the complete corresponding
223machine-readable source code, which must be distributed under the terms of
224Sections 1 and 2 above on a medium customarily used for software interchange.
225
226If distribution of object code is made by offering access to copy from a
227designated place, then offering equivalent access to copy the source code from
228the same place satisfies the requirement to distribute the source code, even
229though third parties are not compelled to copy the source along with the
230object code.
231
2325. A program that contains no derivative of any portion of the Library, but is
233designed to work with the Library by being compiled or linked with it, is
234called a "work that uses the Library". Such a work, in isolation, is not a
235derivative work of the Library, and therefore falls outside the scope of this
236License.
237
238However, linking a "work that uses the Library" with the Library creates an
239executable that is a derivative of the Library (because it contains portions
240of the Library), rather than a "work that uses the library". The executable is
241therefore covered by this License. Section 6 states terms for distribution of
242such executables.
243
244When a "work that uses the Library" uses material from a header file that is
245part of the Library, the object code for the work may be a derivative work of
246the Library even though the source code is not. Whether this is true is
247especially significant if the work can be linked without the Library, or if
248the work is itself a library. The threshold for this to be true is not
249precisely defined by law.
250
251If such an object file uses only numerical parameters, data structure layouts
252and accessors, and small macros and small inline functions (ten lines or less
253in length), then the use of the object file is unrestricted, regardless of
254whether it is legally a derivative work. (Executables containing this object
255code plus portions of the Library will still fall under Section 6.)
256
257Otherwise, if the work is a derivative of the Library, you may distribute the
258object code for the work under the terms of Section 6. Any executables
259containing that work also fall under Section 6, whether or not they are linked
260directly with the Library itself.
261
2626. As an exception to the Sections above, you may also combine or link a "work
263that uses the Library" with the Library to produce a work containing portions
264of the Library, and distribute that work under terms of your choice, provided
265that the terms permit modification of the work for the customer's own use and
266reverse engineering for debugging such modifications.
267
268You must give prominent notice with each copy of the work that the Library is
269used in it and that the Library and its use are covered by this License. You
270must supply a copy of this License. If the work during execution displays
271copyright notices, you must include the copyright notice for the Library among
272them, as well as a reference directing the user to the copy of this License.
273Also, you must do one of these things:
274
275 a) Accompany the work with the complete corresponding machine-readable source
276code for the Library including whatever changes were used in the work (which
277must be distributed under Sections 1 and 2 above); and, if the work is an
278executable linked with the Library, with the complete machine-readable "work
279that uses the Library", as object code and/or source code, so that the user
280can modify the Library and then relink to produce a modified executable
281containing the modified Library. (It is understood that the user who changes
282the contents of definitions files in the Library will not necessarily be able
283to recompile the application to use the modified definitions.)
284
285 b) Use a suitable shared library mechanism for linking with the Library. A
286suitable mechanism is one that (1) uses at run time a copy of the library
287already present on the user's computer system, rather than copying library
288functions into the executable, and (2) will operate properly with a modified
289version of the library, if the user installs one, as long as the modified
290version is interface-compatible with the version that the work was made with.
291
292 c) Accompany the work with a written offer, valid for at least three years,
293to give the same user the materials specified in Subsection 6a, above, for a
294charge no more than the cost of performing this distribution.
295
296 d) If distribution of the work is made by offering access to copy from a
297designated place, offer equivalent access to copy the above specified
298materials from the same place.
299
300 e) Verify that the user has already received a copy of these materials or
301that you have already sent this user a copy.
302
303For an executable, the required form of the "work that uses the Library" must
304include any data and utility programs needed for reproducing the executable
305from it. However, as a special exception, the materials to be distributed need
306not include anything that is normally distributed (in either source or binary
307form) with the major components (compiler, kernel, and so on) of the operating
308system on which the executable runs, unless that component itself accompanies
309the executable.
310
311It may happen that this requirement contradicts the license restrictions of
312other proprietary libraries that do not normally accompany the operating
313system. Such a contradiction means you cannot use both them and the Library
314together in an executable that you distribute.
315
3167. You may place library facilities that are a work based on the Library
317side-by-side in a single library together with other library facilities not
318covered by this License, and distribute such a combined library, provided that
319the separate distribution of the work based on the Library and of the other
320library facilities is otherwise permitted, and provided that you do these two
321things:
322
323 a) Accompany the combined library with a copy of the same work based on the
324Library, uncombined with any other library facilities. This must be
325distributed under the terms of the Sections above.
326
327 b) Give prominent notice with the combined library of the fact that part of
328it is a work based on the Library, and explaining where to find the
329accompanying uncombined form of the same work.
330
3318. You may not copy, modify, sublicense, link with, or distribute the Library
332except as expressly provided under this License. Any attempt otherwise to
333copy, modify, sublicense, link with, or distribute the Library is void, and
334will automatically terminate your rights under this License. However, parties
335who have received copies, or rights, from you under this License will not have
336their licenses terminated so long as such parties remain in full compliance.
337
3389. You are not required to accept this License, since you have not signed it.
339However, nothing else grants you permission to modify or distribute the
340Library or its derivative works. These actions are prohibited by law if you do
341not accept this License. Therefore, by modifying or distributing the Library
342(or any work based on the Library), you indicate your acceptance of this
343License to do so, and all its terms and conditions for copying, distributing
344or modifying the Library or works based on it.
345
34610. Each time you redistribute the Library (or any work based on the Library),
347the recipient automatically receives a license from the original licensor to
348copy, distribute, link with or modify the Library subject to these terms and
349conditions. You may not impose any further restrictions on the recipients'
350exercise of the rights granted herein. You are not responsible for enforcing
351compliance by third parties with this License.
352
35311. If, as a consequence of a court judgment or allegation of patent
354infringement or for any other reason (not limited to patent issues),
355conditions are imposed on you (whether by court order, agreement or otherwise)
356that contradict the conditions of this License, they do not excuse you from
357the conditions of this License. If you cannot distribute so as to satisfy
358simultaneously your obligations under this License and any other pertinent
359obligations, then as a consequence you may not distribute the Library at all.
360For example, if a patent license would not permit royalty-free redistribution
361of the Library by all those who receive copies directly or indirectly through
362you, then the only way you could satisfy both it and this License would be to
363refrain entirely from distribution of the Library.
364
365If any portion of this section is held invalid or unenforceable under any
366particular circumstance, the balance of the section is intended to apply, and
367the section as a whole is intended to apply in other circumstances.
368
369It is not the purpose of this section to induce you to infringe any patents or
370other property right claims or to contest validity of any such claims; this
371section has the sole purpose of protecting the integrity of the free software
372distribution system which is implemented by public license practices. Many
373people have made generous contributions to the wide range of software
374distributed through that system in reliance on consistent application of that
375system; it is up to the author/donor to decide if he or she is willing to
376distribute software through any other system and a licensee cannot impose that
377choice.
378
379This section is intended to make thoroughly clear what is believed to be a
380consequence of the rest of this License.
381
38212. If the distribution and/or use of the Library is restricted in certain
383countries either by patents or by copyrighted interfaces, the original
384copyright holder who places the Library under this License may add an explicit
385geographical distribution limitation excluding those countries, so that
386distribution is permitted only in or among countries not thus excluded. In
387such case, this License incorporates the limitation as if written in the body
388of this License.
389
39013. The Free Software Foundation may publish revised and/or new versions of
391the Lesser General Public License from time to time. Such new versions will be
392similar in spirit to the present version, but may differ in detail to address
393new problems or concerns.
394
395Each version is given a distinguishing version number. If the Library
396specifies a version number of this License which applies to it and "any later
397version", you have the option of following the terms and conditions either of
398that version or of any later version published by the Free Software
399Foundation. If the Library does not specify a license version number, you may
400choose any version ever published by the Free Software Foundation.
401
40214. If you wish to incorporate parts of the Library into other free programs
403whose distribution conditions are incompatible with these, write to the author
404to ask for permission. For software which is copyrighted by the Free Software
405Foundation, write to the Free Software Foundation; we sometimes make
406exceptions for this. Our decision will be guided by the two goals of
407preserving the free status of all derivatives of our free software and of
408promoting the sharing and reuse of software generally.
409
410NO WARRANTY
411
41215. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
413THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
414STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
415LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
416INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
417FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
418PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE,
419YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
420
42116. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
422ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
423THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
424GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
425OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
426DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR
427A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH
428HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END
429OF TERMS AND CONDITIONS
Note: See TracBrowser for help on using the browser.