Review Request 117016: Allow overriding DrKonqi lookup directories by PATH
Dan Vrátil
dvratil at redhat.com
Mon May 19 22:26:21 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117016/
-----------------------------------------------------------
(Updated May 20, 2014, 12:26 a.m.)
Review request for KDE Frameworks.
Changes
-------
Updated patch with LIBEXEC_PATH, as David suggested.
I'm terribly sorry, I forgot about this completely. I hope it's not too late.
Repository: kcrash
Description
-------
Since KCrash is a framework that relies on DrKonqi binary being provided by a 3rd party software (kde-runtime), it should not make assumptions regarding location of the utility.
This patch makes KCrash to look for drkonqi binary first in $PATH, then falling back to CMAKE_INSTALL_PREFIX/LIBEXEC_INSTALL_DIR. With this patch it's possible for distributions to ship KDE Frameworks in normal prefix (/usr), but have current snapshots of kde-runtime in /opt/kde5 for instance.
Diffs (updated)
-----
src/kcrash.cpp 87163cc
Diff: https://git.reviewboard.kde.org/r/117016/diff/
Testing
-------
- Installed KCrash into /usr prefix
- Installed drkonqi from kde-runtime master to /opt/kde5 prefix
- started broken application
- no "could not find drkonqi" warning anymore
- crashed application, got drkonqi window
Thanks,
Dan Vrátil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140519/4536128e/attachment.html>
More information about the Kde-frameworks-devel
mailing list