[fpc-devel] graph module

Daniël Mantione daniel.mantione at freepascal.org
Fri Mar 9 19:07:55 CET 2007



Op Fri, 9 Mar 2007, schreef Tomas Hajny:

> Evgeniy Ivanov wrote:
> > On Fri, 09 Mar 2007 18:36:40 +0300, Jonas Maebe
> > <jonas.maebe at elis.ugent.be> wrote:
> > On Fri, 09 Mar 2007 18:39:10 +0300, Dani??l Mantione
> > <daniel.mantione at freepascal.org> wrote:
>  .
>  .
> >> Many people @ Pascal Game Development. Domique Louis (Savage) is also
> >> still maintaining it. Writing all the imports yourself seems a bit like
> >> reinventing the wheel.
> >
> > Reinventing the wheel is to write all  SDL imports, for graph I need only
> > few.
> >
> > So you think that it is not bad to use JEDI  SDL instead writing some
> > initialization code on C and make pascal headers for it? I haven't used
> > JEDI  SDL before but it is beta. I need your advise.
> 
> I don't know what heder conversions are available for SDL. However, I
> believe there are basically two options:
> 
> 1) Have full SDL headers added as another package in repository (either
> existing like JEDI SDL or possibly a new one, although that would probably
> make little sense). I don't know what the size and complexity of these
> headers is and whether there might be somebody who could maintain such a
> package in our repository.

JEDI-SDL is rather large. It contains import libraries for many SDL 
sattelite libraries, many examples and documentation. It is under somewhat 
active development by Dominique Louis.

> 2) Include highly limited set of imports necessary for SDL purposes
> directly in the new sdlgraph (or whatever is the name).

We could limit ourselves to sdl.pas. This is the main library. All 
graphics formats stuff, 3D stuff etc. is of less importance to graph.

> This might make
> sense if we don't have somebody who'd maintain the full headers, whereas
> maintaining just a highly limited set needed for sdlgraph purposes might
> be still acceptable (possibly just copied from the existing headers if the
> licence for those headers allows it).

SDL is LGPL, so is JEDI-SDL. We would need ask Dominique for permission of 
the FPC static linking exception to just JEDI-SDL (we do not distribute 
SDL itself). I don't think this will be a problem.

Daniël


More information about the fpc-devel mailing list