Philipp Wiesemann
c10c85a21d
Updated generated configure script.
2017-08-04 23:01:01 +02:00
Sam Lantinga
396a81c053
Fixed bug 3609 - Windows build fails due to conflicting types for 'XINPUT_GAMEPAD_EX'
...
Ozkan Sezer
(In reply to Ryan C. Gordon from comment #9 )
> I've put this patch in as https://hg.libsdl.org/SDL/rev/117d4ce1390e ...can
> you verify this works on the latest MinGW?
>
> Thanks,
> --ryan.
This patch is wrong: the structure in question has nothing to do with any
gcc version in use. I suggest reverting this adding a conigury check for
it, instead. Something like the following should do it: (configure needs
regenerating.)
2017-07-10 18:31:28 -07:00
Philipp Wiesemann
62b378d322
Updated generated configure script.
2017-07-09 23:00:43 +02:00
Philipp Wiesemann
c49ef40ede
directfb: Fixed configure script not finding shared objects for dynamic loading.
2017-06-11 22:30:06 +02:00
Ryan C. Gordon
0240079805
jack: Initial shot at a JACK audio target.
...
http://jackaudio.org/
Fixes Bugzilla #2163 .
(with several more commits following to improve this code.)
--HG--
extra : rebase_source : 5d0d44fcca077c41c56381575a45184bdc050003
2017-06-08 13:27:58 -04:00
Ryan C. Gordon
55c65a1616
audio: rename bsd target to netbsd.
...
Apparently this is no longer a generic BSD audio target, and hasn't been for
years, so rename it for NetBSD.
--HG--
rename : src/audio/bsd/SDL_bsdaudio.c => src/audio/netbsd/SDL_netbsdaudio.c
rename : src/audio/bsd/SDL_bsdaudio.h => src/audio/netbsd/SDL_netbsdaudio.h
2017-05-24 19:56:59 -04:00
Ryan C. Gordon
98dc082ffa
Fixed another AC_DEFINE.
2017-05-02 11:31:14 -04:00
Ryan C. Gordon
317fd5911e
Fixed configure script.
...
The Haiku patch would define some HAVE_* things to /**/ instead of 1, breaking
the build for various things.
2017-05-02 11:16:58 -04:00
Ryan C. Gordon
2c4f84ff4c
haiku: Various fixes from haikuports.
...
Based on patch here:
https://github.com/haikuports/haikuports/blob/master/media-libs/libsdl2/patches/libsdl2-2.0.5.patchset
--HG--
extra : amend_source : 7f91b3983b70eb00345e5706bf78c869c15f85aa
2017-05-01 18:39:05 -04:00
Philipp Wiesemann
ec668b9e23
Updated generated configure script.
2017-04-02 21:33:02 +02:00
Brandon Schaefer
86906a708a
mistake: Revert the files that I did not mean to commit
2017-03-01 15:05:54 -08:00
Brandon Schaefer
b2e704d70c
* Some refactoring and bug fixes. Thanks Michał Kuchta!
2017-03-01 14:50:59 -08:00
Ryan C. Gordon
dea6213bed
Updated generated configure script.
2017-02-26 01:03:39 -05:00
Sam Lantinga
cc640593fa
Updated iOS fat build
2017-02-20 10:55:49 -08:00
Ryan C. Gordon
088da5be10
configure: report libsamplerate support status.
2017-01-24 16:18:25 -05:00
Ryan C. Gordon
f521e5b213
configure.in: Check for sse3 too when setting -mfpmath=387.
2017-01-24 12:20:12 -05:00
Ryan C. Gordon
6e1edca849
audio: Wired up new SSE code to build system.
...
--HG--
extra : rebase_source : 3c94cdc92b94864eb43d7429032724227b798cf2
2017-01-23 01:05:44 -05:00
Sam Lantinga
9558d55a84
Implemented full evdev keyboard text support
...
This is based on the Linux kernel driver, and has fallback mapping tables in case we aren't connected to a virtual terminal.
2017-01-09 02:54:42 -08:00
Sam Lantinga
5f89fe73fa
Fixed attempting to dynamically load libsamplerate when shared object loading is disabled.
...
Thanks to Ozkan Sezer for pointing this out
2017-01-08 10:52:02 -08:00
Sam Lantinga
5a0aef995a
Added configure and cmake support for libsamplerate
2017-01-06 20:43:53 -08:00
Sam Lantinga
1e59d959f0
Avoid conflicts with multiple versions of udev by first trying the library that is linked with the executable, if any, and then picking the one that is in the build environment.
...
This fixes joystick detection for applications using the Steam Linux Runtime
2016-11-29 05:34:20 -08:00
Philipp Wiesemann
ede80bbcc1
Updated configure script.
2016-11-19 23:27:51 +01:00
Sam Lantinga
6fcf21b827
Standardized the format of the SDL joystick GUID and added functions to retrieve the USB VID/PID from a joystick and game controller.
2016-11-10 17:19:34 -08:00
Sam Lantinga
c7735b4175
Fixed bug with udev support reporting
...
Joshua Bodine
I'm going to reopen this because configure should still accurately report whether libudev will be used. Right now it just tests whether it's enabled as an argument, not whether configure was successful in finding it.
2016-11-01 10:42:35 -07:00
Sam Lantinga
f77ff66089
Fixed bug 3478 - Patch Haiku to use dlopen instead of load_add_on
...
Kai Sterker
SDL2 on Haiku so far uses Haiku-specific APIs for loading dynamic objects as add-ons, instead of using dlopen to load them as libraries. This, for example, leads to SDL_mixer not being able to load its audio backends, when compiled with standard settings.
As discussed at https://www.freelists.org/post/haikuports/SDL2-mixer-ogg-music-not-playing-and-other-stuff,2 , the best way to deal with this would be using dlopen instead of load_add_on. The following patch implements this change by dropping the Haiku-specific bits and using dlopen instead.
2016-11-01 10:30:46 -07:00
Sam Lantinga
de631d20e4
Fixed bug 2824 - Add Fcitx Input Method Support
...
Weitian Leung
Just moved ibus direct call to SDL_IME_* related functions, and adds fcitx IME support (uses DBus, too),
enable with env: SDL_IM_MODULE=fcitx (ibus still the default one)
2016-10-07 18:57:40 -07:00
Sam Lantinga
a43ff2f155
Fixed bug 3043 - fix alsa configury and cmake checks
...
Ozkan Sezer
SDL's alsa uses snd_pcm_recover() which has been available only since alsa-lib-1.0.11.
2016-10-07 18:03:08 -07:00
Sam Lantinga
79485875b5
Updated version to 2.0.5 in preparation for release
2016-09-28 22:24:01 -07:00
Philipp Wiesemann
bd1799c67f
Updated configure script.
2016-09-26 23:09:34 +02:00
Sam Lantinga
8d2e2aad1d
Fixed set of libraries needed to build on Mac OS X
2016-09-15 08:57:56 -07:00
Sam Lantinga
ed62fd26c8
Hopefully fixed the cmake build on Mac OS X
2016-09-15 08:46:14 -07:00
Sam Lantinga
1b61eae340
Fixed building new coreaudio driver on Mac OS X
2016-09-15 08:29:20 -07:00
Gabriel Jacobo
641bf4c2c8
Fixes building SDL on Ubuntu 16.04 with Mir headers installed
2016-09-01 16:01:54 -03:00
Sam Lantinga
aa51d46bdd
wayland: Add support for relative mouse mode, by Jonas Ådahl <jadahl@gmail.com>
...
Generate the C protocol files from the protocol XML files installed by
wayland-protocols, and use them to implement support for relative pointer
motions and pointer locking.
Note that at the time, the protocol is unstable and may change in the future.
Any future breaking changes will, however, fail gracefully and result in no
regressions compared to before this patch.
2016-09-01 01:26:56 -07:00
Jonas Ådahl
44760bd0c7
wayland: Build own version of core protocol
...
Since we are loading shared objects dynamically, build our own version of the
core protocol symbols, so that we in the future can include protocol
extensions.
2016-06-23 18:39:05 +08:00
Ryan C. Gordon
ac8b939707
Regenerated configure script with Mir changes.
2016-02-21 19:21:21 -05:00
Sam Lantinga
cb0161a65f
Use --enable-new-dtags to set RUNPATH rather than RPATH so that LD_LIBRARY_PATH is not overridden by the application.
2016-01-07 16:42:30 -08:00
Ryan C. Gordon
914be5d09c
Try to build with GCC's -Wdeclaration-after-statement.
...
This will help catch things that'll cause issues on C89 compilers before we
send them on to fail on Buildbot.
--HG--
extra : amend_source : 2a21da040338a9f796b8baf7038cf866ce54b595
2016-01-04 22:58:38 -05:00
Philipp Wiesemann
c9be6d154c
Updated configure script.
2015-12-29 19:14:19 +01:00
Alex Szpakowski
0023cbb086
Added initial support for MFi game controllers on iOS.
2015-09-20 23:08:36 -03:00
Sam Lantinga
3039a59198
Fixed bug 2464 - Configure a sdl2-config.cmake.in together with sdl2.pc.in
...
Leonardo
Despite having a CMakeLists.txt file, SDL2 seems to be mainly built using the autotools system by package-managers. It is nice to have it but it is only useful if you are building SDL2 by yourself.
People that want to use CMake to find their already-installed SDL2 are using a FindSDL2.cmake module based on the old FindSDL.cmake. This is not deprecated but it is discouraged by the CMake devs (see http://www.cmake.org/Bug/view.php?id=14826 ), as these modules needs maintainers to be included in the official CMake installation.
To fix that, SDL and its accompanying libraries could configure a simple sdl2-config.cmake file, much like it does with sdl2.pc.in. We don't need to configure a full sdl2-config.cmake as in this post, http://forums.libsdl.org/viewtopic.php?t=10068&sid=ccf8abbf0d73fb03ae9cded991e60959 (because it depends on it being built with CMake). Using something as simple as http://www.cmake.org/Wiki/CMake/Tutorials/Packaging#Package_Configuration_Files is deemed enough. Here is another: http://quickgit.kde.org/?p=prison.git&a=blob&f=lib%2Fprison%2FPrisonConfig.cmake.in
2015-06-29 22:24:00 -07:00
Sam Lantinga
9af8324947
GCC is warning about global functions with the same name as variables in the code, when using -Wshadow.
...
This is a little ridiculous because we have no idea what functions a given platform will provide, so we'll disable -Wshadow for now.
2015-06-19 23:53:33 -07:00
Ryan C. Gordon
065504f58e
Updated configure script.
2015-06-08 01:17:58 -04:00
Ryan C. Gordon
b007cfea84
X11: Add Xdbe support to message boxes (thanks, Melker!).
...
Without this, message boxes with a lot of text will noticibly flicker as
you mouse over buttons.
Fixes Bugzilla #2343 .
2015-05-28 00:30:21 -04:00
Ryan C. Gordon
6c21798873
Fix a libtool issue with some mingw-w64 cross compilers (thanks, Ozkan!).
...
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15321
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commit;h=0ebb734910bf56186dd0c0e84b1c8be507bad336
Fixes Bugzilla #2722 .
--HG--
extra : rebase_source : 76693b972b1ac98e0b096a031da73d3bfffacf95
2015-05-26 19:54:06 -04:00
Ryan C. Gordon
1793c3c04d
Updated configure script.
2015-05-26 11:13:51 -04:00
Sam Lantinga
4ad4d105c8
Fixed bug 1392 - Debian patch: do not propagate -lpthread
2015-05-26 06:32:19 -07:00
Ryan C. Gordon
dee33f6150
Only check for Linux-specific input APIs on Linux targets (thanks, Marcus!).
...
This is only for the configure script. The CMake project files already make
this Linux-exclusive.
Fixes Bugzilla #2659 .
2015-04-25 20:49:26 -04:00
Ryan C. Gordon
64accce776
Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
...
Fixes Bugzilla #2879 .
--HG--
extra : rebase_source : b9b8a69e971e5bf910c0dc592b5d9bf3c15e13ca
2015-04-11 05:58:37 +00:00
Ryan C. Gordon
c01c90ce0c
configure script: fix recursive mutex test on Linux systems (thanks, Ozkan!).
2015-03-23 20:07:24 -04:00