matthiasm wrote:

I'm not a license specialist, and I didn't look very deeply in the patch
(I did, some time ago), but nevertheless, here are my comments.

> Anyway, GLib contains among many other features all the Unicode handling 
> routines we need for FLTK1. Sure, most of the stuff is already 
> implemented in the patch (some code even twice or three times ;-), but 
> GLib IMHO has a cleaner interface. This leaves me with the following 
> options:
> 
> 1: go strictly with our patch, remove duplicates, and clean up our API

Maybe this would be much work, but since Ian said that he tried to use
code from FLTK 2.0, this might be the best way to come together again,
later (but maybe that will never happen...). OTOH, the patch works
already (somehow at least), FLTK 2.0 works, too (even if not that
stable, but I assume that has nothing to do with utf-8) ...

> 2: use the already clean GLib API and hook that up with the guts from 
> the patch

I can imagine, that that would end up in rewriting (the utf8 part of)
GLib. I wouldn't want to try that (if I understand you correctly),
but I don't know how much work this would be.

> 3: extract the unicode from GLib and replace code from the patch (but 
> GLib is LGPL, FLTK is modified LGPL, so I am unsure if that is OK)

Extracting code from an LGPL-licensed library and reusing it with
another license (with exceptions that are not in LGPL) - I think
that would break the license/copyright. But, I'm not a license
specialist - others may know better.

> 4: require GLib and link against it (my least favourite solution)

IMHO, this should only be done, if
  - we can distribute GLib with FLTK, as is done with JPEG et al.
  - static linking FLTK apps with GLib would be allowed (I think it
    wouldn't, because that's FLTK's LGPL _exception_, isn't it?)
  - GLib is stable enough to include it without modifications.

I wouldn't like that FLTK depends on GLib, and we can't fix bugs,
unless the GLib maintainers would do it (or we provide patches
for GLib). Maybe I'm wrong here, but others may know better, again.


 > Please give me your opinion

You asked for opinions, and that's what you got from me. More like
feelings, however. Maybe that's not much help.

After all, I think that number 1 would be my favourite.

Albrecht
_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to