SHA256
1
0
forked from pool/SDL2
Commit Graph

81 Commits

Author SHA256 Message Date
9b2aa434fe - Update to release 2.0.22
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=120
2022-04-25 21:59:40 +00:00
aa1945cf47 Defer r118 change until another time
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=119
2022-04-02 08:42:42 +00:00
e3da433e8d - Rename devel package to just %name-devel, which is what most
openSUSE packages use.

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=118
2022-04-02 08:36:00 +00:00
15bef7a467 Update description
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=117
2022-03-29 16:09:19 +00:00
71d5364235 Accepting request 946781 from home:Kieltux:branches:games
- Drop 0001-Fix-build-against-wayland-1.20.patch
  Fixed upstream: https://github.com/libsdl-org/SDL/pull/5092

OBS-URL: https://build.opensuse.org/request/show/946781
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=116
2022-01-16 15:56:40 +00:00
1c9ee0a094 - Update to release 2.0.20
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=115
2022-01-11 19:48:57 +00:00
bca5155ce6 - Add 0001-Fix-build-against-wayland-1.20.patch
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=114
2021-12-17 10:46:44 +00:00
824bbb56d3 - Update to release 2.0.18
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=113
2021-11-30 17:49:35 +00:00
d844206ec2 Accepting request 930160 from home:tiwai:branches:games
- Support "pulse" as an alias for pulseaudio (bsc#1191868,
  bsc#1189778):
  audio-Support-pulse-as-an-alias-for-pulseaudio.patch

OBS-URL: https://build.opensuse.org/request/show/930160
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=112
2021-11-08 12:10:15 +00:00
3e7aae7db6 Add warning about changed behavior of SDL windows
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=111
2021-08-20 20:40:43 +00:00
5527c94907 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=110 2021-08-11 16:09:53 +00:00
0c1a47fac3 replace patch by full git patch export
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=109
2021-08-11 16:05:51 +00:00
71ca4d1cc6 Accepting request 911466 from home:dlshcbmuipmam:branches:games
- sdl2-fix-wayland-fullscreen.patch
  * fix wayland issue for wlroot, see https://github.com/libsdl-org/SDL/pull/4629

OBS-URL: https://build.opensuse.org/request/show/911466
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=108
2021-08-11 15:43:02 +00:00
71160c05e4 - Update to release 2.0.16
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=107
2021-08-11 11:01:11 +00:00
b6da1b7b06 Accepting request 858334 from home:dirkmueller:branches:games
- 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 https://discourse.libsdl.org/t/sdl-2-0-14-released/28470

OBS-URL: https://build.opensuse.org/request/show/858334
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=105
2020-12-23 11:39:16 +00:00
e6a7c21ef8 - Restore libSDL2main.a, patching it out was not easily possible.
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=103
2020-04-16 08:33:02 +00:00
c172cccaf4 - Update to release 2.0.12
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=101
2020-03-11 10:32:16 +00:00
78f134d919 - Temporarily work around -fno-common build failure [boo#1160382].
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=99
2020-01-12 22:54:27 +00:00
1e331138b0 Accepting request 753807 from home:mgorse:branches:games
Add bug refs to changes

OBS-URL: https://build.opensuse.org/request/show/753807
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=97
2019-12-08 09:32:02 +00:00
8c23815076 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=95 2019-10-09 14:33:11 +00:00
bd4110cc08 add patch meta
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=94
2019-10-09 14:28:30 +00:00
c123f13205 Accepting request 736688 from home:sndirsch:branches:games
- sdl2-khronos.patch
  * fixes build on i586 (boo#1153455)

OBS-URL: https://build.opensuse.org/request/show/736688
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=93
2019-10-09 14:25:38 +00:00
8592ca6f75 remove spaces
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=91
2019-08-23 11:25:04 +00:00
b563ea66e7 - Update sdl2-symvers.patch for SDL 2.0.9/2.0.10.
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=90
2019-08-23 11:20:16 +00:00
49aed970ee Accepting request 725412 from home:mgorse:branches:games
- Add CVE-2019-13616.patch: fix heap buffer overflow when reading 
  a crafted bmp file (boo#1141844 CVE-2019-13616).

    potential security exploits (boo#1142031 CVE-2019-13626)

OBS-URL: https://build.opensuse.org/request/show/725412
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=89
2019-08-22 20:06:02 +00:00
bbd15f9ec1 Accepting request 718761 from home:alois:branches:games
- 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
    rendering
  * 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
  * Removed the Mir video driver in favor of Wayland
- Refreshed sdl2-symvers.patch

OBS-URL: https://build.opensuse.org/request/show/718761
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=88
2019-08-11 12:13:09 +00:00
17367f413a - Drop libSDL2main.a from libSDL-2_0-devel. It is only used during build.
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=87
2019-08-11 11:37:08 +00:00
a10583e885 Accepting request 720005 from home:marxin:branches:games
- Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720005
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=86
2019-08-11 04:27:46 +00:00
7e007ae66a Accepting request 646259 from home:alois:branches:games
- 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
    available.
- Dropped 7babfecee045.patch (merged upstream)

OBS-URL: https://build.opensuse.org/request/show/646259
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=84
2018-11-04 23:49:11 +00:00
9d09a52361 Accepting request 618834 from home:robert_munteanu:branches:games
Add 7babfecee045.patch, fixes launching Firewatch

OBS-URL: https://build.opensuse.org/request/show/618834
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=82
2018-06-27 23:07:22 +00:00
33d88b2036 quilt is sometimes confused
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=81
2018-05-15 00:05:19 +00:00
72825d3b39 Accepting request 606425 from home:elvigia:branches:games
- 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.

OBS-URL: https://build.opensuse.org/request/show/606425
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=80
2018-05-15 00:04:42 +00:00
bf5ba53a95 - Build with Wayland support
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=78
2018-03-19 13:32:01 +00:00
13b77f8114 Accepting request 587709 from home:Sam0523:branches:openSUSE:Factory
enable wayland support

OBS-URL: https://build.opensuse.org/request/show/587709
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=77
2018-03-17 10:14:44 +00:00
f90860d085 - Update to new upstream release 2.0.8
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=75
2018-03-08 01:04:11 +00:00
6ac2fc4753 trim trailing whitespace
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=73
2018-02-13 22:21:15 +00:00
3cfb069c5a Add sdl2-symvers.patch
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=71
2018-01-10 23:21:40 +00:00
c4c576d21b Accepting request 537357 from home:etamPL:branches:games
- update to 2.0.7
  * Added audio stream conversion functions.
  * Added functions to query and set the SDL memory allocation
    functions.
  * 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

OBS-URL: https://build.opensuse.org/request/show/537357
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=69
2017-11-07 11:08:46 +00:00
5803e5d582 move to std2
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=67
2017-10-19 06:34:11 +00:00
dd6f816a78 Accepting request 535102 from home:sreeves1:branches:games
fix for bnc1062784

OBS-URL: https://build.opensuse.org/request/show/535102
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=66
2017-10-19 06:28:34 +00:00
32d3b82a1b Accepting request 534284 from home:wolfi323:branches:games
- Disable SSE3 (and also SSE2 on ix86) to prevent crashes on older
  CPUs that don't support these instructions

OBS-URL: https://build.opensuse.org/request/show/534284
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=64
2017-10-16 18:30:42 +00:00
e156901c4c - Add dbus.diff
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=63
2017-10-02 19:15:42 +00:00
ebe1d7ac63 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=62 2017-10-02 10:33:57 +00:00
1abf869902 drop pre-11.2 openSUSE support
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=61
2017-10-02 10:30:55 +00:00
57c361c23b switch to pkgconfig
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=60
2017-10-02 10:30:24 +00:00
138b1e728a Accepting request 530384 from home:Guillaume_G:branches:games
- Enable KMS/DRM video driver

OBS-URL: https://build.opensuse.org/request/show/530384
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=59
2017-10-02 10:29:44 +00:00
87a016977b +changelog entries
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=58
2017-10-01 08:15:17 +00:00
506f9f0e0e libsamplerate not directly usable atm
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=57
2017-10-01 07:52:27 +00:00
2f6593dcfc Stick to the openSUSE changelog format, drop irrelevant points (like windows).
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=56
2017-09-30 23:40:55 +00:00
47e824684b Accepting request 530173 from home:SpartanJ:branches:games
- Update to 2.0.6:
General:
* Added cross-platform Vulkan graphics support in SDL_vulkan.h
	SDL_Vulkan_LoadLibrary()
	SDL_Vulkan_GetVkGetInstanceProcAddr()
	SDL_Vulkan_GetInstanceExtensions()
	SDL_Vulkan_CreateSurface()
	SDL_Vulkan_GetDrawableSize()
	SDL_Vulkan_UnloadLibrary()
  This is all the platform-specific code you need to bring up Vulkan on all SDL platforms. You can look at an example in test/testvulkan.c
* Added SDL_ComposeCustomBlendMode() to create custom blend modes for 2D rendering
* Added SDL_HasNEON() which returns whether the CPU has NEON instruction support
* 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 a joystick before it's opened:
	SDL_JoystickGetDeviceVendor()
	SDL_JoystickGetDeviceProduct()
	SDL_JoystickGetDeviceProductVersion()
	SDL_JoystickGetDeviceType()
	SDL_JoystickGetDeviceInstanceID()
* Added functions to return information about an open joystick:
	SDL_JoystickGetVendor()
	SDL_JoystickGetProduct()
	SDL_JoystickGetProductVersion()
	SDL_JoystickGetType()
	SDL_JoystickGetAxisInitialState()
* Added functions to return information about an open game controller:
	SDL_GameControllerGetVendor()
	SDL_GameControllerGetProduct()
	SDL_GameControllerGetProductVersion()
* 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, optionally using libsamplerate to perform the 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():
	"0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen (the default)
	"1" or "overscan"  - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen
* Added the hints SDL_HINT_MOUSE_NORMAL_SPEED_SCALE and 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
Windows:
* The new default audio driver on Windows is WASAPI and supports hot-plugging devices and changing the default audio device
* The old XAudio2 audio driver is deprecated and will be removed in the next release
* Added hints SDL_HINT_WINDOWS_INTRESOURCE_ICON and SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL to specify a custom icon resource ID for SDL windows
* The hint SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING is now on by default for compatibility with .NET languages and various Windows debuggers
* Updated the GUID format for game controller mappings, older mappings will be automatically converted on load
* Implemented the SDL_WINDOW_ALWAYS_ON_TOP flag on Windows
Linux:
* Added an experimental KMS/DRM video driver for embedded development
iOS:
* Added a hint SDL_HINT_AUDIO_CATEGORY to control the audio category, determining whether the phone mute switch affects the audio

OBS-URL: https://build.opensuse.org/request/show/530173
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=55
2017-09-30 23:36:00 +00:00