Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. This is the file that contains the terms of use, copying, etc. for the mpg123 distribution package.
  2.  
  3. Main message:
  4.  
  5.         Code is copyrighted by Michael Hipp, who made it free software under the terms of the LGPL 2.1.
  6.  
  7. But that is not all of it.
  8. mpg123 is licensed under the GNU General Lesser Public License, version 2.1, and in parts under the GNU General Public License, version 2.
  9. That means that _all_ of mpg123 is licensed under GPL and the major part also under the LGPL.
  10.  
  11. Actually, the "major part" currently is the whole distributed package of mpg123. There are some files (old alsa output, libao output) that you get from our svn repository and that do not fall under LGPL.
  12.  
  13. When the copyright marker in a source file says "the mpg123 project" that means that the file contains code copyrighted by contributors to mpg123, the "initially written by" naming the person(s) that created the file and thus may have the largest part of copyrights on it.
  14. I am explaining this here to emphasize that the copyright always actually lies by the individual member (i.e. contributor to) of the mpg123 project who wrote a specific section of code.
  15. Usage of a source code management system like Subversion should provide keeping track of individual copyright traces...
  16.  
  17. Please consider that any code that is contributed to the mpg123 project shall be licensed under LGPL 2.1 .
  18. If you want to contribute, but don't agree to that (i.e. you want to have your code GPL only) please say so - then, we either you convince is to include your code under GPL, we convince you to make it LGPL instead or, as a last resort, you'll have to do you own GPLed fork.
  19. But we should try to avoid the last option...
  20.  
  21. All files in the distribution that don't carry a license note on their own are licensed under the terms of the LGPL 2.1; all files that do carry either a LGPL or GPL note are licensed respectively under the LGPL or GPL as follows:
  22.  
  23.  
  24. =======================
  25. 1. The LGPL version 2.1
  26. =======================
  27.  
  28.  
  29.   GNU LESSER GENERAL PUBLIC LICENSE
  30.        Version 2.1, February 1999
  31.  
  32.  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  33.  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  34.  Everyone is permitted to copy and distribute verbatim copies
  35.  of this license document, but changing it is not allowed.
  36.  
  37. [This is the first released version of the Lesser GPL.  It also counts
  38.  as the successor of the GNU Library Public License, version 2, hence
  39.  the version number 2.1.]
  40.  
  41.     Preamble
  42.  
  43.   The licenses for most software are designed to take away your
  44. freedom to share and change it.  By contrast, the GNU General Public
  45. Licenses are intended to guarantee your freedom to share and change
  46. free software--to make sure the software is free for all its users.
  47.  
  48.   This license, the Lesser General Public License, applies to some
  49. specially designated software packages--typically libraries--of the
  50. Free Software Foundation and other authors who decide to use it.  You
  51. can use it too, but we suggest you first think carefully about whether
  52. this license or the ordinary General Public License is the better
  53. strategy to use in any particular case, based on the explanations below.
  54.  
  55.   When we speak of free software, we are referring to freedom of use,
  56. not price.  Our General Public Licenses are designed to make sure that
  57. you have the freedom to distribute copies of free software (and charge
  58. for this service if you wish); that you receive source code or can get
  59. it if you want it; that you can change the software and use pieces of
  60. it in new free programs; and that you are informed that you can do
  61. these things.
  62.  
  63.   To protect your rights, we need to make restrictions that forbid
  64. distributors to deny you these rights or to ask you to surrender these
  65. rights.  These restrictions translate to certain responsibilities for
  66. you if you distribute copies of the library or if you modify it.
  67.  
  68.   For example, if you distribute copies of the library, whether gratis
  69. or for a fee, you must give the recipients all the rights that we gave
  70. you.  You must make sure that they, too, receive or can get the source
  71. code.  If you link other code with the library, you must provide
  72. complete object files to the recipients, so that they can relink them
  73. with the library after making changes to the library and recompiling
  74. it.  And you must show them these terms so they know their rights.
  75.  
  76.   We protect your rights with a two-step method: (1) we copyright the
  77. library, and (2) we offer you this license, which gives you legal
  78. permission to copy, distribute and/or modify the library.
  79.  
  80.   To protect each distributor, we want to make it very clear that
  81. there is no warranty for the free library.  Also, if the library is
  82. modified by someone else and passed on, the recipients should know
  83. that what they have is not the original version, so that the original
  84. author's reputation will not be affected by problems that might be
  85. introduced by others.
  86.  
  87.   Finally, software patents pose a constant threat to the existence of
  88. any free program.  We wish to make sure that a company cannot
  89. effectively restrict the users of a free program by obtaining a
  90. restrictive license from a patent holder.  Therefore, we insist that
  91. any patent license obtained for a version of the library must be
  92. consistent with the full freedom of use specified in this license.
  93.  
  94.   Most GNU software, including some libraries, is covered by the
  95. ordinary GNU General Public License.  This license, the GNU Lesser
  96. General Public License, applies to certain designated libraries, and
  97. is quite different from the ordinary General Public License.  We use
  98. this license for certain libraries in order to permit linking those
  99. libraries into non-free programs.
  100.  
  101.   When a program is linked with a library, whether statically or using
  102. a shared library, the combination of the two is legally speaking a
  103. combined work, a derivative of the original library.  The ordinary
  104. General Public License therefore permits such linking only if the
  105. entire combination fits its criteria of freedom.  The Lesser General
  106. Public License permits more lax criteria for linking other code with
  107. the library.
  108.  
  109.   We call this license the "Lesser" General Public License because it
  110. does Less to protect the user's freedom than the ordinary General
  111. Public License.  It also provides other free software developers Less
  112. of an advantage over competing non-free programs.  These disadvantages
  113. are the reason we use the ordinary General Public License for many
  114. libraries.  However, the Lesser license provides advantages in certain
  115. special circumstances.
  116.  
  117.   For example, on rare occasions, there may be a special need to
  118. encourage the widest possible use of a certain library, so that it becomes
  119. a de-facto standard.  To achieve this, non-free programs must be
  120. allowed to use the library.  A more frequent case is that a free
  121. library does the same job as widely used non-free libraries.  In this
  122. case, there is little to gain by limiting the free library to free
  123. software only, so we use the Lesser General Public License.
  124.  
  125.   In other cases, permission to use a particular library in non-free
  126. programs enables a greater number of people to use a large body of
  127. free software.  For example, permission to use the GNU C Library in
  128. non-free programs enables many more people to use the whole GNU
  129. operating system, as well as its variant, the GNU/Linux operating
  130. system.
  131.  
  132.   Although the Lesser General Public License is Less protective of the
  133. users' freedom, it does ensure that the user of a program that is
  134. linked with the Library has the freedom and the wherewithal to run
  135. that program using a modified version of the Library.
  136.  
  137.   The precise terms and conditions for copying, distribution and
  138. modification follow.  Pay close attention to the difference between a
  139. "work based on the library" and a "work that uses the library".  The
  140. former contains code derived from the library, whereas the latter must
  141. be combined with the library in order to run.
  142.  
  143.   GNU LESSER GENERAL PUBLIC LICENSE
  144.    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  145.  
  146.   0. This License Agreement applies to any software library or other
  147. program which contains a notice placed by the copyright holder or
  148. other authorized party saying it may be distributed under the terms of
  149. this Lesser General Public License (also called "this License").
  150. Each licensee is addressed as "you".
  151.  
  152.   A "library" means a collection of software functions and/or data
  153. prepared so as to be conveniently linked with application programs
  154. (which use some of those functions and data) to form executables.
  155.  
  156.   The "Library", below, refers to any such software library or work
  157. which has been distributed under these terms.  A "work based on the
  158. Library" means either the Library or any derivative work under
  159. copyright law: that is to say, a work containing the Library or a
  160. portion of it, either verbatim or with modifications and/or translated
  161. straightforwardly into another language.  (Hereinafter, translation is
  162. included without limitation in the term "modification".)
  163.  
  164.   "Source code" for a work means the preferred form of the work for
  165. making modifications to it.  For a library, complete source code means
  166. all the source code for all modules it contains, plus any associated
  167. interface definition files, plus the scripts used to control compilation
  168. and installation of the library.
  169.  
  170.   Activities other than copying, distribution and modification are not
  171. covered by this License; they are outside its scope.  The act of
  172. running a program using the Library is not restricted, and output from
  173. such a program is covered only if its contents constitute a work based
  174. on the Library (independent of the use of the Library in a tool for
  175. writing it).  Whether that is true depends on what the Library does
  176. and what the program that uses the Library does.
  177.  
  178.   1. You may copy and distribute verbatim copies of the Library's
  179. complete source code as you receive it, in any medium, provided that
  180. you conspicuously and appropriately publish on each copy an
  181. appropriate copyright notice and disclaimer of warranty; keep intact
  182. all the notices that refer to this License and to the absence of any
  183. warranty; and distribute a copy of this License along with the
  184. Library.
  185.  
  186.   You may charge a fee for the physical act of transferring a copy,
  187. and you may at your option offer warranty protection in exchange for a
  188. fee.
  189.  
  190.   2. You may modify your copy or copies of the Library or any portion
  191. of it, thus forming a work based on the Library, and copy and
  192. distribute such modifications or work under the terms of Section 1
  193. above, provided that you also meet all of these conditions:
  194.  
  195.     a) The modified work must itself be a software library.
  196.  
  197.     b) You must cause the files modified to carry prominent notices
  198.     stating that you changed the files and the date of any change.
  199.  
  200.     c) You must cause the whole of the work to be licensed at no
  201.     charge to all third parties under the terms of this License.
  202.  
  203.     d) If a facility in the modified Library refers to a function or a
  204.     table of data to be supplied by an application program that uses
  205.     the facility, other than as an argument passed when the facility
  206.     is invoked, then you must make a good faith effort to ensure that,
  207.     in the event an application does not supply such function or
  208.     table, the facility still operates, and performs whatever part of
  209.     its purpose remains meaningful.
  210.  
  211.     (For example, a function in a library to compute square roots has
  212.     a purpose that is entirely well-defined independent of the
  213.     application.  Therefore, Subsection 2d requires that any
  214.     application-supplied function or table used by this function must
  215.     be optional: if the application does not supply it, the square
  216.     root function must still compute square roots.)
  217.  
  218. These requirements apply to the modified work as a whole.  If
  219. identifiable sections of that work are not derived from the Library,
  220. and can be reasonably considered independent and separate works in
  221. themselves, then this License, and its terms, do not apply to those
  222. sections when you distribute them as separate works.  But when you
  223. distribute the same sections as part of a whole which is a work based
  224. on the Library, the distribution of the whole must be on the terms of
  225. this License, whose permissions for other licensees extend to the
  226. entire whole, and thus to each and every part regardless of who wrote
  227. it.
  228.  
  229. Thus, it is not the intent of this section to claim rights or contest
  230. your rights to work written entirely by you; rather, the intent is to
  231. exercise the right to control the distribution of derivative or
  232. collective works based on the Library.
  233.  
  234. In addition, mere aggregation of another work not based on the Library
  235. with the Library (or with a work based on the Library) on a volume of
  236. a storage or distribution medium does not bring the other work under
  237. the scope of this License.
  238.  
  239.   3. You may opt to apply the terms of the ordinary GNU General Public
  240. License instead of this License to a given copy of the Library.  To do
  241. this, you must alter all the notices that refer to this License, so
  242. that they refer to the ordinary GNU General Public License, version 2,
  243. instead of to this License.  (If a newer version than version 2 of the
  244. ordinary GNU General Public License has appeared, then you can specify
  245. that version instead if you wish.)  Do not make any other change in
  246. these notices.
  247.  
  248.   Once this change is made in a given copy, it is irreversible for
  249. that copy, so the ordinary GNU General Public License applies to all
  250. subsequent copies and derivative works made from that copy.
  251.  
  252.   This option is useful when you wish to copy part of the code of
  253. the Library into a program that is not a library.
  254.  
  255.   4. You may copy and distribute the Library (or a portion or
  256. derivative of it, under Section 2) in object code or executable form
  257. under the terms of Sections 1 and 2 above provided that you accompany
  258. it with the complete corresponding machine-readable source code, which
  259. must be distributed under the terms of Sections 1 and 2 above on a
  260. medium customarily used for software interchange.
  261.  
  262.   If distribution of object code is made by offering access to copy
  263. from a designated place, then offering equivalent access to copy the
  264. source code from the same place satisfies the requirement to
  265. distribute the source code, even though third parties are not
  266. compelled to copy the source along with the object code.
  267.  
  268.   5. A program that contains no derivative of any portion of the
  269. Library, but is designed to work with the Library by being compiled or
  270. linked with it, is called a "work that uses the Library".  Such a
  271. work, in isolation, is not a derivative work of the Library, and
  272. therefore falls outside the scope of this License.
  273.  
  274.   However, linking a "work that uses the Library" with the Library
  275. creates an executable that is a derivative of the Library (because it
  276. contains portions of the Library), rather than a "work that uses the
  277. library".  The executable is therefore covered by this License.
  278. Section 6 states terms for distribution of such executables.
  279.  
  280.   When a "work that uses the Library" uses material from a header file
  281. that is part of the Library, the object code for the work may be a
  282. derivative work of the Library even though the source code is not.
  283. Whether this is true is especially significant if the work can be
  284. linked without the Library, or if the work is itself a library.  The
  285. threshold for this to be true is not precisely defined by law.
  286.  
  287.   If such an object file uses only numerical parameters, data
  288. structure layouts and accessors, and small macros and small inline
  289. functions (ten lines or less in length), then the use of the object
  290. file is unrestricted, regardless of whether it is legally a derivative
  291. work.  (Executables containing this object code plus portions of the
  292. Library will still fall under Section 6.)
  293.  
  294.   Otherwise, if the work is a derivative of the Library, you may
  295. distribute the object code for the work under the terms of Section 6.
  296. Any executables containing that work also fall under Section 6,
  297. whether or not they are linked directly with the Library itself.
  298.  
  299.   6. As an exception to the Sections above, you may also combine or
  300. link a "work that uses the Library" with the Library to produce a
  301. work containing portions of the Library, and distribute that work
  302. under terms of your choice, provided that the terms permit
  303. modification of the work for the customer's own use and reverse
  304. engineering for debugging such modifications.
  305.  
  306.   You must give prominent notice with each copy of the work that the
  307. Library is used in it and that the Library and its use are covered by
  308. this License.  You must supply a copy of this License.  If the work
  309. during execution displays copyright notices, you must include the
  310. copyright notice for the Library among them, as well as a reference
  311. directing the user to the copy of this License.  Also, you must do one
  312. of these things:
  313.  
  314.     a) Accompany the work with the complete corresponding
  315.     machine-readable source code for the Library including whatever
  316.     changes were used in the work (which must be distributed under
  317.     Sections 1 and 2 above); and, if the work is an executable linked
  318.     with the Library, with the complete machine-readable "work that
  319.     uses the Library", as object code and/or source code, so that the
  320.     user can modify the Library and then relink to produce a modified
  321.     executable containing the modified Library.  (It is understood
  322.     that the user who changes the contents of definitions files in the
  323.     Library will not necessarily be able to recompile the application
  324.     to use the modified definitions.)
  325.  
  326.     b) Use a suitable shared library mechanism for linking with the
  327.     Library.  A suitable mechanism is one that (1) uses at run time a
  328.     copy of the library already present on the user's computer system,
  329.     rather than copying library functions into the executable, and (2)
  330.     will operate properly with a modified version of the library, if
  331.     the user installs one, as long as the modified version is
  332.     interface-compatible with the version that the work was made with.
  333.  
  334.     c) Accompany the work with a written offer, valid for at
  335.     least three years, to give the same user the materials
  336.     specified in Subsection 6a, above, for a charge no more
  337.     than the cost of performing this distribution.
  338.  
  339.     d) If distribution of the work is made by offering access to copy
  340.     from a designated place, offer equivalent access to copy the above
  341.     specified materials from the same place.
  342.  
  343.     e) Verify that the user has already received a copy of these
  344.     materials or that you have already sent this user a copy.
  345.  
  346.   For an executable, the required form of the "work that uses the
  347. Library" must include any data and utility programs needed for
  348. reproducing the executable from it.  However, as a special exception,
  349. the materials to be distributed need not include anything that is
  350. normally distributed (in either source or binary form) with the major
  351. components (compiler, kernel, and so on) of the operating system on
  352. which the executable runs, unless that component itself accompanies
  353. the executable.
  354.  
  355.   It may happen that this requirement contradicts the license
  356. restrictions of other proprietary libraries that do not normally
  357. accompany the operating system.  Such a contradiction means you cannot
  358. use both them and the Library together in an executable that you
  359. distribute.
  360.  
  361.   7. You may place library facilities that are a work based on the
  362. Library side-by-side in a single library together with other library
  363. facilities not covered by this License, and distribute such a combined
  364. library, provided that the separate distribution of the work based on
  365. the Library and of the other library facilities is otherwise
  366. permitted, and provided that you do these two things:
  367.  
  368.     a) Accompany the combined library with a copy of the same work
  369.     based on the Library, uncombined with any other library
  370.     facilities.  This must be distributed under the terms of the
  371.     Sections above.
  372.  
  373.     b) Give prominent notice with the combined library of the fact
  374.     that part of it is a work based on the Library, and explaining
  375.     where to find the accompanying uncombined form of the same work.
  376.  
  377.   8. You may not copy, modify, sublicense, link with, or distribute
  378. the Library except as expressly provided under this License.  Any
  379. attempt otherwise to copy, modify, sublicense, link with, or
  380. distribute the Library is void, and will automatically terminate your
  381. rights under this License.  However, parties who have received copies,
  382. or rights, from you under this License will not have their licenses
  383. terminated so long as such parties remain in full compliance.
  384.  
  385.   9. You are not required to accept this License, since you have not
  386. signed it.  However, nothing else grants you permission to modify or
  387. distribute the Library or its derivative works.  These actions are
  388. prohibited by law if you do not accept this License.  Therefore, by
  389. modifying or distributing the Library (or any work based on the
  390. Library), you indicate your acceptance of this License to do so, and
  391. all its terms and conditions for copying, distributing or modifying
  392. the Library or works based on it.
  393.  
  394.   10. Each time you redistribute the Library (or any work based on the
  395. Library), the recipient automatically receives a license from the
  396. original licensor to copy, distribute, link with or modify the Library
  397. subject to these terms and conditions.  You may not impose any further
  398. restrictions on the recipients' exercise of the rights granted herein.
  399. You are not responsible for enforcing compliance by third parties with
  400. this License.
  401.  
  402.   11. If, as a consequence of a court judgment or allegation of patent
  403. infringement or for any other reason (not limited to patent issues),
  404. conditions are imposed on you (whether by court order, agreement or
  405. otherwise) that contradict the conditions of this License, they do not
  406. excuse you from the conditions of this License.  If you cannot
  407. distribute so as to satisfy simultaneously your obligations under this
  408. License and any other pertinent obligations, then as a consequence you
  409. may not distribute the Library at all.  For example, if a patent
  410. license would not permit royalty-free redistribution of the Library by
  411. all those who receive copies directly or indirectly through you, then
  412. the only way you could satisfy both it and this License would be to
  413. refrain entirely from distribution of the Library.
  414.  
  415. If any portion of this section is held invalid or unenforceable under any
  416. particular circumstance, the balance of the section is intended to apply,
  417. and the section as a whole is intended to apply in other circumstances.
  418.  
  419. It is not the purpose of this section to induce you to infringe any
  420. patents or other property right claims or to contest validity of any
  421. such claims; this section has the sole purpose of protecting the
  422. integrity of the free software distribution system which is
  423. implemented by public license practices.  Many people have made
  424. generous contributions to the wide range of software distributed
  425. through that system in reliance on consistent application of that
  426. system; it is up to the author/donor to decide if he or she is willing
  427. to distribute software through any other system and a licensee cannot
  428. impose that choice.
  429.  
  430. This section is intended to make thoroughly clear what is believed to
  431. be a consequence of the rest of this License.
  432.  
  433.   12. If the distribution and/or use of the Library is restricted in
  434. certain countries either by patents or by copyrighted interfaces, the
  435. original copyright holder who places the Library under this License may add
  436. an explicit geographical distribution limitation excluding those countries,
  437. so that distribution is permitted only in or among countries not thus
  438. excluded.  In such case, this License incorporates the limitation as if
  439. written in the body of this License.
  440.  
  441.   13. The Free Software Foundation may publish revised and/or new
  442. versions of the Lesser General Public License from time to time.
  443. Such new versions will be similar in spirit to the present version,
  444. but may differ in detail to address new problems or concerns.
  445.  
  446. Each version is given a distinguishing version number.  If the Library
  447. specifies a version number of this License which applies to it and
  448. "any later version", you have the option of following the terms and
  449. conditions either of that version or of any later version published by
  450. the Free Software Foundation.  If the Library does not specify a
  451. license version number, you may choose any version ever published by
  452. the Free Software Foundation.
  453.  
  454.   14. If you wish to incorporate parts of the Library into other free
  455. programs whose distribution conditions are incompatible with these,
  456. write to the author to ask for permission.  For software which is
  457. copyrighted by the Free Software Foundation, write to the Free
  458. Software Foundation; we sometimes make exceptions for this.  Our
  459. decision will be guided by the two goals of preserving the free status
  460. of all derivatives of our free software and of promoting the sharing
  461. and reuse of software generally.
  462.  
  463.     NO WARRANTY
  464.  
  465.   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  466. WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  467. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  468. OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  469. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  470. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  471. PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  472. LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  473. THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  474.  
  475.   16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  476. WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  477. AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  478. FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  479. CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  480. LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  481. RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  482. FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  483. SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  484. DAMAGES.
  485.  
  486.      END OF TERMS AND CONDITIONS
  487.  
  488.  
  489. ====================
  490. 2. The GPL version 2
  491. ====================
  492.  
  493.  
  494.    GNU GENERAL PUBLIC LICENSE
  495.        Version 2, June 1991
  496.  
  497.  Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
  498.  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  499.  Everyone is permitted to copy and distribute verbatim copies
  500.  of this license document, but changing it is not allowed.
  501.  
  502.     Preamble
  503.  
  504.   The licenses for most software are designed to take away your
  505. freedom to share and change it.  By contrast, the GNU General Public
  506. License is intended to guarantee your freedom to share and change free
  507. software--to make sure the software is free for all its users.  This
  508. General Public License applies to most of the Free Software
  509. Foundation's software and to any other program whose authors commit to
  510. using it.  (Some other Free Software Foundation software is covered by
  511. the GNU Lesser General Public License instead.)  You can apply it to
  512. your programs, too.
  513.  
  514.   When we speak of free software, we are referring to freedom, not
  515. price.  Our General Public Licenses are designed to make sure that you
  516. have the freedom to distribute copies of free software (and charge for
  517. this service if you wish), that you receive source code or can get it
  518. if you want it, that you can change the software or use pieces of it
  519. in new free programs; and that you know you can do these things.
  520.  
  521.   To protect your rights, we need to make restrictions that forbid
  522. anyone to deny you these rights or to ask you to surrender the rights.
  523. These restrictions translate to certain responsibilities for you if you
  524. distribute copies of the software, or if you modify it.
  525.  
  526.   For example, if you distribute copies of such a program, whether
  527. gratis or for a fee, you must give the recipients all the rights that
  528. you have.  You must make sure that they, too, receive or can get the
  529. source code.  And you must show them these terms so they know their
  530. rights.
  531.  
  532.   We protect your rights with two steps: (1) copyright the software, and
  533. (2) offer you this license which gives you legal permission to copy,
  534. distribute and/or modify the software.
  535.  
  536.   Also, for each author's protection and ours, we want to make certain
  537. that everyone understands that there is no warranty for this free
  538. software.  If the software is modified by someone else and passed on, we
  539. want its recipients to know that what they have is not the original, so
  540. that any problems introduced by others will not reflect on the original
  541. authors' reputations.
  542.  
  543.   Finally, any free program is threatened constantly by software
  544. patents.  We wish to avoid the danger that redistributors of a free
  545. program will individually obtain patent licenses, in effect making the
  546. program proprietary.  To prevent this, we have made it clear that any
  547. patent must be licensed for everyone's free use or not licensed at all.
  548.  
  549.   The precise terms and conditions for copying, distribution and
  550. modification follow.
  551.  
  552.     GNU GENERAL PUBLIC LICENSE
  553.    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  554.  
  555.   0. This License applies to any program or other work which contains
  556. a notice placed by the copyright holder saying it may be distributed
  557. under the terms of this General Public License.  The "Program", below,
  558. refers to any such program or work, and a "work based on the Program"
  559. means either the Program or any derivative work under copyright law:
  560. that is to say, a work containing the Program or a portion of it,
  561. either verbatim or with modifications and/or translated into another
  562. language.  (Hereinafter, translation is included without limitation in
  563. the term "modification".)  Each licensee is addressed as "you".
  564.  
  565. Activities other than copying, distribution and modification are not
  566. covered by this License; they are outside its scope.  The act of
  567. running the Program is not restricted, and the output from the Program
  568. is covered only if its contents constitute a work based on the
  569. Program (independent of having been made by running the Program).
  570. Whether that is true depends on what the Program does.
  571.  
  572.   1. You may copy and distribute verbatim copies of the Program's
  573. source code as you receive it, in any medium, provided that you
  574. conspicuously and appropriately publish on each copy an appropriate
  575. copyright notice and disclaimer of warranty; keep intact all the
  576. notices that refer to this License and to the absence of any warranty;
  577. and give any other recipients of the Program a copy of this License
  578. along with the Program.
  579.  
  580. You may charge a fee for the physical act of transferring a copy, and
  581. you may at your option offer warranty protection in exchange for a fee.
  582.  
  583.   2. You may modify your copy or copies of the Program or any portion
  584. of it, thus forming a work based on the Program, and copy and
  585. distribute such modifications or work under the terms of Section 1
  586. above, provided that you also meet all of these conditions:
  587.  
  588.     a) You must cause the modified files to carry prominent notices
  589.     stating that you changed the files and the date of any change.
  590.  
  591.     b) You must cause any work that you distribute or publish, that in
  592.     whole or in part contains or is derived from the Program or any
  593.     part thereof, to be licensed as a whole at no charge to all third
  594.     parties under the terms of this License.
  595.  
  596.     c) If the modified program normally reads commands interactively
  597.     when run, you must cause it, when started running for such
  598.     interactive use in the most ordinary way, to print or display an
  599.     announcement including an appropriate copyright notice and a
  600.     notice that there is no warranty (or else, saying that you provide
  601.     a warranty) and that users may redistribute the program under
  602.     these conditions, and telling the user how to view a copy of this
  603.     License.  (Exception: if the Program itself is interactive but
  604.     does not normally print such an announcement, your work based on
  605.     the Program is not required to print an announcement.)
  606.  
  607. These requirements apply to the modified work as a whole.  If
  608. identifiable sections of that work are not derived from the Program,
  609. and can be reasonably considered independent and separate works in
  610. themselves, then this License, and its terms, do not apply to those
  611. sections when you distribute them as separate works.  But when you
  612. distribute the same sections as part of a whole which is a work based
  613. on the Program, the distribution of the whole must be on the terms of
  614. this License, whose permissions for other licensees extend to the
  615. entire whole, and thus to each and every part regardless of who wrote it.
  616.  
  617. Thus, it is not the intent of this section to claim rights or contest
  618. your rights to work written entirely by you; rather, the intent is to
  619. exercise the right to control the distribution of derivative or
  620. collective works based on the Program.
  621.  
  622. In addition, mere aggregation of another work not based on the Program
  623. with the Program (or with a work based on the Program) on a volume of
  624. a storage or distribution medium does not bring the other work under
  625. the scope of this License.
  626.  
  627.   3. You may copy and distribute the Program (or a work based on it,
  628. under Section 2) in object code or executable form under the terms of
  629. Sections 1 and 2 above provided that you also do one of the following:
  630.  
  631.     a) Accompany it with the complete corresponding machine-readable
  632.     source code, which must be distributed under the terms of Sections
  633.     1 and 2 above on a medium customarily used for software interchange; or,
  634.  
  635.     b) Accompany it with a written offer, valid for at least three
  636.     years, to give any third party, for a charge no more than your
  637.     cost of physically performing source distribution, a complete
  638.     machine-readable copy of the corresponding source code, to be
  639.     distributed under the terms of Sections 1 and 2 above on a medium
  640.     customarily used for software interchange; or,
  641.  
  642.     c) Accompany it with the information you received as to the offer
  643.     to distribute corresponding source code.  (This alternative is
  644.     allowed only for noncommercial distribution and only if you
  645.     received the program in object code or executable form with such
  646.     an offer, in accord with Subsection b above.)
  647.  
  648. The source code for a work means the preferred form of the work for
  649. making modifications to it.  For an executable work, complete source
  650. code means all the source code for all modules it contains, plus any
  651. associated interface definition files, plus the scripts used to
  652. control compilation and installation of the executable.  However, as a
  653. special exception, the source code distributed need not include
  654. anything that is normally distributed (in either source or binary
  655. form) with the major components (compiler, kernel, and so on) of the
  656. operating system on which the executable runs, unless that component
  657. itself accompanies the executable.
  658.  
  659. If distribution of executable or object code is made by offering
  660. access to copy from a designated place, then offering equivalent
  661. access to copy the source code from the same place counts as
  662. distribution of the source code, even though third parties are not
  663. compelled to copy the source along with the object code.
  664.  
  665.   4. You may not copy, modify, sublicense, or distribute the Program
  666. except as expressly provided under this License.  Any attempt
  667. otherwise to copy, modify, sublicense or distribute the Program is
  668. void, and will automatically terminate your rights under this License.
  669. However, parties who have received copies, or rights, from you under
  670. this License will not have their licenses terminated so long as such
  671. parties remain in full compliance.
  672.  
  673.   5. You are not required to accept this License, since you have not
  674. signed it.  However, nothing else grants you permission to modify or
  675. distribute the Program or its derivative works.  These actions are
  676. prohibited by law if you do not accept this License.  Therefore, by
  677. modifying or distributing the Program (or any work based on the
  678. Program), you indicate your acceptance of this License to do so, and
  679. all its terms and conditions for copying, distributing or modifying
  680. the Program or works based on it.
  681.  
  682.   6. Each time you redistribute the Program (or any work based on the
  683. Program), the recipient automatically receives a license from the
  684. original licensor to copy, distribute or modify the Program subject to
  685. these terms and conditions.  You may not impose any further
  686. restrictions on the recipients' exercise of the rights granted herein.
  687. You are not responsible for enforcing compliance by third parties to
  688. this License.
  689.  
  690.   7. If, as a consequence of a court judgment or allegation of patent
  691. infringement or for any other reason (not limited to patent issues),
  692. conditions are imposed on you (whether by court order, agreement or
  693. otherwise) that contradict the conditions of this License, they do not
  694. excuse you from the conditions of this License.  If you cannot
  695. distribute so as to satisfy simultaneously your obligations under this
  696. License and any other pertinent obligations, then as a consequence you
  697. may not distribute the Program at all.  For example, if a patent
  698. license would not permit royalty-free redistribution of the Program by
  699. all those who receive copies directly or indirectly through you, then
  700. the only way you could satisfy both it and this License would be to
  701. refrain entirely from distribution of the Program.
  702.  
  703. If any portion of this section is held invalid or unenforceable under
  704. any particular circumstance, the balance of the section is intended to
  705. apply and the section as a whole is intended to apply in other
  706. circumstances.
  707.  
  708. It is not the purpose of this section to induce you to infringe any
  709. patents or other property right claims or to contest validity of any
  710. such claims; this section has the sole purpose of protecting the
  711. integrity of the free software distribution system, which is
  712. implemented by public license practices.  Many people have made
  713. generous contributions to the wide range of software distributed
  714. through that system in reliance on consistent application of that
  715. system; it is up to the author/donor to decide if he or she is willing
  716. to distribute software through any other system and a licensee cannot
  717. impose that choice.
  718.  
  719. This section is intended to make thoroughly clear what is believed to
  720. be a consequence of the rest of this License.
  721.  
  722.   8. If the distribution and/or use of the Program is restricted in
  723. certain countries either by patents or by copyrighted interfaces, the
  724. original copyright holder who places the Program under this License
  725. may add an explicit geographical distribution limitation excluding
  726. those countries, so that distribution is permitted only in or among
  727. countries not thus excluded.  In such case, this License incorporates
  728. the limitation as if written in the body of this License.
  729.  
  730.   9. The Free Software Foundation may publish revised and/or new versions
  731. of the General Public License from time to time.  Such new versions will
  732. be similar in spirit to the present version, but may differ in detail to
  733. address new problems or concerns.
  734.  
  735. Each version is given a distinguishing version number.  If the Program
  736. specifies a version number of this License which applies to it and "any
  737. later version", you have the option of following the terms and conditions
  738. either of that version or of any later version published by the Free
  739. Software Foundation.  If the Program does not specify a version number of
  740. this License, you may choose any version ever published by the Free Software
  741. Foundation.
  742.  
  743.   10. If you wish to incorporate parts of the Program into other free
  744. programs whose distribution conditions are different, write to the author
  745. to ask for permission.  For software which is copyrighted by the Free
  746. Software Foundation, write to the Free Software Foundation; we sometimes
  747. make exceptions for this.  Our decision will be guided by the two goals
  748. of preserving the free status of all derivatives of our free software and
  749. of promoting the sharing and reuse of software generally.
  750.  
  751.     NO WARRANTY
  752.  
  753.   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  754. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
  755. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  756. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  757. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  758. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
  759. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  760. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  761. REPAIR OR CORRECTION.
  762.  
  763.   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  764. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  765. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  766. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  767. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  768. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  769. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  770. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  771. POSSIBILITY OF SUCH DAMAGES.
  772.  
  773.      END OF TERMS AND CONDITIONS
  774.