* [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional [not found] <Thomas Devoogdt <20231001165218.1960930-3-thomas.devoogdt@barco.com> @ 2023-11-10 16:46 ` Thomas Devoogdt 2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt ` (3 more replies) 0 siblings, 4 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-11-10 16:46 UTC (permalink / raw) To: buildroot Cc: Adrian Perez de Castro, Thomas Devoogdt, Yann E . MORIN, Thomas Devoogdt This was added upstream in commit: https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', so ensure that we unset 'USE_GBM' if we don't have libgbm. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2,3,4,5: no change --- package/webkitgtk/webkitgtk.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index bb6df3d592..88bdfae27b 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -88,6 +88,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF endif +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON +WEBKITGTK_DEPENDENCIES += libgbm +else +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF +endif + ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-11-10 16:46 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Thomas Devoogdt @ 2023-11-10 16:46 ` Thomas Devoogdt 2023-11-14 13:07 ` Adrian Perez de Castro 2024-01-27 16:30 ` Yann E. MORIN 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt ` (2 subsequent siblings) 3 siblings, 2 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-11-10 16:46 UTC (permalink / raw) To: buildroot Cc: Adrian Perez de Castro, Thomas Devoogdt, Yann E . MORIN, Thomas Devoogdt libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 egl is mandatory if ENABLE_WAYLAND_TARGET https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2: n/a v3,4,5: no change (added from another patch serie) --- package/webkitgtk/Config.in | 1 + package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 927792b1e4..cb10784133 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK select BR2_PACKAGE_WEBP select BR2_PACKAGE_WEBP_DEMUX select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 88bdfae27b..9c68fe73cf 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI WEBKITGTK_DEPENDENCIES += libegl endif -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON WEBKITGTK_DEPENDENCIES += wpebackend-fdo else -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt @ 2023-11-14 13:07 ` Adrian Perez de Castro 2023-11-30 22:48 ` Adrian Perez de Castro 2024-02-28 16:19 ` Peter Korsgaard 2024-01-27 16:30 ` Yann E. MORIN 1 sibling, 2 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-14 13:07 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot [-- Attachment #1.1: Type: text/plain, Size: 2218 bytes --] On Fri, 10 Nov 2023 17:46:16 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > > egl is mandatory if ENABLE_WAYLAND_TARGET > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Tested-By: Adrian Perez de Castro <aperez@igalia.com> > --- > v2: n/a > v3,4,5: no change (added from another patch serie) > --- > package/webkitgtk/Config.in | 1 + > package/webkitgtk/webkitgtk.mk | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in > index 927792b1e4..cb10784133 100644 > --- a/package/webkitgtk/Config.in > +++ b/package/webkitgtk/Config.in > @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK > select BR2_PACKAGE_WEBP > select BR2_PACKAGE_WEBP_DEMUX > select BR2_PACKAGE_WOFF2 > + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 > select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 > select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 88bdfae27b..9c68fe73cf 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI > WEBKITGTK_DEPENDENCIES += libegl > endif > > -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) > +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) > WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON > WEBKITGTK_DEPENDENCIES += wpebackend-fdo > else > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-11-14 13:07 ` Adrian Perez de Castro @ 2023-11-30 22:48 ` Adrian Perez de Castro 2024-02-28 16:19 ` Peter Korsgaard 1 sibling, 0 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-30 22:48 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, buildroot, Thomas Devoogdt, Yann E . MORIN [-- Attachment #1.1: Type: text/plain, Size: 2648 bytes --] On Tue, 14 Nov 2023 15:07:25 +0200 Adrian Perez de Castro <aperez@igalia.com> wrote: > On Fri, 10 Nov 2023 17:46:16 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > > > > egl is mandatory if ENABLE_WAYLAND_TARGET > > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > > > > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. > > > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > > Tested-By: Adrian Perez de Castro <aperez@igalia.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> > > --- > > v2: n/a > > v3,4,5: no change (added from another patch serie) > > --- > > package/webkitgtk/Config.in | 1 + > > package/webkitgtk/webkitgtk.mk | 2 +- > > 2 files changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in > > index 927792b1e4..cb10784133 100644 > > --- a/package/webkitgtk/Config.in > > +++ b/package/webkitgtk/Config.in > > @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK > > select BR2_PACKAGE_WEBP > > select BR2_PACKAGE_WEBP_DEMUX > > select BR2_PACKAGE_WOFF2 > > + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND > > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 > > select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 > > select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 > > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > > index 88bdfae27b..9c68fe73cf 100644 > > --- a/package/webkitgtk/webkitgtk.mk > > +++ b/package/webkitgtk/webkitgtk.mk > > @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI > > WEBKITGTK_DEPENDENCIES += libegl > > endif > > > > -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) > > +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) > > WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON > > WEBKITGTK_DEPENDENCIES += wpebackend-fdo > > else > > -- > > 2.34.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot@buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > Cheers, > —Adrián > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-11-14 13:07 ` Adrian Perez de Castro 2023-11-30 22:48 ` Adrian Perez de Castro @ 2024-02-28 16:19 ` Peter Korsgaard 1 sibling, 0 replies; 20+ messages in thread From: Peter Korsgaard @ 2024-02-28 16:19 UTC (permalink / raw) To: Adrian Perez de Castro Cc: Thomas Devoogdt, buildroot, Thomas Devoogdt, Yann E . MORIN >>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes: > On Fri, 10 Nov 2023 17:46:16 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: >> libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND >> https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 >> >> egl is mandatory if ENABLE_WAYLAND_TARGET >> https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 >> >> So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. >> >> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > Tested-By: Adrian Perez de Castro <aperez@igalia.com> Committed to 2023.02.x and 2023.11.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt 2023-11-14 13:07 ` Adrian Perez de Castro @ 2024-01-27 16:30 ` Yann E. MORIN 1 sibling, 0 replies; 20+ messages in thread From: Yann E. MORIN @ 2024-01-27 16:30 UTC (permalink / raw) To: Thomas Devoogdt; +Cc: Adrian Perez de Castro, Thomas Devoogdt, buildroot Thomas, All, On 2023-11-10 17:46 +0100, Thomas Devoogdt spake thusly: > libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 > > egl is mandatory if ENABLE_WAYLAND_TARGET > https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 > > So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Applied to master, thanks. Regards, Yann E. MORIN. > --- > v2: n/a > v3,4,5: no change (added from another patch serie) > --- > package/webkitgtk/Config.in | 1 + > package/webkitgtk/webkitgtk.mk | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in > index 927792b1e4..cb10784133 100644 > --- a/package/webkitgtk/Config.in > +++ b/package/webkitgtk/Config.in > @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK > select BR2_PACKAGE_WEBP > select BR2_PACKAGE_WEBP_DEMUX > select BR2_PACKAGE_WOFF2 > + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND > select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 > select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 > select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 88bdfae27b..9c68fe73cf 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI > WEBKITGTK_DEPENDENCIES += libegl > endif > > -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) > +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) > WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON > WEBKITGTK_DEPENDENCIES += wpebackend-fdo > else > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-10 16:46 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Thomas Devoogdt 2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt @ 2023-11-10 16:46 ` Thomas Devoogdt 2023-11-14 13:11 ` Adrian Perez de Castro ` (3 more replies) 2023-11-14 13:06 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Adrian Perez de Castro 2024-01-27 16:35 ` Yann E. MORIN 3 siblings, 4 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-11-10 16:46 UTC (permalink / raw) To: buildroot Cc: Adrian Perez de Castro, Thomas Devoogdt, Yann E . MORIN, Thomas Devoogdt Update to a new major release. Release notes: https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html Security notes: https://webkitgtk.org/security/WSA-2023-0008.html - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. - ENABLE_GLES2 has been dropped, so drop it also here [2]. Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a dependency for libgles, so leave it out here. - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 10, because we can't check on >= GCC 10.2. [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2: n/a v3: - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 v4: - fixed incomplete git massage (a ____ line splits the git message apparently) - re-added patches with upstream cherry-pick and hash v5: - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 --- ...e-when-gstreamer-support-is-disabled.patch | 36 ------------------- package/webkitgtk/Config.in | 6 ++-- package/webkitgtk/webkitgtk.hash | 6 ++-- package/webkitgtk/webkitgtk.mk | 16 ++++++--- 4 files changed, 17 insertions(+), 47 deletions(-) delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch deleted file mode 100644 index 3fa23b215b..0000000000 --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 -From: Matt Turner <mattst88@gmail.com> -Date: Tue, 8 Aug 2023 16:51:25 -0700 -Subject: [PATCH] Fix build failure when gstreamer support is disabled - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 - -Reviewed by Carlos Alberto Lopez Perez. - -* Source/WebCore/loader/MixedContentChecker.cpp: - -Canonical link: https://commits.webkit.org/260527.429@fix-build - -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) - -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 -Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> ---- - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp -index 9b4c7fe62020..ac4733bc08bc 100644 ---- a/Source/WebCore/loader/MixedContentChecker.cpp -+++ b/Source/WebCore/loader/MixedContentChecker.cpp -@@ -33,6 +33,8 @@ - #include "ContentSecurityPolicy.h" - #include "Document.h" - #include "Frame.h" -+#include "FrameLoader.h" -+#include "FrameLoaderClient.h" - #include "SecurityOrigin.h" - - namespace WebCore { --- -2.42.0 - diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index cb10784133..ace1b8739f 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 7f50f1aa7b..59782732c3 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,6 +1,6 @@ -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.2.tar.xz.sums +sha1 05bec6a824e46f043b865478735bc8395249510e webkitgtk-2.42.2.tar.xz +sha256 5720aa3e8627f1b9f63252187d4df0f8233ae71d697b1796ebfbe5ca750bd118 webkitgtk-2.42.2.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 9c68fe73cf..611d7f65d3 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.40.5 +WEBKITGTK_VERSION = 2.42.2 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -73,6 +73,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF endif +ifeq ($(BR2_PACKAGE_LIBJXL),y) +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON +WEBKITGTK_DEPENDENCIES += libjxl +else +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF +endif + ifeq ($(BR2_PACKAGE_LIBMANETTE),y) WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON WEBKITGTK_DEPENDENCIES += libmanette @@ -80,12 +87,11 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF endif -# Use GLES if available and desktop GL is not. -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON WEBKITGTK_DEPENDENCIES += libgles else -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF endif ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt @ 2023-11-14 13:11 ` Adrian Perez de Castro 2023-11-14 20:06 ` Thomas Devoogdt 2023-11-30 22:47 ` Adrian Perez de Castro ` (2 subsequent siblings) 3 siblings, 1 reply; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-14 13:11 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot [-- Attachment #1.1: Type: text/plain, Size: 2493 bytes --] Hi Thomas, Thanks for the patch set with the fixes and the update to 2.42.x, I have reviewed and tested the other two patches (they are good!) but this one needs one more change before it can be merged, please read the comment below. On Fri, 10 Nov 2023 17:46:17 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > Update to a new major release. > > Release notes: > > https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html > https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html > https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html > > Security notes: > > https://webkitgtk.org/security/WSA-2023-0008.html > > - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. > > - ENABLE_GLES2 has been dropped, so drop it also here [2]. > Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also > libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a > dependency for libgles, so leave it out here. > > - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 10, because we can't check on >= GCC 10.2. > > [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 > [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 > [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > --- > v2: n/a > v3: > - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option > - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 > v4: > - fixed incomplete git massage (a ____ line splits the git message apparently) > - re-added patches with upstream cherry-pick and hash > v5: > - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 Patch "0002-WPE-GTK-ExtensionsGLOpenGLES.cpp-uses-GLES3-symbols-.patch" also needs to be removed: it does not apply because the fix has been imported upstream and is part of the 2.42.x releases. > --- > ...e-when-gstreamer-support-is-disabled.patch | 36 ------------------- > package/webkitgtk/Config.in | 6 ++-- > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 16 ++++++--- > 4 files changed, 17 insertions(+), 47 deletions(-) > > [...] Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-14 13:11 ` Adrian Perez de Castro @ 2023-11-14 20:06 ` Thomas Devoogdt 2023-11-30 22:44 ` Adrian Perez de Castro 0 siblings, 1 reply; 20+ messages in thread From: Thomas Devoogdt @ 2023-11-14 20:06 UTC (permalink / raw) To: Adrian Perez de Castro Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot Hi Adrian, Thx for the review! Are you sure that this patch is still present, and not just a leftover on your stash? I'm trying to find out which patch this is about, but I don't see it. Checked by doing: 1173 git clean -fdx 1174 git fetch 1175 git checkout origin/master 1176 curl https://patchwork.ozlabs.org/series/381656/mbox/ | git am 1177 ls package/webkitgtk/ Kr, Thomas Devoogdt Op di 14 nov 2023 om 14:11 schreef Adrian Perez de Castro <aperez@igalia.com>: > > Hi Thomas, > > Thanks for the patch set with the fixes and the update to 2.42.x, I have > reviewed and tested the other two patches (they are good!) but this one > needs one more change before it can be merged, please read the comment > below. > > On Fri, 10 Nov 2023 17:46:17 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > > Update to a new major release. > > > > Release notes: > > > > https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html > > https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html > > https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html > > > > Security notes: > > > > https://webkitgtk.org/security/WSA-2023-0008.html > > > > - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. > > > > - ENABLE_GLES2 has been dropped, so drop it also here [2]. > > Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also > > libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a > > dependency for libgles, so leave it out here. > > > > - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. > > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > > we do check on >= GCC 10, because we can't check on >= GCC 10.2. > > > > [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 > > [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 > > [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 > > > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > > --- > > v2: n/a > > v3: > > - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option > > - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 > > v4: > > - fixed incomplete git massage (a ____ line splits the git message apparently) > > - re-added patches with upstream cherry-pick and hash > > v5: > > - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 > > Patch "0002-WPE-GTK-ExtensionsGLOpenGLES.cpp-uses-GLES3-symbols-.patch" also > needs to be removed: it does not apply because the fix has been imported > upstream and is part of the 2.42.x releases. > > > --- > > ...e-when-gstreamer-support-is-disabled.patch | 36 ------------------- > > package/webkitgtk/Config.in | 6 ++-- > > package/webkitgtk/webkitgtk.hash | 6 ++-- > > package/webkitgtk/webkitgtk.mk | 16 ++++++--- > > 4 files changed, 17 insertions(+), 47 deletions(-) > > > > [...] > > Cheers, > —Adrián _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-14 20:06 ` Thomas Devoogdt @ 2023-11-30 22:44 ` Adrian Perez de Castro 0 siblings, 0 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-30 22:44 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot [-- Attachment #1.1: Type: text/plain, Size: 643 bytes --] On Tue, 14 Nov 2023 21:06:53 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > Hi Adrian, > > Thx for the review! > Are you sure that this patch is still present, and not just a leftover > on your stash? I'm trying to find out which patch this is about, but I > don't see it. > > Checked by doing: > 1173 git clean -fdx > 1174 git fetch > 1175 git checkout origin/master > 1176 curl https://patchwork.ozlabs.org/series/381656/mbox/ | git am > 1177 ls package/webkitgtk/ D'oh! You were right, that was a stray patch I had locally. Re-tested the patch set and it is working fine =) Sorry about the mixup. Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt 2023-11-14 13:11 ` Adrian Perez de Castro @ 2023-11-30 22:47 ` Adrian Perez de Castro 2024-01-27 16:35 ` Yann E. MORIN 2024-02-28 16:24 ` Peter Korsgaard 3 siblings, 0 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-30 22:47 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot [-- Attachment #1.1: Type: text/plain, Size: 7684 bytes --] On Fri, 10 Nov 2023 17:46:17 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > Update to a new major release. > > Release notes: > > https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html > https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html > https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html > > Security notes: > > https://webkitgtk.org/security/WSA-2023-0008.html > > - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. > > - ENABLE_GLES2 has been dropped, so drop it also here [2]. > Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also > libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a > dependency for libgles, so leave it out here. > > - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 10, because we can't check on >= GCC 10.2. > > [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 > [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 > [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Tested-by: Adrian Perez de Castro <aperez@igalia.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> > --- > v2: n/a > v3: > - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option > - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 > v4: > - fixed incomplete git massage (a ____ line splits the git message apparently) > - re-added patches with upstream cherry-pick and hash > v5: > - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 > --- > ...e-when-gstreamer-support-is-disabled.patch | 36 ------------------- > package/webkitgtk/Config.in | 6 ++-- > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 16 ++++++--- > 4 files changed, 17 insertions(+), 47 deletions(-) > delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > deleted file mode 100644 > index 3fa23b215b..0000000000 > --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > +++ /dev/null > @@ -1,36 +0,0 @@ > -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > -From: Matt Turner <mattst88@gmail.com> > -Date: Tue, 8 Aug 2023 16:51:25 -0700 > -Subject: [PATCH] Fix build failure when gstreamer support is disabled > - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > - > -Reviewed by Carlos Alberto Lopez Perez. > - > -* Source/WebCore/loader/MixedContentChecker.cpp: > - > -Canonical link: https://commits.webkit.org/260527.429@fix-build > - > -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > - > -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > -Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > ---- > - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > - 1 file changed, 2 insertions(+) > - > -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > -index 9b4c7fe62020..ac4733bc08bc 100644 > ---- a/Source/WebCore/loader/MixedContentChecker.cpp > -+++ b/Source/WebCore/loader/MixedContentChecker.cpp > -@@ -33,6 +33,8 @@ > - #include "ContentSecurityPolicy.h" > - #include "Document.h" > - #include "Frame.h" > -+#include "FrameLoader.h" > -+#include "FrameLoaderClient.h" > - #include "SecurityOrigin.h" > - > - namespace WebCore { > --- > -2.42.0 > - > diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in > index cb10784133..ace1b8739f 100644 > --- a/package/webkitgtk/Config.in > +++ b/package/webkitgtk/Config.in > @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt > > -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" > +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" > depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > depends on !BR2_BINFMT_FLAT > depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ > !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ > - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ > !BR2_HOST_GCC_AT_LEAST_4_9 > depends on BR2_USE_MMU > > @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK > depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 > depends on BR2_USE_WCHAR # icu, libsoup3 > depends on BR2_PACKAGE_LIBGTK3 > depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 7f50f1aa7b..59782732c3 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.2.tar.xz.sums > +sha1 05bec6a824e46f043b865478735bc8395249510e webkitgtk-2.42.2.tar.xz > +sha256 5720aa3e8627f1b9f63252187d4df0f8233ae71d697b1796ebfbe5ca750bd118 webkitgtk-2.42.2.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 9c68fe73cf..611d7f65d3 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.5 > +WEBKITGTK_VERSION = 2.42.2 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > @@ -73,6 +73,13 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF > endif > > +ifeq ($(BR2_PACKAGE_LIBJXL),y) > +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON > +WEBKITGTK_DEPENDENCIES += libjxl > +else > +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF > +endif > + > ifeq ($(BR2_PACKAGE_LIBMANETTE),y) > WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON > WEBKITGTK_DEPENDENCIES += libmanette > @@ -80,12 +87,11 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF > endif > > -# Use GLES if available and desktop GL is not. > -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) > -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON > +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) > +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON > WEBKITGTK_DEPENDENCIES += libgles > else > -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF > +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF > endif > > ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) > -- > 2.34.1 > > Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt 2023-11-14 13:11 ` Adrian Perez de Castro 2023-11-30 22:47 ` Adrian Perez de Castro @ 2024-01-27 16:35 ` Yann E. MORIN 2024-02-28 16:24 ` Peter Korsgaard 3 siblings, 0 replies; 20+ messages in thread From: Yann E. MORIN @ 2024-01-27 16:35 UTC (permalink / raw) To: Thomas Devoogdt; +Cc: Adrian Perez de Castro, Thomas Devoogdt, buildroot Thomas, All, On 2023-11-10 17:46 +0100, Thomas Devoogdt spake thusly: > Update to a new major release. > > Release notes: > > https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html > https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html > https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html > > Security notes: > > https://webkitgtk.org/security/WSA-2023-0008.html > > - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. > > - ENABLE_GLES2 has been dropped, so drop it also here [2]. > Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also > libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a > dependency for libgles, so leave it out here. > > - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 10, because we can't check on >= GCC 10.2. > > [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 > [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 > [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Applied to master, thanks. Regards, Yann E. MORIN. > --- > v2: n/a > v3: > - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option > - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 > v4: > - fixed incomplete git massage (a ____ line splits the git message apparently) > - re-added patches with upstream cherry-pick and hash > v5: > - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 > --- > ...e-when-gstreamer-support-is-disabled.patch | 36 ------------------- > package/webkitgtk/Config.in | 6 ++-- > package/webkitgtk/webkitgtk.hash | 6 ++-- > package/webkitgtk/webkitgtk.mk | 16 ++++++--- > 4 files changed, 17 insertions(+), 47 deletions(-) > delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > > diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > deleted file mode 100644 > index 3fa23b215b..0000000000 > --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch > +++ /dev/null > @@ -1,36 +0,0 @@ > -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 > -From: Matt Turner <mattst88@gmail.com> > -Date: Tue, 8 Aug 2023 16:51:25 -0700 > -Subject: [PATCH] Fix build failure when gstreamer support is disabled > - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 > - > -Reviewed by Carlos Alberto Lopez Perez. > - > -* Source/WebCore/loader/MixedContentChecker.cpp: > - > -Canonical link: https://commits.webkit.org/260527.429@fix-build > - > -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) > - > -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 > -Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > ---- > - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ > - 1 file changed, 2 insertions(+) > - > -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp > -index 9b4c7fe62020..ac4733bc08bc 100644 > ---- a/Source/WebCore/loader/MixedContentChecker.cpp > -+++ b/Source/WebCore/loader/MixedContentChecker.cpp > -@@ -33,6 +33,8 @@ > - #include "ContentSecurityPolicy.h" > - #include "Document.h" > - #include "Frame.h" > -+#include "FrameLoader.h" > -+#include "FrameLoaderClient.h" > - #include "SecurityOrigin.h" > - > - namespace WebCore { > --- > -2.42.0 > - > diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in > index cb10784133..ace1b8739f 100644 > --- a/package/webkitgtk/Config.in > +++ b/package/webkitgtk/Config.in > @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > depends on BR2_TOOLCHAIN_HAS_SYNC_4 > depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt > > -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" > +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" > depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > depends on !BR2_BINFMT_FLAT > depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ > !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ > - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ > + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ > !BR2_HOST_GCC_AT_LEAST_4_9 > depends on BR2_USE_MMU > > @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK > depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby > depends on BR2_INSTALL_LIBSTDCPP > depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 > - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 > + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 > depends on BR2_USE_WCHAR # icu, libsoup3 > depends on BR2_PACKAGE_LIBGTK3 > depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS > diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash > index 7f50f1aa7b..59782732c3 100644 > --- a/package/webkitgtk/webkitgtk.hash > +++ b/package/webkitgtk/webkitgtk.hash > @@ -1,6 +1,6 @@ > -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums > -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz > -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz > +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.2.tar.xz.sums > +sha1 05bec6a824e46f043b865478735bc8395249510e webkitgtk-2.42.2.tar.xz > +sha256 5720aa3e8627f1b9f63252187d4df0f8233ae71d697b1796ebfbe5ca750bd118 webkitgtk-2.42.2.tar.xz > > # Hashes for license files: > sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index 9c68fe73cf..611d7f65d3 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -WEBKITGTK_VERSION = 2.40.5 > +WEBKITGTK_VERSION = 2.42.2 > WEBKITGTK_SITE = https://www.webkitgtk.org/releases > WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz > WEBKITGTK_INSTALL_STAGING = YES > @@ -73,6 +73,13 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF > endif > > +ifeq ($(BR2_PACKAGE_LIBJXL),y) > +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON > +WEBKITGTK_DEPENDENCIES += libjxl > +else > +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF > +endif > + > ifeq ($(BR2_PACKAGE_LIBMANETTE),y) > WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON > WEBKITGTK_DEPENDENCIES += libmanette > @@ -80,12 +87,11 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF > endif > > -# Use GLES if available and desktop GL is not. > -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) > -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON > +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) > +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON > WEBKITGTK_DEPENDENCIES += libgles > else > -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF > +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF > endif > > ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt ` (2 preceding siblings ...) 2024-01-27 16:35 ` Yann E. MORIN @ 2024-02-28 16:24 ` Peter Korsgaard 3 siblings, 0 replies; 20+ messages in thread From: Peter Korsgaard @ 2024-02-28 16:24 UTC (permalink / raw) To: Thomas Devoogdt, buildroot Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Devoogdt On 10/11/2023 17.46, Thomas Devoogdt wrote: > Update to a new major release. > > Release notes: > > https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html > https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html > https://webkitgtk.org/2023/11/10/webkitgtk2.42.2-released.html > > Security notes: > > https://webkitgtk.org/security/WSA-2023-0008.html > > - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. > > - ENABLE_GLES2 has been dropped, so drop it also here [2]. > Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also > libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a > dependency for libgles, so leave it out here. > > - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. > Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, > we do check on >= GCC 10, because we can't check on >= GCC 10.2. > > [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 > [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 > [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > --- > v2: n/a > v3: > - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option > - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 > v4: > - fixed incomplete git massage (a ____ line splits the git message apparently) > - re-added patches with upstream cherry-pick and hash > v5: > - 2.42.1 needs an extra bunch of patches, so bump to immediately to 2.42.2 Committed to 2023.02.x and 2023.11.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional 2023-11-10 16:46 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Thomas Devoogdt 2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt 2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt @ 2023-11-14 13:06 ` Adrian Perez de Castro 2023-11-30 22:48 ` Adrian Perez de Castro 2024-02-28 16:19 ` Peter Korsgaard 2024-01-27 16:35 ` Yann E. MORIN 3 siblings, 2 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-14 13:06 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, Thomas Devoogdt, Yann E . MORIN, buildroot [-- Attachment #1.1: Type: text/plain, Size: 1356 bytes --] On Fri, 10 Nov 2023 17:46:15 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > This was added upstream in commit: > > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 > > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', > so ensure that we unset 'USE_GBM' if we don't have libgbm. > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Tested-by: Adrian Perez de Castro <aperez@igalia.com> > --- > v2,3,4,5: no change > --- > package/webkitgtk/webkitgtk.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index bb6df3d592..88bdfae27b 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -88,6 +88,13 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF > endif > > +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON > +WEBKITGTK_DEPENDENCIES += libgbm > +else > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF > +endif > + > ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) > WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON > WEBKITGTK_DEPENDENCIES += libgl \ > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot > Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional 2023-11-14 13:06 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Adrian Perez de Castro @ 2023-11-30 22:48 ` Adrian Perez de Castro 2024-02-28 16:19 ` Peter Korsgaard 1 sibling, 0 replies; 20+ messages in thread From: Adrian Perez de Castro @ 2023-11-30 22:48 UTC (permalink / raw) To: Thomas Devoogdt Cc: Thomas Devoogdt, buildroot, Thomas Devoogdt, Yann E . MORIN [-- Attachment #1.1: Type: text/plain, Size: 1766 bytes --] On Tue, 14 Nov 2023 15:06:52 +0200 Adrian Perez de Castro <aperez@igalia.com> wrote: > On Fri, 10 Nov 2023 17:46:15 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: > > This was added upstream in commit: > > > > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 > > > > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', > > so ensure that we unset 'USE_GBM' if we don't have libgbm. > > > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > > Tested-by: Adrian Perez de Castro <aperez@igalia.com> Acked-by: Adrian Perez de Castro <aperez@igalia.com> > > --- > > v2,3,4,5: no change > > --- > > package/webkitgtk/webkitgtk.mk | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > > index bb6df3d592..88bdfae27b 100644 > > --- a/package/webkitgtk/webkitgtk.mk > > +++ b/package/webkitgtk/webkitgtk.mk > > @@ -88,6 +88,13 @@ else > > WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF > > endif > > > > +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) > > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON > > +WEBKITGTK_DEPENDENCIES += libgbm > > +else > > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF > > +endif > > + > > ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) > > WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON > > WEBKITGTK_DEPENDENCIES += libgl \ > > -- > > 2.34.1 > > > > _______________________________________________ > > buildroot mailing list > > buildroot@buildroot.org > > https://lists.buildroot.org/mailman/listinfo/buildroot > > > > Cheers, > —Adrián > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot Cheers, —Adrián [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 195 bytes --] [-- Attachment #2: Type: text/plain, Size: 150 bytes --] _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional 2023-11-14 13:06 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Adrian Perez de Castro 2023-11-30 22:48 ` Adrian Perez de Castro @ 2024-02-28 16:19 ` Peter Korsgaard 1 sibling, 0 replies; 20+ messages in thread From: Peter Korsgaard @ 2024-02-28 16:19 UTC (permalink / raw) To: Adrian Perez de Castro Cc: Thomas Devoogdt, buildroot, Thomas Devoogdt, Yann E . MORIN >>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes: > On Fri, 10 Nov 2023 17:46:15 +0100 Thomas Devoogdt <thomas@devoogdt.com> wrote: >> This was added upstream in commit: >> >> https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 >> >> The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', >> so ensure that we unset 'USE_GBM' if we don't have libgbm. >> >> Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> > Tested-by: Adrian Perez de Castro <aperez@igalia.com> Committed to 2023.11.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional 2023-11-10 16:46 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Thomas Devoogdt ` (2 preceding siblings ...) 2023-11-14 13:06 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Adrian Perez de Castro @ 2024-01-27 16:35 ` Yann E. MORIN 3 siblings, 0 replies; 20+ messages in thread From: Yann E. MORIN @ 2024-01-27 16:35 UTC (permalink / raw) To: Thomas Devoogdt; +Cc: Adrian Perez de Castro, Thomas Devoogdt, buildroot Thomas, All, On 2023-11-10 17:46 +0100, Thomas Devoogdt spake thusly: > This was added upstream in commit: > > https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 > > The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', > so ensure that we unset 'USE_GBM' if we don't have libgbm. > > Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Applied to master, thanks. Regards, Yann E. MORIN. > --- > v2,3,4,5: no change > --- > package/webkitgtk/webkitgtk.mk | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk > index bb6df3d592..88bdfae27b 100644 > --- a/package/webkitgtk/webkitgtk.mk > +++ b/package/webkitgtk/webkitgtk.mk > @@ -88,6 +88,13 @@ else > WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF > endif > > +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON > +WEBKITGTK_DEPENDENCIES += libgbm > +else > +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF > +endif > + > ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) > WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON > WEBKITGTK_DEPENDENCIES += libgl \ > -- > 2.34.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH v4 1/3] package/webkitgtk: make gbm support optional @ 2023-10-01 16:52 Thomas Devoogdt 2023-10-01 16:52 ` [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt 2023-10-01 16:52 ` [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 Thomas Devoogdt 0 siblings, 2 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-10-01 16:52 UTC (permalink / raw) To: buildroot Cc: Adrian Perez de Castro, Thomas Devoogdt, Yann E . MORIN, Thomas Devoogdt From: Thomas Devoogdt <thomas@devoogdt.com> This was added upstream in commit: https://github.com/WebKit/WebKit/commit/22e4c0386605d84f42f2d46fd20bdc46e3078498 The 'USE_OPENGL_OR_ES' flag is default ON, which will enable 'USE_GBM', so ensure that we unset 'USE_GBM' if we don't have libgbm. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2,3,4: no change --- package/webkitgtk/webkitgtk.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index bb6df3d592..88bdfae27b 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -88,6 +88,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF endif +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) +WEBKITGTK_CONF_OPTS += -DUSE_GBM=ON +WEBKITGTK_DEPENDENCIES += libgbm +else +WEBKITGTK_CONF_OPTS += -DUSE_GBM=OFF +endif + ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) WEBKITGTK_CONF_OPTS += -DENABLE_X11_TARGET=ON WEBKITGTK_DEPENDENCIES += libgl \ -- 2.42.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled 2023-10-01 16:52 [Buildroot] [PATCH v4 " Thomas Devoogdt @ 2023-10-01 16:52 ` Thomas Devoogdt 2023-10-01 16:52 ` [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 Thomas Devoogdt 1 sibling, 0 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-10-01 16:52 UTC (permalink / raw) To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Devoogdt libwep & wpebackend-fdo are mandatory if ENABLE_WAYLAND_TARGET and EGL_FOUND https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L388-L400 egl is mandatory if ENABLE_WAYLAND_TARGET https://github.com/WebKit/WebKit/blob/2e35890b1fa9da39ffaa88e0acd973beb55d4ad2/Source/cmake/OptionsGTK.cmake#L462-L473 So wpebackend-fdo (-> libwpe) has to be selected if BR2_PACKAGE_LIBGTK3_WAYLAND. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2: n/a v3,4: no change (added from another patch serie) --- package/webkitgtk/Config.in | 1 + package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index 927792b1e4..cb10784133 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -53,6 +53,7 @@ config BR2_PACKAGE_WEBKITGTK select BR2_PACKAGE_WEBP select BR2_PACKAGE_WEBP_DEMUX select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_WPEBACKEND_FDO if BR2_PACKAGE_LIBGTK3_WAYLAND select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 88bdfae27b..9c68fe73cf 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -115,7 +115,7 @@ ifeq ($(BR2_PACKAGE_LIBGTK3_X11):$(BR2_PACKAGE_LIBGTK3_WAYLAND):$(BR2_PACKAGE_LI WEBKITGTK_DEPENDENCIES += libegl endif -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND)$(BR2_PACKAGE_WPEBACKEND_FDO),yy) +ifeq ($(BR2_PACKAGE_WPEBACKEND_FDO),y) WEBKITGTK_CONF_OPTS += -DUSE_WPE_RENDERER=ON WEBKITGTK_DEPENDENCIES += wpebackend-fdo else -- 2.42.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
* [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 2023-10-01 16:52 [Buildroot] [PATCH v4 " Thomas Devoogdt 2023-10-01 16:52 ` [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt @ 2023-10-01 16:52 ` Thomas Devoogdt 1 sibling, 0 replies; 20+ messages in thread From: Thomas Devoogdt @ 2023-10-01 16:52 UTC (permalink / raw) To: buildroot; +Cc: Adrian Perez de Castro, Yann E . MORIN, Thomas Devoogdt Update to a new major release. Release notes: https://webkitgtk.org/2023/09/15/webkitgtk2.42.0-released.html https://webkitgtk.org/2023/09/27/webkitgtk2.42.1-released.html Security notes: https://webkitgtk.org/security/WSA-2023-0008.html - USE_JPEGXL is enabled by default now [1], so add a libjxl if used. - ENABLE_GLES2 has been dropped, so drop it also here [2]. Instead, enable USE_OPENGL_OR_ES if libgles is present. Beware that also libegl is needed for USE_OPENGL_OR_ES, but that one is most of the time a dependency for libgles, so leave it out here. - Also raise the minimal GCC version to 10.2, which is required since webkitgtk-2.42.x [3]. Similar to commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4, we do check on >= GCC 10, because we can't check on >= GCC 10.2. [1] https://github.com/WebKit/WebKit/commit/93865414f33190c57e293a80492e10edc461d7f0 [2] https://github.com/WebKit/WebKit/commit/cfe917fec45bf72c371087ece034feee8454f1b4 [3] https://github.com/WebKit/WebKit/commit/133498aaee8f44443d9e3b2a08be4a4b77b93fc9 Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> --- v2: n/a v3: - replace for package/webkitgtk: add a USE_OPENGL_OR_ES config option - 2.42.0 needs an extra bunch of patches, so bump to immediately to 2.42.1 v4: - fixed incomplete git massage (a ____ line splits the git message apparently) - re-added patches with upstream cherry-pick and hash --- ...e-when-gstreamer-support-is-disabled.patch | 36 --- ...EGL-checks-when-GBM-renderer-is-used.patch | 275 ++++++++++++++++++ ...nnection.cpp-fix-incomplete-type-Web.patch | 41 +++ package/webkitgtk/Config.in | 6 +- package/webkitgtk/webkitgtk.hash | 6 +- package/webkitgtk/webkitgtk.mk | 16 +- 6 files changed, 333 insertions(+), 47 deletions(-) delete mode 100644 package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch create mode 100644 package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch create mode 100644 package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch diff --git a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch b/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch deleted file mode 100644 index 3fa23b215b..0000000000 --- a/package/webkitgtk/0001-Fix-build-failure-when-gstreamer-support-is-disabled.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9b31965cdf362768e86f7e592e59e68fb3351261 Mon Sep 17 00:00:00 2001 -From: Matt Turner <mattst88@gmail.com> -Date: Tue, 8 Aug 2023 16:51:25 -0700 -Subject: [PATCH] Fix build failure when gstreamer support is disabled - https://bugs.webkit.org/show_bug.cgi?id=259931 https://bugs.gentoo.org/911663 - -Reviewed by Carlos Alberto Lopez Perez. - -* Source/WebCore/loader/MixedContentChecker.cpp: - -Canonical link: https://commits.webkit.org/260527.429@fix-build - -(cherry picked from commit f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732) - -Upstream: https://github.com/WebKit/WebKit/commit/f5ceef5bf2e3c4d7203a37b9e2d2fdd9b1bb2732 -Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> ---- - Source/WebCore/loader/MixedContentChecker.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Source/WebCore/loader/MixedContentChecker.cpp b/Source/WebCore/loader/MixedContentChecker.cpp -index 9b4c7fe62020..ac4733bc08bc 100644 ---- a/Source/WebCore/loader/MixedContentChecker.cpp -+++ b/Source/WebCore/loader/MixedContentChecker.cpp -@@ -33,6 +33,8 @@ - #include "ContentSecurityPolicy.h" - #include "Document.h" - #include "Frame.h" -+#include "FrameLoader.h" -+#include "FrameLoaderClient.h" - #include "SecurityOrigin.h" - - namespace WebCore { --- -2.42.0 - diff --git a/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch new file mode 100644 index 0000000000..8ef1ff1309 --- /dev/null +++ b/package/webkitgtk/0001-GTK-fix-USE_EGL-checks-when-GBM-renderer-is-used.patch @@ -0,0 +1,275 @@ +From 6e655c562bf04751a459f8048a4acf09971636ac Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <thomas.devoogdt@barco.com> +Date: Fri, 29 Sep 2023 08:02:19 -0700 +Subject: [PATCH] [GTK] fix USE_EGL checks when GBM renderer is used + +https://bugs.webkit.org/show_bug.cgi?id=262169 + +Reviewed by Michael Catanzaro. + +Regression since commit 81c064ddb4182a34a36def401025d223ca0d31ba. + +webkitgtk-2.42.0/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:39:10: fatal error: epoxy/egl.h: No such file or directory + 39 | #include <epoxy/egl.h> + | ^~~~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> +Canonical link: https://commits.webkit.org/266719.76@bugfix/USE_EGL-2.42 +(cherry picked from commit b751733c75f724f9301cb828f7994af57605c52f) +Upstream: https://github.com/WebKit/WebKit/commit/b751733c75f724f9301cb828f7994af57605c52f +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> +--- + .../WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp | 8 ++++++++ + Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp | 4 +++- + Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp | 6 +++--- + .../UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp | 4 ++++ + .../WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h | 4 ++++ + .../gtk/AcceleratedBackingStoreDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp | 4 ++-- + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp | 4 ++++ + .../WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h | 4 ++++ + .../WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in | 2 ++ + Source/WebKit/WebProcess/glib/WebProcessGLib.cpp | 2 +- + 11 files changed, 37 insertions(+), 7 deletions(-) + +diff --git a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +index 8bdcf48b446a..19b46a137d5b 100644 +--- a/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp ++++ b/Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp +@@ -45,9 +45,11 @@ + #endif + + #if PLATFORM(GTK) ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #include "DMABufRendererBufferMode.h" + #include <WebCore/PlatformDisplaySurfaceless.h> ++#endif + #include <gtk/gtk.h> + + #if PLATFORM(WAYLAND) +@@ -164,6 +166,7 @@ static String dmabufRendererWithSupportedBuffers() + { + StringBuilder buffers; + buffers.append("DMABuf (Supported buffers: "_s); ++#if USE(EGL) + auto mode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + if (mode.contains(DMABufRendererBufferMode::Hardware)) + buffers.append("Hardware"_s); +@@ -172,6 +175,7 @@ static String dmabufRendererWithSupportedBuffers() + buffers.append(", "); + buffers.append("Shared Memory"_s); + } ++#endif + buffers.append(')'); + return buffers.toString(); + } +@@ -269,7 +273,11 @@ void WebKitProtocolHandler::handleGPU(WebKitURISchemeRequest* request) + #if PLATFORM(GTK) + addTableRow(versionObject, "GTK version"_s, makeString(GTK_MAJOR_VERSION, '.', GTK_MINOR_VERSION, '.', GTK_MICRO_VERSION, " (build) "_s, gtk_get_major_version(), '.', gtk_get_minor_version(), '.', gtk_get_micro_version(), " (runtime)"_s)); + ++#if USE(EGL) + bool usingDMABufRenderer = AcceleratedBackingStoreDMABuf::checkRequirements(); ++#else ++ bool usingDMABufRenderer = false; ++#endif + + #if PLATFORM(WAYLAND) + if (PlatformDisplay::sharedDisplay().type() == PlatformDisplay::Type::Wayland && !usingDMABufRenderer) { +diff --git a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +index d439751cee32..151c4b854cc3 100644 +--- a/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp ++++ b/Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp +@@ -54,8 +54,10 @@ + + #if PLATFORM(GTK) + #include "GtkSettingsManager.h" ++#if USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif ++#endif + + + namespace WebKit { +@@ -88,7 +90,7 @@ void WebProcessPool::platformInitializeWebProcess(const WebProcessProxy& process + parameters.renderDeviceFile = WebCore::PlatformDisplay::sharedDisplay().drmRenderNodeFile(); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + parameters.dmaBufRendererBufferMode = AcceleratedBackingStoreDMABuf::rendererBufferMode(); + #endif + +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +index df4cdc2ada3d..2e8a6f59513e 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStore.cpp +@@ -40,7 +40,7 @@ + #include "AcceleratedBackingStoreX11.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedBackingStoreDMABuf.h" + #endif + +@@ -72,7 +72,7 @@ static bool gtkCanUseHardwareAcceleration() + + bool AcceleratedBackingStore::checkRequirements() + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return gtkCanUseHardwareAcceleration(); + #endif +@@ -93,7 +93,7 @@ std::unique_ptr<AcceleratedBackingStore> AcceleratedBackingStore::create(WebPage + if (!HardwareAccelerationManager::singleton().canUseHardwareAcceleration()) + return nullptr; + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + if (AcceleratedBackingStoreDMABuf::checkRequirements()) + return AcceleratedBackingStoreDMABuf::create(webPage); + #endif +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +index 2a8d7127909d..64d04332a598 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedBackingStoreDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "DMABufRendererBufferMode.h" +@@ -575,3 +577,5 @@ bool AcceleratedBackingStoreDMABuf::paint(cairo_t* cr, const WebCore::IntRect& c + #endif + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +index 1bc769ada313..f9a6cb620e38 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedBackingStore.h" + + #include "MessageReceiver.h" +@@ -200,3 +202,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +index 28e3fabf693a..3ba247e40220 100644 +--- a/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in ++++ b/Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.messages.in +@@ -20,8 +20,10 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedBackingStoreDMABuf NotRefCounted { + Configure(UnixFileDescriptor backFD, UnixFileDescriptor frontFD, UnixFileDescriptor displayFD, WebCore::IntSize size, uint32_t format, uint32_t offset, uint32_t stride, uint64_t modifier) + ConfigureSHM(WebKit::ShareableBitmap::Handle backBufferHandle, WebKit::ShareableBitmap::Handle frontBufferHandle, WebKit::ShareableBitmap::Handle displayBufferHandle) + Frame() + } ++#endif +diff --git a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +index 1f64ab26c9dd..683a5350be22 100644 +--- a/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp ++++ b/Source/WebKit/WebProcess/WebPage/AcceleratedSurface.cpp +@@ -37,7 +37,7 @@ + #include "AcceleratedSurfaceLibWPE.h" + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #include "AcceleratedSurfaceDMABuf.h" + #endif + +@@ -46,7 +46,7 @@ using namespace WebCore; + + std::unique_ptr<AcceleratedSurface> AcceleratedSurface::create(WebPage& webPage, Client& client) + { +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + #if USE(GBM) + if (PlatformDisplay::sharedDisplayForCompositing().type() == PlatformDisplay::Type::GBM) + return AcceleratedSurfaceDMABuf::create(webPage, client); +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +index dc2d544c9d25..d474c4ca205c 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.cpp +@@ -26,6 +26,8 @@ + #include "config.h" + #include "AcceleratedSurfaceDMABuf.h" + ++#if USE(EGL) ++ + #include "AcceleratedBackingStoreDMABufMessages.h" + #include "AcceleratedSurfaceDMABufMessages.h" + #include "ShareableBitmap.h" +@@ -490,3 +492,5 @@ void AcceleratedSurfaceDMABuf::frameDone() + } + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +index e3985d468ad2..a230a1f02eef 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.h +@@ -25,6 +25,8 @@ + + #pragma once + ++#if USE(EGL) ++ + #include "AcceleratedSurface.h" + + #include "MessageReceiver.h" +@@ -156,3 +158,5 @@ private: + }; + + } // namespace WebKit ++ ++#endif // USE(EGL) +diff --git a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +index 0d0d2dbf9069..a481cd9bc60f 100644 +--- a/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in ++++ b/Source/WebKit/WebProcess/WebPage/gtk/AcceleratedSurfaceDMABuf.messages.in +@@ -20,6 +20,8 @@ + # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + ++#if USE(EGL) + messages -> AcceleratedSurfaceDMABuf NotRefCounted { + FrameDone() + } ++#endif +diff --git a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +index 686004f4ee82..e298cf9b94a2 100644 +--- a/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp ++++ b/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp +@@ -141,7 +141,7 @@ void WebProcess::platformInitializeWebProcess(WebProcessCreationParameters& para + WebCore::GBMDevice::singleton().initialize(parameters.renderDeviceFile); + #endif + +-#if PLATFORM(GTK) ++#if PLATFORM(GTK) && USE(EGL) + m_dmaBufRendererBufferMode = parameters.dmaBufRendererBufferMode; + if (!m_dmaBufRendererBufferMode.isEmpty()) { + #if USE(GBM) +-- +2.42.0 + diff --git a/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch new file mode 100644 index 0000000000..90f0294228 --- /dev/null +++ b/package/webkitgtk/0002-NetworkProcessConnection.cpp-fix-incomplete-type-Web.patch @@ -0,0 +1,41 @@ +From 1fec84bb47e72685b24f735f55d2986bcc187635 Mon Sep 17 00:00:00 2001 +From: Thomas Devoogdt <thomas.devoogdt@barco.com> +Date: Fri, 29 Sep 2023 08:06:42 -0700 +Subject: [PATCH] NetworkProcessConnection.cpp: fix incomplete type + WebCore::Page +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +https://bugs.webkit.org/show_bug.cgi?id=262359 + +Reviewed by Michael Catanzaro. + +webkitgtk-2.42.0/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp:327:11: error: incomplete type ‘WebCore::Page’ used in nested name specifier + 327 | Page::forEachPage([&] (auto& page) { + | ^~~~~~~~~~~ + +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> +Canonical link: https://commits.webkit.org/266719.77@bugfix/NetworkProcessConnection-2.42 +(cherry picked from commit e92f5f33fd267fc387efd7099bb6970e24e71afd) +Upstream: https://github.com/WebKit/WebKit/commit/e92f5f33fd267fc387efd7099bb6970e24e71afd +Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> +--- + Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +index d6f22b0b1739..7c4779c0e037 100644 +--- a/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp ++++ b/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp +@@ -68,6 +68,7 @@ + #include <WebCore/InspectorInstrumentationWebKit.h> + #include <WebCore/MemoryCache.h> + #include <WebCore/MessagePort.h> ++#include <WebCore/Page.h> + #include <WebCore/SharedBuffer.h> + #include <pal/SessionID.h> + +-- +2.42.0 + diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index cb10784133..ace1b8739f 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -16,12 +16,12 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 9, host gcc >= 4.9" +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 10, host gcc >= 4.9" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_BINFMT_FLAT depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ !BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_USE_MMU @@ -32,7 +32,7 @@ config BR2_PACKAGE_WEBKITGTK depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup3 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 depends on BR2_USE_WCHAR # icu, libsoup3 depends on BR2_PACKAGE_LIBGTK3 depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS diff --git a/package/webkitgtk/webkitgtk.hash b/package/webkitgtk/webkitgtk.hash index 7f50f1aa7b..04e247077a 100644 --- a/package/webkitgtk/webkitgtk.hash +++ b/package/webkitgtk/webkitgtk.hash @@ -1,6 +1,6 @@ -# From https://www.webkitgtk.org/releases/webkitgtk-2.40.5.tar.xz.sums -sha1 2f4d06b021115eb4106177f7d5f534f45b5d3b2e webkitgtk-2.40.5.tar.xz -sha256 7de051a263668621d91a61a5eb1c3771d1a7cec900043d4afef06c326c16037f webkitgtk-2.40.5.tar.xz +# From https://www.webkitgtk.org/releases/webkitgtk-2.42.1.tar.xz.sums +sha1 b9a0f964a157277d80195622316d3eea19c89d0d webkitgtk-2.42.1.tar.xz +sha256 6f41fac9989d3ee51c08c48de1d439cdeddecbc757e34b6180987d99b16d2499 webkitgtk-2.42.1.tar.xz # Hashes for license files: sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index 9c68fe73cf..035cbf15a2 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -4,7 +4,7 @@ # ################################################################################ -WEBKITGTK_VERSION = 2.40.5 +WEBKITGTK_VERSION = 2.42.1 WEBKITGTK_SITE = https://www.webkitgtk.org/releases WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz WEBKITGTK_INSTALL_STAGING = YES @@ -73,6 +73,13 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF endif +ifeq ($(BR2_PACKAGE_LIBJXL),y) +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=ON +WEBKITGTK_DEPENDENCIES += libjxl +else +WEBKITGTK_CONF_OPTS += -DUSE_JPEGXL=OFF +endif + ifeq ($(BR2_PACKAGE_LIBMANETTE),y) WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=ON WEBKITGTK_DEPENDENCIES += libmanette @@ -80,12 +87,11 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_GAMEPAD=OFF endif -# Use GLES if available and desktop GL is not. -ifeq ($(BR2_PACKAGE_HAS_LIBGL):$(BR2_PACKAGE_HAS_LIBGLES),:y) -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=ON WEBKITGTK_DEPENDENCIES += libgles else -WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF +WEBKITGTK_CONF_OPTS += -DUSE_OPENGL_OR_ES=OFF endif ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) -- 2.42.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 20+ messages in thread
end of thread, other threads:[~2024-02-28 16:24 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Thomas Devoogdt <20231001165218.1960930-3-thomas.devoogdt@barco.com>
2023-11-10 16:46 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Thomas Devoogdt
2023-11-10 16:46 ` [Buildroot] [PATCH v5 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt
2023-11-14 13:07 ` Adrian Perez de Castro
2023-11-30 22:48 ` Adrian Perez de Castro
2024-02-28 16:19 ` Peter Korsgaard
2024-01-27 16:30 ` Yann E. MORIN
2023-11-10 16:46 ` [Buildroot] [PATCH v5 3/3] package/webkitgtk: bump to version 2.42.2 Thomas Devoogdt
2023-11-14 13:11 ` Adrian Perez de Castro
2023-11-14 20:06 ` Thomas Devoogdt
2023-11-30 22:44 ` Adrian Perez de Castro
2023-11-30 22:47 ` Adrian Perez de Castro
2024-01-27 16:35 ` Yann E. MORIN
2024-02-28 16:24 ` Peter Korsgaard
2023-11-14 13:06 ` [Buildroot] [PATCH v5 1/3] package/webkitgtk: make gbm support optional Adrian Perez de Castro
2023-11-30 22:48 ` Adrian Perez de Castro
2024-02-28 16:19 ` Peter Korsgaard
2024-01-27 16:35 ` Yann E. MORIN
2023-10-01 16:52 [Buildroot] [PATCH v4 " Thomas Devoogdt
2023-10-01 16:52 ` [Buildroot] [PATCH v4 2/3] package/webkitgtk: select wpebackend-fdo if wayland target is enabled Thomas Devoogdt
2023-10-01 16:52 ` [Buildroot] [PATCH v4 3/3] package/webkitgtk: bump to version 2.42.1 Thomas Devoogdt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox