summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/libsdl3
Commit message (Collapse)AuthorAgeFilesLines
* libsdl3: upgrade 3.2.16 -> 3.2.18Wang Mingyu2025-07-151-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-254-4/+3
| | | | | | | | | | | | | 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>
* libsdl3: upgrade 3.2.14 -> 3.2.16Wang Mingyu2025-06-091-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: update 2.32.52 -> 2.32.56Markus Volk2025-05-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2.32.56 This is a stable bugfix release, with the following changes: Fixed rendering in Mesen2 Fixed brightness in ioquake3 Fixed a hang at launch in the xemu emulator Fixed crackling and sped up audio in OpenRCT2 Fixed fullscreen window positioning on Wayland with multiple displays Key events are now sent for dead keys on X11 Fixed mouse wheel integer scrolling values Fixed a double-free when working with RLE surfaces Fixed a memory leak in SDL_LockTextureToSurface() Fixed sending SDL3 controller events to SDL2 applications 2.32.54 This is a stable bugfix release, with the following changes: sdl2_compat.pc was renamed to sdl2-compat.pc Fixed creating fullscreen exclusive windows Fixed relative mouse motion for Half-Life and mods on Windows Fixed crash during controller hotplug in RetroArch Fixed display scale under Wayland in ioquake3 Default to using X11 for the UE5 editor, fixing mouse input Fixed SDL_SetWindowInputFocus() return value Improved accuracy of SDL_GetRenderDriverInfo() Improved handling of very slight mouse movements Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: upgrade 3.2.12 -> 3.2.14Wang Mingyu2025-05-211-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: update 3.2.10 -> 3.2.12Markus Volk2025-05-041-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - do not disable xrandr to avoid: | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:506:13: error: unknown type name 'XRRScreenResources' | 506 | XRRScreenResources *screen = X11_XRRGetScreenResourcesCurrent(display, DefaultRootWindow(display)); | | ^~~~~~~~~~~~~~~~~~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:506:42: error: implicit declaration of function 'X11_XRRGetScreenResourcesCurrent' [-Wimplicit-function-declaration] | 506 | XRRScreenResources *screen = X11_XRRGetScreenResourcesCurrent(display, DefaultRootWindow(display)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:506:42: error: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:507:13: error: unknown type name 'XRRCrtcInfo' | 507 | XRRCrtcInfo *crtc_info = X11_XRRGetCrtcInfo(display, screen, screen->crtcs[0]); | | ^~~~~~~~~~~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:507:38: error: implicit declaration of function 'X11_XRRGetCrtcInfo' [-Wimplicit-function-declaration] | 507 | XRRCrtcInfo *crtc_info = X11_XRRGetCrtcInfo(display, screen, screen->crtcs[0]); | | ^~~~~~~~~~~~~~~~~~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:507:80: error: request for member 'crtcs' in something not a structure or union | 507 | XRRCrtcInfo *crtc_info = X11_XRRGetCrtcInfo(display, screen, screen->crtcs[0]); | | ^~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:508:27: error: request for member 'width' in something not a structure or union | 508 | x = (crtc_info->width - data->dialog_width) / 2; | | ^~ | /home/flk/poky/build/tmp/work/corei7-64-poky-linux/libsdl3/3.2.12/SDL3-3.2.12/src/video/x11/SDL_x11messagebox.c:509:27: error: request for member 'height' in something not a structure or union | 509 | y = (crtc_info->height - data->dialog_height) / 3; | | This is a stable bugfix release, with the following changes: Fixed crash if SDL_BlitSurfaceScaled() is used with a surface that has no pixels Removed timeout in SDL_RunOnMainThread() Allow rendering a zero sized source rectangle in the SDL render API Fixed texture colorspace when creating a texture from a surface with the SDL render API Renamed SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_UINT8 to SDL_PROP_GPU_TEXTURE_CREATE_D3D12_CLEAR_STENCIL_NUMBER Allow a NULL shader entry point for SDL_GPUShaderCreateInfo, defaulting to the one used by SDL_shadercross Fixed failing to create a GPU device if the D3D12 debug layers aren't available on Windows Added support for the share button on the GameSir-K1 FLUX controller Added support for the PowerA Battle Dragon Advanced Wireless Controller Added support for the HORI Taiko No Tatsujin Drum Controller Fixed the Keychron K1 Pro System Control keyboard being detected as a joystick Fixed right mouse button emulation when using a Wacom tablet in Windows Ink mode Fixed missing simulated mouse events using a Wacom tablet when Windows Ink mode is disabled Fixed process I/O redirection to NUL on Windows Key events are now sent for dead keys on X11 Improved handling of window management edge conditions on X11 Fixed message box location on multi-monitor configurations on X11 Fixed XInput2 mouse tracking outside the window on X11 Fixed window focus after showing a file dialog on macOS Ignore mouse clicks and motion on tooltip windows on macOS Fixed message boxes shown on a background thread on iOS Fixed Android audio crackling introduced in 3.2.10 Fixed handling of SDL_HINT_ANDROID_ALLOW_RECREATE_ACTIVITY Fixed A/B/X/Y buttons on Nintendo 3DS Fixed building for Xbox One Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: dont provide virtual/libsdl3Markus Volk2025-04-252-3/+1
| | | | | | | - depend on libsdl3 directly Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: provide virtual/libsdl2Markus Volk2025-04-251-1/+1
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: fix to work as drop-in replacement for libsdl2Markus Volk2025-04-221-0/+6
| | | | | | | | | | | | Since libsdl2 and libsdl2-compat are now mutually exclusive we can afford to rename the .pc file from sdl2-compat.pc to sdl2.pc This helps other projects which use pkgconfig to find libsdl2 Allow to build libsdl2-compat for native and nativesdk. This is required to build qemu Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3-image: Add missing dependency on libsdl3Khem Raj2025-04-221-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3-image: add recipeMarkus Volk2025-04-221-0/+16
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: make mutually exclusive with libsdl2Markus Volk2025-04-221-0/+5
| | | | | | | | libsdl2 and libsdl2-compat share the same headers. Therefore, using one or the other is an either-or decision Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3-ttf: add recipeMarkus Volk2025-04-221-0/+15
| | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: upgrade 3.2.8 -> 3.2.10Wang Mingyu2025-04-071-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: add fallback to console-buildMarkus Volk2025-03-171-0/+2
| | | | | | | | | | | | | | | | | | | | | This fixes a configure error if neither wayland nor x11 are available: | CMake Error at cmake/macros.cmake:382 (message): | SDL could not find X11 or Wayland development libraries on your system. | This means SDL will not be able to create windows on a typical unix | operating system. Most likely, this is not wanted. | | On Linux, install the packages listed at | https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies | | | If you really don't need desktop windows, the documentation tells you how | to skip this check. | https://github.com/libsdl-org/SDL/blob/main/docs/README-cmake.md#cmake-fails-to-build-without-x11-or-wayland-supp Signed-off-by: Markus Volk <f_l_k@t-online.de> Acked-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: add x11 and opengl to REQUIRED_DISTRO_FEATURESMarkus Volk2025-03-171-1/+3
| | | | | | Signed-off-by: Markus Volk <f_l_k@t-online.de> Acked-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2-compat: add recipeMarkus Volk2025-03-131-0/+21
| | | | | | | This is a drop in replacement for libsdl2 that uses libsdl3 behind the scenes Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl3: add recipeMarkus Volk2025-03-131-0/+79
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>