[Okular-devel] Review Request 123314: Use generated version and CMake config files
Eugene Shalygin
eugene.shalygin at gmail.com
Fri Apr 10 17:59:44 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123314/#review78774
-----------------------------------------------------------
I cann't say that it fixes the issue. Maybe it does, but I just can not make it working.
I'm testing with Kile. Kile needs access to okular/interfaces/viewerinterface.h. However, this file contains `#include "okularcore_export.h"`. Thus, path to Okular includes is needed. But OKULAR_INCLUDE_DIR is gone. OK, let's try to do this in the new way. So I add KF5::okularcore target to the dependencies (BTW, why KF5?). But have you seen its INTERFACE_LINK_LIBRARIES property? KF5::Archive;KF5::JS;KF5::JSApi;KF5::KDELibs4Support;KF5::KIOCore;KF5::ThreadWeaver;KF5::Wallet;Phonon::phonon4qt5;m;/usr/lib64/libz.so. Are all of them indeed needed just to link with Okular?
So, what am I doing wrong?
- Eugene Shalygin
On Квітень 10, 2015, 6:14 після полудня, Andreas Cord-Landwehr wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123314/
> -----------------------------------------------------------
>
> (Updated Квітень 10, 2015, 6:14 після полудня)
>
>
> Review request for Okular, Albert Astals Cid, Alex Richardson, and Eugene Shalygin.
>
>
> Repository: okular
>
>
> Description
> -------
>
> Replace both the package version file by a generated file, as well as OkularConfig.cmake package configuration file.
> Note that with this change the compatibility CMake variable OKULAR_FOUND is not set anymore, use Okular_FOUND instead.
>
> This patch (should) fix the regression on eg. Gentoo systems introduced by RR #123176
>
>
> Diffs
> -----
>
> CMakeLists.txt 56c9976
> OkularConfig.cmake 171b845
> OkularConfig.cmake.in PRE-CREATION
> core/version.h 855df95
>
> Diff: https://git.reviewboard.kde.org/r/123314/diff/
>
>
> Testing
> -------
>
> Manual testing on a Debian system
>
> @Eugene: does it fix the regression for you?
>
>
> Thanks,
>
> Andreas Cord-Landwehr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20150410/104013bd/attachment-0001.html>
More information about the Okular-devel
mailing list