Title: [229866] trunk
- Revision
- 229866
- Author
- [email protected]
- Date
- 2018-03-22 14:56:18 -0700 (Thu, 22 Mar 2018)
Log Message
[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
Modified Paths
Diff
Modified: trunk/ChangeLog (229865 => 229866)
--- trunk/ChangeLog 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/ChangeLog 2018-03-22 21:56:18 UTC (rev 229866)
@@ -1,3 +1,12 @@
+2018-03-22 Adrian Perez de Castro <[email protected]>
+
+ [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 <[email protected]>
[GTK][WPE] Initial implementation of _javascript_Core glib bindings
Modified: trunk/LayoutTests/ChangeLog (229865 => 229866)
--- trunk/LayoutTests/ChangeLog 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/LayoutTests/ChangeLog 2018-03-22 21:56:18 UTC (rev 229866)
@@ -1,3 +1,12 @@
+2018-03-22 Adrian Perez de Castro <[email protected]>
+
+ [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 <[email protected]>
[Web Animations] Make imported/mozilla/css-animations/test_event-dispatch.html pass reliably
Modified: trunk/LayoutTests/platform/wpe/TestExpectations (229865 => 229866)
--- trunk/LayoutTests/platform/wpe/TestExpectations 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/LayoutTests/platform/wpe/TestExpectations 2018-03-22 21:56:18 UTC (rev 229866)
@@ -444,6 +444,8 @@
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 ]
Modified: trunk/Source/cmake/OptionsWPE.cmake (229865 => 229866)
--- trunk/Source/cmake/OptionsWPE.cmake 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/Source/cmake/OptionsWPE.cmake 2018-03-22 21:56:18 UTC (rev 229866)
@@ -35,6 +35,11 @@
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(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 ()
Modified: trunk/Tools/ChangeLog (229865 => 229866)
--- trunk/Tools/ChangeLog 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/Tools/ChangeLog 2018-03-22 21:56:18 UTC (rev 229866)
@@ -1,3 +1,12 @@
+2018-03-22 Adrian Perez de Castro <[email protected]>
+
+ [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 <[email protected]>
Do not export web-platform-test files generated by the wpt importer to assist the webkit test runner
Modified: trunk/Tools/wpe/jhbuild.modules (229865 => 229866)
--- trunk/Tools/wpe/jhbuild.modules 2018-03-22 21:52:51 UTC (rev 229865)
+++ trunk/Tools/wpe/jhbuild.modules 2018-03-22 21:56:18 UTC (rev 229866)
@@ -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=""
+ <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"
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes