DevHeads.net

Package Dependcies List on Techbase

Howdy,

I started putting the list of package dependences (arranged by module) onto Techbase.
<a href="http://techbase.kde.org/Getting_Started/Build/Requirements" title="http://techbase.kde.org/Getting_Started/Build/Requirements">http://techbase.kde.org/Getting_Started/Build/Requirements</a>

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.

For example: Why are attica and phonon REQUIRED for kde-runtime??

I'll be finishing up the list in the coming days.

Comments

Re: Package Dependcies List on Techbase

By David Jarvie at 05/08/2012 - 05:55

On Mon, May 7, 2012 4:36 pm, Allen Winter wrote:
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.

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?

Re: Package Dependcies List on Techbase

By Allen Winter at 05/08/2012 - 07:07

On Tuesday 08 May 2012 3:09:06 AM Andrea Diamantini wrote:

On my todo list.

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.

-Allen

Re: Package Dependcies List on Techbase

By David Jarvie at 05/08/2012 - 08:18

On Tue, May 8, 2012 1:07 pm, Allen Winter wrote:
Yes, the comment says that it is for mobile, but "Required" is a strong
term, and I don't think the comment in its current form makes it clear
enough that "Required" might not actually mean what it says. In this
particular example, QtDeclarative will not be needed for someone building
for the desktop. This will be the default build option for many people, so
I think it needs to be stated more explicitly that "Required" may actually
mean "Optional".

I can appreciate that you may not have time to write a parser for cmake
conditionals. But if conditional dependencies are going to be listed as
"Required", I think there should be a clear statement at the top of the
page that "Required" doesn't necessarily mean what it says, and may mean
optional, depending on what conditional settings are used.

Re: Re: Package Dependcies List on Techbase

By Rick Stockton at 05/09/2012 - 10:20

Please excuse the Top-Post, my suggestion is VERY short:
The terminology "Optional Dependency" sounds like a good term for these
situations. (At least to me, a native 'en-us' person.)

On 05/08/2012 06:18 AM, David Jarvie wrote:

Re: Package Dependcies List on Techbase

By Andrea Diamantini at 05/08/2012 - 02:09

On Monday 07 May 2012 11:36:38 Allen Winter wrote:
Stupid question: doesn't kdelibs depend on Qt?