|
1 GPL 2/LGPL 2/MIT/BSD |
|
2 |
|
3 gobject-introspection has two licenses; one for the typelib library, |
|
4 and one for the tools. |
|
5 |
|
6 The scanner (giscanner/) and typelib libraries (girepository/) are |
|
7 licensed under the LGPLv2+. See the file COPYING.LGPL. |
|
8 |
|
9 The tools (tools/) are licensed under the GPLv2+. See the file COPYING.GPL. |
|
10 |
|
11 There is also some MIT code in giscanner/. In general where |
|
12 applicable files should have headers denoting their license status; if |
|
13 they do not, please file a bug at http://bugzilla.gnome.org. |
|
14 |
|
15 --- |
|
16 |
|
17 The COPYING.GPL file contains: |
|
18 |
|
19 GNU GENERAL PUBLIC LICENSE |
|
20 Version 2, June 1991 |
|
21 |
|
22 Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
|
23 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
24 Everyone is permitted to copy and distribute verbatim copies |
|
25 of this license document, but changing it is not allowed. |
|
26 |
|
27 Preamble |
|
28 |
|
29 The licenses for most software are designed to take away your |
|
30 freedom to share and change it. By contrast, the GNU General Public |
|
31 License is intended to guarantee your freedom to share and change free |
|
32 software--to make sure the software is free for all its users. This |
|
33 General Public License applies to most of the Free Software |
|
34 Foundation's software and to any other program whose authors commit to |
|
35 using it. (Some other Free Software Foundation software is covered by |
|
36 the GNU Library General Public License instead.) You can apply it to |
|
37 your programs, too. |
|
38 |
|
39 When we speak of free software, we are referring to freedom, not |
|
40 price. Our General Public Licenses are designed to make sure that you |
|
41 have the freedom to distribute copies of free software (and charge for |
|
42 this service if you wish), that you receive source code or can get it |
|
43 if you want it, that you can change the software or use pieces of it |
|
44 in new free programs; and that you know you can do these things. |
|
45 |
|
46 To protect your rights, we need to make restrictions that forbid |
|
47 anyone to deny you these rights or to ask you to surrender the rights. |
|
48 These restrictions translate to certain responsibilities for you if you |
|
49 distribute copies of the software, or if you modify it. |
|
50 |
|
51 For example, if you distribute copies of such a program, whether |
|
52 gratis or for a fee, you must give the recipients all the rights that |
|
53 you have. You must make sure that they, too, receive or can get the |
|
54 source code. And you must show them these terms so they know their |
|
55 rights. |
|
56 |
|
57 We protect your rights with two steps: (1) copyright the software, and |
|
58 (2) offer you this license which gives you legal permission to copy, |
|
59 distribute and/or modify the software. |
|
60 |
|
61 Also, for each author's protection and ours, we want to make certain |
|
62 that everyone understands that there is no warranty for this free |
|
63 software. If the software is modified by someone else and passed on, we |
|
64 want its recipients to know that what they have is not the original, so |
|
65 that any problems introduced by others will not reflect on the original |
|
66 authors' reputations. |
|
67 |
|
68 Finally, any free program is threatened constantly by software |
|
69 patents. We wish to avoid the danger that redistributors of a free |
|
70 program will individually obtain patent licenses, in effect making the |
|
71 program proprietary. To prevent this, we have made it clear that any |
|
72 patent must be licensed for everyone's free use or not licensed at all. |
|
73 |
|
74 The precise terms and conditions for copying, distribution and |
|
75 modification follow. |
|
76 |
|
77 GNU GENERAL PUBLIC LICENSE |
|
78 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
79 |
|
80 0. This License applies to any program or other work which contains |
|
81 a notice placed by the copyright holder saying it may be distributed |
|
82 under the terms of this General Public License. The "Program", below, |
|
83 refers to any such program or work, and a "work based on the Program" |
|
84 means either the Program or any derivative work under copyright law: |
|
85 that is to say, a work containing the Program or a portion of it, |
|
86 either verbatim or with modifications and/or translated into another |
|
87 language. (Hereinafter, translation is included without limitation in |
|
88 the term "modification".) Each licensee is addressed as "you". |
|
89 |
|
90 Activities other than copying, distribution and modification are not |
|
91 covered by this License; they are outside its scope. The act of |
|
92 running the Program is not restricted, and the output from the Program |
|
93 is covered only if its contents constitute a work based on the |
|
94 Program (independent of having been made by running the Program). |
|
95 Whether that is true depends on what the Program does. |
|
96 |
|
97 1. You may copy and distribute verbatim copies of the Program's |
|
98 source code as you receive it, in any medium, provided that you |
|
99 conspicuously and appropriately publish on each copy an appropriate |
|
100 copyright notice and disclaimer of warranty; keep intact all the |
|
101 notices that refer to this License and to the absence of any warranty; |
|
102 and give any other recipients of the Program a copy of this License |
|
103 along with the Program. |
|
104 |
|
105 You may charge a fee for the physical act of transferring a copy, and |
|
106 you may at your option offer warranty protection in exchange for a fee. |
|
107 |
|
108 2. You may modify your copy or copies of the Program or any portion |
|
109 of it, thus forming a work based on the Program, and copy and |
|
110 distribute such modifications or work under the terms of Section 1 |
|
111 above, provided that you also meet all of these conditions: |
|
112 |
|
113 a) You must cause the modified files to carry prominent notices |
|
114 stating that you changed the files and the date of any change. |
|
115 |
|
116 b) You must cause any work that you distribute or publish, that in |
|
117 whole or in part contains or is derived from the Program or any |
|
118 part thereof, to be licensed as a whole at no charge to all third |
|
119 parties under the terms of this License. |
|
120 |
|
121 c) If the modified program normally reads commands interactively |
|
122 when run, you must cause it, when started running for such |
|
123 interactive use in the most ordinary way, to print or display an |
|
124 announcement including an appropriate copyright notice and a |
|
125 notice that there is no warranty (or else, saying that you provide |
|
126 a warranty) and that users may redistribute the program under |
|
127 these conditions, and telling the user how to view a copy of this |
|
128 License. (Exception: if the Program itself is interactive but |
|
129 does not normally print such an announcement, your work based on |
|
130 the Program is not required to print an announcement.) |
|
131 |
|
132 These requirements apply to the modified work as a whole. If |
|
133 identifiable sections of that work are not derived from the Program, |
|
134 and can be reasonably considered independent and separate works in |
|
135 themselves, then this License, and its terms, do not apply to those |
|
136 sections when you distribute them as separate works. But when you |
|
137 distribute the same sections as part of a whole which is a work based |
|
138 on the Program, the distribution of the whole must be on the terms of |
|
139 this License, whose permissions for other licensees extend to the |
|
140 entire whole, and thus to each and every part regardless of who wrote it. |
|
141 |
|
142 Thus, it is not the intent of this section to claim rights or contest |
|
143 your rights to work written entirely by you; rather, the intent is to |
|
144 exercise the right to control the distribution of derivative or |
|
145 collective works based on the Program. |
|
146 |
|
147 In addition, mere aggregation of another work not based on the Program |
|
148 with the Program (or with a work based on the Program) on a volume of |
|
149 a storage or distribution medium does not bring the other work under |
|
150 the scope of this License. |
|
151 |
|
152 3. You may copy and distribute the Program (or a work based on it, |
|
153 under Section 2) in object code or executable form under the terms of |
|
154 Sections 1 and 2 above provided that you also do one of the following: |
|
155 |
|
156 a) Accompany it with the complete corresponding machine-readable |
|
157 source code, which must be distributed under the terms of Sections |
|
158 1 and 2 above on a medium customarily used for software interchange; or, |
|
159 |
|
160 b) Accompany it with a written offer, valid for at least three |
|
161 years, to give any third party, for a charge no more than your |
|
162 cost of physically performing source distribution, a complete |
|
163 machine-readable copy of the corresponding source code, to be |
|
164 distributed under the terms of Sections 1 and 2 above on a medium |
|
165 customarily used for software interchange; or, |
|
166 |
|
167 c) Accompany it with the information you received as to the offer |
|
168 to distribute corresponding source code. (This alternative is |
|
169 allowed only for noncommercial distribution and only if you |
|
170 received the program in object code or executable form with such |
|
171 an offer, in accord with Subsection b above.) |
|
172 |
|
173 The source code for a work means the preferred form of the work for |
|
174 making modifications to it. For an executable work, complete source |
|
175 code means all the source code for all modules it contains, plus any |
|
176 associated interface definition files, plus the scripts used to |
|
177 control compilation and installation of the executable. However, as a |
|
178 special exception, the source code distributed need not include |
|
179 anything that is normally distributed (in either source or binary |
|
180 form) with the major components (compiler, kernel, and so on) of the |
|
181 operating system on which the executable runs, unless that component |
|
182 itself accompanies the executable. |
|
183 |
|
184 If distribution of executable or object code is made by offering |
|
185 access to copy from a designated place, then offering equivalent |
|
186 access to copy the source code from the same place counts as |
|
187 distribution of the source code, even though third parties are not |
|
188 compelled to copy the source along with the object code. |
|
189 |
|
190 4. You may not copy, modify, sublicense, or distribute the Program |
|
191 except as expressly provided under this License. Any attempt |
|
192 otherwise to copy, modify, sublicense or distribute the Program is |
|
193 void, and will automatically terminate your rights under this License. |
|
194 However, parties who have received copies, or rights, from you under |
|
195 this License will not have their licenses terminated so long as such |
|
196 parties remain in full compliance. |
|
197 |
|
198 5. You are not required to accept this License, since you have not |
|
199 signed it. However, nothing else grants you permission to modify or |
|
200 distribute the Program or its derivative works. These actions are |
|
201 prohibited by law if you do not accept this License. Therefore, by |
|
202 modifying or distributing the Program (or any work based on the |
|
203 Program), you indicate your acceptance of this License to do so, and |
|
204 all its terms and conditions for copying, distributing or modifying |
|
205 the Program or works based on it. |
|
206 |
|
207 6. Each time you redistribute the Program (or any work based on the |
|
208 Program), the recipient automatically receives a license from the |
|
209 original licensor to copy, distribute or modify the Program subject to |
|
210 these terms and conditions. You may not impose any further |
|
211 restrictions on the recipients' exercise of the rights granted herein. |
|
212 You are not responsible for enforcing compliance by third parties to |
|
213 this License. |
|
214 |
|
215 7. If, as a consequence of a court judgment or allegation of patent |
|
216 infringement or for any other reason (not limited to patent issues), |
|
217 conditions are imposed on you (whether by court order, agreement or |
|
218 otherwise) that contradict the conditions of this License, they do not |
|
219 excuse you from the conditions of this License. If you cannot |
|
220 distribute so as to satisfy simultaneously your obligations under this |
|
221 License and any other pertinent obligations, then as a consequence you |
|
222 may not distribute the Program at all. For example, if a patent |
|
223 license would not permit royalty-free redistribution of the Program by |
|
224 all those who receive copies directly or indirectly through you, then |
|
225 the only way you could satisfy both it and this License would be to |
|
226 refrain entirely from distribution of the Program. |
|
227 |
|
228 If any portion of this section is held invalid or unenforceable under |
|
229 any particular circumstance, the balance of the section is intended to |
|
230 apply and the section as a whole is intended to apply in other |
|
231 circumstances. |
|
232 |
|
233 It is not the purpose of this section to induce you to infringe any |
|
234 patents or other property right claims or to contest validity of any |
|
235 such claims; this section has the sole purpose of protecting the |
|
236 integrity of the free software distribution system, which is |
|
237 implemented by public license practices. Many people have made |
|
238 generous contributions to the wide range of software distributed |
|
239 through that system in reliance on consistent application of that |
|
240 system; it is up to the author/donor to decide if he or she is willing |
|
241 to distribute software through any other system and a licensee cannot |
|
242 impose that choice. |
|
243 |
|
244 This section is intended to make thoroughly clear what is believed to |
|
245 be a consequence of the rest of this License. |
|
246 |
|
247 8. If the distribution and/or use of the Program is restricted in |
|
248 certain countries either by patents or by copyrighted interfaces, the |
|
249 original copyright holder who places the Program under this License |
|
250 may add an explicit geographical distribution limitation excluding |
|
251 those countries, so that distribution is permitted only in or among |
|
252 countries not thus excluded. In such case, this License incorporates |
|
253 the limitation as if written in the body of this License. |
|
254 |
|
255 9. The Free Software Foundation may publish revised and/or new versions |
|
256 of the General Public License from time to time. Such new versions will |
|
257 be similar in spirit to the present version, but may differ in detail to |
|
258 address new problems or concerns. |
|
259 |
|
260 Each version is given a distinguishing version number. If the Program |
|
261 specifies a version number of this License which applies to it and "any |
|
262 later version", you have the option of following the terms and conditions |
|
263 either of that version or of any later version published by the Free |
|
264 Software Foundation. If the Program does not specify a version number of |
|
265 this License, you may choose any version ever published by the Free Software |
|
266 Foundation. |
|
267 |
|
268 10. If you wish to incorporate parts of the Program into other free |
|
269 programs whose distribution conditions are different, write to the author |
|
270 to ask for permission. For software which is copyrighted by the Free |
|
271 Software Foundation, write to the Free Software Foundation; we sometimes |
|
272 make exceptions for this. Our decision will be guided by the two goals |
|
273 of preserving the free status of all derivatives of our free software and |
|
274 of promoting the sharing and reuse of software generally. |
|
275 |
|
276 NO WARRANTY |
|
277 |
|
278 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
|
279 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
|
280 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
|
281 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
|
282 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
|
283 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
|
284 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
|
285 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
|
286 REPAIR OR CORRECTION. |
|
287 |
|
288 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
|
289 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
|
290 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
|
291 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
|
292 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
|
293 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
|
294 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
|
295 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
|
296 POSSIBILITY OF SUCH DAMAGES. |
|
297 |
|
298 END OF TERMS AND CONDITIONS |
|
299 |
|
300 How to Apply These Terms to Your New Programs |
|
301 |
|
302 If you develop a new program, and you want it to be of the greatest |
|
303 possible use to the public, the best way to achieve this is to make it |
|
304 free software which everyone can redistribute and change under these terms. |
|
305 |
|
306 To do so, attach the following notices to the program. It is safest |
|
307 to attach them to the start of each source file to most effectively |
|
308 convey the exclusion of warranty; and each file should have at least |
|
309 the "copyright" line and a pointer to where the full notice is found. |
|
310 |
|
311 <one line to give the program's name and a brief idea of what it does.> |
|
312 Copyright (C) <year> <name of author> |
|
313 |
|
314 This program is free software; you can redistribute it and/or modify |
|
315 it under the terms of the GNU General Public License as published by |
|
316 the Free Software Foundation; either version 2 of the License, or |
|
317 (at your option) any later version. |
|
318 |
|
319 This program is distributed in the hope that it will be useful, |
|
320 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
321 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
322 GNU General Public License for more details. |
|
323 |
|
324 You should have received a copy of the GNU General Public License |
|
325 along with this program; if not, write to the Free Software |
|
326 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
327 |
|
328 |
|
329 Also add information on how to contact you by electronic and paper mail. |
|
330 |
|
331 If the program is interactive, make it output a short notice like this |
|
332 when it starts in an interactive mode: |
|
333 |
|
334 Gnomovision version 69, Copyright (C) year name of author |
|
335 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
|
336 This is free software, and you are welcome to redistribute it |
|
337 under certain conditions; type `show c' for details. |
|
338 |
|
339 The hypothetical commands `show w' and `show c' should show the appropriate |
|
340 parts of the General Public License. Of course, the commands you use may |
|
341 be called something other than `show w' and `show c'; they could even be |
|
342 mouse-clicks or menu items--whatever suits your program. |
|
343 |
|
344 You should also get your employer (if you work as a programmer) or your |
|
345 school, if any, to sign a "copyright disclaimer" for the program, if |
|
346 necessary. Here is a sample; alter the names: |
|
347 |
|
348 Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
|
349 `Gnomovision' (which makes passes at compilers) written by James Hacker. |
|
350 |
|
351 <signature of Ty Coon>, 1 April 1989 |
|
352 Ty Coon, President of Vice |
|
353 |
|
354 This General Public License does not permit incorporating your program into |
|
355 proprietary programs. If your program is a subroutine library, you may |
|
356 consider it more useful to permit linking proprietary applications with the |
|
357 library. If this is what you want to do, use the GNU Library General |
|
358 Public License instead of this License. |
|
359 |
|
360 --- |
|
361 |
|
362 The COPYING.LGPL file contains: |
|
363 |
|
364 GNU LIBRARY GENERAL PUBLIC LICENSE |
|
365 Version 2, June 1991 |
|
366 |
|
367 Copyright (C) 1991 Free Software Foundation, Inc. |
|
368 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
369 Everyone is permitted to copy and distribute verbatim copies |
|
370 of this license document, but changing it is not allowed. |
|
371 |
|
372 [This is the first released version of the library GPL. It is |
|
373 numbered 2 because it goes with version 2 of the ordinary GPL.] |
|
374 |
|
375 Preamble |
|
376 |
|
377 The licenses for most software are designed to take away your |
|
378 freedom to share and change it. By contrast, the GNU General Public |
|
379 Licenses are intended to guarantee your freedom to share and change |
|
380 free software--to make sure the software is free for all its users. |
|
381 |
|
382 This license, the Library General Public License, applies to some |
|
383 specially designated Free Software Foundation software, and to any |
|
384 other libraries whose authors decide to use it. You can use it for |
|
385 your libraries, too. |
|
386 |
|
387 When we speak of free software, we are referring to freedom, not |
|
388 price. Our General Public Licenses are designed to make sure that you |
|
389 have the freedom to distribute copies of free software (and charge for |
|
390 this service if you wish), that you receive source code or can get it |
|
391 if you want it, that you can change the software or use pieces of it |
|
392 in new free programs; and that you know you can do these things. |
|
393 |
|
394 To protect your rights, we need to make restrictions that forbid |
|
395 anyone to deny you these rights or to ask you to surrender the rights. |
|
396 These restrictions translate to certain responsibilities for you if |
|
397 you distribute copies of the library, or if you modify it. |
|
398 |
|
399 For example, if you distribute copies of the library, whether gratis |
|
400 or for a fee, you must give the recipients all the rights that we gave |
|
401 you. You must make sure that they, too, receive or can get the source |
|
402 code. If you link a program with the library, you must provide |
|
403 complete object files to the recipients so that they can relink them |
|
404 with the library, after making changes to the library and recompiling |
|
405 it. And you must show them these terms so they know their rights. |
|
406 |
|
407 Our method of protecting your rights has two steps: (1) copyright |
|
408 the library, and (2) offer you this license which gives you legal |
|
409 permission to copy, distribute and/or modify the library. |
|
410 |
|
411 Also, for each distributor's protection, we want to make certain |
|
412 that everyone understands that there is no warranty for this free |
|
413 library. If the library is modified by someone else and passed on, we |
|
414 want its recipients to know that what they have is not the original |
|
415 version, so that any problems introduced by others will not reflect on |
|
416 the original authors' reputations. |
|
417 |
|
418 Finally, any free program is threatened constantly by software |
|
419 patents. We wish to avoid the danger that companies distributing free |
|
420 software will individually obtain patent licenses, thus in effect |
|
421 transforming the program into proprietary software. To prevent this, |
|
422 we have made it clear that any patent must be licensed for everyone's |
|
423 free use or not licensed at all. |
|
424 |
|
425 Most GNU software, including some libraries, is covered by the ordinary |
|
426 GNU General Public License, which was designed for utility programs. This |
|
427 license, the GNU Library General Public License, applies to certain |
|
428 designated libraries. This license is quite different from the ordinary |
|
429 one; be sure to read it in full, and don't assume that anything in it is |
|
430 the same as in the ordinary license. |
|
431 |
|
432 The reason we have a separate public license for some libraries is that |
|
433 they blur the distinction we usually make between modifying or adding to a |
|
434 program and simply using it. Linking a program with a library, without |
|
435 changing the library, is in some sense simply using the library, and is |
|
436 analogous to running a utility program or application program. However, in |
|
437 a textual and legal sense, the linked executable is a combined work, a |
|
438 derivative of the original library, and the ordinary General Public License |
|
439 treats it as such. |
|
440 |
|
441 Because of this blurred distinction, using the ordinary General |
|
442 Public License for libraries did not effectively promote software |
|
443 sharing, because most developers did not use the libraries. We |
|
444 concluded that weaker conditions might promote sharing better. |
|
445 |
|
446 However, unrestricted linking of non-free programs would deprive the |
|
447 users of those programs of all benefit from the free status of the |
|
448 libraries themselves. This Library General Public License is intended to |
|
449 permit developers of non-free programs to use free libraries, while |
|
450 preserving your freedom as a user of such programs to change the free |
|
451 libraries that are incorporated in them. (We have not seen how to achieve |
|
452 this as regards changes in header files, but we have achieved it as regards |
|
453 changes in the actual functions of the Library.) The hope is that this |
|
454 will lead to faster development of free libraries. |
|
455 |
|
456 The precise terms and conditions for copying, distribution and |
|
457 modification follow. Pay close attention to the difference between a |
|
458 "work based on the library" and a "work that uses the library". The |
|
459 former contains code derived from the library, while the latter only |
|
460 works together with the library. |
|
461 |
|
462 Note that it is possible for a library to be covered by the ordinary |
|
463 General Public License rather than by this special one. |
|
464 |
|
465 GNU LIBRARY GENERAL PUBLIC LICENSE |
|
466 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
|
467 |
|
468 0. This License Agreement applies to any software library which |
|
469 contains a notice placed by the copyright holder or other authorized |
|
470 party saying it may be distributed under the terms of this Library |
|
471 General Public License (also called "this License"). Each licensee is |
|
472 addressed as "you". |
|
473 |
|
474 A "library" means a collection of software functions and/or data |
|
475 prepared so as to be conveniently linked with application programs |
|
476 (which use some of those functions and data) to form executables. |
|
477 |
|
478 The "Library", below, refers to any such software library or work |
|
479 which has been distributed under these terms. A "work based on the |
|
480 Library" means either the Library or any derivative work under |
|
481 copyright law: that is to say, a work containing the Library or a |
|
482 portion of it, either verbatim or with modifications and/or translated |
|
483 straightforwardly into another language. (Hereinafter, translation is |
|
484 included without limitation in the term "modification".) |
|
485 |
|
486 "Source code" for a work means the preferred form of the work for |
|
487 making modifications to it. For a library, complete source code means |
|
488 all the source code for all modules it contains, plus any associated |
|
489 interface definition files, plus the scripts used to control compilation |
|
490 and installation of the library. |
|
491 |
|
492 Activities other than copying, distribution and modification are not |
|
493 covered by this License; they are outside its scope. The act of |
|
494 running a program using the Library is not restricted, and output from |
|
495 such a program is covered only if its contents constitute a work based |
|
496 on the Library (independent of the use of the Library in a tool for |
|
497 writing it). Whether that is true depends on what the Library does |
|
498 and what the program that uses the Library does. |
|
499 |
|
500 1. You may copy and distribute verbatim copies of the Library's |
|
501 complete source code as you receive it, in any medium, provided that |
|
502 you conspicuously and appropriately publish on each copy an |
|
503 appropriate copyright notice and disclaimer of warranty; keep intact |
|
504 all the notices that refer to this License and to the absence of any |
|
505 warranty; and distribute a copy of this License along with the |
|
506 Library. |
|
507 |
|
508 You may charge a fee for the physical act of transferring a copy, |
|
509 and you may at your option offer warranty protection in exchange for a |
|
510 fee. |
|
511 |
|
512 2. You may modify your copy or copies of the Library or any portion |
|
513 of it, thus forming a work based on the Library, and copy and |
|
514 distribute such modifications or work under the terms of Section 1 |
|
515 above, provided that you also meet all of these conditions: |
|
516 |
|
517 a) The modified work must itself be a software library. |
|
518 |
|
519 b) You must cause the files modified to carry prominent notices |
|
520 stating that you changed the files and the date of any change. |
|
521 |
|
522 c) You must cause the whole of the work to be licensed at no |
|
523 charge to all third parties under the terms of this License. |
|
524 |
|
525 d) If a facility in the modified Library refers to a function or a |
|
526 table of data to be supplied by an application program that uses |
|
527 the facility, other than as an argument passed when the facility |
|
528 is invoked, then you must make a good faith effort to ensure that, |
|
529 in the event an application does not supply such function or |
|
530 table, the facility still operates, and performs whatever part of |
|
531 its purpose remains meaningful. |
|
532 |
|
533 (For example, a function in a library to compute square roots has |
|
534 a purpose that is entirely well-defined independent of the |
|
535 application. Therefore, Subsection 2d requires that any |
|
536 application-supplied function or table used by this function must |
|
537 be optional: if the application does not supply it, the square |
|
538 root function must still compute square roots.) |
|
539 |
|
540 These requirements apply to the modified work as a whole. If |
|
541 identifiable sections of that work are not derived from the Library, |
|
542 and can be reasonably considered independent and separate works in |
|
543 themselves, then this License, and its terms, do not apply to those |
|
544 sections when you distribute them as separate works. But when you |
|
545 distribute the same sections as part of a whole which is a work based |
|
546 on the Library, the distribution of the whole must be on the terms of |
|
547 this License, whose permissions for other licensees extend to the |
|
548 entire whole, and thus to each and every part regardless of who wrote |
|
549 it. |
|
550 |
|
551 Thus, it is not the intent of this section to claim rights or contest |
|
552 your rights to work written entirely by you; rather, the intent is to |
|
553 exercise the right to control the distribution of derivative or |
|
554 collective works based on the Library. |
|
555 |
|
556 In addition, mere aggregation of another work not based on the Library |
|
557 with the Library (or with a work based on the Library) on a volume of |
|
558 a storage or distribution medium does not bring the other work under |
|
559 the scope of this License. |
|
560 |
|
561 3. You may opt to apply the terms of the ordinary GNU General Public |
|
562 License instead of this License to a given copy of the Library. To do |
|
563 this, you must alter all the notices that refer to this License, so |
|
564 that they refer to the ordinary GNU General Public License, version 2, |
|
565 instead of to this License. (If a newer version than version 2 of the |
|
566 ordinary GNU General Public License has appeared, then you can specify |
|
567 that version instead if you wish.) Do not make any other change in |
|
568 these notices. |
|
569 |
|
570 Once this change is made in a given copy, it is irreversible for |
|
571 that copy, so the ordinary GNU General Public License applies to all |
|
572 subsequent copies and derivative works made from that copy. |
|
573 |
|
574 This option is useful when you wish to copy part of the code of |
|
575 the Library into a program that is not a library. |
|
576 |
|
577 4. You may copy and distribute the Library (or a portion or |
|
578 derivative of it, under Section 2) in object code or executable form |
|
579 under the terms of Sections 1 and 2 above provided that you accompany |
|
580 it with the complete corresponding machine-readable source code, which |
|
581 must be distributed under the terms of Sections 1 and 2 above on a |
|
582 medium customarily used for software interchange. |
|
583 |
|
584 If distribution of object code is made by offering access to copy |
|
585 from a designated place, then offering equivalent access to copy the |
|
586 source code from the same place satisfies the requirement to |
|
587 distribute the source code, even though third parties are not |
|
588 compelled to copy the source along with the object code. |
|
589 |
|
590 5. A program that contains no derivative of any portion of the |
|
591 Library, but is designed to work with the Library by being compiled or |
|
592 linked with it, is called a "work that uses the Library". Such a |
|
593 work, in isolation, is not a derivative work of the Library, and |
|
594 therefore falls outside the scope of this License. |
|
595 |
|
596 However, linking a "work that uses the Library" with the Library |
|
597 creates an executable that is a derivative of the Library (because it |
|
598 contains portions of the Library), rather than a "work that uses the |
|
599 library". The executable is therefore covered by this License. |
|
600 Section 6 states terms for distribution of such executables. |
|
601 |
|
602 When a "work that uses the Library" uses material from a header file |
|
603 that is part of the Library, the object code for the work may be a |
|
604 derivative work of the Library even though the source code is not. |
|
605 Whether this is true is especially significant if the work can be |
|
606 linked without the Library, or if the work is itself a library. The |
|
607 threshold for this to be true is not precisely defined by law. |
|
608 |
|
609 If such an object file uses only numerical parameters, data |
|
610 structure layouts and accessors, and small macros and small inline |
|
611 functions (ten lines or less in length), then the use of the object |
|
612 file is unrestricted, regardless of whether it is legally a derivative |
|
613 work. (Executables containing this object code plus portions of the |
|
614 Library will still fall under Section 6.) |
|
615 |
|
616 Otherwise, if the work is a derivative of the Library, you may |
|
617 distribute the object code for the work under the terms of Section 6. |
|
618 Any executables containing that work also fall under Section 6, |
|
619 whether or not they are linked directly with the Library itself. |
|
620 |
|
621 6. As an exception to the Sections above, you may also compile or |
|
622 link a "work that uses the Library" with the Library to produce a |
|
623 work containing portions of the Library, and distribute that work |
|
624 under terms of your choice, provided that the terms permit |
|
625 modification of the work for the customer's own use and reverse |
|
626 engineering for debugging such modifications. |
|
627 |
|
628 You must give prominent notice with each copy of the work that the |
|
629 Library is used in it and that the Library and its use are covered by |
|
630 this License. You must supply a copy of this License. If the work |
|
631 during execution displays copyright notices, you must include the |
|
632 copyright notice for the Library among them, as well as a reference |
|
633 directing the user to the copy of this License. Also, you must do one |
|
634 of these things: |
|
635 |
|
636 a) Accompany the work with the complete corresponding |
|
637 machine-readable source code for the Library including whatever |
|
638 changes were used in the work (which must be distributed under |
|
639 Sections 1 and 2 above); and, if the work is an executable linked |
|
640 with the Library, with the complete machine-readable "work that |
|
641 uses the Library", as object code and/or source code, so that the |
|
642 user can modify the Library and then relink to produce a modified |
|
643 executable containing the modified Library. (It is understood |
|
644 that the user who changes the contents of definitions files in the |
|
645 Library will not necessarily be able to recompile the application |
|
646 to use the modified definitions.) |
|
647 |
|
648 b) Accompany the work with a written offer, valid for at |
|
649 least three years, to give the same user the materials |
|
650 specified in Subsection 6a, above, for a charge no more |
|
651 than the cost of performing this distribution. |
|
652 |
|
653 c) If distribution of the work is made by offering access to copy |
|
654 from a designated place, offer equivalent access to copy the above |
|
655 specified materials from the same place. |
|
656 |
|
657 d) Verify that the user has already received a copy of these |
|
658 materials or that you have already sent this user a copy. |
|
659 |
|
660 For an executable, the required form of the "work that uses the |
|
661 Library" must include any data and utility programs needed for |
|
662 reproducing the executable from it. However, as a special exception, |
|
663 the source code distributed need not include anything that is normally |
|
664 distributed (in either source or binary form) with the major |
|
665 components (compiler, kernel, and so on) of the operating system on |
|
666 which the executable runs, unless that component itself accompanies |
|
667 the executable. |
|
668 |
|
669 It may happen that this requirement contradicts the license |
|
670 restrictions of other proprietary libraries that do not normally |
|
671 accompany the operating system. Such a contradiction means you cannot |
|
672 use both them and the Library together in an executable that you |
|
673 distribute. |
|
674 |
|
675 7. You may place library facilities that are a work based on the |
|
676 Library side-by-side in a single library together with other library |
|
677 facilities not covered by this License, and distribute such a combined |
|
678 library, provided that the separate distribution of the work based on |
|
679 the Library and of the other library facilities is otherwise |
|
680 permitted, and provided that you do these two things: |
|
681 |
|
682 a) Accompany the combined library with a copy of the same work |
|
683 based on the Library, uncombined with any other library |
|
684 facilities. This must be distributed under the terms of the |
|
685 Sections above. |
|
686 |
|
687 b) Give prominent notice with the combined library of the fact |
|
688 that part of it is a work based on the Library, and explaining |
|
689 where to find the accompanying uncombined form of the same work. |
|
690 |
|
691 8. You may not copy, modify, sublicense, link with, or distribute |
|
692 the Library except as expressly provided under this License. Any |
|
693 attempt otherwise to copy, modify, sublicense, link with, or |
|
694 distribute the Library is void, and will automatically terminate your |
|
695 rights under this License. However, parties who have received copies, |
|
696 or rights, from you under this License will not have their licenses |
|
697 terminated so long as such parties remain in full compliance. |
|
698 |
|
699 9. You are not required to accept this License, since you have not |
|
700 signed it. However, nothing else grants you permission to modify or |
|
701 distribute the Library or its derivative works. These actions are |
|
702 prohibited by law if you do not accept this License. Therefore, by |
|
703 modifying or distributing the Library (or any work based on the |
|
704 Library), you indicate your acceptance of this License to do so, and |
|
705 all its terms and conditions for copying, distributing or modifying |
|
706 the Library or works based on it. |
|
707 |
|
708 10. Each time you redistribute the Library (or any work based on the |
|
709 Library), the recipient automatically receives a license from the |
|
710 original licensor to copy, distribute, link with or modify the Library |
|
711 subject to these terms and conditions. You may not impose any further |
|
712 restrictions on the recipients' exercise of the rights granted herein. |
|
713 You are not responsible for enforcing compliance by third parties to |
|
714 this License. |
|
715 |
|
716 11. If, as a consequence of a court judgment or allegation of patent |
|
717 infringement or for any other reason (not limited to patent issues), |
|
718 conditions are imposed on you (whether by court order, agreement or |
|
719 otherwise) that contradict the conditions of this License, they do not |
|
720 excuse you from the conditions of this License. If you cannot |
|
721 distribute so as to satisfy simultaneously your obligations under this |
|
722 License and any other pertinent obligations, then as a consequence you |
|
723 may not distribute the Library at all. For example, if a patent |
|
724 license would not permit royalty-free redistribution of the Library by |
|
725 all those who receive copies directly or indirectly through you, then |
|
726 the only way you could satisfy both it and this License would be to |
|
727 refrain entirely from distribution of the Library. |
|
728 |
|
729 If any portion of this section is held invalid or unenforceable under any |
|
730 particular circumstance, the balance of the section is intended to apply, |
|
731 and the section as a whole is intended to apply in other circumstances. |
|
732 |
|
733 It is not the purpose of this section to induce you to infringe any |
|
734 patents or other property right claims or to contest validity of any |
|
735 such claims; this section has the sole purpose of protecting the |
|
736 integrity of the free software distribution system which is |
|
737 implemented by public license practices. Many people have made |
|
738 generous contributions to the wide range of software distributed |
|
739 through that system in reliance on consistent application of that |
|
740 system; it is up to the author/donor to decide if he or she is willing |
|
741 to distribute software through any other system and a licensee cannot |
|
742 impose that choice. |
|
743 |
|
744 This section is intended to make thoroughly clear what is believed to |
|
745 be a consequence of the rest of this License. |
|
746 |
|
747 12. If the distribution and/or use of the Library is restricted in |
|
748 certain countries either by patents or by copyrighted interfaces, the |
|
749 original copyright holder who places the Library under this License may add |
|
750 an explicit geographical distribution limitation excluding those countries, |
|
751 so that distribution is permitted only in or among countries not thus |
|
752 excluded. In such case, this License incorporates the limitation as if |
|
753 written in the body of this License. |
|
754 |
|
755 13. The Free Software Foundation may publish revised and/or new |
|
756 versions of the Library General Public License from time to time. |
|
757 Such new versions will be similar in spirit to the present version, |
|
758 but may differ in detail to address new problems or concerns. |
|
759 |
|
760 Each version is given a distinguishing version number. If the Library |
|
761 specifies a version number of this License which applies to it and |
|
762 "any later version", you have the option of following the terms and |
|
763 conditions either of that version or of any later version published by |
|
764 the Free Software Foundation. If the Library does not specify a |
|
765 license version number, you may choose any version ever published by |
|
766 the Free Software Foundation. |
|
767 |
|
768 14. If you wish to incorporate parts of the Library into other free |
|
769 programs whose distribution conditions are incompatible with these, |
|
770 write to the author to ask for permission. For software which is |
|
771 copyrighted by the Free Software Foundation, write to the Free |
|
772 Software Foundation; we sometimes make exceptions for this. Our |
|
773 decision will be guided by the two goals of preserving the free status |
|
774 of all derivatives of our free software and of promoting the sharing |
|
775 and reuse of software generally. |
|
776 |
|
777 NO WARRANTY |
|
778 |
|
779 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
|
780 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
|
781 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
|
782 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
|
783 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
|
784 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
|
785 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
|
786 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
|
787 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
|
788 |
|
789 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
|
790 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
|
791 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
|
792 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
|
793 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
|
794 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
|
795 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
|
796 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
|
797 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
|
798 DAMAGES. |
|
799 |
|
800 END OF TERMS AND CONDITIONS |
|
801 |
|
802 How to Apply These Terms to Your New Libraries |
|
803 |
|
804 If you develop a new library, and you want it to be of the greatest |
|
805 possible use to the public, we recommend making it free software that |
|
806 everyone can redistribute and change. You can do so by permitting |
|
807 redistribution under these terms (or, alternatively, under the terms of the |
|
808 ordinary General Public License). |
|
809 |
|
810 To apply these terms, attach the following notices to the library. It is |
|
811 safest to attach them to the start of each source file to most effectively |
|
812 convey the exclusion of warranty; and each file should have at least the |
|
813 "copyright" line and a pointer to where the full notice is found. |
|
814 |
|
815 <one line to give the library's name and a brief idea of what it does.> |
|
816 Copyright (C) <year> <name of author> |
|
817 |
|
818 This library is free software; you can redistribute it and/or |
|
819 modify it under the terms of the GNU Library General Public |
|
820 License as published by the Free Software Foundation; either |
|
821 version 2 of the License, or (at your option) any later version. |
|
822 |
|
823 This library is distributed in the hope that it will be useful, |
|
824 but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
825 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
826 Library General Public License for more details. |
|
827 |
|
828 You should have received a copy of the GNU Library General Public |
|
829 License along with this library; if not, write to the |
|
830 Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
831 Boston, MA 02111-1307 USA. |
|
832 |
|
833 Also add information on how to contact you by electronic and paper mail. |
|
834 |
|
835 You should also get your employer (if you work as a programmer) or your |
|
836 school, if any, to sign a "copyright disclaimer" for the library, if |
|
837 necessary. Here is a sample; alter the names: |
|
838 |
|
839 Yoyodyne, Inc., hereby disclaims all copyright interest in the |
|
840 library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
|
841 |
|
842 <signature of Ty Coon>, 1 April 1990 |
|
843 Ty Coon, President of Vice |
|
844 |
|
845 That's all there is to it! |
|
846 |
|
847 --- |
|
848 |
|
849 Some code contains this MIT license: |
|
850 |
|
851 # pep8.py - Check Python source code formatting, according to PEP 8 |
|
852 # Copyright (C) 2006 Johann C. Rocholl <[email protected]> |
|
853 # |
|
854 # Permission is hereby granted, free of charge, to any person |
|
855 # obtaining a copy of this software and associated documentation files |
|
856 # (the "Software"), to deal in the Software without restriction, |
|
857 # including without limitation the rights to use, copy, modify, merge, |
|
858 # publish, distribute, sublicense, and/or sell copies of the Software, |
|
859 # and to permit persons to whom the Software is furnished to do so, |
|
860 # subject to the following conditions: |
|
861 # |
|
862 # The above copyright notice and this permission notice shall be |
|
863 # included in all copies or substantial portions of the Software. |
|
864 # |
|
865 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
|
866 # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
867 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
868 # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS |
|
869 # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN |
|
870 # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
|
871 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|
872 # SOFTWARE. |
|
873 |
|
874 --- |
|
875 |
|
876 Some code contains this BSD license: |
|
877 |
|
878 /* -*- Mode: C -*- |
|
879 * GObject introspection: C lexer |
|
880 * |
|
881 * Copyright (c) 1997 Sandro Sigala <[email protected]> |
|
882 * Copyright (c) 2007-2008 Jürg Billeter <[email protected]> |
|
883 * |
|
884 * All rights reserved. |
|
885 * |
|
886 * Redistribution and use in source and binary forms, with or without |
|
887 * modification, are permitted provided that the following conditions |
|
888 * are met: |
|
889 * 1. Redistributions of source code must retain the above copyright |
|
890 * notice, this list of conditions and the following disclaimer. |
|
891 * 2. Redistributions in binary form must reproduce the above copyright |
|
892 * notice, this list of conditions and the following disclaimer in the |
|
893 * documentation and/or other materials provided with the distribution. |
|
894 * |
|
895 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
|
896 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
|
897 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
898 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
899 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
|
900 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
|
901 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
|
902 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
903 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
|
904 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
905 |
|
906 |