38
English
GPLv2
*18*(1(5$/38%/,&/,&(16(
9HUVLRQ-XQH
1991
&RS\ULJKW&)UHH6RIWZDUH)RXQGDWLRQ,QF
)UDQNOLQ6WUHHW)LIWK)ORRU%RVWRQ0$86$
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away
\RXUIUHHGRPWRVKDUHDQGFKDQJHLW%\FRQWUDVWWKH*18
*HQHUDO3XEOLF/LFHQVHLVLQWHQGHGWRJXDUDQWHH\RXUIUHHGRP
to share and change free software--to make sure the software
LVIUHHIRUDOOLWVXVHUV7KLV*HQHUDO3XEOLF/LFHQVHDSSOLHVWR
PRVW RI WKH )UHH 6RIWZDUH )RXQGDWLRQV VRIWZDUH DQG WR DQ\
other program whose authors commit to using it. (Some other
)UHH 6RIWZDUH )RXQGDWLRQ VRIWZDUH LV FRYHUHG E\ WKH *18
/HVVHU *HQHUDO 3XEOLF /LFHQVH LQVWHDG <RX FDQ DSSO\ LW WR
your programs, too.
:KHQZHVSHDNRIIUHHVRIWZDUHZHDUHUHIHUULQJWRIUHHGRP
QRWSULFH2XU*HQHUDO3XEOLF/LFHQVHVDUHGHVLJQHGWRPDNH
sure that you have the freedom to distribute copies of free
software (and charge for this service if you wish), that you
receive source code or can get it if you want it, that you can
FKDQJHWKHVRIWZDUHRUXVHSLHFHVRILWLQQHZIUHHSURJUDPV
and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender
the rights.
These restrictions translate to certain responsibilities for you if
you distribute copies of the software, or if you modify it.
)RU H[DPSOH LI \RX GLVWULEXWH FRSLHV RI VXFK D SURJUDP
whether gratis or for a fee, you must give the recipients all
WKHULJKWVWKDW\RXKDYH<RXPXVWPDNHVXUHWKDWWKH\WRR
receive or can get the source code. And you must show them
these terms so they know their rights.
:H SURWHFW \RXU ULJKWV ZLWK WZR VWHSV FRS\ULJKW WKH
software, and (2) offer you this license which gives you legal
permission to copy, distribute and/or modify the software.
$OVRIRUHDFKDXWKRUVSURWHFWLRQDQGRXUVZHZDQWWRPDNH
certain that everyone understands that there is no warranty for
WKLVIUHHVRIWZDUH,IWKHVRIWZDUHLVPRGL¿HGE\VRPHRQHHOVH
and passed on, we want its recipients to know that what they
have is not the original, so that any problems introduced by
RWKHUVZLOOQRWUHÀHFWRQWKHRULJLQDODXWKRUVUHSXWDWLRQV
Finally, any free program is threatened constantly by software
SDWHQWV:HZLVKWRDYRLGWKHGDQJHUWKDWUHGLVWULEXWRUVRID
free program will individually obtain patent licenses, in effect
making the program proprietary. To prevent this, we have
PDGHLWFOHDUWKDWDQ\SDWHQWPXVWEHOLFHQVHGIRUHYHU\RQHV
free use or not licensed at all.
The precise terms and conditions for copying, distribution and
PRGL¿FDWLRQIROORZ
*18*(1(5$/38%/,&/,&(16(
7(506 $1' &21',7,216 )25 &23<,1* ',675,%87,21
$1'02',),&$7,21
7KLV/LFHQVHDSSOLHVWRDQ\SURJUDPRURWKHUZRUNZKLFK
contains a notice placed by the copyright holder saying it may
EHGLVWULEXWHGXQGHUWKHWHUPVRIWKLV*HQHUDO3XEOLF/LFHQVH
The "Program", below, refers to any such program or work,
and a "work based on the Program" means either the Program
RU DQ\ GHULYDWLYH ZRUN XQGHU FRS\ULJKW ODZ WKDW LV WR VD\ D
work containing the Program or a portion of it, either verbatim
RUZLWKPRGL¿FDWLRQVDQGRUWUDQVODWHGLQWRDQRWKHUODQJXDJH
+HUHLQDIWHU WUDQVODWLRQ LV LQFOXGHG ZLWKRXW OLPLWDWLRQ LQ WKH
WHUPPRGL¿FDWLRQ(DFKOLFHQVHHLVDGGUHVVHGDV\RX
$FWLYLWLHVRWKHUWKDQFRS\LQJGLVWULEXWLRQDQGPRGL¿FDWLRQDUH
QRWFRYHUHGE\WKLV/LFHQVHWKH\DUHRXWVLGHLWVVFRSH7KHDFW
of running the Program is not restricted, and the output from
the Program is covered only if its contents constitute a work
based on the Program (independent of having been made by
UXQQLQJWKH3URJUDP:KHWKHUWKDWLVWUXHGHSHQGVRQZKDW
the Program does.
<RXPD\FRS\DQGGLVWULEXWHYHUEDWLPFRSLHVRIWKH3URJUDPV
source code as you receive it, in any medium, provided that
you conspicuously and appropriately publish on each copy
DQ DSSURSULDWH FRS\ULJKW QRWLFH DQG GLVFODLPHU RI ZDUUDQW\
NHHSLQWDFWDOOWKHQRWLFHVWKDWUHIHUWRWKLV/LFHQVHDQGWRWKH
DEVHQFHRIDQ\ZDUUDQW\DQGJLYHDQ\RWKHUUHFLSLHQWVRIWKH
3URJUDPDFRS\RIWKLV/LFHQVHDORQJZLWKWKH3URJUDP
<RX PD\ FKDUJH D IHH IRU WKH SK\VLFDO DFW RI WUDQVIHUULQJ D
copy, and you may at your option offer warranty protection in
H[FKDQJHIRUDIHH
<RX PD\ PRGLI\ \RXU FRS\ RU FRSLHV RI WKH 3URJUDP RU
any portion of it, thus forming a work based on the Program,
DQGFRS\DQGGLVWULEXWHVXFKPRGL¿FDWLRQVRUZRUNXQGHUWKH
terms of Section 1 above, provided that you also meet all of
WKHVHFRQGLWLRQV
D <RX PXVW FDXVH WKH PRGL¿HG ¿OHV WR FDUU\ SURPLQHQW
QRWLFHVVWDWLQJWKDW\RXFKDQJHGWKH¿OHVDQGWKHGDWHRIDQ\
change.
E<RXPXVWFDXVHDQ\ZRUNWKDW\RXGLVWULEXWHRUSXEOLVK
that in whole or in part contains or is derived from the Program
or any part thereof, to be licensed as a whole at no charge to
DOOWKLUGSDUWLHVXQGHUWKHWHUPVRIWKLV/LFHQVH
F ,I WKH PRGL¿HG SURJUDP QRUPDOO\ UHDGV FRPPDQGV
interactively when run, you must cause it, when started running
for such interactive use in the most ordinary way, to print or
display an announcement including an appropriate copyright
notice and a notice that there is no warranty (or else, saying
that you provide a warranty) and that users may redistribute
the program under these conditions, and telling the user how to
YLHZDFRS\RIWKLV/LFHQVH([FHSWLRQLIWKH3URJUDPLWVHOILV
interactive but does not normally print such an announcement,
your work based on the Program is not required to print an
announcement.)
7KHVHUHTXLUHPHQWVDSSO\WRWKHPRGL¿HGZRUNDVDZKROH,I
LGHQWL¿DEOH VHFWLRQV RI WKDW ZRUN DUH QRW GHULYHG IURP WKH
Program, and can be reasonably considered independent and
VHSDUDWHZRUNVLQWKHPVHOYHVWKHQWKLV/LFHQVHDQGLWVWHUPV
do not apply to those sections when you distribute them as
separate works. But when you distribute the same sections
as part of a whole which is a work based on the Program,
the distribution of the whole must be on the terms of this
/LFHQVHZKRVHSHUPLVVLRQVIRURWKHUOLFHQVHHVH[WHQGWRWKH
entire whole, and thus to each and every part regardless of
who wrote it.
Thus, it is not the intent of this section to claim rights or contest
\RXUULJKWVWRZRUNZULWWHQHQWLUHO\E\\RXUDWKHUWKHLQWHQWLV
WRH[HUFLVHWKHULJKWWRFRQWUROWKHGLVWULEXWLRQRIGHULYDWLYHRU
collective works based on the Program.
,QDGGLWLRQPHUHDJJUHJDWLRQRIDQRWKHUZRUNQRWEDVHGRQ
the Program with the Program (or with a work based on the
Program) on a volume of a storage or distribution medium does
QRWEULQJWKHRWKHUZRUNXQGHUWKHVFRSHRIWKLV/LFHQVH
<RXPD\FRS\DQGGLVWULEXWHWKH3URJUDPRUDZRUNEDVHG
RQLWXQGHU6HFWLRQLQREMHFWFRGHRUH[HFXWDEOHIRUPXQGHU
the terms of Sections 1 and 2 above provided that you also do
RQHRIWKHIROORZLQJ
a) Accompany it with the complete corresponding machine-