Open atmouse- opened 1 year ago
GTK without x11 is not common thing (yet) thus the very scarce resources of the project would not be spent on that. We will happily review a patch on the topic though.
I think the final solution would be to not statically bind to the libs using JNI but using more modern approaches with Project Panama I already use this in some of my projects and it literally works great and is fantastic way to interop with native libs.
But this is nothing one can do "just for fun" on a large project like SWT and it will need some substantial refactoring and work, I have done some prototyping on this but fear it either would require a donation in form of money or very dedicated developer resources.
I'm launching dbeaver with libswt library, libswt-pi3-gtk-4960r6.so loads failed with undefined symbol: gdk_x11_display_get_type
DETAIL here
To Reproduce Gentoo OS that gtk build with wayland only(without x11 support flag)
x11-libs/gtk+-3.24.38
download dbeaver zip binary and perform.
Expected behavior dbeaver with libswt should properly bootup on wayland-only platform
Screenshots If applicable, add screenshots to help explain your problem.
Environment:
Select the platform(s) on which the behavior is seen:
Additional OS info (e.g. OS version, Linux Desktop, etc) wayland/swaywm
Related There has similar issue from firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1614266
EDIT: ldd additional