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.22
details: https://anonhg.NetBSD.org/pkgsrc/rev/06a68c12ab30
branches: trunk
changeset: 378429:06a68c12ab30
user: nia <nia%pkgsrc.org@localhost>
date: Tue May 03 17:15:05 2022 +0000
description:
SDL2: Update to 2.0.22
---------------------------------------------------------------------------
2.0.22:
---------------------------------------------------------------------------
General:
* Added SDL_RenderGetWindow() to get the window associated with a renderer
* Added floating point rectangle functions:
* SDL_PointInFRect()
* SDL_FRectEmpty()
* SDL_FRectEquals()
* SDL_FRectEqualsEpsilon()
* SDL_HasIntersectionF()
* SDL_IntersectFRect()
* SDL_UnionFRect()
* SDL_EncloseFPoints()
* SDL_IntersectFRectAndLine()
* Added SDL_IsTextInputShown() which returns whether the IME window is
currently shown
* Added SDL_ClearComposition() to dismiss the composition window without
disabling IME input
* Added SDL_TEXTEDITING_EXT event for handling long composition text, and
a hint SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to enable it
* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the
mouse should be constrained to the whole window or the center of the window
when relative mode is enabled
* The mouse is now automatically captured when mouse buttons are pressed,
and the hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that
a foreign window will be used with OpenGL
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that
a foreign window will be used with Vulkan
* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an
SDL_QUIT event will be delivered when the last application window is closed
* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram
mice show up as joysticks
Linux:
* Compiling with Wayland support requires libwayland-client version 1.18.0
or later
* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE
of SDL windows
* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using
libdecor with compositors that support xdg-decoration
diffstat:
devel/SDL2/Makefile | 5 +-
devel/SDL2/distinfo | 9 ++--
devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h | 21 ------------
3 files changed, 6 insertions(+), 29 deletions(-)
diffs (53 lines):
diff -r 559a7a476890 -r 06a68c12ab30 devel/SDL2/Makefile
--- a/devel/SDL2/Makefile Tue May 03 17:11:26 2022 +0000
+++ b/devel/SDL2/Makefile Tue May 03 17:15:05 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.62 2022/03/28 10:52:57 tnn Exp $
+# $NetBSD: Makefile,v 1.63 2022/05/03 17:15:05 nia Exp $
-DISTNAME= SDL2-2.0.20
-PKGREVISION= 1
+DISTNAME= SDL2-2.0.22
CATEGORIES= devel
MASTER_SITES= https://www.libsdl.org/release/
diff -r 559a7a476890 -r 06a68c12ab30 devel/SDL2/distinfo
--- a/devel/SDL2/distinfo Tue May 03 17:11:26 2022 +0000
+++ b/devel/SDL2/distinfo Tue May 03 17:15:05 2022 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.50 2022/01/11 13:02:37 nia Exp $
+$NetBSD: distinfo,v 1.51 2022/05/03 17:15:05 nia Exp $
-BLAKE2s (SDL2-2.0.20.tar.gz) = 80e06048a920cfb5b04c0a6384d013425d688bb6038ea570a9b380d870c982ef
-SHA512 (SDL2-2.0.20.tar.gz) = 4889949eaa674948bdb0a01bb2a842a0943b15b08ff27ec0079b0fd4f79d071ffb32488a5a51c12ad7c74ed5fe73b608cdf6336a44c95dae8a0fb3f47d0f01de
-Size (SDL2-2.0.20.tar.gz) = 7207221 bytes
+BLAKE2s (SDL2-2.0.22.tar.gz) = 681e8623d65d0a49ce216f56edae5c5eb719a6abb744c4226a88b35181ed4591
+SHA512 (SDL2-2.0.22.tar.gz) = ca4b690433cd4d9d73b797da98666317128e7e817ab60e874a49d94791ea41e8a6b4fc43649593120daa0702190c0f8a6ed326c908d87375c8da9f369d994f6a
+Size (SDL2-2.0.22.tar.gz) = 7250633 bytes
SHA1 (patch-src_video_wayland_SDL__waylandmessagebox.c) = 676972b1b489d8c6138866ace28867a77efb7e56
-SHA1 (patch-src_video_wayland_SDL__waylandsym.h) = edb246ed5db2e6bdbc5681a631b08423647fb2d7
diff -r 559a7a476890 -r 06a68c12ab30 devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h
--- a/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h Tue May 03 17:11:26 2022 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-src_video_wayland_SDL__waylandsym.h,v 1.3 2022/01/11 13:02:37 nia Exp $
-
-requiring wayland-1.20 is a bit _excessively_ new (builds with the
-current version of pkgsrc fail because wl_proxy_marshal_flags is not defined.
-
-SDL is not even using these symbols.
-
---- src/video/wayland/SDL_waylandsym.h.orig 2022-01-08 02:29:52.000000000 +0000
-+++ src/video/wayland/SDL_waylandsym.h
-@@ -84,9 +84,11 @@ SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_18)
- SDL_WAYLAND_SYM(void, wl_proxy_set_tag, (struct wl_proxy *, const char * const *))
- SDL_WAYLAND_SYM(const char * const *, wl_proxy_get_tag, (struct wl_proxy *))
-
-+#if 0
- SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_20)
- SDL_WAYLAND_SYM(struct wl_proxy*, wl_proxy_marshal_flags, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interfac, uint32_t version, uint32_t flags, ...))
- SDL_WAYLAND_SYM(struct wl_proxy*, wl_proxy_marshal_array_flags, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, uint32_t flags, union wl_argument
*args))
-+#endif
-
- SDL_WAYLAND_INTERFACE(wl_seat_interface)
- SDL_WAYLAND_INTERFACE(wl_surface_interface)
Home |
Main Index |
Thread Index |
Old Index