doxygen/license.h

Go to the documentation of this file.
00001 // Copyright 2006 Benedikt Böhm <hollow@gentoo.org>
00002 //
00003 // This program is free software; you can redistribute it and/or modify
00004 // it under the terms of the GNU General Public License as published by
00005 // the Free Software Foundation; either version 2 of the License, or
00006 // (at your option) any later version.
00007 //
00008 // This program is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011 // GNU General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU General Public License
00014 // along with this program; if not, write to the
00015 // Free Software Foundation, Inc.,
00016 // 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00017 
00018 /*!
00019  * @page license License
00020  *
00021  * @section title GNU GENERAL PUBLIC LICENSE
00022  *
00023  * Version 2, June 1991
00024  *
00025  * @verbatim
00026 Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
00027 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00028 
00029 Everyone is permitted to copy and distribute verbatim copies
00030 of this license document, but changing it is not allowed.@endverbatim
00031  *
00032  * @subsection preamble Preamble
00033  *
00034  * The licenses for most software are designed to take away your freedom to
00035  * share and change it. By contrast, the GNU General Public License is intended
00036  * to guarantee your freedom to share and change free software--to make sure the
00037  * software is free for all its users. This General Public License applies to
00038  * most of the Free Software Foundation's software and to any other program
00039  * whose authors commit to using it. (Some other Free Software Foundation
00040  * software is covered by the GNU Lesser General Public License instead.) You
00041  * can apply it to your programs, too.
00042  *
00043  * When we speak of free software, we are referring to freedom, not price. Our
00044  * General Public Licenses are designed to make sure that you have the freedom
00045  * to distribute copies of free software (and charge for this service if you
00046  * wish), that you receive source code or can get it if you want it, that you
00047  * can change the software or use pieces of it in new free programs; and that
00048  * you know you can do these things.
00049  *
00050  * To protect your rights, we need to make restrictions that forbid anyone to
00051  * deny you these rights or to ask you to surrender the rights. These
00052  * restrictions translate to certain responsibilities for you if you distribute
00053  * copies of the software, or if you modify it.
00054  *
00055  * For example, if you distribute copies of such a program, whether gratis or
00056  * for a fee, you must give the recipients all the rights that you have. You
00057  * must make sure that they, too, receive or can get the source code. And you
00058  * must show them these terms so they know their rights.
00059  *
00060  * We protect your rights with two steps: (1) copyright the software, and (2)
00061  * offer you this license which gives you legal permission to copy, distribute
00062  * and/or modify the software.
00063  *
00064  * Also, for each author's protection and ours, we want to make certain that
00065  * everyone understands that there is no warranty for this free software. If
00066  * the software is modified by someone else and passed on, we want its
00067  * recipients to know that what they have is not the original, so that any
00068  * problems introduced by others will not reflect on the original authors'
00069  * reputations.
00070  *
00071  * Finally, any free program is threatened constantly by software patents. We
00072  * wish to avoid the danger that redistributors of a free program will
00073  * individually obtain patent licenses, in effect making the program
00074  * proprietary. To prevent this, we have made it clear that any patent must be
00075  * licensed for everyone's free use or not licensed at all.
00076  *
00077  * The precise terms and conditions for copying, distribution and modification
00078  * follow.
00079  *
00080  * @subsection terms TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
00081  *
00082  * 0. This License applies to any program or other work which contains a
00083  * notice placed by the copyright holder saying it may be distributed under the
00084  * terms of this General Public License. The "Program", below, refers to any
00085  * such program or work, and a "work based on the Program" means either the
00086  * Program or any derivative work under copyright law: that is to say, a work
00087  * containing the Program or a portion of it, either verbatim or with
00088  * modifications and/or translated into another language. (Hereinafter,
00089  * translation is included without limitation in the term "modification".) Each
00090  * licensee is addressed as "you".
00091  *
00092  * Activities other than copying, distribution and modification are not covered
00093  * by this License; they are outside its scope. The act of running the Program
00094  * is not restricted, and the output from the Program is covered only if its
00095  * contents constitute a work based on the Program (independent of having been
00096  * made by running the Program). Whether that is true depends on what the
00097  * Program does.
00098  *
00099  * 1. You may copy and distribute verbatim copies of the Program's source code
00100  * as you receive it, in any medium, provided that you conspicuously and
00101  * appropriately publish on each copy an appropriate copyright notice and
00102  * disclaimer of warranty; keep intact all the notices that refer to this
00103  * License and to the absence of any warranty; and give any other recipients of
00104  * the Program a copy of this License along with the Program.
00105  *
00106  * You may charge a fee for the physical act of transferring a copy, and you may
00107  * at your option offer warranty protection in exchange for a fee.
00108  *
00109  * 2. You may modify your copy or copies of the Program or any portion of it,
00110  * thus forming a work based on the Program, and copy and distribute such
00111  * modifications or work under the terms of Section 1 above, provided that you
00112  * also meet all of these conditions:
00113  *
00114  * a) You must cause the modified files to carry prominent notices stating that
00115  * you changed the files and the date of any change.
00116  *
00117  * b) You must cause any work that you distribute or publish, that in whole or
00118  * in part contains or is derived from the Program or any part thereof, to be
00119  * licensed as a whole at no charge to all third parties under the terms of this
00120  * License.
00121  *
00122  * c) If the modified program normally reads commands interactively when run,
00123  * you must cause it, when started running for such interactive use in the most
00124  * ordinary way, to print or display an announcement including an appropriate
00125  * copyright notice and a notice that there is no warranty (or else, saying that
00126  * you provide a warranty) and that users may redistribute the program under
00127  * these conditions, and telling the user how to view a copy of this License.
00128  * (Exception: if the Program itself is interactive but does not normally print
00129  * such an announcement, your work based on the Program is not required to print
00130  * an announcement.)
00131  *
00132  * These requirements apply to the modified work as a whole. If identifiable
00133  * sections of that work are not derived from the Program, and can be reasonably
00134  * considered independent and separate works in themselves, then this License,
00135  * and its terms, do not apply to those sections when you distribute them as
00136  * separate works. But when you distribute the same sections as part of a whole
00137  * which is a work based on the Program, the distribution of the whole must be
00138  * on the terms of this License, whose permissions for other licensees extend to
00139  * the entire whole, and thus to each and every part regardless of who wrote it. 
00140  *
00141  * Thus, it is not the intent of this section to claim rights or contest your
00142  * rights to work written entirely by you; rather, the intent is to exercise the
00143  * right to control the distribution of derivative or collective works based on
00144  * the Program.
00145  *
00146  * In addition, mere aggregation of another work not based on the Program with
00147  * the Program (or with a work based on the Program) on a volume of a storage or
00148  * distribution medium does not bring the other work under the scope of this
00149  * License.
00150  *
00151  * 3. You may copy and distribute the Program (or a work based on it, under
00152  * Section 2) in object code or executable form under the terms of Sections 1
00153  * and 2 above provided that you also do one of the following:
00154  *
00155  * a) Accompany it with the complete corresponding machine-readable source code,
00156  * which must be distributed under the terms of Sections 1 and 2 above on a
00157  * medium customarily used for software interchange; or,
00158  *
00159  * b) Accompany it with a written offer, valid for at least three years, to give
00160  * any third party, for a charge no more than your cost of physically performing
00161  * source distribution, a complete machine-readable copy of the corresponding
00162  * source code, to be distributed under the terms of Sections 1 and 2 above on a
00163  * medium customarily used for software interchange; or,
00164  *
00165  * c) Accompany it with the information you received as to the offer to
00166  * distribute corresponding source code. (This alternative is allowed only for
00167  * noncommercial distribution and only if you received the program in object
00168  * code or executable form with such an offer, in accord with Subsection b
00169  * above.)
00170  *
00171  * The source code for a work means the preferred form of the work for making
00172  * modifications to it. For an executable work, complete source code means all
00173  * the source code for all modules it contains, plus any associated interface
00174  * definition files, plus the scripts used to control compilation and
00175  * installation of the executable. However, as a special exception, the source
00176  * code distributed need not include anything that is normally distributed (in
00177  * either source or binary form) with the major components (compiler, kernel,
00178  * and so on) of the operating system on which the executable runs, unless that
00179  * component itself accompanies the executable.
00180  *
00181  * If distribution of executable or object code is made by offering access to
00182  * copy from a designated place, then offering equivalent access to copy the
00183  * source code from the same place counts as distribution of the source code,
00184  * even though third parties are not compelled to copy the source along with the
00185  * object code.
00186  *
00187  * 4. You may not copy, modify, sublicense, or distribute the Program except as
00188  * expressly provided under this License. Any attempt otherwise to copy, modify,
00189  * sublicense or distribute the Program is void, and will automatically
00190  * terminate your rights under this License. However, parties who have received
00191  * copies, or rights, from you under this License will not have their licenses
00192  * terminated so long as such parties remain in full compliance.
00193  *
00194  * 5. You are not required to accept this License, since you have not signed it.
00195  * However, nothing else grants you permission to modify or distribute the
00196  * Program or its derivative works. These actions are prohibited by law if you
00197  * do not accept this License. Therefore, by modifying or distributing the
00198  * Program (or any work based on the Program), you indicate your acceptance of
00199  * this License to do so, and all its terms and conditions for copying,
00200  * distributing or modifying the Program or works based on it.
00201  *
00202  * 6. Each time you redistribute the Program (or any work based on the Program),
00203  * the recipient automatically receives a license from the original licensor to
00204  * copy, distribute or modify the Program subject to these terms and conditions.
00205  * You may not impose any further restrictions on the recipients' exercise of
00206  * the rights granted herein. You are not responsible for enforcing compliance
00207  * by third parties to this License.
00208  *
00209  * 7. If, as a consequence of a court judgment or allegation of patent
00210  * infringement or for any other reason (not limited to patent issues),
00211  * conditions are imposed on you (whether by court order, agreement or
00212  * otherwise) that contradict the conditions of this License, they do not excuse
00213  * you from the conditions of this License. If you cannot distribute so as to
00214  * satisfy simultaneously your obligations under this License and any other
00215  * pertinent obligations, then as a consequence you may not distribute the
00216  * Program at all. For example, if a patent license would not permit
00217  * royalty-free redistribution of the Program by all those who receive copies
00218  * directly or indirectly through you, then the only way you could satisfy both
00219  * it and this License would be to refrain entirely from distribution of the
00220  * Program.
00221  *
00222  * If any portion of this section is held invalid or unenforceable under any
00223  * particular circumstance, the balance of the section is intended to apply and
00224  * the section as a whole is intended to apply in other circumstances.
00225  *
00226  * It is not the purpose of this section to induce you to infringe any patents
00227  * or other property right claims or to contest validity of any such claims;
00228  * this section has the sole purpose of protecting the integrity of the free
00229  * software distribution system, which is implemented by public license
00230  * practices. Many people have made generous contributions to the wide range of
00231  * software distributed through that system in reliance on consistent
00232  * application of that system; it is up to the author/donor to decide if he or
00233  * she is willing to distribute software through any other system and a licensee
00234  * cannot impose that choice.
00235  *
00236  * This section is intended to make thoroughly clear what is believed to be a
00237  * consequence of the rest of this License.
00238  *
00239  * 8. If the distribution and/or use of the Program is restricted in certain
00240  * countries either by patents or by copyrighted interfaces, the original
00241  * copyright holder who places the Program under this License may add an
00242  * explicit geographical distribution limitation excluding those countries, so
00243  * that distribution is permitted only in or among countries not thus excluded.
00244  * In such case, this License incorporates the limitation as if written in the
00245  * body of this License.
00246  *
00247  * 9. The Free Software Foundation may publish revised and/or new versions of
00248  * the General Public License from time to time. Such new versions will be
00249  * similar in spirit to the present version, but may differ in detail to address
00250  * new problems or concerns.
00251  *
00252  * Each version is given a distinguishing version number. If the Program
00253  * specifies a version number of this License which applies to it and "any later
00254  * version", you have the option of following the terms and conditions either of
00255  * that version or of any later version published by the Free Software
00256  * Foundation. If the Program does not specify a version number of this License,
00257  * you may choose any version ever published by the Free Software Foundation.
00258  *
00259  * 10. If you wish to incorporate parts of the Program into other free programs
00260  * whose distribution conditions are different, write to the author to ask for
00261  * permission. For software which is copyrighted by the Free Software
00262  * Foundation, write to the Free Software Foundation; we sometimes make
00263  * exceptions for this. Our decision will be guided by the two goals of
00264  * preserving the free status of all derivatives of our free software and of
00265  * promoting the sharing and reuse of software generally.
00266  *
00267  * NO WARRANTY
00268  *
00269  * 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
00270  * THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
00271  * STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
00272  * PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
00273  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
00274  * FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
00275  * PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
00276  * YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
00277  *
00278  * 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
00279  * WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
00280  * REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
00281  * INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
00282  * OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO
00283  * LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
00284  * THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
00285  * PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
00286  * POSSIBILITY OF SUCH DAMAGES.
00287  *
00288  */

Generated on Sun Dec 3 17:45:53 2006 for lucid by  doxygen 1.5.1