Skip to content

wpe-simple-launcher: Add recipe - #604

Draft
psaavedra wants to merge 1 commit into
scarthgap-latestfrom
psaavedra/scarthgap-latest-add_wpe-simple-launcher
Draft

wpe-simple-launcher: Add recipe#604
psaavedra wants to merge 1 commit into
scarthgap-latestfrom
psaavedra/scarthgap-latest-add_wpe-simple-launcher

Conversation

@psaavedra

Copy link
Copy Markdown
Member

Add the wpe-simple-launcher recipe: an on-device WPEWebKit launcher that opens a URL and exposes a FIFO control channel through the wpe-ctl helper. It builds the launcher from the upstream main branch and installs the wpe-ctl and wpe-exported-wayland helper scripts.

Change-Type: patch

Add the wpe-simple-launcher recipe: an on-device WPEWebKit launcher that
opens a URL and exposes a FIFO control channel through the wpe-ctl helper.
It builds the launcher from the upstream main branch and installs the
wpe-ctl and wpe-exported-wayland helper scripts.

Change-Type: patch
Co-authored-by: Copilot Autofix <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new Yocto recipe for wpe-simple-launcher and installs two helper scripts to support launching WPEWebKit with a FIFO-based control channel.

Changes:

  • Add wpe-simple-launcher_git.bb to fetch/build/install wpe-simple-launcher from upstream main.
  • Add wpe-exported-wayland launcher wrapper script that sets environment variables and starts wpe-simple-launcher with a control FIFO.
  • Add wpe-ctl helper script to write commands into the control FIFO.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
recipes-browser/wpe-simple-launcher/wpe-simple-launcher/wpe-exported-wayland Adds a wrapper script to propagate Wayland env and launch the browser with a FIFO control path.
recipes-browser/wpe-simple-launcher/wpe-simple-launcher/wpe-ctl Adds a helper utility to send commands to the launcher via the FIFO.
recipes-browser/wpe-simple-launcher/wpe-simple-launcher_git.bb Adds the BitBake recipe to fetch, build, and install the launcher and helper scripts.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +37 to +42
# Ensure Wayland and XDG runtime environment variables are propagated
WAYLAND_DISPLAY=$(strings < "/proc/$(pidof weston-keyboard)/environ" | grep WAYLAND_DISPLAY)
XDG_RUNTIME_DIR=$(strings < "/proc/$(pidof weston-keyboard)/environ" | grep XDG_RUNTIME_DIR)
export "${WAYLAND_DISPLAY?}"
export "${XDG_RUNTIME_DIR?}"


inherit meson pkgconfig

DEPENDS += "glib-2.0-native wpewebkit"
@psaavedra
psaavedra marked this pull request as draft August 25, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants