GNOME Bugzilla – Bug 780533
mutter-3.24.0 will not build without wayland
Last modified: 2017-05-11 12:30:00 UTC
Created attachment 348709 [details] [review]
Compile fix for main.c
mutter-3.24.0 will not build without wayland installed, even with the --disable-wayland and --disable-wayland-egl-server options selected.
First, there is a compile error in src/core/main.c, which is easily dealt with by the patch I will attach.
However the build still fails at the linking stage for libmutter, with a linker error as follows:
make: Entering directory '/usr/local/src/gnome-3/updates/mutter-3.24.0/src'
./.libs/libmutter-0.so: undefined reference to `meta_dnd_wayland_handle_begin_modal'
collect2: error: ld returned 1 exit status
This is with the native backend disabled. A different set of linker errors arise when the native backend is enabled on X11.
The compiler is gcc-6.3.0 and the xorg-server is xorg-server-1.19.3.
Created attachment 348712 [details] [review]
Fix for linker error
This fixes the linker error. Whether the X11 backend actually works correctly remains to be seen.
These two patches work for me on FreeBSD. Can they get reviewed?
Ping again ... mutter is a required component of any GNOME desktop installation, so I hope we don't keep it broken in git master and 3.24 releases.
Can you provide a git-format'ed patch for proper attribution? The code looks good to me (though I don't see a good reason for splitting it into two patches) ...