pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/SDL2



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jan 11 13:02:37 UTC 2022

Modified Files:
        pkgsrc/devel/SDL2: Makefile distinfo
Added Files:
        pkgsrc/devel/SDL2/patches: patch-src_video_wayland_SDL__waylandsym.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/devel/SDL2/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/SDL2/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/SDL2/Makefile
diff -u pkgsrc/devel/SDL2/Makefile:1.60 pkgsrc/devel/SDL2/Makefile:1.61
--- pkgsrc/devel/SDL2/Makefile:1.60     Tue Dec  7 20:31:27 2021
+++ pkgsrc/devel/SDL2/Makefile  Tue Jan 11 13:02:37 2022
@@ -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/
 

Index: pkgsrc/devel/SDL2/distinfo
diff -u pkgsrc/devel/SDL2/distinfo:1.49 pkgsrc/devel/SDL2/distinfo:1.50
--- pkgsrc/devel/SDL2/distinfo:1.49     Tue Dec  7 20:31:27 2021
+++ pkgsrc/devel/SDL2/distinfo  Tue Jan 11 13:02:37 2022
@@ -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

Added files:

Index: pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h
diff -u /dev/null pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h:1.3
--- /dev/null   Tue Jan 11 13:02:37 2022
+++ pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandsym.h Tue Jan 11 13:02:37 2022
@@ -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