Eike Lange wrote:
Hi Adrian and List!
On Thu, Jul 15, 2004 at 05:37:01PM +0200, Adriaan van Os wrote:
From http://www.gnu-pascal.de/contrib/eike/ I downloaded GPC interfaces to mySQL, contributed by Eike Lange - thanks Eike for contributing them. With some necessary changes, I got things working on Mac OS X.
Would you like to contribute these changes?
Now, we have an "original work" copyrighted by MySQL AB and licensed under the GPL, plus a "new work" based on the "original work" copyrighted partly by Eike Lange and licensed under the LGPL. From a lawyers point of view - I don't think that this is all correct.
At least in my MySQL version (3.23.x), which I think also Eike's work was based upon, mysql.h is under the LGPL, not GPL.
Adriaan van Os wrote:
All units coming along with GNU-Pascal have this header on top, so why shouldn't my unit?
No, most of the GPC runtime comes with the following statement:
GNU Pascal 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, or (at your option) any later version.
GNU Pascal 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 GNU Pascal; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
As a special exception, if you link this file with files compiled with a GNU compiler to produce an executable, this does not cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. }
Adding this last restriction would not be allowed, I suppose, since it's a derived work.
Since the original work (mysql.h) is under LGPL, the derived work (mysql.pas) must be under the LGPL as well or under the GPL without exceptions (which the LGPL explictly permits).
Frank