gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Build without Wayland

Open kiefernforst opened this issue 6 months ago • 6 comments

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

kiefernforst avatar Jun 02 '26 13:06 kiefernforst

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.

slarse avatar Jun 04 '26 12:06 slarse

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

kiefernforst avatar Jun 08 '26 13:06 kiefernforst

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.

slarse avatar Jun 08 '26 14:06 slarse

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

krlvi avatar Jul 19 '26 22:07 krlvi

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

kiefernforst avatar Jul 21 '26 19:07 kiefernforst

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

krlvi avatar Jul 21 '26 20:07 krlvi