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 21 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.

@psaavedra psaavedra self-assigned this Nov 20, 2024
scarthgap uses a more recent recipe version.

Change-type: minor
Change-type: minor
- 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]>

Change-type: minor
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.

Change-type: minor
* 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`.

Change-type: minor
…ynamic-layer

- Introduced BBFILES_DYNAMIC entries in layer.conf to support dynamic layers
  for Raspberry Pi and Freescale platforms.
- Moved recipes and configurations to respective dynamic-layer directories:
  - Freescale-related kernel recipes and configs moved to `dynamic-layers/freescale-layer`.
  - Raspberry Pi kernel and bootfiles recipes relocated to `dynamic-layers/raspberrypi`.

Change-type: minor
- Deleted the following patches:
  - `0001-REGRESSION-263237-main-WPE-Identifiers-for-touch-poi.patch`
  - `0016-Remove-Float16Array-from-WebInspectorUI.patch`

Change-type: patch
- Moved PulseAudio-related packages to a new `PULSEAUDIO_INSTALL` variable.
- Updated PulseAudio installation for specific Raspberry Pi platforms:
  - Added `PULSEAUDIO_INSTALL` to `IMAGE_INSTALL` for `raspberrypi4`, `raspberrypi4-64`, and `raspberrypi5`.
  - raspberrypi3-mesa remains using ALSA to avoid PulseAudio issues in
    this device.
- Added `dbus` to the base `IMAGE_INSTALL` list for improved system compatibility.

Change-type: minor
…e support

- Added `RPI_KERNEL_DEVICETREE` to include a list of Raspberry Pi device tree binaries:
  - Covers models: Zero W, 2-B, 3-B, 3-B+, 4-B, and CM3.

Change-type: patch
@psaavedra psaavedra force-pushed the psaavedra/to_scarthgap branch 6 times, most recently from 4091125 to f0bcb5c Compare December 17, 2024 20:33
@psaavedra psaavedra force-pushed the psaavedra/to_scarthgap branch 2 times, most recently from 350a66b to b6216b1 Compare December 17, 2024 22:58
@psaavedra psaavedra force-pushed the psaavedra/to_scarthgap branch from f939912 to 1d7e331 Compare December 18, 2024 06:51
- Replaced `IMAGE_FSTYPES:append` with a direct assignment to
  `IMAGE_FSTYPES` to include "wic.bmap wic.gz tar.gz".
- Ensures consistency and explicit definition of image formats for the
  build process.

Change-type: minor
@psaavedra psaavedra force-pushed the psaavedra/to_scarthgap branch 2 times, most recently from f01a343 to e5064c4 Compare December 18, 2024 07:57
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