CMake dependency data now available

Ben Cooksley bcooksley at kde.org
Sun Oct 12 09:00:27 UTC 2014


On Sun, Oct 12, 2014 at 9:57 PM, Rolf Eike Beer
<kde at opensource.sf-tec.de> wrote:
> Am Sonntag 12 Oktober 2014, 21:24:51 schrieb Ben Cooksley:
>> Hi all,
>>
>> Not too long ago, sysadmin received a request to have the tool
>> "cmake-dependencies.py" from kde-dev-tools run by the CI system to
>> make packagers jobs easier.
>
> […]
>
>> If anyone has any queries, please let me know.
>
> This is a flat view on the dependencies AFAICT. In other words, you can't tell
> if this is a direct dependency or a "dependency [of a dependency]+", so this
> should not be used directly for a Depends: line IMHO. I was just looking at
> KGpg (what else *g*), and there show up things like Phonon, Cygwin and Perl
> that KGpg does not care in any way about, these things are just dragged in by
> something else.

As far as I am aware, this is correct. I didn't write the script which
generates this data though, so the author of it is probably the best
one to comment on that here.

>
> It's no problem that these things show up if you use this information as "what
> do I need to install to be sure that KGpg builds", but please don't use this
> as "these are the things that KGpg must directly depend on when installed".
>
> Btw, is this line for Perl correct?
>
>         {"files": ["FindPerl.cmake"], "version": "5.16.2()", "project": "Perl"},
>
> There are both "null" and "()" as version information for some packages, I
> guess they both mean "no specific version requested"? Should those be merged
> into the same value?

I'm afraid you'd need to ask the script author about that.

>
> Eike

Thanks,
Ben


More information about the release-team mailing list