61 Commits

Author SHA1 Message Date
Khem Raj e777a420c5 libsdl2-image: upgrade 2.8.10 -> 2.8.12
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-28 00:59:19 -07:00
Markus Volk b2fe96995a libsdl2-net: remove backport patch
Currently build fails with:

Hunk #1 FAILED at 204.
1 out of 1 hunk FAILED -- rejects in file CMakeLists.txt
Patch 0001-cmake-always-install-SDL2_net.pc.patch does not apply (enforce with -f)

Remove the patch

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:48 -07:00
Wang Mingyu 0dfa87b106 libsdl2-net: upgrade 2.2.0 -> 2.4.0
License-Update: Copyright year updated to 2026

Changelog:
  Added SDLNet_TCP_OpenServer() and SDLNet_TCP_OpenClient()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:48 -07:00
Mark Jonas ce9deabec1 libsdl2-net: Ensure packaging of SDL2_net.pc
SDL2_net does not install SDL2_net.pc. Thus, libsdl2-net cannot package
the file. Fix this by applying an upstream patch.

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-31 03:08:46 -07:00
Wang Mingyu 9c56c3ed52 libsdl2-mixer: upgrade 2.8.1 -> 2.8.2
Changelog:
==========
 * Improved OGG decoding speed when using stb_vorbis
 * Updated to newer versions of decoding libraries

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-05-20 21:18:33 -07:00
Wang Mingyu 9a4ee804f5 libsdl2-image: upgrade 2.8.8 -> 2.8.10
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-04-10 07:59:53 -07:00
Hongxu Jia 44c9118e9d libsdl2-ttf: add PACKAGECONFIG opengl conditionally
GL is only used for an example binary, add PACKAGECONFIG opengl to enable/disable
it according to 'opengl' in DISTRO_FEATURES or not. Otherwise it fails to build
world if 'opengl' doesn't exist in DISTRO_FEATURES.
...
|ERROR: Nothing PROVIDES 'virtual/egl' (but meta-openembedded/meta-oe/recipes-graphics/
libsdl/libsdl2-ttf_2.24.0.bb DEPENDS on or otherwise requires it). Close matches:
|  virtual/kernel
|  virtual/make
|  virtual/perf
|ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
|Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libsdl2-ttf', 'virtual/egl']
...

Suggested-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-09-04 10:50:39 -07:00
Alexander Kanavin fc78d37ff0 meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Khem Raj 6996418dc5 libsdl: Stick to C17 dialect
GCC-15 defaults to C23 and this component is almost dead.
it still is needed by few other recipes so keep it going
but ideally removing it might be a better thing to do in
near future

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-02 00:00:29 -07:00
Markus Volk a45637fe2a libsdl2-mixer: drop deprecated modplug PACKAGECONFIG
libmodplug support has been removed in master branch
https://github.com/libsdl-org/SDL_mixer/pull/673

Remove the option as we still provide libxmp to handle .mod

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-26 16:31:59 -07:00
Markus Volk f585868bce libsdl2-ttf: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:11 -07:00
Markus Volk 670e96f0d3 libsdl2-net: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:11 -07:00
Markus Volk 7dbc33bde6 libsdl2-mixer: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:10 -07:00
Markus Volk aeab7be668 libsdl2-image: make use of virtual/libsdl2
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-25 14:47:10 -07:00
Markus Volk 305abf38eb libsdl2-mixer: update and build with cmake
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:58 -07:00
Markus Volk dbb9c319a8 libsdl2-ttf: update and build with cmake
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 5be79c75a6 libsdl2-net: update anb build with cmake
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Markus Volk 54e52f0681 libsdl2-image: build with cmake
This allows to use with libsdl2-compat

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-22 09:10:57 -07:00
Wang Mingyu 35d27afd2c libsdl2-image: upgrade 2.8.5 -> 2.8.8
Changelog:
==============
* Fixed alpha in less than 32-bit ICO and CUR images
* Fixed partial alpha in ICO and CUR images

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:20 -07:00
Ross Burton 26061b4318 libsdl2-image: upgrade to 2.8.5
Upstream rebuilt the 2.8.4 tarball[1] so builds without an existing
download fail.

License-Update: copyright years updated.

[1] https://github.com/libsdl-org/SDL_image/issues/515

Signed-off-by: Ross Burton <ross.burton@arm.com>
2025-02-27 20:28:17 +00:00
Wang Mingyu b9bae24144 libsdl2-image: upgrade 2.8.3 -> 2.8.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-30 09:08:04 -08:00
Wang Mingyu 9c04ed658b libsdl2-image: upgrade 2.8.2 -> 2.8.3
Changelog:
 Fixed handling of grayscale images with alpha

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-24 08:23:08 -08:00
J. S. d2f631c763 Drop unnecessary SRC_URI md5sum from the recipes in meta-oe.
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-05 19:19:22 -08:00
Wang Mingyu 20431ecd2f libsdl-gfx: upgrade 2.0.25 -> 2.0.27
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:14 -07:00
Alexandre Truong dae371448a libsdl-gfx: include UPSTREAM_CHECK_URI to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI fix UNKNOWN_BROKEN status from
running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:40 -07:00
Kacper Dalach 2a18bc7d98 libsdl2-image: upgrade to 2.8.2
License-Update: Updated copyright for 2024

Upgraded libsdl2-image to version 2.8.2

Signed-off-by: Kacper Dalach <dalachowsky@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-28 09:34:02 -07:00
Khem Raj 47bda4da57 libsdl: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-21 14:15:11 -07:00
Martin Jansa e722be5fac recipes: Drop remaining PR values from recipes
* as oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?id=d4c346e8ab

* when people are have to maintain own PRs for recipes in oe-core, they
  might add them for meta-oe recipes at the same time when upgrading
  to next LTS

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-17 13:10:10 -07:00
Lee Chee Yang 49c97b4eef libsdl: fix CVE-2022-34568
CVE-2022-34568 affected
From (including) 1.2.1
Up to (including) 1.2.15

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-12 19:34:09 -07:00
Khem Raj 5312b6999a libsdl2-ttf: Define SRCREV_FORMAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-11 10:15:33 -07:00
Andrej Valek 8af2f17a6f cve_check: convert CVE_CHECK_IGNORE to CVE_STATUS
- Try to add convert and apply statuses for old CVEs
- Drop some obsolete ignores, while they are not relevant for current
  version

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-27 08:54:40 -07:00
Martin Jansa be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Khem Raj 5e77da23ea libsdl-image: Fix build with clang16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-02 00:31:38 -08:00
Khem Raj d28518a1d5 libsdl2-ttf: Upgrade to 2.20.2
Fix build with clang16 while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-02 00:31:38 -08:00
Hitomi Hasegawa 8803be17aa libsdl: add CVE-2019-14906 to allowlist
CVE-2019-14906 is a Red Hat vulnerability and Yocto is not applicable.
So add it to the allowlist.

Signed-off-by: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 08:14:17 -07:00
Wang Mingyu 812f20667a libsdl2-ttf: upgrade 2.20.0 -> 2.20.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 19:12:52 -07:00
Wolfgang Meyer 67b3fc7ad0 libsdl2-ttf: upgrade 2.0.18 -> 2.20.0
Changelog:
 * Added support for building with CMake
 * Added TTF_GetFontWrappedAlign() and TTF_SetFontWrappedAlign() to set alignment on wrapped text
 * Added functions to render using FreeType LCD algorithm:
    TTF_RenderText_LCD()
    TTF_RenderUTF8_LCD()
    TTF_RenderUNICODE_LCD()
    TTF_RenderText_LCD_Wrapped()
    TTF_RenderUTF8_LCD_Wrapped()
    TTF_RenderUNICODE_LCD_Wrapped()
    TTF_RenderGlyph_LCD()
    TTF_RenderGlyph32_LCD()
 * Added TTF_SetFontDirection() and TTF_SetFontScriptName() for additional control over fonts using HarfBuzz
 * Updated to FreeType version 2.12.1 and HarfBuzz version 2.9.1, fixing CVE-2018-25032
 * Fixed crash when loading fonts at certain sizes on Windows
 * Fix memory corruption loading malformed TTF files (CVE-2022-27470)

Signed-off-by: Wolfgang Meyer <Wolfgang.Meyer@gossenmetrawatt.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-12 01:24:27 -07:00
Andrew Davis 40a55b3215 libsdl: The libsdl and libsdl2 are not virtual
There is only one provider, these should not be virtual.

Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-08 22:43:03 -04:00
Khem Raj 02422135f3 libsdl2-ttf: Change depenendency from virtual/libgl to virtual/egl
Fixes build on graphics drivers not providing GL implementation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-09 07:37:42 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy 74e71f017a libsdl2-ttf: upgrade 2.0.15 -> 2.0.18
refresh automake_foreign.patch

License-Update: year updated to 2022.

Changelog:
=========
-Added TTF_GetFreeTypeVersion() and TTF_GetHarfBuzzVersion()
-Added support for Signed Distance Field rendering with TTF_SetFontSDF() and
 TTF_GetFontSDF()
-Added optional DPI-scaling of fonts, with the following new functions:
 TTF_OpenFontDPI()
 TTF_OpenFontIndexDPI()
 TTF_OpenFontDPIRW()
 TTF_OpenFontIndexDPIRW()
 TTF_SetFontSizeDPI()
-Added 32-bit character support with:
 TTF_GlyphIsProvided32()
 TTF_GlyphMetrics32()
 TTF_RenderGlyph32_Solid()
 TTF_RenderGlyph32_Shaded()
 TTF_RenderGlyph32_Blended()
 TTF_GetFontKerningSizeGlyphs32()
-Added functions to set direction and script when using Harfbuzz:
 TTF_SetDirection()
 TTF_SetScript()
-Added extended API for text measurement:
 TTF_MeasureText()
 TTF_MeasureUTF8()
 TTF_MeasureUNICODE()
-Added TTF_SetFontSize() to set font size dynamically
-Added 'Shaded' and 'Solid' text wrapped functions:
 TTF_RenderText_Solid_Wrapped()
 TTF_RenderUTF8_Solid_Wrapped()
 TTF_RenderUNICODE_Solid_Wrapped()
 TTF_RenderText_Shaded_Wrapped()
 TTF_RenderUTF8_Shaded_Wrapped()
 TTF_RenderUNICODE_Shaded_Wrapped()
-Added TTF_HINTING_LIGHT_SUBPIXEL for better results at small text sizes at a
 performance cost

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-19 09:01:04 -08:00
Marek Vasut 1c1670a8c4 libsdl2-ttf: Remove incorrect x11 from REQUIRED_DISTRO_FEATURES
The SDL2 TTF library does not depend on X11, only on GL, remove the
X11 requirement.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-06 12:54:03 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
wangmy 57ae91d291 libsdl: Fix CVE-2019-13616
References
  https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-13616

  SDL (Simple DirectMedia Layer) through 1.2.15 and 2.x through 2.0.9 has a heap-based buffer over-read
  in BlitNtoN in video/SDL_blit_N.c when called from SDL_SoftBlit in video/SDL_blit.c.

  Upstream-Status: Backport [https://github.com/libsdl-org/SDL/commit/97fefd050976bbbfca9608499f6a7d9fb86e70db]
  CVE: CVE-2019-13616

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-19 09:17:49 -07:00
Khem Raj 759c64ee0e libsdl2-mixer: Fix build with autoconf 2.70+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-08 10:17:23 -08:00
jabdoa2 69bae2a236 libsdl2-mixer: set --disable-music-ogg-shared to link statically
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-31 11:43:37 -08:00
jabdoa2 074c7d9a1e libsdl2-mixer: Fix ogg/vorbis support in libsdl2-mixer
Remove --enable-music-ogg-tremor  as it broke vorbis support:

checking tremor/ivorbisfile.h usability... no
checking tremor/ivorbisfile.h presence... no
checking for tremor/ivorbisfile.h... no
checking for ov_open_callbacks in -lvorbisidec... no
configure: WARNING: *** Unable to find Ogg Vorbis Tremor library (http://www.xiph.org/)
configure: WARNING: Ogg Vorbis support disabled

With this change:

checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking for ov_open_callbacks in -lvorbisfile... yes
-- dynamic libvorbisfile -> libvorbisfile.so.3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-31 11:43:37 -08:00
Wang Mingyu 7ec6afebf7 libsdl2-ttf: upgrade 2.0.14 -> 2.0.15
-License-Update: Copyright year updated to 2019.

use.pkg-config.for.freetype2.patch
Removed since source is changed.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Wang Mingyu 3254dcee6d libsdl2-mixer: upgrade 2.0.2 -> 2.0.4
-License-Update: Copyright year updated to 2018.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00
Wang Mingyu 8f1ef16dcc libsdl2-image: upgrade 2.0.3 -> 2.0.5
-License-Update: Copyright year updated to 2019.

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-12 19:22:45 -08:00