ksaneplugin (and libksane)

David Faure faure at kde.org
Mon May 5 14:20:37 BST 2008


On Monday 05 May 2008, =?iso-8859-15?q?K=E5re_S=E4rs?= wrote:
> On Monday 05 May 2008, Michael Pyne wrote:
> >
> > Looks like our options are to
> >
> > 1. Move libksane to kdelibs since multiple applications use it.
> > 2. Make a new kdegraphicslib or similar and make
> > extragear/libs/kipi-plugins optionally depend on it and have kdegraphics
> > depend on it.
> > 3. Leave libksane in extragear/libs even though it is ready to be moved
> > into KDE and have kdegraphics optionally depend on it.
> > 4. Move libksane to kdegraphics and make extragear/libs/kipi optionally
> > depend on it.  This depends on stuff in kdegraphics not depending (even
> > optionally) on things in extragear/libs/kipi though, which Gwenview does.
> >
> > I don't like option 3 because eventually some other library will be ready
> > to leave extragear and we'll likely have the same issue.  Do we have a set
> > policy for how libraries migrate out of extragear, or just applications?
> >
> > If don't like option 4 because of the circular dependencies involved.  It's
> > just not a good idea to allow circular dependencies to exist.
> >
> > If libksane is small enough I'd say use option 1, otherwise I'd say we need
> > to do option 2 (or something similar).  Anyone have other thoughts?
> >
> 
> One option could be to:
> 5. Make "support-gears" for libraries that provide optional features to KDE 
> modules. (almost kdesupport)
> 
> With option 5. libksane could be moved to kdegraphics and libkipi moved to 
> support-gears.

6. Move both libksane and libkipi to kdegraphics/libs, and make extragear depend on kdegraphics.

Isn't that the simplest/best solution? KDE base modules come first, *EXTRA* gear comes next, and can depend on it.

Just like the konq plugins in extragear can depend on kdebase/apps/libs/ (libkonq), etc.

When libkipi was only used in extragear it was fine there, but if libkipi is needed in kdegraphics, then it should move up there.

My 2 cents.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list