File SDL2.changes of Package SDL2

Wed Dec 23 10:47:09 UTC 2020 - Dirk Müller <>

- update to 2.0.14:
  * Added support for PS5 DualSense and Xbox Series X controllers to the HIDAPI controller driver
  * Vulkan support to the KMSDRM video driver
  * see details on

Thu Apr 16 08:32:06 UTC 2020 - Jan Engelhardt <>

- Restore libSDL2main.a, patching it out was not easily possible.

Wed Mar 11 10:23:44 UTC 2020 - Jan Engelhardt <>

- Update to release 2.0.12
  * Support for the Google Stadia controller and other game
  * A new video driver for offscreen rendering
  * ARM NEON optimizations
- Drop CVE-2019-13616.patch (merged upstream)

Sun Jan 12 22:53:50 UTC 2020 - Jan Engelhardt <>

- Temporarily work around -fno-common build failure [boo#1160382].

Wed Oct  9 13:34:31 UTC 2019 - Stefan Dirsch <>

- sdl2-khronos.patch
  * fixes build on i586 (boo#1153455)

Fri Aug 23 11:19:59 UTC 2019 - Jan Engelhardt <>

- Update sdl2-symvers.patch for SDL 2.0.9/2.0.10.

Thu Aug 22 16:43:13 UTC 2019 - Michael Gorse <>

- Add CVE-2019-13616.patch: fix heap buffer overflow when reading
  a crafted bmp file (boo#1141844 CVE-2019-13616).

Sun Aug 11 04:29:55 UTC 2019 - Jan Engelhardt <>

- Drop libSDL2main.a from libSDL-2_0-devel. It is only used
  during build.

Wed Jul 31 08:47:44 UTC 2019 - Martin Liška <>

- Use FAT LTO objects in order to provide proper static library.

Fri Jul 26 07:44:39 UTC 2019 - Luigi Baldoni <>

- Update to version 2.0.10
  * The SDL_RW* macros have been turned into functions that are
    available only in 2.0.10 and onward
  * Added SDL_SIMDGetAlignment(), SDL_SIMDAlloc(), and
    SDL_SIMDFree(), to allocate memory aligned for SIMD
    operations for the current CPU
  * Added SDL_RenderDrawPointF(), SDL_RenderDrawPointsF(),
    SDL_RenderDrawLineF(), SDL_RenderDrawLinesF(),
    SDL_RenderDrawRectF(), SDL_RenderDrawRectsF(),
    SDL_RenderFillRectF(), SDL_RenderFillRectsF(),
    SDL_RenderCopyF(), SDL_RenderCopyExF(), to allow floating
    point precision in the SDL rendering API.
  * Added SDL_GetTouchDeviceType() to get the type of a touch
    device, which can be a touch screen or a trackpad in relative
    or absolute coordinate mode.
  * The SDL rendering API now uses batched rendering by default,
    for improved performance
  * Added SDL_RenderFlush() to force batched render commands to
    execute, if you're going to mix SDL rendering with native
  * Added the hint SDL_HINT_RENDER_BATCHING to control whether
    batching should be used for the rendering API. This defaults
    to "1" if you don't specify what rendering driver to use when
    creating the renderer.
  * Added the hint SDL_HINT_EVENT_LOGGING to enable logging of
    SDL events for debugging purposes
  * Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify
    a file that will be loaded at joystick initialization with
    game controller bindings
  * Added the hint SDL_HINT_MOUSE_TOUCH_EVENTS to control
    whether SDL will synthesize touch events from mouse events
  * Improved handling of malformed WAVE and BMP files, fixing
    potential security exploits (boo#1142031 CVE-2019-13626)
  * Removed the Mir video driver in favor of Wayland
  * Security fixes: CVE-2019-7635 (boo#1124827), CVE-2019-7636
    (boo#1124826), CVE-2019-7638 (boo#1124824).

- Refreshed sdl2-symvers.patch

Sun Nov  4 14:10:15 UTC 2018 - Luigi Baldoni <>

- Update to version 2.0.9
  * Added a new sensor API, initialized by passing
    SDL_INIT_SENSOR to SDL_Init(), and defined in SDL_sensor.h
  * Added an event SDL_SENSORUPDATE which is sent when a sensor
    is updated
  * Added SDL_GetDisplayOrientation() to return the current
    display orientation
  * Added an event SDL_DISPLAYEVENT which is sent when the
    display orientation changes
  * Added HIDAPI joystick drivers for more consistent support
    for Xbox, PS4 and Nintendo Switch Pro controller support
    across platforms. (Thanks to Valve for contributing the PS4
    and Nintendo Switch Pro controller support)
  * Added support for many other popular game controllers
  * Added SDL_JoystickGetDevicePlayerIndex(),
    SDL_JoystickGetPlayerIndex(), and
    SDL_GameControllerGetPlayerIndex() to get the player index for
    a controller. For XInput controllers this returns the XInput
    index for the controller.
  * Added SDL_GameControllerRumble() and SDL_JoystickRumble()
    which allow simple rumble without using the haptics API
  * Added SDL_GameControllerMappingForDeviceIndex() to get the
    mapping for a controller before it's opened
  * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_TIME to control
    the mouse double-click time
  * Added the hint SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to control
    the mouse double-click radius, in pixels
  * Added SDL_HasColorKey() to return whether a surface has a
    colorkey active
  * Added SDL_HasAVX512F() to return whether the CPU has
    AVX-512F features
  * Added SDL_IsTablet() to return whether the application is
    running on a tablet
  * Added SDL_THREAD_PRIORITY_TIME_CRITICAL for threads that
    must run at the highest priority
  * Added SDL_LinuxSetThreadPriority() to allow adjusting the
    thread priority of native threads using RealtimeKit if

- Dropped 7babfecee045.patch (merged upstream)

Sun Jun 24 22:40:23 UTC 2018 -

- Add 7babfecee045.patch, fixes launching Firewatch

Fri May 11 11:08:39 UTC 2018 -

- SDL2-endian.patch: bring up patch from SDL1, use optimized
  byteswap routines from the C library.
- build with --disable-3dnow, do not pass -m3dnow to the compiler
  modern cpus do not support this instructions at all.

Sat Mar 17 10:14:15 UTC 2018 -

- Build with Wayland support

Thu Mar  8 00:58:43 UTC 2018 -

- Update to new upstream release 2.0.8
  * Added SDL_fmod() and SDL_log10().
  * Each of the SDL math functions now has the corresponding
    float version.
  * Added SDL_SetYUVConversionMode() and
    SDL_GetYUVConversionMode() to control the formula used when
    converting to and from YUV colorspace. The options are JPEG,
    BT.601, and BT.709.
    control whether the X server should skip the compositor for
    the SDL application. This defaults to "1".
  * Added the hint SDL_HINT_VIDEO_DOUBLE_BUFFER to control
    whether the Raspberry Pi and KMSDRM video drivers should use
    double or triple buffering (the default).

Wed Jan 10 22:48:16 UTC 2018 -

- Add sdl2-symvers.patch.

Sat Oct 28 21:01:17 UTC 2017 -

- update to 2.0.7
  * Added audio stream conversion functions.
  * Added functions to query and set the SDL memory allocation
  * Added locking functions for multi-threaded access to
    the joystick and game controller APIs.
  * Some functions are now thread-safe.
- removed patches, merged upstream
  * dbus.diff
  * SDL2-ppc64-declaration-after-statement.patch
  * SDL-bnc1062784-check-overflow-xcf-props.patch

Thu Oct 19 04:00:09 UTC 2017 -

- Add SDL-bnc1062784-check-overflow-xcf-props.patch. CVE-2017-2888

Mon Oct 16 16:31:47 UTC 2017 -

- Disable SSE3 (and also SSE2 on ix86) to prevent crashes on older
  CPUs that don't support these instructions

Mon Oct  2 19:11:12 UTC 2017 -

- Add dbus.diff

Mon Oct  2 10:06:41 UTC 2017 -

- Enable KMS/DRM video driver

Sat Sep 30 16:54:04 UTC 2017 -

- Update to new upstream release 2.0.6
  * Added Vulkan graphics support in SDL_vulkan.h.
  * Added SDL_ComposeCustomBlendMode() to create custom blend
    modes for 2D rendering.
  * Added support for many game controllers, including the
    Nintendo Switch Pro Controller.
  * Added support for inverted axes and separate axis directions
    in game controller mappings.
  * Added functions to return information about joysticks and
    open game controllers.
  * Added SDL_GameControllerNumMappings() and
    SDL_GameControllerMappingForIndex() to be able to enumerate
    the built-in game controller mappings.
  * Added SDL_LoadFile() and SDL_LoadFile_RW() to load a file
    into memory.
  * Added SDL_DuplicateSurface() to make a copy of a surface.
  * Added an experimental JACK audio driver.
  * Implemented non-power-of-two audio resampling.
  * Added the hint SDL_HINT_AUDIO_RESAMPLING_MODE to control the
    quality of resampling.
  * Added the hint SDL_HINT_RENDER_LOGICAL_SIZE_MODE to control
    the scaling policy for SDL_RenderSetLogicalSize().
    SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE to scale the mouse speed
    when being read from raw mouse input.
  * Added the hint SDL_HINT_TOUCH_MOUSE_EVENTS to control whether
    SDL will synthesize mouse events from touch events.
  * Added an experimental KMS/DRM video driver for embedded
- Remove dbus-ime.diff (no longer needed)

Tue Aug  1 13:14:45 UTC 2017 -

- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore
  since SLE12 SP2).

Thu Jun 29 10:50:38 UTC 2017 -

- libspe2 doesn't exist any more

Wed Feb 15 11:51:52 UTC 2017 -

- Add dbus-ime.diff and build with fcitx [boo#1025413]

Sun Oct 23 08:00:21 UTC 2016 -

- Backported commit 5184186d4366 and fbf9b0e3589a as
  SDL2-ppc64-declaration-after-statement.patch to fix build
  on ppc64/ppc64le

Thu Oct 20 13:47:14 UTC 2016 -

- Update to 2.0.5
  * Implemented audio capture support for some platforms
  * Added SDL_DequeueAudio() to retrieve audio when buffer
    queuing is turned on for audio capture
  * Added events for dragging and dropping text
  * Added events for dragging and dropping multiple items
  * By default the click raising a window will not be
    delivered to the SDL application. You can set the hint
    SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH to "1" to allow that click
    through to the window.
  * Saving a surface with an alpha channel as a BMP will use a
    newer BMP format that supports alpha information. You can
    set the hint SDL_HINT_BMP_SAVE_LEGACY_FORMAT to "1" to use
    the old format.
  * Added SDL_GetHintBoolean() to get the boolean value of a
  * Added SDL_RenderSetIntegerScale() to set whether to
    smoothly scale or use integral multiples of the viewport
    size when scaling the rendering output
  * Added SDL_CreateRGBSurfaceWithFormat() and
    SDL_CreateRGBSurfaceWithFormatFrom() to create an SDL
    surface with a specific pixel format
  * Added SDL_GetDisplayUsableBounds() which returns the area
    usable for windows. For example, on Mac OS X, this subtracts
    the area occupied by the menu bar and dock.
  * Added SDL_GetWindowBordersSize() which returns the size of
    the window's borders around the client area
  * Added a window event SDL_WINDOWEVENT_HIT_TEST when a
    window had a hit test that wasn't SDL_HITTEST_NORMAL (e.g.
    in the title bar or window frame)
  * Added SDL_SetWindowResizable() to change whether a window
    is resizable
  * Added SDL_SetWindowOpacity() and SDL_GetWindowOpacity() to
    affect the window transparency
  * Added SDL_SetWindowModalFor() to set a window as modal for
    another window
  * Added support for AUDIO_U16LSB and AUDIO_U16MSB to
  * Fixed flipped images when reading back from target
    textures when using the OpenGL renderer
  * Fixed texture color modulation with SDL_BLENDMODE_NONE
    when using the OpenGL renderer
  * Fixed bug where the alpha value of colorkeys was ignored
    when blitting in some cases
  * Added support for the Fcitx IME
  * Added a window event SDL_WINDOWEVENT_TAKE_FOCUS when a
    window manager asks the SDL window whether it wants to take
  * Refresh rates are now rounded instead of truncated, e.g.
    59.94 Hz is rounded up to 60 Hz instead of 59.
  * Added initial support for touchscreens on Raspberry Pi

Thu Mar 17 15:53:13 UTC 2016 -

- Make building more verbose

Thu Mar 10 13:39:57 UTC 2016 -

- Enable udev support

Sun Jan 10 15:27:58 UTC 2016 -

- update to version 2.0.4
  * Added support for web applications using Emscripten, see
    docs/ for more information
  * Added support for web applications using Native Client (NaCl), see
    docs/ for more information
  * Added an API to queue audio instead of using the audio callback:
    SDL_QueueAudio(), SDL_GetQueuedAudioSize(), SDL_ClearQueuedAudio()
  * Added events for audio device hot plug support:
  * Added SDL_PointInRect()
  * Added SDL_HasAVX2() to detect CPUs with AVX2 support
  * Added SDL_SetWindowHitTest() to let apps treat parts of their SDL window
    like traditional window decorations (drag areas, resize areas)
  * Added SDL_GetGrabbedWindow() to get the window that currently has input
    grab, if any
  * Added SDL_RenderIsClipEnabled() to tell whether clipping is currently
    enabled in a renderer
  * Added SDL_CaptureMouse() to capture the mouse to get events while the
    mouse is not in your window
  * Added SDL_WarpMouseGlobal() to warp the mouse cursor in global screen
  * Added SDL_GetGlobalMouseState() to get the current mouse state outside of
    an SDL window* Added a direction field to mouse wheel events to tell
    whether they are flipped (natural) or not
  * Added GL_CONTEXT_RELEASE_BEHAVIOR GL attribute (maps to
    [WGL|GLX]_ARB_context_flush_control extension)
  * Added EGL_KHR_create_context support to allow OpenGL ES version selection
    on some platforms* Added NV12 and NV21 YUV texture support for OpenGL and
    OpenGL ES 2.0 renderers
  * Added a Vivante video driver that is used on various SoC platforms
  * Added an event SDL_RENDER_DEVICE_RESET that is sent from the D3D
    renderers when the D3D device is lost, and from Android's event loop when
    the GLES context had to be recreated
  * Added a hint SDL_HINT_NO_SIGNAL_HANDLERS to disable SDL's built in signal
    handling* Added a hint SDL_HINT_THREAD_STACK_SIZE to set the stack size of
    SDL's threads
  * Added SDL_sqrtf(), SDL_tan(), and SDL_tanf() to the stdlib routines
  * Improved support for WAV and BMP files with unusual chunks in them
  * Renamed SDL_assert_data to SDL_AssertData and SDL_assert_state to
    window interaction while cursor is hidden
  * Added SDL_GetDisplayDPI() to get the DPI information for a display* Added
    SDL_JoystickCurrentPowerLevel() to get the battery level of a joystick
  * Added SDL_JoystickFromInstanceID(), as a helper function, to get the
    SDL_Joystick* that an event is referring to.
  * Added SDL_GameControllerFromInstanceID(), as a helper function, to get
    the SDL_GameController* that an event is referring to.

Mon Jan 12 16:20:53 UTC 2015 -

- libspe2 only exists for ppc and ppc64

Fri Dec 19 10:44:54 UTC 2014 -

- Drop old arts/esound soundserver support.

Thu Dec 18 09:46:46 UTC 2014 -

- Remove SDL2 obsoletes (we never had packages of that name).
  Copy current Provides to baselibs.conf.

Mon Jul 21 20:13:17 UTC 2014 -

- Update to new upstream release 2.0.3
* This is a minor bugfix release to take care of creating an OpenGL
  context on Mac OS X.

Mon May 26 07:48:54 UTC 2014 -

- Added missing build dependencies
  * arts
  * dbus
  * udev
  * tslib
- Removed unrecognized options: --disable-video-svga, --disable-video-ps3

Mon May 26 07:00:15 UTC 2014 -

- Use pkgconfig everywhere
- Fix the build on SLE using prjconf

Thu Mar 13 18:50:31 UTC 2014 -

- Update to 2.0.2
  * Added SDL_GL_ResetAttributes() to reset OpenGL attributes to default values
  * Added an API to load a database of game controller mappings from a file:
    SDL_GameControllerAddMappingsFromFile(), SDL_GameControllerAddMappingsFromRW()
  * Added game controller mappings for the PS4 and OUYA controllers
  * Added SDL_GetDefaultAssertionHandler() and SDL_GetAssertionHandler()
  * Added SDL_DetachThread()
  * Added SDL_HasAVX() to determine if the CPU has AVX features
  * Added SDL_vsscanf(), SDL_acos(), and SDL_asin() to the stdlib routines
  * EGL can now create/manage OpenGL and OpenGL ES 1.x/2.x contexts, and share
  * Added a field "clicks" to the mouse button event which records whether the event is a single click, double click, etc.
  * The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior.
  * Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping.
  * testgl2 does not need to link with libGL anymore
  * Added testgles2 test program to demonstrate working with OpenGL ES 2.0
  * Added controllermap test program to visually map a game controller
  * Fixed fullscreen and focused behavior when receiving NotifyGrab events
  * Added experimental Wayland and Mir support, disabled by default
- Added SDL2-devel provides

Thu Nov  7 10:56:36 UTC 2013 -

- Update to version 2.0.1:
  * Added an API to get common filesystem paths in SDL_filesystem.h:
    SDL_GetBasePath(), SDL_GetPrefPath()
  * Added an API to do optimized YV12 and IYUV texture updates:
  * Added an API to get the amount of RAM on the system:
  * Added a macro to perform timestamp comparisons with SDL_GetTicks():
  * Dramatically improved OpenGL ES 2.0 rendering performance
  * Fixed float audio support with the PulseAudio driver
  * Fixed missing line endpoints in the OpenGL renderer on some drivers
  * X11 symbols are no longer defined to avoid collisions when linking statically

Mon Oct 28 17:59:05 UTC 2013 -

- add SDL2 provides

Tue Aug 13 12:04:26 UTC 2013 -

- Some metadata spruce-up: add current URLs, softer wildcarding
  in the files list, more robust make install call
- Reduce build dependencies
- Optional signature verification in local builds

Tue Aug 13 11:27:54 UTC 2013 -

- created package (version 2.0.0) - based on SDL package
openSUSE Build Service is sponsored by