Bug 383491

Summary: KDevPlatformConfig.cmake.in needs clean up
Product: [Developer tools] kdevplatform Reporter: Friedrich W. H. Kossebau <kossebau>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: task CC: aleixpol
Priority: NOR Keywords: junior-jobs
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.3

Description Friedrich W. H. Kossebau 2017-08-14 10:29:57 UTC
All currently dependencies searched for in KDevPlatformConfig.cmake.in need to be rechecked if they really are used in the public kdevplatform API and thus need respective devel packages to be installed by 3rd-party kdevplaform plugin developers.

Downstream thinks there are quite some that could be dropped, e.g. opensuse has a patch: https://build.opensuse.org/package/view_file/KDE:Unstable:Extra/kdevelop5/reduce_dependencies.diff?expand=1

Needs also to be decided which implicitly covered dependencies should be explicitely listed and which not, to protect against future changes in the indirect dependencies.
Comment 1 Aleix Pol 2017-09-05 00:54:49 UTC
It can probably be trimmed. We just need to list the public dependencies (i.e. in target_link_libraries(...PUBLIC...)) and transcribe it there.

PRIVATE dependencies shouldn't be listed.
Comment 2 Friedrich W. H. Kossebau 2018-02-20 19:48:26 UTC
Addressing with https://phabricator.kde.org/D10696