bsd-ac / wayland-desktop

Gentoo overlay for Wayland related ebuilds
https://gentoo.org
ISC License
63 stars 23 forks source link

gui-wm/river: Fix wlroots dependency. #73

Closed NiklausHofer closed 9 months ago

NiklausHofer commented 9 months ago

River 0.2.6 will not build against wlroots 0.17.

Found this issue with the ebuild I submitted Yesterday. When building against wlroots 0.17, I would get an error message like this:

Build Summary: 29/32 steps succeeded; 1 failed (disable with --summary none)
install transitive failure
└─ install river transitive failure
   └─ zig build-exe river ReleaseSafe native 3 errors
deps/zig-wlroots/src/wlroots.zig:190:9: error: zig-wlroots requires wlroots version 0.16
        @compileError("zig-wlroots requires wlroots version 0.16");
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/zig-wlroots/src/render/drm_format_set.zig:2:11: error: C import failed
const c = @cImport(@cInclude("wlr/render/drm_format_set.h"));
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/wlr/render/drm_format_set.h:6:2: error: "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"

Going back to wlroots 0.16 resolved the issue.

NiklausHofer commented 9 months ago

I'll also try to sneak by the ARM64 support in the ebuild. I use river on my daily driver arm laptop where it works just fine...

epsilon-0 commented 9 months ago

I'll also try to sneak by the ARM64 support in the ebuild. I use river on my daily driver arm laptop where it works just fine...

haha, well given that you're the one maintaining this, sounds good with me!

Thanks!