1*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 2*2d543d20SAndroid Build Coastguard Worker Version 2, June 1991 3*2d543d20SAndroid Build Coastguard Worker 4*2d543d20SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5*2d543d20SAndroid Build Coastguard Worker 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 6*2d543d20SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 7*2d543d20SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 8*2d543d20SAndroid Build Coastguard Worker 9*2d543d20SAndroid Build Coastguard Worker Preamble 10*2d543d20SAndroid Build Coastguard Worker 11*2d543d20SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 12*2d543d20SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 13*2d543d20SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 14*2d543d20SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 15*2d543d20SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 16*2d543d20SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 17*2d543d20SAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 18*2d543d20SAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 19*2d543d20SAndroid Build Coastguard Workeryour programs, too. 20*2d543d20SAndroid Build Coastguard Worker 21*2d543d20SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 22*2d543d20SAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 23*2d543d20SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 24*2d543d20SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 25*2d543d20SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 26*2d543d20SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 27*2d543d20SAndroid Build Coastguard Worker 28*2d543d20SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 29*2d543d20SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 30*2d543d20SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 31*2d543d20SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 32*2d543d20SAndroid Build Coastguard Worker 33*2d543d20SAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 34*2d543d20SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 35*2d543d20SAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 36*2d543d20SAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 37*2d543d20SAndroid Build Coastguard Workerrights. 38*2d543d20SAndroid Build Coastguard Worker 39*2d543d20SAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 40*2d543d20SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 41*2d543d20SAndroid Build Coastguard Workerdistribute and/or modify the software. 42*2d543d20SAndroid Build Coastguard Worker 43*2d543d20SAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 44*2d543d20SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 45*2d543d20SAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 46*2d543d20SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 47*2d543d20SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 48*2d543d20SAndroid Build Coastguard Workerauthors' reputations. 49*2d543d20SAndroid Build Coastguard Worker 50*2d543d20SAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 51*2d543d20SAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 52*2d543d20SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 53*2d543d20SAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 54*2d543d20SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 55*2d543d20SAndroid Build Coastguard Worker 56*2d543d20SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 57*2d543d20SAndroid Build Coastguard Workermodification follow. 58*2d543d20SAndroid Build Coastguard Worker 59*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 60*2d543d20SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61*2d543d20SAndroid Build Coastguard Worker 62*2d543d20SAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 63*2d543d20SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 64*2d543d20SAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 65*2d543d20SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 66*2d543d20SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 67*2d543d20SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 68*2d543d20SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 69*2d543d20SAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 70*2d543d20SAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 71*2d543d20SAndroid Build Coastguard Worker 72*2d543d20SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 73*2d543d20SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 74*2d543d20SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 75*2d543d20SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 76*2d543d20SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 77*2d543d20SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 78*2d543d20SAndroid Build Coastguard Worker 79*2d543d20SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 80*2d543d20SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 81*2d543d20SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 82*2d543d20SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 83*2d543d20SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 84*2d543d20SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 85*2d543d20SAndroid Build Coastguard Workeralong with the Program. 86*2d543d20SAndroid Build Coastguard Worker 87*2d543d20SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 88*2d543d20SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 89*2d543d20SAndroid Build Coastguard Worker 90*2d543d20SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 91*2d543d20SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 92*2d543d20SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 93*2d543d20SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 94*2d543d20SAndroid Build Coastguard Worker 95*2d543d20SAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 96*2d543d20SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 97*2d543d20SAndroid Build Coastguard Worker 98*2d543d20SAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 99*2d543d20SAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 100*2d543d20SAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 101*2d543d20SAndroid Build Coastguard Worker parties under the terms of this License. 102*2d543d20SAndroid Build Coastguard Worker 103*2d543d20SAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 104*2d543d20SAndroid Build Coastguard Worker when run, you must cause it, when started running for such 105*2d543d20SAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 106*2d543d20SAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 107*2d543d20SAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 108*2d543d20SAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 109*2d543d20SAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 110*2d543d20SAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 111*2d543d20SAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 112*2d543d20SAndroid Build Coastguard Worker the Program is not required to print an announcement.) 113*2d543d20SAndroid Build Coastguard Worker 114*2d543d20SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 115*2d543d20SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 116*2d543d20SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 117*2d543d20SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 118*2d543d20SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 119*2d543d20SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 120*2d543d20SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 121*2d543d20SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 122*2d543d20SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 123*2d543d20SAndroid Build Coastguard Worker 124*2d543d20SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 125*2d543d20SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 126*2d543d20SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 127*2d543d20SAndroid Build Coastguard Workercollective works based on the Program. 128*2d543d20SAndroid Build Coastguard Worker 129*2d543d20SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 130*2d543d20SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 131*2d543d20SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 132*2d543d20SAndroid Build Coastguard Workerthe scope of this License. 133*2d543d20SAndroid Build Coastguard Worker 134*2d543d20SAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 135*2d543d20SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 136*2d543d20SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 137*2d543d20SAndroid Build Coastguard Worker 138*2d543d20SAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 139*2d543d20SAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 140*2d543d20SAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 141*2d543d20SAndroid Build Coastguard Worker 142*2d543d20SAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 143*2d543d20SAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 144*2d543d20SAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 145*2d543d20SAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 146*2d543d20SAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 147*2d543d20SAndroid Build Coastguard Worker customarily used for software interchange; or, 148*2d543d20SAndroid Build Coastguard Worker 149*2d543d20SAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 150*2d543d20SAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 151*2d543d20SAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 152*2d543d20SAndroid Build Coastguard Worker received the program in object code or executable form with such 153*2d543d20SAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 154*2d543d20SAndroid Build Coastguard Worker 155*2d543d20SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 156*2d543d20SAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 157*2d543d20SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 158*2d543d20SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 159*2d543d20SAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 160*2d543d20SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 161*2d543d20SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 162*2d543d20SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 163*2d543d20SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 164*2d543d20SAndroid Build Coastguard Workeritself accompanies the executable. 165*2d543d20SAndroid Build Coastguard Worker 166*2d543d20SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 167*2d543d20SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 168*2d543d20SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 169*2d543d20SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 170*2d543d20SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 171*2d543d20SAndroid Build Coastguard Worker 172*2d543d20SAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 173*2d543d20SAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 174*2d543d20SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 175*2d543d20SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 176*2d543d20SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 177*2d543d20SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 178*2d543d20SAndroid Build Coastguard Workerparties remain in full compliance. 179*2d543d20SAndroid Build Coastguard Worker 180*2d543d20SAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 181*2d543d20SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 182*2d543d20SAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 183*2d543d20SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 184*2d543d20SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 185*2d543d20SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 186*2d543d20SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 187*2d543d20SAndroid Build Coastguard Workerthe Program or works based on it. 188*2d543d20SAndroid Build Coastguard Worker 189*2d543d20SAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 190*2d543d20SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 191*2d543d20SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 192*2d543d20SAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 193*2d543d20SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 194*2d543d20SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 195*2d543d20SAndroid Build Coastguard Workerthis License. 196*2d543d20SAndroid Build Coastguard Worker 197*2d543d20SAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 198*2d543d20SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 199*2d543d20SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 200*2d543d20SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 201*2d543d20SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 202*2d543d20SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 203*2d543d20SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 204*2d543d20SAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 205*2d543d20SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 206*2d543d20SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 207*2d543d20SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 208*2d543d20SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 209*2d543d20SAndroid Build Coastguard Worker 210*2d543d20SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 211*2d543d20SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 212*2d543d20SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 213*2d543d20SAndroid Build Coastguard Workercircumstances. 214*2d543d20SAndroid Build Coastguard Worker 215*2d543d20SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 216*2d543d20SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 217*2d543d20SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 218*2d543d20SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 219*2d543d20SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 220*2d543d20SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 221*2d543d20SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 222*2d543d20SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 223*2d543d20SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 224*2d543d20SAndroid Build Coastguard Workerimpose that choice. 225*2d543d20SAndroid Build Coastguard Worker 226*2d543d20SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 227*2d543d20SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 228*2d543d20SAndroid Build Coastguard Worker 229*2d543d20SAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 230*2d543d20SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 231*2d543d20SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 232*2d543d20SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 233*2d543d20SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 234*2d543d20SAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 235*2d543d20SAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 236*2d543d20SAndroid Build Coastguard Worker 237*2d543d20SAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 238*2d543d20SAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 239*2d543d20SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 240*2d543d20SAndroid Build Coastguard Workeraddress new problems or concerns. 241*2d543d20SAndroid Build Coastguard Worker 242*2d543d20SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 243*2d543d20SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 244*2d543d20SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 245*2d543d20SAndroid Build Coastguard Workereither of that version or of any later version published by the Free 246*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 247*2d543d20SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 248*2d543d20SAndroid Build Coastguard WorkerFoundation. 249*2d543d20SAndroid Build Coastguard Worker 250*2d543d20SAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 251*2d543d20SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 252*2d543d20SAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 253*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 254*2d543d20SAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 255*2d543d20SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 256*2d543d20SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 257*2d543d20SAndroid Build Coastguard Worker 258*2d543d20SAndroid Build Coastguard Worker NO WARRANTY 259*2d543d20SAndroid Build Coastguard Worker 260*2d543d20SAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261*2d543d20SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262*2d543d20SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263*2d543d20SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264*2d543d20SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265*2d543d20SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266*2d543d20SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267*2d543d20SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268*2d543d20SAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 269*2d543d20SAndroid Build Coastguard Worker 270*2d543d20SAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271*2d543d20SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272*2d543d20SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273*2d543d20SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274*2d543d20SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275*2d543d20SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276*2d543d20SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277*2d543d20SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278*2d543d20SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 279*2d543d20SAndroid Build Coastguard Worker 280*2d543d20SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 281*2d543d20SAndroid Build Coastguard Worker 282*2d543d20SAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 283*2d543d20SAndroid Build Coastguard Worker 284*2d543d20SAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 285*2d543d20SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 286*2d543d20SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 287*2d543d20SAndroid Build Coastguard Worker 288*2d543d20SAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 289*2d543d20SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 290*2d543d20SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 291*2d543d20SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 292*2d543d20SAndroid Build Coastguard Worker 293*2d543d20SAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 294*2d543d20SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 295*2d543d20SAndroid Build Coastguard Worker 296*2d543d20SAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 297*2d543d20SAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 298*2d543d20SAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 299*2d543d20SAndroid Build Coastguard Worker (at your option) any later version. 300*2d543d20SAndroid Build Coastguard Worker 301*2d543d20SAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 302*2d543d20SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 303*2d543d20SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304*2d543d20SAndroid Build Coastguard Worker GNU General Public License for more details. 305*2d543d20SAndroid Build Coastguard Worker 306*2d543d20SAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 307*2d543d20SAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 308*2d543d20SAndroid Build Coastguard Worker Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 309*2d543d20SAndroid Build Coastguard Worker 310*2d543d20SAndroid Build Coastguard Worker 311*2d543d20SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 312*2d543d20SAndroid Build Coastguard Worker 313*2d543d20SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 314*2d543d20SAndroid Build Coastguard Workerwhen it starts in an interactive mode: 315*2d543d20SAndroid Build Coastguard Worker 316*2d543d20SAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 317*2d543d20SAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 318*2d543d20SAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 319*2d543d20SAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 320*2d543d20SAndroid Build Coastguard Worker 321*2d543d20SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 322*2d543d20SAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 323*2d543d20SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 324*2d543d20SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 325*2d543d20SAndroid Build Coastguard Worker 326*2d543d20SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 327*2d543d20SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 328*2d543d20SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 329*2d543d20SAndroid Build Coastguard Worker 330*2d543d20SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 331*2d543d20SAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 332*2d543d20SAndroid Build Coastguard Worker 333*2d543d20SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 334*2d543d20SAndroid Build Coastguard Worker Ty Coon, President of Vice 335*2d543d20SAndroid Build Coastguard Worker 336*2d543d20SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 337*2d543d20SAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 338*2d543d20SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 339*2d543d20SAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 340*2d543d20SAndroid Build Coastguard WorkerPublic License instead of this License. 341*2d543d20SAndroid Build Coastguard Worker GNU LESSER GENERAL PUBLIC LICENSE 342*2d543d20SAndroid Build Coastguard Worker Version 2.1, February 1999 343*2d543d20SAndroid Build Coastguard Worker 344*2d543d20SAndroid Build Coastguard Worker Copyright (C) 1991, 1999 Free Software Foundation, Inc. 345*2d543d20SAndroid Build Coastguard Worker 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 346*2d543d20SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 347*2d543d20SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 348*2d543d20SAndroid Build Coastguard Worker 349*2d543d20SAndroid Build Coastguard Worker[This is the first released version of the Lesser GPL. It also counts 350*2d543d20SAndroid Build Coastguard Worker as the successor of the GNU Library Public License, version 2, hence 351*2d543d20SAndroid Build Coastguard Worker the version number 2.1.] 352*2d543d20SAndroid Build Coastguard Worker 353*2d543d20SAndroid Build Coastguard Worker Preamble 354*2d543d20SAndroid Build Coastguard Worker 355*2d543d20SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 356*2d543d20SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 357*2d543d20SAndroid Build Coastguard WorkerLicenses are intended to guarantee your freedom to share and change 358*2d543d20SAndroid Build Coastguard Workerfree software--to make sure the software is free for all its users. 359*2d543d20SAndroid Build Coastguard Worker 360*2d543d20SAndroid Build Coastguard Worker This license, the Lesser General Public License, applies to some 361*2d543d20SAndroid Build Coastguard Workerspecially designated software packages--typically libraries--of the 362*2d543d20SAndroid Build Coastguard WorkerFree Software Foundation and other authors who decide to use it. You 363*2d543d20SAndroid Build Coastguard Workercan use it too, but we suggest you first think carefully about whether 364*2d543d20SAndroid Build Coastguard Workerthis license or the ordinary General Public License is the better 365*2d543d20SAndroid Build Coastguard Workerstrategy to use in any particular case, based on the explanations below. 366*2d543d20SAndroid Build Coastguard Worker 367*2d543d20SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom of use, 368*2d543d20SAndroid Build Coastguard Workernot price. Our General Public Licenses are designed to make sure that 369*2d543d20SAndroid Build Coastguard Workeryou have the freedom to distribute copies of free software (and charge 370*2d543d20SAndroid Build Coastguard Workerfor this service if you wish); that you receive source code or can get 371*2d543d20SAndroid Build Coastguard Workerit if you want it; that you can change the software and use pieces of 372*2d543d20SAndroid Build Coastguard Workerit in new free programs; and that you are informed that you can do 373*2d543d20SAndroid Build Coastguard Workerthese things. 374*2d543d20SAndroid Build Coastguard Worker 375*2d543d20SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 376*2d543d20SAndroid Build Coastguard Workerdistributors to deny you these rights or to ask you to surrender these 377*2d543d20SAndroid Build Coastguard Workerrights. These restrictions translate to certain responsibilities for 378*2d543d20SAndroid Build Coastguard Workeryou if you distribute copies of the library or if you modify it. 379*2d543d20SAndroid Build Coastguard Worker 380*2d543d20SAndroid Build Coastguard Worker For example, if you distribute copies of the library, whether gratis 381*2d543d20SAndroid Build Coastguard Workeror for a fee, you must give the recipients all the rights that we gave 382*2d543d20SAndroid Build Coastguard Workeryou. You must make sure that they, too, receive or can get the source 383*2d543d20SAndroid Build Coastguard Workercode. If you link other code with the library, you must provide 384*2d543d20SAndroid Build Coastguard Workercomplete object files to the recipients, so that they can relink them 385*2d543d20SAndroid Build Coastguard Workerwith the library after making changes to the library and recompiling 386*2d543d20SAndroid Build Coastguard Workerit. And you must show them these terms so they know their rights. 387*2d543d20SAndroid Build Coastguard Worker 388*2d543d20SAndroid Build Coastguard Worker We protect your rights with a two-step method: (1) we copyright the 389*2d543d20SAndroid Build Coastguard Workerlibrary, and (2) we offer you this license, which gives you legal 390*2d543d20SAndroid Build Coastguard Workerpermission to copy, distribute and/or modify the library. 391*2d543d20SAndroid Build Coastguard Worker 392*2d543d20SAndroid Build Coastguard Worker To protect each distributor, we want to make it very clear that 393*2d543d20SAndroid Build Coastguard Workerthere is no warranty for the free library. Also, if the library is 394*2d543d20SAndroid Build Coastguard Workermodified by someone else and passed on, the recipients should know 395*2d543d20SAndroid Build Coastguard Workerthat what they have is not the original version, so that the original 396*2d543d20SAndroid Build Coastguard Workerauthor's reputation will not be affected by problems that might be 397*2d543d20SAndroid Build Coastguard Workerintroduced by others. 398*2d543d20SAndroid Build Coastguard Worker 399*2d543d20SAndroid Build Coastguard Worker Finally, software patents pose a constant threat to the existence of 400*2d543d20SAndroid Build Coastguard Workerany free program. We wish to make sure that a company cannot 401*2d543d20SAndroid Build Coastguard Workereffectively restrict the users of a free program by obtaining a 402*2d543d20SAndroid Build Coastguard Workerrestrictive license from a patent holder. Therefore, we insist that 403*2d543d20SAndroid Build Coastguard Workerany patent license obtained for a version of the library must be 404*2d543d20SAndroid Build Coastguard Workerconsistent with the full freedom of use specified in this license. 405*2d543d20SAndroid Build Coastguard Worker 406*2d543d20SAndroid Build Coastguard Worker Most GNU software, including some libraries, is covered by the 407*2d543d20SAndroid Build Coastguard Workerordinary GNU General Public License. This license, the GNU Lesser 408*2d543d20SAndroid Build Coastguard WorkerGeneral Public License, applies to certain designated libraries, and 409*2d543d20SAndroid Build Coastguard Workeris quite different from the ordinary General Public License. We use 410*2d543d20SAndroid Build Coastguard Workerthis license for certain libraries in order to permit linking those 411*2d543d20SAndroid Build Coastguard Workerlibraries into non-free programs. 412*2d543d20SAndroid Build Coastguard Worker 413*2d543d20SAndroid Build Coastguard Worker When a program is linked with a library, whether statically or using 414*2d543d20SAndroid Build Coastguard Workera shared library, the combination of the two is legally speaking a 415*2d543d20SAndroid Build Coastguard Workercombined work, a derivative of the original library. The ordinary 416*2d543d20SAndroid Build Coastguard WorkerGeneral Public License therefore permits such linking only if the 417*2d543d20SAndroid Build Coastguard Workerentire combination fits its criteria of freedom. The Lesser General 418*2d543d20SAndroid Build Coastguard WorkerPublic License permits more lax criteria for linking other code with 419*2d543d20SAndroid Build Coastguard Workerthe library. 420*2d543d20SAndroid Build Coastguard Worker 421*2d543d20SAndroid Build Coastguard Worker We call this license the "Lesser" General Public License because it 422*2d543d20SAndroid Build Coastguard Workerdoes Less to protect the user's freedom than the ordinary General 423*2d543d20SAndroid Build Coastguard WorkerPublic License. It also provides other free software developers Less 424*2d543d20SAndroid Build Coastguard Workerof an advantage over competing non-free programs. These disadvantages 425*2d543d20SAndroid Build Coastguard Workerare the reason we use the ordinary General Public License for many 426*2d543d20SAndroid Build Coastguard Workerlibraries. However, the Lesser license provides advantages in certain 427*2d543d20SAndroid Build Coastguard Workerspecial circumstances. 428*2d543d20SAndroid Build Coastguard Worker 429*2d543d20SAndroid Build Coastguard Worker For example, on rare occasions, there may be a special need to 430*2d543d20SAndroid Build Coastguard Workerencourage the widest possible use of a certain library, so that it becomes 431*2d543d20SAndroid Build Coastguard Workera de-facto standard. To achieve this, non-free programs must be 432*2d543d20SAndroid Build Coastguard Workerallowed to use the library. A more frequent case is that a free 433*2d543d20SAndroid Build Coastguard Workerlibrary does the same job as widely used non-free libraries. In this 434*2d543d20SAndroid Build Coastguard Workercase, there is little to gain by limiting the free library to free 435*2d543d20SAndroid Build Coastguard Workersoftware only, so we use the Lesser General Public License. 436*2d543d20SAndroid Build Coastguard Worker 437*2d543d20SAndroid Build Coastguard Worker In other cases, permission to use a particular library in non-free 438*2d543d20SAndroid Build Coastguard Workerprograms enables a greater number of people to use a large body of 439*2d543d20SAndroid Build Coastguard Workerfree software. For example, permission to use the GNU C Library in 440*2d543d20SAndroid Build Coastguard Workernon-free programs enables many more people to use the whole GNU 441*2d543d20SAndroid Build Coastguard Workeroperating system, as well as its variant, the GNU/Linux operating 442*2d543d20SAndroid Build Coastguard Workersystem. 443*2d543d20SAndroid Build Coastguard Worker 444*2d543d20SAndroid Build Coastguard Worker Although the Lesser General Public License is Less protective of the 445*2d543d20SAndroid Build Coastguard Workerusers' freedom, it does ensure that the user of a program that is 446*2d543d20SAndroid Build Coastguard Workerlinked with the Library has the freedom and the wherewithal to run 447*2d543d20SAndroid Build Coastguard Workerthat program using a modified version of the Library. 448*2d543d20SAndroid Build Coastguard Worker 449*2d543d20SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 450*2d543d20SAndroid Build Coastguard Workermodification follow. Pay close attention to the difference between a 451*2d543d20SAndroid Build Coastguard Worker"work based on the library" and a "work that uses the library". The 452*2d543d20SAndroid Build Coastguard Workerformer contains code derived from the library, whereas the latter must 453*2d543d20SAndroid Build Coastguard Workerbe combined with the library in order to run. 454*2d543d20SAndroid Build Coastguard Worker 455*2d543d20SAndroid Build Coastguard Worker GNU LESSER GENERAL PUBLIC LICENSE 456*2d543d20SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 457*2d543d20SAndroid Build Coastguard Worker 458*2d543d20SAndroid Build Coastguard Worker 0. This License Agreement applies to any software library or other 459*2d543d20SAndroid Build Coastguard Workerprogram which contains a notice placed by the copyright holder or 460*2d543d20SAndroid Build Coastguard Workerother authorized party saying it may be distributed under the terms of 461*2d543d20SAndroid Build Coastguard Workerthis Lesser General Public License (also called "this License"). 462*2d543d20SAndroid Build Coastguard WorkerEach licensee is addressed as "you". 463*2d543d20SAndroid Build Coastguard Worker 464*2d543d20SAndroid Build Coastguard Worker A "library" means a collection of software functions and/or data 465*2d543d20SAndroid Build Coastguard Workerprepared so as to be conveniently linked with application programs 466*2d543d20SAndroid Build Coastguard Worker(which use some of those functions and data) to form executables. 467*2d543d20SAndroid Build Coastguard Worker 468*2d543d20SAndroid Build Coastguard Worker The "Library", below, refers to any such software library or work 469*2d543d20SAndroid Build Coastguard Workerwhich has been distributed under these terms. A "work based on the 470*2d543d20SAndroid Build Coastguard WorkerLibrary" means either the Library or any derivative work under 471*2d543d20SAndroid Build Coastguard Workercopyright law: that is to say, a work containing the Library or a 472*2d543d20SAndroid Build Coastguard Workerportion of it, either verbatim or with modifications and/or translated 473*2d543d20SAndroid Build Coastguard Workerstraightforwardly into another language. (Hereinafter, translation is 474*2d543d20SAndroid Build Coastguard Workerincluded without limitation in the term "modification".) 475*2d543d20SAndroid Build Coastguard Worker 476*2d543d20SAndroid Build Coastguard Worker "Source code" for a work means the preferred form of the work for 477*2d543d20SAndroid Build Coastguard Workermaking modifications to it. For a library, complete source code means 478*2d543d20SAndroid Build Coastguard Workerall the source code for all modules it contains, plus any associated 479*2d543d20SAndroid Build Coastguard Workerinterface definition files, plus the scripts used to control compilation 480*2d543d20SAndroid Build Coastguard Workerand installation of the library. 481*2d543d20SAndroid Build Coastguard Worker 482*2d543d20SAndroid Build Coastguard Worker Activities other than copying, distribution and modification are not 483*2d543d20SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 484*2d543d20SAndroid Build Coastguard Workerrunning a program using the Library is not restricted, and output from 485*2d543d20SAndroid Build Coastguard Workersuch a program is covered only if its contents constitute a work based 486*2d543d20SAndroid Build Coastguard Workeron the Library (independent of the use of the Library in a tool for 487*2d543d20SAndroid Build Coastguard Workerwriting it). Whether that is true depends on what the Library does 488*2d543d20SAndroid Build Coastguard Workerand what the program that uses the Library does. 489*2d543d20SAndroid Build Coastguard Worker 490*2d543d20SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Library's 491*2d543d20SAndroid Build Coastguard Workercomplete source code as you receive it, in any medium, provided that 492*2d543d20SAndroid Build Coastguard Workeryou conspicuously and appropriately publish on each copy an 493*2d543d20SAndroid Build Coastguard Workerappropriate copyright notice and disclaimer of warranty; keep intact 494*2d543d20SAndroid Build Coastguard Workerall the notices that refer to this License and to the absence of any 495*2d543d20SAndroid Build Coastguard Workerwarranty; and distribute a copy of this License along with the 496*2d543d20SAndroid Build Coastguard WorkerLibrary. 497*2d543d20SAndroid Build Coastguard Worker 498*2d543d20SAndroid Build Coastguard Worker You may charge a fee for the physical act of transferring a copy, 499*2d543d20SAndroid Build Coastguard Workerand you may at your option offer warranty protection in exchange for a 500*2d543d20SAndroid Build Coastguard Workerfee. 501*2d543d20SAndroid Build Coastguard Worker 502*2d543d20SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Library or any portion 503*2d543d20SAndroid Build Coastguard Workerof it, thus forming a work based on the Library, and copy and 504*2d543d20SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 505*2d543d20SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 506*2d543d20SAndroid Build Coastguard Worker 507*2d543d20SAndroid Build Coastguard Worker a) The modified work must itself be a software library. 508*2d543d20SAndroid Build Coastguard Worker 509*2d543d20SAndroid Build Coastguard Worker b) You must cause the files modified to carry prominent notices 510*2d543d20SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 511*2d543d20SAndroid Build Coastguard Worker 512*2d543d20SAndroid Build Coastguard Worker c) You must cause the whole of the work to be licensed at no 513*2d543d20SAndroid Build Coastguard Worker charge to all third parties under the terms of this License. 514*2d543d20SAndroid Build Coastguard Worker 515*2d543d20SAndroid Build Coastguard Worker d) If a facility in the modified Library refers to a function or a 516*2d543d20SAndroid Build Coastguard Worker table of data to be supplied by an application program that uses 517*2d543d20SAndroid Build Coastguard Worker the facility, other than as an argument passed when the facility 518*2d543d20SAndroid Build Coastguard Worker is invoked, then you must make a good faith effort to ensure that, 519*2d543d20SAndroid Build Coastguard Worker in the event an application does not supply such function or 520*2d543d20SAndroid Build Coastguard Worker table, the facility still operates, and performs whatever part of 521*2d543d20SAndroid Build Coastguard Worker its purpose remains meaningful. 522*2d543d20SAndroid Build Coastguard Worker 523*2d543d20SAndroid Build Coastguard Worker (For example, a function in a library to compute square roots has 524*2d543d20SAndroid Build Coastguard Worker a purpose that is entirely well-defined independent of the 525*2d543d20SAndroid Build Coastguard Worker application. Therefore, Subsection 2d requires that any 526*2d543d20SAndroid Build Coastguard Worker application-supplied function or table used by this function must 527*2d543d20SAndroid Build Coastguard Worker be optional: if the application does not supply it, the square 528*2d543d20SAndroid Build Coastguard Worker root function must still compute square roots.) 529*2d543d20SAndroid Build Coastguard Worker 530*2d543d20SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 531*2d543d20SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Library, 532*2d543d20SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 533*2d543d20SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 534*2d543d20SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 535*2d543d20SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 536*2d543d20SAndroid Build Coastguard Workeron the Library, the distribution of the whole must be on the terms of 537*2d543d20SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 538*2d543d20SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote 539*2d543d20SAndroid Build Coastguard Workerit. 540*2d543d20SAndroid Build Coastguard Worker 541*2d543d20SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 542*2d543d20SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 543*2d543d20SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 544*2d543d20SAndroid Build Coastguard Workercollective works based on the Library. 545*2d543d20SAndroid Build Coastguard Worker 546*2d543d20SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Library 547*2d543d20SAndroid Build Coastguard Workerwith the Library (or with a work based on the Library) on a volume of 548*2d543d20SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 549*2d543d20SAndroid Build Coastguard Workerthe scope of this License. 550*2d543d20SAndroid Build Coastguard Worker 551*2d543d20SAndroid Build Coastguard Worker 3. You may opt to apply the terms of the ordinary GNU General Public 552*2d543d20SAndroid Build Coastguard WorkerLicense instead of this License to a given copy of the Library. To do 553*2d543d20SAndroid Build Coastguard Workerthis, you must alter all the notices that refer to this License, so 554*2d543d20SAndroid Build Coastguard Workerthat they refer to the ordinary GNU General Public License, version 2, 555*2d543d20SAndroid Build Coastguard Workerinstead of to this License. (If a newer version than version 2 of the 556*2d543d20SAndroid Build Coastguard Workerordinary GNU General Public License has appeared, then you can specify 557*2d543d20SAndroid Build Coastguard Workerthat version instead if you wish.) Do not make any other change in 558*2d543d20SAndroid Build Coastguard Workerthese notices. 559*2d543d20SAndroid Build Coastguard Worker 560*2d543d20SAndroid Build Coastguard Worker Once this change is made in a given copy, it is irreversible for 561*2d543d20SAndroid Build Coastguard Workerthat copy, so the ordinary GNU General Public License applies to all 562*2d543d20SAndroid Build Coastguard Workersubsequent copies and derivative works made from that copy. 563*2d543d20SAndroid Build Coastguard Worker 564*2d543d20SAndroid Build Coastguard Worker This option is useful when you wish to copy part of the code of 565*2d543d20SAndroid Build Coastguard Workerthe Library into a program that is not a library. 566*2d543d20SAndroid Build Coastguard Worker 567*2d543d20SAndroid Build Coastguard Worker 4. You may copy and distribute the Library (or a portion or 568*2d543d20SAndroid Build Coastguard Workerderivative of it, under Section 2) in object code or executable form 569*2d543d20SAndroid Build Coastguard Workerunder the terms of Sections 1 and 2 above provided that you accompany 570*2d543d20SAndroid Build Coastguard Workerit with the complete corresponding machine-readable source code, which 571*2d543d20SAndroid Build Coastguard Workermust be distributed under the terms of Sections 1 and 2 above on a 572*2d543d20SAndroid Build Coastguard Workermedium customarily used for software interchange. 573*2d543d20SAndroid Build Coastguard Worker 574*2d543d20SAndroid Build Coastguard Worker If distribution of object code is made by offering access to copy 575*2d543d20SAndroid Build Coastguard Workerfrom a designated place, then offering equivalent access to copy the 576*2d543d20SAndroid Build Coastguard Workersource code from the same place satisfies the requirement to 577*2d543d20SAndroid Build Coastguard Workerdistribute the source code, even though third parties are not 578*2d543d20SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 579*2d543d20SAndroid Build Coastguard Worker 580*2d543d20SAndroid Build Coastguard Worker 5. A program that contains no derivative of any portion of the 581*2d543d20SAndroid Build Coastguard WorkerLibrary, but is designed to work with the Library by being compiled or 582*2d543d20SAndroid Build Coastguard Workerlinked with it, is called a "work that uses the Library". Such a 583*2d543d20SAndroid Build Coastguard Workerwork, in isolation, is not a derivative work of the Library, and 584*2d543d20SAndroid Build Coastguard Workertherefore falls outside the scope of this License. 585*2d543d20SAndroid Build Coastguard Worker 586*2d543d20SAndroid Build Coastguard Worker However, linking a "work that uses the Library" with the Library 587*2d543d20SAndroid Build Coastguard Workercreates an executable that is a derivative of the Library (because it 588*2d543d20SAndroid Build Coastguard Workercontains portions of the Library), rather than a "work that uses the 589*2d543d20SAndroid Build Coastguard Workerlibrary". The executable is therefore covered by this License. 590*2d543d20SAndroid Build Coastguard WorkerSection 6 states terms for distribution of such executables. 591*2d543d20SAndroid Build Coastguard Worker 592*2d543d20SAndroid Build Coastguard Worker When a "work that uses the Library" uses material from a header file 593*2d543d20SAndroid Build Coastguard Workerthat is part of the Library, the object code for the work may be a 594*2d543d20SAndroid Build Coastguard Workerderivative work of the Library even though the source code is not. 595*2d543d20SAndroid Build Coastguard WorkerWhether this is true is especially significant if the work can be 596*2d543d20SAndroid Build Coastguard Workerlinked without the Library, or if the work is itself a library. The 597*2d543d20SAndroid Build Coastguard Workerthreshold for this to be true is not precisely defined by law. 598*2d543d20SAndroid Build Coastguard Worker 599*2d543d20SAndroid Build Coastguard Worker If such an object file uses only numerical parameters, data 600*2d543d20SAndroid Build Coastguard Workerstructure layouts and accessors, and small macros and small inline 601*2d543d20SAndroid Build Coastguard Workerfunctions (ten lines or less in length), then the use of the object 602*2d543d20SAndroid Build Coastguard Workerfile is unrestricted, regardless of whether it is legally a derivative 603*2d543d20SAndroid Build Coastguard Workerwork. (Executables containing this object code plus portions of the 604*2d543d20SAndroid Build Coastguard WorkerLibrary will still fall under Section 6.) 605*2d543d20SAndroid Build Coastguard Worker 606*2d543d20SAndroid Build Coastguard Worker Otherwise, if the work is a derivative of the Library, you may 607*2d543d20SAndroid Build Coastguard Workerdistribute the object code for the work under the terms of Section 6. 608*2d543d20SAndroid Build Coastguard WorkerAny executables containing that work also fall under Section 6, 609*2d543d20SAndroid Build Coastguard Workerwhether or not they are linked directly with the Library itself. 610*2d543d20SAndroid Build Coastguard Worker 611*2d543d20SAndroid Build Coastguard Worker 6. As an exception to the Sections above, you may also combine or 612*2d543d20SAndroid Build Coastguard Workerlink a "work that uses the Library" with the Library to produce a 613*2d543d20SAndroid Build Coastguard Workerwork containing portions of the Library, and distribute that work 614*2d543d20SAndroid Build Coastguard Workerunder terms of your choice, provided that the terms permit 615*2d543d20SAndroid Build Coastguard Workermodification of the work for the customer's own use and reverse 616*2d543d20SAndroid Build Coastguard Workerengineering for debugging such modifications. 617*2d543d20SAndroid Build Coastguard Worker 618*2d543d20SAndroid Build Coastguard Worker You must give prominent notice with each copy of the work that the 619*2d543d20SAndroid Build Coastguard WorkerLibrary is used in it and that the Library and its use are covered by 620*2d543d20SAndroid Build Coastguard Workerthis License. You must supply a copy of this License. If the work 621*2d543d20SAndroid Build Coastguard Workerduring execution displays copyright notices, you must include the 622*2d543d20SAndroid Build Coastguard Workercopyright notice for the Library among them, as well as a reference 623*2d543d20SAndroid Build Coastguard Workerdirecting the user to the copy of this License. Also, you must do one 624*2d543d20SAndroid Build Coastguard Workerof these things: 625*2d543d20SAndroid Build Coastguard Worker 626*2d543d20SAndroid Build Coastguard Worker a) Accompany the work with the complete corresponding 627*2d543d20SAndroid Build Coastguard Worker machine-readable source code for the Library including whatever 628*2d543d20SAndroid Build Coastguard Worker changes were used in the work (which must be distributed under 629*2d543d20SAndroid Build Coastguard Worker Sections 1 and 2 above); and, if the work is an executable linked 630*2d543d20SAndroid Build Coastguard Worker with the Library, with the complete machine-readable "work that 631*2d543d20SAndroid Build Coastguard Worker uses the Library", as object code and/or source code, so that the 632*2d543d20SAndroid Build Coastguard Worker user can modify the Library and then relink to produce a modified 633*2d543d20SAndroid Build Coastguard Worker executable containing the modified Library. (It is understood 634*2d543d20SAndroid Build Coastguard Worker that the user who changes the contents of definitions files in the 635*2d543d20SAndroid Build Coastguard Worker Library will not necessarily be able to recompile the application 636*2d543d20SAndroid Build Coastguard Worker to use the modified definitions.) 637*2d543d20SAndroid Build Coastguard Worker 638*2d543d20SAndroid Build Coastguard Worker b) Use a suitable shared library mechanism for linking with the 639*2d543d20SAndroid Build Coastguard Worker Library. A suitable mechanism is one that (1) uses at run time a 640*2d543d20SAndroid Build Coastguard Worker copy of the library already present on the user's computer system, 641*2d543d20SAndroid Build Coastguard Worker rather than copying library functions into the executable, and (2) 642*2d543d20SAndroid Build Coastguard Worker will operate properly with a modified version of the library, if 643*2d543d20SAndroid Build Coastguard Worker the user installs one, as long as the modified version is 644*2d543d20SAndroid Build Coastguard Worker interface-compatible with the version that the work was made with. 645*2d543d20SAndroid Build Coastguard Worker 646*2d543d20SAndroid Build Coastguard Worker c) Accompany the work with a written offer, valid for at 647*2d543d20SAndroid Build Coastguard Worker least three years, to give the same user the materials 648*2d543d20SAndroid Build Coastguard Worker specified in Subsection 6a, above, for a charge no more 649*2d543d20SAndroid Build Coastguard Worker than the cost of performing this distribution. 650*2d543d20SAndroid Build Coastguard Worker 651*2d543d20SAndroid Build Coastguard Worker d) If distribution of the work is made by offering access to copy 652*2d543d20SAndroid Build Coastguard Worker from a designated place, offer equivalent access to copy the above 653*2d543d20SAndroid Build Coastguard Worker specified materials from the same place. 654*2d543d20SAndroid Build Coastguard Worker 655*2d543d20SAndroid Build Coastguard Worker e) Verify that the user has already received a copy of these 656*2d543d20SAndroid Build Coastguard Worker materials or that you have already sent this user a copy. 657*2d543d20SAndroid Build Coastguard Worker 658*2d543d20SAndroid Build Coastguard Worker For an executable, the required form of the "work that uses the 659*2d543d20SAndroid Build Coastguard WorkerLibrary" must include any data and utility programs needed for 660*2d543d20SAndroid Build Coastguard Workerreproducing the executable from it. However, as a special exception, 661*2d543d20SAndroid Build Coastguard Workerthe materials to be distributed need not include anything that is 662*2d543d20SAndroid Build Coastguard Workernormally distributed (in either source or binary form) with the major 663*2d543d20SAndroid Build Coastguard Workercomponents (compiler, kernel, and so on) of the operating system on 664*2d543d20SAndroid Build Coastguard Workerwhich the executable runs, unless that component itself accompanies 665*2d543d20SAndroid Build Coastguard Workerthe executable. 666*2d543d20SAndroid Build Coastguard Worker 667*2d543d20SAndroid Build Coastguard Worker It may happen that this requirement contradicts the license 668*2d543d20SAndroid Build Coastguard Workerrestrictions of other proprietary libraries that do not normally 669*2d543d20SAndroid Build Coastguard Workeraccompany the operating system. Such a contradiction means you cannot 670*2d543d20SAndroid Build Coastguard Workeruse both them and the Library together in an executable that you 671*2d543d20SAndroid Build Coastguard Workerdistribute. 672*2d543d20SAndroid Build Coastguard Worker 673*2d543d20SAndroid Build Coastguard Worker 7. You may place library facilities that are a work based on the 674*2d543d20SAndroid Build Coastguard WorkerLibrary side-by-side in a single library together with other library 675*2d543d20SAndroid Build Coastguard Workerfacilities not covered by this License, and distribute such a combined 676*2d543d20SAndroid Build Coastguard Workerlibrary, provided that the separate distribution of the work based on 677*2d543d20SAndroid Build Coastguard Workerthe Library and of the other library facilities is otherwise 678*2d543d20SAndroid Build Coastguard Workerpermitted, and provided that you do these two things: 679*2d543d20SAndroid Build Coastguard Worker 680*2d543d20SAndroid Build Coastguard Worker a) Accompany the combined library with a copy of the same work 681*2d543d20SAndroid Build Coastguard Worker based on the Library, uncombined with any other library 682*2d543d20SAndroid Build Coastguard Worker facilities. This must be distributed under the terms of the 683*2d543d20SAndroid Build Coastguard Worker Sections above. 684*2d543d20SAndroid Build Coastguard Worker 685*2d543d20SAndroid Build Coastguard Worker b) Give prominent notice with the combined library of the fact 686*2d543d20SAndroid Build Coastguard Worker that part of it is a work based on the Library, and explaining 687*2d543d20SAndroid Build Coastguard Worker where to find the accompanying uncombined form of the same work. 688*2d543d20SAndroid Build Coastguard Worker 689*2d543d20SAndroid Build Coastguard Worker 8. You may not copy, modify, sublicense, link with, or distribute 690*2d543d20SAndroid Build Coastguard Workerthe Library except as expressly provided under this License. Any 691*2d543d20SAndroid Build Coastguard Workerattempt otherwise to copy, modify, sublicense, link with, or 692*2d543d20SAndroid Build Coastguard Workerdistribute the Library is void, and will automatically terminate your 693*2d543d20SAndroid Build Coastguard Workerrights under this License. However, parties who have received copies, 694*2d543d20SAndroid Build Coastguard Workeror rights, from you under this License will not have their licenses 695*2d543d20SAndroid Build Coastguard Workerterminated so long as such parties remain in full compliance. 696*2d543d20SAndroid Build Coastguard Worker 697*2d543d20SAndroid Build Coastguard Worker 9. You are not required to accept this License, since you have not 698*2d543d20SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 699*2d543d20SAndroid Build Coastguard Workerdistribute the Library or its derivative works. These actions are 700*2d543d20SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 701*2d543d20SAndroid Build Coastguard Workermodifying or distributing the Library (or any work based on the 702*2d543d20SAndroid Build Coastguard WorkerLibrary), you indicate your acceptance of this License to do so, and 703*2d543d20SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 704*2d543d20SAndroid Build Coastguard Workerthe Library or works based on it. 705*2d543d20SAndroid Build Coastguard Worker 706*2d543d20SAndroid Build Coastguard Worker 10. Each time you redistribute the Library (or any work based on the 707*2d543d20SAndroid Build Coastguard WorkerLibrary), the recipient automatically receives a license from the 708*2d543d20SAndroid Build Coastguard Workeroriginal licensor to copy, distribute, link with or modify the Library 709*2d543d20SAndroid Build Coastguard Workersubject to these terms and conditions. You may not impose any further 710*2d543d20SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 711*2d543d20SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties with 712*2d543d20SAndroid Build Coastguard Workerthis License. 713*2d543d20SAndroid Build Coastguard Worker 714*2d543d20SAndroid Build Coastguard Worker 11. If, as a consequence of a court judgment or allegation of patent 715*2d543d20SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 716*2d543d20SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 717*2d543d20SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 718*2d543d20SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 719*2d543d20SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 720*2d543d20SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 721*2d543d20SAndroid Build Coastguard Workermay not distribute the Library at all. For example, if a patent 722*2d543d20SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Library by 723*2d543d20SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 724*2d543d20SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 725*2d543d20SAndroid Build Coastguard Workerrefrain entirely from distribution of the Library. 726*2d543d20SAndroid Build Coastguard Worker 727*2d543d20SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under any 728*2d543d20SAndroid Build Coastguard Workerparticular circumstance, the balance of the section is intended to apply, 729*2d543d20SAndroid Build Coastguard Workerand the section as a whole is intended to apply in other circumstances. 730*2d543d20SAndroid Build Coastguard Worker 731*2d543d20SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 732*2d543d20SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 733*2d543d20SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 734*2d543d20SAndroid Build Coastguard Workerintegrity of the free software distribution system which is 735*2d543d20SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 736*2d543d20SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 737*2d543d20SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 738*2d543d20SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 739*2d543d20SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 740*2d543d20SAndroid Build Coastguard Workerimpose that choice. 741*2d543d20SAndroid Build Coastguard Worker 742*2d543d20SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 743*2d543d20SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 744*2d543d20SAndroid Build Coastguard Worker 745*2d543d20SAndroid Build Coastguard Worker 12. If the distribution and/or use of the Library is restricted in 746*2d543d20SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 747*2d543d20SAndroid Build Coastguard Workeroriginal copyright holder who places the Library under this License may add 748*2d543d20SAndroid Build Coastguard Workeran explicit geographical distribution limitation excluding those countries, 749*2d543d20SAndroid Build Coastguard Workerso that distribution is permitted only in or among countries not thus 750*2d543d20SAndroid Build Coastguard Workerexcluded. In such case, this License incorporates the limitation as if 751*2d543d20SAndroid Build Coastguard Workerwritten in the body of this License. 752*2d543d20SAndroid Build Coastguard Worker 753*2d543d20SAndroid Build Coastguard Worker 13. The Free Software Foundation may publish revised and/or new 754*2d543d20SAndroid Build Coastguard Workerversions of the Lesser General Public License from time to time. 755*2d543d20SAndroid Build Coastguard WorkerSuch new versions will be similar in spirit to the present version, 756*2d543d20SAndroid Build Coastguard Workerbut may differ in detail to address new problems or concerns. 757*2d543d20SAndroid Build Coastguard Worker 758*2d543d20SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Library 759*2d543d20SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and 760*2d543d20SAndroid Build Coastguard Worker"any later version", you have the option of following the terms and 761*2d543d20SAndroid Build Coastguard Workerconditions either of that version or of any later version published by 762*2d543d20SAndroid Build Coastguard Workerthe Free Software Foundation. If the Library does not specify a 763*2d543d20SAndroid Build Coastguard Workerlicense version number, you may choose any version ever published by 764*2d543d20SAndroid Build Coastguard Workerthe Free Software Foundation. 765*2d543d20SAndroid Build Coastguard Worker 766*2d543d20SAndroid Build Coastguard Worker 14. If you wish to incorporate parts of the Library into other free 767*2d543d20SAndroid Build Coastguard Workerprograms whose distribution conditions are incompatible with these, 768*2d543d20SAndroid Build Coastguard Workerwrite to the author to ask for permission. For software which is 769*2d543d20SAndroid Build Coastguard Workercopyrighted by the Free Software Foundation, write to the Free 770*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation; we sometimes make exceptions for this. Our 771*2d543d20SAndroid Build Coastguard Workerdecision will be guided by the two goals of preserving the free status 772*2d543d20SAndroid Build Coastguard Workerof all derivatives of our free software and of promoting the sharing 773*2d543d20SAndroid Build Coastguard Workerand reuse of software generally. 774*2d543d20SAndroid Build Coastguard Worker 775*2d543d20SAndroid Build Coastguard Worker NO WARRANTY 776*2d543d20SAndroid Build Coastguard Worker 777*2d543d20SAndroid Build Coastguard Worker 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 778*2d543d20SAndroid Build Coastguard WorkerWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 779*2d543d20SAndroid Build Coastguard WorkerEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 780*2d543d20SAndroid Build Coastguard WorkerOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 781*2d543d20SAndroid Build Coastguard WorkerKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 782*2d543d20SAndroid Build Coastguard WorkerIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 783*2d543d20SAndroid Build Coastguard WorkerPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 784*2d543d20SAndroid Build Coastguard WorkerLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 785*2d543d20SAndroid Build Coastguard WorkerTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 786*2d543d20SAndroid Build Coastguard Worker 787*2d543d20SAndroid Build Coastguard Worker 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 788*2d543d20SAndroid Build Coastguard WorkerWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 789*2d543d20SAndroid Build Coastguard WorkerAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 790*2d543d20SAndroid Build Coastguard WorkerFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 791*2d543d20SAndroid Build Coastguard WorkerCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 792*2d543d20SAndroid Build Coastguard WorkerLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 793*2d543d20SAndroid Build Coastguard WorkerRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 794*2d543d20SAndroid Build Coastguard WorkerFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 795*2d543d20SAndroid Build Coastguard WorkerSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 796*2d543d20SAndroid Build Coastguard WorkerDAMAGES. 797*2d543d20SAndroid Build Coastguard Worker 798*2d543d20SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 799*2d543d20SAndroid Build Coastguard Worker 800*2d543d20SAndroid Build Coastguard Worker How to Apply These Terms to Your New Libraries 801*2d543d20SAndroid Build Coastguard Worker 802*2d543d20SAndroid Build Coastguard Worker If you develop a new library, and you want it to be of the greatest 803*2d543d20SAndroid Build Coastguard Workerpossible use to the public, we recommend making it free software that 804*2d543d20SAndroid Build Coastguard Workereveryone can redistribute and change. You can do so by permitting 805*2d543d20SAndroid Build Coastguard Workerredistribution under these terms (or, alternatively, under the terms of the 806*2d543d20SAndroid Build Coastguard Workerordinary General Public License). 807*2d543d20SAndroid Build Coastguard Worker 808*2d543d20SAndroid Build Coastguard Worker To apply these terms, attach the following notices to the library. It is 809*2d543d20SAndroid Build Coastguard Workersafest to attach them to the start of each source file to most effectively 810*2d543d20SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least the 811*2d543d20SAndroid Build Coastguard Worker"copyright" line and a pointer to where the full notice is found. 812*2d543d20SAndroid Build Coastguard Worker 813*2d543d20SAndroid Build Coastguard Worker <one line to give the library's name and a brief idea of what it does.> 814*2d543d20SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 815*2d543d20SAndroid Build Coastguard Worker 816*2d543d20SAndroid Build Coastguard Worker This library is free software; you can redistribute it and/or 817*2d543d20SAndroid Build Coastguard Worker modify it under the terms of the GNU Lesser General Public 818*2d543d20SAndroid Build Coastguard Worker License as published by the Free Software Foundation; either 819*2d543d20SAndroid Build Coastguard Worker version 2.1 of the License, or (at your option) any later version. 820*2d543d20SAndroid Build Coastguard Worker 821*2d543d20SAndroid Build Coastguard Worker This library is distributed in the hope that it will be useful, 822*2d543d20SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 823*2d543d20SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 824*2d543d20SAndroid Build Coastguard Worker Lesser General Public License for more details. 825*2d543d20SAndroid Build Coastguard Worker 826*2d543d20SAndroid Build Coastguard Worker You should have received a copy of the GNU Lesser General Public 827*2d543d20SAndroid Build Coastguard Worker License along with this library; if not, write to the Free Software 828*2d543d20SAndroid Build Coastguard Worker Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 829*2d543d20SAndroid Build Coastguard Worker 830*2d543d20SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 831*2d543d20SAndroid Build Coastguard Worker 832*2d543d20SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 833*2d543d20SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the library, if 834*2d543d20SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 835*2d543d20SAndroid Build Coastguard Worker 836*2d543d20SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the 837*2d543d20SAndroid Build Coastguard Worker library `Frob' (a library for tweaking knobs) written by James Random Hacker. 838*2d543d20SAndroid Build Coastguard Worker 839*2d543d20SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1990 840*2d543d20SAndroid Build Coastguard Worker Ty Coon, President of Vice 841*2d543d20SAndroid Build Coastguard Worker 842*2d543d20SAndroid Build Coastguard WorkerThat's all there is to it! 843*2d543d20SAndroid Build Coastguard Worker 844*2d543d20SAndroid Build Coastguard Worker 845*2d543d20SAndroid Build Coastguard Worker GNU LESSER GENERAL PUBLIC LICENSE 846*2d543d20SAndroid Build Coastguard Worker Version 2.1, February 1999 847*2d543d20SAndroid Build Coastguard Worker 848*2d543d20SAndroid Build Coastguard Worker Copyright (C) 1991, 1999 Free Software Foundation, Inc. 849*2d543d20SAndroid Build Coastguard Worker 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 850*2d543d20SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 851*2d543d20SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 852*2d543d20SAndroid Build Coastguard Worker 853*2d543d20SAndroid Build Coastguard Worker[This is the first released version of the Lesser GPL. It also counts 854*2d543d20SAndroid Build Coastguard Worker as the successor of the GNU Library Public License, version 2, hence 855*2d543d20SAndroid Build Coastguard Worker the version number 2.1.] 856*2d543d20SAndroid Build Coastguard Worker 857*2d543d20SAndroid Build Coastguard Worker Preamble 858*2d543d20SAndroid Build Coastguard Worker 859*2d543d20SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 860*2d543d20SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 861*2d543d20SAndroid Build Coastguard WorkerLicenses are intended to guarantee your freedom to share and change 862*2d543d20SAndroid Build Coastguard Workerfree software--to make sure the software is free for all its users. 863*2d543d20SAndroid Build Coastguard Worker 864*2d543d20SAndroid Build Coastguard Worker This license, the Lesser General Public License, applies to some 865*2d543d20SAndroid Build Coastguard Workerspecially designated software packages--typically libraries--of the 866*2d543d20SAndroid Build Coastguard WorkerFree Software Foundation and other authors who decide to use it. You 867*2d543d20SAndroid Build Coastguard Workercan use it too, but we suggest you first think carefully about whether 868*2d543d20SAndroid Build Coastguard Workerthis license or the ordinary General Public License is the better 869*2d543d20SAndroid Build Coastguard Workerstrategy to use in any particular case, based on the explanations below. 870*2d543d20SAndroid Build Coastguard Worker 871*2d543d20SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom of use, 872*2d543d20SAndroid Build Coastguard Workernot price. Our General Public Licenses are designed to make sure that 873*2d543d20SAndroid Build Coastguard Workeryou have the freedom to distribute copies of free software (and charge 874*2d543d20SAndroid Build Coastguard Workerfor this service if you wish); that you receive source code or can get 875*2d543d20SAndroid Build Coastguard Workerit if you want it; that you can change the software and use pieces of 876*2d543d20SAndroid Build Coastguard Workerit in new free programs; and that you are informed that you can do 877*2d543d20SAndroid Build Coastguard Workerthese things. 878*2d543d20SAndroid Build Coastguard Worker 879*2d543d20SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 880*2d543d20SAndroid Build Coastguard Workerdistributors to deny you these rights or to ask you to surrender these 881*2d543d20SAndroid Build Coastguard Workerrights. These restrictions translate to certain responsibilities for 882*2d543d20SAndroid Build Coastguard Workeryou if you distribute copies of the library or if you modify it. 883*2d543d20SAndroid Build Coastguard Worker 884*2d543d20SAndroid Build Coastguard Worker For example, if you distribute copies of the library, whether gratis 885*2d543d20SAndroid Build Coastguard Workeror for a fee, you must give the recipients all the rights that we gave 886*2d543d20SAndroid Build Coastguard Workeryou. You must make sure that they, too, receive or can get the source 887*2d543d20SAndroid Build Coastguard Workercode. If you link other code with the library, you must provide 888*2d543d20SAndroid Build Coastguard Workercomplete object files to the recipients, so that they can relink them 889*2d543d20SAndroid Build Coastguard Workerwith the library after making changes to the library and recompiling 890*2d543d20SAndroid Build Coastguard Workerit. And you must show them these terms so they know their rights. 891*2d543d20SAndroid Build Coastguard Worker 892*2d543d20SAndroid Build Coastguard Worker We protect your rights with a two-step method: (1) we copyright the 893*2d543d20SAndroid Build Coastguard Workerlibrary, and (2) we offer you this license, which gives you legal 894*2d543d20SAndroid Build Coastguard Workerpermission to copy, distribute and/or modify the library. 895*2d543d20SAndroid Build Coastguard Worker 896*2d543d20SAndroid Build Coastguard Worker To protect each distributor, we want to make it very clear that 897*2d543d20SAndroid Build Coastguard Workerthere is no warranty for the free library. Also, if the library is 898*2d543d20SAndroid Build Coastguard Workermodified by someone else and passed on, the recipients should know 899*2d543d20SAndroid Build Coastguard Workerthat what they have is not the original version, so that the original 900*2d543d20SAndroid Build Coastguard Workerauthor's reputation will not be affected by problems that might be 901*2d543d20SAndroid Build Coastguard Workerintroduced by others. 902*2d543d20SAndroid Build Coastguard Worker 903*2d543d20SAndroid Build Coastguard Worker Finally, software patents pose a constant threat to the existence of 904*2d543d20SAndroid Build Coastguard Workerany free program. We wish to make sure that a company cannot 905*2d543d20SAndroid Build Coastguard Workereffectively restrict the users of a free program by obtaining a 906*2d543d20SAndroid Build Coastguard Workerrestrictive license from a patent holder. Therefore, we insist that 907*2d543d20SAndroid Build Coastguard Workerany patent license obtained for a version of the library must be 908*2d543d20SAndroid Build Coastguard Workerconsistent with the full freedom of use specified in this license. 909*2d543d20SAndroid Build Coastguard Worker 910*2d543d20SAndroid Build Coastguard Worker Most GNU software, including some libraries, is covered by the 911*2d543d20SAndroid Build Coastguard Workerordinary GNU General Public License. This license, the GNU Lesser 912*2d543d20SAndroid Build Coastguard WorkerGeneral Public License, applies to certain designated libraries, and 913*2d543d20SAndroid Build Coastguard Workeris quite different from the ordinary General Public License. We use 914*2d543d20SAndroid Build Coastguard Workerthis license for certain libraries in order to permit linking those 915*2d543d20SAndroid Build Coastguard Workerlibraries into non-free programs. 916*2d543d20SAndroid Build Coastguard Worker 917*2d543d20SAndroid Build Coastguard Worker When a program is linked with a library, whether statically or using 918*2d543d20SAndroid Build Coastguard Workera shared library, the combination of the two is legally speaking a 919*2d543d20SAndroid Build Coastguard Workercombined work, a derivative of the original library. The ordinary 920*2d543d20SAndroid Build Coastguard WorkerGeneral Public License therefore permits such linking only if the 921*2d543d20SAndroid Build Coastguard Workerentire combination fits its criteria of freedom. The Lesser General 922*2d543d20SAndroid Build Coastguard WorkerPublic License permits more lax criteria for linking other code with 923*2d543d20SAndroid Build Coastguard Workerthe library. 924*2d543d20SAndroid Build Coastguard Worker 925*2d543d20SAndroid Build Coastguard Worker We call this license the "Lesser" General Public License because it 926*2d543d20SAndroid Build Coastguard Workerdoes Less to protect the user's freedom than the ordinary General 927*2d543d20SAndroid Build Coastguard WorkerPublic License. It also provides other free software developers Less 928*2d543d20SAndroid Build Coastguard Workerof an advantage over competing non-free programs. These disadvantages 929*2d543d20SAndroid Build Coastguard Workerare the reason we use the ordinary General Public License for many 930*2d543d20SAndroid Build Coastguard Workerlibraries. However, the Lesser license provides advantages in certain 931*2d543d20SAndroid Build Coastguard Workerspecial circumstances. 932*2d543d20SAndroid Build Coastguard Worker 933*2d543d20SAndroid Build Coastguard Worker For example, on rare occasions, there may be a special need to 934*2d543d20SAndroid Build Coastguard Workerencourage the widest possible use of a certain library, so that it becomes 935*2d543d20SAndroid Build Coastguard Workera de-facto standard. To achieve this, non-free programs must be 936*2d543d20SAndroid Build Coastguard Workerallowed to use the library. A more frequent case is that a free 937*2d543d20SAndroid Build Coastguard Workerlibrary does the same job as widely used non-free libraries. In this 938*2d543d20SAndroid Build Coastguard Workercase, there is little to gain by limiting the free library to free 939*2d543d20SAndroid Build Coastguard Workersoftware only, so we use the Lesser General Public License. 940*2d543d20SAndroid Build Coastguard Worker 941*2d543d20SAndroid Build Coastguard Worker In other cases, permission to use a particular library in non-free 942*2d543d20SAndroid Build Coastguard Workerprograms enables a greater number of people to use a large body of 943*2d543d20SAndroid Build Coastguard Workerfree software. For example, permission to use the GNU C Library in 944*2d543d20SAndroid Build Coastguard Workernon-free programs enables many more people to use the whole GNU 945*2d543d20SAndroid Build Coastguard Workeroperating system, as well as its variant, the GNU/Linux operating 946*2d543d20SAndroid Build Coastguard Workersystem. 947*2d543d20SAndroid Build Coastguard Worker 948*2d543d20SAndroid Build Coastguard Worker Although the Lesser General Public License is Less protective of the 949*2d543d20SAndroid Build Coastguard Workerusers' freedom, it does ensure that the user of a program that is 950*2d543d20SAndroid Build Coastguard Workerlinked with the Library has the freedom and the wherewithal to run 951*2d543d20SAndroid Build Coastguard Workerthat program using a modified version of the Library. 952*2d543d20SAndroid Build Coastguard Worker 953*2d543d20SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 954*2d543d20SAndroid Build Coastguard Workermodification follow. Pay close attention to the difference between a 955*2d543d20SAndroid Build Coastguard Worker"work based on the library" and a "work that uses the library". The 956*2d543d20SAndroid Build Coastguard Workerformer contains code derived from the library, whereas the latter must 957*2d543d20SAndroid Build Coastguard Workerbe combined with the library in order to run. 958*2d543d20SAndroid Build Coastguard Worker 959*2d543d20SAndroid Build Coastguard Worker GNU LESSER GENERAL PUBLIC LICENSE 960*2d543d20SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 961*2d543d20SAndroid Build Coastguard Worker 962*2d543d20SAndroid Build Coastguard Worker 0. This License Agreement applies to any software library or other 963*2d543d20SAndroid Build Coastguard Workerprogram which contains a notice placed by the copyright holder or 964*2d543d20SAndroid Build Coastguard Workerother authorized party saying it may be distributed under the terms of 965*2d543d20SAndroid Build Coastguard Workerthis Lesser General Public License (also called "this License"). 966*2d543d20SAndroid Build Coastguard WorkerEach licensee is addressed as "you". 967*2d543d20SAndroid Build Coastguard Worker 968*2d543d20SAndroid Build Coastguard Worker A "library" means a collection of software functions and/or data 969*2d543d20SAndroid Build Coastguard Workerprepared so as to be conveniently linked with application programs 970*2d543d20SAndroid Build Coastguard Worker(which use some of those functions and data) to form executables. 971*2d543d20SAndroid Build Coastguard Worker 972*2d543d20SAndroid Build Coastguard Worker The "Library", below, refers to any such software library or work 973*2d543d20SAndroid Build Coastguard Workerwhich has been distributed under these terms. A "work based on the 974*2d543d20SAndroid Build Coastguard WorkerLibrary" means either the Library or any derivative work under 975*2d543d20SAndroid Build Coastguard Workercopyright law: that is to say, a work containing the Library or a 976*2d543d20SAndroid Build Coastguard Workerportion of it, either verbatim or with modifications and/or translated 977*2d543d20SAndroid Build Coastguard Workerstraightforwardly into another language. (Hereinafter, translation is 978*2d543d20SAndroid Build Coastguard Workerincluded without limitation in the term "modification".) 979*2d543d20SAndroid Build Coastguard Worker 980*2d543d20SAndroid Build Coastguard Worker "Source code" for a work means the preferred form of the work for 981*2d543d20SAndroid Build Coastguard Workermaking modifications to it. For a library, complete source code means 982*2d543d20SAndroid Build Coastguard Workerall the source code for all modules it contains, plus any associated 983*2d543d20SAndroid Build Coastguard Workerinterface definition files, plus the scripts used to control compilation 984*2d543d20SAndroid Build Coastguard Workerand installation of the library. 985*2d543d20SAndroid Build Coastguard Worker 986*2d543d20SAndroid Build Coastguard Worker Activities other than copying, distribution and modification are not 987*2d543d20SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 988*2d543d20SAndroid Build Coastguard Workerrunning a program using the Library is not restricted, and output from 989*2d543d20SAndroid Build Coastguard Workersuch a program is covered only if its contents constitute a work based 990*2d543d20SAndroid Build Coastguard Workeron the Library (independent of the use of the Library in a tool for 991*2d543d20SAndroid Build Coastguard Workerwriting it). Whether that is true depends on what the Library does 992*2d543d20SAndroid Build Coastguard Workerand what the program that uses the Library does. 993*2d543d20SAndroid Build Coastguard Worker 994*2d543d20SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Library's 995*2d543d20SAndroid Build Coastguard Workercomplete source code as you receive it, in any medium, provided that 996*2d543d20SAndroid Build Coastguard Workeryou conspicuously and appropriately publish on each copy an 997*2d543d20SAndroid Build Coastguard Workerappropriate copyright notice and disclaimer of warranty; keep intact 998*2d543d20SAndroid Build Coastguard Workerall the notices that refer to this License and to the absence of any 999*2d543d20SAndroid Build Coastguard Workerwarranty; and distribute a copy of this License along with the 1000*2d543d20SAndroid Build Coastguard WorkerLibrary. 1001*2d543d20SAndroid Build Coastguard Worker 1002*2d543d20SAndroid Build Coastguard Worker You may charge a fee for the physical act of transferring a copy, 1003*2d543d20SAndroid Build Coastguard Workerand you may at your option offer warranty protection in exchange for a 1004*2d543d20SAndroid Build Coastguard Workerfee. 1005*2d543d20SAndroid Build Coastguard Worker 1006*2d543d20SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Library or any portion 1007*2d543d20SAndroid Build Coastguard Workerof it, thus forming a work based on the Library, and copy and 1008*2d543d20SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 1009*2d543d20SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 1010*2d543d20SAndroid Build Coastguard Worker 1011*2d543d20SAndroid Build Coastguard Worker a) The modified work must itself be a software library. 1012*2d543d20SAndroid Build Coastguard Worker 1013*2d543d20SAndroid Build Coastguard Worker b) You must cause the files modified to carry prominent notices 1014*2d543d20SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 1015*2d543d20SAndroid Build Coastguard Worker 1016*2d543d20SAndroid Build Coastguard Worker c) You must cause the whole of the work to be licensed at no 1017*2d543d20SAndroid Build Coastguard Worker charge to all third parties under the terms of this License. 1018*2d543d20SAndroid Build Coastguard Worker 1019*2d543d20SAndroid Build Coastguard Worker d) If a facility in the modified Library refers to a function or a 1020*2d543d20SAndroid Build Coastguard Worker table of data to be supplied by an application program that uses 1021*2d543d20SAndroid Build Coastguard Worker the facility, other than as an argument passed when the facility 1022*2d543d20SAndroid Build Coastguard Worker is invoked, then you must make a good faith effort to ensure that, 1023*2d543d20SAndroid Build Coastguard Worker in the event an application does not supply such function or 1024*2d543d20SAndroid Build Coastguard Worker table, the facility still operates, and performs whatever part of 1025*2d543d20SAndroid Build Coastguard Worker its purpose remains meaningful. 1026*2d543d20SAndroid Build Coastguard Worker 1027*2d543d20SAndroid Build Coastguard Worker (For example, a function in a library to compute square roots has 1028*2d543d20SAndroid Build Coastguard Worker a purpose that is entirely well-defined independent of the 1029*2d543d20SAndroid Build Coastguard Worker application. Therefore, Subsection 2d requires that any 1030*2d543d20SAndroid Build Coastguard Worker application-supplied function or table used by this function must 1031*2d543d20SAndroid Build Coastguard Worker be optional: if the application does not supply it, the square 1032*2d543d20SAndroid Build Coastguard Worker root function must still compute square roots.) 1033*2d543d20SAndroid Build Coastguard Worker 1034*2d543d20SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 1035*2d543d20SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Library, 1036*2d543d20SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 1037*2d543d20SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 1038*2d543d20SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 1039*2d543d20SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 1040*2d543d20SAndroid Build Coastguard Workeron the Library, the distribution of the whole must be on the terms of 1041*2d543d20SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 1042*2d543d20SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote 1043*2d543d20SAndroid Build Coastguard Workerit. 1044*2d543d20SAndroid Build Coastguard Worker 1045*2d543d20SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 1046*2d543d20SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 1047*2d543d20SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 1048*2d543d20SAndroid Build Coastguard Workercollective works based on the Library. 1049*2d543d20SAndroid Build Coastguard Worker 1050*2d543d20SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Library 1051*2d543d20SAndroid Build Coastguard Workerwith the Library (or with a work based on the Library) on a volume of 1052*2d543d20SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 1053*2d543d20SAndroid Build Coastguard Workerthe scope of this License. 1054*2d543d20SAndroid Build Coastguard Worker 1055*2d543d20SAndroid Build Coastguard Worker 3. You may opt to apply the terms of the ordinary GNU General Public 1056*2d543d20SAndroid Build Coastguard WorkerLicense instead of this License to a given copy of the Library. To do 1057*2d543d20SAndroid Build Coastguard Workerthis, you must alter all the notices that refer to this License, so 1058*2d543d20SAndroid Build Coastguard Workerthat they refer to the ordinary GNU General Public License, version 2, 1059*2d543d20SAndroid Build Coastguard Workerinstead of to this License. (If a newer version than version 2 of the 1060*2d543d20SAndroid Build Coastguard Workerordinary GNU General Public License has appeared, then you can specify 1061*2d543d20SAndroid Build Coastguard Workerthat version instead if you wish.) Do not make any other change in 1062*2d543d20SAndroid Build Coastguard Workerthese notices. 1063*2d543d20SAndroid Build Coastguard Worker 1064*2d543d20SAndroid Build Coastguard Worker Once this change is made in a given copy, it is irreversible for 1065*2d543d20SAndroid Build Coastguard Workerthat copy, so the ordinary GNU General Public License applies to all 1066*2d543d20SAndroid Build Coastguard Workersubsequent copies and derivative works made from that copy. 1067*2d543d20SAndroid Build Coastguard Worker 1068*2d543d20SAndroid Build Coastguard Worker This option is useful when you wish to copy part of the code of 1069*2d543d20SAndroid Build Coastguard Workerthe Library into a program that is not a library. 1070*2d543d20SAndroid Build Coastguard Worker 1071*2d543d20SAndroid Build Coastguard Worker 4. You may copy and distribute the Library (or a portion or 1072*2d543d20SAndroid Build Coastguard Workerderivative of it, under Section 2) in object code or executable form 1073*2d543d20SAndroid Build Coastguard Workerunder the terms of Sections 1 and 2 above provided that you accompany 1074*2d543d20SAndroid Build Coastguard Workerit with the complete corresponding machine-readable source code, which 1075*2d543d20SAndroid Build Coastguard Workermust be distributed under the terms of Sections 1 and 2 above on a 1076*2d543d20SAndroid Build Coastguard Workermedium customarily used for software interchange. 1077*2d543d20SAndroid Build Coastguard Worker 1078*2d543d20SAndroid Build Coastguard Worker If distribution of object code is made by offering access to copy 1079*2d543d20SAndroid Build Coastguard Workerfrom a designated place, then offering equivalent access to copy the 1080*2d543d20SAndroid Build Coastguard Workersource code from the same place satisfies the requirement to 1081*2d543d20SAndroid Build Coastguard Workerdistribute the source code, even though third parties are not 1082*2d543d20SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 1083*2d543d20SAndroid Build Coastguard Worker 1084*2d543d20SAndroid Build Coastguard Worker 5. A program that contains no derivative of any portion of the 1085*2d543d20SAndroid Build Coastguard WorkerLibrary, but is designed to work with the Library by being compiled or 1086*2d543d20SAndroid Build Coastguard Workerlinked with it, is called a "work that uses the Library". Such a 1087*2d543d20SAndroid Build Coastguard Workerwork, in isolation, is not a derivative work of the Library, and 1088*2d543d20SAndroid Build Coastguard Workertherefore falls outside the scope of this License. 1089*2d543d20SAndroid Build Coastguard Worker 1090*2d543d20SAndroid Build Coastguard Worker However, linking a "work that uses the Library" with the Library 1091*2d543d20SAndroid Build Coastguard Workercreates an executable that is a derivative of the Library (because it 1092*2d543d20SAndroid Build Coastguard Workercontains portions of the Library), rather than a "work that uses the 1093*2d543d20SAndroid Build Coastguard Workerlibrary". The executable is therefore covered by this License. 1094*2d543d20SAndroid Build Coastguard WorkerSection 6 states terms for distribution of such executables. 1095*2d543d20SAndroid Build Coastguard Worker 1096*2d543d20SAndroid Build Coastguard Worker When a "work that uses the Library" uses material from a header file 1097*2d543d20SAndroid Build Coastguard Workerthat is part of the Library, the object code for the work may be a 1098*2d543d20SAndroid Build Coastguard Workerderivative work of the Library even though the source code is not. 1099*2d543d20SAndroid Build Coastguard WorkerWhether this is true is especially significant if the work can be 1100*2d543d20SAndroid Build Coastguard Workerlinked without the Library, or if the work is itself a library. The 1101*2d543d20SAndroid Build Coastguard Workerthreshold for this to be true is not precisely defined by law. 1102*2d543d20SAndroid Build Coastguard Worker 1103*2d543d20SAndroid Build Coastguard Worker If such an object file uses only numerical parameters, data 1104*2d543d20SAndroid Build Coastguard Workerstructure layouts and accessors, and small macros and small inline 1105*2d543d20SAndroid Build Coastguard Workerfunctions (ten lines or less in length), then the use of the object 1106*2d543d20SAndroid Build Coastguard Workerfile is unrestricted, regardless of whether it is legally a derivative 1107*2d543d20SAndroid Build Coastguard Workerwork. (Executables containing this object code plus portions of the 1108*2d543d20SAndroid Build Coastguard WorkerLibrary will still fall under Section 6.) 1109*2d543d20SAndroid Build Coastguard Worker 1110*2d543d20SAndroid Build Coastguard Worker Otherwise, if the work is a derivative of the Library, you may 1111*2d543d20SAndroid Build Coastguard Workerdistribute the object code for the work under the terms of Section 6. 1112*2d543d20SAndroid Build Coastguard WorkerAny executables containing that work also fall under Section 6, 1113*2d543d20SAndroid Build Coastguard Workerwhether or not they are linked directly with the Library itself. 1114*2d543d20SAndroid Build Coastguard Worker 1115*2d543d20SAndroid Build Coastguard Worker 6. As an exception to the Sections above, you may also combine or 1116*2d543d20SAndroid Build Coastguard Workerlink a "work that uses the Library" with the Library to produce a 1117*2d543d20SAndroid Build Coastguard Workerwork containing portions of the Library, and distribute that work 1118*2d543d20SAndroid Build Coastguard Workerunder terms of your choice, provided that the terms permit 1119*2d543d20SAndroid Build Coastguard Workermodification of the work for the customer's own use and reverse 1120*2d543d20SAndroid Build Coastguard Workerengineering for debugging such modifications. 1121*2d543d20SAndroid Build Coastguard Worker 1122*2d543d20SAndroid Build Coastguard Worker You must give prominent notice with each copy of the work that the 1123*2d543d20SAndroid Build Coastguard WorkerLibrary is used in it and that the Library and its use are covered by 1124*2d543d20SAndroid Build Coastguard Workerthis License. You must supply a copy of this License. If the work 1125*2d543d20SAndroid Build Coastguard Workerduring execution displays copyright notices, you must include the 1126*2d543d20SAndroid Build Coastguard Workercopyright notice for the Library among them, as well as a reference 1127*2d543d20SAndroid Build Coastguard Workerdirecting the user to the copy of this License. Also, you must do one 1128*2d543d20SAndroid Build Coastguard Workerof these things: 1129*2d543d20SAndroid Build Coastguard Worker 1130*2d543d20SAndroid Build Coastguard Worker a) Accompany the work with the complete corresponding 1131*2d543d20SAndroid Build Coastguard Worker machine-readable source code for the Library including whatever 1132*2d543d20SAndroid Build Coastguard Worker changes were used in the work (which must be distributed under 1133*2d543d20SAndroid Build Coastguard Worker Sections 1 and 2 above); and, if the work is an executable linked 1134*2d543d20SAndroid Build Coastguard Worker with the Library, with the complete machine-readable "work that 1135*2d543d20SAndroid Build Coastguard Worker uses the Library", as object code and/or source code, so that the 1136*2d543d20SAndroid Build Coastguard Worker user can modify the Library and then relink to produce a modified 1137*2d543d20SAndroid Build Coastguard Worker executable containing the modified Library. (It is understood 1138*2d543d20SAndroid Build Coastguard Worker that the user who changes the contents of definitions files in the 1139*2d543d20SAndroid Build Coastguard Worker Library will not necessarily be able to recompile the application 1140*2d543d20SAndroid Build Coastguard Worker to use the modified definitions.) 1141*2d543d20SAndroid Build Coastguard Worker 1142*2d543d20SAndroid Build Coastguard Worker b) Use a suitable shared library mechanism for linking with the 1143*2d543d20SAndroid Build Coastguard Worker Library. A suitable mechanism is one that (1) uses at run time a 1144*2d543d20SAndroid Build Coastguard Worker copy of the library already present on the user's computer system, 1145*2d543d20SAndroid Build Coastguard Worker rather than copying library functions into the executable, and (2) 1146*2d543d20SAndroid Build Coastguard Worker will operate properly with a modified version of the library, if 1147*2d543d20SAndroid Build Coastguard Worker the user installs one, as long as the modified version is 1148*2d543d20SAndroid Build Coastguard Worker interface-compatible with the version that the work was made with. 1149*2d543d20SAndroid Build Coastguard Worker 1150*2d543d20SAndroid Build Coastguard Worker c) Accompany the work with a written offer, valid for at 1151*2d543d20SAndroid Build Coastguard Worker least three years, to give the same user the materials 1152*2d543d20SAndroid Build Coastguard Worker specified in Subsection 6a, above, for a charge no more 1153*2d543d20SAndroid Build Coastguard Worker than the cost of performing this distribution. 1154*2d543d20SAndroid Build Coastguard Worker 1155*2d543d20SAndroid Build Coastguard Worker d) If distribution of the work is made by offering access to copy 1156*2d543d20SAndroid Build Coastguard Worker from a designated place, offer equivalent access to copy the above 1157*2d543d20SAndroid Build Coastguard Worker specified materials from the same place. 1158*2d543d20SAndroid Build Coastguard Worker 1159*2d543d20SAndroid Build Coastguard Worker e) Verify that the user has already received a copy of these 1160*2d543d20SAndroid Build Coastguard Worker materials or that you have already sent this user a copy. 1161*2d543d20SAndroid Build Coastguard Worker 1162*2d543d20SAndroid Build Coastguard Worker For an executable, the required form of the "work that uses the 1163*2d543d20SAndroid Build Coastguard WorkerLibrary" must include any data and utility programs needed for 1164*2d543d20SAndroid Build Coastguard Workerreproducing the executable from it. However, as a special exception, 1165*2d543d20SAndroid Build Coastguard Workerthe materials to be distributed need not include anything that is 1166*2d543d20SAndroid Build Coastguard Workernormally distributed (in either source or binary form) with the major 1167*2d543d20SAndroid Build Coastguard Workercomponents (compiler, kernel, and so on) of the operating system on 1168*2d543d20SAndroid Build Coastguard Workerwhich the executable runs, unless that component itself accompanies 1169*2d543d20SAndroid Build Coastguard Workerthe executable. 1170*2d543d20SAndroid Build Coastguard Worker 1171*2d543d20SAndroid Build Coastguard Worker It may happen that this requirement contradicts the license 1172*2d543d20SAndroid Build Coastguard Workerrestrictions of other proprietary libraries that do not normally 1173*2d543d20SAndroid Build Coastguard Workeraccompany the operating system. Such a contradiction means you cannot 1174*2d543d20SAndroid Build Coastguard Workeruse both them and the Library together in an executable that you 1175*2d543d20SAndroid Build Coastguard Workerdistribute. 1176*2d543d20SAndroid Build Coastguard Worker 1177*2d543d20SAndroid Build Coastguard Worker 7. You may place library facilities that are a work based on the 1178*2d543d20SAndroid Build Coastguard WorkerLibrary side-by-side in a single library together with other library 1179*2d543d20SAndroid Build Coastguard Workerfacilities not covered by this License, and distribute such a combined 1180*2d543d20SAndroid Build Coastguard Workerlibrary, provided that the separate distribution of the work based on 1181*2d543d20SAndroid Build Coastguard Workerthe Library and of the other library facilities is otherwise 1182*2d543d20SAndroid Build Coastguard Workerpermitted, and provided that you do these two things: 1183*2d543d20SAndroid Build Coastguard Worker 1184*2d543d20SAndroid Build Coastguard Worker a) Accompany the combined library with a copy of the same work 1185*2d543d20SAndroid Build Coastguard Worker based on the Library, uncombined with any other library 1186*2d543d20SAndroid Build Coastguard Worker facilities. This must be distributed under the terms of the 1187*2d543d20SAndroid Build Coastguard Worker Sections above. 1188*2d543d20SAndroid Build Coastguard Worker 1189*2d543d20SAndroid Build Coastguard Worker b) Give prominent notice with the combined library of the fact 1190*2d543d20SAndroid Build Coastguard Worker that part of it is a work based on the Library, and explaining 1191*2d543d20SAndroid Build Coastguard Worker where to find the accompanying uncombined form of the same work. 1192*2d543d20SAndroid Build Coastguard Worker 1193*2d543d20SAndroid Build Coastguard Worker 8. You may not copy, modify, sublicense, link with, or distribute 1194*2d543d20SAndroid Build Coastguard Workerthe Library except as expressly provided under this License. Any 1195*2d543d20SAndroid Build Coastguard Workerattempt otherwise to copy, modify, sublicense, link with, or 1196*2d543d20SAndroid Build Coastguard Workerdistribute the Library is void, and will automatically terminate your 1197*2d543d20SAndroid Build Coastguard Workerrights under this License. However, parties who have received copies, 1198*2d543d20SAndroid Build Coastguard Workeror rights, from you under this License will not have their licenses 1199*2d543d20SAndroid Build Coastguard Workerterminated so long as such parties remain in full compliance. 1200*2d543d20SAndroid Build Coastguard Worker 1201*2d543d20SAndroid Build Coastguard Worker 9. You are not required to accept this License, since you have not 1202*2d543d20SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 1203*2d543d20SAndroid Build Coastguard Workerdistribute the Library or its derivative works. These actions are 1204*2d543d20SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 1205*2d543d20SAndroid Build Coastguard Workermodifying or distributing the Library (or any work based on the 1206*2d543d20SAndroid Build Coastguard WorkerLibrary), you indicate your acceptance of this License to do so, and 1207*2d543d20SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 1208*2d543d20SAndroid Build Coastguard Workerthe Library or works based on it. 1209*2d543d20SAndroid Build Coastguard Worker 1210*2d543d20SAndroid Build Coastguard Worker 10. Each time you redistribute the Library (or any work based on the 1211*2d543d20SAndroid Build Coastguard WorkerLibrary), the recipient automatically receives a license from the 1212*2d543d20SAndroid Build Coastguard Workeroriginal licensor to copy, distribute, link with or modify the Library 1213*2d543d20SAndroid Build Coastguard Workersubject to these terms and conditions. You may not impose any further 1214*2d543d20SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 1215*2d543d20SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties with 1216*2d543d20SAndroid Build Coastguard Workerthis License. 1217*2d543d20SAndroid Build Coastguard Worker 1218*2d543d20SAndroid Build Coastguard Worker 11. If, as a consequence of a court judgment or allegation of patent 1219*2d543d20SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 1220*2d543d20SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 1221*2d543d20SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 1222*2d543d20SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 1223*2d543d20SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 1224*2d543d20SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 1225*2d543d20SAndroid Build Coastguard Workermay not distribute the Library at all. For example, if a patent 1226*2d543d20SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Library by 1227*2d543d20SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 1228*2d543d20SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 1229*2d543d20SAndroid Build Coastguard Workerrefrain entirely from distribution of the Library. 1230*2d543d20SAndroid Build Coastguard Worker 1231*2d543d20SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under any 1232*2d543d20SAndroid Build Coastguard Workerparticular circumstance, the balance of the section is intended to apply, 1233*2d543d20SAndroid Build Coastguard Workerand the section as a whole is intended to apply in other circumstances. 1234*2d543d20SAndroid Build Coastguard Worker 1235*2d543d20SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 1236*2d543d20SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 1237*2d543d20SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 1238*2d543d20SAndroid Build Coastguard Workerintegrity of the free software distribution system which is 1239*2d543d20SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 1240*2d543d20SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 1241*2d543d20SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 1242*2d543d20SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 1243*2d543d20SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 1244*2d543d20SAndroid Build Coastguard Workerimpose that choice. 1245*2d543d20SAndroid Build Coastguard Worker 1246*2d543d20SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 1247*2d543d20SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 1248*2d543d20SAndroid Build Coastguard Worker 1249*2d543d20SAndroid Build Coastguard Worker 12. If the distribution and/or use of the Library is restricted in 1250*2d543d20SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 1251*2d543d20SAndroid Build Coastguard Workeroriginal copyright holder who places the Library under this License may add 1252*2d543d20SAndroid Build Coastguard Workeran explicit geographical distribution limitation excluding those countries, 1253*2d543d20SAndroid Build Coastguard Workerso that distribution is permitted only in or among countries not thus 1254*2d543d20SAndroid Build Coastguard Workerexcluded. In such case, this License incorporates the limitation as if 1255*2d543d20SAndroid Build Coastguard Workerwritten in the body of this License. 1256*2d543d20SAndroid Build Coastguard Worker 1257*2d543d20SAndroid Build Coastguard Worker 13. The Free Software Foundation may publish revised and/or new 1258*2d543d20SAndroid Build Coastguard Workerversions of the Lesser General Public License from time to time. 1259*2d543d20SAndroid Build Coastguard WorkerSuch new versions will be similar in spirit to the present version, 1260*2d543d20SAndroid Build Coastguard Workerbut may differ in detail to address new problems or concerns. 1261*2d543d20SAndroid Build Coastguard Worker 1262*2d543d20SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Library 1263*2d543d20SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and 1264*2d543d20SAndroid Build Coastguard Worker"any later version", you have the option of following the terms and 1265*2d543d20SAndroid Build Coastguard Workerconditions either of that version or of any later version published by 1266*2d543d20SAndroid Build Coastguard Workerthe Free Software Foundation. If the Library does not specify a 1267*2d543d20SAndroid Build Coastguard Workerlicense version number, you may choose any version ever published by 1268*2d543d20SAndroid Build Coastguard Workerthe Free Software Foundation. 1269*2d543d20SAndroid Build Coastguard Worker 1270*2d543d20SAndroid Build Coastguard Worker 14. If you wish to incorporate parts of the Library into other free 1271*2d543d20SAndroid Build Coastguard Workerprograms whose distribution conditions are incompatible with these, 1272*2d543d20SAndroid Build Coastguard Workerwrite to the author to ask for permission. For software which is 1273*2d543d20SAndroid Build Coastguard Workercopyrighted by the Free Software Foundation, write to the Free 1274*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation; we sometimes make exceptions for this. Our 1275*2d543d20SAndroid Build Coastguard Workerdecision will be guided by the two goals of preserving the free status 1276*2d543d20SAndroid Build Coastguard Workerof all derivatives of our free software and of promoting the sharing 1277*2d543d20SAndroid Build Coastguard Workerand reuse of software generally. 1278*2d543d20SAndroid Build Coastguard Worker 1279*2d543d20SAndroid Build Coastguard Worker NO WARRANTY 1280*2d543d20SAndroid Build Coastguard Worker 1281*2d543d20SAndroid Build Coastguard Worker 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO 1282*2d543d20SAndroid Build Coastguard WorkerWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 1283*2d543d20SAndroid Build Coastguard WorkerEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR 1284*2d543d20SAndroid Build Coastguard WorkerOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY 1285*2d543d20SAndroid Build Coastguard WorkerKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE 1286*2d543d20SAndroid Build Coastguard WorkerIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1287*2d543d20SAndroid Build Coastguard WorkerPURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE 1288*2d543d20SAndroid Build Coastguard WorkerLIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME 1289*2d543d20SAndroid Build Coastguard WorkerTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 1290*2d543d20SAndroid Build Coastguard Worker 1291*2d543d20SAndroid Build Coastguard Worker 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN 1292*2d543d20SAndroid Build Coastguard WorkerWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY 1293*2d543d20SAndroid Build Coastguard WorkerAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU 1294*2d543d20SAndroid Build Coastguard WorkerFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR 1295*2d543d20SAndroid Build Coastguard WorkerCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 1296*2d543d20SAndroid Build Coastguard WorkerLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING 1297*2d543d20SAndroid Build Coastguard WorkerRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A 1298*2d543d20SAndroid Build Coastguard WorkerFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF 1299*2d543d20SAndroid Build Coastguard WorkerSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 1300*2d543d20SAndroid Build Coastguard WorkerDAMAGES. 1301*2d543d20SAndroid Build Coastguard Worker 1302*2d543d20SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 1303*2d543d20SAndroid Build Coastguard Worker 1304*2d543d20SAndroid Build Coastguard Worker How to Apply These Terms to Your New Libraries 1305*2d543d20SAndroid Build Coastguard Worker 1306*2d543d20SAndroid Build Coastguard Worker If you develop a new library, and you want it to be of the greatest 1307*2d543d20SAndroid Build Coastguard Workerpossible use to the public, we recommend making it free software that 1308*2d543d20SAndroid Build Coastguard Workereveryone can redistribute and change. You can do so by permitting 1309*2d543d20SAndroid Build Coastguard Workerredistribution under these terms (or, alternatively, under the terms of the 1310*2d543d20SAndroid Build Coastguard Workerordinary General Public License). 1311*2d543d20SAndroid Build Coastguard Worker 1312*2d543d20SAndroid Build Coastguard Worker To apply these terms, attach the following notices to the library. It is 1313*2d543d20SAndroid Build Coastguard Workersafest to attach them to the start of each source file to most effectively 1314*2d543d20SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least the 1315*2d543d20SAndroid Build Coastguard Worker"copyright" line and a pointer to where the full notice is found. 1316*2d543d20SAndroid Build Coastguard Worker 1317*2d543d20SAndroid Build Coastguard Worker <one line to give the library's name and a brief idea of what it does.> 1318*2d543d20SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 1319*2d543d20SAndroid Build Coastguard Worker 1320*2d543d20SAndroid Build Coastguard Worker This library is free software; you can redistribute it and/or 1321*2d543d20SAndroid Build Coastguard Worker modify it under the terms of the GNU Lesser General Public 1322*2d543d20SAndroid Build Coastguard Worker License as published by the Free Software Foundation; either 1323*2d543d20SAndroid Build Coastguard Worker version 2.1 of the License, or (at your option) any later version. 1324*2d543d20SAndroid Build Coastguard Worker 1325*2d543d20SAndroid Build Coastguard Worker This library is distributed in the hope that it will be useful, 1326*2d543d20SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 1327*2d543d20SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1328*2d543d20SAndroid Build Coastguard Worker Lesser General Public License for more details. 1329*2d543d20SAndroid Build Coastguard Worker 1330*2d543d20SAndroid Build Coastguard Worker You should have received a copy of the GNU Lesser General Public 1331*2d543d20SAndroid Build Coastguard Worker License along with this library; if not, write to the Free Software 1332*2d543d20SAndroid Build Coastguard Worker Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 1333*2d543d20SAndroid Build Coastguard Worker 1334*2d543d20SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 1335*2d543d20SAndroid Build Coastguard Worker 1336*2d543d20SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 1337*2d543d20SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the library, if 1338*2d543d20SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 1339*2d543d20SAndroid Build Coastguard Worker 1340*2d543d20SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the 1341*2d543d20SAndroid Build Coastguard Worker library `Frob' (a library for tweaking knobs) written by James Random Hacker. 1342*2d543d20SAndroid Build Coastguard Worker 1343*2d543d20SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1990 1344*2d543d20SAndroid Build Coastguard Worker Ty Coon, President of Vice 1345*2d543d20SAndroid Build Coastguard Worker 1346*2d543d20SAndroid Build Coastguard WorkerThat's all there is to it! 1347*2d543d20SAndroid Build Coastguard Worker 1348*2d543d20SAndroid Build Coastguard Worker 1349*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 1350*2d543d20SAndroid Build Coastguard Worker Version 2, June 1991 1351*2d543d20SAndroid Build Coastguard Worker 1352*2d543d20SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 1353*2d543d20SAndroid Build Coastguard Worker 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1354*2d543d20SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 1355*2d543d20SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 1356*2d543d20SAndroid Build Coastguard Worker 1357*2d543d20SAndroid Build Coastguard Worker Preamble 1358*2d543d20SAndroid Build Coastguard Worker 1359*2d543d20SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 1360*2d543d20SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 1361*2d543d20SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 1362*2d543d20SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 1363*2d543d20SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 1364*2d543d20SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 1365*2d543d20SAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 1366*2d543d20SAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 1367*2d543d20SAndroid Build Coastguard Workeryour programs, too. 1368*2d543d20SAndroid Build Coastguard Worker 1369*2d543d20SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 1370*2d543d20SAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 1371*2d543d20SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 1372*2d543d20SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 1373*2d543d20SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 1374*2d543d20SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 1375*2d543d20SAndroid Build Coastguard Worker 1376*2d543d20SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 1377*2d543d20SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 1378*2d543d20SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 1379*2d543d20SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 1380*2d543d20SAndroid Build Coastguard Worker 1381*2d543d20SAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 1382*2d543d20SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 1383*2d543d20SAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 1384*2d543d20SAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 1385*2d543d20SAndroid Build Coastguard Workerrights. 1386*2d543d20SAndroid Build Coastguard Worker 1387*2d543d20SAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 1388*2d543d20SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 1389*2d543d20SAndroid Build Coastguard Workerdistribute and/or modify the software. 1390*2d543d20SAndroid Build Coastguard Worker 1391*2d543d20SAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 1392*2d543d20SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 1393*2d543d20SAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 1394*2d543d20SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 1395*2d543d20SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 1396*2d543d20SAndroid Build Coastguard Workerauthors' reputations. 1397*2d543d20SAndroid Build Coastguard Worker 1398*2d543d20SAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 1399*2d543d20SAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 1400*2d543d20SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 1401*2d543d20SAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 1402*2d543d20SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 1403*2d543d20SAndroid Build Coastguard Worker 1404*2d543d20SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 1405*2d543d20SAndroid Build Coastguard Workermodification follow. 1406*2d543d20SAndroid Build Coastguard Worker 1407*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 1408*2d543d20SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1409*2d543d20SAndroid Build Coastguard Worker 1410*2d543d20SAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 1411*2d543d20SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 1412*2d543d20SAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 1413*2d543d20SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 1414*2d543d20SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 1415*2d543d20SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 1416*2d543d20SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 1417*2d543d20SAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 1418*2d543d20SAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 1419*2d543d20SAndroid Build Coastguard Worker 1420*2d543d20SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 1421*2d543d20SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 1422*2d543d20SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 1423*2d543d20SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 1424*2d543d20SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 1425*2d543d20SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 1426*2d543d20SAndroid Build Coastguard Worker 1427*2d543d20SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 1428*2d543d20SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 1429*2d543d20SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 1430*2d543d20SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 1431*2d543d20SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 1432*2d543d20SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 1433*2d543d20SAndroid Build Coastguard Workeralong with the Program. 1434*2d543d20SAndroid Build Coastguard Worker 1435*2d543d20SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 1436*2d543d20SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 1437*2d543d20SAndroid Build Coastguard Worker 1438*2d543d20SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 1439*2d543d20SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 1440*2d543d20SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 1441*2d543d20SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 1442*2d543d20SAndroid Build Coastguard Worker 1443*2d543d20SAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 1444*2d543d20SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 1445*2d543d20SAndroid Build Coastguard Worker 1446*2d543d20SAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 1447*2d543d20SAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 1448*2d543d20SAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 1449*2d543d20SAndroid Build Coastguard Worker parties under the terms of this License. 1450*2d543d20SAndroid Build Coastguard Worker 1451*2d543d20SAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 1452*2d543d20SAndroid Build Coastguard Worker when run, you must cause it, when started running for such 1453*2d543d20SAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 1454*2d543d20SAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 1455*2d543d20SAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 1456*2d543d20SAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 1457*2d543d20SAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 1458*2d543d20SAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 1459*2d543d20SAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 1460*2d543d20SAndroid Build Coastguard Worker the Program is not required to print an announcement.) 1461*2d543d20SAndroid Build Coastguard Worker 1462*2d543d20SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 1463*2d543d20SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 1464*2d543d20SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 1465*2d543d20SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 1466*2d543d20SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 1467*2d543d20SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 1468*2d543d20SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 1469*2d543d20SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 1470*2d543d20SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 1471*2d543d20SAndroid Build Coastguard Worker 1472*2d543d20SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 1473*2d543d20SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 1474*2d543d20SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 1475*2d543d20SAndroid Build Coastguard Workercollective works based on the Program. 1476*2d543d20SAndroid Build Coastguard Worker 1477*2d543d20SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 1478*2d543d20SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 1479*2d543d20SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 1480*2d543d20SAndroid Build Coastguard Workerthe scope of this License. 1481*2d543d20SAndroid Build Coastguard Worker 1482*2d543d20SAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 1483*2d543d20SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 1484*2d543d20SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 1485*2d543d20SAndroid Build Coastguard Worker 1486*2d543d20SAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 1487*2d543d20SAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 1488*2d543d20SAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 1489*2d543d20SAndroid Build Coastguard Worker 1490*2d543d20SAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 1491*2d543d20SAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 1492*2d543d20SAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 1493*2d543d20SAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 1494*2d543d20SAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 1495*2d543d20SAndroid Build Coastguard Worker customarily used for software interchange; or, 1496*2d543d20SAndroid Build Coastguard Worker 1497*2d543d20SAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 1498*2d543d20SAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 1499*2d543d20SAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 1500*2d543d20SAndroid Build Coastguard Worker received the program in object code or executable form with such 1501*2d543d20SAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 1502*2d543d20SAndroid Build Coastguard Worker 1503*2d543d20SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 1504*2d543d20SAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 1505*2d543d20SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 1506*2d543d20SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 1507*2d543d20SAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 1508*2d543d20SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 1509*2d543d20SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 1510*2d543d20SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 1511*2d543d20SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 1512*2d543d20SAndroid Build Coastguard Workeritself accompanies the executable. 1513*2d543d20SAndroid Build Coastguard Worker 1514*2d543d20SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 1515*2d543d20SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 1516*2d543d20SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 1517*2d543d20SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 1518*2d543d20SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 1519*2d543d20SAndroid Build Coastguard Worker 1520*2d543d20SAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 1521*2d543d20SAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 1522*2d543d20SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 1523*2d543d20SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 1524*2d543d20SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 1525*2d543d20SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 1526*2d543d20SAndroid Build Coastguard Workerparties remain in full compliance. 1527*2d543d20SAndroid Build Coastguard Worker 1528*2d543d20SAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 1529*2d543d20SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 1530*2d543d20SAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 1531*2d543d20SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 1532*2d543d20SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 1533*2d543d20SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 1534*2d543d20SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 1535*2d543d20SAndroid Build Coastguard Workerthe Program or works based on it. 1536*2d543d20SAndroid Build Coastguard Worker 1537*2d543d20SAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 1538*2d543d20SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 1539*2d543d20SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 1540*2d543d20SAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 1541*2d543d20SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 1542*2d543d20SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 1543*2d543d20SAndroid Build Coastguard Workerthis License. 1544*2d543d20SAndroid Build Coastguard Worker 1545*2d543d20SAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 1546*2d543d20SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 1547*2d543d20SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 1548*2d543d20SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 1549*2d543d20SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 1550*2d543d20SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 1551*2d543d20SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 1552*2d543d20SAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 1553*2d543d20SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 1554*2d543d20SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 1555*2d543d20SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 1556*2d543d20SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 1557*2d543d20SAndroid Build Coastguard Worker 1558*2d543d20SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 1559*2d543d20SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 1560*2d543d20SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 1561*2d543d20SAndroid Build Coastguard Workercircumstances. 1562*2d543d20SAndroid Build Coastguard Worker 1563*2d543d20SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 1564*2d543d20SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 1565*2d543d20SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 1566*2d543d20SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 1567*2d543d20SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 1568*2d543d20SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 1569*2d543d20SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 1570*2d543d20SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 1571*2d543d20SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 1572*2d543d20SAndroid Build Coastguard Workerimpose that choice. 1573*2d543d20SAndroid Build Coastguard Worker 1574*2d543d20SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 1575*2d543d20SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 1576*2d543d20SAndroid Build Coastguard Worker 1577*2d543d20SAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 1578*2d543d20SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 1579*2d543d20SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 1580*2d543d20SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 1581*2d543d20SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 1582*2d543d20SAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 1583*2d543d20SAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 1584*2d543d20SAndroid Build Coastguard Worker 1585*2d543d20SAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 1586*2d543d20SAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 1587*2d543d20SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 1588*2d543d20SAndroid Build Coastguard Workeraddress new problems or concerns. 1589*2d543d20SAndroid Build Coastguard Worker 1590*2d543d20SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 1591*2d543d20SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 1592*2d543d20SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 1593*2d543d20SAndroid Build Coastguard Workereither of that version or of any later version published by the Free 1594*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 1595*2d543d20SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 1596*2d543d20SAndroid Build Coastguard WorkerFoundation. 1597*2d543d20SAndroid Build Coastguard Worker 1598*2d543d20SAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 1599*2d543d20SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 1600*2d543d20SAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 1601*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 1602*2d543d20SAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 1603*2d543d20SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 1604*2d543d20SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 1605*2d543d20SAndroid Build Coastguard Worker 1606*2d543d20SAndroid Build Coastguard Worker NO WARRANTY 1607*2d543d20SAndroid Build Coastguard Worker 1608*2d543d20SAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 1609*2d543d20SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 1610*2d543d20SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 1611*2d543d20SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 1612*2d543d20SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1613*2d543d20SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 1614*2d543d20SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 1615*2d543d20SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 1616*2d543d20SAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 1617*2d543d20SAndroid Build Coastguard Worker 1618*2d543d20SAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1619*2d543d20SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 1620*2d543d20SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 1621*2d543d20SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 1622*2d543d20SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 1623*2d543d20SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 1624*2d543d20SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 1625*2d543d20SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 1626*2d543d20SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 1627*2d543d20SAndroid Build Coastguard Worker 1628*2d543d20SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 1629*2d543d20SAndroid Build Coastguard Worker 1630*2d543d20SAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 1631*2d543d20SAndroid Build Coastguard Worker 1632*2d543d20SAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 1633*2d543d20SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 1634*2d543d20SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 1635*2d543d20SAndroid Build Coastguard Worker 1636*2d543d20SAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 1637*2d543d20SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 1638*2d543d20SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 1639*2d543d20SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 1640*2d543d20SAndroid Build Coastguard Worker 1641*2d543d20SAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 1642*2d543d20SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 1643*2d543d20SAndroid Build Coastguard Worker 1644*2d543d20SAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 1645*2d543d20SAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 1646*2d543d20SAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 1647*2d543d20SAndroid Build Coastguard Worker (at your option) any later version. 1648*2d543d20SAndroid Build Coastguard Worker 1649*2d543d20SAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 1650*2d543d20SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 1651*2d543d20SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1652*2d543d20SAndroid Build Coastguard Worker GNU General Public License for more details. 1653*2d543d20SAndroid Build Coastguard Worker 1654*2d543d20SAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 1655*2d543d20SAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 1656*2d543d20SAndroid Build Coastguard Worker Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1657*2d543d20SAndroid Build Coastguard Worker 1658*2d543d20SAndroid Build Coastguard Worker 1659*2d543d20SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 1660*2d543d20SAndroid Build Coastguard Worker 1661*2d543d20SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 1662*2d543d20SAndroid Build Coastguard Workerwhen it starts in an interactive mode: 1663*2d543d20SAndroid Build Coastguard Worker 1664*2d543d20SAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 1665*2d543d20SAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 1666*2d543d20SAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 1667*2d543d20SAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 1668*2d543d20SAndroid Build Coastguard Worker 1669*2d543d20SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 1670*2d543d20SAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 1671*2d543d20SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 1672*2d543d20SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 1673*2d543d20SAndroid Build Coastguard Worker 1674*2d543d20SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 1675*2d543d20SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 1676*2d543d20SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 1677*2d543d20SAndroid Build Coastguard Worker 1678*2d543d20SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 1679*2d543d20SAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 1680*2d543d20SAndroid Build Coastguard Worker 1681*2d543d20SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 1682*2d543d20SAndroid Build Coastguard Worker Ty Coon, President of Vice 1683*2d543d20SAndroid Build Coastguard Worker 1684*2d543d20SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 1685*2d543d20SAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 1686*2d543d20SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 1687*2d543d20SAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 1688*2d543d20SAndroid Build Coastguard WorkerPublic License instead of this License. 1689*2d543d20SAndroid Build Coastguard WorkerAll files are licensed under the FreeBSD license, excepet for thid party 1690*2d543d20SAndroid Build Coastguard Workercomponents, which are subject to their respective licenses as specified in 1691*2d543d20SAndroid Build Coastguard Workertheir source files. 1692*2d543d20SAndroid Build Coastguard Worker 1693*2d543d20SAndroid Build Coastguard Worker FreeBSD License 1694*2d543d20SAndroid Build Coastguard Worker 1695*2d543d20SAndroid Build Coastguard WorkerCopyright 2011 Tresys Technology, LLC. All rights reserved. 1696*2d543d20SAndroid Build Coastguard Worker 1697*2d543d20SAndroid Build Coastguard WorkerRedistribution and use in source and binary forms, with or without 1698*2d543d20SAndroid Build Coastguard Workermodification, are permitted provided that the following conditions are met: 1699*2d543d20SAndroid Build Coastguard Worker 1700*2d543d20SAndroid Build Coastguard Worker 1. Redistributions of source code must retain the above copyright notice, 1701*2d543d20SAndroid Build Coastguard Worker this list of conditions and the following disclaimer. 1702*2d543d20SAndroid Build Coastguard Worker 1703*2d543d20SAndroid Build Coastguard Worker 2. Redistributions in binary form must reproduce the above copyright notice, 1704*2d543d20SAndroid Build Coastguard Worker this list of conditions and the following disclaimer in the documentation 1705*2d543d20SAndroid Build Coastguard Worker and/or other materials provided with the distribution. 1706*2d543d20SAndroid Build Coastguard Worker 1707*2d543d20SAndroid Build Coastguard WorkerTHIS SOFTWARE IS PROVIDED BY TRESYS TECHNOLOGY, LLC ``AS IS'' AND ANY EXPRESS 1708*2d543d20SAndroid Build Coastguard WorkerOR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1709*2d543d20SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 1710*2d543d20SAndroid Build Coastguard WorkerEVENT SHALL TRESYS TECHNOLOGY, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 1711*2d543d20SAndroid Build Coastguard WorkerINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 1712*2d543d20SAndroid Build Coastguard WorkerBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 1713*2d543d20SAndroid Build Coastguard WorkerDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 1714*2d543d20SAndroid Build Coastguard WorkerLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 1715*2d543d20SAndroid Build Coastguard WorkerOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 1716*2d543d20SAndroid Build Coastguard WorkerADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1717*2d543d20SAndroid Build Coastguard Worker 1718*2d543d20SAndroid Build Coastguard WorkerThe views and conclusions contained in the software and documentation are those 1719*2d543d20SAndroid Build Coastguard Workerof the authors and should not be interpreted as representing official policies, 1720*2d543d20SAndroid Build Coastguard Workereither expressed or implied, of Tresys Technology, LLC. 1721*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 1722*2d543d20SAndroid Build Coastguard Worker Version 2, June 1991 1723*2d543d20SAndroid Build Coastguard Worker 1724*2d543d20SAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc. 1725*2d543d20SAndroid Build Coastguard Worker 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 1726*2d543d20SAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies 1727*2d543d20SAndroid Build Coastguard Worker of this license document, but changing it is not allowed. 1728*2d543d20SAndroid Build Coastguard Worker 1729*2d543d20SAndroid Build Coastguard Worker Preamble 1730*2d543d20SAndroid Build Coastguard Worker 1731*2d543d20SAndroid Build Coastguard Worker The licenses for most software are designed to take away your 1732*2d543d20SAndroid Build Coastguard Workerfreedom to share and change it. By contrast, the GNU General Public 1733*2d543d20SAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free 1734*2d543d20SAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users. This 1735*2d543d20SAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software 1736*2d543d20SAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to 1737*2d543d20SAndroid Build Coastguard Workerusing it. (Some other Free Software Foundation software is covered by 1738*2d543d20SAndroid Build Coastguard Workerthe GNU Library General Public License instead.) You can apply it to 1739*2d543d20SAndroid Build Coastguard Workeryour programs, too. 1740*2d543d20SAndroid Build Coastguard Worker 1741*2d543d20SAndroid Build Coastguard Worker When we speak of free software, we are referring to freedom, not 1742*2d543d20SAndroid Build Coastguard Workerprice. Our General Public Licenses are designed to make sure that you 1743*2d543d20SAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for 1744*2d543d20SAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it 1745*2d543d20SAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it 1746*2d543d20SAndroid Build Coastguard Workerin new free programs; and that you know you can do these things. 1747*2d543d20SAndroid Build Coastguard Worker 1748*2d543d20SAndroid Build Coastguard Worker To protect your rights, we need to make restrictions that forbid 1749*2d543d20SAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights. 1750*2d543d20SAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you 1751*2d543d20SAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it. 1752*2d543d20SAndroid Build Coastguard Worker 1753*2d543d20SAndroid Build Coastguard Worker For example, if you distribute copies of such a program, whether 1754*2d543d20SAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that 1755*2d543d20SAndroid Build Coastguard Workeryou have. You must make sure that they, too, receive or can get the 1756*2d543d20SAndroid Build Coastguard Workersource code. And you must show them these terms so they know their 1757*2d543d20SAndroid Build Coastguard Workerrights. 1758*2d543d20SAndroid Build Coastguard Worker 1759*2d543d20SAndroid Build Coastguard Worker We protect your rights with two steps: (1) copyright the software, and 1760*2d543d20SAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy, 1761*2d543d20SAndroid Build Coastguard Workerdistribute and/or modify the software. 1762*2d543d20SAndroid Build Coastguard Worker 1763*2d543d20SAndroid Build Coastguard Worker Also, for each author's protection and ours, we want to make certain 1764*2d543d20SAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free 1765*2d543d20SAndroid Build Coastguard Workersoftware. If the software is modified by someone else and passed on, we 1766*2d543d20SAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so 1767*2d543d20SAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original 1768*2d543d20SAndroid Build Coastguard Workerauthors' reputations. 1769*2d543d20SAndroid Build Coastguard Worker 1770*2d543d20SAndroid Build Coastguard Worker Finally, any free program is threatened constantly by software 1771*2d543d20SAndroid Build Coastguard Workerpatents. We wish to avoid the danger that redistributors of a free 1772*2d543d20SAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the 1773*2d543d20SAndroid Build Coastguard Workerprogram proprietary. To prevent this, we have made it clear that any 1774*2d543d20SAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all. 1775*2d543d20SAndroid Build Coastguard Worker 1776*2d543d20SAndroid Build Coastguard Worker The precise terms and conditions for copying, distribution and 1777*2d543d20SAndroid Build Coastguard Workermodification follow. 1778*2d543d20SAndroid Build Coastguard Worker 1779*2d543d20SAndroid Build Coastguard Worker GNU GENERAL PUBLIC LICENSE 1780*2d543d20SAndroid Build Coastguard Worker TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1781*2d543d20SAndroid Build Coastguard Worker 1782*2d543d20SAndroid Build Coastguard Worker 0. This License applies to any program or other work which contains 1783*2d543d20SAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed 1784*2d543d20SAndroid Build Coastguard Workerunder the terms of this General Public License. The "Program", below, 1785*2d543d20SAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program" 1786*2d543d20SAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law: 1787*2d543d20SAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it, 1788*2d543d20SAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another 1789*2d543d20SAndroid Build Coastguard Workerlanguage. (Hereinafter, translation is included without limitation in 1790*2d543d20SAndroid Build Coastguard Workerthe term "modification".) Each licensee is addressed as "you". 1791*2d543d20SAndroid Build Coastguard Worker 1792*2d543d20SAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not 1793*2d543d20SAndroid Build Coastguard Workercovered by this License; they are outside its scope. The act of 1794*2d543d20SAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program 1795*2d543d20SAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the 1796*2d543d20SAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program). 1797*2d543d20SAndroid Build Coastguard WorkerWhether that is true depends on what the Program does. 1798*2d543d20SAndroid Build Coastguard Worker 1799*2d543d20SAndroid Build Coastguard Worker 1. You may copy and distribute verbatim copies of the Program's 1800*2d543d20SAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you 1801*2d543d20SAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate 1802*2d543d20SAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the 1803*2d543d20SAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty; 1804*2d543d20SAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License 1805*2d543d20SAndroid Build Coastguard Workeralong with the Program. 1806*2d543d20SAndroid Build Coastguard Worker 1807*2d543d20SAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and 1808*2d543d20SAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee. 1809*2d543d20SAndroid Build Coastguard Worker 1810*2d543d20SAndroid Build Coastguard Worker 2. You may modify your copy or copies of the Program or any portion 1811*2d543d20SAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and 1812*2d543d20SAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1 1813*2d543d20SAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions: 1814*2d543d20SAndroid Build Coastguard Worker 1815*2d543d20SAndroid Build Coastguard Worker a) You must cause the modified files to carry prominent notices 1816*2d543d20SAndroid Build Coastguard Worker stating that you changed the files and the date of any change. 1817*2d543d20SAndroid Build Coastguard Worker 1818*2d543d20SAndroid Build Coastguard Worker b) You must cause any work that you distribute or publish, that in 1819*2d543d20SAndroid Build Coastguard Worker whole or in part contains or is derived from the Program or any 1820*2d543d20SAndroid Build Coastguard Worker part thereof, to be licensed as a whole at no charge to all third 1821*2d543d20SAndroid Build Coastguard Worker parties under the terms of this License. 1822*2d543d20SAndroid Build Coastguard Worker 1823*2d543d20SAndroid Build Coastguard Worker c) If the modified program normally reads commands interactively 1824*2d543d20SAndroid Build Coastguard Worker when run, you must cause it, when started running for such 1825*2d543d20SAndroid Build Coastguard Worker interactive use in the most ordinary way, to print or display an 1826*2d543d20SAndroid Build Coastguard Worker announcement including an appropriate copyright notice and a 1827*2d543d20SAndroid Build Coastguard Worker notice that there is no warranty (or else, saying that you provide 1828*2d543d20SAndroid Build Coastguard Worker a warranty) and that users may redistribute the program under 1829*2d543d20SAndroid Build Coastguard Worker these conditions, and telling the user how to view a copy of this 1830*2d543d20SAndroid Build Coastguard Worker License. (Exception: if the Program itself is interactive but 1831*2d543d20SAndroid Build Coastguard Worker does not normally print such an announcement, your work based on 1832*2d543d20SAndroid Build Coastguard Worker the Program is not required to print an announcement.) 1833*2d543d20SAndroid Build Coastguard Worker 1834*2d543d20SAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole. If 1835*2d543d20SAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program, 1836*2d543d20SAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in 1837*2d543d20SAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those 1838*2d543d20SAndroid Build Coastguard Workersections when you distribute them as separate works. But when you 1839*2d543d20SAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based 1840*2d543d20SAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of 1841*2d543d20SAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the 1842*2d543d20SAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it. 1843*2d543d20SAndroid Build Coastguard Worker 1844*2d543d20SAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest 1845*2d543d20SAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to 1846*2d543d20SAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or 1847*2d543d20SAndroid Build Coastguard Workercollective works based on the Program. 1848*2d543d20SAndroid Build Coastguard Worker 1849*2d543d20SAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program 1850*2d543d20SAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of 1851*2d543d20SAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under 1852*2d543d20SAndroid Build Coastguard Workerthe scope of this License. 1853*2d543d20SAndroid Build Coastguard Worker 1854*2d543d20SAndroid Build Coastguard Worker 3. You may copy and distribute the Program (or a work based on it, 1855*2d543d20SAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of 1856*2d543d20SAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following: 1857*2d543d20SAndroid Build Coastguard Worker 1858*2d543d20SAndroid Build Coastguard Worker a) Accompany it with the complete corresponding machine-readable 1859*2d543d20SAndroid Build Coastguard Worker source code, which must be distributed under the terms of Sections 1860*2d543d20SAndroid Build Coastguard Worker 1 and 2 above on a medium customarily used for software interchange; or, 1861*2d543d20SAndroid Build Coastguard Worker 1862*2d543d20SAndroid Build Coastguard Worker b) Accompany it with a written offer, valid for at least three 1863*2d543d20SAndroid Build Coastguard Worker years, to give any third party, for a charge no more than your 1864*2d543d20SAndroid Build Coastguard Worker cost of physically performing source distribution, a complete 1865*2d543d20SAndroid Build Coastguard Worker machine-readable copy of the corresponding source code, to be 1866*2d543d20SAndroid Build Coastguard Worker distributed under the terms of Sections 1 and 2 above on a medium 1867*2d543d20SAndroid Build Coastguard Worker customarily used for software interchange; or, 1868*2d543d20SAndroid Build Coastguard Worker 1869*2d543d20SAndroid Build Coastguard Worker c) Accompany it with the information you received as to the offer 1870*2d543d20SAndroid Build Coastguard Worker to distribute corresponding source code. (This alternative is 1871*2d543d20SAndroid Build Coastguard Worker allowed only for noncommercial distribution and only if you 1872*2d543d20SAndroid Build Coastguard Worker received the program in object code or executable form with such 1873*2d543d20SAndroid Build Coastguard Worker an offer, in accord with Subsection b above.) 1874*2d543d20SAndroid Build Coastguard Worker 1875*2d543d20SAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for 1876*2d543d20SAndroid Build Coastguard Workermaking modifications to it. For an executable work, complete source 1877*2d543d20SAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any 1878*2d543d20SAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to 1879*2d543d20SAndroid Build Coastguard Workercontrol compilation and installation of the executable. However, as a 1880*2d543d20SAndroid Build Coastguard Workerspecial exception, the source code distributed need not include 1881*2d543d20SAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary 1882*2d543d20SAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the 1883*2d543d20SAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component 1884*2d543d20SAndroid Build Coastguard Workeritself accompanies the executable. 1885*2d543d20SAndroid Build Coastguard Worker 1886*2d543d20SAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering 1887*2d543d20SAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent 1888*2d543d20SAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as 1889*2d543d20SAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not 1890*2d543d20SAndroid Build Coastguard Workercompelled to copy the source along with the object code. 1891*2d543d20SAndroid Build Coastguard Worker 1892*2d543d20SAndroid Build Coastguard Worker 4. You may not copy, modify, sublicense, or distribute the Program 1893*2d543d20SAndroid Build Coastguard Workerexcept as expressly provided under this License. Any attempt 1894*2d543d20SAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is 1895*2d543d20SAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License. 1896*2d543d20SAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under 1897*2d543d20SAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such 1898*2d543d20SAndroid Build Coastguard Workerparties remain in full compliance. 1899*2d543d20SAndroid Build Coastguard Worker 1900*2d543d20SAndroid Build Coastguard Worker 5. You are not required to accept this License, since you have not 1901*2d543d20SAndroid Build Coastguard Workersigned it. However, nothing else grants you permission to modify or 1902*2d543d20SAndroid Build Coastguard Workerdistribute the Program or its derivative works. These actions are 1903*2d543d20SAndroid Build Coastguard Workerprohibited by law if you do not accept this License. Therefore, by 1904*2d543d20SAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the 1905*2d543d20SAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and 1906*2d543d20SAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying 1907*2d543d20SAndroid Build Coastguard Workerthe Program or works based on it. 1908*2d543d20SAndroid Build Coastguard Worker 1909*2d543d20SAndroid Build Coastguard Worker 6. Each time you redistribute the Program (or any work based on the 1910*2d543d20SAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the 1911*2d543d20SAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to 1912*2d543d20SAndroid Build Coastguard Workerthese terms and conditions. You may not impose any further 1913*2d543d20SAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein. 1914*2d543d20SAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to 1915*2d543d20SAndroid Build Coastguard Workerthis License. 1916*2d543d20SAndroid Build Coastguard Worker 1917*2d543d20SAndroid Build Coastguard Worker 7. If, as a consequence of a court judgment or allegation of patent 1918*2d543d20SAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues), 1919*2d543d20SAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or 1920*2d543d20SAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not 1921*2d543d20SAndroid Build Coastguard Workerexcuse you from the conditions of this License. If you cannot 1922*2d543d20SAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this 1923*2d543d20SAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you 1924*2d543d20SAndroid Build Coastguard Workermay not distribute the Program at all. For example, if a patent 1925*2d543d20SAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by 1926*2d543d20SAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then 1927*2d543d20SAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to 1928*2d543d20SAndroid Build Coastguard Workerrefrain entirely from distribution of the Program. 1929*2d543d20SAndroid Build Coastguard Worker 1930*2d543d20SAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under 1931*2d543d20SAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to 1932*2d543d20SAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other 1933*2d543d20SAndroid Build Coastguard Workercircumstances. 1934*2d543d20SAndroid Build Coastguard Worker 1935*2d543d20SAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any 1936*2d543d20SAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any 1937*2d543d20SAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the 1938*2d543d20SAndroid Build Coastguard Workerintegrity of the free software distribution system, which is 1939*2d543d20SAndroid Build Coastguard Workerimplemented by public license practices. Many people have made 1940*2d543d20SAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed 1941*2d543d20SAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that 1942*2d543d20SAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing 1943*2d543d20SAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot 1944*2d543d20SAndroid Build Coastguard Workerimpose that choice. 1945*2d543d20SAndroid Build Coastguard Worker 1946*2d543d20SAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to 1947*2d543d20SAndroid Build Coastguard Workerbe a consequence of the rest of this License. 1948*2d543d20SAndroid Build Coastguard Worker 1949*2d543d20SAndroid Build Coastguard Worker 8. If the distribution and/or use of the Program is restricted in 1950*2d543d20SAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the 1951*2d543d20SAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License 1952*2d543d20SAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding 1953*2d543d20SAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among 1954*2d543d20SAndroid Build Coastguard Workercountries not thus excluded. In such case, this License incorporates 1955*2d543d20SAndroid Build Coastguard Workerthe limitation as if written in the body of this License. 1956*2d543d20SAndroid Build Coastguard Worker 1957*2d543d20SAndroid Build Coastguard Worker 9. The Free Software Foundation may publish revised and/or new versions 1958*2d543d20SAndroid Build Coastguard Workerof the General Public License from time to time. Such new versions will 1959*2d543d20SAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to 1960*2d543d20SAndroid Build Coastguard Workeraddress new problems or concerns. 1961*2d543d20SAndroid Build Coastguard Worker 1962*2d543d20SAndroid Build Coastguard WorkerEach version is given a distinguishing version number. If the Program 1963*2d543d20SAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any 1964*2d543d20SAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions 1965*2d543d20SAndroid Build Coastguard Workereither of that version or of any later version published by the Free 1966*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation. If the Program does not specify a version number of 1967*2d543d20SAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software 1968*2d543d20SAndroid Build Coastguard WorkerFoundation. 1969*2d543d20SAndroid Build Coastguard Worker 1970*2d543d20SAndroid Build Coastguard Worker 10. If you wish to incorporate parts of the Program into other free 1971*2d543d20SAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author 1972*2d543d20SAndroid Build Coastguard Workerto ask for permission. For software which is copyrighted by the Free 1973*2d543d20SAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes 1974*2d543d20SAndroid Build Coastguard Workermake exceptions for this. Our decision will be guided by the two goals 1975*2d543d20SAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and 1976*2d543d20SAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally. 1977*2d543d20SAndroid Build Coastguard Worker 1978*2d543d20SAndroid Build Coastguard Worker NO WARRANTY 1979*2d543d20SAndroid Build Coastguard Worker 1980*2d543d20SAndroid Build Coastguard Worker 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 1981*2d543d20SAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 1982*2d543d20SAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 1983*2d543d20SAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 1984*2d543d20SAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1985*2d543d20SAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 1986*2d543d20SAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 1987*2d543d20SAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 1988*2d543d20SAndroid Build Coastguard WorkerREPAIR OR CORRECTION. 1989*2d543d20SAndroid Build Coastguard Worker 1990*2d543d20SAndroid Build Coastguard Worker 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 1991*2d543d20SAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 1992*2d543d20SAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 1993*2d543d20SAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 1994*2d543d20SAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 1995*2d543d20SAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 1996*2d543d20SAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 1997*2d543d20SAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 1998*2d543d20SAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES. 1999*2d543d20SAndroid Build Coastguard Worker 2000*2d543d20SAndroid Build Coastguard Worker END OF TERMS AND CONDITIONS 2001*2d543d20SAndroid Build Coastguard Worker 2002*2d543d20SAndroid Build Coastguard Worker How to Apply These Terms to Your New Programs 2003*2d543d20SAndroid Build Coastguard Worker 2004*2d543d20SAndroid Build Coastguard Worker If you develop a new program, and you want it to be of the greatest 2005*2d543d20SAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it 2006*2d543d20SAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms. 2007*2d543d20SAndroid Build Coastguard Worker 2008*2d543d20SAndroid Build Coastguard Worker To do so, attach the following notices to the program. It is safest 2009*2d543d20SAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively 2010*2d543d20SAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least 2011*2d543d20SAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found. 2012*2d543d20SAndroid Build Coastguard Worker 2013*2d543d20SAndroid Build Coastguard Worker <one line to give the program's name and a brief idea of what it does.> 2014*2d543d20SAndroid Build Coastguard Worker Copyright (C) <year> <name of author> 2015*2d543d20SAndroid Build Coastguard Worker 2016*2d543d20SAndroid Build Coastguard Worker This program is free software; you can redistribute it and/or modify 2017*2d543d20SAndroid Build Coastguard Worker it under the terms of the GNU General Public License as published by 2018*2d543d20SAndroid Build Coastguard Worker the Free Software Foundation; either version 2 of the License, or 2019*2d543d20SAndroid Build Coastguard Worker (at your option) any later version. 2020*2d543d20SAndroid Build Coastguard Worker 2021*2d543d20SAndroid Build Coastguard Worker This program is distributed in the hope that it will be useful, 2022*2d543d20SAndroid Build Coastguard Worker but WITHOUT ANY WARRANTY; without even the implied warranty of 2023*2d543d20SAndroid Build Coastguard Worker MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2024*2d543d20SAndroid Build Coastguard Worker GNU General Public License for more details. 2025*2d543d20SAndroid Build Coastguard Worker 2026*2d543d20SAndroid Build Coastguard Worker You should have received a copy of the GNU General Public License 2027*2d543d20SAndroid Build Coastguard Worker along with this program; if not, write to the Free Software 2028*2d543d20SAndroid Build Coastguard Worker Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 2029*2d543d20SAndroid Build Coastguard Worker 2030*2d543d20SAndroid Build Coastguard Worker 2031*2d543d20SAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail. 2032*2d543d20SAndroid Build Coastguard Worker 2033*2d543d20SAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this 2034*2d543d20SAndroid Build Coastguard Workerwhen it starts in an interactive mode: 2035*2d543d20SAndroid Build Coastguard Worker 2036*2d543d20SAndroid Build Coastguard Worker Gnomovision version 69, Copyright (C) year name of author 2037*2d543d20SAndroid Build Coastguard Worker Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 2038*2d543d20SAndroid Build Coastguard Worker This is free software, and you are welcome to redistribute it 2039*2d543d20SAndroid Build Coastguard Worker under certain conditions; type `show c' for details. 2040*2d543d20SAndroid Build Coastguard Worker 2041*2d543d20SAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate 2042*2d543d20SAndroid Build Coastguard Workerparts of the General Public License. Of course, the commands you use may 2043*2d543d20SAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be 2044*2d543d20SAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program. 2045*2d543d20SAndroid Build Coastguard Worker 2046*2d543d20SAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your 2047*2d543d20SAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if 2048*2d543d20SAndroid Build Coastguard Workernecessary. Here is a sample; alter the names: 2049*2d543d20SAndroid Build Coastguard Worker 2050*2d543d20SAndroid Build Coastguard Worker Yoyodyne, Inc., hereby disclaims all copyright interest in the program 2051*2d543d20SAndroid Build Coastguard Worker `Gnomovision' (which makes passes at compilers) written by James Hacker. 2052*2d543d20SAndroid Build Coastguard Worker 2053*2d543d20SAndroid Build Coastguard Worker <signature of Ty Coon>, 1 April 1989 2054*2d543d20SAndroid Build Coastguard Worker Ty Coon, President of Vice 2055*2d543d20SAndroid Build Coastguard Worker 2056*2d543d20SAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into 2057*2d543d20SAndroid Build Coastguard Workerproprietary programs. If your program is a subroutine library, you may 2058*2d543d20SAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the 2059*2d543d20SAndroid Build Coastguard Workerlibrary. If this is what you want to do, use the GNU Library General 2060*2d543d20SAndroid Build Coastguard WorkerPublic License instead of this License. 2061