Currently tinyxml2 is built with meson, which doesn't generate files in /usr/lib/cmake
Use cmake instead. This will generate files in both /usr/lib/cmake and /usr/lib/pkgconfig
and allow cmake projects to find libtinyxml2.
Avoids errors such as:
| CMake Error at CMakeLists.txt:11 (find_package):
| By not providing "FindTinyXML2.cmake" in CMAKE_MODULE_PATH this project has
| asked CMake to find a package configuration file provided by "TinyXML2",
| but CMake did not find one.
|
| Could not find a package configuration file provided by "TinyXML2" with any
| of the following names:
|
| TinyXML2Config.cmake
| tinyxml2-config.cmake
|
| Add the installation prefix of "TinyXML2" to CMAKE_PREFIX_PATH or set
| "TinyXML2_DIR" to a directory containing one of the above files. If
| "TinyXML2" provides a separate development package or SDK, be sure it has
| been installed.
|
|
| -- Configuring incomplete, errors occurred!
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The tests are supposed to work now - they were not moved to the correct
ptest list with the last update.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Pick patches as listed in NVD CVE report.
Note that Debian lists one of the patches as introducing the
vulnerability. This is against what the original report [1] says.
Also the commit messages provide hints that the first patch fixes this
issue and second is fixing problem with the first patch.
[1] https://jvn.jp/en/jp/JVN19358384/
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Add patch that restores user intent in serial setup handling. Upstream
commit 77320571e63c ignores user input when RS485 was pre-configured,
breaking loopback and flow-control tests.
This patch ensures RS485 can be explicitly controlled while still
respecting pre-existing configurations when appropriate.
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This recipe was moved from tarballs to git in the 17.00.0006 upgrade,
but the recipe failed to set SRCREV. This meant bitbake had to look up
the tag name on every parse.
Set SRCREV, and remove the now-obsolete SRC_URI[sha256sum].
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a stable bugfix release, with the following changes:
Fixed a crash at startup in Hearts of Iron IV
Fixed mouse movement in Heroes of Might and Magic III
Fixed crash under Wayland with Heavy Gear 2
Fixed crash at shutdown in Sim City 3000
Fixed stuck mouse cursor in Seven Kingdoms
Added a fast path for SDL_MapRGB() and SDL_MapRGBA()
Fixed the colorspace for YUV to RGB conversion
Fixed deadlock when opening audio on some systems
Added logging when games are launched with DEBUG_INVOCATION=1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is a stable bugfix release, with the following changes:
Improved validation and fixed memory leaks in the GPU subsystem
Fixed a delay at shutdown when the mouse is grabbed under X11
Do full rectangle intersection for empty rectangles
Fixed destination coordinates when using scale with the software renderer
Clipboard callbacks are only called with the mime types they expect
Fixed the Moonlander MK1 Keyboard being detected as a controller
Fixed the 8BitDo Ultimate 2C Wireless Controller showing up twice on some systems
Added a Linux mapping for the 8BitDo Pro 3 controller
Fixed getting keyboard events from gamepads on iOS 26
Added support for the Zenaim Arcade Controller
Fixed emulated touch on Android
Added a workaround for the Android 14 OS bug "java.lang.NullPointerException android.view.View.onResolvePointerIcon"
Fixed page alignment for the Android release archive
Corrected texture colors on PS2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use gcc to compile failed for 32 bit arm target
$ echo 'MACHINE = "qemuarm"' >> conf/local.conf
$ bitbake nodejs
...
2645 | );
| ^
../deps/llhttp/src/llhttp.c:2643:11: error: incompatible type for argument 1 of 'vandq_u16'
2643 | vcgeq_u8(input, vdupq_n_u8(' ')),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| uint8x16_t
...
Use '-flax-vector-conversions' to permit conversions between vectors
with differing element types or numbers of subparts
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in
zip_writer.h. These types are used in struct members but are not recognized
because the required header <cstdint> is not included. This results in
errors such as:
error: 'uint16_t' does not name a type
error: 'uint32_t' does not name a type
Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer
types are properly defined.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build fails due to a macro redefinition conflict for `unreachable()`.
GCC 15.2.0 defines `unreachable()` in `stddef.h`, and `libunwind_i.h` also
defines it based on the presence of `HAVE__BUILTIN_UNREACHABLE`. This causes
a redefinition error when building with `-Werror`.
Added a guard around the `unreachable()` macro definition in `libunwind_i.h`
to ensure it is only defined if not already present.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The build fails with a compiler error due to a macro redefinition of 'write'
to '___xxx_write'. This macro substitution interferes with the standard C++
library's definition of std::basic_ostream::write, leading to a mismatch
between function declarations and definitions in <ostream.tcc>.
Wrap the `#undef write` and `#define write ___xxx_write` directives with
`#if defined(__ANDROID__)` to ensure they are only applied when building
for
Android.
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The ImageMagick 7 suite installs multiple tool symlinks (animate, convert,
identify, etc.) each implemented by their corresponding *.im7 binaries.
The main 'magick' CLI wrapper binary was not included in the ALTERNATIVE list,
This leave '/usr/bin/magick' missing in the image causing scripts and ptests
that rely on the primary 'magick' CLI to fail.
Signed-off-by: AshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The `gpsmon` tool is really deprecated now, after years of its use being
discouraged. The `cgps` tool can be used as a replacement, with the
added benefit that it's more power-efficient because it doesn't reparse
with a slightly different parses like `gpsmon` did.
Drop patch that was applied upstream in https://gitlab.com/gpsd/gpsd/-/merge_requests/406
Upstream changelog:
3.26.1: 17 May 2025
Increment libgps version
Update Debian Trixie in build.adoc
Fix buffer overrun in cgps.
Make gpsmon deprecation slightly more obvious.
Fix some *BSD compiler warnings
Fix numerous typos.
3.26: 11 May 2025
Handle NTRIPv2 that comes in "chunks".
Add many UBX decodes. Mostly in ubxtool, some in gpsd.
Improve TSIP and UBX initialization.
Gather Antenna Status (ant_stat) and Jamming (jam) and send to JSON.
Always build u-blox, RTCM104V2, RTCM104V3 drivers.
Add partial support for badly documented ALLYSTAR GNSS messages.
Add minimal support for Unicore GNSS messages.
Add minimal support for CASIC GNSS messages.
Add minimal support for buggy Inertial Sense GNSS messages.
Try to work better as non-root using non-standard "capabilities".
Add SUBSYSTEM=gnss rule to gpsd.rules
Moved ntploggps from NTPSec to GPSD and renamed to gpslogntp.
Fix many build, Coverity, and Codacy warnings.
Improved Python interface for the lexer.
Add support for new BeiDou PRNs and subframes.
Officially deprecate gpsmon.
Improve support for NMEA 4.11 (a stealthy moving target).
Remove Oceanserver IMU support. Never worked well.
Always with build ubx, NMEA 103, rtcm104v2 and rtcm104v3 support.
Add support for jamming detection.
Add Go client example.
Add support for RTCM3.2
Note: The new "chunk" code led to a short lived bug that led to
CVE-2023-43628, a buffer overrun. That bug never appeared in
any gpsd release.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Changelog:
Allow copy to pass different types per column, as long as the database can convert them.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Adding WITH_CAIRO=ON to fix this warning:
CMake Warning at libfreerdp/CMakeLists.txt:193 (message):
-DWITH_SWSCALE=OFF and -DWITH_CAIRO=OFF, compiling without image scaling
support!
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The WITH_ADD option does not exist. What was probably meant is
WITH_AAD (Azure AD auth).
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The run-ptest script determines success by grepping for
"0 failed" in the test output. This could incorrectly
report success for cases like "10 failed" or "100 failed".
Update the script to rely on the test binary's exit status instead,
while still capturing and printing full test output for logging.
This makes the ptest behavior more robust and consistent
Signed-off-by: Nikhil R <nikhil.r@bmwtechworks.in>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Here is the setting in bpftool recipe:
COMPATIBLE_HOST = "(x86_64|aarch64|riscv64).*-linux"
bpftool only support 64 bit arch, so add it into NON_MULTILIB_RECIPES
to avoid expanding lib32- variant
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
Generating a configuration fragment for a feature can now be done using:
bitbake lvgl -c menuconfig && bitbake lvgl -c diffconfig
While this uses the standard cml1.bbclass, it expects that "make" is
used to run menuconfig etc. This is not true for lvgl, so unfortunately
the whole do_menuconfig() function had to be copied to be able to remove
the use of "make".
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This switches the recipe from manipulating the lv_conf.h file directly,
to instead using Kconfig to configure lvgl-demo-fb.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
* 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>
Drop manual installation of lv_conf.h. It has not been needed since at
least 9.2.2.
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>
The descrec test fails currently, due to the different characterwidth
postgres uses depending on the current locale.
If the locale is C or posix, then each character is 1 byte. Otherwise,
if it's some UTF8 locale, then it is 4 bytes.
The test case expects 4 byte width by default, making it fail. This backported patch
allows for both 4 and 1 byte characters to be tested successfully.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
It does not have compiler intrinsics for 64bit atomics
Fixes
i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_compare_exchange
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fix a m4 script bug
Drop CVE_STATUS since this is only needed for < 0.14 release
Enable using posix_fallocate when creating a new file to avoid fragmentation
Signed-off-by: Khem Raj <raj.khem@gmail.com>