Philipp Wiesemann
121d7d25d2
directfb: Fixed configure script not finding shared objects for dynamic loading.
2017-06-11 22:30:06 +02:00
Ryan C. Gordon
d9039f2396
jack: Initial shot at a JACK audio target.
...
http://jackaudio.org/
Fixes Bugzilla #2163 .
(with several more commits following to improve this code.)
2017-06-08 13:27:58 -04:00
Ryan C. Gordon
a7fc2822d4
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.
2017-05-24 19:56:59 -04:00
Ryan C. Gordon
d00dfc434e
Fixed another AC_DEFINE.
2017-05-02 11:31:14 -04:00
Ryan C. Gordon
3f7f65a36d
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
619ab7a22d
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
2017-05-01 18:39:05 -04:00
Brandon Schaefer
5a47ee0365
mir: Get ready for Mir 1.0, clean up deprecations. Thanks Micha? Kuchta!
2017-02-27 12:20:16 -08:00
Ryan C. Gordon
4d525d465b
configure: Cygwin and MingW should try to use -Wdeclaration-after-statement.
2017-02-26 00:54:45 -05:00
Sam Lantinga
43dbbd6375
Updated iOS fat build
2017-02-20 10:55:49 -08:00
Ryan C. Gordon
1b3327edd0
configure: report libsamplerate support status.
2017-01-24 16:18:25 -05:00
Ryan C. Gordon
36cb05a8f8
configure.in: Check for sse3 too when setting -mfpmath=387.
2017-01-24 12:20:12 -05:00
Ryan C. Gordon
3594bf8eeb
audio: Wired up new SSE code to build system.
2017-01-23 01:05:44 -05:00
Sam Lantinga
e0a40fb6a9
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
25b47ea381
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
df25258a1e
Added configure and cmake support for libsamplerate
2017-01-06 20:43:53 -08:00
Sam Lantinga
1e8f074c43
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
Ryan C. Gordon
35430a73f2
cpuinfo: first attempt at SDL_HasNEON() implementation.
2016-11-17 01:15:16 -05:00
Sam Lantinga
ac74e16cde
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
077d6e6464
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
9a8642bd6a
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
808c75d1cf
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
abefe78507
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
e45698d218
Updated version to 2.0.5 in preparation for release
2016-09-28 22:24:01 -07:00
Brandon Schaefer
705ecf78f5
[Mir] Move to the new MirDisplayConfig API
2016-09-21 15:57:15 -07:00
Sam Lantinga
e5070d20ee
Fixed set of libraries needed to build on Mac OS X
2016-09-15 08:57:56 -07:00
Sam Lantinga
93d42e2d3e
Hopefully fixed the cmake build on Mac OS X
2016-09-15 08:46:14 -07:00
Sam Lantinga
8c01d5886c
Fixed building new coreaudio driver on Mac OS X
2016-09-15 08:29:20 -07:00
Gabriel Jacobo
1428bab3b3
Fixes building SDL on Ubuntu 16.04 with Mir headers installed
2016-09-01 16:01:54 -03:00
Sam Lantinga
f11a440999
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
19d3500ae1
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
bschaefer
3607d3b756
Fix API/ABI breakage in Mir 0.13/0.14.
2016-02-21 15:19:35 -08:00
Sam Lantinga
dc5f05bb99
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
1373e8909a
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.
2016-01-04 22:58:38 -05:00
Ryan C. Gordon
2254932b3e
Added support for building for NetBSD on the Raspberry Pi (thanks, Jared!).
...
Fixes Bugzilla #3179 .
2015-12-29 02:27:02 -05:00
Philipp Wiesemann
7805c1bc52
Updated configure.in file.
2015-09-21 21:16:54 +02:00
Sam Lantinga
bf9bd59c01
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
Philipp Wiesemann
0e45984fa0
Fixed crash if initialization of EGL failed but was tried again later.
...
The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly
uninitialized data structure if loading the library first failed. A later try to
use EGL then skipped initialization and assumed it was previously successful
because the data structure now already existed. This led to at least one crash
in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was
dereferenced to make a call to eglBindAPI().
2015-06-21 17:33:46 +02:00