Changeset 230411 in webkit


Ignore:
Timestamp:
Apr 9, 2018 5:59:05 AM (6 years ago)
Author:
Carlos Garcia Campos
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
Location:
releases/WebKitGTK/webkit-2.20
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.20/ChangeLog

    r229528 r230411  
     12018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE] Enable WOFF2 support
     4        https://bugs.webkit.org/show_bug.cgi?id=178158
     5
     6        Reviewed by Frédéric Wang.
     7
     8        * Source/cmake/OptionsWPE.cmake: Add needed logic to detect the Brotli and WOFF2 libraries.
     9
    1102018-03-12  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • releases/WebKitGTK/webkit-2.20/LayoutTests/ChangeLog

    r230406 r230411  
     12018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE] Enable WOFF2 support
     4        https://bugs.webkit.org/show_bug.cgi?id=178158
     5
     6        Reviewed by Frédéric Wang.
     7
     8        * platform/wpe/TestExpectations: Unskip the fast/text/woff2.html and fast/text/woff2-totalsfntsize.html
     9
    1102018-03-09  Nan Wang  <n_wang@apple.com>
    211
  • releases/WebKitGTK/webkit-2.20/LayoutTests/platform/wpe/TestExpectations

    r228805 r230411  
    477477Bug(WPE) fast/table [ Skip ]
    478478Bug(WPE) fast/text [ Skip ]
     479Bug(WPE) fast/text/woff2-totalsfntsize.html [ Pass ]
     480Bug(WPE) fast/text/woff2.html [ Pass ]
    479481Bug(WPE) fast/text-autosizing [ Skip ]
    480482Bug(WPE) fast/visual-viewport [ Skip ]
  • releases/WebKitGTK/webkit-2.20/Source/cmake/OptionsWPE.cmake

    r227788 r230411  
    3333WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS PRIVATE ON)
    3434WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     35
     36# Public options specific to the WPE port. Do not add any options here unless
     37# there is a strong reason we should support changing the value of the option,
     38# and the option is not relevant to any other WebKit ports.
     39WEBKIT_OPTION_DEFINE(USE_WOFF2 "Whether to enable support for WOFF2 Web Fonts." PUBLIC ON)
    3540
    3641# Private options specific to the WPE port.
     
    7176find_package(WPEBackend REQUIRED)
    7277find_package(ZLIB REQUIRED)
     78
     79if (USE_WOFF2)
     80    find_package(WOFF2Dec 1.0.2)
     81    if (NOT WOFF2DEC_FOUND)
     82        message(FATAL_ERROR "liwoff2dec is needed for USE_WOFF2.")
     83    endif ()
     84endif ()
    7385
    7486if (ENABLE_ACCELERATED_2D_CANVAS)
  • releases/WebKitGTK/webkit-2.20/Tools/ChangeLog

    r230401 r230411  
     12018-03-22  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [WPE] Enable WOFF2 support
     4        https://bugs.webkit.org/show_bug.cgi?id=178158
     5
     6        Reviewed by Frédéric Wang.
     7
     8        * wpe/jhbuild.modules: Add "brotli" and "woff2" to the JHBuild moduleset.
     9
    1102018-03-07  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • releases/WebKitGTK/webkit-2.20/Tools/wpe/jhbuild.modules

    r227900 r230411  
    88  <metamodule id="webkitwpe-testing-dependencies">
    99    <dependencies>
     10      <dep package="brotli"/>
    1011      <dep package="glib"/>
    1112      <dep package="libsoup"/>
     
    1819      <dep package="xkbcommon"/>
    1920      <dep package="webkit-gstreamer-testing-dependencies"/>
     21      <dep package="woff2"/>
    2022      <dep package="wpe"/>
    2123      <dep package="wpe-mesa"/>
     
    4749      href="https://www.gnupg.org/ftp/gcrypt/"/>
    4850
     51  <cmake id="brotli">
     52    <branch repo="github.com" module="google/brotli.git" checkoutdir="brotli" tag="v1.0.1"/>
     53  </cmake>
     54
     55  <cmake id="woff2">
     56    <branch repo="github.com" module="google/woff2.git" checkoutdir="woff2" tag="v1.0.2"/>
     57    <dependencies>
     58      <dep package="brotli"/>
     59    </dependencies>
     60  </cmake>
     61
    4962  <autotools id="libffi" autogen-sh="configure">
    5063    <branch module="libffi/libffi-3.0.10.tar.gz" version="3.0.10"
Note: See TracChangeset for help on using the changeset viewer.