From 487264b9075d69624af14ae8ab17f0a47a3c3b43 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 16 Aug 2023 09:37:21 +0800 Subject: lvgl: upgrade 8.3.8 -> 8.3.9 Changelog: ========== Fixes ------- fix(decoder): fix LV_IMG_CF_ALPHA_8BIT bin file decoder 4406 fix(config): fix typo in LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR 4403 fix(attr): refactor LV_ATTRIBUTE_* for function attributes 4404 fix(font): fix optimizer issue in lv_font_fmt_txt.c 4385 fix(btnmatrix): Hide button matrix when all buttons hidden 65f1c93 fix(obj) prevent hidden objects keeping focus 375b3b5 fix(btnmatrix): Fix typo in previous commit! 29ed7c5 fix(tabview): fix warning 223dc1c fix(indev): fix warnings when loggin coordinates is enabled 645006e fix: use const lv_img_dsc_t * dsc function parameter in lv_img_buf.h/ 4f102d7 fix(chart): fix lv_chart_get_point_pos_by_id f9ffcc9 fix(imgbtn): support LV_OBJ_FLAG_CHECKABLE 385d999 Docs ------- docs(disp): metined that rotation rotates the touch coordinates too 810852b Others -------- demos: add lv_demo_..._close() functions for each demo 91038a9 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/lvgl/lvgl_8.3.8.bb | 42 ----------------------------- meta-oe/recipes-graphics/lvgl/lvgl_8.3.9.bb | 42 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.3.8.bb create mode 100644 meta-oe/recipes-graphics/lvgl/lvgl_8.3.9.bb diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.3.8.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.3.8.bb deleted file mode 100644 index 6103a02948..0000000000 --- a/meta-oe/recipes-graphics/lvgl/lvgl_8.3.8.bb +++ /dev/null @@ -1,42 +0,0 @@ -# SPDX-FileCopyrightText: Huawei Inc. -# -# SPDX-License-Identifier: MIT - -HOMEPAGE = "https://lvgl.io/" -DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" -SUMMARY = "Light and Versatile Graphics Library" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" - -SRC_URI = "git://github.com/lvgl/lvgl;protocol=https;branch=release/v8.3" -SRCREV = "e6d7be00bfa5e1df450c7b713003a9effa03c614" - -inherit cmake - -EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" -S = "${WORKDIR}/git" - -LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" -LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" - -# Upstream does not support a default configuration -# but propose a default "disabled" template, which is used as reference -# More configuration can be done using external configuration variables -do_configure:prepend() { - [ -r "${S}/lv_conf.h" ] \ - || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ - -e "s|\(#define LV_COLOR_DEPTH \).*|\1 ${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \ - \ - -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ - \ - -e "s|\(#define LV_TICK_CUSTOM \).*|\1 1|g" \ - -e "s|\(#define LV_TICK_CUSTOM_INCLUDE \).*|\1 |g" \ - -e "s|\(#define LV_TICK_CUSTOM_SYS_TIME_EXPR \).*|extern uint32_t custom_tick_get(void);\n\1 (custom_tick_get())|g" \ - \ - < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" -} - -FILES:${PN}-dev += "\ - ${includedir}/${PN}/ \ - ${includedir}/${PN}/lvgl/ \ - " diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_8.3.9.bb b/meta-oe/recipes-graphics/lvgl/lvgl_8.3.9.bb new file mode 100644 index 0000000000..dc681c249b --- /dev/null +++ b/meta-oe/recipes-graphics/lvgl/lvgl_8.3.9.bb @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: MIT + +HOMEPAGE = "https://lvgl.io/" +DESCRIPTION = "LVGL is an OSS graphics library to create embedded GUI" +SUMMARY = "Light and Versatile Graphics Library" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" + +SRC_URI = "git://github.com/lvgl/lvgl;protocol=https;branch=release/v8.3" +SRCREV = "9ec3b8706b098f60940cee6ac211d3cb3141aedf" + +inherit cmake + +EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib}" +S = "${WORKDIR}/git" + +LVGL_CONFIG_LV_MEM_CUSTOM ?= "0" +LVGL_CONFIG_LV_COLOR_DEPTH ?= "32" + +# Upstream does not support a default configuration +# but propose a default "disabled" template, which is used as reference +# More configuration can be done using external configuration variables +do_configure:prepend() { + [ -r "${S}/lv_conf.h" ] \ + || sed -e 's|#if 0 .*Set it to "1" to enable .*|#if 1 // Enabled|g' \ + -e "s|\(#define LV_COLOR_DEPTH \).*|\1 ${LVGL_CONFIG_LV_COLOR_DEPTH}|g" \ + \ + -e "s|\(#define LV_MEM_CUSTOM .*\)0|\1${LVGL_CONFIG_LV_MEM_CUSTOM}|g" \ + \ + -e "s|\(#define LV_TICK_CUSTOM \).*|\1 1|g" \ + -e "s|\(#define LV_TICK_CUSTOM_INCLUDE \).*|\1 |g" \ + -e "s|\(#define LV_TICK_CUSTOM_SYS_TIME_EXPR \).*|extern uint32_t custom_tick_get(void);\n\1 (custom_tick_get())|g" \ + \ + < "${S}/lv_conf_template.h" > "${S}/lv_conf.h" +} + +FILES:${PN}-dev += "\ + ${includedir}/${PN}/ \ + ${includedir}/${PN}/lvgl/ \ + " -- cgit v1.2.3-54-g00ecf