RESOLVED FIXED 186021
[WPE] Document how to install WPEBackend and WPEBackend-fdo
https://bugs.webkit.org/show_bug.cgi?id=186021
Summary [WPE] Document how to install WPEBackend and WPEBackend-fdo
aras.vaichas
Reported 2018-05-27 09:13:28 PDT
When building a Production build from the instructions on the Wiki (https://trac.webkit.org/wiki/WPE#BuildingWPEWebKitfromareleasetarball) the build fails with: ~/workspace/webkit/wpewebkit-2.21.2$ cmake -DPORT=WPE -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -- The CMake build type is: RelWithDebInfo -- Could NOT find Ruby (missing: RUBY_INCLUDE_DIR RUBY_LIBRARY RUBY_CONFIG_INCLUDE_DIR) (found suitable version "2.5.1", minimum required is "1.9") -- Performing Test CXX_COMPILER_SUPPORTS_-std=c++17 -- Performing Test CXX_COMPILER_SUPPORTS_-std=c++17 - Success -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always -- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always -- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success -- Found ICU header files in /usr/include -- Found ICU libraries: /usr/lib/x86_64-linux-gnu/libicuuc.so -- Found ICU internationaliation libraries: /usr/lib/x86_64-linux-gnu/libicui18n.so -- Found ICU data libraries: /usr/lib/x86_64-linux-gnu/libicudata.so CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find WPEBackend (missing: WPE_INCLUDE_DIRS WPE_LIBRARIES) Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) Source/cmake/FindWPEBackend.cmake:47 (find_package_handle_standard_args) Source/cmake/OptionsWPE.cmake:84 (find_package) Source/cmake/WebKitCommon.cmake:61 (include) CMakeLists.txt:152 (include) Tested with 2.20.0 and 2.21.2. https://wpewebkit.org/releases/wpewebkit-2.20.0.tar.xz https://wpewebkit.org/releases/wpewebkit-2.21.2.tar.xz Host is Ubuntu 18.04
Attachments
Michael Catanzaro
Comment 1 2018-05-27 12:42:35 PDT
You need to install WPEBackend: https://wpewebkit.org/releases/wpebackend-0.1.tar.xz You'll also need WPEBackend-fdo: https://wpewebkit.org/releases/wpebackend-fdo-0.1.tar.xz The instructions should be updated to indicate this. It requires many other dependencies as well, but we can assume the reader is familiar with building software for GNU/Linux and can install missing pkg-config dependencies. But the WPEBackend dependencies are worth special attention, since they're not present in Linux distributions yet.
aras.vaichas
Comment 2 2018-05-27 13:07:31 PDT
I can confirm that the cmake configuration for the tarball is successful after adding the two wpebackend dependencies. I've previously built WebKitGTK+ from tarball, and WPE from git and Yocto. I thought the tarball instructions looked a bit too simple. :)
Carlos Bentzen
Comment 3 2018-12-03 13:39:57 PST
I just updated the wiki to mention libwpe and WPEBackend-fdo: https://trac.webkit.org/wiki/WPE
Carlos Bentzen
Comment 4 2018-12-11 17:53:00 PST
Anything else to be done here before closing?
Michael Catanzaro
Comment 5 2018-12-11 18:23:54 PST
Your documentation looks good, I'll just fix FreeDesktop.Org -> freedesktop.org.
Carlos Bentzen
Comment 6 2018-12-12 16:38:56 PST
(In reply to Michael Catanzaro from comment #5) > Your documentation looks good, I'll just fix FreeDesktop.Org -> > freedesktop.org. I think I wrote it thinking of https://github.com/Igalia/meta-webkit/wiki/WPE but forgot to add the link :) Thanks for the the fix.
Note You need to log in before you can comment on or make changes to this bug.