Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

GNU Gen­eral Public Li­cense 2

Ver­sion 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA

Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Pream­ble

The li­censes for most soft­ware are de­signed to take away your free­dom to share and change it. By con­trast, the GNU Gen­eral Public Li­cense is in­tended to guar­an­tee your free­dom to share and change free soft­ware–to make sure the soft­ware is free for all its users. This Gen­eral Public Li­cense ap­plies to most of the Free Soft­ware Foun­da­tion's soft­ware and to any other pro­gram whose au­thors com­mit to us­ing it. (Some other Free Soft­ware Foun­da­tion soft­ware is cov­ered by the GNU Lesser Gen­eral Public Li­cense in­stead.) You can ap­ply it to your pro­grams, too.

When we speak of free soft­ware, we are re­fer­ring to free­dom, not price. Our Gen­eral Public Li­censes are de­signed to make sure that you have the free­dom to dis­tribute copies of free soft­ware (and charge for this ser­vice if you wish), that you re­ceive source code or can get it if you want it, that you can change the soft­ware or use pieces of it in new free pro­grams; and that you know you can do these things.

To pro­tect your rights, we need to make re­stric­tions that for­bid any­one to deny you these rights or to ask you to sur­ren­der the rights. Th­ese re­stric­tions trans­late to cer­tain re­spon­si­bil­i­ties for you if you dis­tribute copies of the soft­ware, or if you mod­ify it.

For ex­am­ple, if you dis­tribute copies of such a pro­gram, whether gratis or for a fee, you must give the re­cip­i­ents all the rights that you have. You must make sure that they, too, re­ceive or can get the source code. And you must show them these terms so they know their rights.

We pro­tect your rights with two steps: (1) copy­right the soft­ware, and (2) of­fer you this li­cense which gives you le­gal per­mis­sion to copy, dis­tribute and/or mod­ify the soft­ware.

Also, for each au­thor's pro­tec­tion and ours, we want to make cer­tain that ev­ery­one un­der­stands that there is no war­ranty for this free soft­ware. If the soft­ware is mod­i­fied by some­one else and passed on, we want its re­cip­i­ents to know that what they have is not the orig­i­nal, so that any prob­lems in­tro­duced by oth­ers will not re­flect on the orig­i­nal au­thors' rep­u­ta­tions.

Fi­nally, any free pro­gram is threat­ened con­stantly by soft­ware patents. We wish to avoid the dan­ger that re­dis­trib­u­tors of a free pro­gram will in­di­vid­u­ally ob­tain patent li­censes, in ef­fect mak­ing the pro­gram pro­pri­etary. To pre­vent this, we have made it clear that any patent must be li­censed for ev­ery­one's free use or not li­censed at all.

The pre­cise terms and con­di­tions for copy­ing, dis­tri­bu­tion and mod­i­fi­ca­tion fol­low.

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This Li­cense ap­plies to any pro­gram or other work which con­tains a no­tice placed by the copy­right holder say­ing it may be dis­tributed un­der the terms of this Gen­eral Public Li­cense. The “Pro­gram”, be­low, refers to any such pro­gram or work, and a “work based on the Pro­gram” means ei­ther the Pro­gram or any deriva­tive work un­der copy­right law: that is to say, a work con­tain­ing the Pro­gram or a por­tion of it, ei­ther ver­ba­tim or with mod­i­fi­ca­tions and/or trans­lated into an­other lan­guage. (Here­inafter, trans­la­tion is in­cluded with­out lim­i­ta­tion in the term “mod­i­fi­ca­tion”.) Each li­censee is ad­dressed as “you”.

Ac­tiv­i­ties other than copy­ing, dis­tri­bu­tion and mod­i­fi­ca­tion are not cov­ered by this Li­cense; they are out­side its scope. The act of run­ning the Pro­gram is not re­stricted, and the out­put from the Pro­gram is cov­ered only if its con­tents con­sti­tute a work based on the Pro­gram (in­de­pen­dent of hav­ing been made by run­ning the Pro­gram). Whether that is true de­pends on what the Pro­gram does.

1. You may copy and dis­tribute ver­ba­tim copies of the Pro­gram's source code as you re­ceive it, in any medium, pro­vided that you con­spic­u­ously and ap­pro­pri­ately pub­lish on each copy an ap­pro­pri­ate copy­right no­tice and dis­claimer of war­ranty; keep in­tact all the no­tices that re­fer to this Li­cense and to the ab­sence of any war­ranty; and give any other re­cip­i­ents of the Pro­gram a copy of this Li­cense along with the Pro­gram.

You may charge a fee for the phys­i­cal act of trans­fer­ring a copy, and you may at your op­tion of­fer war­ranty pro­tec­tion in ex­change for a fee.

2. You may mod­ify your copy or copies of the Pro­gram or any por­tion of it, thus form­ing a work based on the Pro­gram, and copy and dis­tribute such mod­i­fi­ca­tions or work un­der the terms of Sec­tion 1 above, pro­vided that you also meet all of these con­di­tions:

a) You must cause the mod­i­fied files to carry promi­nent no­tices stat­ing that you changed the files and the date of any change.
b) You must cause any work that you dis­tribute or pub­lish, that in whole or in part con­tains or is de­rived from the Pro­gram or any part thereof, to be li­censed as a whole at no charge to all third par­ties un­der the terms of this Li­cense.
c) If the mod­i­fied pro­gram nor­mally reads com­mands in­ter­ac­tively when run, you must cause it, when started run­ning for such in­ter­ac­tive use in the most or­di­nary way, to print or dis­play an an­nounce­ment in­clud­ing an ap­pro­pri­ate copy­right no­tice and a no­tice that there is no war­ranty (or else, say­ing that you pro­vide a war­ranty) and that users may re­dis­tribute the pro­gram un­der these con­di­tions, and telling the user how to view a copy of this Li­cense. (Ex­cep­tion: if the Pro­gram it­self is in­ter­ac­tive but does not nor­mally print such an an­nounce­ment, your work based on the Pro­gram is not re­quired to print an an­nounce­ment.)

Th­ese re­quire­ments ap­ply to the mod­i­fied work as a whole. If iden­ti­fi­able sec­tions of that work are not de­rived from the Pro­gram, and can be rea­son­ably con­sid­ered in­de­pen­dent and sep­a­rate works in them­selves, then this Li­cense, and its terms, do not ap­ply to those sec­tions when you dis­tribute them as sep­a­rate works. But when you dis­tribute the same sec­tions as part of a whole which is a work based on the Pro­gram, the dis­tri­bu­tion of the whole must be on the terms of this Li­cense, whose per­mis­sions for other li­censees ex­tend to the en­tire whole, and thus to each and ev­ery part re­gard­less of who wrote it.

Thus, it is not the in­tent of this sec­tion to claim rights or con­test your rights to work writ­ten en­tirely by you; rather, the in­tent is to ex­er­cise the right to con­trol the dis­tri­bu­tion of deriva­tive or col­lec­tive works based on the Pro­gram.

In ad­di­tion, mere ag­gre­ga­tion of an­other work not based on the Pro­gram with the Pro­gram (or with a work based on the Pro­gram) on a vol­ume of a stor­age or dis­tri­bu­tion medium does not bring the other work un­der the scope of this Li­cense.

3. You may copy and dis­tribute the Pro­gram (or a work based on it, un­der Sec­tion 2) in ob­ject code or ex­e­cutable form un­der the terms of Sec­tions 1 and 2 above pro­vided that you also do one of the fol­low­ing:

a) Ac­com­pany it with the com­plete cor­re­spond­ing ma­chine-read­able source code, which must be dis­tributed un­der the terms of Sec­tions 1 and 2 above on a medium cus­tom­ar­ily used for soft­ware in­ter­change; or,
b) Ac­com­pany it with a writ­ten of­fer, valid for at least three years, to give any third party, for a charge no more than your cost of phys­i­cally per­form­ing source dis­tri­bu­tion, a com­plete ma­chine-read­able copy of the cor­re­spond­ing source code, to be dis­tributed un­der the terms of Sec­tions 1 and 2 above on a medium cus­tom­ar­ily used for soft­ware in­ter­change; or,
c) Ac­com­pany it with the in­for­ma­tion you re­ceived as to the of­fer to dis­tribute cor­re­spond­ing source code. (This al­ter­na­tive is al­lowed only for non­com­mer­cial dis­tri­bu­tion and only if you re­ceived the pro­gram in ob­ject code or ex­e­cutable form with such an of­fer, in ac­cord with Sub­sec­tion b above.)

The source code for a work means the pre­ferred form of the work for mak­ing mod­i­fi­ca­tions to it. For an ex­e­cutable work, com­plete source code means all the source code for all mod­ules it con­tains, plus any as­so­ci­ated in­ter­face def­i­ni­tion files, plus the scripts used to con­trol com­pi­la­tion and in­stal­la­tion of the ex­e­cutable. How­ever, as a spe­cial ex­cep­tion, the source code dis­tributed need not in­clude any­thing that is nor­mally dis­tributed (in ei­ther source or bi­nary form) with the ma­jor com­po­nents (com­piler, ker­nel, and so on) of the op­er­at­ing sys­tem on which the ex­e­cutable runs, un­less that com­po­nent it­self ac­com­pa­nies the ex­e­cutable.

If dis­tri­bu­tion of ex­e­cutable or ob­ject code is made by of­fer­ing ac­cess to copy from a des­ig­nated place, then of­fer­ing equiv­a­lent ac­cess to copy the source code from the same place counts as dis­tri­bu­tion of the source code, even though third par­ties are not com­pelled to copy the source along with the ob­ject code.

4. You may not copy, mod­ify, sub­li­cense, or dis­tribute the Pro­gram ex­cept as ex­pressly pro­vided un­der this Li­cense. Any at­tempt oth­er­wise to copy, mod­ify, sub­li­cense or dis­tribute the Pro­gram is void, and will au­to­mat­i­cally ter­mi­nate your rights un­der this Li­cense. How­ever, par­ties who have re­ceived copies, or rights, from you un­der this Li­cense will not have their li­censes ter­mi­nated so long as such par­ties re­main in full com­pli­ance.

5. You are not re­quired to ac­cept this Li­cense, since you have not signed it. How­ever, noth­ing else grants you per­mis­sion to mod­ify or dis­tribute the Pro­gram or its deriva­tive works. Th­ese ac­tions are pro­hib­ited by law if you do not ac­cept this Li­cense. There­fore, by mod­i­fy­ing or dis­tribut­ing the Pro­gram (or any work based on the Pro­gram), you in­di­cate your ac­cep­tance of this Li­cense to do so, and all its terms and con­di­tions for copy­ing, dis­tribut­ing or mod­i­fy­ing the Pro­gram or works based on it.

6. Each time you re­dis­tribute the Pro­gram (or any work based on the Pro­gram), the re­cip­i­ent au­to­mat­i­cally re­ceives a li­cense from the orig­i­nal li­cen­sor to copy, dis­tribute or mod­ify the Pro­gram sub­ject to these terms and con­di­tions. You may not im­pose any fur­ther re­stric­tions on the re­cip­i­ents' ex­er­cise of the rights granted herein. You are not re­spon­si­ble for en­forc­ing com­pli­ance by third par­ties to this Li­cense.

7. If, as a con­se­quence of a court judg­ment or al­le­ga­tion of patent in­fringe­ment or for any other rea­son (not lim­ited to patent is­sues), con­di­tions are im­posed on you (whether by court or­der, agree­ment or oth­er­wise) that con­tra­dict the con­di­tions of this Li­cense, they do not ex­cuse you from the con­di­tions of this Li­cense. If you can­not dis­tribute so as to sat­isfy si­mul­ta­ne­ously your obli­ga­tions un­der this Li­cense and any other per­ti­nent obli­ga­tions, then as a con­se­quence you may not dis­tribute the Pro­gram at all. For ex­am­ple, if a patent li­cense would not per­mit roy­alty-free re­dis­tri­bu­tion of the Pro­gram by all those who re­ceive copies di­rectly or in­di­rectly through you, then the only way you could sat­isfy both it and this Li­cense would be to re­frain en­tirely from dis­tri­bu­tion of the Pro­gram.

If any por­tion of this sec­tion is held in­valid or un­en­force­able un­der any par­tic­u­lar cir­cum­stance, the bal­ance of the sec­tion is in­tended to ap­ply and the sec­tion as a whole is in­tended to ap­ply in other cir­cum­stances.

It is not the pur­pose of this sec­tion to in­duce you to in­fringe any patents or other prop­erty right claims or to con­test va­lid­ity of any such claims; this sec­tion has the sole pur­pose of pro­tect­ing the in­tegrity of the free soft­ware dis­tri­bu­tion sys­tem, which is im­ple­mented by pub­lic li­cense prac­tices. Many peo­ple have made gen­er­ous con­tri­bu­tions to the wide range of soft­ware dis­tributed through that sys­tem in re­liance on con­sis­tent ap­pli­ca­tion of that sys­tem; it is up to the au­thor/donor to de­cide if he or she is will­ing to dis­tribute soft­ware through any other sys­tem and a li­censee can­not im­pose that choice.

This sec­tion is in­tended to make thor­oughly clear what is be­lieved to be a con­se­quence of the rest of this Li­cense.

8. If the dis­tri­bu­tion and/or use of the Pro­gram is re­stricted in cer­tain coun­tries ei­ther by patents or by copy­righted in­ter­faces, the orig­i­nal copy­right holder who places the Pro­gram un­der this Li­cense may add an ex­plicit ge­o­graph­i­cal dis­tri­bu­tion lim­i­ta­tion ex­clud­ing those coun­tries, so that dis­tri­bu­tion is per­mit­ted only in or among coun­tries not thus ex­cluded. In such case, this Li­cense in­cor­po­rates the lim­i­ta­tion as if writ­ten in the body of this Li­cense.

9. The Free Soft­ware Foun­da­tion may pub­lish re­vised and/or new ver­sions of the Gen­eral Public Li­cense from time to time. Such new ver­sions will be sim­i­lar in spirit to the present ver­sion, but may dif­fer in de­tail to ad­dress new prob­lems or con­cerns.

Each ver­sion is given a dis­tin­guish­ing ver­sion num­ber. If the Pro­gram spec­i­fies a ver­sion num­ber of this Li­cense which ap­plies to it and “any later ver­sion”, you have the op­tion of fol­low­ing the terms and con­di­tions ei­ther of that ver­sion or of any later ver­sion pub­lished by the Free Soft­ware Foun­da­tion. If the Pro­gram does not spec­ify a ver­sion num­ber of this Li­cense, you may choose any ver­sion ever pub­lished by the Free Soft­ware Foun­da­tion.

10. If you wish to in­cor­po­rate parts of the Pro­gram into other free pro­grams whose dis­tri­bu­tion con­di­tions are dif­fer­ent, write to the au­thor to ask for per­mis­sion. For soft­ware which is copy­righted by the Free Soft­ware Foun­da­tion, write to the Free Soft­ware Foun­da­tion; we some­times make ex­cep­tions for this. Our de­ci­sion will be guided by the two goals of pre­serv­ing the free sta­tus of all deriva­tives of our free soft­ware and of pro­mot­ing the shar­ing and reuse of soft­ware gen­er­ally.

NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Ap­ply Th­ese Terms to Your New Pro­grams

If you de­velop a new pro­gram, and you want it to be of the great­est pos­si­ble use to the pub­lic, the best way to achieve this is to make it free soft­ware which ev­ery­one can re­dis­tribute and change un­der these terms.

To do so, at­tach the fol­low­ing no­tices to the pro­gram. It is safest to at­tach them to the start of each source file to most ef­fec­tively con­vey the ex­clu­sion of war­ranty; and each file should have at least the “copy­right” line and a pointer to where the full no­tice is found.


one line to give the program's name and an idea of what it does.
Copyright (C) yyyy  name of author

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

Also add in­for­ma­tion on how to con­tact you by elec­tronic and pa­per mail.

If the pro­gram is in­ter­ac­tive, make it out­put a short no­tice like this when it starts in an in­ter­ac­tive mode:

Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
type `show w'.  This is free software, and you are welcome
to redistribute it under certain conditions; type `show c' 
for details.

The hy­po­thet­i­cal com­mands `show w' and `show c' should show the ap­pro­pri­ate parts of the Gen­eral Public Li­cense. Of course, the com­mands you use may be called some­thing other than `show w' and `show c'; they could even be mouse-clicks or menu items–what­ever suits your pro­gram.

You should also get your em­ployer (if you work as a pro­gram­mer) or your school, if any, to sign a “copy­right dis­claimer” for the pro­gram, if nec­es­sary. Here is a sam­ple; al­ter the names:

Yoyodyne, Inc., hereby disclaims all copyright
interest in the program `Gnomovision'
(which makes passes at compilers) written 
by James Hacker.

signature of Ty Coon, 1 April 1989
Ty Coon, President of Vice

This Gen­eral Public Li­cense does not per­mit in­cor­po­rat­ing your pro­gram into pro­pri­etary pro­grams. If your pro­gram is a sub­rou­tine li­brary, you may con­sider it more use­ful to per­mit link­ing pro­pri­etary ap­pli­ca­tions with the li­brary. If this is what you want to do, use the GNU Lesser Gen­eral Public Li­cense in­stead of this Li­cense.

Notes

Fur­ther in­for­ma­tion about this type of li­cense is avail­able from GNU

Attention Please check the soft­ware's li­cense be­fore us­ing the soft­ware.

Guest Book Sitemap Contact 2014-04-23 14:14 CEST