Package Dependcies List on Techbase

Allen Winter winter at
Tue May 8 13:07:48 BST 2012

On Tuesday 08 May 2012 3:09:06 AM Andrea Diamantini wrote:
> Stupid question: doesn't kdelibs depend on Qt?
Of course.  And on Windows kdewin package is required too.
I was planning to add another page where I list the stuff
required for building anything KDE.

> On Tuesday 08 May 2012 6:55:01 AM David Jarvie wrote:
> On Mon, May 7, 2012 4:36 pm, Allen Winter wrote:
> > Howdy,
> >
> > I started putting the list of package dependences (arranged by module)
> > onto Techbase.
> >
> >
> > The tables on the subpages there are generated by a perl program I wrote.
> > That program reads the CMakeLists.txt files inside a module and generates
> > wiki content
> > I then copy+paste into Techbase.
> >
> > Please review for accuracy.
> These are really useful pages - thanks for taking the time to do this!
> 1) One observation is that in some cases, different modules which depend
> on each other require different versions of the same dependencies. It
> would be nice if there was some correlation between these.
> For example, kdelibs requires shared-mime-info >= 0.60, while kdepimlibs
> requires shared-mime-info >= 0.30. Since kdepimlibs depends on kdelibs,
> shared-mime-info >= 0.60 is effectively required for kdepimlibs as well,
> even if its CMakeLists.txt only asks for 0.30.
Right.  So one I idea I have is to process all the modules together and do
some kind of factoring of all the packages needed.  Then make another page
listing all the packages and in what modules they are needed.

On my todo list.

> 2) Is QtDeclarative actually REQUIRED for kdepim? Isn't it only required
> in order to build mobile apps? If so, it should be marked as Optional. Are
> there any other dependencies which are similarly marked as Required, when
> in fact they are optional?
Well, I'm not planning to write a CMakeLists.txt parser.
So I'm not planning to handle CMake conditionals.
But I can add hacks as needed. 

In the case of QtDeclarative, the comment says that it is needed for Mobile.
Making sure we have useful comments and descriptions can certainly help too.


More information about the kde-core-devel mailing list