app/Background.vala:47.34-47.40: error: The symbol `X11' could not be found
Hi.
This commit in vala broke building deja-dup with:
../deja-dup-43.2/app/Background.vala:47.34-47.40: error: The symbol `X11' could not be found
47 | var x11_surface = surface as Gdk.X11.Surface;
| ^~~~~~~
Compilation failed: 1 error(s), 0 warning(s)
I am locally using this patch which fixes the build. Obviously, it's not good enough / correct in case we use wayland but I just wanted to demonstrate the issue:
Index: app/meson.build
--- app/meson.build.orig
+++ app/meson.build
@@ -50,6 +50,7 @@ deja_dup = executable('deja-dup',
adwaita_dep,
gio_unix_dep,
gtk_dep,
+ gtk_x11_dep,
packagekit_dep,
secret_dep,
],