Policy for extragear / playground folders

Michael Jansen kde at michael-jansen.biz
Fri Aug 28 20:53:06 CEST 2009


On Friday 28 August 2009 20:18:19 you wrote:
> On 28.08.09 17:18:47, Michael Jansen wrote:
> > I'm compiling quite a bit of kde with my own scripts. I prefer to compile
> > smaller packages for convenience. While doing that i noticed we don't
> > have a policy for directories like:
> >
> >   http://websvn.kde.org/trunk/playground/devtools
> >
> >   http://websvn.kde.org/trunk/playground/base/plasma/applets/
> 
> Ok, so people working in there can do whatever they want.
> 
> > Some of the directories in there compile standalone. Others do not. Which
> > leads to some frustrating compile sessions. As you can easily imagine
> > having the luck to checkout a plasma/applets version where all those
> > applets compile is rather rare.
> >
> > In devtools for example icemon and cmake do not compile standalone.
> > icemon depens on cmake too. Most of the kdevelop plugins compile
> > standalone.
> >
> > So i would like to make all of the subdirectories in there compile
> > standalone and remove everything but add_subdirectory from the base dirs.
> 
> I object. playground is for people to play around, there shouldn't be
> any rules they have to adhere to.

????!!!!!!??????

I want to make it possible for other people to actualy look at the things 
people play around with. Currently it's more or less impossible for some of 
the stuff there.

And if everyone is allowed to do what he/she wants, shouldn't we make every 
possible effort to keep their stuff apart? so that one developer messing up it's 
code doesn't make it difficult to compile the other stuff? 

It's currently impossible to compile icemon because it HAS TO BE COMPILED 
together with the kdevelop4 plugins. i don't get the association but it needs 
devtools/cmake and it's CMakeLists.txt is not self contained.

But it is IMPOSSIBLE to do that. The controlflowgraph kdevelop plugin adds the 
FindGraphviz.cmake with 
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
                      ${CMAKE_SOURCE_DIR}/cmake/modules
). That directory is in the controlflowgraphs source directory.  Which doesn't 
work when it is aggregated into devtools. Standalone it compiles.

So much to the do what you want. IT DOESN'T WORK THAT WAY. 

The minimum policy has to be. Whatever happens: Make your stuff self contained.

Mike




> If you want something that always
> builds you want extragear.
> 
> Andreas
> 


More information about the Kde-buildsystem mailing list