Re: [Gtkwave-users] wayland dependency
Brought to you by:
gtkwave,
joel1234567
From: <by...@nc...> - 2023-05-16 19:06:24
|
551:/home/bybell/gtkwave/code/gtkwave3-gtk3> svn commit Password: Sending ChangeLog Sending src/gtk23compat.h Sending src/twinwave.c Transmitting file data ... Committed revision 1643. I integrated it slightly modified as the #if with && didn't compile on my Centos7 system. Thanks for the patch. Checked in as shown above. -Tony -----------------------------------------From: "Fabio Rossi via Gtkwave-users" To: "gtk...@li..." Cc: "Fabio Rossi" Sent: Tuesday May 16 2023 5:35:32AM Subject: [Gtkwave-users] wayland dependency 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 | ^~~~~~~~~~~~~~~~~~ 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 |