| 1 |
The D-Bus Java implementation is licensed to you under your choice of the |
| 2 |
Academic Free License version 2.1, or the GNU Lesser/Library General Public License |
| 3 |
version 2. Both licenses are included here. Each source code file is marked |
| 4 |
with the proper copyright information. |
| 5 |
|
| 6 |
The Academic Free License |
| 7 |
v. 2.1 |
| 8 |
|
| 9 |
This Academic Free License (the "License") applies to any original work of |
| 10 |
authorship (the "Original Work") whose owner (the "Licensor") has placed the |
| 11 |
following notice immediately following the copyright notice for the Original |
| 12 |
Work: |
| 13 |
|
| 14 |
Licensed under the Academic Free License version 2.1 |
| 15 |
|
| 16 |
1) Grant of Copyright License. Licensor hereby grants You a world-wide, |
| 17 |
royalty-free, non-exclusive, perpetual, sublicenseable license to do the |
| 18 |
following: |
| 19 |
|
| 20 |
a) to reproduce the Original Work in copies; |
| 21 |
|
| 22 |
b) to prepare derivative works ("Derivative Works") based upon the Original |
| 23 |
Work; |
| 24 |
|
| 25 |
c) to distribute copies of the Original Work and Derivative Works to the |
| 26 |
public; |
| 27 |
|
| 28 |
d) to perform the Original Work publicly; and |
| 29 |
|
| 30 |
e) to display the Original Work publicly. |
| 31 |
|
| 32 |
2) Grant of Patent License. Licensor hereby grants You a world-wide, |
| 33 |
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent |
| 34 |
claims owned or controlled by the Licensor that are embodied in the Original |
| 35 |
Work as furnished by the Licensor, to make, use, sell and offer for sale the |
| 36 |
Original Work and Derivative Works. |
| 37 |
|
| 38 |
3) Grant of Source Code License. The term "Source Code" means the preferred |
| 39 |
form of the Original Work for making modifications to it and all available |
| 40 |
documentation describing how to modify the Original Work. Licensor hereby |
| 41 |
agrees to provide a machine-readable copy of the Source Code of the Original |
| 42 |
Work along with each copy of the Original Work that Licensor distributes. |
| 43 |
Licensor reserves the right to satisfy this obligation by placing a |
| 44 |
machine-readable copy of the Source Code in an information repository |
| 45 |
reasonably calculated to permit inexpensive and convenient access by You for as |
| 46 |
long as Licensor continues to distribute the Original Work, and by publishing |
| 47 |
the address of that information repository in a notice immediately following |
| 48 |
the copyright notice that applies to the Original Work. |
| 49 |
|
| 50 |
4) Exclusions From License Grant. Neither the names of Licensor, nor the names |
| 51 |
of any contributors to the Original Work, nor any of their trademarks or |
| 52 |
service marks, may be used to endorse or promote products derived from this |
| 53 |
Original Work without express prior written permission of the Licensor. Nothing |
| 54 |
in this License shall be deemed to grant any rights to trademarks, copyrights, |
| 55 |
patents, trade secrets or any other intellectual property of Licensor except as |
| 56 |
expressly stated herein. No patent license is granted to make, use, sell or |
| 57 |
offer to sell embodiments of any patent claims other than the licensed claims |
| 58 |
defined in Section 2. No right is granted to the trademarks of Licensor even if |
| 59 |
such marks are included in the Original Work. Nothing in this License shall be |
| 60 |
interpreted to prohibit Licensor from licensing under different terms from this |
| 61 |
License any Original Work that Licensor otherwise would have a right to |
| 62 |
license. |
| 63 |
|
| 64 |
5) This section intentionally omitted. |
| 65 |
|
| 66 |
6) Attribution Rights. You must retain, in the Source Code of any Derivative |
| 67 |
Works that You create, all copyright, patent or trademark notices from the |
| 68 |
Source Code of the Original Work, as well as any notices of licensing and any |
| 69 |
descriptive text identified therein as an "Attribution Notice." You must cause |
| 70 |
the Source Code for any Derivative Works that You create to carry a prominent |
| 71 |
Attribution Notice reasonably calculated to inform recipients that You have |
| 72 |
modified the Original Work. |
| 73 |
|
| 74 |
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that |
| 75 |
the copyright in and to the Original Work and the patent rights granted herein |
| 76 |
by Licensor are owned by the Licensor or are sublicensed to You under the terms |
| 77 |
of this License with the permission of the contributor(s) of those copyrights |
| 78 |
and patent rights. Except as expressly stated in the immediately proceeding |
| 79 |
sentence, the Original Work is provided under this License on an "AS IS" BASIS |
| 80 |
and WITHOUT WARRANTY, either express or implied, including, without limitation, |
| 81 |
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 82 |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. |
| 83 |
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No |
| 84 |
license to Original Work is granted hereunder except under this disclaimer. |
| 85 |
|
| 86 |
8) Limitation of Liability. Under no circumstances and under no legal theory, |
| 87 |
whether in tort (including negligence), contract, or otherwise, shall the |
| 88 |
Licensor be liable to any person for any direct, indirect, special, incidental, |
| 89 |
or consequential damages of any character arising as a result of this License |
| 90 |
or the use of the Original Work including, without limitation, damages for loss |
| 91 |
of goodwill, work stoppage, computer failure or malfunction, or any and all |
| 92 |
other commercial damages or losses. This limitation of liability shall not |
| 93 |
apply to liability for death or personal injury resulting from Licensor's |
| 94 |
negligence to the extent applicable law prohibits such limitation. Some |
| 95 |
jurisdictions do not allow the exclusion or limitation of incidental or |
| 96 |
consequential damages, so this exclusion and limitation may not apply to You. |
| 97 |
|
| 98 |
9) Acceptance and Termination. If You distribute copies of the Original Work or |
| 99 |
a Derivative Work, You must make a reasonable effort under the circumstances to |
| 100 |
obtain the express assent of recipients to the terms of this License. Nothing |
| 101 |
else but this License (or another written agreement between Licensor and You) |
| 102 |
grants You permission to create Derivative Works based upon the Original Work |
| 103 |
or to exercise any of the rights granted in Section 1 herein, and any attempt |
| 104 |
to do so except under the terms of this License (or another written agreement |
| 105 |
between Licensor and You) is expressly prohibited by U.S. copyright law, the |
| 106 |
equivalent laws of other countries, and by international treaty. Therefore, by |
| 107 |
exercising any of the rights granted to You in Section 1 herein, You indicate |
| 108 |
Your acceptance of this License and all of its terms and conditions. |
| 109 |
|
| 110 |
10) Termination for Patent Action. This License shall terminate automatically |
| 111 |
and You may no longer exercise any of the rights granted to You by this License |
| 112 |
as of the date You commence an action, including a cross-claim or counterclaim, |
| 113 |
against Licensor or any licensee alleging that the Original Work infringes a |
| 114 |
patent. This termination provision shall not apply for an action alleging |
| 115 |
patent infringement by combinations of the Original Work with other software or |
| 116 |
hardware. |
| 117 |
|
| 118 |
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this |
| 119 |
License may be brought only in the courts of a jurisdiction wherein the |
| 120 |
Licensor resides or in which Licensor conducts its primary business, and under |
| 121 |
the laws of that jurisdiction excluding its conflict-of-law provisions. The |
| 122 |
application of the United Nations Convention on Contracts for the International |
| 123 |
Sale of Goods is expressly excluded. Any use of the Original Work outside the |
| 124 |
scope of this License or after its termination shall be subject to the |
| 125 |
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et seq., |
| 126 |
the equivalent laws of other countries, and international treaty. This section |
| 127 |
shall survive the termination of this License. |
| 128 |
|
| 129 |
12) Attorneys Fees. In any action to enforce the terms of this License or |
| 130 |
seeking damages relating thereto, the prevailing party shall be entitled to |
| 131 |
recover its costs and expenses, including, without limitation, reasonable |
| 132 |
attorneys' fees and costs incurred in connection with such action, including |
| 133 |
any appeal of such action. This section shall survive the termination of this |
| 134 |
License. |
| 135 |
|
| 136 |
13) Miscellaneous. This License represents the complete agreement concerning |
| 137 |
the subject matter hereof. If any provision of this License is held to be |
| 138 |
unenforceable, such provision shall be reformed only to the extent necessary to |
| 139 |
make it enforceable. |
| 140 |
|
| 141 |
14) Definition of "You" in This License. "You" throughout this License, whether |
| 142 |
in upper or lower case, means an individual or a legal entity exercising rights |
| 143 |
under, and complying with all of the terms of, this License. For legal |
| 144 |
entities, "You" includes any entity that controls, is controlled by, or is |
| 145 |
under common control with you. For purposes of this definition, "control" means |
| 146 |
(i) the power, direct or indirect, to cause the direction or management of such |
| 147 |
entity, whether by contract or otherwise, or (ii) ownership of fifty percent |
| 148 |
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such |
| 149 |
entity. |
| 150 |
|
| 151 |
15) Right to Use. You may use the Original Work in all ways not otherwise |
| 152 |
restricted or conditioned by this License or by law, and Licensor promises not |
| 153 |
to interfere with or be responsible for such uses by You. |
| 154 |
|
| 155 |
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. |
| 156 |
Permission is hereby granted to copy and distribute this license without |
| 157 |
modification. This license may not be modified without the express written |
| 158 |
permission of its copyright owner. |
| 159 |
|
| 160 |
|
| 161 |
-- |
| 162 |
END OF ACADEMIC FREE LICENSE. The following is intended to describe the |
| 163 |
essential differences between the Academic Free License (AFL) version 1.0 and |
| 164 |
other open source licenses: |
| 165 |
|
| 166 |
The Academic Free License is similar to the BSD, MIT, UoI/NCSA and Apache |
| 167 |
licenses in many respects but it is intended to solve a few problems with those |
| 168 |
licenses. |
| 169 |
|
| 170 |
* The AFL is written so as to make it clear what software is being |
| 171 |
licensed (by the inclusion of a statement following the copyright notice in the |
| 172 |
software). This way, the license functions better than a template license. The |
| 173 |
BSD, MIT and UoI/NCSA licenses apply to unidentified software. |
| 174 |
|
| 175 |
* The AFL contains a complete copyright grant to the software. The BSD |
| 176 |
and Apache licenses are vague and incomplete in that respect. |
| 177 |
|
| 178 |
* The AFL contains a complete patent grant to the software. The BSD, MIT, |
| 179 |
UoI/NCSA and Apache licenses rely on an implied patent license and contain no |
| 180 |
explicit patent grant. |
| 181 |
|
| 182 |
* The AFL makes it clear that no trademark rights are granted to the |
| 183 |
licensor's trademarks. The Apache license contains such a provision, but the |
| 184 |
BSD, MIT and UoI/NCSA licenses do not. |
| 185 |
|
| 186 |
* The AFL includes the warranty by the licensor that it either owns the |
| 187 |
copyright or that it is distributing the software under a license. None of the |
| 188 |
other licenses contain that warranty. All other warranties are disclaimed, as |
| 189 |
is the case for the other licenses. |
| 190 |
|
| 191 |
* The AFL is itself copyrighted (with the right granted to copy and distribute |
| 192 |
without modification). This ensures that the owner of the copyright to the |
| 193 |
license will control changes. The Apache license contains a copyright notice, |
| 194 |
but the BSD, MIT and UoI/NCSA licenses do not. |
| 195 |
|
| 196 |
-- |
| 197 |
START OF GNU LIBRARY GENERAL PUBLIC LICENSE |
| 198 |
-- |
| 199 |
|
| 200 |
GNU LIBRARY GENERAL PUBLIC LICENSE |
| 201 |
Version 2, June 1991 |
| 202 |
|
| 203 |
Copyright (C) 1991 Free Software Foundation, Inc. |
| 204 |
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 205 |
Everyone is permitted to copy and distribute verbatim copies |
| 206 |
of this license document, but changing it is not allowed. |
| 207 |
|
| 208 |
[This is the first released version of the library GPL. It is |
| 209 |
numbered 2 because it goes with version 2 of the ordinary GPL.] |
| 210 |
|
| 211 |
Preamble |
| 212 |
|
| 213 |
The licenses for most software are designed to take away your |
| 214 |
freedom to share and change it. By contrast, the GNU General Public |
| 215 |
Licenses are intended to guarantee your freedom to share and change |
| 216 |
free software--to make sure the software is free for all its users. |
| 217 |
|
| 218 |
This license, the Library General Public License, applies to some |
| 219 |
specially designated Free Software Foundation software, and to any |
| 220 |
other libraries whose authors decide to use it. You can use it for |
| 221 |
your libraries, too. |
| 222 |
|
| 223 |
When we speak of free software, we are referring to freedom, not |
| 224 |
price. Our General Public Licenses are designed to make sure that you |
| 225 |
have the freedom to distribute copies of free software (and charge for |
| 226 |
this service if you wish), that you receive source code or can get it |
| 227 |
if you want it, that you can change the software or use pieces of it |
| 228 |
in new free programs; and that you know you can do these things. |
| 229 |
|
| 230 |
To protect your rights, we need to make restrictions that forbid |
| 231 |
anyone to deny you these rights or to ask you to surrender the rights. |
| 232 |
These restrictions translate to certain responsibilities for you if |
| 233 |
you distribute copies of the library, or if you modify it. |
| 234 |
|
| 235 |
For example, if you distribute copies of the library, whether gratis |
| 236 |
or for a fee, you must give the recipients all the rights that we gave |
| 237 |
you. You must make sure that they, too, receive or can get the source |
| 238 |
code. If you link a program with the library, you must provide |
| 239 |
complete object files to the recipients so that they can relink them |
| 240 |
with the library, after making changes to the library and recompiling |
| 241 |
it. And you must show them these terms so they know their rights. |
| 242 |
|
| 243 |
Our method of protecting your rights has two steps: (1) copyright |
| 244 |
the library, and (2) offer you this license which gives you legal |
| 245 |
permission to copy, distribute and/or modify the library. |
| 246 |
|
| 247 |
Also, for each distributor's protection, we want to make certain |
| 248 |
that everyone understands that there is no warranty for this free |
| 249 |
library. If the library is modified by someone else and passed on, we |
| 250 |
want its recipients to know that what they have is not the original |
| 251 |
version, so that any problems introduced by others will not reflect on |
| 252 |
the original authors' reputations. |
| 253 |
|
| 254 |
Finally, any free program is threatened constantly by software |
| 255 |
patents. We wish to avoid the danger that companies distributing free |
| 256 |
software will individually obtain patent licenses, thus in effect |
| 257 |
transforming the program into proprietary software. To prevent this, |
| 258 |
we have made it clear that any patent must be licensed for everyone's |
| 259 |
free use or not licensed at all. |
| 260 |
|
| 261 |
Most GNU software, including some libraries, is covered by the ordinary |
| 262 |
GNU General Public License, which was designed for utility programs. This |
| 263 |
license, the GNU Library General Public License, applies to certain |
| 264 |
designated libraries. This license is quite different from the ordinary |
| 265 |
one; be sure to read it in full, and don't assume that anything in it is |
| 266 |
the same as in the ordinary license. |
| 267 |
|
| 268 |
The reason we have a separate public license for some libraries is that |
| 269 |
they blur the distinction we usually make between modifying or adding to a |
| 270 |
program and simply using it. Linking a program with a library, without |
| 271 |
changing the library, is in some sense simply using the library, and is |
| 272 |
analogous to running a utility program or application program. However, in |
| 273 |
a textual and legal sense, the linked executable is a combined work, a |
| 274 |
derivative of the original library, and the ordinary General Public License |
| 275 |
treats it as such. |
| 276 |
|
| 277 |
Because of this blurred distinction, using the ordinary General |
| 278 |
Public License for libraries did not effectively promote software |
| 279 |
sharing, because most developers did not use the libraries. We |
| 280 |
concluded that weaker conditions might promote sharing better. |
| 281 |
|
| 282 |
However, unrestricted linking of non-free programs would deprive the |
| 283 |
users of those programs of all benefit from the free status of the |
| 284 |
libraries themselves. This Library General Public License is intended to |
| 285 |
permit developers of non-free programs to use free libraries, while |
| 286 |
preserving your freedom as a user of such programs to change the free |
| 287 |
libraries that are incorporated in them. (We have not seen how to achieve |
| 288 |
this as regards changes in header files, but we have achieved it as regards |
| 289 |
changes in the actual functions of the Library.) The hope is that this |
| 290 |
will lead to faster development of free libraries. |
| 291 |
|
| 292 |
The precise terms and conditions for copying, distribution and |
| 293 |
modification follow. Pay close attention to the difference between a |
| 294 |
"work based on the library" and a "work that uses the library". The |
| 295 |
former contains code derived from the library, while the latter only |
| 296 |
works together with the library. |
| 297 |
|
| 298 |
Note that it is possible for a library to be covered by the ordinary |
| 299 |
General Public License rather than by this special one. |
| 300 |
|
| 301 |
GNU LIBRARY GENERAL PUBLIC LICENSE |
| 302 |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| 303 |
|
| 304 |
0. This License Agreement applies to any software library which |
| 305 |
contains a notice placed by the copyright holder or other authorized |
| 306 |
party saying it may be distributed under the terms of this Library |
| 307 |
General Public License (also called "this License"). Each licensee is |
| 308 |
addressed as "you". |
| 309 |
|
| 310 |
A "library" means a collection of software functions and/or data |
| 311 |
prepared so as to be conveniently linked with application programs |
| 312 |
(which use some of those functions and data) to form executables. |
| 313 |
|
| 314 |
The "Library", below, refers to any such software library or work |
| 315 |
which has been distributed under these terms. A "work based on the |
| 316 |
Library" means either the Library or any derivative work under |
| 317 |
copyright law: that is to say, a work containing the Library or a |
| 318 |
portion of it, either verbatim or with modifications and/or translated |
| 319 |
straightforwardly into another language. (Hereinafter, translation is |
| 320 |
included without limitation in the term "modification".) |
| 321 |
|
| 322 |
"Source code" for a work means the preferred form of the work for |
| 323 |
making modifications to it. For a library, complete source code means |
| 324 |
all the source code for all modules it contains, plus any associated |
| 325 |
interface definition files, plus the scripts used to control compilation |
| 326 |
and installation of the library. |
| 327 |
|
| 328 |
Activities other than copying, distribution and modification are not |
| 329 |
covered by this License; they are outside its scope. The act of |
| 330 |
running a program using the Library is not restricted, and output from |
| 331 |
such a program is covered only if its contents constitute a work based |
| 332 |
on the Library (independent of the use of the Library in a tool for |
| 333 |
writing it). Whether that is true depends on what the Library does |
| 334 |
and what the program that uses the Library does. |
| 335 |
|
| 336 |
1. You may copy and distribute verbatim copies of the Library's |
| 337 |
complete source code as you receive it, in any medium, provided that |
| 338 |
you conspicuously and appropriately publish on each copy an |
| 339 |
appropriate copyright notice and disclaimer of warranty; keep intact |
| 340 |
all the notices that refer to this License and to the absence of any |
| 341 |
warranty; and distribute a copy of this License along with the |
| 342 |
Library. |
| 343 |
|
| 344 |
You may charge a fee for the physical act of transferring a copy, |
| 345 |
and you may at your option offer warranty protection in exchange for a |
| 346 |
fee. |
| 347 |
|
| 348 |
2. You may modify your copy or copies of the Library or any portion |
| 349 |
of it, thus forming a work based on the Library, and copy and |
| 350 |
distribute such modifications or work under the terms of Section 1 |
| 351 |
above, provided that you also meet all of these conditions: |
| 352 |
|
| 353 |
a) The modified work must itself be a software library. |
| 354 |
|
| 355 |
b) You must cause the files modified to carry prominent notices |
| 356 |
stating that you changed the files and the date of any change. |
| 357 |
|
| 358 |
c) You must cause the whole of the work to be licensed at no |
| 359 |
charge to all third parties under the terms of this License. |
| 360 |
|
| 361 |
d) If a facility in the modified Library refers to a function or a |
| 362 |
table of data to be supplied by an application program that uses |
| 363 |
the facility, other than as an argument passed when the facility |
| 364 |
is invoked, then you must make a good faith effort to ensure that, |
| 365 |
in the event an application does not supply such function or |
| 366 |
table, the facility still operates, and performs whatever part of |
| 367 |
its purpose remains meaningful. |
| 368 |
|
| 369 |
(For example, a function in a library to compute square roots has |
| 370 |
a purpose that is entirely well-defined independent of the |
| 371 |
application. Therefore, Subsection 2d requires that any |
| 372 |
application-supplied function or table used by this function must |
| 373 |
be optional: if the application does not supply it, the square |
| 374 |
root function must still compute square roots.) |
| 375 |
|
| 376 |
These requirements apply to the modified work as a whole. If |
| 377 |
identifiable sections of that work are not derived from the Library, |
| 378 |
and can be reasonably considered independent and separate works in |
| 379 |
themselves, then this License, and its terms, do not apply to those |
| 380 |
sections when you distribute them as separate works. But when you |
| 381 |
distribute the same sections as part of a whole which is a work based |
| 382 |
on the Library, the distribution of the whole must be on the terms of |
| 383 |
this License, whose permissions for other licensees extend to the |
| 384 |
entire whole, and thus to each and every part regardless of who wrote |
| 385 |
it. |
| 386 |
|
| 387 |
Thus, it is not the intent of this section to claim rights or contest |
| 388 |
your rights to work written entirely by you; rather, the intent is to |
| 389 |
exercise the right to control the distribution of derivative or |
| 390 |
collective works based on the Library. |
| 391 |
|
| 392 |
In addition, mere aggregation of another work not based on the Library |
| 393 |
with the Library (or with a work based on the Library) on a volume of |
| 394 |
a storage or distribution medium does not bring the other work under |
| 395 |
the scope of this License. |
| 396 |
|
| 397 |
3. You may opt to apply the terms of the ordinary GNU General Public |
| 398 |
License instead of this License to a given copy of the Library. To do |
| 399 |
this, you must alter all the notices that refer to this License, so |
| 400 |
that they refer to the ordinary GNU General Public License, version 2, |
| 401 |
instead of to this License. (If a newer version than version 2 of the |
| 402 |
ordinary GNU General Public License has appeared, then you can specify |
| 403 |
that version instead if you wish.) Do not make any other change in |
| 404 |
these notices. |
| 405 |
|
| 406 |
Once this change is made in a given copy, it is irreversible for |
| 407 |
that copy, so the ordinary GNU General Public License applies to all |
| 408 |
subsequent copies and derivative works made from that copy. |
| 409 |
|
| 410 |
This option is useful when you wish to copy part of the code of |
| 411 |
the Library into a program that is not a library. |
| 412 |
|
| 413 |
4. You may copy and distribute the Library (or a portion or |
| 414 |
derivative of it, under Section 2) in object code or executable form |
| 415 |
under the terms of Sections 1 and 2 above provided that you accompany |
| 416 |
it with the complete corresponding machine-readable source code, which |
| 417 |
must be distributed under the terms of Sections 1 and 2 above on a |
| 418 |
medium customarily used for software interchange. |
| 419 |
|
| 420 |
If distribution of object code is made by offering access to copy |
| 421 |
from a designated place, then offering equivalent access to copy the |
| 422 |
source code from the same place satisfies the requirement to |
| 423 |
distribute the source code, even though third parties are not |
| 424 |
compelled to copy the source along with the object code. |
| 425 |
|
| 426 |
5. A program that contains no derivative of any portion of the |
| 427 |
Library, but is designed to work with the Library by being compiled or |
| 428 |
linked with it, is called a "work that uses the Library". Such a |
| 429 |
work, in isolation, is not a derivative work of the Library, and |
| 430 |
therefore falls outside the scope of this License. |
| 431 |
|
| 432 |
However, linking a "work that uses the Library" with the Library |
| 433 |
creates an executable that is a derivative of the Library (because it |
| 434 |
contains portions of the Library), rather than a "work that uses the |
| 435 |
library". The executable is therefore covered by this License. |
| 436 |
Section 6 states terms for distribution of such executables. |
| 437 |
|
| 438 |
When a "work that uses the Library" uses material from a header file |
| 439 |
that is part of the Library, the object code for the work may be a |
| 440 |
derivative work of the Library even though the source code is not. |
| 441 |
Whether this is true is especially significant if the work can be |
| 442 |
linked without the Library, or if the work is itself a library. The |
| 443 |
threshold for this to be true is not precisely defined by law. |
| 444 |
|
| 445 |
If such an object file uses only numerical parameters, data |
| 446 |
structure layouts and accessors, and small macros and small inline |
| 447 |
functions (ten lines or less in length), then the use of the object |
| 448 |
file is unrestricted, regardless of whether it is legally a derivative |
| 449 |
work. (Executables containing this object code plus portions of the |
| 450 |
Library will still fall under Section 6.) |
| 451 |
|
| 452 |
Otherwise, if the work is a derivative of the Library, you may |
| 453 |
distribute the object code for the work under the terms of Section 6. |
| 454 |
Any executables containing that work also fall under Section 6, |
| 455 |
whether or not they are linked directly with the Library itself. |
| 456 |
|
| 457 |
6. As an exception to the Sections above, you may also compile or |
| 458 |
link a "work that uses the Library" with the Library to produce a |
| 459 |
work containing portions of the Library, and distribute that work |
| 460 |
under terms of your choice, provided that the terms permit |
| 461 |
modification of the work for the customer's own use and reverse |
| 462 |
engineering for debugging such modifications. |
| 463 |
|
| 464 |
You must give prominent notice with each copy of the work that the |
| 465 |
Library is used in it and that the Library and its use are covered by |
| 466 |
this License. You must supply a copy of this License. If the work |
| 467 |
during execution displays copyright notices, you must include the |
| 468 |
copyright notice for the Library among them, as well as a reference |
| 469 |
directing the user to the copy of this License. Also, you must do one |
| 470 |
of these things: |
| 471 |
|
| 472 |
a) Accompany the work with the complete corresponding |
| 473 |
machine-readable source code for the Library including whatever |
| 474 |
changes were used in the work (which must be distributed under |
| 475 |
Sections 1 and 2 above); and, if the work is an executable linked |
| 476 |
with the Library, with the complete machine-readable "work that |
| 477 |
uses the Library", as object code and/or source code, so that the |
| 478 |
user can modify the Library and then relink to produce a modified |
| 479 |
executable containing the modified Library. (It is understood |
| 480 |
that the user who changes the contents of definitions files in the |
| 481 |
Library will not necessarily be able to recompile the application |
| 482 |
to use the modified definitions.) |
| 483 |
|
| 484 |
b) Accompany the work with a written offer, valid for at |
| 485 |
least three years, to give the same user the materials |
| 486 |
specified in Subsection 6a, above, for a charge no more |
| 487 |
than the cost of performing this distribution. |
| 488 |
|
| 489 |
c) If distribution of the work is made by offering access to copy |
| 490 |
from a designated place, offer equivalent access to copy the above |
| 491 |
specified materials from the same place. |
| 492 |
|
| 493 |
d) Verify that the user has already received a copy of these |
| 494 |
materials or that you have already sent this user a copy. |
| 495 |
|
| 496 |
For an executable, the required form of the "work that uses the |
| 497 |
Library" must include any data and utility programs needed for |
| 498 |
reproducing the executable from it. However, as a special exception, |
| 499 |
the source code distributed need not include anything that is normally |
| 500 |
distributed (in either source or binary form) with the major |
| 501 |
components (compiler, kernel, and so on) of the operating system on |
| 502 |
which the executable runs, unless that component itself accompanies |
| 503 |
the executable. |
| 504 |
|
| 505 |
It may happen that this requirement contradicts the license |
| 506 |
restrictions of other proprietary libraries that do not normally |
| 507 |
accompany the operating system. Such a contradiction means you cannot |
| 508 |
use both them and the Library together in an executable that you |
| 509 |
distribute. |
| 510 |
|
| 511 |
7. You may place library facilities that are a work based on the |
| 512 |
Library side-by-side in a single library together with other library |
| 513 |
facilities not covered by this License, and distribute such a combined |
| 514 |
library, provided that the separate distribution of the work based on |
| 515 |
the Library and of the other library facilities is otherwise |
| 516 |
permitted, and provided that you do these two things: |
| 517 |
|
| 518 |
a) Accompany the combined library with a copy of the same work |
| 519 |
based on the Library, uncombined with any other library |
| 520 |
facilities. This must be distributed under the terms of the |
| 521 |
Sections above. |
| 522 |
|
| 523 |
b) Give prominent notice with the combined library of the fact |
| 524 |
that part of it is a work based on the Library, and explaining |
| 525 |
where to find the accompanying uncombined form of the same work. |
| 526 |
|
| 527 |
8. You may not copy, modify, sublicense, link with, or distribute |
| 528 |
the Library except as expressly provided under this License. Any |
| 529 |
attempt otherwise to copy, modify, sublicense, link with, or |
| 530 |
distribute the Library is void, and will automatically terminate your |
| 531 |
rights under this License. However, parties who have received copies, |
| 532 |
or rights, from you under this License will not have their licenses |
| 533 |
terminated so long as such parties remain in full compliance. |
| 534 |
|
| 535 |
9. You are not required to accept this License, since you have not |
| 536 |
signed it. However, nothing else grants you permission to modify or |
| 537 |
distribute the Library or its derivative works. These actions are |
| 538 |
prohibited by law if you do not accept this License. Therefore, by |
| 539 |
modifying or distributing the Library (or any work based on the |
| 540 |
Library), you indicate your acceptance of this License to do so, and |
| 541 |
all its terms and conditions for copying, distributing or modifying |
| 542 |
the Library or works based on it. |
| 543 |
|
| 544 |
10. Each time you redistribute the Library (or any work based on the |
| 545 |
Library), the recipient automatically receives a license from the |
| 546 |
original licensor to copy, distribute, link with or modify the Library |
| 547 |
subject to these terms and conditions. You may not impose any further |
| 548 |
restrictions on the recipients' exercise of the rights granted herein. |
| 549 |
You are not responsible for enforcing compliance by third parties to |
| 550 |
this License. |
| 551 |
|
| 552 |
11. If, as a consequence of a court judgment or allegation of patent |
| 553 |
infringement or for any other reason (not limited to patent issues), |
| 554 |
conditions are imposed on you (whether by court order, agreement or |
| 555 |
otherwise) that contradict the conditions of this License, they do not |
| 556 |
excuse you from the conditions of this License. If you cannot |
| 557 |
distribute so as to satisfy simultaneously your obligations under this |
| 558 |
License and any other pertinent obligations, then as a consequence you |
| 559 |
may not distribute the Library at all. For example, if a patent |
| 560 |
license would not permit royalty-free redistribution of the Library by |
| 561 |
all those who receive copies directly or indirectly through you, then |
| 562 |
the only way you could satisfy both it and this License would be to |
| 563 |
refrain entirely from distribution of the Library. |
| 564 |
|
| 565 |
If any portion of this section is held invalid or unenforceable under any |
| 566 |
particular circumstance, the balance of the section is intended to apply, |
| 567 |
and the section as a whole is intended to apply in other circumstances. |
| 568 |
|
| 569 |
It is not the purpose of this section to induce you to infringe any |
| 570 |
patents or other property right claims or to contest validity of any |
| 571 |
such claims; this section has the sole purpose of protecting the |
| 572 |
integrity of the free software distribution system which is |
| 573 |
implemented by public license practices. Many people have made |
| 574 |
generous contributions to the wide range of software distributed |
| 575 |
through that system in reliance on consistent application of that |
| 576 |
system; it is up to the author/donor to decide if he or she is willing |
| 577 |
to distribute software through any other system and a licensee cannot |
| 578 |
impose that choice. |
| 579 |
|
| 580 |
This section is intended to make thoroughly clear what is believed to |
| 581 |
be a consequence of the rest of this License. |
| 582 |
|
| 583 |
12. If the distribution and/or use of the Library is restricted in |
| 584 |
certain countries either by patents or by copyrighted interfaces, the |
| 585 |
original copyright holder who places the Library under this License may add |
| 586 |
an explicit geographical distribution limitation excluding those countries, |
| 587 |
so that distribution is permitted only in or among countries not thus |
| 588 |
excluded. In such case, this License incorporates the limitation as if |
| 589 |
written in the body of this License. |
| 590 |
|
| 591 |
13. The Free Software Foundation may publish revised and/or new |
| 592 |
versions of the Library General Public License from time to time. |
| 593 |
Such new versions will be similar in spirit to the present version, |
| 594 |
but may differ in detail to address new problems or concerns. |
| 595 |
|
| 596 |
Each version is given a distinguishing version number. If the Library |
| 597 |
specifies a version number of this License which applies to it and |
| 598 |
"any later version", you have the option of following the terms and |
| 599 |
conditions either of that version or of any later version published by |
| 600 |
the Free Software Foundation. If the Library does not specify a |
| 601 |
license version number, you may choose any version ever published by |
| 602 |
the Free Software Foundation. |
| 603 |
|
| 604 |
14. If you wish to incorporate parts of the Library into other free |
| 605 |
programs whose distribution conditions are incompatible with these, |
| 606 |
write to the author to ask for permission. For software which is |
| 607 |
copyrighted by the Free Software Foundation, write to the Free |
| 608 |
Software Foundation; we sometimes make exceptions for this. Our |
| 609 |
decision will be guided by the two goals of preserving the free status |
| 610 |
of all derivatives of our free software and of promoting the sharing |
| 611 |
and reuse of software generally. |
| 612 |
|
| 613 |
NO WARRANTY |
| 614 |
|
| 615 |
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
| 616 |
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
| 617 |
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
| 618 |
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
| 619 |
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
| 620 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
| 621 |
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
| 622 |
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
| 623 |
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 624 |
|
| 625 |
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
| 626 |
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
| 627 |
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
| 628 |
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
| 629 |
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
| 630 |
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
| 631 |
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
| 632 |
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
| 633 |
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
| 634 |
DAMAGES. |
| 635 |
|
| 636 |
END OF TERMS AND CONDITIONS |
| 637 |
|
| 638 |
How to Apply These Terms to Your New Libraries |
| 639 |
|
| 640 |
If you develop a new library, and you want it to be of the greatest |
| 641 |
possible use to the public, we recommend making it free software that |
| 642 |
everyone can redistribute and change. You can do so by permitting |
| 643 |
redistribution under these terms (or, alternatively, under the terms of the |
| 644 |
ordinary General Public License). |
| 645 |
|
| 646 |
To apply these terms, attach the following notices to the library. It is |
| 647 |
safest to attach them to the start of each source file to most effectively |
| 648 |
convey the exclusion of warranty; and each file should have at least the |
| 649 |
"copyright" line and a pointer to where the full notice is found. |
| 650 |
|
| 651 |
<one line to give the library's name and a brief idea of what it does.> |
| 652 |
Copyright (C) <year> <name of author> |
| 653 |
|
| 654 |
This library is free software; you can redistribute it and/or |
| 655 |
modify it under the terms of the GNU Library General Public |
| 656 |
License as published by the Free Software Foundation; either |
| 657 |
version 2 of the License, or (at your option) any later version. |
| 658 |
|
| 659 |
This library is distributed in the hope that it will be useful, |
| 660 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 661 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 662 |
Library General Public License for more details. |
| 663 |
|
| 664 |
You should have received a copy of the GNU Library General Public |
| 665 |
License along with this library; if not, write to the Free Software |
| 666 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA |
| 667 |
|
| 668 |
Also add information on how to contact you by electronic and paper mail. |
| 669 |
|
| 670 |
You should also get your employer (if you work as a programmer) or your |
| 671 |
school, if any, to sign a "copyright disclaimer" for the library, if |
| 672 |
necessary. Here is a sample; alter the names: |
| 673 |
|
| 674 |
Yoyodyne, Inc., hereby disclaims all copyright interest in the |
| 675 |
library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
| 676 |
|
| 677 |
<signature of Ty Coon>, 1 April 1990 |
| 678 |
Ty Coon, President of Vice |
| 679 |
|
| 680 |
That's all there is to it! |