Bug 397145 - libbreezecommon does not install the export header
Summary: libbreezecommon does not install the export header
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-04 11:04 UTC by Fabian Vogt
Modified: 2018-08-04 13:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2018-08-04 11:04:54 UTC
A header is generated, but never installed.

If this is intentional and libbreezecommon is not meant to be used by something other than breeze, it should not install a .so link.
Comment 1 Vlad Zahorodnii 2018-08-04 11:43:09 UTC
(In reply to Fabian Vogt from comment #0)
> A header is generated, but never installed.
> 
> If this is intentional and libbreezecommon is not meant to be used by
> something other than breeze, it should not install a .so link.

Yes, it's used only by Breeze. (We need to share some code between kstyle and kdecoration)

In my defense: libbreezecommon is based on liboxygen, so that's why it is a shared library.

I suppose it would be better to turn libbreezecommon into a static library and use it only during build, right?
Comment 2 Fabian Vogt 2018-08-04 11:57:54 UTC
(In reply to Vlad Zagorodniy from comment #1)
> (In reply to Fabian Vogt from comment #0)
> > A header is generated, but never installed.
> > 
> > If this is intentional and libbreezecommon is not meant to be used by
> > something other than breeze, it should not install a .so link.
> 
> Yes, it's used only by Breeze. (We need to share some code between kstyle
> and kdecoration)
> 
> In my defense: libbreezecommon is based on liboxygen, so that's why it is a
> shared library.
> 
> I suppose it would be better to turn libbreezecommon into a static library
> and use it only during build, right?

That means the shared parts are contained in the binaries twice, so that would be a steps backwards IMO. If it's not too much, it certainly makes sense though.
Comment 3 Fabian Vogt 2018-08-04 13:18:38 UTC
Fixed with https://cgit.kde.org/breeze.git/commit/?id=763ec6d335417df7985fbbd4ef456287915b4d1d

(I added a BUG: in the commit, but arc land reverted that, grmbl)