pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/SDL2 SDL2: update to 2.0.18.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d88f7b2a0e7f
branches:  trunk
changeset: 770746:d88f7b2a0e7f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 07 20:31:27 2021 +0000

description:
SDL2: update to 2.0.18.

---------------------------------------------------------------------------
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

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

diffstat:

 devel/SDL2/Makefile |  5 ++---
 devel/SDL2/PLIST    |  3 ++-
 devel/SDL2/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 8 deletions(-)

diffs (44 lines):

diff -r ddb378ac7d92 -r d88f7b2a0e7f devel/SDL2/Makefile
--- a/devel/SDL2/Makefile       Tue Dec 07 20:27:16 2021 +0000
+++ b/devel/SDL2/Makefile       Tue Dec 07 20:31:27 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2021/09/08 21:04:58 nia Exp $
+# $NetBSD: Makefile,v 1.60 2021/12/07 20:31:27 wiz Exp $
 
-DISTNAME=      SDL2-2.0.16
-PKGREVISION=   1
+DISTNAME=      SDL2-2.0.18
 CATEGORIES=    devel
 MASTER_SITES=  https://www.libsdl.org/release/
 
diff -r ddb378ac7d92 -r d88f7b2a0e7f devel/SDL2/PLIST
--- a/devel/SDL2/PLIST  Tue Dec 07 20:27:16 2021 +0000
+++ b/devel/SDL2/PLIST  Tue Dec 07 20:31:27 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2021/01/02 15:54:03 nia Exp $
+@comment $NetBSD: PLIST,v 1.12 2021/12/07 20:31:27 wiz Exp $
 bin/sdl2-config
 include/SDL2/SDL.h
 include/SDL2/SDL_assert.h
@@ -17,6 +17,7 @@
 include/SDL2/SDL_gamecontroller.h
 include/SDL2/SDL_gesture.h
 include/SDL2/SDL_haptic.h
+include/SDL2/SDL_hidapi.h
 include/SDL2/SDL_hints.h
 include/SDL2/SDL_joystick.h
 include/SDL2/SDL_keyboard.h
diff -r ddb378ac7d92 -r d88f7b2a0e7f devel/SDL2/distinfo
--- a/devel/SDL2/distinfo       Tue Dec 07 20:27:16 2021 +0000
+++ b/devel/SDL2/distinfo       Tue Dec 07 20:31:27 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.48 2021/10/26 10:14:11 nia Exp $
+$NetBSD: distinfo,v 1.49 2021/12/07 20:31:27 wiz Exp $
 
-BLAKE2s (SDL2-2.0.16.tar.gz) = ab9c09da85b2871f4220060638d8e6af56c711c28b05c70bc6228b1db5f52961
-SHA512 (SDL2-2.0.16.tar.gz) = ec75ef8526792650c2647b78bb0244f973774418aeae33a2182d90ce696b30acb652f8be9c2012a16c1c5d5622f7630ff2e1eadae27ea3dc78ab47730cf5e62f
-Size (SDL2-2.0.16.tar.gz) = 7227262 bytes
+BLAKE2s (SDL2-2.0.18.tar.gz) = ab1bba84818b042858923dd65e7c00e67e38c1aa69cce6b4761beefb25035f3a
+SHA512 (SDL2-2.0.18.tar.gz) = 8688b855ce15d574fb0726dd2a44109bb7b34d81c652c51025a32bf7eb7015ceb685834cf9fc3f97a2f5f5a3203f548ce6845420fafae7e5dc6bb9d11ce1740d
+Size (SDL2-2.0.18.tar.gz) = 7294032 bytes
 SHA1 (patch-src_video_wayland_SDL__waylandmessagebox.c) = 676972b1b489d8c6138866ace28867a77efb7e56



Home | Main Index | Thread Index | Old Index