Changelog:
==========
-gitlab CI: stop requiring Signed-off-by in commits
-configure: Use AC_SYS_LARGEFILE to enable large file support
-Use reallocarray if available, provide local version if not
-Silence -Wanalyzer-out-of-bounds warnings from gcc 13
-Variable scope reductions, as suggested by cppcheck
-unifdef __UNIXOS2__
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
* use [[:space:]] instead of [ \t]
* remove global replace, as there is only one instance to replace for
each expression
* use extended regular expressions and remove escape characters
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The libdrm include is only needed when "drm" is selected in
PACKAGECONFIG.
In addition, move the TARGET_CFLAG addition to lv-conf.inc, where the
DRM configuration is actually selected for LVGL.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use [ \t] to detect optionnal spaces at the beginning of each
line, and after the define.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When DRM is activated for LVGL, it adds a dependency on drm.h.
As for lvgl-demo-fb, add an include path to fix this usecase.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Acked-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
As it can be usefull to customize these other variables, let's
add them in lv-conf.inc.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use back reference instead of repeating the search pattern. Later on
this could lead to a more generic way of replacing values in the .h file.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
As ${includedir}${PN} is already listed in FILES, there is no
need to add one of its subdirectories.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add an install append to copy the generated lv_conf.h as part of the
lvgl package, so that it will be found and used by the recipes that
want to use lvgl.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix a typo in the first sed instruction, where the #if 0 is
never changed to #if 1 at the beginning of lv_conf.h.
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
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>
Build LVGL as shared library instead of static library. In case
there are multiple applications linking against LVGL, this is more
efficient, and it also makes it possible to update only the LVGL
library separately from the applications.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ARGB8888 framebuffer format for base canvas makes little sense
as the base canvas is unlikely to be transparent and require alpha.
Use XRGB8888 framebuffer format which is more widely supported by
DRM drivers as base plane pixel format.
This is identical to upstream fix for this issue which already landed:
https://github.com/lvgl/lv_drivers/commit/c71e5f84bb2aebaed0644e31b8868bf90b199d32
The upstream fix just never made it into the LVGL 9.0.0 for some reason,
an repeated upstream fix is being worked in now.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Configure all the LVGL assertions to enabled or disabled based on OE
DEBUG_BUILD variable. This way, debug builds come with assertions
which are expensive, while regular builds do not.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Expose SDL2 fullscreen mode as configuration option. The default
is disabled, which matches the SDL2 backend configuration in LVGL.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The lv-conf.inc is much more fitting name, since there is now only one
configuration file and that is called lv_conf.h . No functional change.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upgrade LVGL and matching recipes to LVGL 9 series. Use latest git HEAD
instead of 9.0.0 release to pull in fixes which landed after the 9.0.0
release and which are of interest to Linux deployments.
There are significant breaking changes, which are listed below.
The lv-drivers and lv-lib-png PNG library seem to be part of the main LVGL
repository, drop the now unnecessary recipes.
Configuration is now done in lv_conf.h only, there is no more lv_drv_conf.h,
rework lv-drivers.inc accordingly. USE_SDL_GPU support has been renamed to
LV_USE_DRAW_SDL and newly depends on libsdl2-image, SDL_DOUBLE_BUFFERED to
LV_SDL_BUF_COUNT=2 .
All configuration options from lvgl_%.bb, LV_COLOR_DEPTH, LV_MEM_CUSTOM as
well as LV_TICK_CUSTOM, LV_TICK_CUSTOM_INCLUDE, LV_TICK_CUSTOM_SYS_TIME_EX
are all moved into lv-drivers.inc , so the configuration is done in one
place, using the same set of configuration options.
Wayland support is gone, drop it from lv-drivers.inc. Evdev input device
selection via EVDEV_NAME is also gone, the selection is now done using
API call lv_evdev_create(). DRM card selection via DRM_CARD is also gone,
the selection is now done using API call lv_linux_drm_set_file(). Move
LVGL_CONFIG_DRM_CARD into lvgl-demo-fb, which calls lv_linux_drm_set_file().
The lvgl-demo-fb recipe is adjusted to be compatible with LVGL 9 again,
this makes some of the sed adjustments really awful, so this part will
be replaced by upstream patches in a separate commit to avoid growing
this commit even more.
The lvgl-demo-fb recipe is also no longer using git submodules, but
instead fetches both its source and LVGL using git fetcher separately.
This is needed to build the SDL backend successfully, which requires
newer LVGL than what the repository points to via its submodule.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe is barely compatible with LVGL 8.3, the repository
seems to be unreachable now, drop the recipe.
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
remove STAGING_DIR_HOST and S from the waylandpp-targets.cmake file
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
remove STAGING_DIR_HOST from the LibVNCServerTargets.cmake file
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-Apple's Diffie-Hellman authentication (security type 30) has been fixed.
-A new client connection no longer causes a DNS lookup.
-Clients are now allowed to request more than 32 encodings
-Zlib streams are now preserved when a client switches between encodings
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
0001-Remove-dead-variable-984.patch was a backport patch that was dropped
after upgrade to version:3.2.9.3. Remove it as part of cleanup
Signed-off-by: Maxin John <maxin.john@gmail.com>
: drop 'r' from gitr and ${SRCPV}
* +git is preferred over +gitr since 2012:
https://lists.openembedded.org/g/openembedded-core/topic/72154716#16837
some recipes still use +gitr, because updating it would cause PV going backwards
but without share PRservice the version-going-backwards QA issues are quite
common and most people probably cannot depend on always-increasing version number
already
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Changelog:
=============
-Clients are now allowed to request more than 32 encodings (#108)
-Zlib streams are now preserved when a client switches between encodings
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adjust for different patches between vulkan-cts and opengl-es-cts
Use gcc to compile vulkan-cts for now, it does not like libc++ headers
from clang-18
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When compiling with clang-18 it finds more warnings which becomes errors
so disable the warnings as errors in this module for now.
Fixes
/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/opengl-es-cts/3.2.9.3/git/external/amber/src/src/engine.cc:35:3: error: 'switch' missing 'default' label [-Werror,-Wswitch-default]
35 | switch (type) {
| ^
1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
============
* Fixes for scrollview
* Fixes for autoconf, clang and sw builds
* Improve OCR for an image URL
* Fail on curl download errors
* New parameter curl_cookiefile
* Set User-Agent: header field in HTTP request for curl downloads
* Output directory list from "combine_tessdata -d" to stdout
* Other small improvements for code and documentation.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
* Fix crash in right-click / menu rendering code on some distributions
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
===========
-add aabb2d
-add euler to quat functionality
-add new subtraction family of vector functions
-many others improvements and bugfixes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This helps with build determinism; also if readline is not in sysroot
but readline-native is, fontforge erroneously decides to build with it.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Remove the patch to bring back the user of xxd from vim-native, the
patch claimed that the cross-compiling rules were broken. However they
work just fine if you tell it what compiler to use, as the default is
"c++" and that isn't in HOSTTOOLS.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The opengl PACKAGECONFIG depends on freeglut, but after commit
f721876add that's only available
with x11. Enable it only when both openg and x11 are available.
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This variable was removed in oe-core 8c9ef5, and didn't do what any of
these recipes seem to be using it for.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
When building this recipe, internal archives are compressed with
gzip. The compressed archives contain a header with the field
MTIME (Modification Time) which is initialized from the built
date. As a consequence, two builds of this recipe always generate
packages whose checksum differs.
Adding the -n option to gzip while compressing the archive does
not save the original time stamp by default hence making
reproducible package.
Signed-off-by: Jean-Marc BOUCHE <jean-marc.bouche@foss.st.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
XORG_EXT tar.bz2 removed because not supported in the new version. The default value defined in xorg-lib-common.inc will be used, i.e. tar.xz
Changelog:
* configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
* Replace calls to index() with strchr()
* Add .git-blame-ignore-revs to hide whitespace commits from git blame
* Remove "All rights reserved" from Oracle copyright notices
* fix typo in XawMax parameter in GetBlockBoundaries
* Stop memory leak in error paths in XawTextSinkConvertPropertyList()
* Stop memory leak in GetResourcePixmapPath()
* Fix ctype(3) users.
* Fix spelling/wording issues
* gitlab CI: add a basic build test
* Build xz tarballs instead of bzip2
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>