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