update Sat Jun 19 06:37:00 PDT 2010
[pkgsrc.git] / licenses / lame-license
1 -=-=-=-=-=-
2 The following is from the README from the lame source:
3 -=-=-=-=-=-
4
5 This code is distributed under the GNU LESSER PUBLIC LICENSE
6 (LGPL, see www.gnu.org) with the following modification:
7
8 1. If you determine that distribution of LAME requires a patent license,
9    and you obtain a patent license, you may distribute LAME even though
10    redistribution of LAME may also require a patent license.  
11
12 2. You agree not to enforce any patent claims for any aspect of
13    MPEG audio compression, or any other techniques contained in 
14    the LAME source code. 
15
16 -=-=-=-=-=-
17 The following is from the LICENSE file from the lame source:
18 -=-=-=-=-=-
19
20 Can I use LAME in my commercial program?  
21
22 Yes, you can, under the restrictions of the LGPL.  The easiest
23 way to do this is to:
24
25 1. Link to LAME as separate library (libmp3lame.a on unix or 
26    lame_enc.dll on windows)
27
28 2. Fully acknowledge that you are using LAME, and give a link
29    to our web site, www.mp3dev.org
30
31 3. If you make modifications to LAME, you *must* release these
32    these modifications back to the LAME project, under the LGPL.
33
34
35 *** IMPORTANT NOTE ***
36
37 The decoding functions provided in LAME use the mpglib decoding engine which
38 is under the GPL.  They may not be used by any program not released under the
39 GPL unless you obtain such permission from the MPG123 project (www.mpg123.de).
40
41 -=-=-=-=-=-=-
42 Running "lame --license" (or viewing frontend/parse.c) reports:
43 -=-=-=-=-=-=-
44
45 LAME version 3.96.1 (http://lame.sourceforge.net/)
46
47 Can I use LAME in my commercial program?
48
49 Yes, you can, under the restrictions of the LGPL.  In particular, you
50 can include a compiled version of the LAME library (for example,
51 lame.dll) with a commercial program.  Some notable requirements of
52 the LGPL:
53
54 1. In your program, you cannot include any source code from LAME, with
55    the exception of files whose only purpose is to describe the library
56    interface (such as lame.h).
57
58 2. Any modifications of LAME must be released under the LGPL.
59    The LAME project (www.mp3dev.org) would appreciate being
60    notified of any modifications.
61
62 3. You must give prominent notice that your program is:
63       A. using LAME (including version number)
64       B. LAME is under the LGPL
65       C. Provide a copy of the LGPL.  (the file COPYING contains the LGPL)
66       D. Provide a copy of LAME source, or a pointer where the LAME
67          source can be obtained (such as www.mp3dev.org)
68    An example of prominent notice would be an "About the LAME encoding engine"
69    button in some pull down menu within the executable of your program.
70
71 4. If you determine that distribution of LAME requires a patent license,
72    you must obtain such license.
73
74
75 *** IMPORTANT NOTE ***
76
77 The decoding functions provided in LAME use the mpglib decoding engine which
78 is under the GPL.  They may not be used by any program not released under the
79 GPL unless you obtain such permission from the MPG123 project (www.mpg123.de).
80
81 -=-=-=-=-=-=-
82 The mpglib/README file included with the lame source says:
83 -=-=-=-=-=-=-
84
85 COPYING: you may use this source under GPL terms!
86
87 PLEASE NOTE: This software may contain patented algorithms (at least
88   patented in some countries). It may be not allowed to sell/use products
89   based on this source code in these countries. Check this out first!
90
91 -=-=-=-=-=-=-
92 The libmp3lame/fft.c file from the source includes:
93 -=-=-=-=-=-=-
94
95 ** NOTE: This routine uses at least 2 patented algorithms, and may be
96 **       under the restrictions of a bunch of different organizations.
97 **       Although I wrote it completely myself; it is kind of a derivative
98 **       of a routine I once authored and released under the GPL, so it
99 **       may fall under the free software foundation's restrictions;
100 **       it was worked on as a Stanford Univ project, so they claim
101 **       some rights to it; it was further optimized at work here, so
102 **       I think this company claims parts of it.  The patents are
103 **       held by R. Bracewell (the FHT algorithm) and O. Buneman (the
104 **       trig generator), both at Stanford Univ.
105 **       If it were up to me, I'd say go do whatever you want with it;
106 **       but it would be polite to give credit to the following people
107 **       if you use this anywhere:
108 **           Euler     - probable inventor of the fourier transform.
109 **           Gauss     - probable inventor of the FFT.
110 **           Hartley   - probable inventor of the hartley transform.
111 **           Buneman   - for a really cool trig generator
112 **           Mayer(me) - for authoring this particular version and
113 **                       including all the optimizations in one package.
114 **       Thanks,
115 **       Ron Mayer; mayer@acuson.com
116
117 -=-=-=-=-
118 Although lame_enc.dll is not included with the package, the
119 Dll/LameDLLInterface.htm webpage (included with the source) says:
120 -=-=-=-=-
121
122 People and companies who wants to distribute
123 lame_enc.dll with their commercial products are free to do so as
124 far as I'm concerned (LGPL license), but should be aware that
125 lame_enc.dll might infringe certain MP3 related software patents
126 held by Fraunhofer IIS in certain countries.
127
128 -=-=-=-=-=-
129 Also see
130 http://www.mp3licensing.com/help/developers.html#55
131 and section 11 in the LGPL and section 7 in the GPL.