|
Bernhard M. Wiedemann |
4a806f |
From 60040e064af9ddf41be2064a18f155abcc594724 Mon Sep 17 00:00:00 2001
|
|
Bernhard M. Wiedemann |
4a806f |
From: Andrey Ponomarenko <andrewponomarenko@yandex.ru>
|
|
Bernhard M. Wiedemann |
4a806f |
Date: Tue, 20 Feb 2018 10:48:40 +0300
|
|
Bernhard M. Wiedemann |
4a806f |
Subject: [PATCH 1/3] Fixed license to LGPL 2.1
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
---
|
|
Bernhard M. Wiedemann |
4a806f |
GPL-2.0 | 339 ---------------------------------
|
|
Bernhard M. Wiedemann |
4a806f |
LGPL-2.1 | 502 -------------------------------------------------
|
|
Bernhard M. Wiedemann |
4a806f |
LICENSE | 507 +++++++++++++++++++++++++++++++++++++++++++++++++-
|
|
Bernhard M. Wiedemann |
4a806f |
abi-dumper.pl | 48 ++---
|
|
Bernhard M. Wiedemann |
4a806f |
4 files changed, 530 insertions(+), 866 deletions(-)
|
|
Bernhard M. Wiedemann |
4a806f |
delete mode 100644 GPL-2.0
|
|
Bernhard M. Wiedemann |
4a806f |
delete mode 100644 LGPL-2.1
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
diff --git a/GPL-2.0 b/GPL-2.0
|
|
Bernhard M. Wiedemann |
4a806f |
deleted file mode 100644
|
|
Bernhard M. Wiedemann |
4a806f |
index d159169..0000000
|
|
Bernhard M. Wiedemann |
4a806f |
--- a/GPL-2.0
|
|
Bernhard M. Wiedemann |
4a806f |
+++ /dev/null
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -1,339 +0,0 @@
|
|
Bernhard M. Wiedemann |
4a806f |
- GNU GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
- Version 2, June 1991
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
|
Bernhard M. Wiedemann |
4a806f |
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Bernhard M. Wiedemann |
4a806f |
- Everyone is permitted to copy and distribute verbatim copies
|
|
Bernhard M. Wiedemann |
4a806f |
- of this license document, but changing it is not allowed.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Preamble
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- The licenses for most software are designed to take away your
|
|
Bernhard M. Wiedemann |
4a806f |
-freedom to share and change it. By contrast, the GNU General Public
|
|
Bernhard M. Wiedemann |
4a806f |
-License is intended to guarantee your freedom to share and change free
|
|
Bernhard M. Wiedemann |
4a806f |
-software--to make sure the software is free for all its users. This
|
|
Bernhard M. Wiedemann |
4a806f |
-General Public License applies to most of the Free Software
|
|
Bernhard M. Wiedemann |
4a806f |
-Foundation's software and to any other program whose authors commit to
|
|
Bernhard M. Wiedemann |
4a806f |
-using it. (Some other Free Software Foundation software is covered by
|
|
Bernhard M. Wiedemann |
4a806f |
-the GNU Lesser General Public License instead.) You can apply it to
|
|
Bernhard M. Wiedemann |
4a806f |
-your programs, too.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- When we speak of free software, we are referring to freedom, not
|
|
Bernhard M. Wiedemann |
4a806f |
-price. Our General Public Licenses are designed to make sure that you
|
|
Bernhard M. Wiedemann |
4a806f |
-have the freedom to distribute copies of free software (and charge for
|
|
Bernhard M. Wiedemann |
4a806f |
-this service if you wish), that you receive source code or can get it
|
|
Bernhard M. Wiedemann |
4a806f |
-if you want it, that you can change the software or use pieces of it
|
|
Bernhard M. Wiedemann |
4a806f |
-in new free programs; and that you know you can do these things.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- To protect your rights, we need to make restrictions that forbid
|
|
Bernhard M. Wiedemann |
4a806f |
-anyone to deny you these rights or to ask you to surrender the rights.
|
|
Bernhard M. Wiedemann |
4a806f |
-These restrictions translate to certain responsibilities for you if you
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute copies of the software, or if you modify it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- For example, if you distribute copies of such a program, whether
|
|
Bernhard M. Wiedemann |
4a806f |
-gratis or for a fee, you must give the recipients all the rights that
|
|
Bernhard M. Wiedemann |
4a806f |
-you have. You must make sure that they, too, receive or can get the
|
|
Bernhard M. Wiedemann |
4a806f |
-source code. And you must show them these terms so they know their
|
|
Bernhard M. Wiedemann |
4a806f |
-rights.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- We protect your rights with two steps: (1) copyright the software, and
|
|
Bernhard M. Wiedemann |
4a806f |
-(2) offer you this license which gives you legal permission to copy,
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute and/or modify the software.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Also, for each author's protection and ours, we want to make certain
|
|
Bernhard M. Wiedemann |
4a806f |
-that everyone understands that there is no warranty for this free
|
|
Bernhard M. Wiedemann |
4a806f |
-software. If the software is modified by someone else and passed on, we
|
|
Bernhard M. Wiedemann |
4a806f |
-want its recipients to know that what they have is not the original, so
|
|
Bernhard M. Wiedemann |
4a806f |
-that any problems introduced by others will not reflect on the original
|
|
Bernhard M. Wiedemann |
4a806f |
-authors' reputations.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Finally, any free program is threatened constantly by software
|
|
Bernhard M. Wiedemann |
4a806f |
-patents. We wish to avoid the danger that redistributors of a free
|
|
Bernhard M. Wiedemann |
4a806f |
-program will individually obtain patent licenses, in effect making the
|
|
Bernhard M. Wiedemann |
4a806f |
-program proprietary. To prevent this, we have made it clear that any
|
|
Bernhard M. Wiedemann |
4a806f |
-patent must be licensed for everyone's free use or not licensed at all.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- The precise terms and conditions for copying, distribution and
|
|
Bernhard M. Wiedemann |
4a806f |
-modification follow.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- GNU GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 0. This License applies to any program or other work which contains
|
|
Bernhard M. Wiedemann |
4a806f |
-a notice placed by the copyright holder saying it may be distributed
|
|
Bernhard M. Wiedemann |
4a806f |
-under the terms of this General Public License. The "Program", below,
|
|
Bernhard M. Wiedemann |
4a806f |
-refers to any such program or work, and a "work based on the Program"
|
|
Bernhard M. Wiedemann |
4a806f |
-means either the Program or any derivative work under copyright law:
|
|
Bernhard M. Wiedemann |
4a806f |
-that is to say, a work containing the Program or a portion of it,
|
|
Bernhard M. Wiedemann |
4a806f |
-either verbatim or with modifications and/or translated into another
|
|
Bernhard M. Wiedemann |
4a806f |
-language. (Hereinafter, translation is included without limitation in
|
|
Bernhard M. Wiedemann |
4a806f |
-the term "modification".) Each licensee is addressed as "you".
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Activities other than copying, distribution and modification are not
|
|
Bernhard M. Wiedemann |
4a806f |
-covered by this License; they are outside its scope. The act of
|
|
Bernhard M. Wiedemann |
4a806f |
-running the Program is not restricted, and the output from the Program
|
|
Bernhard M. Wiedemann |
4a806f |
-is covered only if its contents constitute a work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Program (independent of having been made by running the Program).
|
|
Bernhard M. Wiedemann |
4a806f |
-Whether that is true depends on what the Program does.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 1. You may copy and distribute verbatim copies of the Program's
|
|
Bernhard M. Wiedemann |
4a806f |
-source code as you receive it, in any medium, provided that you
|
|
Bernhard M. Wiedemann |
4a806f |
-conspicuously and appropriately publish on each copy an appropriate
|
|
Bernhard M. Wiedemann |
4a806f |
-copyright notice and disclaimer of warranty; keep intact all the
|
|
Bernhard M. Wiedemann |
4a806f |
-notices that refer to this License and to the absence of any warranty;
|
|
Bernhard M. Wiedemann |
4a806f |
-and give any other recipients of the Program a copy of this License
|
|
Bernhard M. Wiedemann |
4a806f |
-along with the Program.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-You may charge a fee for the physical act of transferring a copy, and
|
|
Bernhard M. Wiedemann |
4a806f |
-you may at your option offer warranty protection in exchange for a fee.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 2. You may modify your copy or copies of the Program or any portion
|
|
Bernhard M. Wiedemann |
4a806f |
-of it, thus forming a work based on the Program, and copy and
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute such modifications or work under the terms of Section 1
|
|
Bernhard M. Wiedemann |
4a806f |
-above, provided that you also meet all of these conditions:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- a) You must cause the modified files to carry prominent notices
|
|
Bernhard M. Wiedemann |
4a806f |
- stating that you changed the files and the date of any change.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- b) You must cause any work that you distribute or publish, that in
|
|
Bernhard M. Wiedemann |
4a806f |
- whole or in part contains or is derived from the Program or any
|
|
Bernhard M. Wiedemann |
4a806f |
- part thereof, to be licensed as a whole at no charge to all third
|
|
Bernhard M. Wiedemann |
4a806f |
- parties under the terms of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- c) If the modified program normally reads commands interactively
|
|
Bernhard M. Wiedemann |
4a806f |
- when run, you must cause it, when started running for such
|
|
Bernhard M. Wiedemann |
4a806f |
- interactive use in the most ordinary way, to print or display an
|
|
Bernhard M. Wiedemann |
4a806f |
- announcement including an appropriate copyright notice and a
|
|
Bernhard M. Wiedemann |
4a806f |
- notice that there is no warranty (or else, saying that you provide
|
|
Bernhard M. Wiedemann |
4a806f |
- a warranty) and that users may redistribute the program under
|
|
Bernhard M. Wiedemann |
4a806f |
- these conditions, and telling the user how to view a copy of this
|
|
Bernhard M. Wiedemann |
4a806f |
- License. (Exception: if the Program itself is interactive but
|
|
Bernhard M. Wiedemann |
4a806f |
- does not normally print such an announcement, your work based on
|
|
Bernhard M. Wiedemann |
4a806f |
- the Program is not required to print an announcement.)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-These requirements apply to the modified work as a whole. If
|
|
Bernhard M. Wiedemann |
4a806f |
-identifiable sections of that work are not derived from the Program,
|
|
Bernhard M. Wiedemann |
4a806f |
-and can be reasonably considered independent and separate works in
|
|
Bernhard M. Wiedemann |
4a806f |
-themselves, then this License, and its terms, do not apply to those
|
|
Bernhard M. Wiedemann |
4a806f |
-sections when you distribute them as separate works. But when you
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the same sections as part of a whole which is a work based
|
|
Bernhard M. Wiedemann |
4a806f |
-on the Program, the distribution of the whole must be on the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
-this License, whose permissions for other licensees extend to the
|
|
Bernhard M. Wiedemann |
4a806f |
-entire whole, and thus to each and every part regardless of who wrote it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Thus, it is not the intent of this section to claim rights or contest
|
|
Bernhard M. Wiedemann |
4a806f |
-your rights to work written entirely by you; rather, the intent is to
|
|
Bernhard M. Wiedemann |
4a806f |
-exercise the right to control the distribution of derivative or
|
|
Bernhard M. Wiedemann |
4a806f |
-collective works based on the Program.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-In addition, mere aggregation of another work not based on the Program
|
|
Bernhard M. Wiedemann |
4a806f |
-with the Program (or with a work based on the Program) on a volume of
|
|
Bernhard M. Wiedemann |
4a806f |
-a storage or distribution medium does not bring the other work under
|
|
Bernhard M. Wiedemann |
4a806f |
-the scope of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 3. You may copy and distribute the Program (or a work based on it,
|
|
Bernhard M. Wiedemann |
4a806f |
-under Section 2) in object code or executable form under the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
-Sections 1 and 2 above provided that you also do one of the following:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- a) Accompany it with the complete corresponding machine-readable
|
|
Bernhard M. Wiedemann |
4a806f |
- source code, which must be distributed under the terms of Sections
|
|
Bernhard M. Wiedemann |
4a806f |
- 1 and 2 above on a medium customarily used for software interchange; or,
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- b) Accompany it with a written offer, valid for at least three
|
|
Bernhard M. Wiedemann |
4a806f |
- years, to give any third party, for a charge no more than your
|
|
Bernhard M. Wiedemann |
4a806f |
- cost of physically performing source distribution, a complete
|
|
Bernhard M. Wiedemann |
4a806f |
- machine-readable copy of the corresponding source code, to be
|
|
Bernhard M. Wiedemann |
4a806f |
- distributed under the terms of Sections 1 and 2 above on a medium
|
|
Bernhard M. Wiedemann |
4a806f |
- customarily used for software interchange; or,
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- c) Accompany it with the information you received as to the offer
|
|
Bernhard M. Wiedemann |
4a806f |
- to distribute corresponding source code. (This alternative is
|
|
Bernhard M. Wiedemann |
4a806f |
- allowed only for noncommercial distribution and only if you
|
|
Bernhard M. Wiedemann |
4a806f |
- received the program in object code or executable form with such
|
|
Bernhard M. Wiedemann |
4a806f |
- an offer, in accord with Subsection b above.)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-The source code for a work means the preferred form of the work for
|
|
Bernhard M. Wiedemann |
4a806f |
-making modifications to it. For an executable work, complete source
|
|
Bernhard M. Wiedemann |
4a806f |
-code means all the source code for all modules it contains, plus any
|
|
Bernhard M. Wiedemann |
4a806f |
-associated interface definition files, plus the scripts used to
|
|
Bernhard M. Wiedemann |
4a806f |
-control compilation and installation of the executable. However, as a
|
|
Bernhard M. Wiedemann |
4a806f |
-special exception, the source code distributed need not include
|
|
Bernhard M. Wiedemann |
4a806f |
-anything that is normally distributed (in either source or binary
|
|
Bernhard M. Wiedemann |
4a806f |
-form) with the major components (compiler, kernel, and so on) of the
|
|
Bernhard M. Wiedemann |
4a806f |
-operating system on which the executable runs, unless that component
|
|
Bernhard M. Wiedemann |
4a806f |
-itself accompanies the executable.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-If distribution of executable or object code is made by offering
|
|
Bernhard M. Wiedemann |
4a806f |
-access to copy from a designated place, then offering equivalent
|
|
Bernhard M. Wiedemann |
4a806f |
-access to copy the source code from the same place counts as
|
|
Bernhard M. Wiedemann |
4a806f |
-distribution of the source code, even though third parties are not
|
|
Bernhard M. Wiedemann |
4a806f |
-compelled to copy the source along with the object code.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 4. You may not copy, modify, sublicense, or distribute the Program
|
|
Bernhard M. Wiedemann |
4a806f |
-except as expressly provided under this License. Any attempt
|
|
Bernhard M. Wiedemann |
4a806f |
-otherwise to copy, modify, sublicense or distribute the Program is
|
|
Bernhard M. Wiedemann |
4a806f |
-void, and will automatically terminate your rights under this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-However, parties who have received copies, or rights, from you under
|
|
Bernhard M. Wiedemann |
4a806f |
-this License will not have their licenses terminated so long as such
|
|
Bernhard M. Wiedemann |
4a806f |
-parties remain in full compliance.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 5. You are not required to accept this License, since you have not
|
|
Bernhard M. Wiedemann |
4a806f |
-signed it. However, nothing else grants you permission to modify or
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the Program or its derivative works. These actions are
|
|
Bernhard M. Wiedemann |
4a806f |
-prohibited by law if you do not accept this License. Therefore, by
|
|
Bernhard M. Wiedemann |
4a806f |
-modifying or distributing the Program (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Program), you indicate your acceptance of this License to do so, and
|
|
Bernhard M. Wiedemann |
4a806f |
-all its terms and conditions for copying, distributing or modifying
|
|
Bernhard M. Wiedemann |
4a806f |
-the Program or works based on it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 6. Each time you redistribute the Program (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Program), the recipient automatically receives a license from the
|
|
Bernhard M. Wiedemann |
4a806f |
-original licensor to copy, distribute or modify the Program subject to
|
|
Bernhard M. Wiedemann |
4a806f |
-these terms and conditions. You may not impose any further
|
|
Bernhard M. Wiedemann |
4a806f |
-restrictions on the recipients' exercise of the rights granted herein.
|
|
Bernhard M. Wiedemann |
4a806f |
-You are not responsible for enforcing compliance by third parties to
|
|
Bernhard M. Wiedemann |
4a806f |
-this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 7. If, as a consequence of a court judgment or allegation of patent
|
|
Bernhard M. Wiedemann |
4a806f |
-infringement or for any other reason (not limited to patent issues),
|
|
Bernhard M. Wiedemann |
4a806f |
-conditions are imposed on you (whether by court order, agreement or
|
|
Bernhard M. Wiedemann |
4a806f |
-otherwise) that contradict the conditions of this License, they do not
|
|
Bernhard M. Wiedemann |
4a806f |
-excuse you from the conditions of this License. If you cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute so as to satisfy simultaneously your obligations under this
|
|
Bernhard M. Wiedemann |
4a806f |
-License and any other pertinent obligations, then as a consequence you
|
|
Bernhard M. Wiedemann |
4a806f |
-may not distribute the Program at all. For example, if a patent
|
|
Bernhard M. Wiedemann |
4a806f |
-license would not permit royalty-free redistribution of the Program by
|
|
Bernhard M. Wiedemann |
4a806f |
-all those who receive copies directly or indirectly through you, then
|
|
Bernhard M. Wiedemann |
4a806f |
-the only way you could satisfy both it and this License would be to
|
|
Bernhard M. Wiedemann |
4a806f |
-refrain entirely from distribution of the Program.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-If any portion of this section is held invalid or unenforceable under
|
|
Bernhard M. Wiedemann |
4a806f |
-any particular circumstance, the balance of the section is intended to
|
|
Bernhard M. Wiedemann |
4a806f |
-apply and the section as a whole is intended to apply in other
|
|
Bernhard M. Wiedemann |
4a806f |
-circumstances.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-It is not the purpose of this section to induce you to infringe any
|
|
Bernhard M. Wiedemann |
4a806f |
-patents or other property right claims or to contest validity of any
|
|
Bernhard M. Wiedemann |
4a806f |
-such claims; this section has the sole purpose of protecting the
|
|
Bernhard M. Wiedemann |
4a806f |
-integrity of the free software distribution system, which is
|
|
Bernhard M. Wiedemann |
4a806f |
-implemented by public license practices. Many people have made
|
|
Bernhard M. Wiedemann |
4a806f |
-generous contributions to the wide range of software distributed
|
|
Bernhard M. Wiedemann |
4a806f |
-through that system in reliance on consistent application of that
|
|
Bernhard M. Wiedemann |
4a806f |
-system; it is up to the author/donor to decide if he or she is willing
|
|
Bernhard M. Wiedemann |
4a806f |
-to distribute software through any other system and a licensee cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-impose that choice.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-This section is intended to make thoroughly clear what is believed to
|
|
Bernhard M. Wiedemann |
4a806f |
-be a consequence of the rest of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 8. If the distribution and/or use of the Program is restricted in
|
|
Bernhard M. Wiedemann |
4a806f |
-certain countries either by patents or by copyrighted interfaces, the
|
|
Bernhard M. Wiedemann |
4a806f |
-original copyright holder who places the Program under this License
|
|
Bernhard M. Wiedemann |
4a806f |
-may add an explicit geographical distribution limitation excluding
|
|
Bernhard M. Wiedemann |
4a806f |
-those countries, so that distribution is permitted only in or among
|
|
Bernhard M. Wiedemann |
4a806f |
-countries not thus excluded. In such case, this License incorporates
|
|
Bernhard M. Wiedemann |
4a806f |
-the limitation as if written in the body of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 9. The Free Software Foundation may publish revised and/or new versions
|
|
Bernhard M. Wiedemann |
4a806f |
-of the General Public License from time to time. Such new versions will
|
|
Bernhard M. Wiedemann |
4a806f |
-be similar in spirit to the present version, but may differ in detail to
|
|
Bernhard M. Wiedemann |
4a806f |
-address new problems or concerns.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Each version is given a distinguishing version number. If the Program
|
|
Bernhard M. Wiedemann |
4a806f |
-specifies a version number of this License which applies to it and "any
|
|
Bernhard M. Wiedemann |
4a806f |
-later version", you have the option of following the terms and conditions
|
|
Bernhard M. Wiedemann |
4a806f |
-either of that version or of any later version published by the Free
|
|
Bernhard M. Wiedemann |
4a806f |
-Software Foundation. If the Program does not specify a version number of
|
|
Bernhard M. Wiedemann |
4a806f |
-this License, you may choose any version ever published by the Free Software
|
|
Bernhard M. Wiedemann |
4a806f |
-Foundation.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 10. If you wish to incorporate parts of the Program into other free
|
|
Bernhard M. Wiedemann |
4a806f |
-programs whose distribution conditions are different, write to the author
|
|
Bernhard M. Wiedemann |
4a806f |
-to ask for permission. For software which is copyrighted by the Free
|
|
Bernhard M. Wiedemann |
4a806f |
-Software Foundation, write to the Free Software Foundation; we sometimes
|
|
Bernhard M. Wiedemann |
4a806f |
-make exceptions for this. Our decision will be guided by the two goals
|
|
Bernhard M. Wiedemann |
4a806f |
-of preserving the free status of all derivatives of our free software and
|
|
Bernhard M. Wiedemann |
4a806f |
-of promoting the sharing and reuse of software generally.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- NO WARRANTY
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
Bernhard M. Wiedemann |
4a806f |
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
Bernhard M. Wiedemann |
4a806f |
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
Bernhard M. Wiedemann |
4a806f |
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
Bernhard M. Wiedemann |
4a806f |
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
Bernhard M. Wiedemann |
4a806f |
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
Bernhard M. Wiedemann |
4a806f |
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
Bernhard M. Wiedemann |
4a806f |
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
Bernhard M. Wiedemann |
4a806f |
-REPAIR OR CORRECTION.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
Bernhard M. Wiedemann |
4a806f |
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
Bernhard M. Wiedemann |
4a806f |
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
Bernhard M. Wiedemann |
4a806f |
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
Bernhard M. Wiedemann |
4a806f |
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
Bernhard M. Wiedemann |
4a806f |
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
Bernhard M. Wiedemann |
4a806f |
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
Bernhard M. Wiedemann |
4a806f |
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
Bernhard M. Wiedemann |
4a806f |
-POSSIBILITY OF SUCH DAMAGES.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- END OF TERMS AND CONDITIONS
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- How to Apply These Terms to Your New Programs
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- If you develop a new program, and you want it to be of the greatest
|
|
Bernhard M. Wiedemann |
4a806f |
-possible use to the public, the best way to achieve this is to make it
|
|
Bernhard M. Wiedemann |
4a806f |
-free software which everyone can redistribute and change under these terms.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- To do so, attach the following notices to the program. It is safest
|
|
Bernhard M. Wiedemann |
4a806f |
-to attach them to the start of each source file to most effectively
|
|
Bernhard M. Wiedemann |
4a806f |
-convey the exclusion of warranty; and each file should have at least
|
|
Bernhard M. Wiedemann |
4a806f |
-the "copyright" line and a pointer to where the full notice is found.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- <one line to give the program's name and a brief idea of what it does.>
|
|
Bernhard M. Wiedemann |
4a806f |
- Copyright (C) <year> <name of author>
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This program is free software; you can redistribute it and/or modify
|
|
Bernhard M. Wiedemann |
4a806f |
- it under the terms of the GNU General Public License as published by
|
|
Bernhard M. Wiedemann |
4a806f |
- the Free Software Foundation; either version 2 of the License, or
|
|
Bernhard M. Wiedemann |
4a806f |
- (at your option) any later version.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This program is distributed in the hope that it will be useful,
|
|
Bernhard M. Wiedemann |
4a806f |
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Bernhard M. Wiedemann |
4a806f |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Bernhard M. Wiedemann |
4a806f |
- GNU General Public License for more details.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- You should have received a copy of the GNU General Public License along
|
|
Bernhard M. Wiedemann |
4a806f |
- with this program; if not, write to the Free Software Foundation, Inc.,
|
|
Bernhard M. Wiedemann |
4a806f |
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Also add information on how to contact you by electronic and paper mail.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-If the program is interactive, make it output a short notice like this
|
|
Bernhard M. Wiedemann |
4a806f |
-when it starts in an interactive mode:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Gnomovision version 69, Copyright (C) year name of author
|
|
Bernhard M. Wiedemann |
4a806f |
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
Bernhard M. Wiedemann |
4a806f |
- This is free software, and you are welcome to redistribute it
|
|
Bernhard M. Wiedemann |
4a806f |
- under certain conditions; type `show c' for details.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-The hypothetical commands `show w' and `show c' should show the appropriate
|
|
Bernhard M. Wiedemann |
4a806f |
-parts of the General Public License. Of course, the commands you use may
|
|
Bernhard M. Wiedemann |
4a806f |
-be called something other than `show w' and `show c'; they could even be
|
|
Bernhard M. Wiedemann |
4a806f |
-mouse-clicks or menu items--whatever suits your program.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-You should also get your employer (if you work as a programmer) or your
|
|
Bernhard M. Wiedemann |
4a806f |
-school, if any, to sign a "copyright disclaimer" for the program, if
|
|
Bernhard M. Wiedemann |
4a806f |
-necessary. Here is a sample; alter the names:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
|
Bernhard M. Wiedemann |
4a806f |
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- <signature of Ty Coon>, 1 April 1989
|
|
Bernhard M. Wiedemann |
4a806f |
- Ty Coon, President of Vice
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-This General Public License does not permit incorporating your program into
|
|
Bernhard M. Wiedemann |
4a806f |
-proprietary programs. If your program is a subroutine library, you may
|
|
Bernhard M. Wiedemann |
4a806f |
-consider it more useful to permit linking proprietary applications with the
|
|
Bernhard M. Wiedemann |
4a806f |
-library. If this is what you want to do, use the GNU Lesser General
|
|
Bernhard M. Wiedemann |
4a806f |
-Public License instead of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
diff --git a/LGPL-2.1 b/LGPL-2.1
|
|
Bernhard M. Wiedemann |
4a806f |
deleted file mode 100644
|
|
Bernhard M. Wiedemann |
4a806f |
index 4362b49..0000000
|
|
Bernhard M. Wiedemann |
4a806f |
--- a/LGPL-2.1
|
|
Bernhard M. Wiedemann |
4a806f |
+++ /dev/null
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -1,502 +0,0 @@
|
|
Bernhard M. Wiedemann |
4a806f |
- GNU LESSER GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
- Version 2.1, February 1999
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
|
Bernhard M. Wiedemann |
4a806f |
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Bernhard M. Wiedemann |
4a806f |
- Everyone is permitted to copy and distribute verbatim copies
|
|
Bernhard M. Wiedemann |
4a806f |
- of this license document, but changing it is not allowed.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-[This is the first released version of the Lesser GPL. It also counts
|
|
Bernhard M. Wiedemann |
4a806f |
- as the successor of the GNU Library Public License, version 2, hence
|
|
Bernhard M. Wiedemann |
4a806f |
- the version number 2.1.]
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Preamble
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- The licenses for most software are designed to take away your
|
|
Bernhard M. Wiedemann |
4a806f |
-freedom to share and change it. By contrast, the GNU General Public
|
|
Bernhard M. Wiedemann |
4a806f |
-Licenses are intended to guarantee your freedom to share and change
|
|
Bernhard M. Wiedemann |
4a806f |
-free software--to make sure the software is free for all its users.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This license, the Lesser General Public License, applies to some
|
|
Bernhard M. Wiedemann |
4a806f |
-specially designated software packages--typically libraries--of the
|
|
Bernhard M. Wiedemann |
4a806f |
-Free Software Foundation and other authors who decide to use it. You
|
|
Bernhard M. Wiedemann |
4a806f |
-can use it too, but we suggest you first think carefully about whether
|
|
Bernhard M. Wiedemann |
4a806f |
-this license or the ordinary General Public License is the better
|
|
Bernhard M. Wiedemann |
4a806f |
-strategy to use in any particular case, based on the explanations below.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- When we speak of free software, we are referring to freedom of use,
|
|
Bernhard M. Wiedemann |
4a806f |
-not price. Our General Public Licenses are designed to make sure that
|
|
Bernhard M. Wiedemann |
4a806f |
-you have the freedom to distribute copies of free software (and charge
|
|
Bernhard M. Wiedemann |
4a806f |
-for this service if you wish); that you receive source code or can get
|
|
Bernhard M. Wiedemann |
4a806f |
-it if you want it; that you can change the software and use pieces of
|
|
Bernhard M. Wiedemann |
4a806f |
-it in new free programs; and that you are informed that you can do
|
|
Bernhard M. Wiedemann |
4a806f |
-these things.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- To protect your rights, we need to make restrictions that forbid
|
|
Bernhard M. Wiedemann |
4a806f |
-distributors to deny you these rights or to ask you to surrender these
|
|
Bernhard M. Wiedemann |
4a806f |
-rights. These restrictions translate to certain responsibilities for
|
|
Bernhard M. Wiedemann |
4a806f |
-you if you distribute copies of the library or if you modify it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- For example, if you distribute copies of the library, whether gratis
|
|
Bernhard M. Wiedemann |
4a806f |
-or for a fee, you must give the recipients all the rights that we gave
|
|
Bernhard M. Wiedemann |
4a806f |
-you. You must make sure that they, too, receive or can get the source
|
|
Bernhard M. Wiedemann |
4a806f |
-code. If you link other code with the library, you must provide
|
|
Bernhard M. Wiedemann |
4a806f |
-complete object files to the recipients, so that they can relink them
|
|
Bernhard M. Wiedemann |
4a806f |
-with the library after making changes to the library and recompiling
|
|
Bernhard M. Wiedemann |
4a806f |
-it. And you must show them these terms so they know their rights.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- We protect your rights with a two-step method: (1) we copyright the
|
|
Bernhard M. Wiedemann |
4a806f |
-library, and (2) we offer you this license, which gives you legal
|
|
Bernhard M. Wiedemann |
4a806f |
-permission to copy, distribute and/or modify the library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- To protect each distributor, we want to make it very clear that
|
|
Bernhard M. Wiedemann |
4a806f |
-there is no warranty for the free library. Also, if the library is
|
|
Bernhard M. Wiedemann |
4a806f |
-modified by someone else and passed on, the recipients should know
|
|
Bernhard M. Wiedemann |
4a806f |
-that what they have is not the original version, so that the original
|
|
Bernhard M. Wiedemann |
4a806f |
-author's reputation will not be affected by problems that might be
|
|
Bernhard M. Wiedemann |
4a806f |
-introduced by others.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Finally, software patents pose a constant threat to the existence of
|
|
Bernhard M. Wiedemann |
4a806f |
-any free program. We wish to make sure that a company cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-effectively restrict the users of a free program by obtaining a
|
|
Bernhard M. Wiedemann |
4a806f |
-restrictive license from a patent holder. Therefore, we insist that
|
|
Bernhard M. Wiedemann |
4a806f |
-any patent license obtained for a version of the library must be
|
|
Bernhard M. Wiedemann |
4a806f |
-consistent with the full freedom of use specified in this license.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Most GNU software, including some libraries, is covered by the
|
|
Bernhard M. Wiedemann |
4a806f |
-ordinary GNU General Public License. This license, the GNU Lesser
|
|
Bernhard M. Wiedemann |
4a806f |
-General Public License, applies to certain designated libraries, and
|
|
Bernhard M. Wiedemann |
4a806f |
-is quite different from the ordinary General Public License. We use
|
|
Bernhard M. Wiedemann |
4a806f |
-this license for certain libraries in order to permit linking those
|
|
Bernhard M. Wiedemann |
4a806f |
-libraries into non-free programs.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- When a program is linked with a library, whether statically or using
|
|
Bernhard M. Wiedemann |
4a806f |
-a shared library, the combination of the two is legally speaking a
|
|
Bernhard M. Wiedemann |
4a806f |
-combined work, a derivative of the original library. The ordinary
|
|
Bernhard M. Wiedemann |
4a806f |
-General Public License therefore permits such linking only if the
|
|
Bernhard M. Wiedemann |
4a806f |
-entire combination fits its criteria of freedom. The Lesser General
|
|
Bernhard M. Wiedemann |
4a806f |
-Public License permits more lax criteria for linking other code with
|
|
Bernhard M. Wiedemann |
4a806f |
-the library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- We call this license the "Lesser" General Public License because it
|
|
Bernhard M. Wiedemann |
4a806f |
-does Less to protect the user's freedom than the ordinary General
|
|
Bernhard M. Wiedemann |
4a806f |
-Public License. It also provides other free software developers Less
|
|
Bernhard M. Wiedemann |
4a806f |
-of an advantage over competing non-free programs. These disadvantages
|
|
Bernhard M. Wiedemann |
4a806f |
-are the reason we use the ordinary General Public License for many
|
|
Bernhard M. Wiedemann |
4a806f |
-libraries. However, the Lesser license provides advantages in certain
|
|
Bernhard M. Wiedemann |
4a806f |
-special circumstances.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- For example, on rare occasions, there may be a special need to
|
|
Bernhard M. Wiedemann |
4a806f |
-encourage the widest possible use of a certain library, so that it becomes
|
|
Bernhard M. Wiedemann |
4a806f |
-a de-facto standard. To achieve this, non-free programs must be
|
|
Bernhard M. Wiedemann |
4a806f |
-allowed to use the library. A more frequent case is that a free
|
|
Bernhard M. Wiedemann |
4a806f |
-library does the same job as widely used non-free libraries. In this
|
|
Bernhard M. Wiedemann |
4a806f |
-case, there is little to gain by limiting the free library to free
|
|
Bernhard M. Wiedemann |
4a806f |
-software only, so we use the Lesser General Public License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- In other cases, permission to use a particular library in non-free
|
|
Bernhard M. Wiedemann |
4a806f |
-programs enables a greater number of people to use a large body of
|
|
Bernhard M. Wiedemann |
4a806f |
-free software. For example, permission to use the GNU C Library in
|
|
Bernhard M. Wiedemann |
4a806f |
-non-free programs enables many more people to use the whole GNU
|
|
Bernhard M. Wiedemann |
4a806f |
-operating system, as well as its variant, the GNU/Linux operating
|
|
Bernhard M. Wiedemann |
4a806f |
-system.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Although the Lesser General Public License is Less protective of the
|
|
Bernhard M. Wiedemann |
4a806f |
-users' freedom, it does ensure that the user of a program that is
|
|
Bernhard M. Wiedemann |
4a806f |
-linked with the Library has the freedom and the wherewithal to run
|
|
Bernhard M. Wiedemann |
4a806f |
-that program using a modified version of the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- The precise terms and conditions for copying, distribution and
|
|
Bernhard M. Wiedemann |
4a806f |
-modification follow. Pay close attention to the difference between a
|
|
Bernhard M. Wiedemann |
4a806f |
-"work based on the library" and a "work that uses the library". The
|
|
Bernhard M. Wiedemann |
4a806f |
-former contains code derived from the library, whereas the latter must
|
|
Bernhard M. Wiedemann |
4a806f |
-be combined with the library in order to run.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- GNU LESSER GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 0. This License Agreement applies to any software library or other
|
|
Bernhard M. Wiedemann |
4a806f |
-program which contains a notice placed by the copyright holder or
|
|
Bernhard M. Wiedemann |
4a806f |
-other authorized party saying it may be distributed under the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
-this Lesser General Public License (also called "this License").
|
|
Bernhard M. Wiedemann |
4a806f |
-Each licensee is addressed as "you".
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- A "library" means a collection of software functions and/or data
|
|
Bernhard M. Wiedemann |
4a806f |
-prepared so as to be conveniently linked with application programs
|
|
Bernhard M. Wiedemann |
4a806f |
-(which use some of those functions and data) to form executables.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- The "Library", below, refers to any such software library or work
|
|
Bernhard M. Wiedemann |
4a806f |
-which has been distributed under these terms. A "work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library" means either the Library or any derivative work under
|
|
Bernhard M. Wiedemann |
4a806f |
-copyright law: that is to say, a work containing the Library or a
|
|
Bernhard M. Wiedemann |
4a806f |
-portion of it, either verbatim or with modifications and/or translated
|
|
Bernhard M. Wiedemann |
4a806f |
-straightforwardly into another language. (Hereinafter, translation is
|
|
Bernhard M. Wiedemann |
4a806f |
-included without limitation in the term "modification".)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- "Source code" for a work means the preferred form of the work for
|
|
Bernhard M. Wiedemann |
4a806f |
-making modifications to it. For a library, complete source code means
|
|
Bernhard M. Wiedemann |
4a806f |
-all the source code for all modules it contains, plus any associated
|
|
Bernhard M. Wiedemann |
4a806f |
-interface definition files, plus the scripts used to control compilation
|
|
Bernhard M. Wiedemann |
4a806f |
-and installation of the library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Activities other than copying, distribution and modification are not
|
|
Bernhard M. Wiedemann |
4a806f |
-covered by this License; they are outside its scope. The act of
|
|
Bernhard M. Wiedemann |
4a806f |
-running a program using the Library is not restricted, and output from
|
|
Bernhard M. Wiedemann |
4a806f |
-such a program is covered only if its contents constitute a work based
|
|
Bernhard M. Wiedemann |
4a806f |
-on the Library (independent of the use of the Library in a tool for
|
|
Bernhard M. Wiedemann |
4a806f |
-writing it). Whether that is true depends on what the Library does
|
|
Bernhard M. Wiedemann |
4a806f |
-and what the program that uses the Library does.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 1. You may copy and distribute verbatim copies of the Library's
|
|
Bernhard M. Wiedemann |
4a806f |
-complete source code as you receive it, in any medium, provided that
|
|
Bernhard M. Wiedemann |
4a806f |
-you conspicuously and appropriately publish on each copy an
|
|
Bernhard M. Wiedemann |
4a806f |
-appropriate copyright notice and disclaimer of warranty; keep intact
|
|
Bernhard M. Wiedemann |
4a806f |
-all the notices that refer to this License and to the absence of any
|
|
Bernhard M. Wiedemann |
4a806f |
-warranty; and distribute a copy of this License along with the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- You may charge a fee for the physical act of transferring a copy,
|
|
Bernhard M. Wiedemann |
4a806f |
-and you may at your option offer warranty protection in exchange for a
|
|
Bernhard M. Wiedemann |
4a806f |
-fee.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 2. You may modify your copy or copies of the Library or any portion
|
|
Bernhard M. Wiedemann |
4a806f |
-of it, thus forming a work based on the Library, and copy and
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute such modifications or work under the terms of Section 1
|
|
Bernhard M. Wiedemann |
4a806f |
-above, provided that you also meet all of these conditions:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- a) The modified work must itself be a software library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- b) You must cause the files modified to carry prominent notices
|
|
Bernhard M. Wiedemann |
4a806f |
- stating that you changed the files and the date of any change.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- c) You must cause the whole of the work to be licensed at no
|
|
Bernhard M. Wiedemann |
4a806f |
- charge to all third parties under the terms of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- d) If a facility in the modified Library refers to a function or a
|
|
Bernhard M. Wiedemann |
4a806f |
- table of data to be supplied by an application program that uses
|
|
Bernhard M. Wiedemann |
4a806f |
- the facility, other than as an argument passed when the facility
|
|
Bernhard M. Wiedemann |
4a806f |
- is invoked, then you must make a good faith effort to ensure that,
|
|
Bernhard M. Wiedemann |
4a806f |
- in the event an application does not supply such function or
|
|
Bernhard M. Wiedemann |
4a806f |
- table, the facility still operates, and performs whatever part of
|
|
Bernhard M. Wiedemann |
4a806f |
- its purpose remains meaningful.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- (For example, a function in a library to compute square roots has
|
|
Bernhard M. Wiedemann |
4a806f |
- a purpose that is entirely well-defined independent of the
|
|
Bernhard M. Wiedemann |
4a806f |
- application. Therefore, Subsection 2d requires that any
|
|
Bernhard M. Wiedemann |
4a806f |
- application-supplied function or table used by this function must
|
|
Bernhard M. Wiedemann |
4a806f |
- be optional: if the application does not supply it, the square
|
|
Bernhard M. Wiedemann |
4a806f |
- root function must still compute square roots.)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-These requirements apply to the modified work as a whole. If
|
|
Bernhard M. Wiedemann |
4a806f |
-identifiable sections of that work are not derived from the Library,
|
|
Bernhard M. Wiedemann |
4a806f |
-and can be reasonably considered independent and separate works in
|
|
Bernhard M. Wiedemann |
4a806f |
-themselves, then this License, and its terms, do not apply to those
|
|
Bernhard M. Wiedemann |
4a806f |
-sections when you distribute them as separate works. But when you
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the same sections as part of a whole which is a work based
|
|
Bernhard M. Wiedemann |
4a806f |
-on the Library, the distribution of the whole must be on the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
-this License, whose permissions for other licensees extend to the
|
|
Bernhard M. Wiedemann |
4a806f |
-entire whole, and thus to each and every part regardless of who wrote
|
|
Bernhard M. Wiedemann |
4a806f |
-it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Thus, it is not the intent of this section to claim rights or contest
|
|
Bernhard M. Wiedemann |
4a806f |
-your rights to work written entirely by you; rather, the intent is to
|
|
Bernhard M. Wiedemann |
4a806f |
-exercise the right to control the distribution of derivative or
|
|
Bernhard M. Wiedemann |
4a806f |
-collective works based on the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-In addition, mere aggregation of another work not based on the Library
|
|
Bernhard M. Wiedemann |
4a806f |
-with the Library (or with a work based on the Library) on a volume of
|
|
Bernhard M. Wiedemann |
4a806f |
-a storage or distribution medium does not bring the other work under
|
|
Bernhard M. Wiedemann |
4a806f |
-the scope of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 3. You may opt to apply the terms of the ordinary GNU General Public
|
|
Bernhard M. Wiedemann |
4a806f |
-License instead of this License to a given copy of the Library. To do
|
|
Bernhard M. Wiedemann |
4a806f |
-this, you must alter all the notices that refer to this License, so
|
|
Bernhard M. Wiedemann |
4a806f |
-that they refer to the ordinary GNU General Public License, version 2,
|
|
Bernhard M. Wiedemann |
4a806f |
-instead of to this License. (If a newer version than version 2 of the
|
|
Bernhard M. Wiedemann |
4a806f |
-ordinary GNU General Public License has appeared, then you can specify
|
|
Bernhard M. Wiedemann |
4a806f |
-that version instead if you wish.) Do not make any other change in
|
|
Bernhard M. Wiedemann |
4a806f |
-these notices.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Once this change is made in a given copy, it is irreversible for
|
|
Bernhard M. Wiedemann |
4a806f |
-that copy, so the ordinary GNU General Public License applies to all
|
|
Bernhard M. Wiedemann |
4a806f |
-subsequent copies and derivative works made from that copy.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This option is useful when you wish to copy part of the code of
|
|
Bernhard M. Wiedemann |
4a806f |
-the Library into a program that is not a library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 4. You may copy and distribute the Library (or a portion or
|
|
Bernhard M. Wiedemann |
4a806f |
-derivative of it, under Section 2) in object code or executable form
|
|
Bernhard M. Wiedemann |
4a806f |
-under the terms of Sections 1 and 2 above provided that you accompany
|
|
Bernhard M. Wiedemann |
4a806f |
-it with the complete corresponding machine-readable source code, which
|
|
Bernhard M. Wiedemann |
4a806f |
-must be distributed under the terms of Sections 1 and 2 above on a
|
|
Bernhard M. Wiedemann |
4a806f |
-medium customarily used for software interchange.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- If distribution of object code is made by offering access to copy
|
|
Bernhard M. Wiedemann |
4a806f |
-from a designated place, then offering equivalent access to copy the
|
|
Bernhard M. Wiedemann |
4a806f |
-source code from the same place satisfies the requirement to
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the source code, even though third parties are not
|
|
Bernhard M. Wiedemann |
4a806f |
-compelled to copy the source along with the object code.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 5. A program that contains no derivative of any portion of the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library, but is designed to work with the Library by being compiled or
|
|
Bernhard M. Wiedemann |
4a806f |
-linked with it, is called a "work that uses the Library". Such a
|
|
Bernhard M. Wiedemann |
4a806f |
-work, in isolation, is not a derivative work of the Library, and
|
|
Bernhard M. Wiedemann |
4a806f |
-therefore falls outside the scope of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- However, linking a "work that uses the Library" with the Library
|
|
Bernhard M. Wiedemann |
4a806f |
-creates an executable that is a derivative of the Library (because it
|
|
Bernhard M. Wiedemann |
4a806f |
-contains portions of the Library), rather than a "work that uses the
|
|
Bernhard M. Wiedemann |
4a806f |
-library". The executable is therefore covered by this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-Section 6 states terms for distribution of such executables.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- When a "work that uses the Library" uses material from a header file
|
|
Bernhard M. Wiedemann |
4a806f |
-that is part of the Library, the object code for the work may be a
|
|
Bernhard M. Wiedemann |
4a806f |
-derivative work of the Library even though the source code is not.
|
|
Bernhard M. Wiedemann |
4a806f |
-Whether this is true is especially significant if the work can be
|
|
Bernhard M. Wiedemann |
4a806f |
-linked without the Library, or if the work is itself a library. The
|
|
Bernhard M. Wiedemann |
4a806f |
-threshold for this to be true is not precisely defined by law.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- If such an object file uses only numerical parameters, data
|
|
Bernhard M. Wiedemann |
4a806f |
-structure layouts and accessors, and small macros and small inline
|
|
Bernhard M. Wiedemann |
4a806f |
-functions (ten lines or less in length), then the use of the object
|
|
Bernhard M. Wiedemann |
4a806f |
-file is unrestricted, regardless of whether it is legally a derivative
|
|
Bernhard M. Wiedemann |
4a806f |
-work. (Executables containing this object code plus portions of the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library will still fall under Section 6.)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Otherwise, if the work is a derivative of the Library, you may
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the object code for the work under the terms of Section 6.
|
|
Bernhard M. Wiedemann |
4a806f |
-Any executables containing that work also fall under Section 6,
|
|
Bernhard M. Wiedemann |
4a806f |
-whether or not they are linked directly with the Library itself.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 6. As an exception to the Sections above, you may also combine or
|
|
Bernhard M. Wiedemann |
4a806f |
-link a "work that uses the Library" with the Library to produce a
|
|
Bernhard M. Wiedemann |
4a806f |
-work containing portions of the Library, and distribute that work
|
|
Bernhard M. Wiedemann |
4a806f |
-under terms of your choice, provided that the terms permit
|
|
Bernhard M. Wiedemann |
4a806f |
-modification of the work for the customer's own use and reverse
|
|
Bernhard M. Wiedemann |
4a806f |
-engineering for debugging such modifications.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- You must give prominent notice with each copy of the work that the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library is used in it and that the Library and its use are covered by
|
|
Bernhard M. Wiedemann |
4a806f |
-this License. You must supply a copy of this License. If the work
|
|
Bernhard M. Wiedemann |
4a806f |
-during execution displays copyright notices, you must include the
|
|
Bernhard M. Wiedemann |
4a806f |
-copyright notice for the Library among them, as well as a reference
|
|
Bernhard M. Wiedemann |
4a806f |
-directing the user to the copy of this License. Also, you must do one
|
|
Bernhard M. Wiedemann |
4a806f |
-of these things:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- a) Accompany the work with the complete corresponding
|
|
Bernhard M. Wiedemann |
4a806f |
- machine-readable source code for the Library including whatever
|
|
Bernhard M. Wiedemann |
4a806f |
- changes were used in the work (which must be distributed under
|
|
Bernhard M. Wiedemann |
4a806f |
- Sections 1 and 2 above); and, if the work is an executable linked
|
|
Bernhard M. Wiedemann |
4a806f |
- with the Library, with the complete machine-readable "work that
|
|
Bernhard M. Wiedemann |
4a806f |
- uses the Library", as object code and/or source code, so that the
|
|
Bernhard M. Wiedemann |
4a806f |
- user can modify the Library and then relink to produce a modified
|
|
Bernhard M. Wiedemann |
4a806f |
- executable containing the modified Library. (It is understood
|
|
Bernhard M. Wiedemann |
4a806f |
- that the user who changes the contents of definitions files in the
|
|
Bernhard M. Wiedemann |
4a806f |
- Library will not necessarily be able to recompile the application
|
|
Bernhard M. Wiedemann |
4a806f |
- to use the modified definitions.)
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- b) Use a suitable shared library mechanism for linking with the
|
|
Bernhard M. Wiedemann |
4a806f |
- Library. A suitable mechanism is one that (1) uses at run time a
|
|
Bernhard M. Wiedemann |
4a806f |
- copy of the library already present on the user's computer system,
|
|
Bernhard M. Wiedemann |
4a806f |
- rather than copying library functions into the executable, and (2)
|
|
Bernhard M. Wiedemann |
4a806f |
- will operate properly with a modified version of the library, if
|
|
Bernhard M. Wiedemann |
4a806f |
- the user installs one, as long as the modified version is
|
|
Bernhard M. Wiedemann |
4a806f |
- interface-compatible with the version that the work was made with.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- c) Accompany the work with a written offer, valid for at
|
|
Bernhard M. Wiedemann |
4a806f |
- least three years, to give the same user the materials
|
|
Bernhard M. Wiedemann |
4a806f |
- specified in Subsection 6a, above, for a charge no more
|
|
Bernhard M. Wiedemann |
4a806f |
- than the cost of performing this distribution.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- d) If distribution of the work is made by offering access to copy
|
|
Bernhard M. Wiedemann |
4a806f |
- from a designated place, offer equivalent access to copy the above
|
|
Bernhard M. Wiedemann |
4a806f |
- specified materials from the same place.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- e) Verify that the user has already received a copy of these
|
|
Bernhard M. Wiedemann |
4a806f |
- materials or that you have already sent this user a copy.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- For an executable, the required form of the "work that uses the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library" must include any data and utility programs needed for
|
|
Bernhard M. Wiedemann |
4a806f |
-reproducing the executable from it. However, as a special exception,
|
|
Bernhard M. Wiedemann |
4a806f |
-the materials to be distributed need not include anything that is
|
|
Bernhard M. Wiedemann |
4a806f |
-normally distributed (in either source or binary form) with the major
|
|
Bernhard M. Wiedemann |
4a806f |
-components (compiler, kernel, and so on) of the operating system on
|
|
Bernhard M. Wiedemann |
4a806f |
-which the executable runs, unless that component itself accompanies
|
|
Bernhard M. Wiedemann |
4a806f |
-the executable.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- It may happen that this requirement contradicts the license
|
|
Bernhard M. Wiedemann |
4a806f |
-restrictions of other proprietary libraries that do not normally
|
|
Bernhard M. Wiedemann |
4a806f |
-accompany the operating system. Such a contradiction means you cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-use both them and the Library together in an executable that you
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 7. You may place library facilities that are a work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library side-by-side in a single library together with other library
|
|
Bernhard M. Wiedemann |
4a806f |
-facilities not covered by this License, and distribute such a combined
|
|
Bernhard M. Wiedemann |
4a806f |
-library, provided that the separate distribution of the work based on
|
|
Bernhard M. Wiedemann |
4a806f |
-the Library and of the other library facilities is otherwise
|
|
Bernhard M. Wiedemann |
4a806f |
-permitted, and provided that you do these two things:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- a) Accompany the combined library with a copy of the same work
|
|
Bernhard M. Wiedemann |
4a806f |
- based on the Library, uncombined with any other library
|
|
Bernhard M. Wiedemann |
4a806f |
- facilities. This must be distributed under the terms of the
|
|
Bernhard M. Wiedemann |
4a806f |
- Sections above.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- b) Give prominent notice with the combined library of the fact
|
|
Bernhard M. Wiedemann |
4a806f |
- that part of it is a work based on the Library, and explaining
|
|
Bernhard M. Wiedemann |
4a806f |
- where to find the accompanying uncombined form of the same work.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 8. You may not copy, modify, sublicense, link with, or distribute
|
|
Bernhard M. Wiedemann |
4a806f |
-the Library except as expressly provided under this License. Any
|
|
Bernhard M. Wiedemann |
4a806f |
-attempt otherwise to copy, modify, sublicense, link with, or
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the Library is void, and will automatically terminate your
|
|
Bernhard M. Wiedemann |
4a806f |
-rights under this License. However, parties who have received copies,
|
|
Bernhard M. Wiedemann |
4a806f |
-or rights, from you under this License will not have their licenses
|
|
Bernhard M. Wiedemann |
4a806f |
-terminated so long as such parties remain in full compliance.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 9. You are not required to accept this License, since you have not
|
|
Bernhard M. Wiedemann |
4a806f |
-signed it. However, nothing else grants you permission to modify or
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute the Library or its derivative works. These actions are
|
|
Bernhard M. Wiedemann |
4a806f |
-prohibited by law if you do not accept this License. Therefore, by
|
|
Bernhard M. Wiedemann |
4a806f |
-modifying or distributing the Library (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library), you indicate your acceptance of this License to do so, and
|
|
Bernhard M. Wiedemann |
4a806f |
-all its terms and conditions for copying, distributing or modifying
|
|
Bernhard M. Wiedemann |
4a806f |
-the Library or works based on it.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 10. Each time you redistribute the Library (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
-Library), the recipient automatically receives a license from the
|
|
Bernhard M. Wiedemann |
4a806f |
-original licensor to copy, distribute, link with or modify the Library
|
|
Bernhard M. Wiedemann |
4a806f |
-subject to these terms and conditions. You may not impose any further
|
|
Bernhard M. Wiedemann |
4a806f |
-restrictions on the recipients' exercise of the rights granted herein.
|
|
Bernhard M. Wiedemann |
4a806f |
-You are not responsible for enforcing compliance by third parties with
|
|
Bernhard M. Wiedemann |
4a806f |
-this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 11. If, as a consequence of a court judgment or allegation of patent
|
|
Bernhard M. Wiedemann |
4a806f |
-infringement or for any other reason (not limited to patent issues),
|
|
Bernhard M. Wiedemann |
4a806f |
-conditions are imposed on you (whether by court order, agreement or
|
|
Bernhard M. Wiedemann |
4a806f |
-otherwise) that contradict the conditions of this License, they do not
|
|
Bernhard M. Wiedemann |
4a806f |
-excuse you from the conditions of this License. If you cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-distribute so as to satisfy simultaneously your obligations under this
|
|
Bernhard M. Wiedemann |
4a806f |
-License and any other pertinent obligations, then as a consequence you
|
|
Bernhard M. Wiedemann |
4a806f |
-may not distribute the Library at all. For example, if a patent
|
|
Bernhard M. Wiedemann |
4a806f |
-license would not permit royalty-free redistribution of the Library by
|
|
Bernhard M. Wiedemann |
4a806f |
-all those who receive copies directly or indirectly through you, then
|
|
Bernhard M. Wiedemann |
4a806f |
-the only way you could satisfy both it and this License would be to
|
|
Bernhard M. Wiedemann |
4a806f |
-refrain entirely from distribution of the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-If any portion of this section is held invalid or unenforceable under any
|
|
Bernhard M. Wiedemann |
4a806f |
-particular circumstance, the balance of the section is intended to apply,
|
|
Bernhard M. Wiedemann |
4a806f |
-and the section as a whole is intended to apply in other circumstances.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-It is not the purpose of this section to induce you to infringe any
|
|
Bernhard M. Wiedemann |
4a806f |
-patents or other property right claims or to contest validity of any
|
|
Bernhard M. Wiedemann |
4a806f |
-such claims; this section has the sole purpose of protecting the
|
|
Bernhard M. Wiedemann |
4a806f |
-integrity of the free software distribution system which is
|
|
Bernhard M. Wiedemann |
4a806f |
-implemented by public license practices. Many people have made
|
|
Bernhard M. Wiedemann |
4a806f |
-generous contributions to the wide range of software distributed
|
|
Bernhard M. Wiedemann |
4a806f |
-through that system in reliance on consistent application of that
|
|
Bernhard M. Wiedemann |
4a806f |
-system; it is up to the author/donor to decide if he or she is willing
|
|
Bernhard M. Wiedemann |
4a806f |
-to distribute software through any other system and a licensee cannot
|
|
Bernhard M. Wiedemann |
4a806f |
-impose that choice.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-This section is intended to make thoroughly clear what is believed to
|
|
Bernhard M. Wiedemann |
4a806f |
-be a consequence of the rest of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 12. If the distribution and/or use of the Library is restricted in
|
|
Bernhard M. Wiedemann |
4a806f |
-certain countries either by patents or by copyrighted interfaces, the
|
|
Bernhard M. Wiedemann |
4a806f |
-original copyright holder who places the Library under this License may add
|
|
Bernhard M. Wiedemann |
4a806f |
-an explicit geographical distribution limitation excluding those countries,
|
|
Bernhard M. Wiedemann |
4a806f |
-so that distribution is permitted only in or among countries not thus
|
|
Bernhard M. Wiedemann |
4a806f |
-excluded. In such case, this License incorporates the limitation as if
|
|
Bernhard M. Wiedemann |
4a806f |
-written in the body of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 13. The Free Software Foundation may publish revised and/or new
|
|
Bernhard M. Wiedemann |
4a806f |
-versions of the Lesser General Public License from time to time.
|
|
Bernhard M. Wiedemann |
4a806f |
-Such new versions will be similar in spirit to the present version,
|
|
Bernhard M. Wiedemann |
4a806f |
-but may differ in detail to address new problems or concerns.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Each version is given a distinguishing version number. If the Library
|
|
Bernhard M. Wiedemann |
4a806f |
-specifies a version number of this License which applies to it and
|
|
Bernhard M. Wiedemann |
4a806f |
-"any later version", you have the option of following the terms and
|
|
Bernhard M. Wiedemann |
4a806f |
-conditions either of that version or of any later version published by
|
|
Bernhard M. Wiedemann |
4a806f |
-the Free Software Foundation. If the Library does not specify a
|
|
Bernhard M. Wiedemann |
4a806f |
-license version number, you may choose any version ever published by
|
|
Bernhard M. Wiedemann |
4a806f |
-the Free Software Foundation.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 14. If you wish to incorporate parts of the Library into other free
|
|
Bernhard M. Wiedemann |
4a806f |
-programs whose distribution conditions are incompatible with these,
|
|
Bernhard M. Wiedemann |
4a806f |
-write to the author to ask for permission. For software which is
|
|
Bernhard M. Wiedemann |
4a806f |
-copyrighted by the Free Software Foundation, write to the Free
|
|
Bernhard M. Wiedemann |
4a806f |
-Software Foundation; we sometimes make exceptions for this. Our
|
|
Bernhard M. Wiedemann |
4a806f |
-decision will be guided by the two goals of preserving the free status
|
|
Bernhard M. Wiedemann |
4a806f |
-of all derivatives of our free software and of promoting the sharing
|
|
Bernhard M. Wiedemann |
4a806f |
-and reuse of software generally.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- NO WARRANTY
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
|
Bernhard M. Wiedemann |
4a806f |
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
|
Bernhard M. Wiedemann |
4a806f |
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
|
Bernhard M. Wiedemann |
4a806f |
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
|
Bernhard M. Wiedemann |
4a806f |
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Bernhard M. Wiedemann |
4a806f |
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
Bernhard M. Wiedemann |
4a806f |
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
|
Bernhard M. Wiedemann |
4a806f |
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
|
Bernhard M. Wiedemann |
4a806f |
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
|
Bernhard M. Wiedemann |
4a806f |
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
|
Bernhard M. Wiedemann |
4a806f |
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
|
Bernhard M. Wiedemann |
4a806f |
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
|
Bernhard M. Wiedemann |
4a806f |
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
|
Bernhard M. Wiedemann |
4a806f |
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
|
Bernhard M. Wiedemann |
4a806f |
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
|
Bernhard M. Wiedemann |
4a806f |
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
|
Bernhard M. Wiedemann |
4a806f |
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
Bernhard M. Wiedemann |
4a806f |
-DAMAGES.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- END OF TERMS AND CONDITIONS
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- How to Apply These Terms to Your New Libraries
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- If you develop a new library, and you want it to be of the greatest
|
|
Bernhard M. Wiedemann |
4a806f |
-possible use to the public, we recommend making it free software that
|
|
Bernhard M. Wiedemann |
4a806f |
-everyone can redistribute and change. You can do so by permitting
|
|
Bernhard M. Wiedemann |
4a806f |
-redistribution under these terms (or, alternatively, under the terms of the
|
|
Bernhard M. Wiedemann |
4a806f |
-ordinary General Public License).
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- To apply these terms, attach the following notices to the library. It is
|
|
Bernhard M. Wiedemann |
4a806f |
-safest to attach them to the start of each source file to most effectively
|
|
Bernhard M. Wiedemann |
4a806f |
-convey the exclusion of warranty; and each file should have at least the
|
|
Bernhard M. Wiedemann |
4a806f |
-"copyright" line and a pointer to where the full notice is found.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- <one line to give the library's name and a brief idea of what it does.>
|
|
Bernhard M. Wiedemann |
4a806f |
- Copyright (C) <year> <name of author>
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This library is free software; you can redistribute it and/or
|
|
Bernhard M. Wiedemann |
4a806f |
- modify it under the terms of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
- License as published by the Free Software Foundation; either
|
|
Bernhard M. Wiedemann |
4a806f |
- version 2.1 of the License, or (at your option) any later version.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- This library is distributed in the hope that it will be useful,
|
|
Bernhard M. Wiedemann |
4a806f |
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Bernhard M. Wiedemann |
4a806f |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Bernhard M. Wiedemann |
4a806f |
- Lesser General Public License for more details.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- You should have received a copy of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
- License along with this library; if not, write to the Free Software
|
|
Bernhard M. Wiedemann |
4a806f |
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-Also add information on how to contact you by electronic and paper mail.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-You should also get your employer (if you work as a programmer) or your
|
|
Bernhard M. Wiedemann |
4a806f |
-school, if any, to sign a "copyright disclaimer" for the library, if
|
|
Bernhard M. Wiedemann |
4a806f |
-necessary. Here is a sample; alter the names:
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
|
Bernhard M. Wiedemann |
4a806f |
- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
- <signature of Ty Coon>, 1 April 1990
|
|
Bernhard M. Wiedemann |
4a806f |
- Ty Coon, President of Vice
|
|
Bernhard M. Wiedemann |
4a806f |
-
|
|
Bernhard M. Wiedemann |
4a806f |
-That's all there is to it!
|
|
Bernhard M. Wiedemann |
4a806f |
diff --git a/LICENSE b/LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
index 1cecbb7..89ff95a 100644
|
|
Bernhard M. Wiedemann |
4a806f |
--- a/LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
+++ b/LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -1,3 +1,504 @@
|
|
Bernhard M. Wiedemann |
4a806f |
-This program is free software. You may use, redistribute and/or modify it
|
|
Bernhard M. Wiedemann |
4a806f |
-under the terms of either the GNU General Public License v2.0+ or the GNU
|
|
Bernhard M. Wiedemann |
4a806f |
-Lesser General Public License v2.1+.
|
|
Bernhard M. Wiedemann |
4a806f |
+ GNU LESSER GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
+ Version 2.1, February 1999
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
|
Bernhard M. Wiedemann |
4a806f |
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Bernhard M. Wiedemann |
4a806f |
+ Everyone is permitted to copy and distribute verbatim copies
|
|
Bernhard M. Wiedemann |
4a806f |
+ of this license document, but changing it is not allowed.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+[This is the first released version of the Lesser GPL. It also counts
|
|
Bernhard M. Wiedemann |
4a806f |
+ as the successor of the GNU Library Public License, version 2, hence
|
|
Bernhard M. Wiedemann |
4a806f |
+ the version number 2.1.]
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Preamble
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ The licenses for most software are designed to take away your
|
|
Bernhard M. Wiedemann |
4a806f |
+freedom to share and change it. By contrast, the GNU General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+Licenses are intended to guarantee your freedom to share and change
|
|
Bernhard M. Wiedemann |
4a806f |
+free software--to make sure the software is free for all its users.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ This license, the Lesser General Public License, applies to some
|
|
Bernhard M. Wiedemann |
4a806f |
+specially designated software packages--typically libraries--of the
|
|
Bernhard M. Wiedemann |
4a806f |
+Free Software Foundation and other authors who decide to use it. You
|
|
Bernhard M. Wiedemann |
4a806f |
+can use it too, but we suggest you first think carefully about whether
|
|
Bernhard M. Wiedemann |
4a806f |
+this license or the ordinary General Public License is the better
|
|
Bernhard M. Wiedemann |
4a806f |
+strategy to use in any particular case, based on the explanations below.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ When we speak of free software, we are referring to freedom of use,
|
|
Bernhard M. Wiedemann |
4a806f |
+not price. Our General Public Licenses are designed to make sure that
|
|
Bernhard M. Wiedemann |
4a806f |
+you have the freedom to distribute copies of free software (and charge
|
|
Bernhard M. Wiedemann |
4a806f |
+for this service if you wish); that you receive source code or can get
|
|
Bernhard M. Wiedemann |
4a806f |
+it if you want it; that you can change the software and use pieces of
|
|
Bernhard M. Wiedemann |
4a806f |
+it in new free programs; and that you are informed that you can do
|
|
Bernhard M. Wiedemann |
4a806f |
+these things.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ To protect your rights, we need to make restrictions that forbid
|
|
Bernhard M. Wiedemann |
4a806f |
+distributors to deny you these rights or to ask you to surrender these
|
|
Bernhard M. Wiedemann |
4a806f |
+rights. These restrictions translate to certain responsibilities for
|
|
Bernhard M. Wiedemann |
4a806f |
+you if you distribute copies of the library or if you modify it.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ For example, if you distribute copies of the library, whether gratis
|
|
Bernhard M. Wiedemann |
4a806f |
+or for a fee, you must give the recipients all the rights that we gave
|
|
Bernhard M. Wiedemann |
4a806f |
+you. You must make sure that they, too, receive or can get the source
|
|
Bernhard M. Wiedemann |
4a806f |
+code. If you link other code with the library, you must provide
|
|
Bernhard M. Wiedemann |
4a806f |
+complete object files to the recipients, so that they can relink them
|
|
Bernhard M. Wiedemann |
4a806f |
+with the library after making changes to the library and recompiling
|
|
Bernhard M. Wiedemann |
4a806f |
+it. And you must show them these terms so they know their rights.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ We protect your rights with a two-step method: (1) we copyright the
|
|
Bernhard M. Wiedemann |
4a806f |
+library, and (2) we offer you this license, which gives you legal
|
|
Bernhard M. Wiedemann |
4a806f |
+permission to copy, distribute and/or modify the library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ To protect each distributor, we want to make it very clear that
|
|
Bernhard M. Wiedemann |
4a806f |
+there is no warranty for the free library. Also, if the library is
|
|
Bernhard M. Wiedemann |
4a806f |
+modified by someone else and passed on, the recipients should know
|
|
Bernhard M. Wiedemann |
4a806f |
+that what they have is not the original version, so that the original
|
|
Bernhard M. Wiedemann |
4a806f |
+author's reputation will not be affected by problems that might be
|
|
Bernhard M. Wiedemann |
4a806f |
+introduced by others.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Finally, software patents pose a constant threat to the existence of
|
|
Bernhard M. Wiedemann |
4a806f |
+any free program. We wish to make sure that a company cannot
|
|
Bernhard M. Wiedemann |
4a806f |
+effectively restrict the users of a free program by obtaining a
|
|
Bernhard M. Wiedemann |
4a806f |
+restrictive license from a patent holder. Therefore, we insist that
|
|
Bernhard M. Wiedemann |
4a806f |
+any patent license obtained for a version of the library must be
|
|
Bernhard M. Wiedemann |
4a806f |
+consistent with the full freedom of use specified in this license.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Most GNU software, including some libraries, is covered by the
|
|
Bernhard M. Wiedemann |
4a806f |
+ordinary GNU General Public License. This license, the GNU Lesser
|
|
Bernhard M. Wiedemann |
4a806f |
+General Public License, applies to certain designated libraries, and
|
|
Bernhard M. Wiedemann |
4a806f |
+is quite different from the ordinary General Public License. We use
|
|
Bernhard M. Wiedemann |
4a806f |
+this license for certain libraries in order to permit linking those
|
|
Bernhard M. Wiedemann |
4a806f |
+libraries into non-free programs.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ When a program is linked with a library, whether statically or using
|
|
Bernhard M. Wiedemann |
4a806f |
+a shared library, the combination of the two is legally speaking a
|
|
Bernhard M. Wiedemann |
4a806f |
+combined work, a derivative of the original library. The ordinary
|
|
Bernhard M. Wiedemann |
4a806f |
+General Public License therefore permits such linking only if the
|
|
Bernhard M. Wiedemann |
4a806f |
+entire combination fits its criteria of freedom. The Lesser General
|
|
Bernhard M. Wiedemann |
4a806f |
+Public License permits more lax criteria for linking other code with
|
|
Bernhard M. Wiedemann |
4a806f |
+the library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ We call this license the "Lesser" General Public License because it
|
|
Bernhard M. Wiedemann |
4a806f |
+does Less to protect the user's freedom than the ordinary General
|
|
Bernhard M. Wiedemann |
4a806f |
+Public License. It also provides other free software developers Less
|
|
Bernhard M. Wiedemann |
4a806f |
+of an advantage over competing non-free programs. These disadvantages
|
|
Bernhard M. Wiedemann |
4a806f |
+are the reason we use the ordinary General Public License for many
|
|
Bernhard M. Wiedemann |
4a806f |
+libraries. However, the Lesser license provides advantages in certain
|
|
Bernhard M. Wiedemann |
4a806f |
+special circumstances.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ For example, on rare occasions, there may be a special need to
|
|
Bernhard M. Wiedemann |
4a806f |
+encourage the widest possible use of a certain library, so that it becomes
|
|
Bernhard M. Wiedemann |
4a806f |
+a de-facto standard. To achieve this, non-free programs must be
|
|
Bernhard M. Wiedemann |
4a806f |
+allowed to use the library. A more frequent case is that a free
|
|
Bernhard M. Wiedemann |
4a806f |
+library does the same job as widely used non-free libraries. In this
|
|
Bernhard M. Wiedemann |
4a806f |
+case, there is little to gain by limiting the free library to free
|
|
Bernhard M. Wiedemann |
4a806f |
+software only, so we use the Lesser General Public License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ In other cases, permission to use a particular library in non-free
|
|
Bernhard M. Wiedemann |
4a806f |
+programs enables a greater number of people to use a large body of
|
|
Bernhard M. Wiedemann |
4a806f |
+free software. For example, permission to use the GNU C Library in
|
|
Bernhard M. Wiedemann |
4a806f |
+non-free programs enables many more people to use the whole GNU
|
|
Bernhard M. Wiedemann |
4a806f |
+operating system, as well as its variant, the GNU/Linux operating
|
|
Bernhard M. Wiedemann |
4a806f |
+system.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Although the Lesser General Public License is Less protective of the
|
|
Bernhard M. Wiedemann |
4a806f |
+users' freedom, it does ensure that the user of a program that is
|
|
Bernhard M. Wiedemann |
4a806f |
+linked with the Library has the freedom and the wherewithal to run
|
|
Bernhard M. Wiedemann |
4a806f |
+that program using a modified version of the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ The precise terms and conditions for copying, distribution and
|
|
Bernhard M. Wiedemann |
4a806f |
+modification follow. Pay close attention to the difference between a
|
|
Bernhard M. Wiedemann |
4a806f |
+"work based on the library" and a "work that uses the library". The
|
|
Bernhard M. Wiedemann |
4a806f |
+former contains code derived from the library, whereas the latter must
|
|
Bernhard M. Wiedemann |
4a806f |
+be combined with the library in order to run.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ GNU LESSER GENERAL PUBLIC LICENSE
|
|
Bernhard M. Wiedemann |
4a806f |
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 0. This License Agreement applies to any software library or other
|
|
Bernhard M. Wiedemann |
4a806f |
+program which contains a notice placed by the copyright holder or
|
|
Bernhard M. Wiedemann |
4a806f |
+other authorized party saying it may be distributed under the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
+this Lesser General Public License (also called "this License").
|
|
Bernhard M. Wiedemann |
4a806f |
+Each licensee is addressed as "you".
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ A "library" means a collection of software functions and/or data
|
|
Bernhard M. Wiedemann |
4a806f |
+prepared so as to be conveniently linked with application programs
|
|
Bernhard M. Wiedemann |
4a806f |
+(which use some of those functions and data) to form executables.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ The "Library", below, refers to any such software library or work
|
|
Bernhard M. Wiedemann |
4a806f |
+which has been distributed under these terms. A "work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library" means either the Library or any derivative work under
|
|
Bernhard M. Wiedemann |
4a806f |
+copyright law: that is to say, a work containing the Library or a
|
|
Bernhard M. Wiedemann |
4a806f |
+portion of it, either verbatim or with modifications and/or translated
|
|
Bernhard M. Wiedemann |
4a806f |
+straightforwardly into another language. (Hereinafter, translation is
|
|
Bernhard M. Wiedemann |
4a806f |
+included without limitation in the term "modification".)
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ "Source code" for a work means the preferred form of the work for
|
|
Bernhard M. Wiedemann |
4a806f |
+making modifications to it. For a library, complete source code means
|
|
Bernhard M. Wiedemann |
4a806f |
+all the source code for all modules it contains, plus any associated
|
|
Bernhard M. Wiedemann |
4a806f |
+interface definition files, plus the scripts used to control compilation
|
|
Bernhard M. Wiedemann |
4a806f |
+and installation of the library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Activities other than copying, distribution and modification are not
|
|
Bernhard M. Wiedemann |
4a806f |
+covered by this License; they are outside its scope. The act of
|
|
Bernhard M. Wiedemann |
4a806f |
+running a program using the Library is not restricted, and output from
|
|
Bernhard M. Wiedemann |
4a806f |
+such a program is covered only if its contents constitute a work based
|
|
Bernhard M. Wiedemann |
4a806f |
+on the Library (independent of the use of the Library in a tool for
|
|
Bernhard M. Wiedemann |
4a806f |
+writing it). Whether that is true depends on what the Library does
|
|
Bernhard M. Wiedemann |
4a806f |
+and what the program that uses the Library does.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 1. You may copy and distribute verbatim copies of the Library's
|
|
Bernhard M. Wiedemann |
4a806f |
+complete source code as you receive it, in any medium, provided that
|
|
Bernhard M. Wiedemann |
4a806f |
+you conspicuously and appropriately publish on each copy an
|
|
Bernhard M. Wiedemann |
4a806f |
+appropriate copyright notice and disclaimer of warranty; keep intact
|
|
Bernhard M. Wiedemann |
4a806f |
+all the notices that refer to this License and to the absence of any
|
|
Bernhard M. Wiedemann |
4a806f |
+warranty; and distribute a copy of this License along with the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ You may charge a fee for the physical act of transferring a copy,
|
|
Bernhard M. Wiedemann |
4a806f |
+and you may at your option offer warranty protection in exchange for a
|
|
Bernhard M. Wiedemann |
4a806f |
+fee.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 2. You may modify your copy or copies of the Library or any portion
|
|
Bernhard M. Wiedemann |
4a806f |
+of it, thus forming a work based on the Library, and copy and
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute such modifications or work under the terms of Section 1
|
|
Bernhard M. Wiedemann |
4a806f |
+above, provided that you also meet all of these conditions:
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ a) The modified work must itself be a software library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ b) You must cause the files modified to carry prominent notices
|
|
Bernhard M. Wiedemann |
4a806f |
+ stating that you changed the files and the date of any change.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ c) You must cause the whole of the work to be licensed at no
|
|
Bernhard M. Wiedemann |
4a806f |
+ charge to all third parties under the terms of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ d) If a facility in the modified Library refers to a function or a
|
|
Bernhard M. Wiedemann |
4a806f |
+ table of data to be supplied by an application program that uses
|
|
Bernhard M. Wiedemann |
4a806f |
+ the facility, other than as an argument passed when the facility
|
|
Bernhard M. Wiedemann |
4a806f |
+ is invoked, then you must make a good faith effort to ensure that,
|
|
Bernhard M. Wiedemann |
4a806f |
+ in the event an application does not supply such function or
|
|
Bernhard M. Wiedemann |
4a806f |
+ table, the facility still operates, and performs whatever part of
|
|
Bernhard M. Wiedemann |
4a806f |
+ its purpose remains meaningful.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ (For example, a function in a library to compute square roots has
|
|
Bernhard M. Wiedemann |
4a806f |
+ a purpose that is entirely well-defined independent of the
|
|
Bernhard M. Wiedemann |
4a806f |
+ application. Therefore, Subsection 2d requires that any
|
|
Bernhard M. Wiedemann |
4a806f |
+ application-supplied function or table used by this function must
|
|
Bernhard M. Wiedemann |
4a806f |
+ be optional: if the application does not supply it, the square
|
|
Bernhard M. Wiedemann |
4a806f |
+ root function must still compute square roots.)
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+These requirements apply to the modified work as a whole. If
|
|
Bernhard M. Wiedemann |
4a806f |
+identifiable sections of that work are not derived from the Library,
|
|
Bernhard M. Wiedemann |
4a806f |
+and can be reasonably considered independent and separate works in
|
|
Bernhard M. Wiedemann |
4a806f |
+themselves, then this License, and its terms, do not apply to those
|
|
Bernhard M. Wiedemann |
4a806f |
+sections when you distribute them as separate works. But when you
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute the same sections as part of a whole which is a work based
|
|
Bernhard M. Wiedemann |
4a806f |
+on the Library, the distribution of the whole must be on the terms of
|
|
Bernhard M. Wiedemann |
4a806f |
+this License, whose permissions for other licensees extend to the
|
|
Bernhard M. Wiedemann |
4a806f |
+entire whole, and thus to each and every part regardless of who wrote
|
|
Bernhard M. Wiedemann |
4a806f |
+it.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+Thus, it is not the intent of this section to claim rights or contest
|
|
Bernhard M. Wiedemann |
4a806f |
+your rights to work written entirely by you; rather, the intent is to
|
|
Bernhard M. Wiedemann |
4a806f |
+exercise the right to control the distribution of derivative or
|
|
Bernhard M. Wiedemann |
4a806f |
+collective works based on the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+In addition, mere aggregation of another work not based on the Library
|
|
Bernhard M. Wiedemann |
4a806f |
+with the Library (or with a work based on the Library) on a volume of
|
|
Bernhard M. Wiedemann |
4a806f |
+a storage or distribution medium does not bring the other work under
|
|
Bernhard M. Wiedemann |
4a806f |
+the scope of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 3. You may opt to apply the terms of the ordinary GNU General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+License instead of this License to a given copy of the Library. To do
|
|
Bernhard M. Wiedemann |
4a806f |
+this, you must alter all the notices that refer to this License, so
|
|
Bernhard M. Wiedemann |
4a806f |
+that they refer to the ordinary GNU General Public License, version 2,
|
|
Bernhard M. Wiedemann |
4a806f |
+instead of to this License. (If a newer version than version 2 of the
|
|
Bernhard M. Wiedemann |
4a806f |
+ordinary GNU General Public License has appeared, then you can specify
|
|
Bernhard M. Wiedemann |
4a806f |
+that version instead if you wish.) Do not make any other change in
|
|
Bernhard M. Wiedemann |
4a806f |
+these notices.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Once this change is made in a given copy, it is irreversible for
|
|
Bernhard M. Wiedemann |
4a806f |
+that copy, so the ordinary GNU General Public License applies to all
|
|
Bernhard M. Wiedemann |
4a806f |
+subsequent copies and derivative works made from that copy.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ This option is useful when you wish to copy part of the code of
|
|
Bernhard M. Wiedemann |
4a806f |
+the Library into a program that is not a library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 4. You may copy and distribute the Library (or a portion or
|
|
Bernhard M. Wiedemann |
4a806f |
+derivative of it, under Section 2) in object code or executable form
|
|
Bernhard M. Wiedemann |
4a806f |
+under the terms of Sections 1 and 2 above provided that you accompany
|
|
Bernhard M. Wiedemann |
4a806f |
+it with the complete corresponding machine-readable source code, which
|
|
Bernhard M. Wiedemann |
4a806f |
+must be distributed under the terms of Sections 1 and 2 above on a
|
|
Bernhard M. Wiedemann |
4a806f |
+medium customarily used for software interchange.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ If distribution of object code is made by offering access to copy
|
|
Bernhard M. Wiedemann |
4a806f |
+from a designated place, then offering equivalent access to copy the
|
|
Bernhard M. Wiedemann |
4a806f |
+source code from the same place satisfies the requirement to
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute the source code, even though third parties are not
|
|
Bernhard M. Wiedemann |
4a806f |
+compelled to copy the source along with the object code.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 5. A program that contains no derivative of any portion of the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library, but is designed to work with the Library by being compiled or
|
|
Bernhard M. Wiedemann |
4a806f |
+linked with it, is called a "work that uses the Library". Such a
|
|
Bernhard M. Wiedemann |
4a806f |
+work, in isolation, is not a derivative work of the Library, and
|
|
Bernhard M. Wiedemann |
4a806f |
+therefore falls outside the scope of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ However, linking a "work that uses the Library" with the Library
|
|
Bernhard M. Wiedemann |
4a806f |
+creates an executable that is a derivative of the Library (because it
|
|
Bernhard M. Wiedemann |
4a806f |
+contains portions of the Library), rather than a "work that uses the
|
|
Bernhard M. Wiedemann |
4a806f |
+library". The executable is therefore covered by this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+Section 6 states terms for distribution of such executables.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ When a "work that uses the Library" uses material from a header file
|
|
Bernhard M. Wiedemann |
4a806f |
+that is part of the Library, the object code for the work may be a
|
|
Bernhard M. Wiedemann |
4a806f |
+derivative work of the Library even though the source code is not.
|
|
Bernhard M. Wiedemann |
4a806f |
+Whether this is true is especially significant if the work can be
|
|
Bernhard M. Wiedemann |
4a806f |
+linked without the Library, or if the work is itself a library. The
|
|
Bernhard M. Wiedemann |
4a806f |
+threshold for this to be true is not precisely defined by law.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ If such an object file uses only numerical parameters, data
|
|
Bernhard M. Wiedemann |
4a806f |
+structure layouts and accessors, and small macros and small inline
|
|
Bernhard M. Wiedemann |
4a806f |
+functions (ten lines or less in length), then the use of the object
|
|
Bernhard M. Wiedemann |
4a806f |
+file is unrestricted, regardless of whether it is legally a derivative
|
|
Bernhard M. Wiedemann |
4a806f |
+work. (Executables containing this object code plus portions of the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library will still fall under Section 6.)
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Otherwise, if the work is a derivative of the Library, you may
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute the object code for the work under the terms of Section 6.
|
|
Bernhard M. Wiedemann |
4a806f |
+Any executables containing that work also fall under Section 6,
|
|
Bernhard M. Wiedemann |
4a806f |
+whether or not they are linked directly with the Library itself.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 6. As an exception to the Sections above, you may also combine or
|
|
Bernhard M. Wiedemann |
4a806f |
+link a "work that uses the Library" with the Library to produce a
|
|
Bernhard M. Wiedemann |
4a806f |
+work containing portions of the Library, and distribute that work
|
|
Bernhard M. Wiedemann |
4a806f |
+under terms of your choice, provided that the terms permit
|
|
Bernhard M. Wiedemann |
4a806f |
+modification of the work for the customer's own use and reverse
|
|
Bernhard M. Wiedemann |
4a806f |
+engineering for debugging such modifications.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ You must give prominent notice with each copy of the work that the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library is used in it and that the Library and its use are covered by
|
|
Bernhard M. Wiedemann |
4a806f |
+this License. You must supply a copy of this License. If the work
|
|
Bernhard M. Wiedemann |
4a806f |
+during execution displays copyright notices, you must include the
|
|
Bernhard M. Wiedemann |
4a806f |
+copyright notice for the Library among them, as well as a reference
|
|
Bernhard M. Wiedemann |
4a806f |
+directing the user to the copy of this License. Also, you must do one
|
|
Bernhard M. Wiedemann |
4a806f |
+of these things:
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ a) Accompany the work with the complete corresponding
|
|
Bernhard M. Wiedemann |
4a806f |
+ machine-readable source code for the Library including whatever
|
|
Bernhard M. Wiedemann |
4a806f |
+ changes were used in the work (which must be distributed under
|
|
Bernhard M. Wiedemann |
4a806f |
+ Sections 1 and 2 above); and, if the work is an executable linked
|
|
Bernhard M. Wiedemann |
4a806f |
+ with the Library, with the complete machine-readable "work that
|
|
Bernhard M. Wiedemann |
4a806f |
+ uses the Library", as object code and/or source code, so that the
|
|
Bernhard M. Wiedemann |
4a806f |
+ user can modify the Library and then relink to produce a modified
|
|
Bernhard M. Wiedemann |
4a806f |
+ executable containing the modified Library. (It is understood
|
|
Bernhard M. Wiedemann |
4a806f |
+ that the user who changes the contents of definitions files in the
|
|
Bernhard M. Wiedemann |
4a806f |
+ Library will not necessarily be able to recompile the application
|
|
Bernhard M. Wiedemann |
4a806f |
+ to use the modified definitions.)
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ b) Use a suitable shared library mechanism for linking with the
|
|
Bernhard M. Wiedemann |
4a806f |
+ Library. A suitable mechanism is one that (1) uses at run time a
|
|
Bernhard M. Wiedemann |
4a806f |
+ copy of the library already present on the user's computer system,
|
|
Bernhard M. Wiedemann |
4a806f |
+ rather than copying library functions into the executable, and (2)
|
|
Bernhard M. Wiedemann |
4a806f |
+ will operate properly with a modified version of the library, if
|
|
Bernhard M. Wiedemann |
4a806f |
+ the user installs one, as long as the modified version is
|
|
Bernhard M. Wiedemann |
4a806f |
+ interface-compatible with the version that the work was made with.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ c) Accompany the work with a written offer, valid for at
|
|
Bernhard M. Wiedemann |
4a806f |
+ least three years, to give the same user the materials
|
|
Bernhard M. Wiedemann |
4a806f |
+ specified in Subsection 6a, above, for a charge no more
|
|
Bernhard M. Wiedemann |
4a806f |
+ than the cost of performing this distribution.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ d) If distribution of the work is made by offering access to copy
|
|
Bernhard M. Wiedemann |
4a806f |
+ from a designated place, offer equivalent access to copy the above
|
|
Bernhard M. Wiedemann |
4a806f |
+ specified materials from the same place.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ e) Verify that the user has already received a copy of these
|
|
Bernhard M. Wiedemann |
4a806f |
+ materials or that you have already sent this user a copy.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ For an executable, the required form of the "work that uses the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library" must include any data and utility programs needed for
|
|
Bernhard M. Wiedemann |
4a806f |
+reproducing the executable from it. However, as a special exception,
|
|
Bernhard M. Wiedemann |
4a806f |
+the materials to be distributed need not include anything that is
|
|
Bernhard M. Wiedemann |
4a806f |
+normally distributed (in either source or binary form) with the major
|
|
Bernhard M. Wiedemann |
4a806f |
+components (compiler, kernel, and so on) of the operating system on
|
|
Bernhard M. Wiedemann |
4a806f |
+which the executable runs, unless that component itself accompanies
|
|
Bernhard M. Wiedemann |
4a806f |
+the executable.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ It may happen that this requirement contradicts the license
|
|
Bernhard M. Wiedemann |
4a806f |
+restrictions of other proprietary libraries that do not normally
|
|
Bernhard M. Wiedemann |
4a806f |
+accompany the operating system. Such a contradiction means you cannot
|
|
Bernhard M. Wiedemann |
4a806f |
+use both them and the Library together in an executable that you
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 7. You may place library facilities that are a work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library side-by-side in a single library together with other library
|
|
Bernhard M. Wiedemann |
4a806f |
+facilities not covered by this License, and distribute such a combined
|
|
Bernhard M. Wiedemann |
4a806f |
+library, provided that the separate distribution of the work based on
|
|
Bernhard M. Wiedemann |
4a806f |
+the Library and of the other library facilities is otherwise
|
|
Bernhard M. Wiedemann |
4a806f |
+permitted, and provided that you do these two things:
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ a) Accompany the combined library with a copy of the same work
|
|
Bernhard M. Wiedemann |
4a806f |
+ based on the Library, uncombined with any other library
|
|
Bernhard M. Wiedemann |
4a806f |
+ facilities. This must be distributed under the terms of the
|
|
Bernhard M. Wiedemann |
4a806f |
+ Sections above.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ b) Give prominent notice with the combined library of the fact
|
|
Bernhard M. Wiedemann |
4a806f |
+ that part of it is a work based on the Library, and explaining
|
|
Bernhard M. Wiedemann |
4a806f |
+ where to find the accompanying uncombined form of the same work.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 8. You may not copy, modify, sublicense, link with, or distribute
|
|
Bernhard M. Wiedemann |
4a806f |
+the Library except as expressly provided under this License. Any
|
|
Bernhard M. Wiedemann |
4a806f |
+attempt otherwise to copy, modify, sublicense, link with, or
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute the Library is void, and will automatically terminate your
|
|
Bernhard M. Wiedemann |
4a806f |
+rights under this License. However, parties who have received copies,
|
|
Bernhard M. Wiedemann |
4a806f |
+or rights, from you under this License will not have their licenses
|
|
Bernhard M. Wiedemann |
4a806f |
+terminated so long as such parties remain in full compliance.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 9. You are not required to accept this License, since you have not
|
|
Bernhard M. Wiedemann |
4a806f |
+signed it. However, nothing else grants you permission to modify or
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute the Library or its derivative works. These actions are
|
|
Bernhard M. Wiedemann |
4a806f |
+prohibited by law if you do not accept this License. Therefore, by
|
|
Bernhard M. Wiedemann |
4a806f |
+modifying or distributing the Library (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library), you indicate your acceptance of this License to do so, and
|
|
Bernhard M. Wiedemann |
4a806f |
+all its terms and conditions for copying, distributing or modifying
|
|
Bernhard M. Wiedemann |
4a806f |
+the Library or works based on it.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 10. Each time you redistribute the Library (or any work based on the
|
|
Bernhard M. Wiedemann |
4a806f |
+Library), the recipient automatically receives a license from the
|
|
Bernhard M. Wiedemann |
4a806f |
+original licensor to copy, distribute, link with or modify the Library
|
|
Bernhard M. Wiedemann |
4a806f |
+subject to these terms and conditions. You may not impose any further
|
|
Bernhard M. Wiedemann |
4a806f |
+restrictions on the recipients' exercise of the rights granted herein.
|
|
Bernhard M. Wiedemann |
4a806f |
+You are not responsible for enforcing compliance by third parties with
|
|
Bernhard M. Wiedemann |
4a806f |
+this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 11. If, as a consequence of a court judgment or allegation of patent
|
|
Bernhard M. Wiedemann |
4a806f |
+infringement or for any other reason (not limited to patent issues),
|
|
Bernhard M. Wiedemann |
4a806f |
+conditions are imposed on you (whether by court order, agreement or
|
|
Bernhard M. Wiedemann |
4a806f |
+otherwise) that contradict the conditions of this License, they do not
|
|
Bernhard M. Wiedemann |
4a806f |
+excuse you from the conditions of this License. If you cannot
|
|
Bernhard M. Wiedemann |
4a806f |
+distribute so as to satisfy simultaneously your obligations under this
|
|
Bernhard M. Wiedemann |
4a806f |
+License and any other pertinent obligations, then as a consequence you
|
|
Bernhard M. Wiedemann |
4a806f |
+may not distribute the Library at all. For example, if a patent
|
|
Bernhard M. Wiedemann |
4a806f |
+license would not permit royalty-free redistribution of the Library by
|
|
Bernhard M. Wiedemann |
4a806f |
+all those who receive copies directly or indirectly through you, then
|
|
Bernhard M. Wiedemann |
4a806f |
+the only way you could satisfy both it and this License would be to
|
|
Bernhard M. Wiedemann |
4a806f |
+refrain entirely from distribution of the Library.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+If any portion of this section is held invalid or unenforceable under any
|
|
Bernhard M. Wiedemann |
4a806f |
+particular circumstance, the balance of the section is intended to apply,
|
|
Bernhard M. Wiedemann |
4a806f |
+and the section as a whole is intended to apply in other circumstances.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+It is not the purpose of this section to induce you to infringe any
|
|
Bernhard M. Wiedemann |
4a806f |
+patents or other property right claims or to contest validity of any
|
|
Bernhard M. Wiedemann |
4a806f |
+such claims; this section has the sole purpose of protecting the
|
|
Bernhard M. Wiedemann |
4a806f |
+integrity of the free software distribution system which is
|
|
Bernhard M. Wiedemann |
4a806f |
+implemented by public license practices. Many people have made
|
|
Bernhard M. Wiedemann |
4a806f |
+generous contributions to the wide range of software distributed
|
|
Bernhard M. Wiedemann |
4a806f |
+through that system in reliance on consistent application of that
|
|
Bernhard M. Wiedemann |
4a806f |
+system; it is up to the author/donor to decide if he or she is willing
|
|
Bernhard M. Wiedemann |
4a806f |
+to distribute software through any other system and a licensee cannot
|
|
Bernhard M. Wiedemann |
4a806f |
+impose that choice.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+This section is intended to make thoroughly clear what is believed to
|
|
Bernhard M. Wiedemann |
4a806f |
+be a consequence of the rest of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 12. If the distribution and/or use of the Library is restricted in
|
|
Bernhard M. Wiedemann |
4a806f |
+certain countries either by patents or by copyrighted interfaces, the
|
|
Bernhard M. Wiedemann |
4a806f |
+original copyright holder who places the Library under this License may add
|
|
Bernhard M. Wiedemann |
4a806f |
+an explicit geographical distribution limitation excluding those countries,
|
|
Bernhard M. Wiedemann |
4a806f |
+so that distribution is permitted only in or among countries not thus
|
|
Bernhard M. Wiedemann |
4a806f |
+excluded. In such case, this License incorporates the limitation as if
|
|
Bernhard M. Wiedemann |
4a806f |
+written in the body of this License.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 13. The Free Software Foundation may publish revised and/or new
|
|
Bernhard M. Wiedemann |
4a806f |
+versions of the Lesser General Public License from time to time.
|
|
Bernhard M. Wiedemann |
4a806f |
+Such new versions will be similar in spirit to the present version,
|
|
Bernhard M. Wiedemann |
4a806f |
+but may differ in detail to address new problems or concerns.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+Each version is given a distinguishing version number. If the Library
|
|
Bernhard M. Wiedemann |
4a806f |
+specifies a version number of this License which applies to it and
|
|
Bernhard M. Wiedemann |
4a806f |
+"any later version", you have the option of following the terms and
|
|
Bernhard M. Wiedemann |
4a806f |
+conditions either of that version or of any later version published by
|
|
Bernhard M. Wiedemann |
4a806f |
+the Free Software Foundation. If the Library does not specify a
|
|
Bernhard M. Wiedemann |
4a806f |
+license version number, you may choose any version ever published by
|
|
Bernhard M. Wiedemann |
4a806f |
+the Free Software Foundation.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 14. If you wish to incorporate parts of the Library into other free
|
|
Bernhard M. Wiedemann |
4a806f |
+programs whose distribution conditions are incompatible with these,
|
|
Bernhard M. Wiedemann |
4a806f |
+write to the author to ask for permission. For software which is
|
|
Bernhard M. Wiedemann |
4a806f |
+copyrighted by the Free Software Foundation, write to the Free
|
|
Bernhard M. Wiedemann |
4a806f |
+Software Foundation; we sometimes make exceptions for this. Our
|
|
Bernhard M. Wiedemann |
4a806f |
+decision will be guided by the two goals of preserving the free status
|
|
Bernhard M. Wiedemann |
4a806f |
+of all derivatives of our free software and of promoting the sharing
|
|
Bernhard M. Wiedemann |
4a806f |
+and reuse of software generally.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ NO WARRANTY
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
|
Bernhard M. Wiedemann |
4a806f |
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
|
Bernhard M. Wiedemann |
4a806f |
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
|
Bernhard M. Wiedemann |
4a806f |
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
|
Bernhard M. Wiedemann |
4a806f |
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
|
Bernhard M. Wiedemann |
4a806f |
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
Bernhard M. Wiedemann |
4a806f |
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
|
Bernhard M. Wiedemann |
4a806f |
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
|
Bernhard M. Wiedemann |
4a806f |
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
|
Bernhard M. Wiedemann |
4a806f |
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
|
Bernhard M. Wiedemann |
4a806f |
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
|
Bernhard M. Wiedemann |
4a806f |
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
|
Bernhard M. Wiedemann |
4a806f |
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
|
Bernhard M. Wiedemann |
4a806f |
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
|
Bernhard M. Wiedemann |
4a806f |
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
|
Bernhard M. Wiedemann |
4a806f |
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
|
Bernhard M. Wiedemann |
4a806f |
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
Bernhard M. Wiedemann |
4a806f |
+DAMAGES.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ END OF TERMS AND CONDITIONS
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ How to Apply These Terms to Your New Libraries
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ If you develop a new library, and you want it to be of the greatest
|
|
Bernhard M. Wiedemann |
4a806f |
+possible use to the public, we recommend making it free software that
|
|
Bernhard M. Wiedemann |
4a806f |
+everyone can redistribute and change. You can do so by permitting
|
|
Bernhard M. Wiedemann |
4a806f |
+redistribution under these terms (or, alternatively, under the terms of the
|
|
Bernhard M. Wiedemann |
4a806f |
+ordinary General Public License).
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ To apply these terms, attach the following notices to the library. It is
|
|
Bernhard M. Wiedemann |
4a806f |
+safest to attach them to the start of each source file to most effectively
|
|
Bernhard M. Wiedemann |
4a806f |
+convey the exclusion of warranty; and each file should have at least the
|
|
Bernhard M. Wiedemann |
4a806f |
+"copyright" line and a pointer to where the full notice is found.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ <one line to give the library's name and a brief idea of what it does.>
|
|
Bernhard M. Wiedemann |
4a806f |
+ Copyright (C) <year> <name of author>
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ This library is free software; you can redistribute it and/or
|
|
Bernhard M. Wiedemann |
4a806f |
+ modify it under the terms of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+ License as published by the Free Software Foundation; either
|
|
Bernhard M. Wiedemann |
4a806f |
+ version 2.1 of the License, or (at your option) any later version.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ This library is distributed in the hope that it will be useful,
|
|
Bernhard M. Wiedemann |
4a806f |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Bernhard M. Wiedemann |
4a806f |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Bernhard M. Wiedemann |
4a806f |
+ Lesser General Public License for more details.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ You should have received a copy of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+ License along with this library; if not, write to the Free Software
|
|
Bernhard M. Wiedemann |
4a806f |
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
|
Bernhard M. Wiedemann |
4a806f |
+ USA
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+Also add information on how to contact you by electronic and paper mail.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+You should also get your employer (if you work as a programmer) or your
|
|
Bernhard M. Wiedemann |
4a806f |
+school, if any, to sign a "copyright disclaimer" for the library, if
|
|
Bernhard M. Wiedemann |
4a806f |
+necessary. Here is a sample; alter the names:
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
|
Bernhard M. Wiedemann |
4a806f |
+ library `Frob' (a library for tweaking knobs) written by James Random
|
|
Bernhard M. Wiedemann |
4a806f |
+ Hacker.
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+ <signature of Ty Coon>, 1 April 1990
|
|
Bernhard M. Wiedemann |
4a806f |
+ Ty Coon, President of Vice
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
+That's all there is to it!
|
|
Bernhard M. Wiedemann |
4a806f |
diff --git a/abi-dumper.pl b/abi-dumper.pl
|
|
Bernhard M. Wiedemann |
4a806f |
index 7d8510b..2619226 100644
|
|
Bernhard M. Wiedemann |
4a806f |
--- a/abi-dumper.pl
|
|
Bernhard M. Wiedemann |
4a806f |
+++ b/abi-dumper.pl
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -3,7 +3,7 @@
|
|
Bernhard M. Wiedemann |
4a806f |
# ABI Dumper 1.1
|
|
Bernhard M. Wiedemann |
4a806f |
# Dump ABI of an ELF object containing DWARF debug info
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
-# Copyright (C) 2013-2017 Andrey Ponomarenko's ABI Laboratory
|
|
Bernhard M. Wiedemann |
4a806f |
+# Copyright (C) 2013-2018 Andrey Ponomarenko's ABI Laboratory
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
# Written by Andrey Ponomarenko
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -24,19 +24,20 @@
|
|
Bernhard M. Wiedemann |
4a806f |
# =============
|
|
Bernhard M. Wiedemann |
4a806f |
# ABI Compliance Checker >= 2.2
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
+# This library is free software; you can redistribute it and/or
|
|
Bernhard M. Wiedemann |
4a806f |
+# modify it under the terms of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+# License as published by the Free Software Foundation; either
|
|
Bernhard M. Wiedemann |
4a806f |
+# version 2.1 of the License, or (at your option) any later version.
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
-# This program is free software: you can redistribute it and/or modify
|
|
Bernhard M. Wiedemann |
4a806f |
-# it under the terms of the GNU General Public License or the GNU Lesser
|
|
Bernhard M. Wiedemann |
4a806f |
-# General Public License as published by the Free Software Foundation.
|
|
Bernhard M. Wiedemann |
4a806f |
-#
|
|
Bernhard M. Wiedemann |
4a806f |
-# This program is distributed in the hope that it will be useful,
|
|
Bernhard M. Wiedemann |
4a806f |
+# This library is distributed in the hope that it will be useful,
|
|
Bernhard M. Wiedemann |
4a806f |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Bernhard M. Wiedemann |
4a806f |
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Bernhard M. Wiedemann |
4a806f |
-# GNU General Public License for more details.
|
|
Bernhard M. Wiedemann |
4a806f |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Bernhard M. Wiedemann |
4a806f |
+# Lesser General Public License for more details.
|
|
Bernhard M. Wiedemann |
4a806f |
#
|
|
Bernhard M. Wiedemann |
4a806f |
-# You should have received a copy of the GNU General Public License
|
|
Bernhard M. Wiedemann |
4a806f |
-# and the GNU Lesser General Public License along with this program.
|
|
Bernhard M. Wiedemann |
4a806f |
-# If not, see <http://www.gnu.org/licenses/>.
|
|
Bernhard M. Wiedemann |
4a806f |
+# You should have received a copy of the GNU Lesser General Public
|
|
Bernhard M. Wiedemann |
4a806f |
+# License along with this library; if not, write to the Free Software
|
|
Bernhard M. Wiedemann |
4a806f |
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
Bernhard M. Wiedemann |
4a806f |
+# MA 02110-1301 USA
|
|
Bernhard M. Wiedemann |
4a806f |
###########################################################################
|
|
Bernhard M. Wiedemann |
4a806f |
use Getopt::Long;
|
|
Bernhard M. Wiedemann |
4a806f |
Getopt::Long::Configure ("posix_default", "no_ignore_case", "permute");
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -92,8 +93,8 @@ my %ERROR_CODE = (
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
my $ShortUsage = "ABI Dumper $TOOL_VERSION
|
|
Bernhard M. Wiedemann |
4a806f |
Dump ABI of an ELF object containing DWARF debug info
|
|
Bernhard M. Wiedemann |
4a806f |
-Copyright (C) 2017 Andrey Ponomarenko's ABI Laboratory
|
|
Bernhard M. Wiedemann |
4a806f |
-License: GNU LGPL or GNU GPL
|
|
Bernhard M. Wiedemann |
4a806f |
+Copyright (C) 2018 Andrey Ponomarenko's ABI Laboratory
|
|
Bernhard M. Wiedemann |
4a806f |
+License: GNU LGPL 2.1
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
Usage: $CmdName [options] [object]
|
|
Bernhard M. Wiedemann |
4a806f |
Example:
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -172,7 +173,7 @@ DESCRIPTION:
|
|
Bernhard M. Wiedemann |
4a806f |
tracking ABI changes of a C/C++ library or kernel module.
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
This tool is free software: you can redistribute it and/or modify it
|
|
Bernhard M. Wiedemann |
4a806f |
- under the terms of the GNU LGPL or GNU GPL.
|
|
Bernhard M. Wiedemann |
4a806f |
+ under the terms of the GNU LGPL 2.1.
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
USAGE:
|
|
Bernhard M. Wiedemann |
4a806f |
$CmdName [options] [object]
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -472,6 +473,7 @@ my %SymbolToHeader;
|
|
Bernhard M. Wiedemann |
4a806f |
my %TypeToHeader;
|
|
Bernhard M. Wiedemann |
4a806f |
my %PublicHeader;
|
|
Bernhard M. Wiedemann |
4a806f |
my $PublicSymbols_Detected;
|
|
Bernhard M. Wiedemann |
4a806f |
+my $PublicHeadersIsDir = 1;
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
# Filter
|
|
Bernhard M. Wiedemann |
4a806f |
my %SymbolsList;
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -6086,11 +6088,7 @@ sub detectPublicSymbols($)
|
|
Bernhard M. Wiedemann |
4a806f |
my @Headers = ();
|
|
Bernhard M. Wiedemann |
4a806f |
my @DefaultInc = ();
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
- if(-f $Path)
|
|
Bernhard M. Wiedemann |
4a806f |
- { # list of headers
|
|
Bernhard M. Wiedemann |
4a806f |
- @Headers = split(/\n/, readFile($Path));
|
|
Bernhard M. Wiedemann |
4a806f |
- }
|
|
Bernhard M. Wiedemann |
4a806f |
- elsif(-d $Path)
|
|
Bernhard M. Wiedemann |
4a806f |
+ if($PublicHeadersIsDir)
|
|
Bernhard M. Wiedemann |
4a806f |
{ # directory
|
|
Bernhard M. Wiedemann |
4a806f |
@Files = findFiles($Path, "f");
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -6107,6 +6105,10 @@ sub detectPublicSymbols($)
|
|
Bernhard M. Wiedemann |
4a806f |
push(@DefaultInc, $Path_A."/include");
|
|
Bernhard M. Wiedemann |
4a806f |
}
|
|
Bernhard M. Wiedemann |
4a806f |
}
|
|
Bernhard M. Wiedemann |
4a806f |
+ else
|
|
Bernhard M. Wiedemann |
4a806f |
+ { # list of headers
|
|
Bernhard M. Wiedemann |
4a806f |
+ @Headers = split(/\n/, readFile($Path));
|
|
Bernhard M. Wiedemann |
4a806f |
+ }
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
if(not @Headers) {
|
|
Bernhard M. Wiedemann |
4a806f |
exitStatus("Error", "headers not found in \'$Path\'");
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -6504,8 +6506,8 @@ sub scenario()
|
|
Bernhard M. Wiedemann |
4a806f |
if($ShowVersion)
|
|
Bernhard M. Wiedemann |
4a806f |
{
|
|
Bernhard M. Wiedemann |
4a806f |
printMsg("INFO", "ABI Dumper $TOOL_VERSION");
|
|
Bernhard M. Wiedemann |
4a806f |
- printMsg("INFO", "Copyright (C) 2017 Andrey Ponomarenko's ABI Laboratory");
|
|
Bernhard M. Wiedemann |
4a806f |
- printMsg("INFO", "License: LGPL or GPL <http://www.gnu.org/licenses/>");
|
|
Bernhard M. Wiedemann |
4a806f |
+ printMsg("INFO", "Copyright (C) 2018 Andrey Ponomarenko's ABI Laboratory");
|
|
Bernhard M. Wiedemann |
4a806f |
+ printMsg("INFO", "License: GNU LGPL 2.1 <http://www.gnu.org/licenses/>");
|
|
Bernhard M. Wiedemann |
4a806f |
printMsg("INFO", "This program is free software: you can redistribute it and/or modify it.\n");
|
|
Bernhard M. Wiedemann |
4a806f |
printMsg("INFO", "Written by Andrey Ponomarenko.");
|
|
Bernhard M. Wiedemann |
4a806f |
exit(0);
|
|
Bernhard M. Wiedemann |
4a806f |
@@ -6535,9 +6537,11 @@ sub scenario()
|
|
Bernhard M. Wiedemann |
4a806f |
exitStatus("Access_Error", "can't access \'$PublicHeadersPath\'");
|
|
Bernhard M. Wiedemann |
4a806f |
}
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
+ $PublicHeadersIsDir = (-d $PublicHeadersPath);
|
|
Bernhard M. Wiedemann |
4a806f |
+
|
|
Bernhard M. Wiedemann |
4a806f |
foreach my $P (split(/;/, $IncludePaths))
|
|
Bernhard M. Wiedemann |
4a806f |
{
|
|
Bernhard M. Wiedemann |
4a806f |
- if($P!~/\A\//) {
|
|
Bernhard M. Wiedemann |
4a806f |
+ if($PublicHeadersIsDir and $P!~/\A\//) {
|
|
Bernhard M. Wiedemann |
4a806f |
$P = $PublicHeadersPath."/".$P;
|
|
Bernhard M. Wiedemann |
4a806f |
}
|
|
Bernhard M. Wiedemann |
4a806f |
|
|
Bernhard M. Wiedemann |
4a806f |
--
|
|
Bernhard M. Wiedemann |
4a806f |
2.22.0
|
|
Bernhard M. Wiedemann |
4a806f |
|