]> git.saurik.com Git - wxWidgets.git/blame - docs/licence.txt
added a "lib" target for generating a wxPython library for static
[wxWidgets.git] / docs / licence.txt
CommitLineData
c801d85f
KB
1wxWindows Licence
2-----------------
3
4Copyright (c) 1998 Julian Smart, Markus Holzem
5
6
7Preamble
8--------
9
10This licence is intended to protect wxWindows, its developers,
11and its users, so that the considerable investment it represents
12is not abused.
13
e8435fa3 14Unlike the L-GPL licence, you as a user are not obliged to
c801d85f
KB
15distribute wxWindows source code with your products. However,
16you are prevented from selling the code without permission from
17the authors, or denying others the rights to use or distribute
18wxWindows in the way intended.
19
20The wxWindows Licence establishes the copyright for the code and
21related material, and it gives you legal permission to copy,
22distribute and/or modify the library. It also asserts that no
23warranty is given by the authors for this or derived code.
24
25Finally, the licence specifies that any patent involving
26wxWindows, must be licenced for everyone's free use.
27
28wxWindows Licence
29-----------------
30
31Terms and conditions for copying, distribution and modification
32
331. This Licence Agreement applies to any software library which
34contains a notice placed by the copyright holder or other
35authorized party saying it may be distributed under the terms of
36this wxWindows Licence (also called "this Licence"). Each
37licencee is addressed as "you".
38
39A "library" means a collection of software functions and/or data
40prepared so as to be conveniently linked with application
41programs (which use some of those functions and data) to form
42executables.
43
44The "Library", below, refers to any such software library or
45work which has been distributed under these terms. A "work
46based on the Library" means either the Library or any derivative
47work under copyright law: that is to say, a work containing the
48Library or a portion of it, either verbatim or with
49modifications and/or translated straightforwardly into another
50language. (Hereinafter, translation is included without
51limitation in the term "modification".)
52
53"Source code" for a work means the preferred form of the work
54for making modifications to it. For a library, complete source
55code means all the source code for all modules it contains, plus
56any associated interface definition files, plus the scripts used
57to control compilation and installation of the library.
58
59Activities other than copying, distribution and modification are
60not covered by this Licence; they are outside its scope. The act
61of running a program using the Library is not restricted, and
62output from such a program is covered only if its contents
63constitute a work based on the Library (independent of the use
64of the Library in a tool for writing it). Whether that is true
65depends on what the Library does and what the program that uses
66the Library does.
67
682. You may copy and distribute verbatim copies of the Library's
69complete source code as you receive it, in any medium, provided
70that you conspicuously and appropriately publish on each copy an
71appropriate copyright notice and disclaimer of warranty; keep
72intact all the notices that refer to this Licence and to the
73absence of any warranty; and distribute a copy of this Licence
74along with the Library.
75
76You may charge a fee for the physical act of transferring a
77copy, and you may at your option offer warranty protection in
78exchange for a fee.
79
803. You may modify your copy or copies of the Library or any
81portion of it, thus forming a work based on the Library, and
82copy and distribute such modifications or work under the terms
83of Section 1 above, provided that you cause the files modified
84to carry prominent notices stating that you changed the files
85and the date of any change. With agreement from the authors of
86wxWindows, you may charge for value added to the Library, for
87example, a commercially supported version, or a port to a new
88platform. It is expected that collaboration between such
89commercial interests and the free wxWindows community will yield
90benefits to both parties, since wxWindows represents a
91substantial investment of time and effort. It is not in the
92spirit of this agreement that commercial exploitation of
93wxWindows should in any way detract from the free version.
94
954. You may copy and distribute the Library in object code or
96derived library form under the terms of Sections 1 and 2 above
97provided that you accompany it with the complete corresponding
98machine-readable source code.
99
100If distribution of object code is made by offering access to
101copy from a designated place, then offering equivalent access to
102copy the source code from the same place satisfies the
103requirement to distribute the source code, even though third
104parties are not compelled to copy the source along with the
105object code.
106
1075. You may not copy, modify, sublicence, link with, or
108distribute the Library except as expressly provided under this
109Licence. Any attempt otherwise to copy, modify, sublicence,
110link with, or distribute the Library is void, and will
111automatically terminate your rights under this Licence.
112However, parties who have received copies, or rights, from you
113under this Licence will not have their licences terminated so
114long as such parties remain in full compliance.
115
1166. You are not required to accept this Licence, since you have
117not signed it. However, nothing else grants you permission to
118modify or distribute the Library or its derivative works. These
119actions are prohibited by law if you do not accept this Licence.
120Therefore, by modifying or distributing the Library (or any work
121based on the Library), you indicate your acceptance of this
122Licence to do so, and all its terms and conditions for copying,
123distributing or modifying the Library or works based on it.
124
1257. Each time you redistribute the Library (or any work based on
126the Library), the recipient automatically receives a licence
127from the original licensor to copy, distribute, link with or
128modify the Library subject to these terms and conditions. You
129may not impose any further restrictions on the recipients'
130exercise of the rights granted herein. You are not responsible
131for enforcing compliance by third parties to this Licence.
132
1338. If, as a consequence of a court judgment or allegation of
134patent infringement or for any other reason (not limited to
135patent issues), conditions are imposed on you (whether by court
136order, agreement or otherwise) that contradict the conditions of
137this Licence, they do not excuse you from the conditions of this
138Licence. If you cannot distribute so as to satisfy
139simultaneously your obligations under this Licence and any other
140pertinent obligations, then as a consequence you may not
141distribute the Library at all. For example, if a patent licence
142would not permit royalty-free redistribution of the Library by
143all those who receive copies directly or indirectly through you,
144then the only way you could satisfy both it and this Licence
145would be to refrain entirely from distribution of the Library.
146
147If any portion of this section is held invalid or unenforceable
148under any particular circumstance, the balance of the section is
149intended to apply, and the section as a whole is intended to
150apply in other circumstances.
151
152It is not the purpose of this section to induce you to infringe
153any patents or other property right claims or to contest
154validity of any such claims; this section has the sole purpose
155of protecting the integrity of the free software distribution
156system which is implemented by public licence practices. Many
157people have made generous contributions to the wide range of
158software distributed through that system in reliance on
159consistent application of that system; it is up to the
160author/donor to decide if he or she is willing to distribute
161software through any other system and a licencee cannot impose
162that choice.
163
164This section is intended to make thoroughly clear what is
165believed to be a consequence of the rest of this Licence.
166
1679. If the distribution and/or use of the Library is restricted
168in certain countries either by patents or by copyrighted
169interfaces, the original copyright holder who places the Library
170under this Licence may add an explicit geographical distribution
171limitation excluding those countries, so that distribution is
172permitted only in or among countries not thus excluded. In such
173case, this Licence incorporates the limitation as if written in
174the body of this Licence.
175
17610. The authors of wxWindows may publish revised and/or new
177versions of the wxWindows Licence from time to time. Such new
178versions will be similar in spirit to the present version, but
179may differ in detail to address new problems or concerns.
180
181Each version is given a distinguishing version number. If the
182Library specifies a version number of this Licence which applies
183to it and "any later version", you have the option of following
184the terms and conditions either of that version or of any later
185version published by the wxWindows authors. If the Library does
186not specify a licence version number, you may choose any version
187ever published by the wxWindows authors.
188
18911. If you wish to incorporate parts of the Library into other
190free programs whose distribution conditions are incompatible
191with these, write to the program author to ask for permission.
192For software which is copyrighted by the wxWindows authors,
193write to the wxWindows authors. Our decision will be guided by
194the two goals of preserving the free status of all derivatives
195of our free software and of promoting the sharing and reuse of
196software generally.
197
198NO WARRANTY
199-----------
200
20112. BECAUSE THE LIBRARY IS LICENCED FREE OF CHARGE, THERE IS NO
202WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE
203LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
204HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT
205WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
206BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
207AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE
208QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE
209LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
210SERVICING, REPAIR OR CORRECTION.
211
21213. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO
213IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
214MODIFY AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE
215LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
216INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
217INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS
218OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
219YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH
220ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
221ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
222
223END OF TERMS AND CONDITIONS
224