build-scripts


Log

Author Commit Date CI Message
Ryan C. Gordon db2ad6fa 2021-03-17T13:36:38 git-pre-push-hook: remove ".git" from URL.
Ryan C. Gordon 7a2a1a85 2021-03-16T13:46:03 documentation: initial script to merge header comments and the wiki. This is a work-in-progress, but the idea is it can convert between our wiki and the SDL header's doxygen comments, so we can attempt to keep them in sync. This might be a fool's errand, but I'm optimistic it'll work enough that we can clean up little issues as we go, as long as we have some discipline about how we write documentation. If nothing else, it's going to result in a solid spring-cleaning of both the wiki and the headers!
Ozkan Sezer bb76edf3 2021-02-22T15:44:32 fix permissions of a few files
Ryan C. Gordon a6388cf2 2021-02-13T23:02:26 Add the usual "vi" comment to the end of pre-push-hook.
Ryan C. Gordon 0e9fd0f8 2021-02-12T17:12:56 Added a script that can be used to show commit URLs during a `git push`. Just symlink/copy it to .git/hooks/pre-push and make sure it's executable!
Ryan C. Gordon 4ff51d29 2021-02-12T14:15:29 Deprecate SDL_GetRevisionNumber and update things for git instead of hg. Fixes #4063
Sam Lantinga 9deffcd3 2021-02-12T08:50:16 Updated the revision header with git revision
Sam Lantinga 7e19c634 2021-01-28T14:53:59 Note that the Logitech G29 (PS4) is a racing wheel
Ozkan Sezer 582e1f4a 2021-01-28T23:03:50 config.guess and config.sub updates from mainstream
Ozkan Sezer 4eb2b9f8 2021-01-23T03:03:55 fix permissions of config.guess and config.sub
Sam Lantinga a5dba7d3 2021-01-08T09:54:52 Fixed Xbox One Series X share button incorrectly triggering on newer firmware
Ozkan Sezer e23666f6 2021-01-07T17:40:00 update config.guess and config.sub from mainstream.
Ozkan Sezer dc0e5de9 2021-01-05T17:10:02 Update config.guess and config.sub from mainstream. Recognizes riscv32be and riscv64be.
Ozkan Sezer b5f0483c 2021-01-01T22:30:28 fix permissions
Sam Lantinga 5f0b2a7f 2021-01-01T11:12:22 Fixed resource leak with D3D11 NV12 textures
Ozkan Sezer f1758241 2020-12-29T20:51:10 config.sub, config.guess: go back to backtick `..` substitutions. see e.g. https://lists.gnu.org/archive/html/config-patches/2020-12/msg00000.html
Ozkan Sezer 2b760c36 2020-12-24T01:55:00 attempt to fix emscripten-buildbot: s/wasm/wasm32/
Ozkan Sezer b9eb43a5 2020-12-24T01:32:10 build-scripts: update install-sh and mkinstalldirs from automake-1.16.3
Ozkan Sezer 3c4103b8 2020-12-24T01:20:00 fix config.guess permissions
Sam Lantinga fd3cb20b 2020-12-23T14:09:01 Fixed bug 5411 - config.guess and config.sub outdated Ozkan Sezer Our config.guess and config.sub are rather outdated. Attached new versions of them here. However, build-scripts/config.sub.patch do not apply to these new versions: I don't know if and where that patch is still needed.
Sam Lantinga 350f1b0d 2020-12-22T10:36:15 Updated SDL to version 2.0.15 for development
Sam Lantinga a2098a47 2020-12-08T18:56:06 Updated SDL to 2.0.14 in preparation for release candidate
Sam Lantinga 2aec184e 2020-05-27T09:57:51 Fixed mkdir warning when running iosbuild.sh multiple times
Ryan C. Gordon da54eb7c 2020-05-19T11:38:18 checker-buildbot.bat: Removed. This is clearly not going to work like this.
Ryan C. Gordon 24a76b27 2020-05-19T04:01:03 build-scripts: Attempt at a static analysis batch file for Windows.
Ryan C. Gordon 20ed8019 2020-05-19T02:59:02 os2-buildbot.sh: Fix upload path.
Ryan C. Gordon a1d7410f 2020-05-19T02:56:02 windows-buildbot-zipper.bat: Attempt to update for new buildbot.
Ryan C. Gordon e11a665c 2020-05-18T21:20:11 raspberrypi-buildbot.sh: Fix output directory.
Ryan C. Gordon 9db4e6ed 2020-05-18T21:10:20 os2-buildbot.sh: Fix output directory.
Ryan C. Gordon c26c348a 2020-05-18T20:06:16 raspberrypi-buildbot.sh: Leave files in the right place, don't nuke build dir.
Ryan C. Gordon b0f41e14 2020-05-18T20:02:11 emscripten-buildbot.sh: Leave files in the right place, don't nuke build dir.
Ryan C. Gordon 5358882b 2020-05-18T16:33:29 emscripten-buildbot.sh: the SDK path changed on the new build worker.
Ryan C. Gordon 4c883383 2020-05-18T15:52:51 checker-buildbot.sh: Use Ninja, not GNU make, and expect scan-build in $PATH.
Ryan C. Gordon c1ef5497 2020-05-18T12:00:22 emscripten-buildbot.sh: target WebAssembly instead of asm.js. Fixes Bugzilla #5132.
Sam Lantinga 05a60c2e 2020-04-29T15:32:08 Fixed showrev.sh when using the Bourne shell
Sam Lantinga 9cd06ac3 2020-04-08T08:41:55 Add perforce support to showrev.sh In order to generate meaningful output from SDL_GetRevision()
Sam Lantinga 269f8215 2020-03-20T20:40:14 Fixed build warning when using mingw-64 - the SDL code doesn't have any undefined symbols
Sam Lantinga 983bbf9e 2020-03-10T18:35:31 Backed out changeset 51622f74dc85
Sam Lantinga 93ed3c8b 2020-03-10T18:25:47 Updated SDL to version 2.0.13 for development builds
Sam Lantinga 4fb06a2a 2020-03-10T18:25:47 Updated SDL to version 2.0.13 for development builds
Sam Lantinga 74ed2156 2020-03-01T14:58:16 Updated version to 2.0.12 for release candidate build
Sam Lantinga 3fe2d836 2019-09-22T10:37:16 Updated SDL development builds to version 2.0.11
Sam Lantinga 67c67f3a 2019-06-17T10:13:28 Updated version to 2.0.10
Sam Lantinga 390459d8 2019-01-12T12:11:06 Updated minimum supported Android version to API 16, to match latest NDK toolchain
Sam Lantinga 5e153194 2018-11-12T16:34:58 Fixed bug 4367 - compatibility version decreased between 2.0.8 and 2.0.9 Joshua Root The change resulting from Bug 4208 changed the compatibility_version of libSDL2 from 9.0.0 to 1.0.0. This is simply wrong. This means that programs linked against 2.0.9 are considered by the dynamic linker to be compatible with all previous versions of libSDL2. This is not the case since new public symbols have been added. The way compatibility_version and current_version are meant to work is: * current_version increases every time the library changes in any way. * compatibility_version is increased to match current_version whenever new public symbols are added. Thus both versions should only ever increase. The solution to the Xcode project and autotools not having matching versions should have been to increase the version(s) in the Xcode project. Reference: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/VersionInformation.html
Ryan C. Gordon 1dbf7dc2 2018-11-04T21:11:07 os2: Do a distclean instead of removing files manually in buildbot script.
Ryan C. Gordon e45ed114 2018-11-04T20:47:17 os2: Added a script for the buildbot.
Ryan C. Gordon bc57ac27 2018-11-02T21:34:17 mir: Removed mir client support. Fixes Bugzilla #4288.
Ozkan Sezer 4db5e872 2018-10-18T11:58:00 use less ancient versions of autofoo scripts
Sam Lantinga bc6c1997 2018-09-26T10:08:14 Updated version to 2.0.9
Ozkan Sezer faf8f8b8 2018-08-30T12:50:10 fix permissions
Ozkan Sezer c74837fb 2018-07-05T23:01:10 ltmain.sh: make OSX autofoo builds' compatibility version match Xcode builds. closes bug #4208.
Sam Lantinga 2ceeb993 2018-01-27T12:05:26 Fixed bug 4065 - SDL_wave.c fail to compile in armeabi with ndk r16b Sylvain armeabi is almost deprecated for android-ndk higher that r13b. either it doesn't compile (ICE), or it executes wrongly (using long long for instance). android people advices to use armeabi-v7a (or use r13b).
Ryan C. Gordon c0c30569 2017-12-31T03:17:18 winrt: Disabled Windows Phone 8.0 builds. It lacks APIs we need for WASAPI and probably no one will miss it. 8.1 is still supported.
Ryan C. Gordon 791c0dd8 2017-12-31T03:13:33 winrt: bumped SDL's shipping version number in winrtbuild.ps1
Sam Lantinga 14452e95 2017-12-04T20:21:52 Fixed typos (thanks Martin!)
Sam Lantinga edf0fae1 2017-10-23T23:23:47 Updated Android build tools version, which bumped minimum deployment target to API 14 Also added native code to the Android gradle project, which allows using gradle or Android Studio to build the entire SDL application without a separate ndk-build step.
Sam Lantinga f08480af 2017-10-23T15:23:43 Switched to new style gradle Android application build process
Sam Lantinga 24a74956 2017-09-09T08:03:23 Updated config.guess and config.sub, added config.sub.patch for NaCl and Emscripten build support
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.