Gabriel Jacobo
d024ab8b10
Fixes compilation on Mingw.
2013-11-22 14:19:52 -03:00
Gabriel Jacobo
12551ee8d0
Fixes building for RPi using --no-undefined
2013-11-17 11:07:55 -03:00
Gabriel Jacobo
c92ccae933
Restore evdev sources to configure script
2013-11-17 10:41:16 -03:00
Ryan C. Gordon
0f4c048410
Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
2013-11-16 21:52:56 -05:00
Sam Lantinga
2d61540445
Fixed up configure so it doesn't reference input/evdev anymore
2013-11-16 12:04:00 -08:00
Ryan C. Gordon
774a86c821
Apparently Haiku is removing /boot/common (thanks, scottmc!).
...
See http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091877.html
--HG--
extra : rebase_source : ba62cd08f9b972bb14e1f7fbe350dd35e427743f
2013-11-14 14:45:00 -05:00
Ryan C. Gordon
30c46bacc8
Renamed things named after BeOS to be named after Haiku instead.
...
--HG--
rename : src/audio/baudio/SDL_beaudio.cc => src/audio/haiku/SDL_haikuaudio.cc
rename : src/audio/baudio/SDL_beaudio.h => src/audio/haiku/SDL_haikuaudio.h
rename : src/filesystem/beos/SDL_sysfilesystem.cc => src/filesystem/haiku/SDL_sysfilesystem.cc
rename : src/joystick/beos/SDL_bejoystick.cc => src/joystick/haiku/SDL_haikujoystick.cc
rename : src/loadso/beos/SDL_sysloadso.c => src/loadso/haiku/SDL_sysloadso.c
rename : src/main/beos/SDL_BApp.h => src/main/haiku/SDL_BApp.h
rename : src/main/beos/SDL_BeApp.cc => src/main/haiku/SDL_BeApp.cc
rename : src/main/beos/SDL_BeApp.h => src/main/haiku/SDL_BeApp.h
rename : src/power/beos/SDL_syspower.c => src/power/haiku/SDL_syspower.c
rename : src/timer/beos/SDL_systimer.c => src/timer/haiku/SDL_systimer.c
rename : src/video/bwindow/SDL_BWin.h => src/video/haiku/SDL_BWin.h
rename : src/video/bwindow/SDL_bclipboard.cc => src/video/haiku/SDL_bclipboard.cc
rename : src/video/bwindow/SDL_bclipboard.h => src/video/haiku/SDL_bclipboard.h
rename : src/video/bwindow/SDL_bevents.cc => src/video/haiku/SDL_bevents.cc
rename : src/video/bwindow/SDL_bevents.h => src/video/haiku/SDL_bevents.h
rename : src/video/bwindow/SDL_bframebuffer.cc => src/video/haiku/SDL_bframebuffer.cc
rename : src/video/bwindow/SDL_bframebuffer.h => src/video/haiku/SDL_bframebuffer.h
rename : src/video/bwindow/SDL_bkeyboard.cc => src/video/haiku/SDL_bkeyboard.cc
rename : src/video/bwindow/SDL_bkeyboard.h => src/video/haiku/SDL_bkeyboard.h
rename : src/video/bwindow/SDL_bmodes.cc => src/video/haiku/SDL_bmodes.cc
rename : src/video/bwindow/SDL_bmodes.h => src/video/haiku/SDL_bmodes.h
rename : src/video/bwindow/SDL_bopengl.cc => src/video/haiku/SDL_bopengl.cc
rename : src/video/bwindow/SDL_bopengl.h => src/video/haiku/SDL_bopengl.h
rename : src/video/bwindow/SDL_bvideo.cc => src/video/haiku/SDL_bvideo.cc
rename : src/video/bwindow/SDL_bvideo.h => src/video/haiku/SDL_bvideo.h
rename : src/video/bwindow/SDL_bwindow.cc => src/video/haiku/SDL_bwindow.cc
rename : src/video/bwindow/SDL_bwindow.h => src/video/haiku/SDL_bwindow.h
extra : rebase_source : afd5a42647878e283dbee3a666cef2214f0e7941
2013-11-14 11:51:24 -05:00
Ryan C. Gordon
bcaa9c4c22
Started BeOS removal: merged BeOS thread and pthread code.
...
Haiku uses most of the standard pthread API, with a few #ifdefs where we
still need to fallback onto the old BeOS APIs.
BeOS, however, does not support pthreads (or maybe doesn't support it well),
so I'm unplugging support for the platform with this changeset. Be Inc went
out of business in 2001.
--HG--
extra : rebase_source : c7227f47193228c898cc997ebcf9bb00ead329e6
2013-11-13 22:35:26 -05:00
Sam Lantinga
2ba754fbe6
Fixed bug 2149 - Don't search for libusbhid except on BSD
...
Joseph Carter
There's a whole set of configure tests for BSD's libusbhid, and they only matter on BSD. However, if you have the library on Linux, it gets pulled in as library bloat. And it's bloat of the highest order since not a single function call to the library is ever made unless you're on a *BSD.
2013-10-13 19:49:45 -07:00
Sam Lantinga
1c7ed8eef6
Updated SDL to version 2.0.1
2013-10-10 21:50:25 -07:00
Gabriel Jacobo
7b5e9e302b
SDL_TEXTINPUT support for EVDEV
2013-10-03 10:28:10 -03:00
Gabriel Jacobo
c7f38347b7
Raspberry Pi support (also unified UDEV and EVDEV support)
2013-09-28 13:28:19 -03:00
Ryan C. Gordon
8fe6c7fae6
Regenerate configure script.
2013-08-20 20:27:42 -04:00
Ryan C. Gordon
2b9a2802b2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
...
--HG--
extra : rebase_source : c1fac232063443a2880e64f1abda85e0bdb2e710
2013-08-20 19:57:11 -04:00
Gabriel Jacobo
ef4a588d99
Fixes bug #2037 , common EGL code for Android and X11
2013-08-19 16:29:46 -03:00
Sam Lantinga
a2e47469fc
autogen.sh on development system
2013-08-08 01:59:36 -07:00
Sam Lantinga
2e934dbde6
Fixed bug 1972 - Changeset 7379 (b27c778a2bdb) breaks make process with msys+mingw (make 3.82.90)
...
Andreas
With the patch applied, make is not able to find the rule for Makefile.in anymore. Removing the patch resolves the issue.
The path is in fact correct (in my case: /c/external/SDL64/SDL). But it seems the windows build of GNU Make doesn't work well with pathnames in rules. Both the dependencies in "$(srcdir)/configure: $(srcdir)/configure.in" and "Makefile: $(srcdir)/Makefile.in" will cause rules not to be found when srcdir is defined.
The same problem occurs if the patch is removed and I supply configure with a srcdir manually.
2013-08-04 09:37:27 -07:00
Edward Rudd
df2892774f
Further fix SIZEOF_VOIDP in SDL_config.h.in
...
The configure script was still overwriting SIZEOF_VOIDP so both ended up as either 4 or 8 depending on the arch. This simply removes the check from configure.in
2013-07-31 12:13:26 -04:00
Sam Lantinga
ef291a943f
Fixed building with cygwin
...
Note that building with cygwin gcc results in a DLL that depends on cygwin1.dll
2013-07-21 23:01:01 -07:00
Sam Lantinga
5ed40dea70
Added X include path so SDL_syswm.h works correctly on systems with X11 in a non-standard directory.
2013-07-21 12:37:43 -07:00
Sam Lantinga
0eb5308b0f
Added a configure check for Xext.h
2013-07-13 10:41:57 -07:00
Sam Lantinga
bfcb08d569
Implemented an API for thread-local storage: SDL_TLSCreate(), SDL_TLSSet(), SDL_TLSGet()
2013-07-10 02:32:04 -07:00
Gabriel Jacobo
4601ab6894
Removing video/uikit/*.c from configure's iOS sources
...
Unexplicable computer sciences phenomenon: Instead of returning an empty set,
*.c in an folder with no .c files produces the "*.c" string to be added as
a source. I'm sorry future generations, we are doing the best we can :)
2013-07-09 13:54:29 -03:00
Sam Lantinga
c6348f33e7
Make sure that srcdir has a full pathname so source indexing works.
2013-07-08 09:21:54 -07:00
Sam Lantinga
4fed764ac6
Updated configure with the sndio audio backend
2013-07-07 10:15:10 -07:00
Sam Lantinga
5aa3492ef8
Fixed SDL building with the minimal configuration
2013-06-13 22:10:10 -07:00
Sam Lantinga
d8de838dfe
Updated configure
2013-06-07 21:50:29 -07:00
Sam Lantinga
e569ac658f
Updated configure with Ryan's cygwin workaround
2013-06-04 22:13:06 -07:00
Azamat H. Hackimov
1732f61b81
Fix compilation with libX11 >= 1.5.99.902.
...
These changes fixes bug #1769 for SDL2
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769 ).
2013-06-02 20:20:18 +06:00
Sam Lantinga
21512a77b7
Better mingw32-x64 linker flag fix, which doesn't require libtool patch
2013-05-26 22:16:42 -07:00
Sam Lantinga
1990b00614
Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64
2013-05-26 16:29:57 -07:00
Sam Lantinga
2b824bd331
Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
...
Updated Makefile.in so "make dist" includes everything necessary for release.
--HG--
rename : BUGS => BUGS.txt
rename : COPYING => COPYING.txt
rename : CREDITS => CREDITS.txt
rename : INSTALL => INSTALL.txt
rename : README.android => README-android.txt
rename : README.cmake => README-cmake.txt
rename : README.DirectFB => README-directfb.txt
rename : README.gesture => README-gesture.txt
rename : README.HG => README-hg.txt
rename : README.iOS => README-ios.txt
rename : README.MacOSX => README-macosx.txt
rename : README.pandora => README-pandora.txt
rename : README.Platforms => README-platforms.txt
rename : README.Porting => README-porting.txt
rename : README.psp => README-psp.txt
rename : README.touch => README-touch.txt
rename : README.WinCE => README-wince.txt
rename : README => README.txt
rename : TODO => TODO.txt
2013-05-26 11:06:17 -07:00
Sam Lantinga
e2039118c2
The Haiku install location fix needs to get into configure
2013-05-21 22:35:13 -07:00
Sam Lantinga
7ebe7ed128
Fixed bug 1829 - sdl2-config is not executable
...
leighmanthegreat@hotmail.com
I downloaded SDL2 from hg source.
I built to a ./build directory.
I downloaded SDL_image 2 hg and attempted to build.
When it cannot find a sdl2-config the SDL_image configure correctly suggests setting SDL_CONFIG variable.
Setting this the configure still fails with 'Permission denied' on the call to sdl2-config.
Setting execute permission solves the problem.
If possible, sdl2-config should have executable bit set when it is created.
2013-05-16 01:03:28 -07:00
Edward Rudd
907ac2687c
default clock_gettime use to enabled as there is now proper fallback code for systems that don't have it.
2013-05-02 21:23:38 -04:00
Sam Lantinga
7ce1b4475f
Fixed bug 1744 - DirectFB video and renderer API is not updated
...
tomaszewski.p
Recent changes in SDL_sysrenderer.h and SDL_sysvideo.h had no impact on directfb backend.
Attached patch:
- updates interface,
- resolves uninitialized variable reading,
- changes logging tio use SDL_Log API,
- updates configure to use DIRECTFBCONFIG variable instead direct call to directfb-config.
2013-03-09 10:35:12 -08:00
Gabriel Jacobo
967e7efcc0
Adds some required CFLAGS and LDFLAGS for the iOS platform
2013-03-04 10:33:48 -03:00
Jørgen P. Tjernø
3e60f92228
Regenerate configure to enable dbus
...
The configure script was out of date - re-running autogen.sh adds dbus
support.
2013-02-12 16:17:24 -08:00
Sam Lantinga
a4a01c70db
Backed out use of @autorelease keyword for now, since it's not supported by older Xcode versions.
2013-02-11 17:40:09 -08:00
Sam Lantinga
9c258124d5
Use clang on Mac OS X, which is required for the @autorelease keyword
2013-02-03 14:03:49 -08:00
Sam Lantinga
6b3312c807
Updated configure with libudev detection
2012-12-11 10:50:45 -08:00
Sam Lantinga
2a4a81ad63
Include all the test headers in the test library header install
2012-11-26 14:59:07 -08:00
Sam Lantinga
59a04adfba
Work in progress on an SDL test library
2012-11-26 07:53:56 -08:00
Sam Lantinga
9bd6a89040
Added an API to get the size of a file - WARNING! ABI CHANGE!
2012-11-03 18:43:36 -07:00
Sam Lantinga
423c05313b
Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications
2012-10-20 00:14:58 -07:00
Sam Lantinga
f9ee105b99
We have to fix the DLL name convention on Windows every time...
2012-10-19 21:43:41 -07:00
Sam Lantinga
ea15505815
Don't use the --no-undefined linker option yet, it doesn't build on OpenBSD and BeOS.
...
The OpenBSD case is puzzling - it's complaining about symbols in the C library. Do we need to explicitly link with -lc for shared libraries on OpenBSD?
The BeOS case is legitimate, it's calling back into the application code to initialize BeApp if it isn't already initialized.
2012-10-12 02:33:34 -07:00
Sam Lantinga
f89cf7c725
Use the --no-undefined linker option if it's available, which will catch references to undefined functions which could fail at runtime.
2012-10-11 15:05:00 -07:00
Gabriel Jacobo
533eaf8b13
Fix Windows build, version.o linking.
2012-09-25 08:54:05 -03:00
Sam Lantinga
31a077b87f
Fixed false positive when checking for X11 on Mac OS X when the X11 development environment isn't installed.
2012-09-20 22:01:51 -07:00