Page 1 of 1

static build gtkdialog

Posted: Tue Sep 19, 2023 11:23 pm
by mistfire

I wonder if it is possible to compile gtkdialog statically?


Re: static build gtkdialog

Posted: Sat Sep 23, 2023 9:40 am
by step

Maybe but it doesn't sound like a good idea. For a true static build you'd have to include gtk2 or gtk3, glib, X libs and what not. It would be a HUGE executable.


Re: static build gtkdialog

Posted: Sat Sep 23, 2023 9:47 am
by dimkr
step wrote: Sat Sep 23, 2023 9:40 am

Maybe but it doesn't sound like a good idea. For a true static build you'd have to include gtk2 or gtk3, glib, X libs and what not. It would be a HUGE executable.

And Wayland makes things much worse, because GTK+ needs portals (via D-Bus) to function, so the executable linked statically against GTK+ is not truly standalone.

(Plus GTK+ won't be able to load modules, so no IME support, among other problems)