GNU General Public License (GPL)
The following is a copy of the original documentation of the Free Software Foundation GNU General Public License. Linux
As a system and a large number of software related to it are developed and released under the impetus of GPL.
You will see: If you intend to modify, update, or improve any
Software that you modify must be subject to the terms of the GNU General License.
GNU General Public License
1991.6 Second Edition
Copyright (c) 1989,1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, ma02139, USA
Each person is allowed to copy and publish copies of the original document of this License, but it is absolutely not allowed to perform
Any modification.
Preface
Most software licenses are determined to deprive you of the freedom to share and modify the software. In contrast
Use a Public License to ensure your freedom to share and modify free software. -- Ensure free software
Users are free. GPL applies to the software of most Free Software Foundations and is used
Software developed by the creator of the obligations. (Other Software of the Free Software Foundation is subject to the GNU Library.
General License protection ). You can also use it in your program.
When talking about free software, we mean freedom, not price.
Our GNU General Public License is determined to ensure that you have the freedom to release free software (if you want, you
You can charge a certain amount for this service); ensure that you can receive the source program or get it when you need it.
It; makes sure you can modify the software or use part of it for new free software; and also makes sure you know you
Can do these things.
To protect your rights, we need to make a provision to prohibit anyone from not admitting your rights, or
You are required to give up these rights. If you have modified the free software or released copies of the software
It turns into your responsibility.
For example, if you publish a copy of such a program, whether it is charged or free, you must
Give all your rights to your recipients; you must ensure that they can receive or get the source program; and
And show these terms to them so that they know they have such rights.
We take two measures to protect your rights.
(1) Copyright Protection for the software.
(2) provide you with a license. It copies, releases, and modifies the legal license for these software.
Similarly, to protect each author and ourselves, we need to clearly make everyone understand and be free.
The software is not guaranteed (no warranty ). If someone else modifies the software and continues
Spread. We need its recipients to understand that what they get is not the original free software. By others
Any problems introduced by people should not damage the reputation of the original author.
Finally, any free software is constantly threatened by software patents. We hope to avoid such risks,
The publisher of the Free Software obtains a patent license in the name of an individual. In fact, the software is private. Is
To prevent this, we must make it clear that any patent must be made on the premise that everyone is allowed to use it freely. Otherwise
No patents are allowed.
The following are the exact terms and conditions for replication, release, and modification.
GNU General Public License
Terms and Conditions for reproduction, publication and Modification
0. This license applies to any program and other works that contain the copyright holder's statement.
The statement clearly states that programs and works can be published under the constraints of the GPL clause. The "program" mentioned below"
It refers to any such program or work. "Program-based works" refer to programs or any versions
Derivative works restricted by the Authority. That is, a work that contains a program or a part of the program. It can be the original seal
Dynamic, or modified and/or translated into other languages (programs ). The translation is included in
In the modified terms. Each license recipient is called by you.
License terms do not apply to activities other than reproduction, publication, and modification. These activities exceed these terms
. The activities of running programs are not limited by the terms and conditions. Only when the output of a program is composed
This clause applies only when the program is running ). General application depends on the program
What is used.
1. Maintain
The declaration of this License and the non-Warranty statement are intact and are connected to each other together with the procedure
The recipient has a copy of the license, and you can use any media to copy and publish the original program you received
Source code.
You will be charged for the transfer of copies. You also have the right to choose to provide a guarantee in exchange
A certain fee.
2. You can modify one or several copies of a program or any part of the program to form a program-based
Works. As long as you meet all of the following conditions, you can copy and
The modified program or work.
A) You must include a clear description in the modified document: You modified this document and the specific repair
Change date.
B) You must make your published or published work (it contains all or part of the program, or contains
All or part of derivative works of the program) allows a third party to be used as a whole for free under the license terms.
C) if the modified program reads commands interactively at runtime
Print or display a statement when using a regular interaction: including an appropriate copyright statement and a non-Warranty statement
(Or your warranty statement); you can re-release the program description in accordance with the terms of this License; and
Shows you how to view a copy of this License. (Exception: if the original program is interactive
Work, it does not print such a statement, and your program-based work does not need to print the statement ).
These requirements apply to the entire modified work. If it can be determined that part of the work is not a program
Can reasonably think that this part is independent and different works. When you take it as a standalone
When a work is published, it is not subject to this license and its terms. However, when you use this part as
When a part of the work of the program is published, it will be subject to license terms as a whole. Grant other licenses
The use scope of the certificate holder is extended to the entire product. That is, each part, no matter who it is written.
Therefore, the intention of these terms is not to claim rights; or to deprive you of the right to all the works written by you.
Instead, it fulfills its rights to control the publishing of procedural collective or derivative works.
In addition, work unrelated to the program is put together with the program or program-based work in the storage body or hair
The same volume of cloth media does not cause other works to be placed within the constraints of this License.
3. You can copy or publish a program in the form of a target code or executable (or a program-based
Works), as long as you comply with the first paragraph 1 and 2, and meet one of the following three.
A) A complete machine-readable source together with the target code on the media normally used for software exchange
. The release of these source codes should meet the requirements of section 1 and 2 above. Or
B) together with the target code, together with the media normally used for software exchange, it is attached to a third party to provide the appropriate
Machine-readable source code. The validity period is not less than 3 years, and the cost does not exceed the actual completion of the source program
The actual cost of release. The source code should be released in accordance with the requirements of section 1 and 2 above. Or
C) together with the target code, provide the quotation information for the source code you receive. (This clause applies only
Non-commercial release, and you only receive the program's target code or executable code and provide
).
The source code of a work is the most preferred form of modification to the work. For executable works,
The complete source code includes: All the source codes of all modules, the definition of related interfaces, and the control functions.
Execute the script for installation and compilation of the file. As a special exception, the released source code does not need to include any common
The main components of the released operating system for executable code to run on it (such as compiling programs, Kernel
). Unless these components and executable works are combined.
If the executable code or target code is published by providing access and replication to a specified location
, Provide access to the same location and copy the source code can be counted as the source code release, even if the third party does not force
Copy the source code together with the target code.
4. You cannot copy, modify, or forward a license unless you explicitly follow the requirements of the license.
And publish programs. Any attempt to copy, modify, or forward a license or publisher in other ways is invalid
. And the permission granted to you will be automatically terminated. However
To the people with copies and rights, as long as they continue to fully fulfill the terms, the rights granted to them by the license still
Valid.
5. You did not sign the license, so you do not have to accept it. However, no
Anything else gives you the right to modify and publish programs and their derivative works. If you do not accept the license
These actions are prohibited by law. Therefore, if you modify or release a program (or any program-based
Product), you will show that you accept this license and all of its related replication, release and modification procedures or
The terms and conditions of the work of the program.
6. Each time you re-release a program (or any program-based work), the recipient automatically grants permissions from the original
The issuer receives a license to copy, publish, or modify the program subject to these terms and conditions. You
It is not allowed to impose other restrictions on the recipient's fulfillment of the rights granted to them. You are not demanding a third-party performance.
Obligations under the terms of the license.
7. If, in the event of a court decision or alleged violation of a patent or any other reason (not limited to patent issues ),
As a result, the conditions imposed on you (whether in a court decision, agreement or other form) conflict with those imposed on you.
. They cannot use the license terms for your departure. When you cannot meet the obligations and
You may not release programs as a result of other related obligations. For example
You may not permit all people who accept copies directly or indirectly from you to pay the Patent Fee.
To re-release a program, the only way to meet both requirements is to stop the program.
If any part of these terms is invalid or cannot be implemented in a specific environment, the remainder of the terms of use
. Use the terms as a whole in other environments.
The purpose of these terms is not to lure you into a request for infringement of a patent or other property rights, or to dispute such a request
. The main purpose of these terms is to protect the integrity of a free software release system. It is passed through
Implemented by using the public license application. Many people insist on using this system.
Released a large number of free software to make generous contributions. The author/donor has the right to decide whether or not he/she passes any
Release software for other systems. The license holder cannot force this option.
This section aims to clarify the possible results of the remaining part of the license.
8. If a program is published and used in certain countries due to a patent or a copyrighted Interface
By the end of the limit, the original copyright owner who places the program under the license restriction can increase the limit on the publishing area
Clause to explicitly exclude these countries. Procedures are also released outside of these countries. In this situation
The restrictions and conditions contained in the license are the same as those in the license body.
9. the Free Software Foundation may publish a revised or new version of the General Public License at any time. New Version and current
The versions are consistent in principle, but may appear in details when new problems or related matters are mentioned.
Difference.
Each version has a different version number. If the Program specifies the license version number that applies to it and
Any updated version ". You have the right to choose a new version published after the specified version or the Free Software Foundation
Version. If no license version is specified for the program, you can select any version that has been published by the Free Software Foundation.
.
10. If you are willing to integrate part of the program into other free programs, their release conditions are not
. Write a letter to the author to allow use. If the software is copyrighted by the Free Software Foundation,
Write to the Free Software Foundation. We sometimes handle exceptions. Our decision is subject to two
Objectives and guidelines. The two main goals are to maintain the freedom of derivative works of our free software.
Status. And promote software sharing and reuse as a whole.
No warranty
11. As the procedure is free of charge, no warranty is provided for the procedure as permitted by applicable law. Unless
The copyright owner and/or other providers do not provide any type
. Whether explicit or implicit. Including but not limited to implied marketable and applicable for specific purposes
. You are responsible for all risks, such as program quality and performance issues. If the program is missing
You are responsible for all necessary services, repairs, and corrections.
12. unless required by applicable law or written agreement, in any case, any copyright holder or
People who modify and release license terms are not responsible for your losses. Including
Or any general, special, accidental, or major loss caused by the use of the program (including
Not limited to data loss, data becoming inaccurate, or sustained losses from you or a third party, or
Programs cannot be coordinated with other programs ). Even if the copyright owner and others mention the possibility of such losses
Performance is no exception.
Final Terms and Conditions
How to apply these terms to your new program
If you develop a new program and you need it to be used by the public to the maximum extent possible. To achieve this
Point is the best way to turn it into free software. So that everyone can follow the terms
Modify and republish rows.
To do this, add the following statement to the program. The safest way is to place it in each source
So that the information about the denial of guarantee is most effective. Each file must have at least "Copyright"
And where the full text of the statement is displayed.
<A simple description of the program name and what it is used for in a row of Space>
Copyright (c) 19xx <author's name>
This program is free software and you can follow the GNU General Public License published by the Free Software Foundation.
To modify and re-release this procedure. Or use the second version of the license, or (depending on your choice)
(Optional) use any updated version.
The purpose of releasing this program is to make it useful, but there is no guarantee. Not even suitable for specific purposes
The implicit guarantee. For more details, see the GNU General Public License.
You should have received a copy of the GNU General Public License with the program. If not,
Write:
The Free Software Foundation, inc., 675 Mass Ave, Cambridge,
Ma02139, USA
You should also add information on how to keep in touch with you.
If a program works in interactive mode, make it output a class when it starts to work in interactive mode.
Like the following short statement:
Gnomovision 69th, copyright (c) 19xx, author's name,
Gnomovision is not guaranteed. For details, enter 'show W '.
This is a free software. You are welcome to release it again to learn the details,
Enter 'show C '.
The 'show W' and 'show C' commands should display the corresponding terms of the General Public License. When
However, the command names you use can be different from 'show W' and 'show C '. According to your program's
You can also use the menu or mouse option to display these terms.
If needed, you should get your boss (if you are a programmer) or your school sign up to give up the process
Copyright statement. The following is an example. You should change the corresponding name:
Yoyodyne abandoned James Harker in this way
All copyright interests of the gnomovision program.
<Ty coon signature>, 1989.4.1
Ty coon Fu, President
This license does not allow you to merge programs into specialized programs. If your program is a sub-library.
You may think that using a library to connect to a dedicated application is more useful. If this is what you want to do
Use the General Public License of the GNU Library to replace this license.