build-scripts


Log

Author Commit Date CI Message
Sam Lantinga 34bdee53 2017-08-27T23:31:31 Make the androidbuildlibs.sh script executable
Sam Lantinga e9772259 2017-08-13T17:59:59 Fixed bug 2839 - No way to create pre-built libraries for Android Mark Callow README-android says to copy or link the SDL source tree to the jni folder in your Android project. It is not desirable to have to compile SDL with every application; furthermore the Android NDK has support for prebuilt libraries. Attached is script (to be put in build-scripts) that builds the Android version of the libraries. The script builds both the existing SDL2 module and a new SDL2_main module. This is a static library containing the code from src/main/android/SDL_android_main.c. Also attached is a patch for Android.mk adding this module. Note that when building an application's native .so using this prebuilt libSDL2main, you must use a link option, such as --whole-archive, that forces inclusion of the code in the .so because the functions in SDL_android_main are called only from Java.
Ryan C. Gordon ee3f11d5 2017-07-30T14:36:01 Disable static builds for static analysis. There's really no sense in analyzing everything twice, and this makes the job finish significantly faster.
Ryan C. Gordon 1f016d45 2017-07-30T14:09:18 windows-buildbot-zipper.bat: Check the correct path.
Ryan C. Gordon 8efe9cea 2017-07-30T10:09:34 Buildbot should zip up Visual Studio Win64 binaries, too.
Philipp Wiesemann f1296a86 2017-04-02T21:33:24 Emscripten: Simplified option name in build script and README.
David Ludwig e07e446a 2017-02-25T21:23:12 WinRT: removed Windows 8.0 from build-bot + NuGet package creation scripts According to Steam's OS stats, Windows 8.0 use is pretty much nil. Further, Microsoft hasn't support Windows 8.0 development in any of their actively-updated toolchains, and setting it up can be a pain. In theory, SDL2 still supports Windows 8.0, however building of Windows 8.0 .dlls is no longer the default, if and when using the 'winrtbuild.*' scripts. The MSVC 2012 project files for building Windows 8.0 dlls remain, though, for the time being.
Sam Lantinga 43dbbd63 2017-02-20T10:55:49 Updated iOS fat build
Ryan C. Gordon 5fcd454a 2017-01-06T20:00:17 emscripten-buildbot.sh: let user override default SDKDIR.
Sam Lantinga 0badbdde 2017-01-01T18:47:29 Run sed in binary mode so we don't have to worry about fixing line endings
Sam Lantinga 9e6d729e 2017-01-01T18:36:35 Fixed typo in copyright update script
Sam Lantinga 0f586d58 2017-01-01T18:32:57 Convert some files back into DOS line endings after updating copyright
Ryan C. Gordon ff56c7b3 2016-11-25T14:16:27 checker-buildbot.sh: Disable warnings that aren't explicitly static analysis.
Ryan C. Gordon fd250bd6 2016-11-24T21:13:23 checker-buildbot.sh: Upgraded to checker-279, deal with zero bugs detected.
Ryan C. Gordon 0a294a7b 2016-11-10T11:26:44 nacl: pepper_49 SDK apparently has problems, move buildbot back to pepper_47. (this is still a big leap forward from the previous buildbot target of pepper_35!)
Ryan C. Gordon 920bc237 2016-11-08T01:12:54 Upgraded buildbot to NaCL SDK pepper_49 (the current stable release).
Sam Lantinga 6a9ee8fa 2016-10-01T12:52:55 Fixed bug 3276 - build-scripts/showrev.sh prints the tip, which isn't useful if you're on a different -# branch, or just not sync'd to the tip. winterknight The showrev.sh script shows the tip, instead of the current hg revision. This can be mismatched if one were to use hg update -r ??? to revert to a previous revision. Patch uses parents instead of tip, which will show the revision that the source is compiled with, instead of the latest revision that the user who is compiling has downloaded.
Ryan C. Gordon 45553ac4 2016-09-06T12:18:52 emscripten-buildbot.sh: exit with an error if configure/make fail.
Philipp Wiesemann e7a9095f 2016-07-18T22:01:01 Android: Fixed androidbuild.sh not working on OS X (thanks, Steffen!). Fixes Bugzilla #2429.
Philipp Wiesemann ce456cfb 2016-06-24T19:06:06 Mac: Updated availability macro in build script.
Alex Szpakowski 4a468739 2016-05-21T00:20:52 Removed Mac OS 10.5 support (bug #3137). Also fixed a warning about deprecated Carbon code when using SDL_audio (bug #3127, thanks Dominik!)
Ryan C. Gordon 06129f6d 2016-01-08T07:21:15 Fixed buildbot's static analysis script to enable assertions. This removes false positives. Apparently someone forced the default CMake builds to use -O3, turning these off by default. :/
Sam Lantinga 68a32728 2016-01-02T10:38:51 Fixed sed error on Mac OS X and updated copyright on a few last files
David Ludwig 5790f59f 2015-12-02T08:04:17 WinRT: minor tweak to NuGet package naming
David Ludwig 3b79ab4c 2015-12-02T07:58:23 WinRT: allowed NuGet packaging code to get hg revision regardless of cwd
David Ludwig 89898d83 2015-12-01T22:07:24 WinRT: added NuGet-package creation support to WinRT build script
David Ludwig 0020aa94 2015-11-30T21:11:33 WinRT: made WinRT build script create Win10/UWP .dll files
Philipp Wiesemann 682604b2 2015-07-31T20:15:02 Android: Changed androidbuild.sh to use path from variable.
Philipp Wiesemann c5857ab4 2015-06-26T20:12:10 Mac OS X: Fixed typo in build script comment.
Philipp Wiesemann 0e45984f 2015-06-21T17:33:46 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().
David Ludwig 0c9da0c8 2015-06-14T20:15:36 WinRT: made sure build script generates Release-built binaries, by default winrtbuild.bat/.ps1 were generating Debug-built binaries, in some cases. This change makes sure that Release mode is the default.
Sam Lantinga c133c8c8 2015-05-26T06:27:12 Script from Sylvain to automate updating the copyright year
Ryan C. Gordon b72938c8 2015-04-20T12:22:44 Windows: Always set the system timer resolution to 1ms by default. An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944.
Ryan C. Gordon 1a73b4eb 2015-04-11T05:58:37 Some Raspberry Pi build fixes (including Raspberry Pi 2 support). Fixes Bugzilla #2879.
Alex Szpakowski fe6c797c 2015-04-10T23:30:31 Fixed an iOS view orientation issue when SDL_GL_CreateContext or SDL_CreateRenderer is called.
Edward Rudd b88ca1b4 2015-02-10T16:28:56 the last parameter of XChangeProperty is the number of elements.. and when the element format is 32.. the element is "long" so we have 5 long elements here. Yes this seems confusing as on mac+linux Long is either 32 or 64bits depending on the architecture, but this is how the X11 protocol is defined. Thus 5 is the correct value for the nelts here. Not 5 or 10 depending on the architecture. More info on the confusion https://bugs.freedesktop.org/show_bug.cgi?id=16802
Philipp Wiesemann b48e54aa 2015-01-26T22:00:29 Fixed bug 2802 - [patch] Fix android build compiling in wrong filesystem implementation Jonas Kulla The configure script didn't differentiate between Linux and Android, unconditionally compiling in the unix implementation of SDL_sysfilesystem.c. I'm probably one of the very few people building SDL for android using classic configure + standalone toolchain, so this has gone undetected all along.
Ryan C. Gordon 629c13fb 2014-12-24T13:23:48 Actually fix Unix scripts this time. :)
Ryan C. Gordon 20863682 2014-12-24T13:13:19 I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
Ryan C. Gordon fc405167 2014-12-24T13:03:20 A little more work on the Emscripten buildbot script. Should upload tarballs now, etc.
Ryan C. Gordon f4bd828a 2014-12-24T12:49:35 Added buildbot script for Emscripten port.
Ryan C. Gordon fe40a172 2014-12-18T00:19:52 Initial merge of Emscripten port! With this commit, you can compile SDL2 with Emscripten ( http://emscripten.org/ ), and make your SDL-based C/C++ program into a web app. This port was due to the efforts of several people, including: Charlie Birks, Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd, Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)
Ryan C. Gordon ec6b9b27 2014-12-04T02:24:22 Fixed some paths in the new buildbot windows zipper script.
Ryan C. Gordon 5789cb4a 2014-12-04T02:09:07 Added a script to handle packing up Windows builds for the buildbot.
David Ludwig 70438be2 2014-12-03T10:55:23 WinRT: fixed bug whereby SDL would override an app's default orientation WinRT apps can set a default, preferred orientation via a .appxmanifest file. SDL was overriding this on app startup, and making the app use all possible orientations (landscape and portrait). Thanks to Eric Wing for the heads up on this!
Philipp Wiesemann 9c398852 2014-11-22T22:20:40 Corrected header file documentation comment.
Ryan C. Gordon 8366bbdd 2014-11-14T11:21:15 Fixed gcc-fat.sh failing to build Objective-C sources correctly. This would fail if the compiler was given a .m file _and_ no "-o" option; it would fail to automatically calculate the correct .o filename in this situation. Thanks to Ethan Lee for the help tracking this one down!
David Ludwig b561f203 2014-11-03T13:07:51 WinRT: removed '-' from build script file names Most of the other build scripts don't include a '-' in their file names. This change makes the WinRT build scripts use the same convention.
David Ludwig f055ea70 2014-11-03T08:58:49 WinRT: added scripts to build Release copies of SDL for all WinRT variants These variants include: - Windows 8.0 for x86 - Windows 8.0 for x64 - Windows 8.0 for ARM - Windows 8.1 for x86 - Windows 8.1 for x64 - Windows 8.1 for ARM - Windows Phone 8.0 for x86 (for use with the Windows Phone emulator) - Windows Phone 8.0 for ARM - Windows Phone 8.1 for x86 (for use with the Windows Phone emulator) - Windows Phone 8.1 for ARM
Pierre-Loup A. Griffais 24c86b55 2014-09-11T19:24:42 [X11] Reconcile logical keyboard state with physical state on FocusIn since the window system doesn't do it for us like other platforms. This prevents sticky keys and missed keys when going in and out of focus, for example Alt would appear to stick if switching away from an SDL app with Alt-Tab and had to be pressed again. CR: Sam
Ryan C. Gordon 41728b3c 2014-08-20T01:21:45 Fixed the cmake-guided static analysis and use it by default. The configure script fails on it on Mac OS X, now, for whatever reason. Hopefully gets our static analysis buildslave running again!
Sam Lantinga c1d29725 2014-07-07T11:13:19 Fixed indentation for pnacl configuration
Sam Lantinga 61fea2a8 2014-06-21T11:16:26 Removed references to Raspberry Pi
Ryan C. Gordon 87980526 2014-06-20T22:38:36 Added script for buildbot to use on NaCl target.
Gabriel Jacobo 3b217eef 2014-06-20T11:50:31 Fix another NaCl warning
Gabriel Jacobo 553cc07e 2014-06-20T10:59:51 Initialize nacl_io, removes SDL_NaClMount/Umount It's just easier to use nacl_io's mount/umount directly.
Gabriel Jacobo 93aabd32 2014-06-06T18:33:17 Adds missing Makefile for NACL test and a couple of smaller fixes
Gabriel Jacobo 1e352d79 2014-06-06T15:45:59 Chrome's Native Client backend implementation
Ryan C. Gordon dd27ebed 2014-04-19T02:26:12 Turn off Wayland support for Raspberry Pi on the buildbot. It's picking up the system headers instead of the RPi build files. Theoretically, we _can_ support Wayland on this platform, though, as there _is_ a Raspberry Pi port out there...
David Ludwig 3dcb451f 2014-04-09T21:29:19 Added a README file regarding WinRT support To note, this file is currently formatted with CRLF line endings, rather than LF, to allow the file to be viewed with Notepad.
Ryan C. Gordon 6123f15e 2014-03-28T09:59:32 Raspberry Pi builds should upload as .tar.xz instead of .tar.bz2. Makes the archive about 40-50% smaller!
Ryan C. Gordon 6ca11273 2014-03-19T22:43:30 Minor comment cleanups in checker-buildbot.sh
Ryan C. Gordon 7b893acd 2014-03-19T16:02:25 Don't overwrite SDL_dynapi.h in checker-buildbot.sh.
Ryan C. Gordon 055d5679 2014-03-19T15:25:27 Make checker-buildbot.sh work just about anywhere Clang is installed.
Ryan C. Gordon ff3f49f0 2014-03-19T13:22:09 Reenable static builds for now with static analysis.
Ryan C. Gordon 7b785625 2014-03-19T03:29:14 Buildbot static analysis script: use configure script instead of cmake.
Ryan C. Gordon 80bb859c 2014-03-19T03:04:04 Just build shared libraries for static analysis. Building the static libs just does the same work twice.
Ryan C. Gordon f53d1669 2014-03-19T00:58:32 Added a script to let buildslaves run Clang static analysis.
Ryan C. Gordon ea333d2e 2014-03-10T00:26:40 Turn off Mir support in the buildbot Raspberry Pi script.
Ryan C. Gordon 45f785f0 2013-12-15T00:21:42 Enable ccache for Raspberry Pi buildbot script.
Gabriel Jacobo f848adff 2013-11-29T10:06:08 Improve Android pause/resume behavior.
Gabriel Jacobo 2f6198ed 2013-11-17T11:07:55 Fixes building for RPi using --no-undefined
Gabriel Jacobo f8e1d350 2013-11-13T09:41:21 Updated androidbuild.sh to enable parallel builds and ndk-build parameters
Gabriel Jacobo 0b7c69fe 2013-11-05T20:07:39 Adds Joystick support for Android This bumps the build SDK level to 12 (up from 10). Runtime requirements remain the same (at API level < 12 joystick support is disabled). Also enables building SDL for armv7 and x86.
Ryan C. Gordon 9a0954c5 2013-10-11T10:58:05 Do a full sysroot for the Raspberry Pi buildbot. This gets us ALSA and X11, etc.
Ryan C. Gordon 69e1e779 2013-10-10T02:37:36 Raspberry Pi build script: let caller specify final tarball name.
Ryan C. Gordon 6b2291d1 2013-10-10T02:06:14 Fixed tarball name in Raspberry Pi build script.
Ryan C. Gordon 4f305b85 2013-10-10T01:46:39 Added script that the buildbot will use for cross-compiling to Raspberry Pi.
Gabriel Jacobo 24f23771 2013-10-09T10:29:01 Adds test framework to Android.mk and a simple utility to build Android projects
Gabriel Jacobo 9ceed73d 2013-09-28T13:28:19 Raspberry Pi support (also unified UDEV and EVDEV support)
Gabriel Jacobo dad42067 2013-08-12T11:13:50 Fixes #2022, do not resume on Android when surfaceChanged If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
Sam Lantinga 1ad936eb 2013-08-11T19:56:43 Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow() Rainer Deyke I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.