Skip to content

Conversation

@mosfet80
Copy link
Contributor

Description

Fix compile on wayland OS

fix #847

tested on opensuse16 with: gnome + qt6 + wayland
Screenshotrviz

Is this user-facing behavior change?

Did you use Generative AI?

Additional Information

@mosfet80 mosfet80 changed the title Fix wayland Fix compile with wayland Aug 28, 2025
@mosfet80 mosfet80 requested a review from ahcorde August 31, 2025 18:18
@SuperJappie08
Copy link
Contributor

@mosfet80, what to do with the package.xml, since I currently think it will still try to pull in X11 as a dependency?

mosfet80 and others added 2 commits September 6, 2025 20:57
Fix compile on wayland OS
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: mosfet80 <[email protected]>
@mosfet80
Copy link
Contributor Author

mosfet80 commented Sep 6, 2025

@mosfet80, what to do with the package.xml, since I currently think it will still try to pull in X11 as a dependency?

Fixed

@mosfet80 mosfet80 requested a review from sloretz September 12, 2025 07:56
Comment on lines +31 to +32
<depend condition="$XDG_SESSION_TYPE == 'x11'">libx11-dev</depend>
<depend condition="$XDG_SESSION_TYPE == 'wayland'">libwayland-dev</depend>
Copy link

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 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wayland Support

5 participants