Bug 1063086

Summary: libktorrent-devel requires boost-devel
Product: [openSUSE] openSUSE Tumbleweed Reporter: Christoph Feck <cfeck>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: wbauer
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1062583    

Description Christoph Feck 2017-10-12 21:47:14 UTC
Instead it should only require those headers it actually needs, see bug 1062583.
Comment 1 Wolfgang Bauer 2017-10-13 09:24:46 UTC
It does only require libboost_headers-devel on Tumbleweed:
%if 0%{?suse_version} > 1325
Requires:       libboost_headers-devel
%else
Requires:       boost-devel
%endif

This has been changed 8 months ago already...
https://build.opensuse.org/package/rdiff/openSUSE:Factory/libktorrent?linkrev=base&rev=37
Comment 2 Wolfgang Bauer 2017-10-13 09:31:01 UTC
Could it be that you mean to package in KDE:Unstable:Extra though?
That doesn't have this change, I'll add it...
Comment 3 Christoph Feck 2017-10-13 18:24:22 UTC
Sorry, yes, this is about KUE. I was under the impression that every KDE package is bred in KU* first.

Regarding replacing 'boost-devel' with 'libboost_headers-devel', I think the aim was to reduce dependencies, and have packages only depend on the libboost_<libname>*-devel headers it actually needs, but this is best discussed with boost package maintainers.
Comment 4 Wolfgang Bauer 2017-10-20 10:07:35 UTC
(In reply to Christoph Feck from comment #3)
> Sorry, yes, this is about KUE. I was under the impression that every KDE
> package is bred in KU* first.

That's true for KDE:Applications, but not KDE:Extra really...

This change is in KUE meanwhile as well though.

> Regarding replacing 'boost-devel' with 'libboost_headers-devel', I think the
> aim was to reduce dependencies, and have packages only depend on the
> libboost_<libname>*-devel headers it actually needs, but this is best
> discussed with boost package maintainers.

This change has actually been submitted by Adam Majer, the reporter of bug 1062583.

AIUI, bug 1062583 is (only) about dropping boost-devel though, it is still fine to depend on/use libboost_headers-devel (which only contains static include files and has no dependencies on any boost library anyway btw, unlike boost-devel which pulls in all of them).