40.1: build fails because missing checking `xi` dependency
Build fails with
4fa31838707327459a6d82.dat
[99/139] /usr/bin/gcc -Ilibwnck/wnckprop.p -Ilibwnck -I../libwnck -I. -I.. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/startup-notification-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none '-DG_LOG_DOMAIN="Wnck"' -DWNCK_I_KNOW_THIS_IS_UNSTABLE '-DWNCK_LOCALEDIR="/usr/share/locale"' -DWNCK_COMPILATION -DSN_API_NOT_YET_FROZEN=1 -MD -MQ libwnck/wnckprop.p/wnckprop.c.o -MF libwnck/wnckprop.p/wnckprop.c.o.d -o libwnck/wnckprop.p/wnckprop.c.o -c ../libwnck/wnckprop.c
FAILED: libwnck/wnckprop.p/wnckprop.c.o
/usr/bin/gcc -Ilibwnck/wnckprop.p -Ilibwnck -I../libwnck -I. -I.. -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/startup-notification-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none '-DG_LOG_DOMAIN="Wnck"' -DWNCK_I_KNOW_THIS_IS_UNSTABLE '-DWNCK_LOCALEDIR="/usr/share/locale"' -DWNCK_COMPILATION -DSN_API_NOT_YET_FROZEN=1 -MD -MQ libwnck/wnckprop.p/wnckprop.c.o -MF libwnck/wnckprop.p/wnckprop.c.o.d -o libwnck/wnckprop.p/wnckprop.c.o -c ../libwnck/wnckprop.c
../libwnck/wnckprop.c:39:10: fatal error: X11/extensions/XInput2.h: No such file or directory
39 | #include <X11/extensions/XInput2.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
I think that I found what needs to be fixed.
Here is patch which I'm using
--- a/meson.build
+++ b/meson.build
@@ -46,6 +46,7 @@
{'name': STARTUP_NOTIFICATION_PACKAGE, 'version': '>= 0.4', 'required': get_option('startup_notification')},
{'name': X11_PACKAGE },
{'name': XRES_PACKAGE, 'required': false},
+ {'name': 'xi', 'required': true},
]
foreach p: pkg_deps
Please let me know if you want this as MR.