2 Copyright (c) Tuomo Valkonen 1999-2007.
4 The code of this project is "essentially" licensed under the LGPL, version
5 2.1, unless otherwise indicated in components taken from elsewhere. It is
6 reproduced below. Additionally, the following terms apply to the use of
7 the name of the project, Ion(tm), names of particular "branches" such as
8 Ion3(tm), and other derived names:
10 If the name Ion(tm) or other names that can be associated with the Ion
11 project are used to distribute this software, then:
13 - A version that does not significantly differ from one of the
14 original author's versions must be provided by default.
16 - When there are no further prominent notices of possible out-datedness,
17 and no prominent original author's version qualifiers present (resp.
18 only branch qualifier is present), then the version distributed online
19 may not significantly differ from the original author's latest stable
20 release (resp. latest release on the branch) within a reasonable delay
21 (normally 28 days). The holders of physical distribution media must
22 be provided ways to upgrade to the latest release within this delay.
24 - Significantly altered versions may be provided only if the user
25 explicitly requests for those modifications to be applied, and
26 is prominently notified that the software is no longer considered
27 the standard version, and is not supported by the original author.
28 The version string displayed by the program must describe these
29 modifications and the "support void" status.
31 Derived works that do not satisfy the above terms must be renamed so
32 that they can not be associated with the Ion project, their executables
33 must be given names that do not conflict with the original author's
34 version, and this author may not be referred to for support.
36 Modules and other (standalone) extensions to Ion must also be named
37 so that they can not be confused to be supported by the original
38 author. If "Ion" occurs in the name, it must be in the form
39 "Foo for Ion" instead of "Ion Foo", etc.
41 This name policy notice may not be altered, and must be included in
42 any altered versions and binary redistributions. It may only be
43 removed when using small portions of the code in unrelated projects.
45 The original author and the Ion project retain the same rights to
46 your modifications that it would have under the LGPL or GPL without
47 these or similar additional terms.
49 If you fail to follow these terms, you lose the rights granted to
54 Significant change: Bug fixes are a priori insignificant as additions.
55 Basic changes that are needed to install or run the software on a target
56 platform are a priori insignificant. Additionally, basic configuration
57 changes to better integrate the software with the target platform,
58 without obstructing the standard behaviour, are a priori insignificant.
59 Everything else is significant. The author reserves the right to refine
60 the definition of significant changes on a per-case basis. Please consult
63 Distributions: For example, suppose an aggregate distribution of software
64 provides an `installpkg` command for installing packages. Then the action
65 `installpkg ion3` (resp. `installpkg ion`) should within a reasonable
66 delay install the latest release of Ion3 (resp. the latest stable release),
67 or prominently notify the user that the provided version is not or may not
68 be the latest. The action `installpkg ion-3ds-20070318` may at any date
69 install this particular mentioned release. Likewise, the action `installpkg
70 --support-void-featurex ion3` may apply additional patches to the latest
71 Ion3, within the further constraints set above.
73 The intent of these terms is to curb the power that "distributions", as
74 the primary sources of software for many users, have in defining what
75 is perceived as Ion. By providing significantly modified versions and
76 out-dated development snapshots without prominently mentioning this fact,
77 they do not present the work in a light that the author can agree with,
78 and create a burden of dealing with (new) users seeking for support for
85 GNU LESSER GENERAL PUBLIC LICENSE
86 Version 2.1, February 1999
88 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
89 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
90 Everyone is permitted to copy and distribute verbatim copies
91 of this license document, but changing it is not allowed.
93 [This is the first released version of the Lesser GPL. It also counts
94 as the successor of the GNU Library Public License, version 2, hence
95 the version number 2.1.]
99 The licenses for most software are designed to take away your
100 freedom to share and change it. By contrast, the GNU General Public
101 Licenses are intended to guarantee your freedom to share and change
102 free software--to make sure the software is free for all its users.
104 This license, the Lesser General Public License, applies to some
105 specially designated software packages--typically libraries--of the
106 Free Software Foundation and other authors who decide to use it. You
107 can use it too, but we suggest you first think carefully about whether
108 this license or the ordinary General Public License is the better
109 strategy to use in any particular case, based on the explanations
112 When we speak of free software, we are referring to freedom of use,
113 not price. Our General Public Licenses are designed to make sure that
114 you have the freedom to distribute copies of free software (and charge
115 for this service if you wish); that you receive source code or can get
116 it if you want it; that you can change the software and use pieces of
117 it in new free programs; and that you are informed that you can do
120 To protect your rights, we need to make restrictions that forbid
121 distributors to deny you these rights or to ask you to surrender these
122 rights. These restrictions translate to certain responsibilities for
123 you if you distribute copies of the library or if you modify it.
125 For example, if you distribute copies of the library, whether gratis
126 or for a fee, you must give the recipients all the rights that we gave
127 you. You must make sure that they, too, receive or can get the source
128 code. If you link other code with the library, you must provide
129 complete object files to the recipients, so that they can relink them
130 with the library after making changes to the library and recompiling
131 it. And you must show them these terms so they know their rights.
133 We protect your rights with a two-step method: (1) we copyright the
134 library, and (2) we offer you this license, which gives you legal
135 permission to copy, distribute and/or modify the library.
137 To protect each distributor, we want to make it very clear that
138 there is no warranty for the free library. Also, if the library is
139 modified by someone else and passed on, the recipients should know
140 that what they have is not the original version, so that the original
141 author's reputation will not be affected by problems that might be
142 introduced by others.
144 Finally, software patents pose a constant threat to the existence of
145 any free program. We wish to make sure that a company cannot
146 effectively restrict the users of a free program by obtaining a
147 restrictive license from a patent holder. Therefore, we insist that
148 any patent license obtained for a version of the library must be
149 consistent with the full freedom of use specified in this license.
151 Most GNU software, including some libraries, is covered by the
152 ordinary GNU General Public License. This license, the GNU Lesser
153 General Public License, applies to certain designated libraries, and
154 is quite different from the ordinary General Public License. We use
155 this license for certain libraries in order to permit linking those
156 libraries into non-free programs.
158 When a program is linked with a library, whether statically or using
159 a shared library, the combination of the two is legally speaking a
160 combined work, a derivative of the original library. The ordinary
161 General Public License therefore permits such linking only if the
162 entire combination fits its criteria of freedom. The Lesser General
163 Public License permits more lax criteria for linking other code with
166 We call this license the "Lesser" General Public License because it
167 does Less to protect the user's freedom than the ordinary General
168 Public License. It also provides other free software developers Less
169 of an advantage over competing non-free programs. These disadvantages
170 are the reason we use the ordinary General Public License for many
171 libraries. However, the Lesser license provides advantages in certain
172 special circumstances.
174 For example, on rare occasions, there may be a special need to
175 encourage the widest possible use of a certain library, so that it
176 becomes a de-facto standard. To achieve this, non-free programs must
177 be allowed to use the library. A more frequent case is that a free
178 library does the same job as widely used non-free libraries. In this
179 case, there is little to gain by limiting the free library to free
180 software only, so we use the Lesser General Public License.
182 In other cases, permission to use a particular library in non-free
183 programs enables a greater number of people to use a large body of
184 free software. For example, permission to use the GNU C Library in
185 non-free programs enables many more people to use the whole GNU
186 operating system, as well as its variant, the GNU/Linux operating
189 Although the Lesser General Public License is Less protective of the
190 users' freedom, it does ensure that the user of a program that is
191 linked with the Library has the freedom and the wherewithal to run
192 that program using a modified version of the Library.
194 The precise terms and conditions for copying, distribution and
195 modification follow. Pay close attention to the difference between a
196 "work based on the library" and a "work that uses the library". The
197 former contains code derived from the library, whereas the latter must
198 be combined with the library in order to run.
200 GNU LESSER GENERAL PUBLIC LICENSE
201 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
203 0. This License Agreement applies to any software library or other
204 program which contains a notice placed by the copyright holder or
205 other authorized party saying it may be distributed under the terms of
206 this Lesser General Public License (also called "this License").
207 Each licensee is addressed as "you".
209 A "library" means a collection of software functions and/or data
210 prepared so as to be conveniently linked with application programs
211 (which use some of those functions and data) to form executables.
213 The "Library", below, refers to any such software library or work
214 which has been distributed under these terms. A "work based on the
215 Library" means either the Library or any derivative work under
216 copyright law: that is to say, a work containing the Library or a
217 portion of it, either verbatim or with modifications and/or translated
218 straightforwardly into another language. (Hereinafter, translation is
219 included without limitation in the term "modification".)
221 "Source code" for a work means the preferred form of the work for
222 making modifications to it. For a library, complete source code means
223 all the source code for all modules it contains, plus any associated
224 interface definition files, plus the scripts used to control
225 compilation and installation of the library.
227 Activities other than copying, distribution and modification are not
228 covered by this License; they are outside its scope. The act of
229 running a program using the Library is not restricted, and output from
230 such a program is covered only if its contents constitute a work based
231 on the Library (independent of the use of the Library in a tool for
232 writing it). Whether that is true depends on what the Library does
233 and what the program that uses the Library does.
235 1. You may copy and distribute verbatim copies of the Library's
236 complete source code as you receive it, in any medium, provided that
237 you conspicuously and appropriately publish on each copy an
238 appropriate copyright notice and disclaimer of warranty; keep intact
239 all the notices that refer to this License and to the absence of any
240 warranty; and distribute a copy of this License along with the
243 You may charge a fee for the physical act of transferring a copy,
244 and you may at your option offer warranty protection in exchange for a
247 2. You may modify your copy or copies of the Library or any portion
248 of it, thus forming a work based on the Library, and copy and
249 distribute such modifications or work under the terms of Section 1
250 above, provided that you also meet all of these conditions:
252 a) The modified work must itself be a software library.
254 b) You must cause the files modified to carry prominent notices
255 stating that you changed the files and the date of any change.
257 c) You must cause the whole of the work to be licensed at no
258 charge to all third parties under the terms of this License.
260 d) If a facility in the modified Library refers to a function or a
261 table of data to be supplied by an application program that uses
262 the facility, other than as an argument passed when the facility
263 is invoked, then you must make a good faith effort to ensure that,
264 in the event an application does not supply such function or
265 table, the facility still operates, and performs whatever part of
266 its purpose remains meaningful.
268 (For example, a function in a library to compute square roots has
269 a purpose that is entirely well-defined independent of the
270 application. Therefore, Subsection 2d requires that any
271 application-supplied function or table used by this function must
272 be optional: if the application does not supply it, the square
273 root function must still compute square roots.)
275 These requirements apply to the modified work as a whole. If
276 identifiable sections of that work are not derived from the Library,
277 and can be reasonably considered independent and separate works in
278 themselves, then this License, and its terms, do not apply to those
279 sections when you distribute them as separate works. But when you
280 distribute the same sections as part of a whole which is a work based
281 on the Library, the distribution of the whole must be on the terms of
282 this License, whose permissions for other licensees extend to the
283 entire whole, and thus to each and every part regardless of who wrote
286 Thus, it is not the intent of this section to claim rights or contest
287 your rights to work written entirely by you; rather, the intent is to
288 exercise the right to control the distribution of derivative or
289 collective works based on the Library.
291 In addition, mere aggregation of another work not based on the Library
292 with the Library (or with a work based on the Library) on a volume of
293 a storage or distribution medium does not bring the other work under
294 the scope of this License.
296 3. You may opt to apply the terms of the ordinary GNU General Public
297 License instead of this License to a given copy of the Library. To do
298 this, you must alter all the notices that refer to this License, so
299 that they refer to the ordinary GNU General Public License, version 2,
300 instead of to this License. (If a newer version than version 2 of the
301 ordinary GNU General Public License has appeared, then you can specify
302 that version instead if you wish.) Do not make any other change in
305 Once this change is made in a given copy, it is irreversible for
306 that copy, so the ordinary GNU General Public License applies to all
307 subsequent copies and derivative works made from that copy.
309 This option is useful when you wish to copy part of the code of
310 the Library into a program that is not a library.
312 4. You may copy and distribute the Library (or a portion or
313 derivative of it, under Section 2) in object code or executable form
314 under the terms of Sections 1 and 2 above provided that you accompany
315 it with the complete corresponding machine-readable source code, which
316 must be distributed under the terms of Sections 1 and 2 above on a
317 medium customarily used for software interchange.
319 If distribution of object code is made by offering access to copy
320 from a designated place, then offering equivalent access to copy the
321 source code from the same place satisfies the requirement to
322 distribute the source code, even though third parties are not
323 compelled to copy the source along with the object code.
325 5. A program that contains no derivative of any portion of the
326 Library, but is designed to work with the Library by being compiled or
327 linked with it, is called a "work that uses the Library". Such a
328 work, in isolation, is not a derivative work of the Library, and
329 therefore falls outside the scope of this License.
331 However, linking a "work that uses the Library" with the Library
332 creates an executable that is a derivative of the Library (because it
333 contains portions of the Library), rather than a "work that uses the
334 library". The executable is therefore covered by this License.
335 Section 6 states terms for distribution of such executables.
337 When a "work that uses the Library" uses material from a header file
338 that is part of the Library, the object code for the work may be a
339 derivative work of the Library even though the source code is not.
340 Whether this is true is especially significant if the work can be
341 linked without the Library, or if the work is itself a library. The
342 threshold for this to be true is not precisely defined by law.
344 If such an object file uses only numerical parameters, data
345 structure layouts and accessors, and small macros and small inline
346 functions (ten lines or less in length), then the use of the object
347 file is unrestricted, regardless of whether it is legally a derivative
348 work. (Executables containing this object code plus portions of the
349 Library will still fall under Section 6.)
351 Otherwise, if the work is a derivative of the Library, you may
352 distribute the object code for the work under the terms of Section 6.
353 Any executables containing that work also fall under Section 6,
354 whether or not they are linked directly with the Library itself.
356 6. As an exception to the Sections above, you may also combine or
357 link a "work that uses the Library" with the Library to produce a
358 work containing portions of the Library, and distribute that work
359 under terms of your choice, provided that the terms permit
360 modification of the work for the customer's own use and reverse
361 engineering for debugging such modifications.
363 You must give prominent notice with each copy of the work that the
364 Library is used in it and that the Library and its use are covered by
365 this License. You must supply a copy of this License. If the work
366 during execution displays copyright notices, you must include the
367 copyright notice for the Library among them, as well as a reference
368 directing the user to the copy of this License. Also, you must do one
371 a) Accompany the work with the complete corresponding
372 machine-readable source code for the Library including whatever
373 changes were used in the work (which must be distributed under
374 Sections 1 and 2 above); and, if the work is an executable linked
375 with the Library, with the complete machine-readable "work that
376 uses the Library", as object code and/or source code, so that the
377 user can modify the Library and then relink to produce a modified
378 executable containing the modified Library. (It is understood
379 that the user who changes the contents of definitions files in the
380 Library will not necessarily be able to recompile the application
381 to use the modified definitions.)
383 b) Use a suitable shared library mechanism for linking with the
384 Library. A suitable mechanism is one that (1) uses at run time a
385 copy of the library already present on the user's computer system,
386 rather than copying library functions into the executable, and (2)
387 will operate properly with a modified version of the library, if
388 the user installs one, as long as the modified version is
389 interface-compatible with the version that the work was made with.
391 c) Accompany the work with a written offer, valid for at least
392 three years, to give the same user the materials specified in
393 Subsection 6a, above, for a charge no more than the cost of
394 performing this distribution.
396 d) If distribution of the work is made by offering access to copy
397 from a designated place, offer equivalent access to copy the above
398 specified materials from the same place.
400 e) Verify that the user has already received a copy of these
401 materials or that you have already sent this user a copy.
403 For an executable, the required form of the "work that uses the
404 Library" must include any data and utility programs needed for
405 reproducing the executable from it. However, as a special exception,
406 the materials to be distributed need not include anything that is
407 normally distributed (in either source or binary form) with the major
408 components (compiler, kernel, and so on) of the operating system on
409 which the executable runs, unless that component itself accompanies
412 It may happen that this requirement contradicts the license
413 restrictions of other proprietary libraries that do not normally
414 accompany the operating system. Such a contradiction means you cannot
415 use both them and the Library together in an executable that you
418 7. You may place library facilities that are a work based on the
419 Library side-by-side in a single library together with other library
420 facilities not covered by this License, and distribute such a combined
421 library, provided that the separate distribution of the work based on
422 the Library and of the other library facilities is otherwise
423 permitted, and provided that you do these two things:
425 a) Accompany the combined library with a copy of the same work
426 based on the Library, uncombined with any other library
427 facilities. This must be distributed under the terms of the
430 b) Give prominent notice with the combined library of the fact
431 that part of it is a work based on the Library, and explaining
432 where to find the accompanying uncombined form of the same work.
434 8. You may not copy, modify, sublicense, link with, or distribute
435 the Library except as expressly provided under this License. Any
436 attempt otherwise to copy, modify, sublicense, link with, or
437 distribute the Library is void, and will automatically terminate your
438 rights under this License. However, parties who have received copies,
439 or rights, from you under this License will not have their licenses
440 terminated so long as such parties remain in full compliance.
442 9. You are not required to accept this License, since you have not
443 signed it. However, nothing else grants you permission to modify or
444 distribute the Library or its derivative works. These actions are
445 prohibited by law if you do not accept this License. Therefore, by
446 modifying or distributing the Library (or any work based on the
447 Library), you indicate your acceptance of this License to do so, and
448 all its terms and conditions for copying, distributing or modifying
449 the Library or works based on it.
451 10. Each time you redistribute the Library (or any work based on the
452 Library), the recipient automatically receives a license from the
453 original licensor to copy, distribute, link with or modify the Library
454 subject to these terms and conditions. You may not impose any further
455 restrictions on the recipients' exercise of the rights granted herein.
456 You are not responsible for enforcing compliance by third parties with
459 11. If, as a consequence of a court judgment or allegation of patent
460 infringement or for any other reason (not limited to patent issues),
461 conditions are imposed on you (whether by court order, agreement or
462 otherwise) that contradict the conditions of this License, they do not
463 excuse you from the conditions of this License. If you cannot
464 distribute so as to satisfy simultaneously your obligations under this
465 License and any other pertinent obligations, then as a consequence you
466 may not distribute the Library at all. For example, if a patent
467 license would not permit royalty-free redistribution of the Library by
468 all those who receive copies directly or indirectly through you, then
469 the only way you could satisfy both it and this License would be to
470 refrain entirely from distribution of the Library.
472 If any portion of this section is held invalid or unenforceable under
473 any particular circumstance, the balance of the section is intended to
474 apply, and the section as a whole is intended to apply in other
477 It is not the purpose of this section to induce you to infringe any
478 patents or other property right claims or to contest validity of any
479 such claims; this section has the sole purpose of protecting the
480 integrity of the free software distribution system which is
481 implemented by public license practices. Many people have made
482 generous contributions to the wide range of software distributed
483 through that system in reliance on consistent application of that
484 system; it is up to the author/donor to decide if he or she is willing
485 to distribute software through any other system and a licensee cannot
488 This section is intended to make thoroughly clear what is believed to
489 be a consequence of the rest of this License.
491 12. If the distribution and/or use of the Library is restricted in
492 certain countries either by patents or by copyrighted interfaces, the
493 original copyright holder who places the Library under this License
494 may add an explicit geographical distribution limitation excluding those
495 countries, so that distribution is permitted only in or among
496 countries not thus excluded. In such case, this License incorporates
497 the limitation as if written in the body of this License.
499 13. The Free Software Foundation may publish revised and/or new
500 versions of the Lesser General Public License from time to time.
501 Such new versions will be similar in spirit to the present version,
502 but may differ in detail to address new problems or concerns.
504 Each version is given a distinguishing version number. If the Library
505 specifies a version number of this License which applies to it and
506 "any later version", you have the option of following the terms and
507 conditions either of that version or of any later version published by
508 the Free Software Foundation. If the Library does not specify a
509 license version number, you may choose any version ever published by
510 the Free Software Foundation.
512 14. If you wish to incorporate parts of the Library into other free
513 programs whose distribution conditions are incompatible with these,
514 write to the author to ask for permission. For software which is
515 copyrighted by the Free Software Foundation, write to the Free
516 Software Foundation; we sometimes make exceptions for this. Our
517 decision will be guided by the two goals of preserving the free status
518 of all derivatives of our free software and of promoting the sharing
519 and reuse of software generally.
523 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
524 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
525 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
526 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
527 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
528 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
529 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
530 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
531 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
533 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
534 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
535 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
536 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
537 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
538 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
539 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
540 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
541 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
544 END OF TERMS AND CONDITIONS
546 How to Apply These Terms to Your New Libraries
548 If you develop a new library, and you want it to be of the greatest
549 possible use to the public, we recommend making it free software that
550 everyone can redistribute and change. You can do so by permitting
551 redistribution under these terms (or, alternatively, under the terms
552 of the ordinary General Public License).
554 To apply these terms, attach the following notices to the library.
555 It is safest to attach them to the start of each source file to most
556 effectively convey the exclusion of warranty; and each file should
557 have at least the "copyright" line and a pointer to where the full
561 <one line to give the library's name and a brief idea of what it does.>
562 Copyright (C) <year> <name of author>
564 This library is free software; you can redistribute it and/or
565 modify it under the terms of the GNU Lesser General Public
566 License as published by the Free Software Foundation; either
567 version 2.1 of the License, or (at your option) any later version.
569 This library is distributed in the hope that it will be useful,
570 but WITHOUT ANY WARRANTY; without even the implied warranty of
571 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
572 Lesser General Public License for more details.
574 You should have received a copy of the GNU Lesser General Public
575 License along with this library; if not, write to the Free Software
576 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
578 Also add information on how to contact you by electronic and paper mail.
580 You should also get your employer (if you work as a programmer) or
581 your school, if any, to sign a "copyright disclaimer" for the library,
582 if necessary. Here is a sample; alter the names:
584 Yoyodyne, Inc., hereby disclaims all copyright interest in the
585 library `Frob' (a library for tweaking knobs) written by James
588 <signature of Ty Coon>, 1 April 1990
589 Ty Coon, President of Vice
591 That's all there is to it!