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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7ca9e7d04b0e
branches:  trunk
changeset: 371653:7ca9e7d04b0e
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 11 13:02:37 2022 +0000

description:
SDL2: update to 2.0.20

   This is largely a bugfix release, with the following changes:

   General:

     * SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can
       cast color data in SDL_PIXELFORMAT_RGBA32 format
       (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this
       parameter.
     * Improved accuracy of horizontal and vertical line drawing when using
       OpenGL or OpenGLES
     * Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of
       line drawing used, to select speed, correctness, and compatibility.

   Linux:

     * Fixed hotplug controller detection, broken in 2.0.18

diffstat:

 devel/SDL2/Makefile                                          |   4 +-
 devel/SDL2/distinfo                                          |   9 ++--
 devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h |  21 ++++++++++++
 3 files changed, 28 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 06cb4762f514 -r 7ca9e7d04b0e devel/SDL2/Makefile
--- a/devel/SDL2/Makefile       Tue Jan 11 11:46:53 2022 +0000
+++ b/devel/SDL2/Makefile       Tue Jan 11 13:02:37 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2021/12/07 20:31:27 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2022/01/11 13:02:37 nia Exp $
 
-DISTNAME=      SDL2-2.0.18
+DISTNAME=      SDL2-2.0.20
 CATEGORIES=    devel
 MASTER_SITES=  https://www.libsdl.org/release/
 
diff -r 06cb4762f514 -r 7ca9e7d04b0e devel/SDL2/distinfo
--- a/devel/SDL2/distinfo       Tue Jan 11 11:46:53 2022 +0000
+++ b/devel/SDL2/distinfo       Tue Jan 11 13:02:37 2022 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.49 2021/12/07 20:31:27 wiz Exp $
+$NetBSD: distinfo,v 1.50 2022/01/11 13:02:37 nia Exp $
 
-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
+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
 SHA1 (patch-src_video_wayland_SDL__waylandmessagebox.c) = 676972b1b489d8c6138866ace28867a77efb7e56
+SHA1 (patch-src_video_wayland_SDL__waylandsym.h) = edb246ed5db2e6bdbc5681a631b08423647fb2d7
diff -r 06cb4762f514 -r 7ca9e7d04b0e devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h      Tue Jan 11 13:02:37 2022 +0000
@@ -0,0 +1,21 @@
+$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