Review Request: Move KdepimLibs dependency to DrKonqi

Michael Palimaka kensington at gentoo.org
Tue Jul 10 19:13:28 BST 2012



> On July 3, 2012, 12:07 p.m., Aurélien Gâteau wrote:
> > Was this actually asked by packagers? I am no expert, but the feedback I had from a Debian packager working on CMake projects was that he preferred to have all dependencies listed in the top-level CMakeLists.txt.
> > 
> > The reason he gave were:
> > - It is easier to list all dependencies this way
> > - It avoids the situation where A/CMakeLists.txt has an optional dependency on package Foo and B/CMakeLists.txt has a mandatory dependency on Foo (possibly added later).
> 
> Aurélien Gâteau wrote:
>     Mmm... I didn't notice you were working on Gentoo. You most likely know more than I do, but still I would be interested to know how this change helps you.

Sorry for the delay in responding - I ran into an issue where I was not receiving reviewboard mail (since fixed).

In Gentoo, the user will build their package using the original upstream tarballs. So, if the user wishes to build kdesu, our package management system will unpack the required parts of kde-runtime-x.x.x.tar.xz - including the root CMakeLists.txt

If the root CMakeLists.txt contains a dependency, CMake will then of course require that dependency for each and every application contained within the tarball, regardless of whether it's required or not - behaviour that is troublesome for anyone building from source, not just us.

In this case, this change brings us the substantial benefit of not needing to patch (N - 1) applications to remove an unneeded KdepimLibs dependency (where N is however many applications make up kde-runtime).


- Michael


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105402/#review15336
-----------------------------------------------------------


On July 1, 2012, 4:23 p.m., Michael Palimaka wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105402/
> -----------------------------------------------------------
> 
> (Updated July 1, 2012, 4:23 p.m.)
> 
> 
> Review request for KDE Runtime and George Kiagiadakis.
> 
> 
> Description
> -------
> 
> This patch moves the dependency on KdepimLibs to /drkonqi, since that's the program requiring it.
> 
> This is done to assist downstream packaging.
> 
> 
> Diffs
> -----
> 
>   CMakeLists.txt 5091890a0768fd553f972a9b113f7f826d63f356 
>   drkonqi/CMakeLists.txt 102185ac52f558fba78cf2da80a1e8a0fe870e18 
> 
> Diff: http://git.reviewboard.kde.org/r/105402/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Michael Palimaka
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120710/9f8429d7/attachment.htm>


More information about the kde-core-devel mailing list