WebKit Bugzilla
Attachment 347634 Details for
Bug 188782
: [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-188782-20180821154825.patch (text/plain), 10.23 KB, created by
Adrian Perez
on 2018-08-21 05:51:04 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Adrian Perez
Created:
2018-08-21 05:51:04 PDT
Size:
10.23 KB
patch
obsolete
>Subversion Revision: 235110 >diff --git a/Source/cmake/FindWPE.cmake b/Source/cmake/FindWPE.cmake >new file mode 100644 >index 0000000000000000000000000000000000000000..cb395c886c8d016d0db1188b45c0e21e4baced17 >--- /dev/null >+++ b/Source/cmake/FindWPE.cmake >@@ -0,0 +1,47 @@ >+# - Try to find WPE. >+# Once done, this will define >+# >+# WPE_FOUND - system has WPE. >+# WPE_INCLUDE_DIRS - the WPE include directories >+# WPE_LIBRARIES - link these to use WPE. >+# >+# Copyright (C) 2016 Igalia S.L. >+# >+# Redistribution and use in source and binary forms, with or without >+# modification, are permitted provided that the following conditions >+# are met: >+# 1. Redistributions of source code must retain the above copyright >+# notice, this list of conditions and the following disclaimer. >+# 2. Redistributions in binary form must reproduce the above copyright >+# notice, this list of conditions and the following disclaimer in the >+# documentation and/or other materials provided with the distribution. >+# >+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS CONTRIBUTORS ``AS >+# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ITS >+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, >+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, >+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; >+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, >+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR >+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF >+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >+ >+find_package(PkgConfig) >+pkg_check_modules(PC_WPE QUIET wpe-0.2) >+ >+find_path(WPE_INCLUDE_DIRS >+ NAMES wpe/wpe.h >+ HINTS ${PC_WPE_INCLUDEDIR} ${PC_WPE_INCLUDE_DIRS} >+) >+ >+find_library(WPE_LIBRARIES >+ NAMES wpe-0.2 >+ HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS} >+) >+ >+mark_as_advanced(WPE_INCLUDE_DIRS WPE_LIBRARIES) >+ >+include(FindPackageHandleStandardArgs) >+find_package_handle_standard_args(WPE REQUIRED_VARS WPE_INCLUDE_DIRS WPE_LIBRARIES) >diff --git a/Source/cmake/FindWPEBackend.cmake b/Source/cmake/FindWPEBackend.cmake >deleted file mode 100644 >index adef136cf238a5bc2b6a1908af5e9e4dd4381d39..0000000000000000000000000000000000000000 >--- a/Source/cmake/FindWPEBackend.cmake >+++ /dev/null >@@ -1,47 +0,0 @@ >-# - Try to find WPE. >-# Once done, this will define >-# >-# WPE_FOUND - system has WPE. >-# WPE_INCLUDE_DIRS - the WPE include directories >-# WPE_LIBRARIES - link these to use WPE. >-# >-# Copyright (C) 2016 Igalia S.L. >-# >-# Redistribution and use in source and binary forms, with or without >-# modification, are permitted provided that the following conditions >-# are met: >-# 1. Redistributions of source code must retain the above copyright >-# notice, this list of conditions and the following disclaimer. >-# 2. Redistributions in binary form must reproduce the above copyright >-# notice, this list of conditions and the following disclaimer in the >-# documentation and/or other materials provided with the distribution. >-# >-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND ITS CONTRIBUTORS ``AS >-# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, >-# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR >-# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR ITS >-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, >-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, >-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; >-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, >-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR >-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF >-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. >- >-find_package(PkgConfig) >-pkg_check_modules(PC_WPE QUIET wpe-0.1) >- >-find_path(WPE_INCLUDE_DIRS >- NAMES wpe/wpe.h >- HINTS ${PC_WPE_INCLUDEDIR} ${PC_WPE_INCLUDE_DIRS} >-) >- >-find_library(WPE_LIBRARIES >- NAMES WPEBackend-0.1 >- HINTS ${PC_WPE_LIBDIR} ${PC_WPE_LIBRARY_DIRS} >-) >- >-mark_as_advanced(WPE_INCLUDE_DIRS WPE_LIBRARIES) >- >-include(FindPackageHandleStandardArgs) >-find_package_handle_standard_args(WPEBackend REQUIRED_VARS WPE_INCLUDE_DIRS WPE_LIBRARIES) >diff --git a/Source/cmake/OptionsWPE.cmake b/Source/cmake/OptionsWPE.cmake >index e87011d52d6e8c7c312ce7ec936ce7c2ad48970c..e7e57cc3003679ee1c64ebebf70f734a5301f7f1 100644 >--- a/Source/cmake/OptionsWPE.cmake >+++ b/Source/cmake/OptionsWPE.cmake >@@ -84,7 +84,7 @@ find_package(PNG REQUIRED) > find_package(Sqlite REQUIRED) > find_package(Threads REQUIRED) > find_package(WebP REQUIRED) >-find_package(WPEBackend REQUIRED) >+find_package(WPE REQUIRED) > find_package(ZLIB REQUIRED) > > if (USE_WOFF2) >diff --git a/Tools/ChangeLog b/Tools/ChangeLog >index 16a144fa6d071bfcafff4a330f4c1e0e3260d238..1cfe1477108372c602c124aab01bb2756d418530 100644 >--- a/Tools/ChangeLog >+++ b/Tools/ChangeLog >@@ -1,3 +1,17 @@ >+2018-08-21 Adrian Perez de Castro <aperez@igalia.com> >+ >+ [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0 >+ https://bugs.webkit.org/show_bug.cgi?id=188782 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Make the build depend on wpe-0.2, and change the Flatpak and JHBuild development >+ environments to use version 1.0.0 of libwpe and WPEBackend-fdo. >+ >+ * flatpak/org.webkit.WPE.yaml: Update to use libwpe and WPEBackend-fdo version 1.0.0 from >+ release tarballs, and removed the (now unneeded) Lua and LuaJIT modules. >+ * wpe/jhbuild.modules: Ditto. >+ > 2018-08-20 Jonathan Bedard <jbedard@apple.com> > > WebKitTestRunner: Add watchOS entitlements >diff --git a/Tools/flatpak/org.webkit.WPE.yaml b/Tools/flatpak/org.webkit.WPE.yaml >index 2bed893eb8fd9b990c2381bf547d8f15838dd2d4..aa43687ee2cd5d1f40235d32896f8570b3d1baa0 100644 >--- a/Tools/flatpak/org.webkit.WPE.yaml >+++ b/Tools/flatpak/org.webkit.WPE.yaml >@@ -1,33 +1,15 @@ > - name: wpebackend > buildsystem: cmake-ninja > sources: >- - type: git >- url: https://github.com/WebPlatformForEmbedded/WPEBackend.git >- branch: 45148ff5e802c6cd1d30d3c318ff6bb5bdf2c4aa >+ - type: archive >+ url: https://wpewebkit.org/releases/libwpe-1.0.0.tar.xz >+ sha256: aff11612123f9ab85a8b9a4bcdfb3a7503eba0a0d2d96f2cdecd30e911091719 > - name: wpebackend-fdo > buildsystem: cmake-ninja >- sources: >- - type: git >- url: https://github.com/Igalia/WPEBackend-fdo.git >- branch: fac3fe1ea78b6fc5b6005adfceb93eeb46681485 >-- name: lua >- buildsystem: simple >- build-commands: >- - make MYCFLAGS="$CFLAGS -fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1" linux >- - make install INSTALL_TOP=/app INSTALL_MAN=/app/share/man/man1 INSTALL_DATA='cp -d' > sources: > - type: archive >- url: https://www.lua.org/ftp/lua-5.3.4.tar.gz >- sha1: 79790cfd40e09ba796b01a571d4d63b52b1cd950 >-- name: luajit >- buildsystem: simple >- build-commands: >- - make amalg PREFIX=/app >- - make install PREFIX=/app >- sources: >- - type: archive >- url: https://luajit.org/download/LuaJIT-2.0.5.tar.gz >- md5: 48353202cbcacab84ee41a5a70ea0a2c >+ url: https://wpewebkit.org/releases/wpebackend-fdo-1.0.0.tar.xz >+ sha256: 7a747f87a1ae46d30144369050e3ce348b58986d04e1a139ba75c198fa636729 > - name: webkitgtk-test-fonts > no-autogen: true > sources: >diff --git a/Tools/wpe/jhbuild.modules b/Tools/wpe/jhbuild.modules >index 95622928a468b395d6660a893a6c017a379453db..753db2897349f38b9369d2ab46449b79a27b0856 100644 >--- a/Tools/wpe/jhbuild.modules >+++ b/Tools/wpe/jhbuild.modules >@@ -18,7 +18,7 @@ > <dep package="harfbuzz"/> > <dep package="webkit-gstreamer-testing-dependencies"/> > <dep package="woff2"/> >- <dep package="wpebackend"/> >+ <dep package="libwpe"/> > <dep package="wpebackend-fdo"/> > <dep package="libgpg-error"/> > <dep package="libgcrypt"/> >@@ -46,6 +46,8 @@ > href="http://download.savannah.gnu.org/releases/"/> > <repository type="tarball" name="gnupg.org" > href="https://www.gnupg.org/ftp/gcrypt/"/> >+ <repository type="tarball" name="wpewebkit" >+ href="https://wpewebkit.org/releases/"/> > > <cmake id="brotli"> > <branch repo="github.com" module="google/brotli.git" checkoutdir="brotli" tag="v1.0.1"/> >@@ -165,18 +167,18 @@ > hash="sha1:c6f7b99986f93c9df78653c3e6a3b5043f65145e"/> > </autotools> > >- <cmake id="wpebackend"> >- <branch repo="github.com" module="WebPlatformForEmbedded/WPEBackend.git" >- tag="45148ff5e802c6cd1d30d3c318ff6bb5bdf2c4aa" /> >+ <cmake id="libwpe"> >+ <branch repo="wpewebkit" module="libwpe-1.0.0.tar.xz" version="1.0.0" >+ hash="sha256:aff11612123f9ab85a8b9a4bcdfb3a7503eba0a0d2d96f2cdecd30e911091719" /> > </cmake> > > <cmake id="wpebackend-fdo"> > <dependencies> >- <dep package="wpebackend"/> >+ <dep package="libwpe"/> > <dep package="glib"/> > </dependencies> >- <branch repo="github.com" module="Igalia/WPEBackend-fdo.git" >- tag="fac3fe1ea78b6fc5b6005adfceb93eeb46681485"/> >+ <branch repo="wpewebkit" module="wpebackend-fdo-1.0.0.tar.xz" version="1.0.0" >+ hash="sha256:7a747f87a1ae46d30144369050e3ce348b58986d04e1a139ba75c198fa636729"/> > </cmake> > > <autotools id="libgpg-error" autogen-sh="configure"> >diff --git a/ChangeLog b/ChangeLog >index 3eecbe1e940da57b102e943f271c25344c1bb6c9..9b164168e7b91724ebee3ae591a74901d75bcbf7 100644 >--- a/ChangeLog >+++ b/ChangeLog >@@ -1,3 +1,17 @@ >+2018-08-21 Adrian Perez de Castro <aperez@igalia.com> >+ >+ [WPE] Update to use libwpe-1.0.0 and WPEBackend-fdo-1.0.0 >+ https://bugs.webkit.org/show_bug.cgi?id=188782 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Make the build depend on wpe-0.2, and change the Flatpak and JHBuild development >+ environments to use version 1.0.0 of libwpe and WPEBackend-fdo. >+ >+ * Source/cmake/FindWPE.cmake: Renamed from Source/cmake/FindWPEBackend.cmake and changed >+ to check for libwpe-0.2. >+ * Source/cmake/OptionsWPE.cmake: Adapt to the rename to FindWPE.cmake. >+ > 2018-08-18 Michael Catanzaro <mcatanzaro@igalia.com> > > Adjust CMAKE_MODULE_LINKER_FLAGS for asan
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188782
:
347628
| 347634