Build without Wayland
Dear devs,
I'm a plain X11 user and my GTK is not linked to Wayland.
Gitbutler-tauri seems to use tao leading to:
rust-lld: error: undefined symbol: gdk_wayland_window_get_wl_surface
build instructions from AUR
Hi @kiefernforst,
I'm not entirely sure what the issue you're experiencing is. Are you saying that you can't build GitButler based on the linked AUR package? Or that you can't run/install one of our official distributions?
On my Ubuntu 22.04 machine, the deb package from our downloads page works just fine both under XOrg and Wayland so from what I can tell there are no issues on our end.
I can't build GitButler from sources, due to https://github.com/tauri-apps/tao/blob/master/src/platform_impl/linux/window.rs#L869
It seems to be already reported there: https://github.com/tauri-apps/tao/issues/750
I understand, thanks for the clarification. This is an upstream issue with Tauri that we're not really in a position to fix.
We're moving away from Tauri at the moment, so this should resolve itself. In the meantime we unfortunately cannot put resources to this. Happy to review a PR if a simple workaround is found, but other than that it'll be a matter of waiting for the new GUI to come around.
Closing this issue as it is an upstream problem in Tauri. Also with the transition to Electron (https://github.com/gitbutlerapp/gitbutler/tree/master/apps/lite) this issue will be mitigated
I've just tried to switch to the electron lite frontend
But replacing
pnpm build:desktop -- --mode production
by
pnpm --filter @gitbutler/lite build
wasn't sufficient
okay lets keep this open. Making progress on this may be tricky though, and it is not something we will be able to prioritize right now but we can keep this to track the issue