xref: /aosp_15_r20/external/licenseclassifier/v2/assets/Supplement/GPL-3.0/application-a.txt (revision 46c4c49da23cae783fa41bf46525a6505638499a)
1*46c4c49dSIbrahim Kanouche            How to Apply These Terms to Your New Programs
2*46c4c49dSIbrahim Kanouche
3*46c4c49dSIbrahim Kanouche  If you develop a new program, and you want it to be of the greatest
4*46c4c49dSIbrahim Kanouchepossible use to the public, the best way to achieve this is to make it
5*46c4c49dSIbrahim Kanouchefree software which everyone can redistribute and change under these terms.
6*46c4c49dSIbrahim Kanouche
7*46c4c49dSIbrahim Kanouche  To do so, attach the following notices to the program.  It is safest
8*46c4c49dSIbrahim Kanoucheto attach them to the start of each source file to most effectively
9*46c4c49dSIbrahim Kanouchestate the exclusion of warranty; and each file should have at least
10*46c4c49dSIbrahim Kanouchethe "copyright" line and a pointer to where the full notice is found.
11*46c4c49dSIbrahim Kanouche
12*46c4c49dSIbrahim Kanouche    <one line to give the program's name and a brief idea of what it does.>
13*46c4c49dSIbrahim Kanouche    Copyright (C) <year>  <name of author>
14*46c4c49dSIbrahim Kanouche
15*46c4c49dSIbrahim Kanouche    This program is free software: you can redistribute it and/or modify
16*46c4c49dSIbrahim Kanouche    it under the terms of the GNU General Public License as published by
17*46c4c49dSIbrahim Kanouche    the Free Software Foundation, either version 3 of the License, or
18*46c4c49dSIbrahim Kanouche    (at your option) any later version.
19*46c4c49dSIbrahim Kanouche
20*46c4c49dSIbrahim Kanouche    This program is distributed in the hope that it will be useful,
21*46c4c49dSIbrahim Kanouche    but WITHOUT ANY WARRANTY; without even the implied warranty of
22*46c4c49dSIbrahim Kanouche    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23*46c4c49dSIbrahim Kanouche    GNU General Public License for more details.
24*46c4c49dSIbrahim Kanouche
25*46c4c49dSIbrahim Kanouche    You should have received a copy of the GNU General Public License
26*46c4c49dSIbrahim Kanouche    along with this program.  If not, see <http://www.gnu.org/licenses/>.
27*46c4c49dSIbrahim Kanouche
28*46c4c49dSIbrahim KanoucheAlso add information on how to contact you by electronic and paper mail.
29*46c4c49dSIbrahim Kanouche
30*46c4c49dSIbrahim Kanouche  If the program does terminal interaction, make it output a short
31*46c4c49dSIbrahim Kanouchenotice like this when it starts in an interactive mode:
32*46c4c49dSIbrahim Kanouche
33*46c4c49dSIbrahim Kanouche    <program>  Copyright (C) <year>  <name of author>
34*46c4c49dSIbrahim Kanouche    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
35*46c4c49dSIbrahim Kanouche    This is free software, and you are welcome to redistribute it
36*46c4c49dSIbrahim Kanouche    under certain conditions; type `show c' for details.
37*46c4c49dSIbrahim Kanouche
38*46c4c49dSIbrahim KanoucheThe hypothetical commands `show w' and `show c' should show the appropriate
39*46c4c49dSIbrahim Kanoucheparts of the General Public License.  Of course, your program's commands
40*46c4c49dSIbrahim Kanouchemight be different; for a GUI interface, you would use an "about box".
41*46c4c49dSIbrahim Kanouche
42*46c4c49dSIbrahim Kanouche  You should also get your employer (if you work as a programmer) or school,
43*46c4c49dSIbrahim Kanoucheif any, to sign a "copyright disclaimer" for the program, if necessary.
44*46c4c49dSIbrahim KanoucheFor more information on this, and how to apply and follow the GNU GPL, see
45*46c4c49dSIbrahim Kanouche<http://www.gnu.org/licenses/>.
46*46c4c49dSIbrahim Kanouche
47*46c4c49dSIbrahim Kanouche  The GNU General Public License does not permit incorporating your program
48*46c4c49dSIbrahim Kanoucheinto proprietary programs.  If your program is a subroutine library, you
49*46c4c49dSIbrahim Kanouchemay consider it more useful to permit linking proprietary applications with
50*46c4c49dSIbrahim Kanouchethe library.  If this is what you want to do, use the GNU Lesser General
51*46c4c49dSIbrahim KanouchePublic License instead of this License.  But first, please read
52*46c4c49dSIbrahim Kanouche<http://www.gnu.org/philosophy/why-not-lgpl.html>.
53