<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Oct 14, 2014 at 3:19 PM, Aleix Pol <span dir="ltr"><<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Sun, Oct 12, 2014 at 10:57 AM, Rolf Eike Beer <span dir="ltr"><<a href="mailto:kde@opensource.sf-tec.de" target="_blank">kde@opensource.sf-tec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Am Sonntag 12 Oktober 2014, 21:24:51 schrieb Ben Cooksley:<br>
<span>> Hi all,<br>
><br>
> Not too long ago, sysadmin received a request to have the tool<br>
> "cmake-dependencies.py" from kde-dev-tools run by the CI system to<br>
> make packagers jobs easier.<br>
<br>
</span>[…]<br>
<span><br>
> If anyone has any queries, please let me know.<br>
<br>
</span>This is a flat view on the dependencies AFAICT. In other words, you can't tell<br>
if this is a direct dependency or a "dependency [of a dependency]+", so this<br>
should not be used directly for a Depends: line IMHO. I was just looking at<br>
KGpg (what else *g*), and there show up things like Phonon, Cygwin and Perl<br>
that KGpg does not care in any way about, these things are just dragged in by<br>
something else.<br>
<br>
It's no problem that these things show up if you use this information as "what<br>
do I need to install to be sure that KGpg builds", but please don't use this<br>
as "these are the things that KGpg must directly depend on when installed".<br></blockquote><div><br></div></span><div>Well, the fact that you as a KGpg maintainer don't care about, doesn't mean that it's false.</div><div><br></div><div>Furthermore, this also displays what's the environment used while testing a said package. KDE CI can't ensure things will work the same way if you have different dependencies.</div><div><br></div><div>If you deem necessary, we can introduce a depth field. In fact, let me look into it...</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Btw, is this line for Perl correct?<br>
<br>
        {"files": ["FindPerl.cmake"], "version": "5.16.2()", "project": "Perl"},<br>
<br>
There are both "null" and "()" as version information for some packages, I<br>
guess they both mean "no specific version requested"? Should those be merged<br>
into the same value?<br></blockquote><div><br></div></span><div>Yes. The parenthesis displays what part of the version is not required IIRC, correct.</div><span class=""><font color="#888888"><div><br></div><div>Aleix</div></font></span></div></div></div>
</blockquote></div><br></div><div class="gmail_extra">Just looked into it, getting a depth property was almost impossible, but I managed to get a somewhat accurate last file, then checked if the last file was a CMakeLists.txt file and put the result in an "explicit" field.</div><div class="gmail_extra"><br></div><div class="gmail_extra">The resulting output looks like this [1], when running it against Analitza, on my system.</div><div class="gmail_extra"><br></div><div class="gmail_extra">It's a bit odd, considering how Qt5 is marked as required but the submodules won't, because they are in practice dependencies of Qt5Config.cmake, but I'd say we can extract the proper information. If you think it's useful I can push the change.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1]</div><div class="gmail_extra"><div class="gmail_extra">[</div><div class="gmail_extra">        {"files": ["Qt5TestConfig.cmake", "Qt5TestConfigVersion.cmake"], "explicit": false, "project": "Qt5Test", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5NetworkConfigVersion.cmake", "Qt5NetworkConfig.cmake"], "explicit": false, "project": "Qt5Network", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5CoreConfigVersion.cmake", "Qt5CoreConfig.cmake"], "explicit": false, "project": "Qt5Core", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5QuickConfigVersion.cmake", "Qt5QuickConfig.cmake"], "explicit": false, "project": "Qt5Quick", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5GuiConfig.cmake", "Qt5GuiConfigVersion.cmake"], "explicit": false, "project": "Qt5Gui", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5QmlConfig.cmake", "Qt5QmlConfigVersion.cmake"], "explicit": false, "project": "Qt5Qml", "version": null},</div><div class="gmail_extra">        {"files": ["FindOpenGL.cmake"], "explicit": true, "project": "OpenGL", "version": "()"},</div><div class="gmail_extra">        {"files": ["FindReadline.cmake"], "explicit": true, "project": "Readline", "version": "()"},</div><div class="gmail_extra">        {"files": ["Qt5OpenGLConfig.cmake", "Qt5OpenGLConfigVersion.cmake"], "explicit": false, "project": "Qt5OpenGL", "version": null},</div><div class="gmail_extra">        {"files": ["FindCurses.cmake"], "explicit": true, "project": "Curses", "version": "()"},</div><div class="gmail_extra">        {"files": ["FindX11.cmake"], "explicit": false, "project": "X11", "version": null},</div><div class="gmail_extra">        {"files": ["FindPackageMessage.cmake"], "explicit": false, "project": "PackageMessage", "version": null},</div><div class="gmail_extra">        {"files": ["FindPackageHandleStandardArgs.cmake"], "explicit": false, "project": "PackageHandleStandardArgs", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5XmlConfig.cmake", "Qt5XmlConfigVersion.cmake"], "explicit": false, "project": "Qt5Xml", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5SvgConfig.cmake", "Qt5SvgConfigVersion.cmake"], "explicit": false, "project": "Qt5Svg", "version": null},</div><div class="gmail_extra">        {"files": ["ECMConfig.cmake", "ECMConfigVersion.cmake"], "explicit": true, "project": "ECM", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5ConfigVersion.cmake", "Qt5Config.cmake"], "explicit": true, "project": "Qt5", "version": null},</div><div class="gmail_extra">        {"files": ["Qt5WidgetsConfigVersion.cmake", "Qt5WidgetsConfig.cmake"], "explicit": false, "project": "Qt5Widgets", "version": null},</div><div class="gmail_extra">        {"files": ["FindEigen3.cmake"], "explicit": true, "project": "Eigen3", "version": "(2.91.0)"}</div><div class="gmail_extra">]</div><div><br></div></div><div class="gmail_extra"><br></div></div>