12 Commits

Author SHA1 Message Date
Peter Kjellerstedt
f5ac239a92 lvgl: Disable building demos and examples
There are no reasons to build the demos and examples for the dynamic
lvgl library.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 20:41:20 -07:00
Peter Kjellerstedt
a16b53a43c lvgl: Add freetype support
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 20:41:20 -07:00
Peter Kjellerstedt
1c1c5c5633 lvgl: Use Kconfig to configure
This switches the recipe from manipulating the lv_conf.h file directly,
to instead using Kconfig to configure lvgl.

* Drop configuration of LV_TICK_CUSTOM* as they were removed in 9.0.0.
* Drop configuration options that match their defaults.

Co-authored-by: Adam x Nilsson <adam.x.nilsson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 20:41:20 -07:00
Peter Kjellerstedt
9c201b0f85 lvgl-demo-fb: Update to 9.4.0
* Add +git to PV since there is no v9.4.0 tag for the
  lv_port_linux_frame_buffer repository.
* Do not run the default do_install() as it will install all of lvgl.
* Remove the hack in do_configure:prepend() for SDL2_image as cmake
  (with a little help from pkg-config) now finds SDL2_image correctly.

License-Update: Copyright year updated to 2025
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 20:41:20 -07:00
Khem Raj
b4ab539e0f
lvgl: Upgrade to 9.2.2 release
Drop backported patches
Enable dependent options needed for thorvg packageconfig
Add packageconfig knob for lottie and its relationship with thorvg

Reviewed-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Jaeyoon Jung <jaeyoon.jung@lge.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-22 09:31:29 -07:00
Martin Jansa
351254e9e8
lvgl: fix build with gcc-15 when thorvg is enabled
* fixes:
  http://errors.yoctoproject.org/Errors/Details/848488/
  which is triggered only when thorvg PACKAGECONFIG is enabled

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-21 11:07:34 -07:00
Christian Eggers
4cdf731c3f
lvgl: update upstream-status of all patches
All patches have been integrated meanwhile and should appear in the next
release.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-28 11:22:05 -07:00
Christian Eggers
fbf1dd7913
lvgl: fix version in shared library file name
The version in the patch file needs to be updated.

Fixes: 0c19e65a0969 ("lvgl: Update to 9.1.0")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-28 11:22:04 -07:00
Jaeyoon Jung
0bee442a0e
lvgl: Set resolution prior to buffer
It fixes an issue where the fbdev driver fails to set up a buffer due to
buffer size mismatch. It happens when the actual screen resolution is
smaller than the default one 800x480 because the actual resolution was
being set after lv_display_set_buffers.

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-02 17:54:04 -07:00
Marek Vasut
0c19e65a09
lvgl: Update to 9.1.0
Update LVGL to final 9.1.0 . Drop the XRGB8888 fix which
is part of the release.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-20 18:03:57 -07:00
Marek Vasut
4b09b8f12f
lvgl: Generate proper shared libraries with version suffix
Add missing version suffix to shared libraries. Currently the filename of
generated shared libraries is only liblvgl.so, which prevents coexistence
of different versions of LVGL on the same system. Set VERSION and SOVERSION
to make cmake add the version suffix to generated shared libraries. That
changes the filename to liblvgl.so.9.0.0 and includes symlink with major
ABI version, i.e. liblvgl.so.9 .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:09 -07:00
Marek Vasut
0f2a499100
lvgl: Replace sed patching with real patches
Replace the current awful sed hacking with real patches bound for upstream.
The sed hacking was simply not maintainable anymore.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-12 22:28:39 -07:00