Bug 195001

Summary: [WPE] Bump WPEBackend-fdo requirement to API version 1.0
Product: WebKit Reporter: Adrian Perez <aperez>
Component: WPE WebKitAssignee: Adrian Perez <aperez>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, clopez, commit-queue, ews-watchlist, mcatanzaro, pnormand, zan
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/Igalia/WPEBackend-fdo/pull/34
https://github.com/Igalia/WPEBackend-fdo/pull/35
Attachments:
Description Flags
Patch
none
Patch v2
none
Patch v3
none
Archive of layout-test-results from ews122 for ios-simulator-wk2
none
Patch for landing none

Adrian Perez
Reported 2019-02-25 04:21:14 PST
This is needed to accommodate to the changes in WPEBackend-fdo for its upcoming 1.2.x release series. Note that the patch should be merged to 2.24 release branch, too.
Attachments
Patch (4.91 KB, patch)
2019-02-25 04:24 PST, Adrian Perez
no flags
Patch v2 (6.01 KB, patch)
2019-02-25 04:47 PST, Adrian Perez
no flags
Patch v3 (15.10 KB, patch)
2019-02-25 07:09 PST, Adrian Perez
no flags
Archive of layout-test-results from ews122 for ios-simulator-wk2 (2.46 MB, application/zip)
2019-02-25 09:07 PST, EWS Watchlist
no flags
Patch for landing (15.12 KB, patch)
2019-02-25 13:21 PST, Adrian Perez
no flags
Adrian Perez
Comment 1 2019-02-25 04:24:48 PST
Philippe Normand
Comment 2 2019-02-25 04:32:48 PST
Comment on attachment 362892 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=362892&action=review > Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:83 > #if defined(WPE_BACKEND_CHECK_VERSION) && WPE_BACKEND_CHECK_VERSION(0, 2, 0) > - wpe_loader_init("libWPEBackend-fdo-0.1.so"); > + wpe_loader_init("libWPEBackend-fdo-1.0.so"); > #endif > > + // TODO: This may return false, but it is unclear what could be > + // done here to handle failure and notify accordingly. > wpe_fdo_initialize_for_egl_display(m_eglDisplay); I think this should now move to WPEQtViewBackend::create(), especially considering the TODO.
Carlos Garcia Campos
Comment 3 2019-02-25 04:33:59 PST
Comment on attachment 362892 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=362892&action=review > Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:77 > #if defined(WPE_BACKEND_CHECK_VERSION) && WPE_BACKEND_CHECK_VERSION(0, 2, 0) We should remove all these ifdefs now that we depend on newer version. > Source/cmake/FindWPEBackend-fdo.cmake:32 > -pkg_check_modules(PC_WPEBACKEND_FDO QUIET wpebackend-fdo-0.1) > +pkg_check_modules(PC_WPEBACKEND_FDO QUIET wpebackend-fdo-1.0) I would also change the OptionsWPE file to require the new version explicitly.
Adrian Perez
Comment 4 2019-02-25 04:47:41 PST
Created attachment 362893 [details] Patch v2 Addresses the changes requested by Philippe and Carlos Garcia.
Carlos Garcia Campos
Comment 5 2019-02-25 05:25:33 PST
Comment on attachment 362893 [details] Patch v2 View in context: https://bugs.webkit.org/attachment.cgi?id=362893&action=review > Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:77 > #if defined(WPE_BACKEND_CHECK_VERSION) && WPE_BACKEND_CHECK_VERSION(0, 2, 0) We should remove all these ifdefs now that we depend on newer version.
Adrian Perez
Comment 6 2019-02-25 06:29:35 PST
(In reply to Carlos Garcia Campos from comment #5) > Comment on attachment 362893 [details] > Patch v2 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=362893&action=review > > > Source/WebKit/UIProcess/API/wpe/qt/WPEQtViewBackend.cpp:77 > > #if defined(WPE_BACKEND_CHECK_VERSION) && WPE_BACKEND_CHECK_VERSION(0, 2, 0) > > We should remove all these ifdefs now that we depend on newer version. That's a good point, I'll update the patch momentarily :)
Adrian Perez
Comment 7 2019-02-25 07:09:13 PST
Created attachment 362900 [details] Patch v3 Removes usage of the WPE_BACKEND_CHECK_VERSION() macro.
EWS Watchlist
Comment 8 2019-02-25 09:07:52 PST
Comment on attachment 362900 [details] Patch v3 Attachment 362900 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/11278162 New failing tests: imported/w3c/web-platform-tests/webrtc/simplecall-no-ssrcs.https.html
EWS Watchlist
Comment 9 2019-02-25 09:07:53 PST
Created attachment 362905 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6
Adrian Perez
Comment 10 2019-02-25 13:08:51 PST
(In reply to Build Bot from comment #9) > Created attachment 362905 [details] > Archive of layout-test-results from ews122 for ios-simulator-wk2 > > The attached test failures were seen while running run-webkit-tests on the > ios-sim-ews. > Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.6 The patch only touches code specific to the WPE port, so this iOS failure must be unrelated; therefore I'm going ahead and setting cq+ to this =)
Adrian Perez
Comment 11 2019-02-25 13:13:43 PST
Comment on attachment 362900 [details] Patch v3 Setting cq- back... Let's wait to have the following build fix in WPEBackend-fdo before updating the JHBuild moduleset: https://github.com/Igalia/WPEBackend-fdo/pull/35
Adrian Perez
Comment 12 2019-02-25 13:21:37 PST
Created attachment 362921 [details] Patch for landing
WebKit Commit Bot
Comment 13 2019-02-25 13:48:31 PST
Comment on attachment 362921 [details] Patch for landing Clearing flags on attachment: 362921 Committed r242055: <https://trac.webkit.org/changeset/242055>
WebKit Commit Bot
Comment 14 2019-02-25 13:48:33 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.