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:           Sat Jan  2 15:54:03 UTC 2021

Modified Files:
        pkgsrc/devel/SDL2: Makefile PLIST distinfo
Removed Files:
        pkgsrc/devel/SDL2/patches: patch-configure patch-sdl2-config.cmake.in
            patch-src_audio_netbsd_SDL__netbsdaudio.c
            patch-src_video_wayland_SDL__waylandevents.c
            patch-src_video_wayland_SDL__waylandevents__c.h
            patch-src_video_wayland_SDL__waylandvideo.c
            patch-src_video_x11_SDL__x11opengl.c

Log Message:
SDL2: Update to 2.0.14

  Simple DirectMedia Layer - SDL version 2.0.14 (stable)

   In addition to lots of bug fixes, here are the major changes in this
   release:

   General:

     * Added support for PS5 DualSense and Xbox Series X controllers to the
       HIDAPI controller driver
     * Added game controller button constants for paddles and new buttons
     * Added game controller functions to get additional information:
          * SDL_GameControllerGetSerial()
          * SDL_GameControllerHasAxis()
          * SDL_GameControllerHasButton()
          * SDL_GameControllerGetNumTouchpads()
          * SDL_GameControllerGetNumTouchpadFingers()
          * SDL_GameControllerGetTouchpadFinger()
          * SDL_GameControllerHasSensor()
          * SDL_GameControllerSetSensorEnabled()
          * SDL_GameControllerIsSensorEnabled()
          * SDL_GameControllerGetSensorData()
          * SDL_GameControllerRumbleTriggers()
          * SDL_GameControllerHasLED()
          * SDL_GameControllerSetLED()
     * Added the hint SDL_HINT_JOYSTICK_HIDAPI_PS5 to control whether the
       HIDAPI driver for PS5 controllers should be used.
     * Added joystick functions to get additional information:
          * SDL_JoystickGetSerial()
          * SDL_JoystickRumbleTriggers()
          * SDL_JoystickHasLED()
          * SDL_JoystickSetLED()
     * Added an API to allow the application to create virtual joysticks:
          * SDL_JoystickAttachVirtual()
          * SDL_JoystickDetachVirtual()
          * SDL_JoystickIsVirtual()
          * SDL_JoystickSetVirtualAxis()
          * SDL_JoystickSetVirtualButton()
          * SDL_JoystickSetVirtualHat()
     * Added SDL_LockSensors() and SDL_UnlockSensors() to guarantee exclusive
       access to the sensor list
     * Added SDL_HAPTIC_STEERING_AXIS to play an effect on the steering wheel
     * Added the hint SDL_HINT_MOUSE_RELATIVE_SCALING to control whether
       relative motion is scaled by the screen DPI or renderer logical size
     * The default value for SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS is now
       false for better compatibility with modern window managers
     * Added SDL_GetPreferredLocales() to get the application’s current
       locale setting
     * Added the hint SDL_HINT_PREFERRED_LOCALES to override your
       application’s default locale setting
     * Added SDL_OpenURL() to open a URL in the system’s default browser
     * Added SDL_HasSurfaceRLE() to tell whether a surface is currently using
       RLE encoding
     * Added SDL_SIMDRealloc() to reallocate memory obtained from
       SDL_SIMDAlloc()
     * Added SDL_GetErrorMsg() to get the last error in a thread-safe way
     * Added SDL_crc32(), SDL_wcscasecmp(), SDL_wcsncasecmp(), SDL_trunc(),
       SDL_truncf()
     * Added clearer names for RGB pixel formats, e.g.
       SDL_PIXELFORMAT_XRGB8888, SDL_PIXELFORMAT_XBGR8888, etc.

   Windows:

     * Added the RAWINPUT controller driver to support more than 4 Xbox
       controllers simultaneously
     * Added the hint SDL_HINT_JOYSTICK_RAWINPUT to control whether the
       RAWINPUT driver should be used
     * Added the hint SDL_HINT_JOYSTICK_HIDAPI_CORRELATE_XINPUT to control
       whether XInput and WGI should be used to for complete controller
       functionality with the RAWINPUT driver.

   macOS:

     * Added the SDL_WINDOW_METAL flag to specify that a window should be
       created with a Metal view
     * Added SDL_Metal_GetLayer() to get the CAMetalLayer backing a Metal
       view
     * Added SDL_Metal_GetDrawableSize() to get the size of a window’s
       drawable, in pixels

   Linux:

     * Added Vulkan support to the KMSDRM video driver
     * Added the hint SDL_HINT_AUDIO_DEVICE_APP_NAME to specify the name that
       shows up in PulseAudio for your application
     * Added the hint SDL_HINT_AUDIO_DEVICE_STREAM_NAME to specify the name
       that shows up in PulseAudio associated with your audio stream
     * Added the hint SDL_HINT_LINUX_JOYSTICK_DEADZONES to control whether
       HID defined dead zones should be respected on Linux
     * Added the hint SDL_HINT_THREAD_PRIORITY_POLICY to specify the thread
       scheduler policy
     * Added the hint SDL_HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL to allow
       time critical threads to use a realtime scheduling policy

   Android:

     * Added SDL_AndroidRequestPermission() to request a specific system
       permission
     * Added the hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO to control
       whether audio will pause when the application goes intot he background

   OS/2:

     * Added support for OS/2, see docs/README-os2.md for details

   Emscripten (running in a web browser):

     * Added the hint SDL_HINT_EMSCRIPTEN_ASYNCIFY to control whether SDL
       should call emscripten_sleep internally


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/devel/SDL2/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/SDL2/PLIST
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/SDL2/distinfo
cvs rdiff -u -r1.8 -r0 pkgsrc/devel/SDL2/patches/patch-configure
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/SDL2/patches/patch-sdl2-config.cmake.in \
    pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandevents__c.h
cvs rdiff -u -r1.6 -r0 \
    pkgsrc/devel/SDL2/patches/patch-src_audio_netbsd_SDL__netbsdaudio.c
cvs rdiff -u -r1.5 -r0 \
    pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandevents.c
cvs rdiff -u -r1.3 -r0 \
    pkgsrc/devel/SDL2/patches/patch-src_video_wayland_SDL__waylandvideo.c
cvs rdiff -u -r1.4 -r0 \
    pkgsrc/devel/SDL2/patches/patch-src_video_x11_SDL__x11opengl.c

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.53 pkgsrc/devel/SDL2/Makefile:1.54
--- pkgsrc/devel/SDL2/Makefile:1.53     Fri Jan  1 09:52:20 2021
+++ pkgsrc/devel/SDL2/Makefile  Sat Jan  2 15:54:03 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.53 2021/01/01 09:52:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.54 2021/01/02 15:54:03 nia Exp $
 
-DISTNAME=      SDL2-2.0.12
-PKGREVISION=   6
+DISTNAME=      SDL2-2.0.14
 CATEGORIES=    devel
 MASTER_SITES=  https://www.libsdl.org/release/
 
@@ -15,14 +14,17 @@ USE_LIBTOOL=        yes
 USE_TOOLS+=    gmake pkg-config
 GNU_CONFIGURE= yes
 
-CONFIGURE_ENV+=        SDL_RLD_FLAGS="${COMPILER_RPATH_FLAG}${PREFIX}/lib \
-               ${COMPILER_RPATH_FLAG}${X11BASE}/lib"
+# Let pkgsrc handle the rpath.
+CONFIGURE_ARGS+=       --disable-rpath
 
+# Explicitly link against libraries.
 CONFIGURE_ARGS+=       --disable-alsa-shared
 CONFIGURE_ARGS+=       --disable-jack-shared
 CONFIGURE_ARGS+=       --disable-libsamplerate-shared
 CONFIGURE_ARGS+=       --disable-wayland-shared
 CONFIGURE_ARGS+=       --disable-x11-shared
+
+# Deprecated, removed from pkgsrc.
 CONFIGURE_ARGS+=       --disable-esd
 
 # SDL has native audio(4) support, avoid building ossaudio(4) support.

Index: pkgsrc/devel/SDL2/PLIST
diff -u pkgsrc/devel/SDL2/PLIST:1.10 pkgsrc/devel/SDL2/PLIST:1.11
--- pkgsrc/devel/SDL2/PLIST:1.10        Tue Mar 17 12:49:29 2020
+++ pkgsrc/devel/SDL2/PLIST     Sat Jan  2 15:54:03 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2020/03/17 12:49:29 nia Exp $
+@comment $NetBSD: PLIST,v 1.11 2021/01/02 15:54:03 nia Exp $
 bin/sdl2-config
 include/SDL2/SDL.h
 include/SDL2/SDL_assert.h
@@ -22,10 +22,12 @@ include/SDL2/SDL_joystick.h
 include/SDL2/SDL_keyboard.h
 include/SDL2/SDL_keycode.h
 include/SDL2/SDL_loadso.h
+include/SDL2/SDL_locale.h
 include/SDL2/SDL_log.h
 include/SDL2/SDL_main.h
 include/SDL2/SDL_messagebox.h
 include/SDL2/SDL_metal.h
+include/SDL2/SDL_misc.h
 include/SDL2/SDL_mouse.h
 include/SDL2/SDL_mutex.h
 include/SDL2/SDL_name.h

Index: pkgsrc/devel/SDL2/distinfo
diff -u pkgsrc/devel/SDL2/distinfo:1.43 pkgsrc/devel/SDL2/distinfo:1.44
--- pkgsrc/devel/SDL2/distinfo:1.43     Fri May 22 23:18:09 2020
+++ pkgsrc/devel/SDL2/distinfo  Sat Jan  2 15:54:03 2021
@@ -1,13 +1,6 @@
-$NetBSD: distinfo,v 1.43 2020/05/22 23:18:09 adam Exp $
+$NetBSD: distinfo,v 1.44 2021/01/02 15:54:03 nia Exp $
 
-SHA1 (SDL2-2.0.12.tar.gz) = e8ba91bf5eb438dbcf1fedf0530a1bcbe30d3bb6
-RMD160 (SDL2-2.0.12.tar.gz) = 0f2c979da6151b622a6445e7fc8d4e3ea8987105
-SHA512 (SDL2-2.0.12.tar.gz) = 3f1f04af0f3d9dda9c84a2e9274ae8d83ea0da3fc367970a820036cc4dc1dbf990cfc37e4975ae05f0b45a4ffa739c6c19e470c00bf3f2bce9b8b63717b8b317
-Size (SDL2-2.0.12.tar.gz) = 5720162 bytes
-SHA1 (patch-configure) = 3038dc62450f6b64197ee4aa42d8ec9518a608bd
-SHA1 (patch-sdl2-config.cmake.in) = c0f07237a70614d85708e8ca368797894b45ce36
-SHA1 (patch-src_audio_netbsd_SDL__netbsdaudio.c) = 4daf296544ff1df802f835be0370f80d62fac716
-SHA1 (patch-src_video_wayland_SDL__waylandevents.c) = 57e42371e072048e5b377aeb58bb1ffce72784f0
-SHA1 (patch-src_video_wayland_SDL__waylandevents__c.h) = 3a723a81f05052bd50e8cb1592ba747b5f59ea1a
-SHA1 (patch-src_video_wayland_SDL__waylandvideo.c) = 823e434710f8b946b13ea7a6751cf1c30ec48600
-SHA1 (patch-src_video_x11_SDL__x11opengl.c) = b3256a29a24ca286916464d210196dde6d6e922c
+SHA1 (SDL2-2.0.14.tar.gz) = 212b17d988c417a1a905ab09c50d1845cc48ddb7
+RMD160 (SDL2-2.0.14.tar.gz) = 24ddf4bab53fae92fb0c96c7d3e6ceecca91c5df
+SHA512 (SDL2-2.0.14.tar.gz) = ebc482585bd565bf3003fbcedd91058b2183e333b9ea566d2f386da0298ff970645d9d25c1aa4459c7c96e9ea839fd1c5f2da0242a56892865b2e456cdd027ee
+Size (SDL2-2.0.14.tar.gz) = 6089974 bytes



Home | Main Index | Thread Index | Old Index