From patchwork Tue Dec 7 17:36:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4909 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4J7nYC6BNJz3wt3 for ; Tue, 7 Dec 2021 17:37:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4J7nYC3HTTzYR; Tue, 7 Dec 2021 17:37:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4J7nYC34XBz2yqd; Tue, 7 Dec 2021 17:37:03 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4J7nYB4H2rz2xSN for ; Tue, 7 Dec 2021 17:37:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4J7nYB14PNzWx; Tue, 7 Dec 2021 17:37:02 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1638898622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bE2h2IaokJGIh683L3l/4LNZTRJi5xdcGBN0sC8a8gw=; b=D0gaRIhYd4M8qv3YdosHBgqPvqsk11C7Eaa2d+uNv8esw4iI90+GcR1T0dFd912jKH6H6O EyWqVDrI/+rBLUAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1638898622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=bE2h2IaokJGIh683L3l/4LNZTRJi5xdcGBN0sC8a8gw=; b=SpIogeiw9iyW71rF9RbwPqYws5vTREtVkLWBrDI64UeLDGzyBD57VwoxKq+TvWfDZl7O7/ cqNQ6+gVGAunWjlZtDNeiD8TSZRpRpdCHPwk6ZA3/il9fN47JUP8tlAFG++XLrul2UUbh9 Dsfkj8+BJZ8V0uXJXZfpzuyGvqICwzLtK8XorZSJPESwcP45APAqHGTtfnSYkzEgVgKdo0 6AlL+2hGoK7gU5nBFQsEEpDf2I9e0IIf7Hi6aC/fV6/UXrBd6aQKyliEkI2Nvn6Hrlci/w cFx3t9NuZRyUtfTGWPK65rErjVB/NrHau831jfHn1q7IvClTfFtw+JTXZ/fwWQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] sdl2: Update to version 2.0.18 Date: Tue, 7 Dec 2021 18:36:56 +0100 Message-Id: <20211207173656.1918654-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 2.0.16 to 2.0.18 - Update of rootfile - Changelog 2.0.18 General: * The SDL wiki documentation and development headers are automatically kept in sync * Each function has information about in which version of SDL it was introduced * Added the hint SDL_HINT_APP_NAME to let SDL know the name of your application for various places it might show up in system information * Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow rendering of arbitrary shapes using the SDL 2D render API * Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate application data with an SDL texture * Added SDL_RenderWindowToLogical() and SDL_RenderLogicalToWindow() to convert between window coordinates and logical render coordinates * Added SDL_RenderSetVSync() to change whether a renderer present is synchronized with vblank at runtime * Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels * Added a window event SDL_WINDOWEVENT_DISPLAY_CHANGED which is sent when a window changes what display it's centered on * Added SDL_GetWindowICCProfile() to query a window's ICC profile, and a window event SDL_WINDOWEVENT_ICCPROF_CHANGED that is sent when it changes * Added the hint SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY to allow EGL windows to be transparent instead of opaque * SDL_WaitEvent() has been redesigned to use less CPU in most cases * Added SDL_SetWindowMouseRect() and SDL_GetWindowMouseRect() to confine the mouse cursor to an area of a window * You can now read precise mouse wheel motion using 'preciseX' and 'preciseY' event fields * Added SDL_GameControllerHasRumble() and SDL_GameControllerHasRumbleTriggers() to query whether a game controller supports rumble * Added SDL_JoystickHasRumble() and SDL_JoystickHasRumbleTriggers() to query whether a joystick supports rumble * SDL's hidapi implementation is now available as a public API in SDL_hidapi.h Windows: * Improved relative mouse motion over Windows Remote Desktop * Added the hint SDL_HINT_IME_SHOW_UI to show native UI components instead of hiding them (defaults off) Windows/UWP: * WGI is used instead of XInput for better controller support in UWP apps Linux: * Added the hint SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME to set the activity that's displayed by the system when the screensaver is disabled * Added the hint SDL_HINT_LINUX_JOYSTICK_CLASSIC to control whether /dev/input/js* or /dev/input/event* are used as joystick devices * Added the hint SDL_HINT_JOYSTICK_DEVICE to allow the user to specify devices that will be opened in addition to the normal joystick detection * Added SDL_LinuxSetThreadPriorityAndPolicy() for more control over a thread priority on Linux Android: * Added support for audio output and capture using AAudio on Android 8.1 and newer * Steam Controller support is disabled by default, and can be enabled by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init() Apple Arcade: * Added SDL_GameControllerGetAppleSFSymbolsNameForButton() and SDL_GameControllerGetAppleSFSymbolsNameForAxis() to support Apple Arcade titles iOS: * Added documentation that the UIApplicationSupportsIndirectInputEvents key must be set to true in your application's Info.plist in order to get real Bluetooth mouse events. * Steam Controller support is disabled by default, and can be enabled by setting the hint SDL_HINT_JOYSTICK_HIDAPI_STEAM to "1" before calling SDL_Init() Signed-off-by: Adolf Belka Reviewed-by: Michael Tremer --- config/rootfiles/packages/sdl2 | 3 ++- lfs/sdl2 | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/packages/sdl2 b/config/rootfiles/packages/sdl2 index 53b5716c8..b843b9d98 100644 --- a/config/rootfiles/packages/sdl2 +++ b/config/rootfiles/packages/sdl2 @@ -17,6 +17,7 @@ #usr/include/SDL2/SDL_gamecontroller.h #usr/include/SDL2/SDL_gesture.h #usr/include/SDL2/SDL_haptic.h +#usr/include/SDL2/SDL_hidapi.h #usr/include/SDL2/SDL_hints.h #usr/include/SDL2/SDL_joystick.h #usr/include/SDL2/SDL_keyboard.h @@ -80,7 +81,7 @@ #usr/lib/cmake/SDL2/sdl2-config-version.cmake #usr/lib/cmake/SDL2/sdl2-config.cmake usr/lib/libSDL2-2.0.so.0 -usr/lib/libSDL2-2.0.so.0.16.0 +usr/lib/libSDL2-2.0.so.0.18.0 #usr/lib/libSDL2.la usr/lib/libSDL2.so #usr/lib/libSDL2_test.a diff --git a/lfs/sdl2 b/lfs/sdl2 index ea5f15ce2..2cdf013eb 100644 --- a/lfs/sdl2 +++ b/lfs/sdl2 @@ -24,7 +24,7 @@ include Config -VER = 2.0.16 +VER = 2.0.18 THISAPP = SDL2-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = sdl2 -PAK_VER = 4 +PAK_VER = 5 DEPS = alsa @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 98b8a1535a757ea1d03ae44e2fb20247 +$(DL_FILE)_MD5 = c1dd33299db5b7091f37d989c68d5212 install : $(TARGET)