SDL/build-scripts
Simon McVittie 4ca5ea5b7e build: Add a mechanism to mark builds with vendor info
Downstream distributors can use this to mark a version with their
preferred version information, like a Linux distribution package version
or the Steam revision it was built to be bundled into, or just to mark
it with the vendor it was built by or the environment it's intended to
be used in.

For instance, in Debian I'd use this by configuring with:

    --enable-vendor-info="${DEB_VENDOR} ${DEB_VERSION}"

to get a SDL_REVISION like:

    release-2.24.1-0-ga1d1946dc (Debian 2.24.1+dfsg-2)

which gives a Debian user enough information to track down the patches
and build-time configuration that were used for package revision 2.

In Autotools and CMake, this is a configure-time option like any other,
and will go into both SDL_REVISION (via SDL_revision.h) and
SDL_GetRevision().

In other build systems (MSVC, Xcode, etc.), defining the
SDL_VENDOR_INFO macro will get it into the output of SDL_GetRevision(),
although not SDL_REVISION.

Resolves: https://github.com/libsdl-org/SDL/issues/6418
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-10-22 09:27:10 -07:00
..
android-prefab.sh Android: add script for building prefab archive 2022-10-01 22:26:46 -07:00
androidbuild.sh Updated Android build tools version, which bumped minimum deployment target to API 14 2017-10-23 23:23:47 -07:00
androidbuildlibs.sh Revert 6fa7d62 and 856c99e5 2022-07-23 17:29:45 +02:00
checker-buildbot.sh cmake: Prefix all options with "SDL_" 2021-10-05 10:45:26 -04:00
clang++-fat.sh macOS: change min supported OS from 10.6 to 10.7. 2022-05-09 21:53:40 -07:00
clang-fat.sh Updated minimum OS targets on Apple platforms to match supported platforms using Xcode 13 2022-07-26 11:36:01 -07:00
codechecker-buildbot.sh cmake: Prefix all options with "SDL_" 2021-10-05 10:45:26 -04:00
config.guess revert mode changes from commit d58d637ac 2022-06-08 21:58:10 +03:00
config.sub updates to config.guess and config.sub from mainstream. 2022-01-08 23:00:32 +03:00
emscripten-buildbot.sh emscripten-buildbot.sh: force `-s USE_SDL=0` 2022-08-17 21:39:59 -04:00
fnsince.pl fnsince.pl: Fix next version value to match new versioning scheme. 2022-05-15 23:50:41 -04:00
gen_audio_channel_conversion.c audio: Fixed dst pointer on channel conversions that grow in-place. 2022-07-20 18:41:53 -04:00
gen_audio_resampler_filter.c gen_audio_resampler_filter.c: Precalculate loop-invariant bessel(beta). 2022-05-26 10:44:01 -04:00
git-pre-push-hook.pl git-pre-push-hook: remove ".git" from URL. 2021-03-17 13:36:38 -04:00
install-sh build-scripts: update install-sh and mkinstalldirs from automake-1.16.3 2020-12-24 01:32:10 +03:00
ltmain.sh imported two libtool mainstream commits 28fbcb6a and b55b1cc8 2022-03-16 17:15:20 +03:00
mkinstalldirs build-scripts: update install-sh and mkinstalldirs from automake-1.16.3 2020-12-24 01:32:10 +03:00
nacl-buildbot.sh nacl: pepper_49 SDK apparently has problems, move buildbot back to pepper_47. 2016-11-10 11:26:44 -05:00
naclbuild.sh Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
raspberrypi-buildbot.sh raspberrypi-buildbot.sh: Fix output directory. 2020-05-18 21:20:11 -04:00
showrev.sh build: Expand version info in SDL_REVISION and SDL_GetRevision() 2022-10-22 09:27:10 -07:00
strip_fPIC.sh Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
test-versioning.sh Added version checking to SDLActivity.java 2022-10-03 17:36:17 -07:00
update-copyright.sh Fixed whitespace 2022-05-18 06:58:14 -07:00
update-version.sh Added version checking to SDLActivity.java 2022-10-03 17:36:17 -07:00
updaterev.sh build: Add a mechanism to mark builds with vendor info 2022-10-22 09:27:10 -07:00
wikiheaders.pl build-scripts/wikiheaders.pl: ignore the 'FrontPage' wiki pages. 2022-06-23 16:07:35 -04:00
windows-buildbot-zipper.bat windows-buildbot-zipper.bat: Attempt to update for new buildbot. 2020-05-19 02:56:02 -04:00