wxGo icon indicating copy to clipboard operation
wxGo copied to clipboard

Archlinux has deprecated Webkitgtk; wxGo won't compile

Open sinni800 opened this issue 8 years ago • 1 comments
trafficstars

So webkitgtk ("webkit1gtk") is being thrown out in favor of webkit2gtk and this is set to compile against the old version through ldflags.

WxGTK can and will compile with webkit2gtk in mind, so wxGo should also compile against Webkit2gtk

The line of code that contains the problem is here: https://github.com/dontpanic92/wxGo/blob/master/wx/setup_linux_amd64.go#L9

webkitgtk-3.0 should be something like webkit2gtk-4.0 (?) now.

EDIT: Actually, since you precompile everything, that probably be won't be that easy..., you'd need to provide two .a libs, one for a webkit2gtk patched source and one for webkitgtk.

sinni800 avatar Jul 03 '17 13:07 sinni800

Thanks for your advice. I have noticed the deprecation of webkitgtk, however I'm busy with my master thesis and other matters about graduation these days. I will deal with wxGo's issues as soon as possible.

BTW maybe it's time to consider providing an option to use shared wx-libraries.... as long as I can correctly adding #if/#endif macros around every component.

dontpanic92 avatar Jul 04 '17 05:07 dontpanic92