Changeset 229866 in webkit


Ignore:
Timestamp:
Mar 22, 2018 2:56:18 PM (6 years ago)
Author:
Adrian Perez de Castro
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
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r229798 r229866  
     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-21  Carlos Garcia Campos  <cgarcia@igalia.com>
    211
  • trunk/LayoutTests/ChangeLog

    r229864 r229866  
     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-21  Antoine Quint  <graouts@apple.com>
    211
  • trunk/LayoutTests/platform/wpe/TestExpectations

    r229624 r229866  
    445445Bug(WPE) fast/table [ Skip ]
    446446Bug(WPE) fast/text [ Skip ]
     447Bug(WPE) fast/text/woff2-totalsfntsize.html [ Pass ]
     448Bug(WPE) fast/text/woff2.html [ Pass ]
    447449Bug(WPE) fast/text-autosizing [ Skip ]
    448450Bug(WPE) fast/visual-viewport [ Skip ]
  • trunk/Source/cmake/OptionsWPE.cmake

    r229798 r229866  
    3535WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_TOUCH_EVENTS PRIVATE ON)
    3636WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEBGL2 PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES})
     37
     38# Public options specific to the WPE port. Do not add any options here unless
     39# there is a strong reason we should support changing the value of the option,
     40# and the option is not relevant to any other WebKit ports.
     41WEBKIT_OPTION_DEFINE(USE_WOFF2 "Whether to enable support for WOFF2 Web Fonts." PUBLIC ON)
    3742
    3843# Private options specific to the WPE port.
     
    7378find_package(WPEBackend REQUIRED)
    7479find_package(ZLIB REQUIRED)
     80
     81if (USE_WOFF2)
     82    find_package(WOFF2Dec 1.0.2)
     83    if (NOT WOFF2DEC_FOUND)
     84        message(FATAL_ERROR "liwoff2dec is needed for USE_WOFF2.")
     85    endif ()
     86endif ()
    7587
    7688if (ENABLE_ACCELERATED_2D_CANVAS)
  • trunk/Tools/ChangeLog

    r229865 r229866  
     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-22  Brendan McLoughlin  <brendan@bocoup.com>
    211
  • trunk/Tools/wpe/jhbuild.modules

    r227900 r229866  
    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.