WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 244641
[WPE][GTK] Introduce WPE 2.0 API version, and ENABLE_2022_GLIB_API flag to indicate either GTK 4 or WPE 2.0
https://bugs.webkit.org/show_bug.cgi?id=244641
Summary
[WPE][GTK] Introduce WPE 2.0 API version, and ENABLE_2022_GLIB_API flag to in...
Michael Catanzaro
Reported
2022-08-31 16:51:22 PDT
Introduce WPE 2.0 API version, and ENABLE_2022_GLIB_API flag to indicate either GTK 4 or WPE 2.0 Since there are few users of the WPE 1.1 API, and we don't need to keep it around, WPE 2.0 will simply replace WPE 1.1. In contrast, the WPE 1.0 API is still required until Igalia is ready to phase out libsoup 2.
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2022-08-31 16:53:54 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/3886
EWS
Comment 2
2022-09-19 17:45:23 PDT
Committed
254653@main
(b2a6414f90b3): <
https://commits.webkit.org/254653@main
> Reviewed commits have been landed. Closing PR #3886 and removing active labels.
Philippe Normand
Comment 3
2022-09-21 02:14:28 PDT
This broke WPE builds where ENABLE_COG is ON BTW. Current cog depends on the 1.1 API.
Michael Catanzaro
Comment 4
2022-09-21 07:34:16 PDT
I'm bamboozled... how does this option work? It doesn't seem to be used anywhere: $ git grep 'ENABLE(COG)' $ git grep ENABLE_COG cmake/OptionsWPE.cmake: WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_COG PRIVATE ON) cmake/WebKitFeatures.cmake: WEBKIT_OPTION_DEFINE(ENABLE_COG "Toggle Cog browser compilation." PRIVATE OFF)
Michael Catanzaro
Comment 5
2022-09-28 10:28:41 PDT
Problem was I was searching only under Source/, but ENABLE_COG is used under Tools/. Anyway it doesn't look hard to solve, just needs some attention from the cog developers to decide which branch to use based on the WPE API version.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug