Build always fails when giving -Dshell-desktop=false
There is a Meson option to disable the shell-desktop feature, but since 9e90760a, the build will always fail when this is done. This is because the tests are built unconditionally. I believe it was already necessary to enable the shell-desktop feature for the tests to pass, which is fine, but obviously an option that you cannot disable makes no sense. It would be best not to build the tests unconditionally. This is what happens:
[175/273] powerpc-unknown-linux-gnu-gcc -Itests/libtest-client.a.p -Itests -I../weston-10.0.0/tests -I. -I../weston-10.0.0 -Iinclude -I../weston-10.0.0/include -Icompositor -I../weston-10.0.0/compositor -Iprotocol -I/usr/lib/libffi/include -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -mcpu=7450 -pipe -fPIC -MD -MQ tests/libtest-client.a.p/weston-test-client-helper.c.o -MF tests/libtest-client.a.p/weston-test-client-helper.c.o.d -o tests/libtest-client.a.p/weston-test-client-helper.c.o -c ../weston-10.0.0/tests/weston-test-client-helper.c
FAILED: tests/libtest-client.a.p/weston-test-client-helper.c.o
powerpc-unknown-linux-gnu-gcc -Itests/libtest-client.a.p -Itests -I../weston-10.0.0/tests -I. -I../weston-10.0.0 -Iinclude -I../weston-10.0.0/include -Icompositor -I../weston-10.0.0/compositor -Iprotocol -I/usr/lib/libffi/include -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/libpng16 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -Wmissing-prototypes -Wno-unused-parameter -Wno-shift-negative-value -Wno-missing-field-initializers -Wno-pedantic -Wundef -fvisibility=hidden -O2 -mcpu=7450 -pipe -fPIC -MD -MQ tests/libtest-client.a.p/weston-test-client-helper.c.o -MF tests/libtest-client.a.p/weston-test-client-helper.c.o.d -o tests/libtest-client.a.p/weston-test-client-helper.c.o -c ../weston-10.0.0/tests/weston-test-client-helper.c
In file included from ../weston-10.0.0/tests/weston-test-client-helper.c:43:
../weston-10.0.0/tests/weston-test-client-helper.h:40:10: fatal error: weston-screenshooter-client-protocol.h: No such file or directory
40 | #include "weston-screenshooter-client-protocol.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.