Skip to content
Permalink
Browse files
[WPE] Enable WOFF2 support
https://bugs.webkit.org/show_bug.cgi?id=178158

Reviewed by Frédéric Wang.

.:

* Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.

Tools:

* wpe/jhbuild.modules: Add "brotli" and "woff2" to the JHBuild moduleset.

LayoutTests:

* platform/wpe/TestExpectations: Unskip the fast/text/woff2.html and fast/text/woff2-totalsfntsize.html


Canonical link: https://commits.webkit.org/199503@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
aperezdc committed Mar 22, 2018
1 parent 7b1000e commit 84336ad74e2bb17e2555c9a13b38a8810e0ca6b5
Showing with 54 additions and 0 deletions.
  1. +9 −0 ChangeLog
  2. +9 −0 LayoutTests/ChangeLog
  3. +2 −0 LayoutTests/platform/wpe/TestExpectations
  4. +12 −0 Source/cmake/OptionsWPE.cmake
  5. +9 −0 Tools/ChangeLog
  6. +13 −0 Tools/wpe/jhbuild.modules
@@ -1,3 +1,12 @@
2018-03-22 Adrian Perez de Castro <aperez@igalia.com>

[WPE] Enable WOFF2 support
https://bugs.webkit.org/show_bug.cgi?id=178158

Reviewed by Frédéric Wang.

* Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.

2018-03-21 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK][WPE] Initial implementation of JavaScriptCore glib bindings
@@ -1,3 +1,12 @@
2018-03-22 Adrian Perez de Castro <aperez@igalia.com>

[WPE] Enable WOFF2 support
https://bugs.webkit.org/show_bug.cgi?id=178158

Reviewed by Frédéric Wang.

* platform/wpe/TestExpectations: Unskip the fast/text/woff2.html and fast/text/woff2-totalsfntsize.html

2018-03-21 Antoine Quint <graouts@apple.com>

[Web Animations] Make imported/mozilla/css-animations/test_event-dispatch.html pass reliably
@@ -444,6 +444,8 @@ Bug(WPE) fast/speechsynthesis [ Skip ]
Bug(WPE) fast/sub-pixel [ Skip ]
Bug(WPE) fast/table [ Skip ]
Bug(WPE) fast/text [ Skip ]
Bug(WPE) fast/text/woff2-totalsfntsize.html [ Pass ]
Bug(WPE) fast/text/woff2.html [ Pass ]
Bug(WPE) fast/text-autosizing [ Skip ]
Bug(WPE) fast/visual-viewport [ Skip ]
Bug(WPE) fast/writing-mode [ Skip ]
@@ -35,6 +35,11 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_SMOOTH_SCROLLING PRIVATE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS PRIVATE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})

# Public options specific to the WPE port. Do not add any options here unless
# there is a strong reason we should support changing the value of the option,
# and the option is not relevant to any other WebKit ports.
WEBKIT_OPTION_DEFINE(USE_WOFF2 "Whether to enable support for WOFF2 Web Fonts." PUBLIC ON)

# Private options specific to the WPE port.
WEBKIT_OPTION_DEFINE(USE_OPENVR "Whether to use OpenVR as WebVR backend." PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})

@@ -73,6 +78,13 @@ find_package(WebP REQUIRED)
find_package(WPEBackend REQUIRED)
find_package(ZLIB REQUIRED)

if (USE_WOFF2)
find_package(WOFF2Dec 1.0.2)
if (NOT WOFF2DEC_FOUND)
message(FATAL_ERROR "liwoff2dec is needed for USE_WOFF2.")
endif ()
endif ()

if (ENABLE_ACCELERATED_2D_CANVAS)
find_package(CairoGL 1.10.2 REQUIRED COMPONENTS cairo-egl)
endif ()
@@ -1,3 +1,12 @@
2018-03-22 Adrian Perez de Castro <aperez@igalia.com>

[WPE] Enable WOFF2 support
https://bugs.webkit.org/show_bug.cgi?id=178158

Reviewed by Frédéric Wang.

* wpe/jhbuild.modules: Add "brotli" and "woff2" to the JHBuild moduleset.

2018-03-22 Brendan McLoughlin <brendan@bocoup.com>

Do not export web-platform-test files generated by the wpt importer to assist the webkit test runner
@@ -7,6 +7,7 @@

<metamodule id="webkitwpe-testing-dependencies">
<dependencies>
<dep package="brotli"/>
<dep package="glib"/>
<dep package="libsoup"/>
<dep package="cairo"/>
@@ -17,6 +18,7 @@
<dep package="harfbuzz"/>
<dep package="xkbcommon"/>
<dep package="webkit-gstreamer-testing-dependencies"/>
<dep package="woff2"/>
<dep package="wpe"/>
<dep package="wpe-mesa"/>
<dep package="libgpg-error"/>
@@ -46,6 +48,17 @@
<repository type="tarball" name="gnupg.org"
href="https://www.gnupg.org/ftp/gcrypt/"/>

<cmake id="brotli">
<branch repo="github.com" module="google/brotli.git" checkoutdir="brotli" tag="v1.0.1"/>
</cmake>

<cmake id="woff2">
<branch repo="github.com" module="google/woff2.git" checkoutdir="woff2" tag="v1.0.2"/>
<dependencies>
<dep package="brotli"/>
</dependencies>
</cmake>

<autotools id="libffi" autogen-sh="configure">
<branch module="libffi/libffi-3.0.10.tar.gz" version="3.0.10"
repo="sourceware.org-mirror"

0 comments on commit 84336ad

Please sign in to comment.