dontpanic92 / wxGo

Golang wxWidgets Wrapper
Other
404 stars 51 forks source link

Archlinux has deprecated Webkitgtk; wxGo won't compile #30

Open sinni800 opened 7 years ago

sinni800 commented 7 years ago

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.

dontpanic92 commented 7 years ago

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.