- add sources.
[platform/framework/web/crosswalk.git] / src / base / third_party / xdg_mime / LICENSE
1 Licensed under the Academic Free License version 2.0 (below)
2 Or under the following terms:
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the
16 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA.
18
19
20 --------------------------------------------------------------------------------
21 Academic Free License v. 2.0
22 --------------------------------------------------------------------------------
23
24 This Academic Free License (the "License") applies to any original work of
25 authorship (the "Original Work") whose owner (the "Licensor") has placed the
26 following notice immediately following the copyright notice for the Original
27 Work:
28
29 Licensed under the Academic Free License version 2.0
30 1) Grant of Copyright License. Licensor hereby grants You a world-wide,
31 royalty-free, non-exclusive, perpetual, sublicenseable license to do the
32 following:
33
34 a) to reproduce the Original Work in copies;
35 b) to prepare derivative works ("Derivative Works") based upon the Original
36    Work;
37 c) to distribute copies of the Original Work and Derivative Works to the
38    public;
39 d) to perform the Original Work publicly; and
40 e) to display the Original Work publicly.
41
42 2) Grant of Patent License. Licensor hereby grants You a world-wide,
43 royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
44 claims owned or controlled by the Licensor that are embodied in the Original
45 Work as furnished by the Licensor, to make, use, sell and offer for sale the
46 Original Work and Derivative Works.
47
48 3) Grant of Source Code License. The term "Source Code" means the preferred
49 form of the Original Work for making modifications to it and all available
50 documentation describing how to modify the Original Work. Licensor hereby
51 agrees to provide a machine-readable copy of the Source Code of the Original
52 Work along with each copy of the Original Work that Licensor distributes.
53 Licensor reserves the right to satisfy this obligation by placing a
54 machine-readable copy of the Source Code in an information repository
55 reasonably calculated to permit inexpensive and convenient access by You for as
56 long as Licensor continues to distribute the Original Work, and by publishing
57 the address of that information repository in a notice immediately following
58 the copyright notice that applies to the Original Work.
59
60 4) Exclusions From License Grant. Neither the names of Licensor, nor the names
61 of any contributors to the Original Work, nor any of their trademarks or
62 service marks, may be used to endorse or promote products derived from this
63 Original Work without express prior written permission of the Licensor. Nothing
64 in this License shall be deemed to grant any rights to trademarks, copyrights,
65 patents, trade secrets or any other intellectual property of Licensor except as
66 expressly stated herein. No patent license is granted to make, use, sell or
67 offer to sell embodiments of any patent claims other than the licensed claims
68 defined in Section 2. No right is granted to the trademarks of Licensor even if
69 such marks are included in the Original Work. Nothing in this License shall be
70 interpreted to prohibit Licensor from licensing under different terms from this
71 License any Original Work that Licensor otherwise would have a right to
72 license.
73
74 5) This section intentionally omitted.
75
76 6) Attribution Rights. You must retain, in the Source Code of any Derivative
77 Works that You create, all copyright, patent or trademark notices from the
78 Source Code of the Original Work, as well as any notices of licensing and any
79 descriptive text identified therein as an "Attribution Notice." You must cause
80 the Source Code for any Derivative Works that You create to carry a prominent
81 Attribution Notice reasonably calculated to inform recipients that You have
82 modified the Original Work.
83
84 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
85 the copyright in and to the Original Work and the patent rights granted herein
86 by Licensor are owned by the Licensor or are sublicensed to You under the terms
87 of this License with the permission of the contributor(s) of those copyrights
88 and patent rights. Except as expressly stated in the immediately proceeding
89 sentence, the Original Work is provided under this License on an "AS IS" BASIS
90 and WITHOUT WARRANTY, either express or implied, including, without limitation,
91 the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
92 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
93 This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
94 license to Original Work is granted hereunder except under this disclaimer.
95
96 8) Limitation of Liability. Under no circumstances and under no legal theory,
97 whether in tort (including negligence), contract, or otherwise, shall the
98 Licensor be liable to any person for any direct, indirect, special, incidental,
99 or consequential damages of any character arising as a result of this License
100 or the use of the Original Work including, without limitation, damages for loss
101 of goodwill, work stoppage, computer failure or malfunction, or any and all
102 other commercial damages or losses. This limitation of liability shall not
103 apply to liability for death or personal injury resulting from Licensor's
104 negligence to the extent applicable law prohibits such limitation. Some
105 jurisdictions do not allow the exclusion or limitation of incidental or
106 consequential damages, so this exclusion and limitation may not apply to You.
107
108 9) Acceptance and Termination. If You distribute copies of the Original Work or
109 a Derivative Work, You must make a reasonable effort under the circumstances to
110 obtain the express assent of recipients to the terms of this License. Nothing
111 else but this License (or another written agreement between Licensor and You)
112 grants You permission to create Derivative Works based upon the Original Work
113 or to exercise any of the rights granted in Section 1 herein, and any attempt
114 to do so except under the terms of this License (or another written agreement
115 between Licensor and You) is expressly prohibited by U.S. copyright law, the
116 equivalent laws of other countries, and by international treaty. Therefore, by
117 exercising any of the rights granted to You in Section 1 herein, You indicate
118 Your acceptance of this License and all of its terms and conditions.
119
120 10) Termination for Patent Action. This License shall terminate automatically
121 and You may no longer exercise any of the rights granted to You by this License
122 as of the date You commence an action, including a cross-claim or counterclaim,
123 for patent infringement (i) against Licensor with respect to a patent
124 applicable to software or (ii) against any entity with respect to a patent
125 applicable to the Original Work (but excluding combinations of the Original
126 Work with other software or hardware).
127
128 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
129 License may be brought only in the courts of a jurisdiction wherein the
130 Licensor resides or in which Licensor conducts its primary business, and under
131 the laws of that jurisdiction excluding its conflict-of-law provisions. The
132 application of the United Nations Convention on Contracts for the International
133 Sale of Goods is expressly excluded. Any use of the Original Work outside the
134 scope of this License or after its termination shall be subject to the
135 requirements and penalties of the U.S. Copyright Act, 17 U.S.C. 101 et seq.,
136 the equivalent laws of other countries, and international treaty. This section
137 shall survive the termination of this License.
138
139 12) Attorneys Fees. In any action to enforce the terms of this License or
140 seeking damages relating thereto, the prevailing party shall be entitled to
141 recover its costs and expenses, including, without limitation, reasonable
142 attorneys' fees and costs incurred in connection with such action, including
143 any appeal of such action. This section shall survive the termination of this
144 License.
145
146 13) Miscellaneous. This License represents the complete agreement concerning
147 the subject matter hereof. If any provision of this License is held to be
148 unenforceable, such provision shall be reformed only to the extent necessary to
149 make it enforceable.
150
151 14) Definition of "You" in This License. "You" throughout this License, whether
152 in upper or lower case, means an individual or a legal entity exercising rights
153 under, and complying with all of the terms of, this License. For legal
154 entities, "You" includes any entity that controls, is controlled by, or is
155 under common control with you. For purposes of this definition, "control" means
156 (i) the power, direct or indirect, to cause the direction or management of such
157 entity, whether by contract or otherwise, or (ii) ownership of fifty percent
158 (50%) or more of the outstanding shares, or (iii) beneficial ownership of such
159 entity.
160
161 15) Right to Use. You may use the Original Work in all ways not otherwise
162 restricted or conditioned by this License or by law, and Licensor promises not
163 to interfere with or be responsible for such uses by You.
164
165 This license is Copyright (C) 2003 Lawrence E. Rosen. All rights reserved.
166 Permission is hereby granted to copy and distribute this license without
167 modification. This license may not be modified without the express written
168 permission of its copyright owner.