frameworks build issues
Alexander Neundorf
neundorf at kde.org
Tue Nov 22 16:34:12 UTC 2011
On Tuesday 22 November 2011, Stephen Kelly wrote:
> Jeremy Whiting wrote:
> > Hello all,
> >
> > I took another crack at the kcolorscheme migration in frameworks
> > branch yesterday, and got it to not depend on KGlobalSettings any
> > longer. Unfortunately I still get warnings when I run cmake like
>
> > this:
> There are two issues.
>
> For one of them I filed a bug against cmake:
>
> http://public.kitware.com/Bug/view.php?id=12588
>
> The second issue is that libkgui depends on kdecore, which is not a
> 'framework'. It's premature for libkgui to exist if it depends on kdecore.
> The things that it depends on in kdecore would have to be split out.
>
> > Should we be using separate branches to work on stuff like this and
> > merge them into frameworks when they build?
>
> I think that would just complicate things. I think what we actually need is
> more structured efforts. The people who want libkgui to exist need to do
> work on the lower levels before creating it. The things libkgui depends on
> need to be close to their final state (in terms of build and dependencies)
> before libkgui can exist.
Yes.
...
> macro_bool_to_01 and macro_optional_find_package. This is what 'done' looks
> like and is what we need to aim for for each framework.
>
> We can enforce this by creating a 'done' folder, and calling
> add_subdirectory(done) in kdelibs.git/CMakeLists.txt as early as possible.
> At least *before* the call to find_package(KDE4Internal REQUIRED).
>
> This will mean that kdelibs.git/cmake/modules will not be used anymore etc,
> and mean that for a framework to work in the 'done' folder, its cmake stuff
> needs to come from extra-cmake-modules.
Yes. And this is also by far not "done" yet.
Next thing I'll do is implement a scheme how to deal with different cmake
versions and different projects just wanting some parts of e-c-m.
The find-modules need to be reviewed. I started, but got stuck with the pkg-
config stuff, do or don't.
So I'm currently asking on the cmake list for more general feedback on pkg-
config, especially on Windows and OSX.
Alex
More information about the Kde-frameworks-devel
mailing list