-
Notifications
You must be signed in to change notification settings - Fork 266
Fix compile with wayland #1569
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
base: rolling
Are you sure you want to change the base?
Fix compile with wayland #1569
Conversation
|
@mosfet80, what to do with the package.xml, since I currently think it will still try to pull in X11 as a dependency? |
Fix compile on wayland OS
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: mosfet80 <[email protected]>
Fixed |
| <depend condition="$XDG_SESSION_TYPE == 'x11'">libx11-dev</depend> | ||
| <depend condition="$XDG_SESSION_TYPE == 'wayland'">libwayland-dev</depend> |
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.
How will this affect the binaries (.debs) provided by ROS? Or any others built by a CI system that has no $XDG_SESSION_TYPE set?
It seems like CI generated binaries, esp. those provided by the ROS project, should be built with compatibility in mind (i.e support both platforms if possible)?
It certainly seems like it would be undesirable for a headless CI system to result in it building with neither X11 nor Wayland support 😁
Description
Fix compile on wayland OS
fix #847
tested on opensuse16 with: gnome + qt6 + wayland

Is this user-facing behavior change?
Did you use Generative AI?
Additional Information