New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up wlroots build #23793
Clean up wlroots build #23793
Conversation
Also wayfire should be split into a devel package, but I will do that when it's updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked too closely at all of the dependencies, but I like the simplicity this brings to dependent templates.
srcpkgs/wlroots/template
Outdated
depends="MesaLib-devel elogind-devel eudev-libudev-devel libcap-devel | ||
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel | ||
wayland-protocols wlroots-${version}_${revision}" | ||
depends="${sourcepkg}-${version}_${revision} ${_devel_depends}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to use >=
rather than a specific version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks OK to me. It is possible to depend on wlroots without needing several of the libraries now depended on by wlroots-devel
but this does clean up the templates nicely and I don't have a problem with a few extra devel packages being pulled in.
@ifreund the packages I added were all packages the build system was complaining about, because they weren't found during the configuration step and were a requirement for wlroots, not its dependants, but all dependants had them. |
Aren't all the xcb dependencies only required for Xwayland? Maybe we can make Xwayland a build option? |
There are two separate parts here, one is Xwayland and the other is the X11 backend allowing nesting a wlroots-based compositor in an X11 session. We could make these both optional, but I'm not sure it's really worth it. We would then need parallel build options for sway, cage, hikari, and wayfire. |
Wayfire should be released in a few days, might as well wait for it. |
@yjp20 are you still using Wayfire? |
Please roll the latest hikari into this, which is 2.1.1 for now. |
TODO: add suid option to wayfire. |
These dependencies are all required when building applications that use wlroots, so it doesn't make sense to include them individually into each application's template. Also remove libcap, which was dropped by upstream.
Temporary git versions for wcm and wayfire-plugins-extra, waiting on their releases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might also drop desc_option_elogind
from the sway
template, that way all templates will just default to the common description.
Drop elogind description.
Removed the dependencies provided by wlroots, removed libevdev-devel, which isn't required, and put wayland-devel unconditionally in hostmakedepends, to follow the pattern of the other templates.
c896acb
to
7080d66
Compare
- Also cleaned up make depends. - Added elogind build option. - Added wf-utils subproject
@ahesford pending CI, this is good to go. |
Include all dependencies needed for building wlroots based applications into
wlroots-devel
. If they aren't included,meson
complains about missing deps. Clean up templates accordingly.I am only revbumping the packages that actually change, so wlroots and wf-config. The rest are unchanged, because it's only how the dependencies are pulled in that changes.
I guess @ifreund @ahesford @travankor