18c2ecf20Sopenharmony_ciValid-License-Identifier: GPL-1.0+
28c2ecf20Sopenharmony_ciSPDX-URL: https://spdx.org/licenses/GPL-1.0.html
38c2ecf20Sopenharmony_ciUsage-Guide:
48c2ecf20Sopenharmony_ci  The GNU General Public License (GPL) version 1 should not be used in new
58c2ecf20Sopenharmony_ci  code. For existing kernel code the 'or any later version' option is
68c2ecf20Sopenharmony_ci  required to be compatible with the general license of the project: GPLv2.
78c2ecf20Sopenharmony_ci  To use the license in source code, put the following SPDX tag/value pair
88c2ecf20Sopenharmony_ci  into a comment according to the placement guidelines in the licensing
98c2ecf20Sopenharmony_ci  rules documentation:
108c2ecf20Sopenharmony_ci    SPDX-License-Identifier: GPL-1.0+
118c2ecf20Sopenharmony_ciLicense-Text:
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci	    GNU GENERAL PUBLIC LICENSE
148c2ecf20Sopenharmony_ci	     Version 1, February 1989
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci Copyright (C) 1989 Free Software Foundation, Inc.
178c2ecf20Sopenharmony_ci                    675 Mass Ave, Cambridge, MA 02139, USA
188c2ecf20Sopenharmony_ci Everyone is permitted to copy and distribute verbatim copies
198c2ecf20Sopenharmony_ci of this license document, but changing it is not allowed.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci			    Preamble
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci  The license agreements of most software companies try to keep users
248c2ecf20Sopenharmony_ciat the mercy of those companies.  By contrast, our General Public
258c2ecf20Sopenharmony_ciLicense is intended to guarantee your freedom to share and change free
268c2ecf20Sopenharmony_cisoftware--to make sure the software is free for all its users.  The
278c2ecf20Sopenharmony_ciGeneral Public License applies to the Free Software Foundation's
288c2ecf20Sopenharmony_cisoftware and to any other program whose authors commit to using it.
298c2ecf20Sopenharmony_ciYou can use it for your programs, too.
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci  When we speak of free software, we are referring to freedom, not
328c2ecf20Sopenharmony_ciprice.  Specifically, the General Public License is designed to make
338c2ecf20Sopenharmony_cisure that you have the freedom to give away or sell copies of free
348c2ecf20Sopenharmony_cisoftware, that you receive source code or can get it if you want it,
358c2ecf20Sopenharmony_cithat you can change the software or use pieces of it in new free
368c2ecf20Sopenharmony_ciprograms; and that you know you can do these things.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci  To protect your rights, we need to make restrictions that forbid
398c2ecf20Sopenharmony_cianyone to deny you these rights or to ask you to surrender the rights.
408c2ecf20Sopenharmony_ciThese restrictions translate to certain responsibilities for you if you
418c2ecf20Sopenharmony_cidistribute copies of the software, or if you modify it.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci  For example, if you distribute copies of a such a program, whether
448c2ecf20Sopenharmony_cigratis or for a fee, you must give the recipients all the rights that
458c2ecf20Sopenharmony_ciyou have.  You must make sure that they, too, receive or can get the
468c2ecf20Sopenharmony_cisource code.  And you must tell them their rights.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci  We protect your rights with two steps: (1) copyright the software, and
498c2ecf20Sopenharmony_ci(2) offer you this license which gives you legal permission to copy,
508c2ecf20Sopenharmony_cidistribute and/or modify the software.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci  Also, for each author's protection and ours, we want to make certain
538c2ecf20Sopenharmony_cithat everyone understands that there is no warranty for this free
548c2ecf20Sopenharmony_cisoftware.  If the software is modified by someone else and passed on, we
558c2ecf20Sopenharmony_ciwant its recipients to know that what they have is not the original, so
568c2ecf20Sopenharmony_cithat any problems introduced by others will not reflect on the original
578c2ecf20Sopenharmony_ciauthors' reputations.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci  The precise terms and conditions for copying, distribution and
608c2ecf20Sopenharmony_cimodification follow.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ci		    GNU GENERAL PUBLIC LICENSE
638c2ecf20Sopenharmony_ci   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci  0. This License Agreement applies to any program or other work which
668c2ecf20Sopenharmony_cicontains a notice placed by the copyright holder saying it may be
678c2ecf20Sopenharmony_cidistributed under the terms of this General Public License.  The
688c2ecf20Sopenharmony_ci"Program", below, refers to any such program or work, and a "work based
698c2ecf20Sopenharmony_cion the Program" means either the Program or any work containing the
708c2ecf20Sopenharmony_ciProgram or a portion of it, either verbatim or with modifications.  Each
718c2ecf20Sopenharmony_cilicensee is addressed as "you".
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci  1. You may copy and distribute verbatim copies of the Program's source
748c2ecf20Sopenharmony_cicode as you receive it, in any medium, provided that you conspicuously and
758c2ecf20Sopenharmony_ciappropriately publish on each copy an appropriate copyright notice and
768c2ecf20Sopenharmony_cidisclaimer of warranty; keep intact all the notices that refer to this
778c2ecf20Sopenharmony_ciGeneral Public License and to the absence of any warranty; and give any
788c2ecf20Sopenharmony_ciother recipients of the Program a copy of this General Public License
798c2ecf20Sopenharmony_cialong with the Program.  You may charge a fee for the physical act of
808c2ecf20Sopenharmony_citransferring a copy.
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci  2. You may modify your copy or copies of the Program or any portion of
838c2ecf20Sopenharmony_ciit, and copy and distribute such modifications under the terms of Paragraph
848c2ecf20Sopenharmony_ci1 above, provided that you also do the following:
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci    a) cause the modified files to carry prominent notices stating that
878c2ecf20Sopenharmony_ci    you changed the files and the date of any change; and
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci    b) cause the whole of any work that you distribute or publish, that
908c2ecf20Sopenharmony_ci    in whole or in part contains the Program or any part thereof, either
918c2ecf20Sopenharmony_ci    with or without modifications, to be licensed at no charge to all
928c2ecf20Sopenharmony_ci    third parties under the terms of this General Public License (except
938c2ecf20Sopenharmony_ci    that you may choose to grant warranty protection to some or all
948c2ecf20Sopenharmony_ci    third parties, at your option).
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci    c) If the modified program normally reads commands interactively when
978c2ecf20Sopenharmony_ci    run, you must cause it, when started running for such interactive use
988c2ecf20Sopenharmony_ci    in the simplest and most usual way, to print or display an
998c2ecf20Sopenharmony_ci    announcement including an appropriate copyright notice and a notice
1008c2ecf20Sopenharmony_ci    that there is no warranty (or else, saying that you provide a
1018c2ecf20Sopenharmony_ci    warranty) and that users may redistribute the program under these
1028c2ecf20Sopenharmony_ci    conditions, and telling the user how to view a copy of this General
1038c2ecf20Sopenharmony_ci    Public License.
1048c2ecf20Sopenharmony_ci
1058c2ecf20Sopenharmony_ci    d) You may charge a fee for the physical act of transferring a
1068c2ecf20Sopenharmony_ci    copy, and you may at your option offer warranty protection in
1078c2ecf20Sopenharmony_ci    exchange for a fee.
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ciMere aggregation of another independent work with the Program (or its
1108c2ecf20Sopenharmony_ciderivative) on a volume of a storage or distribution medium does not bring
1118c2ecf20Sopenharmony_cithe other work under the scope of these terms.
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ci  3. You may copy and distribute the Program (or a portion or derivative of
1148c2ecf20Sopenharmony_ciit, under Paragraph 2) in object code or executable form under the terms of
1158c2ecf20Sopenharmony_ciParagraphs 1 and 2 above provided that you also do one of the following:
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci    a) accompany it with the complete corresponding machine-readable
1188c2ecf20Sopenharmony_ci    source code, which must be distributed under the terms of
1198c2ecf20Sopenharmony_ci    Paragraphs 1 and 2 above; or,
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ci    b) accompany it with a written offer, valid for at least three
1228c2ecf20Sopenharmony_ci    years, to give any third party free (except for a nominal charge
1238c2ecf20Sopenharmony_ci    for the cost of distribution) a complete machine-readable copy of the
1248c2ecf20Sopenharmony_ci    corresponding source code, to be distributed under the terms of
1258c2ecf20Sopenharmony_ci    Paragraphs 1 and 2 above; or,
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci    c) accompany it with the information you received as to where the
1288c2ecf20Sopenharmony_ci    corresponding source code may be obtained.  (This alternative is
1298c2ecf20Sopenharmony_ci    allowed only for noncommercial distribution and only if you
1308c2ecf20Sopenharmony_ci    received the program in object code or executable form alone.)
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ciSource code for a work means the preferred form of the work for making
1338c2ecf20Sopenharmony_cimodifications to it.  For an executable file, complete source code means
1348c2ecf20Sopenharmony_ciall the source code for all modules it contains; but, as a special
1358c2ecf20Sopenharmony_ciexception, it need not include source code for modules which are standard
1368c2ecf20Sopenharmony_cilibraries that accompany the operating system on which the executable
1378c2ecf20Sopenharmony_cifile runs, or for standard header files or definitions files that
1388c2ecf20Sopenharmony_ciaccompany that operating system.
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ci  4. You may not copy, modify, sublicense, distribute or transfer the
1418c2ecf20Sopenharmony_ciProgram except as expressly provided under this General Public License.
1428c2ecf20Sopenharmony_ciAny attempt otherwise to copy, modify, sublicense, distribute or transfer
1438c2ecf20Sopenharmony_cithe Program is void, and will automatically terminate your rights to use
1448c2ecf20Sopenharmony_cithe Program under this License.  However, parties who have received
1458c2ecf20Sopenharmony_cicopies, or rights to use copies, from you under this General Public
1468c2ecf20Sopenharmony_ciLicense will not have their licenses terminated so long as such parties
1478c2ecf20Sopenharmony_ciremain in full compliance.
1488c2ecf20Sopenharmony_ci
1498c2ecf20Sopenharmony_ci  5. By copying, distributing or modifying the Program (or any work based
1508c2ecf20Sopenharmony_cion the Program) you indicate your acceptance of this license to do so,
1518c2ecf20Sopenharmony_ciand all its terms and conditions.
1528c2ecf20Sopenharmony_ci
1538c2ecf20Sopenharmony_ci  6. Each time you redistribute the Program (or any work based on the
1548c2ecf20Sopenharmony_ciProgram), the recipient automatically receives a license from the original
1558c2ecf20Sopenharmony_cilicensor to copy, distribute or modify the Program subject to these
1568c2ecf20Sopenharmony_citerms and conditions.  You may not impose any further restrictions on the
1578c2ecf20Sopenharmony_cirecipients' exercise of the rights granted herein.
1588c2ecf20Sopenharmony_ci
1598c2ecf20Sopenharmony_ci  7. The Free Software Foundation may publish revised and/or new versions
1608c2ecf20Sopenharmony_ciof the General Public License from time to time.  Such new versions will
1618c2ecf20Sopenharmony_cibe similar in spirit to the present version, but may differ in detail to
1628c2ecf20Sopenharmony_ciaddress new problems or concerns.
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ciEach version is given a distinguishing version number.  If the Program
1658c2ecf20Sopenharmony_cispecifies a version number of the license which applies to it and "any
1668c2ecf20Sopenharmony_cilater version", you have the option of following the terms and conditions
1678c2ecf20Sopenharmony_cieither of that version or of any later version published by the Free
1688c2ecf20Sopenharmony_ciSoftware Foundation.  If the Program does not specify a version number of
1698c2ecf20Sopenharmony_cithe license, you may choose any version ever published by the Free Software
1708c2ecf20Sopenharmony_ciFoundation.
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci  8. If you wish to incorporate parts of the Program into other free
1738c2ecf20Sopenharmony_ciprograms whose distribution conditions are different, write to the author
1748c2ecf20Sopenharmony_cito ask for permission.  For software which is copyrighted by the Free
1758c2ecf20Sopenharmony_ciSoftware Foundation, write to the Free Software Foundation; we sometimes
1768c2ecf20Sopenharmony_cimake exceptions for this.  Our decision will be guided by the two goals
1778c2ecf20Sopenharmony_ciof preserving the free status of all derivatives of our free software and
1788c2ecf20Sopenharmony_ciof promoting the sharing and reuse of software generally.
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ci			    NO WARRANTY
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1838c2ecf20Sopenharmony_ciFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
1848c2ecf20Sopenharmony_ciOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1858c2ecf20Sopenharmony_ciPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1868c2ecf20Sopenharmony_ciOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1878c2ecf20Sopenharmony_ciMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
1888c2ecf20Sopenharmony_ciTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
1898c2ecf20Sopenharmony_ciPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1908c2ecf20Sopenharmony_ciREPAIR OR CORRECTION.
1918c2ecf20Sopenharmony_ci
1928c2ecf20Sopenharmony_ci  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1938c2ecf20Sopenharmony_ciWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1948c2ecf20Sopenharmony_ciREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1958c2ecf20Sopenharmony_ciINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1968c2ecf20Sopenharmony_ciOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1978c2ecf20Sopenharmony_ciTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1988c2ecf20Sopenharmony_ciYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1998c2ecf20Sopenharmony_ciPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
2008c2ecf20Sopenharmony_ciPOSSIBILITY OF SUCH DAMAGES.
2018c2ecf20Sopenharmony_ci
2028c2ecf20Sopenharmony_ci		     END OF TERMS AND CONDITIONS
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci	Appendix: How to Apply These Terms to Your New Programs
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ci  If you develop a new program, and you want it to be of the greatest
2078c2ecf20Sopenharmony_cipossible use to humanity, the best way to achieve this is to make it
2088c2ecf20Sopenharmony_cifree software which everyone can redistribute and change under these
2098c2ecf20Sopenharmony_citerms.
2108c2ecf20Sopenharmony_ci
2118c2ecf20Sopenharmony_ci  To do so, attach the following notices to the program.  It is safest to
2128c2ecf20Sopenharmony_ciattach them to the start of each source file to most effectively convey
2138c2ecf20Sopenharmony_cithe exclusion of warranty; and each file should have at least the
2148c2ecf20Sopenharmony_ci"copyright" line and a pointer to where the full notice is found.
2158c2ecf20Sopenharmony_ci
2168c2ecf20Sopenharmony_ci    <one line to give the program's name and a brief idea of what it does.>
2178c2ecf20Sopenharmony_ci    Copyright (C) 19yy  <name of author>
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ci    This program is free software; you can redistribute it and/or modify
2208c2ecf20Sopenharmony_ci    it under the terms of the GNU General Public License as published by
2218c2ecf20Sopenharmony_ci    the Free Software Foundation; either version 1, or (at your option)
2228c2ecf20Sopenharmony_ci    any later version.
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ci    This program is distributed in the hope that it will be useful,
2258c2ecf20Sopenharmony_ci    but WITHOUT ANY WARRANTY; without even the implied warranty of
2268c2ecf20Sopenharmony_ci    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2278c2ecf20Sopenharmony_ci    GNU General Public License for more details.
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_ci    You should have received a copy of the GNU General Public License
2308c2ecf20Sopenharmony_ci    along with this program; if not, write to the Free Software
2318c2ecf20Sopenharmony_ci    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2328c2ecf20Sopenharmony_ci
2338c2ecf20Sopenharmony_ciAlso add information on how to contact you by electronic and paper mail.
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ciIf the program is interactive, make it output a short notice like this
2368c2ecf20Sopenharmony_ciwhen it starts in an interactive mode:
2378c2ecf20Sopenharmony_ci
2388c2ecf20Sopenharmony_ci    Gnomovision version 69, Copyright (C) 19xx name of author
2398c2ecf20Sopenharmony_ci    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
2408c2ecf20Sopenharmony_ci    This is free software, and you are welcome to redistribute it
2418c2ecf20Sopenharmony_ci    under certain conditions; type `show c' for details.
2428c2ecf20Sopenharmony_ci
2438c2ecf20Sopenharmony_ciThe hypothetical commands `show w' and `show c' should show the
2448c2ecf20Sopenharmony_ciappropriate parts of the General Public License.  Of course, the
2458c2ecf20Sopenharmony_cicommands you use may be called something other than `show w' and `show
2468c2ecf20Sopenharmony_cic'; they could even be mouse-clicks or menu items--whatever suits your
2478c2ecf20Sopenharmony_ciprogram.
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ciYou should also get your employer (if you work as a programmer) or your
2508c2ecf20Sopenharmony_cischool, if any, to sign a "copyright disclaimer" for the program, if
2518c2ecf20Sopenharmony_cinecessary.  Here a sample; alter the names:
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ci  Yoyodyne, Inc., hereby disclaims all copyright interest in the
2548c2ecf20Sopenharmony_ci  program `Gnomovision' (a program to direct compilers to make passes
2558c2ecf20Sopenharmony_ci  at assemblers) written by James Hacker.
2568c2ecf20Sopenharmony_ci
2578c2ecf20Sopenharmony_ci  <signature of Ty Coon>, 1 April 1989
2588c2ecf20Sopenharmony_ci  Ty Coon, President of Vice
2598c2ecf20Sopenharmony_ci
2608c2ecf20Sopenharmony_ciThat's all there is to it!
261