summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Kitover <rkitover@gmail.com>2023-09-20 18:53:07 +0000
committerSam James <sam@gentoo.org>2023-09-22 15:54:05 +0100
commit20c2df020d62adfe6cc523773e1098c82e54c16e (patch)
tree699662064c546049fae8c646cff8e68fc3c740a7
parentdev-dotnet/cake: do not install with coffee-script (diff)
downloadgentoo-20c2df020d62adfe6cc523773e1098c82e54c16e.tar.gz
gentoo-20c2df020d62adfe6cc523773e1098c82e54c16e.tar.bz2
gentoo-20c2df020d62adfe6cc523773e1098c82e54c16e.zip
x11-libs/wxGTK: explain reason for disabling EGL
Explain the rationale for disabling the EGL wxGLCanvas in the ebuild comments. Bug: https://bugs.gentoo.org/833443 Bug: https://bugs.gentoo.org/911120 Signed-off-by: Rafael Kitover <rkitover@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32452 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild17
1 files changed, 16 insertions, 1 deletions
diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild b/x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild
index 1411650e6df9..9e9ec6f612d5 100644
--- a/x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.2.2.1-r3.ebuild
@@ -146,7 +146,22 @@ multilib_src_configure() {
--libdir='${prefix}'/$(get_libdir)
)
- # Switch to wxGLCanvas GLX instead of EGL, resolves many OpenGL issues.
+ # By default, we now build with the GLX GLCanvas because some software like
+ # PrusaSlicer does not yet support EGL:
+ #
+ # https://github.com/prusa3d/PrusaSlicer/issues/9774 .
+ #
+ # A solution for this is being developed upstream:
+ #
+ # https://github.com/wxWidgets/wxWidgets/issues/22325 .
+ #
+ # Any software that needs to use OpenGL under Wayland can be patched like
+ # this to run under xwayland:
+ #
+ # https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
+ #
+ # Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
+ #
myeconfargs+=( "--disable-glcanvasegl" )
# debug in >=2.9