Bug 394374 - cmake check for runtime deps
Summary: cmake check for runtime deps
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 14:47 UTC by Harald Sitter
Modified: 2018-05-19 10:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2018-05-17 14:47:06 UTC
I've noticed that okular has a fair number of findExecutable calls. It'd be really awesome if these runtime dependencies would get checked for in the cmakelists (like already done for kirigami).
This makes the requirements reasonably codified, points users to potential problems with their custom builds, and helps distros ensure all runtime deps are properly pulled in by their packaging.

In neon, for example, we have special tech parsing the cmake feature_summary output to check runtime dependencies are actually met.
Comment 1 Albert Astals Cid 2018-05-19 10:28:09 UTC
I'm really not a fan of runtime checks on compile time, but if someone has a nice patch i guess we could add it.