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