mbox series

[0/8] lvgl: Upgrade to LVGL 9 series

Message ID 20240313045038.90500-1-marex@denx.de
Headers show
Series lvgl: Upgrade to LVGL 9 series | expand

Message

Marek Vasut March 13, 2024, 4:40 a.m. UTC
This series updates LVGL to new 9 series. The 9 series contains significant
changes, which are documented in patch 2/8, which is also the main patch of
this series and the changes are listed there in further detail.

In short, the library API and configuration has changed considerably. Build
time configuration has been reworked to match and moved into one place. Some
recipes are no longer needed and/or compatible, so they are dropped.

The current patching of code using sed has been left in place only for the
library configuration where it kind-of makes sense, the rest of the code
patching is now done using actual patches, all with already opened upstream
MRs.

DRM/KMS and SDL2 support in LVGL and lvgl-demo-fb now actually works well,
SDL2 backend even does some rudimentary GPU accelerated blitting.

LVGL is now compiled as shared library instead of static library.

Note that it seems LVGL 9.1 release is close, so depending on the feedback
here, there will be either a follow up series, or V2, to update to LVGL 9.1.
LVGL 9.1 contains quite a few fixes:
https://github.com/lvgl/lvgl/issues/5843

Marek Vasut (8):
  lvgl: Drop dialog-lvgl
  lvgl: Upgrade to LVGL 9 series
  lvgl: Rename lv-drivers.inc to lv-conf.inc
  lvgl: Add SDL2 fullscreen mode configuration option
  lvgl: Configure assertions based on DEBUG_BUILD
  lvgl: Default to XRGB8888 DRM framebuffer
  lvgl: Build shared library
  lvgl: Replace sed patching with real patches

 ...-wayland-Switch-to-custom-timer-tick.patch | 72 -------------------
 .../0002-wayland-Fix-callback-data-type.patch | 30 --------
 .../recipes-graphics/lvgl/dialog-lvgl_git.bb  | 31 --------
 ...-drm-Default-to-XRGB8888-framebuffer.patch | 36 ++++++++++
 ...oth-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch | 63 ++++++++++++++++
 ...e-node-runtime-configurable-via-envi.patch | 45 ++++++++++++
 ...Factor-out-fbdev-initialization-code.patch | 52 ++++++++++++++
 .../0005-Add-DRM-KMS-example-support.patch    | 59 +++++++++++++++
 .../files/0006-Add-SDL2-example-support.patch | 69 ++++++++++++++++++
 meta-oe/recipes-graphics/lvgl/lv-conf.inc     | 54 ++++++++++++++
 meta-oe/recipes-graphics/lvgl/lv-drivers.inc  | 48 -------------
 .../recipes-graphics/lvgl/lv-drivers_8.3.0.bb | 28 --------
 .../recipes-graphics/lvgl/lv-lib-png_8.0.2.bb | 31 --------
 .../lvgl/lvgl-demo-fb_8.3.0.bb                | 46 ------------
 .../lvgl/lvgl-demo-fb_9.0.0.bb                | 44 ++++++++++++
 meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb  | 44 ------------
 meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb   | 32 +++++++++
 17 files changed, 454 insertions(+), 330 deletions(-)
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl/0001-wayland-Switch-to-custom-timer-tick.patch
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl/0002-wayland-Fix-callback-data-type.patch
 delete mode 100644 meta-oe/recipes-graphics/lvgl/dialog-lvgl_git.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0001-fix-drm-Default-to-XRGB8888-framebuffer.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch
 create mode 100644 meta-oe/recipes-graphics/lvgl/lv-conf.inc
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-drivers.inc
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-drivers_8.3.0.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_8.3.0.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.0.0.bb
 delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.3.11.bb
 create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_9.0.0.bb

---
Cc: Fabio Estevam <festevam@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>