Re: [gnome-db] Lightweight libgnomedb (libgdaui)



On Tue, 2003-04-08 at 10:16, Dmitry G. Mastrukov wrote:
> Hi!
> 
> Now I'm taking close look on libgda and libgnomedb as database layer for
> my application. Unfortunately app should work on Win32 first and on Unix
> lately. There exist ports for Win32 of libxml2, gtk+-2, libgda. But
> libgnomedb has too deep dependence on Gnome (libgnomeui, bonobo).
>
the bonobo dependencies are just internal, so they could be disabled in
windows. About libgnomeui, I guess it should be quite minimal the
dependency.

>  At the
> same time as i understand many widgets in libgnomedb have dependence
> only on gtk+. At some point libgda was made lightweight (and it was
> good). What's about to make some ui for libgda same lightweight with
> only gtk+ dependence?
>
libgnomedb can perfectly be that. It mainly uses gtk, and just some
small libgnomeui features which could be easily replaced by GTK-only
stuff on windows.

> I see two ways:
> 1. "Cleaner" way is to create libgdaui and to make wrappers for it in
> libgnomedb.
> 2. Modify libgnomedb to make configure time check for libbbonoboui and
> to compile dependant code only if that library present. But in some
> cases it can cause binary incompatibility (?).
> 
I prefer 2. 1 means redoing a lot of work, while 2 is simple.

> Can you see reasons in such lightweight libgda UI library?
> 
not at all.

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]