[Freewx-maint] Bug#738849: Please enable webview support for wx3.0

Gianfranco Costamagna costamagnagianfranco at yahoo.it
Thu Feb 13 12:51:31 UTC 2014


Package: libwxgtk3.0-0
Severity: serious

The wx3.0 package *should* depend from libwebkitgtk-3.0-dev.

The last boinc release needs webwview support, and I finally spotted why I didn't succeed in building it on a clean debian environment.
Your build log clearly says that you are enabling webview

checking for --enable-printarch... yes
checking for --enable-svg... yes
checking for --enable-webkit... yes
checking for --enable-webview... yes
checking for --enable-graphics_ctx... yes

BUT after that you can see it gets disabled

checking for linux/joystick.h... yes
checking for python... /usr/bin/python
configure: WARNING: webkitgtk not found.
configure: WARNING: WebKit not available, disabling wxWebView
checking for WEBKIT... checking for CAIRO... yes
checking for cairo_push_group... yes

boinc fails with this log, while building with a custom wx3.0 library doesn't fail.
I can upload on mentors or a debdiff here if needed.

thanks.

G.

/usr/include/wx-3.0/wx/vector.h:44:23: warning: previous declaration of 'void wxQsort(void*, size_t, size_t, wxSortCallback, const void*)' [-Wredundant-decls]
 WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
                       ^
In file included from NoticeListCtrl.cpp:36:0:
NoticeListCtrl.h:48:25: error: 'wxWebViewEvent' has not been declared
     void OnLinkClicked( wxWebViewEvent& event );
                         ^
NoticeListCtrl.h:49:26: error: 'wxWebViewEvent' has not been declared
     void OnWebViewError( wxWebViewEvent& event );
                          ^
NoticeListCtrl.h:59:5: error: 'wxWebView' does not name a type
     wxWebView*  m_browser;
     ^
NoticeListCtrl.cpp:53:72: error: invalid use of non-static member function 'void CNoticeListCtrl::OnLinkClicked(int&)'
     EVT_WEBVIEW_NAVIGATING(ID_LIST_NOTIFICATIONSVIEW, CNoticeListCtrl::OnLinkClicked)
                                                                        ^
NoticeListCtrl.cpp:53:85: error: 'EVT_WEBVIEW_NAVIGATING' was not declared in this scope
     EVT_WEBVIEW_NAVIGATING(ID_LIST_NOTIFICATIONSVIEW, CNoticeListCtrl::OnLinkClicked)
                                                                                     ^
NoticeListCtrl.cpp:54:5: error: expected '}' before 'EVT_WEBVIEW_ERROR'
     EVT_WEBVIEW_ERROR(ID_LIST_NOTIFICATIONSVIEW, CNoticeListCtrl::OnWebViewError)


Building wx

[1] https://buildd.debian.org/status/fetch.php?pkg=wxwidgets3.0&arch=i386&ver=3.0.0-2&stamp=1385783568




More information about the Freewx-maint mailing list