[Kde-imaging] extragear/libs/kipi-plugins (and common dir)

Caulier Gilles caulier.gilles at kdemail.net
Thu Oct 5 21:19:56 CEST 2006


Le Mercredi 04 Octobre 2006 09:08 PM, Angelo Naselli a écrit :
> Alle 19:45, mercoledì 4 ottobre 2006, Caulier Gilles ha scritto:
> > Le Mercredi 4 Octobre 2006 13:54, Angelo Naselli a écrit :
> > > Alle 13:09, mercoledì 4 ottobre 2006, Angelo Naselli ha scritto:
> > > > Alle 12:57, mercoledì 4 ottobre 2006, Caulier Gilles ha scritto:
> > > > > Le Mercredi 4 Octobre 2006 12:30, Angelo Naselli a écrit :
> > > > > > Alle 12:26, mercoledì 4 ottobre 2006, Angelo Naselli ha scritto:
> > > > > > > SVN commit 592295 by anaselli:
> > > > > > >
> > > > > > > fix problem using automake & co.
> > > > > > > - added KIPI_PLUGINS_COMMON_INCLUDE into configure.in.in
> > > > > > >   (please test it for regressions)
> > > > > >
> > > > > > Hi guys,
> > > > > > I believe there is a little wrong side effect using the static
> > > > > > library in common (exiv interface).
> > > > > > If something on Gilles' interface changes, I'm not sure the
> > > > > > plugins that need it are rebuilt. Am I wrong?
> > > > >
> > > > > I have never see this problem before. i use temp lib in digikam
> > > > > core and DigikamImagePlugins without problem.
> > > > >
> > > > > What's your proposal exactly ?
> > > >
> > > > I'm not sure of that, but after our discussion on irc yesterday,
> > > > I tried to use another static library to test the class i made, and
> > > > noticed that the plugin were not rebuilt, better, linked again.
> > > > But I was tired, so i have to test it better. If you don't have
> > > > any problems i maybe wrong.
> > >
> > > Ok try this:
> > > cd libs
> > > touch kipi-plugins/common/exiv2iface/exiv2iface.cpp
> > > make
> > > you shuld see that exiv2iface is rebuilt but all the plugins
> > > sais "Nothing to be done for `all'."
> > >
> > > Angelo
> >
> > Well this is want mean that something is missing somewhere in makefiles ?
>
> Well it probably means we need an explicit library dependency, i don't like
> that though.
>
> We could:
> a) make a common shared library let's call it libkipistuff for instance
>     in which we can put all the common implementation stuff.
> b) explict compiling, in all those plugins that need it, the library source
> files. c) no idea now :)
>


No need to create a new external lib depency. 

I use this current way in DigikamImagePlugins without problem. Look here :

http://websvn.kde.org/trunk/extragear/graphics/digikamimageplugins/common/

Something is wrong in Makefile.am or missing in .configure.in.

Gilles
> Angelo


More information about the Kde-imaging mailing list