Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade release to Scarthgap #22

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

psaavedra
Copy link
Member

This pull request introduces a upgrade to the Yocto layer to Scarthgap release and the update of WPEWebKit to version 2.46. The changes include enhancements to key recipes, package updates, and the removal of obsolete configurations and patches.

Highlights:

  1. Scarthgap Upgrade:

    • Moved compatibility to the Scarthgap release branch.
    • Removed backported Mesa to align with updated configurations.
  2. WPEWebKit 2.46 Upgrade:

    • Updated recipes for libwpe (1.16.x) and wpewebkit (2.46.x).
    • Added new patches for improved functionality and compatibility:
      • REGRESSION-263237-main-WPE-Identifiers-for-touch-poi.patch
      • Remove-Float16Array-from-WebInspectorUI.patch
    • Added experimental features like experimental-wpe-platform, lbse, and offscreen-canvas.
    • Removed obsolete patches and deprecated features such as speech-synthesis.
  3. Enhancements and Bug Fixes:

    • cog Script Enhancements:
      • Improved DMABuf video sink support.
      • Dynamically adjusted maximized view dimensions.
      • Enhanced argument handling for cog invocation.
    • Core Image Improvements:
      • Added rpi-eeprom for Raspberry Pi boards.
      • Re-added python3-uinput recipe.
      • Enabled uinput in Linux kernel for broader device compatibility.
    • System Updates:
      • Updated systemd patches to version 255.4.
      • Removed redundant DIRFILES in weston-init.
  4. Recipe Updates:

    • Fixed Wandboard Mesa definition for improved board support.

scarthgap uses a more recent recipe version.
- Added `python3-uinput_1.0.1.bb` recipe for the Python interface to
  the Linux uinput kernel module.
- Included a submitted patch to handle 64-bit `time_t` on 32-bit
  architectures to address Y2K38 issues in recent kernels and libcs.

Removed in b4efcecc63c86f3e7fa9d5c6205f1bd07d951fed for lack of
maintenance the situation change. There is a new release from 2024
March what addresses the build issues reported lately.

Signed-off-by: Pablo Saavedra <[email protected]>
The DIRFILES variable was removed as it is not required for the
package's functionality. Empty directories are no longer explicitly
handled in this recipe.
- Removed `wpe-2_42.conf` and added `wpe-2_46.conf`
- Updating version preferences:
  - `libwpe` updated to 1.16.%.
  - `wpewebkit` updated to 2.46.%.
- Removed obsolete patches:
  - `Add-LAYER_BASED_SVG_ENGINE-envvar_v2.42.patch`
  - `LBSE-Correct-animation-boundaries-avoiding-excessive.patch`
  - `Fix-LBSE-blurriness.patch`
- Added new patches for WPEWebKit 2.46:
  - `REGRESSION-263237-main-WPE-Identifiers-for-touch-poi.patch`
  - `Remove-Float16Array-from-WebInspectorUI.patch`
- Updated package configurations:
  - Added `experimental-wpe-platform`, `lbse`, and `offscreen-canvas`.
  - Removed `speech-synthesis`.
- Adjusted `FILES` for Web Inspector plugin in the WPEWebKit recipe.
* Added `WEBKIT_GST_DMABUF_SINK_ENABLED=1` to support DMABuf video sink.
* Included optional environment settings (commented for now):
  - Disabling WebKit sandbox: `WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS`.
  - Custom GStreamer configurations for plugin ranking and debugging.
* Modified handling of maximized mode:
  - Dynamically calculates view width and height from Weston logs when
    `--maximized` is passed.
* Adjusted `cog-fdo` script:
  - Ensures additional parameters are passed correctly using array
    expansion.
  - Updated the invocation of `/usr/bin/cog` with sanitized arguments.
* Adjusted `cog-fdo-exported-wayland`:
  - Used `"$*"` with `su` to handle multiple arguments properly.
  - Replaced `$1` with `"$@"` for direct argument forwarding to
    `/usr/bin/cog-fdo`.
@psaavedra psaavedra self-assigned this Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant