Skip to content

Add support for the WPE WebKit RDK backend

Adrian Perez de Castro buildroot 2 versions – Applied

Status from this message: Applied to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesApplied
  2. v13 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4package/wpebackend-rdk: new packagepackage/Config.in package/wpebackend-rdk/Config.in package/wpebackend-rdk/wpebackend-rdk.hash +1 more+106 -02 replies
2/4package/cog: depend on wpebackend-fdo only if neededpackage/cog/Config.in package/cog/cog.mk+36 -52 replies
3/4package/wpewebkit: do not depend on wpebackend-fdopackage/wpewebkit/Config.in package/wpewebkit/wpewebkit.mk+5 -62 replies
4/4package/wpewebkit: disable libdrm usage when not availablepackage/wpewebkit/wpewebkit.mk+7 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Buildroot] [PATCH v2 0/4] Add support for the WPE WebKit RDK backend

Hello all,

Here's a v2 re-spin after a rebase and adding one additional fixup =)

This patch series allows using the RDK backend for WPE WebKit. Currently the main use case is to run WPEWebKit on RaspberryPi boards using on Dispmanx via the rpi-userland EGL/GLES libraries.

In order to allow using the new wpebackend-rdk package I needed to un-hardcode usage of wpebackend-fdo, in two places:

- The cog package may be built without wpebackend-fdo, passing an empty list of platform plug-ins. It has built-in support to load "simple" WPE backends like wpebackend-rdk. This was done by adding a config option for the headless plug-in, instead of always building it, and adjusting dependencies.

- The wpewebkit package does not need wpebackend-fdo at all during the build. It only needs a backend installed at run time. This means it is enough to make wpewebkit have a "depends on" on any of the backends, to make sure they will be in the build, but none needs to be listed in WPEWEBKIT_DEPENDENCIES. Also, libdrm is not strictly needed and only used if selected by some other means.

I have tested this making builds based on raspberrypi3_defconfig, adding rpi-userland and then picking wpebackend-rdk + wpewebkit + cog.

Adrian Perez de Castro (4):
package/wpebackend-rdk: new package
package/cog: depend on wpebackend-fdo only if needed package/wpewebkit: do not depend on wpebackend-fdo package/wpewebkit: disable libdrm usage when not available

 package/Config.in                          |  1 +
 package/cog/Config.in                      | 28 ++++++++++-
 package/cog/cog.mk                         | 13 +++--
 package/wpebackend-rdk/Config.in           | 57 ++++++++++++++++++++++
 package/wpebackend-rdk/wpebackend-rdk.hash |  5 ++
 package/wpebackend-rdk/wpebackend-rdk.mk   | 43 ++++++++++++++++
 package/wpewebkit/Config.in                |  9 ++--
 package/wpewebkit/wpewebkit.mk             |  9 +++-
 8 files changed, 154 insertions(+), 11 deletions(-)
 create mode 100644 package/wpebackend-rdk/Config.in
 create mode 100644 package/wpebackend-rdk/wpebackend-rdk.hash
 create mode 100644 package/wpebackend-rdk/wpebackend-rdk.mk
Signature · 6 lines
2.45.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot