Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614150 - Build dev-libs/wlc with CMAKE_BUILD_TYPE=Upstream for dev-libs/sway
Summary: Build dev-libs/wlc with CMAKE_BUILD_TYPE=Upstream for dev-libs/sway
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mykyta Holubakha
URL: https://github.com/SirCmpwn/sway/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 14:11 UTC by Markus Walter
Modified: 2017-03-29 09:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2017-03-28 14:11:18 UTC
As discussed in the linked issue, otherwise drop-down menus vanish after first use. The simple addition of "CMAKE_BUILD_TYPE=Upstream" to the wlc ebuild solved this for me.

Note that this is only a workaround and no real solution exists, so it may be a good idea to do this conditional on a use-flag and let sway depend on the use-flag.
Comment 1 Mykyta Holubakha 2017-03-29 07:27:16 UTC
This build type only seems to influence compiler/linker flags, so enabling it would be in violation of QA, it seems to me.
Comment 2 Mykyta Holubakha 2017-03-29 07:28:10 UTC
See https://github.com/Cloudef/wlc/blob/master/CMakeLists.txt#L80
Comment 3 Markus Walter 2017-03-29 09:25:11 UTC
(In reply to Mykyta Holubakha from comment #1)
> This build type only seems to influence compiler/linker flags, so enabling
> it would be in violation of QA, it seems to me.

This seems to be correct and I'm also totally confused how this solved my problem. Nevertheless it actually solved a rather big usability problem, so I would urge you to apply this fix until a proper solution is found. (No issue if not on my side, thanks to local overlays. ;)
Comment 4 Mykyta Holubakha 2017-03-29 09:29:46 UTC
Try setting the flags with /etc/portage/package.env