[Gtkwave-users] wayland dependency
Brought to you by:
gtkwave,
joel1234567
|
From: Fabio R. <ro...@in...> - 2023-05-16 09:35:10
|
Hello,
I am trying to compile latest gtkwave-3.3.115 against gtk3+ without wayland support. The configure phase completes without errors but I get compile time errors due to missing includes related to wayland.
In file included from debug.h:17,
from vlist.h:18,
from analyzer.h:18,
from symbol.h:20,
from vcd.h:32,
from ae2.h:16,
from globals.h:27,
from bitvec.c:15:
gtk23compat.h:12:10: fatal error: gdk/gdkwayland.h: No such file or directory
12 | #include <gdk/gdkwayland.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
By looking into the code it seems that wayland is not mandatory (a check against the GDK_WINDOWING_WAYLAND define is used for specific lines of code but not around the include directives). So I have created a simple patch which makes possible to build the sources without errors, at runtime then it seems to work correctly.
Is the patch correct? Can it be applied upstream?
Thanks,
Fabio |