Hello again,

Here's hopefully one more thing that should be fixed. It's an output
change from what's printed when using 'lame --license'. The patch is
attached which applies to the latest release of LAME (not CVS).

This is just a suggested change. LAME could still be redistributed
as-is I believe. However, I think it's best not to give legal
interpretations of the LGPL and instead simply give the generic LGPL
header information.

Andres Mejia
Description: Patch to simply print LGPL licence header when using lame --license

--- lame-3.98.4.orig/frontend/parse.c
+++ lame-3.98.4/frontend/parse.c
@@ -531,39 +531,25 @@ print_license(FILE * const fp)
 {                       /* print version & license */
-            "Can I use LAME in my commercial program?\n"
+            "Copyright (c) 1999-2011 by The LAME Project\n"
+            "Copyright (c) 1999,2000,2001 by Mark Taylor\n"
+            "Copyright (c) 1998 by Michael Cheng\n"
+            "Copyright (c) 1995,1996,1997 by Michael Hipp: mpglib\n" "\n");
+    fprintf(fp,
+            "This library is free software; you can redistribute it and/or\n"
+            "modify it under the terms of the GNU Lesser General Public\n"
+            "License as published by the Free Software Foundation; either\n"
+            "version 2 of the License, or (at your option) any later version.\n"
-            "Yes, you can, under the restrictions of the LGPL.  In particular, you\n"
-            "can include a compiled version of the LAME library (for example,\n"
-            "lame.dll) with a commercial program.  Some notable requirements of\n"
-            "the LGPL:\n" "\n");
-    fprintf(fp,
-            "1. In your program, you cannot include any source code from LAME, with\n"
-            "   the exception of files whose only purpose is to describe the library\n"
-            "   interface (such as lame.h).\n" "\n");
-    fprintf(fp,
-            "2. Any modifications of LAME must be released under the LGPL.\n"
-            "   The LAME project (www.mp3dev.org) would appreciate being\n"
-            "   notified of any modifications.\n" "\n");
-    fprintf(fp,
-            "3. You must give prominent notice that your program is:\n"
-            "      A. using LAME (including version number)\n"
-            "      B. LAME is under the LGPL\n"
-            "      C. Provide a copy of the LGPL.  (the file COPYING contains the LGPL)\n"
-            "      D. Provide a copy of LAME source, or a pointer where the LAME\n"
-            "         source can be obtained (such as www.mp3dev.org)\n"
-            "   An example of prominent notice would be an \"About the LAME encoding engine\"\n"
-            "   button in some pull down menu within the executable of your program.\n" "\n");
-    fprintf(fp,
-            "4. If you determine that distribution of LAME requires a patent license,\n"
-            "   you must obtain such license.\n" "\n" "\n");
-    fprintf(fp,
-            "*** IMPORTANT NOTE ***\n"
+            "This library is distributed in the hope that it will be useful,\n"
+            "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+            "Library General Public License for more details.\n"
-            "The decoding functions provided in LAME use the mpglib decoding engine which\n"
-            "is under the GPL.  They may not be used by any program not released under the\n"
-            "GPL unless you obtain such permission from the MPG123 project (www.mpg123.de).\n"
-            "\n");
+            "You should have received a copy of the GNU Lesser General Public\n"
+            "License along with this program. If not, see\n"
+            "<http://www.gnu.org/licenses/>.\n");
     return 0;
pkg-multimedia-maintainers mailing list

Reply via email to