Bug 2336093 - Please build wxGTK with GLCANVAS_EGL support for Wayland
Summary: Please build wxGTK with GLCANVAS_EGL support for Wayland
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: wxGTK
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Scott Talbert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-07 09:39 UTC by Andreas Schneider
Modified: 2025-03-01 13:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andreas Schneider 2025-01-07 09:39:47 UTC
Could you please build wxGTK with -DwxUSE_GLCANVAS_EGL=ON to enable wayland support?

This would allow e.g. to enable Wayland support in PrusaSlicer.

Reproducible: Always

Comment 1 Scott Talbert 2025-01-07 14:00:57 UTC
The challenge with this is that it is an either/or choice, and if we do that, we disable wxGLCanvasX11, which caused a lot of problems the last time we tried this.  But perhaps things are better now?  I'll have to investigate further.

Comment 2 Andreas Schneider 2025-01-07 19:03:36 UTC
Things might be harder to change than I thought :-(

However, this enables EGL for GLEW: https://src.fedoraproject.org/rpms/glew/pull-request/1

I guess we would need to build quite some stuff in a side-tag.

Comment 3 Scott Talbert 2025-01-07 19:23:57 UTC
(In reply to Andreas Schneider from comment #2)
> Things might be harder to change than I thought :-(
> 
> However, this enables EGL for GLEW:
> https://src.fedoraproject.org/rpms/glew/pull-request/1
> 
> I guess we would need to build quite some stuff in a side-tag.

Yep.  I believe rebuilding wxGTK with wxUSE_GLCANVAS_EGL causes an ABI change also, so at least everything that uses wxGLCanvas is going to have to be rebuild anyway.

Comment 4 Andreas Schneider 2025-03-01 13:56:23 UTC
openSUSE turned EGL support on for wxWidgets and GLEW now.

See https://bugzilla.suse.com/show_bug.cgi?id=1235150


Note You need to log in before you can comment on or make changes to this bug.