Develop and Download Open Source Software

Browse CVS Repository

Annotation of /shiki/shiki/LICENSE

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Nov 25 13:38:39 2006 UTC (17 years, 4 months ago) by aloha
Branch: MAIN
CVS Tags: HEAD
*** empty log message ***

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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26