Closed WingsZeng closed 1 month ago
what if you find the installed headers and add #define NO_XWAYLAND
at the top of includes.hpp
?
what if you find the installed headers and add
#define NO_XWAYLAND
at the top ofincludes.hpp
?
It works! Also works by manually building plugins with -DNO_XWAYLAND
.
Maybe hyprpm should consider automatically detecting whether hyprland has the NO_XWAYLAND
flag and adjust the plugin build process accordingly?
probably
no but this can be closed
Hyprland Version
System/Version info
```sh Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0). Date: Mon Jan 1 12:03:15 2024 Tag: v0.34.0 flags: (if any) no xwayland ```Bug or Regression?
Bug
Description
hyprpm failed to build Plugin without XWayland support.
I found that wlr/xwayland.h will not be installed if building wlroots without xwayland feature. https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/include/meson.build?ref_type=heads#L14-L16
How to reproduce
hyprpm add https://github.com/hyprwm/hyprland-plugins
Crash reports, logs, images, videos
No response