Title: [230411] releases/WebKitGTK/webkit-2.20
Revision
230411
Author
carlo...@webkit.org
Date
2018-04-09 05:59:05 -0700 (Mon, 09 Apr 2018)

Log Message

Merge r229866 - [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: releases/WebKitGTK/webkit-2.20/ChangeLog (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/ChangeLog	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/ChangeLog	2018-04-09 12:59:05 UTC (rev 230411)
@@ -1,3 +1,12 @@
+2018-03-22  Adrian Perez de Castro  <ape...@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-12  Carlos Garcia Campos  <cgar...@igalia.com>
 
         Unreviewed. Update OptionsGTK.cmake and NEWS for 2.20.0 release.

Modified: releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog	2018-04-09 12:59:05 UTC (rev 230411)
@@ -1,3 +1,12 @@
+2018-03-22  Adrian Perez de Castro  <ape...@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-09  Nan Wang  <n_w...@apple.com>
 
         AX: AOM: More accessibility events support

Modified: releases/WebKitGTK/webkit-2.20/LayoutTests/platform/wpe/TestExpectations (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/LayoutTests/platform/wpe/TestExpectations	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/LayoutTests/platform/wpe/TestExpectations	2018-04-09 12:59:05 UTC (rev 230411)
@@ -476,6 +476,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: releases/WebKitGTK/webkit-2.20/Source/cmake/OptionsWPE.cmake (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/Source/cmake/OptionsWPE.cmake	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/Source/cmake/OptionsWPE.cmake	2018-04-09 12:59:05 UTC (rev 230411)
@@ -33,6 +33,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})
 
@@ -71,6 +76,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: releases/WebKitGTK/webkit-2.20/Tools/ChangeLog (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/Tools/ChangeLog	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/Tools/ChangeLog	2018-04-09 12:59:05 UTC (rev 230411)
@@ -1,3 +1,12 @@
+2018-03-22  Adrian Perez de Castro  <ape...@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-07  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK][WPE] Leak checker is not working in WebKitGLib web process tests

Modified: releases/WebKitGTK/webkit-2.20/Tools/wpe/jhbuild.modules (230410 => 230411)


--- releases/WebKitGTK/webkit-2.20/Tools/wpe/jhbuild.modules	2018-04-09 12:14:22 UTC (rev 230410)
+++ releases/WebKitGTK/webkit-2.20/Tools/wpe/jhbuild.modules	2018-04-09 12:59:05 UTC (rev 230411)
@@ -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
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to