kmscon builds with -std=gnu99 -Werror, and clang rejects the
declaration directly after the default: label in font_psf.c as a C23
extension. Give that case its own block scope.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Drop the pty patch, the problem is fixed upstream since 10.0.2.
Refresh the platform GPU patch to the version merged upstream,
which also excludes USB displays from the primary GPUs. Backport the
libseat build fix, 10.0.4 does not build with libseat otherwise.
Tested on a Raspberry Pi 4 with gpus=primary.
License-Update: COPYING now states that the Unifont font is licensed
under OFL-1.1 instead of GPL, drops the third-party notices for the
dbus-loop, wcwidth and vt.c code and updates the path of the htable
code to src/shl/htable.
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Update the defconfig to use more linux default settings. Most
settings are imported from the get_started.defconfig from the source
repository. This includes the following changes:
- use libc based malloc, string, sprintf
- use OS based pthread implementation
- include fonts
- include performance monitor
- remove CONFIG_LV_MEM_SIZE_KILOBYTES, not necessary when using libc
memory management
- set refresh period to 16 ms (60 FPS max)
- increase LV_DRAW_LAYER_SIMPLE_BUF_SIZE and LV_DRAW_THREAD_STACK_SIZE
Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Drop setting KCONFIG_CONFIG_ROOTDIR to the lvgl subfolder. The demo repo
has now its own Kconfig file.
Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add the possibility to use wayland as lvgl backend. Add a config snippet
to enable wayland and add the necessary dependencies. The lvgl cmake
needs SYSROOT to be set to RECIPE_SYSROOT to find the wayland protocols.
Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Update the defconfig to use Linux default settings. Settings are taken
from the linux.defconfig from the source repository. This includes the
following changes:
- use libc based malloc, string, sprintf. Using libc based memory
allocation eliminates the risk that the lvgl application runs out of
memory because of fixed internal memory size.
- use OS based pthread implementation
- set refresh period to 16 ms (60 FPS max)
- increase LV_DRAW_LAYER_SIMPLE_BUF_SIZE and
CONFIG_LV_DRAW_THREAD_STACK_SIZE
Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add pkgconfig inherit and drop manually adding include paths to CFLAGS
and CXXFLAGS. The lvgl cmake can handle this meanwhile.
Add a patch to fix missing version and links for installed .so files.
Signed-off-by: Thorsten Schmelzer <t.schmelzer@phytec.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kmscon only counted a GPU as primary when its PCI parent had boot_vga
set, so with gpus=primary it ignored vc4 on the Raspberry Pi 4 and never
showed a terminal. Treat DRM devices on the platform bus as primary,
except for the firmware framebuffer drivers. Tested on a Raspberry Pi 4
booting through EDK2.
AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
kmscon opened the pty as soon as the seat came up, so the shell started
and drew its prompt before any display was attached; on a system that
boots into a graphical session that left a stray prompt with a white
cursor in the top left corner until the compositor took over. Defer the
pty until a display is there.
AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
run-ptest piped ctest output through 'sed -u', which busybox sed does
not support, so the pipeline produced no output and the ptest image
reported "ptests which had no test results: ['openjpeg']".
Drop sed and classify ctest result lines in awk directly. This also
maps Timeout/Exception/Not Run results to FAIL; previously they were
printed as e.g. "Exception:: <name>" and ignored by the ptest parser.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
libSDL2-2.0.so.0 from sdl2-compat lists only libc.so.6 as NEEDED and
loads libSDL3.so.0 through dlopen(), so shlibs does not generate a
runtime dependency on libsdl3. An image that installs an SDL2 consumer
without pulling in libsdl3 by other means therefore gets a library that
fails to initialize at runtime. This was seen with plasma-desktop, whose
game controller KCM links against SDL2 and made systemsettings fail to
start on an image that had no other SDL user.
Tested by checking readelf -d on the installed libSDL2-2.0.so.0 and by
rebuilding the package for corei7-64.
AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
do_configure fails with:
configure.ac:17: error: must install xorg-macros 1.8 or later before
running autoconf/autogen
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
do_configure fails with:
configure.ac:35: error: must install xorg-macros 1.8 or later before
running autoconf/autogen
xorg-app-common.inc sets DEPENDS to "util-macros-native virtual/libx11",
but the recipe overwrites it, so util-macros-native never gets into the
sysroot. Append, like the other xorg-app recipes do.
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
ASSIMP_WARNINGS_AS_ERRORS defaults to ON, which builds the library with
-Wall -Werror. That leaves the build at the mercy of whatever a new
compiler adds to -Wall: clang 23 enables -Wunused-template there, and the
bundled openddlparser copy carries a template that is never called, so the
build fails with
contrib/openddlparser/code/DDLNode.cpp:34:20: error: unused function
template 'releaseDataType' [-Werror,-Wunused-template]
Neither assimp master nor openddl-parser upstream has removed that dead
template, and there is no pending pull request for it, so there is nothing
to backport. Debian, Fedora, Arch and Alpine all turn this option off
rather than patch individual warnings; do the same, which also keeps the
next addition to -Wall from breaking the build again.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
==========
- A new tsm_screen_get_cursor_style() interface is available, that provides the current style of the cursor.
- screen/vte: add cursor style support via DECSCUSR (CSI Ps SP q)
- Fix backward selection
- Fix also clear the character value for multi-width character.
- screen: don't clear cells when resizing
- libtsm: fix tsm_screen_attr2_t
- Fix 3 out of bound reads
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Major release. 10.0.1 installs a new terminfo entry
(${datadir}/terminfo/k/kmscon) that FILES:${PN} didn't claim; added.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Major release; see upstream release notes for details.
Recipe-side changes: patches / files moved to the new version directory.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adobe's 2.042R-u/1.062R-i/1.026R-vf release re-compiles all fonts so
that the static instances correspond to the variable-font versions;
uprights are at 2.042 and italics at 1.062.
Upstream also reorganised the release assets: instead of a single
all-formats source-code-pro-<ver>.zip containing a top-level versioned
directory (plus EOT/OTF/TTF/WOFF trees and a bundled LICENSE.txt), each
format is now published as its own archive that unpacks a bare OTF/
directory with no license file. So SRC_URI now fetches
OTF-source-code-pro-2.042R-u_1.062R-i.zip with ;subdir=${BP}, S points
at that subdir, and LIC_FILES_CHKSUM references the common OFL-1.1 text
(the repository's LICENSE.md is the verbatim SIL OFL 1.1, only the
copyright year and Adobe notice differ, and it is no longer shipped in
the font archive). UPSTREAM_CHECK_REGEX is adjusted for the new
"R-u" tag suffix. All 14 OTF faces are packaged as before.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adobe released Source Han Sans 2.005 on 2025-06-18. Per the upstream
ReadMe version history it bumps the copyright range to 2014-2025,
refreshes the Latin component from Source Sans v3.052, and applies a
large batch of per-language glyph and CMap fixes across the
CN/TW/HK/JP/KR subsets (added U+31BC-U+31BF, U+2BB37, U+2D25D and
various Ext-B/C glyphs; corrected strokes, contour alignment and
interpolation bugs; removed and remapped a number of region-specific
glyphs to their corresponding shared forms; fixed IVS mappings in the
KR sequence file). Upstream also renumbered the release assets with an
ordinal prefix (SourceHanSansTW.zip is now 20_SourceHanSansTW.zip), so ZIPNAME is
updated to match.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adobe released Source Han Sans 2.005 on 2025-06-18. Per the upstream
ReadMe version history it bumps the copyright range to 2014-2025,
refreshes the Latin component from Source Sans v3.052, and applies a
large batch of per-language glyph and CMap fixes across the
CN/TW/HK/JP/KR subsets (added U+31BC-U+31BF, U+2BB37, U+2D25D and
various Ext-B/C glyphs; corrected strokes, contour alignment and
interpolation bugs; removed and remapped a number of region-specific
glyphs to their corresponding shared forms; fixed IVS mappings in the
KR sequence file). Upstream also renumbered the release assets with an
ordinal prefix (SourceHanSansKR.zip is now 18_SourceHanSansKR.zip), so ZIPNAME is
updated to match.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adobe released Source Han Sans 2.005 on 2025-06-18. Per the upstream
ReadMe version history it bumps the copyright range to 2014-2025,
refreshes the Latin component from Source Sans v3.052, and applies a
large batch of per-language glyph and CMap fixes across the
CN/TW/HK/JP/KR subsets (added U+31BC-U+31BF, U+2BB37, U+2D25D and
various Ext-B/C glyphs; corrected strokes, contour alignment and
interpolation bugs; removed and remapped a number of region-specific
glyphs to their corresponding shared forms; fixed IVS mappings in the
KR sequence file). Upstream also renumbered the release assets with an
ordinal prefix (SourceHanSansJP.zip is now 17_SourceHanSansJP.zip), so ZIPNAME is
updated to match.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adobe released Source Han Sans 2.005 on 2025-06-18. Per the upstream
ReadMe version history it bumps the copyright range to 2014-2025,
refreshes the Latin component from Source Sans v3.052, and applies a
large batch of per-language glyph and CMap fixes across the
CN/TW/HK/JP/KR subsets (added U+31BC-U+31BF, U+2BB37, U+2D25D and
various Ext-B/C glyphs; corrected strokes, contour alignment and
interpolation bugs; removed and remapped a number of region-specific
glyphs to their corresponding shared forms; fixed IVS mappings in the
KR sequence file). Upstream also renumbered the release assets with an
ordinal prefix (SourceHanSansCN.zip is now 19_SourceHanSansCN.zip), so ZIPNAME is
updated to match.
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>