{"payload":{"allShortcutsEnabled":false,"fileTree":{"build-scripts":{"items":[{"name":"androidbuild.sh","path":"build-scripts/androidbuild.sh","contentType":"file"},{"name":"androidbuildlibs.sh","path":"build-scripts/androidbuildlibs.sh","contentType":"file"},{"name":"checker-buildbot.sh","path":"build-scripts/checker-buildbot.sh","contentType":"file"},{"name":"config.guess","path":"build-scripts/config.guess","contentType":"file"},{"name":"config.sub","path":"build-scripts/config.sub","contentType":"file"},{"name":"config.sub.patch","path":"build-scripts/config.sub.patch","contentType":"file"},{"name":"emscripten-buildbot.sh","path":"build-scripts/emscripten-buildbot.sh","contentType":"file"},{"name":"g++-fat.sh","path":"build-scripts/g++-fat.sh","contentType":"file"},{"name":"gcc-fat.sh","path":"build-scripts/gcc-fat.sh","contentType":"file"},{"name":"install-sh","path":"build-scripts/install-sh","contentType":"file"},{"name":"iosbuild.sh","path":"build-scripts/iosbuild.sh","contentType":"file"},{"name":"ltmain.sh","path":"build-scripts/ltmain.sh","contentType":"file"},{"name":"mkinstalldirs","path":"build-scripts/mkinstalldirs","contentType":"file"},{"name":"nacl-buildbot.sh","path":"build-scripts/nacl-buildbot.sh","contentType":"file"},{"name":"naclbuild.sh","path":"build-scripts/naclbuild.sh","contentType":"file"},{"name":"raspberrypi-buildbot.sh","path":"build-scripts/raspberrypi-buildbot.sh","contentType":"file"},{"name":"showrev.sh","path":"build-scripts/showrev.sh","contentType":"file"},{"name":"strip_fPIC.sh","path":"build-scripts/strip_fPIC.sh","contentType":"file"},{"name":"update-copyright.sh","path":"build-scripts/update-copyright.sh","contentType":"file"},{"name":"updaterev.sh","path":"build-scripts/updaterev.sh","contentType":"file"},{"name":"windows-buildbot-zipper.bat","path":"build-scripts/windows-buildbot-zipper.bat","contentType":"file"},{"name":"winrtbuild.bat","path":"build-scripts/winrtbuild.bat","contentType":"file"},{"name":"winrtbuild.ps1","path":"build-scripts/winrtbuild.ps1","contentType":"file"}],"totalCount":23},"":{"items":[{"name":"VisualC-WinRT","path":"VisualC-WinRT","contentType":"directory"},{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"Xcode-iOS","path":"Xcode-iOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project-ant","path":"android-project-ant","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"debian","path":"debian","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"visualtest","path":"visualtest","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS.txt","path":"BUGS.txt","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING.txt","path":"COPYING.txt","contentType":"file"},{"name":"CREDITS.txt","path":"CREDITS.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.psp","path":"Makefile.psp","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"SDL2.spec.in","path":"SDL2.spec.in","contentType":"file"},{"name":"SDL2Config.cmake","path":"SDL2Config.cmake","contentType":"file"},{"name":"TODO.txt","path":"TODO.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"WhatsNew.txt","path":"WhatsNew.txt","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"cmake_uninstall.cmake.in","path":"cmake_uninstall.cmake.in","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl2-config.cmake.in","path":"sdl2-config.cmake.in","contentType":"file"},{"name":"sdl2-config.in","path":"sdl2-config.in","contentType":"file"},{"name":"sdl2.m4","path":"sdl2.m4","contentType":"file"},{"name":"sdl2.pc.in","path":"sdl2.pc.in","contentType":"file"}],"totalCount":42}},"fileTreeProcessingTime":9.375881000000001,"foldersToFetch":[],"repo":{"id":330008801,"defaultBranch":"main","name":"SDL","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T19:55:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"50e422adfe57cbb9bb2173c106b726d9f58e712b","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"50e422adfe57cbb9bb2173c106b726d9f58e712b"},"path":"build-scripts/nacl-buildbot.sh","currentUser":null,"blob":{"rawLines":["#!/bin/bash","","# This is the script buildbot.libsdl.org uses to cross-compile SDL2 from","# amd64 Linux to NaCl.","","# PLEASE NOTE that we have reports that SDL built with pepper_49 (current","# stable release as of November 10th, 2016) is broken. Please retest","# when something newer becomes stable and then decide if this was SDL's","# bug or NaCl's bug. --ryan.","export NACL_SDK_ROOT=\"/nacl_sdk/pepper_47\"","","TARBALL=\"$1\"","if [ -z $1 ]; then"," TARBALL=sdl-nacl.tar.xz","fi","","OSTYPE=`uname -s`","if [ \"$OSTYPE\" != \"Linux\" ]; then"," # !!! FIXME"," echo \"This only works on x86 or x64-64 Linux at the moment.\" 1>&2"," exit 1","fi","","if [ \"x$MAKE\" == \"x\" ]; then"," NCPU=`cat /proc/cpuinfo |grep vendor_id |wc -l`"," let NCPU=$NCPU+1"," MAKE=\"make -j$NCPU\"","fi","","BUILDBOTDIR=\"nacl-buildbot\"","PARENTDIR=\"$PWD\"","","set -e","set -x","rm -f $TARBALL","rm -rf $BUILDBOTDIR","mkdir -p $BUILDBOTDIR","pushd $BUILDBOTDIR","","# !!! FIXME: ccache?","export CC=\"$NACL_SDK_ROOT/toolchain/linux_pnacl/bin/pnacl-clang\"","export CFLAGS=\"$CFLAGS -I$NACL_SDK_ROOT/include -I$NACL_SDK_ROOT/include/pnacl\"","export AR=\"$NACL_SDK_ROOT/toolchain/linux_pnacl/bin/pnacl-ar\"","export LD=\"$NACL_SDK_ROOT/toolchain/linux_pnacl/bin/pnacl-ar\"","export RANLIB=\"$NACL_SDK_ROOT/toolchain/linux_pnacl/bin/pnacl-ranlib\"","","../configure --host=pnacl --prefix=$PWD/nacl-sdl2-installed","$MAKE","$MAKE install","# Fix up a few things to a real install path","perl -w -pi -e \"s#$PWD/nacl-sdl2-installed#/usr/local#g;\" ./nacl-sdl2-installed/lib/libSDL2.la ./nacl-sdl2-installed/lib/pkgconfig/sdl2.pc ./nacl-sdl2-installed/bin/sdl2-config","mkdir -p ./usr","mv ./nacl-sdl2-installed ./usr/local","","popd","tar -cJvvf $TARBALL -C $BUILDBOTDIR usr","rm -rf $BUILDBOTDIR","","set +x","echo \"All done. Final installable is in $TARBALL ...\";"],"stylingDirectives":[[{"start":0,"end":11,"cssClass":"pl-c"},{"start":0,"end":2,"cssClass":"pl-c"}],[],[{"start":0,"end":72,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":23,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[],[{"start":0,"end":73,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":69,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":72,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":30,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":21,"end":42,"cssClass":"pl-s"},{"start":21,"end":22,"cssClass":"pl-pds"},{"start":41,"end":42,"cssClass":"pl-pds"}],[],[{"start":8,"end":12,"cssClass":"pl-s"},{"start":8,"end":9,"cssClass":"pl-pds"},{"start":9,"end":11,"cssClass":"pl-smi"},{"start":11,"end":12,"cssClass":"pl-pds"}],[{"start":0,"end":2,"cssClass":"pl-k"},{"start":5,"end":7,"cssClass":"pl-k"},{"start":8,"end":10,"cssClass":"pl-smi"},{"start":12,"end":13,"cssClass":"pl-k"},{"start":14,"end":18,"cssClass":"pl-k"}],[],[{"start":0,"end":2,"cssClass":"pl-k"}],[],[{"start":7,"end":17,"cssClass":"pl-s"},{"start":7,"end":8,"cssClass":"pl-pds"},{"start":16,"end":17,"cssClass":"pl-pds"}],[{"start":0,"end":2,"cssClass":"pl-k"},{"start":5,"end":14,"cssClass":"pl-s"},{"start":5,"end":6,"cssClass":"pl-pds"},{"start":6,"end":13,"cssClass":"pl-smi"},{"start":13,"end":14,"cssClass":"pl-pds"},{"start":15,"end":17,"cssClass":"pl-k"},{"start":18,"end":25,"cssClass":"pl-s"},{"start":18,"end":19,"cssClass":"pl-pds"},{"start":24,"end":25,"cssClass":"pl-pds"},{"start":27,"end":28,"cssClass":"pl-k"},{"start":29,"end":33,"cssClass":"pl-k"}],[{"start":4,"end":15,"cssClass":"pl-c"},{"start":4,"end":5,"cssClass":"pl-c"}],[{"start":4,"end":8,"cssClass":"pl-c1"},{"start":9,"end":64,"cssClass":"pl-s"},{"start":9,"end":10,"cssClass":"pl-pds"},{"start":63,"end":64,"cssClass":"pl-pds"},{"start":65,"end":69,"cssClass":"pl-k"}],[{"start":4,"end":8,"cssClass":"pl-c1"}],[{"start":0,"end":2,"cssClass":"pl-k"}],[],[{"start":0,"end":2,"cssClass":"pl-k"},{"start":5,"end":13,"cssClass":"pl-s"},{"start":5,"end":6,"cssClass":"pl-pds"},{"start":7,"end":12,"cssClass":"pl-smi"},{"start":12,"end":13,"cssClass":"pl-pds"},{"start":14,"end":16,"cssClass":"pl-k"},{"start":17,"end":20,"cssClass":"pl-s"},{"start":17,"end":18,"cssClass":"pl-pds"},{"start":19,"end":20,"cssClass":"pl-pds"},{"start":22,"end":23,"cssClass":"pl-k"},{"start":24,"end":28,"cssClass":"pl-k"}],[{"start":9,"end":51,"cssClass":"pl-s"},{"start":9,"end":10,"cssClass":"pl-pds"},{"start":28,"end":29,"cssClass":"pl-k"},{"start":44,"end":45,"cssClass":"pl-k"},{"start":50,"end":51,"cssClass":"pl-pds"}],[{"start":4,"end":7,"cssClass":"pl-c1"},{"start":13,"end":18,"cssClass":"pl-smi"}],[{"start":9,"end":23,"cssClass":"pl-s"},{"start":9,"end":10,"cssClass":"pl-pds"},{"start":17,"end":22,"cssClass":"pl-smi"},{"start":22,"end":23,"cssClass":"pl-pds"}],[{"start":0,"end":2,"cssClass":"pl-k"}],[],[{"start":12,"end":27,"cssClass":"pl-s"},{"start":12,"end":13,"cssClass":"pl-pds"},{"start":26,"end":27,"cssClass":"pl-pds"}],[{"start":10,"end":16,"cssClass":"pl-s"},{"start":10,"end":11,"cssClass":"pl-pds"},{"start":11,"end":15,"cssClass":"pl-smi"},{"start":15,"end":16,"cssClass":"pl-pds"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"}],[{"start":0,"end":3,"cssClass":"pl-c1"}],[{"start":6,"end":14,"cssClass":"pl-smi"}],[{"start":7,"end":19,"cssClass":"pl-smi"}],[{"start":9,"end":21,"cssClass":"pl-smi"}],[{"start":0,"end":5,"cssClass":"pl-c1"},{"start":6,"end":18,"cssClass":"pl-smi"}],[],[{"start":0,"end":20,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":10,"end":64,"cssClass":"pl-s"},{"start":10,"end":11,"cssClass":"pl-pds"},{"start":11,"end":25,"cssClass":"pl-smi"},{"start":63,"end":64,"cssClass":"pl-pds"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":14,"end":79,"cssClass":"pl-s"},{"start":14,"end":15,"cssClass":"pl-pds"},{"start":15,"end":22,"cssClass":"pl-smi"},{"start":25,"end":39,"cssClass":"pl-smi"},{"start":50,"end":64,"cssClass":"pl-smi"},{"start":78,"end":79,"cssClass":"pl-pds"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":10,"end":61,"cssClass":"pl-s"},{"start":10,"end":11,"cssClass":"pl-pds"},{"start":11,"end":25,"cssClass":"pl-smi"},{"start":60,"end":61,"cssClass":"pl-pds"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":10,"end":61,"cssClass":"pl-s"},{"start":10,"end":11,"cssClass":"pl-pds"},{"start":11,"end":25,"cssClass":"pl-smi"},{"start":60,"end":61,"cssClass":"pl-pds"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":14,"end":69,"cssClass":"pl-s"},{"start":14,"end":15,"cssClass":"pl-pds"},{"start":15,"end":29,"cssClass":"pl-smi"},{"start":68,"end":69,"cssClass":"pl-pds"}],[],[{"start":35,"end":39,"cssClass":"pl-smi"}],[{"start":0,"end":5,"cssClass":"pl-smi"}],[{"start":0,"end":5,"cssClass":"pl-smi"}],[{"start":0,"end":44,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":15,"end":57,"cssClass":"pl-s"},{"start":15,"end":16,"cssClass":"pl-pds"},{"start":18,"end":22,"cssClass":"pl-smi"},{"start":56,"end":57,"cssClass":"pl-pds"}],[],[],[],[{"start":0,"end":4,"cssClass":"pl-c1"}],[{"start":11,"end":19,"cssClass":"pl-smi"},{"start":23,"end":35,"cssClass":"pl-smi"}],[{"start":7,"end":19,"cssClass":"pl-smi"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"}],[{"start":0,"end":4,"cssClass":"pl-c1"},{"start":5,"end":53,"cssClass":"pl-s"},{"start":5,"end":6,"cssClass":"pl-pds"},{"start":40,"end":48,"cssClass":"pl-smi"},{"start":52,"end":53,"cssClass":"pl-pds"},{"start":53,"end":54,"cssClass":"pl-k"}],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"nacl-buildbot.sh","displayUrl":"https://github.com/libsdl-org/SDL/blame/50e422adfe57cbb9bb2173c106b726d9f58e712b/build-scripts/nacl-buildbot.sh?raw=true","headerInfo":{"blobSize":"1.69 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"73aae9e","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2F50e422adfe57cbb9bb2173c106b726d9f58e712b%2Fbuild-scripts%2Fnacl-buildbot.sh","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"61","truncatedSloc":"49"},"mode":"executable file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Shell","languageID":346,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/50e422adfe57cbb9bb2173c106b726d9f58e712b/build-scripts/nacl-buildbot.sh","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL/raw/50e422adfe57cbb9bb2173c106b726d9f58e712b/build-scripts/nacl-buildbot.sh","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":5,"oldEnd":5,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null},"6":{"start":6,"oldStart":6,"end":10,"oldEnd":10,"commitOid":"0a294a7ba01dd9a1de0a8fe919c2c5fc3f1bd753","reblamePath":"build-scripts/nacl-buildbot.sh"},"11":{"start":11,"oldStart":7,"end":61,"oldEnd":57,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null}},"commits":{"0e45984fa036fff1912c62fee3ed4f5481f3c324":{"oid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","message":"Fixed crash if initialization of EGL failed but was tried again later.\n\nThe internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly\nuninitialized data structure if loading the library first failed. A later try to\nuse EGL then skipped initialization and assumed it was previously successful\nbecause the data structure now already existed. This led to at least one crash\nin the internal function SDL_EGL_ChooseConfig() because a NULL pointer was\ndereferenced to make a call to eglBindAPI().","shortMessageHtmlLink":"Fixed crash if initialization of EGL failed but was tried again later.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/5358527?s=80&v=4","committerName":"Philipp Wiesemann","committerEmail":"philipp.wiesemann@arcor.de","committedDate":"2015-06-21T17:33:46.000+02:00","firstParentOid":null},"0a294a7ba01dd9a1de0a8fe919c2c5fc3f1bd753":{"oid":"0a294a7ba01dd9a1de0a8fe919c2c5fc3f1bd753","message":"nacl: pepper_49 SDK apparently has problems, move buildbot back to pepper_47.\n\n(this is still a big leap forward from the previous buildbot target of\npepper_35!)","shortMessageHtmlLink":"nacl: pepper_49 SDK apparently has problems, move buildbot back to pe…","authorAvatarUrl":"https://avatars.githubusercontent.com/u/673562?s=80&v=4","committerName":"Ryan C. Gordon","committerEmail":"icculus@icculus.org","committedDate":"2016-11-10T11:26:44.000-05:00","firstParentOid":"920bc237dabe13148539a61c15523fe8d2926411"}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"J9aoYUEk4Aio-4efzg46xnEWCyHIao4RqU9pKn9JXnR7iNNrhS5Y-QcqtMvx3qNaNIXpn9PELGmMRyp7kMPafQ"},"/repos/preferences":{"post":"jTfhBLjjrmM_TEAsDK7Im5fCQZDBTwHhqnNGJivpPYEQC9Y1kWy3oOf54Uh8UjNaFKbNhbRGh4cInEkBYhxAvg"}}},"title":"Blaming SDL/build-scripts/nacl-buildbot.sh at 50e422adfe57cbb9bb2173c106b726d9f58e712b · libsdl-org/SDL"}