Skip to content

Commit

Permalink
wpewebkit: Bump up version to 2.34.1
Browse files Browse the repository at this point in the history
Release notes WPE WebKit 2.34.0 [1]:

- HTTP/2 support when building with libsoup3.
- Add support for the Fullscreen API, which needs libwpe 1.11.1 or newer.
- Add support for CSS Scroll Snap.
- Add support for display capture.
- Add basic support for ICC color management.
- Add support for the color-schemes CSS property.
- Add support for link preconnect when building with libsoup3.
- Add support for authentication using client side certificates.
- Add multi-track support to media backend.
- Add new API to handle web process unresponsiveness.
- Add API to disable CORS on a web view for particular domains.
- Add new API to access/modify capture devices states.
- Add new API to configure the memory pressure handler.
- Allow to opt-out of GL rendering at runtime for the media player.
- Support building with the uClibc C standard library.

Release notes WPE WebKit 2.34.1 [2]:

- Update User-Agent browser versions.
- Fix a crash when loading videos on Reddit.
- Fix file type detection when application calls
  g_desktop_app_info_set_as_default_for_extension() passing HTML.

[1] https://lists.webkit.org/pipermail/webkit-wpe/2021-October/000459.html
[2] https://lists.webkit.org/pipermail/webkit-wpe/2021-October/000460.html
  • Loading branch information
psaavedra committed Oct 25, 2021
1 parent 059f015 commit abf54c1
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 168 deletions.
20 changes: 10 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- meta-webkit
variables:
# setup-environment targetname machine distro bblayers presets
# SOURCE: raspberrypi3-mesa-wpe-2.32 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.32
# SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.34
# MANIFEST: .gitlab-ci/manifest/manifest-hardknott.xml
BITBAKE_TARGET: wpewebkit
script:
Expand All @@ -50,7 +50,7 @@ hardknott-raspberrypi3-mesa-weston-wpe-musl:
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-hardknott.xml
SOURCE: raspberrypi3-mesa-wpe-musl raspberrypi3-mesa poky raspberrypi mesa-wpe-2_32
SOURCE: raspberrypi3-mesa-wpe-musl raspberrypi3-mesa poky raspberrypi mesa-wpe-2_34
script:
- TCLIBC=musl bitbake $BITBAKE_TARGET
- rm -rf tmp
Expand All @@ -63,32 +63,32 @@ hardknott-raspberrypi3-mesa-weston-wpe-qt:
MANIFEST: .gitlab-ci/manifest/manifest-hardknott.xml
SOURCE: raspberrypi3-mesa-wpe-qt raspberrypi3-mesa poky qt5 mesa-wpe-qt

hardknott-raspberrypi3-mesa-weston-wpe-2.30:
hardknott-raspberrypi3-mesa-weston-wpe-2.34:
extends:
- .raspberrypi3-mesa-weston-wpe
variables:
MANIFEST: .gitlab-ci/manifest/manifest-hardknott.xml
SOURCE: raspberrypi3-mesa-wpe-2.30 raspberrypi3-mesa poky raspberrypi mesa-wpe-2_30
SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky raspberrypi mesa-wpe-2_32

hardknott-raspberrypi3-mesa-weston-wpe-2.32:
hardknott-raspberrypi3-mesa-weston-wpe-2.34:
extends:
- .raspberrypi3-mesa-weston-wpe
variables:
MANIFEST: .gitlab-ci/manifest/manifest-hardknott.xml
SOURCE: raspberrypi3-mesa-wpe-2.32 raspberrypi3-mesa poky raspberrypi mesa-wpe-2_32
SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky raspberrypi mesa-wpe-2_34

gatesgarth-raspberrypi3-mesa-weston-wpe-2.32:
gatesgarth-raspberrypi3-mesa-weston-wpe-2.34:
extends:
- .raspberrypi3-mesa-weston-wpe
variables:
MANIFEST: .gitlab-ci/manifest/manifest-gatesgarth.xml
SOURCE: raspberrypi3-mesa-wpe-2.32 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.32
SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.34

dunfell-raspberrypi3-mesa-weston-wpe-2.32:
dunfell-raspberrypi3-mesa-weston-wpe-2.34:
extends:
- .raspberrypi3-mesa-weston-wpe
allow_failure: true
variables:
MANIFEST: .gitlab-ci/manifest/manifest-dunfell.xml
SOURCE: raspberrypi3-mesa-wpe-2.32 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.32
SOURCE: raspberrypi3-mesa-wpe-2.34 raspberrypi3-mesa poky raspberrypi mesa-wpe-2.34

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
PREFERRED_PROVIDER_virtual/libwpe = "libwpe"
PREFERRED_VERSION_cog = "0.8.%"
PREFERRED_VERSION_wpewebkit = "2.30.%"
PREFERRED_VERSION_wpebackend-fdo = "1.10.%"
PREFERRED_VERSION_cog = "0.10.%"
PREFERRED_VERSION_wpewebkit = "2.34.%"
PREFERRED_VERSION_wpebackend-fdo = "1.12.%"
PREFERRED_VERSION_wpebackend-rdk = "1.20200213"
1 change: 0 additions & 1 deletion .gitlab-ci/template/presets/mesa-wpe-2_30.conf

This file was deleted.

1 change: 1 addition & 0 deletions .gitlab-ci/template/presets/mesa-wpe-2_34.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require ../include/preferred-wpe-2_34.conf
2 changes: 1 addition & 1 deletion .gitlab-ci/template/presets/mesa-wpe-qt.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
require ../include/local-wpe-qt.conf
require ../presets/mesa-wpe-2_32.conf
require ../presets/mesa-wpe-2_34.conf

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions recipes-browser/wpewebkit/wpewebkit_2.30.6.bb

This file was deleted.

7 changes: 1 addition & 6 deletions recipes-browser/wpewebkit/wpewebkit_2.32.4.bb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require wpewebkit.inc
require conf/include/devupstream.inc

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

Expand All @@ -10,9 +9,5 @@ SRC_URI = "\
SRC_URI[tarball.sha256sum] = "381f1422cbc319db1aa42dda48de39590ed90ac3bec6b81ec83f3f2cae5c3eeb"

DEPENDS += " libwpe"
RCONFLICTS_${PN} = "libwpe (< 1.4) wpebackend-fdo (< 1.6)"

SRC_URI_class-devupstream = "git://git.webkit.org/WebKit.git;branch=master"
# WPE 2.32.X branch is forked from the main branch in this commit
SRCREV_class-devupstream = "ed89819cebb141376ca22988844765637425e095"
RCONFLICTS_${PN} = "libwpe (< 1.6) wpebackend-fdo (< 1.8)"

29 changes: 29 additions & 0 deletions recipes-browser/wpewebkit/wpewebkit_2.34.1.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
require wpewebkit.inc
require conf/include/devupstream.inc

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI = "\
https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz;name=tarball \
"

SRC_URI[tarball.sha256sum] = "cb336986341be9c3a9b1ca2c18de0d29d90ae4e77b9967a6f6879597e7a969f7"

DEPENDS += " libwpe"
RCONFLICTS_${PN} = "libwpe (< 1.8) wpebackend-fdo (< 1.10)"

SRC_URI_class-devupstream = "git://git.webkit.org/WebKit.git;branch=master"
# WPE 2.34.X branch was forked from the main branch in this commit
SRCREV_class-devupstream = "30c41fe654d9556a5681663166c1461132326ff7"

# Needed for since >2.34.
PACKAGECONFIG[dfg-jit] = "-DENABLE_DFG_JIT=ON,-DENABLE_DFG_JIT=OFF,"
PACKAGECONFIG[jit] = "-DENABLE_JIT=ON,-DENABLE_JIT=OFF,"
PACKAGECONFIG[lcms] = "-DUSE_LCMS=ON,-DUSE_LCMS=OFF,"

PACKAGECONFIG_append = " dfg-jit"

# libsoup-3 will be available not before Poky kirkstone.
# http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-support/libsoup/libsoup_3.0.1.bb?id=de296e2b2be876ca5cf2af309b710111e2b2581e
EXTRA_OECMAKE += "-DUSE_SOUP2=ON"

0 comments on commit abf54c1

Please sign in to comment.