On 9/25/07, Adriaan van Os <[EMAIL PROTECTED]> wrote: > > Michael Van Canneyt wrote: > >> > >> On Sat, 22 Sep 2007, ik wrote: > >> > >>> Hello, > >>> > >>> While trying to work with the library, I have noticed that the > >>> packages/extra/sndfile/sndfile.pp is old, and most of the API there is > >>> obsolete and no longer exists on the library. > >>> > >>> So I have created (from scratch) a new translation for the latest > >>> version (1.0.17) that came out over a year ago. > >> > >> I have committed your translation, thank you very much. > >> > >>> I will send a new demo and the rest of the updates later on this week. > >> > >> That would be good, because the example no longer works now :/ > > > > That's a coincidence ! I have an updated sndfile.pp also, created from > > scratch and breaking the demo program. I uploaded it to > > <http://www.microbizz.nl/sndfile.pas.bz2>. You may want to have a look > > at it. It compiles with both FPC and GPC. > > Another issue is that neither the Readme file nor sndfile.pp mentiones that > sndfile is licensed > under the LGPL <http://www.mega-nerd.com/libsndfile/>. Therefore, I think the > FPC distribution > violates the libsndfile LGPL license, as FPC itself is distributed under the > GPL-with-linking > exception.
Copying from the header I have translated: { ** Copyright (C) 1999-2006 Erik de Castro Lopo <[EMAIL PROTECTED]> ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU Lesser General Public License as published by ** the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. ** ** You should have received a copy of the GNU Lesser General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ... So the source file does mention that it is LGPL. I fully translated the header as-is. > > Regards, > > Adriaan van Os > > P.S. > I suggest to rename the package directory to "libsndfile" as that seems to be > the project's name > <http://www.mega-nerd.com/libsndfile/>. I didn't translate it because of "backward computability" with the old name. At first I thought on doing that. I believe that it was named like so, because of the header name. Ido -- http://ik.homelinux.org/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel